{"version":3,"sources":["webpack:///./src/helpers/debounce.ts","webpack:///./src/helpers/user.ts","webpack:///./node_modules/dayjs/dayjs.min.js","webpack:///./src/helpers/date.ts","webpack:///./src/views/admin/users/AdminUsers.vue?d16e","webpack:///./src/views/admin/users/AdminUsers.vue","webpack:///./src/views/admin/users/AdminUsers.vue?2cd6","webpack:///./src/views/admin/users/AdminUsers.vue?533e"],"names":["debounce","fn","delay","cov_2irbpckthq","b","immediate","timeout","f","s","args","clearTimeout","setTimeout","getFirstLastName","user","cov_1fefz040v6","firstName","lastName","getFullName","middleName","t","e","module","exports","this","n","r","i","u","a","o","h","c","d","l","$","y","M","name","weekdays","split","months","ordinal","m","String","length","Array","join","v","z","utcOffset","Math","abs","floor","date","year","month","clone","add","ceil","p","w","D","ms","Q","toLowerCase","replace","g","_","S","arguments","O","locale","$L","utc","$u","x","$x","$offset","parse","prototype","$d","Date","NaN","test","match","substring","UTC","init","$y","getFullYear","$M","getMonth","$D","getDate","$W","getDay","$H","getHours","$m","getMinutes","$s","getSeconds","$ms","getMilliseconds","$utils","isValid","toString","isSame","startOf","endOf","isAfter","isBefore","$g","set","unix","valueOf","getTime","toDate","apply","slice","$locale","weekStart","$set","min","daysInMonth","get","Number","round","subtract","format","invalidDate","meridiem","YY","YYYY","MM","MMM","monthsShort","MMMM","DD","dd","weekdaysMin","ddd","weekdaysShort","dddd","H","HH","hh","A","mm","ss","SSS","Z","getTimezoneOffset","diff","toJSON","toISOString","toUTCString","T","forEach","extend","$i","isDayjs","en","Ls","cov_4tnu0h68q","actualCoverage","formatDate","undefined","dayjs","formatDateMonthYear","formatDateMonthDayYear","formatDateDayMonthYear","formatDateCalendar","formatDateDayMonthYearWithTime","formatDateYYYYMMDD","formatDateToday","_withScopeId","_pushScopeId","_popScopeId","_hoisted_1","key","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_createElementVNode","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","render","_ctx","_cache","$props","$setup","$data","$options","loading","_openBlock","_createElementBlock","_toDisplayString","headerText","users","_createVNode","modelValue","searchQuery","$event","placeholder","theme","onClick","toCreateUser","addUserBtnText","roleByRoute","UserRoles","LANDOWNER","_createCommentVNode","_Fragment","_renderList","_user$detailsId","_user$detailsId2","toUser","_id","email","detailsId","chargebeeCustomerId","LAWYER","isExist","verifiedEmail","createdAt","_defineComponent","__name","setup","__props","expose","__expose","toast","useToast","ref","getUsers","store","dispatch","query","value","role","then","res","data","finally","debounceSearch","watch","router","currentRoute","path","endsWith","computed","resendEmail","userId","success","id","push","params","__returned__","InputSearch","UserInterface","Object","defineProperty","enumerable","__exports__"],"mappings":"wtGAAO,MAAMA,EAAWA,CAACC,EAASC,GAAKC,IAAAC,EAAA,QAAG,KAAKC,GAASF,IAAAC,EAAA,SAAG,MACzD,IAAIE,EACJ,OAFkEH,IAAAI,EAAA,KAClCJ,IAAAK,EAAA,KACzB,IAAIC,KAAeN,IAAAI,EAAA,KAAAJ,IAAAK,EAAA,KACpBL,IAAAC,EAAA,QAAAC,IAASF,IAAAC,EAAA,SAAKE,IAASH,IAAAC,EAAA,QAAAD,IAAAK,EAAA,KAAAP,KAAMQ,IAAMN,IAAAC,EAAA,QAAAD,IAAAK,EAAA,KACvCE,aAAaJ,GAASH,IAAAK,EAAA,KAEtBF,EAAUK,WAAW,KAAKR,IAAAI,EAAA,KAAAJ,IAAAK,EAAA,KACxBP,KAAMQ,IACLP,M,m1FCND,SAAUU,EAAiBC,GAC/B,OADkDC,IAAAP,EAAA,KAAAO,IAAAN,EAAA,KAC3CK,GAAIC,IAAAV,EAAA,QAAG,GAAGS,EAAKE,WAASD,IAAAV,EAAA,QAAGS,EAAKE,YAASD,IAAAV,EAAA,QAAG,OAAMS,EAAKG,UAAQF,IAAAV,EAAA,QAAGS,EAAKG,WAAQF,IAAAV,EAAA,QAAG,QAAIU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,EAAK2N,MACZkC,OAAQ7P,EAAK0N,MAEduB,KAAK,IAAMT,EAAMsB,QAAQ,iCAExBrC,EAAUsC,IACdR,aAAOS,KAAK,CACVxO,KAAMyL,EAAY8B,QAAU7B,eAAUY,OAAS,cAAgB,YAC/DmC,OAAQ,CAAEJ,OAAQE,MAGhBhD,EAAeA,KACnBwC,aAAOS,KAAK,CACVxO,KACEyL,EAAY8B,QAAU7B,eAAUY,OAC5B,oBACA,sBAIJoC,EAAe,CAAE1B,QAAOjC,QAAOG,cAAaO,cAAaf,UAASyC,WAAUU,iBAAgBrC,iBAAgBV,aAAYsD,cAAanC,SAAQV,eAAcoD,yBAAaR,uBAAUjB,aAAKY,iBAAO,aAAe,OAAOC,cAAU,YAAc,OAAOX,cAAS,oBAAsB,OAAOwB,oBAAiB,iBAAmB,OAAO3G,iBAAc,uBAAyB,OAAO1J,uBAAoB,eAAiB,OAAOZ,eAAY,eAAiB,OAAOsP,QAAY,gBAAkB,OAAOvB,iBAE7e,OADAmD,OAAOC,eAAeJ,EAAc,kBAAmB,CAAEK,YAAY,EAAOxB,OAAO,IAC5EmB,K,iCClFP,MAAMM,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS7E,GAAQ,CAAC,YAAY,qBAE1E,gB,kCCTf","file":"js/admin35.74774c71.js","sourcesContent":["export const debounce = (fn: any, delay = 400, immediate = false) => {\n let timeout: number | undefined;\n return (...args: any[]) => {\n if (immediate && !timeout) fn(...args);\n clearTimeout(timeout);\n\n timeout = setTimeout(() => {\n fn(...args);\n }, delay);\n };\n};\n","import { UserInterface } from \"@/types/UserInterface\";\n\nexport function getFirstLastName(user: UserInterface) {\n return user ? `${user.firstName ? user.firstName : \"\"} ${user.lastName ? user.lastName : \"\"}` : \"\";\n}\nexport function getFullName(user: UserInterface) {\n return user ? `${user.firstName} ${user.middleName} ${user.lastName}` : \"\";\n}\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t) (_pushScopeId(\"data-v-3ef84ce2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"admin-page-wr\"\n}\nconst _hoisted_2 = { class: \"dashboard-header\" }\nconst _hoisted_3 = { class: \"title-main\" }\nconst _hoisted_4 = { class: \"subtitle-main\" }\nconst _hoisted_5 = { class: \"filters\" }\nconst _hoisted_6 = { class: \"table-wrapper\" }\nconst _hoisted_7 = { class: \"table-default\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Name\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Email\", -1))\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", { class: \"status-header\" }, \"Status\", -1))\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"th\", null, \"Created at\", -1))\nconst _hoisted_13 = [\"onClick\"]\nconst _hoisted_14 = { class: \"bold\" }\nconst _hoisted_15 = { key: 0 }\nconst _hoisted_16 = {\n key: 1,\n class: \"status-body\"\n}\nconst _hoisted_17 = {\n key: 2,\n class: \"status-body\"\n}\nconst _hoisted_18 = {\n key: 1,\n class: \"spinner\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (!$setup.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", _hoisted_3, _toDisplayString($setup.headerText), 1),\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(`${$setup.users.length} user${$setup.users.length > 1 ? \"s\" : \"\"}`), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode($setup[\"InputSearch\"], {\n modelValue: $setup.searchQuery,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($setup.searchQuery) = $event)),\n placeholder: \"Search\",\n theme: \"filter\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"button\", {\n class: \"button default primary add-btn-primary\",\n onClick: $setup.toCreateUser\n }, _toDisplayString($setup.addUserBtnText), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"table\", _hoisted_7, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n _hoisted_8,\n _hoisted_9,\n ($setup.roleByRoute === $setup.UserRoles.LANDOWNER)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_10, \"Chargebee\"))\n : _createCommentVNode(\"\", true),\n _hoisted_11,\n _hoisted_12\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.users, (user) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n onClick: ($event: any) => ($setup.toUser(user._id))\n }, [\n _createElementVNode(\"td\", _hoisted_14, _toDisplayString($setup.getFirstLastName(user)), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.email), 1),\n ($setup.roleByRoute === $setup.UserRoles.LANDOWNER)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_15, _toDisplayString(user.detailsId?.chargebeeCustomerId ? \"Connected\" : \"-\"), 1))\n : _createCommentVNode(\"\", true),\n ($setup.roleByRoute === $setup.UserRoles.LAWYER)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_16, _toDisplayString(user?.detailsId?.isExist ? \"Active\" : \"-\"), 1))\n : _createCommentVNode(\"\", true),\n ($setup.roleByRoute !== $setup.UserRoles.LAWYER)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_17, _toDisplayString(user.verifiedEmail ? \"Active\" : \"-\"), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"td\", null, _toDisplayString($setup.formatDate(user.createdAt)), 1)\n ], 8, _hoisted_13))\n }), 256))\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport InputSearch from \"@/components/ui/input/InputSearch.vue\";\nimport {computed, ref, watch} from \"vue\";\nimport router from \"@/router\";\nimport store from \"@/store\";\nimport {UserInterface} from \"@/types/UserInterface\";\nimport {formatDate} from \"@/helpers/date\";\nimport {getFirstLastName} from \"@/helpers/user\";\nimport {debounce} from \"@/helpers/debounce\";\nimport {useToast} from \"vue-toastification\";\nimport {UserRoles} from \"@/enums/UserRoles\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AdminUsers',\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst toast = useToast();\nconst users = ref([]);\nconst searchQuery = ref(\"\");\nconst roleByRoute = ref(\"\" as UserRoles);\nconst loading = ref(true);\n\nconst getUsers = () => {\n store\n .dispatch(\"user/getUsers\", {\n query: searchQuery.value,\n role: roleByRoute.value,\n })\n .then((res) => {\n users.value = res.data;\n })\n .finally(() => loading.value = false);\n};\nconst debounceSearch = debounce(getUsers);\nwatch(\n () => router.currentRoute.value,\n (value) => {\n roleByRoute.value = value.path.endsWith(\"lawyers\")\n ? UserRoles.LAWYER\n : UserRoles.LANDOWNER;\n getUsers();\n },\n {\n immediate: true,\n }\n);\nwatch(\n () => searchQuery.value,\n () => {\n debounceSearch();\n }\n);\nconst addUserBtnText = computed(() => {\n return roleByRoute.value === UserRoles.LAWYER\n ? \"Add Trust Account\"\n : \"Add Landowner\";\n});\nconst headerText = computed(() => {\n return roleByRoute.value === UserRoles.LAWYER\n ? \"Trust Accounts\"\n : \"Land Owners\";\n});\nconst resendEmail = (user: UserInterface) => {\n store\n .dispatch(\"user/resendActivationEmail\", {\n email: user.email,\n userId: user._id,\n })\n .then(() => toast.success(\"Email was successfully sent\"));\n};\nconst toUser = (id: string) => {\n router.push({\n name: roleByRoute.value === UserRoles.LAWYER ? \"AdminLawyer\" : \"AdminUser\",\n params: { userId: id },\n });\n};\nconst toCreateUser = () => {\n router.push({\n name:\n roleByRoute.value === UserRoles.LAWYER\n ? \"AdminLawyerCreate\"\n : \"AdminUsersCreate\",\n });\n};\n\nconst __returned__ = { toast, users, searchQuery, roleByRoute, loading, getUsers, debounceSearch, addUserBtnText, headerText, resendEmail, toUser, toCreateUser, InputSearch, computed, ref, watch, get router() { return router }, get store() { return store }, get UserInterface() { return UserInterface }, get formatDate() { return formatDate }, get getFirstLastName() { return getFirstLastName }, get debounce() { return debounce }, get useToast() { return useToast }, get UserRoles() { return UserRoles } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./AdminUsers.vue?vue&type=template&id=3ef84ce2&scoped=true&ts=true&lang=pug\"\nimport script from \"./AdminUsers.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./AdminUsers.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./AdminUsers.vue?vue&type=style&index=0&id=3ef84ce2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3ef84ce2\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AdminUsers.vue?vue&type=style&index=0&id=3ef84ce2&lang=scss&scoped=true\""],"sourceRoot":""}