@gem-sdk/components 2.0.0-staging.910 → 2.0.0-staging.912
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/collection/settings/collection-banner/configs/settings.js +1 -1
- package/dist/cjs/form/components/contact/common/classes.js +1 -1
- package/dist/cjs/form/settings/contact/configs/inits.js +1 -1
- package/dist/cjs/form/settings/contact/configs/settings.js +1 -1
- package/dist/cjs/form/settings/contact/configs/ui-v2.js +1 -1
- package/dist/cjs/form/settings/newsletter/configs/inits.js +1 -1
- package/dist/cjs/form/settings/newsletter/configs/settings.js +1 -1
- package/dist/cjs/form/settings/newsletter/configs/ui-v2.js +1 -1
- package/dist/esm/collection/settings/collection-banner/configs/settings.js +1 -1
- package/dist/esm/form/components/contact/common/classes.js +1 -1
- package/dist/esm/form/settings/contact/configs/inits.js +1 -1
- package/dist/esm/form/settings/contact/configs/settings.js +1 -1
- package/dist/esm/form/settings/contact/configs/ui-v2.js +1 -1
- package/dist/esm/form/settings/newsletter/configs/inits.js +1 -1
- package/dist/esm/form/settings/newsletter/configs/settings.js +1 -1
- package/dist/esm/form/settings/newsletter/configs/ui-v2.js +1 -1
- package/package.json +2 -2
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.08398 6C5.08398 6.82843 5.75556 7.5 6.58398 7.5H11.584C12.4124 7.5 13.084 6.82843 13.084 6V5C13.084 4.17157 12.4124 3.5 11.584 3.5L6.58398 3.5C5.75556 3.5 5.08398 4.17157 5.08398 5V6ZM6.58398 6.5C6.30784 6.5 6.08398 6.27614 6.08398 6V5C6.08398 4.72386 6.30784 4.5 6.58398 4.5L11.584 4.5C11.8601 4.5 12.084 4.72386 12.084 5V6C12.084 6.27614 11.8601 6.5 11.584 6.5H6.58398Z" fill="currentColor"/>
|
|
12
12
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
|
|
13
13
|
</svg>
|
|
14
|
-
`,iconName:"gp-justify-content-bottom"}],devices:{desktop:{default:"start"}}},{id:"verticalAlign",type:"option:value",options:[{label:"Start",value:"start",iconName:"gp-align-top",tooltip:"Align top"},{label:"Center",value:"center",iconName:"gp-align-center-vertical",tooltip:"Align center"},{label:"End",value:"end",iconName:"gp-align-bottom",tooltip:"Align bottom"},{label:"Between",value:"space-between",tooltip:"Distribute vertical spacing",iconName:"gp-justify-content-space-between"}],devices:{desktop:{default:"start"}}},{id:"content-dimension-group",type:"group",label:"Content Dimension",controls:[{id:"fixedMode",type:"toggle",default:!1},{id:"height",label:"Height",type:"input:unit",units:["px"],placeholder:"Auto",devices:{desktop:{default:"500px"}},info:"Full Width: To set Hero Banner full width, first you drag & drop a Section element from left sidebar, then make it full-width, after that you put your Hero Banner inside Section you have created."},{id:"contentPosition",label:"Content Position",type:"option:value",options:[{label:"Start",value:"top",tooltip:"Align top",iconName:"gp-align-top"},{label:"Center",value:"center",tooltip:"Align vertical center",iconName:"gp-align-center-vertical"},{label:"End",value:"bottom",tooltip:"Align bottom",iconName:"gp-align-bottom"}],default:"center"},{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0},tablet:{default:!0},mobile:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px"],devices:{desktop:{default:"1200px"}}},{id:"verticalGutter",type:"input:slider",units:["px"],min:0,max:120,ignoreMax:!0,label:"Spacing",devices:{desktop:{default:"32px"}}}]},{id:"image-info",label:"Image",type:"group",controls:[{id:"background",type:"background-image",ignoreReRender:!0,isBackground:!0,isHideClear:!0,devices:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"hoverEffect",label:"Hover effect",type:"option:value",options:[{label:"None",value:"none"},{label:"Zoom",value:"zoom"}],default:"none"},{id:"hoverScale",type:"input:slider",label:"Zoom Value",units:["%"],min:100,max:200,step:1,default:110,useOnlyUnitInit:!0,isNumber:!0},{id:"hoverDuration",type:"input:unit",label:"Zoom Time",min:0,units:["s"],default:"0.5",useOnlyUnitInit:!0,isNumber:!0}]},{id:"overlay",label:"Overlay",type:"group",controls:[{id:"overlayOpacity",label:"Opacity",type:"input:slider",min:0,max:100,units:["%"],step:1,default:{normal:"20%"},state:{normal:!0,hover:!0}},{id:"overlayColor",label:"Color",type:"color-picker-v2",default:{normal:"#121212"},state:{normal:!0,hover:!0}}]}]}];exports.CollectionBannerSettings=CollectionBannerSettings;
|
|
14
|
+
`,iconName:"gp-justify-content-bottom"}],devices:{desktop:{default:"start"}}},{id:"verticalAlign",type:"option:value",options:[{label:"Start",value:"start",iconName:"gp-align-top",tooltip:"Align top"},{label:"Center",value:"center",iconName:"gp-align-center-vertical",tooltip:"Align center"},{label:"End",value:"end",iconName:"gp-align-bottom",tooltip:"Align bottom"},{label:"Between",value:"space-between",tooltip:"Distribute vertical spacing",iconName:"gp-justify-content-space-between"}],devices:{desktop:{default:"start"}}},{id:"content-dimension-group",type:"group",label:"Content Dimension",controls:[{id:"fixedMode",type:"toggle",default:!1},{id:"height",label:"Height",type:"input:unit",units:["px"],placeholder:"Auto",devices:{desktop:{default:"500px"}},info:"Full Width: To set Hero Banner full width, first you drag & drop a Section element from left sidebar, then make it full-width, after that you put your Hero Banner inside Section you have created."},{id:"contentPosition",label:"Content Position",type:"option:value",options:[{label:"Start",value:"top",tooltip:"Align top",iconName:"gp-align-top"},{label:"Center",value:"center",tooltip:"Align vertical center",iconName:"gp-align-center-vertical"},{label:"End",value:"bottom",tooltip:"Align bottom",iconName:"gp-align-bottom"}],default:"center"},{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0},tablet:{default:!0},mobile:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px"],devices:{desktop:{default:"1200px"}}},{id:"verticalGutter",type:"input:slider",units:["px"],min:0,max:120,ignoreMax:!0,label:"Spacing",devices:{desktop:{default:"32px"}}}]},{id:"image-info",label:"Image",type:"group",controls:[{id:"background",type:"background-image",ignoreReRender:!0,isBackground:!0,isHideClear:!0,fixedDisplayValue:"Collection image",devices:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"hoverEffect",label:"Hover effect",type:"option:value",options:[{label:"None",value:"none"},{label:"Zoom",value:"zoom"}],default:"none"},{id:"hoverScale",type:"input:slider",label:"Zoom Value",units:["%"],min:100,max:200,step:1,default:110,useOnlyUnitInit:!0,isNumber:!0},{id:"hoverDuration",type:"input:unit",label:"Zoom Time",min:0,units:["s"],default:"0.5",useOnlyUnitInit:!0,isNumber:!0}]},{id:"overlay",label:"Overlay",type:"group",controls:[{id:"overlayOpacity",label:"Opacity",type:"input:slider",min:0,max:100,units:["%"],step:1,default:{normal:"20%"},state:{normal:!0,hover:!0}},{id:"overlayColor",label:"Color",type:"color-picker-v2",default:{normal:"#121212"},state:{normal:!0,hover:!0}}]}]}];exports.CollectionBannerSettings=CollectionBannerSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var helpers=require("../../../common/helpers.js");const composeClasses=s=>helpers.filterTruthy(s),composeContainerClasses=()=>composeClasses({"gp-mx-auto":!0});exports.composeContainerClasses=composeContainerClasses;
|
|
1
|
+
"use strict";var helpers=require("../../../common/helpers.js");const composeClasses=s=>helpers.filterTruthy(s),composeContainerClasses=()=>composeClasses({"gp-mx-auto gp-max-w-full":!0});exports.composeContainerClasses=composeContainerClasses;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const contactInitConfig=[{tag:"ContactForm",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px",left:"",right:""}}
|
|
1
|
+
"use strict";const contactInitConfig=[{tag:"ContactForm",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px",left:"",right:""}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},childrens:[{tag:"Row",settings:{layout:{desktop:{cols:[6,6],display:"fill"},mobile:{cols:[12]}}},styles:{verticalGutter:{desktop:"16px",mobile:"0px"},fullWidth:{desktop:!0}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"16px"}},tablet:{margin:{bottom:"16px"}},mobile:{margin:{bottom:"0px"}}}},childrens:[{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Name"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"TextField",settings:{name:"contact[name]",placeholder:"Name"},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"0"}},mobile:{margin:{bottom:"var(--g-s-l)"}}},border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]},{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Email"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"FormEmail",settings:{placeholder:"Email"},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"0"}},mobile:{margin:{bottom:"var(--g-s-l)"}}},border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]},{tag:"Row",settings:{layout:{desktop:{cols:[12],display:"fill"},mobile:{cols:[12]}}},styles:{verticalGutter:{desktop:"16px",mobile:"0px"},fullWidth:{desktop:!0}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"16px"}},tablet:{margin:{bottom:"16px"}},mobile:{margin:{bottom:"16px"}}}},childrens:[{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Phone"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"TextField",settings:{name:"contact[phone]",placeholder:"Phone"},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]},{tag:"Row",settings:{layout:{desktop:{cols:[12],display:"fill"},mobile:{cols:[12]}}},styles:{verticalGutter:{desktop:"16px",mobile:"0px"},fullWidth:{desktop:!0}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"16px"}},tablet:{margin:{bottom:"16px"}},mobile:{margin:{bottom:"16px"}}}},childrens:[{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Message"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"FormTextarea",name:"contact[message]",settings:{placeholder:"Message"},globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]},{tag:"SubmitButton",settings:{label:"Submit"},styles:{roundedBtn:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}},width:{desktop:"120px"}}}]}];exports.contactInitConfig=contactInitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ContactSettings=[{id:"setting",controls:[{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for contacting us. We'll get back to you as soon as possible.",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for contacting us. We'll get back to you as soon as possible."},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2"}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0},{id:"afterSubmitActionToggle",type:"toggle",label:"Action after submit",devices:{desktop:{default:!1}}},{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"1200px",height:"Auto"}},
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const ContactSettings=[{id:"setting",controls:[{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for contacting us. We'll get back to you as soon as possible.",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for contacting us. We'll get back to you as soon as possible."},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2"}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0},{id:"afterSubmitActionToggle",type:"toggle",label:"Action after submit",devices:{desktop:{default:!1}}},{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"1200px",height:"Auto"}},tablet:{default:{width:"100%"}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["shape","gap"]}]}];exports.default=ContactSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const SettingUIV2=[{messageConfig:{type:"info",message:'This element sends submissions to <a class="
|
|
1
|
+
"use strict";const SettingUIV2=[{messageConfig:{type:"info",message:'This element sends submissions to <a class="text-white" target="_blank" href="https://help.shopify.com/en/manual/customers/manage-customers#email-customers">the sender email address</a>'}},{label:{en:"Message"},controls:[{type:"combo",label:{en:"Success"},iconName:"polaris-text-block",getValueFromSettingID:"successMessage",compoDefaultValue:"Thanks for contacting us. We'll get back to you as soon as possible.",isHideClear:!0,disableScrollbar:!0,popoverLabel:{en:"Success message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"successMessage"}},{setting:{id:"successColor"},label:{en:"Color"}}]},{type:"combo",label:{en:"Error"},iconName:"polaris-text-block",getValueFromSettingID:"errorMessage",isHideClear:!0,disableScrollbar:!0,compoDefaultValue:"Can’t send email. Please try again later.",popoverLabel:{en:"Error message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"errorMessage"}},{setting:{id:"errorColor"},label:{en:"Color"}}]}]},{label:{en:"Size"},controls:[{id:"Width",label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"}}}]},{label:{en:"Background"},controls:[{setting:{id:"background"},layout:"vertical"}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:{en:"Action after submit"},controls:[{layout:"vertical",setting:{id:"callbackURL"}}]}];exports.SettingUIV2=SettingUIV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const newsletterInitConfig=[{tag:"Newsletter",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},boxShadow:{desktop:{normal:{type:"shadow-2",distance:"12px",blur:"12px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1}}}},childrens:[{tag:"Row",settings:{layout:{desktop:{cols:[9,3],display:"fill"}},horizontalAlign:{desktop:"center"}},styles:{width:{desktop:"100%"},verticalGutter:{desktop:"0px",mobile:"0px"}},childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"FormEmail",settings:{placeholder:"Email",fullWidth:{desktop:!1,tablet:!1},width:{desktop:"313px",tablet:"313px"}},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]},{tag:"Col",settings:{},advanced:{},childrens:[{tag:"SubmitButton",settings:{label:"Submit"},styles:{globalSize:{desktop:{width:"100%"}},borderBtn:{normal:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"},hover:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"}},roundedBtn:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]}]}];exports.newsletterInitConfig=newsletterInitConfig;
|
|
1
|
+
"use strict";const newsletterInitConfig=[{tag:"Newsletter",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},boxShadow:{desktop:{normal:{type:"shadow-2",distance:"12px",blur:"12px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1}}}},childrens:[{tag:"Row",settings:{layout:{desktop:{cols:[9,3],display:"fill"},mobile:{cols:[9,3],display:"fit"}},horizontalAlign:{desktop:"center"}},styles:{width:{desktop:"100%"},verticalGutter:{desktop:"0px",mobile:"0px"}},childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"FormEmail",settings:{placeholder:"Email",fullWidth:{desktop:!1,tablet:!1},width:{desktop:"313px",tablet:"313px"}},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]},{tag:"Col",settings:{},advanced:{},childrens:[{tag:"SubmitButton",settings:{label:"Submit"},styles:{globalSize:{desktop:{width:"100%"}},borderBtn:{normal:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"},hover:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"}},roundedBtn:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]}]}];exports.newsletterInitConfig=newsletterInitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const NewsletterSettings=[{id:"setting",controls:[{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"},{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for subscribing",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for subscribing"},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2",image:{src:"https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/",width:1200,height:480},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll",preload:!1}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"480px",height:"Auto"}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["shape","gap"]},{id:"border",type:"border-v2",devices:{desktop:{default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#121212",isCustom:!0}}},compoDefaultValue:{desktop:{default:{border:"solid",color:"#121212",width:"1px",borderWidth:"1px"}}}},{id:"rounded",type:"corner-v2",devices:{desktop:{default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},compoDefaultValue:{desktop:{default:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}},{id:"boxShadow",type:"shadow-v2"}]}];exports.default=NewsletterSettings;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const NewsletterSettings=[{id:"setting",controls:[{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"},{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for subscribing",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for subscribing"},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2",image:{src:"https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/",width:1200,height:480},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll",preload:!1}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"480px",height:"Auto"}},mobile:{default:{width:"100%"}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["shape","gap"]},{id:"border",type:"border-v2",devices:{desktop:{default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#121212",isCustom:!0}}},compoDefaultValue:{desktop:{default:{border:"solid",color:"#121212",width:"1px",borderWidth:"1px"}}}},{id:"rounded",type:"corner-v2",devices:{desktop:{default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},compoDefaultValue:{desktop:{default:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}},{id:"boxShadow",type:"shadow-v2"}]}];exports.default=NewsletterSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const SettingUIV2=[{messageConfig:{type:"info",message:'You can manage collected email in <a class="
|
|
1
|
+
"use strict";const SettingUIV2=[{messageConfig:{type:"info",message:'You can manage collected email in <a class="text-white" target="_blank" href="https://admin.shopify.com/customers">Customers</a>'}},{label:{en:"Message"},controls:[{type:"combo",label:{en:"Success"},iconName:"polaris-text-block",getValueFromSettingID:"successMessage",isHideClear:!0,disableScrollbar:!0,compoDefaultValue:"Thanks for subscribing",popoverLabel:{en:"Success message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"successMessage"}},{setting:{id:"successColor"},label:{en:"Color"}}]},{type:"combo",label:{en:"Error"},iconName:"polaris-text-block",getValueFromSettingID:"errorMessage",isHideClear:!0,disableScrollbar:!0,compoDefaultValue:"Can’t send email. Please try again later.",popoverLabel:{en:"Error message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"errorMessage"}},{setting:{id:"errorColor"},label:{en:"Color"}}]}]},{label:{en:"Size"},controls:[{id:"Width",label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"}]},{label:{en:"Background"},controls:[{setting:{id:"background"},layout:"vertical"}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:{en:"Action after submit"},controls:[{layout:"vertical",setting:{id:"callbackURL"}}]}];exports.SettingUIV2=SettingUIV2;
|
|
@@ -11,4 +11,4 @@ let CollectionBannerSettings=[{id:"setting",controls:[{id:"layout",type:"layout"
|
|
|
11
11
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.08398 6C5.08398 6.82843 5.75556 7.5 6.58398 7.5H11.584C12.4124 7.5 13.084 6.82843 13.084 6V5C13.084 4.17157 12.4124 3.5 11.584 3.5L6.58398 3.5C5.75556 3.5 5.08398 4.17157 5.08398 5V6ZM6.58398 6.5C6.30784 6.5 6.08398 6.27614 6.08398 6V5C6.08398 4.72386 6.30784 4.5 6.58398 4.5L11.584 4.5C11.8601 4.5 12.084 4.72386 12.084 5V6C12.084 6.27614 11.8601 6.5 11.584 6.5H6.58398Z" fill="currentColor"/>
|
|
12
12
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
|
|
13
13
|
</svg>
|
|
14
|
-
`,iconName:"gp-justify-content-bottom"}],devices:{desktop:{default:"start"}}},{id:"verticalAlign",type:"option:value",options:[{label:"Start",value:"start",iconName:"gp-align-top",tooltip:"Align top"},{label:"Center",value:"center",iconName:"gp-align-center-vertical",tooltip:"Align center"},{label:"End",value:"end",iconName:"gp-align-bottom",tooltip:"Align bottom"},{label:"Between",value:"space-between",tooltip:"Distribute vertical spacing",iconName:"gp-justify-content-space-between"}],devices:{desktop:{default:"start"}}},{id:"content-dimension-group",type:"group",label:"Content Dimension",controls:[{id:"fixedMode",type:"toggle",default:!1},{id:"height",label:"Height",type:"input:unit",units:["px"],placeholder:"Auto",devices:{desktop:{default:"500px"}},info:"Full Width: To set Hero Banner full width, first you drag & drop a Section element from left sidebar, then make it full-width, after that you put your Hero Banner inside Section you have created."},{id:"contentPosition",label:"Content Position",type:"option:value",options:[{label:"Start",value:"top",tooltip:"Align top",iconName:"gp-align-top"},{label:"Center",value:"center",tooltip:"Align vertical center",iconName:"gp-align-center-vertical"},{label:"End",value:"bottom",tooltip:"Align bottom",iconName:"gp-align-bottom"}],default:"center"},{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0},tablet:{default:!0},mobile:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px"],devices:{desktop:{default:"1200px"}}},{id:"verticalGutter",type:"input:slider",units:["px"],min:0,max:120,ignoreMax:!0,label:"Spacing",devices:{desktop:{default:"32px"}}}]},{id:"image-info",label:"Image",type:"group",controls:[{id:"background",type:"background-image",ignoreReRender:!0,isBackground:!0,isHideClear:!0,devices:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"hoverEffect",label:"Hover effect",type:"option:value",options:[{label:"None",value:"none"},{label:"Zoom",value:"zoom"}],default:"none"},{id:"hoverScale",type:"input:slider",label:"Zoom Value",units:["%"],min:100,max:200,step:1,default:110,useOnlyUnitInit:!0,isNumber:!0},{id:"hoverDuration",type:"input:unit",label:"Zoom Time",min:0,units:["s"],default:"0.5",useOnlyUnitInit:!0,isNumber:!0}]},{id:"overlay",label:"Overlay",type:"group",controls:[{id:"overlayOpacity",label:"Opacity",type:"input:slider",min:0,max:100,units:["%"],step:1,default:{normal:"20%"},state:{normal:!0,hover:!0}},{id:"overlayColor",label:"Color",type:"color-picker-v2",default:{normal:"#121212"},state:{normal:!0,hover:!0}}]}]}];export{CollectionBannerSettings};
|
|
14
|
+
`,iconName:"gp-justify-content-bottom"}],devices:{desktop:{default:"start"}}},{id:"verticalAlign",type:"option:value",options:[{label:"Start",value:"start",iconName:"gp-align-top",tooltip:"Align top"},{label:"Center",value:"center",iconName:"gp-align-center-vertical",tooltip:"Align center"},{label:"End",value:"end",iconName:"gp-align-bottom",tooltip:"Align bottom"},{label:"Between",value:"space-between",tooltip:"Distribute vertical spacing",iconName:"gp-justify-content-space-between"}],devices:{desktop:{default:"start"}}},{id:"content-dimension-group",type:"group",label:"Content Dimension",controls:[{id:"fixedMode",type:"toggle",default:!1},{id:"height",label:"Height",type:"input:unit",units:["px"],placeholder:"Auto",devices:{desktop:{default:"500px"}},info:"Full Width: To set Hero Banner full width, first you drag & drop a Section element from left sidebar, then make it full-width, after that you put your Hero Banner inside Section you have created."},{id:"contentPosition",label:"Content Position",type:"option:value",options:[{label:"Start",value:"top",tooltip:"Align top",iconName:"gp-align-top"},{label:"Center",value:"center",tooltip:"Align vertical center",iconName:"gp-align-center-vertical"},{label:"End",value:"bottom",tooltip:"Align bottom",iconName:"gp-align-bottom"}],default:"center"},{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0},tablet:{default:!0},mobile:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px"],devices:{desktop:{default:"1200px"}}},{id:"verticalGutter",type:"input:slider",units:["px"],min:0,max:120,ignoreMax:!0,label:"Spacing",devices:{desktop:{default:"32px"}}}]},{id:"image-info",label:"Image",type:"group",controls:[{id:"background",type:"background-image",ignoreReRender:!0,isBackground:!0,isHideClear:!0,fixedDisplayValue:"Collection image",devices:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"image",image:{src:"https://cdn.shopify.com/s/files/1/0533/2089/files/placeholder-images-lifestyle-2_large.png",width:1920,height:900},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"hoverEffect",label:"Hover effect",type:"option:value",options:[{label:"None",value:"none"},{label:"Zoom",value:"zoom"}],default:"none"},{id:"hoverScale",type:"input:slider",label:"Zoom Value",units:["%"],min:100,max:200,step:1,default:110,useOnlyUnitInit:!0,isNumber:!0},{id:"hoverDuration",type:"input:unit",label:"Zoom Time",min:0,units:["s"],default:"0.5",useOnlyUnitInit:!0,isNumber:!0}]},{id:"overlay",label:"Overlay",type:"group",controls:[{id:"overlayOpacity",label:"Opacity",type:"input:slider",min:0,max:100,units:["%"],step:1,default:{normal:"20%"},state:{normal:!0,hover:!0}},{id:"overlayColor",label:"Color",type:"color-picker-v2",default:{normal:"#121212"},state:{normal:!0,hover:!0}}]}]}];export{CollectionBannerSettings};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{filterTruthy as s}from"../../../common/helpers.js";let composeClasses=o=>s(o),composeContainerClasses=()=>composeClasses({"gp-mx-auto":!0});export{composeContainerClasses};
|
|
1
|
+
import{filterTruthy as s}from"../../../common/helpers.js";let composeClasses=o=>s(o),composeContainerClasses=()=>composeClasses({"gp-mx-auto gp-max-w-full":!0});export{composeContainerClasses};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let contactInitConfig=[{tag:"ContactForm",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px",left:"",right:""}}
|
|
1
|
+
let contactInitConfig=[{tag:"ContactForm",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px",left:"",right:""}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},childrens:[{tag:"Row",settings:{layout:{desktop:{cols:[6,6],display:"fill"},mobile:{cols:[12]}}},styles:{verticalGutter:{desktop:"16px",mobile:"0px"},fullWidth:{desktop:!0}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"16px"}},tablet:{margin:{bottom:"16px"}},mobile:{margin:{bottom:"0px"}}}},childrens:[{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Name"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"TextField",settings:{name:"contact[name]",placeholder:"Name"},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"0"}},mobile:{margin:{bottom:"var(--g-s-l)"}}},border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]},{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Email"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"FormEmail",settings:{placeholder:"Email"},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"0"}},mobile:{margin:{bottom:"var(--g-s-l)"}}},border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]},{tag:"Row",settings:{layout:{desktop:{cols:[12],display:"fill"},mobile:{cols:[12]}}},styles:{verticalGutter:{desktop:"16px",mobile:"0px"},fullWidth:{desktop:!0}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"16px"}},tablet:{margin:{bottom:"16px"}},mobile:{margin:{bottom:"16px"}}}},childrens:[{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Phone"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"TextField",settings:{name:"contact[phone]",placeholder:"Phone"},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]},{tag:"Row",settings:{layout:{desktop:{cols:[12],display:"fill"},mobile:{cols:[12]}}},styles:{verticalGutter:{desktop:"16px",mobile:"0px"},fullWidth:{desktop:!0}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"16px"}},tablet:{margin:{bottom:"16px"}},mobile:{margin:{bottom:"16px"}}}},childrens:[{tag:"Col",childrens:[{tag:"Text",label:"Text Block",settings:{text:"Message"},styles:{typo:{type:"paragraph-1",attrs:{color:"text-1"}},textAlign:{desktop:"left"},align:{desktop:"left"}},advanced:{"spacing-setting":{edited:["desktop"],desktop:{margin:{bottom:"0px"}},tablet:{margin:{bottom:"0px"}},mobile:{margin:{bottom:"0px"}}},op:{desktop:"100%"}}},{tag:"FormTextarea",name:"contact[message]",settings:{placeholder:"Message"},globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]},{tag:"SubmitButton",settings:{label:"Submit"},styles:{roundedBtn:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}},width:{desktop:"120px"}}}]}];export{contactInitConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let ContactSettings=[{id:"setting",controls:[{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for contacting us. We'll get back to you as soon as possible.",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for contacting us. We'll get back to you as soon as possible."},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2"}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0},{id:"afterSubmitActionToggle",type:"toggle",label:"Action after submit",devices:{desktop:{default:!1}}},{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"1200px",height:"Auto"}},
|
|
1
|
+
let ContactSettings=[{id:"setting",controls:[{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for contacting us. We'll get back to you as soon as possible.",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for contacting us. We'll get back to you as soon as possible."},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2"}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0},{id:"afterSubmitActionToggle",type:"toggle",label:"Action after submit",devices:{desktop:{default:!1}}},{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"1200px",height:"Auto"}},tablet:{default:{width:"100%"}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["shape","gap"]}]}];export{ContactSettings as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let SettingUIV2=[{messageConfig:{type:"info",message:'This element sends submissions to <a class="
|
|
1
|
+
let SettingUIV2=[{messageConfig:{type:"info",message:'This element sends submissions to <a class="text-white" target="_blank" href="https://help.shopify.com/en/manual/customers/manage-customers#email-customers">the sender email address</a>'}},{label:{en:"Message"},controls:[{type:"combo",label:{en:"Success"},iconName:"polaris-text-block",getValueFromSettingID:"successMessage",compoDefaultValue:"Thanks for contacting us. We'll get back to you as soon as possible.",isHideClear:!0,disableScrollbar:!0,popoverLabel:{en:"Success message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"successMessage"}},{setting:{id:"successColor"},label:{en:"Color"}}]},{type:"combo",label:{en:"Error"},iconName:"polaris-text-block",getValueFromSettingID:"errorMessage",isHideClear:!0,disableScrollbar:!0,compoDefaultValue:"Can’t send email. Please try again later.",popoverLabel:{en:"Error message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"errorMessage"}},{setting:{id:"errorColor"},label:{en:"Color"}}]}]},{label:{en:"Size"},controls:[{id:"Width",label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0}]},layout:"horizontal"},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"}}}]},{label:{en:"Background"},controls:[{setting:{id:"background"},layout:"vertical"}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:{en:"Action after submit"},controls:[{layout:"vertical",setting:{id:"callbackURL"}}]}];export{SettingUIV2};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let newsletterInitConfig=[{tag:"Newsletter",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},boxShadow:{desktop:{normal:{type:"shadow-2",distance:"12px",blur:"12px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1}}}},childrens:[{tag:"Row",settings:{layout:{desktop:{cols:[9,3],display:"fill"}},horizontalAlign:{desktop:"center"}},styles:{width:{desktop:"100%"},verticalGutter:{desktop:"0px",mobile:"0px"}},childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"FormEmail",settings:{placeholder:"Email",fullWidth:{desktop:!1,tablet:!1},width:{desktop:"313px",tablet:"313px"}},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]},{tag:"Col",settings:{},advanced:{},childrens:[{tag:"SubmitButton",settings:{label:"Submit"},styles:{globalSize:{desktop:{width:"100%"}},borderBtn:{normal:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"},hover:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"}},roundedBtn:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]}]}];export{newsletterInitConfig};
|
|
1
|
+
let newsletterInitConfig=[{tag:"Newsletter",advanced:{"spacing-setting":{desktop:{padding:{top:"24px",bottom:"24px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},boxShadow:{desktop:{normal:{type:"shadow-2",distance:"12px",blur:"12px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1}}}},childrens:[{tag:"Row",settings:{layout:{desktop:{cols:[9,3],display:"fill"},mobile:{cols:[9,3],display:"fit"}},horizontalAlign:{desktop:"center"}},styles:{width:{desktop:"100%"},verticalGutter:{desktop:"0px",mobile:"0px"}},childrens:[{tag:"Col",settings:{},styles:{},childrens:[{tag:"FormEmail",settings:{placeholder:"Email",fullWidth:{desktop:!1,tablet:!1},width:{desktop:"313px",tablet:"313px"}},styles:{globalSize:{desktop:{width:"100%",height:"Auto",padding:{type:"medium",top:"12px",bottom:"12px",left:"12px",right:"12px"}}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]},{tag:"Col",settings:{},advanced:{},childrens:[{tag:"SubmitButton",settings:{label:"Submit"},styles:{globalSize:{desktop:{width:"100%"}},borderBtn:{normal:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"},hover:{borderType:"none",border:"none",width:"1px 1px 1px 1px",isCustom:!0,borderLabel:"Style 2"}},roundedBtn:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},advanced:{border:{desktop:{normal:{borderType:"style-2",borderLabel:"Style 2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px"}}},rounded:{desktop:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}}}]}]}]}];export{newsletterInitConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let NewsletterSettings=[{id:"setting",controls:[{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"},{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for subscribing",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for subscribing"},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2",image:{src:"https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/",width:1200,height:480},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll",preload:!1}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"480px",height:"Auto"}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["shape","gap"]},{id:"border",type:"border-v2",devices:{desktop:{default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#121212",isCustom:!0}}},compoDefaultValue:{desktop:{default:{border:"solid",color:"#121212",width:"1px",borderWidth:"1px"}}}},{id:"rounded",type:"corner-v2",devices:{desktop:{default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},compoDefaultValue:{desktop:{default:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}},{id:"boxShadow",type:"shadow-v2"}]}];export{NewsletterSettings as default};
|
|
1
|
+
let NewsletterSettings=[{id:"setting",controls:[{id:"afterSubmitAction",type:"select",options:[{label:"Stay on page",value:"stay-on-page"},{label:"Open URL",value:"open-url"}],default:"stay-on-page"},{id:"callbackURL",type:"pick-link",label:"Pick Link",customLabel:{en:"Action"},default:{type:"stay-on-page",link:"",target:"_self"}},{id:"successMessage",type:"textarea",label:"Success Message",default:"Thanks for subscribing",autoHeight:!0,minHeight:58,compoDefaultValue:"Thanks for subscribing"},{id:"successColor",type:"color-picker-v2",label:"Color",default:"#00A042",compoDefaultValue:"#00A042"},{id:"errorMessage",type:"textarea",label:"Error Message",default:"Can’t send email. Please try again later.",autoHeight:!0,minHeight:58,compoDefaultValue:"Can’t send email. Please try again later."},{id:"errorColor",type:"color-picker-v2",label:"Color",default:"#F44336",compoDefaultValue:"#F44336"},{id:"translate",type:"input",default:"successMessage,errorMessage"},{id:"background",type:"background-media",ignoreReRender:!0,hideImage:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#E2E2E2",image:{src:"https://ucarecdn.com/06075225-af9e-460c-8e3c-6be63c0b773a/-/format/auto/",width:1200,height:480},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll",preload:!1}}}},{id:"width",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"480px"}}},{id:"size",label:"Field size",type:"size",default:{type:"medium"},ignoreReRender:!0}]},{id:"style",controls:[{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"480px",height:"Auto"}},mobile:{default:{width:"100%"}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["shape","gap"]},{id:"border",type:"border-v2",devices:{desktop:{default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#121212",isCustom:!0}}},compoDefaultValue:{desktop:{default:{border:"solid",color:"#121212",width:"1px",borderWidth:"1px"}}}},{id:"rounded",type:"corner-v2",devices:{desktop:{default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},compoDefaultValue:{desktop:{default:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}},{id:"boxShadow",type:"shadow-v2"}]}];export{NewsletterSettings as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let SettingUIV2=[{messageConfig:{type:"info",message:'You can manage collected email in <a class="
|
|
1
|
+
let SettingUIV2=[{messageConfig:{type:"info",message:'You can manage collected email in <a class="text-white" target="_blank" href="https://admin.shopify.com/customers">Customers</a>'}},{label:{en:"Message"},controls:[{type:"combo",label:{en:"Success"},iconName:"polaris-text-block",getValueFromSettingID:"successMessage",isHideClear:!0,disableScrollbar:!0,compoDefaultValue:"Thanks for subscribing",popoverLabel:{en:"Success message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"successMessage"}},{setting:{id:"successColor"},label:{en:"Color"}}]},{type:"combo",label:{en:"Error"},iconName:"polaris-text-block",getValueFromSettingID:"errorMessage",isHideClear:!0,disableScrollbar:!0,compoDefaultValue:"Can’t send email. Please try again later.",popoverLabel:{en:"Error message"},controls:[{layout:"vertical",label:{en:"Content"},setting:{id:"errorMessage"}},{setting:{id:"errorColor"},label:{en:"Color"}}]}]},{label:{en:"Size"},controls:[{id:"Width",label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"globalSize",field:"width"},displayOptions:[{label:"Full",value:"100%",showValue:!0}]},layout:"horizontal"}]},{label:{en:"Background"},controls:[{setting:{id:"background"},layout:"vertical"}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:{en:"Action after submit"},controls:[{layout:"vertical",setting:{id:"callbackURL"}}]}];export{SettingUIV2};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-staging.
|
|
3
|
+
"version": "2.0.0-staging.912",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@gem-sdk/core": "2.0.0-staging.
|
|
28
|
+
"@gem-sdk/core": "2.0.0-staging.912",
|
|
29
29
|
"@gem-sdk/styles": "2.0.0-staging.886",
|
|
30
30
|
"@gem-sdk/system": "2.0.0-staging.711",
|
|
31
31
|
"tsup": "^8.5.0",
|