This commit is contained in:
2023-03-20 16:20:33 +00:00
parent 514c3ac3f6
commit 8c7d6421f5
2288 changed files with 712 additions and 73769 deletions
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
{"version":3,"file":"facebook.js","sourceRoot":"","sources":["facebook.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CAkDhB;AAlDD,WAAU,OAAO;IACb,IAAiB,QAAQ,CAgDxB;IAhDD,WAAiB,QAAQ;QACrB,IAAiB,cAAc,CA8C9B;QA9CD,WAAiB,cAAc;YAC3B,IAAiB,UAAU,CA4C1B;YA5CD,WAAiB,UAAU;gBACvB,IAAiB,UAAU,CA0C1B;gBA1CD,WAAiB,UAAU;oBACvB,MAAa,QAAS,SAAQ,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa;wBAE7D,QAAQ;4BACJ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,OAAO;4BACH,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB;4BAC7B,IAAI,IAAI,GAAE,EAAE,CAAC;4BACb,OAAO,IAAI,CAAC;wBAEhB,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB,EAAE,QAAkB;4BAEjD,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,IAAI,CAAC,WAAW;4BACZ,QAAQ,CAAA;4BAGR,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;wBAEjC,CAAC;wBACD,UAAU,CAAC,WAAW;4BAGlB,IAAI,IAAI,GAAG,wtBAAwtB,CAAC;4BACpuB,QAAQ,CAAC;4BAET,CAAC,CAAC,GAAG,GAAG,WAAW,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;wBAGtC,CAAC;wBAED,MAAM,CAAC,QAAQ;4BACX,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS;gCACrD,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;4BACnC,OAAO,IAAI,CAAC,QAAQ,CAAC;wBACzB,CAAC;qBACJ;oBAxCY,mBAAQ,WAwCpB,CAAA;gBACL,CAAC,EA1CgB,UAAU,GAAV,qBAAU,KAAV,qBAAU,QA0C1B;YACL,CAAC,EA5CgB,UAAU,GAAV,yBAAU,KAAV,yBAAU,QA4C1B;QACL,CAAC,EA9CgB,cAAc,GAAd,uBAAc,KAAd,uBAAc,QA8C9B;IACL,CAAC,EAhDgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAgDxB;AACL,CAAC,EAlDS,OAAO,KAAP,OAAO,QAkDhB"}
@@ -1 +0,0 @@
var Unibase;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){let i;(function(t){class i extends n.Platform.Core.BaseComponent{cssFiles(){throw new Error("Method not implemented.");}jsFiles(){throw new Error("Method not implemented.");}html(){return""}load(){throw new Error("Method not implemented.");}init(n){this.loaddesign(n)}loaddesign(n){$("."+n).append('<div class="h-40p w-320p mx-auto d-flex flex-row"><img src="https://pngimg.com/uploads/facebook_logos/facebook_logos_PNG19748.png" class="ml-1 py-1 w-5p h-5p img-fluid"><span class="ml-2 font-18 my-auto text-dark font-weight-500">Facebook<\/span><\/div><div class="d-flex w-320p mx-auto"><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FexxonMobil&tabs=timeline&width=320&height=590&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="320" height="590" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"><\/iframe><\/div>')}static Instance(){return(this.instance===null||this.instance===undefined)&&(this.instance=new i),this.instance}}t.Facebook=i})(i=t.Remainders||(t.Remainders={}))})(i=t.Components||(t.Components={}))})(i=t.Communications||(t.Communications={}))})(t=n.Platform||(n.Platform={}))})(Unibase||(Unibase={}));
@@ -1 +0,0 @@
{"version":3,"file":"instagram.js","sourceRoot":"","sources":["instagram.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CA6ChB;AA7CD,WAAU,OAAO;IACb,IAAiB,QAAQ,CA2CxB;IA3CD,WAAiB,QAAQ;QACrB,IAAiB,cAAc,CAyC9B;QAzCD,WAAiB,cAAc;YAC3B,IAAiB,UAAU,CAuC1B;YAvCD,WAAiB,UAAU;gBACvB,IAAiB,UAAU,CAqC1B;gBArCD,WAAiB,UAAU;oBACvB,MAAa,SAAU,SAAQ,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa;wBAE9D,QAAQ;4BACJ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,OAAO;4BACH,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB;4BAC7B,IAAI,IAAI,GAAE,EAAE,CAAC;4BACb,OAAO,IAAI,CAAC;wBAEhB,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB,EAAE,QAAkB;4BAEjD,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,IAAI,CAAC,WAAW;4BACZ,QAAQ,CAAA;4BACR,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;wBAEjC,CAAC;wBACD,UAAU,CAAC,WAAW;4BAElB,IAAI,IAAI,GAAG,s1NAAs1N,CAAC;4BACl2N,CAAC,CAAC,GAAG,GAAG,WAAW,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;4BAClC,CAAC,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;wBAE/D,CAAC;wBAED,MAAM,CAAC,QAAQ;4BACX,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS;gCACrD,IAAI,CAAC,QAAQ,GAAG,IAAI,SAAS,EAAE,CAAC;4BACpC,OAAO,IAAI,CAAC,QAAQ,CAAC;wBACzB,CAAC;qBACJ;oBAnCY,oBAAS,YAmCrB,CAAA;gBACL,CAAC,EArCgB,UAAU,GAAV,qBAAU,KAAV,qBAAU,QAqC1B;YACL,CAAC,EAvCgB,UAAU,GAAV,yBAAU,KAAV,yBAAU,QAuC1B;QACL,CAAC,EAzCgB,cAAc,GAAd,uBAAc,KAAd,uBAAc,QAyC9B;IACL,CAAC,EA3CgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA2CxB;AACL,CAAC,EA7CS,OAAO,KAAP,OAAO,QA6ChB"}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,28 +0,0 @@
var Unibase;(function(n){let t;(function(t){let i;(function(i){let r;(function(i){class r extends t.Core.BaseComponent{constructor(){super(...arguments);this.instantReminderId=0;this.isduplicate=!0}cssFiles(){return[]}jsFiles(){return["platform/communications/managers/reminders/remindermanager.js","platform/communications/requests/reminders/instantreminder.js","platform/communications/infos/reminders/instantreminder.js","platform/communications/requests/reminders/instantreminder.js","libs/jquery/pagination/jquery.pagination.js","platform/communications/enums/reminders/instantreminderstatus.js"]}html(){return`<form id="frmUnibase_ActionsData" data-validate="parsley" data-isdynamic="false">
<div class="card bg-light">
<div class="b-b bg-white card-header header">
<span class="record_count"><b>Count:</b><span class="badge-light badge rounded ml-1 mb-1" id="response_count">0</span></span>
<span class="isDuplicate mr-10"><input type="radio" name="instantreminder_option" class="isduplicate mr-1">Isduplicate</span>
<span class="data mr-10"><input type="radio" name="instantreminder_option" class="isunique" >IsUnique</span>
</div>
<div class="card-body scrollable" style="overflow-y: scroll;">
<div class="row">
<table class="table">
<thead>
<tr id="Reminders_Row" class="bg-primary">
</tr>
</thead>
<tbody class="ActionsDatalist_body"></tbody>
</table>
</div>
</div>
<div class="bg-white card-footer footer" id="instantreminder_footer">
<a href="javascript:;" id="btnCloseInstantreminder" class="btn btn-light btn-sm mr-auto "> Close</a><div class="pagination pagination-rounded custom-pagination mb-2" id="divpagination"></div>
</div>
</div>
</form>`}load(t,i){$("#btnCloseInstantreminder").click(function(){$("#"+i).modal("hide");$("#"+i).remove()});$('input[name="instantreminder_option"]').change(function(){var t=$(".isduplicate").is(":checked");n.Platform.Communications.Managers.ReminderManager.Instance().updateIsDuplicate(r.Instance().instantReminderId,t).then(function(t){t.result!=null&&(r.Instance().isduplicate=t.result,MessageHelper.Instance().showSuccess(t.message,"message_div"),$(".ActionsDatalist_body").html(""),n.Platform.Communications.Managers.ReminderManager.Instance().getRecipients(r.Instance().instantReminderId,t.result).then(function(t){t.result!=null&&n.Platform.Communications.Components.InstantReminders_Widget.Instance().loadrecipients(t.result)}))})});r.Instance().isduplicate?$(".isduplicate").prop("checked",!0):$(".isunique").prop("checked",!0)}init(t){if(n.Themes.Providers.Detail_Settings.Instance().InputParameters.length>0)for(let t of n.Themes.Providers.Detail_Settings.Instance().InputParameters)t.Key==="hf_"+n.Themes.Providers.DetailHelper.installedAppId+"_recordid"&&(r.Instance().instantReminderId=Number(t.Value));n.Platform.Communications.Components.InstantReminders_Widget.Instance().loadJsFiles();n.Platform.Communications.Components.InstantReminders_Widget.Instance().render(t)}render(t){var i=`<div class="instantremainders"><div id="message_div"></div>
<div class="bg-white card-header"><div class"remainder_datails mb-7 text-dark">
<b>Reminder Details</b></div><table class="table">
<thead style="background-color:#a1a1a1"><tr><th><b>Subject</b></th><th><b>Body</b>
</th><th><b>Recipients</b></th><th></th></tr></thead><tbody class="card-body">
</tbody></div></div>`;$("."+t).append(i);n.Platform.Communications.Components.InstantReminders_Widget.Instance().loaddetails(r.Instance().instantReminderId)}loaddetails(t){n.Platform.Communications.Managers.ReminderManager.Instance().getInstantReminder(t).then(function(t){if(t.result!=null){r.Instance().isduplicate=t.result.IsDuplicate;var i="<tr><td>"+t.result.Subject+"<\/td><td>"+t.result.Body+'<\/td><td><a href="#"onclick="Unibase.Platform.Communications.Components.InstantReminders_Widget.Instance().loadpopup();">Recipients<\/a><\/td><td><span class="badge send_btn hidden pull-right" onclick="Unibase.Platform.Communications.Components.InstantReminders_Widget.Instance().sendReminder('+r.Instance().instantReminderId+')" style="background-color:#00B0FF;color:#e9e8e8;cursor:pointer">Send<\/span><\/td><\/tr>';$(".card-body").html(i);t.result.ReminderStatus==Number(n.Platform.Communications.Enums.InstantReminderStatus.Draft)&&$(".send_btn").removeClass("hidden")}})}loadpopup(t){this.navigationHelper.popup(r.Instance().instantReminderId,t,n.Platform.Communications.Components.InstantReminders_Widget.Instance(),null,null);n.Platform.Communications.Managers.ReminderManager.Instance().getRecipients(r.instance.instantReminderId,r.Instance().isduplicate).then(function(t){t.result!=null&&n.Platform.Communications.Components.InstantReminders_Widget.Instance().loadrecipients(t.result)})}loadrecipients(t){var i=Object.getOwnPropertyNames(t[0]),r="",u;for(let n=0;n<i.length;n++)r+="<th>"+i[n]+"<\/th>";r="<th>S.no<\/th>"+r;$("#Reminders_Row").html(r);$("#response_count").text(t.length);n.Platform.Communications.Components.InstantReminders_Widget.Instance().loaddata(0,t,i);u=$("#divpagination");u.pagination(t.length,10,{current_page:0,callback:function(r){n.Platform.Communications.Components.InstantReminders_Widget.Instance().loaddata(r,t,i)}})}loaddata(n,t,i){var r;$(".ActionsDatalist_body").html("");var u=(n+1)*10,e=u-10,f="";for(let n=e;n<u;n++)if(t.length>n){r="";for(let u=0;u<i.length;u++)r+="<td>"+t[n][i[u]]+"<\/td>";f+="<tr><td>"+(n+1)+"<\/td>"+r+"<\/tr>"}else break;$(".ActionsDatalist_body").html(f)}loadJsFiles(){var t=n.Platform.Communications.Components.InstantReminders_Widget.Instance().jsFiles();n.Platform.Helpers.FileCacheHelper.Instance().loadJsFiles(t,function(){})}sendReminder(t){var i=new n.Platform.Communications.Requests.InstantReminder;i.InstantReminderId=t;i.ReminderStatus=Number(n.Platform.Communications.Enums.InstantReminderStatus.Active);n.Platform.Communications.Managers.ReminderManager.Instance().sendInstantReminder(i).then(function(){$(".send_btn").addClass("d-none")})}static Instance(){return this.instance==undefined&&(this.instance=new r),this.instance}}i.InstantReminders_Widget=r})(r=i.Components||(i.Components={}))})(i=t.Communications||(t.Communications={}))})(t=n.Platform||(n.Platform={}))})(Unibase||(Unibase={}));
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long