@genpact/genome.mfe.solidify-app 1.4.1-alpha.41 → 1.4.1-alpha.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1728 -0
- package/dist/.DS_Store +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +1 -4
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -17
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyLearner.js +278 -1
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +278 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerFail.js +1 -1
- package/dist/js/SolidifyLearnerFail.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerNotFound.js +1 -1
- package/dist/js/SolidifyLearnerNotFound.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/app.js +16 -280
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-10a7fb9b.js +2 -0
- package/dist/js/chunk-10a7fb9b.js.map +1 -0
- package/package.json +1 -1
- package/dist/Genpact_logo.png +0 -0
- package/dist/fonts/GuardianEgyp-Light.otf +0 -0
- package/dist/fonts/GuardianTextEgyp-Bold.otf +0 -0
- package/dist/img/loadernew.gif +0 -0
- package/dist/js/SolidifyAdministrationDiffAccessLearners.js +0 -2
- package/dist/js/SolidifyAdministrationDiffAccessLearners.js.map +0 -1
- package/dist/js/TransformAdministrationSystemSetting.js +0 -2
- package/dist/js/TransformAdministrationSystemSetting.js.map +0 -1
- package/dist/js/chunk-06552700.js +0 -2
- package/dist/js/chunk-06552700.js.map +0 -1
package/dist/.DS_Store
ADDED
|
Binary file
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/index.html
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon"
|
|
2
|
-
const fullSrc = new URL('/js/app.js', window.location.href);
|
|
3
|
-
mfLink.href = fullSrc;
|
|
4
|
-
mfLink.textContent = fullSrc;</script></main></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>@genpact/genome.mfe.solidify-app</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/SolidifyAbout.js" rel="prefetch"><link href="/js/SolidifyAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationAssignProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationEmailTemplateManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationManageProxy.js" rel="prefetch"><link href="/js/SolidifyAdministrationProgramAdministration.js" rel="prefetch"><link href="/js/SolidifyAdministrationSystemSetting.js" rel="prefetch"><link href="/js/SolidifyAdministrationTaskManagement.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewEmailQueue.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewProxyRequests.js" rel="prefetch"><link href="/js/SolidifyAdministrationViewRereviewRequests.js" rel="prefetch"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerDone.js" rel="prefetch"><link href="/js/SolidifyLearnerFail.js" rel="prefetch"><link href="/js/SolidifyLearnerGating.js" rel="prefetch"><link href="/js/SolidifyLearnerNotFound.js" rel="prefetch"><link href="/js/SolidifyLearnerPeerReview.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/SolidifyLearnerStatus.js" rel="prefetch"><link href="/js/chunk-10a7fb9b.js" rel="prefetch"><link href="/js/app.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @genpact/genome.mfe.solidify-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/app.js"></script></body></html>
|
package/dist/js/SolidifyAbout.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAbout"],{"11ce":function(e,t){var a=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var o,n,s,i,l;for(s in t)if(o=e[s],n=t[s],o&&a.test(s))if("class"===s&&("string"===typeof o&&(l=o,e[s]=o={},o[l]=!0),"string"===typeof n&&(l=n,t[s]=n={},n[l]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(i in n)o[i]=r(o[i],n[i]);else if(Array.isArray(o))e[s]=o.concat(n);else if(Array.isArray(n))e[s]=[o].concat(n);else for(i in n)o[i]=n[i];else e[s]=t[s];return e}),{})}},"239d":function(e,t,a){var r=a("a96c"),o=r.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},"32d4":function(e,t,a){var r=a("a96c"),o=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},5820:function(e,t,a){var r=a("90f7");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=a("c69b").default;o("7530d484",r,!0,{sourceMap:!1,shadowMode:!1})},"7b64":function(e,t,a){"use strict";var r=a("d6de"),o=a("e3e8"),n=a("d36e"),s=a("096c"),i=a("03d8"),l=a("b1ca"),c=a("5569"),u=a("8480"),d=a("f74f"),p=a("92c7"),f=a("239d"),h=a("99d8"),g=a("9420"),v=a("32d4"),m=[],w=o(m.sort),b=o(m.push),x=u((function(){m.sort(void 0)})),y=u((function(){m.sort(null)})),C=p("sort"),k=!u((function(){if(g)return g<70;if(!(f&&f>3)){if(h)return!0;if(v)return v<603;var e,t,a,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(r=0;r<47;r++)m.push({k:t+r,v:a})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}})),_=x||!y||!C||!k,A=function(e){return function(t,a){return void 0===a?-1:void 0===t?1:void 0!==e?+e(t,a)||0:c(t)>c(a)?1:-1}};r({target:"Array",proto:!0,forced:_},{sort:function(e){void 0!==e&&n(e);var t=s(this);if(k)return void 0===e?w(t):w(t,e);var a,r,o=[],c=i(t);for(r=0;r<c;r++)r in t&&b(o,t[r]);d(o,A(e)),a=o.length,r=0;while(r<a)t[r]=o[r++];while(r<c)l(t,r++);return t}})},"90f7":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".search-action[data-v-7b00f43e]{margin-top:-.3rem}.modal-filter[data-v-7b00f43e]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.modal-filter-body[data-v-7b00f43e]{min-height:200px}.arrow[data-v-7b00f43e]{float:right;width:12px;height:15px;background-repeat:no-repeat;background-size:contain;background-position-y:bottom}.number[data-v-7b00f43e]{display:inline-block;padding:4px 10px;color:#fff;border-radius:4px;background:#44475c;margin:0 5px;cursor:pointer}.number.active[data-v-7b00f43e],.number[data-v-7b00f43e]:hover{background:#717699}",""]),e.exports=t},"949b":function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return l})),a.d(t,"e",(function(){return c})),a.d(t,"f",(function(){return u}));var r=a("11ce"),o=a.n(r),n={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},t.data]),[e("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},s={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},t.data]),[e("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},i={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},t.data]),[e("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},l={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},t.data]),[e("polyline",{attrs:{points:"1 4 1 10 7 10"}}),e("polyline",{attrs:{points:"23 20 23 14 17 14"}}),e("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},c={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},t.data]),[e("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),e("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},u={name:"XIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",r=t.data.attrs||{};return r.width=r.width||a,r.height=r.height||a,t.data.attrs=r,e("svg",o()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},t.data]),[e("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),e("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"99d8":function(e,t,a){var r=a("a96c");e.exports=/MSIE|Trident/.test(r)},a409:function(e,t,a){"use strict";a("5820")},af13:function(e,t,a){"use strict";var r=a("d6de"),o=a("5523").map,n=a("12b2"),s=n("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},b1ca:function(e,t,a){"use strict";var r=a("801b"),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},f74f:function(e,t,a){var r=a("6c3a"),o=Math.floor,n=function(e,t){var a=e.length,l=o(a/2);return a<8?s(e,t):i(e,n(r(e,0,l),t),n(r(e,l),t),t)},s=function(e,t){var a,r,o=e.length,n=1;while(n<o){r=n,a=e[n];while(r&&t(e[r-1],a)>0)e[r]=e[--r];r!==n++&&(e[r]=a)}return e},i=function(e,t,a,r){var o=t.length,n=a.length,s=0,i=0;while(s<o||i<n)e[s+i]=s<o&&i<n?r(t[s],a[i])<=0?t[s++]:a[i++]:s<o?t[s++]:a[i++];return e};e.exports=n},f820:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"about"},[a("h1",[e._v("This is an about page")]),a("router-link",{staticClass:"flex flex-col items-center px-3",attrs:{to:{name:"SolidifyHome"}}},[e._v(" Home ")]),a("ExecutionTable",{attrs:{rows:e.rows,columns:e.columns,"multi-select-enabled":!1}})],1)},o=[],n=a("b210"),s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("main",[a("div",{staticClass:"p-2 mt-5 bg-white rounded-lg shadow-md"},[a("section",{staticClass:"flex items-center justify-between p-2 border border-gray-400"},[a("div",{staticClass:"filter-grid flex-none flex"},[a("button",{staticClass:"button focus:outline-none hover:text-gray-700 px-3 font-medium leading-6 text-gray-600 cursor-pointer"},[a("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1),a("div",{staticClass:"relative"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchInput,expression:"searchInput"}],staticClass:"h-10 w-72 pl-2 pr-20 border border-gray-400 z-0 focus:shadow focus:outline-none",attrs:{type:"text",name:"inputsearch"},domProps:{value:e.searchInput},on:{keydown:e.showHideCancel,input:function(t){t.target.composing||(e.searchInput=t.target.value)}}}),a("div",{staticClass:"search-action absolute top-2 right-2"},[a("button",{directives:[{name:"show",rawName:"v-show",value:e.isShowCancel,expression:"isShowCancel"}],staticClass:"text-gray-500 py-1",on:{click:e.clearInput}},[a("x-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1),a("button",{staticClass:"text-gray-500 py-1",on:{click:e.searchInput}},[a("search-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)])]),a("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeModal,expression:"closeModal"}],staticClass:"text-gray-500 py-1 ml-1",on:{click:e.showModal}},[a("filter-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)]),a("div",{staticClass:"flex-1 text-right text-blue-900"},[e._v(e._s(e.selectedRows.length)+" of "+e._s(e.tableRows.length)+" selected")])]),a("section",[a("div",{attrs:{id:"sixthTable"}},[a("table",{staticClass:"w-full"},[a("thead",[a("tr",{staticClass:"border border-t-0 border-gray-400"},[a("th",[e.multiSelectEnabled?a("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllSelected,expression:"isAllSelected"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllSelected)?e._i(e.isAllSelected,null)>-1:e.isAllSelected},on:{click:function(t){return e.selectAll()},change:function(t){var a=e.isAllSelected,r=t.target,o=!!r.checked;if(Array.isArray(a)){var n=null,s=e._i(a,n);r.checked?s<0&&(e.isAllSelected=a.concat([n])):s>-1&&(e.isAllSelected=a.slice(0,s).concat(a.slice(s+1)))}else e.isAllSelected=o}}}):e._e()]),e._l(e.columns,(function(t){return a("th",{key:t.field,staticClass:"text-left cursor-pointer bg-white text-gray-400 p-2 min-w-40%",on:{click:function(a){return e.sortTable(t.field)}}},[t.visible?a("span",[e._v(e._s(t.text))]):e._e(),t.field==e.sortColumn?a("div",{staticClass:"arrow"},[a("chevron-down-icon",{directives:[{name:"show",rawName:"v-show",value:e.ascending,expression:"ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}}),a("chevron-up-icon",{directives:[{name:"show",rawName:"v-show",value:!e.ascending,expression:"!ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}})],1):e._e()])}))],2)]),a("tbody",e._l(e.getRows(),(function(t){return a("tr",{key:t.id,staticClass:"border border-t-0 border-gray-400"},[a("td",{staticClass:"text-center p-2 last:pb-10 last:border-r-0"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedRows,expression:"selectedRows"}],attrs:{type:"checkbox"},domProps:{value:t.id,checked:Array.isArray(e.selectedRows)?e._i(e.selectedRows,t.id)>-1:e.selectedRows},on:{change:[function(a){var r=e.selectedRows,o=a.target,n=!!o.checked;if(Array.isArray(r)){var s=t.id,i=e._i(r,s);o.checked?i<0&&(e.selectedRows=r.concat([s])):i>-1&&(e.selectedRows=r.slice(0,i).concat(r.slice(i+1)))}else e.selectedRows=n},function(a){return e.updateSelectAll(t.id)}]}})]),e._l(e.columns,(function(r){return a("td",{key:r.field,staticClass:"text-left p-2 last:pb-10 last:border-r-0 text-blue-900"},[r.visible?a("span",[e._v(e._s(t[r.field]))]):e._e()])}))],2)})),0)]),a("div",{staticClass:"w-full text-right p-2"},[a("div",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedElementPerPage,expression:"selectedElementPerPage"}],staticClass:"border border-2 border-gray-400 mb-1.5 text-gray-600",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedElementPerPage=t.target.multiple?a:a[0]},function(t){return e.onChangeElementPerPage()}]}},e._l(e.elementPerPage,(function(t){return a("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})),0)]),e._l(e.numPages(),(function(t){return a("div",{key:t,staticClass:"number",class:[t==e.currentPage?"active":""],on:{click:function(a){return e.changePage(t)}}},[e._v(e._s(t))])}))],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isModalVisible,expression:"isModalVisible"}],staticClass:"modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit z-40"},[a("div",{staticClass:"w-full max-w-md bg-white shadow-lg rounded-lg border border-gray-400"},[a("header",{staticClass:"modal-header bg-gray-200 text-gray-400 p-2 overflow-hidden"},[a("button",{on:{click:function(t){return e.FilterGrid()}}},[e._v("Apply Now")]),a("button",{staticClass:"btn-close float-right",attrs:{type:"button"},on:{click:e.closeModal}},[e._v("Close")])]),a("section",{staticClass:"modal-filter-body max-h-screen overflow-y-auto"},e._l(e.columns,(function(t){return a("div",{key:t.field},[a("div",{staticClass:"border border-gray-100 px-2 pb-2 mb2",on:{click:function(e){if(e.target!==e.currentTarget)return null;t.showToggle=!t.showToggle}}},[e._v(" "+e._s(t.text)+" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.showToggle,expression:"col.showToggle"}],staticClass:"filter-data"},["string"==t.datatype?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.value},on:{input:function(a){a.target.composing||e.$set(t,"value",a.target.value)}}})]):e._e(),"number"==t.datatype?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:t.value},on:{input:function(a){a.target.composing||e.$set(t,"value",a.target.value)}}})]):e._e(),"date"==t.datatype?a("div",{staticClass:"xl:flex lg:flex md:flex block"},[a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[a("label",[e._v("From ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"start-"+t.text,name:"start-"+t.text},domProps:{value:t.value.from},on:{input:function(a){a.target.composing||e.$set(t.value,"from",a.target.value)}}})]),a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[a("label",[e._v("To ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"end-"+t.text,name:"end-"+t.text},domProps:{value:t.value.to},on:{input:function(a){a.target.composing||e.$set(t.value,"to",a.target.value)}}})])]):e._e(),"datetime-local"==t.datatype?a("div",{staticClass:"xl:flex lg:flex md:flex block"},[a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[a("label",[e._v("From ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"start-"+t.text,name:"start-"+t.text},domProps:{value:t.value.from},on:{input:function(a){a.target.composing||e.$set(t.value,"from",a.target.value)}}})]),a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[a("label",[e._v("To ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"end-"+t.text,name:"end-"+t.text},domProps:{value:t.value.to},on:{input:function(a){a.target.composing||e.$set(t.value,"to",a.target.value)}}})])]):e._e()])])])})),0)])])])},i=[],l=a("9da1"),c=a("e3c6"),u=(a("093e"),a("9953"),a("7b64"),a("f6aa"),a("af13"),a("949b")),d=Object(n["b"])({name:"ExecutionTable",props:{rows:{type:Array,required:!0},columns:{type:Array,required:!0},multiSelectEnabled:{type:Boolean,default:!1}},components:{RefreshCcwIcon:u["d"],SearchIcon:u["e"],XIcon:u["f"],ChevronDownIcon:u["a"],ChevronUpIcon:u["b"],FilterIcon:u["c"]},setup:function(e){var t=Object(n["f"])(""),a=Object(n["f"])(!1),r=Object(n["f"])(1),o=Object(n["f"])([5,10,15,20]),s=Object(n["f"])(o.value[0]),i=Object(n["f"])(!1),u=Object(n["f"])(""),d=Object(n["f"])([]),p=Object(n["f"])(!1),f=Object(n["f"])(!1),h=Object(n["f"])(!1),g=Object(n["e"])({}),v=e.rows;Object(n["d"])(Object(c["a"])(Object(l["a"])().mark((function t(){return Object(l["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.columns.forEach((function(e){"date"===e.datatype||"datetime-local"===e.datatype?g[e.field]={from:"",to:""}:g[e.field]=""}));case 1:case"end":return t.stop()}}),t)}))));var m=function(){0===t.value.length?a.value=!1:a.value=!0},w=function(e){u.value===e?i.value=!i.value:(i.value=!0,u.value=e);var t=i.value;v.sort((function(a,r){return a[e]>r[e]?t?1:-1:a[e]<r[e]?t?-1:1:0}))},b=function(){var e=Math.ceil(v.length/s.value);return e},x=function(){var e=(r.value-1)*s.value,t=e+s.value;return v.slice(e,t)},y=function(){p.value=!p.value,d.value=[],p.value&&(d.value=x().map((function(e){return e.id})))},C=function(t){console.log("updateSelectAll Called",t),e.multiSelectEnabled?x().length===d.value.length?p.value=!0:p.value=!1:(d.value=[],d.value.push(t))},k=function(e){r.value=e,C()},_=function(){f.value=!1},A=function(){f.value=!0},N=function(){e.columns.forEach((function(e){"date"===e.datatype||"datetime-local"===e.datatype?g[e.field]={from:e.value.from,to:e.value.to}:g[e.field]=e.value}))},z=function(){C(null)},P=function(){t.value="",a.value=!1};return{searchInput:t,isShowCancel:a,showHideCancel:m,currentPage:r,elementPerPage:o,selectedElementPerPage:s,ascending:i,sortColumn:u,sortTable:w,numPages:b,getRows:x,changePage:k,selectedRows:d,selectAll:y,updateSelectAll:C,isAllSelected:p,isModalVisible:f,closeModal:_,showModal:A,showTick:h,filterData:g,FilterGrid:N,onChangeElementPerPage:z,clearInput:P,tableRows:v}}}),p=d,f=(a("a409"),a("b709")),h=Object(f["a"])(p,s,i,!1,null,"7b00f43e",null),g=h.exports,v=Object(n["b"])({name:"About",components:{ExecutionTable:g},setup:function(){var e=Object(n["f"])([{id:1,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:2,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:3,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:4,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:5,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:6,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:7,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:8,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:9,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:10,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:11,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:12,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"}]),t=Object(n["f"])([{field:"id",text:"Id",datatype:"number",showToggle:!1,value:"",visible:!0},{field:"name",text:"Name",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"phone",text:"Phone",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"profession",text:"Profession",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"createdDate",text:"Created Date",datatype:"datetime-local",showToggle:!1,value:{from:"",to:""}},{field:"registrationDate",text:"Registration Date",datatype:"date",showToggle:!1,value:{from:"",to:""}}]);return console.log("inside About"),{rows:e,columns:t}}}),m=v,w=Object(f["a"])(m,r,o,!1,null,null,null);t["default"]=w.exports}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAbout"],{"02a9":function(e,t,a){var o=a("a4ea");t=o(!1),t.push([e.i,".search-action[data-v-7b00f43e]{margin-top:-.3rem}.modal-filter[data-v-7b00f43e]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.modal-filter-body[data-v-7b00f43e]{min-height:200px}.arrow[data-v-7b00f43e]{float:right;width:12px;height:15px;background-repeat:no-repeat;background-size:contain;background-position-y:bottom}.number[data-v-7b00f43e]{display:inline-block;padding:4px 10px;color:#fff;border-radius:4px;background:#44475c;margin:0 5px;cursor:pointer}.number.active[data-v-7b00f43e],.number[data-v-7b00f43e]:hover{background:#717699}",""]),e.exports=t},"2a91":function(e,t,a){var o=a("5638"),r=a("9ae9"),n=a("bc2f"),s=a("9025"),i=a("5f3d"),l=a("6f5a"),c=r([].push),u=function(e){var t=1==e,a=2==e,r=3==e,u=4==e,d=6==e,f=7==e,v=5==e||d;return function(p,g,m,h){for(var b,w,x=s(p),y=n(x),C=o(g,m),_=i(y),k=0,A=h||l,P=t?A(p,_):a||f?A(p,0):void 0;_>k;k++)if((v||k in y)&&(b=y[k],w=C(b,k,x),e))if(t)P[k]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:c(P,b)}else switch(e){case 4:return!1;case 7:c(P,b)}return d?-1:r||u?u:P}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},"43a0":function(e,t,a){"use strict";var o=a("2a91").forEach,r=a("7001"),n=r("forEach");e.exports=n?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},"48f8":function(e,t,a){"use strict";var o=a("702c"),r=a("2a91").map,n=a("ad77"),s=n("map");o({target:"Array",proto:!0,forced:!s},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"4bac":function(e,t,a){var o=a("02a9");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=a("0a20").default;r("36f955d7",o,!0,{sourceMap:!1,shadowMode:!1})},"4cd1":function(e,t,a){var o=a("ee18"),r=o.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7001:function(e,t,a){"use strict";var o=a("104e");e.exports=function(e,t){var a=[][e];return!!a&&o((function(){a.call(null,t||function(){throw 1},1)}))}},7056:function(e,t,a){var o=a("3d28"),r=a("c8e9"),n=a("5f3d"),s=a("e339"),i=o.Array,l=Math.max;e.exports=function(e,t,a){for(var o=n(e),c=r(t,o),u=r(void 0===a?o:a,o),d=i(l(u-c,0)),f=0;c<u;c++,f++)s(d,f,e[c]);return d.length=f,d}},a409:function(e,t,a){"use strict";a("4bac")},af49:function(e,t,a){var o=a("ee18"),r=o.match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},b025:function(e,t,a){"use strict";var o=a("702c"),r=a("9ae9"),n=a("fad3"),s=a("9025"),i=a("5f3d"),l=a("69e6"),c=a("104e"),u=a("dce5"),d=a("7001"),f=a("4cd1"),v=a("d0af"),p=a("8705"),g=a("af49"),m=[],h=r(m.sort),b=r(m.push),w=c((function(){m.sort(void 0)})),x=c((function(){m.sort(null)})),y=d("sort"),C=!c((function(){if(p)return p<70;if(!(f&&f>3)){if(v)return!0;if(g)return g<603;var e,t,a,o,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(o=0;o<47;o++)m.push({k:t+o,v:a})}for(m.sort((function(e,t){return t.v-e.v})),o=0;o<m.length;o++)t=m[o].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}})),_=w||!x||!y||!C,k=function(e){return function(t,a){return void 0===a?-1:void 0===t?1:void 0!==e?+e(t,a)||0:l(t)>l(a)?1:-1}};o({target:"Array",proto:!0,forced:_},{sort:function(e){void 0!==e&&n(e);var t=s(this);if(C)return void 0===e?h(t):h(t,e);var a,o,r=[],l=i(t);for(o=0;o<l;o++)o in t&&b(r,t[o]);u(r,k(e)),a=r.length,o=0;while(o<a)t[o]=r[o++];while(o<l)delete t[o++];return t}})},d0af:function(e,t,a){var o=a("ee18");e.exports=/MSIE|Trident/.test(o)},dce5:function(e,t,a){var o=a("7056"),r=Math.floor,n=function(e,t){var a=e.length,l=r(a/2);return a<8?s(e,t):i(e,n(o(e,0,l),t),n(o(e,l),t),t)},s=function(e,t){var a,o,r=e.length,n=1;while(n<r){o=n,a=e[n];while(o&&t(e[o-1],a)>0)e[o]=e[--o];o!==n++&&(e[o]=a)}return e},i=function(e,t,a,o){var r=t.length,n=a.length,s=0,i=0;while(s<r||i<n)e[s+i]=s<r&&i<n?o(t[s],a[i])<=0?t[s++]:a[i++]:s<r?t[s++]:a[i++];return e};e.exports=n},f785:function(e,t,a){"use strict";var o=a("702c"),r=a("3d28"),n=a("b6ff"),s=a("5434"),i=a("ad36"),l=a("c8e9"),c=a("5f3d"),u=a("b6a8"),d=a("e339"),f=a("391b"),v=a("ad77"),p=a("43f9"),g=v("slice"),m=f("species"),h=r.Array,b=Math.max;o({target:"Array",proto:!0,forced:!g},{slice:function(e,t){var a,o,r,f=u(this),v=c(f),g=l(e,v),w=l(void 0===t?v:t,v);if(n(f)&&(a=f.constructor,s(a)&&(a===h||n(a.prototype))?a=void 0:i(a)&&(a=a[m],null===a&&(a=void 0)),a===h||void 0===a))return p(f,g,w);for(o=new(void 0===a?h:a)(b(w-g,0)),r=0;g<w;g++,r++)g in f&&d(o,r,f[g]);return o.length=r,o}})},f820:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"about"},[a("h1",[e._v("This is an about page")]),a("router-link",{staticClass:"flex flex-col items-center px-3",attrs:{to:{name:"SolidifyHome"}}},[e._v(" Home ")]),a("ExecutionTable",{attrs:{rows:e.rows,columns:e.columns,"multi-select-enabled":!1}})],1)},r=[],n=a("54c7"),s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("main",[a("div",{staticClass:"p-2 mt-5 bg-white rounded-lg shadow-md"},[a("section",{staticClass:"flex items-center justify-between p-2 border border-gray-400"},[a("div",{staticClass:"filter-grid flex-none flex"},[a("button",{staticClass:"button focus:outline-none hover:text-gray-700 px-3 font-medium leading-6 text-gray-600 cursor-pointer"},[a("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1),a("div",{staticClass:"relative"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchInput,expression:"searchInput"}],staticClass:"h-10 w-72 pl-2 pr-20 border border-gray-400 z-0 focus:shadow focus:outline-none",attrs:{type:"text",name:"inputsearch"},domProps:{value:e.searchInput},on:{keydown:e.showHideCancel,input:function(t){t.target.composing||(e.searchInput=t.target.value)}}}),a("div",{staticClass:"search-action absolute top-2 right-2"},[a("button",{directives:[{name:"show",rawName:"v-show",value:e.isShowCancel,expression:"isShowCancel"}],staticClass:"text-gray-500 py-1",on:{click:e.clearInput}},[a("x-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1),a("button",{staticClass:"text-gray-500 py-1",on:{click:e.searchInput}},[a("search-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)])]),a("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeModal,expression:"closeModal"}],staticClass:"text-gray-500 py-1 ml-1",on:{click:e.showModal}},[a("filter-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)]),a("div",{staticClass:"flex-1 text-right text-blue-900"},[e._v(e._s(e.selectedRows.length)+" of "+e._s(e.tableRows.length)+" selected")])]),a("section",[a("div",{attrs:{id:"sixthTable"}},[a("table",{staticClass:"w-full"},[a("thead",[a("tr",{staticClass:"border border-t-0 border-gray-400"},[a("th",[e.multiSelectEnabled?a("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllSelected,expression:"isAllSelected"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllSelected)?e._i(e.isAllSelected,null)>-1:e.isAllSelected},on:{click:function(t){return e.selectAll()},change:function(t){var a=e.isAllSelected,o=t.target,r=!!o.checked;if(Array.isArray(a)){var n=null,s=e._i(a,n);o.checked?s<0&&(e.isAllSelected=a.concat([n])):s>-1&&(e.isAllSelected=a.slice(0,s).concat(a.slice(s+1)))}else e.isAllSelected=r}}}):e._e()]),e._l(e.columns,(function(t){return a("th",{key:t.field,staticClass:"text-left cursor-pointer bg-white text-gray-400 p-2 min-w-40%",on:{click:function(a){return e.sortTable(t.field)}}},[t.visible?a("span",[e._v(e._s(t.text))]):e._e(),t.field==e.sortColumn?a("div",{staticClass:"arrow"},[a("chevron-down-icon",{directives:[{name:"show",rawName:"v-show",value:e.ascending,expression:"ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}}),a("chevron-up-icon",{directives:[{name:"show",rawName:"v-show",value:!e.ascending,expression:"!ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}})],1):e._e()])}))],2)]),a("tbody",e._l(e.getRows(),(function(t){return a("tr",{key:t.id,staticClass:"border border-t-0 border-gray-400"},[a("td",{staticClass:"text-center p-2 last:pb-10 last:border-r-0"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedRows,expression:"selectedRows"}],attrs:{type:"checkbox"},domProps:{value:t.id,checked:Array.isArray(e.selectedRows)?e._i(e.selectedRows,t.id)>-1:e.selectedRows},on:{change:[function(a){var o=e.selectedRows,r=a.target,n=!!r.checked;if(Array.isArray(o)){var s=t.id,i=e._i(o,s);r.checked?i<0&&(e.selectedRows=o.concat([s])):i>-1&&(e.selectedRows=o.slice(0,i).concat(o.slice(i+1)))}else e.selectedRows=n},function(a){return e.updateSelectAll(t.id)}]}})]),e._l(e.columns,(function(o){return a("td",{key:o.field,staticClass:"text-left p-2 last:pb-10 last:border-r-0 text-blue-900"},[o.visible?a("span",[e._v(e._s(t[o.field]))]):e._e()])}))],2)})),0)]),a("div",{staticClass:"w-full text-right p-2"},[a("div",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedElementPerPage,expression:"selectedElementPerPage"}],staticClass:"border border-2 border-gray-400 mb-1.5 text-gray-600",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedElementPerPage=t.target.multiple?a:a[0]},function(t){return e.onChangeElementPerPage()}]}},e._l(e.elementPerPage,(function(t){return a("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})),0)]),e._l(e.numPages(),(function(t){return a("div",{key:t,staticClass:"number",class:[t==e.currentPage?"active":""],on:{click:function(a){return e.changePage(t)}}},[e._v(e._s(t))])}))],2)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isModalVisible,expression:"isModalVisible"}],staticClass:"modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit z-40"},[a("div",{staticClass:"w-full max-w-md bg-white shadow-lg rounded-lg border border-gray-400"},[a("header",{staticClass:"modal-header bg-gray-200 text-gray-400 p-2 overflow-hidden"},[a("button",{on:{click:function(t){return e.FilterGrid()}}},[e._v("Apply Now")]),a("button",{staticClass:"btn-close float-right",attrs:{type:"button"},on:{click:e.closeModal}},[e._v("Close")])]),a("section",{staticClass:"modal-filter-body max-h-screen overflow-y-auto"},e._l(e.columns,(function(t){return a("div",{key:t.field},[a("div",{staticClass:"border border-gray-100 px-2 pb-2 mb2",on:{click:function(e){if(e.target!==e.currentTarget)return null;t.showToggle=!t.showToggle}}},[e._v(" "+e._s(t.text)+" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.showToggle,expression:"col.showToggle"}],staticClass:"filter-data"},["string"==t.datatype?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.value},on:{input:function(a){a.target.composing||e.$set(t,"value",a.target.value)}}})]):e._e(),"number"==t.datatype?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:t.value},on:{input:function(a){a.target.composing||e.$set(t,"value",a.target.value)}}})]):e._e(),"date"==t.datatype?a("div",{staticClass:"xl:flex lg:flex md:flex block"},[a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[a("label",[e._v("From ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"start-"+t.text,name:"start-"+t.text},domProps:{value:t.value.from},on:{input:function(a){a.target.composing||e.$set(t.value,"from",a.target.value)}}})]),a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[a("label",[e._v("To ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"end-"+t.text,name:"end-"+t.text},domProps:{value:t.value.to},on:{input:function(a){a.target.composing||e.$set(t.value,"to",a.target.value)}}})])]):e._e(),"datetime-local"==t.datatype?a("div",{staticClass:"xl:flex lg:flex md:flex block"},[a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[a("label",[e._v("From ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"start-"+t.text,name:"start-"+t.text},domProps:{value:t.value.from},on:{input:function(a){a.target.composing||e.$set(t.value,"from",a.target.value)}}})]),a("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[a("label",[e._v("To ")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"end-"+t.text,name:"end-"+t.text},domProps:{value:t.value.to},on:{input:function(a){a.target.composing||e.$set(t.value,"to",a.target.value)}}})])]):e._e()])])])})),0)])])])},i=[],l=a("4c8c"),c=(a("6c29"),a("e72b"),a("fbd4"),a("b025"),a("f785"),a("48f8"),a("ec92")),u=Object(n["b"])({name:"ExecutionTable",props:{rows:{type:Array,required:!0},columns:{type:Array,required:!0},multiSelectEnabled:{type:Boolean,default:!1}},components:{RefreshCcwIcon:c["e"],SearchIcon:c["f"],XIcon:c["g"],ChevronDownIcon:c["a"],ChevronUpIcon:c["b"],FilterIcon:c["c"]},setup:function(e){var t=Object(n["f"])(""),a=Object(n["f"])(!1),o=Object(n["f"])(1),r=Object(n["f"])([5,10,15,20]),s=Object(n["f"])(r.value[0]),i=Object(n["f"])(!1),c=Object(n["f"])(""),u=Object(n["f"])([]),d=Object(n["f"])(!1),f=Object(n["f"])(!1),v=Object(n["f"])(!1),p=Object(n["e"])({}),g=e.rows;Object(n["d"])(Object(l["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.columns.forEach((function(e){"date"===e.datatype||"datetime-local"===e.datatype?p[e.field]={from:"",to:""}:p[e.field]=""}));case 1:case"end":return t.stop()}}),t)}))));var m=function(){0===t.value.length?a.value=!1:a.value=!0},h=function(e){c.value===e?i.value=!i.value:(i.value=!0,c.value=e);var t=i.value;g.sort((function(a,o){return a[e]>o[e]?t?1:-1:a[e]<o[e]?t?-1:1:0}))},b=function(){var e=Math.ceil(g.length/s.value);return e},w=function(){var e=(o.value-1)*s.value,t=e+s.value;return g.slice(e,t)},x=function(){d.value=!d.value,u.value=[],d.value&&(u.value=w().map((function(e){return e.id})))},y=function(t){console.log("updateSelectAll Called",t),e.multiSelectEnabled?w().length===u.value.length?d.value=!0:d.value=!1:(u.value=[],u.value.push(t))},C=function(e){o.value=e,y()},_=function(){f.value=!1},k=function(){f.value=!0},A=function(){e.columns.forEach((function(e){"date"===e.datatype||"datetime-local"===e.datatype?p[e.field]={from:e.value.from,to:e.value.to}:p[e.field]=e.value}))},P=function(){y(null)},D=function(){t.value="",a.value=!1};return{searchInput:t,isShowCancel:a,showHideCancel:m,currentPage:o,elementPerPage:r,selectedElementPerPage:s,ascending:i,sortColumn:c,sortTable:h,numPages:b,getRows:w,changePage:C,selectedRows:u,selectAll:x,updateSelectAll:y,isAllSelected:d,isModalVisible:f,closeModal:_,showModal:k,showTick:v,filterData:p,FilterGrid:A,onChangeElementPerPage:P,clearInput:D,tableRows:g}}}),d=u,f=(a("a409"),a("2490")),v=Object(f["a"])(d,s,i,!1,null,"7b00f43e",null),p=v.exports,g=Object(n["b"])({name:"About",components:{ExecutionTable:p},setup:function(){var e=Object(n["f"])([{id:1,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:2,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:3,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:4,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:5,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:6,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:7,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:8,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:9,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:10,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:11,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:12,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"}]),t=Object(n["f"])([{field:"id",text:"Id",datatype:"number",showToggle:!1,value:"",visible:!0},{field:"name",text:"Name",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"phone",text:"Phone",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"profession",text:"Profession",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"createdDate",text:"Created Date",datatype:"datetime-local",showToggle:!1,value:{from:"",to:""}},{field:"registrationDate",text:"Registration Date",datatype:"date",showToggle:!1,value:{from:"",to:""}}]);return console.log("inside About"),{rows:e,columns:t}}}),m=g,h=Object(f["a"])(m,o,r,!1,null,null,null);t["default"]=h.exports},fbd4:function(e,t,a){var o=a("3d28"),r=a("e2e8"),n=a("c225"),s=a("43a0"),i=a("0d67"),l=function(e){if(e&&e.forEach!==s)try{i(e,"forEach",s)}catch(t){e.forEach=s}};for(var c in r)r[c]&&l(o[c]&&o[c].prototype);l(n)}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAbout.js.map
|