From f531234d85d5aa2f5f654bb943999b4ba767cde3 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Tue, 21 Apr 2020 15:51:50 -0400 Subject: [PATCH] navigation and template --- .../JSON/Samples/MVA3.0/carousel.json | 174 ++++++++---------- 1 file changed, 73 insertions(+), 101 deletions(-) diff --git a/JSONCreator_iOS/JSONCreator/JSON/Samples/MVA3.0/carousel.json b/JSONCreator_iOS/JSONCreator/JSON/Samples/MVA3.0/carousel.json index 3ab5a56..d1eded8 100644 --- a/JSONCreator_iOS/JSONCreator/JSON/Samples/MVA3.0/carousel.json +++ b/JSONCreator_iOS/JSONCreator/JSON/Samples/MVA3.0/carousel.json @@ -1,106 +1,78 @@ { - "ResponseInfo":{ - "locale":"EN", - "type":"Success", - "server":"saswcvfszwo21.sdc.vzwcorp.com-srv01_wmobilefirst01", - "buildNumber":"151", - "requestId":"cb350edc-afca-4694-8558-44a17ad518b1", - "mdn":"9175021102", - "appSessionExtended":true, - "code":"00000", - "message":"0", - "userMessage":"0", - "topAlertTime":0 - }, - "Page":{ - "pageType":"wireless", - "template":"list", - "header": { - "moleculeName":"header", - "molecule": { - "moleculeName": "headlineBody", - "headline":{ - "moleculeName": "label", - "text":"Account #9876543210-00003\n\nYour 3 lines have used 70% of the available data.", - "fontStyle": "H1", - "attributes":[ - { - "location":0, - "length":27, - "type":"font", - "style":"B2" - } - ] - }, - "body":{ - "moleculeName": "label", - "text":"21 days left in cycle" - } - } + "ResponseInfo" : { + "type" : "Success", + "code" : "00000" + }, + "Page" : { + "template" : "list", + "pageType" : "x", + "header" : { + "moleculeName" : "header", + "molecule" : { + "moleculeName" : "headlineBody", + "headline" : { + "moleculeName" : "label", + "text" : "x" }, - "molecules":[{ - "moleculeName":"listItem", - "molecule":{ - "moleculeName":"carousel", - "spacing": 0, - "loop": true, - "height": 300, - "itemWidthPercent": 70, - "itemAlignment": "center", - "pagingMolecule": { - "moleculeName": "barsPager", - "position": "20" - }, - "molecules":[{ - "moleculeName":"carouselItem", - "backgroundColor":"#FFFFFF", - "molecule": { - "moleculeName":"label", - "text":"I am the first molecule to be stacked" - } - }, { - "moleculeName":"carouselItem", - "backgroundColor":"#FFFFFF", - "molecule": { - "moleculeName":"label", - "text":"I am the second molecule to be stacked" - } - },{ - "moleculeName":"carouselItem", - "backgroundColor":"#FFFFFF", - "molecule": { - "moleculeName":"label", - "text":"I am the third molecule to be stacked" - } - }] - } - },{ - "moleculeName":"listItem", - "molecule":{ - "moleculeName":"cornerLabels", - "molecule":{ - "moleculeName":"progressBar", - "percent":75 - }, - "topLeftLabel":{ - "moleculeName":"label", - "text":"Total data used" - }, - "topRightLabel":{ - "moleculeName":"label", - "text":"7.0 \/ 10.0 GB" - }, - "roundedRect":false - } - }], - "footer": { - "moleculeName": "footer", - "molecule": { - "moleculeName": "button", - "title": "Add a new line", - "style": "secondary" - } + "body" : { + "moleculeName" : "label", + "text" : "y" } + } + }, + "molecules" : [{ + "moleculeName":"listItem", + "molecule":{ + "moleculeName" : "carousel", + "loop":true, + "molecules" : [ + { + "moleculeName" : "carouselItem", + "backgroundColor":"red", + "molecule" : { + "moleculeName" : "label", + "text" : "1" + } + }, + { + "moleculeName" : "carouselItem", + "backgroundColor":"blue", + "molecule" : { + "moleculeName" : "label", + "text" : "2" + } + }, +{ + "moleculeName" : "carouselItem", + "backgroundColor":"green", + "molecule" : { + "moleculeName" : "label", + "text" : "2" + } + } + ], + "height" : 300 + }}], + "footer" : { + "moleculeName" : "footer", + "molecule" : { + "moleculeName" : "twoButtonView", + "primaryButton" : { + "moleculeName" : "button", + "title" : "x", + "action" : { + "actionType" : "openPage", + "pageType" : "verifyZip" + } + }, + "secondaryButton" : { + "moleculeName" : "button", + "title" : "x", + "action" : { + "actionType" : "back" + } + } + } } + } } -