@ftlab/one-vue3 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,102 +1,114 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
9
-
10
- ## [v0.2.2](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.1...v0.2.2)
11
-
12
- ### Commits
13
-
14
- - fix: scroll bug fix [`2cd68f6`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/2cd68f6c534af2cd8b8069180d3ad20c1a9d223a)
15
-
16
- ## [v0.2.1](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.0...v0.2.1) - 2023-11-28
17
-
18
- ### Commits
19
-
20
- - feat: detail change [`79e1942`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/79e1942cf40561940eb6de31a17da0432aa2bf75)
21
-
22
- ## [v0.2.0](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.5...v0.2.0) - 2023-11-28
23
-
24
- ### Commits
25
-
26
- - feat: ftlPasswordDialog add [`c7910c6`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/c7910c6e0c911fcd8d3a279602c3d40420f76e50)
27
- - feat: add message center [`ec3bcf5`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/ec3bcf5e744cb0606cb6d10af0200b7dec39604b)
28
-
29
- ## [v0.1.5](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.4...v0.1.5) - 2023-08-30
30
-
31
- ### Commits
32
-
33
- - feat: detail change [`75529d3`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/75529d3f95c457851eb39e0ae4dc67ada5380d49)
34
-
35
- ## [v0.1.4](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.3...v0.1.4) - 2023-08-11
36
-
37
- ### Commits
38
-
39
- - feat: detail add [`7a5d7b7`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/7a5d7b719facc65bb81c75b2f9f25a04820fb674)
40
-
41
- ## [v0.1.3](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.2...v0.1.3) - 2023-08-10
42
-
43
- ### Commits
44
-
45
- - feat: detail feat [`72c432d`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/72c432d0b98e222d65de842433a3d44d39ab9249)
46
-
47
- ## [v0.1.2](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.1...v0.1.2) - 2023-08-09
48
-
49
- ### Commits
50
-
51
- - feat: build to es2015 [`ef0cf82`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/ef0cf829dd80a2b0044622e162609cbb5be05960)
52
- - doc:refactor README.md [`6b266e7`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/6b266e7c39be7b8a18bdaf7127fba89c6249dcd5)
53
-
54
- ## [v0.1.1](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.0...v0.1.1) - 2023-07-07
55
-
56
- ### Commits
57
-
58
- - feat: theme color var add [`60ab46c`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/60ab46c30e17c7e72796e20c3eb66c71a359b7a9)
59
-
60
- ## [v0.1.0](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.7...v0.1.0) - 2023-07-05
61
-
62
- ### Commits
63
-
64
- - feat: 0.1.0 [`20f34b7`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/20f34b7c45139ae50bc15a5b37bb8b206b0d6e88)
65
-
66
- ## [v0.0.7](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.6...v0.0.7) - 2023-07-05
67
-
68
- ### Commits
69
-
70
- - feat: vite build external element-plus [`1415398`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/1415398585f7184eb1a7b5fd9db41337e6d011e3)
71
-
72
- ## [v0.0.6](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.5...v0.0.6) - 2023-07-05
73
-
74
- ### Commits
75
-
76
- - feat: vite build external pinia [`2525081`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/2525081c259f7875d19fd3c86fe5eac2f903bc1d)
77
-
78
- ## [v0.0.5](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.4...v0.0.5) - 2023-07-05
79
-
80
- ### Commits
81
-
82
- - fix: pinia bug fix [`7701ea2`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/7701ea21231b549791f0f2ec23eab2f8544a39f0)
83
-
84
- ## [v0.0.4](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.3...v0.0.4) - 2023-07-04
85
-
86
- ### Commits
87
-
88
- - fix: style fix [`930b480`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/930b480c34ef7b0f743590aacab4125674a77d38)
89
-
90
- ## [v0.0.3](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.2...v0.0.3) - 2023-07-04
91
-
92
- ### Commits
93
-
94
- - feat: some common function and components add [`ca3198e`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/ca3198e22a6748620c6017482b42bb8bcaef51f7)
95
- - feat: pinia and style add [`34b30f5`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/34b30f560a58a74be9db88fcade6775c29769c7c)
96
-
97
- ## v0.0.2 - 2023-06-30
98
-
99
- ### Commits
100
-
101
- - feat: project init [`8924bba`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/8924bbad81f97fa7130f9bf571920509acd2474e)
102
- - Initial commit [`1d50e56`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/1d50e561512abf2733a397ebf5f29109a3584953)
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
9
+
10
+ ## [v0.2.4](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.3...v0.2.4)
11
+
12
+ ### Commits
13
+
14
+ - feat: support iconfont [`5268467`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/526846752ca3de05e7e78a665a7b1c1ff1b40b9f)
15
+
16
+ ## [v0.2.3](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.2...v0.2.3) - 2023-12-11
17
+
18
+ ### Commits
19
+
20
+ - feat: menu style detail change [`93c3abb`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/93c3abba52a689bf6e0e265e4ad2c4aad38605fd)
21
+
22
+ ## [v0.2.2](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.1...v0.2.2) - 2023-12-04
23
+
24
+ ### Commits
25
+
26
+ - fix: scroll bug fix [`2cd68f6`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/2cd68f6c534af2cd8b8069180d3ad20c1a9d223a)
27
+
28
+ ## [v0.2.1](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.2.0...v0.2.1) - 2023-11-28
29
+
30
+ ### Commits
31
+
32
+ - feat: detail change [`79e1942`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/79e1942cf40561940eb6de31a17da0432aa2bf75)
33
+
34
+ ## [v0.2.0](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.5...v0.2.0) - 2023-11-28
35
+
36
+ ### Commits
37
+
38
+ - feat: ftlPasswordDialog add [`c7910c6`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/c7910c6e0c911fcd8d3a279602c3d40420f76e50)
39
+ - feat: add message center [`ec3bcf5`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/ec3bcf5e744cb0606cb6d10af0200b7dec39604b)
40
+
41
+ ## [v0.1.5](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.4...v0.1.5) - 2023-08-30
42
+
43
+ ### Commits
44
+
45
+ - feat: detail change [`75529d3`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/75529d3f95c457851eb39e0ae4dc67ada5380d49)
46
+
47
+ ## [v0.1.4](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.3...v0.1.4) - 2023-08-11
48
+
49
+ ### Commits
50
+
51
+ - feat: detail add [`7a5d7b7`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/7a5d7b719facc65bb81c75b2f9f25a04820fb674)
52
+
53
+ ## [v0.1.3](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.2...v0.1.3) - 2023-08-10
54
+
55
+ ### Commits
56
+
57
+ - feat: detail feat [`72c432d`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/72c432d0b98e222d65de842433a3d44d39ab9249)
58
+
59
+ ## [v0.1.2](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.1...v0.1.2) - 2023-08-09
60
+
61
+ ### Commits
62
+
63
+ - feat: build to es2015 [`ef0cf82`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/ef0cf829dd80a2b0044622e162609cbb5be05960)
64
+ - doc:refactor README.md [`6b266e7`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/6b266e7c39be7b8a18bdaf7127fba89c6249dcd5)
65
+
66
+ ## [v0.1.1](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.1.0...v0.1.1) - 2023-07-07
67
+
68
+ ### Commits
69
+
70
+ - feat: theme color var add [`60ab46c`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/60ab46c30e17c7e72796e20c3eb66c71a359b7a9)
71
+
72
+ ## [v0.1.0](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.7...v0.1.0) - 2023-07-05
73
+
74
+ ### Commits
75
+
76
+ - feat: 0.1.0 [`20f34b7`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/20f34b7c45139ae50bc15a5b37bb8b206b0d6e88)
77
+
78
+ ## [v0.0.7](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.6...v0.0.7) - 2023-07-05
79
+
80
+ ### Commits
81
+
82
+ - feat: vite build external element-plus [`1415398`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/1415398585f7184eb1a7b5fd9db41337e6d011e3)
83
+
84
+ ## [v0.0.6](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.5...v0.0.6) - 2023-07-05
85
+
86
+ ### Commits
87
+
88
+ - feat: vite build external pinia [`2525081`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/2525081c259f7875d19fd3c86fe5eac2f903bc1d)
89
+
90
+ ## [v0.0.5](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.4...v0.0.5) - 2023-07-05
91
+
92
+ ### Commits
93
+
94
+ - fix: pinia bug fix [`7701ea2`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/7701ea21231b549791f0f2ec23eab2f8544a39f0)
95
+
96
+ ## [v0.0.4](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.3...v0.0.4) - 2023-07-04
97
+
98
+ ### Commits
99
+
100
+ - fix: style fix [`930b480`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/930b480c34ef7b0f743590aacab4125674a77d38)
101
+
102
+ ## [v0.0.3](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.2...v0.0.3) - 2023-07-04
103
+
104
+ ### Commits
105
+
106
+ - feat: some common function and components add [`ca3198e`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/ca3198e22a6748620c6017482b42bb8bcaef51f7)
107
+ - feat: pinia and style add [`34b30f5`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/34b30f560a58a74be9db88fcade6775c29769c7c)
108
+
109
+ ## v0.0.2 - 2023-06-30
110
+
111
+ ### Commits
112
+
113
+ - feat: project init [`8924bba`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/8924bbad81f97fa7130f9bf571920509acd2474e)
114
+ - Initial commit [`1d50e56`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/1d50e561512abf2733a397ebf5f29109a3584953)
@@ -91,7 +91,7 @@
91
91
  line-height: 38px;
