@pixelated-tech/components 3.2.13 → 3.3.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.COMPONENTS.md +435 -78
- package/README.md +59 -32
- package/dist/components/callout/callout.scss +0 -3
- package/dist/components/cms/flickr.js +8 -2
- package/dist/components/cms/google.reviews.components.js +1 -1
- package/dist/components/general/tab.css +105 -0
- package/dist/components/general/tab.js +26 -0
- package/dist/components/menu/menu-expando.js +7 -1
- package/dist/components/nerdjoke/nerdjoke.js +13 -7
- package/dist/components/seo/manifest.js +40 -0
- package/dist/components/seo/metadata.components.js +0 -19
- package/dist/components/seo/metadata.functions.js +111 -0
- package/dist/components/seo/schema-blogposting.functions.js +42 -0
- package/dist/components/seo/schema-blogposting.js +0 -46
- package/dist/components/seo/schema-localbusiness.js +46 -2
- package/dist/components/seo/schema-website.js +31 -2
- package/dist/components/seo/sitemap.js +4 -4
- package/dist/components/shoppingcart/shoppingcart.components.js +4 -4
- package/dist/components/sitebuilder/config/ConfigBuilder.css +266 -0
- package/dist/components/sitebuilder/config/ConfigBuilder.js +221 -0
- package/dist/components/{pagebuilder → sitebuilder}/form/form.css +55 -30
- package/dist/components/sitebuilder/form/formbuilder.js +106 -0
- package/dist/components/sitebuilder/form/formcomponents.js +356 -0
- package/dist/components/sitebuilder/form/formengine.js +82 -0
- package/dist/components/{pagebuilder/form/form.js → sitebuilder/form/formextractor.js} +10 -211
- package/dist/components/sitebuilder/form/formutils.js +206 -0
- package/dist/components/sitebuilder/form/formvalidator.js +123 -0
- package/dist/components/{pagebuilder → sitebuilder/page}/components/ComponentPropertiesForm.js +1 -1
- package/dist/components/{pagebuilder → sitebuilder/page}/components/PageBuilderUI.js +2 -2
- package/dist/components/{pagebuilder → sitebuilder/page}/components/PageEngine.js +1 -1
- package/dist/components/sitebuilder/page/documentation/api-examples/save-route-example.js +37 -0
- package/dist/components/{pagebuilder → sitebuilder/page}/lib/componentMap.js +3 -3
- package/dist/components/{pagebuilder → sitebuilder/page}/lib/componentMetadata.js +2 -2
- package/dist/components/{pagebuilder → sitebuilder/page}/lib/pageStorageContentful.js +2 -2
- package/dist/components/sitebuilder/page/lib/pageStorageTypes.js +1 -0
- package/dist/data/form.json +18 -18
- package/dist/data/routes.json +25 -0
- package/dist/data/routes2.json +25 -0
- package/dist/data/shipping.to.json +9 -9
- package/dist/data/siteinfo-form.json +200 -0
- package/dist/index.js +31 -23
- package/dist/index.server.js +24 -18
- package/dist/types/components/cms/flickr.d.ts.map +1 -1
- package/dist/types/components/cms/google.reviews.components.d.ts.map +1 -1
- package/dist/types/components/config/config.types.d.ts +30 -0
- package/dist/types/components/config/config.types.d.ts.map +1 -1
- package/dist/types/components/general/semantic.d.ts +3 -3
- package/dist/types/components/general/tab.d.ts +18 -0
- package/dist/types/components/general/tab.d.ts.map +1 -0
- package/dist/types/components/menu/menu-expando.d.ts.map +1 -1
- package/dist/types/components/nerdjoke/nerdjoke.d.ts.map +1 -1
- package/dist/types/components/seo/manifest.d.ts +19 -0
- package/dist/types/components/seo/manifest.d.ts.map +1 -0
- package/dist/types/components/seo/metadata.components.d.ts +0 -17
- package/dist/types/components/seo/metadata.components.d.ts.map +1 -1
- package/dist/types/components/seo/{metadata.d.ts → metadata.functions.d.ts} +15 -1
- package/dist/types/components/seo/metadata.functions.d.ts.map +1 -0
- package/dist/types/components/seo/schema-blogposting.d.ts +1 -25
- package/dist/types/components/seo/schema-blogposting.d.ts.map +1 -1
- package/dist/types/components/seo/schema-blogposting.functions.d.ts +26 -0
- package/dist/types/components/seo/schema-blogposting.functions.d.ts.map +1 -0
- package/dist/types/components/seo/schema-localbusiness.d.ts +22 -23
- package/dist/types/components/seo/schema-localbusiness.d.ts.map +1 -1
- package/dist/types/components/seo/schema-website.d.ts +17 -18
- package/dist/types/components/seo/schema-website.d.ts.map +1 -1
- package/dist/types/components/seo/sitemap.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +1 -1
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +86 -0
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formbuilder.d.ts +11 -0
- package/dist/types/components/sitebuilder/form/formbuilder.d.ts.map +1 -0
- package/dist/types/components/{pagebuilder → sitebuilder}/form/formcomponents.d.ts +12 -16
- package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -0
- package/dist/types/components/{pagebuilder/form/form.submit.d.ts → sitebuilder/form/formemailer.d.ts} +1 -1
- package/dist/types/components/sitebuilder/form/formemailer.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formengine.d.ts +14 -0
- package/dist/types/components/sitebuilder/form/formengine.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formextractor.d.ts +25 -0
- package/dist/types/components/sitebuilder/form/formextractor.d.ts.map +1 -0
- package/dist/types/components/{pagebuilder/form/formvalidations.d.ts → sitebuilder/form/formfieldvalidations.d.ts} +1 -1
- package/dist/types/components/sitebuilder/form/formfieldvalidations.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formtypes.d.ts +66 -0
- package/dist/types/components/sitebuilder/form/formtypes.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formutils.d.ts +20 -0
- package/dist/types/components/sitebuilder/form/formutils.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/form/formvalidator.d.ts +20 -0
- package/dist/types/components/sitebuilder/form/formvalidator.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts.map +1 -0
- package/dist/types/components/{pagebuilder → sitebuilder/page}/components/PageBuilderUI.d.ts +1 -1
- package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/components/PageEngine.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/documentation/api-examples/save-route-example.d.ts +6 -0
- package/dist/types/components/sitebuilder/page/documentation/api-examples/save-route-example.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/componentGeneration.d.ts.map +1 -0
- package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/componentMap.d.ts +3 -3
- package/dist/types/components/sitebuilder/page/lib/componentMap.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/componentMetadata.d.ts.map +1 -0
- package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/pageStorageContentful.d.ts +1 -1
- package/dist/types/components/sitebuilder/page/lib/pageStorageContentful.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/pageStorageLocal.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/pageStorageTypes.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/propTypeIntrospection.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/types.d.ts.map +1 -0
- package/dist/types/components/sitebuilder/page/lib/usePageBuilder.d.ts.map +1 -0
- package/dist/types/index.d.ts +30 -21
- package/dist/types/index.server.d.ts +23 -17
- package/dist/types/stories/general/tab.stories.d.ts +45 -0
- package/dist/types/stories/general/tab.stories.d.ts.map +1 -0
- package/dist/types/stories/seo/seo.googleanalytics.stories.d.ts.map +1 -1
- package/dist/types/stories/seo/seo.metadata.stories.d.ts +1 -1
- package/dist/types/stories/seo/seo.metadata.stories.d.ts.map +1 -1
- package/dist/types/stories/seo/seo.schema.stories.d.ts +23 -0
- package/dist/types/stories/seo/seo.schema.stories.d.ts.map +1 -0
- package/dist/types/stories/sitebuilder/configbuilder.stories.d.ts +48 -0
- package/dist/types/stories/sitebuilder/configbuilder.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder → sitebuilder}/form-builder.stories.d.ts +1 -1
- package/dist/types/stories/sitebuilder/form-builder.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder → sitebuilder}/form-engine.stories.d.ts +1 -1
- package/dist/types/stories/sitebuilder/form-engine.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder → sitebuilder}/form-extractor.stories.d.ts +1 -1
- package/dist/types/stories/sitebuilder/form-extractor.stories.d.ts.map +1 -0
- package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.stories.d.ts +1 -1
- package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.stories.d.ts.map +1 -1
- package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.usageguide.stories.d.ts +1 -1
- package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.usageguide.stories.d.ts.map +1 -1
- package/dist/types/stories/{pagebuilder → sitebuilder}/pageengine.stories.d.ts +1 -1
- package/dist/types/stories/{pagebuilder → sitebuilder}/pageengine.stories.d.ts.map +1 -1
- package/dist/types/tests/configbuilder.test.d.ts +2 -0
- package/dist/types/tests/configbuilder.test.d.ts.map +1 -0
- package/dist/types/tests/manifest.test.d.ts +2 -0
- package/dist/types/tests/manifest.test.d.ts.map +1 -0
- package/dist/types/tests/tab.test.d.ts +2 -0
- package/dist/types/tests/tab.test.d.ts.map +1 -0
- package/package.json +6 -5
- package/dist/components/pagebuilder/form/formcomponents.js +0 -359
- package/dist/components/seo/metadata.js +0 -108
- package/dist/components/utilities/api.js +0 -36
- package/dist/types/components/pagebuilder/components/ComponentPropertiesForm.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/components/ComponentSelector.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/components/ComponentTree.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/components/PageBuilderUI.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/components/PageEngine.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/components/SaveLoadSection.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/form/form.d.ts +0 -46
- package/dist/types/components/pagebuilder/form/form.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/form/form.submit.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/form/formcomponents.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/form/formvalidations.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/componentGeneration.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/componentMap.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/componentMetadata.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/pageStorageContentful.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/pageStorageLocal.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/pageStorageTypes.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/propTypeIntrospection.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/types.d.ts.map +0 -1
- package/dist/types/components/pagebuilder/lib/usePageBuilder.d.ts.map +0 -1
- package/dist/types/components/seo/metadata.d.ts.map +0 -1
- package/dist/types/components/utilities/api.d.ts +0 -16
- package/dist/types/components/utilities/api.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder/form-builder.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder/form-engine.stories.d.ts.map +0 -1
- package/dist/types/stories/pagebuilder/form-extractor.stories.d.ts.map +0 -1
- package/dist/types/tests/api.test.d.ts +0 -2
- package/dist/types/tests/api.test.d.ts.map +0 -1
- /package/dist/components/{pagebuilder/form/form.submit.js → sitebuilder/form/formemailer.js} +0 -0
- /package/dist/components/{pagebuilder/form/formvalidations.js → sitebuilder/form/formfieldvalidations.js} +0 -0
- /package/dist/components/{pagebuilder/lib/pageStorageTypes.js → sitebuilder/form/formtypes.js} +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/components/ComponentSelector.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/components/ComponentTree.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/components/SaveLoadSection.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/components/pagebuilder.scss +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/lib/componentGeneration.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/lib/pageStorageLocal.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/lib/propTypeIntrospection.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/lib/types.js +0 -0
- /package/dist/components/{pagebuilder → sitebuilder/page}/lib/usePageBuilder.js +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/ComponentPropertiesForm.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/ComponentSelector.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/ComponentTree.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/PageEngine.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/SaveLoadSection.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/componentGeneration.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/componentMetadata.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/pageStorageLocal.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/pageStorageTypes.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/propTypeIntrospection.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/types.d.ts +0 -0
- /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/usePageBuilder.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flickr.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/flickr.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"flickr.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/flickr.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAsE3D,wBAAgB,aAAa,CAAE,KAAK,EAAE;IAAE,MAAM,CAAC,EAAE,GAAG,CAAC;IAAC,MAAM,CAAC,EAAE,YAAY,CAAA;CAAE,gBA2D5E;yBA3De,aAAa;;;;;;AAmE7B,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB;;;;;;;gBAejE;yBAfe,mBAAmB;;;;;;AA8BnC,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,KAAK,EAAE,iBAAiB,2CA0CtD;yBA1Ce,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.reviews.components.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/google.reviews.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,sBAAsB,CAAC;AAW9B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,
|
|
1
|
+
{"version":3,"file":"google.reviews.components.d.ts","sourceRoot":"","sources":["../../../../src/components/cms/google.reviews.components.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,sBAAsB,CAAC;AAW9B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,2CAiGA;yBAvGe,iBAAiB"}
|
|
@@ -74,6 +74,35 @@ export interface WordpressConfig {
|
|
|
74
74
|
baseURL: string;
|
|
75
75
|
site: string;
|
|
76
76
|
}
|
|
77
|
+
export interface SiteInfo {
|
|
78
|
+
name: string;
|
|
79
|
+
description: string;
|
|
80
|
+
url: string;
|
|
81
|
+
email?: string;
|
|
82
|
+
image?: string;
|
|
83
|
+
image_height?: string;
|
|
84
|
+
image_width?: string;
|
|
85
|
+
favicon?: string;
|
|
86
|
+
telephone?: string;
|
|
87
|
+
address?: {
|
|
88
|
+
streetAddress: string;
|
|
89
|
+
addressLocality: string;
|
|
90
|
+
addressRegion: string;
|
|
91
|
+
postalCode: string;
|
|
92
|
+
addressCountry: string;
|
|
93
|
+
};
|
|
94
|
+
openingHours?: string;
|
|
95
|
+
priceRange?: string;
|
|
96
|
+
sameAs?: string[];
|
|
97
|
+
keywords?: string;
|
|
98
|
+
author?: string;
|
|
99
|
+
theme_color?: string;
|
|
100
|
+
background_color?: string;
|
|
101
|
+
default_locale?: string;
|
|
102
|
+
display?: "standalone" | "fullscreen" | "minimal-ui" | "browser";
|
|
103
|
+
favicon_sizes?: string;
|
|
104
|
+
favicon_type?: string;
|
|
105
|
+
}
|
|
77
106
|
export interface PixelatedConfig {
|
|
78
107
|
cloudinary?: CloudinaryConfig;
|
|
79
108
|
contentful?: ContentfulConfig;
|
|
@@ -85,6 +114,7 @@ export interface PixelatedConfig {
|
|
|
85
114
|
hubspot?: HubspotConfig;
|
|
86
115
|
paypal?: PaypalConfig;
|
|
87
116
|
proxy?: ProxyConfig;
|
|
117
|
+
siteInfo?: SiteInfo;
|
|
88
118
|
wordpress?: WordpressConfig;
|
|
89
119
|
}
|
|
90
120
|
//# sourceMappingURL=config.types.d.ts.map
|
|
@@ -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,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AC3B,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC/B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,eAAe,CAAC;CAC5B"}
|
|
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;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AY,GAAG,SAAS,CAAC;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC/B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,eAAe,CAAC;CAC5B"}
|
|
@@ -30,7 +30,7 @@ export declare namespace PageSection {
|
|
|
30
30
|
backgroundImage: PropTypes.Requireable<string>;
|
|
31
31
|
columns: PropTypes.Requireable<number>;
|
|
32
32
|
autoFlow: PropTypes.Requireable<"row" | "column" | "dense" | "row dense" | "column dense">;
|
|
33
|
-
justifyItems: PropTypes.Requireable<"center" | "
|
|
33
|
+
justifyItems: PropTypes.Requireable<"center" | "start" | "end" | "stretch">;
|
|
34
34
|
responsive: PropTypes.Requireable<PropTypes.InferProps<{
|
|
35
35
|
mobile: PropTypes.Requireable<number>;
|
|
36
36
|
tablet: PropTypes.Requireable<number>;
|
|
@@ -38,8 +38,8 @@ export declare namespace PageSection {
|
|
|
38
38
|
}>>;
|
|
39
39
|
direction: PropTypes.Requireable<"row" | "column" | "row-reverse" | "column-reverse">;
|
|
40
40
|
wrap: PropTypes.Requireable<"nowrap" | "wrap" | "wrap-reverse">;
|
|
41
|
-
justifyContent: PropTypes.Requireable<"center" | "
|
|
42
|
-
alignItems: PropTypes.Requireable<"center" | "
|
|
41
|
+
justifyContent: PropTypes.Requireable<"center" | "start" | "end" | "space-between" | "space-around" | "space-evenly">;
|
|
42
|
+
alignItems: PropTypes.Requireable<"center" | "start" | "end" | "stretch" | "baseline">;
|
|
43
43
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
import './tab.css';
|
|
3
|
+
type TabType = InferProps<typeof Tab.propTypes>;
|
|
4
|
+
export declare function Tab({ tabs, orientation, defaultActiveTab, onTabChange }: TabType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare namespace Tab {
|
|
6
|
+
var propTypes: {
|
|
7
|
+
tabs: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
8
|
+
id: PropTypes.Validator<string>;
|
|
9
|
+
label: PropTypes.Validator<string>;
|
|
10
|
+
content: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
11
|
+
}>>[]>;
|
|
12
|
+
orientation: PropTypes.Requireable<string>;
|
|
13
|
+
defaultActiveTab: PropTypes.Requireable<string>;
|
|
14
|
+
onTabChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tab.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,WAAW,CAAC;AAenB,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;AAEhD,wBAAgB,GAAG,CAAC,EACnB,IAAI,EACJ,WAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,EAAE,OAAO,2CAgCT;yBArCe,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-expando.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-expando.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAE5B,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,2CAkJrC;yBAlJe,WAAW;;;;;AA+J3B,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,2CAIzC;yBAJe,eAAe;;;;;;AAW/B,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"menu-expando.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-expando.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAE5B,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,2CAkJrC;yBAlJe,WAAW;;;;;AA+J3B,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,2CAIzC;yBAJe,eAAe;;;;;;AAW/B,wBAAgB,iBAAiB,4CA4BhC;yBA5Be,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nerdjoke.d.ts","sourceRoot":"","sources":["../../../../src/components/nerdjoke/nerdjoke.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"nerdjoke.d.ts","sourceRoot":"","sources":["../../../../src/components/nerdjoke/nerdjoke.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,gBAAgB,CAAC;AAOxB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AACjE,wBAAgB,QAAQ,4CAsIvB;yBAtIe,QAAQ;;;AA8IxB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,iBAAS,UAAU,CAAC,KAAK,EAAE,cAAc,2CASxC;kBATQ,UAAU"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { MetadataRoute } from 'next';
|
|
2
|
+
import type { SiteInfo } from '../config/config.types';
|
|
3
|
+
export interface ManifestOptions {
|
|
4
|
+
siteInfo: SiteInfo;
|
|
5
|
+
customProperties?: Partial<MetadataRoute.Manifest>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Generates a PWA manifest from siteinfo configuration
|
|
9
|
+
* @param options - Configuration options
|
|
10
|
+
* @returns Next.js manifest object
|
|
11
|
+
*/
|
|
12
|
+
export declare function generateManifest(options: ManifestOptions): MetadataRoute.Manifest;
|
|
13
|
+
/**
|
|
14
|
+
* Default export for Next.js manifest route
|
|
15
|
+
* @param options - Configuration options
|
|
16
|
+
* @returns Next.js manifest object
|
|
17
|
+
*/
|
|
18
|
+
export declare function Manifest(options: ManifestOptions): MetadataRoute.Manifest;
|
|
19
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/manifest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;CACnD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAAC,QAAQ,CA4BjF;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAAC,QAAQ,CAEzE"}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
-
export type generateMetaTagsProps = InferProps<typeof generateMetaTags.propTypes>;
|
|
3
|
-
export declare function generateMetaTags(props: generateMetaTagsProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare namespace generateMetaTags {
|
|
5
|
-
var propTypes: {
|
|
6
|
-
title: PropTypes.Validator<string>;
|
|
7
|
-
description: PropTypes.Validator<string>;
|
|
8
|
-
keywords: PropTypes.Validator<string>;
|
|
9
|
-
site_name: PropTypes.Validator<string>;
|
|
10
|
-
email: PropTypes.Validator<string>;
|
|
11
|
-
origin: PropTypes.Validator<string>;
|
|
12
|
-
url: PropTypes.Validator<string>;
|
|
13
|
-
image: PropTypes.Validator<string>;
|
|
14
|
-
image_height: PropTypes.Validator<string>;
|
|
15
|
-
image_width: PropTypes.Validator<string>;
|
|
16
|
-
favicon: PropTypes.Validator<string>;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
2
|
export type SetClientMetadataProps = InferProps<typeof setClientMetadata.propTypes>;
|
|
20
3
|
export declare function setClientMetadata(props: SetClientMetadataProps): void;
|
|
21
4
|
export declare namespace setClientMetadata {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.components.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/metadata.components.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"metadata.components.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/metadata.components.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQnD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACpF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,QAQ9D;yBARe,iBAAiB"}
|
|
@@ -18,4 +18,18 @@ 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
|
-
|
|
21
|
+
export type GenerateMetaTagsProps = {
|
|
22
|
+
title: string;
|
|
23
|
+
description: string;
|
|
24
|
+
keywords: string;
|
|
25
|
+
site_name: string;
|
|
26
|
+
email: string;
|
|
27
|
+
origin: string;
|
|
28
|
+
url: string;
|
|
29
|
+
image: string;
|
|
30
|
+
image_height: string;
|
|
31
|
+
image_width: string;
|
|
32
|
+
favicon: string;
|
|
33
|
+
};
|
|
34
|
+
export declare function generateMetaTags(props: GenerateMetaTagsProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
//# sourceMappingURL=metadata.functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/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,aAiBpF,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,KAAK,OAsBnD;AAED,MAAM,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAqE5D"}
|
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface BlogPostingSchema {
|
|
3
|
-
'@context': string;
|
|
4
|
-
'@type': string;
|
|
5
|
-
headline: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
image?: string;
|
|
8
|
-
datePublished: string;
|
|
9
|
-
dateModified?: string;
|
|
10
|
-
author?: {
|
|
11
|
-
'@type': string;
|
|
12
|
-
name: string;
|
|
13
|
-
url?: string;
|
|
14
|
-
};
|
|
15
|
-
articleBody?: string;
|
|
16
|
-
articleSection?: string;
|
|
17
|
-
keywords?: string[];
|
|
18
|
-
wordCount?: number;
|
|
19
|
-
}
|
|
1
|
+
import type { BlogPostingSchema } from './schema-blogposting.functions';
|
|
20
2
|
interface SchemaBlogPostingProps {
|
|
21
3
|
post: BlogPostingSchema;
|
|
22
4
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Converts WordPress REST API blog post to schema.org BlogPosting format
|
|
25
|
-
* @param post WordPress blog post
|
|
26
|
-
* @param includeFullContent Whether to include articleBody (true) or just description (false)
|
|
27
|
-
*/
|
|
28
|
-
export declare function mapWordPressToBlogPosting(post: BlogPostType, includeFullContent?: boolean): BlogPostingSchema;
|
|
29
5
|
export declare function SchemaBlogPosting({ post }: SchemaBlogPostingProps): import("react/jsx-runtime").JSX.Element;
|
|
30
6
|
export default SchemaBlogPosting;
|
|
31
7
|
//# sourceMappingURL=schema-blogposting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-blogposting.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-blogposting.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"schema-blogposting.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-blogposting.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,UAAU,sBAAsB;IAC/B,IAAI,EAAE,iBAAiB,CAAC;CACxB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE,sBAAsB,2CASjE;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BlogPostType } from '../cms/wordpress.functions';
|
|
2
|
+
export interface BlogPostingSchema {
|
|
3
|
+
'@context': string;
|
|
4
|
+
'@type': string;
|
|
5
|
+
headline: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
image?: string;
|
|
8
|
+
datePublished: string;
|
|
9
|
+
dateModified?: string;
|
|
10
|
+
author?: {
|
|
11
|
+
'@type': string;
|
|
12
|
+
name: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
};
|
|
15
|
+
articleBody?: string;
|
|
16
|
+
articleSection?: string;
|
|
17
|
+
keywords?: string[];
|
|
18
|
+
wordCount?: number;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Converts WordPress REST API blog post to schema.org BlogPosting format
|
|
22
|
+
* @param post WordPress blog post
|
|
23
|
+
* @param includeFullContent Whether to include articleBody (true) or just description (false)
|
|
24
|
+
*/
|
|
25
|
+
export declare function mapWordPressToBlogPosting(post: BlogPostType, includeFullContent?: boolean): BlogPostingSchema;
|
|
26
|
+
//# sourceMappingURL=schema-blogposting.functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-blogposting.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-blogposting.functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG/D,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACxC,IAAI,EAAE,YAAY,EAClB,kBAAkB,GAAE,OAAe,GACjC,iBAAiB,CAyCnB"}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
export type LocalBusinessSchemaType = InferProps<typeof LocalBusinessSchema.propTypes>;
|
|
3
|
+
export declare function LocalBusinessSchema(props: LocalBusinessSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace LocalBusinessSchema {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
name: PropTypes.Requireable<string>;
|
|
7
|
+
streetAddress: PropTypes.Requireable<string>;
|
|
8
|
+
addressLocality: PropTypes.Requireable<string>;
|
|
9
|
+
addressRegion: PropTypes.Requireable<string>;
|
|
10
|
+
postalCode: PropTypes.Requireable<string>;
|
|
11
|
+
addressCountry: PropTypes.Requireable<string>;
|
|
12
|
+
telephone: PropTypes.Requireable<string>;
|
|
13
|
+
url: PropTypes.Requireable<string>;
|
|
14
|
+
logo: PropTypes.Requireable<string>;
|
|
15
|
+
image: PropTypes.Requireable<string>;
|
|
16
|
+
openingHours: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
|
|
17
|
+
description: PropTypes.Requireable<string>;
|
|
18
|
+
email: PropTypes.Requireable<string>;
|
|
19
|
+
priceRange: PropTypes.Requireable<string>;
|
|
20
|
+
sameAs: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
21
|
+
siteInfo: PropTypes.Requireable<object>;
|
|
22
|
+
};
|
|
22
23
|
}
|
|
23
|
-
export declare function LocalBusinessSchema({ name, streetAddress, addressLocality, addressRegion, postalCode, addressCountry, telephone, url, logo, image, openingHours, description, email, priceRange, sameAs }: LocalBusinessSchemaProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default LocalBusinessSchema;
|
|
25
24
|
//# sourceMappingURL=schema-localbusiness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-localbusiness.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-localbusiness.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema-localbusiness.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-localbusiness.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgCnD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAEvF,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,uBAAuB,2CAiDlE;yBAjDe,mBAAmB"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
export type WebsiteSchemaType = InferProps<typeof WebsiteSchema.propTypes>;
|
|
3
|
+
export declare function WebsiteSchema(props: WebsiteSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace WebsiteSchema {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
name: PropTypes.Requireable<string>;
|
|
7
|
+
url: PropTypes.Requireable<string>;
|
|
8
|
+
description: PropTypes.Requireable<string>;
|
|
9
|
+
potentialAction: PropTypes.Requireable<PropTypes.InferProps<{
|
|
10
|
+
'@type': PropTypes.Requireable<string>;
|
|
11
|
+
target: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
'@type': PropTypes.Requireable<string>;
|
|
13
|
+
urlTemplate: PropTypes.Requireable<string>;
|
|
14
|
+
}>>;
|
|
15
|
+
query: PropTypes.Requireable<string>;
|
|
16
|
+
}>>;
|
|
17
|
+
siteInfo: PropTypes.Requireable<object>;
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
|
-
export declare function WebsiteSchema({ name, url, description, potentialAction }: WebsiteSchemaProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default WebsiteSchema;
|
|
21
20
|
//# sourceMappingURL=schema-website.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-website.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-website.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema-website.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-website.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA4BnD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAE3E,wBAAgB,aAAa,CAAE,KAAK,EAAE,iBAAiB,2CAwBtD;yBAxBe,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/sitemap.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAQ1C,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAWzD,MAAM,MAAM,aAAa,GAAG;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wBAAwB,CAAC,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, CheckoutType } from "./shoppingcart.functions";
|
|
4
4
|
import "./shoppingcart.css";
|
|
5
5
|
export declare function ShoppingCart(props: {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
import './ConfigBuilder.css';
|
|
3
|
+
declare const ConfigBuilderPropTypes: {
|
|
4
|
+
initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
5
|
+
siteInfo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
6
|
+
name: PropTypes.Validator<string>;
|
|
7
|
+
author: PropTypes.Validator<string>;
|
|
8
|
+
description: PropTypes.Validator<string>;
|
|
9
|
+
url: PropTypes.Validator<string>;
|
|
10
|
+
email: PropTypes.Validator<string>;
|
|
11
|
+
favicon: PropTypes.Validator<string>;
|
|
12
|
+
favicon_sizes: PropTypes.Validator<string>;
|
|
13
|
+
favicon_type: PropTypes.Validator<string>;
|
|
14
|
+
theme_color: PropTypes.Validator<string>;
|
|
15
|
+
background_color: PropTypes.Validator<string>;
|
|
16
|
+
default_locale: PropTypes.Validator<string>;
|
|
17
|
+
display: PropTypes.Validator<string>;
|
|
18
|
+
image: PropTypes.Requireable<string>;
|
|
19
|
+
image_height: PropTypes.Requireable<string>;
|
|
20
|
+
image_width: PropTypes.Requireable<string>;
|
|
21
|
+
telephone: PropTypes.Requireable<string>;
|
|
22
|
+
address: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
+
streetAddress: PropTypes.Validator<string>;
|
|
24
|
+
addressLocality: PropTypes.Validator<string>;
|
|
25
|
+
addressRegion: PropTypes.Validator<string>;
|
|
26
|
+
postalCode: PropTypes.Validator<string>;
|
|
27
|
+
addressCountry: PropTypes.Validator<string>;
|
|
28
|
+
}>>;
|
|
29
|
+
priceRange: PropTypes.Requireable<string>;
|
|
30
|
+
sameAs: PropTypes.Requireable<string[]>;
|
|
31
|
+
keywords: PropTypes.Requireable<string>;
|
|
32
|
+
}>>>;
|
|
33
|
+
routes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
34
|
+
path: PropTypes.Validator<string>;
|
|
35
|
+
component: PropTypes.Validator<string>;
|
|
36
|
+
title: PropTypes.Requireable<string>;
|
|
37
|
+
description: PropTypes.Requireable<string>;
|
|
38
|
+
}>>[]>;
|
|
39
|
+
}>>;
|
|
40
|
+
onSave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
41
|
+
};
|
|
42
|
+
type ConfigBuilderPropsType = InferProps<typeof ConfigBuilderPropTypes>;
|
|
43
|
+
export declare function ConfigBuilder({ initialConfig, onSave }: ConfigBuilderPropsType): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare namespace ConfigBuilder {
|
|
45
|
+
var propTypes: {
|
|
46
|
+
initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
|
+
siteInfo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
48
|
+
name: PropTypes.Validator<string>;
|
|
49
|
+
author: PropTypes.Validator<string>;
|
|
50
|
+
description: PropTypes.Validator<string>;
|
|
51
|
+
url: PropTypes.Validator<string>;
|
|
52
|
+
email: PropTypes.Validator<string>;
|
|
53
|
+
favicon: PropTypes.Validator<string>;
|
|
54
|
+
favicon_sizes: PropTypes.Validator<string>;
|
|
55
|
+
favicon_type: PropTypes.Validator<string>;
|
|
56
|
+
theme_color: PropTypes.Validator<string>;
|
|
57
|
+
background_color: PropTypes.Validator<string>;
|
|
58
|
+
default_locale: PropTypes.Validator<string>;
|
|
59
|
+
display: PropTypes.Validator<string>;
|
|
60
|
+
image: PropTypes.Requireable<string>;
|
|
61
|
+
image_height: PropTypes.Requireable<string>;
|
|
62
|
+
image_width: PropTypes.Requireable<string>;
|
|
63
|
+
telephone: PropTypes.Requireable<string>;
|
|
64
|
+
address: PropTypes.Requireable<PropTypes.InferProps<{
|
|
65
|
+
streetAddress: PropTypes.Validator<string>;
|
|
66
|
+
addressLocality: PropTypes.Validator<string>;
|
|
67
|
+
addressRegion: PropTypes.Validator<string>;
|
|
68
|
+
postalCode: PropTypes.Validator<string>;
|
|
69
|
+
addressCountry: PropTypes.Validator<string>;
|
|
70
|
+
}>>;
|
|
71
|
+
priceRange: PropTypes.Requireable<string>;
|
|
72
|
+
sameAs: PropTypes.Requireable<string[]>;
|
|
73
|
+
keywords: PropTypes.Requireable<string>;
|
|
74
|
+
}>>>;
|
|
75
|
+
routes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
76
|
+
path: PropTypes.Validator<string>;
|
|
77
|
+
component: PropTypes.Validator<string>;
|
|
78
|
+
title: PropTypes.Requireable<string>;
|
|
79
|
+
description: PropTypes.Requireable<string>;
|
|
80
|
+
}>>[]>;
|
|
81
|
+
}>>;
|
|
82
|
+
onSave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export {};
|
|
86
|
+
//# sourceMappingURL=ConfigBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,qBAAqB,CAAC;AA8C7B,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3B,CAAC;AACF,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAExE,wBAAgB,aAAa,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,sBAAsB,2CAgV9E;yBAhVe,aAAa"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
export declare function FormBuilder(): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type FormBuildType = InferProps<typeof FormBuild.propTypes>;
|
|
4
|
+
export declare function FormBuild(props: FormBuildType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare namespace FormBuild {
|
|
6
|
+
var propTypes: {
|
|
7
|
+
setFormData: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=formbuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,wBAAgB,WAAW,4CA4D1B;AAaD,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AAC5D,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0D7C;yBA1De,SAAS"}
|
|
@@ -16,24 +16,17 @@ declare namespace FormLabel {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
export type FormTooltipType = InferProps<typeof FormTooltip.propTypes>;
|
|
19
|
-
declare function FormTooltip(props: FormTooltipType): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function FormTooltip(props: FormTooltipType): import("react/jsx-runtime").JSX.Element | null;
|
|
20
20
|
declare namespace FormTooltip {
|
|
21
21
|
var propTypes: {
|
|
22
22
|
id: PropTypes.Requireable<string>;
|
|
23
|
-
text: PropTypes.
|
|
23
|
+
text: PropTypes.Validator<(string | null | undefined)[]>;
|
|
24
24
|
className: PropTypes.Requireable<string>;
|
|
25
|
+
mode: PropTypes.Requireable<string>;
|
|
25
26
|
};
|
|
26
27
|
var defaultProps: {
|
|
27
28
|
id: string;
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export type FormValidateType = InferProps<typeof FormValidate.propTypes>;
|
|
32
|
-
declare function FormValidate(props: FormValidateType): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
declare namespace FormValidate {
|
|
34
|
-
var propTypes: {
|
|
35
|
-
id: PropTypes.Validator<string>;
|
|
36
|
-
valid: PropTypes.Requireable<boolean>;
|
|
29
|
+
mode: string;
|
|
37
30
|
};
|
|
38
31
|
}
|
|
39
32
|
export type FormInputType = InferProps<typeof FormInput.propTypes>;
|
|
@@ -64,6 +57,7 @@ export declare namespace FormInput {
|
|
|
64
57
|
tooltip: PropTypes.Requireable<string>;
|
|
65
58
|
className: PropTypes.Requireable<string>;
|
|
66
59
|
validate: PropTypes.Requireable<string>;
|
|
60
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
67
61
|
};
|
|
68
62
|
}
|
|
69
63
|
export type FormSelectType = InferProps<typeof FormSelect.propTypes>;
|
|
@@ -86,6 +80,7 @@ export declare namespace FormSelect {
|
|
|
86
80
|
tooltip: PropTypes.Requireable<string>;
|
|
87
81
|
className: PropTypes.Requireable<string>;
|
|
88
82
|
validate: PropTypes.Requireable<string>;
|
|
83
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
89
84
|
};
|
|
90
85
|
}
|
|
91
86
|
export type FormSelectOptionType = InferProps<typeof FormSelectOption.propTypes>;
|
|
@@ -94,7 +89,7 @@ declare namespace FormSelectOption {
|
|
|
94
89
|
var propTypes: {
|
|
95
90
|
text: PropTypes.Requireable<string>;
|
|
96
91
|
value: PropTypes.Requireable<string>;
|
|
97
|
-
disabled: PropTypes.Requireable<
|
|
92
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
98
93
|
};
|
|
99
94
|
}
|
|
100
95
|
export type FormTextareaType = InferProps<typeof FormTextarea.propTypes>;
|
|
@@ -118,6 +113,7 @@ export declare namespace FormTextarea {
|
|
|
118
113
|
tooltip: PropTypes.Requireable<string>;
|
|
119
114
|
className: PropTypes.Requireable<string>;
|
|
120
115
|
validate: PropTypes.Requireable<string>;
|
|
116
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
121
117
|
};
|
|
122
118
|
}
|
|
123
119
|
export type FormRadioType = InferProps<typeof FormRadio.propTypes>;
|
|
@@ -135,6 +131,7 @@ export declare namespace FormRadio {
|
|
|
135
131
|
label: PropTypes.Requireable<string>;
|
|
136
132
|
tooltip: PropTypes.Requireable<string>;
|
|
137
133
|
validate: PropTypes.Requireable<string>;
|
|
134
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
138
135
|
};
|
|
139
136
|
}
|
|
140
137
|
export type FormRadioOptionType = InferProps<typeof FormRadioOption.propTypes>;
|
|
@@ -145,8 +142,7 @@ declare namespace FormRadioOption {
|
|
|
145
142
|
text: PropTypes.Requireable<string>;
|
|
146
143
|
value: PropTypes.Validator<string>;
|
|
147
144
|
checked: PropTypes.Requireable<string>;
|
|
148
|
-
parent:
|
|
149
|
-
setIsValid: PropTypes.Requireable<(...args: any[]) => any>;
|
|
145
|
+
parent: PropTypes.Requireable<any>;
|
|
150
146
|
};
|
|
151
147
|
}
|
|
152
148
|
export type FormCheckboxType = InferProps<typeof FormCheckbox.propTypes>;
|
|
@@ -164,6 +160,7 @@ export declare namespace FormCheckbox {
|
|
|
164
160
|
tooltip: PropTypes.Requireable<string>;
|
|
165
161
|
className: PropTypes.Requireable<string>;
|
|
166
162
|
validate: PropTypes.Requireable<string>;
|
|
163
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
167
164
|
};
|
|
168
165
|
}
|
|
169
166
|
export type FormCheckboxOptionType = InferProps<typeof FormCheckboxOption.propTypes>;
|
|
@@ -173,8 +170,7 @@ declare namespace FormCheckboxOption {
|
|
|
173
170
|
text: PropTypes.Validator<string>;
|
|
174
171
|
value: PropTypes.Validator<string>;
|
|
175
172
|
selected: PropTypes.Requireable<string>;
|
|
176
|
-
parent:
|
|
177
|
-
setIsValid: PropTypes.Requireable<(...args: any[]) => any>;
|
|
173
|
+
parent: PropTypes.Requireable<any>;
|
|
178
174
|
};
|
|
179
175
|
}
|
|
180
176
|
export type FormButtonType = InferProps<typeof FormButton.propTypes>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formcomponents.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,YAAY,CAAC;AAsIpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,iBAAS,SAAS,CAAC,KAAK,EAAE,aAAa,2CAYtC;kBAZQ,SAAS;;;;;;;;;;;;;AA4BlB,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,iBAAS,WAAW,CAAC,KAAK,EAAE,eAAe,kDA2C1C;kBA3CQ,WAAW;;;;;;;;;;;;AAiFpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAmB7C;yBAnBe,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDzB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAc/C;yBAde,UAAU;;;;;;;;;;;;;;;;;;;;;AA6B1B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAUpD;kBAVQ,gBAAgB;;;;;;;AAyCzB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAWnD;yBAXe,Y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