@pangu-backend-ui/user-core 0.0.9 → 0.0.11
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/index.js +532 -198
- package/index.umd.cjs +1 -1
- package/package.json +2 -2
- package/style.css +1 -9
- package/types/components/UserDetail/UseUserDetailDialog.d.ts +3 -0
- package/types/components/UserDetail/UserDetailDialog.vue.d.ts +174 -0
- package/types/components/UserDetail/index.d.ts +6 -0
- package/types/components/UserDetail/tabs/LoginHistory.vue.d.ts +18 -0
- package/types/components/UserMobile/UserMobileComponent.vue.d.ts +30 -22
- package/types/components/index.d.ts +2 -1
- package/types/index.d.ts +4 -2
- package/types/routes/index.d.ts +2 -1
- package/types/store/ConfigStore.d.ts +8 -0
- package/types/types/InstallOptions.d.ts +6 -0
- package/types/types/UserDetailDialogTabConfig.d.ts +6 -0
- package/types/views/list.vue.d.ts +204 -18
- package/web-types.json +11 -24
package/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("v-viewer"),require("@pangu-backend-ui/common")):typeof define=="function"&&define.amd?define(["exports","vue","v-viewer","@pangu-backend-ui/common"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n["pg-user-core"]={},n.Vue,n.vViewer,n.common))})(this,function(n,e,f,w){"use strict";const p=(o,a)=>{const t=o.__vccOpts||o;for(const[r,i]of a)t[r]=i;return t},b={name:"UserMobile",props:{userId:{type:Number,default:null},maskMobile:{type:String,default:null}},data(){return{plainMobile:null,loading:!1}},methods:{getPlainMobile(){this.plainMobile==null&&(this.loading=!0,this.$http.get(`/api/user/${this.userId}/plainmobile`).then(o=>{this.plainMobile=o.data,this.loading=!1}).finally(()=>{this.loading=!1}))}}},g={key:3,class:"el-icon-loading"};function k(o,a,t,r,i,d){return e.openBlock(),e.createElementBlock("div",null,[t.maskMobile!=null?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[i.plainMobile==null?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.maskMobile),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(i.plainMobile),1)],64)),i.plainMobile==null&&!i.loading&&t.userId!=null?(e.openBlock(),e.createElementBlock("i",{key:2,class:"el-icon-view",onClick:a[0]||(a[0]=(...c)=>d.getPlainMobile&&d.getPlainMobile(...c))})):e.createCommentVNode("",!0),i.loading?(e.openBlock(),e.createElementBlock("i",g)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const m=p(b,[["render",k]]),h={install:o=>{o.component("PgUserMobile",m)}},V=[h],P="",N=o=>(e.pushScopeId("data-v-690b99ee"),o=o(),e.popScopeId(),o),u={class:"page-layout"},y={style:{"margin-top":"10px"}},C=N(()=>e.createElementVNode("template",{"slot-scope":"{row}"},null,-1)),x=e.defineComponent({__name:"list",setup(o){const a=e.ref({id:null,phoneNumber:null}),t=e.ref(null);function r(){t.value.search()}return(i,d)=>{const c=e.resolveComponent("el-input"),T=e.resolveComponent("el-button"),E=e.resolveComponent("el-space"),U=e.resolveComponent("el-card"),l=e.resolveComponent("el-table-column"),S=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock("div",u,[e.createVNode(U,null,{default:e.withCtx(()=>[e.createVNode(E,null,{default:e.withCtx(()=>[e.createVNode(c,{placeholder:"ID",style:{width:"100px"}}),e.createVNode(c,{placeholder:"父用户ID",style:{width:"100px"}}),e.createVNode(c,{placeholder:"手机号"}),e.createVNode(c,{placeholder:"昵称"}),e.createVNode(c,{placeholder:"邀请码"}),e.createVNode(T,{type:"primary",icon:"search",onClick:r},{default:e.withCtx(()=>[e.createTextVNode("搜索")]),_:1})]),_:1})]),_:1}),e.createElementVNode("div",y,[e.createVNode(e.unref(w.PgTable),{ref_key:"userTable",ref:t,"data-url":"/api/user/page",condition:a.value},{columns:e.withCtx(()=>[e.createVNode(l,{prop:"id",label:"UID",width:"80",align:"center"}),e.createVNode(l,{prop:"mobile",label:"手机",width:"110",align:"left","show-overflow-tooltip":""},{default:e.withCtx(s=>[(e.openBlock(),e.createBlock(m,{"mask-mobile":s.row.mobile,"user-id":s.row.id,key:s.row.id},null,8,["mask-mobile","user-id"]))]),_:1}),e.createVNode(l,{prop:"username",label:"用户名",width:"110",align:"left","show-overflow-tooltip":""}),e.createVNode(l,{prop:"nickname",label:"昵称",width:"110",align:"left","show-overflow-tooltip":""}),e.createVNode(l,{prop:"inviteCode",label:"邀请码",width:"90",align:"center","show-overflow-tooltip":""}),e.createVNode(l,{prop:"avatar",label:"头像",width:"60",align:"center","show-overflow-tooltip":""},{default:e.withCtx(s=>[s.row.avatar?(e.openBlock(),e.createBlock(e.unref(f.component),{key:0,images:[s.row.avatar]},{default:e.withCtx(()=>[e.createVNode(S,{shape:"square",fit:"cover",size:30,src:s.row.avatar},null,8,["src"])]),_:2},1032,["images"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(l,{prop:"parentId",label:"上级ID",width:"80",align:"left","show-overflow-tooltip":""}),e.createVNode(l,{prop:"relationPath",label:"邀请关系","min-width":"150",align:"left","show-overflow-tooltip":""}),e.createVNode(l,{prop:"blackUnlockTime",label:"黑名单解锁",width:"145",align:"left","show-overflow-tooltip":""}),e.createVNode(l,{prop:"lastLoginTime",label:"最后登录时间",width:"145",align:"center","show-overflow-tooltip":""}),e.createVNode(l,{prop:"createdTime",label:"创建时间",width:"145",align:"center","show-overflow-tooltip":""}),e.createVNode(l,{label:"操作",width:"220",fixed:"right"},{default:e.withCtx(()=>[C]),_:1})]),_:1},8,["condition"])])])}}}),D="",M=p(x,[["__scopeId","data-v-690b99ee"]]),B={install:(o,a={})=>{let t=a.router,r=t.getRoutes().find(i=>i.path=="/");r&&r.meta&&t.addRoute({path:"/user",name:"User",redirect:"/user/list",component:r.meta.commonLayout,children:[{path:"list",name:"UserList",component:M}]})}},_=(o,a={})=>{V.forEach(t=>o.use(t)),o.use(B,a)},I={install:_};n.UserMobileComp=h,n.default=I,n.install=_,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1
|
+
(function(m,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("pinia"),require("@pangu-backend-ui/common")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","@pangu-backend-ui/common"],e):(m=typeof globalThis<"u"?globalThis:m||self,e(m["pg-user-core"]={},m.Vue,m.pinia,m.common))})(this,function(m,e,y,D){"use strict";const T={key:0,class:"container"},B=e.defineComponent({__name:"UserMobileComponent",props:{userId:{type:Number,default:null},maskMobile:{type:String,default:null}},setup(l){const t=l,o=e.ref({plainMobile:null,loading:!1}),i=e.inject("http");function p(){o.value.plainMobile==null&&(o.value.loading=!0,i==null||i.get(`/api/user/${t.userId}/plainmobile`).then(r=>{o.value.plainMobile=r.data,o.value.loading=!1}).finally(()=>{o.value.loading=!1}))}return(r,d)=>{const c=e.resolveComponent("View"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("Loading");return t.maskMobile!=null?(e.openBlock(),e.createElementBlock("div",T,[o.value.plainMobile==null?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.maskMobile),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value.plainMobile),1)],64)),o.value.plainMobile==null&&!o.value.loading&&t.userId!=null?(e.openBlock(),e.createBlock(_,{key:2,class:"view-icon",onClick:p},{default:e.withCtx(()=>[e.createVNode(c)]),_:1})):e.createCommentVNode("",!0),o.value.loading?(e.openBlock(),e.createBlock(_,{key:3,class:"is-loading view-icon"},{default:e.withCtx(()=>[e.createVNode(g)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}}),q="",N=(l,t)=>{const o=l.__vccOpts||l;for(const[i,p]of t)o[i]=p;return o},V=N(B,[["__scopeId","data-v-76c9c9ae"]]),u={install:l=>{l.component("PgUserMobile",V)}};function S(){const l=e.inject("http");function t(o){return l==null?void 0:l.get(`/api/user/${o}`)}return{getUserDetail:t}}const U=e.defineComponent({__name:"LoginHistory",props:["userId"],setup(l){const t=l,o=e.ref({userId:t.userId,loginTimeStart:null,loginTimeEnd:null}),i=e.ref([]);e.watch(i,d=>{d?(o.value.loginTimeStart=d[0],o.value.loginTimeEnd=d[1]):(o.value.loginTimeStart=null,o.value.loginTimeEnd=null)});const p=e.ref();function r(){p.value.search()}return(d,c)=>{const _=e.resolveComponent("el-date-picker"),g=e.resolveComponent("el-button"),f=e.resolveComponent("el-space"),n=e.resolveComponent("el-table-column"),s=e.resolveComponent("el-tag"),h=e.resolveComponent("pg-table");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(f,null,{default:e.withCtx(()=>[e.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=a=>i.value=a),type:"datetimerange","range-separator":"-","start-placeholder":"登录开始时间","end-placeholder":"登录结束时间",clearable:""},null,8,["modelValue"]),e.createVNode(g,{type:"primary",icon:"search",onClick:r},{default:e.withCtx(()=>[e.createTextVNode("搜索")]),_:1})]),_:1}),e.createVNode(h,{ref_key:"historiesTable",ref:p,style:{"margin-top":"10px"},"data-url":"/api/user/login-history",condition:o.value},{columns:e.withCtx(()=>[e.createVNode(n,{prop:"createdTime",label:"登录时间",align:"center","show-overflow-tooltip":""}),e.createVNode(n,{prop:"ip",label:"登录IP",align:"center","show-overflow-tooltip":""}),e.createVNode(n,{prop:"runtimeName",label:"运行容器",align:"center","show-overflow-tooltip":""}),e.createVNode(n,{label:"登录方式",align:"center","show-overflow-tooltip":""},{default:e.withCtx(({row:a})=>[a.method==="SMS"?(e.openBlock(),e.createBlock(s,{key:0,type:"primary",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("短信登录")]),_:1})):e.createCommentVNode("",!0),a.method==="THIRD_PLATFORM"?(e.openBlock(),e.createBlock(s,{key:1,type:"primary",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("第三方平台")]),_:1})):e.createCommentVNode("",!0),a.method==="UNIVERIFY"?(e.openBlock(),e.createBlock(s,{key:2,type:"primary",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("一键登录")]),_:1})):e.createCommentVNode("",!0),a.method==="PASSWORD"?(e.openBlock(),e.createBlock(s,{key:3,type:"primary",size:"small"},{default:e.withCtx(()=>[e.createTextVNode("帐号密码")]),_:1})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(n,{prop:"thirdPlatformName",label:"第三方登录",align:"center","show-overflow-tooltip":""}),e.createVNode(n,{prop:"versionCode",label:"版本代码",align:"center","show-overflow-tooltip":""}),e.createVNode(n,{prop:"versionName",label:"版本名称",align:"center","show-overflow-tooltip":""})]),_:1},8,["condition"])],64)}}}),w=y.defineStore("pg-user-core-config-store",()=>{const l=[];return l.push({name:"登录历史",code:"LOGIN_HISTORY",component:U}),{userDetailDialogTabs:e.computed(()=>l)}}),C=e.defineComponent({__name:"UserDetailDialog",setup(l,{expose:t}){const{getUserDetail:o}=S(),i=w(),p=e.ref(!1),r=e.ref(),d=e.ref({activeName:i.userDetailDialogTabs[0].code,tabs:[]}),c=e.ref(!1);function _(g,f){var n;c.value=!0,(n=o(g))==null||n.then(s=>{r.value=s.data,c.value=!1,p.value=!0,d.value.tabs.length=0,d.value.tabs=d.value.tabs.concat(i.userDetailDialogTabs),f&&(d.value.tabs=d.value.tabs.concat(f))})}return t({show:_}),(g,f)=>{const n=e.resolveComponent("el-descriptions-item"),s=e.resolveComponent("el-descriptions"),h=e.resolveComponent("el-tab-pane"),a=e.resolveComponent("el-tabs"),z=e.resolveComponent("el-dialog"),j=e.resolveDirective("loading");return e.withDirectives((e.openBlock(),e.createBlock(z,{modelValue:p.value,"onUpdate:modelValue":f[1]||(f[1]=b=>p.value=b),title:"用户详情",width:"1300"},{default:e.withCtx(()=>[e.createVNode(s,{border:""},{default:e.withCtx(()=>[e.createVNode(n,{label:"用户编号"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.id),1)]),_:1}),e.createVNode(n,{label:"用户昵称"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.nickname),1)]),_:1}),e.createVNode(n,{label:"手机号码"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(V,{"mask-mobile":r.value.mobile,"user-id":r.value.id,key:r.value.id},null,8,["mask-mobile","user-id"]))]),_:1}),e.createVNode(n,{label:"邀请编码"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.inviteCode),1)]),_:1}),e.createVNode(n,{label:"活动时间"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.touchTime),1)]),_:1}),e.createVNode(n,{label:"注册时间"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.createdTime),1)]),_:1}),e.createVNode(n,{label:"最后登陆"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.lastLoginTime),1)]),_:1}),e.createVNode(n,{label:"最后更新"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.updatedTime),1)]),_:1}),e.createVNode(n,{label:"上级用户"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.parentId),1)]),_:1}),e.createVNode(n,{label:"邀请关系"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value.relationPath),1)]),_:1})]),_:1}),e.createVNode(a,{modelValue:d.value.activeName,"onUpdate:modelValue":f[0]||(f[0]=b=>d.value.activeName=b),style:{"margin-top":"10px"},type:"border-card"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.tabs,(b,A)=>(e.openBlock(),e.createBlock(h,{label:b.name,name:b.code,key:`user_detail_dialog_${b.code}`},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b.component),{userId:r.value.id},null,8,["userId"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])),[[j,c.value]])}}}),k={install:l=>{l.component("PgUserDetailDialog",C)}},I=[u,k],M=l=>(e.pushScopeId("data-v-391c43be"),l=l(),e.popScopeId(),l),E={class:"page-layout"},L={style:{"margin-top":"10px"}},P=M(()=>e.createElementVNode("template",{"slot-scope":"{row}"},null,-1)),R=e.defineComponent({__name:"list",setup(l){const t=e.ref({id:null,parentId:null,phone:null,nicekname:null,inviteCode:null}),o=e.ref(null);function i(){o.value.search()}const p=e.ref();function r(d){p.value.show(d.id)}return(d,c)=>{const _=e.resolveComponent("el-input"),g=e.resolveComponent("el-button"),f=e.resolveComponent("el-space"),n=e.resolveComponent("el-card"),s=e.resolveComponent("el-table-column"),h=e.resolveComponent("el-image");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",E,[e.createVNode(n,null,{default:e.withCtx(()=>[e.createVNode(f,null,{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.value.id,"onUpdate:modelValue":c[0]||(c[0]=a=>t.value.id=a),placeholder:"ID",style:{width:"100px"},clearable:""},null,8,["modelValue"]),e.createVNode(_,{modelValue:t.value.parentId,"onUpdate:modelValue":c[1]||(c[1]=a=>t.value.parentId=a),placeholder:"父用户ID",style:{width:"100px"},clearable:""},null,8,["modelValue"]),e.createVNode(_,{modelValue:t.value.phone,"onUpdate:modelValue":c[2]||(c[2]=a=>t.value.phone=a),placeholder:"手机号",style:{width:"120px"},clearable:""},null,8,["modelValue"]),e.createVNode(_,{modelValue:t.value.nicekname,"onUpdate:modelValue":c[3]||(c[3]=a=>t.value.nicekname=a),placeholder:"昵称",style:{width:"150px"},clearable:""},null,8,["modelValue"]),e.createVNode(_,{modelValue:t.value.inviteCode,"onUpdate:modelValue":c[4]||(c[4]=a=>t.value.inviteCode=a),placeholder:"邀请码",style:{width:"100px"},clearable:""},null,8,["modelValue"]),e.createVNode(g,{type:"primary",icon:"search",onClick:i},{default:e.withCtx(()=>[e.createTextVNode("搜索")]),_:1})]),_:1})]),_:1}),e.createElementVNode("div",L,[e.createVNode(e.unref(D.PgTable),{ref_key:"userTable",ref:o,"data-url":"/api/user/page",condition:t.value,onRowDbClick:c[5]||(c[5]=a=>r(a))},{columns:e.withCtx(()=>[e.createVNode(s,{prop:"id",label:"UID",width:"80",align:"center"}),e.createVNode(s,{prop:"mobile",label:"手机",width:"115",align:"left","show-overflow-tooltip":""},{default:e.withCtx(a=>[(e.openBlock(),e.createBlock(V,{"mask-mobile":a.row.mobile,"user-id":a.row.id,key:a.row.id},null,8,["mask-mobile","user-id"]))]),_:1}),e.createVNode(s,{prop:"username",label:"用户名",width:"110",align:"left","show-overflow-tooltip":""}),e.createVNode(s,{prop:"nickname",label:"昵称",width:"110",align:"left","show-overflow-tooltip":""}),e.createVNode(s,{prop:"inviteCode",label:"邀请码",width:"90",align:"center","show-overflow-tooltip":""}),e.createVNode(s,{prop:"avatar",label:"头像",width:"60",align:"center","show-overflow-tooltip":""},{default:e.withCtx(a=>[e.createVNode(h,{fit:"cover",size:30,src:a.row.avatar,"preview-teleported":"","preview-src-list":[a.row.avatar]},null,8,["src","preview-src-list"])]),_:1}),e.createVNode(s,{prop:"parentId",label:"上级ID",width:"80",align:"left","show-overflow-tooltip":""}),e.createVNode(s,{prop:"relationPath",label:"邀请关系","min-width":"150",align:"left","show-overflow-tooltip":""}),e.createVNode(s,{prop:"blackUnlockTime",label:"黑名单解锁",width:"145",align:"left","show-overflow-tooltip":""}),e.createVNode(s,{prop:"lastLoginTime",label:"最后登录时间",width:"145",align:"center","show-overflow-tooltip":""}),e.createVNode(s,{prop:"createdTime",label:"创建时间",width:"145",align:"center","show-overflow-tooltip":""}),e.createVNode(s,{label:"操作",width:"220",fixed:"right"},{default:e.withCtx(()=>[P]),_:1})]),_:1},8,["condition"])])]),e.createVNode(C,{ref_key:"userDetailDialog",ref:p},null,512)],64)}}}),H="",F=N(R,[["__scopeId","data-v-391c43be"]]),$={install:(l,t)=>{let o=t.router,i=o.getRoutes().find(p=>p.path=="/");i&&i.meta&&o.addRoute({path:"/user",name:"User",redirect:"/user/list",component:i.meta.commonLayout,children:[{path:"list",name:"UserList",component:F}]})}},x=(l,t)=>{const o=w();if(t.userDetailDialogTabs&&t.userDetailDialogTabs.length)for(let i of t.userDetailDialogTabs)o.userDetailDialogTabs.push(i);I.forEach(i=>l.use(i)),l.use($,t)},O={install:x};m.UserDetailDialog=k,m.UserMobileComp=u,m.default=O,m.install=x,m.useUserCoreConfigStore=w,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pangu-backend-ui/user-core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"unpkg": "index.umd.cjs",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"axios": "^1.3.2",
|
|
20
20
|
"element-plus": "^2.2.29",
|
|
21
|
-
"v-viewer": "^3.0.11",
|
|
22
21
|
"vue": "^3.2.45",
|
|
23
22
|
"vue-router": "^4.1.6",
|
|
23
|
+
"pinia": "^2.0.28",
|
|
24
24
|
"@pangu-backend-ui/common": "^0.0.14"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
package/style.css
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Viewer.js v1.11.2
|
|
3
|
-
* https://fengyuanchen.github.io/viewerjs
|
|
4
|
-
*
|
|
5
|
-
* Copyright 2015-present Chen Fengyuan
|
|
6
|
-
* Released under the MIT license
|
|
7
|
-
*
|
|
8
|
-
* Date: 2023-01-01T10:14:47.694Z
|
|
9
|
-
*/.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container *::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#0000007f;overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;left:0;position:absolute;right:0;top:0;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#0000007f;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#0000007f;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#0000007f}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,10%);border-left-color:#ffffff7f;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width: 767px){.viewer-hide-xs-down{display:none}}@media (max-width: 991px){.viewer-hide-sm-down{display:none}}@media (max-width: 1199px){.viewer-hide-md-down{display:none}}.page-layout[data-v-690b99ee]{display:flex;flex-direction:column}
|
|
1
|
+
.view-icon[data-v-76c9c9ae]{margin-left:3px}.container[data-v-76c9c9ae]{display:flex;align-items:center}.page-layout[data-v-391c43be]{display:flex;flex-direction:column}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import UserDetailDialogTabConfig from '../../types/UserDetailDialogTabConfig';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
|
+
getUserDetail: (userId: number) => Promise<import("@pangu-backend-ui/common").Response<unknown>> | undefined;
|
|
4
|
+
configStore: import("pinia").Store<"pg-user-core-config-store", import("pinia")._UnwrapAll<Pick<{
|
|
5
|
+
userDetailDialogTabs: import("vue").ComputedRef<UserDetailDialogTabConfig[]>;
|
|
6
|
+
}, never>>, Pick<{
|
|
7
|
+
userDetailDialogTabs: import("vue").ComputedRef<UserDetailDialogTabConfig[]>;
|
|
8
|
+
}, "userDetailDialogTabs">, Pick<{
|
|
9
|
+
userDetailDialogTabs: import("vue").ComputedRef<UserDetailDialogTabConfig[]>;
|
|
10
|
+
}, never>>;
|
|
11
|
+
showState: import("vue").Ref<boolean>;
|
|
12
|
+
userDetail: import("vue").Ref<any>;
|
|
13
|
+
tabState: import("vue").Ref<{
|
|
14
|
+
activeName: string;
|
|
15
|
+
tabs: {
|
|
16
|
+
name: string;
|
|
17
|
+
code: string;
|
|
18
|
+
component: string | import("vue").FunctionalComponent<any, any> | {
|
|
19
|
+
new (...args: any[]): any;
|
|
20
|
+
__isFragment?: undefined;
|
|
21
|
+
__isTeleport?: undefined;
|
|
22
|
+
__isSuspense?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: {
|
|
26
|
+
attrs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
slots: Readonly<{
|
|
30
|
+
[name: string]: import("vue").Slot | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
33
|
+
expose: (exposed?: Record<string, any> | undefined) => void;
|
|
34
|
+
}) => any) | undefined;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
template?: string | object | undefined;
|
|
37
|
+
render?: Function | undefined;
|
|
38
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
39
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
40
|
+
inheritAttrs?: boolean | undefined;
|
|
41
|
+
emits?: any;
|
|
42
|
+
expose?: string[] | undefined;
|
|
43
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
44
|
+
compilerOptions?: {
|
|
45
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
46
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
47
|
+
comments?: boolean | undefined;
|
|
48
|
+
delimiters?: [string, string] | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
51
|
+
__isFragment?: undefined;
|
|
52
|
+
__isTeleport?: undefined;
|
|
53
|
+
__isSuspense?: undefined;
|
|
54
|
+
__defaults?: {} | undefined;
|
|
55
|
+
compatConfig?: {
|
|
56
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
57
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
58
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
59
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
60
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
61
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
62
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
63
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
64
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
65
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
66
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
67
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
68
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
69
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
70
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
71
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
72
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
73
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
74
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
75
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
76
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
77
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
78
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
79
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
80
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
81
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
82
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
83
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
84
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
85
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
86
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
87
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
88
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
89
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
90
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
91
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
92
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
93
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
94
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
95
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
96
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
97
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
98
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
101
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
102
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
103
|
+
watch?: {
|
|
104
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
105
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
106
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
107
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
108
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
109
|
+
} | undefined;
|
|
110
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
111
|
+
inject?: {} | string[] | undefined;
|
|
112
|
+
filters?: Record<string, Function> | undefined;
|
|
113
|
+
mixins?: any[] | undefined;
|
|
114
|
+
extends?: any;
|
|
115
|
+
beforeCreate?: (() => void) | undefined;
|
|
116
|
+
created?: (() => void) | undefined;
|
|
117
|
+
beforeMount?: (() => void) | undefined;
|
|
118
|
+
mounted?: (() => void) | undefined;
|
|
119
|
+
beforeUpdate?: (() => void) | undefined;
|
|
120
|
+
updated?: (() => void) | undefined;
|
|
121
|
+
activated?: (() => void) | undefined;
|
|
122
|
+
deactivated?: (() => void) | undefined;
|
|
123
|
+
beforeDestroy?: (() => void) | undefined;
|
|
124
|
+
beforeUnmount?: (() => void) | undefined;
|
|
125
|
+
destroyed?: (() => void) | undefined;
|
|
126
|
+
unmounted?: (() => void) | undefined;
|
|
127
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
128
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
129
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | undefined;
|
|
130
|
+
delimiters?: [string, string] | undefined;
|
|
131
|
+
__differentiator?: string | number | symbol | undefined;
|
|
132
|
+
__isBuiltIn?: boolean | undefined;
|
|
133
|
+
__file?: string | undefined;
|
|
134
|
+
__name?: string | undefined;
|
|
135
|
+
beforeRouteEnter?: import("vue-router").NavigationGuardWithThis<undefined> | undefined;
|
|
136
|
+
beforeRouteUpdate?: import("vue-router").NavigationGuard | undefined;
|
|
137
|
+
beforeRouteLeave?: import("vue-router").NavigationGuard | undefined;
|
|
138
|
+
};
|
|
139
|
+
}[];
|
|
140
|
+
}>;
|
|
141
|
+
loading: import("vue").Ref<boolean>;
|
|
142
|
+
show: (userId: number, tabs?: UserDetailDialogTabConfig[]) => void;
|
|
143
|
+
UserMobile: import("vue").DefineComponent<{
|
|
144
|
+
userId: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
default: null;
|
|
147
|
+
};
|
|
148
|
+
maskMobile: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: null;
|
|
151
|
+
};
|
|
152
|
+
}, {
|
|
153
|
+
props: any;
|
|
154
|
+
state: import("vue").Ref<{
|
|
155
|
+
plainMobile: string | null | undefined;
|
|
156
|
+
loading: boolean;
|
|
157
|
+
}>;
|
|
158
|
+
http: import("@pangu-backend-ui/common").Http | undefined;
|
|
159
|
+
getPlainMobile: () => void;
|
|
160
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
userId: {
|
|
162
|
+
type: NumberConstructor;
|
|
163
|
+
default: null;
|
|
164
|
+
};
|
|
165
|
+
maskMobile: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: null;
|
|
168
|
+
};
|
|
169
|
+
}>>, {
|
|
170
|
+
userId: number;
|
|
171
|
+
maskMobile: string;
|
|
172
|
+
}>;
|
|
173
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
174
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<Readonly<{
|
|
2
|
+
userId?: any;
|
|
3
|
+
}>, {
|
|
4
|
+
props: any;
|
|
5
|
+
condition: import("vue").Ref<{
|
|
6
|
+
userId: any;
|
|
7
|
+
loginTimeStart: null;
|
|
8
|
+
loginTimeEnd: null;
|
|
9
|
+
}>;
|
|
10
|
+
loginTimeRange: import("vue").Ref<never[]>;
|
|
11
|
+
historiesTable: import("vue").Ref<any>;
|
|
12
|
+
search: () => void;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
14
|
+
userId?: any;
|
|
15
|
+
}>>>, {
|
|
16
|
+
readonly userId?: any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _sfc_main;
|
|
@@ -1,24 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
function data(): {
|
|
18
|
-
plainMobile: null;
|
|
1
|
+
import { Http } from "@pangu-backend-ui/common";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
userId: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
maskMobile: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
props: any;
|
|
13
|
+
state: import("vue").Ref<{
|
|
14
|
+
plainMobile: string | null | undefined;
|
|
19
15
|
loading: boolean;
|
|
16
|
+
}>;
|
|
17
|
+
http: Http | undefined;
|
|
18
|
+
getPlainMobile: () => void;
|
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
userId: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: null;
|
|
20
23
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
24
|
+
maskMobile: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
userId: number;
|
|
30
|
+
maskMobile: string;
|
|
31
|
+
}>;
|
|
32
|
+
export default _sfc_main;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import UserMobileComp from './UserMobile';
|
|
2
|
+
import UserDetailDialog from './UserDetail';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
install: (app: import("vue").App<any>) => void;
|
|
4
5
|
}[];
|
|
5
6
|
export default _default;
|
|
6
|
-
export { UserMobileComp };
|
|
7
|
+
export { UserMobileComp, UserDetailDialog };
|
package/types/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
2
|
export * from './components';
|
|
3
3
|
export * from './model';
|
|
4
|
-
export
|
|
4
|
+
export * from './store/ConfigStore';
|
|
5
|
+
import InstallOptions from './types/InstallOptions';
|
|
6
|
+
export declare const install: (app: App, option: InstallOptions) => void;
|
|
5
7
|
declare const _default: {
|
|
6
|
-
install: (app: App<any>, option
|
|
8
|
+
install: (app: App<any>, option: InstallOptions) => void;
|
|
7
9
|
};
|
|
8
10
|
export default _default;
|
package/types/routes/index.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import UserDetailDialogTabConfig from '../types/UserDetailDialogTabConfig';
|
|
2
|
+
export declare const useUserCoreConfigStore: import("pinia").StoreDefinition<"pg-user-core-config-store", import("pinia")._UnwrapAll<Pick<{
|
|
3
|
+
userDetailDialogTabs: import("vue").ComputedRef<UserDetailDialogTabConfig[]>;
|
|
4
|
+
}, never>>, Pick<{
|
|
5
|
+
userDetailDialogTabs: import("vue").ComputedRef<UserDetailDialogTabConfig[]>;
|
|
6
|
+
}, "userDetailDialogTabs">, Pick<{
|
|
7
|
+
userDetailDialogTabs: import("vue").ComputedRef<UserDetailDialogTabConfig[]>;
|
|
8
|
+
}, never>>;
|