Built files from Bizgaze WebServer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

multiselectlist.component.js 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. var Unibase;
  2. (function (Unibase) {
  3. let Forms;
  4. (function (Forms) {
  5. let Controls;
  6. (function (Controls) {
  7. class multiselectlist extends Unibase.Platform.Core.BaseComponent {
  8. constructor() {
  9. super(...arguments);
  10. this.count = 0;
  11. this.iddel = [];
  12. this.id = [];
  13. this.Isrow = false;
  14. this.page = 0;
  15. this.rows = 0;
  16. this.parameters = [];
  17. }
  18. init(formpropertyid, prop, callback) {
  19. multiselectlist.Instance().iddel = [];
  20. multiselectlist.Instance().id = [];
  21. multiselectlist.Instance().Isrow = false;
  22. Unibase.Forms.Controls.multiselectlist.Instance().loadControlSettings(prop, prop.FormPropertyId);
  23. Unibase.Forms.Controls.multiselectlist.Instance().binddetails(prop.DocPropertyName);
  24. }
  25. binddetails(docPropertyName) {
  26. var UserId = 0;
  27. var InstalledAppId = Unibase.Themes.Providers.DetailHelper.installedAppId;
  28. if (docPropertyName == "branchid" || docPropertyName == "roleid") {
  29. if (Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.length != 0) {
  30. UserId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + InstalledAppId + "_userid").Value);
  31. }
  32. }
  33. else {
  34. if (Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.length != 0) {
  35. var OfferId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + InstalledAppId + "_offerid").Value);
  36. }
  37. }
  38. if (docPropertyName == "branchid") {
  39. Unibase.Platform.Helpers.FileCacheHelper.Instance().loadJsFile('apps/crm/companies/managers/companymanager.js', function () {
  40. Bizgaze.Apps.CRM.Companies.Managers.CompanyManager.Instance().getUserBranches(UserId).then(function (response) {
  41. var remids = '';
  42. var ids = "";
  43. for (var i = 0; i < response.result.length; i++) {
  44. var id = $("#hdnchkmulti_" + docPropertyName).val();
  45. ids += response.result[i].BranchId + "|";
  46. $("#hdnchkmulti_" + docPropertyName).val(ids);
  47. }
  48. multiselectlist.Instance().Isrow = true;
  49. if (multiselectlist.Instance().iddel.length > 0) {
  50. for (var a = 0; a < multiselectlist.Instance().iddel.length; a++) {
  51. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  52. if (multiselectlist.Instance().iddel[a] == $(this).find(".id_column").val()) {
  53. $(this).find(".id_column").prop("checked", false);
  54. $(this).find(".id_column").addClass("IsSaved");
  55. }
  56. });
  57. }
  58. }
  59. $("#hdnchkmultidel_branchid").val(remids);
  60. });
  61. });
  62. }
  63. else if (docPropertyName == "roleid") {
  64. UserId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + InstalledAppId + "_userid").Value);
  65. Unibase.Platform.Helpers.FileCacheHelper.Instance().loadJsFile('platform/permission/managers/permissionmanager.js', function () {
  66. Unibase.Platform.Permissions.Managers.PermissionManager.Instance().getUserRoles(UserId).then(function (response) {
  67. var remids = '';
  68. var ids = "";
  69. for (var i = 0; i < response.result.length; i++) {
  70. var id = $("#hdnchkmulti_" + docPropertyName).val();
  71. ids += response.result[i].RoleId + "|";
  72. $("#hdnchkmulti_" + docPropertyName).val(ids);
  73. }
  74. multiselectlist.Instance().Isrow = true;
  75. if (multiselectlist.Instance().iddel.length > 0) {
  76. for (var a = 0; a < multiselectlist.Instance().iddel.length; a++) {
  77. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  78. if (multiselectlist.Instance().iddel[a] == $(this).find(".id_column").val()) {
  79. $(this).find(".id_column").prop("checked", false);
  80. $(this).find(".id_column").addClass("IsSaved");
  81. }
  82. });
  83. }
  84. }
  85. $("#hdnchkmultidel_roleid").val(remids);
  86. });
  87. });
  88. }
  89. else if (docPropertyName == "planid") {
  90. Unibase.Platform.Helpers.FileCacheHelper.Instance().loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
  91. Bizgaze.Apps.Transact.Managers.OfferManager.Instance().getofferplans(OfferId).then(function (response) {
  92. var remids = '';
  93. var ids = "";
  94. if (response.result != null) {
  95. for (var i = 0; i < response.result.length; i++) {
  96. ids += response.result[i].PlanId + "|";
  97. if (response.result[i].StatusId == 2) {
  98. $(this).find(".id_column").prop("checked", false);
  99. }
  100. }
  101. $("#hdnchkmultidel_roleid").val(remids);
  102. }
  103. });
  104. });
  105. }
  106. }
  107. loadControl(container, prop) {
  108. var html = '<div class="floating-label-form-group"><input class="form-control floating-label-control txt_global_search" id="text_multiselectsearch" type="search" placeholder="Search" aria-label="Search"></div>' +
  109. '<div class="" id = "div_' + prop.DocPropertyName + '" style="margin-top:5px;">' +
  110. '<input type="hidden" id="hdnchkmulti_' + prop.DocPropertyName + '" class="form-control value-control" data-isdefault="' + prop.IsDefault + '" data-required="' + prop.IsRequired + '" data-regularexp="" data-validatemsg="" placeholder = "' + prop.Placeholder + '" data-placeholder="' + prop.Placeholder + '" data-label="' + prop.LabelName + '" data-ismultiple="' + prop.IsMultiple + '" />' +
  111. '<input type="hidden" id="hdnchkmultidel_' + prop.DocPropertyName + '" class="form-control " data-isdefault="' + prop.IsDefault + '" data-required="' + prop.IsRequired + '" data-regularexp="" data-validatemsg="" placeholder = "' + prop.Placeholder + '" data-placeholder="' + prop.Placeholder + '" data-label="' + prop.LabelName + '" data-ismultiple="' + prop.IsMultiple + '" />' +
  112. '<ul id="ul_' + prop.DocPropertyName + '" class="text-center mt-10 type-control ul_' + prop.DocPropertyName + '" list-group no-radius m-b-none list-group-lg Ul-list"></ul>' +
  113. '<div class="Div_pagination row row mt-15">' +
  114. '<div class="col-sm-4" id="list_count"><span id="TotalRecords"class="text-muted">Total : <span id="lblItemTotalRecords" class="lblItemTotalRecords mr-30"></span></span>' +
  115. '</div><div class="col-sm-8">' +
  116. '<div id="divpagination" class="pagination custom-pagination pagination-rounded pull-right"></div></div></div>';
  117. $("#" + container).html(html);
  118. var Search = null;
  119. var instance = this;
  120. multiselectlist._instance.page = 0;
  121. $("#text_multiselectsearch").on("keyup", function () {
  122. var txt = $('#text_multiselectsearch').val();
  123. if (txt == '') {
  124. var value = $(this).val();
  125. Search = value;
  126. multiselectlist._instance.page = 0;
  127. let para = null;
  128. if (instance.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()) != null) {
  129. para = instance.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()).para;
  130. }
  131. Unibase.Forms.Controls.multiselectlist.Instance().LoadMultiSelectlist(prop.DocPropertyId, prop.DocPropertyName, value, 5, multiselectlist._instance.page, para, prop);
  132. }
  133. else {
  134. var value = $(this).val();
  135. let para = null;
  136. if (instance.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()) != null) {
  137. para = instance.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()).para;
  138. }
  139. Search = value;
  140. var res = Unibase.Forms.Controls.multiselectlist.Instance().LoadMultiSelectlist(prop.DocPropertyId, prop.DocPropertyName, value, 5, multiselectlist._instance.page, para, prop);
  141. var s;
  142. }
  143. });
  144. if ($(window).width() <= 800) {
  145. $("#" + container).find("#divpagination").addClass("font-11");
  146. $("#" + container).find("#list_count").addClass("mb-10");
  147. }
  148. }
  149. LoadMultiSelectlist(DocPropertyId, docPropertyName, value, rows, page, para, prop) {
  150. var instance = this;
  151. instance.loadMultSelectListWithParams(DocPropertyId, docPropertyName, value, rows, page, para, prop);
  152. }
  153. loadMultSelectListWithParams(DocPropertyId, docPropertyName, value, rows, page, Parameters, prop) {
  154. var instacnce = this;
  155. if (Parameters != null) {
  156. if (instacnce.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()) == null) {
  157. var obj = { formid: $("._bizgaze_popup_container:visible").find("#hf_FormId").val(), para: Parameters };
  158. instacnce.parameters.push(obj);
  159. }
  160. else {
  161. instacnce.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()).para = Parameters;
  162. }
  163. }
  164. if (DocPropertyId == 0 || DocPropertyId == "" || DocPropertyId == null || DocPropertyId == undefined) {
  165. DocPropertyId = $("#ul_" + docPropertyName).parents(".divCustomProperties").data('propertyid');
  166. }
  167. var ColumnName = "0";
  168. var Value = "0";
  169. if (Parameters != null && Parameters != "") {
  170. ColumnName = Parameters.map(function (item) { return item.ColumnName; }).toString();
  171. Value = Parameters.map(function (item) { return item.Value; }).toString();
  172. }
  173. var MultiSelectList = page;
  174. if (page < 1) {
  175. MultiSelectList = 0;
  176. }
  177. else {
  178. MultiSelectList = page;
  179. }
  180. if (value == undefined) {
  181. var text = $('#text_multiselectsearch').val();
  182. if (text != '') {
  183. value = text;
  184. }
  185. }
  186. if (value == "") {
  187. value = undefined;
  188. }
  189. var instance = this;
  190. var conjson = JSON.parse(prop.ControlJsonText);
  191. var formid = conjson.FormId;
  192. Unibase.Platform.Forms.Managers.FormManager.Instance().dynamicMultiSelectList(DocPropertyId, null, ColumnName, Value, value, rows, page, formid).then(function (response) {
  193. var ids = $("#hdnchk_" + docPropertyName).val();
  194. var data1 = JSON.stringify(response);
  195. var json = JSON.parse(prop.ControlJsonText);
  196. var IdColumn = json.AutoCompleteIdColumn;
  197. var TextColumn = json.AutoCompleteTextColumn;
  198. var data2 = JSON.parse(data1);
  199. if (data2 != "") {
  200. var data = JSON.parse(data2);
  201. var html = '';
  202. var Count = multiselectlist.Instance().count;
  203. for (var i = 0; i < data.length; i++) {
  204. var idcolumn = eval("data[i]." + IdColumn);
  205. var textcolumn = eval("data[i]." + TextColumn);
  206. html += '<li class="list-group-item pa-10 clear role-row added-row li_list ">' +
  207. '<div class="row"><div class="ml-20">';
  208. var a = multiselectlist.Instance().id.find(x => x == idcolumn) ? true : false;
  209. if (a == true) {
  210. html += '<input type="checkbox" class="id_column" value=' + idcolumn + ' id="chk_new_' + idcolumn + '" checked onclick="Unibase.Forms.Controls.multiselectlist.Instance().CheckBoxClick(' + "'" + textcolumn + "' ," + idcolumn + ',' + "'" + docPropertyName + "'" + ')"></div>';
  211. }
  212. else {
  213. html += '<input type="checkbox" class="id_column" value=' + idcolumn + ' id="chk_new_' + idcolumn + '" onclick="Unibase.Forms.Controls.multiselectlist.Instance().CheckBoxClick(' + "'" + textcolumn + "' ," + idcolumn + ',' + "'" + docPropertyName + "'" + ')"></div>';
  214. }
  215. html += '<div class="ml-40 text-left"><strong class="textcolumn">' + textcolumn + '</strong></div></div></li>';
  216. }
  217. $(".ul_" + docPropertyName).empty();
  218. $(".ul_" + docPropertyName).append(html);
  219. }
  220. else {
  221. $(".ul_" + docPropertyName).empty();
  222. $(".ul_" + docPropertyName).append("<span>No results found</span>");
  223. }
  224. var UserId = 0;
  225. var InstalledAppId = Unibase.Themes.Providers.DetailHelper.installedAppId;
  226. if (docPropertyName == "branchid" || docPropertyName == "roleid") {
  227. if (Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.length != 0) {
  228. UserId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + InstalledAppId + "_userid").Value);
  229. }
  230. }
  231. if (docPropertyName == "branchid") {
  232. Unibase.Platform.Helpers.FileCacheHelper.Instance().loadJsFile('apps/crm/companies/managers/companymanager.js', function () {
  233. Bizgaze.Apps.CRM.Companies.Managers.CompanyManager.Instance().getUserBranches(UserId).then(function (response) {
  234. var remids = '';
  235. var ids = "";
  236. for (var i = 0; i < response.result.length; i++) {
  237. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  238. if (response.result[i].BranchId == $(this).find(".id_column").val()) {
  239. $(this).find(".id_column").prop("checked", true);
  240. $(this).find(".id_column").addClass("IsSaved");
  241. }
  242. });
  243. }
  244. for (var j = 0; j < response.result.length; j++) {
  245. if (page == 0 && multiselectlist.Instance().Isrow == false) {
  246. ids += response.result[j].BranchId + "|";
  247. $("#hdnchkmulti_" + docPropertyName).val(ids);
  248. }
  249. }
  250. multiselectlist.Instance().Isrow = true;
  251. if (multiselectlist.Instance().iddel.length > 0) {
  252. for (var a = 0; a < multiselectlist.Instance().iddel.length; a++) {
  253. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  254. if (multiselectlist.Instance().iddel[a] == $(this).find(".id_column").val()) {
  255. $(this).find(".id_column").prop("checked", false);
  256. $(this).find(".id_column").addClass("IsSaved");
  257. }
  258. });
  259. }
  260. }
  261. $("#hdnchkmultidel_branchid").val(remids);
  262. });
  263. });
  264. }
  265. else if (docPropertyName == "roleid") {
  266. UserId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + InstalledAppId + "_userid").Value);
  267. Unibase.Platform.Helpers.FileCacheHelper.Instance().loadJsFile('platform/permission/managers/permissionmanager.js', function () {
  268. Unibase.Platform.Permissions.Managers.PermissionManager.Instance().getUserRoles(UserId).then(function (response) {
  269. var remids = '';
  270. var ids = "";
  271. for (var i = 0; i < response.result.length; i++) {
  272. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  273. if (response.result[i].RoleId == $(this).find(".id_column").val()) {
  274. $(this).find(".id_column").prop("checked", true);
  275. $(this).find(".id_column").addClass("IsSaved");
  276. }
  277. });
  278. }
  279. for (var j = 0; j < response.result.length; j++) {
  280. if (page == 0 && multiselectlist.Instance().Isrow == false) {
  281. ids += response.result[j].RoleId + "|";
  282. $("#hdnchkmulti_" + docPropertyName).val(ids);
  283. }
  284. }
  285. multiselectlist.Instance().Isrow = true;
  286. if (multiselectlist.Instance().iddel.length > 0) {
  287. for (var a = 0; a < multiselectlist.Instance().iddel.length; a++) {
  288. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  289. if (multiselectlist.Instance().iddel[a] == $(this).find(".id_column").val()) {
  290. $(this).find(".id_column").prop("checked", false);
  291. $(this).find(".id_column").addClass("IsSaved");
  292. }
  293. });
  294. }
  295. }
  296. $("#hdnchkmultidel_roleid").val(remids);
  297. });
  298. });
  299. }
  300. else if (docPropertyName == "planid") {
  301. var OfferId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + InstalledAppId + "_offerid").Value);
  302. Unibase.Platform.Helpers.FileCacheHelper.Instance().loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
  303. Bizgaze.Apps.Transact.Managers.OfferManager.Instance().getofferplans(OfferId).then(function (response) {
  304. var remids = '';
  305. $(".id_column").prop("checked", true);
  306. for (var i = 0; i < response.result.length; i++) {
  307. $("#ul_" + docPropertyName).find('.li_list').each(function () {
  308. if (response.result[i].StatusId == 2) {
  309. if (response.result[i].PlanId == Number($(this).find(".id_column").val())) {
  310. $(this).find(".id_column").prop("checked", false);
  311. }
  312. }
  313. });
  314. }
  315. $("#hdnchkmultidel_planid").val(remids);
  316. });
  317. });
  318. }
  319. if (data == undefined) {
  320. $(".Div_pagination").hide();
  321. }
  322. if (data.length <= 0) {
  323. $(".Div_pagination").hide();
  324. }
  325. else {
  326. $(".Div_pagination").show();
  327. var totalCount = data.length;
  328. var _page = MultiSelectList + 1;
  329. var st = 0;
  330. var _count = 0;
  331. var t = _page * 5;
  332. if (totalCount > 0) {
  333. st = 1;
  334. _count = totalCount;
  335. }
  336. if (totalCount > t)
  337. _count = t;
  338. if (MultiSelectList > 0) {
  339. st += t - 5;
  340. }
  341. var result = st + " - " + (st + (_count - 1)) + " of " + multiselectlist.Instance().count;
  342. var totalcount = multiselectlist.Instance().count;
  343. var ct = Count - 5;
  344. page = multiselectlist._instance.page + 1;
  345. if (Count <= 5) {
  346. $(".Div_pagination").hide();
  347. }
  348. $(".lblItemTotalRecords").text(result);
  349. var pageEle = $(".Div_pagination").find('#divpagination');
  350. instance.fileCacheHelper.loadJsFile('libs/jquery/pagination/jquery.pagination.js', function () {
  351. var ele;
  352. ele = $(".Div_pagination").find('#divpagination');
  353. ele.pagination(totalcount, 5, {
  354. current_page: MultiSelectList,
  355. callback: function (page, component) {
  356. MultiSelectList = page;
  357. var para = null;
  358. if (instance.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()) != null) {
  359. para = instance.parameters.find(x => x.formid == $("._bizgaze_popup_container:visible").find("#hf_FormId").val()).para;
  360. }
  361. Unibase.Forms.Controls.multiselectlist.Instance().LoadMultiSelectlist(DocPropertyId, docPropertyName, null, rows, page, para, prop);
  362. }
  363. });
  364. });
  365. }
  366. multiselectlist._instance.page = 0;
  367. });
  368. }
  369. loadControlSettings(controlsettingjson, formpropertyid) {
  370. var prop = controlsettingjson;
  371. Unibase.Forms.Controls.multiselectlist.Instance().LoadMultiSelectlist(prop.DocPropertyId, prop.DocPropertyName, null, 5, 0, null, prop);
  372. }
  373. loadPropertySettings(propertysettings, formpropertyid) {
  374. return ``;
  375. }
  376. bindEditFormDetails(formpropertyid, propval, DocPropertyName) {
  377. return ``;
  378. }
  379. CheckBoxClick(TextColumn, IdColumn, docPropertyName) {
  380. var ids;
  381. var ids1;
  382. ids = $("#hdnchkmulti_" + docPropertyName).val();
  383. ids1 = $("#hdnchkmultidel_" + docPropertyName).val();
  384. if (docPropertyName == "planid") {
  385. if ($("#chk_new_" + IdColumn).is(':checked')) {
  386. if (ids != 0 || ids == "") {
  387. ids += IdColumn + "|";
  388. }
  389. }
  390. else {
  391. if (ids != 0 || ids == "") {
  392. ids += IdColumn + "|";
  393. }
  394. }
  395. ;
  396. }
  397. else {
  398. if ($("#chk_new_" + IdColumn).is(':checked')) {
  399. if (ids != 0 || ids == "") {
  400. if ($("#chk_new_" + IdColumn).hasClass('IsSaved') == false) {
  401. ids += IdColumn + "|";
  402. }
  403. else {
  404. ids1 += IdColumn + "|";
  405. }
  406. }
  407. else {
  408. if ($("#chk_new_" + IdColumn).hasClass('IsSaved') == false) {
  409. ids = IdColumn + "|";
  410. }
  411. else {
  412. ids1 = IdColumn + "|";
  413. }
  414. }
  415. var ChckbxId = Unibase.Forms.Controls.multiselectlist.Instance().id.find(x => x == IdColumn) ? true : false;
  416. if (ChckbxId == false) {
  417. if ($("#chk_new_" + IdColumn).hasClass('IsSaved') == false) {
  418. multiselectlist.Instance().id.push(IdColumn);
  419. }
  420. }
  421. }
  422. else {
  423. var tg = ids.split('|');
  424. ids = "";
  425. for (var i = 0; i < tg.length; i++) {
  426. if (tg[i] != IdColumn && tg[i] != '') {
  427. ids += tg[i] + "|";
  428. }
  429. }
  430. if ($("#chk_new_" + IdColumn).hasClass('IsSaved') == false) {
  431. multiselectlist.Instance().id.splice(Unibase.Forms.Controls.multiselectlist.Instance().id.findIndex(p => p == IdColumn), 1);
  432. }
  433. var tg1 = ids1.split('|');
  434. ids1 = "";
  435. for (var i = 0; i < tg1.length; i++) {
  436. if (tg1[i] != IdColumn && tg1[i] != '') {
  437. ids1 += tg1[i] + "|";
  438. }
  439. }
  440. if ($("#chk_new_" + IdColumn).hasClass('IsSaved') == true) {
  441. multiselectlist.Instance().iddel.push(IdColumn);
  442. }
  443. $("#chk_new_" + IdColumn).removeClass('IsSaved');
  444. }
  445. }
  446. $("#hdnchkmulti_" + docPropertyName).val(ids);
  447. $("#hdnchkmultidel_" + docPropertyName).val(ids1);
  448. }
  449. static Instance() {
  450. if (this._instance === undefined)
  451. this._instance = new multiselectlist();
  452. return this._instance;
  453. }
  454. }
  455. Controls.multiselectlist = multiselectlist;
  456. })(Controls = Forms.Controls || (Forms.Controls = {}));
  457. })(Forms = Unibase.Forms || (Unibase.Forms = {}));
  458. })(Unibase || (Unibase = {}));