elselect.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="{{$.lp.base}}" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">{{$.lp.id}}:</td>
  6. <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">{{$.lp.name}}:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">{{$.lp.description}}:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">{{$.lp.readonly}}:</td>
  18. <td class="editTableValue">
  19. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
  20. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
  21. </td>
  22. </tr>
  23. <tr>
  24. <td class="editTableTitle">{{$.lp.el_disabled}}:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="disabled" value="true" text{($.disabled)?'checked':''}/>{{$.lp.yes}}
  27. <input type="radio" name="disabled" value="false" text{(!$.disabled)?'checked':''}/>{{$.lp.no}}
  28. </td>
  29. </tr>
  30. </table>
  31. <div style="text-align: center; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #ccc; border-top: 1px solid #999;font-weight:bold;">{{$.lp.options}}</div>
  32. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  33. <tr>
  34. <td class="editTableTitle">{{$.lp.optionsGroup}}:</td>
  35. <td class="editTableValue">
  36. <input class="editTableRadio" onclick="if (this.checked){ var node = this.getParent('table').getNext(); node.hide(); node.getNext().show();}" name="itemsGroup" text{($.itemsGroup===true)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  37. <input class="editTableRadio" onclick="if (this.checked){ var node = this.getParent('table').getNext(); node.show(); node.getNext().hide();}" name="itemsGroup" text{($.itemsGroup!==true)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
  38. </td>
  39. </tr>
  40. </table>
  41. <div style="display: text{($.itemsGroup===true) ? 'none' : 'block'}">
  42. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  43. <tr>
  44. <td class="editTableTitle">{{$.lp.options}}:</td>
  45. <td class="editTableValue">
  46. <input class="editTableRadio" onclick="if (this.checked){
  47. $('text{$.pid}selectEditItemValues').setStyle('display', 'block');
  48. $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
  49. $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
  50. $('text{$.pid}selectEditItemView').setStyle('display', 'none');
  51. $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
  52. $('text{$.pid}selectFirstOption').setStyle('display', 'none');
  53. }" name="itemType" text{(!$.itemType || $.itemType=='values')?'checked':''} type="radio" value="values"/>{{$.lp.textValue}}
  54. <input class="editTableRadio" onclick="if (this.checked){
  55. $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
  56. $('text{$.pid}selectEditItemScript').setStyle('display', 'block');
  57. $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
  58. $('text{$.pid}selectEditItemView').setStyle('display', 'none');
  59. $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
  60. $('text{$.pid}selectFirstOption').setStyle('display', 'none');
  61. }" name="itemType" text{($.itemType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}
  62. <input class="editTableRadio" onclick="if (this.checked){
  63. $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
  64. $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
  65. $('text{$.pid}selectEditItemDict').setStyle('display', 'block');
  66. $('text{$.pid}selectEditItemView').setStyle('display', 'none');
  67. $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
  68. $('text{$.pid}selectFirstOption').setStyle('display', 'block');
  69. }" name="itemType" text{($.itemType=='dict')?'checked':''} type="radio" value="dict"/>{{$.lp.dict}}
  70. <input class="editTableRadio" onclick="if (this.checked){
  71. $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
  72. $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
  73. $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
  74. $('text{$.pid}selectEditItemView').setStyle('display', 'block');
  75. $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
  76. $('text{$.pid}selectFirstOption').setStyle('display', 'block');
  77. }" name="itemType" text{($.itemType=='view')?'checked':''} type="radio" value="view"/>{{$.lp.view}}
  78. <input class="editTableRadio" onclick="if (this.checked){
  79. $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
  80. $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
  81. $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
  82. $('text{$.pid}selectEditItemView').setStyle('display', 'none');
  83. $('text{$.pid}selectEditItemStatement').setStyle('display', 'block');
  84. $('text{$.pid}selectFirstOption').setStyle('display', 'block');
  85. }" name="itemType" text{($.itemType=='statement')?'checked':''} type="radio" value="statement"/>{{$.lp.statement}}
  86. </td>
  87. </tr>
  88. </table>
  89. <div id="text{$.pid}selectEditItemValues" style="display: text{(!$.itemType || $.itemType=='values')?'block':'none'}" class="MWFArraylist" name="itemValues" title="{{$.lp.options}}"></div>
  90. <div id="text{$.pid}selectEditItemScript" style="display: text{($.itemType=='script')?'block':'none'}; border-bottom: 1px solid #cccccc">
  91. <div class="MWFFormulaArea" name="itemScript" title="{{$.lp.optionScript}} (S)"></div>
  92. <div style="padding: 5px">{{$.lp.selectItemScriptInfo}}</div>
  93. </div>
  94. <div id="text{$.pid}selectFirstOption" style="display: text{(['dict','view','statement'].contains($.itemType))?'block':'none'}">
  95. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  96. <tr>
  97. <td class="editTableTitle">{{$.lp.firstOptionEnable}}:</td>
  98. <td class="editTableValue">
  99. <input class="editTableRadio" onclick="if (this.checked){
  100. $('text{$.pid}firstOptionTextTr').setStyle('display', '');
  101. }" name="firstOptionEnable" text{($.firstOptionEnable)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  102. <input class="editTableRadio" onclick="if (this.checked){
  103. $('text{$.pid}firstOptionTextTr').setStyle('display', 'none');
  104. }" name="firstOptionEnable" text{(!$.firstOptionEnable)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
  105. </td>
  106. </tr>
  107. <tr id="text{$.pid}firstOptionTextTr" style="display: text{($.firstOptionEnable)?'':'none'}">
  108. <td class="editTableTitle">{{$.lp.firstOption}}:</td>
  109. <td class="editTableValue"><input type="text" name="firstOption" value="text{$.firstOption}" class="editTableInput"/></td>
  110. </tr>
  111. </table>
  112. </div>
  113. <div id="text{$.pid}selectEditItemDict" style="display: text{($.itemType=='dict')?'block':'none'}" class="MWFDictionaryItemContainer">
  114. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  115. <tr>
  116. <td class="editTableTitle">{{$.lp.dict}}:</td>
  117. <td class="editTableValue">
  118. <div class="MWFDictionaryNode" data-count=1 name="itemDict"></div>
  119. </td>
  120. </tr>
  121. <tr>
  122. <td class="editTableTitle">{{$.lp.dictPath}}:</td>
  123. <td class="editTableValue">
  124. <div class="MWFDictionaryItemNode" name="itemDictPath" data-dict="itemDict" title="{{$.lp.dict}}{{$.lp.dictPath}}"></div>
  125. </td>
  126. </tr>
  127. <tr>
  128. <td class="editTableValue" colspan="2">{{$.lp.dictKeyNote}}:</td>
  129. </tr>
  130. <tr>
  131. <td class="editTableTitle">{{$.lp.valueKey}}:</td>
  132. <td class="editTableValue">
  133. <input type="text" name="dictValueKey" value="text{$.dictValueKey}" class="editTableInput"/>
  134. </td>
  135. </tr>
  136. <tr>
  137. <td class="editTableTitle">{{$.lp.textKey}}:</td>
  138. <td class="editTableValue">
  139. <input type="text" name="dictTextKey" value="text{$.dictTextKey}" class="editTableInput"/>
  140. </td>
  141. </tr>
  142. </table>
  143. </div>
  144. <div id="text{$.pid}selectEditItemView" style="display: text{($.itemType=='view')?'block':'none'}" class="MWFQueryViewItemContainer">
  145. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  146. <tr>
  147. <td class="editTableTitle">{{$.lp.view}}:</td>
  148. <td class="editTableValue">
  149. <div class="MWFQueryViewNode" data-count=1 name="itemView"></div>
  150. </td>
  151. </tr>
  152. <tr>
  153. <td class="editTableTitle">{{$.lp.valueColumn}}:</td>
  154. <td class="editTableValue">
  155. <select class="MWFViewColumnSelect" name="viewValueColumn" style="max-width: 270px;"></select>
  156. </td>
  157. </tr>
  158. <tr>
  159. <td class="editTableTitle">{{$.lp.textColumn}}:</td>
  160. <td class="editTableValue">
  161. <select class="MWFViewColumnSelect" name="viewTextColumn" style="max-width: 270px;"></select>
  162. </td>
  163. </tr>
  164. </table>
  165. <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center; cursor:pointer">{{$.lp.filter}}</div>
  166. <div class="MWFViewFilterWithTemplate"></div>
  167. </div>
  168. <div id="text{$.pid}selectEditItemStatement" style="display: text{($.itemType=='statement')?'block':'none'}" class="MWFQueryStatementItemContainer">
  169. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  170. <tr>
  171. <td class="editTableTitle">{{$.lp.statement}}:</td>
  172. <td class="editTableValue">
  173. <div class="MWFQueryStatementNode" data-count=1 name="itemStatement"></div>
  174. </td>
  175. </tr>
  176. <tr>
  177. <td class="editTableTitle">{{$.lp.valueColumn}}:</td>
  178. <td class="editTableValue">
  179. <select class="MWFStatementItemSelect" name="statementValueColumn" style="max-width: 270px;"></select>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td class="editTableTitle">{{$.lp.textColumn}}:</td>
  184. <td class="editTableValue">
  185. <select class="MWFStatementItemSelect" name="statementTextColumn" style="max-width: 270px;"></select>
  186. </td>
  187. </tr>
  188. </table>
  189. <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center; cursor:pointer">{{$.lp.filter}}</div>
  190. <div class="MWFStatementFilterWithTemplate" data-statement="itemStatement"></div>
  191. </div>
  192. </div>
  193. <div style="display: text{($.itemsGroup!==true) ? 'none' : 'block'}; border-bottom: 1px solid #cccccc">
  194. <div class="MWFFormulaArea" name="itemGroupScript" title="{{$.lp.optionScript}} (S)"></div>
  195. <div style="padding: 5px">{{$.lp.selectItemScriptInfo}}</div>
  196. <!-- <div style="padding: 5px; border-bottom: 1px solid #cccccc">-->
  197. <!-- <div>return {</div>-->
  198. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>options: [{</div>-->
  199. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>label: '热门城市',</div>-->
  200. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>options: [{value: 'Shanghai', label: '上海'}, {value: 'Beijing', label: '北京'}]</div>-->
  201. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>}, {</div>-->
  202. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>label: '城市名',</div>-->
  203. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>options: [{value: 'Chengdu', label: '成都'}, {value: 'Shenzhen', label: '深圳'}, {value: 'Guangzhou', label: '广州'}]</div>-->
  204. <!-- <div><span>&nbsp;&nbsp;&nbsp;&nbsp;</span>}]</div>-->
  205. <!-- <div>}</div>-->
  206. <!-- </div>-->
  207. </div>
  208. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  209. <tr>
  210. <td class="editTableTitle">{{$.lp.size}}:</td>
  211. <td class="editTableValue">
  212. <input type="radio" name="size" value="default" text{(!$.size || $.size==='default')?'checked':''}/>default
  213. <input type="radio" name="size" value="medium" text{($.size==='medium')?'checked':''}/>medium
  214. <input type="radio" name="size" value="small" text{($.size==='small')?'checked':''}/>small
  215. <input type="radio" name="size" value="mini" text{($.size==='mini')?'checked':''}/>mini
  216. </td>
  217. </tr>
  218. <tr>
  219. <td class="editTableTitle">{{$.lp.clearable}}:</td>
  220. <td class="editTableValue">
  221. <input type="radio" name="clearable" value="true" text{($.clearable===true)?'checked':''}/>{{$.lp.yes}}
  222. <input type="radio" name="clearable" value="false" text{($.clearable!==true)?'checked':''}/>{{$.lp.no}}
  223. </td>
  224. </tr>
  225. <tr>
  226. <td class="editTableTitle">{{$.lp.popperClass}}:</td>
  227. <td class="editTableValue">
  228. <input type="text" name="popperClass" value="text{$.popperClass}" class="editTableInput"/>
  229. </td>
  230. </tr>
  231. <tr>
  232. <td class="editTableTitle">{{$.lp.multiple}}:</td>
  233. <td class="editTableValue">
  234. <input onclick="if (this.checked){ this.getParent('table').getNext().show();}" type="radio" name="multiple" value="true" text{($.multiple===true)?'checked':''}/>{{$.lp.yes}}
  235. <input onclick="if (this.checked){ this.getParent('table').getNext().hide();}" type="radio" name="multiple" value="false" text{($.multiple!==true)?'checked':''}/>{{$.lp.no}}
  236. </td>
  237. </tr>
  238. </table>
  239. <div style="display: text{($.multiple===true) ? 'block' : 'none'}">
  240. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  241. <tr>
  242. <td class="editTableTitle">{{$.lp.collapseTags}}:</td>
  243. <td class="editTableValue">
  244. <input type="radio" name="collapseTags" value="true" text{($.collapseTags===true)?'checked':''}/>{{$.lp.yes}}
  245. <input type="radio" name="collapseTags" value="false" text{($.collapseTags!==true)?'checked':''}/>{{$.lp.no}}
  246. </td>
  247. </tr>
  248. <tr>
  249. <td class="editTableTitle">{{$.lp.multipleLimit}}:</td>
  250. <td class="editTableValue">
  251. <input type="number" name="multipleLimit" value="text{$.multipleLimit || 0}" class="editTableInput"/>
  252. </td>
  253. </tr>
  254. </table>
  255. </div>
  256. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  257. <tr>
  258. <td class="editTableTitle">{{$.lp.filterable}}:</td>
  259. <td class="editTableValue">
  260. <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().show();}" name="filterable" value="true" text{($.filterable===true)?'checked':''}/>{{$.lp.yes}}
  261. <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().hide();}" name="filterable" value="false" text{($.filterable!==true)?'checked':''}/>{{$.lp.no}}
  262. </td>
  263. </tr>
  264. </table>
  265. <div style="display: text{($.filterable===true) ? 'block' : 'none'}">
  266. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  267. <tr>
  268. <td class="editTableTitle">{{$.lp.allowCreate}}:</td>
  269. <td class="editTableValue">
  270. <input type="radio" name="allowCreate" value="true" text{($.allowCreate===true)?'checked':''}/>{{$.lp.yes}}
  271. <input type="radio" name="allowCreate" value="false" text{($.allowCreate!==true)?'checked':''}/>{{$.lp.no}}
  272. </td>
  273. </tr>
  274. <tr>
  275. <td class="editTableTitle">{{$.lp.noMatchText}}:</td>
  276. <td class="editTableValue">
  277. <input type="text" name="noMatchText" value="text{$.noMatchText}" class="editTableInput"/>
  278. </td>
  279. </tr>
  280. <tr>
  281. <td class="editTableTitle">{{$.lp.noDataText}}:</td>
  282. <td class="editTableValue">
  283. <input type="text" name="noDataText" value="text{$.noDataText}" class="editTableInput"/>
  284. </td>
  285. </tr>
  286. </table>
  287. <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999; border-bottom: 1px solid #999;font-weight:bold;">{{$.lp.filterMethod}}</div>-->
  288. <div class="MWFFormulaArea" name="filterMethod" title="{{$.lp.filterMethod}}"></div>
  289. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  290. <tr>
  291. <td class="editTableTitle">{{$.lp.filterRemote}}:</td>
  292. <td class="editTableValue">
  293. <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().show();}" name="remote" value="true" text{($.remote===true)?'checked':''}/>{{$.lp.yes}}
  294. <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().hide();}" name="remote" value="false" text{($.remote!==true)?'checked':''}/>{{$.lp.no}}
  295. </td>
  296. </tr>
  297. </table>
  298. <div style="display: text{($.remote===true) ? 'block' : 'none'}">
  299. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  300. <tr>
  301. <td class="editTableTitle">{{$.lp.loadingText}}:</td>
  302. <td class="editTableValue">
  303. <input type="text" name="loadingText" value="text{$.loadingText}" class="editTableInput"/>
  304. </td>
  305. </tr>
  306. </table>
  307. <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999; border-top: 1px solid #999; font-weight:bold;">{{$.lp.remoteMethod}}</div>-->
  308. <div class="MWFFormulaArea" name="remoteMethod" title="{{$.lp.remoteMethod}} (S)"></div>
  309. </div>
  310. </div>
  311. <div class="MWFMaplist" name="elStyles" collapse="true" title="Select {{$.lp.style}}"></div>
  312. <div class="MWFMaplist" name="elProperties" collapse="true" title="Select {{$.lp.attribute}}"></div>
  313. <div class="MWFMaplist" name="elOptionStyles" collapse="true" title="Option {{$.lp.style}}"></div>
  314. <div class="MWFMaplist" name="elOptionProperties" collapse="true" title="Option {{$.lp.attribute}}"></div>
  315. <div class="MWFMaplist" name="elGroupStyles" collapse="true" title="Group {{$.lp.style}}"></div>
  316. <div class="MWFMaplist" name="elGroupProperties" collapse="true" title="Group {{$.lp.attribute}}"></div>
  317. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  318. <tr>
  319. <td class="editTableTitle">{{$.lp.compute}}:</td>
  320. <td class="editTableValue">
  321. <input type="radio" name="compute" value="create" text{(!$.compute || $.compute=='create')?'checked':''}/>{{$.lp.create}}
  322. <input type="radio" name="compute" value="save" text{($.compute=='save')?'checked':''}/>{{$.lp.save}}
  323. <input type="radio" name="compute" value="show" text{($.compute=='show')?'checked':''}/>{{$.lp.show}}
  324. </td>
  325. </tr>
  326. </table>
  327. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  328. <div class="MWFValidation" name="validationConfig"></div>
  329. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  330. </div>
  331. <div title="Vue" class="MWFTab">
  332. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Data</div>
  333. <div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
  334. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Method</div>
  335. <div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
  336. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue CSS</div>
  337. <div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></div>
  338. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Slots</div>
  339. <div style="display: text{($.vueSlot) ? 'block' : 'none'}">
  340. <div class="MWFHtmlEditorArea" name="vueSlot" title="Input Slot (HTML)"></div>
  341. </div>
  342. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">{{$.lp.selectTemplete}}</div>
  343. <div style="display: text{($.customTemplete) ? 'block' : 'none'}">
  344. <div class="MWFHtmlEditorArea" name="customTemplete" title="{{$.lp.selectTemplete}} (HTML)"></div>
  345. </div>
  346. </div>
  347. <div title="{{$.lp.section}}" class="MWFTab">
  348. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  349. <tr>
  350. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  351. <td class="editTableValue">
  352. <input onclick="if (this.checked){
  353. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  354. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  355. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  356. <input onclick="if (this.checked){
  357. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  358. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  359. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  360. </td>
  361. </tr>
  362. </table>
  363. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  364. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  365. <tr>
  366. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  367. <td class="editTableValue">
  368. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{(($.sectionBy=='person') || ($.sectionBy!='unit' && $.sectionBy!='activity' && $.sectionBy!='script'))?'checked':''} type="radio" value="person"/>{{$.lp.handler}}<br/>
  369. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='unit')?'checked':''} type="radio" value="unit"/>{{$.lp.handlerUnit}}<br/>
  370. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='activity')?'checked':''} type="radio" value="activity"/>{{$.lp.activityId}}<br/>
  371. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>{{$.lp.splitValue}}<br/>
  372. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}" name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}<br/>
  373. </td>
  374. </tr>
  375. </table>
  376. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  377. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  378. </div>
  379. </div>
  380. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  381. </div>
  382. <div title="{{$.lp.event}}" class="MWFTab">
  383. <div class="MWFEventsArea" name="events"></div>
  384. </div>
  385. <div title="HTML" class="MWFTab">
  386. <div class="MWFHTMLArea" style="width:100%; height:400px; border:0px;font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  387. </div>
  388. <div title="JSON" class="MWFTab">
  389. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  390. </div>
  391. </div>