@genpact/genome.mfe.solidify-app 1.4.1-alpha.5 → 1.4.1-alpha.52
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/dist/index.html +1 -1
- package/dist/js/LearnerRereview.js +2 -0
- package/dist/js/LearnerRereview.js.map +1 -0
- 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/SolidifyAdministrationAssignRoleToUser.js +2 -0
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -0
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +2 -0
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -0
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +2 -0
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -0
- package/dist/js/SolidifyAdministrationLearnerGrades.js +2 -0
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -0
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js +2 -0
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -0
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +2 -0
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -0
- package/dist/js/SolidifyAdministrationOperationalDetails.js +2 -0
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -0
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +2 -0
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -0
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +18 -0
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -0
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +2 -0
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -0
- 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/SolidifyAdministrationharvestReport.js +2 -0
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -0
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +2 -0
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -0
- package/dist/js/SolidifyLearner.js +6 -1
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js +2 -0
- package/dist/js/SolidifyLearnerError.js.map +1 -0
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +2 -0
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -0
- 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/SolidifyLearnerSubmitTask.js +2 -0
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -0
- package/dist/js/SystemUnderMaintenance.js +2 -0
- package/dist/js/SystemUnderMaintenance.js.map +1 -0
- package/dist/js/app.js +100 -115
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-28fb7652.js +2 -0
- package/dist/js/chunk-28fb7652.js.map +1 -0
- package/package.json +4 -2
- package/dist/js/SolidifyLearnerFail.js +0 -2
- package/dist/js/SolidifyLearnerFail.js.map +0 -1
- package/dist/js/SolidifyLearnerNotFound.js +0 -2
- package/dist/js/SolidifyLearnerNotFound.js.map +0 -1
- package/dist/js/chunk-00295dcd.js +0 -2
- package/dist/js/chunk-00295dcd.js.map +0 -1
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}),{})}},"15ca":function(e,t,a){"use strict";var r=a("732c").forEach,o=a("b266"),n=o("forEach");e.exports=n?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"1e0c":function(e,t,a){var r=a("2717");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=a("c69b").default;o("4403fcfc",r,!0,{sourceMap:!1,shadowMode:!1})},2717: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},"352e":function(e,t,a){var r=a("88b0"),o=a("76de"),n=a("eee4"),s=a("bfe9"),i=r.Array,l=Math.max;e.exports=function(e,t,a){for(var r=n(e),c=o(t,r),u=o(void 0===a?r:a,r),d=i(l(u-c,0)),f=0;c<u;c++,f++)s(d,f,e[c]);return d.length=f,d}},"36b5":function(e,t,a){"use strict";var r=a("5431"),o=a("88b0"),n=a("4c40"),s=a("97cf"),i=a("b02c"),l=a("76de"),c=a("eee4"),u=a("5f62"),d=a("bfe9"),f=a("8e7e"),p=a("a937"),h=a("3234"),v=p("slice"),g=f("species"),m=o.Array,b=Math.max;r({target:"Array",proto:!0,forced:!v},{slice:function(e,t){var a,r,o,f=u(this),p=c(f),v=l(e,p),w=l(void 0===t?p:t,p);if(n(f)&&(a=f.constructor,s(a)&&(a===m||n(a.prototype))?a=void 0:i(a)&&(a=a[g],null===a&&(a=void 0)),a===m||void 0===a))return h(f,v,w);for(r=new(void 0===a?m:a)(b(w-v,0)),o=0;v<w;v++,o++)v in f&&d(r,o,f[v]);return r.length=o,r}})},7143:function(e,t,a){var r=a("dc77"),o=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},"732c":function(e,t,a){var r=a("ff6b"),o=a("9d76"),n=a("07ef"),s=a("bbc1"),i=a("eee4"),l=a("24b9"),c=o([].push),u=function(e){var t=1==e,a=2==e,o=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,v,g,m){for(var b,w,x=s(h),y=n(x),C=r(v,g),k=i(y),_=0,A=m||l,N=t?A(h,k):a||f?A(h,0):void 0;k>_;_++)if((p||_ in y)&&(b=y[_],w=C(b,_,x),e))if(t)N[_]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return _;case 2:c(N,b)}else switch(e){case 4:return!1;case 7:c(N,b)}return d?-1:o||u?u:N}};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)}},"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"}})])}}},"9b75":function(e,t,a){var r=a("88b0"),o=a("c4e3"),n=a("9064"),s=a("15ca"),i=a("f323"),l=function(e){if(e&&e.forEach!==s)try{i(e,"forEach",s)}catch(t){e.forEach=s}};for(var c in o)o[c]&&l(r[c]&&r[c].prototype);l(n)},a409:function(e,t,a){"use strict";a("1e0c")},aa56:function(e,t,a){"use strict";var r=a("5431"),o=a("9d76"),n=a("150a"),s=a("bbc1"),i=a("eee4"),l=a("f4ac"),c=a("f3d9"),u=a("c497"),d=a("b266"),f=a("b129"),p=a("b608"),h=a("e0d2"),v=a("7143"),g=[],m=o(g.sort),b=o(g.push),w=c((function(){g.sort(void 0)})),x=c((function(){g.sort(null)})),y=d("sort"),C=!c((function(){if(h)return h<70;if(!(f&&f>3)){if(p)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++)g.push({k:t+r,v:a})}for(g.sort((function(e,t){return t.v-e.v})),r=0;r<g.length;r++)t=g[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}})),k=w||!x||!y||!C,_=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}};r({target:"Array",proto:!0,forced:k},{sort:function(e){void 0!==e&&n(e);var t=s(this);if(C)return void 0===e?m(t):m(t,e);var a,r,o=[],l=i(t);for(r=0;r<l;r++)r in t&&b(o,t[r]);u(o,_(e)),a=o.length,r=0;while(r<a)t[r]=o[r++];while(r<l)delete t[r++];return t}})},b129:function(e,t,a){var r=a("dc77"),o=r.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},b266:function(e,t,a){"use strict";var r=a("f3d9");e.exports=function(e,t){var a=[][e];return!!a&&r((function(){a.call(null,t||function(){return 1},1)}))}},b608:function(e,t,a){var r=a("dc77");e.exports=/MSIE|Trident/.test(r)},c497:function(e,t,a){var r=a("352e"),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("888e"),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("c452"),c=(a("833b"),a("fe5a"),a("9b75"),a("aa56"),a("36b5"),a("fb38"),a("949b")),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["d"],SearchIcon:c["e"],XIcon:c["f"],ChevronDownIcon:c["a"],ChevronUpIcon:c["b"],FilterIcon:c["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),c=Object(n["f"])(""),u=Object(n["f"])([]),d=Object(n["f"])(!1),f=Object(n["f"])(!1),p=Object(n["f"])(!1),h=Object(n["e"])({}),v=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?h[e.field]={from:"",to:""}:h[e.field]=""}));case 1:case"end":return t.stop()}}),t)}))));var g=function(){0===t.value.length?a.value=!1:a.value=!0},m=function(e){c.value===e?i.value=!i.value:(i.value=!0,c.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},w=function(){var e=(r.value-1)*s.value,t=e+s.value;return v.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){r.value=e,y()},k=function(){f.value=!1},_=function(){f.value=!0},A=function(){e.columns.forEach((function(e){"date"===e.datatype||"datetime-local"===e.datatype?h[e.field]={from:e.value.from,to:e.value.to}:h[e.field]=e.value}))},N=function(){y(null)},z=function(){t.value="",a.value=!1};return{searchInput:t,isShowCancel:a,showHideCancel:g,currentPage:r,elementPerPage:o,selectedElementPerPage:s,ascending:i,sortColumn:c,sortTable:m,numPages:b,getRows:w,changePage:C,selectedRows:u,selectAll:x,updateSelectAll:y,isAllSelected:d,isModalVisible:f,closeModal:k,showModal:_,showTick:p,filterData:h,FilterGrid:A,onChangeElementPerPage:N,clearInput:z,tableRows:v}}}),d=u,f=(a("a409"),a("bdd7")),p=Object(f["a"])(d,s,i,!1,null,"7b00f43e",null),h=p.exports,v=Object(n["b"])({name:"About",components:{ExecutionTable:h},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}}}),g=v,m=Object(f["a"])(g,r,o,!1,null,null,null);t["default"]=m.exports},fb38:function(e,t,a){"use strict";var r=a("5431"),o=a("732c").map,n=a("a937"),s=n("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);
|
|
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 s(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 r,o,i,n,l;for(i in t)if(r=e[i],o=t[i],r&&a.test(i))if("class"===i&&("string"===typeof r&&(l=r,e[i]=r={},r[l]=!0),"string"===typeof o&&(l=o,t[i]=o={},o[l]=!0)),"on"===i||"nativeOn"===i||"hook"===i)for(n in o)r[n]=s(r[n],o[n]);else if(Array.isArray(r))e[i]=r.concat(o);else if(Array.isArray(o))e[i]=[r].concat(o);else for(n in o)r[n]=o[n];else e[i]=t[i];return e}),{})}},"805a":function(e,t,a){"use strict";a("ce84")},"949b":function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"d",(function(){return l})),a.d(t,"e",(function(){return c})),a.d(t,"f",(function(){return d}));var s=a("11ce"),r=a.n(s),o={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",s=t.data.attrs||{};return s.width=s.width||a,s.height=s.height||a,t.data.attrs=s,e("svg",r()([{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"}})])}},i={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",s=t.data.attrs||{};return s.width=s.width||a,s.height=s.height||a,t.data.attrs=s,e("svg",r()([{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"}})])}},n={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",s=t.data.attrs||{};return s.width=s.width||a,s.height=s.height||a,t.data.attrs=s,e("svg",r()([{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",s=t.data.attrs||{};return s.width=s.width||a,s.height=s.height||a,t.data.attrs=s,e("svg",r()([{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",s=t.data.attrs||{};return s.width=s.width||a,s.height=s.height||a,t.data.attrs=s,e("svg",r()([{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"}})])}},d={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",s=t.data.attrs||{};return s.width=s.width||a,s.height=s.height||a,t.data.attrs=s,e("svg",r()([{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"}})])}}},b5b4:function(e,t,a){var s=a("a8d8");t=s(!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},ce84:function(e,t,a){var s=a("b5b4");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var r=a("c69b").default;r("87763382",s,!0,{sourceMap:!1,shadowMode:!1})},f820:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"about"},[t("h1",[e._v("This is an about page")]),t("router-link",{staticClass:"flex flex-col items-center px-3",attrs:{to:{name:"SolidifyHome"}}},[e._v(" Home ")]),t("ExecutionTable",{attrs:{rows:e.rows,columns:e.columns,"multi-select-enabled":!1}})],1)},r=[],o=a("2aba"),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("main",[t("div",{staticClass:"p-2 mt-5 bg-white rounded-lg shadow-md"},[t("section",{staticClass:"flex items-center justify-between p-2 border border-gray-400"},[t("div",{staticClass:"filter-grid flex-none flex"},[t("button",{staticClass:"button focus:outline-none hover:text-gray-700 px-3 font-medium leading-6 text-gray-600 cursor-pointer"},[t("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1),t("div",{staticClass:"relative"},[t("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)}}}),t("div",{staticClass:"search-action absolute top-2 right-2"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.isShowCancel,expression:"isShowCancel"}],staticClass:"text-gray-500 py-1",on:{click:e.clearInput}},[t("x-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1),t("button",{staticClass:"text-gray-500 py-1",on:{click:e.searchInput}},[t("search-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)])]),t("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}},[t("filter-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)]),t("div",{staticClass:"flex-1 text-right text-blue-900"},[e._v(e._s(e.selectedRows.length)+" of "+e._s(e.tableRows.length)+" selected")])]),t("section",[t("div",{attrs:{id:"sixthTable"}},[t("table",{staticClass:"w-full"},[t("thead",[t("tr",{staticClass:"border border-t-0 border-gray-400"},[t("th",[e.multiSelectEnabled?t("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,s=t.target,r=!!s.checked;if(Array.isArray(a)){var o=null,i=e._i(a,o);s.checked?i<0&&(e.isAllSelected=a.concat([o])):i>-1&&(e.isAllSelected=a.slice(0,i).concat(a.slice(i+1)))}else e.isAllSelected=r}}}):e._e()]),e._l(e.columns,(function(a){return t("th",{key:a.field,staticClass:"text-left cursor-pointer bg-white text-gray-400 p-2 min-w-40%",on:{click:function(t){return e.sortTable(a.field)}}},[a.visible?t("span",[e._v(e._s(a.text))]):e._e(),a.field==e.sortColumn?t("div",{staticClass:"arrow"},[t("chevron-down-icon",{directives:[{name:"show",rawName:"v-show",value:e.ascending,expression:"ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}}),t("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)]),t("tbody",e._l(e.getRows(),(function(a){return t("tr",{key:a.id,staticClass:"border border-t-0 border-gray-400"},[t("td",{staticClass:"text-center p-2 last:pb-10 last:border-r-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedRows,expression:"selectedRows"}],attrs:{type:"checkbox"},domProps:{value:a.id,checked:Array.isArray(e.selectedRows)?e._i(e.selectedRows,a.id)>-1:e.selectedRows},on:{change:[function(t){var s=e.selectedRows,r=t.target,o=!!r.checked;if(Array.isArray(s)){var i=a.id,n=e._i(s,i);r.checked?n<0&&(e.selectedRows=s.concat([i])):n>-1&&(e.selectedRows=s.slice(0,n).concat(s.slice(n+1)))}else e.selectedRows=o},function(t){return e.updateSelectAll(a.id)}]}})]),e._l(e.columns,(function(s){return t("td",{key:s.field,staticClass:"text-left p-2 last:pb-10 last:border-r-0 text-blue-900"},[s.visible?t("span",[e._v(e._s(a[s.field]))]):e._e()])}))],2)})),0)]),t("div",{staticClass:"w-full text-right p-2"},[t("div",[t("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(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])})),0)]),e._l(e.numPages(),(function(a){return t("div",{key:a,staticClass:"number",class:[a==e.currentPage?"active":""],on:{click:function(t){return e.changePage(a)}}},[e._v(e._s(a))])}))],2)])])]),t("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"},[t("div",{staticClass:"w-full max-w-md bg-white shadow-lg rounded-lg border border-gray-400"},[t("header",{staticClass:"modal-header bg-gray-200 text-gray-400 p-2 overflow-hidden"},[t("button",{on:{click:function(t){return e.FilterGrid()}}},[e._v("Apply Now")]),t("button",{staticClass:"btn-close float-right",attrs:{type:"button"},on:{click:e.closeModal}},[e._v("Close")])]),t("section",{staticClass:"modal-filter-body max-h-screen overflow-y-auto"},e._l(e.columns,(function(a){return t("div",{key:a.field},[t("div",{staticClass:"border border-gray-100 px-2 pb-2 mb2",on:{click:function(e){if(e.target!==e.currentTarget)return null;a.showToggle=!a.showToggle}}},[e._v(" "+e._s(a.text)+" "),t("div",{directives:[{name:"show",rawName:"v-show",value:a.showToggle,expression:"col.showToggle"}],staticClass:"filter-data"},["string"==a.datatype?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:a.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:a.value},on:{input:function(t){t.target.composing||e.$set(a,"value",t.target.value)}}})]):e._e(),"number"==a.datatype?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:a.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:a.value},on:{input:function(t){t.target.composing||e.$set(a,"value",t.target.value)}}})]):e._e(),"date"==a.datatype?t("div",{staticClass:"xl:flex lg:flex md:flex block"},[t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[t("label",[e._v("From ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.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-"+a.text,name:"start-"+a.text},domProps:{value:a.value.from},on:{input:function(t){t.target.composing||e.$set(a.value,"from",t.target.value)}}})]),t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[t("label",[e._v("To ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.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-"+a.text,name:"end-"+a.text},domProps:{value:a.value.to},on:{input:function(t){t.target.composing||e.$set(a.value,"to",t.target.value)}}})])]):e._e(),"datetime-local"==a.datatype?t("div",{staticClass:"xl:flex lg:flex md:flex block"},[t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[t("label",[e._v("From ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.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-"+a.text,name:"start-"+a.text},domProps:{value:a.value.from},on:{input:function(t){t.target.composing||e.$set(a.value,"from",t.target.value)}}})]),t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[t("label",[e._v("To ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.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-"+a.text,name:"end-"+a.text},domProps:{value:a.value.to},on:{input:function(t){t.target.composing||e.$set(a.value,"to",t.target.value)}}})])]):e._e()])])])})),0)])])])},n=[],l=a("949b"),c=Object(o["b"])({name:"ExecutionTable",props:{rows:{type:Array,required:!0},columns:{type:Array,required:!0},multiSelectEnabled:{type:Boolean,default:!1}},components:{RefreshCcwIcon:l["d"],SearchIcon:l["e"],XIcon:l["f"],ChevronDownIcon:l["a"],ChevronUpIcon:l["b"],FilterIcon:l["c"]},setup(e){const t=Object(o["f"])(""),a=Object(o["f"])(!1),s=Object(o["f"])(1),r=Object(o["f"])([5,10,15,20]),i=Object(o["f"])(r.value[0]),n=Object(o["f"])(!1),l=Object(o["f"])(""),c=Object(o["f"])([]),d=Object(o["f"])(!1),u=Object(o["f"])(!1),p=Object(o["f"])(!1),f=Object(o["e"])({}),g=e.rows;Object(o["d"])(async()=>{e.columns.forEach(e=>{"date"===e.datatype||"datetime-local"===e.datatype?f[e.field]={from:"",to:""}:f[e.field]=""})});const h=()=>{0===t.value.length?a.value=!1:a.value=!0},v=e=>{l.value===e?n.value=!n.value:(n.value=!0,l.value=e);const t=n.value;g.sort((a,s)=>a[e]>s[e]?t?1:-1:a[e]<s[e]?t?-1:1:0)},m=()=>{const e=Math.ceil(g.length/i.value);return e},w=()=>{const e=(s.value-1)*i.value,t=e+i.value;return g.slice(e,t)},b=()=>{d.value=!d.value,c.value=[],d.value&&(c.value=w().map(e=>e.id))},x=t=>{console.log("updateSelectAll Called",t),e.multiSelectEnabled?w().length===c.value.length?d.value=!0:d.value=!1:(c.value=[],c.value.push(t))},y=e=>{s.value=e,x()},C=()=>{u.value=!1},k=()=>{u.value=!0},_=()=>{e.columns.forEach(e=>{"date"===e.datatype||"datetime-local"===e.datatype?f[e.field]={from:e.value.from,to:e.value.to}:f[e.field]=e.value})},N=()=>{x(null)},z=()=>{t.value="",a.value=!1};return{searchInput:t,isShowCancel:a,showHideCancel:h,currentPage:s,elementPerPage:r,selectedElementPerPage:i,ascending:n,sortColumn:l,sortTable:v,numPages:m,getRows:w,changePage:y,selectedRows:c,selectAll:b,updateSelectAll:x,isAllSelected:d,isModalVisible:u,closeModal:C,showModal:k,showTick:p,filterData:f,FilterGrid:_,onChangeElementPerPage:N,clearInput:z,tableRows:g}}}),d=c,u=(a("805a"),a("b922")),p=Object(u["a"])(d,i,n,!1,null,"7b00f43e",null),f=p.exports,g=Object(o["b"])({name:"About",components:{ExecutionTable:f},setup(){const e=Object(o["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(o["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}}}),h=g,v=Object(u["a"])(h,s,r,!1,null,null,null);t["default"]=v.exports}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAbout.js.map
|