@yext/pages-components 1.1.7 → 1.1.8
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/dist/{debugger-3RbOKIha.cjs → debugger-B_wkxpSc.cjs} +1 -1
- package/dist/{debugger-DrRgTaNB.js → debugger-j6XliS2e.js} +1 -1
- package/dist/{index-DjKBlVXj.cjs → index-BOvpRtOh.cjs} +1 -1
- package/dist/{index-COhY74cc.cjs → index-CJMukuXt.cjs} +27 -27
- package/dist/{index-59MyeK1e.js → index-CZ9UWAMK.js} +195 -165
- package/dist/{index-B5KCvNJE.js → index-DOAw7xqq.js} +1 -1
- package/dist/index.d.cts +28 -174
- package/dist/index.d.ts +28 -174
- package/dist/pages-components.cjs +1 -1
- package/dist/pages-components.js +16 -15
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import zn from "react";
|
|
2
|
-
import { n as cr, a as fr, b as Hn, m as K, d as D, s as In, p as Sn, r as Pe, e as De, f as Tn, h as vn, i as me, k as pr, l as hr, o as dr, q as ge, t as bn, u as mr, v as gr } from "./index-
|
|
2
|
+
import { n as cr, a as fr, b as Hn, m as K, d as D, s as In, p as Sn, r as Pe, e as De, f as Tn, h as vn, i as me, k as pr, l as hr, o as dr, q as ge, t as bn, u as mr, v as gr } from "./index-CZ9UWAMK.js";
|
|
3
3
|
function yr(n) {
|
|
4
4
|
const t = [];
|
|
5
5
|
let e = -1;
|
package/dist/index.d.cts
CHANGED
|
@@ -1567,8 +1567,8 @@ interface WeekType {
|
|
|
1567
1567
|
sunday?: DayType;
|
|
1568
1568
|
}
|
|
1569
1569
|
interface DayType {
|
|
1570
|
-
isClosed
|
|
1571
|
-
openIntervals
|
|
1570
|
+
isClosed?: boolean;
|
|
1571
|
+
openIntervals?: IntervalType[];
|
|
1572
1572
|
}
|
|
1573
1573
|
interface HolidayType extends DayType {
|
|
1574
1574
|
date: string;
|
|
@@ -1682,82 +1682,10 @@ declare const SchemaWrapper: (json: any) => string;
|
|
|
1682
1682
|
declare const BaseSchema: (document: Record<string, any>, schemaType: string) => {
|
|
1683
1683
|
"@context": string;
|
|
1684
1684
|
"@type": string;
|
|
1685
|
-
name:
|
|
1686
|
-
};
|
|
1685
|
+
name: string;
|
|
1686
|
+
} | undefined;
|
|
1687
1687
|
|
|
1688
|
-
declare const Event: (document: Record<string, any>, schemaType?: string) =>
|
|
1689
|
-
offers?: {
|
|
1690
|
-
"@type": string;
|
|
1691
|
-
url: string | undefined;
|
|
1692
|
-
priceCurrency: string | undefined;
|
|
1693
|
-
price: string | undefined;
|
|
1694
|
-
priceValidUntil: string | undefined;
|
|
1695
|
-
itemCondition: string | undefined;
|
|
1696
|
-
availability: string | undefined;
|
|
1697
|
-
} | undefined;
|
|
1698
|
-
organizer?: {
|
|
1699
|
-
"@type": string;
|
|
1700
|
-
name: string | undefined;
|
|
1701
|
-
url: string | undefined;
|
|
1702
|
-
} | undefined;
|
|
1703
|
-
performer?: {
|
|
1704
|
-
"@type": string;
|
|
1705
|
-
name: string;
|
|
1706
|
-
} | undefined;
|
|
1707
|
-
startDate: any;
|
|
1708
|
-
endDate: any;
|
|
1709
|
-
description: any;
|
|
1710
|
-
eventAttendanceMode: any;
|
|
1711
|
-
eventStatus: any;
|
|
1712
|
-
address?: {
|
|
1713
|
-
"@type": string;
|
|
1714
|
-
streetAddress: string;
|
|
1715
|
-
addressLocality: string;
|
|
1716
|
-
addressRegion: string | undefined;
|
|
1717
|
-
postalCode: string;
|
|
1718
|
-
addressCountry: string;
|
|
1719
|
-
} | undefined;
|
|
1720
|
-
"@type": string;
|
|
1721
|
-
name: any;
|
|
1722
|
-
image?: undefined;
|
|
1723
|
-
"@context": string;
|
|
1724
|
-
} | {
|
|
1725
|
-
offers?: {
|
|
1726
|
-
"@type": string;
|
|
1727
|
-
url: string | undefined;
|
|
1728
|
-
priceCurrency: string | undefined;
|
|
1729
|
-
price: string | undefined;
|
|
1730
|
-
priceValidUntil: string | undefined;
|
|
1731
|
-
itemCondition: string | undefined;
|
|
1732
|
-
availability: string | undefined;
|
|
1733
|
-
} | undefined;
|
|
1734
|
-
organizer?: {
|
|
1735
|
-
"@type": string;
|
|
1736
|
-
name: string | undefined;
|
|
1737
|
-
url: string | undefined;
|
|
1738
|
-
} | undefined;
|
|
1739
|
-
performer?: {
|
|
1740
|
-
"@type": string;
|
|
1741
|
-
name: string;
|
|
1742
|
-
} | undefined;
|
|
1743
|
-
startDate: any;
|
|
1744
|
-
endDate: any;
|
|
1745
|
-
description: any;
|
|
1746
|
-
eventAttendanceMode: any;
|
|
1747
|
-
eventStatus: any;
|
|
1748
|
-
address?: {
|
|
1749
|
-
"@type": string;
|
|
1750
|
-
streetAddress: string;
|
|
1751
|
-
addressLocality: string;
|
|
1752
|
-
addressRegion: string | undefined;
|
|
1753
|
-
postalCode: string;
|
|
1754
|
-
addressCountry: string;
|
|
1755
|
-
} | undefined;
|
|
1756
|
-
"@type": string;
|
|
1757
|
-
name: any;
|
|
1758
|
-
image: string[];
|
|
1759
|
-
"@context": string;
|
|
1760
|
-
};
|
|
1688
|
+
declare const Event: (document: Record<string, any>, schemaType?: string) => any;
|
|
1761
1689
|
|
|
1762
1690
|
declare const LocalBusiness: (document: Record<string, any>, schemaType?: string) => {
|
|
1763
1691
|
description: any;
|
|
@@ -1773,9 +1701,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1773
1701
|
postalCode: string;
|
|
1774
1702
|
addressCountry: string;
|
|
1775
1703
|
} | undefined;
|
|
1776
|
-
"@context"
|
|
1777
|
-
"@type"
|
|
1778
|
-
name
|
|
1704
|
+
"@context"?: string | undefined;
|
|
1705
|
+
"@type"?: string | undefined;
|
|
1706
|
+
name?: string | undefined;
|
|
1779
1707
|
} | {
|
|
1780
1708
|
description: any;
|
|
1781
1709
|
telephone: any;
|
|
@@ -1790,9 +1718,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1790
1718
|
postalCode: string;
|
|
1791
1719
|
addressCountry: string;
|
|
1792
1720
|
} | undefined;
|
|
1793
|
-
"@context"
|
|
1794
|
-
"@type"
|
|
1795
|
-
name
|
|
1721
|
+
"@context"?: string | undefined;
|
|
1722
|
+
"@type"?: string | undefined;
|
|
1723
|
+
name?: string | undefined;
|
|
1796
1724
|
} | {
|
|
1797
1725
|
description: any;
|
|
1798
1726
|
telephone: any;
|
|
@@ -1807,9 +1735,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1807
1735
|
postalCode: string;
|
|
1808
1736
|
addressCountry: string;
|
|
1809
1737
|
} | undefined;
|
|
1810
|
-
"@context"
|
|
1811
|
-
"@type"
|
|
1812
|
-
name
|
|
1738
|
+
"@context"?: string | undefined;
|
|
1739
|
+
"@type"?: string | undefined;
|
|
1740
|
+
name?: string | undefined;
|
|
1813
1741
|
} | {
|
|
1814
1742
|
description: any;
|
|
1815
1743
|
telephone: any;
|
|
@@ -1824,88 +1752,12 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1824
1752
|
postalCode: string;
|
|
1825
1753
|
addressCountry: string;
|
|
1826
1754
|
} | undefined;
|
|
1827
|
-
"@context"
|
|
1828
|
-
"@type"
|
|
1829
|
-
name
|
|
1755
|
+
"@context"?: string | undefined;
|
|
1756
|
+
"@type"?: string | undefined;
|
|
1757
|
+
name?: string | undefined;
|
|
1830
1758
|
};
|
|
1831
1759
|
|
|
1832
|
-
declare const Product: (document: Record<string, any>, schemaType?: string) =>
|
|
1833
|
-
description: any;
|
|
1834
|
-
sku: any;
|
|
1835
|
-
mpn: any;
|
|
1836
|
-
brand: {
|
|
1837
|
-
"@type": string;
|
|
1838
|
-
name: any;
|
|
1839
|
-
};
|
|
1840
|
-
offers?: {
|
|
1841
|
-
"@type": string;
|
|
1842
|
-
url: string | undefined;
|
|
1843
|
-
priceCurrency: string | undefined;
|
|
1844
|
-
price: string | undefined;
|
|
1845
|
-
priceValidUntil: string | undefined;
|
|
1846
|
-
itemCondition: string | undefined;
|
|
1847
|
-
availability: string | undefined;
|
|
1848
|
-
} | undefined;
|
|
1849
|
-
aggregateRating?: {
|
|
1850
|
-
"@type": string;
|
|
1851
|
-
ratingValue: string | undefined;
|
|
1852
|
-
reviewCount: string | undefined;
|
|
1853
|
-
} | undefined;
|
|
1854
|
-
review?: {
|
|
1855
|
-
"@type": string;
|
|
1856
|
-
reviewRating: {
|
|
1857
|
-
"@type": string;
|
|
1858
|
-
ratingValue: string | undefined;
|
|
1859
|
-
bestRating: string | undefined;
|
|
1860
|
-
};
|
|
1861
|
-
author: {
|
|
1862
|
-
"@type": string;
|
|
1863
|
-
name: string | undefined;
|
|
1864
|
-
};
|
|
1865
|
-
} | undefined;
|
|
1866
|
-
image?: undefined;
|
|
1867
|
-
"@context": string;
|
|
1868
|
-
"@type": string;
|
|
1869
|
-
name: any;
|
|
1870
|
-
} | {
|
|
1871
|
-
description: any;
|
|
1872
|
-
sku: any;
|
|
1873
|
-
mpn: any;
|
|
1874
|
-
brand: {
|
|
1875
|
-
"@type": string;
|
|
1876
|
-
name: any;
|
|
1877
|
-
};
|
|
1878
|
-
offers?: {
|
|
1879
|
-
"@type": string;
|
|
1880
|
-
url: string | undefined;
|
|
1881
|
-
priceCurrency: string | undefined;
|
|
1882
|
-
price: string | undefined;
|
|
1883
|
-
priceValidUntil: string | undefined;
|
|
1884
|
-
itemCondition: string | undefined;
|
|
1885
|
-
availability: string | undefined;
|
|
1886
|
-
} | undefined;
|
|
1887
|
-
aggregateRating?: {
|
|
1888
|
-
"@type": string;
|
|
1889
|
-
ratingValue: string | undefined;
|
|
1890
|
-
reviewCount: string | undefined;
|
|
1891
|
-
} | undefined;
|
|
1892
|
-
review?: {
|
|
1893
|
-
"@type": string;
|
|
1894
|
-
reviewRating: {
|
|
1895
|
-
"@type": string;
|
|
1896
|
-
ratingValue: string | undefined;
|
|
1897
|
-
bestRating: string | undefined;
|
|
1898
|
-
};
|
|
1899
|
-
author: {
|
|
1900
|
-
"@type": string;
|
|
1901
|
-
name: string | undefined;
|
|
1902
|
-
};
|
|
1903
|
-
} | undefined;
|
|
1904
|
-
image: string[];
|
|
1905
|
-
"@context": string;
|
|
1906
|
-
"@type": string;
|
|
1907
|
-
name: any;
|
|
1908
|
-
};
|
|
1760
|
+
declare const Product: (document: Record<string, any>, schemaType?: string) => any;
|
|
1909
1761
|
|
|
1910
1762
|
type RTF2 = {
|
|
1911
1763
|
json?: Record<string, any>;
|
|
@@ -1919,6 +1771,7 @@ type RichTextFAQ = {
|
|
|
1919
1771
|
question: string;
|
|
1920
1772
|
answerV2: RTF2;
|
|
1921
1773
|
};
|
|
1774
|
+
declare function getRichTextContent(answer: RTF2): string;
|
|
1922
1775
|
declare const FAQPage: (data: FAQ[]) => {
|
|
1923
1776
|
"@context": string;
|
|
1924
1777
|
"@type": string;
|
|
@@ -1930,7 +1783,7 @@ declare const FAQPage: (data: FAQ[]) => {
|
|
|
1930
1783
|
text: string;
|
|
1931
1784
|
};
|
|
1932
1785
|
} | undefined)[];
|
|
1933
|
-
};
|
|
1786
|
+
} | undefined;
|
|
1934
1787
|
|
|
1935
1788
|
type Location = {
|
|
1936
1789
|
name?: string;
|
|
@@ -1971,8 +1824,9 @@ type Offer = {
|
|
|
1971
1824
|
price?: string;
|
|
1972
1825
|
priceValidUntil?: string;
|
|
1973
1826
|
itemCondition?: string;
|
|
1974
|
-
availability?:
|
|
1827
|
+
availability?: (typeof availabilityOptions)[number];
|
|
1975
1828
|
};
|
|
1829
|
+
declare const availabilityOptions: string[];
|
|
1976
1830
|
declare const OfferSchema: (offer?: Offer) => false | {
|
|
1977
1831
|
offers: {
|
|
1978
1832
|
"@type": string;
|
|
@@ -1997,9 +1851,9 @@ declare const PerformerSchema: (performers?: string[]) => false | {
|
|
|
1997
1851
|
};
|
|
1998
1852
|
declare const OrganizationSchema: (org?: Organization) => false | {
|
|
1999
1853
|
organizer: {
|
|
1854
|
+
url?: string | undefined;
|
|
2000
1855
|
"@type": string;
|
|
2001
1856
|
name: string | undefined;
|
|
2002
|
-
url: string | undefined;
|
|
2003
1857
|
};
|
|
2004
1858
|
};
|
|
2005
1859
|
|
|
@@ -2027,16 +1881,16 @@ type AggregateRating = {
|
|
|
2027
1881
|
};
|
|
2028
1882
|
declare const ReviewSchema: (review?: Review) => false | {
|
|
2029
1883
|
review: {
|
|
1884
|
+
author?: {
|
|
1885
|
+
"@type": string;
|
|
1886
|
+
name: string;
|
|
1887
|
+
} | undefined;
|
|
2030
1888
|
"@type": string;
|
|
2031
1889
|
reviewRating: {
|
|
2032
1890
|
"@type": string;
|
|
2033
1891
|
ratingValue: string | undefined;
|
|
2034
1892
|
bestRating: string | undefined;
|
|
2035
1893
|
};
|
|
2036
|
-
author: {
|
|
2037
|
-
"@type": string;
|
|
2038
|
-
name: string | undefined;
|
|
2039
|
-
};
|
|
2040
1894
|
};
|
|
2041
1895
|
};
|
|
2042
1896
|
declare const AggregateRatingSchema: (rating?: AggregateRating) => {
|
|
@@ -2059,4 +1913,4 @@ declare const LeafletMaps: MapProvider;
|
|
|
2059
1913
|
|
|
2060
1914
|
declare const MapQuestMaps: MapProvider;
|
|
2061
1915
|
|
|
2062
|
-
export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, HoursTable, type HoursTableDayData, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
|
|
1916
|
+
export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, HoursTable, type HoursTableDayData, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
|
package/dist/index.d.ts
CHANGED
|
@@ -1567,8 +1567,8 @@ interface WeekType {
|
|
|
1567
1567
|
sunday?: DayType;
|
|
1568
1568
|
}
|
|
1569
1569
|
interface DayType {
|
|
1570
|
-
isClosed
|
|
1571
|
-
openIntervals
|
|
1570
|
+
isClosed?: boolean;
|
|
1571
|
+
openIntervals?: IntervalType[];
|
|
1572
1572
|
}
|
|
1573
1573
|
interface HolidayType extends DayType {
|
|
1574
1574
|
date: string;
|
|
@@ -1682,82 +1682,10 @@ declare const SchemaWrapper: (json: any) => string;
|
|
|
1682
1682
|
declare const BaseSchema: (document: Record<string, any>, schemaType: string) => {
|
|
1683
1683
|
"@context": string;
|
|
1684
1684
|
"@type": string;
|
|
1685
|
-
name:
|
|
1686
|
-
};
|
|
1685
|
+
name: string;
|
|
1686
|
+
} | undefined;
|
|
1687
1687
|
|
|
1688
|
-
declare const Event: (document: Record<string, any>, schemaType?: string) =>
|
|
1689
|
-
offers?: {
|
|
1690
|
-
"@type": string;
|
|
1691
|
-
url: string | undefined;
|
|
1692
|
-
priceCurrency: string | undefined;
|
|
1693
|
-
price: string | undefined;
|
|
1694
|
-
priceValidUntil: string | undefined;
|
|
1695
|
-
itemCondition: string | undefined;
|
|
1696
|
-
availability: string | undefined;
|
|
1697
|
-
} | undefined;
|
|
1698
|
-
organizer?: {
|
|
1699
|
-
"@type": string;
|
|
1700
|
-
name: string | undefined;
|
|
1701
|
-
url: string | undefined;
|
|
1702
|
-
} | undefined;
|
|
1703
|
-
performer?: {
|
|
1704
|
-
"@type": string;
|
|
1705
|
-
name: string;
|
|
1706
|
-
} | undefined;
|
|
1707
|
-
startDate: any;
|
|
1708
|
-
endDate: any;
|
|
1709
|
-
description: any;
|
|
1710
|
-
eventAttendanceMode: any;
|
|
1711
|
-
eventStatus: any;
|
|
1712
|
-
address?: {
|
|
1713
|
-
"@type": string;
|
|
1714
|
-
streetAddress: string;
|
|
1715
|
-
addressLocality: string;
|
|
1716
|
-
addressRegion: string | undefined;
|
|
1717
|
-
postalCode: string;
|
|
1718
|
-
addressCountry: string;
|
|
1719
|
-
} | undefined;
|
|
1720
|
-
"@type": string;
|
|
1721
|
-
name: any;
|
|
1722
|
-
image?: undefined;
|
|
1723
|
-
"@context": string;
|
|
1724
|
-
} | {
|
|
1725
|
-
offers?: {
|
|
1726
|
-
"@type": string;
|
|
1727
|
-
url: string | undefined;
|
|
1728
|
-
priceCurrency: string | undefined;
|
|
1729
|
-
price: string | undefined;
|
|
1730
|
-
priceValidUntil: string | undefined;
|
|
1731
|
-
itemCondition: string | undefined;
|
|
1732
|
-
availability: string | undefined;
|
|
1733
|
-
} | undefined;
|
|
1734
|
-
organizer?: {
|
|
1735
|
-
"@type": string;
|
|
1736
|
-
name: string | undefined;
|
|
1737
|
-
url: string | undefined;
|
|
1738
|
-
} | undefined;
|
|
1739
|
-
performer?: {
|
|
1740
|
-
"@type": string;
|
|
1741
|
-
name: string;
|
|
1742
|
-
} | undefined;
|
|
1743
|
-
startDate: any;
|
|
1744
|
-
endDate: any;
|
|
1745
|
-
description: any;
|
|
1746
|
-
eventAttendanceMode: any;
|
|
1747
|
-
eventStatus: any;
|
|
1748
|
-
address?: {
|
|
1749
|
-
"@type": string;
|
|
1750
|
-
streetAddress: string;
|
|
1751
|
-
addressLocality: string;
|
|
1752
|
-
addressRegion: string | undefined;
|
|
1753
|
-
postalCode: string;
|
|
1754
|
-
addressCountry: string;
|
|
1755
|
-
} | undefined;
|
|
1756
|
-
"@type": string;
|
|
1757
|
-
name: any;
|
|
1758
|
-
image: string[];
|
|
1759
|
-
"@context": string;
|
|
1760
|
-
};
|
|
1688
|
+
declare const Event: (document: Record<string, any>, schemaType?: string) => any;
|
|
1761
1689
|
|
|
1762
1690
|
declare const LocalBusiness: (document: Record<string, any>, schemaType?: string) => {
|
|
1763
1691
|
description: any;
|
|
@@ -1773,9 +1701,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1773
1701
|
postalCode: string;
|
|
1774
1702
|
addressCountry: string;
|
|
1775
1703
|
} | undefined;
|
|
1776
|
-
"@context"
|
|
1777
|
-
"@type"
|
|
1778
|
-
name
|
|
1704
|
+
"@context"?: string | undefined;
|
|
1705
|
+
"@type"?: string | undefined;
|
|
1706
|
+
name?: string | undefined;
|
|
1779
1707
|
} | {
|
|
1780
1708
|
description: any;
|
|
1781
1709
|
telephone: any;
|
|
@@ -1790,9 +1718,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1790
1718
|
postalCode: string;
|
|
1791
1719
|
addressCountry: string;
|
|
1792
1720
|
} | undefined;
|
|
1793
|
-
"@context"
|
|
1794
|
-
"@type"
|
|
1795
|
-
name
|
|
1721
|
+
"@context"?: string | undefined;
|
|
1722
|
+
"@type"?: string | undefined;
|
|
1723
|
+
name?: string | undefined;
|
|
1796
1724
|
} | {
|
|
1797
1725
|
description: any;
|
|
1798
1726
|
telephone: any;
|
|
@@ -1807,9 +1735,9 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1807
1735
|
postalCode: string;
|
|
1808
1736
|
addressCountry: string;
|
|
1809
1737
|
} | undefined;
|
|
1810
|
-
"@context"
|
|
1811
|
-
"@type"
|
|
1812
|
-
name
|
|
1738
|
+
"@context"?: string | undefined;
|
|
1739
|
+
"@type"?: string | undefined;
|
|
1740
|
+
name?: string | undefined;
|
|
1813
1741
|
} | {
|
|
1814
1742
|
description: any;
|
|
1815
1743
|
telephone: any;
|
|
@@ -1824,88 +1752,12 @@ declare const LocalBusiness: (document: Record<string, any>, schemaType?: string
|
|
|
1824
1752
|
postalCode: string;
|
|
1825
1753
|
addressCountry: string;
|
|
1826
1754
|
} | undefined;
|
|
1827
|
-
"@context"
|
|
1828
|
-
"@type"
|
|
1829
|
-
name
|
|
1755
|
+
"@context"?: string | undefined;
|
|
1756
|
+
"@type"?: string | undefined;
|
|
1757
|
+
name?: string | undefined;
|
|
1830
1758
|
};
|
|
1831
1759
|
|
|
1832
|
-
declare const Product: (document: Record<string, any>, schemaType?: string) =>
|
|
1833
|
-
description: any;
|
|
1834
|
-
sku: any;
|
|
1835
|
-
mpn: any;
|
|
1836
|
-
brand: {
|
|
1837
|
-
"@type": string;
|
|
1838
|
-
name: any;
|
|
1839
|
-
};
|
|
1840
|
-
offers?: {
|
|
1841
|
-
"@type": string;
|
|
1842
|
-
url: string | undefined;
|
|
1843
|
-
priceCurrency: string | undefined;
|
|
1844
|
-
price: string | undefined;
|
|
1845
|
-
priceValidUntil: string | undefined;
|
|
1846
|
-
itemCondition: string | undefined;
|
|
1847
|
-
availability: string | undefined;
|
|
1848
|
-
} | undefined;
|
|
1849
|
-
aggregateRating?: {
|
|
1850
|
-
"@type": string;
|
|
1851
|
-
ratingValue: string | undefined;
|
|
1852
|
-
reviewCount: string | undefined;
|
|
1853
|
-
} | undefined;
|
|
1854
|
-
review?: {
|
|
1855
|
-
"@type": string;
|
|
1856
|
-
reviewRating: {
|
|
1857
|
-
"@type": string;
|
|
1858
|
-
ratingValue: string | undefined;
|
|
1859
|
-
bestRating: string | undefined;
|
|
1860
|
-
};
|
|
1861
|
-
author: {
|
|
1862
|
-
"@type": string;
|
|
1863
|
-
name: string | undefined;
|
|
1864
|
-
};
|
|
1865
|
-
} | undefined;
|
|
1866
|
-
image?: undefined;
|
|
1867
|
-
"@context": string;
|
|
1868
|
-
"@type": string;
|
|
1869
|
-
name: any;
|
|
1870
|
-
} | {
|
|
1871
|
-
description: any;
|
|
1872
|
-
sku: any;
|
|
1873
|
-
mpn: any;
|
|
1874
|
-
brand: {
|
|
1875
|
-
"@type": string;
|
|
1876
|
-
name: any;
|
|
1877
|
-
};
|
|
1878
|
-
offers?: {
|
|
1879
|
-
"@type": string;
|
|
1880
|
-
url: string | undefined;
|
|
1881
|
-
priceCurrency: string | undefined;
|
|
1882
|
-
price: string | undefined;
|
|
1883
|
-
priceValidUntil: string | undefined;
|
|
1884
|
-
itemCondition: string | undefined;
|
|
1885
|
-
availability: string | undefined;
|
|
1886
|
-
} | undefined;
|
|
1887
|
-
aggregateRating?: {
|
|
1888
|
-
"@type": string;
|
|
1889
|
-
ratingValue: string | undefined;
|
|
1890
|
-
reviewCount: string | undefined;
|
|
1891
|
-
} | undefined;
|
|
1892
|
-
review?: {
|
|
1893
|
-
"@type": string;
|
|
1894
|
-
reviewRating: {
|
|
1895
|
-
"@type": string;
|
|
1896
|
-
ratingValue: string | undefined;
|
|
1897
|
-
bestRating: string | undefined;
|
|
1898
|
-
};
|
|
1899
|
-
author: {
|
|
1900
|
-
"@type": string;
|
|
1901
|
-
name: string | undefined;
|
|
1902
|
-
};
|
|
1903
|
-
} | undefined;
|
|
1904
|
-
image: string[];
|
|
1905
|
-
"@context": string;
|
|
1906
|
-
"@type": string;
|
|
1907
|
-
name: any;
|
|
1908
|
-
};
|
|
1760
|
+
declare const Product: (document: Record<string, any>, schemaType?: string) => any;
|
|
1909
1761
|
|
|
1910
1762
|
type RTF2 = {
|
|
1911
1763
|
json?: Record<string, any>;
|
|
@@ -1919,6 +1771,7 @@ type RichTextFAQ = {
|
|
|
1919
1771
|
question: string;
|
|
1920
1772
|
answerV2: RTF2;
|
|
1921
1773
|
};
|
|
1774
|
+
declare function getRichTextContent(answer: RTF2): string;
|
|
1922
1775
|
declare const FAQPage: (data: FAQ[]) => {
|
|
1923
1776
|
"@context": string;
|
|
1924
1777
|
"@type": string;
|
|
@@ -1930,7 +1783,7 @@ declare const FAQPage: (data: FAQ[]) => {
|
|
|
1930
1783
|
text: string;
|
|
1931
1784
|
};
|
|
1932
1785
|
} | undefined)[];
|
|
1933
|
-
};
|
|
1786
|
+
} | undefined;
|
|
1934
1787
|
|
|
1935
1788
|
type Location = {
|
|
1936
1789
|
name?: string;
|
|
@@ -1971,8 +1824,9 @@ type Offer = {
|
|
|
1971
1824
|
price?: string;
|
|
1972
1825
|
priceValidUntil?: string;
|
|
1973
1826
|
itemCondition?: string;
|
|
1974
|
-
availability?:
|
|
1827
|
+
availability?: (typeof availabilityOptions)[number];
|
|
1975
1828
|
};
|
|
1829
|
+
declare const availabilityOptions: string[];
|
|
1976
1830
|
declare const OfferSchema: (offer?: Offer) => false | {
|
|
1977
1831
|
offers: {
|
|
1978
1832
|
"@type": string;
|
|
@@ -1997,9 +1851,9 @@ declare const PerformerSchema: (performers?: string[]) => false | {
|
|
|
1997
1851
|
};
|
|
1998
1852
|
declare const OrganizationSchema: (org?: Organization) => false | {
|
|
1999
1853
|
organizer: {
|
|
1854
|
+
url?: string | undefined;
|
|
2000
1855
|
"@type": string;
|
|
2001
1856
|
name: string | undefined;
|
|
2002
|
-
url: string | undefined;
|
|
2003
1857
|
};
|
|
2004
1858
|
};
|
|
2005
1859
|
|
|
@@ -2027,16 +1881,16 @@ type AggregateRating = {
|
|
|
2027
1881
|
};
|
|
2028
1882
|
declare const ReviewSchema: (review?: Review) => false | {
|
|
2029
1883
|
review: {
|
|
1884
|
+
author?: {
|
|
1885
|
+
"@type": string;
|
|
1886
|
+
name: string;
|
|
1887
|
+
} | undefined;
|
|
2030
1888
|
"@type": string;
|
|
2031
1889
|
reviewRating: {
|
|
2032
1890
|
"@type": string;
|
|
2033
1891
|
ratingValue: string | undefined;
|
|
2034
1892
|
bestRating: string | undefined;
|
|
2035
1893
|
};
|
|
2036
|
-
author: {
|
|
2037
|
-
"@type": string;
|
|
2038
|
-
name: string | undefined;
|
|
2039
|
-
};
|
|
2040
1894
|
};
|
|
2041
1895
|
};
|
|
2042
1896
|
declare const AggregateRatingSchema: (rating?: AggregateRating) => {
|
|
@@ -2059,4 +1913,4 @@ declare const LeafletMaps: MapProvider;
|
|
|
2059
1913
|
|
|
2060
1914
|
declare const MapQuestMaps: MapProvider;
|
|
2061
1915
|
|
|
2062
|
-
export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, HoursTable, type HoursTableDayData, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
|
|
1916
|
+
export { Address, type AddressLine, type AddressLineProps, type AddressProps, AddressSchema, type AddressType, type AggregateRating, AggregateRatingSchema, Analytics, AnalyticsContext, AnalyticsProvider, AnalyticsScopeProvider, BaiduMaps, BaseSchema, BingMaps, type CTA, type CTAWithChildrenLinkProps, type CTAWithoutChildrenLinkProps, type ClusterTemplateProps, Clusterer, type ClustererContextType, type ClustererProps, type ComplexImageType, type Coordinate, Coordinate$1 as CoordinateClass, Day, type DayOfWeekNames, type DayType, type DirectionCoordinate, Event, FAQPage, type GetDirectionsConfig, GoogleMaps, type HREFLinkProps, type HolidayType, HoursStatus, HoursTable, type HoursTableDayData, type HoursTableProps, type HoursType, Image, type ImageLayout, ImageLayoutOption, type ImageProps, type ImageType, type IntervalType, LeafletMaps, LegacyRichText, LexicalRichText, type LexicalRichTextProps, Link, type LinkProps, type LinkType, type ListingPublisher, ListingPublisherOption, type ListingType, LocalBusiness, type Location, LocationMap, type LocationMapProps, LocationSchema, Map, type MapContextType, type MapProps, type MapProvider$1 as MapProvider, MapProviderOption, MapQuestMaps, MapboxMaps, Marker, type MarkerProps, type Offer, OfferSchema, OpeningHoursSchema, type Organization, OrganizationSchema, PerformerSchema, type PhotoGallery, PhotoGallerySchema, PhotoSchema, type PinStoreType, Product, type Review, ReviewSchema, SchemaWrapper, type ThumbnailType, type WeekType, debuggingParamDetected, getDirections, getRichTextContent, useAnalytics, useClusterContext, useIdentify, useMapContext, usePageView, useScope, useTrack };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CJMukuXt.cjs");exports.Address=e.Address;exports.AddressSchema=e.AddressSchema;exports.AggregateRatingSchema=e.AggregateRatingSchema;exports.Analytics=e.Analytics;exports.AnalyticsContext=e.AnalyticsContext;exports.AnalyticsProvider=e.AnalyticsProvider;exports.AnalyticsScopeProvider=e.AnalyticsScopeProvider;exports.BaiduMaps=e.BaiduMaps;exports.BaseSchema=e.BaseSchema;exports.BingMaps=e.BingMaps;exports.Clusterer=e.Clusterer;exports.CoordinateClass=e.Coordinate;exports.Day=e.Day;exports.Event=e.Event;exports.FAQPage=e.FAQPage;exports.GoogleMaps=e.GoogleMaps;exports.HoursStatus=e.HoursStatus;exports.HoursTable=e.HoursTable;exports.Image=e.Image;exports.ImageLayoutOption=e.ImageLayoutOption;exports.LeafletMaps=e.LeafletMaps;exports.LegacyRichText=e.LegacyRichText;exports.LexicalRichText=e.LexicalRichText;exports.Link=e.Link;exports.ListingPublisherOption=e.ListingPublisherOption;exports.LocalBusiness=e.LocalBusiness;exports.LocationMap=e.LocationMap;exports.LocationSchema=e.LocationSchema;exports.Map=e.Map;exports.MapProviderOption=e.MapProviderOption;exports.MapQuestMaps=e.MapQuestMaps;exports.MapboxMaps=e.MapboxMaps;exports.Marker=e.Marker;exports.OfferSchema=e.OfferSchema;exports.OpeningHoursSchema=e.OpeningHoursSchema;exports.OrganizationSchema=e.OrganizationSchema;exports.PerformerSchema=e.PerformerSchema;exports.PhotoGallerySchema=e.PhotoGallerySchema;exports.PhotoSchema=e.PhotoSchema;exports.Product=e.Product;exports.ReviewSchema=e.ReviewSchema;exports.SchemaWrapper=e.SchemaWrapper;exports.debuggingParamDetected=e.debuggingParamDetected;exports.getDirections=e.getDirections;exports.getRichTextContent=e.getRichTextContent;exports.useAnalytics=e.useAnalytics;exports.useClusterContext=e.useClusterContext;exports.useIdentify=e.useIdentify;exports.useMapContext=e.useMapContext;exports.usePageView=e.usePageView;exports.useScope=e.useScope;exports.useTrack=e.useTrack;
|
package/dist/pages-components.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e,
|
|
1
|
+
import { A as e, a3 as t, ab as i, x as o, y as r, E as c, H as n, ad as p, Z as g, ae as u, Q as h, aj as m, X as l, _ as S, a1 as d, af as M, V as P, W as y, I as x, J as A, ah as L, U as C, T as f, K as O, L as R, $ as T, S as b, a4 as v, N as B, M as D, ai as H, ag as I, P as k, a6 as w, a5 as G, a8 as Q, a7 as z, a9 as E, aa as F, a0 as V, ac as W, Y as j, F as J, w as K, a2 as N, z as U, R as X, D as Y, O as Z, C as _, G as $, B as q } from "./index-CZ9UWAMK.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Address,
|
|
4
4
|
t as AddressSchema,
|
|
@@ -8,8 +8,8 @@ export {
|
|
|
8
8
|
c as AnalyticsProvider,
|
|
9
9
|
n as AnalyticsScopeProvider,
|
|
10
10
|
p as BaiduMaps,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
g as BaseSchema,
|
|
12
|
+
u as BingMaps,
|
|
13
13
|
h as Clusterer,
|
|
14
14
|
m as CoordinateClass,
|
|
15
15
|
l as Day,
|
|
@@ -18,17 +18,17 @@ export {
|
|
|
18
18
|
M as GoogleMaps,
|
|
19
19
|
P as HoursStatus,
|
|
20
20
|
y as HoursTable,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
x as Image,
|
|
22
|
+
A as ImageLayoutOption,
|
|
23
|
+
L as LeafletMaps,
|
|
24
24
|
C as LegacyRichText,
|
|
25
25
|
f as LexicalRichText,
|
|
26
26
|
O as Link,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
R as ListingPublisherOption,
|
|
28
|
+
T as LocalBusiness,
|
|
29
|
+
b as LocationMap,
|
|
30
|
+
v as LocationSchema,
|
|
31
|
+
B as Map,
|
|
32
32
|
D as MapProviderOption,
|
|
33
33
|
H as MapQuestMaps,
|
|
34
34
|
I as MapboxMaps,
|
|
@@ -41,14 +41,15 @@ export {
|
|
|
41
41
|
F as PhotoSchema,
|
|
42
42
|
V as Product,
|
|
43
43
|
W as ReviewSchema,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
j as SchemaWrapper,
|
|
45
|
+
J as debuggingParamDetected,
|
|
46
|
+
K as getDirections,
|
|
47
|
+
N as getRichTextContent,
|
|
47
48
|
U as useAnalytics,
|
|
48
49
|
X as useClusterContext,
|
|
49
50
|
Y as useIdentify,
|
|
50
51
|
Z as useMapContext,
|
|
51
52
|
_ as usePageView,
|
|
52
53
|
$ as useScope,
|
|
53
|
-
|
|
54
|
+
q as useTrack
|
|
54
55
|
};
|