@genpact/genome.mfe.solidify-app 1.2.0 → 1.4.0-rc.2
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/img/s_1.png +0 -0
- package/dist/img/s_3.png +0 -0
- package/dist/img/s_4.png +0 -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/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 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +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.map +1 -1
- package/dist/js/SolidifyLearner.js +1 -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/SolidifyLearnerFail.js +1 -1
- package/dist/js/SolidifyLearnerFail.js.map +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.map +1 -1
- package/dist/js/app.js +5 -5
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-23f1e472.js +1 -1
- package/dist/js/chunk-23f1e472.js.map +1 -1
- package/package.json +1 -1
package/dist/img/s_1.png
ADDED
|
Binary file
|
package/dist/img/s_3.png
ADDED
|
Binary file
|
package/dist/img/s_4.png
ADDED
|
Binary file
|
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}),{})}},"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},"2ec3":function(e,t,a){"use strict";var r=a("2f6c").forEach,o=a("9f28"),n=o("forEach");e.exports=n?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"2f6c":function(e,t,a){var r=a("8d88"),o=a("858e"),n=a("b55a"),s=a("b211"),i=a("27d7"),l=a("3729"),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 w,b,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)&&(w=y[_],b=C(w,_,x),e))if(t)N[_]=b;else if(b)switch(e){case 3:return!0;case 5:return w;case 6:return _;case 2:c(N,w)}else switch(e){case 4:return!1;case 7:c(N,w)}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)}},"4a79":function(e,t,a){"use strict";var r=a("1672"),o=a("0a26"),n=a("6508"),s=a("20a4"),i=a("668f"),l=a("c5ee"),c=a("27d7"),u=a("65e2"),d=a("3f369"),f=a("53f4"),p=a("dba8"),h=a("9bf1"),v=p("slice"),g=f("species"),m=o.Array,w=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),b=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,b);for(r=new(void 0===a?m:a)(w(b-v,0)),o=0;v<b;v++,o++)v in f&&d(r,o,f[v]);return r.length=o,r}})},"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"}})])}}},"97b6":function(e,t,a){var r=a("20d5"),o=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},"9f28":function(e,t,a){"use strict";var r=a("f42c");e.exports=function(e,t){var a=[][e];return!!a&&r((function(){a.call(null,t||function(){return 1},1)}))}},a409:function(e,t,a){"use strict";a("1e0c")},adc5:function(e,t,a){var r=a("0a26"),o=a("cbcb"),n=a("0aaf"),s=a("2ec3"),i=a("6035"),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)},bf11:function(e,t,a){var r=a("20d5"),o=r.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},cde7:function(e,t,a){"use strict";var r=a("1672"),o=a("858e"),n=a("6d5d"),s=a("b211"),i=a("27d7"),l=a("f656"),c=a("f42c"),u=a("cfa0"),d=a("9f28"),f=a("bf11"),p=a("d834"),h=a("b618"),v=a("97b6"),g=[],m=o(g.sort),w=o(g.push),b=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=b||!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&&w(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}})},cfa0:function(e,t,a){var r=a("db39"),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},d834:function(e,t,a){var r=a("20d5");e.exports=/MSIE|Trident/.test(r)},db39:function(e,t,a){var r=a("0a26"),o=a("c5ee"),n=a("27d7"),s=a("3f369"),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}},e128:function(e,t,a){"use strict";var r=a("1672"),o=a("2f6c").map,n=a("dba8"),s=n("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},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("60d8"),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("e9e9"),c=(a("833b"),a("bcee"),a("adc5"),a("cde7"),a("4a79"),a("e128"),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}))},w=function(){var e=Math.ceil(v.length/s.value);return e},b=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=b().map((function(e){return e.id})))},y=function(t){console.log("updateSelectAll Called",t),e.multiSelectEnabled?b().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:w,getRows:b,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}}]);
|
|
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}),{})}},"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},"2ec3":function(e,t,a){"use strict";var r=a("2f6c").forEach,o=a("9f28"),n=o("forEach");e.exports=n?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"2f6c":function(e,t,a){var r=a("8d88"),o=a("858e"),n=a("b55a"),s=a("b211"),i=a("27d7"),l=a("3729"),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 w,b,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)&&(w=y[_],b=C(w,_,x),e))if(t)N[_]=b;else if(b)switch(e){case 3:return!0;case 5:return w;case 6:return _;case 2:c(N,w)}else switch(e){case 4:return!1;case 7:c(N,w)}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)}},"4a79":function(e,t,a){"use strict";var r=a("1672"),o=a("0a26"),n=a("6508"),s=a("20a4"),i=a("668f"),l=a("c5ee"),c=a("27d7"),u=a("65e2"),d=a("3f369"),f=a("53f4"),p=a("dba8"),h=a("9bf1"),v=p("slice"),g=f("species"),m=o.Array,w=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),b=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,b);for(r=new(void 0===a?m:a)(w(b-v,0)),o=0;v<b;v++,o++)v in f&&d(r,o,f[v]);return r.length=o,r}})},"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"}})])}}},"97b6":function(e,t,a){var r=a("20d5"),o=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},"9f28":function(e,t,a){"use strict";var r=a("f42c");e.exports=function(e,t){var a=[][e];return!!a&&r((function(){a.call(null,t||function(){return 1},1)}))}},a409:function(e,t,a){"use strict";a("1e0c")},adc5:function(e,t,a){var r=a("0a26"),o=a("cbcb"),n=a("0aaf"),s=a("2ec3"),i=a("6035"),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)},bf11:function(e,t,a){var r=a("20d5"),o=r.match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},cde7:function(e,t,a){"use strict";var r=a("1672"),o=a("858e"),n=a("6d5d"),s=a("b211"),i=a("27d7"),l=a("f656"),c=a("f42c"),u=a("cfa0"),d=a("9f28"),f=a("bf11"),p=a("d834"),h=a("b618"),v=a("97b6"),g=[],m=o(g.sort),w=o(g.push),b=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=b||!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&&w(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}})},cfa0:function(e,t,a){var r=a("db39"),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},d834:function(e,t,a){var r=a("20d5");e.exports=/MSIE|Trident/.test(r)},db39:function(e,t,a){var r=a("0a26"),o=a("c5ee"),n=a("27d7"),s=a("3f369"),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}},e128:function(e,t,a){"use strict";var r=a("1672"),o=a("2f6c").map,n=a("dba8"),s=n("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},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("60d8"),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("22b1"),c=(a("833b"),a("bcee"),a("adc5"),a("cde7"),a("4a79"),a("e128"),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}))},w=function(){var e=Math.ceil(v.length/s.value);return e},b=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=b().map((function(e){return e.id})))},y=function(t){console.log("updateSelectAll Called",t),e.multiSelectEnabled?b().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:w,getRows:b,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}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAbout.js.map
|