agir

Apple Quote

Jul 16th, 2021 (edited)
1,594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 18.47 KB | None | 0 0
  1. [{
  2.     "schema": {
  3.         "fields": [],
  4.         "groups": [{
  5.             "fields": [{
  6.                 "disabled": "true",
  7.                 "inputType": "text",
  8.                 "label_calc": "model.lang.selectedStore",
  9.                 "model": "selectedStore.name",
  10.                 "required": true,
  11.                 "styleClasses": "col-md-4",
  12.                 "type": "input",
  13.                 "validator": "required"
  14.             }, {
  15.                 "actions": [{
  16.                     "action": "path",
  17.                     "options": {
  18.                         "path": "/"
  19.                     }
  20.                 }],
  21.                 "buttonClasses": "btn btn-info",
  22.                 "styleClasses": "col-md-2",
  23.                 "text_calc": "model.lang.choose",
  24.                 "type": "button"
  25.             }, {
  26.                 "styleClasses": "col-md-12 clearfix",
  27.                 "type": "clearfix"
  28.             }, {
  29.                 "label_calc": "model.lang.technicianLanguage",
  30.                 "model": "technicianLanguage",
  31.                 "onChanged_actions": [{
  32.                     "action": "runUtilityHook",
  33.                     "options": {
  34.                         "type": "update"
  35.                     }
  36.                 }],
  37.                 "placeholder_calc": "model.lang.choose",
  38.                 "required": true,
  39.                 "selectOptions": {
  40.                     "closeOnSelect": true,
  41.                     "multiSelect": false,
  42.                     "searchable": true,
  43.                     "showLabels": false
  44.                 },
  45.                 "styleClasses": "col-md-4",
  46.                 "type": "vueMultiSelect",
  47.                 "validator": "required",
  48.                 "values": ["English", "Español", "Français", "Deutsch", "Italiano", "日本語", "한국어", "Nederlands", "Svenska", "Türkçe", "Português do Brasil", "中国", "繁體中文", "Québécois"]
  49.             }, {
  50.                 "styleClasses": "col-md-12 clearfix",
  51.                 "type": "clearfix"
  52.             }, {
  53.                 "html": "<h2><strong>{{model.lang.chooseDevice}}</strong></h2>",
  54.                 "styleClasses": "col-md-12",
  55.                 "type": "html"
  56.             }, {
  57.                 "errorMsg_calc": "model.lang.chooseDevice",
  58.                 "html": "\n        <div class=\"block text-gray-500\">\n            <div \n            class=\"inline-block w-20 h-20 m-2 pt-1 border-gray-500 border-2 rounded-lg bg-white hover:shadow-md hover:text-white\" \n            \n            :class=\"\n            {\n              'bg-red-500 border-red-500 shadow-md text-white' : model.selectedIcon == 'computer',\n              'hover:bg-gray-500 ' : model.selectedIcon != 'computer'\n            }\n              \" \n            \n            @click=\"model.selectedIcon = 'computer'\"\n            \n            >\n                <center>\n                    <i class=\" fa fa-desktop fa-3x \"></i><br>\n                    <div class=\"font-semibold text-sm\">Computer</div>\n                </center>\n            </div>\n\n            <div \n            class=\"inline-block w-20 h-20 m-2 pt-1 border-gray-500 border-2 rounded-lg bg-white hover:shadow-md hover:text-white\"  \n            :class=\"\n            {\n             'bg-red-500 border-red-500 shadow-md text-white' : model.selectedIcon == 'mobile',\n              'hover:bg-gray-500 ' : model.selectedIcon != 'mobile'\n            \n            }\n            \" \n            @click=\"model.selectedIcon = 'mobile'\"\n            >\n                <center>\n                    <i class=\"fa fa-mobile fa-3x\"></i><br>\n                    <div class=\"font-semibold text-sm\">Mobile </div>\n                </center>\n            </div>\n\n            <div \n            class=\"inline-block w-20 h-20 m-2 pt-1 border-gray-500 border-2 rounded-lg bg-white hover:shadow-md hover:text-white\"  \n            :class=\"\n            {\n             'bg-red-500 border-red-500 shadow-md text-white' : model.selectedIcon == 'hard drive',\n              'hover:bg-gray-500 ' : model.selectedIcon != 'hard drive'\n            \n            }\n            \" \n            @click=\"model.selectedIcon = 'hard drive'\"\n            >\n                <center>\n                    <i class=\"fa fa-hdd fa-3x\"></i><br>\n                    <div class=\"font-semibold text-sm\">Hard Drive </div>\n                </center>\n            </div>\n\n        </div>\n        <div class=\"block center text-gray-500\">\n            <div \n            class=\"inline-block w-20 h-20 m-2 pt-1 border-gray-500 border-2 rounded-lg bg-white hover:shadow-md hover:text-white\"  \n            :class=\"\n            {\n             'bg-red-500 border-red-500 shadow-md text-white' : model.selectedIcon == 'flash media',\n              'hover:bg-gray-500 ' : model.selectedIcon != 'flash media'\n            \n            }\n            \" \n            @click=\"model.selectedIcon = 'flash media'\">\n                <center>\n                    <i class=\" fa fa-camera fa-3x\"></i><br>\n                    <div class=\"font-semibold text-sm\">Flash Card </div>\n                </center>\n            </div>\n\n            <div \n            class=\"inline-block w-20 h-20 m-2 pt-1 border-gray-500 border-2 rounded-lg bg-white hover:shadow-md hover:text-white\"  \n            :class=\"\n            {\n             'bg-red-500 border-red-500 shadow-md text-white' : model.selectedIcon == 'raid',\n              'hover:bg-gray-500 ' : model.selectedIcon != 'raid'\n            \n            }\n            \"\n            @click=\"model.selectedIcon = 'raid'\"\n            >\n                <center>\n                    <i class=\"fa fa-database fa-3x\"></i><br>\n                    <div class=\"font-semibold text-sm\">RAID / NAS </div>\n                </center>\n            </div>\n\n            <div \n            class=\"inline-block w-20 h-20 m-2 pt-1 border-gray-500 border-2 rounded-lg bg-white hover:shadow-md hover:text-white\"  \n            :class=\"\n            {\n             'bg-red-500 border-red-500 shadow-md text-white' : model.selectedIcon == 'other',\n              'hover:bg-gray-500 ' : model.selectedIcon != 'other'\n            \n            }\n            \" \n            @click=\"model.selectedIcon = 'other'\"\n            >\n                <center>\n                    <i class=\" fa fa-question fa-3x\"></i><br>\n                    <div class=\"font-semibold text-sm\">Other </div>\n                </center>\n            </div>\n        </div>\n",
  59.                 "required": true,
  60.                 "styleClasses": "col-md-12  mt-4",
  61.                 "type": "html",
  62.                 "validator": "calc",
  63.                 "validator_calc": "model.selectedIcon != ''"
  64.             }],
  65.             "styleClasses": "col-md-12"
  66.         }],
  67.         "isCollapsable": false
  68.     },
  69.     "title_calc": "model.lang.getStarted"
  70. }, {
  71.     "schema": {
  72.         "groups": [{
  73.             "fields": [{
  74.                 "html": "<h2>{{model.lang.deviceDetails}}</h2>",
  75.                 "styleClasses": "col-md-12",
  76.                 "type": "html"
  77.             }, {
  78.                 "label_calc": "model.lang.mediaType",
  79.                 "model": "mediaType",
  80.                 "required": false,
  81.                 "styleClasses": "col-md-6",
  82.                 "type": "radios",
  83.                 "values_calc": "model.drives",
  84.                 "visible_calc": "(model.selectedIcon == 'hard drive' || model.selectedIcon == 'computer')"
  85.             }, {
  86.                 "styleClasses": "col-md-12 clearfix",
  87.                 "type": "clearfix"
  88.             }, {
  89.                 "label_calc": "model.lang.deviceWorking",
  90.                 "model": "deviceWorkingAnswer",
  91.                 "required": false,
  92.                 "styleClasses": "col-md-4",
  93.                 "type": "radios",
  94.                 "values_calc": "model.yesNo"
  95.             }, {
  96.                 "styleClasses": "col-md-12 clearfix",
  97.                 "type": "clearfix"
  98.             }, {
  99.                 "label_calc": "model.lang.whatHappened",
  100.                 "model": "dataHistory",
  101.                 "required": true,
  102.                 "styleClasses": "col-md-3",
  103.                 "type": "radios",
  104.                 "values_calc": "dataHistoryChoice",
  105.                 "visible_calc": "model.deviceWorkingAnswer=='yes' && model.selectedIcon =='mobile'"
  106.             }, {
  107.                 "label_calc": "model.lang.whatHappened",
  108.                 "model": "dataHistory",
  109.                 "required": true,
  110.                 "styleClasses": "col-md-3",
  111.                 "type": "radios",
  112.                 "values_calc": "model.dataHistoryChoice",
  113.                 "visible_calc": "model.deviceWorkingAnswer=='yes' && model.selectedIcon !='mobile'"
  114.             }, {
  115.                 "styleClasses": "col-md-12 clearfix",
  116.                 "type": "clearfix"
  117.             }, {
  118.                 "label_calc": "model.lang.devicePasscode",
  119.                 "model": "passcodeExists",
  120.                 "required": true,
  121.                 "styleClasses": "col-md-3",
  122.                 "type": "radios",
  123.                 "values_calc": "model.yesNo",
  124.                 "visible_calc": "model.selectedIcon=='mobile'"
  125.             }, {
  126.                 "styleClasses": "col-md-12 clearfix",
  127.                 "type": "clearfix"
  128.             }, {
  129.                 "label_calc": "model.lang.phoneiPhone4SOrNewer",
  130.                 "model": "mobileModel",
  131.                 "required": false,
  132.                 "styleClasses": "col-md-4",
  133.                 "type": "radios",
  134.                 "validator": "string",
  135.                 "values_calc": "model.yesNo",
  136.                 "visible_calc": "model.selectedIcon=='mobile' && model.passcodeExists=='yes'"
  137.             }, {
  138.                 "styleClasses": "col-md-12 clearfix",
  139.                 "type": "clearfix"
  140.             }, {
  141.                 "html": " <div class=\"block text-red-600 font-bold text-2xl text-center\"> <i class=\" fa fa-warning fa-3x\"></i></div>\n <div class=\"block text-red-600 font-bold text-2xl\">\n     <br class=\"clear\" />{{model.land.unableToReceover}}</div>\n <div class=\"block text-red-600 text-md\"><br class=\"clear\" /><br class=\"clear\" />{{model.lang.cannotSubmit}}\n     <span class=\"underline text-red-600 \"><a href='https://drivesaversdatarecovery.com/iphone-data-recovery-results/' target=\"_blank\">click here.</a></span></div>",
  142.                 "styleClasses": "col-md-6",
  143.                 "type": "html",
  144.                 "visible_calc": "model.selectedIcon=='mobile' && model.mobileModel=='yes' && model.passcodeExists=='yes'"
  145.             }, {
  146.                 "label_calc": "model.lang.RAIDLevel",
  147.                 "model": "RAIDLevel",
  148.                 "placeholder": "",
  149.                 "required": false,
  150.                 "selectOptions": {
  151.                     "closeOnSelect": true,
  152.                     "multiSelect": false,
  153.                     "searchable": true,
  154.                     "showLabels": false
  155.                 },
  156.                 "styleClasses": "col-md-2",
  157.                 "type": "vueMultiSelect",
  158.                 "validator": "required",
  159.                 "values": ["0", "1", "5", "6", "10", "50"],
  160.                 "visible_calc": "model.selectedIcon=='raid'"
  161.             }, {
  162.                 "inputType": "number",
  163.                 "label_calc": "model.lang.numberOfDrives",
  164.                 "model": "numberOfDrives",
  165.                 "placeholder": "",
  166.                 "required": false,
  167.                 "styleClasses": "col-md-2",
  168.                 "type": "input",
  169.                 "validator": "number",
  170.                 "visible_calc": "model.selectedIcon=='raid'"
  171.             }, {
  172.                 "styleClasses": "col-md-12 clearfix",
  173.                 "type": "clearfix"
  174.             }, {
  175.                 "label_calc": "model.lang.dataRecovery",
  176.                 "max": 10,
  177.                 "min": 1,
  178.                 "model": "filesNeeded",
  179.                 "name_calc": "model.lang.filesNeeded",
  180.                 "required": "false",
  181.                 "schema": {
  182.                     "fields": [{
  183.                         "label_calc": "model.lang.chooseFile",
  184.                         "model": "fileTypeSelected",
  185.                         "placeholder_calc": "model.lang.chooseFile",
  186.                         "required": false,
  187.                         "selectOptions": {
  188.                             "closeOnSelect": true,
  189.                             "id": "type",
  190.                             "label": "type",
  191.                             "multiSelect": false,
  192.                             "searchable": true,
  193.                             "showLabels": false
  194.                         },
  195.                         "styleClasses": "col-md-6 file-selector",
  196.                         "type": "vueMultiSelect",
  197.                         "values_calc": "model.fileTypes"
  198.                     }, {
  199.                         "styleClasses": "col-md-8 clearfix",
  200.                         "type": "clearfix"
  201.                     }, {
  202.                         "html": "<hr><strong>{{model.lang.info}}</strong>",
  203.                         "model": "someHTMLkey",
  204.                         "styleClasses": "col-md-12",
  205.                         "type": "html",
  206.                         "visible_calc": "model.fileTypes"
  207.                     }, {
  208.                         "html": "<p>{{model.fileTypeSelected.question}}</p>",
  209.                         "styleClasses": "col-md-12",
  210.                         "type": "html"
  211.                     }, {
  212.                         "styleClasses": "col-md-8 clearfix",
  213.                         "type": "clearfix"
  214.                     }, {
  215.                         "hint": "",
  216.                         "label": "",
  217.                         "model": "fileAnswer",
  218.                         "required": false,
  219.                         "rows": 4,
  220.                         "styleClasses": "col-md-12",
  221.                         "type": "textArea",
  222.                         "validator": ""
  223.                     }]
  224.                 },
  225.                 "styleClasses": "col-md-8",
  226.                 "tabLabelModel": "fileTypeSelected.type",
  227.                 "type": "accordion",
  228.                 "visible_calc": "model.selectedIcon=='mobile' && model.passcodeExists=='yes' && model.technicianLanguage== 'English' || model.selectedIcon=='mobile' && model.passcodeExists=='no' && model.mobileModel=='no' && model.technicianLanguage== 'English' || model.selectedIcon!='mobile' && model.technicianLanguage== 'English' "
  229.             }, {
  230.                 "styleClasses": "col-md-12 clearfix",
  231.                 "type": "clearfix"
  232.             }, {
  233.                 "styleClasses": "col-md-12 clearfix",
  234.                 "type": "clearfix"
  235.             }, {
  236.                 "hint_calc": "model.lang.deviceFailedInfo",
  237.                 "label_calc": "model.lang.techNotes",
  238.                 "model": "techNotes",
  239.                 "rows": 6,
  240.                 "styleClasses": "col-md-8",
  241.                 "type": "textArea",
  242.                 "visible_calc": "model.selectedIcon=='mobile' && model.passcodeExists=='yes' || model.selectedIcon=='mobile' && model.passcodeExists=='no' && model.mobileModel=='no' || model.selectedIcon!='mobile'"
  243.             }]
  244.         }]
  245.     },
  246.     "title_calc": "model.lang.serviceInfoTitle"
  247. }, {
  248.     "schema": {
  249.         "fields": [{
  250.             "html": "<h2>{{cmodel.lang.customerInfo}}</h2>",
  251.             "styleClasses": "col-md-20",
  252.             "type": "html"
  253.         }, {
  254.             "label_calc": "model.lang.customerLanguage",
  255.             "model": "customerLanguage",
  256.             "placeholder_calc": "model.lang.choose",
  257.             "required": true,
  258.             "selectOptions": {
  259.                 "closeOnSelect": true,
  260.                 "multiSelect": false,
  261.                 "preselect-first": "true",
  262.                 "searchable": true,
  263.                 "showLabels": false
  264.             },
  265.             "styleClasses": "col-md-4",
  266.             "type": "vueMultiSelect",
  267.             "validator": "required",
  268.             "values": ["English", "Español", "Français", "Deutsch", "Italiano", "日本語", "한국어", "Nederlands", "Sverige", "Türkçe", "Português do Brasil", "中国", "傳統", "Québécois"]
  269.         }, {
  270.             "styleClasses": "col-md-12 clearfix",
  271.             "type": "clearfix"
  272.         }, {
  273.             "inputType": "text",
  274.             "label_calc": "model.lang.nameFirst",
  275.             "model": "nameFirst",
  276.             "readonly": false,
  277.             "required": true,
  278.             "styleClasses": "col-md-4",
  279.             "type": "input",
  280.             "validator": "string"
  281.         }, {
  282.             "styleClasses": "col-md-12 clearfix",
  283.             "type": "clearfix"
  284.         }, {
  285.             "inputType": "text",
  286.             "label_calc": "model.lang.nameLast",
  287.             "model": "nameLast",
  288.             "readonly": false,
  289.             "required": false,
  290.             "styleClasses": "col-md-4",
  291.             "type": "input",
  292.             "validator": "string"
  293.         }, {
  294.             "styleClasses": "col-md-12 clearfix",
  295.             "type": "clearfix"
  296.         }, {
  297.             "inputType": "text",
  298.             "label_calc": "model.lang.phone",
  299.             "model": "phone",
  300.             "required": true,
  301.             "styleClasses": "col-md-4",
  302.             "type": "input",
  303.             "validator": "required"
  304.         }, {
  305.             "styleClasses": "col-md-12 clearfix",
  306.             "type": "clearfix"
  307.         }, {
  308.             "inputType": "text",
  309.             "label_calc": "model.lang.email",
  310.             "model": "email",
  311.             "required": true,
  312.             "styleClasses": "col-md-4",
  313.             "type": "input",
  314.             "validator": "email"
  315.         }, {
  316.             "styleClasses": "col-md-12 clearfix",
  317.             "type": "clearfix"
  318.         }, {
  319.             "inputType": "text",
  320.             "label_calc": "model.lang.addressStreet1",
  321.             "model": "address",
  322.             "onPlaceChanged": "",
  323.             "placeholder": "",
  324.             "required": false,
  325.             "styleClasses": "col-md-8",
  326.             "type": "googleAddress"
  327.         }, {
  328.             "styleClasses": "col-md-12 clearfix",
  329.             "type": "clearfix"
  330.         }, {
  331.             "inputType": "text",
  332.             "label": "Address 2",
  333.             "label_calc": "model.lang.addressStreet2",
  334.             "placeholder": "",
  335.             "required": false,
  336.             "styleClasses": "col-md-8",
  337.             "type": "input",
  338.             "validator": "string"
  339.         }, {
  340.             "styleClasses": "col-md-12 clearfix",
  341.             "type": "clearfix"
  342.         }]
  343.     },
  344.     "title_calc": "model.lang.customerInfoTitle"
  345. }]
Add Comment
Please, Sign In to add comment