{"schemaVersion":"1.0.0","modules":[{"tags":[{"tagName":"sqb-auth-template-switch","title":"Auth Template Switcher","slots":[{"name":"logged-out","title":"Logged out template"},{"name":"logged-in","title":"Logged in template"}],"attributes":[{"name":"state-controller","type":"string","title":"state-controller","description":"","default":"{}","required":false}],"examples":[],"demoStates":{"states":[{"title":"Sign up form","slot":"logged-out","meta":{},"props":{"stateController":{"overrideToken":false}}},{"title":"Referral & Reward info","slot":"logged-in","meta":{},"props":{"stateController":{"overrideToken":true}}}],"tag":"sqb-auth-template-switch","children":[]},"canvasRenderer":"always-replace"},{"tagName":"sqb-conditional-section","title":"Conditional Section","slots":[{"name":"","title":"Section Content"}],"attributes":[{"name":"condition","type":"string","title":"Condition","description":"Show child content when a user meets specified criteria. <a href=\"http://docs.jsonata.org/overview.html\" target=\"_blank\">JSONata expression</a> is used to define this logic. A participant’s segments, country code, custom fields and email can be used.","uiWidget":"textArea","minLength":1,"required":true}],"exampleGroup":"Advanced","examples":[{"title":"Conditional Area / Segment","content":"<sqb-conditional-section condition=\"'vip' in user.segments\"><p>Add your conditional content here!</p></sqb-conditional-section>","tagName":"sqb-conditional-section","exampleGroup":"Advanced"},{"title":"Conditional Area / Field","content":"<sqb-conditional-section condition=\"user.customFields.foo = true\"><p>Add your conditional content here!</p></sqb-conditional-section>","tagName":"sqb-conditional-section","exampleGroup":"Advanced"}],"validParents":["sqb-auth-template-switch","sqb-conditional-section","sqm-portal-container","div","template","sqm-instant-access-registration","sqb-program-section"]},{"tagName":"sqb-program-section","title":"Program Section","slots":[{"name":"","title":"Section Content"}],"attributes":[{"name":"program-id","type":"string","title":"Program","description":"Overwrite the program context used by child components with the selected program.","uiWidget":"programSelector","required":false}],"exampleGroup":"Advanced","examples":[{"title":"Program Section","content":"<sqb-program-section>Add your program specific content here!</sqb-program-section>","tagName":"sqb-program-section","exampleGroup":"Advanced"}],"validParents":["sqb-program-section","sqm-portal-container","div","template","sqm-instant-access-registration","sqb-program-section","sqm-portal-frame"]},{"tagName":"sqb-program-switch","title":"Program Switch","slots":[{"name":"","title":"Switch Content"}],"attributes":[],"examples":[]},{"tagName":"sqb-redirect","title":"Redirect Component","attributes":[{"name":"redirect-to","type":"string","title":"Redirect Path","description":"","uiWidget":"pageSelect","required":false}],"examples":[]},{"tagName":"sqb-widget","title":"Widget","attributes":[{"name":"require-auth","type":"boolean","title":"Auth Required","description":"When enabled then this widget is hidden until a user is logged in. Defaults to false.","default":false,"required":false},{"name":"track-loads","type":"boolean","title":"Track Widget Loads","description":"When enabled then a load event will be recorded in analytics.","default":false,"required":false},{"name":"widget-type","type":"string","title":"Widget Type","description":"The type of widget to load. Can be a program's widget, a global widget, or a classic widget.\nIf this prop is missing, then nothing is shown.","required":false}],"examples":[]}]}]}