ysyt-agent-sdk 1.0.10 → 1.0.12
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:ysyt;src:url(../fonts/iconfont.woff2?t=1750839875481) format("woff2"),url(../fonts/iconfont.woff?t=1750839875481) format("woff"),url(../fonts/iconfont.ttf?t=1750839875481) format("truetype")}.ysyt{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:ysyt,serif!important;font-size:18px;font-style:normal}.icon-shouji:before{content:"\e692"}.icon-20gl-phoneSip:before{content:"\e924"}.icon-dianhua:before{content:"\e842"}.icon-quxiao:before{content:"\e676"}.icon-jieting:before{content:"\e60a"}.icon-boda:before{content:"\e679"}.icon-kaishi:before{content:"\e800"}.icon-guaji:before{content:"\e732"}.icon-manyidu:before{content:"\e600"}.icon-zixun:before{content:"\e71f"}.icon-zanting:before{content:"\ea81"}.icon-zhuanjie1:before{content:"\e601"}.icon-microphone:before{content:"\e661"}.icon-guanbimaikefeng:before{content:"\e603"}.icon-manglu:before{content:"\e65d"}.icon-shang:before{content:"\e60f"}.icon-xia:before{content:"\e64c"}.icon-kongxian:before{content:"\ed94"}#ysyt-body{
|
|
1
|
+
@font-face{font-family:ysyt;src:url(../fonts/iconfont.woff2?t=1750839875481) format("woff2"),url(../fonts/iconfont.woff?t=1750839875481) format("woff"),url(../fonts/iconfont.ttf?t=1750839875481) format("truetype")}.ysyt{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:ysyt,serif!important;font-size:18px;font-style:normal}.icon-shouji:before{content:"\e692"}.icon-20gl-phoneSip:before{content:"\e924"}.icon-dianhua:before{content:"\e842"}.icon-quxiao:before{content:"\e676"}.icon-jieting:before{content:"\e60a"}.icon-boda:before{content:"\e679"}.icon-kaishi:before{content:"\e800"}.icon-guaji:before{content:"\e732"}.icon-manyidu:before{content:"\e600"}.icon-zixun:before{content:"\e71f"}.icon-zanting:before{content:"\ea81"}.icon-zhuanjie1:before{content:"\e601"}.icon-microphone:before{content:"\e661"}.icon-guanbimaikefeng:before{content:"\e603"}.icon-manglu:before{content:"\e65d"}.icon-shang:before{content:"\e60f"}.icon-xia:before{content:"\e64c"}.icon-kongxian:before{content:"\ed94"}#ysyt-body{position:absolute;z-index:9999999}#ysyt-body,.ysyt-phone-body{align-items:center;display:flex}.ysyt-phone-body{border-radius:30px 10px 0 30px;height:30px;padding:5px 15px;user-select:none}.ysyt-phone-body .ysyt-title{color:#fff;cursor:pointer;font-size:14px;padding-right:10px;position:relative;width:100px}.ysyt-phone-body .select-icon{color:#fff;display:none;font-size:10px;left:calc(50% - 4px);position:absolute;top:100%;z-index:9999999}.ysyt-select{background:#fff;border-radius:4px;box-shadow:0 4px 8px rgba(0,0,0,.1);height:0;overflow:hidden;position:absolute;top:calc(100% + 8px);transition:height .1s ease-in;width:100%;z-index:9999999}.ysyt-select-body{position:relative}.ysyt-select-body>div{color:rgba(0,0,0,.6);padding:5px 4px;text-align:center}.ysyt-select-body>div:hover{background:#ecf5ff;color:#2b96ea}.ysyt-action-body{align-items:center;color:#3356ec;display:flex;font-size:25px;gap:0 10px;height:39px;padding:0 10px}.ysyt-action-body>*{cursor:pointer}.content-call-key{color:rgba(0,0,0,.6);font-size:16px;padding:10px;width:250px}.content-call-key>my-input::part(wrapper){--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);border:none;border-radius:30px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);height:25px;width:220px}.content-call-key>my-input::part(wrapper-input){text-align:center}#wifi-body>img{width:18px}.network-body{color:rgba(0,0,0,.7);font-size:12px;padding:5px 10px}.network-body>div{align-items:center;display:flex;margin-bottom:5px}.network-body>div>div{color:#000;width:50px}#ysyt-devices-body{align-items:center;display:flex;margin-right:15px;width:130px}.my-icon{font-size:22px}.agent-list-item{align-items:center;display:flex;justify-content:space-between;padding:10px}
|
|
@@ -128,7 +128,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
128
128
|
font-size: 12px;
|
|
129
129
|
border-radius: 4px;
|
|
130
130
|
white-space: nowrap;
|
|
131
|
-
z-index:
|
|
131
|
+
z-index: 9999999;
|
|
132
132
|
opacity: 0;
|
|
133
133
|
transform: scale(0.95);
|
|
134
134
|
transition:
|
|
@@ -180,7 +180,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
180
180
|
background: white;
|
|
181
181
|
border-radius: 4px;
|
|
182
182
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
183
|
-
z-index:
|
|
183
|
+
z-index: 9999999;
|
|
184
184
|
opacity: 0;
|
|
185
185
|
transform: translateY(0px);
|
|
186
186
|
transition:
|
|
@@ -349,7 +349,6 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
349
349
|
border-bottom: 1px solid #d9d9d9;
|
|
350
350
|
padding: 4px 12px;
|
|
351
351
|
cursor: pointer;
|
|
352
|
-
background-color: #fff;
|
|
353
352
|
user-select: none;
|
|
354
353
|
display: flex;
|
|
355
354
|
align-items: center;
|
|
@@ -371,7 +370,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
371
370
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
372
371
|
border-radius: 4px;
|
|
373
372
|
margin-top: 4px;
|
|
374
|
-
z-index:
|
|
373
|
+
z-index: 9999999;
|
|
375
374
|
opacity: 0;
|
|
376
375
|
transform: scaleY(0.95);
|
|
377
376
|
transform-origin: top;
|
|
@@ -483,7 +482,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
483
482
|
`}};jt([ti()],xi.prototype,"isDialerVisible",void 0),jt([ti()],xi.prototype,"inputValue",void 0),xi=jt([Zs("my-phone-dialer")],xi);let ki=class extends Js{constructor(){super(...arguments),this.visible=!1,this.showFooter=!0,this.width="520px",this.title=""}static{this.styles=Yt`
|
|
484
483
|
.mask {
|
|
485
484
|
position: fixed;
|
|
486
|
-
z-index:
|
|
485
|
+
z-index: 9999999;
|
|
487
486
|
top: 0;
|
|
488
487
|
left: 0;
|
|
489
488
|
right: 0;
|
|
@@ -128,7 +128,7 @@ const Xs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
128
128
|
font-size: 12px;
|
|
129
129
|
border-radius: 4px;
|
|
130
130
|
white-space: nowrap;
|
|
131
|
-
z-index:
|
|
131
|
+
z-index: 9999999;
|
|
132
132
|
opacity: 0;
|
|
133
133
|
transform: scale(0.95);
|
|
134
134
|
transition:
|
|
@@ -180,7 +180,7 @@ const Xs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
180
180
|
background: white;
|
|
181
181
|
border-radius: 4px;
|
|
182
182
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
183
|
-
z-index:
|
|
183
|
+
z-index: 9999999;
|
|
184
184
|
opacity: 0;
|
|
185
185
|
transform: translateY(0px);
|
|
186
186
|
transition:
|
|
@@ -349,7 +349,6 @@ const Xs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
349
349
|
border-bottom: 1px solid #d9d9d9;
|
|
350
350
|
padding: 4px 12px;
|
|
351
351
|
cursor: pointer;
|
|
352
|
-
background-color: #fff;
|
|
353
352
|
user-select: none;
|
|
354
353
|
display: flex;
|
|
355
354
|
align-items: center;
|
|
@@ -371,7 +370,7 @@ const Xs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
371
370
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
372
371
|
border-radius: 4px;
|
|
373
372
|
margin-top: 4px;
|
|
374
|
-
z-index:
|
|
373
|
+
z-index: 9999999;
|
|
375
374
|
opacity: 0;
|
|
376
375
|
transform: scaleY(0.95);
|
|
377
376
|
transform-origin: top;
|
|
@@ -483,7 +482,7 @@ const Xs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
483
482
|
`}};Bt([si()],ki.prototype,"isDialerVisible",void 0),Bt([si()],ki.prototype,"inputValue",void 0),ki=Bt([Xs("my-phone-dialer")],ki);let Ni=class extends zs{constructor(){super(...arguments),this.visible=!1,this.showFooter=!0,this.width="520px",this.title=""}static{this.styles=Jt`
|
|
484
483
|
.mask {
|
|
485
484
|
position: fixed;
|
|
486
|
-
z-index:
|
|
485
|
+
z-index: 9999999;
|
|
487
486
|
top: 0;
|
|
488
487
|
left: 0;
|
|
489
488
|
right: 0;
|
|
@@ -128,7 +128,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
128
128
|
font-size: 12px;
|
|
129
129
|
border-radius: 4px;
|
|
130
130
|
white-space: nowrap;
|
|
131
|
-
z-index:
|
|
131
|
+
z-index: 9999999;
|
|
132
132
|
opacity: 0;
|
|
133
133
|
transform: scale(0.95);
|
|
134
134
|
transition:
|
|
@@ -180,7 +180,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
180
180
|
background: white;
|
|
181
181
|
border-radius: 4px;
|
|
182
182
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
183
|
-
z-index:
|
|
183
|
+
z-index: 9999999;
|
|
184
184
|
opacity: 0;
|
|
185
185
|
transform: translateY(0px);
|
|
186
186
|
transition:
|
|
@@ -349,7 +349,6 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
349
349
|
border-bottom: 1px solid #d9d9d9;
|
|
350
350
|
padding: 4px 12px;
|
|
351
351
|
cursor: pointer;
|
|
352
|
-
background-color: #fff;
|
|
353
352
|
user-select: none;
|
|
354
353
|
display: flex;
|
|
355
354
|
align-items: center;
|
|
@@ -371,7 +370,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
371
370
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
372
371
|
border-radius: 4px;
|
|
373
372
|
margin-top: 4px;
|
|
374
|
-
z-index:
|
|
373
|
+
z-index: 9999999;
|
|
375
374
|
opacity: 0;
|
|
376
375
|
transform: scaleY(0.95);
|
|
377
376
|
transform-origin: top;
|
|
@@ -483,7 +482,7 @@ const Zs=e=>(t,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(e,t)}
|
|
|
483
482
|
`}};jt([ti()],xi.prototype,"isDialerVisible",void 0),jt([ti()],xi.prototype,"inputValue",void 0),xi=jt([Zs("my-phone-dialer")],xi);let ki=class extends Js{constructor(){super(...arguments),this.visible=!1,this.showFooter=!0,this.width="520px",this.title=""}static{this.styles=Yt`
|
|
484
483
|
.mask {
|
|
485
484
|
position: fixed;
|
|
486
|
-
z-index:
|
|
485
|
+
z-index: 9999999;
|
|
487
486
|
top: 0;
|
|
488
487
|
left: 0;
|
|
489
488
|
right: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ysyt-agent-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"main": "dist/ysyt-agent-sdk.cjs.js",
|
|
5
5
|
"module": "dist/ysyt-agent-sdk.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"import": "./dist/ysyt-agent-sdk.esm.js",
|
|
11
11
|
"types": "./dist/src/index.d.ts"
|
|
12
12
|
},
|
|
13
|
-
"./
|
|
13
|
+
"./css": {
|
|
14
|
+
"default": "./dist/css/ysyt-agent-sdk.css"
|
|
15
|
+
}
|
|
14
16
|
},
|
|
15
17
|
"files": [
|
|
16
18
|
"dist",
|