@pixelated-tech/components 3.4.3 → 3.5.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/README.md +12 -191
- package/dist/components/admin/componentusage/componentAnalysis.js +12 -4
- package/dist/components/admin/componentusage/componentDiscovery.js +20 -6
- package/dist/components/admin/site-health/site-health-accessibility.js +5 -1
- package/dist/components/admin/site-health/site-health-axe-core.js +4 -0
- package/dist/components/admin/site-health/site-health-cloudwatch.integration.js +0 -5
- package/dist/components/admin/site-health/site-health-cloudwatch.js +7 -1
- package/dist/components/admin/site-health/site-health-core-web-vitals.integration.js +3 -3
- package/dist/components/admin/site-health/site-health-dependency-vulnerabilities.js +4 -0
- package/dist/components/admin/site-health/site-health-github.js +8 -2
- package/dist/components/admin/site-health/site-health-google-analytics.js +6 -0
- package/dist/components/admin/site-health/site-health-google-search-console.js +6 -0
- package/dist/components/admin/site-health/site-health-on-site-seo.integration.js +128 -55
- package/dist/components/admin/site-health/site-health-on-site-seo.js +4 -0
- package/dist/components/admin/site-health/site-health-overview.js +11 -4
- package/dist/components/admin/site-health/site-health-performance.js +4 -0
- package/dist/components/admin/site-health/site-health-security.js +7 -3
- package/dist/components/admin/site-health/site-health-seo.js +5 -1
- package/dist/components/admin/site-health/site-health-template.js +20 -9
- package/dist/components/admin/site-health/site-health-uptime.js +4 -0
- package/dist/components/callout/callout.js +0 -10
- package/dist/components/carousel/carousel.js +15 -4
- package/dist/components/carousel/tiles.js +1 -1
- package/dist/components/cms/contentful.items.components.js +3 -4
- package/dist/components/cms/flickr.js +1 -1
- package/dist/components/cms/google.reviews.components.js +3 -3
- package/dist/components/cms/instagram.components.js +15 -5
- package/dist/components/cms/smartimage.js +2 -2
- package/dist/components/cms/wordpress.components.js +32 -6
- package/dist/components/cms/yelp.js +5 -0
- package/dist/components/config/config.server.js +7 -1
- package/dist/components/general/accordion.js +4 -3
- package/dist/components/general/css.js +0 -1
- package/dist/components/general/image.js +0 -1
- package/dist/components/general/loading.js +2 -1
- package/dist/components/general/microinteractions.js +0 -1
- package/dist/components/general/modal.css +2 -4
- package/dist/components/general/modal.js +72 -30
- package/dist/components/general/sidepanel.js +16 -0
- package/dist/components/general/tab.js +1 -0
- package/dist/components/menu/menu-accordion.css +1 -1
- package/dist/components/menu/menu-accordion.js +15 -4
- package/dist/components/menu/menu-expando.js +21 -19
- package/dist/components/menu/menu-simple.js +14 -14
- package/dist/components/nerdjoke/nerdjoke.js +1 -1
- package/dist/components/seo/faq-accordion.css +125 -0
- package/dist/components/seo/faq-accordion.js +56 -0
- package/dist/components/seo/googlesearch.js +0 -1
- package/dist/components/seo/schema-blogposting.js +6 -1
- package/dist/components/seo/schema-faq.js +6 -0
- package/dist/components/seo/schema-recipe.js +34 -1
- package/dist/components/seo/schema-services.js +20 -2
- package/dist/components/shoppingcart/ebay.components.js +3 -3
- package/dist/components/shoppingcart/shoppingcart.components.js +76 -28
- package/dist/components/shoppingcart/shoppingcart.functions.js +4 -4
- package/dist/components/sitebuilder/config/CompoundFontSelector.js +13 -4
- package/dist/components/sitebuilder/config/ConfigBuilder.css +194 -5
- package/dist/components/sitebuilder/config/ConfigBuilder.js +183 -17
- package/dist/components/sitebuilder/config/FontSelector.js +13 -2
- package/dist/components/sitebuilder/config/routes-form.json +67 -0
- package/dist/components/sitebuilder/config/siteinfo-form.json +28 -14
- package/dist/components/sitebuilder/config/visualdesignform.json +4 -4
- package/dist/components/sitebuilder/form/formbuilder.js +1 -0
- package/dist/components/sitebuilder/form/formcomponents.js +2 -3
- package/dist/components/sitebuilder/form/formengine.js +6 -5
- package/dist/components/sitebuilder/form/formvalidator.js +5 -0
- package/dist/components/sitebuilder/page/components/PageBuilderUI.js +5 -1
- package/dist/components/structured/buzzwordbingo.css +0 -1
- package/dist/components/structured/recipe.js +1 -1
- package/dist/components/structured/socialcard.js +2 -2
- package/dist/components/utilities/functions.js +82 -1
- package/dist/components/utilities/gemini-api.client.js +76 -0
- package/dist/components/utilities/gemini-api.server.js +185 -0
- package/dist/data/routes.json +5 -5
- package/dist/index.adminclient.js +30 -0
- package/dist/index.adminserver.js +19 -0
- package/dist/index.js +11 -18
- package/dist/index.server.js +16 -28
- package/dist/types/components/admin/componentusage/componentAnalysis.d.ts.map +1 -1
- package/dist/types/components/admin/componentusage/componentDiscovery.d.ts +1 -1
- package/dist/types/components/admin/componentusage/componentDiscovery.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-accessibility.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-accessibility.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-axe-core.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-axe-core.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-cloudwatch.d.ts +9 -6
- package/dist/types/components/admin/site-health/site-health-cloudwatch.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-cloudwatch.integration.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts +7 -4
- 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.d.ts +9 -6
- package/dist/types/components/admin/site-health/site-health-github.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-google-analytics.d.ts +9 -6
- package/dist/types/components/admin/site-health/site-health-google-analytics.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-google-search-console.d.ts +9 -6
- package/dist/types/components/admin/site-health/site-health-google-search-console.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-on-site-seo.d.ts +8 -3
- package/dist/types/components/admin/site-health/site-health-on-site-seo.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-on-site-seo.integration.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-overview.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-overview.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-performance.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-performance.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-security.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-security.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-seo.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-seo.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-template.d.ts +13 -10
- package/dist/types/components/admin/site-health/site-health-template.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-types.d.ts +0 -21
- package/dist/types/components/admin/site-health/site-health-types.d.ts.map +1 -1
- package/dist/types/components/admin/site-health/site-health-uptime.d.ts +7 -4
- package/dist/types/components/admin/site-health/site-health-uptime.d.ts.map +1 -1
- package/dist/types/components/callout/callout.d.ts +3 -3
- package/dist/types/components/callout/callout.d.ts.map +1 -1
- package/dist/types/components/carousel/carousel.d.ts +16 -7
- package/dist/types/components/carousel/carousel.d.ts.map +1 -1
- package/dist/types/components/carousel/tiles.d.ts +3 -6
- package/dist/types/components/carousel/tiles.d.ts.map +1 -1
- package/dist/types/components/cms/flickr.d.ts +3 -6
- package/dist/types/components/cms/flickr.d.ts.map +1 -1
- package/dist/types/components/cms/google.reviews.components.d.ts +1 -7
- package/dist/types/components/cms/google.reviews.components.d.ts.map +1 -1
- package/dist/types/components/cms/hubspot.components.d.ts +1 -2
- package/dist/types/components/cms/hubspot.components.d.ts.map +1 -1
- package/dist/types/components/cms/instagram.components.d.ts +14 -9
- package/dist/types/components/cms/instagram.components.d.ts.map +1 -1
- package/dist/types/components/cms/smartimage.d.ts +2 -28
- package/dist/types/components/cms/smartimage.d.ts.map +1 -1
- package/dist/types/components/cms/wordpress.components.d.ts +33 -14
- package/dist/types/components/cms/wordpress.components.d.ts.map +1 -1
- package/dist/types/components/cms/yelp.d.ts +9 -4
- package/dist/types/components/cms/yelp.d.ts.map +1 -1
- package/dist/types/components/config/config.server.d.ts +9 -6
- package/dist/types/components/config/config.server.d.ts.map +1 -1
- package/dist/types/components/general/accordion.d.ts +3 -2
- package/dist/types/components/general/accordion.d.ts.map +1 -1
- package/dist/types/components/general/loading.d.ts +5 -1
- package/dist/types/components/general/loading.d.ts.map +1 -1
- package/dist/types/components/general/microinteractions.d.ts +1 -3
- package/dist/types/components/general/microinteractions.d.ts.map +1 -1
- package/dist/types/components/general/modal.d.ts +11 -5
- package/dist/types/components/general/modal.d.ts.map +1 -1
- package/dist/types/components/general/semantic.d.ts +3 -3
- package/dist/types/components/general/sidepanel.d.ts +20 -13
- package/dist/types/components/general/sidepanel.d.ts.map +1 -1
- package/dist/types/components/general/tab.d.ts +1 -2
- package/dist/types/components/general/tab.d.ts.map +1 -1
- package/dist/types/components/menu/menu-accordion.d.ts +22 -9
- package/dist/types/components/menu/menu-accordion.d.ts.map +1 -1
- package/dist/types/components/menu/menu-expando.d.ts +14 -5
- package/dist/types/components/menu/menu-expando.d.ts.map +1 -1
- package/dist/types/components/menu/menu-simple.d.ts +4 -5
- package/dist/types/components/menu/menu-simple.d.ts.map +1 -1
- package/dist/types/components/nerdjoke/nerdjoke.d.ts +1 -1
- package/dist/types/components/nerdjoke/nerdjoke.d.ts.map +1 -1
- package/dist/types/components/seo/faq-accordion.d.ts +18 -0
- package/dist/types/components/seo/faq-accordion.d.ts.map +1 -0
- package/dist/types/components/seo/googleanalytics.d.ts.map +1 -1
- package/dist/types/components/seo/metadata.components.d.ts +2 -2
- package/dist/types/components/seo/metadata.components.d.ts.map +1 -1
- package/dist/types/components/seo/schema-blogposting.d.ts +7 -4
- package/dist/types/components/seo/schema-blogposting.d.ts.map +1 -1
- package/dist/types/components/seo/schema-faq.d.ts +6 -0
- package/dist/types/components/seo/schema-faq.d.ts.map +1 -0
- package/dist/types/components/seo/schema-recipe.d.ts +29 -30
- package/dist/types/components/seo/schema-recipe.d.ts.map +1 -1
- package/dist/types/components/seo/schema-services.d.ts +19 -9
- package/dist/types/components/seo/schema-services.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/paypal.d.ts +1 -1
- package/dist/types/components/shoppingcart/paypal.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +77 -28
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts +4 -23
- package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts +10 -11
- package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +41 -174
- package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/config/FontSelector.d.ts +12 -13
- package/dist/types/components/sitebuilder/config/FontSelector.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formbuilder.d.ts +7 -3
- package/dist/types/components/sitebuilder/form/formbuilder.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formcomponents.d.ts +1 -1
- package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formengine.d.ts +1 -2
- package/dist/types/components/sitebuilder/form/formengine.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formextractor.d.ts +5 -4
- package/dist/types/components/sitebuilder/form/formextractor.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formtypes.d.ts +3 -3
- package/dist/types/components/sitebuilder/form/formtypes.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/form/formvalidator.d.ts +8 -3
- package/dist/types/components/sitebuilder/form/formvalidator.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts +2 -3
- package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts +2 -3
- package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts +2 -3
- package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts +8 -7
- package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/components/PageEngine.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts +2 -3
- package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts.map +1 -1
- package/dist/types/components/sitebuilder/page/lib/componentMap.d.ts +1 -1
- package/dist/types/components/structured/markdown.d.ts +1 -3
- package/dist/types/components/structured/markdown.d.ts.map +1 -1
- package/dist/types/components/structured/recipe.d.ts +5 -32
- package/dist/types/components/structured/recipe.d.ts.map +1 -1
- package/dist/types/components/structured/socialcard.d.ts +4 -0
- package/dist/types/components/structured/socialcard.d.ts.map +1 -1
- package/dist/types/components/structured/timeline.d.ts +1 -3
- package/dist/types/components/structured/timeline.d.ts.map +1 -1
- package/dist/types/components/utilities/functions.d.ts +20 -0
- package/dist/types/components/utilities/functions.d.ts.map +1 -1
- package/dist/types/components/utilities/gemini-api.client.d.ts +38 -0
- package/dist/types/components/utilities/gemini-api.client.d.ts.map +1 -0
- package/dist/types/components/utilities/gemini-api.server.d.ts +17 -0
- package/dist/types/components/utilities/gemini-api.server.d.ts.map +1 -0
- package/dist/types/index.adminclient.d.ts +27 -0
- package/dist/types/index.adminclient.d.ts.map +1 -0
- package/dist/types/index.adminserver.d.ts +20 -0
- package/dist/types/index.adminserver.d.ts.map +1 -0
- package/dist/types/index.d.ts +11 -18
- package/dist/types/index.server.d.ts +6 -28
- package/dist/types/stories/general/sidepanel.stories.d.ts.map +1 -1
- package/dist/types/stories/general/smartimage.stories.d.ts +74 -2
- package/dist/types/stories/general/smartimage.stories.d.ts.map +1 -1
- package/package.json +19 -9
- package/README.COMPONENTS.md +0 -2310
- package/dist/components/cms/pixelated.linkedin.js +0 -180
- package/dist/components/cms/pixelated.linkedin1.js +0 -84
- package/dist/components/cms/pixelated.linkedin2.js +0 -92
- package/dist/types/components/cms/pixelated.linkedin.d.ts +0 -2
- package/dist/types/components/cms/pixelated.linkedin.d.ts.map +0 -1
- package/dist/types/components/cms/pixelated.linkedin1.d.ts +0 -2
- package/dist/types/components/cms/pixelated.linkedin1.d.ts.map +0 -1
- package/dist/types/components/cms/pixelated.linkedin2.d.ts +0 -2
- package/dist/types/components/cms/pixelated.linkedin2.d.ts.map +0 -1
- package/dist/types/tests/pixelated.menu-expando.test.d.ts +0 -2
- package/dist/types/tests/pixelated.menu-expando.test.d.ts.map +0 -1
|
@@ -1,35 +1,84 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
2
|
import '../sitebuilder/form/form.css';
|
|
3
|
-
import type { ShoppingCartType, CheckoutType } from "./shoppingcart.functions";
|
|
4
3
|
import "./shoppingcart.css";
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
4
|
+
export type ShoppingCartType = InferProps<typeof ShoppingCart.propTypes>;
|
|
5
|
+
export declare function ShoppingCart(props: ShoppingCartType): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare namespace ShoppingCart {
|
|
7
|
+
var propTypes: {
|
|
8
|
+
payPalClientID: PropTypes.Validator<string>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export type ShoppingCartItemType = InferProps<typeof ShoppingCartItem.propTypes>;
|
|
12
|
+
export declare function ShoppingCartItem(props: ShoppingCartItemType): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export declare namespace ShoppingCartItem {
|
|
12
|
-
var
|
|
14
|
+
var propTypes: {
|
|
15
|
+
item: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
16
|
+
itemID: PropTypes.Validator<string>;
|
|
17
|
+
itemURL: PropTypes.Requireable<string>;
|
|
18
|
+
itemTitle: PropTypes.Validator<string>;
|
|
19
|
+
itemImageURL: PropTypes.Requireable<string>;
|
|
20
|
+
itemQuantity: PropTypes.Validator<number>;
|
|
21
|
+
itemCost: PropTypes.Validator<number>;
|
|
22
|
+
}>>>;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export type CheckoutItemsType = InferProps<typeof CheckoutItems.propTypes>;
|
|
26
|
+
export declare function CheckoutItems(props: CheckoutItemsType): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare namespace CheckoutItems {
|
|
28
|
+
var propTypes: {
|
|
29
|
+
items: PropTypes.Validator<(PropTypes.InferProps<{
|
|
30
|
+
itemID: PropTypes.Validator<string>;
|
|
31
|
+
itemURL: PropTypes.Requireable<string>;
|
|
32
|
+
itemTitle: PropTypes.Validator<string>;
|
|
33
|
+
itemImageURL: PropTypes.Requireable<string>;
|
|
34
|
+
itemQuantity: PropTypes.Validator<number>;
|
|
35
|
+
itemCost: PropTypes.Validator<number>;
|
|
36
|
+
}> | null | undefined)[]>;
|
|
37
|
+
shippingTo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
38
|
+
name: PropTypes.Validator<string>;
|
|
39
|
+
street1: PropTypes.Validator<string>;
|
|
40
|
+
city: PropTypes.Validator<string>;
|
|
41
|
+
state: PropTypes.Validator<string>;
|
|
42
|
+
zip: PropTypes.Validator<string>;
|
|
43
|
+
}>>>;
|
|
44
|
+
subtotal_discount: PropTypes.Validator<number>;
|
|
45
|
+
subtotal: PropTypes.Validator<number>;
|
|
46
|
+
shippingCost: PropTypes.Validator<number>;
|
|
47
|
+
handlingFee: PropTypes.Validator<number>;
|
|
48
|
+
salesTax: PropTypes.Validator<number>;
|
|
49
|
+
total: PropTypes.Validator<number>;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export type CartButtonType = InferProps<typeof CartButton.propTypes>;
|
|
53
|
+
export declare function CartButton(props: CartButtonType): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare namespace CartButton {
|
|
55
|
+
var propTypes: {
|
|
56
|
+
href: PropTypes.Validator<string>;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export type ViewItemDetailsType = InferProps<typeof ViewItemDetails.propTypes>;
|
|
60
|
+
export declare function ViewItemDetails(props: ViewItemDetailsType): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export declare namespace ViewItemDetails {
|
|
62
|
+
var propTypes: {
|
|
63
|
+
href: PropTypes.Validator<string>;
|
|
64
|
+
itemID: PropTypes.Validator<string>;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export type AddToCartButtonType = InferProps<typeof AddToCartButton.propTypes>;
|
|
68
|
+
export declare function AddToCartButton(props: AddToCartButtonType): import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
export declare namespace AddToCartButton {
|
|
70
|
+
var propTypes: {
|
|
71
|
+
handler: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
72
|
item: PropTypes.Validator<object>;
|
|
73
|
+
itemID: PropTypes.Validator<string>;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export type GoToCartButtonType = InferProps<typeof GoToCartButton.propTypes>;
|
|
77
|
+
export declare function GoToCartButton(props: GoToCartButtonType): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
export declare namespace GoToCartButton {
|
|
79
|
+
var propTypes: {
|
|
80
|
+
href: PropTypes.Validator<string>;
|
|
81
|
+
itemID: PropTypes.Validator<string>;
|
|
14
82
|
};
|
|
15
83
|
}
|
|
16
|
-
export declare function CheckoutItems(props: {
|
|
17
|
-
checkoutData: CheckoutType;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare function CartButton(props: {
|
|
20
|
-
href: string;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare function ViewItemDetails(props: {
|
|
23
|
-
href: string;
|
|
24
|
-
itemID: string;
|
|
25
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare function AddToCartButton(props: {
|
|
27
|
-
handler: any;
|
|
28
|
-
item: ShoppingCartType;
|
|
29
|
-
itemID: string;
|
|
30
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare function GoToCartButton(props: {
|
|
32
|
-
href: string;
|
|
33
|
-
itemID: string;
|
|
34
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
35
84
|
//# sourceMappingURL=shoppingcart.components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.components.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"shoppingcart.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.components.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,OAAO,8BAA8B,CAAC;AAStC,OAAO,oBAAoB,CAAC;AAa5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAE,KAAK,EAAE,gBAAgB,2CAuLpD;yBAvLe,YAAY;;;;;AAoM5B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CA+C3D;yBA/Ce,gBAAgB;;;;;;;;;;;;AA0EhC,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CA0CrD;yBA1Ce,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;AAgD7B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAkC/C;yBAlCe,UAAU;;;;;AAyC1B,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAQzD;yBARe,eAAe;;;;;;AAgB/B,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAkBzD;yBAlBe,eAAe;;;;;;;AAyB/B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAQvD;yBARe,cAAc"}
|
|
@@ -10,25 +10,6 @@ export type ShoppingCartType = {
|
|
|
10
10
|
itemQuantity: number;
|
|
11
11
|
itemCost: number;
|
|
12
12
|
};
|
|
13
|
-
export type ShoppingCartItemType = {
|
|
14
|
-
itemID: string;
|
|
15
|
-
itemURL?: string;
|
|
16
|
-
itemTitle: string;
|
|
17
|
-
itemDescription: string;
|
|
18
|
-
itemCost: number;
|
|
19
|
-
itemCategory?: string;
|
|
20
|
-
itemCondition?: string;
|
|
21
|
-
itemProperties?: {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
};
|
|
24
|
-
itemImageThumbnail?: string;
|
|
25
|
-
itemImages?: string[];
|
|
26
|
-
itemQuantity: number;
|
|
27
|
-
itemSeller?: string;
|
|
28
|
-
itemBuyingFormat?: string;
|
|
29
|
-
itemLocation?: string;
|
|
30
|
-
itemListingDate: string;
|
|
31
|
-
};
|
|
32
13
|
export type AddressType = {
|
|
33
14
|
name: string;
|
|
34
15
|
street1: string;
|
|
@@ -68,11 +49,11 @@ export declare function increaseQuantityCart(cart: ShoppingCartType[], itemID: s
|
|
|
68
49
|
export declare function getIndexInCart(cart: ShoppingCartType[], itemID: string): number;
|
|
69
50
|
export declare function getCartItemCount(cart: ShoppingCartType[]): number;
|
|
70
51
|
export declare function getCartSubTotal(cart: ShoppingCartType[]): number;
|
|
71
|
-
export declare function
|
|
72
|
-
export declare function
|
|
73
|
-
export declare function
|
|
52
|
+
export declare function addToShoppingCart(thisItem: ShoppingCartType): void;
|
|
53
|
+
export declare function removeFromShoppingCart(thisItem: ShoppingCartType): void;
|
|
54
|
+
export declare function clearShoppingCart(): void;
|
|
74
55
|
export declare function getShippingInfo(): any;
|
|
75
|
-
export declare function
|
|
56
|
+
export declare function setShippingInfo(shippingFormData: any): void;
|
|
76
57
|
export declare function getShippingCost(): number;
|
|
77
58
|
export declare function validateDiscountCode(field: {
|
|
78
59
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.functions.ts"],"names":[],"mappings":"AAKA,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,gBAAgB,GAAG;IAC3B,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,CAAC;CACpB,CAAA;
|
|
1
|
+
{"version":3,"file":"shoppingcart.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.functions.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,eAAe,2BAA2B,CAAC;AACxD,e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B,WAU/B;AAGD,wBAAgB,eAAe,iBAe9B"}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
2
|
import './CompoundFontSelector.css';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
name: string;
|
|
6
|
-
label: string;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
value?: string;
|
|
9
|
-
onChange?: (value: string) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function CompoundFontSelector({ id, name, label, required, value, onChange }: CompoundFontSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export type CompoundFontSelectorType = InferProps<typeof CompoundFontSelector.propTypes>;
|
|
4
|
+
export declare function CompoundFontSelector(props: CompoundFontSelectorType): import("react/jsx-runtime").JSX.Element;
|
|
12
5
|
export declare namespace CompoundFontSelector {
|
|
13
6
|
var propTypes: {
|
|
14
7
|
id: PropTypes.Validator<string>;
|
|
@@ -17,7 +10,13 @@ export declare namespace CompoundFontSelector {
|
|
|
17
10
|
required: PropTypes.Requireable<boolean>;
|
|
18
11
|
value: PropTypes.Requireable<string>;
|
|
19
12
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
} | {
|
|
14
|
+
id: PropTypes.Validator<string>;
|
|
15
|
+
name: PropTypes.Validator<string>;
|
|
16
|
+
label: PropTypes.Validator<string>;
|
|
17
|
+
required: PropTypes.Requireable<boolean>;
|
|
18
|
+
value: PropTypes.Requireable<string>;
|
|
19
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
export {};
|
|
23
22
|
//# sourceMappingURL=CompoundFontSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompoundFontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/CompoundFontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"CompoundFontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/CompoundFontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,4BAA4B,CAAC;AAUpC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,2CAqEnE;yBArEe,oBAAoB"}
|
|
@@ -1,180 +1,45 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from 'prop-types';
|
|
2
2
|
import './ConfigBuilder.css';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
component: PropTypes.Validator<string>;
|
|
36
|
-
title: PropTypes.Requireable<string>;
|
|
37
|
-
description: PropTypes.Requireable<string>;
|
|
38
|
-
}>>[]>;
|
|
39
|
-
visualdesign: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
40
|
-
'primary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
41
|
-
value: PropTypes.Validator<string>;
|
|
42
|
-
type: PropTypes.Validator<string>;
|
|
43
|
-
group: PropTypes.Validator<string>;
|
|
44
|
-
label: PropTypes.Validator<string>;
|
|
45
|
-
}>>>;
|
|
46
|
-
'secondary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
47
|
-
value: PropTypes.Validator<string>;
|
|
48
|
-
type: PropTypes.Validator<string>;
|
|
49
|
-
group: PropTypes.Validator<string>;
|
|
50
|
-
label: PropTypes.Validator<string>;
|
|
51
|
-
}>>>;
|
|
52
|
-
'accent1-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
53
|
-
value: PropTypes.Validator<string>;
|
|
54
|
-
type: PropTypes.Validator<string>;
|
|
55
|
-
group: PropTypes.Validator<string>;
|
|
56
|
-
label: PropTypes.Validator<string>;
|
|
57
|
-
}>>>;
|
|
58
|
-
'accent2-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
59
|
-
value: PropTypes.Validator<string>;
|
|
60
|
-
type: PropTypes.Validator<string>;
|
|
61
|
-
group: PropTypes.Validator<string>;
|
|
62
|
-
label: PropTypes.Validator<string>;
|
|
63
|
-
}>>>;
|
|
64
|
-
'bg-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
65
|
-
value: PropTypes.Validator<string>;
|
|
66
|
-
type: PropTypes.Validator<string>;
|
|
67
|
-
group: PropTypes.Validator<string>;
|
|
68
|
-
label: PropTypes.Validator<string>;
|
|
69
|
-
}>>>;
|
|
70
|
-
'text-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
71
|
-
value: PropTypes.Validator<string>;
|
|
72
|
-
type: PropTypes.Validator<string>;
|
|
73
|
-
group: PropTypes.Validator<string>;
|
|
74
|
-
label: PropTypes.Validator<string>;
|
|
75
|
-
}>>>;
|
|
76
|
-
'header-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
77
|
-
value: PropTypes.Validator<string>;
|
|
78
|
-
type: PropTypes.Validator<string>;
|
|
79
|
-
group: PropTypes.Validator<string>;
|
|
80
|
-
label: PropTypes.Validator<string>;
|
|
81
|
-
}>>>;
|
|
82
|
-
'body-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
83
|
-
value: PropTypes.Validator<string>;
|
|
84
|
-
type: PropTypes.Validator<string>;
|
|
85
|
-
group: PropTypes.Validator<string>;
|
|
86
|
-
label: PropTypes.Validator<string>;
|
|
87
|
-
}>>>;
|
|
88
|
-
'font-size1-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
89
|
-
value: PropTypes.Validator<string>;
|
|
90
|
-
type: PropTypes.Validator<string>;
|
|
91
|
-
group: PropTypes.Validator<string>;
|
|
92
|
-
label: PropTypes.Validator<string>;
|
|
93
|
-
}>>>;
|
|
94
|
-
'font-size1-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
95
|
-
value: PropTypes.Validator<string>;
|
|
96
|
-
type: PropTypes.Validator<string>;
|
|
97
|
-
group: PropTypes.Validator<string>;
|
|
98
|
-
label: PropTypes.Validator<string>;
|
|
99
|
-
}>>>;
|
|
100
|
-
'font-size2-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
101
|
-
value: PropTypes.Validator<string>;
|
|
102
|
-
type: PropTypes.Validator<string>;
|
|
103
|
-
group: PropTypes.Validator<string>;
|
|
104
|
-
label: PropTypes.Validator<string>;
|
|
105
|
-
}>>>;
|
|
106
|
-
'font-size2-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
107
|
-
value: PropTypes.Validator<string>;
|
|
108
|
-
type: PropTypes.Validator<string>;
|
|
109
|
-
group: PropTypes.Validator<string>;
|
|
110
|
-
label: PropTypes.Validator<string>;
|
|
111
|
-
}>>>;
|
|
112
|
-
'font-size3-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
113
|
-
value: PropTypes.Validator<string>;
|
|
114
|
-
type: PropTypes.Validator<string>;
|
|
115
|
-
group: PropTypes.Validator<string>;
|
|
116
|
-
label: PropTypes.Validator<string>;
|
|
117
|
-
}>>>;
|
|
118
|
-
'font-size3-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
119
|
-
value: PropTypes.Validator<string>;
|
|
120
|
-
type: PropTypes.Validator<string>;
|
|
121
|
-
group: PropTypes.Validator<string>;
|
|
122
|
-
label: PropTypes.Validator<string>;
|
|
123
|
-
}>>>;
|
|
124
|
-
'font-size4-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
125
|
-
value: PropTypes.Validator<string>;
|
|
126
|
-
type: PropTypes.Validator<string>;
|
|
127
|
-
group: PropTypes.Validator<string>;
|
|
128
|
-
label: PropTypes.Validator<string>;
|
|
129
|
-
}>>>;
|
|
130
|
-
'font-size4-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
131
|
-
value: PropTypes.Validator<string>;
|
|
132
|
-
type: PropTypes.Validator<string>;
|
|
133
|
-
group: PropTypes.Validator<string>;
|
|
134
|
-
label: PropTypes.Validator<string>;
|
|
135
|
-
}>>>;
|
|
136
|
-
'font-size5-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
137
|
-
value: PropTypes.Validator<string>;
|
|
138
|
-
type: PropTypes.Validator<string>;
|
|
139
|
-
group: PropTypes.Validator<string>;
|
|
140
|
-
label: PropTypes.Validator<string>;
|
|
141
|
-
}>>>;
|
|
142
|
-
'font-size5-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
143
|
-
value: PropTypes.Validator<string>;
|
|
144
|
-
type: PropTypes.Validator<string>;
|
|
145
|
-
group: PropTypes.Validator<string>;
|
|
146
|
-
label: PropTypes.Validator<string>;
|
|
147
|
-
}>>>;
|
|
148
|
-
'font-size6-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
149
|
-
value: PropTypes.Validator<string>;
|
|
150
|
-
type: PropTypes.Validator<string>;
|
|
151
|
-
group: PropTypes.Validator<string>;
|
|
152
|
-
label: PropTypes.Validator<string>;
|
|
153
|
-
}>>>;
|
|
154
|
-
'font-size6-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
155
|
-
value: PropTypes.Validator<string>;
|
|
156
|
-
type: PropTypes.Validator<string>;
|
|
157
|
-
group: PropTypes.Validator<string>;
|
|
158
|
-
label: PropTypes.Validator<string>;
|
|
159
|
-
}>>>;
|
|
160
|
-
'font-min-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
161
|
-
value: PropTypes.Validator<string>;
|
|
162
|
-
type: PropTypes.Validator<string>;
|
|
163
|
-
group: PropTypes.Validator<string>;
|
|
164
|
-
label: PropTypes.Validator<string>;
|
|
165
|
-
}>>>;
|
|
166
|
-
'font-max-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
167
|
-
value: PropTypes.Validator<string>;
|
|
168
|
-
type: PropTypes.Validator<string>;
|
|
169
|
-
group: PropTypes.Validator<string>;
|
|
170
|
-
label: PropTypes.Validator<string>;
|
|
171
|
-
}>>>;
|
|
172
|
-
}>>>;
|
|
3
|
+
declare const RoutePropTypes: {
|
|
4
|
+
name: PropTypes.Requireable<string>;
|
|
5
|
+
path: PropTypes.Validator<string>;
|
|
6
|
+
title: PropTypes.Requireable<string>;
|
|
7
|
+
description: PropTypes.Requireable<string>;
|
|
8
|
+
keywords: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
9
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
10
|
+
};
|
|
11
|
+
export type RouteType = InferProps<typeof RoutePropTypes>;
|
|
12
|
+
declare const SiteInfoPropTypes: {
|
|
13
|
+
name: PropTypes.Validator<string>;
|
|
14
|
+
author: PropTypes.Validator<string>;
|
|
15
|
+
description: PropTypes.Validator<string>;
|
|
16
|
+
url: PropTypes.Validator<string>;
|
|
17
|
+
email: PropTypes.Validator<string>;
|
|
18
|
+
favicon: PropTypes.Validator<string>;
|
|
19
|
+
favicon_sizes: PropTypes.Validator<string>;
|
|
20
|
+
favicon_type: PropTypes.Validator<string>;
|
|
21
|
+
theme_color: PropTypes.Validator<string>;
|
|
22
|
+
background_color: PropTypes.Validator<string>;
|
|
23
|
+
default_locale: PropTypes.Validator<string>;
|
|
24
|
+
display: PropTypes.Validator<string>;
|
|
25
|
+
image: PropTypes.Requireable<string>;
|
|
26
|
+
image_height: PropTypes.Requireable<string>;
|
|
27
|
+
image_width: PropTypes.Requireable<string>;
|
|
28
|
+
telephone: PropTypes.Requireable<string>;
|
|
29
|
+
address: PropTypes.Requireable<PropTypes.InferProps<{
|
|
30
|
+
streetAddress: PropTypes.Validator<string>;
|
|
31
|
+
addressLocality: PropTypes.Validator<string>;
|
|
32
|
+
addressRegion: PropTypes.Validator<string>;
|
|
33
|
+
postalCode: PropTypes.Validator<string>;
|
|
34
|
+
addressCountry: PropTypes.Validator<string>;
|
|
173
35
|
}>>;
|
|
174
|
-
|
|
36
|
+
priceRange: PropTypes.Requireable<string>;
|
|
37
|
+
sameAs: PropTypes.Requireable<string[]>;
|
|
38
|
+
keywords: PropTypes.Requireable<string>;
|
|
175
39
|
};
|
|
176
|
-
type
|
|
177
|
-
export
|
|
40
|
+
export type SiteInfoType = InferProps<typeof SiteInfoPropTypes>;
|
|
41
|
+
export type ConfigBuilderType = InferProps<typeof ConfigBuilder.propTypes>;
|
|
42
|
+
export declare function ConfigBuilder(props: ConfigBuilderType): import("react/jsx-runtime").JSX.Element;
|
|
178
43
|
export declare namespace ConfigBuilder {
|
|
179
44
|
var propTypes: {
|
|
180
45
|
initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -207,10 +72,12 @@ export declare namespace ConfigBuilder {
|
|
|
207
72
|
keywords: PropTypes.Requireable<string>;
|
|
208
73
|
}>>>;
|
|
209
74
|
routes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
75
|
+
name: PropTypes.Requireable<string>;
|
|
210
76
|
path: PropTypes.Validator<string>;
|
|
211
|
-
component: PropTypes.Validator<string>;
|
|
212
77
|
title: PropTypes.Requireable<string>;
|
|
213
78
|
description: PropTypes.Requireable<string>;
|
|
79
|
+
keywords: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
80
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
214
81
|
}>>[]>;
|
|
215
82
|
visualdesign: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
216
83
|
'primary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAYnD,OAAO,qBAAqB,CAAC;AAE7B,QAAA,MAAM,cAAc;;;;;;;CAOnB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE1D,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BtB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AA+ChE,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAgnBrD;yBAhnBe,aAAa"}
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
2
|
import './FontSelector.css';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
name: string;
|
|
6
|
-
label: string;
|
|
7
|
-
fontType: 'google' | 'websafe' | 'generic';
|
|
8
|
-
required?: boolean;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
onChange?: (value: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare function FontSelector({ id, name, label, fontType, required, placeholder, value, onChange }: FontSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export type FontSelectorType = InferProps<typeof FontSelector.propTypes>;
|
|
4
|
+
export declare function FontSelector(props: FontSelectorType): import("react/jsx-runtime").JSX.Element;
|
|
14
5
|
export declare namespace FontSelector {
|
|
15
6
|
var propTypes: {
|
|
16
7
|
id: PropTypes.Validator<string>;
|
|
@@ -21,7 +12,15 @@ export declare namespace FontSelector {
|
|
|
21
12
|
placeholder: PropTypes.Requireable<string>;
|
|
22
13
|
value: PropTypes.Requireable<string>;
|
|
23
14
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
} | {
|
|
16
|
+
id: PropTypes.Validator<string>;
|
|
17
|
+
name: PropTypes.Validator<string>;
|
|
18
|
+
label: PropTypes.Validator<string>;
|
|
19
|
+
fontType: PropTypes.Validator<string>;
|
|
20
|
+
required: PropTypes.Requireable<boolean>;
|
|
21
|
+
placeholder: PropTypes.Requireable<string>;
|
|
22
|
+
value: PropTypes.Requireable<string>;
|
|
23
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
export {};
|
|
27
26
|
//# sourceMappingURL=FontSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/FontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,
|
|
1
|
+
{"version":3,"file":"FontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/FontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,oBAAoB,CAAC;AAuB5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAsInD;yBAtIe,YAAY"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
-
export
|
|
3
|
-
|
|
3
|
+
export type FormBuilderType = InferProps<typeof FormBuilder.propTypes>;
|
|
4
|
+
export declare function FormBuilder(): JSX.Element;
|
|
5
|
+
export declare namespace FormBuilder {
|
|
6
|
+
var propTypes: {};
|
|
7
|
+
}
|
|
8
|
+
export type FormBuildType = InferProps<typeof FormBuild.propTypes>;
|
|
4
9
|
export declare function FormBuild(props: FormBuildType): import("react/jsx-runtime").JSX.Element;
|
|
5
10
|
export declare namespace FormBuild {
|
|
6
11
|
var propTypes: {
|
|
7
12
|
setFormData: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
13
|
};
|
|
9
14
|
}
|
|
10
|
-
export {};
|
|
11
15
|
//# sourceMappingURL=formbuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAY,GAAG,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAUnD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,IAAI,GAAG,CAAC,OAAO,CA4DzC;yBA5De,WAAW;;;AAyE3B,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0D7C;yBA1De,SAAS"}
|
|
@@ -195,7 +195,7 @@ export declare namespace FormDataList {
|
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
export type FormFieldsetType = InferProps<typeof FormFieldset.propTypes>;
|
|
198
|
-
export declare function FormFieldset(): import("react/jsx-runtime").JSX.Element;
|
|
198
|
+
export declare function FormFieldset(props: FormFieldsetType): import("react/jsx-runtime").JSX.Element;
|
|
199
199
|
export declare namespace FormFieldset {
|
|
200
200
|
var propTypes: {};
|
|
201
201
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formcomponents.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,YAAY,CAAC;AAuIpB,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,UAA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AM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAWnD;yBAXe,YAAY;;;;;;AAsB5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAInD;yBAJe,YAAY;;;AAO5B,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
-
import { FormEngineProps } from './formtypes';
|
|
3
2
|
export type FormEngineType = InferProps<typeof FormEngine.propTypes>;
|
|
4
|
-
export declare function FormEngine(props:
|
|
3
|
+
export declare function FormEngine(props: FormEngineType): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export declare namespace FormEngine {
|
|
6
5
|
var propTypes: {
|
|
7
6
|
name: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formengine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formengine.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formengine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formengine.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAmBnD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAM/C;yBANe,UAAU"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
-
import { FormExtractorProps, FormExtractEngineProps, FormExtractUIProps } from './formtypes';
|
|
3
2
|
export type FormExtractorType = InferProps<typeof FormExtractor.propTypes>;
|
|
4
|
-
export declare function FormExtractor(props:
|
|
3
|
+
export declare function FormExtractor(props: FormExtractorType): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export declare namespace FormExtractor {
|
|
6
5
|
var propTypes: {
|
|
7
6
|
url: PropTypes.Requireable<string>;
|
|
8
7
|
htmlPaste: PropTypes.Requireable<string>;
|
|
9
8
|
};
|
|
10
9
|
}
|
|
11
|
-
export
|
|
10
|
+
export type FormExtractUIType = InferProps<typeof FormExtractUI.propTypes>;
|
|
11
|
+
export declare function FormExtractUI(props: FormExtractUIType): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare namespace FormExtractUI {
|
|
13
13
|
var propTypes: {
|
|
14
14
|
setParentState: PropTypes.Validator<(...args: any[]) => any>;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type FormExtractEngineType = InferProps<typeof FormExtractEngine.propTypes>;
|
|
18
|
+
export declare function FormExtractEngine(props: FormExtractEngineType): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export declare namespace FormExtractEngine {
|
|
19
20
|
var propTypes: {
|
|
20
21
|
url: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formextractor.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formextractor.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"formextractor.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formextractor.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgBnD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAyCrD;yBAzCe,aAAa;;;;;;AA8C7B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAmCrD;yBAnCe,aAAa;;;;;AA0C7B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAmL7D;yBAnLe,iBAAiB"}
|
|
@@ -35,9 +35,9 @@ export interface FormValidationContextType extends FormValidationState {
|
|
|
35
35
|
resetValidation: () => void;
|
|
36
36
|
}
|
|
37
37
|
export interface FormEngineProps {
|
|
38
|
-
name?: string;
|
|
39
|
-
id?: string;
|
|
40
|
-
method?: string;
|
|
38
|
+
name?: string | null;
|
|
39
|
+
id?: string | null;
|
|
40
|
+
method?: string | null;
|
|
41
41
|
onSubmitHandler?: (event: React.FormEvent) => void;
|
|
42
42
|
formData: FormData;
|
|
43
43
|
}
|