Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.18 KB | None | 0 0
  1. {
  2. "_id": "5c12bd254c25881cb850fcad",
  3. "type": "form",
  4. "tags": ["isf"],
  5. "owner": "5c0050319597940268f8ae7a",
  6. "components": [{
  7. "clearOnHide": false,
  8. "key": "customerInformationPanel",
  9. "input": false,
  10. "title": "Customer's Information",
  11. "theme": "default",
  12. "tableView": false,
  13. "components": [{
  14. "autofocus": false,
  15. "input": true,
  16. "tableView": true,
  17. "inputType": "text",
  18. "inputMask": "",
  19. "label": "Name",
  20. "key": "customerName",
  21. "placeholder": "",
  22. "prefix": "",
  23. "suffix": "",
  24. "multiple": false,
  25. "defaultValue": "",
  26. "protected": false,
  27. "unique": false,
  28. "persistent": true,
  29. "hidden": false,
  30. "clearOnHide": true,
  31. "spellcheck": true,
  32. "validate": {
  33. "required": false,
  34. "minLength": "",
  35. "maxLength": "",
  36. "pattern": "",
  37. "custom": "",
  38. "customPrivate": false
  39. },
  40. "conditional": {
  41. "show": "",
  42. "when": null,
  43. "eq": ""
  44. },
  45. "type": "textfield",
  46. "labelPosition": "top",
  47. "tags": [],
  48. "properties": {},
  49. "lockKey": true
  50. }, {
  51. "autofocus": false,
  52. "input": true,
  53. "tableView": false,
  54. "inputType": "text",
  55. "inputMask": "",
  56. "label": "Address",
  57. "key": "customerAddress",
  58. "placeholder": "",
  59. "prefix": "",
  60. "suffix": "",
  61. "multiple": false,
  62. "defaultValue": "",
  63. "protected": false,
  64. "unique": false,
  65. "persistent": true,
  66. "hidden": false,
  67. "clearOnHide": true,
  68. "spellcheck": true,
  69. "validate": {
  70. "required": false,
  71. "minLength": "",
  72. "maxLength": "",
  73. "pattern": "",
  74. "custom": "",
  75. "customPrivate": false
  76. },
  77. "conditional": {
  78. "show": "",
  79. "when": null,
  80. "eq": ""
  81. },
  82. "type": "textfield",
  83. "labelPosition": "top",
  84. "tags": [],
  85. "properties": {},
  86. "lockKey": true
  87. }, {
  88. "clearOnHide": false,
  89. "label": "Columns",
  90. "input": false,
  91. "tableView": false,
  92. "key": "columns4",
  93. "columns": [{
  94. "components": [{
  95. "autofocus": false,
  96. "input": true,
  97. "tableView": false,
  98. "inputType": "text",
  99. "inputMask": "",
  100. "label": "City",
  101. "key": "customerCity",
  102. "placeholder": "",
  103. "prefix": "",
  104. "suffix": "",
  105. "multiple": false,
  106. "defaultValue": "",
  107. "protected": false,
  108. "unique": false,
  109. "persistent": true,
  110. "hidden": false,
  111. "clearOnHide": true,
  112. "spellcheck": true,
  113. "validate": {
  114. "required": false,
  115. "minLength": "",
  116. "maxLength": "",
  117. "pattern": "",
  118. "custom": "",
  119. "customPrivate": false
  120. },
  121. "conditional": {
  122. "show": "",
  123. "when": null,
  124. "eq": ""
  125. },
  126. "type": "textfield",
  127. "labelPosition": "top",
  128. "tags": [],
  129. "properties": {},
  130. "lockKey": true
  131. }],
  132. "width": 5,
  133. "offset": 0,
  134. "push": 0,
  135. "pull": 0
  136. }, {
  137. "components": [{
  138. "autofocus": false,
  139. "input": true,
  140. "tableView": false,
  141. "label": "State",
  142. "key": "customerState",
  143. "placeholder": "",
  144. "data": {
  145. "values": [{
  146. "value": "",
  147. "label": ""
  148. }],
  149. "json": "",
  150. "resource": "",
  151. "custom": "",
  152. "headers": [{
  153. "value": "",
  154. "key": ""
  155. }]
  156. },
  157. "dataSrc": "url",
  158. "valueProperty": "abbreviations",
  159. "defaultValue": "",
  160. "refreshOn": "",
  161. "filter": "",
  162. "authenticate": false,
  163. "template": "<span>{{ item.name }}</span>",
  164. "multiple": false,
  165. "protected": false,
  166. "unique": false,
  167. "persistent": true,
  168. "hidden": false,
  169. "clearOnHide": true,
  170. "validate": {
  171. "required": false
  172. },
  173. "type": "select",
  174. "labelPosition": "top",
  175. "tags": [],
  176. "conditional": {
  177. "show": "",
  178. "when": null,
  179. "eq": ""
  180. },
  181. "properties": {},
  182. "selectValues": "result",
  183. "lockKey": true
  184. }],
  185. "width": 4,
  186. "offset": 0,
  187. "push": 0,
  188. "pull": 0
  189. }, {
  190. "components": [{
  191. "autofocus": false,
  192. "input": true,
  193. "tableView": false,
  194. "inputType": "text",
  195. "inputMask": "99999",
  196. "label": "Zip",
  197. "key": "customerZip",
  198. "placeholder": "",
  199. "prefix": "",
  200. "suffix": "",
  201. "multiple": false,
  202. "defaultValue": "",
  203. "protected": false,
  204. "unique": false,
  205. "persistent": true,
  206. "hidden": false,
  207. "clearOnHide": true,
  208. "spellcheck": true,
  209. "validate": {
  210. "required": false,
  211. "minLength": "",
  212. "maxLength": "",
  213. "pattern": "",
  214. "custom": "",
  215. "customPrivate": false
  216. },
  217. "conditional": {
  218. "show": "",
  219. "when": null,
  220. "eq": ""
  221. },
  222. "type": "textfield",
  223. "labelPosition": "top",
  224. "tags": [],
  225. "properties": {},
  226. "lockKey": true
  227. }],
  228. "width": 3,
  229. "offset": 0,
  230. "push": 0,
  231. "pull": 0
  232. }],
  233. "type": "columns",
  234. "tags": [],
  235. "conditional": {
  236. "show": "",
  237. "when": null,
  238. "eq": ""
  239. },
  240. "properties": {},
  241. "hideLabel": true
  242. }, {
  243. "clearOnHide": false,
  244. "label": "Columns",
  245. "input": false,
  246. "tableView": false,
  247. "key": "columns3Columns",
  248. "columns": [{
  249. "components": [{
  250. "autofocus": false,
  251. "input": true,
  252. "tableView": false,
  253. "label": "Date of Birth",
  254. "key": "customerDateOfBirth",
  255. "fields": {
  256. "day": {
  257. "type": "number",
  258. "placeholder": "",
  259. "required": false
  260. },
  261. "month": {
  262. "type": "select",
  263. "placeholder": "",
  264. "required": false
  265. },
  266. "year": {
  267. "type": "number",
  268. "placeholder": "",
  269. "required": false
  270. }
  271. },
  272. "dayFirst": false,
  273. "protected": false,
  274. "persistent": true,
  275. "hidden": false,
  276. "clearOnHide": true,
  277. "validate": {
  278. "custom": ""
  279. },
  280. "type": "day",
  281. "labelPosition": "top",
  282. "inputsLabelPosition": "bottom",
  283. "tags": [],
  284. "conditional": {
  285. "show": "",
  286. "when": null,
  287. "eq": ""
  288. },
  289. "properties": {},
  290. "lockKey": true,
  291. "hideLabel": false
  292. }],
  293. "width": 4,
  294. "offset": 0,
  295. "push": 0,
  296. "pull": 0
  297. }, {
  298. "components": [{
  299. "autofocus": false,
  300. "input": true,
  301. "tableView": false,
  302. "label": "Sex",
  303. "key": "customerSex",
  304. "placeholder": "",
  305. "data": {
  306. "values": [{
  307. "value": "male",
  308. "label": "Male"
  309. }, {
  310. "value": "female",
  311. "label": "Female"
  312. }],
  313. "json": "",
  314. "url": "",
  315. "resource": "",
  316. "custom": ""
  317. },
  318. "dataSrc": "values",
  319. "valueProperty": "",
  320. "defaultValue": "",
  321. "refreshOn": "",
  322. "filter": "",
  323. "authenticate": false,
  324. "template": "<span>{{ item.label }}</span>",
  325. "multiple": false,
  326. "protected": false,
  327. "unique": false,
  328. "persistent": true,
  329. "hidden": false,
  330. "clearOnHide": true,
  331. "validate": {
  332. "required": false
  333. },
  334. "type": "select",
  335. "labelPosition": "top",
  336. "tags": [],
  337. "conditional": {
  338. "show": "",
  339. "when": null,
  340. "eq": ""
  341. },
  342. "properties": {},
  343. "lockKey": true
  344. }],
  345. "width": 4,
  346. "offset": 0,
  347. "push": 0,
  348. "pull": 0
  349. }, {
  350. "components": [{
  351. "autofocus": false,
  352. "input": true,
  353. "tableView": false,
  354. "inputType": "tel",
  355. "inputMask": "(999) 999-9999",
  356. "label": "Cell Phone",
  357. "key": "claimantCellPhone",
  358. "placeholder": "",
  359. "prefix": "",
  360. "suffix": "",
  361. "multiple": false,
  362. "protected": false,
  363. "unique": false,
  364. "persistent": true,
  365. "hidden": false,
  366. "defaultValue": "",
  367. "clearOnHide": true,
  368. "validate": {
  369. "required": false
  370. },
  371. "type": "phoneNumber",
  372. "labelPosition": "top",
  373. "tags": [],
  374. "conditional": {
  375. "show": "",
  376. "when": null,
  377. "eq": ""
  378. },
  379. "properties": {},
  380. "lockKey": true
  381. }],
  382. "width": 4,
  383. "offset": 0,
  384. "push": 0,
  385. "pull": 0
  386. }],
  387. "type": "columns",
  388. "tags": [],
  389. "conditional": {
  390. "show": "",
  391. "when": null,
  392. "eq": ""
  393. },
  394. "properties": {},
  395. "hideLabel": true
  396. }],
  397. "type": "panel",
  398. "breadcrumb": "default",
  399. "tags": [],
  400. "conditional": {
  401. "show": "",
  402. "when": null,
  403. "eq": ""
  404. },
  405. "properties": {},
  406. "label": "panel4",
  407. "hideLabel": false,
  408. "lockKey": true
  409. }, {
  410. "clearOnHide": false,
  411. "key": "panel7",
  412. "input": false,
  413. "title": "Witness",
  414. "theme": "default",
  415. "tableView": false,
  416. "components": [{
  417. "input": true,
  418. "tree": true,
  419. "components": [{
  420. "clearOnHide": false,
  421. "label": "Columns",
  422. "input": false,
  423. "tableView": false,
  424. "key": "columns7",
  425. "columns": [{
  426. "components": [{
  427. "autofocus": false,
  428. "input": true,
  429. "tableView": false,
  430. "inputType": "text",
  431. "inputMask": "",
  432. "label": "Name",
  433. "key": "witnessName",
  434. "placeholder": "",
  435. "prefix": "",
  436. "suffix": "",
  437. "multiple": false,
  438. "defaultValue": "",
  439. "protected": false,
  440. "unique": false,
  441. "persistent": true,
  442. "hidden": false,
  443. "clearOnHide": true,
  444. "spellcheck": true,
  445. "validate": {
  446. "required": false,
  447. "minLength": "",
  448. "maxLength": "",
  449. "pattern": "",
  450. "custom": "",
  451. "customPrivate": false
  452. },
  453. "conditional": {
  454. "show": "",
  455. "when": null,
  456. "eq": ""
  457. },
  458. "type": "textfield",
  459. "labelPosition": "top",
  460. "tags": [],
  461. "properties": {},
  462. "lockKey": true
  463. }],
  464. "width": 6,
  465. "offset": 0,
  466. "push": 0,
  467. "pull": 0
  468. }, {
  469. "components": [{
  470. "autofocus": false,
  471. "input": true,
  472. "tableView": false,
  473. "inputType": "tel",
  474. "inputMask": "(999) 999-9999",
  475. "label": "Cell Phone",
  476. "key": "witnessCellPhone",
  477. "placeholder": "",
  478. "prefix": "",
  479. "suffix": "",
  480. "multiple": false,
  481. "protected": false,
  482. "unique": false,
  483. "persistent": true,
  484. "hidden": false,
  485. "defaultValue": "",
  486. "clearOnHide": true,
  487. "validate": {
  488. "required": false
  489. },
  490. "type": "phoneNumber",
  491. "labelPosition": "top",
  492. "tags": [],
  493. "conditional": {
  494. "show": "",
  495. "when": null,
  496. "eq": ""
  497. },
  498. "properties": {},
  499. "lockKey": true
  500. }],
  501. "width": 6,
  502. "offset": 0,
  503. "push": 0,
  504. "pull": 0
  505. }],
  506. "type": "columns",
  507. "tags": [],
  508. "conditional": {
  509. "show": "",
  510. "when": null,
  511. "eq": ""
  512. },
  513. "properties": {},
  514. "hideLabel": true
  515. }, {
  516. "autofocus": false,
  517. "input": true,
  518. "tableView": false,
  519. "inputType": "text",
  520. "inputMask": "",
  521. "label": "Address",
  522. "key": "witnessAddress",
  523. "placeholder": "",
  524. "prefix": "",
  525. "suffix": "",
  526. "multiple": false,
  527. "defaultValue": "",
  528. "protected": false,
  529. "unique": false,
  530. "persistent": true,
  531. "hidden": false,
  532. "clearOnHide": true,
  533. "spellcheck": true,
  534. "validate": {
  535. "required": false,
  536. "minLength": "",
  537. "maxLength": "",
  538. "pattern": "",
  539. "custom": "",
  540. "customPrivate": false
  541. },
  542. "conditional": {
  543. "show": "",
  544. "when": null,
  545. "eq": ""
  546. },
  547. "type": "textfield",
  548. "labelPosition": "top",
  549. "tags": [],
  550. "properties": {},
  551. "lockKey": true
  552. }, {
  553. "clearOnHide": false,
  554. "label": "Columns",
  555. "input": false,
  556. "tableView": false,
  557. "key": "columns6",
  558. "columns": [{
  559. "components": [{
  560. "autofocus": false,
  561. "input": true,
  562. "tableView": false,
  563. "inputType": "text",
  564. "inputMask": "",
  565. "label": "City",
  566. "key": "witnessCity",
  567. "placeholder": "",
  568. "prefix": "",
  569. "suffix": "",
  570. "multiple": false,
  571. "defaultValue": "",
  572. "protected": false,
  573. "unique": false,
  574. "persistent": true,
  575. "hidden": false,
  576. "clearOnHide": true,
  577. "spellcheck": true,
  578. "validate": {
  579. "required": false,
  580. "minLength": "",
  581. "maxLength": "",
  582. "pattern": "",
  583. "custom": "",
  584. "customPrivate": false
  585. },
  586. "conditional": {
  587. "show": "",
  588. "when": null,
  589. "eq": ""
  590. },
  591. "type": "textfield",
  592. "labelPosition": "top",
  593. "tags": [],
  594. "properties": {},
  595. "lockKey": true
  596. }],
  597. "width": 5,
  598. "offset": 0,
  599. "push": 0,
  600. "pull": 0
  601. }, {
  602. "components": [{
  603. "autofocus": false,
  604. "input": true,
  605. "tableView": false,
  606. "label": "State",
  607. "key": "witnessState",
  608. "placeholder": "",
  609. "data": {
  610. "values": [{
  611. "value": "",
  612. "label": ""
  613. }],
  614. "json": "",
  615. "resource": "",
  616. "custom": "",
  617. "headers": [{
  618. "value": "",
  619. "key": ""
  620. }]
  621. },
  622. "dataSrc": "url",
  623. "valueProperty": "abbreviations",
  624. "defaultValue": "",
  625. "refreshOn": "",
  626. "filter": "",
  627. "authenticate": false,
  628. "template": "<span>{{ item.name }}</span>",
  629. "multiple": false,
  630. "protected": false,
  631. "unique": false,
  632. "persistent": true,
  633. "hidden": false,
  634. "clearOnHide": true,
  635. "validate": {
  636. "required": false
  637. },
  638. "type": "select",
  639. "labelPosition": "top",
  640. "tags": [],
  641. "conditional": {
  642. "show": "",
  643. "when": null,
  644. "eq": ""
  645. },
  646. "properties": {},
  647. "selectValues": "result",
  648. "lockKey": true
  649. }],
  650. "width": 4,
  651. "offset": 0,
  652. "push": 0,
  653. "pull": 0
  654. }, {
  655. "components": [{
  656. "autofocus": false,
  657. "input": true,
  658. "tableView": false,
  659. "inputType": "text",
  660. "inputMask": "99999",
  661. "label": "Zip",
  662. "key": "witnessZip",
  663. "placeholder": "",
  664. "prefix": "",
  665. "suffix": "",
  666. "multiple": false,
  667. "defaultValue": "",
  668. "protected": false,
  669. "unique": false,
  670. "persistent": true,
  671. "hidden": false,
  672. "clearOnHide": true,
  673. "spellcheck": true,
  674. "validate": {
  675. "required": false,
  676. "minLength": "",
  677. "maxLength": "",
  678. "pattern": "",
  679. "custom": "",
  680. "customPrivate": false
  681. },
  682. "conditional": {
  683. "show": "",
  684. "when": null,
  685. "eq": ""
  686. },
  687. "type": "textfield",
  688. "labelPosition": "top",
  689. "tags": [],
  690. "properties": {},
  691. "lockKey": true
  692. }],
  693. "width": 3,
  694. "offset": 0,
  695. "push": 0,
  696. "pull": 0
  697. }],
  698. "type": "columns",
  699. "tags": [],
  700. "conditional": {
  701. "show": "",
  702. "when": null,
  703. "eq": ""
  704. },
  705. "properties": {},
  706. "hideLabel": true
  707. }, {
  708. "autofocus": false,
  709. "input": true,
  710. "tableView": false,
  711. "label": "Observed Caused of Incident",
  712. "key": "witnessesObservedCausedOfIncident",
  713. "placeholder": "",
  714. "prefix": "",
  715. "suffix": "",
  716. "rows": 3,
  717. "multiple": false,
  718. "defaultValue": "",
  719. "protected": false,
  720. "persistent": true,
  721. "hidden": false,
  722. "wysiwyg": false,
  723. "clearOnHide": true,
  724. "spellcheck": true,
  725. "validate": {
  726. "required": false,
  727. "minLength": "",
  728. "maxLength": "",
  729. "pattern": "",
  730. "custom": ""
  731. },
  732. "type": "textarea",
  733. "labelPosition": "top",
  734. "tags": [],
  735. "conditional": {
  736. "show": "",
  737. "when": null,
  738. "eq": ""
  739. },
  740. "properties": {},
  741. "lockKey": true
  742. }],
  743. "multiple": false,
  744. "tableView": false,
  745. "label": "Witnesses",
  746. "key": "witnesses",
  747. "protected": false,
  748. "persistent": true,
  749. "hidden": false,
  750. "clearOnHide": true,
  751. "templates": {
  752. "header": "<div class=\"row\"> \n {%util.eachComponent(components, function(component) { %} \n <div class=\"col-sm-2\"> \n {{ component.label }} \n </div> \n {% }) %} \n</div>",
  753. "row": "<div class=\"row\"> \n {%util.eachComponent(components, function(component) { %} \n <div class=\"col-sm-2\"> \n {{ getView(component, row[component.key]) }} \n </div> \n {% }) %} \n <div class=\"col-sm-2\"> \n <div class=\"btn-group pull-right\"> \n <div class=\"btn btn-default editRow\">Edit</div> \n <div class=\"btn btn-danger removeRow\">Delete</div> \n </div> \n </div> \n</div>",
  754. "footer": ""
  755. },
  756. "type": "editgrid",
  757. "tags": [],
  758. "conditional": {
  759. "show": "",
  760. "when": null,
  761. "eq": ""
  762. },
  763. "properties": {},
  764. "lockKey": true
  765. }],
  766. "type": "panel",
  767. "breadcrumb": "default",
  768. "tags": [],
  769. "conditional": {
  770. "show": "",
  771. "when": null,
  772. "eq": ""
  773. },
  774. "properties": {},
  775. "label": "panel7",
  776. "hideLabel": false
  777. }, {
  778. "autofocus": false,
  779. "input": true,
  780. "label": "Submit",
  781. "tableView": false,
  782. "key": "submit",
  783. "size": "md",
  784. "leftIcon": "",
  785. "rightIcon": "",
  786. "block": false,
  787. "action": "submit",
  788. "disableOnInvalid": false,
  789. "theme": "primary",
  790. "type": "button",
  791. "tags": [],
  792. "conditional": {
  793. "show": "",
  794. "when": null,
  795. "eq": ""
  796. },
  797. "properties": {}
  798. }],
  799. "display": "form",
  800. "submissionAccess": [{
  801. "roles": [],
  802. "type": "create_all"
  803. }, {
  804. "roles": ["5c004f33e89a0503401d1a60", "5c004f33e89a0503401d1a61"],
  805. "type": "read_all"
  806. }, {
  807. "roles": ["5c004f33e89a0503401d1a60"],
  808. "type": "update_all"
  809. }, {
  810. "roles": ["5c004f33e89a0503401d1a60"],
  811. "type": "delete_all"
  812. }, {
  813. "roles": ["5c004f33e89a0503401d1a61"],
  814. "type": "create_own"
  815. }, {
  816. "roles": [],
  817. "type": "read_own"
  818. }, {
  819. "roles": [],
  820. "type": "update_own"
  821. }, {
  822. "roles": [],
  823. "type": "delete_own"
  824. }],
  825. "title": "Incidents - Customers",
  826. "name": "incidentsCustomers",
  827. "path": "isf/workerscompcustomers",
  828. "access": [{
  829. "roles": ["5c004f33e89a0503401d1a60", "5c004f33e89a0503401d1a61", "5c004f33e89a0503401d1a62"],
  830. "type": "read_all"
  831. }],
  832. "created": "2018-12-13T20:12:21.662Z",
  833. "modified": "2018-12-14T21:12:02.784Z",
  834. "machineName": "workersCompCustomers"
  835. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement