@pixelated-tech/components 3.8.0 → 3.9.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 +7 -0
- package/dist/components/admin/site-health/site-health-axe-core.integration.js +135 -20
- package/dist/components/admin/site-health/site-health-axe-core.integration.test.js +79 -0
- package/dist/components/admin/site-health/site-health-axe-core.js +35 -0
- package/dist/components/admin/site-health/site-health-core-web-vitals.integration.js +5 -3
- package/dist/components/admin/site-health/site-health-core-web-vitals.integration.test.js +33 -0
- package/dist/components/admin/site-health/site-health-template.js +3 -1
- package/dist/components/admin/site-health/site-health-utils.js +22 -0
- package/dist/components/config/config.example.js +2 -0
- package/dist/components/config/config.types.js +1 -3
- package/dist/components/config/config.utils.js +13 -5
- package/dist/components/config/config.validators.js +67 -0
- package/dist/components/general/cache-manager.js +124 -0
- package/dist/components/general/google.reviews.components.js +1 -2
- package/dist/components/general/googlemap.js +5 -2
- package/dist/components/general/metadata.functions.js +15 -1
- package/dist/components/general/proxy-csp-listener.js +20 -0
- package/dist/components/general/proxy-handler.js +4 -2
- package/dist/components/general/sitemap.js +9 -16
- package/dist/components/shoppingcart/ebay.components.js +123 -15
- package/dist/components/shoppingcart/ebay.functions.js +136 -34
- package/dist/components/shoppingcart/shoppingcart.components.js +4 -2
- package/dist/components/sitebuilder/config/ConfigEngine.js +5 -2
- package/dist/components/sitebuilder/config/google-fonts.js +5 -3
- package/dist/components/sitebuilder/page/lib/pageStorageLocal.js +2 -1
- package/dist/config/pixelated.config.json +83 -69
- package/dist/index.adminclient.js +1 -0
- package/dist/index.js +3 -0
- package/dist/index.server.js +1 -0
- package/dist/scripts/release.sh +2 -2
- package/dist/test/config.mock.js +13 -0
- package/dist/test/setup.js +46 -0
- package/dist/test/test-utils.js +23 -0
- package/dist/types/components/admin/site-health/site-health-axe-core.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-axe-core.integration.d.ts +2 -0
- package/dist/types/components/admin/site-health/site-health-axe-core.integration.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-axe-core.integration.test.d.ts +2 -0
- package/dist/types/components/admin/site-health/site-health-axe-core.integration.test.d.ts.map +1 -0
- package/dist/types/components/admin/site-health/site-health-core-web-vitals.integration.d.ts +1 -0
- package/dist/types/components/admin/site-health/site-health-core-web-vitals.integration.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-core-web-vitals.integration.test.d.ts +2 -0
- package/dist/types/components/admin/site-health/site-health-core-web-vitals.integration.test.d.ts.map +1 -0
- package/dist/types/components/admin/site-health/site-health-template.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-utils.d.ts +1 -1
- package/dist/types/components/admin/site-health/site-health-utils.d.ts.map +1 -1
- package/dist/types/components/config/config.example.d.ts.map +1 -1
- package/dist/types/components/config/config.types.d.ts +30 -11
- package/dist/types/components/config/config.types.d.ts.map +1 -1
- package/dist/types/components/config/config.utils.d.ts.map +1 -1
- package/dist/types/components/config/config.validators.d.ts +17 -0
- package/dist/types/components/config/config.validators.d.ts.map +1 -0
- package/dist/types/components/general/cache-manager.d.ts +45 -0
- package/dist/types/components/general/cache-manager.d.ts.map +1 -0
- package/dist/types/components/general/google.reviews.components.d.ts.map +1 -1
- package/dist/types/components/general/googlemap.d.ts +1 -1
- package/dist/types/components/general/googlemap.d.ts.map +1 -1
- package/dist/types/components/general/metadata.functions.d.ts +2 -8
- package/dist/types/components/general/metadata.functions.d.ts.map +1 -1
- package/dist/types/components/general/proxy-csp-listener.d.ts +15 -0
- package/dist/types/components/general/proxy-csp-listener.d.ts.map +1 -0
- package/dist/types/components/general/proxy-handler.d.ts.map +1 -1
- package/dist/types/components/general/schema-localbusiness.d.ts.map +1 -1
- package/dist/types/components/general/schema-website.d.ts.map +1 -1
- package/dist/types/components/general/sitemap.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/ebay.components.d.ts +9 -0
- package/dist/types/components/shoppingcart/ebay.components.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/ebay.functions.d.ts +20 -21
- package/dist/types/components/shoppingcart/ebay.functions.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +135 -0
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/ConfigEngine.d.ts +3 -2
- package/dist/types/components/sitebuilder/config/ConfigEngine.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/google-fonts.d.ts +1 -1
- package/dist/types/components/sitebuilder/config/google-fonts.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/lib/pageStorageLocal.d.ts.map +1 -1
- package/dist/types/index.adminclient.d.ts +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.server.d.ts +1 -0
- package/dist/types/stories/{seo/seo.404.stories.d.ts → general/404.stories.d.ts} +1 -2
- package/dist/types/stories/general/404.stories.d.ts.map +1 -0
- package/dist/types/stories/general/accordion.stories.d.ts +3 -3
- package/dist/types/stories/general/accordion.stories.d.ts.map +1 -1
- package/dist/types/stories/general/buzzword-bingo.stories.d.ts.map +1 -0
- package/dist/types/stories/{callout → general}/callout.many.stories.d.ts +0 -1
- package/dist/types/stories/general/callout.many.stories.d.ts.map +1 -0
- package/dist/types/stories/{callout → general}/callout.stories.d.ts +0 -1
- package/dist/types/stories/general/callout.stories.d.ts.map +1 -0
- package/dist/types/stories/general/carousel-hero.stories.d.ts +14 -0
- package/dist/types/stories/general/carousel-hero.stories.d.ts.map +1 -0
- package/dist/types/stories/{carousel → general}/carousel-reviews.stories.d.ts +0 -1
- package/dist/types/stories/general/carousel-reviews.stories.d.ts.map +1 -0
- package/dist/types/stories/general/carousel-workportfolio.stories.d.ts +14 -0
- package/dist/types/stories/general/carousel-workportfolio.stories.d.ts.map +1 -0
- package/dist/types/stories/{carousel → general}/carousel.stories.d.ts +1 -9
- package/dist/types/stories/general/carousel.stories.d.ts.map +1 -0
- package/dist/types/stories/general/contentful.item.stories.d.ts +12 -0
- package/dist/types/stories/general/contentful.item.stories.d.ts.map +1 -0
- package/dist/types/stories/general/contentful.items.stories.d.ts +10 -0
- package/dist/types/stories/general/contentful.items.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms → general}/contentful.stories.d.ts +0 -1
- package/dist/types/stories/general/contentful.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo/seo.faq-accordion.stories.d.ts → general/faq-accordion.stories.d.ts} +1 -1
- package/dist/types/stories/general/faq-accordion.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms → general}/google.reviews.stories.d.ts +1 -2
- package/dist/types/stories/general/google.reviews.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo/seo.googleanalytics.stories.d.ts → general/googleanalytics.stories.d.ts} +2 -4
- package/dist/types/stories/general/googleanalytics.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo/seo.googlesearch.stories.d.ts → general/googlesearch.stories.d.ts} +1 -1
- package/dist/types/stories/general/googlesearch.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms → general}/gravatar.stories.d.ts +0 -1
- package/dist/types/stories/general/gravatar.stories.d.ts.map +1 -0
- package/dist/types/stories/general/headers.stories.d.ts.map +1 -1
- package/dist/types/stories/{cms → general}/instagram.stories.d.ts +2 -2
- package/dist/types/stories/general/instagram.stories.d.ts.map +1 -0
- package/dist/types/stories/general/layout.stories.d.ts +9 -9
- package/dist/types/stories/{structured → general}/markdown.stories.d.ts +1 -2
- package/dist/types/stories/general/markdown.stories.d.ts.map +1 -0
- package/dist/types/stories/{menu → general}/menu-accordion.stories.d.ts +2 -2
- package/dist/types/stories/general/menu-accordion.stories.d.ts.map +1 -0
- package/dist/types/stories/{menu → general}/menu-expando.stories.d.ts +1 -1
- package/dist/types/stories/general/menu-expando.stories.d.ts.map +1 -0
- package/dist/types/stories/{menu → general}/menu-simple.stories.d.ts +1 -1
- package/dist/types/stories/general/menu-simple.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo/seo.metadata.stories.d.ts → general/metadata.stories.d.ts} +1 -1
- package/dist/types/stories/general/metadata.stories.d.ts.map +1 -0
- package/dist/types/stories/general/microinteractions.stories.d.ts +0 -1
- package/dist/types/stories/general/microinteractions.stories.d.ts.map +1 -1
- package/dist/types/stories/general/modal.stories.d.ts +0 -1
- package/dist/types/stories/general/modal.stories.d.ts.map +1 -1
- package/dist/types/stories/general/nerdjoke.stories.d.ts.map +1 -0
- package/dist/types/stories/{structured → general}/recipe.stories.d.ts +1 -2
- package/dist/types/stories/general/recipe.stories.d.ts.map +1 -0
- package/dist/types/stories/{structured → general}/resume.stories.d.ts +1 -2
- package/dist/types/stories/{structured → general}/resume.stories.d.ts.map +1 -1
- package/dist/types/stories/{seo/seo.schema.stories.d.ts → general/schema.stories.d.ts} +1 -2
- package/dist/types/stories/general/schema.stories.d.ts.map +1 -0
- package/dist/types/stories/{seo/seo.sitemap.stories.d.ts → general/sitemap.stories.d.ts} +1 -1
- package/dist/types/stories/general/sitemap.stories.d.ts.map +1 -0
- package/dist/types/stories/general/smartimage.stories.d.ts.map +1 -1
- package/dist/types/stories/{structured → general}/socialcard.stories.d.ts +0 -1
- package/dist/types/stories/general/socialcard.stories.d.ts.map +1 -0
- package/dist/types/stories/general/splitscroll.stories.d.ts.map +1 -1
- package/dist/types/stories/{carousel → general}/tiles.stories.d.ts +0 -1
- package/dist/types/stories/general/tiles.stories.d.ts.map +1 -0
- package/dist/types/stories/{structured → general}/timeline.stories.d.ts +0 -1
- package/dist/types/stories/general/timeline.stories.d.ts.map +1 -0
- package/dist/types/stories/{cms → general}/wordpress.stories.d.ts +6 -2
- package/dist/types/stories/general/wordpress.stories.d.ts.map +1 -0
- package/dist/types/stories/shoppingcart/ebay.stories.d.ts +16 -0
- package/dist/types/stories/shoppingcart/ebay.stories.d.ts.map +1 -0
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.item.stories.d.ts +1 -12
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.item.stories.d.ts.map +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.items.stories.d.ts +1 -12
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.items.stories.d.ts.map +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.stories.d.ts.map +1 -1
- package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts +13 -35
- package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts.map +1 -1
- package/dist/types/stories/sitebuilder/form-engine.stories.d.ts +0 -1
- package/dist/types/stories/sitebuilder/form-engine.stories.d.ts.map +1 -1
- package/dist/types/stories/sitebuilder/pageengine.stories.d.ts +0 -1
- package/dist/types/stories/sitebuilder/pageengine.stories.d.ts.map +1 -1
- package/dist/types/test/config.mock.d.ts +11 -0
- package/dist/types/test/config.mock.d.ts.map +1 -0
- package/dist/types/test/setup.d.ts.map +1 -0
- package/dist/types/test/test-utils.d.ts +87 -0
- package/dist/types/test/test-utils.d.ts.map +1 -0
- package/dist/types/tests/cache-manager.test.d.ts +2 -0
- package/dist/types/tests/cache-manager.test.d.ts.map +1 -0
- package/dist/types/tests/config-core.test.d.ts +2 -0
- package/dist/types/tests/config-core.test.d.ts.map +1 -0
- package/dist/types/tests/config.validators.test.d.ts +2 -0
- package/dist/types/tests/config.validators.test.d.ts.map +1 -0
- package/dist/types/tests/ebay-functions.test.d.ts +2 -0
- package/dist/types/tests/ebay-functions.test.d.ts.map +1 -0
- package/dist/types/tests/site-health-utils.test.d.ts +2 -0
- package/dist/types/tests/site-health-utils.test.d.ts.map +1 -0
- package/package.json +7 -7
- package/dist/types/stories/callout/callout.many.stories.d.ts.map +0 -1
- package/dist/types/stories/callout/callout.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel/carousel-hero.stories.d.ts +0 -22
- package/dist/types/stories/carousel/carousel-hero.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel/carousel-reviews.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel/carousel-workportfolio.stories.d.ts +0 -22
- package/dist/types/stories/carousel/carousel-workportfolio.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel/carousel.stories.d.ts.map +0 -1
- package/dist/types/stories/carousel/tiles.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/contentful.item.stories.d.ts +0 -21
- package/dist/types/stories/cms/contentful.item.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/contentful.items.stories.d.ts +0 -20
- package/dist/types/stories/cms/contentful.items.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/contentful.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/google.reviews.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/gravatar.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/instagram.stories.d.ts.map +0 -1
- package/dist/types/stories/cms/wordpress.stories.d.ts.map +0 -1
- package/dist/types/stories/menu/menu-accordion.stories.d.ts.map +0 -1
- package/dist/types/stories/menu/menu-expando.stories.d.ts.map +0 -1
- package/dist/types/stories/menu/menu-simple.stories.d.ts.map +0 -1
- package/dist/types/stories/nerdjoke.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.404.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.faq-accordion.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.googleanalytics.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.googlesearch.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.metadata.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.schema.stories.d.ts.map +0 -1
- package/dist/types/stories/seo/seo.sitemap.stories.d.ts.map +0 -1
- package/dist/types/stories/structured/buzzword-bingo.stories.d.ts.map +0 -1
- package/dist/types/stories/structured/markdown.stories.d.ts.map +0 -1
- package/dist/types/stories/structured/recipe.stories.d.ts.map +0 -1
- package/dist/types/stories/structured/socialcard.stories.d.ts.map +0 -1
- package/dist/types/stories/structured/timeline.stories.d.ts.map +0 -1
- package/dist/types/tests/setup.d.ts.map +0 -1
- /package/dist/types/stories/{structured → general}/buzzword-bingo.stories.d.ts +0 -0
- /package/dist/types/stories/{nerdjoke.stories.d.ts → general/nerdjoke.stories.d.ts} +0 -0
- /package/dist/types/{tests → test}/setup.d.ts +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { PixelatedClientConfigProvider } from '@/components/config/config.client';
|
|
4
|
+
import { mockConfig } from './config.mock';
|
|
5
|
+
/**
|
|
6
|
+
* Custom render function that wraps components in the necessary providers.
|
|
7
|
+
* Defaults to using the mock version of the global pixelated.config.json.
|
|
8
|
+
*/
|
|
9
|
+
function renderWithProviders(ui, { config = {}, ...renderOptions } = {}) {
|
|
10
|
+
const mergedConfig = { ...mockConfig, ...config };
|
|
11
|
+
function Wrapper({ children }) {
|
|
12
|
+
return (_jsx(PixelatedClientConfigProvider, { config: mergedConfig, children: children }));
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
...render(ui, { wrapper: Wrapper, ...renderOptions }),
|
|
16
|
+
config: mergedConfig,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
// Re-export everything from RTL
|
|
20
|
+
export * from '@testing-library/react';
|
|
21
|
+
// Override the default render with our custom one
|
|
22
|
+
export { renderWithProviders as render };
|
|
23
|
+
export { renderWithProviders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-axe-core.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQnD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"site-health-axe-core.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQnD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAiSpE;yBAjSe,iBAAiB"}
|
|
@@ -56,7 +56,9 @@ export interface AxeCoreData {
|
|
|
56
56
|
};
|
|
57
57
|
timestamp: string;
|
|
58
58
|
status: 'success' | 'error';
|
|
59
|
+
warnings?: string[];
|
|
59
60
|
error?: string;
|
|
61
|
+
injectionSource?: string;
|
|
60
62
|
}
|
|
61
63
|
export declare function performAxeCoreAnalysis(url: string): Promise<AxeCoreData>;
|
|
62
64
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-axe-core.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.integration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"site-health-axe-core.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.integration.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AAEH,UAAU,OAAO;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;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sB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CA8D9E"}
|
package/dist/types/components/admin/site-health/site-health-axe-core.integration.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-health-axe-core.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.integration.test.ts"],"names":[],"mappings":""}
|
package/dist/types/components/admin/site-health/site-health-core-web-vitals.integration.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { CoreWebVitalsData } from './site-health-types';
|
|
2
2
|
export declare function performCoreWebVitalsAnalysis(url: string, siteName: string, useCache?: boolean): Promise<CoreWebVitalsData>;
|
|
3
|
+
export declare function fetchPSIData(url: string): Promise<any>;
|
|
3
4
|
//# sourceMappingURL=site-health-core-web-vitals.integration.d.ts.map
|
package/dist/types/components/admin/site-health/site-health-core-web-vitals.integration.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-core-web-vitals.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-core-web-vitals.integration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAoC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"site-health-core-web-vitals.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-core-web-vitals.integration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAoC,MAAM,qBAAqB,CAAC;AAkC1F,wBAAsB,4BAA4B,CACjD,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,QAAQ,GAAE,OAAc,GACtB,OAAO,CAAC,iBAAiB,CAAC,CA4E5B;AAED,wBAAsB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CA6D5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-health-core-web-vitals.integration.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-core-web-vitals.integration.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-template.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-template.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,mBAAmB,CAAC;AA4B3B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,CAAC,CAAC,EACnC,KAAK,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"site-health-template.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-template.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,mBAAmB,CAAC;AA4B3B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,CAAC,CAAC,EACnC,KAAK,EAAE,sBAAsB,kDAyK7B;yBA1Ke,kBAAkB"}
|
|
@@ -13,5 +13,5 @@ export declare function formatScore(score: number | null): string;
|
|
|
13
13
|
/**
|
|
14
14
|
* Formats audit item details for display
|
|
15
15
|
*/
|
|
16
|
-
export declare function formatAuditItem(item: Record<string, unknown
|
|
16
|
+
export declare function formatAuditItem(item: Record<string, unknown> | number, auditTitle?: string): string;
|
|
17
17
|
//# sourceMappingURL=site-health-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-utils.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAE9D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAGxD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"site-health-utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-utils.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAE9D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAGxD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CA8KnG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.example.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.example.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,QAAA,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"config.example.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.example.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,QAAA,MAAM,eAAe,EAAE,eAyEtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -18,17 +18,21 @@ export interface ContentfulConfig {
|
|
|
18
18
|
export interface EbayConfig {
|
|
19
19
|
proxyURL?: string;
|
|
20
20
|
appId: string;
|
|
21
|
+
appDevId?: string;
|
|
21
22
|
appCertId: string;
|
|
22
23
|
sbxAppId: string;
|
|
24
|
+
sbxAppDevId?: string;
|
|
23
25
|
sbxAppCertId: string;
|
|
24
26
|
globalId: string;
|
|
25
27
|
environment?: string;
|
|
26
28
|
tokenScope?: string;
|
|
27
29
|
baseTokenURL?: string;
|
|
28
30
|
baseSearchURL?: string;
|
|
31
|
+
baseAnalyticsURL?: string;
|
|
29
32
|
qsSearchURL?: string;
|
|
30
33
|
baseItemURL?: string;
|
|
31
34
|
qsItemURL?: string;
|
|
35
|
+
itemCategory?: string;
|
|
32
36
|
}
|
|
33
37
|
export interface FlickrConfig {
|
|
34
38
|
baseURL: string;
|
|
@@ -47,6 +51,16 @@ export interface FlickrConfig {
|
|
|
47
51
|
nojsoncallback?: string;
|
|
48
52
|
};
|
|
49
53
|
}
|
|
54
|
+
export interface GlobalConfig {
|
|
55
|
+
proxyUrl?: string;
|
|
56
|
+
pagesDir?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface Google {
|
|
59
|
+
client_id: string;
|
|
60
|
+
client_secret: string;
|
|
61
|
+
api_key: string;
|
|
62
|
+
refresh_token: string;
|
|
63
|
+
}
|
|
50
64
|
export interface GoogleAnalyticsConfig {
|
|
51
65
|
id: string;
|
|
52
66
|
adId?: string;
|
|
@@ -68,8 +82,9 @@ export interface InstagramConfig {
|
|
|
68
82
|
accessToken?: string;
|
|
69
83
|
userId?: string;
|
|
70
84
|
}
|
|
71
|
-
export interface
|
|
72
|
-
|
|
85
|
+
export interface NextAuth {
|
|
86
|
+
secret: string;
|
|
87
|
+
url: string;
|
|
73
88
|
}
|
|
74
89
|
export interface PaypalConfig {
|
|
75
90
|
sandboxPayPalApiKey: string;
|
|
@@ -81,22 +96,23 @@ export interface WordpressConfig {
|
|
|
81
96
|
baseURL: string;
|
|
82
97
|
site: string;
|
|
83
98
|
}
|
|
99
|
+
export type DisplayMode = 'standalone' | 'fullscreen' | 'minimal-ui' | 'browser';
|
|
84
100
|
export interface SiteInfo {
|
|
85
101
|
name: string;
|
|
86
102
|
description: string;
|
|
87
103
|
url: string;
|
|
88
104
|
email?: string;
|
|
89
105
|
image?: string;
|
|
90
|
-
image_height?: string;
|
|
91
|
-
image_width?: string;
|
|
106
|
+
image_height?: string | number;
|
|
107
|
+
image_width?: string | number;
|
|
92
108
|
favicon?: string;
|
|
93
109
|
telephone?: string;
|
|
94
110
|
address?: {
|
|
95
|
-
streetAddress
|
|
96
|
-
addressLocality
|
|
97
|
-
addressRegion
|
|
98
|
-
postalCode
|
|
99
|
-
addressCountry
|
|
111
|
+
streetAddress?: string;
|
|
112
|
+
addressLocality?: string;
|
|
113
|
+
addressRegion?: string;
|
|
114
|
+
postalCode?: string;
|
|
115
|
+
addressCountry?: string;
|
|
100
116
|
};
|
|
101
117
|
openingHours?: string;
|
|
102
118
|
priceRange?: string;
|
|
@@ -106,7 +122,7 @@ export interface SiteInfo {
|
|
|
106
122
|
copyrightYear?: number;
|
|
107
123
|
potentialAction?: {
|
|
108
124
|
"@type"?: string;
|
|
109
|
-
target
|
|
125
|
+
target?: string;
|
|
110
126
|
"query-input"?: string;
|
|
111
127
|
queryInput?: string;
|
|
112
128
|
};
|
|
@@ -114,7 +130,7 @@ export interface SiteInfo {
|
|
|
114
130
|
theme_color?: string;
|
|
115
131
|
background_color?: string;
|
|
116
132
|
default_locale?: string;
|
|
117
|
-
display?:
|
|
133
|
+
display?: DisplayMode;
|
|
118
134
|
favicon_sizes?: string;
|
|
119
135
|
favicon_type?: string;
|
|
120
136
|
}
|
|
@@ -138,11 +154,14 @@ export interface PixelatedConfig {
|
|
|
138
154
|
contentful?: ContentfulConfig;
|
|
139
155
|
ebay?: EbayConfig;
|
|
140
156
|
flickr?: FlickrConfig;
|
|
157
|
+
globlalConfig?: GlobalConfig;
|
|
158
|
+
google?: Google;
|
|
141
159
|
googleAnalytics?: GoogleAnalyticsConfig;
|
|
142
160
|
googleMaps?: GoogleMapsConfig;
|
|
143
161
|
googleSearchConsole?: GoogleSearchConsoleConfig;
|
|
144
162
|
hubspot?: HubspotConfig;
|
|
145
163
|
instagram?: InstagramConfig;
|
|
164
|
+
nextAuth?: NextAuth;
|
|
146
165
|
paypal?: PaypalConfig;
|
|
147
166
|
wordpress?: WordpressConfig;
|
|
148
167
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;I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C,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,gBAAgB,CAAC;AAE1E;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,eAAe,GAAG,eAAe,
|
|
1
|
+
{"version":3,"file":"config.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,gBAAgB,CAAC;AAE1E;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,eAAe,GAAG,eAAe,CAqDlF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SiteInfo } from './config.types';
|
|
2
|
+
/**
|
|
3
|
+
* Assert that an object is a valid SiteInfo with required fields.
|
|
4
|
+
* Throws with a clear message if validation fails.
|
|
5
|
+
*/
|
|
6
|
+
export declare function assertSiteInfo(v: any): asserts v is SiteInfo;
|
|
7
|
+
/**
|
|
8
|
+
* Basic validation for a routes object/array. Ensures the structure looks like
|
|
9
|
+
* a routes data blob and contains at least one named route.
|
|
10
|
+
*/
|
|
11
|
+
export declare function assertRoutes(routes: any): void;
|
|
12
|
+
/**
|
|
13
|
+
* Basic validation for visualdesign tokens. Ensures it's an object and contains
|
|
14
|
+
* at least the common tokens we care about (e.g., colors or fonts may be optional)
|
|
15
|
+
*/
|
|
16
|
+
export declare function assertVisualDesign(v: any): void;
|
|
17
|
+
//# sourceMappingURL=config.validators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.validators.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.validators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,IAAI,QAAQ,CAW5D;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CAkB9C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAkB/C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CacheManager
|
|
3
|
+
*
|
|
4
|
+
* A unified caching utility that supports Memory, LocalStorage, and SessionStorage.
|
|
5
|
+
* Includes TTL (Time-To-Live) support and automatic SSR fallback.
|
|
6
|
+
*/
|
|
7
|
+
export type CacheMode = 'memory' | 'local' | 'session' | 'none';
|
|
8
|
+
export interface CacheOptions {
|
|
9
|
+
ttl?: number;
|
|
10
|
+
prefix?: string;
|
|
11
|
+
mode?: CacheMode;
|
|
12
|
+
}
|
|
13
|
+
export declare class CacheManager {
|
|
14
|
+
private memoryCache;
|
|
15
|
+
private readonly defaultTTL;
|
|
16
|
+
private mode;
|
|
17
|
+
private prefix;
|
|
18
|
+
private ttl;
|
|
19
|
+
constructor(options?: CacheOptions);
|
|
20
|
+
/**
|
|
21
|
+
* Returns the storage engine based on the mode
|
|
22
|
+
*/
|
|
23
|
+
private getStorage;
|
|
24
|
+
/**
|
|
25
|
+
* Generates a prefixed key to avoid collisions
|
|
26
|
+
*/
|
|
27
|
+
private getFullKey;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves data from the cache
|
|
30
|
+
*/
|
|
31
|
+
get<T>(key: string): T | null;
|
|
32
|
+
/**
|
|
33
|
+
* Stores data in the cache with a specified TTL
|
|
34
|
+
*/
|
|
35
|
+
set<T>(key: string, data: T, customTTL?: number): void;
|
|
36
|
+
/**
|
|
37
|
+
* Removes a specific item from all storage engines
|
|
38
|
+
*/
|
|
39
|
+
remove(key: string): void;
|
|
40
|
+
/**
|
|
41
|
+
* Clears only the items belonging to this manager (by prefix)
|
|
42
|
+
*/
|
|
43
|
+
clear(): void;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=cache-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache-manager.d.ts","sourceRoot":"","sources":["../../../../src/components/general/cache-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEhE,MAAM,WAAW,YAAY;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB;AAOD,qBAAa,YAAY;IACxB,OAAO,CAAC,WAAW,CAAwC;IAC3D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkB;IAC7C,OAAO,CAAC,IAAI,CAAY;IACxB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,GAAG,CAAS;gBAER,OAAO,GAAE,YAAiB;IAWtC;;OAEG;IACH,OAAO,CAAC,UAAU;IAOlB;;OAEG;IACH,OAAO,CAAC,UAAU;IAIlB;;OAEG;IACH,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI;IA2C7B;;OAEG;IACH,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAiBtD;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IASzB;;OAEG;IACH,KAAK,IAAI,IAAI;CAWb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.reviews.components.d.ts","sourceRoot":"","sources":["../../../../src/components/general/google.reviews.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"google.reviews.components.d.ts","sourceRoot":"","sources":["../../../../src/components/general/google.reviews.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,sBAAsB,CAAC;AAU9B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAqG7D;yBArGe,iBAAiB"}
|
|
@@ -9,7 +9,7 @@ export declare namespace GoogleMaps {
|
|
|
9
9
|
frameBorder: PropTypes.Requireable<string>;
|
|
10
10
|
style: PropTypes.Requireable<object>;
|
|
11
11
|
map_mode: PropTypes.Validator<string>;
|
|
12
|
-
api_key: PropTypes.
|
|
12
|
+
api_key: PropTypes.Requireable<string>;
|
|
13
13
|
parameters: PropTypes.Requireable<string>;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"googlemap.d.ts","sourceRoot":"","sources":["../../../../src/components/general/googlemap.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"googlemap.d.ts","sourceRoot":"","sources":["../../../../src/components/general/googlemap.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgBnD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAkB/C;yBAlBe,UAAU"}
|
|
@@ -18,6 +18,7 @@ export type Metadata = {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const getMetadata: (routes: any, key?: string, value?: string) => Metadata;
|
|
20
20
|
export declare function getAccordionMenuData(myRoutes: Route): any;
|
|
21
|
+
import type { SiteInfo } from '../config/config.types';
|
|
21
22
|
export type GenerateMetaTagsProps = {
|
|
22
23
|
title: string;
|
|
23
24
|
description: string;
|
|
@@ -30,14 +31,7 @@ export type GenerateMetaTagsProps = {
|
|
|
30
31
|
image_height?: string;
|
|
31
32
|
image_width?: string;
|
|
32
33
|
favicon?: string;
|
|
33
|
-
siteInfo?:
|
|
34
|
-
name?: string;
|
|
35
|
-
email?: string;
|
|
36
|
-
image?: string;
|
|
37
|
-
image_height?: string;
|
|
38
|
-
image_width?: string;
|
|
39
|
-
favicon?: string;
|
|
40
|
-
};
|
|
34
|
+
siteInfo?: SiteInfo;
|
|
41
35
|
};
|
|
42
36
|
export declare function generateMetaTags(props: GenerateMetaTagsProps): import("react/jsx-runtime").JSX.Element;
|
|
43
37
|
//# sourceMappingURL=metadata.functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/general/metadata.functions.tsx"],"names":[],"mappings":"AAEA,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,SAAI,EAAE,eAAe,GAAE,MAAM,EAAO,YA0B7G;AAED,MAAM,MAAM,KAAK,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB,CAAA;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,GAAG,CAgBpE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,SAkBtD;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,GAAG,EAAE,MAAK,MAAe,EAAE,QAAO,MAAe,
|
|
1
|
+
{"version":3,"file":"metadata.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/general/metadata.functions.tsx"],"names":[],"mappings":"AAEA,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,EAAE,WAAW,SAAI,EAAE,eAAe,GAAE,MAAM,EAAO,YA0B7G;AAED,MAAM,MAAM,KAAK,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB,CAAA;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,GAAG,CAgBpE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,SAkBtD;AAED,MAAM,MAAM,QAAQ,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,GAAG,EAAE,MAAK,MAAe,EAAE,QAAO,MAAe,aAmBpF,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,KAAK,OAsBnD;AAGD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CA0F5D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* attachProxyCspListener
|
|
3
|
+
* Client-side helper that attaches a `securitypolicyviolation` listener and forwards
|
|
4
|
+
* the violation info to a provided handler (defaults to console.warn).
|
|
5
|
+
*/
|
|
6
|
+
export type CspInfo = {
|
|
7
|
+
blockedURI?: string;
|
|
8
|
+
violatedDirective?: string;
|
|
9
|
+
originalPolicy?: string;
|
|
10
|
+
sourceFile?: string;
|
|
11
|
+
disposition?: string;
|
|
12
|
+
referrer?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function attachProxyCspListener(onCsp?: (info: CspInfo) => void): () => void;
|
|
15
|
+
//# sourceMappingURL=proxy-csp-listener.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy-csp-listener.d.ts","sourceRoot":"","sources":["../../../../src/components/general/proxy-csp-listener.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,cAmBrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxy-handler.d.ts","sourceRoot":"","sources":["../../../../src/components/general/proxy-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,UAAwD,CAAC;AAE5F,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"proxy-handler.d.ts","sourceRoot":"","sources":["../../../../src/components/general/proxy-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;;;;GAQG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,UAAwD,CAAC;AAE5F,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,WAAW,yBAoDpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-localbusiness.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-localbusiness.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"schema-localbusiness.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-localbusiness.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAiCnD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,uBAAuB,2CAiDlE;yBAjDe,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-website.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-website.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"schema-website.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-website.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAGvD,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,CAAC,EAAE;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE;YACP,OAAO,EAAE,MAAM,CAAC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CAAC;;;;KA9M7uK;AAMD,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,SAA4B,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAgC3H;AAKD,wBAAsB,mBAAmB,CAAC,KAAK,EAAE;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAC;;;;;;iBAmKqpK,CAAC;;;;KApJ7uK;AAcD,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAsB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB;;;;;;iBAqImqK,CAAC;;;;KA9G7uK;yBAvBqB,oBAAoB;;;;;;;;;;;AAoC1C,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,SAAS,CAAC,CAAC;AAC/G,wBAAsB,+BAA+B,CAAC,KAAK,EAAE,mCAAmC;;;;;;iBAgG6oK,CAAC;;;;KAhF7uK;yBAhBqB,+BAA+B;;;;;;;;;;;AAgCrD,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,SAAS,CAAC,CAAC;AACnG,wBAAsB,yBAAyB,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CA0B7G;yBA1BqB,yBAAyB;;;;;;;;;;;;AA8B/C,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM;;;;;;iBAiCsrK,CAAC;;;;KAN7uK"}
|
|
@@ -23,6 +23,7 @@ export declare namespace EbayListItem {
|
|
|
23
23
|
var propTypes: {
|
|
24
24
|
item: PropTypes.Validator<any>;
|
|
25
25
|
cloudinaryProductEnv: PropTypes.Requireable<string>;
|
|
26
|
+
apiProps: PropTypes.Requireable<any>;
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
export type EbayItemHeaderType = InferProps<typeof EbayItemHeader.propTypes>;
|
|
@@ -43,4 +44,12 @@ export declare namespace EbayItemDetail {
|
|
|
43
44
|
cloudinaryProductEnv: PropTypes.Requireable<string>;
|
|
44
45
|
};
|
|
45
46
|
}
|
|
47
|
+
export type EbayRateLimitsVisualizerType = InferProps<typeof EbayRateLimitsVisualizer.propTypes>;
|
|
48
|
+
export declare function EbayRateLimitsVisualizer(props: EbayRateLimitsVisualizerType): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare namespace EbayRateLimitsVisualizer {
|
|
50
|
+
var propTypes: {
|
|
51
|
+
token: PropTypes.Requireable<string>;
|
|
52
|
+
apiProps: PropTypes.Requireable<object>;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
46
55
|
//# sourceMappingURL=ebay.components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/ebay.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"ebay.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/ebay.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,YAAY,CAAC;AAUpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAmF7C;yBAnFe,SAAS;;;;;;AA4FzB,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,kDAqEvD;yBArEe,cAAc;;;;;;AAgF9B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAyDnD;yBAzDe,YAAY;;;;;;;AAkE5B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CASvD;yBATe,cAAc;;;;;;;AAoB9B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAuFvD;yBAvFe,cAAc;;;;;;;AAgG9B,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,SAAS,CAAC,CAAC;AACjG,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,4BAA4B,2CAgK3E;yBAhKe,wBAAwB"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from "prop-types";
|
|
2
2
|
import type { ShoppingCartType } from "./shoppingcart.functions";
|
|
3
|
-
export declare const ebaySunglassCategory = "79720";
|
|
4
3
|
export type EbayApiType = {
|
|
5
|
-
proxyURL
|
|
6
|
-
baseTokenURL
|
|
4
|
+
proxyURL: string;
|
|
5
|
+
baseTokenURL: string;
|
|
7
6
|
tokenScope: string;
|
|
8
|
-
baseSearchURL
|
|
9
|
-
qsSearchURL
|
|
10
|
-
baseItemURL
|
|
11
|
-
qsItemURL
|
|
7
|
+
baseSearchURL: string;
|
|
8
|
+
qsSearchURL: string;
|
|
9
|
+
baseItemURL: string;
|
|
10
|
+
qsItemURL: string;
|
|
11
|
+
baseAnalyticsURL: string;
|
|
12
12
|
appId: string;
|
|
13
13
|
appCertId: string;
|
|
14
14
|
globalId: string;
|
|
15
|
+
itemCategory?: string;
|
|
15
16
|
};
|
|
16
17
|
export type getShoppingCartItemType = InferProps<typeof getShoppingCartItem.propTypes>;
|
|
17
18
|
export declare function getShoppingCartItem(props: getShoppingCartItemType): ShoppingCartType;
|
|
@@ -19,22 +20,9 @@ export declare namespace getShoppingCartItem {
|
|
|
19
20
|
var propTypes: {
|
|
20
21
|
thisItem: PropTypes.Validator<any>;
|
|
21
22
|
cloudinaryProductEnv: PropTypes.Requireable<string>;
|
|
23
|
+
apiProps: PropTypes.Requireable<any>;
|
|
22
24
|
};
|
|
23
25
|
}
|
|
24
|
-
export declare const defaultEbayProps: {
|
|
25
|
-
proxyURL: string;
|
|
26
|
-
baseTokenURL: string;
|
|
27
|
-
tokenScope: string;
|
|
28
|
-
baseSearchURL: string;
|
|
29
|
-
qsSearchURL: string;
|
|
30
|
-
baseItemURL: string;
|
|
31
|
-
qsItemURL: string;
|
|
32
|
-
appId: string;
|
|
33
|
-
appCertId: string;
|
|
34
|
-
sbxAppId: string;
|
|
35
|
-
sbxAppCertId: string;
|
|
36
|
-
globalId: string;
|
|
37
|
-
};
|
|
38
26
|
export type getEbayAppTokenType = InferProps<typeof getEbayAppToken.propTypes>;
|
|
39
27
|
export declare function getEbayAppToken(props: getEbayAppTokenType): Promise<any>;
|
|
40
28
|
export declare namespace getEbayAppToken {
|
|
@@ -58,6 +46,17 @@ export declare namespace getEbayBrowseItem {
|
|
|
58
46
|
token: PropTypes.Validator<string>;
|
|
59
47
|
};
|
|
60
48
|
}
|
|
49
|
+
export type getEbayRateLimitsType = InferProps<typeof getEbayRateLimits.propTypes>;
|
|
50
|
+
export declare function getEbayRateLimits(props: getEbayRateLimitsType): Promise<{
|
|
51
|
+
rate_limit: any;
|
|
52
|
+
user_rate_limit: any;
|
|
53
|
+
} | undefined>;
|
|
54
|
+
export declare namespace getEbayRateLimits {
|
|
55
|
+
var propTypes: {
|
|
56
|
+
apiProps: PropTypes.Validator<object>;
|
|
57
|
+
token: PropTypes.Validator<string>;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
61
60
|
export type getEbayItemsType = InferProps<typeof getEbayItems.propTypes>;
|
|
62
61
|
export declare function getEbayItems(props: getEbayItemsType): Promise<any>;
|
|
63
62
|
export declare namespace getEbayItems {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/ebay.functions.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ebay.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/ebay.functions.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AA4DjE,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,CAAA;AAQD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB,oBA4BjE;yBA5Be,mBAAmB;;;;;;;AA2CnC,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,gBA8BzD;yBA9Be,eAAe;;;;;AAwC/B,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB,gBAwCjE;yBAxCe,mBAAmB;;;;;;AAkDnC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,gBAwC7D;yBAxCe,iBAAiB;;;;;;AAkDjC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB;;;eAyC7D;yBAzCe,iBAAiB;;;;;;AAmDjC,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAsB,YAAY,CAAC,KAAK,EAAE,gBAAgB,gBAazD;yBAbqB,YAAY;;;;;AAoBlC,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAsB,WAAW,CAAC,KAAK,EAAE,eAAe,gBAavD;yBAbqB,WAAW;;;;;AAoBjC,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,gBAuC5C"}
|
|
@@ -5,7 +5,7 @@ export type ShoppingCartType = InferProps<typeof ShoppingCart.propTypes>;
|
|
|
5
5
|
export declare function ShoppingCart(props: ShoppingCartType): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare namespace ShoppingCart {
|
|
7
7
|
var propTypes: {
|
|
8
|
-
payPalClientID: PropTypes.
|
|
8
|
+
payPalClientID: PropTypes.Requireable<string>;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
export type ShoppingCartItemType = InferProps<typeof ShoppingCartItem.propTypes>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.components.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,OAAO,8BAA8B,CAAC;AAStC,OAAO,oBAAoB,CAAC;AAa5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAE,KAAK,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"shoppingcart.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.components.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,OAAO,8BAA8B,CAAC;AAStC,OAAO,oBAAoB,CAAC;AAa5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAE,KAAK,EAAE,gBAAgB,2CA2LpD;yBA3Le,YAAY;;;;;AAwM5B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAoD3D;yBApDe,gBAAgB;;;;;;;;;;;;AA+EhC,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CA0CrD;yBA1Ce,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;AAgD7B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,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