@pixelated-tech/components 3.12.0 → 3.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/admin/componentusage/componentAnalysis.js +2 -0
- package/dist/components/admin/deploy/deployment.integration.js +8 -0
- package/dist/components/admin/site-health/site-health-dependency-vulnerabilities.js +3 -1
- package/dist/components/config/config.js +41 -2
- package/dist/components/general/buzzwordbingo.css +8 -8
- package/dist/components/general/buzzwordbingo.js +3 -3
- package/dist/components/general/countup.css +19 -0
- package/dist/components/general/countup.js +62 -0
- package/dist/components/general/global-error.css +1 -1
- package/dist/components/general/global-error.js +1 -1
- package/dist/components/general/menu-accordion.css +24 -24
- package/dist/components/general/menu-accordion.js +13 -13
- package/dist/components/general/menu-expando.css +4 -4
- package/dist/components/general/menu-expando.js +7 -7
- package/dist/components/general/metadata.functions.js +1 -1
- package/dist/components/general/microinteractions.css +1 -1
- package/dist/components/general/nerdjoke.css +5 -5
- package/dist/components/general/nerdjoke.js +2 -2
- package/dist/components/general/recipe.css +1 -1
- package/dist/components/general/recipe.js +1 -1
- package/dist/components/general/semantic.js +1 -1
- package/dist/components/general/sidepanel.css +3 -3
- package/dist/components/general/skeleton.css +4 -4
- package/dist/components/general/skeleton.js +3 -3
- package/dist/components/general/styleguide.js +2 -2
- package/dist/components/general/table.css +6 -6
- package/dist/components/general/table.js +5 -5
- package/dist/components/general/tiles.js +3 -2
- package/dist/components/general/well-known.js +137 -0
- package/dist/components/integrations/contentful.management.js +25 -25
- package/dist/components/integrations/socialcard.css +6 -6
- package/dist/components/integrations/socialcard.js +2 -2
- package/dist/components/integrations/wordpress.components.js +1 -1
- package/dist/components/integrations/wordpress.css +2 -2
- package/dist/components/shoppingcart/ebay.components.js +11 -11
- package/dist/components/shoppingcart/ebay.css +20 -20
- package/dist/components/shoppingcart/shoppingcart.components.js +11 -11
- package/dist/components/shoppingcart/shoppingcart.css +19 -19
- package/dist/components/sitebuilder/form/form.css +4 -4
- package/dist/components/sitebuilder/form/formcomponents.js +3 -3
- package/dist/components/sitebuilder/page/components/PageBuilderUI.js +2 -2
- package/dist/components/sitebuilder/page/lib/pageStorageContentful.js +4 -4
- package/dist/config/pixelated.config.json.enc +1 -1
- package/dist/css/pixelated.grid.scss +1 -1
- package/dist/index.js +1 -1
- package/dist/index.server.js +3 -4
- package/dist/scripts/pixelated-eslint-plugin.js +51 -3
- package/dist/types/components/admin/componentusage/componentAnalysis.d.ts +2 -5
- package/dist/types/components/admin/componentusage/componentAnalysis.d.ts.map +1 -1
- package/dist/types/components/admin/deploy/deployment.integration.d.ts +1 -5
- package/dist/types/components/admin/deploy/deployment.integration.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-github.integration.d.ts +1 -11
- package/dist/types/components/admin/site-health/site-health-github.integration.d.ts.map +1 -1
- package/dist/types/components/admin/sites/sites.integration.d.ts +7 -1
- package/dist/types/components/admin/sites/sites.integration.d.ts.map +1 -1
- package/dist/types/components/config/config.d.ts.map +1 -1
- package/dist/types/components/config/config.types.d.ts +2 -2
- package/dist/types/components/config/config.types.d.ts.map +1 -1
- package/dist/types/components/general/countup.d.ts +17 -0
- package/dist/types/components/general/countup.d.ts.map +1 -0
- package/dist/types/components/general/tiles.d.ts.map +1 -1
- package/dist/types/components/general/well-known.d.ts +56 -0
- package/dist/types/components/general/well-known.d.ts.map +1 -0
- package/dist/types/components/integrations/contentful.management.d.ts +1 -5
- package/dist/types/components/integrations/contentful.management.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/ebay.functions.d.ts +2 -2
- package/dist/types/components/shoppingcart/ebay.functions.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/paypal.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts +20 -12
- package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/lib/pageStorageContentful.d.ts +1 -1
- package/dist/types/components/sitebuilder/page/lib/pageStorageContentful.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.server.d.ts +3 -4
- package/dist/types/scripts/pixelated-eslint-plugin.d.ts +18 -0
- package/dist/types/stories/general/countup.stories.d.ts +47 -0
- package/dist/types/stories/general/countup.stories.d.ts.map +1 -0
- package/dist/types/tests/securitytxt.test.d.ts +2 -0
- package/dist/types/tests/securitytxt.test.d.ts.map +1 -0
- package/package.json +23 -13
- package/dist/components/config/config.utils.js +0 -52
- package/dist/components/general/humanstxt.js +0 -81
- package/dist/types/components/config/config.utils.d.ts +0 -6
- package/dist/types/components/config/config.utils.d.ts.map +0 -1
- package/dist/types/components/general/humanstxt.d.ts +0 -37
- package/dist/types/components/general/humanstxt.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// sorted alphabetically and grouped by folder for easier reading
|
|
2
2
|
export * from './components/config/config.client';
|
|
3
3
|
export * from './components/config/config.types';
|
|
4
|
-
export * from './components/config/config.utils';
|
|
5
4
|
export * from './components/config/config.validators';
|
|
6
5
|
export * from './components/general/404';
|
|
7
6
|
export * from './components/general/accordion';
|
|
@@ -10,6 +9,7 @@ export * from './components/general/cache-manager';
|
|
|
10
9
|
export * from './components/general/callout';
|
|
11
10
|
export * from './components/general/carousel';
|
|
12
11
|
export * from './components/general/carousel.drag';
|
|
12
|
+
export * from './components/general/countup';
|
|
13
13
|
export * from './components/general/css';
|
|
14
14
|
export * from './components/general/faq-accordion';
|
|
15
15
|
export * from './components/general/hero';
|
package/dist/index.server.js
CHANGED
|
@@ -6,11 +6,10 @@ export * from './components/admin/sites/sites.integration';
|
|
|
6
6
|
export * from './components/config/config';
|
|
7
7
|
export * from './components/config/config.server';
|
|
8
8
|
export * from './components/config/config.types';
|
|
9
|
-
export * from './components/config/config.utils';
|
|
10
9
|
export * from './components/config/config.validators';
|
|
11
10
|
export * from './components/config/crypto';
|
|
12
|
-
export * from './components/general/manifest';
|
|
13
11
|
export * from './components/general/hero';
|
|
12
|
+
export * from './components/general/manifest';
|
|
14
13
|
export * from './components/general/metadata.functions';
|
|
15
14
|
export * from './components/general/proxy-handler';
|
|
16
15
|
export * from './components/general/resume';
|
|
@@ -22,9 +21,9 @@ export * from './components/general/schema-recipe';
|
|
|
22
21
|
export * from './components/general/schema-services';
|
|
23
22
|
export * from './components/general/schema-website';
|
|
24
23
|
export * from './components/general/sitemap';
|
|
25
|
-
export * from './components/general/humanstxt';
|
|
26
|
-
export * from './components/general/utilities';
|
|
27
24
|
export * from './components/general/skeleton';
|
|
25
|
+
export * from './components/general/well-known';
|
|
26
|
+
export * from './components/general/utilities';
|
|
28
27
|
export * from './components/integrations/contentful.delivery';
|
|
29
28
|
export * from './components/integrations/contentful.management';
|
|
30
29
|
export * from './components/integrations/flickr';
|
|
@@ -348,6 +348,52 @@ const propTypesJsdocRule = {
|
|
|
348
348
|
},
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
+
// ===== RULE: class-name-kebab-case =====
|
|
352
|
+
const classNameKebabCaseRule = {
|
|
353
|
+
meta: {
|
|
354
|
+
type: 'suggestion',
|
|
355
|
+
docs: {
|
|
356
|
+
description: 'Enforce kebab-case for JSX className values',
|
|
357
|
+
category: 'Stylistic',
|
|
358
|
+
recommended: true,
|
|
359
|
+
},
|
|
360
|
+
messages: {
|
|
361
|
+
invalidClass: 'Class name "{{className}}" should be kebab-case (e.g. "callout-title-text").',
|
|
362
|
+
},
|
|
363
|
+
schema: [],
|
|
364
|
+
},
|
|
365
|
+
create(context) {
|
|
366
|
+
const kebabRe = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
367
|
+
return {
|
|
368
|
+
JSXAttribute(node) {
|
|
369
|
+
if (!node.name) return;
|
|
370
|
+
const name = node.name.name;
|
|
371
|
+
if (name !== 'className' && name !== 'class') return;
|
|
372
|
+
|
|
373
|
+
const value = node.value;
|
|
374
|
+
if (!value) return;
|
|
375
|
+
|
|
376
|
+
let text = null;
|
|
377
|
+
if (value.type === 'Literal') text = value.value;
|
|
378
|
+
else if (value.type === 'JSXExpressionContainer') {
|
|
379
|
+
if (value.expression && value.expression.type === 'Literal') text = value.expression.value;
|
|
380
|
+
else if (value.expression && value.expression.type === 'TemplateLiteral') {
|
|
381
|
+
text = value.expression.quasis.map(q => q.value.cooked).join(' ');
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
if (typeof text !== 'string') return; // skip dynamic expressions
|
|
385
|
+
|
|
386
|
+
const parts = text.split(/\s+/).filter(Boolean);
|
|
387
|
+
for (const part of parts) {
|
|
388
|
+
if (!kebabRe.test(part)) {
|
|
389
|
+
context.report({ node, messageId: 'invalidClass', data: { className: part } });
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
};
|
|
394
|
+
},
|
|
395
|
+
};
|
|
396
|
+
|
|
351
397
|
const requiredFilesRule = {
|
|
352
398
|
meta: {
|
|
353
399
|
type: 'suggestion',
|
|
@@ -871,6 +917,7 @@ export default {
|
|
|
871
917
|
'required-proptypes-jsdoc': propTypesJsdocRule,
|
|
872
918
|
'file-name-kebab-case': fileNameKebabCaseRule,
|
|
873
919
|
'no-duplicate-export-names': noDuplicateExportNamesRule,
|
|
920
|
+
'class-name-kebab-case': classNameKebabCaseRule,
|
|
874
921
|
},
|
|
875
922
|
configs: {
|
|
876
923
|
recommended: {
|
|
@@ -879,14 +926,15 @@ export default {
|
|
|
879
926
|
'pixelated/required-schemas': 'warn',
|
|
880
927
|
'pixelated/required-files': 'warn',
|
|
881
928
|
'pixelated/no-raw-img': 'warn',
|
|
882
|
-
'pixelated/require-section-ids': '
|
|
929
|
+
'pixelated/require-section-ids': 'error',
|
|
883
930
|
'pixelated/required-faq': 'warn',
|
|
884
931
|
'pixelated/validate-test-locations': 'error',
|
|
885
932
|
'pixelated/no-process-env': ['error', { allowed: ALLOWED_ENV_VARS } ],
|
|
886
933
|
'pixelated/no-debug-true': 'warn',
|
|
887
934
|
'pixelated/file-name-kebab-case': 'off',
|
|
888
|
-
'pixelated/required-proptypes-jsdoc': '
|
|
889
|
-
'pixelated/no-duplicate-export-names': '
|
|
935
|
+
'pixelated/required-proptypes-jsdoc': 'error',
|
|
936
|
+
'pixelated/no-duplicate-export-names': 'error',
|
|
937
|
+
'pixelated/class-name-kebab-case': 'error',
|
|
890
938
|
},
|
|
891
939
|
},
|
|
892
940
|
},
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
* Component Usage Analysis Services
|
|
3
3
|
* Server-side utilities for analyzing component usage across sites
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
name: string;
|
|
7
|
-
localPath: string;
|
|
8
|
-
}
|
|
5
|
+
import type { SiteConfig } from '../sites/sites.integration';
|
|
9
6
|
export interface ComponentUsageResult {
|
|
10
7
|
components: string[];
|
|
11
8
|
siteList: SiteConfig[];
|
|
@@ -27,7 +24,7 @@ export declare function getAllFiles(dirPath: string, extensions?: string[]): Pro
|
|
|
27
24
|
/**
|
|
28
25
|
* Check if a component is used in a site
|
|
29
26
|
*/
|
|
30
|
-
export declare function checkComponentUsage(sitePath: string, componentName: string): Promise<boolean>;
|
|
27
|
+
export declare function checkComponentUsage(sitePath: string | undefined, componentName: string): Promise<boolean>;
|
|
31
28
|
/**
|
|
32
29
|
* Analyze component usage across all sites
|
|
33
30
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentAnalysis.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/componentusage/componentAnalysis.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"componentAnalysis.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/componentusage/componentAnalysis.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,WAAW,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG;YAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;CACnE;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAezE;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAoC/F;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAwD/G;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAC1C,UAAU,EAAE,MAAM,EAAE,EACpB,KAAK,EAAE,UAAU,EAAE,GACjB,OAAO,CAAC,oBAAoB,CAAC,CAyC/B"}
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
* Deployment Integration Services
|
|
3
3
|
* Server-side utilities for site deployment operations
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
name: string;
|
|
7
|
-
localPath: string;
|
|
8
|
-
remote: string;
|
|
9
|
-
}
|
|
5
|
+
import type { SiteConfig } from '../sites/sites.integration';
|
|
10
6
|
export interface DeploymentRequest {
|
|
11
7
|
site: string;
|
|
12
8
|
environments: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/deploy/deployment.integration.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"deployment.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/deploy/deployment.integration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI7D,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACzC;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACtC,OAAO,EAAE,iBAAiB,EAC1B,UAAU,EAAE,UAAU,EACtB,gBAAgB,GAAE,OAAe,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAU3B"}
|
package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-dependency-vulnerabilities.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-dependency-vulnerabilities.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAanD,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAAC,OAAO,mCAAmC,CAAC,SAAS,CAAC,CAAC;AACvH,wBAAgB,mCAAmC,CAAC,EAAE,QAAQ,EAAE,EAAE,uCAAuC,
|
|
1
|
+
{"version":3,"file":"site-health-dependency-vulnerabilities.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-dependency-vulnerabilities.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAanD,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAAC,OAAO,mCAAmC,CAAC,SAAS,CAAC,CAAC;AACvH,wBAAgB,mCAAmC,CAAC,EAAE,QAAQ,EAAE,EAAE,uCAAuC,2CAgJxG;yBAhJe,mCAAmC;;QAJnD,qEAAqE"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
import type { GitCommit } from './site-health-types';
|
|
2
|
+
import type { SiteConfig } from '../sites/sites.integration';
|
|
2
3
|
export interface GitHealthResult {
|
|
3
4
|
commits: GitCommit[];
|
|
4
5
|
timestamp: string;
|
|
5
6
|
status: 'success' | 'error';
|
|
6
7
|
error?: string;
|
|
7
8
|
}
|
|
8
|
-
export interface SiteConfig {
|
|
9
|
-
name: string;
|
|
10
|
-
/** Optional: explicit repository identifier (e.g., "owner/repo" or just "repo") */
|
|
11
|
-
repo?: string;
|
|
12
|
-
/** Optional: remote name (legacy) */
|
|
13
|
-
remote?: string;
|
|
14
|
-
/** Optional explicit repo owner */
|
|
15
|
-
owner?: string;
|
|
16
|
-
/** Optional local path used to derive repo name if needed */
|
|
17
|
-
localPath?: string;
|
|
18
|
-
}
|
|
19
9
|
/**
|
|
20
10
|
* Analyze git repository health for a site using the GitHub REST API.
|
|
21
11
|
* Expects a GitHub token to be present in the master config under `github.token`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-health-github.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-github.integration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"site-health-github.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-github.integration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAM7D,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAgHnM"}
|
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export interface SiteConfig {
|
|
6
6
|
name: string;
|
|
7
|
-
|
|
7
|
+
/** Optional local path (may be absent for remote-only checks) */
|
|
8
|
+
localPath?: string;
|
|
9
|
+
/** Optional remote (e.g., full URL or owner/repo string) */
|
|
8
10
|
remote?: string;
|
|
11
|
+
/** Optional explicit repository identifier (e.g., "owner/repo" or just "repo") */
|
|
12
|
+
repo?: string;
|
|
13
|
+
/** Optional explicit repo owner */
|
|
14
|
+
owner?: string;
|
|
9
15
|
ga4PropertyId?: string;
|
|
10
16
|
searchConsoleUrl?: string;
|
|
11
17
|
[key: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sites.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/sites/sites.integration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sites.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/sites/sites.integration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kFAAkF;IAClF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAgBhF;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAe7F;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAGrG;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAkCzF;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAmB3F;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAU9F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,gBAAgB,CAAC;AAW1E;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,eAAe,CA4FxD;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,eAAe,CAwCpF"}
|
|
@@ -15,9 +15,9 @@ export interface CloudinaryConfig {
|
|
|
15
15
|
}
|
|
16
16
|
export interface ContentfulConfig {
|
|
17
17
|
proxyURL?: string;
|
|
18
|
-
base_url
|
|
18
|
+
base_url?: string;
|
|
19
19
|
space_id: string;
|
|
20
|
-
environment
|
|
20
|
+
environment?: string;
|
|
21
21
|
delivery_access_token?: string;
|
|
22
22
|
management_access_token?: string;
|
|
23
23
|
preview_access_token?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACzB,qGAAqG;IACrG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,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;
|
|
1
|
+
{"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACzB,qGAAqG;IACrG,aAAa,CAAC,EAAE,MAAM,CAAC;IAC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C,EAAE,YAAY,CAAC;IACtB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,SAAS,CAAC,EAAE,eAAe,CAAC;CAC5B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
import "./countup.css";
|
|
3
|
+
export type CountUpType = InferProps<typeof CountUp.propTypes>;
|
|
4
|
+
export declare function CountUp({ id, pre, post, start, end, duration, decimals, content }: CountUpType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare namespace CountUp {
|
|
6
|
+
var propTypes: {
|
|
7
|
+
id: PropTypes.Validator<string>;
|
|
8
|
+
pre: PropTypes.Requireable<string>;
|
|
9
|
+
post: PropTypes.Requireable<string>;
|
|
10
|
+
start: PropTypes.Validator<number>;
|
|
11
|
+
end: PropTypes.Validator<number>;
|
|
12
|
+
duration: PropTypes.Validator<number>;
|
|
13
|
+
decimals: PropTypes.Requireable<number>;
|
|
14
|
+
content: PropTypes.Requireable<string>;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=countup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"countup.d.ts","sourceRoot":"","sources":["../../../../src/components/general/countup.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,eAAe,CAAC;AAuBvB,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC;AAC/D,wBAAgB,OAAO,CAAC,EAAE,EAAE,EAAE,GAAQ,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAY,EAAE,OAAO,EAAE,EAAE,WAAW,2CA6C5G;yBA7Ce,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiles.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tiles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tiles.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tiles.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,aAAa,iCAAoC,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;AAuBxE,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC;AAC3D,wBAAgB,KAAK,CAAC,KAAK,EAAE,SAAS,2CA4BrC;yBA5Be,KAAK;;QAdrB,8FAA8F;;QAE7F,+DAA+D;;QAE/D,6EAA6E;;QAE7E;;;WAGG;QACH,uEAAuE;;;;AAmExE,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;AACzD,iBAAS,IAAI,CAAE,KAAK,EAAE,QAAQ,2CA2B7B;kBA3BQ,IAAI;;QAlBb,oCAAoC;;QAEnC,0CAA0C;;QAE1C,mCAAmC;;QAEnC,8CAA8C;;QAE9C,6DAA6D;;QAE7D,qEAAqE;;QAErE,wFAAwF;;QAExF,iFAAiF"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
import type { NextRequest } from 'next/server';
|
|
3
|
+
import { NextResponse } from 'next/server';
|
|
4
|
+
/**
|
|
5
|
+
* Read JSON from disk safely — returns null on error. Exported for testing.
|
|
6
|
+
*/
|
|
7
|
+
export declare function safeJSON(path: string): Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
* Normalize a value into a single-line trimmed string (safe for humans.txt / security.txt).
|
|
10
|
+
* Exported for testing.
|
|
11
|
+
*/
|
|
12
|
+
export declare function sanitizeString(v: unknown): string;
|
|
13
|
+
/**
|
|
14
|
+
* Build a plain-text response payload including ETag and standard headers.
|
|
15
|
+
* Exported for testing and reuse across .well-known generators.
|
|
16
|
+
*/
|
|
17
|
+
export declare function createTextResponsePayload(body: string): {
|
|
18
|
+
body: string;
|
|
19
|
+
etag: string;
|
|
20
|
+
headers: Record<string, string>;
|
|
21
|
+
};
|
|
22
|
+
export type GenerateHumansTxtType = InferProps<typeof generateHumansTxt.propTypes>;
|
|
23
|
+
export declare function generateHumansTxt(opts?: GenerateHumansTxtType): Promise<{
|
|
24
|
+
body: string;
|
|
25
|
+
etag: string;
|
|
26
|
+
headers: Record<string, string>;
|
|
27
|
+
}>;
|
|
28
|
+
export declare namespace generateHumansTxt {
|
|
29
|
+
var propTypes: {
|
|
30
|
+
/** base directory to read package.json / routes.json from (defaults to process.cwd()) */
|
|
31
|
+
cwd: PropTypes.Requireable<string>;
|
|
32
|
+
/** optional package.json object (if provided, fs is not used) */
|
|
33
|
+
pkg: PropTypes.Requireable<object>;
|
|
34
|
+
/** optional routes.json object (if provided, fs is not used) */
|
|
35
|
+
routesJson: PropTypes.Requireable<object>;
|
|
36
|
+
/** limit how many routes to include (default 50) */
|
|
37
|
+
maxRoutes: PropTypes.Requireable<number>;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export type GenerateSecurityTxtType = InferProps<typeof generateSecurityTxt.propTypes>;
|
|
41
|
+
export declare function generateSecurityTxt(props?: GenerateSecurityTxtType): Promise<{
|
|
42
|
+
body: string;
|
|
43
|
+
etag: string;
|
|
44
|
+
headers: Record<string, string>;
|
|
45
|
+
}>;
|
|
46
|
+
export declare namespace generateSecurityTxt {
|
|
47
|
+
var propTypes: {
|
|
48
|
+
routesJson: PropTypes.Requireable<object>;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Create a response for a well-known resource.
|
|
53
|
+
* @param {'humans'|'security'} type - Which resource to generate ('humans' | 'security').
|
|
54
|
+
*/
|
|
55
|
+
export declare function createWellKnownResponse(type: 'humans' | 'security', req?: NextRequest, opts?: any): Promise<NextResponse<unknown>>;
|
|
56
|
+
//# sourceMappingURL=well-known.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"well-known.d.ts","sourceRoot":"","sources":["../../../../src/components/general/well-known.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3C;;GAEG;AACH,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,gBAO1C;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,UAExC;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM;;;;EAQrD;AAcD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAsB,iBAAiB,CAAC,IAAI,GAAE,qBAA0B;;;;GAsDvE;yBAtDqB,iBAAiB;;QAVtC,yFAAyF;;QAEzF,iEAAiE;;QAEjE,gEAAgE;;QAEhE,oDAAoD;;;;AAmErD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAsB,mBAAmB,CAAC,KAAK,GAAE,uBAA4B;;;;GAsB5E;yBAtBqB,mBAAmB;;;;;AA2BzC;;;GAGG;AACH,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,EAAE,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,GAAE,GAAQ,kCAO3G"}
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides reusable CRUD operations for any Contentful content type
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
spaceId: string;
|
|
8
|
-
accessToken: string;
|
|
9
|
-
environment?: string;
|
|
10
|
-
}
|
|
6
|
+
import type { ContentfulConfig } from '../config/config.types';
|
|
11
7
|
export interface ContentfulEntry {
|
|
12
8
|
sys: {
|
|
13
9
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentful.management.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/contentful.management.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,
|
|
1
|
+
{"version":3,"file":"contentful.management.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/contentful.management.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,WAAW,eAAe;IAC/B,GAAG,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,MAAM,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG;YACd,OAAO,EAAE,GAAG,CAAC;SACb,CAAC;KACF,CAAC;CACF;AAED,MAAM,WAAW,mBAAmB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,OAAO,CAAC,EAAE,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;GAEG;AACH,wBAAsB,WAAW,CAChC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,mBAAmB,CAAC,CAqD9B;AAMD;;;0CAG0C;AAE1C,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE;QACH,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CAAC,WAAW,EAAE,qBAAqB,GAAG,OAAO,CAAC;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAqBnI;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,WAAW,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAoDhG;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,iBAAiB,EAAE,qBAAqB,EACxC,eAAe,EAAE,qBAAqB,EACtC,aAAa,EAAE,MAAM,GACnB,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA6C/C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
-
import type {
|
|
2
|
+
import type { CartItemType } from "./shoppingcart.functions";
|
|
3
3
|
export type EbayApiType = {
|
|
4
4
|
proxyURL: string;
|
|
5
5
|
baseTokenURL: string;
|
|
@@ -15,7 +15,7 @@ export type EbayApiType = {
|
|
|
15
15
|
itemCategory?: string;
|
|
16
16
|
};
|
|
17
17
|
export type getShoppingCartItemType = InferProps<typeof getShoppingCartItem.propTypes>;
|
|
18
|
-
export declare function getShoppingCartItem(props: getShoppingCartItemType):
|
|
18
|
+
export declare function getShoppingCartItem(props: getShoppingCartItemType): CartItemType;
|
|
19
19
|
export declare namespace getShoppingCartItem {
|
|
20
20
|
var propTypes: {
|
|
21
21
|
/** Raw eBay item object */
|
|
@@ -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,
|
|
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,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA4D7D,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;AAkBD,MAAM,MAAM,uB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W,CAAC,KAAK,EAAE,eAAe,gBAavD;yBAbqB,WAAW;;QAJjC,2BAA2B;;;;AAwB3B,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,gBAuC5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paypal.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/paypal.tsx"],"names":[],"mappings":"AAKA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"paypal.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/paypal.tsx"],"names":[],"mappings":"AAKA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAgB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAuB3E,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC;AAC7D,wBAAgB,MAAM,CAAC,KAAK,EAAE,GAAG,2CAsBhC;yBAtBe,MAAM;;;;;;;AAwBtB,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,GAAG,CAAA;CAAC,QA4HnF"}
|
|
@@ -2,7 +2,15 @@ export declare const shoppingCartKey = "pixelvividCart";
|
|
|
2
2
|
export declare const shippingInfoKey = "pixelvividCartShipping";
|
|
3
3
|
export declare const discountCodesKey = "pixelvividDiscountCodes";
|
|
4
4
|
export declare const checkoutInfoKey = "pixelvividCartCheckout";
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Canonical Cart Item model (data-only)
|
|
7
|
+
*
|
|
8
|
+
* This type is the *single source of truth* for shopping cart items used by
|
|
9
|
+
* business logic, storage, and integrations. Component prop types should
|
|
10
|
+
* either alias this type (e.g. `ShoppingCartItemProps = { item: CartItemType }`)
|
|
11
|
+
* or use their own `...Props` names to remain UI-focused.
|
|
12
|
+
*/
|
|
13
|
+
export type CartItemType = {
|
|
6
14
|
itemID: string;
|
|
7
15
|
itemURL?: string;
|
|
8
16
|
itemTitle: string;
|
|
@@ -29,7 +37,7 @@ export type DiscountCodeType = {
|
|
|
29
37
|
codeValue: number;
|
|
30
38
|
};
|
|
31
39
|
export type CheckoutType = {
|
|
32
|
-
items:
|
|
40
|
+
items: CartItemType[];
|
|
33
41
|
subtotal: number;
|
|
34
42
|
subtotal_discount: number;
|
|
35
43
|
shippingTo: AddressType;
|
|
@@ -42,15 +50,15 @@ export type CheckoutType = {
|
|
|
42
50
|
};
|
|
43
51
|
export declare function formatAsUSD(cost: number): string;
|
|
44
52
|
export declare function formatAsHundredths(num: number): number;
|
|
45
|
-
export declare function getCart():
|
|
46
|
-
export declare function setCart(shoppingCartJSON:
|
|
47
|
-
export declare function alreadyInCart(cart:
|
|
48
|
-
export declare function increaseQuantityCart(cart:
|
|
49
|
-
export declare function getIndexInCart(cart:
|
|
50
|
-
export declare function getCartItemCount(cart:
|
|
51
|
-
export declare function getCartSubTotal(cart:
|
|
52
|
-
export declare function addToShoppingCart(thisItem:
|
|
53
|
-
export declare function removeFromShoppingCart(thisItem:
|
|
53
|
+
export declare function getCart(): CartItemType[];
|
|
54
|
+
export declare function setCart(shoppingCartJSON: CartItemType[]): void;
|
|
55
|
+
export declare function alreadyInCart(cart: CartItemType[], itemID: string): boolean;
|
|
56
|
+
export declare function increaseQuantityCart(cart: CartItemType[], itemID: string): void;
|
|
57
|
+
export declare function getIndexInCart(cart: CartItemType[], itemID: string): number;
|
|
58
|
+
export declare function getCartItemCount(cart: CartItemType[]): number;
|
|
59
|
+
export declare function getCartSubTotal(cart: CartItemType[]): number;
|
|
60
|
+
export declare function addToShoppingCart(thisItem: CartItemType): void;
|
|
61
|
+
export declare function removeFromShoppingCart(thisItem: CartItemType): void;
|
|
54
62
|
export declare function clearShoppingCart(): void;
|
|
55
63
|
export declare function getShippingInfo(): any;
|
|
56
64
|
export declare function setShippingInfo(shippingFormData: any): void;
|
|
@@ -62,7 +70,7 @@ export declare function getRemoteDiscountCodes(): Promise<any>;
|
|
|
62
70
|
export declare function getLocalDiscountCodes(): DiscountCodeType[];
|
|
63
71
|
export declare function setDiscountCodes(discountCodesJSON: DiscountCodeType[]): void;
|
|
64
72
|
export declare function getDiscountCode(codeString: string): DiscountCodeType | undefined;
|
|
65
|
-
export declare function getCartSubtotalDiscount(cart:
|
|
73
|
+
export declare function getCartSubtotalDiscount(cart: CartItemType[]): number;
|
|
66
74
|
export declare function getHandlingFee(): number;
|
|
67
75
|
export declare function getSalesTax(): number;
|
|
68
76
|
export declare function getCheckoutTotal(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.functions.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,eAAe,2BAA2B,CAAC;AACxD,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAC1D,eAAO,MAAM,eAAe,2BAA2B,CAAC;AAqBxD,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"shoppingcart.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.functions.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,eAAe,2BAA2B,CAAC;AACxD,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAC1D,eAAO,MAAM,eAAe,2BAA2B,CAAC;AAqBxD;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAG,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,C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,EAAE,MAAM,EAAE,MAAM,QAOxE;AAGD,wBAAgB,cAAc,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,UAQlE;AAGD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,EAAE,UASpD;AAGD,wBAAgB,eAAe,CAAC,IAAI,EAAE,YAAY,EAAE,UAWnD;AAGD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,YAAY,QAqBvD;AAGD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,YAAY,QAQ5D;AAGD,wBAAgB,iBAAiB,SAKhC;AAMD,wBAAgB,eAAe,QAM9B;AAGD,wBAAgB,eAAe,CAAC,gBAAgB,EAAE,GAAG,QAIpD;AAGD,wBAAgB,eAAe,IAAI,MAAM,CAKxC;AAMD,wBAAsB,oBAAoB,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAE;CAAE,gCAwBpE;AAGD,wBAAsB,sBAAsB,iBAY3C;AAGD,wBAAgB,qBAAqB,uBAMpC;AAGD,wBAAgB,gBAAgB,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,QAIrE;AAGD,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,gCAcjD;AAGD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,YAAY,EAAE,UAa3D;AAOD,wBAAgB,cAAc,WAE7B;AAGD,wBAAgB,WAAW,IAAI,MAAM,CAOpC;AAGD,wBAAgB,gBAAgB,WAU/B;AAGD,wBAAgB,eAAe,iBAe9B"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Uses generic Contentful management functions with PageBuilder-specific logic
|
|
5
5
|
*/
|
|
6
|
-
import type { ContentfulConfig } from '../../../
|
|
6
|
+
import type { ContentfulConfig } from '../../../config/config.types';
|
|
7
7
|
import type { PageData } from './types';
|
|
8
8
|
import type { ListPagesResponse, LoadPageResponse, SavePageResponse, DeletePageResponse } from './pageStorageTypes';
|
|
9
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageStorageContentful.d.ts","sourceRoot":"","sources":["../../../../../../src/components/sitebuilder/page/lib/pageStorageContentful.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pageStorageContentful.d.ts","sourceRoot":"","sources":["../../../../../../src/components/sitebuilder/page/lib/pageStorageContentful.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC;AAW5B;;GAEG;AACH,wBAAsB,mBAAmB,CACxC,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAoB5B;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CAgC3B;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CA6C3B;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACzC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,kBAAkB,CAAC,CAgC7B"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./components/config/config.client";
|
|
2
2
|
export * from "./components/config/config.types";
|
|
3
|
-
export * from "./components/config/config.utils";
|
|
4
3
|
export * from "./components/config/config.validators";
|
|
5
4
|
export * from "./components/general/404";
|
|
6
5
|
export * from "./components/general/accordion";
|
|
@@ -9,6 +8,7 @@ export * from "./components/general/cache-manager";
|
|
|
9
8
|
export * from "./components/general/callout";
|
|
10
9
|
export * from "./components/general/carousel";
|
|
11
10
|
export * from "./components/general/carousel.drag";
|
|
11
|
+
export * from "./components/general/countup";
|
|
12
12
|
export * from "./components/general/css";
|
|
13
13
|
export * from "./components/general/faq-accordion";
|
|
14
14
|
export * from "./components/general/hero";
|
|
@@ -2,11 +2,10 @@ export * from "./components/admin/sites/sites.integration";
|
|
|
2
2
|
export * from "./components/config/config";
|
|
3
3
|
export * from "./components/config/config.server";
|
|
4
4
|
export * from "./components/config/config.types";
|
|
5
|
-
export * from "./components/config/config.utils";
|
|
6
5
|
export * from "./components/config/config.validators";
|
|
7
6
|
export * from "./components/config/crypto";
|
|
8
|
-
export * from "./components/general/manifest";
|
|
9
7
|
export * from "./components/general/hero";
|
|
8
|
+
export * from "./components/general/manifest";
|
|
10
9
|
export * from "./components/general/metadata.functions";
|
|
11
10
|
export * from "./components/general/proxy-handler";
|
|
12
11
|
export * from "./components/general/resume";
|
|
@@ -18,9 +17,9 @@ export * from "./components/general/schema-recipe";
|
|
|
18
17
|
export * from "./components/general/schema-services";
|
|
19
18
|
export * from "./components/general/schema-website";
|
|
20
19
|
export * from "./components/general/sitemap";
|
|
21
|
-
export * from "./components/general/humanstxt";
|
|
22
|
-
export * from "./components/general/utilities";
|
|
23
20
|
export * from "./components/general/skeleton";
|
|
21
|
+
export * from "./components/general/well-known";
|
|
22
|
+
export * from "./components/general/utilities";
|
|
24
23
|
export * from "./components/integrations/contentful.delivery";
|
|
25
24
|
export * from "./components/integrations/contentful.management";
|
|
26
25
|
export * from "./components/integrations/flickr";
|
|
@@ -256,6 +256,23 @@ declare namespace _default {
|
|
|
256
256
|
Program(): void;
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
|
+
'class-name-kebab-case': {
|
|
260
|
+
meta: {
|
|
261
|
+
type: string;
|
|
262
|
+
docs: {
|
|
263
|
+
description: string;
|
|
264
|
+
category: string;
|
|
265
|
+
recommended: boolean;
|
|
266
|
+
};
|
|
267
|
+
messages: {
|
|
268
|
+
invalidClass: string;
|
|
269
|
+
};
|
|
270
|
+
schema: never[];
|
|
271
|
+
};
|
|
272
|
+
create(context: any): {
|
|
273
|
+
JSXAttribute(node: any): void;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
259
276
|
};
|
|
260
277
|
namespace configs {
|
|
261
278
|
namespace recommended {
|
|
@@ -274,6 +291,7 @@ declare namespace _default {
|
|
|
274
291
|
'pixelated/file-name-kebab-case': string;
|
|
275
292
|
'pixelated/required-proptypes-jsdoc': string;
|
|
276
293
|
'pixelated/no-duplicate-export-names': string;
|
|
294
|
+
'pixelated/class-name-kebab-case': string;
|
|
277
295
|
};
|
|
278
296
|
export { rules_1 as rules };
|
|
279
297
|
}
|