92
92
  background-color: transparent !important;
93
93
  color: #fff !important;
94
- padding: 0 50px !important;
94
+ padding: 0 55px !important;
95
95
  &:focus,
96
96
  &:hover,
97
97
  &.is-active {
@@ -1,14 +1,3 @@
1
- @import url("https://at.alicdn.com/t/font_1710489_t05xcfhmqqp.css");
2
-
3
- [class^="ftl-icon"],
4
- [class*=" ftl-icon"] {
5
- font-family: "iconfont" !important;
6
- font-size: 16px;
7
- font-style: normal;
8
- -webkit-font-smoothing: antialiased;
9
- -moz-osx-font-smoothing: grayscale;
10
- }
11
-
12
1
  * {
13
2
  box-sizing: border-box;
14
3
  margin: 0;
package/components.d.ts CHANGED
@@ -11,6 +11,7 @@ declare module 'vue' {
11
11
  ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
12
12
  ElButton: typeof import('element-plus/es')['ElButton']
13
13
  ElCard: typeof import('element-plus/es')['ElCard']
14
+ ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
14
15
  ElDialog: typeof import('element-plus/es')['ElDialog']
15
16
  ElDivider: typeof import('element-plus/es')['ElDivider']
16
17
  ElDropdown: typeof import('element-plus/es')['ElDropdown']
@@ -1 +1 @@
1
- "use strict";var T=Object.defineProperty,M=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var h=(n,o,t)=>o in n?T(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,w=(n,o)=>{for(var t in o||(o={}))$.call(o,t)&&h(n,t,o[t]);if(v)for(var t of v(o))z.call(o,t)&&h(n,t,o[t]);return n},y=(n,o)=>M(n,U(o));var k=(n,o,t)=>new Promise((s,i)=>{var u=l=>{try{c(t.next(l))}catch(m){i(m)}},f=l=>{try{c(t.throw(l))}catch(m){i(m)}},c=l=>l.done?s(l.value):Promise.resolve(l.value).then(u,f);c((t=t.apply(n,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-832db9d9.cjs"),e=require("vue");require("pinia");const P=r.buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:r.definePropType(String),default:"solid"}}),I=e.defineComponent({name:"ElDivider"}),A=e.defineComponent(y(w({},I),{props:P,setup(n){const o=n,t=r.useNamespace("divider"),s=e.computed(()=>t.cssVar({"border-style":o.borderStyle}));return(i,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(t).b(),e.unref(t).m(i.direction)]),style:e.normalizeStyle(e.unref(s)),role:"separator"},[i.$slots.default&&i.direction!=="vertical"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(t).e("text"),e.unref(t).is(i.contentPosition)])},[e.renderSlot(i.$slots,"default")],2)):e.createCommentVNode("v-if",!0)],6))}}));var H=r._export_sfc(A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const q=r.withInstall(H);const L={class:"dialog__title"},j=["innerHTML"],F=e.defineComponent({__name:"CheckMessageDialog",emits:["preventHiddenDropdown"],setup(n,{expose:o,emit:t}){const s=e.ref(!1),i=e.inject("authBaseUrl"),u=e.inject("dialogI18n"),f=localStorage.getItem("token")||"",c=e.ref(!1),l=e.ref({}),m={Authorization:`Bearer ${f}`},D=e.computed(()=>`${i||r.configProxy.authBaseUrl||"https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`),C=d=>k(this,null,function*(){try{c.value=!0;const a=yield r.axios.get(D.value,{headers:m,params:{msgId:d}});a&&a.data&&(l.value=a.data)}catch(a){console.log(a)}finally{c.value=!1}}),_=e.computed(()=>l.value.immAttachments&&l.value.immAttachments.length!==0),B=d=>{d&&window.open(d,"_blank")};return o({open:d=>{C(d),s.value=!0}}),(d,a)=>{const x=q,g=r.ElButton,V=r.ElDropdownItem,S=r.ElDropdownMenu,E=r.ElDropdown,N=r.ElDialog,b=r.vLoading;return e.openBlock(),e.createBlock(N,{center:"",title:e.unref(u).dialogTitleText,modelValue:e.unref(s),"onUpdate:modelValue":a[1]||(a[1]=p=>e.isRef(s)?s.value=p:null),"append-to-body":"",model:!1,onClosed:a[2]||(a[2]=()=>{d.$emit("preventHiddenDropdown")})},{default:e.withCtx(()=>[e.createElementVNode("header",L,e.toDisplayString(e.unref(l).title),1),e.createVNode(x),e.withDirectives(e.createElementVNode("div",{innerHTML:e.unref(l).content},null,8,j),[[b,e.unref(c)]]),e.createElementVNode("footer",{class:e.normalizeClass(["mt15",[e.unref(_)?"f-s-c":"f-c-e"]])},[e.unref(_)?(e.openBlock(),e.createBlock(E,{key:0},{dropdown:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l).immAttachments,p=>(e.openBlock(),e.createBlock(V,{key:p.fileDownloadUrl,onClick:()=>B(p.fileDownloadUrl)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.fileName),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createVNode(g,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u).downloadText),1)]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(g,{onClick:a[0]||(a[0]=p=>s.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u).cancelButtonText),1)]),_:1})],2)]),_:1},8,["title","modelValue"])}}});const O=r._export_sfc$1(F,[["__scopeId","data-v-0003507a"]]);exports.default=O;
1
+ "use strict";var T=Object.defineProperty,M=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var h=(n,o,t)=>o in n?T(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,w=(n,o)=>{for(var t in o||(o={}))$.call(o,t)&&h(n,t,o[t]);if(v)for(var t of v(o))z.call(o,t)&&h(n,t,o[t]);return n},y=(n,o)=>M(n,U(o));var k=(n,o,t)=>new Promise((s,i)=>{var u=l=>{try{c(t.next(l))}catch(m){i(m)}},f=l=>{try{c(t.throw(l))}catch(m){i(m)}},c=l=>l.done?s(l.value):Promise.resolve(l.value).then(u,f);c((t=t.apply(n,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-359e54ce.cjs"),e=require("vue");require("pinia");const P=r.buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:r.definePropType(String),default:"solid"}}),I=e.defineComponent({name:"ElDivider"}),A=e.defineComponent(y(w({},I),{props:P,setup(n){const o=n,t=r.useNamespace("divider"),s=e.computed(()=>t.cssVar({"border-style":o.borderStyle}));return(i,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(t).b(),e.unref(t).m(i.direction)]),style:e.normalizeStyle(e.unref(s)),role:"separator"},[i.$slots.default&&i.direction!=="vertical"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(t).e("text"),e.unref(t).is(i.contentPosition)])},[e.renderSlot(i.$slots,"default")],2)):e.createCommentVNode("v-if",!0)],6))}}));var H=r._export_sfc(A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const q=r.withInstall(H);const L={class:"dialog__title"},j=["innerHTML"],F=e.defineComponent({__name:"CheckMessageDialog",emits:["preventHiddenDropdown"],setup(n,{expose:o,emit:t}){const s=e.ref(!1),i=e.inject("authBaseUrl"),u=e.inject("dialogI18n"),f=localStorage.getItem("token")||"",c=e.ref(!1),l=e.ref({}),m={Authorization:`Bearer ${f}`},D=e.computed(()=>`${i||r.configProxy.authBaseUrl||"https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`),C=d=>k(this,null,function*(){try{c.value=!0;const a=yield r.axios.get(D.value,{headers:m,params:{msgId:d}});a&&a.data&&(l.value=a.data)}catch(a){console.log(a)}finally{c.value=!1}}),_=e.computed(()=>l.value.immAttachments&&l.value.immAttachments.length!==0),B=d=>{d&&window.open(d,"_blank")};return o({open:d=>{C(d),s.value=!0}}),(d,a)=>{const x=q,g=r.ElButton,V=r.ElDropdownItem,S=r.ElDropdownMenu,E=r.ElDropdown,N=r.ElDialog,b=r.vLoading;return e.openBlock(),e.createBlock(N,{center:"",title:e.unref(u).dialogTitleText,modelValue:e.unref(s),"onUpdate:modelValue":a[1]||(a[1]=p=>e.isRef(s)?s.value=p:null),"append-to-body":"",model:!1,onClosed:a[2]||(a[2]=()=>{d.$emit("preventHiddenDropdown")})},{default:e.withCtx(()=>[e.createElementVNode("header",L,e.toDisplayString(e.unref(l).title),1),e.createVNode(x),e.withDirectives(e.createElementVNode("div",{innerHTML:e.unref(l).content},null,8,j),[[b,e.unref(c)]]),e.createElementVNode("footer",{class:e.normalizeClass(["mt15",[e.unref(_)?"f-s-c":"f-c-e"]])},[e.unref(_)?(e.openBlock(),e.createBlock(E,{key:0},{dropdown:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l).immAttachments,p=>(e.openBlock(),e.createBlock(V,{key:p.fileDownloadUrl,onClick:()=>B(p.fileDownloadUrl)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.fileName),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createVNode(g,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u).downloadText),1)]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(g,{onClick:a[0]||(a[0]=p=>s.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u).cancelButtonText),1)]),_:1})],2)]),_:1},8,["title","modelValue"])}}});const O=r._export_sfc$1(F,[["__scopeId","data-v-b6d5935c"]]);exports.default=O;
@@ -11,23 +11,23 @@ var M = (n, t, e) => t in n ? R(n, t, { enumerable: !0, configurable: !0, writab
11
11
  return n;
12
12
  }, U = (n, t) => G(n, J(t));
13
13
  var V = (n, t, e) => new Promise((i, l) => {
14
- var u = (a) => {
14
+ var u = (s) => {
15
15
  try {
16
- d(e.next(a));
16
+ d(e.next(s));
17
17
  } catch (_) {
18
18
  l(_);
19
19
  }
20
- }, g = (a) => {
20
+ }, g = (s) => {
21
21
  try {
22
- d(e.throw(a));
22
+ d(e.throw(s));
23
23
  } catch (_) {
24
24
  l(_);
25
25
  }
26
- }, d = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(u, g);
26
+ }, d = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(u, g);
27
27
  d((e = e.apply(n, t)).next());
28
28
  });
29
- import { b as Q, d as W, u as X, _ as Y, w as Z, c as ee, a as te, E as oe, e as ne, f as ae, g as se, h as le, v as ie, i as re } from "./index-dc538f9c.js";
30
- import { defineComponent as b, computed as k, openBlock as m, createElementBlock as C, normalizeClass as E, unref as o, normalizeStyle as de, renderSlot as ce, createCommentVNode as I, ref as h, inject as $, createBlock as w, isRef as ue, withCtx as c, createElementVNode as y, toDisplayString as f, createVNode as v, withDirectives as pe, Fragment as me, renderList as _e, createTextVNode as D } from "vue";
29
+ import { b as Q, d as W, u as X, _ as Y, w as Z, c as ee, a as te, E as oe, e as ne, f as se, g as ae, h as le, v as ie, i as re } from "./index-c039bb1e.js";
30
+ import { defineComponent as E, computed as k, openBlock as m, createElementBlock as b, normalizeClass as C, unref as o, normalizeStyle as de, renderSlot as ce, createCommentVNode as I, ref as h, inject as $, createBlock as w, isRef as ue, withCtx as c, createElementVNode as y, toDisplayString as f, createVNode as v, withDirectives as pe, Fragment as me, renderList as _e, createTextVNode as D } from "vue";
31
31
  import "pinia";
32
32
  const fe = Q({
33
33
  direction: {
@@ -44,22 +44,22 @@ const fe = Q({
44
44
  type: W(String),
45
45
  default: "solid"
46
46
  }
47
- }), ve = b({
47
+ }), ve = E({
48
48
  name: "ElDivider"
49
- }), ge = /* @__PURE__ */ b(U(T({}, ve), {
49
+ }), ge = /* @__PURE__ */ E(U(T({}, ve), {
50
50
  props: fe,
51
51
  setup(n) {
52
52
  const t = n, e = X("divider"), i = k(() => e.cssVar({
53
53
  "border-style": t.borderStyle
54
54
  }));
55
- return (l, u) => (m(), C("div", {
56
- class: E([o(e).b(), o(e).m(l.direction)]),
55
+ return (l, u) => (m(), b("div", {
56
+ class: C([o(e).b(), o(e).m(l.direction)]),
57
57
  style: de(o(i)),
58
58
  role: "separator"
59
59
  }, [
60
- l.$slots.default && l.direction !== "vertical" ? (m(), C("div", {
60
+ l.$slots.default && l.direction !== "vertical" ? (m(), b("div", {
61
61
  key: 0,
62
- class: E([o(e).e("text"), o(e).is(l.contentPosition)])
62
+ class: C([o(e).e("text"), o(e).is(l.contentPosition)])
63
63
  }, [
64
64
  ce(l.$slots, "default")
65
65
  ], 2)) : I("v-if", !0)
@@ -68,26 +68,26 @@ const fe = Q({
68
68
  }));
69
69
  var he = /* @__PURE__ */ Y(ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
70
70
  const we = Z(he);
71
- const ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */ b({
71
+ const ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */ E({
72
72
  __name: "CheckMessageDialog",
73
73
  emits: ["preventHiddenDropdown"],
74
74
  setup(n, { expose: t, emit: e }) {
75
- const i = h(!1), l = $("authBaseUrl"), u = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), a = h({}), _ = {
75
+ const i = h(!1), l = $("authBaseUrl"), u = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), s = h({}), _ = {
76
76
  Authorization: `Bearer ${g}`
77
77
  }, N = k(
78
78
  () => `${l || ee.authBaseUrl || "https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`
79
79
  ), P = (r) => V(this, null, function* () {
80
80
  try {
81
81
  d.value = !0;
82
- const s = yield te.get(N.value, { headers: _, params: { msgId: r } });
83
- s && s.data && (a.value = s.data);
84
- } catch (s) {
85
- console.log(s);
82
+ const a = yield te.get(N.value, { headers: _, params: { msgId: r } });
83
+ a && a.data && (s.value = a.data);
84
+ } catch (a) {
85
+ console.log(a);
86
86
  } finally {
87
87
  d.value = !1;
88
88
  }
89
89
  }), x = k(
90
- () => a.value.immAttachments && a.value.immAttachments.length !== 0
90
+ () => s.value.immAttachments && s.value.immAttachments.length !== 0
91
91
  ), z = (r) => {
92
92
  r && window.open(r, "_blank");
93
93
  };
@@ -95,35 +95,35 @@ const ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */
95
95
  open: (r) => {
96
96
  P(r), i.value = !0;
97
97
  }
98
- }), (r, s) => {
99
- const A = we, B = oe, H = ne, L = ae, F = se, j = le, q = ie;
98
+ }), (r, a) => {
99
+ const A = we, B = oe, H = ne, L = se, F = ae, j = le, q = ie;
100
100
  return m(), w(j, {
101
101
  center: "",
102
102
  title: o(u).dialogTitleText,
103
103
  modelValue: o(i),
104
- "onUpdate:modelValue": s[1] || (s[1] = (p) => ue(i) ? i.value = p : null),
104
+ "onUpdate:modelValue": a[1] || (a[1] = (p) => ue(i) ? i.value = p : null),
105
105
  "append-to-body": "",
106
106
  model: !1,
107
- onClosed: s[2] || (s[2] = () => {
107
+ onClosed: a[2] || (a[2] = () => {
108
108
  r.$emit("preventHiddenDropdown");
109
109
  })
110
110
  }, {
111
111
  default: c(() => [
112
- y("header", ye, f(o(a).title), 1),
112
+ y("header", ye, f(o(s).title), 1),
113
113
  v(A),
114
114
  pe(y("div", {
115
- innerHTML: o(a).content
115
+ innerHTML: o(s).content
116
116
  }, null, 8, De), [
117
117
  [q, o(d)]
118
118
  ]),
119
119
  y("footer", {
120
- class: E(["mt15", [o(x) ? "f-s-c" : "f-c-e"]])
120
+ class: C(["mt15", [o(x) ? "f-s-c" : "f-c-e"]])
121
121
  }, [
122
122
  o(x) ? (m(), w(F, { key: 0 }, {
123
123
  dropdown: c(() => [
124
124
  v(L, null, {
125
125
  default: c(() => [
126
- (m(!0), C(me, null, _e(o(a).immAttachments, (p) => (m(), w(H, {
126
+ (m(!0), b(me, null, _e(o(s).immAttachments, (p) => (m(), w(H, {
127
127
  key: p.fileDownloadUrl,
128
128
  onClick: () => z(p.fileDownloadUrl)
129
129
  }, {
@@ -147,7 +147,7 @@ const ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */
147
147
  _: 1
148
148
  })) : I("", !0),
149
149
  v(B, {
150
- onClick: s[0] || (s[0] = (p) => i.value = !1)
150
+ onClick: a[0] || (a[0] = (p) => i.value = !1)
151
151
  }, {
152
152
  default: c(() => [
153
153
  D(f(o(u).cancelButtonText), 1)
@@ -161,7 +161,7 @@ const ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */
161
161
  };
162
162
  }
163
163
  });
164
- const Be = /* @__PURE__ */ re(ke, [["__scopeId", "data-v-0003507a"]]);
164
+ const Be = /* @__PURE__ */ re(ke, [["__scopeId", "data-v-b6d5935c"]]);
165
165
  export {
166
166
  Be as default
167
167
  };
package/dist/ftlOne.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-832db9d9.cjs");require("vue");require("pinia");exports.FtlEntry=e.FtlEntry;exports.FtlMessage=e.index;exports.FtlNavbar=e.FtlNavbar;exports.FtlPasswordDialog=e.FtlPasswordDialog;exports.FtlSidebar=e.FtlSidebar;exports.default=e.FtlOne;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-359e54ce.cjs");require("vue");require("pinia");exports.FtlEntry=e.FtlEntry;exports.FtlMessage=e.index;exports.FtlNavbar=e.FtlNavbar;exports.FtlPasswordDialog=e.FtlPasswordDialog;exports.FtlSidebar=e.FtlSidebar;exports.default=e.FtlOne;
package/dist/ftlOne.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as r, l as o, F, m as e, k as i, n as m } from "./index-dc538f9c.js";
1
+ import { j as r, l as o, F, m as e, k as i, n as m } from "./index-c039bb1e.js";
2
2
  import "vue";
3
3
  import "pinia";
4
4
  export {