@pointr-tech/web-sdk 10.11.0 → 10.12.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.
@@ -141,6 +141,7 @@ interface PoiProperties {
141
141
  readonly mapPersonas?: string[] | null;
142
142
  name?: string;
143
143
  description?: string;
144
+ shortDescription?: string;
144
145
  keywords?: string | string[];
145
146
  internalIdentifier?: string;
146
147
  imageUrl?: string;
@@ -181,6 +182,7 @@ declare class Poi implements SearchablePoi {
181
182
  siteInternalIdentifier?: string;
182
183
  constructor(data?: PoiData);
183
184
  protected normalizeProperties(value: PoiProperties): PoiProperties;
185
+ protected buildSearchDescription(properties: PoiProperties): string;
184
186
  protected lockImmutableProperty(target: PoiProperties, key: keyof PoiProperties, propertyValue: unknown): void;
185
187
  protected warnIfImmutablePropertyChanged(current: PoiProperties, incoming: PoiProperties, key: keyof PoiProperties): void;
186
188
  isValid(): boolean;
@@ -243,6 +245,7 @@ interface DecodedToken {
243
245
  signedUrlParams?: string;
244
246
  sasToken?: string;
245
247
  cdnBaseUrl?: string;
248
+ peteToken?: string;
246
249
  }
247
250
  declare class NetworkCoordinator {
248
251
  static _instance: NetworkCoordinator;
@@ -1051,6 +1054,7 @@ declare class MapView extends BaseView {
1051
1054
  setLayerZoomRange(layerId: string, minZoom: number, maxZoom: number): void;
1052
1055
  setPaintProperty(layerId: string, property: string, value: any): void;
1053
1056
  setLayoutProperty(layerId: string, property: string, value: any): void;
1057
+ refreshLayerAfterFilterChange(layerId: string): void;
1054
1058
  setFilter(layerId: string, expression: any): void;
1055
1059
  getAllLayers(): any[];
1056
1060
  zoomTo(level: number): void;
@@ -1580,6 +1584,15 @@ declare class SearchViewController extends BaseViewController {
1580
1584
  reset(): void;
1581
1585
  }
1582
1586
 
1587
+ type SyntheticCategoryId = "bookmarked" | "favorites";
1588
+ interface CategoryItem {
1589
+ title: string;
1590
+ iconUrl: string;
1591
+ match?: JsonObject[];
1592
+ syntheticId?: SyntheticCategoryId;
1593
+ [key: string]: JsonValue;
1594
+ }
1595
+
1583
1596
  declare class CategoryListView extends BaseView {
1584
1597
  events: BaseView["events"] & {
1585
1598
  categorySelected: string;
@@ -1588,6 +1601,7 @@ declare class CategoryListView extends BaseView {
1588
1601
  pointrSearchId: string;
1589
1602
  draggableBoxId: string;
1590
1603
  categoryItemClass: string;
1604
+ categoryItemSyntheticClass: string;
1591
1605
  categoryIconClass: string;
1592
1606
  categoryIconWrapperClass: string;
1593
1607
  categoryIconWrapperStyleClass: Record<number, string>;
@@ -1604,8 +1618,11 @@ declare class CategoryListView extends BaseView {
1604
1618
  initKeyboardNavigation(): void;
1605
1619
  private static isKeyboardFocusEvent;
1606
1620
  refreshCategoryListKeyboard(activeIndex?: number): void;
1621
+ resetViewState(): void;
1607
1622
  applyAccessibilityLabels(): void;
1608
1623
  populate(): boolean;
1624
+ appendSyntheticCategoryIcon(iconWrapper: JQuery, iconUrl: string, title: string): void;
1625
+ getSyntheticCategoryTitle(categoryItem: CategoryItem): string;
1609
1626
  show(): void;
1610
1627
  hide(): boolean;
1611
1628
  setCategories(_categoryList: unknown[]): void;
@@ -1619,9 +1636,14 @@ declare class CategoryListViewController extends BaseViewController {
1619
1636
  populate(): boolean;
1620
1637
  showView(): void;
1621
1638
  setCategories(categoryList: unknown[]): void;
1639
+ prependSyntheticCategories(categories: CategoryItem[]): CategoryItem[];
1640
+ getSyntheticCategorySiteId(): string;
1641
+ getAvailablePoiFidSet(): Set<string>;
1642
+ hasMatchingStoredPois(siteId: string, actionId: "favorite" | "bookmark", availableFids: Set<string>): boolean;
1622
1643
  getCategories(): unknown[] | undefined;
1623
1644
  hideView(): void;
1624
1645
  setTranslation(translation: Translation): void;
1646
+ updateSyntheticCategoryTitles(): void;
1625
1647
  }
1626
1648
 
1627
1649
  interface LevelSelectorLevelObj {
@@ -1710,6 +1732,34 @@ declare class LevelSelectorViewController extends BaseViewController {
1710
1732
  hide(): void;
1711
1733
  }
1712
1734
 
1735
+ interface PoiPropertyPill {
1736
+ valueKey: string;
1737
+ label: string;
1738
+ iconName?: string;
1739
+ colorToken?: string;
1740
+ iconOnly?: boolean;
1741
+ [key: string]: JsonValue;
1742
+ }
1743
+ interface PoiPropertyPillsGroup {
1744
+ kind: "pills";
1745
+ key: string;
1746
+ title: string;
1747
+ showTitle: boolean;
1748
+ pills: PoiPropertyPill[];
1749
+ segment?: string;
1750
+ [key: string]: JsonValue;
1751
+ }
1752
+ type PoiPropertyAnchorKey = "openingHours" | "description" | "tags";
1753
+ interface PoiPropertyAnchorGroup {
1754
+ kind: "anchor";
1755
+ key: PoiPropertyAnchorKey;
1756
+ title: string;
1757
+ showTitle: boolean;
1758
+ segment?: string;
1759
+ [key: string]: JsonValue;
1760
+ }
1761
+ type PoiPropertyGroup = PoiPropertyPillsGroup | PoiPropertyAnchorGroup;
1762
+
1713
1763
  interface OpenHoursEntry {
1714
1764
  day?: string | number;
1715
1765
  open?: string;
@@ -1723,6 +1773,12 @@ interface PoiDetailsButton {
1723
1773
  type?: string;
1724
1774
  [key: string]: JsonValue;
1725
1775
  }
1776
+ interface PoiDetailsHeaderActionConfig {
1777
+ id: string;
1778
+ iconUrl: string;
1779
+ labelKey: string;
1780
+ enabled?: boolean;
1781
+ }
1726
1782
  interface PoiDetailsDict {
1727
1783
  name?: string;
1728
1784
  levelTitle?: string;
@@ -1732,10 +1788,19 @@ interface PoiDetailsDict {
1732
1788
  numberOfRatings?: number;
1733
1789
  ratingMax?: number;
1734
1790
  priceRange?: number;
1791
+ isWheelchairAccessible?: boolean;
1792
+ crowdLevel?: string;
1793
+ waitTime?: number;
1794
+ dietaryOptions?: string[];
1795
+ occupancyStatus?: string;
1796
+ accessRestrictions?: string[];
1797
+ highlightPropertyKeys?: string[];
1798
+ propertySections?: PoiPropertyGroup[];
1735
1799
  openHours?: OpenHoursEntry[] | JsonObject;
1736
1800
  images?: string[];
1737
1801
  tags?: string[] | string;
1738
1802
  description?: string;
1803
+ shortDescription?: string;
1739
1804
  buttons?: PoiDetailsButton[] | string;
1740
1805
  isFeatured?: boolean;
1741
1806
  [key: string]: JsonValue;
@@ -1745,13 +1810,23 @@ declare class PoiDetailsView extends BaseView {
1745
1810
  translation: Translation;
1746
1811
  events: BaseView["events"] & {
1747
1812
  closeClicked: string;
1813
+ headerActionClicked: string;
1748
1814
  routeButtonClicked: string;
1749
- accessibilityButtonClicked: string;
1750
1815
  poiButtonClicked: string;
1816
+ shareClicked: string;
1751
1817
  expanded: string;
1752
1818
  minimized: string;
1819
+ sheetSizeChanged: string;
1753
1820
  };
1754
1821
  constructor(options?: Options, translation?: Translation);
1822
+ setupButtonsHorizontalScroll(): void;
1823
+ onButtonsScrollDragStart(event: Event): void;
1824
+ updateButtonsScrollableState(): void;
1825
+ isButtonsRowScrollable(): boolean;
1826
+ onButtonsScrollPointerDown(event: PointerEvent): void;
1827
+ onButtonsScrollPointerMove(event: PointerEvent): void;
1828
+ onButtonsScrollPointerUp(event: PointerEvent): void;
1829
+ onButtonsScrollWheel(event: WheelEvent): void;
1755
1830
  shouldHandleBottomSheetDrag(): boolean;
1756
1831
  attachSheetTouchMoveListener(): void;
1757
1832
  detachSheetTouchMoveListener(): void;
@@ -1761,14 +1836,49 @@ declare class PoiDetailsView extends BaseView {
1761
1836
  lockBottomSheetExpanded(): void;
1762
1837
  handleSheetTouchEnd(event: Event): void;
1763
1838
  snapBottomSheetFromDrag(releaseClientY: number): void;
1839
+ getSheetHeight(): number;
1840
+ captureCollapsedSheetHeight(): void;
1841
+ checkSheetSizeChangeAfterExpand(): void;
1842
+ cancelSheetSizeChangeCheck(): void;
1764
1843
  createUi(): void;
1844
+ renderGoButton(): void;
1845
+ updateGoButtonLabel(): void;
1846
+ syncShareButton(): void;
1847
+ renderShareButton(): void;
1848
+ updateShareButtonLabel(): void;
1849
+ bindShareButtonClick(): void;
1850
+ applyShareButtonAccessibility(): void;
1851
+ onShareClicked(): void;
1852
+ resolveHeaderActions(): PoiDetailsHeaderActionConfig[];
1853
+ setHeaderActionsEnabled(enabled: boolean): void;
1854
+ renderHeaderActions(): void;
1855
+ loadHeaderActionIcon($el: JQuery, iconUrl: string): void;
1856
+ setHeaderActionSelected(actionId: string, selected: boolean): void;
1857
+ isHeaderActionSelected(actionId: string): boolean;
1858
+ syncHeaderActionSelectedUi(actionId: string): void;
1859
+ toggleHeaderAction(actionId: string): void;
1860
+ onHeaderActionsClick(event: Event): void;
1765
1861
  applyAccessibilityLabels(): void;
1766
- applyAccessibilityRouteSwitch(translation?: Translation): void;
1862
+ applyHeaderActionAccessibilityLabels(): void;
1767
1863
  dismissPoiDetails(): void;
1768
- updateAccessibilityRouteLabel(): void;
1769
1864
  populate(dict: PoiDetailsDict | undefined): boolean;
1865
+ resetScrollPositions(): void;
1770
1866
  populatePoiName(name: string | undefined): void;
1771
- populateRating(rating: any, numberOfRatings: any, ratingMax: any): void;
1867
+ populateHighlightProperties({ rating, numberOfRatings, ratingMax, priceRange, isWheelchairAccessible, crowdLevel, waitTime, dietaryOptions, occupancyStatus, accessRestrictions, highlightPropertyKeys, }?: {
1868
+ rating?: any;
1869
+ numberOfRatings?: any;
1870
+ ratingMax?: any;
1871
+ priceRange?: any;
1872
+ isWheelchairAccessible?: boolean | undefined;
1873
+ crowdLevel?: string | undefined;
1874
+ waitTime?: number | undefined;
1875
+ dietaryOptions?: string[] | undefined;
1876
+ occupancyStatus?: string | undefined;
1877
+ accessRestrictions?: string[] | undefined;
1878
+ highlightPropertyKeys?: string[] | undefined;
1879
+ }): void;
1880
+ setHighlightRowHidden(isHidden: boolean): void;
1881
+ populateRating(rating: any, numberOfRatings: any, ratingMax: any): boolean;
1772
1882
  isValidRating(rating: any): boolean;
1773
1883
  getLocalizedRatingValues(rating: any, ratingMax: any, numberOfRatings: any): {
1774
1884
  ratingLocale: any;
@@ -1780,7 +1890,29 @@ declare class PoiDetailsView extends BaseView {
1780
1890
  appendRatingMax(ratingEl: any, ratingMaxLocale: any, rating: any, ratingMax: any): void;
1781
1891
  appendNumberOfRatings(ratingTextBoxEl: any, numberOfRatings: any, numberOfRatingsLocale: any): void;
1782
1892
  simplifyNumberOfRatings(numberOfRatings: any): any;
1783
- populatePriceInfo(priceRange: any): void;
1893
+ populatePriceInfo(priceRange: any): boolean;
1894
+ populateWheelchairAccessibility(isWheelchairAccessible?: boolean): boolean;
1895
+ populateCrowdLevelAndWaitTime(crowdLevel?: string, waitTime?: number): boolean;
1896
+ populateDietaryOptionsHighlight(dietaryOptions?: string[]): boolean;
1897
+ populateOccupancyStatusHighlight(occupancyStatus?: string): boolean;
1898
+ populateAccessRestrictionsHighlight(accessRestrictions?: string[]): boolean;
1899
+ appendIconLabelHighlightItem({ itemClass, iconUrl, label, color, colorIcon, }: {
1900
+ itemClass: string;
1901
+ iconUrl: string;
1902
+ label: string;
1903
+ color?: string;
1904
+ colorIcon?: boolean;
1905
+ }): void;
1906
+ fitHighlightLabels(): void;
1907
+ scheduleHighlightLabelFit(): void;
1908
+ setupHighlightRowResizeObserver(): void;
1909
+ disconnectHighlightRowResizeObserver(): void;
1910
+ populatePoiProperties(groups: PoiPropertyGroup[] | undefined): boolean;
1911
+ releaseAnchoredPropertyNodes(): void;
1912
+ createPropertyGroupEl(key: string, title: string, showTitle: boolean, segment?: string): JQuery;
1913
+ appendAnchoredPropertyGroup(key: string, title: string, showTitle: boolean, segment?: string): boolean;
1914
+ getAnchorSelector(key: string): string | undefined;
1915
+ createPropertyPillEl(pill: PoiPropertyPill, propertyKey?: string): JQuery;
1784
1916
  populateWorkingHourInfo(openHours: any): boolean;
1785
1917
  getStatus(currentDate: any): string;
1786
1918
  setRegionalTimeFormat(): void;
@@ -1808,6 +1940,7 @@ declare class PoiDetailsView extends BaseView {
1808
1940
  resetFullscreenViewer(): void;
1809
1941
  setFullScreenViewerUI(shouldShow: any): void;
1810
1942
  populateTags(tags: any): boolean;
1943
+ populateShortDescription(shortDescription: string | undefined): boolean;
1811
1944
  populateDescription(description: any): boolean;
1812
1945
  isDescriptionOverflowing(): boolean;
1813
1946
  updateReadMoreButtonVisibility(): void;
@@ -1818,9 +1951,6 @@ declare class PoiDetailsView extends BaseView {
1818
1951
  show(): void;
1819
1952
  hide(): boolean;
1820
1953
  onRouteClicked(): void;
1821
- onAccessibilityClicked(): void;
1822
- setAccessibilityButtonStatus(status: any): void;
1823
- handleAccessibilityStatus(isAnimationActive: any): void;
1824
1954
  isFsLightboxCloseTarget(target: EventTarget | null): boolean;
1825
1955
  isFsLightboxChromeTarget(target: EventTarget | null): boolean;
1826
1956
  setPoiDetailsInteractionBlocked(blocked: boolean): void;
@@ -1829,6 +1959,7 @@ declare class PoiDetailsView extends BaseView {
1829
1959
  wireFullscreenViewerCloseButton(): void;
1830
1960
  setupSplideCarouselAccessibility(): void;
1831
1961
  clearContent(): void;
1962
+ shouldShowButtonsContainer(): boolean;
1832
1963
  formatTime(date: any): any;
1833
1964
  setCanExpand(): void;
1834
1965
  resetTouchDragState(): void;
@@ -1845,8 +1976,16 @@ declare class PoiDetailsViewController extends BaseViewController {
1845
1976
  populate(poi: any): boolean;
1846
1977
  setTranslation(translation: Translation): void;
1847
1978
  getCurrentPoi(): any;
1979
+ getHeaderActionSiteId(poi?: any): string;
1980
+ getHeaderActionPoiFid(poi?: any): string;
1981
+ restoreHeaderActionSelections(): void;
1982
+ PoiDetailsView_onHeaderActionClicked: (payload?: {
1983
+ id?: string;
1984
+ selected?: boolean;
1985
+ }) => void;
1848
1986
  PoiDetailsView_onCloseClicked: () => void;
1849
- setAccessibilityButtonStatus(isAccessible: boolean): void;
1987
+ PoiDetailsView_onShareClicked: () => void;
1988
+ shareCurrentPoi(): Promise<void>;
1850
1989
  }
1851
1990
 
1852
1991
  interface LoadingErrorLike {
@@ -2057,6 +2196,55 @@ declare class ZoomSelectorViewController extends BaseViewController {
2057
2196
  handleZoomOut(zoom: number): void;
2058
2197
  }
2059
2198
 
2199
+ interface AccessibilityToggleStatusOption {
2200
+ shouldEnable: boolean;
2201
+ }
2202
+ declare class AccessibilityToggleView extends BaseView {
2203
+ events: BaseView["events"] & {
2204
+ accessibilityButtonClicked: string;
2205
+ };
2206
+ options: Options;
2207
+ toggleViewId: string;
2208
+ toggleButtonId: string;
2209
+ iconId: string;
2210
+ titleClass: string;
2211
+ statusClass: string;
2212
+ labelsClass: string;
2213
+ targetEl: string;
2214
+ rootEl: string;
2215
+ toggleButtonEl: string;
2216
+ iconEl: string;
2217
+ isNavigationAccessible: boolean;
2218
+ collapseTimeout: ReturnType<typeof setTimeout> | null;
2219
+ enabled: boolean;
2220
+ constructor(options?: Options, translation?: Translation);
2221
+ createUi(): void;
2222
+ applyAccessibilityLabels(): void;
2223
+ updateAriaLabel(): void;
2224
+ onToggleClicked(): void;
2225
+ setAccessibilityButtonStatus(status: boolean): void;
2226
+ updateVisualState(_animate: boolean): void;
2227
+ show(): void;
2228
+ hide(): boolean;
2229
+ expand(): void;
2230
+ scheduleCollapse(): void;
2231
+ clearCollapseTimeout(): void;
2232
+ setStatus(options: AccessibilityToggleStatusOption): void;
2233
+ populate(): boolean;
2234
+ }
2235
+
2236
+ declare class AccessibilityToggleViewController extends BaseViewController {
2237
+ options: Options;
2238
+ view: AccessibilityToggleView;
2239
+ enabled: boolean | undefined;
2240
+ constructor(options?: Options, translation?: Translation);
2241
+ populate(): boolean;
2242
+ setAccessibilityButtonStatus(isAccessible: boolean): void;
2243
+ setStatus(options: AccessibilityToggleStatusOption): void;
2244
+ showView(): void;
2245
+ hideView(): void;
2246
+ }
2247
+
2060
2248
  interface NavigationSearchResult {
2061
2249
  identifier: string;
2062
2250
  name: (lang: Language | undefined) => string;
@@ -2378,6 +2566,7 @@ declare class NavigationViewController extends BaseViewController {
2378
2566
  interface PoiCardSearchResult {
2379
2567
  name?: string;
2380
2568
  description?: string;
2569
+ shortDescription?: string;
2381
2570
  iconUrl?: string;
2382
2571
  tags?: string[] | string;
2383
2572
  levelLongTitle?: string;
@@ -2395,9 +2584,9 @@ declare class PoiCardsView extends BaseView {
2395
2584
  poiSelected: string;
2396
2585
  resultsPopulated: string;
2397
2586
  routeButtonClicked: string;
2398
- accessibilityButtonClicked: string;
2399
2587
  goBackButtonClicked: string;
2400
2588
  poiViewed: string;
2589
+ removeActionClicked: string;
2401
2590
  };
2402
2591
  poiCardsViewId: string;
2403
2592
  listHeaderContainerId: string;
@@ -2421,10 +2610,10 @@ declare class PoiCardsView extends BaseView {
2421
2610
  poisOfCategory: PoiCardSearchResult[];
2422
2611
  activeCardIndex: number;
2423
2612
  isAnyPoiCardButtonClicked: boolean;
2424
- isNavigationAccessible: boolean;
2425
2613
  textColor: string | null;
2426
2614
  isRTL?: boolean;
2427
2615
  uiEl: string;
2616
+ removeActionId: "favorite" | "bookmark" | undefined;
2428
2617
  constructor(options?: Options, poiManager?: PoiManager, analyticsManager?: AnalyticsManager, translation?: Translation);
2429
2618
  createUi(): void;
2430
2619
  applyAccessibilityLabels(): void;
@@ -2436,12 +2625,11 @@ declare class PoiCardsView extends BaseView {
2436
2625
  prepareBottomDrawerForPoiCardsView(): void;
2437
2626
  show(): void;
2438
2627
  populateResults(searchResults?: PoiCardSearchResult[]): void;
2628
+ createEmptyState(): any;
2439
2629
  createListItem(index: number, searchResults: PoiCardSearchResult[]): any;
2440
2630
  createFeaturedBadge(): any;
2441
2631
  createListItemContent(container: any, searchResult: PoiCardSearchResult, index: number): any;
2442
2632
  onRouteClicked(poiId?: string | number): void;
2443
- onAccessibilityButtonClicked(): void;
2444
- updateAccessibilityRouteLabels(): void;
2445
2633
  showResults(title?: string, icon?: string): void;
2446
2634
  hide(): boolean;
2447
2635
  clear(): void;
@@ -2450,8 +2638,6 @@ declare class PoiCardsView extends BaseView {
2450
2638
  clearSelectedPoi(): void;
2451
2639
  setSelectedPoi(poi: any): void;
2452
2640
  setHeader(headerText?: string, _icon?: string): void;
2453
- setAccessibilityButtonStatus(status: boolean): void;
2454
- handleAccessibilityStatus(isAnimationActive: boolean): void;
2455
2641
  setTranslation(translation: Translation): void;
2456
2642
  }
2457
2643
 
@@ -2467,10 +2653,10 @@ declare class PoiCardsViewController extends BaseViewController {
2467
2653
  selectedPoi: Poi | undefined;
2468
2654
  enabled: boolean;
2469
2655
  poisOfCategory: Poi[] | undefined;
2470
- isNavigationAccessible: boolean;
2656
+ removeActionId: "favorite" | "bookmark" | undefined;
2471
2657
  constructor(options?: Options, poiManager?: PoiManager, analyticsManager?: AnalyticsManager, translation?: Translation);
2472
2658
  populate(): boolean;
2473
- displayPoisOfCategory(pois: any[], categoryName?: string, categoryIcon?: string): void;
2659
+ displayPoisOfCategory(pois: any[], categoryName?: string, categoryIcon?: string, removeActionId?: "favorite" | "bookmark"): void;
2474
2660
  hideView(): void;
2475
2661
  showView(): void;
2476
2662
  clearSelectedPoi(): void;
@@ -2483,8 +2669,6 @@ declare class PoiCardsViewController extends BaseViewController {
2483
2669
  PoiCardsView_onPoiViewed: (poiId: string | number) => void;
2484
2670
  goBack(): void;
2485
2671
  shouldShow(): boolean;
2486
- PoiCardsView_onAccesssibilityButtonClicked: () => void;
2487
- setAccessibilityButtonStatus(isAccessible: boolean): void;
2488
2672
  setTranslation(translation: Translation): void;
2489
2673
  }
2490
2674
 
@@ -2679,13 +2863,6 @@ declare class SiteBuildingManager {
2679
2863
  getLevelWithLevelIndexFromBuilding(buildingInternalIdentifier?: string, levelIndex?: number): Level | undefined;
2680
2864
  }
2681
2865
 
2682
- interface CategoryItem {
2683
- title: string;
2684
- iconUrl: string;
2685
- match?: JsonObject[];
2686
- [key: string]: JsonValue;
2687
- }
2688
-
2689
2866
  declare class UiController {
2690
2867
  options: Options;
2691
2868
  translation: Translation;
@@ -2702,6 +2879,7 @@ declare class UiController {
2702
2879
  watermarkViewController: WatermarkViewController;
2703
2880
  languageSelectorViewController: LanguageSelectorViewController;
2704
2881
  zoomSelectorViewController: ZoomSelectorViewController;
2882
+ accessibilityToggleViewController: AccessibilityToggleViewController;
2705
2883
  navigationViewController: NavigationViewController;
2706
2884
  bannerViewController: BannerViewController;
2707
2885
  welcomeViewController: WelcomeViewController;
@@ -2725,6 +2903,7 @@ declare class UiController {
2725
2903
  getPoiCardsViewController(): PoiCardsViewController;
2726
2904
  getCategoryListViewController(): CategoryListViewController;
2727
2905
  getLanguageSelectorViewController(): LanguageSelectorViewController;
2906
+ getAccessibilityToggleViewController(): AccessibilityToggleViewController;
2728
2907
  getLevelSelectorViewController(): LevelSelectorViewController;
2729
2908
  getPoiDetailsViewController(): PoiDetailsViewController;
2730
2909
  getLoadingViewController(): LoadingViewController;
@@ -2740,6 +2919,7 @@ declare class UiController {
2740
2919
  registerLevelSelectorViewEvents(): void;
2741
2920
  registerZoomSelectorViewEvents(): void;
2742
2921
  registerLanguageSelectorViewEvents(): void;
2922
+ registerAccessibilityToggleViewEvents(): void;
2743
2923
  registerSearchViewEvents(): void;
2744
2924
  registerPoiCardsViewEvents(): void;
2745
2925
  registerPoiDetailsEvents(): void;
@@ -2795,7 +2975,7 @@ declare class UiController {
2795
2975
  MapView_onExitClicked: () => void;
2796
2976
  MapView_onInfoClicked: () => void;
2797
2977
  MapView_onDraggedUpwards: () => void;
2798
- postPoiDetailsExpandedAnalytics(): void;
2978
+ postPoiDetailsExpandedAnalytics(didSheetSizeChange?: boolean): void;
2799
2979
  LevelSelectorView_onLevelSelected: () => void;
2800
2980
  ZoomSelectorView_onZoomIn: () => void;
2801
2981
  ZoomSelectorView_onZoomOut: () => void;
@@ -2803,8 +2983,9 @@ declare class UiController {
2803
2983
  PoiDetailsView_onViewHidden: () => void;
2804
2984
  PoiDetailsView_onCloseClicked: () => void;
2805
2985
  PoiDetailsView_onRouteButtonClicked: () => void;
2806
- PoiDetailsView_onAccessibilityButtonClicked: (status: boolean) => void;
2986
+ AccessibilityToggleView_onAccessibilityButtonClicked: (status: boolean) => void;
2807
2987
  PoiDetailsView_onExpanded: () => void;
2988
+ PoiDetailsView_onSheetSizeChanged: () => void;
2808
2989
  PoiDetailsView_onMinimized: () => void;
2809
2990
  NavigationView_onViewShown: () => void;
2810
2991
  NavigationView_onViewHidden: () => void;
@@ -2841,13 +3022,21 @@ declare class UiController {
2841
3022
  WelcomeView_onCloseClicked: () => void;
2842
3023
  InfoView_onViewHidden: () => void;
2843
3024
  highlightCategory: (categoryItem: CategoryItem) => Promise<void>;
3025
+ shouldDeferSyntheticPoiCardsRefresh(): boolean;
3026
+ PoiDetailsView_onHeaderActionClicked: () => Promise<void>;
3027
+ refreshOpenSyntheticPoiCardsFromStorage(): void;
3028
+ syncMapAfterSyntheticPoiCardsListUpdate(remainingPois: Poi[]): void;
3029
+ refreshCategoryListWithSyntheticCategories(): Promise<void>;
2844
3030
  PoiCardsView_onViewShown: () => void;
2845
3031
  PoiCardsView_onViewHidden: () => void;
2846
3032
  PoiCardsView_onGoBackButtonClicked: () => void;
2847
3033
  PoiCardsView_onPoiSelected: () => void;
2848
3034
  PoiCardsView_onRouteButtonClicked: () => void;
2849
3035
  PoiCardsView_onPoiViewed: () => void;
2850
- PoiCardsView_onAccessibilityButtonClicked: (status: boolean) => void;
3036
+ PoiCardsView_onRemoveActionClicked: (payload: {
3037
+ fid?: string | number;
3038
+ actionId?: string;
3039
+ }) => Promise<void>;
2851
3040
  showLoadingView(): void;
2852
3041
  showSplashScreen(): void;
2853
3042
  hideLoadingView(): void;