@pixelated-tech/components 3.1.4
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 +231 -0
- package/dist/components/buzzwordbingo/buzzwordbingo.css +42 -0
- package/dist/components/buzzwordbingo/buzzwordbingo.js +35 -0
- package/dist/components/callout/callout.js +95 -0
- package/dist/components/callout/callout.scss +331 -0
- package/dist/components/carousel/carousel.css +178 -0
- package/dist/components/carousel/carousel.drag.js +203 -0
- package/dist/components/carousel/carousel.js +124 -0
- package/dist/components/cms/calendly.js +20 -0
- package/dist/components/cms/cloudinary.image.js +132 -0
- package/dist/components/cms/cloudinary.js +106 -0
- package/dist/components/cms/contentful.delivery.js +247 -0
- package/dist/components/cms/contentful.items.components.js +243 -0
- package/dist/components/cms/contentful.items.css +131 -0
- package/dist/components/cms/contentful.management.js +254 -0
- package/dist/components/cms/flickr.js +160 -0
- package/dist/components/cms/google.reviews.components.js +36 -0
- package/dist/components/cms/google.reviews.functions.js +26 -0
- package/dist/components/cms/gravatar.components.js +41 -0
- package/dist/components/cms/gravatar.functions.js +52 -0
- package/dist/components/cms/hubspot.components.js +45 -0
- package/dist/components/cms/hubspot.js +34 -0
- package/dist/components/cms/instagram.components.js +40 -0
- package/dist/components/cms/instagram.functions.js +67 -0
- package/dist/components/cms/wordpress.components.js +47 -0
- package/dist/components/cms/wordpress.css +55 -0
- package/dist/components/cms/wordpress.functions.js +49 -0
- package/dist/components/config/config.client.js +22 -0
- package/dist/components/config/config.example.js +70 -0
- package/dist/components/config/config.js +53 -0
- package/dist/components/config/config.server.js +11 -0
- package/dist/components/config/config.types.js +2 -0
- package/dist/components/general/css.js +60 -0
- package/dist/components/general/headers.css +16 -0
- package/dist/components/general/headers.js +27 -0
- package/dist/components/general/image.js +81 -0
- package/dist/components/general/layout.js +147 -0
- package/dist/components/general/layout.scss +47 -0
- package/dist/components/general/loading.js +36 -0
- package/dist/components/general/loading.scss +80 -0
- package/dist/components/general/microinteractions.css +229 -0
- package/dist/components/general/microinteractions.js +87 -0
- package/dist/components/general/modal.css +65 -0
- package/dist/components/general/modal.js +52 -0
- package/dist/components/general/table.css +73 -0
- package/dist/components/general/table.js +108 -0
- package/dist/components/linkedin/pixelated.linkedin.js +180 -0
- package/dist/components/linkedin/pixelated.linkedin1.js +102 -0
- package/dist/components/linkedin/pixelated.linkedin2.js +92 -0
- package/dist/components/markdown/markdown.css +12 -0
- package/dist/components/markdown/markdown.js +39 -0
- package/dist/components/menu/menu-accordion.css +198 -0
- package/dist/components/menu/menu-accordion.js +183 -0
- package/dist/components/menu/menu-expando.css +127 -0
- package/dist/components/menu/menu-expando.js +48 -0
- package/dist/components/menu/menu-simple.css +76 -0
- package/dist/components/menu/menu-simple.js +56 -0
- package/dist/components/nerdjoke/nerdjoke.css +69 -0
- package/dist/components/nerdjoke/nerdjoke.js +95 -0
- package/dist/components/pagebuilder/components/ComponentPropertiesForm.js +15 -0
- package/dist/components/pagebuilder/components/ComponentSelector.js +67 -0
- package/dist/components/pagebuilder/components/ComponentTree.js +95 -0
- package/dist/components/pagebuilder/components/PageBuilderUI.js +48 -0
- package/dist/components/pagebuilder/components/PageEngine.js +97 -0
- package/dist/components/pagebuilder/components/SaveLoadSection.js +168 -0
- package/dist/components/pagebuilder/components/pagebuilder.scss +123 -0
- package/dist/components/pagebuilder/form/form.css +101 -0
- package/dist/components/pagebuilder/form/form.js +455 -0
- package/dist/components/pagebuilder/form/form.submit.js +65 -0
- package/dist/components/pagebuilder/form/formcomponents.js +359 -0
- package/dist/components/pagebuilder/form/formvalidations.js +80 -0
- package/dist/components/pagebuilder/lib/componentGeneration.js +105 -0
- package/dist/components/pagebuilder/lib/componentMap.js +32 -0
- package/dist/components/pagebuilder/lib/componentMetadata.js +146 -0
- package/dist/components/pagebuilder/lib/pageStorageContentful.js +142 -0
- package/dist/components/pagebuilder/lib/pageStorageLocal.js +143 -0
- package/dist/components/pagebuilder/lib/pageStorageTypes.js +1 -0
- package/dist/components/pagebuilder/lib/propTypeIntrospection.js +177 -0
- package/dist/components/pagebuilder/lib/types.js +4 -0
- package/dist/components/pagebuilder/lib/usePageBuilder.js +234 -0
- package/dist/components/recipe/recipe.css +107 -0
- package/dist/components/recipe/recipe.js +161 -0
- package/dist/components/resume/resume.css +162 -0
- package/dist/components/resume/resume.js +195 -0
- package/dist/components/seo/404.css +25 -0
- package/dist/components/seo/404.js +32 -0
- package/dist/components/seo/googleanalytics.js +70 -0
- package/dist/components/seo/googlemap.js +15 -0
- package/dist/components/seo/googlesearch.css +30 -0
- package/dist/components/seo/googlesearch.js +37 -0
- package/dist/components/seo/metadata.js +156 -0
- package/dist/components/seo/sitemap.js +171 -0
- package/dist/components/shoppingcart/ebay.components.js +203 -0
- package/dist/components/shoppingcart/ebay.css +131 -0
- package/dist/components/shoppingcart/ebay.functions.js +240 -0
- package/dist/components/shoppingcart/paypal.js +169 -0
- package/dist/components/shoppingcart/shoppingcart.components.js +257 -0
- package/dist/components/shoppingcart/shoppingcart.css +122 -0
- package/dist/components/shoppingcart/shoppingcart.functions.js +324 -0
- package/dist/components/sidepanel/sidepanel.css +129 -0
- package/dist/components/sidepanel/sidepanel.js +54 -0
- package/dist/components/socialcard/socialcard.css +118 -0
- package/dist/components/socialcard/socialcard.js +317 -0
- package/dist/components/tiles/tiles.css +77 -0
- package/dist/components/tiles/tiles.js +38 -0
- package/dist/components/timeline/timeline.css +139 -0
- package/dist/components/timeline/timeline.js +28 -0
- package/dist/components/utilities/api.js +36 -0
- package/dist/components/utilities/functions.js +98 -0
- package/dist/components/yelp/yelp.js +50 -0
- package/dist/css/pixelated.font.scss +68 -0
- package/dist/css/pixelated.global.css +548 -0
- package/dist/css/pixelated.grid.scss +82 -0
- package/dist/data/404-data.json +104 -0
- package/dist/data/buzzwords.js +28 -0
- package/dist/data/form.json +370 -0
- package/dist/data/recipes.json +1917 -0
- package/dist/data/references.json +139 -0
- package/dist/data/requests.json +137 -0
- package/dist/data/resume.json +2577 -0
- package/dist/data/routes.json +184 -0
- package/dist/data/routes2.json +117 -0
- package/dist/data/shipping.to.json +422 -0
- package/dist/index.js +78 -0
- package/dist/index.server.js +35 -0
- package/dist/types/components/buzzwordbingo/buzzwordbingo.d.ts +26 -0
- package/dist/types/components/buzzwordbingo/buzzwordbingo.d.ts.map +1 -0
- package/dist/types/components/callout/callout.d.ts +53 -0
- package/dist/types/components/callout/callout.d.ts.map +1 -0
- package/dist/types/components/carousel/carousel.d.ts +28 -0
- package/dist/types/components/carousel/carousel.d.ts.map +1 -0
- package/dist/types/components/carousel/carousel.drag.d.ts +12 -0
- package/dist/types/components/carousel/carousel.drag.d.ts.map +1 -0
- package/dist/types/components/cms/calendly.d.ts +11 -0
- package/dist/types/components/cms/calendly.d.ts.map +1 -0
- package/dist/types/components/cms/cloudinary.d.ts +27 -0
- package/dist/types/components/cms/cloudinary.d.ts.map +1 -0
- package/dist/types/components/cms/cloudinary.image.d.ts +56 -0
- package/dist/types/components/cms/cloudinary.image.d.ts.map +1 -0
- package/dist/types/components/cms/contentful.delivery.d.ts +149 -0
- package/dist/types/components/cms/contentful.delivery.d.ts.map +1 -0
- package/dist/types/components/cms/contentful.items.components.d.ts +38 -0
- package/dist/types/components/cms/contentful.items.components.d.ts.map +1 -0
- package/dist/types/components/cms/contentful.management.d.ts +71 -0
- package/dist/types/components/cms/contentful.management.d.ts.map +1 -0
- package/dist/types/components/cms/flickr.d.ts +39 -0
- package/dist/types/components/cms/flickr.d.ts.map +1 -0
- package/dist/types/components/cms/google.reviews.components.d.ts +7 -0
- package/dist/types/components/cms/google.reviews.components.d.ts.map +1 -0
- package/dist/types/components/cms/google.reviews.functions.d.ts +25 -0
- package/dist/types/components/cms/google.reviews.functions.d.ts.map +1 -0
- package/dist/types/components/cms/gravatar.components.d.ts +26 -0
- package/dist/types/components/cms/gravatar.components.d.ts.map +1 -0
- package/dist/types/components/cms/gravatar.functions.d.ts +53 -0
- package/dist/types/components/cms/gravatar.functions.d.ts.map +1 -0
- package/dist/types/components/cms/hubspot.components.d.ts +15 -0
- package/dist/types/components/cms/hubspot.components.d.ts.map +1 -0
- package/dist/types/components/cms/hubspot.d.ts +18 -0
- package/dist/types/components/cms/hubspot.d.ts.map +1 -0
- package/dist/types/components/cms/instagram.components.d.ts +10 -0
- package/dist/types/components/cms/instagram.components.d.ts.map +1 -0
- package/dist/types/components/cms/instagram.functions.d.ts +63 -0
- package/dist/types/components/cms/instagram.functions.d.ts.map +1 -0
- package/dist/types/components/cms/wordpress.components.d.ts +11 -0
- package/dist/types/components/cms/wordpress.components.d.ts.map +1 -0
- package/dist/types/components/cms/wordpress.functions.d.ts +28 -0
- package/dist/types/components/cms/wordpress.functions.d.ts.map +1 -0
- package/dist/types/components/config/config.client.d.ts +13 -0
- package/dist/types/components/config/config.client.d.ts.map +1 -0
- package/dist/types/components/config/config.d.ts +12 -0
- package/dist/types/components/config/config.d.ts.map +1 -0
- package/dist/types/components/config/config.example.d.ts +4 -0
- package/dist/types/components/config/config.example.d.ts.map +1 -0
- package/dist/types/components/config/config.server.d.ts +7 -0
- package/dist/types/components/config/config.server.d.ts.map +1 -0
- package/dist/types/components/config/config.types.d.ts +84 -0
- package/dist/types/components/config/config.types.d.ts.map +1 -0
- package/dist/types/components/general/css.d.ts +3 -0
- package/dist/types/components/general/css.d.ts.map +1 -0
- package/dist/types/components/general/headers.d.ts +19 -0
- package/dist/types/components/general/headers.d.ts.map +1 -0
- package/dist/types/components/general/image.d.ts +3 -0
- package/dist/types/components/general/image.d.ts.map +1 -0
- package/dist/types/components/general/layout.d.ts +73 -0
- package/dist/types/components/general/layout.d.ts.map +1 -0
- package/dist/types/components/general/loading.d.ts +11 -0
- package/dist/types/components/general/loading.d.ts.map +1 -0
- package/dist/types/components/general/microinteractions.d.ts +20 -0
- package/dist/types/components/general/microinteractions.d.ts.map +1 -0
- package/dist/types/components/general/modal.d.ts +8 -0
- package/dist/types/components/general/modal.d.ts.map +1 -0
- package/dist/types/components/general/table.d.ts +12 -0
- package/dist/types/components/general/table.d.ts.map +1 -0
- package/dist/types/components/linkedin/pixelated.linkedin.d.ts +2 -0
- package/dist/types/components/linkedin/pixelated.linkedin.d.ts.map +1 -0
- package/dist/types/components/linkedin/pixelated.linkedin1.d.ts +2 -0
- package/dist/types/components/linkedin/pixelated.linkedin1.d.ts.map +1 -0
- package/dist/types/components/linkedin/pixelated.linkedin2.d.ts +2 -0
- package/dist/types/components/linkedin/pixelated.linkedin2.d.ts.map +1 -0
- package/dist/types/components/markdown/markdown.d.ts +12 -0
- package/dist/types/components/markdown/markdown.d.ts.map +1 -0
- package/dist/types/components/menu/menu-accordion.d.ts +44 -0
- package/dist/types/components/menu/menu-accordion.d.ts.map +1 -0
- package/dist/types/components/menu/menu-expando.d.ts +20 -0
- package/dist/types/components/menu/menu-expando.d.ts.map +1 -0
- package/dist/types/components/menu/menu-simple.d.ts +28 -0
- package/dist/types/components/menu/menu-simple.d.ts.map +1 -0
- package/dist/types/components/nerdjoke/nerdjoke.d.ts +23 -0
- package/dist/types/components/nerdjoke/nerdjoke.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/components/ComponentPropertiesForm.d.ts +11 -0
- package/dist/types/components/pagebuilder/components/ComponentPropertiesForm.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/components/ComponentSelector.d.ts +15 -0
- package/dist/types/components/pagebuilder/components/ComponentSelector.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/components/ComponentTree.d.ts +17 -0
- package/dist/types/components/pagebuilder/components/ComponentTree.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/components/PageBuilderUI.d.ts +10 -0
- package/dist/types/components/pagebuilder/components/PageBuilderUI.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/components/PageEngine.d.ts +23 -0
- package/dist/types/components/pagebuilder/components/PageEngine.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/components/SaveLoadSection.d.ts +12 -0
- package/dist/types/components/pagebuilder/components/SaveLoadSection.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/form/form.d.ts +46 -0
- package/dist/types/components/pagebuilder/form/form.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/form/form.submit.d.ts +3 -0
- package/dist/types/components/pagebuilder/form/form.submit.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/form/formcomponents.d.ts +205 -0
- package/dist/types/components/pagebuilder/form/formcomponents.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/form/formvalidations.d.ts +29 -0
- package/dist/types/components/pagebuilder/form/formvalidations.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/componentGeneration.d.ts +17 -0
- package/dist/types/components/pagebuilder/lib/componentGeneration.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/componentMap.d.ts +25 -0
- package/dist/types/components/pagebuilder/lib/componentMap.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/componentMetadata.d.ts +22 -0
- package/dist/types/components/pagebuilder/lib/componentMetadata.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/pageStorageContentful.d.ts +25 -0
- package/dist/types/components/pagebuilder/lib/pageStorageContentful.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/pageStorageLocal.d.ts +23 -0
- package/dist/types/components/pagebuilder/lib/pageStorageLocal.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/pageStorageTypes.d.ts +25 -0
- package/dist/types/components/pagebuilder/lib/pageStorageTypes.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/propTypeIntrospection.d.ts +24 -0
- package/dist/types/components/pagebuilder/lib/propTypeIntrospection.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/types.d.ts +34 -0
- package/dist/types/components/pagebuilder/lib/types.d.ts.map +1 -0
- package/dist/types/components/pagebuilder/lib/usePageBuilder.d.ts +24 -0
- package/dist/types/components/pagebuilder/lib/usePageBuilder.d.ts.map +1 -0
- package/dist/types/components/recipe/recipe.d.ts +66 -0
- package/dist/types/components/recipe/recipe.d.ts.map +1 -0
- package/dist/types/components/resume/resume.d.ts +85 -0
- package/dist/types/components/resume/resume.d.ts.map +1 -0
- package/dist/types/components/seo/404.d.ts +10 -0
- package/dist/types/components/seo/404.d.ts.map +1 -0
- package/dist/types/components/seo/googleanalytics.d.ts +23 -0
- package/dist/types/components/seo/googleanalytics.d.ts.map +1 -0
- package/dist/types/components/seo/googlemap.d.ts +15 -0
- package/dist/types/components/seo/googlemap.d.ts.map +1 -0
- package/dist/types/components/seo/googlesearch.d.ts +10 -0
- package/dist/types/components/seo/googlesearch.d.ts.map +1 -0
- package/dist/types/components/seo/metadata.d.ts +35 -0
- package/dist/types/components/seo/metadata.d.ts.map +1 -0
- package/dist/types/components/seo/sitemap.d.ts +47 -0
- package/dist/types/components/seo/sitemap.d.ts.map +1 -0
- package/dist/types/components/shoppingcart/ebay.components.d.ts +46 -0
- package/dist/types/components/shoppingcart/ebay.components.d.ts.map +1 -0
- package/dist/types/components/shoppingcart/ebay.functions.d.ts +76 -0
- package/dist/types/components/shoppingcart/ebay.functions.d.ts.map +1 -0
- package/dist/types/components/shoppingcart/paypal.d.ts +16 -0
- package/dist/types/components/shoppingcart/paypal.d.ts.map +1 -0
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +35 -0
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -0
- package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts +89 -0
- package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts.map +1 -0
- package/dist/types/components/sidepanel/sidepanel.d.ts +18 -0
- package/dist/types/components/sidepanel/sidepanel.d.ts.map +1 -0
- package/dist/types/components/socialcard/socialcard.d.ts +20 -0
- package/dist/types/components/socialcard/socialcard.d.ts.map +1 -0
- package/dist/types/components/tiles/tiles.d.ts +28 -0
- package/dist/types/components/tiles/tiles.d.ts.map +1 -0
- package/dist/types/components/timeline/timeline.d.ts +31 -0
- package/dist/types/components/timeline/timeline.d.ts.map +1 -0
- package/dist/types/components/utilities/api.d.ts +16 -0
- package/dist/types/components/utilities/api.d.ts.map +1 -0
- package/dist/types/components/utilities/functions.d.ts +11 -0
- package/dist/types/components/utilities/functions.d.ts.map +1 -0
- package/dist/types/components/yelp/yelp.d.ts +5 -0
- package/dist/types/components/yelp/yelp.d.ts.map +1 -0
- package/dist/types/data/buzzwords.d.ts +2 -0
- package/dist/types/data/buzzwords.d.ts.map +1 -0
- package/dist/types/index.d.ts +76 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.server.d.ts +30 -0
- package/dist/types/index.server.d.ts.map +1 -0
- package/dist/types/stories/buzzword-bingo.stories.d.ts +13 -0
- package/dist/types/stories/buzzword-bingo.stories.d.ts.map +1 -0
- package/dist/types/stories/callout.many.stories.d.ts +8 -0
- package/dist/types/stories/callout.many.stories.d.ts.map +1 -0
- package/dist/types/stories/callout.stories.d.ts +69 -0
- package/dist/types/stories/callout.stories.d.ts.map +1 -0
- package/dist/types/stories/carousel-hero.stories.d.ts +22 -0
- package/dist/types/stories/carousel-hero.stories.d.ts.map +1 -0
- package/dist/types/stories/carousel-reviews.stories.d.ts +38 -0
- package/dist/types/stories/carousel-reviews.stories.d.ts.map +1 -0
- package/dist/types/stories/carousel-workportfolio.stories.d.ts +22 -0
- package/dist/types/stories/carousel-workportfolio.stories.d.ts.map +1 -0
- package/dist/types/stories/carousel.stories.d.ts +41 -0
- package/dist/types/stories/carousel.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.contentful.item.stories.d.ts +21 -0
- package/dist/types/stories/cms.contentful.item.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.contentful.items.stories.d.ts +20 -0
- package/dist/types/stories/cms.contentful.items.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.contentful.stories.d.ts +9 -0
- package/dist/types/stories/cms.contentful.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.google.reviews.stories.d.ts +11 -0
- package/dist/types/stories/cms.google.reviews.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.gravatar.stories.d.ts +88 -0
- package/dist/types/stories/cms.gravatar.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.instagram.stories.d.ts +16 -0
- package/dist/types/stories/cms.instagram.stories.d.ts.map +1 -0
- package/dist/types/stories/cms.wordpress.stories.d.ts +26 -0
- package/dist/types/stories/cms.wordpress.stories.d.ts.map +1 -0
- package/dist/types/stories/general.headers.stories.d.ts +27 -0
- package/dist/types/stories/general.headers.stories.d.ts.map +1 -0
- package/dist/types/stories/general.loading.stories.d.ts +11 -0
- package/dist/types/stories/general.loading.stories.d.ts.map +1 -0
- package/dist/types/stories/general.microinteractions.stories.d.ts +9 -0
- package/dist/types/stories/general.microinteractions.stories.d.ts.map +1 -0
- package/dist/types/stories/general.modal.stories.d.ts +9 -0
- package/dist/types/stories/general.modal.stories.d.ts.map +1 -0
- package/dist/types/stories/general.table.stories.d.ts +15 -0
- package/dist/types/stories/general.table.stories.d.ts.map +1 -0
- package/dist/types/stories/layout.stories.d.ts +299 -0
- package/dist/types/stories/layout.stories.d.ts.map +1 -0
- package/dist/types/stories/markdown.stories.d.ts +13 -0
- package/dist/types/stories/markdown.stories.d.ts.map +1 -0
- package/dist/types/stories/menu-accordion.stories.d.ts +34 -0
- package/dist/types/stories/menu-accordion.stories.d.ts.map +1 -0
- package/dist/types/stories/menu-simple.stories.d.ts +43 -0
- package/dist/types/stories/menu-simple.stories.d.ts.map +1 -0
- package/dist/types/stories/nerdjoke.stories.d.ts +10 -0
- package/dist/types/stories/nerdjoke.stories.d.ts.map +1 -0
- package/dist/types/stories/pagebuilder.form-builder.stories.d.ts +10 -0
- package/dist/types/stories/pagebuilder.form-builder.stories.d.ts.map +1 -0
- package/dist/types/stories/pagebuilder.form-engine.stories.d.ts +16 -0
- package/dist/types/stories/pagebuilder.form-engine.stories.d.ts.map +1 -0
- package/dist/types/stories/pagebuilder.form-extractor.stories.d.ts +10 -0
- package/dist/types/stories/pagebuilder.form-extractor.stories.d.ts.map +1 -0
- package/dist/types/stories/pagebuilder.stories.d.ts +29 -0
- package/dist/types/stories/pagebuilder.stories.d.ts.map +1 -0
- package/dist/types/stories/pagebuilder.usageguide.stories.d.ts +29 -0
- package/dist/types/stories/pagebuilder.usageguide.stories.d.ts.map +1 -0
- package/dist/types/stories/pageengine.stories.d.ts +32 -0
- package/dist/types/stories/pageengine.stories.d.ts.map +1 -0
- package/dist/types/stories/recipe.stories.d.ts +16 -0
- package/dist/types/stories/recipe.stories.d.ts.map +1 -0
- package/dist/types/stories/resume.stories.d.ts +283 -0
- package/dist/types/stories/resume.stories.d.ts.map +1 -0
- package/dist/types/stories/seo.404.stories.d.ts +18 -0
- package/dist/types/stories/seo.404.stories.d.ts.map +1 -0
- package/dist/types/stories/seo.googleanalytics.stories.d.ts +12 -0
- package/dist/types/stories/seo.googleanalytics.stories.d.ts.map +1 -0
- package/dist/types/stories/seo.googlesearch.stories.d.ts +12 -0
- package/dist/types/stories/seo.googlesearch.stories.d.ts.map +1 -0
- package/dist/types/stories/seo.metadata.stories.d.ts +25 -0
- package/dist/types/stories/seo.metadata.stories.d.ts.map +1 -0
- package/dist/types/stories/seo.sitemap.stories.d.ts +8 -0
- package/dist/types/stories/seo.sitemap.stories.d.ts.map +1 -0
- package/dist/types/stories/shoppingcart.ebay.item.stories.d.ts +21 -0
- package/dist/types/stories/shoppingcart.ebay.item.stories.d.ts.map +1 -0
- package/dist/types/stories/shoppingcart.ebay.items.stories.d.ts +21 -0
- package/dist/types/stories/shoppingcart.ebay.items.stories.d.ts.map +1 -0
- package/dist/types/stories/shoppingcart.stories.d.ts +9 -0
- package/dist/types/stories/shoppingcart.stories.d.ts.map +1 -0
- package/dist/types/stories/sidepanel.stories.d.ts +85 -0
- package/dist/types/stories/sidepanel.stories.d.ts.map +1 -0
- package/dist/types/stories/socialcard.stories.d.ts +81 -0
- package/dist/types/stories/socialcard.stories.d.ts.map +1 -0
- package/dist/types/stories/tiles.stories.d.ts +9 -0
- package/dist/types/stories/tiles.stories.d.ts.map +1 -0
- package/dist/types/stories/timeline.stories.d.ts +19 -0
- package/dist/types/stories/timeline.stories.d.ts.map +1 -0
- package/dist/types/tests/pixelated.api.test.d.ts +2 -0
- package/dist/types/tests/pixelated.api.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.callout.test.d.ts +2 -0
- package/dist/types/tests/pixelated.callout.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.carousel.test.d.ts +2 -0
- package/dist/types/tests/pixelated.carousel.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.menu-accordion.test.d.ts +2 -0
- package/dist/types/tests/pixelated.menu-accordion.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.menu-simple.test.d.ts +2 -0
- package/dist/types/tests/pixelated.menu-simple.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.nerdjoke.test.d.ts +2 -0
- package/dist/types/tests/pixelated.nerdjoke.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.recipe.test.d.ts +2 -0
- package/dist/types/tests/pixelated.recipe.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.resume.test.d.ts +2 -0
- package/dist/types/tests/pixelated.resume.test.d.ts.map +1 -0
- package/dist/types/tests/pixelated.socialcard.test.d.ts +2 -0
- package/dist/types/tests/pixelated.socialcard.test.d.ts.map +1 -0
- package/package.json +136 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
import './menu-simple.css';
|
|
3
|
+
export declare function MenuSimple(props: {
|
|
4
|
+
menuItems: MenuSimpleItemType[];
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare namespace MenuSimple {
|
|
7
|
+
var propTypes: {
|
|
8
|
+
menuItems: PropTypes.Validator<(PropTypes.InferProps<{
|
|
9
|
+
name: PropTypes.Validator<string>;
|
|
10
|
+
path: PropTypes.Validator<string>;
|
|
11
|
+
target: PropTypes.Requireable<string>;
|
|
12
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
13
|
+
routes: PropTypes.Requireable<any[]>;
|
|
14
|
+
}> | null | undefined)[]>;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export type MenuSimpleItemType = InferProps<typeof MenuSimpleItem.propTypes>;
|
|
18
|
+
export declare function MenuSimpleItem(props: MenuSimpleItemType): import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
export declare namespace MenuSimpleItem {
|
|
20
|
+
var propTypes: {
|
|
21
|
+
name: PropTypes.Validator<string>;
|
|
22
|
+
path: PropTypes.Requireable<string>;
|
|
23
|
+
target: PropTypes.Requireable<string>;
|
|
24
|
+
hidden: PropTypes.Requireable<boolean>;
|
|
25
|
+
routes: PropTypes.Requireable<any[]>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=menu-simple.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-simple.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-simple.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,mBAAmB,CAAC;AAc3B,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,kBAAkB,EAAE,CAAA;CAAE,2CAqCpE;yBArCe,UAAU;;;;;;;;;;;AAiD1B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,kDASvD;yBATe,cAAc"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class NerdJoke extends React.Component<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
TIME_LIMIT: number;
|
|
4
|
+
timePassed: number;
|
|
5
|
+
timePaused: boolean;
|
|
6
|
+
timeLeft: number;
|
|
7
|
+
timerInterval: NodeJS.Timeout | null;
|
|
8
|
+
jokeInterval: NodeJS.Timeout | null;
|
|
9
|
+
state: {
|
|
10
|
+
joke: {
|
|
11
|
+
question: string;
|
|
12
|
+
answer: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
loadJoke: () => void;
|
|
16
|
+
formatTimeLeft(time: any): string;
|
|
17
|
+
startTimer(): void;
|
|
18
|
+
pauseTimer(): void;
|
|
19
|
+
componentDidMount(): void;
|
|
20
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
import React from 'react';
|
|
23
|
+
//# sourceMappingURL=nerdjoke.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nerdjoke.d.ts","sourceRoot":"","sources":["../../../../src/components/nerdjoke/nerdjoke.js"],"names":[],"mappings":"AAYA;IACC,wBAcC;IAZA,mBAAoB;IACpB,mBAAmB;IACnB,oBAAuB;IACvB,iBAA+B;IAC/B,qCAAyB;IACzB,oCAAwB;IACxB;;;;;MAKC;IAGF,qBAoBE;IAEF,kCAQC;IAED,mBAWC;IAED,mBAGC;IAED,0BAIC;IAED,kDA4CC;CACD;kBAlIgC,OAAO"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
type ComponentPropertiesFormProps = InferProps<typeof ComponentPropertiesForm.propTypes>;
|
|
3
|
+
export declare function ComponentPropertiesForm({ editableComponent, onSubmit }: ComponentPropertiesFormProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace ComponentPropertiesForm {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
editableComponent: PropTypes.Validator<object>;
|
|
7
|
+
onSubmit: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ComponentPropertiesForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentPropertiesForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/components/ComponentPropertiesForm.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAcnD,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAEzF,wBAAgB,uBAAuB,CAAC,EAAE,iBAAiB,EAAE,QAAQ,EAAE,EAAE,4BAA4B,2CAkBpG;yBAlBe,uBAAuB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
type ComponentSelectorProps = InferProps<typeof ComponentSelector.propTypes>;
|
|
3
|
+
export declare function ComponentSelector(props: ComponentSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace ComponentSelector {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
setEditableComponent: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
+
parentPath: PropTypes.Requireable<string>;
|
|
8
|
+
editMode: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
|
+
component: PropTypes.Requireable<string>;
|
|
10
|
+
props: PropTypes.Requireable<object>;
|
|
11
|
+
}>>;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ComponentSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/components/ComponentSelector.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAoBnD,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AAE7E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAiF9D;yBAjFe,iBAAiB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
type ComponentTreeProps = InferProps<typeof ComponentTree.propTypes>;
|
|
3
|
+
export declare function ComponentTree({ components, onSelectComponent, onEditComponent, onDeleteComponent, onMoveUp, onMoveDown, selectedPath, editPath }: ComponentTreeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace ComponentTree {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
components: PropTypes.Validator<any[]>;
|
|
7
|
+
onSelectComponent: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
+
onEditComponent: PropTypes.Validator<(...args: any[]) => any>;
|
|
9
|
+
onDeleteComponent: PropTypes.Validator<(...args: any[]) => any>;
|
|
10
|
+
onMoveUp: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
onMoveDown: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
+
selectedPath: PropTypes.Requireable<string>;
|
|
13
|
+
editPath: PropTypes.Requireable<string>;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=ComponentTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/components/ComponentTree.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAmBnD,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAErE,wBAAgB,aAAa,CAAC,EAC7B,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,EAAE,kBAAkB,2CAkJpB;yBA3Je,aAAa"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "../../../css/pixelated.global.css";
|
|
2
|
+
import './pagebuilder.scss';
|
|
3
|
+
/**
|
|
4
|
+
* PageBuilderUI - Main orchestrator component
|
|
5
|
+
* Composes all sub-components and manages layout with inline editing
|
|
6
|
+
*/
|
|
7
|
+
export declare function PageBuilderUI({ apiEndpoint }?: {
|
|
8
|
+
apiEndpoint?: string;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=PageBuilderUI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageBuilderUI.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/components/PageBuilderUI.tsx"],"names":[],"mappings":"AASA,OAAO,mCAAmC,CAAC;AAC3C,OAAO,oBAAoB,CAAC;AAG5B;;;GAGG;AAEH,wBAAgB,aAAa,CAAC,EAAE,WAAgC,EAAE,GAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAO,2CAgIhG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
import './pagebuilder.scss';
|
|
3
|
+
export type PageEngineType = InferProps<typeof PageEngine.propTypes>;
|
|
4
|
+
export declare function PageEngine(props: PageEngineType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare namespace PageEngine {
|
|
6
|
+
var propTypes: {
|
|
7
|
+
pageData: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
8
|
+
components: PropTypes.Validator<(PropTypes.InferProps<{
|
|
9
|
+
component: PropTypes.Validator<string>;
|
|
10
|
+
props: PropTypes.Validator<object>;
|
|
11
|
+
children: PropTypes.Requireable<any[]>;
|
|
12
|
+
}> | null | undefined)[]>;
|
|
13
|
+
}>>>;
|
|
14
|
+
editMode: PropTypes.Requireable<boolean>;
|
|
15
|
+
selectedPath: PropTypes.Requireable<string>;
|
|
16
|
+
onEditComponent: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
onSelectComponent: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
|
+
onDeleteComponent: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
+
onMoveUp: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
onMoveDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=PageEngine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageEngine.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/components/PageEngine.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,oBAAoB,CAAC;AA2B5B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AAErE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAsI/C;yBAtIe,UAAU"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
type SaveLoadSectionProps = InferProps<typeof SaveLoadSection.propTypes>;
|
|
3
|
+
export declare function SaveLoadSection({ pageData, onLoad, apiEndpoint }: SaveLoadSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace SaveLoadSection {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
pageData: PropTypes.Validator<object>;
|
|
7
|
+
onLoad: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
+
apiEndpoint: PropTypes.Requireable<string>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=SaveLoadSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaveLoadSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/components/SaveLoadSection.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAEzE,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAgC,EAAE,EAAE,oBAAoB,2CAyO3G;yBAzOe,eAAe"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from 'prop-types';
|
|
2
|
+
import './form.css';
|
|
3
|
+
export type FormEngineType = InferProps<typeof FormEngine.propTypes>;
|
|
4
|
+
export declare function FormEngine(props: FormEngineType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare namespace FormEngine {
|
|
6
|
+
var propTypes: {
|
|
7
|
+
name: PropTypes.Requireable<string>;
|
|
8
|
+
id: PropTypes.Requireable<string>;
|
|
9
|
+
method: PropTypes.Requireable<string>;
|
|
10
|
+
onSubmitHandler: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
formData: PropTypes.Validator<object>;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function FormBuilder(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
type FormBuildType = InferProps<typeof FormBuild.propTypes>;
|
|
16
|
+
export declare function FormBuild(props: FormBuildType): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare namespace FormBuild {
|
|
18
|
+
var propTypes: {
|
|
19
|
+
setFormData: PropTypes.Validator<(...args: any[]) => any>;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export type FormExtractorType = InferProps<typeof FormExtractor.propTypes>;
|
|
23
|
+
export declare function FormExtractor(props: FormExtractorType): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace FormExtractor {
|
|
25
|
+
var propTypes: {
|
|
26
|
+
url: PropTypes.Requireable<string>;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
type FormExtractUIType = InferProps<typeof FormExtractUI.propTypes>;
|
|
30
|
+
export declare function FormExtractUI(props: FormExtractUIType): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare namespace FormExtractUI {
|
|
32
|
+
var propTypes: {
|
|
33
|
+
setParentState: PropTypes.Validator<(...args: any[]) => any>;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
type FormExtractEngineType = InferProps<typeof FormExtractEngine.propTypes>;
|
|
37
|
+
export declare function FormExtractEngine(props: FormExtractEngineType): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export declare namespace FormExtractEngine {
|
|
39
|
+
var propTypes: {
|
|
40
|
+
url: PropTypes.Requireable<string>;
|
|
41
|
+
htmlPaste: PropTypes.Requireable<string>;
|
|
42
|
+
setFormData: PropTypes.Validator<(...args: any[]) => any>;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/form/form.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,YAAY,CAAC;AAcpB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CA+D/C;yBA/De,UAAU;;;;;;;;;AAmF1B,wBAAgB,WAAW,4CA4D1B;AAaD,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AAC5D,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAmF7C;yBAnFe,SAAS;;;;;AAgGzB,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAyCrD;yBAzCe,aAAa;;;;;AA8C7B,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AACpE,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAmCrD;yBAnCe,aAAa;;;;;AA0C7B,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AAC5E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAmL7D;yBAnLe,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.submit.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/form/form.submit.ts"],"names":[],"mappings":"AASA,wBAAsB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,iBA6BzE;AAID,wBAAsB,SAAS,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,iBAyBnE"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
import "./form.css";
|
|
3
|
+
export type FormLabelType = InferProps<typeof FormLabel.propTypes>;
|
|
4
|
+
declare function FormLabel(props: FormLabelType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace FormLabel {
|
|
6
|
+
var propTypes: {
|
|
7
|
+
id: PropTypes.Validator<string>;
|
|
8
|
+
label: PropTypes.Requireable<string>;
|
|
9
|
+
tooltip: PropTypes.Requireable<string>;
|
|
10
|
+
className: PropTypes.Requireable<string>;
|
|
11
|
+
};
|
|
12
|
+
var defaultProps: {
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
tooltip: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export type FormTooltipType = InferProps<typeof FormTooltip.propTypes>;
|
|
19
|
+
declare function FormTooltip(props: FormTooltipType): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare namespace FormTooltip {
|
|
21
|
+
var propTypes: {
|
|
22
|
+
id: PropTypes.Requireable<string>;
|
|
23
|
+
text: PropTypes.Requireable<string>;
|
|
24
|
+
className: PropTypes.Requireable<string>;
|
|
25
|
+
};
|
|
26
|
+
var defaultProps: {
|
|
27
|
+
id: string;
|
|
28
|
+
text: string;
|
|
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>;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export type FormInputType = InferProps<typeof FormInput.propTypes>;
|
|
40
|
+
export declare function FormInput(props: FormInputType): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare namespace FormInput {
|
|
42
|
+
var propTypes: {
|
|
43
|
+
type: PropTypes.Requireable<string>;
|
|
44
|
+
id: PropTypes.Validator<string>;
|
|
45
|
+
name: PropTypes.Requireable<string>;
|
|
46
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
47
|
+
value: PropTypes.Requireable<string>;
|
|
48
|
+
list: PropTypes.Requireable<string>;
|
|
49
|
+
listItems: PropTypes.Requireable<string>;
|
|
50
|
+
size: PropTypes.Requireable<string>;
|
|
51
|
+
maxLength: PropTypes.Requireable<string>;
|
|
52
|
+
placeholder: PropTypes.Requireable<string>;
|
|
53
|
+
autoComplete: PropTypes.Requireable<string>;
|
|
54
|
+
"aria-label": PropTypes.Requireable<string>;
|
|
55
|
+
min: PropTypes.Requireable<string>;
|
|
56
|
+
max: PropTypes.Requireable<string>;
|
|
57
|
+
step: PropTypes.Requireable<string>;
|
|
58
|
+
autoFocus: PropTypes.Requireable<string>;
|
|
59
|
+
disabled: PropTypes.Requireable<string>;
|
|
60
|
+
readOnly: PropTypes.Requireable<string>;
|
|
61
|
+
required: PropTypes.Requireable<string>;
|
|
62
|
+
display: PropTypes.Requireable<string>;
|
|
63
|
+
label: PropTypes.Requireable<string>;
|
|
64
|
+
tooltip: PropTypes.Requireable<string>;
|
|
65
|
+
className: PropTypes.Requireable<string>;
|
|
66
|
+
validate: PropTypes.Requireable<string>;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export type FormSelectType = InferProps<typeof FormSelect.propTypes>;
|
|
70
|
+
export declare function FormSelect(props: FormSelectType): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
export declare namespace FormSelect {
|
|
72
|
+
var propTypes: {
|
|
73
|
+
id: PropTypes.Validator<string>;
|
|
74
|
+
name: PropTypes.Requireable<string>;
|
|
75
|
+
size: PropTypes.Requireable<string>;
|
|
76
|
+
autoComplete: PropTypes.Requireable<string>;
|
|
77
|
+
defaultValue: PropTypes.Requireable<NonNullable<string | any[] | null | undefined>>;
|
|
78
|
+
autoFocus: PropTypes.Requireable<string>;
|
|
79
|
+
disabled: PropTypes.Requireable<string>;
|
|
80
|
+
multiple: PropTypes.Requireable<string>;
|
|
81
|
+
readOnly: PropTypes.Requireable<string>;
|
|
82
|
+
required: PropTypes.Requireable<string>;
|
|
83
|
+
options: PropTypes.Requireable<any[]>;
|
|
84
|
+
display: PropTypes.Requireable<string>;
|
|
85
|
+
label: PropTypes.Requireable<string>;
|
|
86
|
+
tooltip: PropTypes.Requireable<string>;
|
|
87
|
+
className: PropTypes.Requireable<string>;
|
|
88
|
+
validate: PropTypes.Requireable<string>;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export type FormSelectOptionType = InferProps<typeof FormSelectOption.propTypes>;
|
|
92
|
+
declare function FormSelectOption(props: FormSelectOptionType): import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
declare namespace FormSelectOption {
|
|
94
|
+
var propTypes: {
|
|
95
|
+
text: PropTypes.Requireable<string>;
|
|
96
|
+
value: PropTypes.Requireable<string>;
|
|
97
|
+
disabled: PropTypes.Requireable<string>;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
export type FormTextareaType = InferProps<typeof FormTextarea.propTypes>;
|
|
101
|
+
export declare function FormTextarea(props: FormTextareaType): import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
export declare namespace FormTextarea {
|
|
103
|
+
var propTypes: {
|
|
104
|
+
id: PropTypes.Validator<string>;
|
|
105
|
+
name: PropTypes.Requireable<string>;
|
|
106
|
+
rows: PropTypes.Requireable<string>;
|
|
107
|
+
cols: PropTypes.Requireable<string>;
|
|
108
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
109
|
+
maxLength: PropTypes.Requireable<number>;
|
|
110
|
+
placeholder: PropTypes.Requireable<string>;
|
|
111
|
+
autoComplete: PropTypes.Requireable<string>;
|
|
112
|
+
autoFocus: PropTypes.Requireable<string>;
|
|
113
|
+
disabled: PropTypes.Requireable<string>;
|
|
114
|
+
readOnly: PropTypes.Requireable<string>;
|
|
115
|
+
required: PropTypes.Requireable<string>;
|
|
116
|
+
display: PropTypes.Requireable<string>;
|
|
117
|
+
label: PropTypes.Requireable<string>;
|
|
118
|
+
tooltip: PropTypes.Requireable<string>;
|
|
119
|
+
className: PropTypes.Requireable<string>;
|
|
120
|
+
validate: PropTypes.Requireable<string>;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export type FormRadioType = InferProps<typeof FormRadio.propTypes>;
|
|
124
|
+
export declare function FormRadio(props: FormRadioType): import("react/jsx-runtime").JSX.Element;
|
|
125
|
+
export declare namespace FormRadio {
|
|
126
|
+
var propTypes: {
|
|
127
|
+
id: PropTypes.Validator<string>;
|
|
128
|
+
name: PropTypes.Validator<string>;
|
|
129
|
+
options: PropTypes.Requireable<any[]>;
|
|
130
|
+
autoFocus: PropTypes.Requireable<string>;
|
|
131
|
+
disabled: PropTypes.Requireable<string>;
|
|
132
|
+
readOnly: PropTypes.Requireable<string>;
|
|
133
|
+
required: PropTypes.Requireable<string>;
|
|
134
|
+
display: PropTypes.Requireable<string>;
|
|
135
|
+
label: PropTypes.Requireable<string>;
|
|
136
|
+
tooltip: PropTypes.Requireable<string>;
|
|
137
|
+
validate: PropTypes.Requireable<string>;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
export type FormRadioOptionType = InferProps<typeof FormRadioOption.propTypes>;
|
|
141
|
+
declare function FormRadioOption(props: FormRadioOptionType): import("react/jsx-runtime").JSX.Element;
|
|
142
|
+
declare namespace FormRadioOption {
|
|
143
|
+
var propTypes: {
|
|
144
|
+
name: PropTypes.Requireable<string>;
|
|
145
|
+
text: PropTypes.Requireable<string>;
|
|
146
|
+
value: PropTypes.Validator<string>;
|
|
147
|
+
checked: PropTypes.Requireable<string>;
|
|
148
|
+
parent: typeof FormRadio;
|
|
149
|
+
setIsValid: PropTypes.Requireable<(...args: any[]) => any>;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
export type FormCheckboxType = InferProps<typeof FormCheckbox.propTypes>;
|
|
153
|
+
export declare function FormCheckbox(props: FormCheckboxType): import("react/jsx-runtime").JSX.Element;
|
|
154
|
+
export declare namespace FormCheckbox {
|
|
155
|
+
var propTypes: {
|
|
156
|
+
id: PropTypes.Validator<string>;
|
|
157
|
+
name: PropTypes.Validator<string>;
|
|
158
|
+
options: PropTypes.Requireable<any[]>;
|
|
159
|
+
autoFocus: PropTypes.Requireable<string>;
|
|
160
|
+
disabled: PropTypes.Requireable<string>;
|
|
161
|
+
readOnly: PropTypes.Requireable<string>;
|
|
162
|
+
display: PropTypes.Requireable<string>;
|
|
163
|
+
label: PropTypes.Requireable<string>;
|
|
164
|
+
tooltip: PropTypes.Requireable<string>;
|
|
165
|
+
className: PropTypes.Requireable<string>;
|
|
166
|
+
validate: PropTypes.Requireable<string>;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
export type FormCheckboxOptionType = InferProps<typeof FormCheckboxOption.propTypes>;
|
|
170
|
+
declare function FormCheckboxOption(props: FormCheckboxOptionType): import("react/jsx-runtime").JSX.Element;
|
|
171
|
+
declare namespace FormCheckboxOption {
|
|
172
|
+
var propTypes: {
|
|
173
|
+
text: PropTypes.Validator<string>;
|
|
174
|
+
value: PropTypes.Validator<string>;
|
|
175
|
+
selected: PropTypes.Requireable<string>;
|
|
176
|
+
parent: typeof FormCheckbox;
|
|
177
|
+
setIsValid: PropTypes.Requireable<(...args: any[]) => any>;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
export type FormButtonType = InferProps<typeof FormButton.propTypes>;
|
|
181
|
+
export declare function FormButton(props: FormButtonType): import("react/jsx-runtime").JSX.Element;
|
|
182
|
+
export declare namespace FormButton {
|
|
183
|
+
var propTypes: {
|
|
184
|
+
type: PropTypes.Requireable<string>;
|
|
185
|
+
id: PropTypes.Validator<string>;
|
|
186
|
+
text: PropTypes.Requireable<string>;
|
|
187
|
+
className: PropTypes.Requireable<string>;
|
|
188
|
+
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
export type FormDataListType = InferProps<typeof FormDataList.propTypes>;
|
|
192
|
+
export declare function FormDataList(props: FormDataListType): import("react/jsx-runtime").JSX.Element;
|
|
193
|
+
export declare namespace FormDataList {
|
|
194
|
+
var propTypes: {
|
|
195
|
+
id: PropTypes.Validator<string>;
|
|
196
|
+
items: PropTypes.Requireable<any[]>;
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
export type FormFieldsetType = InferProps<typeof FormFieldset.propTypes>;
|
|
200
|
+
export declare function FormFieldset(): import("react/jsx-runtime").JSX.Element;
|
|
201
|
+
export declare namespace FormFieldset {
|
|
202
|
+
var propTypes: {};
|
|
203
|
+
}
|
|
204
|
+
export {};
|
|
205
|
+
//# sourceMappingURL=formcomponents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/form/formcomponents.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,YAAY,CAAC;AA6CpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,iBAAS,SAAS,CAAC,KAAK,EAAE,aAAa,2CAYtC;kBAZQ,SAAS;;;;;;;;;;;;;AA2BlB,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,iBAAS,WAAW,CAAC,KAAK,EAAE,eAAe,2CA2C1C;kBA3CQ,WAAW;;;;;;;;;;;AAqDpB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,iBAAS,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAO5C;kBAPQ,YAAY;;;;;;AA4CrB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0B7C;yBA1Be,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DzB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CA8B/C;yBA9Be,UAAU;;;;;;;;;;;;;;;;;;;;AA6C1B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAMpD;kBANQ,gBAAgB;;;;;;;AAoCzB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAkBnD;yBAlBe,YAAY;;;;;;;;;;;;;;;;;;;;;AAyC5B,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA2B7C;yBA3Be,SAAS;;;;;;;;;;;;;;;AA4CzB,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,iBAAS,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAalD;kBAbQ,eAAe;;;;;;;;;;AAmCxB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CA2BnD;yBA3Be,YAAY;;;;;;;;;;;;;;;AA6C5B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,iBAAS,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,2CAWxD;kBAXQ,kBAAkB;;;;;;;;;AA0B3B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAU/C;yBAVe,UAAU;;;;;;;;;AAuB1B,MAAM,MAAM,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,4CAI3B;yBAJe,YAAY"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const inputTypes: string[];
|
|
2
|
+
export declare const booleans: string[];
|
|
3
|
+
export declare const formURLs: string[];
|
|
4
|
+
export declare function getAllInvalidFields(): string[];
|
|
5
|
+
export declare function isOneChecked(field: {
|
|
6
|
+
id: string;
|
|
7
|
+
}): boolean;
|
|
8
|
+
export declare function isOneRadioSelected(field: {
|
|
9
|
+
name: string;
|
|
10
|
+
}): boolean;
|
|
11
|
+
export declare function isValidUSZipCode(field: {
|
|
12
|
+
value: string;
|
|
13
|
+
}): boolean;
|
|
14
|
+
export declare function isValidUSPhoneNumber(field: {
|
|
15
|
+
value: string;
|
|
16
|
+
}): boolean;
|
|
17
|
+
export declare function isValidEmailAddress(field: {
|
|
18
|
+
value: any;
|
|
19
|
+
}): boolean;
|
|
20
|
+
export declare function isValidDate(field: {
|
|
21
|
+
value: string | number | Date;
|
|
22
|
+
}): boolean;
|
|
23
|
+
export declare function isValidUrl(field: {
|
|
24
|
+
value: string | URL;
|
|
25
|
+
}): boolean;
|
|
26
|
+
export declare function isValidDiscountCode(field: {
|
|
27
|
+
value: string;
|
|
28
|
+
}): Promise<boolean | undefined>;
|
|
29
|
+
//# sourceMappingURL=formvalidations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formvalidations.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/form/formvalidations.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,UAItB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAoB,CAAC;AAE1C,eAAO,MAAM,QAAQ,UASpB,CAAC;AAEF,wBAAgB,mBAAmB,aASlC;AAED,wBAAgB,YAAY,CAAE,KAAK,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;CAAE,WAQnD;AAED,wBAAgB,kBAAkB,CAAE,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;CAAE,WAQ3D;AAED,wBAAgB,gBAAgB,CAAE,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;CAAE,WAI1D;AAED,wBAAgB,oBAAoB,CAAE,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;CAAE,WAI9D;AAED,wBAAgB,mBAAmB,CAAE,KAAK,EAAE;IAAE,KAAK,EAAE,GAAG,CAAC;CAAE,WAM1D;AAED,wBAAgB,WAAW,CAAE,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAAE,WAGrE;AAED,wBAAgB,UAAU,CAAE,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CAAE,WAO1D;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAE;CAAE,gCAE7D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ComponentData, FormData } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Component Generation Logic
|
|
4
|
+
* Handles form data extraction and component object creation
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Extracts component data from form submission event
|
|
8
|
+
*/
|
|
9
|
+
export declare function generateComponentObject(event: Event): {
|
|
10
|
+
component: ComponentData;
|
|
11
|
+
parentPath: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Generates form field configuration for a component
|
|
15
|
+
*/
|
|
16
|
+
export declare function generateFieldJSON(component: string, existingProps?: any, parentPath?: string): FormData;
|
|
17
|
+
//# sourceMappingURL=componentGeneration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentGeneration.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/lib/componentGeneration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIvD;;;GAGG;AAEH;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,GAAG;IACtD,SAAS,EAAE,aAAa,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAgDA;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,MAAM,EACjB,aAAa,CAAC,EAAE,GAAG,EACnB,UAAU,CAAC,EAAE,MAAM,GACjB,QAAQ,CAyDV"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PageHeader, PageSectionHeader } from "../../general/headers";
|
|
2
|
+
import { Callout } from "../../callout/callout";
|
|
3
|
+
import { PageSection, GridItem, FlexItem } from "../../general/layout";
|
|
4
|
+
/**
|
|
5
|
+
* Component registry and constants
|
|
6
|
+
*/
|
|
7
|
+
export declare const componentMap: {
|
|
8
|
+
"Page Header": typeof PageHeader;
|
|
9
|
+
"Page Section Header": typeof PageSectionHeader;
|
|
10
|
+
Callout: typeof Callout;
|
|
11
|
+
"Page Section": typeof PageSection;
|
|
12
|
+
"Grid Item": typeof GridItem;
|
|
13
|
+
"Flex Item": typeof FlexItem;
|
|
14
|
+
};
|
|
15
|
+
export declare const layoutComponents: string[];
|
|
16
|
+
export declare const componentTypes: string;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a component is a layout component (can have children)
|
|
19
|
+
*/
|
|
20
|
+
export declare function isLayoutComponent(componentName: string): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Get component type from the registry
|
|
23
|
+
*/
|
|
24
|
+
export declare function getComponentType(componentName: string): typeof Callout | typeof PageSection | typeof GridItem | typeof FlexItem | typeof PageHeader | typeof PageSectionHeader;
|
|
25
|
+
//# sourceMappingURL=componentMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/lib/componentMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEvE;;GAEG;AAEH,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAI5B,CAAC;AAEF,eAAO,MAAM,cAAc,QAAuC,CAAC;AAEnE;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,0HAErD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component metadata for form generation
|
|
3
|
+
*
|
|
4
|
+
* Imports const arrays from component files that are used in PropTypes.
|
|
5
|
+
* This ensures single source of truth - arrays are defined once in the component,
|
|
6
|
+
* used in PropTypes, generate TypeScript types via InferProps, and provide
|
|
7
|
+
* runtime values for form generation.
|
|
8
|
+
*/
|
|
9
|
+
export type PropMetadata = {
|
|
10
|
+
type: 'text' | 'number' | 'checkbox' | 'select' | 'object' | 'array' | 'function' | 'children';
|
|
11
|
+
options?: readonly string[];
|
|
12
|
+
required?: boolean;
|
|
13
|
+
default?: any;
|
|
14
|
+
description?: string;
|
|
15
|
+
};
|
|
16
|
+
export type ComponentMetadata = {
|
|
17
|
+
[propName: string]: PropMetadata;
|
|
18
|
+
};
|
|
19
|
+
export declare const componentMetadata: {
|
|
20
|
+
[componentName: string]: ComponentMetadata;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=componentMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentMetadata.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/lib/componentMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAYH,MAAM,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAC/F,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC/B,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE;IAAC,CAAC,aAAa,EAAE,MAAM,GAAG,iBAAiB,CAAA;CAuI1E,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PageBuilder-specific Contentful storage implementation
|
|
3
|
+
*
|
|
4
|
+
* Uses generic Contentful management functions with PageBuilder-specific logic
|
|
5
|
+
*/
|
|
6
|
+
import type { ContentfulConfig } from '../../cms/contentful.management';
|
|
7
|
+
import type { PageData } from './types';
|
|
8
|
+
import type { ListPagesResponse, LoadPageResponse, SavePageResponse, DeletePageResponse } from './pageStorageTypes';
|
|
9
|
+
/**
|
|
10
|
+
* List all saved pages
|
|
11
|
+
*/
|
|
12
|
+
export declare function listContentfulPages(config: ContentfulConfig): Promise<ListPagesResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Load a page by name
|
|
15
|
+
*/
|
|
16
|
+
export declare function loadContentfulPage(name: string, config: ContentfulConfig): Promise<LoadPageResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Save a page (create or update)
|
|
19
|
+
*/
|
|
20
|
+
export declare function saveContentfulPage(name: string, data: PageData, config: ContentfulConfig): Promise<SavePageResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Delete a page by name
|
|
23
|
+
*/
|
|
24
|
+
export declare function deleteContentfulPage(name: string, config: ContentfulConfig): Promise<DeletePageResponse>;
|
|
25
|
+
//# sourceMappingURL=pageStorageContentful.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageStorageContentful.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/lib/pageStorageContentful.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC;AAW5B;;GAEG;AACH,wBAAsB,mBAAmB,CACxC,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAoB5B;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CAgC3B;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CA6C3B;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACzC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,kBAAkB,CAAC,CAgC7B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { PageData } from './types';
|
|
2
|
+
import type { LoadPageResponse, ListPagesResponse, SavePageResponse, DeletePageResponse } from './pageStorageTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Validate page name (alphanumeric, dashes, underscores only)
|
|
5
|
+
*/
|
|
6
|
+
export declare function validatePageName(name: string): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* List all saved pages
|
|
9
|
+
*/
|
|
10
|
+
export declare function listPages(): Promise<ListPagesResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Load a page by name
|
|
13
|
+
*/
|
|
14
|
+
export declare function loadPage(name: string): Promise<LoadPageResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Save a page
|
|
17
|
+
*/
|
|
18
|
+
export declare function savePage(name: string, data: PageData): Promise<SavePageResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Delete a page
|
|
21
|
+
*/
|
|
22
|
+
export declare function deletePage(name: string): Promise<DeletePageResponse>;
|
|
23
|
+
//# sourceMappingURL=pageStorageLocal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageStorageLocal.d.ts","sourceRoot":"","sources":["../../../../../src/components/pagebuilder/lib/pageStorageLocal.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EACX,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC;AAqB5B;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAGtD;AAED;;GAEG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAoB5D;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAgCtE;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,CA2BtF;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA+B1E"}
|