@whitesev/pops 2.0.10 → 2.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/dist/index.amd.js +1632 -1570
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +1632 -1570
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1632 -1570
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +1632 -1570
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +1632 -1570
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +1632 -1570
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/Pops.d.ts +50 -30
- package/dist/types/src/PopsAnimation.d.ts +14 -0
- package/dist/types/src/PopsCSS.d.ts +34 -0
- package/dist/types/src/PopsIcon.d.ts +25 -0
- package/dist/types/src/PopsLayer.d.ts +3 -0
- package/dist/types/src/components/panel/buttonType.d.ts +2 -2
- package/dist/types/src/components/rightClickMenu/index.d.ts +1 -2
- package/dist/types/src/components/rightClickMenu/indexType.d.ts +2 -2
- package/dist/types/src/types/button.d.ts +3 -3
- package/dist/types/src/types/icon.d.ts +1 -1
- package/dist/types/src/utils/PopsDOMUtils.d.ts +12 -0
- package/dist/types/src/utils/PopsInstanceUtils.d.ts +0 -6
- package/dist/types/src/utils/PopsUtils.d.ts +5 -6
- package/package.json +1 -1
- package/src/Pops.ts +12 -152
- package/src/PopsAnimation.ts +32 -0
- package/src/PopsCSS.ts +51 -0
- package/src/PopsIcon.ts +93 -0
- package/src/PopsLayer.ts +17 -0
- package/src/components/alert/index.ts +8 -8
- package/src/components/confirm/index.ts +8 -8
- package/src/components/drawer/index.ts +8 -8
- package/src/components/folder/index.ts +15 -15
- package/src/components/iframe/index.ts +9 -12
- package/src/components/loading/index.ts +5 -5
- package/src/components/panel/PanelHandleContentDetails.ts +28 -25
- package/src/components/panel/buttonType.ts +2 -2
- package/src/components/panel/config.ts +4 -0
- package/src/components/panel/index.css +33 -0
- package/src/components/panel/index.ts +9 -9
- package/src/components/prompt/index.ts +8 -8
- package/src/components/rightClickMenu/config.ts +7 -7
- package/src/components/rightClickMenu/index.ts +9 -10
- package/src/components/rightClickMenu/indexType.ts +2 -2
- package/src/components/searchSuggestion/index.ts +5 -5
- package/src/components/tooltip/index.ts +5 -5
- package/src/handler/PopsElementHandler.ts +17 -17
- package/src/handler/PopsHandler.ts +22 -19
- package/src/types/button.d.ts +3 -3
- package/src/types/icon.d.ts +1 -1
- package/src/utils/PopsDOMUtils.ts +34 -1
- package/src/utils/PopsInstanceUtils.ts +13 -31
- package/src/utils/PopsUtils.ts +7 -16
package/dist/index.amd.js
CHANGED
|
@@ -268,9 +268,9 @@ define((function () { 'use strict';
|
|
|
268
268
|
const worker = `(()=>{var e={455:function(e,t){!function(e){"use strict";var t=function(e){return function(t){var r=e(t);return t.add(r),r}},r=function(e){return function(t,r){return e.set(t,r),r}},n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,s=2*o,a=function(e,t){return function(r){var a=t.get(r),i=void 0===a?r.size:a<s?a+1:0;if(!r.has(i))return e(r,i);if(r.size<o){for(;r.has(i);)i=Math.floor(Math.random()*s);return e(r,i)}if(r.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}},i=new WeakMap,u=r(i),c=a(u,i),d=t(c);e.addUniqueNumber=d,e.generateUniqueNumber=c}(t)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}(()=>{"use strict";const e=-32603,t=-32602,n=-32601,o=(e,t)=>Object.assign(new Error(e),{status:t}),s=t=>o('The handler of the method called "'.concat(t,'" returned an unexpected result.'),e),a=(t,r)=>async({data:{id:a,method:i,params:u}})=>{const c=r[i];try{if(void 0===c)throw(e=>o('The requested method called "'.concat(e,'" is not supported.'),n))(i);const r=void 0===u?c():c(u);if(void 0===r)throw(t=>o('The handler of the method called "'.concat(t,'" returned no required result.'),e))(i);const d=r instanceof Promise?await r:r;if(null===a){if(void 0!==d.result)throw s(i)}else{if(void 0===d.result)throw s(i);const{result:e,transferables:r=[]}=d;t.postMessage({id:a,result:e},r)}}catch(e){const{message:r,status:n=-32603}=e;t.postMessage({error:{code:n,message:r},id:a})}};var i=r(455);const u=new Map,c=(e,r,n)=>({...r,connect:({port:t})=>{t.start();const n=e(t,r),o=(0,i.generateUniqueNumber)(u);return u.set(o,(()=>{n(),t.close(),u.delete(o)})),{result:o}},disconnect:({portId:e})=>{const r=u.get(e);if(void 0===r)throw(e=>o('The specified parameter called "portId" with the given value "'.concat(e,'" does not identify a port connected to this worker.'),t))(e);return r(),{result:null}},isSupported:async()=>{if(await new Promise((e=>{const t=new ArrayBuffer(0),{port1:r,port2:n}=new MessageChannel;r.onmessage=({data:t})=>e(null!==t),n.postMessage(t,[t])}))){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}}),d=(e,t,r=()=>!0)=>{const n=c(d,t,r),o=a(e,n);return e.addEventListener("message",o),()=>e.removeEventListener("message",o)},l=e=>t=>{const r=e.get(t);if(void 0===r)return Promise.resolve(!1);const[n,o]=r;return clearTimeout(n),e.delete(t),o(!1),Promise.resolve(!0)},f=(e,t,r)=>(n,o,s)=>{const{expected:a,remainingDelay:i}=e(n,o);return new Promise((e=>{t.set(s,[setTimeout(r,i,a,t,e,s),e])}))},m=(e,t)=>{const r=performance.now(),n=e+t-r-performance.timeOrigin;return{expected:r+n,remainingDelay:n}},p=(e,t,r,n)=>{const o=e-performance.now();o>0?t.set(n,[setTimeout(p,o,e,t,r,n),r]):(t.delete(n),r(!0))},h=new Map,v=l(h),w=new Map,g=l(w),M=f(m,h,p),y=f(m,w,p);d(self,{clear:async({timerId:e,timerType:t})=>({result:await("interval"===t?v(e):g(e))}),set:async({delay:e,now:t,timerId:r,timerType:n})=>({result:await("interval"===n?M:y)(e,t,r)})})})()})();`; // tslint:disable-line:max-line-length
|
|
269
269
|
|
|
270
270
|
const loadOrReturnBroker = createLoadOrReturnBroker(load, worker);
|
|
271
|
-
const clearInterval = (timerId) => loadOrReturnBroker().clearInterval(timerId);
|
|
271
|
+
const clearInterval$1 = (timerId) => loadOrReturnBroker().clearInterval(timerId);
|
|
272
272
|
const clearTimeout$1 = (timerId) => loadOrReturnBroker().clearTimeout(timerId);
|
|
273
|
-
const setInterval = (...args) => loadOrReturnBroker().setInterval(...args);
|
|
273
|
+
const setInterval$1 = (...args) => loadOrReturnBroker().setInterval(...args);
|
|
274
274
|
const setTimeout$1 = (...args) => loadOrReturnBroker().setTimeout(...args);
|
|
275
275
|
|
|
276
276
|
let t$1 = class t{constructor(){this.__map={};}beforeEach(t){this.__interceptor=t;}on(t,i){const s=Array.isArray(t)?t:[t];for(const t of s){this.__map[t]=this.__map[t]||[];const s=this.__map[t];s&&s.push(i);}return this}emit(t,i,s){ void 0!==this.__interceptor?this.__interceptor(t,(()=>{this.__emit(t,i),s&&s();})):(this.__emit(t,i),s&&s());}__emit(t,i){const s=this.__map[t];if(Array.isArray(s)&&(null==s?void 0:s.length))for(const _ of s)_(i,t);this.event=i;}off(t,i){const s=this.__map[t];if(void 0!==s)if(void 0===i)delete this.__map[t];else {const t=s.findIndex((t=>t===i));s.splice(t,1);}}destroy(){this.__map={};}};
|
|
@@ -424,21 +424,6 @@ define((function () { 'use strict';
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
/**
|
|
428
|
-
* 字符串转HTMLElement
|
|
429
|
-
* @param elementString
|
|
430
|
-
* @returns
|
|
431
|
-
*/
|
|
432
|
-
parseTextToDOM(elementString) {
|
|
433
|
-
/* 去除前后的换行和空格 */
|
|
434
|
-
elementString = elementString
|
|
435
|
-
.replace(/^[\n|\s]*/g, "")
|
|
436
|
-
.replace(/[\n|\s]*$/g, "");
|
|
437
|
-
let targetElement = popsDOMUtils.createElement("div", {
|
|
438
|
-
innerHTML: elementString,
|
|
439
|
-
});
|
|
440
|
-
return targetElement.firstChild;
|
|
441
|
-
}
|
|
442
427
|
contains(context, target) {
|
|
443
428
|
if (arguments.length === 1) {
|
|
444
429
|
// 只判断该页面是否存在该元素
|
|
@@ -542,6 +527,13 @@ define((function () { 'use strict';
|
|
|
542
527
|
AnyTouch = () => {
|
|
543
528
|
return i;
|
|
544
529
|
};
|
|
530
|
+
/**
|
|
531
|
+
* 通过navigator.userAgent判断是否是手机访问
|
|
532
|
+
* @param userAgent
|
|
533
|
+
*/
|
|
534
|
+
isPhone(userAgent = PopsCore.globalThis.navigator.userAgent) {
|
|
535
|
+
return Boolean(/(iPhone|iPad|iPod|iOS|Android)/i.test(userAgent));
|
|
536
|
+
}
|
|
545
537
|
/**
|
|
546
538
|
* 自动使用 Worker 执行 setTimeout
|
|
547
539
|
*/
|
|
@@ -573,7 +565,7 @@ define((function () { 'use strict';
|
|
|
573
565
|
*/
|
|
574
566
|
setInterval(callback, timeout = 0) {
|
|
575
567
|
try {
|
|
576
|
-
return setInterval(callback, timeout);
|
|
568
|
+
return setInterval$1(callback, timeout);
|
|
577
569
|
}
|
|
578
570
|
catch (error) {
|
|
579
571
|
return globalThis.setInterval(callback, timeout);
|
|
@@ -585,7 +577,7 @@ define((function () { 'use strict';
|
|
|
585
577
|
clearInterval(timeId) {
|
|
586
578
|
try {
|
|
587
579
|
if (timeId != null) {
|
|
588
|
-
clearInterval(timeId);
|
|
580
|
+
clearInterval$1(timeId);
|
|
589
581
|
}
|
|
590
582
|
}
|
|
591
583
|
catch (error) {
|
|
@@ -1594,6 +1586,21 @@ define((function () { 'use strict';
|
|
|
1594
1586
|
});
|
|
1595
1587
|
return tempElement;
|
|
1596
1588
|
}
|
|
1589
|
+
/**
|
|
1590
|
+
* 字符串转HTMLElement
|
|
1591
|
+
* @param elementString
|
|
1592
|
+
* @returns
|
|
1593
|
+
*/
|
|
1594
|
+
parseTextToDOM(elementString) {
|
|
1595
|
+
/* 去除前后的换行和空格 */
|
|
1596
|
+
elementString = elementString
|
|
1597
|
+
.replace(/^[\n|\s]*/g, "")
|
|
1598
|
+
.replace(/[\n|\s]*$/g, "");
|
|
1599
|
+
let targetElement = this.createElement("div", {
|
|
1600
|
+
innerHTML: elementString,
|
|
1601
|
+
});
|
|
1602
|
+
return targetElement.firstChild;
|
|
1603
|
+
}
|
|
1597
1604
|
/**
|
|
1598
1605
|
* 获取文字的位置信息
|
|
1599
1606
|
* @param input 输入框
|
|
@@ -1977,9 +1984,132 @@ define((function () { 'use strict';
|
|
|
1977
1984
|
element.parentElement.insertBefore(content, element.nextSibling);
|
|
1978
1985
|
}
|
|
1979
1986
|
}
|
|
1987
|
+
/**
|
|
1988
|
+
* 获取CSS Rule
|
|
1989
|
+
* @param sheet
|
|
1990
|
+
* @returns
|
|
1991
|
+
*/
|
|
1992
|
+
getKeyFrames(sheet) {
|
|
1993
|
+
let result = {};
|
|
1994
|
+
Object.keys(sheet.cssRules).forEach((key) => {
|
|
1995
|
+
if (sheet.cssRules[key].type === 7 &&
|
|
1996
|
+
sheet.cssRules[key].name.startsWith("pops-anim-")) {
|
|
1997
|
+
result[sheet.cssRules[key].name] = sheet.cssRules[key];
|
|
1998
|
+
}
|
|
1999
|
+
});
|
|
2000
|
+
return result;
|
|
2001
|
+
}
|
|
1980
2002
|
}
|
|
1981
2003
|
const popsDOMUtils = new PopsDOMUtils();
|
|
1982
2004
|
|
|
2005
|
+
const PopsLayer = {
|
|
2006
|
+
alert: [],
|
|
2007
|
+
confirm: [],
|
|
2008
|
+
prompt: [],
|
|
2009
|
+
loading: [],
|
|
2010
|
+
iframe: [],
|
|
2011
|
+
tooltip: [],
|
|
2012
|
+
drawer: [],
|
|
2013
|
+
folder: [],
|
|
2014
|
+
panel: [],
|
|
2015
|
+
rightClickMenu: [],
|
|
2016
|
+
};
|
|
2017
|
+
|
|
2018
|
+
var indexCSS = "@charset \"utf-8\";\r\n.pops * {\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\t-webkit-tap-highlight-color: transparent;\r\n\t/* 代替::-webkit-scrollbar */\r\n\tscrollbar-width: thin;\r\n}\r\n.pops {\r\n\t--pops-bg-opacity: 1;\r\n\t--pops-bd-opacity: 1;\r\n\t--pops-font-size: 16px;\r\n\tinterpolate-size: allow-keywords;\r\n}\r\n.pops-mask {\r\n\t--pops-mask-bg-opacity: 0.4;\r\n}\r\n.pops {\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tborder-radius: 4px;\r\n\tborder: 1px solid rgb(235, 238, 245, var(--pops-bd-opacity));\r\n\tfont-size: var(--pops-font-size);\r\n\tline-height: normal;\r\n\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.12);\r\n\tbox-sizing: border-box;\r\n\toverflow: hidden;\r\n\ttransition: all 0.35s;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n.pops-anim {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n.pops-anim[anim=\"\"] {\r\n\ttop: unset;\r\n\tright: unset;\r\n\tbottom: unset;\r\n\tleft: unset;\r\n\twidth: unset;\r\n\theight: unset;\r\n\ttransition: none;\r\n}\r\n/* 底部图标动画和样式 */\r\n.pops i.pops-bottom-icon[is-loading=\"true\"] {\r\n\tanimation: rotating 2s linear infinite;\r\n}\r\n.pops i.pops-bottom-icon {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n\tline-height: normal;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n}\r\n\r\n/* 遮罩层样式 */\r\n.pops-mask {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tborder: 0;\r\n\tborder-radius: 0;\r\n\tbackground-color: rgba(0, 0, 0, var(--pops-mask-bg-opacity));\r\n\tbox-shadow: none;\r\n\ttransition: none;\r\n}\r\n\r\n.pops-header-controls button.pops-header-control[type][data-header] {\r\n\tfloat: right;\r\n\tmargin: 0 0;\r\n\toutline: 0;\r\n\tborder: 0;\r\n\tborder-color: rgb(136, 136, 136, var(--pops-bd-opacity));\r\n\tbackground-color: transparent;\r\n\tcolor: #888;\r\n\tcursor: pointer;\r\n}\r\n.pops-header-controls button.pops-header-control[type=\"max\"],\r\n.pops-header-controls button.pops-header-control[type=\"mise\"],\r\n.pops-header-controls button.pops-header-control[type=\"min\"] {\r\n\toutline: 0 !important;\r\n\tborder: 0;\r\n\tborder-color: rgb(136, 136, 136, var(--pops-bd-opacity));\r\n\tbackground-color: transparent;\r\n\tcolor: rgb(136, 136, 136);\r\n\tcursor: pointer;\r\n\ttransition: all 0.3s ease-in-out;\r\n}\r\nbutton.pops-header-control i {\r\n\tcolor: rgb(144, 147, 153);\r\n\tfont-size: inherit;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n}\r\nbutton.pops-header-control svg {\r\n\theight: 1.25em;\r\n\twidth: 1.25em;\r\n}\r\nbutton.pops-header-control {\r\n\tright: 15px;\r\n\tpadding: 0;\r\n\tborder: none;\r\n\toutline: 0;\r\n\tbackground: 0 0;\r\n\tcursor: pointer;\r\n\tposition: unset;\r\n\tline-height: normal;\r\n}\r\nbutton.pops-header-control i:hover {\r\n\tcolor: rgb(64, 158, 255);\r\n}\r\n.pops-header-controls[data-margin] button.pops-header-control {\r\n\tmargin: 0 6px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops[type-value] .pops-header-controls {\r\n\tdisplay: flex;\r\n\tgap: 6px;\r\n}\r\n\r\n/* 标题禁止选中文字 */\r\n.pops [class^=\"pops\"][class*=\"-title\"] p[pops] {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n";
|
|
2019
|
+
|
|
2020
|
+
var ninePalaceGridPositionCSS = ".pops[position=\"top_left\"] {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n}\r\n.pops[position=\"top\"] {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 50%;\r\n\ttransform: translateX(-50%);\r\n}\r\n.pops[position=\"top_right\"] {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tright: 0;\r\n}\r\n.pops[position=\"center_left\"] {\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tleft: 0;\r\n\ttransform: translateY(-50%);\r\n}\r\n.pops[position=\"center\"] {\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, -50%);\r\n}\r\n.pops[position=\"center_right\"] {\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tright: 0;\r\n\ttransform: translateY(-50%);\r\n}\r\n.pops[position=\"bottom_left\"] {\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n}\r\n.pops[position=\"bottom\"] {\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, 0);\r\n}\r\n.pops[position=\"bottom_right\"] {\r\n\tposition: fixed;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n";
|
|
2021
|
+
|
|
2022
|
+
var scrollbarCSS = "/* firefox上暂不支持::-webkit-scrollbar */\r\n.pops ::-webkit-scrollbar {\r\n\twidth: 6px;\r\n\theight: 0;\r\n}\r\n\r\n.pops ::-webkit-scrollbar-track {\r\n\twidth: 0;\r\n}\r\n.pops ::-webkit-scrollbar-thumb:hover {\r\n\tbackground: rgb(178, 178, 178, var(--pops-bg-opacity));\r\n}\r\n.pops ::-webkit-scrollbar-thumb {\r\n\tmin-height: 28px;\r\n\tborder-radius: 2em;\r\n\tbackground: rgb(204, 204, 204, var(--pops-bg-opacity));\r\n\tbackground-clip: padding-box;\r\n}\r\n";
|
|
2023
|
+
|
|
2024
|
+
var buttonCSS = ".pops {\r\n\t--button-font-size: 14px;\r\n\t--button-height: 32px;\r\n\t--button-color: rgb(51, 51, 51);\r\n\t--button-bd-color: rgb(220, 223, 230, var(--pops-bd-opacity));\r\n\t--button-bg-color: rgb(220, 223, 230, var(--pops-bg-opacity));\r\n\t--button-margin-top: 0px;\r\n\t--button-margin-bottom: 0px;\r\n\t--button-margin-left: 5px;\r\n\t--button-margin-right: 5px;\r\n\t--button-padding-top: 6px;\r\n\t--button-padding-bottom: 6px;\r\n\t--button-padding-left: 12px;\r\n\t--button-padding-right: 12px;\r\n\t--button-radius: 4px;\r\n\r\n\t--container-title-height: 55px;\r\n\t--container-bottom-btn-height: 55px;\r\n}\r\n.pops[data-bottom-btn=\"false\"] {\r\n\t--container-bottom-btn-height: 0px;\r\n}\r\n.pops button {\r\n\twhite-space: nowrap;\r\n\tfloat: right;\r\n\tdisplay: inline-block;\r\n\tmargin: var(--button-margin-top) var(--button-margin-right)\r\n\t\tvar(--button-margin-bottom) var(--button-margin-left);\r\n\tpadding: var(--button-padding-top) var(--button-padding-right)\r\n\t\tvar(--button-padding-bottom) var(--button-padding-left);\r\n\toutline: 0;\r\n}\r\n.pops button[data-has-icon=\"false\"] .pops-bottom-icon {\r\n\tdisplay: none;\r\n}\r\n.pops button {\r\n\tborder-radius: var(--button-radius);\r\n\tbox-shadow: none;\r\n\tfont-weight: 400;\r\n\tfont-size: var(--button-font-size);\r\n\tcursor: pointer;\r\n\ttransition: all 0.3s ease-in-out;\r\n}\r\n.pops button {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\theight: var(--button-height);\r\n\tline-height: normal;\r\n\tbox-sizing: border-box;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tborder: 1px solid var(--button-bd-color);\r\n}\r\n.pops button {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button:active {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n\toutline: 0;\r\n}\r\n.pops button:hover {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button:focus-visible {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button:disabled {\r\n\tcursor: not-allowed;\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button.pops-button-large {\r\n\t--button-height: 32px;\r\n\t--button-padding-top: 12px;\r\n\t--button-padding-bottom: 12px;\r\n\t--button-padding-left: 19px;\r\n\t--button-padding-right: 19px;\r\n\t--button-font-size: 14px;\r\n\t--button-border-radius: 4px;\r\n}\r\n\r\n.pops button.pops-button-small {\r\n\t--button-height: 24px;\r\n\t--button-padding-top: 5px;\r\n\t--button-padding-bottom: 5px;\r\n\t--button-padding-left: 11px;\r\n\t--button-padding-right: 11px;\r\n\t--button-font-size: 12px;\r\n\t--button-border-radius: 4px;\r\n}\r\n.pops-panel-button-no-icon .pops-panel-button_inner i {\r\n\tdisplay: none;\r\n}\r\n.pops-panel-button-right-icon {\r\n}\r\n.pops-panel-button-right-icon .pops-panel-button_inner {\r\n\tflex-direction: row-reverse;\r\n}\r\n.pops-panel-button-right-icon .pops-panel-button_inner i {\r\n}\r\n.pops-panel-button .pops-panel-button_inner i:has(svg),\r\n.pops-panel-button-right-icon .pops-panel-button-text {\r\n\tmargin-right: 6px;\r\n}\r\n\r\n.pops button[type=\"default\"] {\r\n\t--button-color: #333333;\r\n\t--button-bd-color: #dcdfe6;\r\n\t--button-bg-color: #ffffff;\r\n}\r\n.pops button[type=\"default\"]:active {\r\n\t--button-color: #409eff;\r\n\t--button-bd-color: #409eff;\r\n\t--button-bg-color: #ecf5ff;\r\n}\r\n.pops button[type=\"default\"]:hover {\r\n\t--button-color: #409eff;\r\n\t--button-bd-color: #c6e2ff;\r\n\t--button-bg-color: #ecf5ff;\r\n}\r\n.pops button[type=\"default\"]:focus-visible {\r\n\toutline: 2px solid #a0cfff;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"default\"]:disabled {\r\n\t--button-color: #a8abb2;\r\n\t--button-bd-color: #fff;\r\n\t--button-bg-color: #e4e7ed;\r\n}\r\n\r\n.pops button[type=\"primary\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #409eff;\r\n\t--button-bg-color: #409eff;\r\n}\r\n.pops button[type=\"primary\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #337ecc;\r\n\t--button-bg-color: #337ecc;\r\n}\r\n.pops button[type=\"primary\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #79bbff;\r\n\t--button-bg-color: #79bbff;\r\n}\r\n.pops button[type=\"primary\"]:focus-visible {\r\n\toutline: 2px solid #a0cfff;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"primary\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #a0cfff;\r\n\t--button-bg-color: #a0cfff;\r\n}\r\n\r\n.pops button[type=\"success\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #4cae4c;\r\n\t--button-bg-color: #5cb85c;\r\n}\r\n.pops button[type=\"success\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #529b2e;\r\n\t--button-bg-color: #529b2e;\r\n}\r\n.pops button[type=\"success\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #95d475;\r\n\t--button-bg-color: #95d475;\r\n}\r\n.pops button[type=\"success\"]:focus-visible {\r\n\toutline: 2px solid #b3e19d;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"success\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #b3e19d;\r\n\t--button-bg-color: #b3e19d;\r\n}\r\n\r\n.pops button[type=\"info\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #909399;\r\n\t--button-bg-color: #909399;\r\n}\r\n.pops button[type=\"info\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #73767a;\r\n\t--button-bg-color: #73767a;\r\n}\r\n.pops button[type=\"info\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #b1b3b8;\r\n\t--button-bg-color: #b1b3b8;\r\n}\r\n.pops button[type=\"info\"]:focus-visible {\r\n\toutline: 2px solid #c8c9cc;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"info\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #c8c9cc;\r\n\t--button-bg-color: #c8c9cc;\r\n}\r\n\r\n.pops button[type=\"warning\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #e6a23c;\r\n\t--button-bg-color: #e6a23c;\r\n}\r\n.pops button[type=\"warning\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #b88230;\r\n\t--button-bg-color: #b88230;\r\n}\r\n.pops button[type=\"warning\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #eebe77;\r\n\t--button-bg-color: #eebe77;\r\n}\r\n.pops button[type=\"warning\"]:focus-visible {\r\n\toutline: 2px solid #f3d19e;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"warning\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #f3d19e;\r\n\t--button-bg-color: #f3d19e;\r\n}\r\n\r\n.pops button[type=\"danger\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #f56c6c;\r\n\t--button-bg-color: #f56c6c;\r\n}\r\n.pops button[type=\"danger\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #c45656;\r\n\t--button-bg-color: #c45656;\r\n}\r\n.pops button[type=\"danger\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #f89898;\r\n\t--button-bg-color: #f89898;\r\n}\r\n.pops button[type=\"danger\"]:focus-visible {\r\n\toutline: 2px solid #fab6b6;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"danger\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #fab6b6;\r\n\t--button-bg-color: #fab6b6;\r\n}\r\n\r\n.pops button[type=\"xiaomi-primary\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #ff5c00;\r\n\t--button-bg-color: #ff5c00;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #da4f00;\r\n\t--button-bg-color: #da4f00;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #ff7e29;\r\n\t--button-bg-color: #ff7e29;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:focus-visible {\r\n\toutline: 2px solid #fab6b6;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #fad5b6;\r\n\t--button-bg-color: #fad5b6;\r\n}\r\n";
|
|
2025
|
+
|
|
2026
|
+
var commonCSS = ".pops-flex-items-center {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-flex-y-center {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n}\r\n.pops-flex-x-center {\r\n\tdisplay: flex;\r\n\talign-content: center;\r\n}\r\n.pops-hide {\r\n\tdisplay: none;\r\n}\r\n.pops-hide-important {\r\n\tdisplay: none !important;\r\n}\r\n.pops-no-border {\r\n\tborder: 0;\r\n}\r\n.pops-no-border-important {\r\n\tborder: 0 !important;\r\n}\r\n.pops-user-select-none {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\t-moz-user-select: none;\r\n}\r\n.pops-line-height-center {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops-width-fill {\r\n\twidth: -webkit-fill-available;\r\n\twidth: -moz-available;\r\n}\r\n";
|
|
2027
|
+
|
|
2028
|
+
var animCSS = "@keyframes rotating {\r\n\t0% {\r\n\t\ttransform: rotate(0);\r\n\t}\r\n\tto {\r\n\t\ttransform: rotate(360deg);\r\n\t}\r\n}\r\n@keyframes iframeLoadingChange_85 {\r\n\t0% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #fff, rgb(202 224 246));\r\n\t}\r\n\t20% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ead0d0, rgb(123 185 246));\r\n\t}\r\n\t40% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #f4b7b7, rgb(112 178 244));\r\n\t}\r\n\t60% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ec9393, rgb(80 163 246));\r\n\t}\r\n\t80% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #e87f7f, rgb(25 139 253));\r\n\t}\r\n\t100% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ee2c2c, rgb(0 124 247));\r\n\t}\r\n\tfrom {\r\n\t\twidth: 75%;\r\n\t}\r\n\tto {\r\n\t\twidth: 100%;\r\n\t}\r\n}\r\n@keyframes iframeLoadingChange {\r\n\t0% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #fff, rgb(202 224 246));\r\n\t}\r\n\t20% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ead0d0, rgb(123 185 246));\r\n\t}\r\n\t40% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #f4b7b7, rgb(112 178 244));\r\n\t}\r\n\t60% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ec9393, rgb(80 163 246));\r\n\t}\r\n\t80% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #e87f7f, rgb(25 139 253));\r\n\t}\r\n\t100% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ee2c2c, rgb(0 124 247));\r\n\t}\r\n\tfrom {\r\n\t\twidth: 0;\r\n\t}\r\n\tto {\r\n\t\twidth: 75%;\r\n\t}\r\n}\r\n\r\n@keyframes searchSelectFalIn {\r\n\tfrom {\r\n\t\topacity: 0;\r\n\t\tdisplay:none;\r\n\t}\r\n\tto {\r\n\t\tdisplay:block;\r\n\t\topacity: 1;\r\n\t}\r\n}\r\n@keyframes searchSelectFalOut {\r\n\tfrom {\r\n\t\tdisplay:block;\r\n\t\topacity: 1;\r\n\t}\r\n\tto {\r\n\t\topacity: 0;\r\n\t\tdisplay:none;\r\n\t}\r\n}\r\n\r\n@keyframes pops-anim-wait-rotate {\r\n\tform {\r\n\t\ttransform: rotate(0);\r\n\t}\r\n\tto {\r\n\t\ttransform: rotate(360deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-spread {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scaleX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scaleX(1);\r\n\t}\r\n}\r\n@keyframes pops-anim-shake {\r\n\t0%,\r\n\t100% {\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t10%,\r\n\t30%,\r\n\t50%,\r\n\t70%,\r\n\t90% {\r\n\t\ttransform: translateX(-10px);\r\n\t}\r\n\t20%,\r\n\t40%,\r\n\t60%,\r\n\t80% {\r\n\t\ttransform: translateX(10px);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-left {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-100%) rotate(-120deg);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-right {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(100%) rotate(120deg);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-top {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-bottom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-left {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-right {\r\n\t0% {\r\n\t\ttransform: translateX(200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-zoom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale(1);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-alert {\r\n\t0% {\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n\t45% {\r\n\t\ttransform: scale(1.05);\r\n\t}\r\n\t80% {\r\n\t\ttransform: scale(0.95);\r\n\t}\r\n\t100% {\r\n\t\ttransform: scale(1);\r\n\t}\r\n}\r\n@keyframes pops-anim-don {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t2.08333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.75266,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.76342,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t4.16667% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.81071,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.84545,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t6.25% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.86808,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.9286,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t8.33333% {\r\n\t\ttransform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t10.4167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.96482,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.05202,\r\n\t\t\t0,\r\n\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.75% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99983,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99991,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t95.8333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99982,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99985,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t97.9167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99983,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99984,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-roll {\r\n\t0% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 90deg);\r\n\t}\r\n\t100% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 0deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-sandra {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale3d(1.1, 1.1, 1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale3d(1, 1, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-gather {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(5, 0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale(1, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-spread-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: scaleX(1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scaleX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-shake-reverse {\r\n\t0%,\r\n\t100% {\r\n\t\ttransform: translateX(10px);\r\n\t}\r\n\t10%,\r\n\t30%,\r\n\t50%,\r\n\t70%,\r\n\t90% {\r\n\t\ttransform: translateX(-10px);\r\n\t}\r\n\t20%,\r\n\t40%,\r\n\t60%,\r\n\t80% {\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-left-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-100%) rotate(-120deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-right-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(100%) rotate(120deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-top-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-bottom-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-left-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-right-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\ttransform: translateX(200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-zoom-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale(1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-alert-reverse {\r\n\t0% {\r\n\t\ttransform: scale(1);\r\n\t}\r\n\t45% {\r\n\t\ttransform: scale(0.95);\r\n\t}\r\n\t80% {\r\n\t\ttransform: scale(1.05);\r\n\t}\r\n\t100% {\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n}\r\n@keyframes pops-anim-don-reverse {\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t97.9167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.75266,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.76342,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t95.8333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.81071,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.84545,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t93.75% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.86808,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.9286,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t91.6667% {\r\n\t\ttransform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t89.5833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.96482,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.05202,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t87.5% {\r\n\t\ttransform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t85.4167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t1.02563,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.09149,\r\n\t\t\t0,\r\n\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n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t64.5833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t1.00526,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.98122,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t62.5% {\r\n\t\ttransform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t60.4167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99617,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99433,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t58.3333% {\r\n\t\ttransform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t56.25% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99237,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00413,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t54.1667% {\r\n\t\ttransform: matrix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0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t14.5833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t1.00012,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00042,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t12.5% {\r\n\t\ttransform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t10.4167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99991,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00013,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t8.33333% {\r\n\t\ttransform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t6.25% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99983,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99991,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t4.16667% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99982,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99985,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t2.08333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99983,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99984,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: matrix3d(\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0type=close,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n}\r\n@keyframes pops-anim-roll-reverse {\r\n\t0% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 0deg);\r\n\t}\r\n\t100% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 90deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-sandra-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale3d(1, 1, 1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale3d(1.1, 1.1, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-gather-reverse {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(5, 0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(5, 0);\r\n\t}\r\n}\r\n\r\n@-webkit-keyframes pops-motion-fadeInTop {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(-30px);\r\n\t\ttransform: translateY(-30px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInTop {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-30px);\r\n\t\t-ms-transform: translateY(-30px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutTop {\r\n\t0% {\r\n\t\topacity: 10;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(-30px);\r\n\t\ttransform: translateY(-30px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutTop {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t\t-ms-transform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-30px);\r\n\t\t-ms-transform: translateY(-30px);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeInBottom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInBottom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t\t-ms-transform: translateY(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t\t-ms-transform: translateY(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutBottom {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutBottom {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t\t-ms-transform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t\t-ms-transform: translateY(20px);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeInLeft {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-20px);\r\n\t\ttransform: translateX(-20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInLeft {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-30px);\r\n\t\ttransform: translateX(-30px);\r\n\t\t-ms-transform: translateX(-30px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutLeft {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-30px);\r\n\t\ttransform: translateX(-30px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutLeft {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-20px);\r\n\t\ttransform: translateX(-20px);\r\n\t\t-ms-transform: translateX(-20px);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeInRight {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInRight {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t\t-ms-transform: translateX(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutRight {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutRight {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t\t-ms-transform: translateX(20px);\r\n\t}\r\n}\r\n\r\n/* 动画 */\r\n.pops-anim[anim=\"pops-anim-spread\"] {\r\n\tanimation: pops-anim-spread 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-shake\"] {\r\n\tanimation: pops-anim-shake 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-left\"] {\r\n\tanimation: pops-anim-rolling-left 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-right\"] {\r\n\tanimation: pops-anim-rolling-right 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-top\"] {\r\n\tanimation: pops-anim-slide-top 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-bottom\"] {\r\n\tanimation: pops-anim-slide-bottom 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-left\"] {\r\n\tanimation: pops-anim-slide-left 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-right\"] {\r\n\tanimation: pops-anim-slide-right 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein\"] {\r\n\tanimation: pops-anim-fadein 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-zoom\"] {\r\n\tanimation: pops-anim-fadein-zoom 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-alert\"] {\r\n\tanimation: pops-anim-fadein-alert 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-don\"] {\r\n\tanimation: pops-anim-don 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-roll\"] {\r\n\tanimation: pops-anim-roll 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-sandra\"] {\r\n\tanimation: pops-anim-sandra 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-gather\"] {\r\n\tanimation: pops-anim-gather 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-spread-reverse\"] {\r\n\tanimation: pops-anim-spread-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-shake-reverse\"] {\r\n\tanimation: pops-anim-shake-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-left-reverse\"] {\r\n\tanimation: pops-anim-rolling-left-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-right-reverse\"] {\r\n\tanimation: pops-anim-rolling-right-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-top-reverse\"] {\r\n\tanimation: pops-anim-slide-top-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-bottom-reverse\"] {\r\n\tanimation: pops-anim-slide-bottom-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-left-reverse\"] {\r\n\tanimation: pops-anim-slide-left-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-right-reverse\"] {\r\n\tanimation: pops-anim-slide-right-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-reverse\"] {\r\n\tanimation: pops-anim-fadein-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-zoom-reverse\"] {\r\n\tanimation: pops-anim-fadein-zoom-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-alert-reverse\"] {\r\n\tanimation: pops-anim-fadein-alert-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-don-reverse\"] {\r\n\tanimation: pops-anim-don-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-roll-reverse\"] {\r\n\tanimation: pops-anim-roll-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-sandra-reverse\"] {\r\n\tanimation: pops-anim-sandra-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-gather-reverse\"] {\r\n\tanimation: pops-anim-gather-reverse 0.3s;\r\n}\r\n";
|
|
2029
|
+
|
|
2030
|
+
var alertCSS = ".pops[type-value] .pops-alert-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-btn {\r\n\t/*position: absolute;\r\n\tbottom: 0;*/\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n";
|
|
2031
|
+
|
|
2032
|
+
var confirmCSS = ".pops[type-value] .pops-confirm-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-btn {\r\n\t/*position: absolute;\r\n\tbottom: 0;*/\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n";
|
|
2033
|
+
|
|
2034
|
+
var promptCSS = ".pops[type-value] .pops-prompt-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-btn {\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n.pops[type-value=\"prompt\"] input[pops] {\r\n\tpadding: 5px 10px;\r\n}\r\n.pops[type-value=\"prompt\"] textarea[pops] {\r\n\tpadding: 5px 10px;\r\n\tresize: none;\r\n}\r\n.pops[type-value=\"prompt\"] input[pops],\r\n.pops[type-value=\"prompt\"] textarea[pops] {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\toutline: 0;\r\n\tborder: 0;\r\n\tcolor: rgb(51, 51, 51);\r\n}\r\n";
|
|
2035
|
+
|
|
2036
|
+
var loadingCSS = ".pops[type-value=\"loading\"] {\r\n\tposition: absolute;\r\n\ttop: 272.5px;\r\n\ttop: 50%;\r\n\tleft: 26px;\r\n\tleft: 50%;\r\n\tdisplay: flex;\r\n\toverflow: hidden;\r\n\tpadding: 10px 15px;\r\n\tmax-width: 100%;\r\n\tmax-height: 100%;\r\n\tmin-width: 0;\r\n\tmin-height: 0;\r\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\r\n\tborder-radius: 5px;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: 0 0 5px rgb(0 0 0 / 50%);\r\n\tvertical-align: middle;\r\n\ttransition: all 0.35s;\r\n\ttransform: translate(-50%, -50%);\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"loading\"]:before {\r\n\tfloat: left;\r\n\tdisplay: inline-block;\r\n\twidth: 2em;\r\n\theight: 2em;\r\n\tborder: 0.3em solid rgba(100, 149, 237, 0.1);\r\n\tborder-top: 0.3em solid rgb(100, 149, 237, var(--pops-bd-opacity));\r\n\tborder-radius: 50%;\r\n\tcontent: \" \";\r\n\tvertical-align: middle;\r\n\tfont-size: inherit;\r\n\tanimation: pops-anim-wait-rotate 1.2s linear infinite;\r\n}\r\n.pops[type-value=\"loading\"] .pops-loading-content {\r\n\tposition: static;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tfloat: left;\r\n\toverflow: hidden;\r\n\twidth: auto;\r\n\tfont-size: inherit;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"loading\"] .pops-loading-content p[pops] {\r\n\tdisplay: inline-block;\r\n\tpadding: 5px 0px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\tfont-size: inherit;\r\n\ttext-align: center;\r\n}\r\n";
|
|
2037
|
+
|
|
2038
|
+
var iframeCSS = ".pops[type-value=\"iframe\"] {\r\n\t--container-title-height: 55px;\r\n\ttransition: width 0.35s ease, height 0.35s ease;\r\n}\r\n.pops[type-value] .pops-iframe-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-title {\r\n\twidth: calc(100% - 0px);\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-content {\r\n\twidth: 100%;\r\n\t/*height: calc(100% - var(--container-title-height));*/\r\n\tflex: 1;\r\n\toverflow: hidden;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: #333;\r\n\ttext-indent: 15px;\r\n}\r\n.pops-loading {\r\n\tposition: absolute;\r\n\ttop: 40px;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tz-index: 5;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n}\r\n.pops-loading:before {\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\tz-index: 3;\r\n\tdisplay: block;\r\n\tmargin: -20px 0 0 -20px;\r\n\tpadding: 20px;\r\n\tborder: 4px solid rgb(221, 221, 221, var(--pops-bd-opacity));\r\n\tborder-radius: 50%;\r\n\tcontent: \"\";\r\n\tborder-top-color: transparent;\r\n\tanimation: pops-anim-wait-rotate 1.2s linear infinite;\r\n}\r\n.pops[type-value=\"iframe\"].pops[type-module=\"min\"] {\r\n\tbottom: 0;\r\n\tmax-width: 200px;\r\n\tmax-height: 53px;\r\n\tposition: unset;\r\n}\r\n.pops[type-value=\"iframe\"].pops[type-module=\"min\"]\r\n\t.pops-header-control[type=\"min\"] {\r\n\tdisplay: none;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-top {\r\n\ttop: unset !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-left {\r\n\tleft: unset !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-transform {\r\n\ttransform: none !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-transition {\r\n\ttransition: none !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops[type-module=\"max\"] {\r\n\twidth: 100% !important;\r\n\theight: 100% !important;\r\n}\r\n.pops[type-value=\"iframe\"] iframe[pops] {\r\n\twidth: calc(100% - 4px);\r\n\theight: calc(100% - 4px);\r\n\tborder: 0;\r\n}\r\n.pops-iframe-content-global-loading {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 999999;\r\n\twidth: 0;\r\n\theight: 4px;\r\n\tbackground: linear-gradient(to right, #4995dd, #fff, rgb(202 224 246));\r\n\tanimation: iframeLoadingChange 2s forwards;\r\n}\r\n\r\n.pops-anim:has(.pops[type-value=\"iframe\"].pops[type-module=\"min\"]) {\r\n\tposition: unset;\r\n}\r\n";
|
|
2039
|
+
|
|
2040
|
+
var tooltipCSS = ".pops-tip {\r\n\t--tooltip-color: #4e4e4e;\r\n\t--tooltip-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\t--tooltip-bd-radius: 2px;\r\n\t--tooltip-font-size: 14px;\r\n\t--tooltip-padding-top: 13px;\r\n\t--tooltip-padding-right: 13px;\r\n\t--tooltip-padding-bottom: 13px;\r\n\t--tooltip-padding-left: 13px;\r\n\r\n\t--tooltip-arrow--after-color: rgb(78, 78, 78);\r\n\t--tooltip-arrow--after-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\t--tooltip-arrow--after-width: 12px;\r\n\t--tooltip-arrow--after-height: 12px;\r\n\r\n\tpadding: var(--tooltip-padding-top) var(--tooltip-padding-right)\r\n\t\tvar(--tooltip-padding-bottom) var(--tooltip-padding-left);\r\n\tmax-width: 400px;\r\n\tmax-height: 300px;\r\n\tborder-radius: var(--tooltip-bd-radius);\r\n\tbackground-color: var(--tooltip-bg-color);\r\n\tbox-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);\r\n\tcolor: var(--tooltip-color);\r\n\tfont-size: var(--tooltip-font-size);\r\n}\r\n.pops-tip[data-position=\"absolute\"] {\r\n\tposition: absolute;\r\n}\r\n.pops-tip[data-position=\"fixed\"] {\r\n\tposition: fixed;\r\n}\r\n/* github的样式 */\r\n.pops-tip.github-tooltip {\r\n\t--tooltip-bg-opacity: 1;\r\n\t--tooltip-color: rgb(255, 255, 255);\r\n\t--tooltip-bg-color: rgb(36, 41, 47, var(--tooltip-bg-opacity));\r\n\t--tooltip-bd-radius: 6px;\r\n\t--tooltip-padding-top: 6px;\r\n\t--tooltip-padding-right: 8px;\r\n\t--tooltip-padding-bottom: 6px;\r\n\t--tooltip-padding-left: 8px;\r\n\r\n\t--tooltip-arrow--after-color: rgb(255, 255, 255);\r\n\t--tooltip-arrow--after-bg-color: rgb(36, 41, 47, var(--tooltip-bg-opacity));\r\n\t--tooltip-arrow--after-width: 8px;\r\n\t--tooltip-arrow--after-height: 8px;\r\n}\r\n.pops-tip .pops-tip-arrow {\r\n\tposition: absolute;\r\n\ttop: 100%;\r\n\tleft: 50%;\r\n\toverflow: hidden;\r\n\twidth: 100%;\r\n\theight: 12.5px;\r\n\ttransform: translateX(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow::after {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 50%;\r\n\twidth: var(--tooltip-arrow--after-width);\r\n\theight: var(--tooltip-arrow--after-height);\r\n\tbackground: var(--tooltip-arrow--after-bg-color);\r\n\tcolor: var(--tooltip-arrow--after-color);\r\n\tbox-shadow: 0 1px 7px rgba(0, 0, 0, 0.24), 0 1px 7px rgba(0, 0, 0, 0.12);\r\n\tcontent: \"\";\r\n\ttransform: translateX(-50%) translateY(-50%) rotate(45deg);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"bottom\"] {\r\n\tposition: absolute;\r\n\ttop: 100%;\r\n\tleft: 50%;\r\n\toverflow: hidden;\r\n\twidth: 100%;\r\n\theight: 12.5px;\r\n\ttransform: translateX(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"bottom\"]:after {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 50%;\r\n\twidth: var(--tooltip-arrow--after-width);\r\n\theight: var(--tooltip-arrow--after-height);\r\n\tbackground: var(--tooltip-arrow--after-bg-color);\r\n\tbox-shadow: 0 1px 7px rgba(0, 0, 0, 0.24), 0 1px 7px rgba(0, 0, 0, 0.12);\r\n\tcontent: \"\";\r\n\ttransform: translateX(-50%) translateY(-50%) rotate(45deg);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"left\"] {\r\n\ttop: 50%;\r\n\tleft: -12.5px;\r\n\twidth: 12.5px;\r\n\theight: 50px;\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"left\"]:after {\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 100%;\r\n\tcontent: \"\";\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"right\"] {\r\n\ttop: 50%;\r\n\tright: -12.5px;\r\n\tleft: auto;\r\n\twidth: 12.5px;\r\n\theight: 50px;\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"right\"]:after {\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 0;\r\n\tcontent: \"\";\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"top\"] {\r\n\ttop: -12.5px;\r\n\tleft: 50%;\r\n\ttransform: translateX(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"top\"]:after {\r\n\tposition: absolute;\r\n\ttop: 100%;\r\n\tleft: 50%;\r\n\tcontent: \"\";\r\n}\r\n\r\n.pops-tip[data-motion] {\r\n\t-webkit-animation-duration: 0.25s;\r\n\tanimation-duration: 0.25s;\r\n\t-webkit-animation-fill-mode: forwards;\r\n\tanimation-fill-mode: forwards;\r\n}\r\n.pops-tip[data-motion=\"fadeOutRight\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutRight;\r\n\tanimation-name: pops-motion-fadeOutRight;\r\n}\r\n.pops-tip[data-motion=\"fadeInTop\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInTop;\r\n\tanimation-name: pops-motion-fadeInTop;\r\n\tanimation-timing-function: cubic-bezier(0.49, 0.49, 0.13, 1.3);\r\n}\r\n.pops-tip[data-motion=\"fadeOutTop\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutTop;\r\n\tanimation-name: pops-motion-fadeOutTop;\r\n\tanimation-timing-function: cubic-bezier(0.32, 0.37, 0.06, 0.87);\r\n}\r\n.pops-tip[data-motion=\"fadeInBottom\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInBottom;\r\n\tanimation-name: pops-motion-fadeInBottom;\r\n}\r\n.pops-tip[data-motion=\"fadeOutBottom\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutBottom;\r\n\tanimation-name: pops-motion-fadeOutBottom;\r\n}\r\n.pops-tip[data-motion=\"fadeInLeft\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInLeft;\r\n\tanimation-name: pops-motion-fadeInLeft;\r\n}\r\n.pops-tip[data-motion=\"fadeOutLeft\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutLeft;\r\n\tanimation-name: pops-motion-fadeOutLeft;\r\n}\r\n.pops-tip[data-motion=\"fadeInRight\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInRight;\r\n\tanimation-name: pops-motion-fadeInRight;\r\n}\r\n";
|
|
2041
|
+
|
|
2042
|
+
var drawerCSS = ".pops[type-value=\"drawer\"] {\r\n\tposition: fixed;\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbox-shadow: 0px 16px 48px 16px rgba(0, 0, 0, 0.08),\r\n\t\t0px 12px 32px rgba(0, 0, 0, 0.12), 0px 8px 16px -8px rgba(0, 0, 0, 0.16);\r\n\toverflow: hidden;\r\n\ttransition: all 0.3s;\r\n}\r\n.pops[type-value] .pops-drawer-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value] .pops-drawer-title p[pops] {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n\r\n.pops-drawer-content {\r\n\tflex: 1;\r\n\toverflow: auto;\r\n}\r\n.pops[type-value=\"drawer\"] .pops-drawer-btn {\r\n\tpadding-top: 10px;\r\n\tpadding-bottom: 10px;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"top\"] {\r\n\twidth: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\ttop: 0;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"bottom\"] {\r\n\twidth: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"left\"] {\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"right\"] {\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tright: 0;\r\n}\r\n";
|
|
2043
|
+
|
|
2044
|
+
var folderCSS = ".pops[type-value] .pops-folder-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-btn {\r\n\t/*position: absolute;\r\n\tbottom: 0;*/\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n.pops-folder-list .cursor-p {\r\n\tcursor: pointer;\r\n}\r\n.pops-folder-list a {\r\n\tbackground: 0 0;\r\n\ttext-decoration: none;\r\n\t-webkit-tap-highlight-color: transparent;\r\n\tcolor: #05082c;\r\n}\r\ntable.pops-folder-list-table__body,\r\ntable.pops-folder-list-table__header {\r\n\twidth: 100%;\r\n\ttable-layout: fixed;\r\n\tborder-collapse: collapse;\r\n\tborder-spacing: 0;\r\n\tpadding: 0 20px;\r\n}\r\ntable.pops-folder-list-table__body,\r\ntable.pops-folder-list-table__header {\r\n\theight: 100%;\r\n\tbackground: 0 0;\r\n\toverflow: hidden;\r\n\tdisplay: -webkit-box;\r\n\tdisplay: -ms-flexbox;\r\n\t-ms-flex-direction: column;\r\n\t-webkit-box-orient: vertical;\r\n\t-webkit-box-direction: normal;\r\n}\r\ntable.pops-folder-list-table__body {\r\n\theight: 100%;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n.pops-folder-list table tr {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops-folder-list-table__header-row {\r\n\theight: 50px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tcolor: rgb(129, 137, 153);\r\n\ttext-align: left;\r\n\tfont-size: 12px;\r\n}\r\n.pops-folder-list-table__header-row {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n.pops-folder-list-table__body-row {\r\n\theight: 50px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tcolor: #03081a;\r\n\tfont-size: 12px;\r\n}\r\n.pops-folder-list-table__body-row:hover {\r\n\tbackground: rgb(245, 246, 247, var(--pops-bg-opacity));\r\n}\r\n.pops-folder-list table th {\r\n\tborder: 0;\r\n\tborder-bottom: 1px solid rgb(247, 248, 250, var(--pops-bg-opacity));\r\n}\r\n.pops-folder-list table td {\r\n\tborder: 0;\r\n\tborder-bottom: 1px solid rgb(247, 248, 250, var(--pops-bg-opacity));\r\n\tposition: relative;\r\n}\r\n.pops-folder-list .list-name-text {\r\n\tdisplay: inline-block;\r\n\tpadding-left: 12px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tmax-width: 176px;\r\n}\r\n.pops-folder-list-file-name > div {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.pops-mobile-folder-list-file-name {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-mobile-folder-list-file-name > div {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tjustify-content: flex-start;\r\n\talign-items: flex-start;\r\n\tpadding: 6px 0px;\r\n\tflex-direction: column;\r\n}\r\n.pops-mobile-folder-list-file-name img.pops-folder-list-file-icon {\r\n\twidth: 45px;\r\n\theight: 45px;\r\n}\r\n.pops-mobile-folder-list-file-name a.pops-folder-list-file-name-title-text {\r\n\tpadding-left: unset;\r\n\tmax-width: 250px;\r\n\toverflow-x: hidden;\r\n\tfont-weight: 400;\r\n\tline-height: unset;\r\n\tmargin-bottom: 4px;\r\n\twhite-space: normal;\r\n\ttext-overflow: unset;\r\n}\r\n\r\n/* 修改滚动 */\r\n.pops-folder-content {\r\n\toverflow: hidden !important;\r\n}\r\n.pops-folder-content .pops-folder-list {\r\n\theight: 100%;\r\n}\r\n.pops-folder-content .pops-folder-list-table__body-div {\r\n\theight: 100%;\r\n\tpadding-bottom: 85px;\r\n}\r\n.pops-mobile-folder-content .pops-folder-list-table__body-div {\r\n\theight: 100%;\r\n\tpadding-bottom: 40px;\r\n}\r\n.pops-folder-content table.pops-folder-list-table__body {\r\n\toverflow: auto;\r\n}\r\n.pops-mobile-folder-content .pops-folder-list-table__header-div {\r\n\tdisplay: none;\r\n}\r\n\r\n.pops-folder-list-file-name-title-text:hover {\r\n\ttext-decoration: none;\r\n\tcolor: rgb(6, 167, 255);\r\n}\r\n.pops-folder-list .text-ellip {\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-overflow: ellipsis;\r\n}\r\n.pops-folder-list .content {\r\n\tcolor: rgb(129, 137, 153);\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\ttext-align: left;\r\n}\r\n.pops-folder-list .inline-block-v-middle {\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n}\r\n.pops-folder-list .flex-a-i-center {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-folder-list .u-file-icon {\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n}\r\n.pops-folder-list .u-file-icon--list {\r\n\twidth: 32px;\r\n\theight: 32px;\r\n}\r\n.pops-folder-list .pops-folder-list-file-icon {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tposition: relative;\r\n\tvertical-align: middle;\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-primary {\r\n\tdisplay: -webkit-box;\r\n\tdisplay: -webkit-flex;\r\n\tdisplay: -ms-flexbox;\r\n\tdisplay: flex;\r\n\t-webkit-box-align: center;\r\n\t-webkit-align-items: center;\r\n\t-ms-flex-align: center;\r\n\talign-items: center;\r\n\t-webkit-box-orient: horizontal;\r\n\t-webkit-box-direction: normal;\r\n\t-webkit-flex-direction: row;\r\n\t-ms-flex-direction: row;\r\n\tflex-direction: row;\r\n\tmin-height: 17px;\r\n\tflex-wrap: wrap;\r\n}\r\n.pops-folder-list .pops-folder-list-table__sort {\r\n\tdisplay: inline-flex;\r\n\tmargin-left: 4px;\r\n\tflex-direction: column;\r\n}\r\n\r\n.pops-folder-list .pops-folder-icon-arrow {\r\n\twidth: 10px;\r\n\theight: 10px;\r\n\tfill: rgb(212, 215, 222);\r\n}\r\n.pops-folder-list .pops-folder-icon-active {\r\n\tfill: rgb(6, 167, 255);\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb {\r\n\tpadding: 4px 20px;\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tdisplay: -webkit-box;\r\n\tdisplay: -webkit-flex;\r\n\tdisplay: -ms-flexbox;\r\n\tdisplay: flex;\r\n\t-webkit-box-align: center;\r\n\t-webkit-align-items: center;\r\n\t-ms-flex-align: center;\r\n\talign-items: center;\r\n\t-webkit-box-orient: horizontal;\r\n\t-webkit-box-direction: normal;\r\n\t-webkit-flex-direction: row;\r\n\t-ms-flex-direction: row;\r\n\tflex-direction: row;\r\n\t-webkit-box-pack: start;\r\n\t-webkit-justify-content: start;\r\n\t-ms-flex-pack: start;\r\n\tjustify-content: flex-start;\r\n\tmin-height: 35px;\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles {\r\n\tfont-size: 12px;\r\n\tcolor: #333;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tfont-weight: 700;\r\n\tdisplay: inline-block;\r\n\tmax-width: 140px;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tword-wrap: normal;\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:last-child a {\r\n\tcolor: rgb(153, 153, 153);\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:first-child a {\r\n\tfont-size: 14px;\r\n\tcolor: rgb(18, 22, 26);\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb .iconArrow {\r\n\twidth: 16px;\r\n\theight: 16px;\r\n}\r\n.pops-folder-list .iconArrow {\r\n\tbackground: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAASCAMAAABYd88+AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTOLi4uLi4t7e3uPj49/f397e3t3d3f///97e3vDw8N3d3d7e3t3d3d3d3ejo6N/f397e3t7e3t3d3d/f393d3d3d3RK+NoEAAAAWdFJOUwAnM4YPU/iQA+UIeMDaHhY41i7zX7UebpjFAAAAUElEQVQI15XOORaAIAwE0LATXHCd+x9VfCiksXCq+UUWou8oZ1vXHrt7YVBiYkW4gdMKYFIC4CSATWCNHWPuM6HuHkr1x3N0ZrBu/9gl0b9c3+kF7C7hS1YAAAAASUVORK5CYII=)\r\n\t\t55% 50%/6px 9px no-repeat;\r\n}\r\n";
|
|
2045
|
+
|
|
2046
|
+
var panelCSS = ".pops[type-value=\"panel\"] {\r\n\t--el-disabled-text-color: #a8abb2;\r\n\t--el-disabled-bg-color: #f5f7fa;\r\n\t--el-disabled-border-color: #e4e7ed;\r\n\t--pops-bg-color: #f2f2f2;\r\n\t--pops-color: #333;\r\n\t--title-bg-color: #ffffff;\r\n\t--aside-bg-color: #ffffff;\r\n\t--aside-hover-color: rgb(64, 158, 255);\r\n\t--aside-hover-bg-color: rgba(64, 158, 255, 0.1);\r\n\r\n\t--pops-panel-forms-margin-top-bottom: 10px;\r\n\t--pops-panel-forms-margin-left-right: 20px;\r\n\t--pops-panel-forms-header-icon-size: 20px;\r\n\t--pops-panel-forms-header-padding-top-bottom: 15px;\r\n\t--pops-panel-forms-header-padding-left-right: 10px;\r\n\t--pops-panel-forms-container-item-bg-color: #ffffff;\r\n\t--pops-panel-forms-container-item-title-color: #333;\r\n\t--pops-panel-forms-container-item-border-radius: 6px;\r\n\t--pops-panel-forms-container-item-margin-top-bottom: 10px;\r\n\t--pops-panel-forms-container-item-margin-left-right: var(\r\n\t\t--pops-panel-forms-margin-left-right\r\n\t);\r\n\t--pops-panel-forms-container-li-padding-top-bottom: 12px;\r\n\t--pops-panel-forms-container-li-padding-left-right: 16px;\r\n}\r\n.pops[type-value=\"panel\"] {\r\n\tcolor: var(--pops-color);\r\n\tbackground: var(--pops-bg-color);\r\n}\r\n.pops[type-value] .pops-panel-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n\tbackground: var(--title-bg-color);\r\n}\r\n\r\n.pops[type-value=\"panel\"] .pops-panel-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"panel\"] .pops-panel-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"panel\"] .pops-panel-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"panel\"] .pops-panel-btn {\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-content: center;\r\n\talign-items: center;\r\n}\r\n\r\n/* ↓panel的CSS↓ */\r\naside.pops-panel-aside {\r\n\toverflow: auto;\r\n\tbox-sizing: border-box;\r\n\tflex-shrink: 0;\r\n\tmax-width: 200px;\r\n\tmin-width: 100px;\r\n\theight: 100%;\r\n\tbackground: var(--aside-bg-color);\r\n\tborder-right: 1px solid var(--aside-bg-color);\r\n\tfont-size: 0.9em;\r\n}\r\naside.pops-panel-aside {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n.pops-panel-content {\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tflex-basis: auto;\r\n\tbox-sizing: border-box;\r\n\tmin-width: 0;\r\n\tbottom: 0 !important;\r\n}\r\nsection.pops-panel-container {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\nsection.pops-panel-container .pops-panel-container-header-ul,\r\nsection.pops-panel-container .pops-panel-deepMenu-container-header-ul {\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\tflex: 0 auto;\r\n}\r\nsection.pops-panel-container .pops-panel-container-header-ul li {\r\n\ttext-align: left;\r\n\tdisplay: flex;\r\n\tjustify-content: flex-start !important;\r\n\tmargin: 0px !important;\r\n\tpadding: var(--pops-panel-forms-header-padding-top-bottom)\r\n\t\tcalc(\r\n\t\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\t\tvar(--pops-panel-forms-container-li-padding-left-right)\r\n\t\t);\r\n}\r\nsection.pops-panel-container > ul:last-child {\r\n\toverflow: auto;\r\n\tflex: 1;\r\n}\r\naside.pops-panel-aside ul li {\r\n\tmargin: 6px 8px;\r\n\tborder-radius: 4px;\r\n\tpadding: 6px 10px;\r\n\tcursor: default;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: flex-start;\r\n}\r\naside.pops-panel-aside .pops-is-visited,\r\naside.pops-panel-aside ul li:hover {\r\n\tcolor: var(--aside-hover-color);\r\n\tbackground: var(--aside-hover-bg-color);\r\n}\r\nsection.pops-panel-container > ul li:not(.pops-panel-forms-container-item) {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n\tmargin: var(--pops-panel-forms-margin-top-bottom)\r\n\t\tcalc(\r\n\t\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\t\tvar(--pops-panel-forms-margin-left-right)\r\n\t\t);\r\n\tgap: 10px;\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item-header-text {\r\n\tmargin: 10px;\r\n\tmargin-left: calc(\r\n\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\tvar(--pops-panel-forms-container-li-padding-left-right)\r\n\t);\r\n\tfont-size: 0.9em;\r\n\ttext-align: left;\r\n\tcolor: var(--pops-panel-forms-container-item-title-color);\r\n}\r\nsection.pops-panel-container li.pops-panel-forms-container-item {\r\n\tdisplay: block;\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item ul {\r\n\tborder-radius: var(--pops-panel-forms-container-item-border-radius);\r\n\tbackground: var(--pops-panel-forms-container-item-bg-color);\r\n\tmargin: var(--pops-panel-forms-container-item-margin-top-bottom)\r\n\t\tvar(--pops-panel-forms-margin-left-right);\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item ul li {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n\tpadding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px;\r\n\tmargin: 0px var(--pops-panel-forms-container-li-padding-left-right);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: left;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-container-item\r\n\tul\r\n\tli.pops-panel-deepMenu-nav-item {\r\n\tpadding: var(--pops-panel-forms-container-li-padding-top-bottom)\r\n\t\tvar(--pops-panel-forms-container-li-padding-left-right);\r\n\tmargin: 0px;\r\n\tborder-bottom: 0;\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item ul li:last-child {\r\n\tborder: 0;\r\n}\r\n/* 主文字 */\r\n/*section.pops-panel-container\r\n\t.pops-panel-forms-container-item\r\n\t.pops-panel-item-left-text\r\n\t.pops-panel-item-left-main-text {\r\n\tline-height: 2;\r\n}*/\r\n/* 描述文字 */\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-container-item\r\n\t.pops-panel-item-left-text\r\n\t.pops-panel-item-left-desc-text {\r\n\tline-height: normal;\r\n\tmargin-top: 6px;\r\n\tfont-size: 0.8em;\r\n\tcolor: rgb(108, 108, 108);\r\n}\r\n\r\n/* 折叠面板 */\r\n\r\nsection.pops-panel-container .pops-panel-forms-fold {\r\n\tborder-radius: var(--pops-panel-forms-container-item-border-radius);\r\n\tbackground: var(--pops-panel-forms-container-item-bg-color);\r\n\tmargin: var(--pops-panel-forms-margin-top-bottom)\r\n\t\tvar(--pops-panel-forms-margin-left-right);\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold\r\n\t.pops-panel-forms-fold-container {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tfill: #6c6c6c;\r\n\tjustify-content: space-between;\r\n\tmargin: 0px var(--pops-panel-forms-container-li-padding-left-right) !important;\r\n\tpadding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px !important;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold[data-fold-enable]\r\n\t.pops-panel-forms-fold-container-icon {\r\n\ttransform: rotate(90deg);\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold\r\n\t.pops-panel-forms-fold-container-icon {\r\n\twidth: 15px;\r\n\theight: 15px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\ttransform: rotate(-90deg);\r\n\ttransition: transform 0.3s;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold[data-fold-enable]\r\n\t.pops-panel-forms-container-item-formlist {\r\n\theight: 0;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold\r\n\t.pops-panel-forms-container-item-formlist {\r\n\ttransition: height 0.3s;\r\n\toverflow: hidden;\r\n\tborder-radius: unset;\r\n\tbackground: unset;\r\n\tmargin: 0;\r\n\theight: auto;\r\n\theight: calc-size(auto, size);\r\n}\r\n/* 折叠面板 */\r\n\r\n/* 姑且认为小于600px的屏幕为移动端 */\r\n@media (max-width: 600px) {\r\n\t/* 兼容移动端CSS */\r\n\t.pops[type-value=\"panel\"] {\r\n\t\t--pops-panel-forms-margin-left-right: 10px;\r\n\t}\r\n\t.pops[type-value=\"panel\"] {\r\n\t\twidth: 92%;\r\n\t\twidth: 92vw;\r\n\t\twidth: 92dvw;\r\n\t}\r\n\t.pops[type-value=\"panel\"] .pops-panel-content aside.pops-panel-aside {\r\n\t\tmax-width: 20%;\r\n\t\tmin-width: auto;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-forms-container-item\r\n\t\t> div {\r\n\t\ttext-align: left;\r\n\t\t--pops-panel-forms-margin-left-right: 0px;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-forms-container-item\r\n\t\tul {\r\n\t\tmargin: 0px !important;\r\n\t}\r\n\t.pops[type-value=\"panel\"] section.pops-panel-container > ul > li {\r\n\t\tmargin: 10px 10px;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t> ul\r\n\t\t> li\r\n\t\tdiv:nth-child(2) {\r\n\t\tmax-width: 55%;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-select\r\n\t\tselect {\r\n\t\tmin-width: 88px !important;\r\n\t\twidth: -webkit-fill-available;\r\n\t\twidth: -moz-available;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-container-header-ul\r\n\t\tli {\r\n\t\tfont-size: 16px;\r\n\t}\r\n\t.pops[type-value=\"panel\"] .pops-panel-title p[pops],\r\n\t.pops[type-value=\"panel\"] section.pops-panel-container > ul li,\r\n\t.pops[type-value=\"panel\"] aside.pops-panel-aside ul li {\r\n\t\tfont-size: 14px;\r\n\t}\r\n}\r\n/* switch的CSS */\r\n.pops-panel-switch {\r\n\tdisplay: inline-flex;\r\n\tflex-direction: row-reverse;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfont-size: 14px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\theight: 32px;\r\n\tvertical-align: middle;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\t-moz-user-select: none;\r\n}\r\n.pops-panel-switch input.pops-panel-switch__input {\r\n\tposition: absolute;\r\n\twidth: 0;\r\n\theight: 0;\r\n\topacity: 0;\r\n\tmargin: 0;\r\n}\r\n.pops-panel-switch:has(input.pops-panel-switch__input:disabled),\r\n.pops-panel-switch[data-disabled],\r\n.pops-panel-switch[data-disabled] .pops-panel-switch__core,\r\n.pops-panel-switch\r\n\tinput.pops-panel-switch__input:disabled\r\n\t+ .pops-panel-switch__core {\r\n\tcursor: not-allowed;\r\n\topacity: 0.6;\r\n}\r\n.pops-panel-switch span.pops-panel-switch__core {\r\n\tdisplay: inline-flex;\r\n\tposition: relative;\r\n\talign-items: center;\r\n\tmin-width: 40px;\r\n\theight: 20px;\r\n\tborder: 1px solid rgb(220, 223, 230, var(--pops-bd-opacity));\r\n\toutline: 0;\r\n\tborder-radius: 10px;\r\n\tbox-sizing: border-box;\r\n\tbackground: rgb(220, 223, 230, var(--pops-bg-opacity));\r\n\tcursor: pointer;\r\n\ttransition: border-color 0.3s, background-color 0.3s;\r\n}\r\n.pops-panel-switch .pops-panel-switch__action {\r\n\tposition: absolute;\r\n\tleft: 1px;\r\n\tborder-radius: 100%;\r\n\ttransition: all 0.3s;\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tcolor: rgb(220, 223, 230);\r\n}\r\n.pops-panel-switch.pops-panel-switch-is-checked span.pops-panel-switch__core {\r\n\tborder-color: rgb(64, 158, 255, var(--pops-bd-opacity));\r\n\tbackground-color: rgb(64, 158, 255, var(--pops-bg-opacity));\r\n}\r\n.pops-panel-switch.pops-panel-switch-is-checked .pops-panel-switch__action {\r\n\tleft: calc(100% - 17px);\r\n\tcolor: rgb(64, 158, 255);\r\n}\r\n/* switch的CSS */\r\n\r\n/* slider旧的CSS */\r\nsection.pops-panel-container .pops-panel-slider:has(> input[type=\"range\"]) {\r\n\toverflow: hidden;\r\n\theight: 25px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\nsection.pops-panel-container .pops-panel-slider input[type=\"range\"] {\r\n\theight: 6px;\r\n\tbackground: rgb(228, 231, 237, var(--pops-bg-opacity));\r\n\toutline: 0;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\twidth: 100%;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-slider\r\n\tinput[type=\"range\"]::-webkit-slider-thumb {\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tborder-radius: 50%;\r\n\tborder: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2);\r\n\tcursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\tborder-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-slider\r\n\tinput[type=\"range\"]::-moz-range-thumb {\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tborder-radius: 50%;\r\n\tborder: 1px solid rgb(64, 159, 255, var(--pops-bd-opacity));\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2);\r\n\tcursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-slider\r\n\tinput[type=\"range\"]::-moz-range-progress {\r\n\theight: 6px;\r\n\tborder-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;\r\n}\r\n/* slider旧的CSS */\r\n\r\n/* slider的CSS */\r\n.pops-slider {\r\n\t--pops-slider-color-white: #ffffff;\r\n\t--pops-slider-color-primary: #409eff;\r\n\t--pops-slider-color-info: #909399;\r\n\t--pops-slider-text-color-placeholder: #a8abb2;\r\n\t--pops-slider-border-color-light: #e4e7ed;\r\n\t--pops-slider-border-radius-circle: 100%;\r\n\t--pops-slider-transition-duration-fast: 0.2s;\r\n\r\n\t--pops-slider-main-bg-color: var(--pops-slider-color-primary);\r\n\t--pops-slider-runway-bg-color: var(--pops-slider-border-color-light);\r\n\t--pops-slider-stop-bg-color: var(--pops-slider-color-white);\r\n\t--pops-slider-disabled-color: var(--pops-slider-text-color-placeholder);\r\n\t--pops-slider-border-radius: 3px;\r\n\t--pops-slider-height: 6px;\r\n\t--pops-slider-button-size: 20px;\r\n\t--pops-slider-button-wrapper-size: 36px;\r\n\t--pops-slider-button-wrapper-offset: -15px;\r\n}\r\n\r\n.pops-slider {\r\n\twidth: 100%;\r\n\theight: 32px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\t-moz-user-select: none;\r\n}\r\n\r\n.pops-slider-width {\r\n\tflex: 0 0 52%;\r\n\tmargin-left: 10px;\r\n}\r\n\r\n.pops-slider__runway {\r\n\tflex: 1;\r\n\theight: var(--pops-slider-height);\r\n\tbackground-color: var(--pops-slider-runway-bg-color);\r\n\tborder-radius: var(--pops-slider-border-radius);\r\n\tposition: relative;\r\n\tcursor: pointer;\r\n}\r\n\r\n.pops-slider__runway.show-input {\r\n\tmargin-right: 30px;\r\n\twidth: auto;\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled {\r\n\tcursor: default;\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__bar {\r\n\tbackground-color: var(--pops-slider-disabled-color);\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button {\r\n\tborder-color: var(--pops-slider-disabled-color);\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {\r\n\tcursor: not-allowed;\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {\r\n\ttransform: scale(1);\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {\r\n\tcursor: not-allowed;\r\n}\r\n\r\n.pops-slider__input {\r\n\tflex-shrink: 0;\r\n\twidth: 130px;\r\n}\r\n\r\n.pops-slider__bar {\r\n\theight: var(--pops-slider-height);\r\n\tbackground-color: var(--pops-slider-main-bg-color);\r\n\tborder-top-left-radius: var(--pops-slider-border-radius);\r\n\tborder-bottom-left-radius: var(--pops-slider-border-radius);\r\n\tposition: absolute;\r\n}\r\n\r\n.pops-slider__button-wrapper {\r\n\theight: var(--pops-slider-button-wrapper-size);\r\n\twidth: var(--pops-slider-button-wrapper-size);\r\n\tposition: absolute;\r\n\tz-index: 1;\r\n\ttop: var(--pops-slider-button-wrapper-offset);\r\n\ttransform: translate(-50%);\r\n\tbackground-color: transparent;\r\n\ttext-align: center;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tline-height: normal;\r\n\toutline: none;\r\n}\r\n\r\n.pops-slider__button-wrapper:after {\r\n\tdisplay: inline-block;\r\n\tcontent: \"\";\r\n\theight: 100%;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.pops-slider__button:hover,\r\n.pops-slider__button.hover {\r\n\tcursor: grab;\r\n}\r\n\r\n.pops-slider__button {\r\n\tdisplay: inline-block;\r\n\twidth: var(--pops-slider-button-size);\r\n\theight: var(--pops-slider-button-size);\r\n\tvertical-align: middle;\r\n\tborder: solid 2px var(--pops-slider-main-bg-color);\r\n\tbackground-color: var(--pops-slider-color-white);\r\n\tborder-radius: 50%;\r\n\tbox-sizing: border-box;\r\n\ttransition: var(--pops-slider-transition-duration-fast);\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.pops-slider__button:hover,\r\n.pops-slider__button.hover,\r\n.pops-slider__button.dragging {\r\n\ttransform: scale(1.2);\r\n}\r\n\r\n.pops-slider__button:hover,\r\n.pops-slider__button.hover {\r\n\tcursor: grab;\r\n}\r\n\r\n.pops-slider__button.dragging {\r\n\tcursor: grabbing;\r\n}\r\n\r\n.pops-slider__stop {\r\n\tposition: absolute;\r\n\theight: var(--pops-slider-height);\r\n\twidth: var(--pops-slider-height);\r\n\tborder-radius: var(--pops-slider-border-radius-circle);\r\n\tbackground-color: var(--pops-slider-stop-bg-color);\r\n\ttransform: translate(-50%);\r\n}\r\n\r\n.pops-slider__marks {\r\n\ttop: 0;\r\n\tleft: 12px;\r\n\twidth: 18px;\r\n\theight: 100%;\r\n}\r\n\r\n.pops-slider__marks-text {\r\n\tposition: absolute;\r\n\ttransform: translate(-50%);\r\n\tfont-size: 14px;\r\n\tcolor: var(--pops-slider-color-info);\r\n\tmargin-top: 15px;\r\n\twhite-space: pre;\r\n}\r\n\r\n.pops-slider.is-vertical {\r\n\tposition: relative;\r\n\tdisplay: inline-flex;\r\n\twidth: auto;\r\n\theight: 100%;\r\n\tflex: 0;\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__runway {\r\n\twidth: var(--pops-slider-height);\r\n\theight: 100%;\r\n\tmargin: 0 16px;\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__bar {\r\n\twidth: var(--pops-slider-height);\r\n\theight: auto;\r\n\tborder-radius: 0 0 3px 3px;\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__button-wrapper {\r\n\ttop: auto;\r\n\tleft: var(--pops-slider-button-wrapper-offset);\r\n\ttransform: translateY(50%);\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__stop {\r\n\ttransform: translateY(50%);\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__marks-text {\r\n\tmargin-top: 0;\r\n\tleft: 15px;\r\n\ttransform: translateY(50%);\r\n}\r\n\r\n.pops-slider--large {\r\n\theight: 40px;\r\n}\r\n\r\n.pops-slider--small {\r\n\theight: 24px;\r\n}\r\n/* slider的CSS */\r\n\r\n/* input的CSS */\r\n.pops-panel-input {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tborder: 1px solid #dcdfe6;\r\n\tborder-radius: 4px;\r\n\tbackground-color: #ffffff;\r\n\tposition: relative;\r\n}\r\n.pops-panel-input:hover {\r\n\tbox-shadow: 0 0 0 1px #c0c4cc inset;\r\n}\r\n.pops-panel-input:has(input:focus) {\r\n\toutline: 0;\r\n\tborder: 1px solid #409eff;\r\n\tborder-radius: 4px;\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-input input {\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\ttext-align: start;\r\n\talign-items: center;\r\n\talign-content: center;\r\n\twhite-space: nowrap;\r\n\tcursor: text;\r\n\tbox-sizing: border-box;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tvertical-align: middle;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\tbackground-color: transparent;\r\n\toutline: 0;\r\n\ttransition: 0.1s;\r\n\tborder: 0;\r\n\tfont-size: 14px;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\theight: 32px;\r\n\twidth: 100%;\r\n\tflex: 1;\r\n\tmargin-right: calc(1em + 8px);\r\n\tpadding: 8px 8px;\r\n}\r\n.pops-panel-input span.pops-panel-input__suffix {\r\n\tdisplay: inline-flex;\r\n\twhite-space: nowrap;\r\n\tflex-shrink: 0;\r\n\tflex-wrap: nowrap;\r\n\theight: 100%;\r\n\ttext-align: center;\r\n\tcolor: #a8abb2;\r\n\ttransition: all 0.3s;\r\n\tpointer-events: none;\r\n\tmargin: 0 8px;\r\n\tposition: absolute;\r\n\tright: 0px;\r\n}\r\n.pops-panel-input span.pops-panel-input__suffix-inner {\r\n\tpointer-events: all;\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n.pops-panel-input .pops-panel-icon {\r\n\tcursor: pointer;\r\n}\r\n.pops-panel-input .pops-panel-icon {\r\n\theight: inherit;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttransition: all 0.3s;\r\n}\r\n.pops-panel-input .pops-panel-icon svg {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n}\r\n\r\n.pops-input-disabled {\r\n\tbackground-color: var(--el-disabled-bg-color);\r\n\tbox-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;\r\n}\r\n.pops-panel-input.pops-input-disabled {\r\n\tborder: none;\r\n}\r\n.pops-panel-input.pops-input-disabled:hover {\r\n\tbox-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;\r\n}\r\n.pops-panel-input input:disabled,\r\n.pops-panel-input input:disabled + .pops-panel-input__suffix {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tcolor: var(--el-disabled-text-color);\r\n\t-webkit-text-fill-color: var(--el-disabled-text-color);\r\n\tcursor: not-allowed;\r\n}\r\n.pops-panel-input input:disabled + .pops-panel-input__suffix {\r\n\tdisplay: none;\r\n}\r\n/* input的CSS */\r\n\r\n/* textarea的CSS */\r\n.pops-panel-textarea textarea {\r\n\twidth: 100%;\r\n\t/*vertical-align: bottom;*/\r\n\tposition: relative;\r\n\tdisplay: block;\r\n\tresize: none;\r\n\tpadding: 5px 11px;\r\n\t/*line-height: 1;*/\r\n\tbox-sizing: border-box;\r\n\tfont-size: inherit;\r\n\tfont-family: inherit;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbackground-image: none;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\tbox-shadow: 0 0 0 1px #dcdfe6 inset;\r\n\tborder-radius: 0;\r\n\ttransition: box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n\tborder: none;\r\n}\r\n.pops-panel-textarea textarea:hover {\r\n\tbox-shadow: 0 0 0 1px #c0c4cc inset;\r\n}\r\n.pops-panel-textarea-disable .pops-panel-textarea textarea:hover {\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-textarea textarea:focus {\r\n\toutline: 0;\r\n\tbox-shadow: 0 0 0 1px #409eff inset;\r\n}\r\n/* textarea的CSS */\r\n\r\n/* select的CSS */\r\n.pops-panel-select select {\r\n\theight: 32px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tmin-width: 200px;\r\n\tborder: 1px solid rgb(184, 184, 184, var(--pops-bd-opacity));\r\n\tborder-radius: 5px;\r\n\ttext-align: center;\r\n\toutline: 0;\r\n\tbackground: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-select select:hover {\r\n\tbox-shadow: 0 0 0 1px #c0c4cc inset;\r\n}\r\n.pops-panel-select-disable .pops-panel-select select:hover {\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-select select:focus {\r\n\tborder: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));\r\n\tbox-shadow: none;\r\n}\r\n/* select的CSS */\r\n\r\n/* select-multiple的CSS*/\r\n.pops-panel-select-multiple {\r\n\t--el-border-radius-base: 4px;\r\n\t--el-fill-color-blank: #ffffff;\r\n\t--el-transition-duration: 0.3s;\r\n\t--el-border-color: #dcdfe6;\r\n\t--el-text-color-placeholder: #a8abb2;\r\n\t--color: inherit;\r\n\t--el-select-input-color: #a8abb2;\r\n\t--el-select-input-font-size: 14px;\r\n\t--el-text-color-regular: #606266;\r\n\t--el-color-info: #909399;\r\n\t--el-color-info-light-9: #f4f4f5;\r\n\t--el-color-info-light-8: #e9e9eb;\r\n\t--el-color-primary-light-9: #ecf5ff;\r\n\t--el-color-primary-light-8: #d9ecff;\r\n\t--el-color-primary: #409eff;\r\n\t--el-color-white: #ffffff;\r\n\twidth: 200px;\r\n\t/* 左侧内容*/\r\n\t/* 左侧内容*/\r\n\t/* 右侧箭头图标*/\r\n\t/* 右侧箭头图标*/\r\n\t/* tag*/\r\n}\r\n.pops-panel-select-multiple .el-select__wrapper {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tbox-sizing: border-box;\r\n\tcursor: pointer;\r\n\ttext-align: left;\r\n\tfont-size: 14px;\r\n\tpadding: 4px 12px;\r\n\tgap: 6px;\r\n\tmin-height: 32px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tborder-radius: var(--el-border-radius-base);\r\n\tbackground-color: var(--el-fill-color-blank);\r\n\ttransition: var(--el-transition-duration);\r\n\ttransform: translateZ(0);\r\n\tbox-shadow: 0 0 0 1px var(--el-border-color) inset;\r\n}\r\n.pops-panel-select-multiple .el-select__wrapper.is-focused {\r\n\tbox-shadow: 0 0 0 1px var(--el-color-primary) inset;\r\n}\r\n.pops-panel-select-multiple .el-select__selection {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\talign-items: center;\r\n\tflex: 1;\r\n\tmin-width: 0;\r\n\tgap: 6px;\r\n}\r\n.pops-panel-select-multiple .el-select__selected-item {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\t-webkit-user-select: none;\r\n\tuser-select: none;\r\n}\r\n.pops-panel-select-multiple\r\n\t.el-select__selected-item.el-select__choose_tag\r\n\t.el-tag {\r\n\tmax-width: 200px;\r\n}\r\n.pops-panel-select-multiple .el-select__input-wrapper {\r\n\tmax-width: 100%;\r\n}\r\n.pops-panel-select-multiple .el-select__selection.is-near {\r\n\tmargin-left: -8px;\r\n}\r\n.pops-panel-select-multiple .el-select__placeholder {\r\n\tposition: absolute;\r\n\tdisplay: block;\r\n\ttop: 50%;\r\n\ttransform: translateY(-50%);\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tcolor: var(--el-input-text-color, var(--el-text-color-regular));\r\n}\r\n.pops-panel-select-multiple .el-select__placeholder.is-transparent {\r\n\t-webkit-user-select: none;\r\n\tuser-select: none;\r\n\tcolor: var(--el-text-color-placeholder);\r\n}\r\n.pops-panel-select-multiple .el-select__prefix,\r\n.pops-panel-select-multiple .el-select__suffix {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tflex-shrink: 0;\r\n\tgap: 6px;\r\n\tcolor: var(--el-input-icon-color, var(--el-text-color-placeholder));\r\n}\r\n.pops-panel-select-multiple .el-icon {\r\n\t--color: inherit;\r\n\theight: 1em;\r\n\twidth: 1em;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n\tcolor: var(--color);\r\n\tfont-size: inherit;\r\n}\r\n.pops-panel-select-multiple .el-icon svg {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n}\r\n.pops-panel-select-multiple .el-select__caret {\r\n\tcolor: var(--el-select-input-color);\r\n\tfont-size: var(--el-select-input-font-size);\r\n\ttransition: var(--el-transition-duration);\r\n\ttransform: rotate(0);\r\n\tcursor: pointer;\r\n}\r\n.pops-panel-select-multiple .el-tag {\r\n\t--el-tag-font-size: 12px;\r\n\t--el-tag-border-radius: 4px;\r\n\t--el-tag-border-radius-rounded: 9999px;\r\n}\r\n.pops-panel-select-multiple .el-tag {\r\n\tbackground-color: var(--el-tag-bg-color);\r\n\tborder-color: var(--el-tag-border-color);\r\n\tcolor: var(--el-tag-text-color);\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tvertical-align: middle;\r\n\theight: 24px;\r\n\tpadding: 0 9px;\r\n\tfont-size: var(--el-tag-font-size);\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tborder-width: 1px;\r\n\tborder-style: solid;\r\n\tborder-radius: var(--el-tag-border-radius);\r\n\tbox-sizing: border-box;\r\n\twhite-space: nowrap;\r\n\t--el-icon-size: 14px;\r\n\t--el-tag-bg-color: var(--el-color-primary-light-9);\r\n\t--el-tag-border-color: var(--el-color-primary-light-8);\r\n\t--el-tag-hover-color: var(--el-color-primary);\r\n}\r\n.pops-panel-select-multiple .el-select__selection .el-tag {\r\n\tcursor: pointer;\r\n\tborder-color: transparent;\r\n}\r\n.pops-panel-select-multiple .el-tag.el-tag--info {\r\n\t--el-tag-bg-color: var(--el-color-info-light-9);\r\n\t--el-tag-border-color: var(--el-color-info-light-8);\r\n\t--el-tag-hover-color: var(--el-color-info);\r\n}\r\n.pops-panel-select-multiple .el-tag.el-tag--info {\r\n\t--el-tag-text-color: var(--el-color-info);\r\n}\r\n.pops-panel-select-multiple .el-tag.is-closable {\r\n\tpadding-right: 5px;\r\n}\r\n.pops-panel-select-multiple .el-select__selection .el-tag .el-tag__content {\r\n\tmin-width: 0;\r\n}\r\n.pops-panel-select-multiple .el-tag .el-tag__close {\r\n\tflex-shrink: 0;\r\n\tcolor: var(--el-tag-text-color);\r\n}\r\n.pops-panel-select-multiple .el-tag .el-tag__close:hover {\r\n\tcolor: var(--el-color-white);\r\n\tbackground-color: var(--el-tag-hover-color);\r\n}\r\n.pops-panel-select-multiple .el-tag .el-icon {\r\n\tborder-radius: 50%;\r\n\tcursor: pointer;\r\n\tfont-size: calc(var(--el-icon-size) - 2px);\r\n\theight: var(--el-icon-size);\r\n\twidth: var(--el-icon-size);\r\n}\r\n.pops-panel-select-multiple .el-tag .el-tag__close {\r\n\tmargin-left: 6px;\r\n}\r\n.pops-panel-select-multiple .el-select__tags-text {\r\n\tdisplay: block;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n/* select-multiple的CSS*/\r\n\r\n/* deepMenu的css */\r\n.pops-panel-deepMenu-nav-item {\r\n\tcursor: pointer;\r\n}\r\n.pops-panel-deepMenu-nav-item:active {\r\n\tbackground: #e9e9e9;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n.pops-panel-deepMenu-nav-item .pops-panel-deepMenu {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #6c6c6c;\r\n\tfill: #6c6c6c;\r\n}\r\n.pops-panel-deepMenu-nav-item .pops-panel-deepMenu-arrowRight-icon {\r\n\twidth: 15px;\r\n\theight: 15px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-panel-deepMenu-container .pops-panel-deepMenu-container-header {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\twidth: -webkit-fill-available;\r\n\twidth: -moz-available;\r\n\tpadding: var(--pops-panel-forms-header-padding-top-bottom)\r\n\t\tcalc(\r\n\t\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\t\tvar(--pops-panel-forms-container-li-padding-left-right) -\r\n\t\t\t\tvar(--pops-panel-forms-header-icon-size)\r\n\t\t);\r\n}\r\n.pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon {\r\n\twidth: var(--pops-panel-forms-header-icon-size);\r\n\theight: var(--pops-panel-forms-header-icon-size);\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcursor: pointer;\r\n}\r\n/* 修复safari上图标大小未正常显示 */\r\n.pops-panel-deepMenu-container\r\n\t.pops-panel-deepMenu-container-left-arrow-icon\r\n\t> svg {\r\n\twidth: inherit;\r\n\theight: inherit;\r\n}\r\n/* deepMenu的css */\r\n\r\n/* <code> */\r\n.pops[type-value=\"panel\"] code {\r\n\tfont-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\r\n\tfont-size: 0.85em;\r\n\tcolor: #000;\r\n\tbackground-color: #f0f0f0;\r\n\tborder-radius: 3px;\r\n\tborder: 0;\r\n\tpadding: 0.2em 0;\r\n\twhite-space: normal;\r\n\tbackground: #f5f5f5;\r\n\ttext-wrap: wrap;\r\n\ttext-align: left;\r\n\tword-spacing: normal;\r\n\tword-break: normal;\r\n\tword-wrap: normal;\r\n\tline-height: 1.4;\r\n\t-moz-tab-size: 8;\r\n\t-o-tab-size: 8;\r\n\ttab-size: 8;\r\n\t-webkit-hyphens: none;\r\n\t-moz-hyphens: none;\r\n\t-ms-hyphens: none;\r\n\thyphens: none;\r\n\tdirection: ltr;\r\n}\r\n\r\n.pops[type-value=\"panel\"] code::before,\r\n.pops[type-value=\"panel\"] code::after {\r\n\tletter-spacing: -0.2em;\r\n\tcontent: \"\\00a0\";\r\n}\r\n";
|
|
2047
|
+
|
|
2048
|
+
var rightClickMenuCSS = ".pops-rightClickMenu * {\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\t-webkit-tap-highlight-color: transparent;\r\n\tscrollbar-width: thin;\r\n}\r\n.pops-rightClickMenu {\r\n\tposition: fixed;\r\n\tz-index: 10000;\r\n\ttext-align: center;\r\n\tborder-radius: 3px;\r\n\tfont-size: 16px;\r\n\tfont-weight: 500;\r\n\tbackground: #fff;\r\n\tbox-shadow: 0px 1px 6px 1px #cacaca;\r\n}\r\n.pops-rightClickMenu-anim-grid {\r\n\tdisplay: grid;\r\n\ttransition: 0.3s;\r\n\tgrid-template-rows: 0fr;\r\n}\r\n.pops-rightClickMenu-anim-show {\r\n\tgrid-template-rows: 1fr;\r\n}\r\n.pops-rightClickMenu-is-visited {\r\n\tbackground: #dfdfdf;\r\n}\r\ni.pops-rightClickMenu-icon {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n\tmargin-right: 6px;\r\n}\r\ni.pops-rightClickMenu-icon[is-loading=\"true\"] {\r\n\tanimation: rotating 2s linear infinite;\r\n}\r\n.pops-rightClickMenu li:hover {\r\n\tbackground: #dfdfdf;\r\n\tcursor: pointer;\r\n}\r\n.pops-rightClickMenu ul {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: flex-start;\r\n\tjustify-content: center;\r\n\toverflow: hidden;\r\n}\r\n.pops-rightClickMenu ul li {\r\n\tpadding: 5px 10px;\r\n\tmargin: 2.5px 5px;\r\n\tborder-radius: 3px;\r\n\tdisplay: flex;\r\n\twidth: -webkit-fill-available;\r\n\twidth: -moz-available;\r\n\ttext-align: left;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\talign-items: center;\r\n}\r\n.pops-rightClickMenu ul li:first-child {\r\n\tmargin-top: 5px;\r\n}\r\n.pops-rightClickMenu ul li:last-child {\r\n\tmargin-bottom: 5px;\r\n}\r\n";
|
|
2049
|
+
|
|
2050
|
+
const PopsCSS = {
|
|
2051
|
+
/** 主CSS */
|
|
2052
|
+
index: indexCSS,
|
|
2053
|
+
/** 九宫格位置CSS */
|
|
2054
|
+
ninePalaceGridPosition: ninePalaceGridPositionCSS,
|
|
2055
|
+
/** 滚动条CSS */
|
|
2056
|
+
scrollbar: scrollbarCSS,
|
|
2057
|
+
/** 按钮CSS */
|
|
2058
|
+
button: buttonCSS,
|
|
2059
|
+
/** 通用的CSS */
|
|
2060
|
+
common: commonCSS,
|
|
2061
|
+
/** 动画 */
|
|
2062
|
+
anim: animCSS,
|
|
2063
|
+
/** pops.alert */
|
|
2064
|
+
alertCSS: alertCSS,
|
|
2065
|
+
/** pops.cponfirm */
|
|
2066
|
+
confirmCSS: confirmCSS,
|
|
2067
|
+
/** pops.prompt */
|
|
2068
|
+
promptCSS: promptCSS,
|
|
2069
|
+
/** pops.loading */
|
|
2070
|
+
loadingCSS: loadingCSS,
|
|
2071
|
+
/** pops.iframe */
|
|
2072
|
+
iframeCSS: iframeCSS,
|
|
2073
|
+
/** pops.tooltip */
|
|
2074
|
+
tooltipCSS: tooltipCSS,
|
|
2075
|
+
/** pops.drawer */
|
|
2076
|
+
drawerCSS: drawerCSS,
|
|
2077
|
+
/** pops.folder */
|
|
2078
|
+
folderCSS: folderCSS,
|
|
2079
|
+
/** pops.folder */
|
|
2080
|
+
panelCSS: panelCSS,
|
|
2081
|
+
/** pops.rightClickMenu */
|
|
2082
|
+
rightClickMenu: rightClickMenuCSS,
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
const PopsAnimation = {
|
|
2086
|
+
$data: {},
|
|
2087
|
+
$flag: {
|
|
2088
|
+
/** 是否初始化 */
|
|
2089
|
+
isInit: false,
|
|
2090
|
+
},
|
|
2091
|
+
init() {
|
|
2092
|
+
if (!this.$flag.isInit) {
|
|
2093
|
+
this.$flag.isInit = true;
|
|
2094
|
+
/* 处理获取当前所有的动画名 */
|
|
2095
|
+
let animationStyle = document.createElement("style");
|
|
2096
|
+
PopsSafeUtils.setSafeHTML(animationStyle, PopsCSS.anim);
|
|
2097
|
+
popsDOMUtils.appendHead(animationStyle);
|
|
2098
|
+
this.$data = null;
|
|
2099
|
+
this.$data = popsDOMUtils.getKeyFrames(animationStyle.sheet);
|
|
2100
|
+
popsUtils.setTimeout(() => {
|
|
2101
|
+
animationStyle.remove();
|
|
2102
|
+
}, 50);
|
|
2103
|
+
}
|
|
2104
|
+
},
|
|
2105
|
+
/**
|
|
2106
|
+
* 判断是否存在某个动画名
|
|
2107
|
+
*/
|
|
2108
|
+
hasAnim(name) {
|
|
2109
|
+
return this.$data.hasOwnProperty(name);
|
|
2110
|
+
},
|
|
2111
|
+
};
|
|
2112
|
+
|
|
1983
2113
|
const PopsInstanceUtils = {
|
|
1984
2114
|
/**
|
|
1985
2115
|
* 获取页面中最大的z-index的元素信息
|
|
@@ -2077,8 +2207,8 @@ define((function () { 'use strict';
|
|
|
2077
2207
|
function isVisibleNode($css) {
|
|
2078
2208
|
return $css.position !== "static" && $css.display !== "none";
|
|
2079
2209
|
}
|
|
2080
|
-
Object.keys(
|
|
2081
|
-
let layerList =
|
|
2210
|
+
Object.keys(PopsLayer).forEach((layerName) => {
|
|
2211
|
+
let layerList = PopsLayer[layerName];
|
|
2082
2212
|
for (let index = 0; index < layerList.length; index++) {
|
|
2083
2213
|
const layer = layerList[index];
|
|
2084
2214
|
let nodeStyle = window.getComputedStyle(layer.animElement);
|
|
@@ -2112,21 +2242,6 @@ define((function () { 'use strict';
|
|
|
2112
2242
|
getMaxZIndex(deviation = 1) {
|
|
2113
2243
|
return this.getMaxZIndexNodeInfo(deviation).zIndex;
|
|
2114
2244
|
},
|
|
2115
|
-
/**
|
|
2116
|
-
* 获取CSS Rule
|
|
2117
|
-
* @param sheet
|
|
2118
|
-
* @returns
|
|
2119
|
-
*/
|
|
2120
|
-
getKeyFrames(sheet) {
|
|
2121
|
-
let result = {};
|
|
2122
|
-
Object.keys(sheet.cssRules).forEach((key) => {
|
|
2123
|
-
if (sheet.cssRules[key].type === 7 &&
|
|
2124
|
-
sheet.cssRules[key].name.startsWith("pops-anim-")) {
|
|
2125
|
-
result[sheet.cssRules[key].name] = sheet.cssRules[key];
|
|
2126
|
-
}
|
|
2127
|
-
});
|
|
2128
|
-
return result;
|
|
2129
|
-
},
|
|
2130
2245
|
/**
|
|
2131
2246
|
* 删除配置中对应的对象
|
|
2132
2247
|
* @param moreLayerConfigList 配置实例列表
|
|
@@ -2155,12 +2270,14 @@ define((function () { 'use strict';
|
|
|
2155
2270
|
// 移除全部或者guid相同
|
|
2156
2271
|
if (isAll || layerConfigItem["guid"] === guid) {
|
|
2157
2272
|
// 判断是否有动画
|
|
2158
|
-
|
|
2273
|
+
let animName = layerConfigItem.animElement.getAttribute("anim");
|
|
2274
|
+
if (PopsAnimation.hasAnim(animName)) {
|
|
2275
|
+
let reverseAnimName = animName + "-reverse";
|
|
2159
2276
|
layerConfigItem.animElement.style.width = "100%";
|
|
2160
2277
|
layerConfigItem.animElement.style.height = "100%";
|
|
2161
2278
|
layerConfigItem.animElement.style["animation-name"] =
|
|
2162
|
-
|
|
2163
|
-
if (
|
|
2279
|
+
reverseAnimName;
|
|
2280
|
+
if (PopsAnimation.hasAnim(layerConfigItem.animElement.style["animation-name"])) {
|
|
2164
2281
|
popsDOMUtils.on(layerConfigItem.animElement, popsDOMUtils.getAnimationEndNameList(), function () {
|
|
2165
2282
|
removeItem(layerConfigItem);
|
|
2166
2283
|
}, {
|
|
@@ -2217,7 +2334,7 @@ define((function () { 'use strict';
|
|
|
2217
2334
|
layerConfigItem.animElement.style.height = "100%";
|
|
2218
2335
|
layerConfigItem.animElement.style["animation-name"] =
|
|
2219
2336
|
layerConfigItem.animElement.getAttribute("anim") + "-reverse";
|
|
2220
|
-
if (
|
|
2337
|
+
if (PopsAnimation.hasAnim(layerConfigItem.animElement.style["animation-name"])) {
|
|
2221
2338
|
/**
|
|
2222
2339
|
* 动画结束的回调
|
|
2223
2340
|
*/
|
|
@@ -2286,7 +2403,7 @@ define((function () { 'use strict';
|
|
|
2286
2403
|
layerConfigItem
|
|
2287
2404
|
.animElement.getAttribute("anim")
|
|
2288
2405
|
.replace("-reverse", "");
|
|
2289
|
-
if (
|
|
2406
|
+
if (PopsAnimation.hasAnim(layerConfigItem.animElement.style["animation-name"])) {
|
|
2290
2407
|
/**
|
|
2291
2408
|
* 动画结束的回调
|
|
2292
2409
|
*/
|
|
@@ -2617,94 +2734,6 @@ define((function () { 'use strict';
|
|
|
2617
2734
|
},
|
|
2618
2735
|
};
|
|
2619
2736
|
|
|
2620
|
-
var indexCSS = "@charset \"utf-8\";\r\n.pops * {\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\t-webkit-tap-highlight-color: transparent;\r\n\t/* 代替::-webkit-scrollbar */\r\n\tscrollbar-width: thin;\r\n}\r\n.pops {\r\n\t--pops-bg-opacity: 1;\r\n\t--pops-bd-opacity: 1;\r\n\t--pops-font-size: 16px;\r\n\tinterpolate-size: allow-keywords;\r\n}\r\n.pops-mask {\r\n\t--pops-mask-bg-opacity: 0.4;\r\n}\r\n.pops {\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tborder-radius: 4px;\r\n\tborder: 1px solid rgb(235, 238, 245, var(--pops-bd-opacity));\r\n\tfont-size: var(--pops-font-size);\r\n\tline-height: normal;\r\n\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.12);\r\n\tbox-sizing: border-box;\r\n\toverflow: hidden;\r\n\ttransition: all 0.35s;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n.pops-anim {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n.pops-anim[anim=\"\"] {\r\n\ttop: unset;\r\n\tright: unset;\r\n\tbottom: unset;\r\n\tleft: unset;\r\n\twidth: unset;\r\n\theight: unset;\r\n\ttransition: none;\r\n}\r\n/* 底部图标动画和样式 */\r\n.pops i.pops-bottom-icon[is-loading=\"true\"] {\r\n\tanimation: rotating 2s linear infinite;\r\n}\r\n.pops i.pops-bottom-icon {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n\tline-height: normal;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n}\r\n\r\n/* 遮罩层样式 */\r\n.pops-mask {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tborder: 0;\r\n\tborder-radius: 0;\r\n\tbackground-color: rgba(0, 0, 0, var(--pops-mask-bg-opacity));\r\n\tbox-shadow: none;\r\n\ttransition: none;\r\n}\r\n\r\n.pops-header-controls button.pops-header-control[type][data-header] {\r\n\tfloat: right;\r\n\tmargin: 0 0;\r\n\toutline: 0;\r\n\tborder: 0;\r\n\tborder-color: rgb(136, 136, 136, var(--pops-bd-opacity));\r\n\tbackground-color: transparent;\r\n\tcolor: #888;\r\n\tcursor: pointer;\r\n}\r\n.pops-header-controls button.pops-header-control[type=\"max\"],\r\n.pops-header-controls button.pops-header-control[type=\"mise\"],\r\n.pops-header-controls button.pops-header-control[type=\"min\"] {\r\n\toutline: 0 !important;\r\n\tborder: 0;\r\n\tborder-color: rgb(136, 136, 136, var(--pops-bd-opacity));\r\n\tbackground-color: transparent;\r\n\tcolor: rgb(136, 136, 136);\r\n\tcursor: pointer;\r\n\ttransition: all 0.3s ease-in-out;\r\n}\r\nbutton.pops-header-control i {\r\n\tcolor: rgb(144, 147, 153);\r\n\tfont-size: inherit;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n}\r\nbutton.pops-header-control svg {\r\n\theight: 1.25em;\r\n\twidth: 1.25em;\r\n}\r\nbutton.pops-header-control {\r\n\tright: 15px;\r\n\tpadding: 0;\r\n\tborder: none;\r\n\toutline: 0;\r\n\tbackground: 0 0;\r\n\tcursor: pointer;\r\n\tposition: unset;\r\n\tline-height: normal;\r\n}\r\nbutton.pops-header-control i:hover {\r\n\tcolor: rgb(64, 158, 255);\r\n}\r\n.pops-header-controls[data-margin] button.pops-header-control {\r\n\tmargin: 0 6px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops[type-value] .pops-header-controls {\r\n\tdisplay: flex;\r\n\tgap: 6px;\r\n}\r\n\r\n/* 标题禁止选中文字 */\r\n.pops [class^=\"pops\"][class*=\"-title\"] p[pops] {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n";
|
|
2621
|
-
|
|
2622
|
-
var ninePalaceGridPositionCSS = ".pops[position=\"top_left\"] {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n}\r\n.pops[position=\"top\"] {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 50%;\r\n\ttransform: translateX(-50%);\r\n}\r\n.pops[position=\"top_right\"] {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tright: 0;\r\n}\r\n.pops[position=\"center_left\"] {\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tleft: 0;\r\n\ttransform: translateY(-50%);\r\n}\r\n.pops[position=\"center\"] {\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, -50%);\r\n}\r\n.pops[position=\"center_right\"] {\r\n\tposition: fixed;\r\n\ttop: 50%;\r\n\tright: 0;\r\n\ttransform: translateY(-50%);\r\n}\r\n.pops[position=\"bottom_left\"] {\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n}\r\n.pops[position=\"bottom\"] {\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%, 0);\r\n}\r\n.pops[position=\"bottom_right\"] {\r\n\tposition: fixed;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n";
|
|
2623
|
-
|
|
2624
|
-
var scrollbarCSS = "/* firefox上暂不支持::-webkit-scrollbar */\r\n.pops ::-webkit-scrollbar {\r\n\twidth: 6px;\r\n\theight: 0;\r\n}\r\n\r\n.pops ::-webkit-scrollbar-track {\r\n\twidth: 0;\r\n}\r\n.pops ::-webkit-scrollbar-thumb:hover {\r\n\tbackground: rgb(178, 178, 178, var(--pops-bg-opacity));\r\n}\r\n.pops ::-webkit-scrollbar-thumb {\r\n\tmin-height: 28px;\r\n\tborder-radius: 2em;\r\n\tbackground: rgb(204, 204, 204, var(--pops-bg-opacity));\r\n\tbackground-clip: padding-box;\r\n}\r\n";
|
|
2625
|
-
|
|
2626
|
-
var buttonCSS = ".pops {\r\n\t--button-font-size: 14px;\r\n\t--button-height: 32px;\r\n\t--button-color: rgb(51, 51, 51);\r\n\t--button-bd-color: rgb(220, 223, 230, var(--pops-bd-opacity));\r\n\t--button-bg-color: rgb(220, 223, 230, var(--pops-bg-opacity));\r\n\t--button-margin-top: 0px;\r\n\t--button-margin-bottom: 0px;\r\n\t--button-margin-left: 5px;\r\n\t--button-margin-right: 5px;\r\n\t--button-padding-top: 6px;\r\n\t--button-padding-bottom: 6px;\r\n\t--button-padding-left: 12px;\r\n\t--button-padding-right: 12px;\r\n\t--button-radius: 4px;\r\n\r\n\t--container-title-height: 55px;\r\n\t--container-bottom-btn-height: 55px;\r\n}\r\n.pops[data-bottom-btn=\"false\"] {\r\n\t--container-bottom-btn-height: 0px;\r\n}\r\n.pops button {\r\n\twhite-space: nowrap;\r\n\tfloat: right;\r\n\tdisplay: inline-block;\r\n\tmargin: var(--button-margin-top) var(--button-margin-right)\r\n\t\tvar(--button-margin-bottom) var(--button-margin-left);\r\n\tpadding: var(--button-padding-top) var(--button-padding-right)\r\n\t\tvar(--button-padding-bottom) var(--button-padding-left);\r\n\toutline: 0;\r\n}\r\n.pops button[data-has-icon=\"false\"] .pops-bottom-icon {\r\n\tdisplay: none;\r\n}\r\n.pops button {\r\n\tborder-radius: var(--button-radius);\r\n\tbox-shadow: none;\r\n\tfont-weight: 400;\r\n\tfont-size: var(--button-font-size);\r\n\tcursor: pointer;\r\n\ttransition: all 0.3s ease-in-out;\r\n}\r\n.pops button {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\theight: var(--button-height);\r\n\tline-height: normal;\r\n\tbox-sizing: border-box;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tborder: 1px solid var(--button-bd-color);\r\n}\r\n.pops button {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button:active {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n\toutline: 0;\r\n}\r\n.pops button:hover {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button:focus-visible {\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button:disabled {\r\n\tcursor: not-allowed;\r\n\tcolor: var(--button-color);\r\n\tborder-color: var(--button-bd-color);\r\n\tbackground-color: var(--button-bg-color);\r\n}\r\n.pops button.pops-button-large {\r\n\t--button-height: 32px;\r\n\t--button-padding-top: 12px;\r\n\t--button-padding-bottom: 12px;\r\n\t--button-padding-left: 19px;\r\n\t--button-padding-right: 19px;\r\n\t--button-font-size: 14px;\r\n\t--button-border-radius: 4px;\r\n}\r\n\r\n.pops button.pops-button-small {\r\n\t--button-height: 24px;\r\n\t--button-padding-top: 5px;\r\n\t--button-padding-bottom: 5px;\r\n\t--button-padding-left: 11px;\r\n\t--button-padding-right: 11px;\r\n\t--button-font-size: 12px;\r\n\t--button-border-radius: 4px;\r\n}\r\n.pops-panel-button-no-icon .pops-panel-button_inner i {\r\n\tdisplay: none;\r\n}\r\n.pops-panel-button-right-icon {\r\n}\r\n.pops-panel-button-right-icon .pops-panel-button_inner {\r\n\tflex-direction: row-reverse;\r\n}\r\n.pops-panel-button-right-icon .pops-panel-button_inner i {\r\n}\r\n.pops-panel-button .pops-panel-button_inner i:has(svg),\r\n.pops-panel-button-right-icon .pops-panel-button-text {\r\n\tmargin-right: 6px;\r\n}\r\n\r\n.pops button[type=\"default\"] {\r\n\t--button-color: #333333;\r\n\t--button-bd-color: #dcdfe6;\r\n\t--button-bg-color: #ffffff;\r\n}\r\n.pops button[type=\"default\"]:active {\r\n\t--button-color: #409eff;\r\n\t--button-bd-color: #409eff;\r\n\t--button-bg-color: #ecf5ff;\r\n}\r\n.pops button[type=\"default\"]:hover {\r\n\t--button-color: #409eff;\r\n\t--button-bd-color: #c6e2ff;\r\n\t--button-bg-color: #ecf5ff;\r\n}\r\n.pops button[type=\"default\"]:focus-visible {\r\n\toutline: 2px solid #a0cfff;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"default\"]:disabled {\r\n\t--button-color: #a8abb2;\r\n\t--button-bd-color: #fff;\r\n\t--button-bg-color: #e4e7ed;\r\n}\r\n\r\n.pops button[type=\"primary\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #409eff;\r\n\t--button-bg-color: #409eff;\r\n}\r\n.pops button[type=\"primary\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #337ecc;\r\n\t--button-bg-color: #337ecc;\r\n}\r\n.pops button[type=\"primary\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #79bbff;\r\n\t--button-bg-color: #79bbff;\r\n}\r\n.pops button[type=\"primary\"]:focus-visible {\r\n\toutline: 2px solid #a0cfff;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"primary\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #a0cfff;\r\n\t--button-bg-color: #a0cfff;\r\n}\r\n\r\n.pops button[type=\"success\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #4cae4c;\r\n\t--button-bg-color: #5cb85c;\r\n}\r\n.pops button[type=\"success\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #529b2e;\r\n\t--button-bg-color: #529b2e;\r\n}\r\n.pops button[type=\"success\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #95d475;\r\n\t--button-bg-color: #95d475;\r\n}\r\n.pops button[type=\"success\"]:focus-visible {\r\n\toutline: 2px solid #b3e19d;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"success\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #b3e19d;\r\n\t--button-bg-color: #b3e19d;\r\n}\r\n\r\n.pops button[type=\"info\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #909399;\r\n\t--button-bg-color: #909399;\r\n}\r\n.pops button[type=\"info\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #73767a;\r\n\t--button-bg-color: #73767a;\r\n}\r\n.pops button[type=\"info\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #b1b3b8;\r\n\t--button-bg-color: #b1b3b8;\r\n}\r\n.pops button[type=\"info\"]:focus-visible {\r\n\toutline: 2px solid #c8c9cc;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"info\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #c8c9cc;\r\n\t--button-bg-color: #c8c9cc;\r\n}\r\n\r\n.pops button[type=\"warning\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #e6a23c;\r\n\t--button-bg-color: #e6a23c;\r\n}\r\n.pops button[type=\"warning\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #b88230;\r\n\t--button-bg-color: #b88230;\r\n}\r\n.pops button[type=\"warning\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #eebe77;\r\n\t--button-bg-color: #eebe77;\r\n}\r\n.pops button[type=\"warning\"]:focus-visible {\r\n\toutline: 2px solid #f3d19e;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"warning\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #f3d19e;\r\n\t--button-bg-color: #f3d19e;\r\n}\r\n\r\n.pops button[type=\"danger\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #f56c6c;\r\n\t--button-bg-color: #f56c6c;\r\n}\r\n.pops button[type=\"danger\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #c45656;\r\n\t--button-bg-color: #c45656;\r\n}\r\n.pops button[type=\"danger\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #f89898;\r\n\t--button-bg-color: #f89898;\r\n}\r\n.pops button[type=\"danger\"]:focus-visible {\r\n\toutline: 2px solid #fab6b6;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"danger\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #fab6b6;\r\n\t--button-bg-color: #fab6b6;\r\n}\r\n\r\n.pops button[type=\"xiaomi-primary\"] {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #ff5c00;\r\n\t--button-bg-color: #ff5c00;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:active {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #da4f00;\r\n\t--button-bg-color: #da4f00;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:hover {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #ff7e29;\r\n\t--button-bg-color: #ff7e29;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:focus-visible {\r\n\toutline: 2px solid #fab6b6;\r\n\toutline-offset: 1px;\r\n}\r\n.pops button[type=\"xiaomi-primary\"]:disabled {\r\n\t--button-color: #ffffff;\r\n\t--button-bd-color: #fad5b6;\r\n\t--button-bg-color: #fad5b6;\r\n}\r\n";
|
|
2627
|
-
|
|
2628
|
-
var commonCSS = ".pops-flex-items-center {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-flex-y-center {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n}\r\n.pops-flex-x-center {\r\n\tdisplay: flex;\r\n\talign-content: center;\r\n}\r\n.pops-hide {\r\n\tdisplay: none;\r\n}\r\n.pops-hide-important {\r\n\tdisplay: none !important;\r\n}\r\n.pops-no-border {\r\n\tborder: 0;\r\n}\r\n.pops-no-border-important {\r\n\tborder: 0 !important;\r\n}\r\n.pops-user-select-none {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\t-moz-user-select: none;\r\n}\r\n.pops-line-height-center {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops-width-fill {\r\n\twidth: -webkit-fill-available;\r\n\twidth: -moz-available;\r\n}\r\n";
|
|
2629
|
-
|
|
2630
|
-
var animCSS = "@keyframes rotating {\r\n\t0% {\r\n\t\ttransform: rotate(0);\r\n\t}\r\n\tto {\r\n\t\ttransform: rotate(360deg);\r\n\t}\r\n}\r\n@keyframes iframeLoadingChange_85 {\r\n\t0% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #fff, rgb(202 224 246));\r\n\t}\r\n\t20% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ead0d0, rgb(123 185 246));\r\n\t}\r\n\t40% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #f4b7b7, rgb(112 178 244));\r\n\t}\r\n\t60% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ec9393, rgb(80 163 246));\r\n\t}\r\n\t80% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #e87f7f, rgb(25 139 253));\r\n\t}\r\n\t100% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ee2c2c, rgb(0 124 247));\r\n\t}\r\n\tfrom {\r\n\t\twidth: 75%;\r\n\t}\r\n\tto {\r\n\t\twidth: 100%;\r\n\t}\r\n}\r\n@keyframes iframeLoadingChange {\r\n\t0% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #fff, rgb(202 224 246));\r\n\t}\r\n\t20% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ead0d0, rgb(123 185 246));\r\n\t}\r\n\t40% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #f4b7b7, rgb(112 178 244));\r\n\t}\r\n\t60% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ec9393, rgb(80 163 246));\r\n\t}\r\n\t80% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #e87f7f, rgb(25 139 253));\r\n\t}\r\n\t100% {\r\n\t\tbackground: linear-gradient(to right, #4995dd, #ee2c2c, rgb(0 124 247));\r\n\t}\r\n\tfrom {\r\n\t\twidth: 0;\r\n\t}\r\n\tto {\r\n\t\twidth: 75%;\r\n\t}\r\n}\r\n\r\n@keyframes searchSelectFalIn {\r\n\tfrom {\r\n\t\topacity: 0;\r\n\t\tdisplay:none;\r\n\t}\r\n\tto {\r\n\t\tdisplay:block;\r\n\t\topacity: 1;\r\n\t}\r\n}\r\n@keyframes searchSelectFalOut {\r\n\tfrom {\r\n\t\tdisplay:block;\r\n\t\topacity: 1;\r\n\t}\r\n\tto {\r\n\t\topacity: 0;\r\n\t\tdisplay:none;\r\n\t}\r\n}\r\n\r\n@keyframes pops-anim-wait-rotate {\r\n\tform {\r\n\t\ttransform: rotate(0);\r\n\t}\r\n\tto {\r\n\t\ttransform: rotate(360deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-spread {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scaleX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scaleX(1);\r\n\t}\r\n}\r\n@keyframes pops-anim-shake {\r\n\t0%,\r\n\t100% {\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t10%,\r\n\t30%,\r\n\t50%,\r\n\t70%,\r\n\t90% {\r\n\t\ttransform: translateX(-10px);\r\n\t}\r\n\t20%,\r\n\t40%,\r\n\t60%,\r\n\t80% {\r\n\t\ttransform: translateX(10px);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-left {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-100%) rotate(-120deg);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-right {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(100%) rotate(120deg);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-top {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-bottom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-left {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-right {\r\n\t0% {\r\n\t\ttransform: translateX(200%);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-zoom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale(1);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-alert {\r\n\t0% {\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n\t45% {\r\n\t\ttransform: scale(1.05);\r\n\t}\r\n\t80% {\r\n\t\ttransform: scale(0.95);\r\n\t}\r\n\t100% {\r\n\t\ttransform: scale(1);\r\n\t}\r\n}\r\n@keyframes pops-anim-don {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t2.08333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.75266,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.76342,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t4.16667% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.81071,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.84545,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t6.25% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.86808,\r\n\t\t\t0,\r\n\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\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t37.5% {\r\n\t\ttransform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t39.5833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99617,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99433,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t41.6667% {\r\n\t\ttransform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t43.75% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99237,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00413,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t45.8333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99202,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00651,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t47.9167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99241,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\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, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t89.5833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99991,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00013,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t91.6667% {\r\n\t\ttransform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t93.75% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99983,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99991,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t95.8333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99982,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99985,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t97.9167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99983,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.99984,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-roll {\r\n\t0% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 90deg);\r\n\t}\r\n\t100% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 0deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-sandra {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale3d(1.1, 1.1, 1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale3d(1, 1, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-gather {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(5, 0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale(1, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-spread-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: scaleX(1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scaleX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-shake-reverse {\r\n\t0%,\r\n\t100% {\r\n\t\ttransform: translateX(10px);\r\n\t}\r\n\t10%,\r\n\t30%,\r\n\t50%,\r\n\t70%,\r\n\t90% {\r\n\t\ttransform: translateX(-10px);\r\n\t}\r\n\t20%,\r\n\t40%,\r\n\t60%,\r\n\t80% {\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-left-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-100%) rotate(-120deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-rolling-right-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0) rotate(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(100%) rotate(120deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-top-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-bottom-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-left-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateX(-200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-slide-right-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\ttransform: translateX(200%);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-zoom-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale(1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n}\r\n@keyframes pops-anim-fadein-alert-reverse {\r\n\t0% {\r\n\t\ttransform: scale(1);\r\n\t}\r\n\t45% {\r\n\t\ttransform: scale(0.95);\r\n\t}\r\n\t80% {\r\n\t\ttransform: scale(1.05);\r\n\t}\r\n\t100% {\r\n\t\ttransform: scale(0.5);\r\n\t}\r\n}\r\n@keyframes pops-anim-don-reverse {\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t97.9167% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.75266,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.76342,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t95.8333% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.81071,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.84545,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t93.75% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.86808,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0.9286,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t91.6667% {\r\n\t\ttransform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t89.5833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.96482,\r\n\t\t\t0,\r\n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\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t58.3333% {\r\n\t\ttransform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\r\n\t}\r\n\t56.25% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99237,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00413,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t54.1667% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99202,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00651,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t52.0833% {\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99241,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00726,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1\r\n\t\t);\r\n\t}\r\n\t50% {\r\n\t\topacity: 1;\r\n\t\ttransform: matrix3d(\r\n\t\t\t0.99329,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t1.00671,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\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\t\t);\r\n\t}\r\n}\r\n@keyframes pops-anim-roll-reverse {\r\n\t0% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 0deg);\r\n\t}\r\n\t100% {\r\n\t\ttransform: perspective(1000px) rotate3d(1, 0, 0, 90deg);\r\n\t}\r\n}\r\n@keyframes pops-anim-sandra-reverse {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: scale3d(1, 1, 1);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale3d(1.1, 1.1, 1);\r\n\t}\r\n}\r\n@keyframes pops-anim-gather-reverse {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(5, 0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: scale(5, 0);\r\n\t}\r\n}\r\n\r\n@-webkit-keyframes pops-motion-fadeInTop {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(-30px);\r\n\t\ttransform: translateY(-30px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInTop {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-30px);\r\n\t\t-ms-transform: translateY(-30px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutTop {\r\n\t0% {\r\n\t\topacity: 10;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(-30px);\r\n\t\ttransform: translateY(-30px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutTop {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\ttransform: translateY(0);\r\n\t\t-ms-transform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\ttransform: translateY(-30px);\r\n\t\t-ms-transform: translateY(-30px);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeInBottom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInBottom {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t\t-ms-transform: translateY(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t\t-ms-transform: translateY(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutBottom {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutBottom {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateY(0);\r\n\t\ttransform: translateY(0);\r\n\t\t-ms-transform: translateY(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateY(20px);\r\n\t\ttransform: translateY(20px);\r\n\t\t-ms-transform: translateY(20px);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeInLeft {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-20px);\r\n\t\ttransform: translateX(-20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInLeft {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-30px);\r\n\t\ttransform: translateX(-30px);\r\n\t\t-ms-transform: translateX(-30px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutLeft {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-30px);\r\n\t\ttransform: translateX(-30px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutLeft {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(-20px);\r\n\t\ttransform: translateX(-20px);\r\n\t\t-ms-transform: translateX(-20px);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeInRight {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeInRight {\r\n\t0% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t\t-ms-transform: translateX(20px);\r\n\t}\r\n\t100% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n}\r\n@-webkit-keyframes pops-motion-fadeOutRight {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t}\r\n}\r\n@keyframes pops-motion-fadeOutRight {\r\n\t0% {\r\n\t\topacity: 1;\r\n\t\t-webkit-transform: translateX(0);\r\n\t\ttransform: translateX(0);\r\n\t\t-ms-transform: translateX(0);\r\n\t}\r\n\t100% {\r\n\t\topacity: 0;\r\n\t\t-webkit-transform: translateX(20px);\r\n\t\ttransform: translateX(20px);\r\n\t\t-ms-transform: translateX(20px);\r\n\t}\r\n}\r\n\r\n/* 动画 */\r\n.pops-anim[anim=\"pops-anim-spread\"] {\r\n\tanimation: pops-anim-spread 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-shake\"] {\r\n\tanimation: pops-anim-shake 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-left\"] {\r\n\tanimation: pops-anim-rolling-left 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-right\"] {\r\n\tanimation: pops-anim-rolling-right 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-top\"] {\r\n\tanimation: pops-anim-slide-top 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-bottom\"] {\r\n\tanimation: pops-anim-slide-bottom 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-left\"] {\r\n\tanimation: pops-anim-slide-left 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-right\"] {\r\n\tanimation: pops-anim-slide-right 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein\"] {\r\n\tanimation: pops-anim-fadein 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-zoom\"] {\r\n\tanimation: pops-anim-fadein-zoom 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-alert\"] {\r\n\tanimation: pops-anim-fadein-alert 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-don\"] {\r\n\tanimation: pops-anim-don 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-roll\"] {\r\n\tanimation: pops-anim-roll 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-sandra\"] {\r\n\tanimation: pops-anim-sandra 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-gather\"] {\r\n\tanimation: pops-anim-gather 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-spread-reverse\"] {\r\n\tanimation: pops-anim-spread-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-shake-reverse\"] {\r\n\tanimation: pops-anim-shake-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-left-reverse\"] {\r\n\tanimation: pops-anim-rolling-left-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-rolling-right-reverse\"] {\r\n\tanimation: pops-anim-rolling-right-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-top-reverse\"] {\r\n\tanimation: pops-anim-slide-top-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-bottom-reverse\"] {\r\n\tanimation: pops-anim-slide-bottom-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-left-reverse\"] {\r\n\tanimation: pops-anim-slide-left-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-slide-right-reverse\"] {\r\n\tanimation: pops-anim-slide-right-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-reverse\"] {\r\n\tanimation: pops-anim-fadein-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-zoom-reverse\"] {\r\n\tanimation: pops-anim-fadein-zoom-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-fadein-alert-reverse\"] {\r\n\tanimation: pops-anim-fadein-alert-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-don-reverse\"] {\r\n\tanimation: pops-anim-don-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-roll-reverse\"] {\r\n\tanimation: pops-anim-roll-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-sandra-reverse\"] {\r\n\tanimation: pops-anim-sandra-reverse 0.3s;\r\n}\r\n.pops-anim[anim=\"pops-anim-gather-reverse\"] {\r\n\tanimation: pops-anim-gather-reverse 0.3s;\r\n}\r\n";
|
|
2631
|
-
|
|
2632
|
-
var alertCSS = ".pops[type-value] .pops-alert-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"alert\"] .pops-alert-btn {\r\n\t/*position: absolute;\r\n\tbottom: 0;*/\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n";
|
|
2633
|
-
|
|
2634
|
-
var confirmCSS = ".pops[type-value] .pops-confirm-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"confirm\"] .pops-confirm-btn {\r\n\t/*position: absolute;\r\n\tbottom: 0;*/\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n";
|
|
2635
|
-
|
|
2636
|
-
var promptCSS = ".pops[type-value] .pops-prompt-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"prompt\"] .pops-prompt-btn {\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n.pops[type-value=\"prompt\"] input[pops] {\r\n\tpadding: 5px 10px;\r\n}\r\n.pops[type-value=\"prompt\"] textarea[pops] {\r\n\tpadding: 5px 10px;\r\n\tresize: none;\r\n}\r\n.pops[type-value=\"prompt\"] input[pops],\r\n.pops[type-value=\"prompt\"] textarea[pops] {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\toutline: 0;\r\n\tborder: 0;\r\n\tcolor: rgb(51, 51, 51);\r\n}\r\n";
|
|
2637
|
-
|
|
2638
|
-
var loadingCSS = ".pops[type-value=\"loading\"] {\r\n\tposition: absolute;\r\n\ttop: 272.5px;\r\n\ttop: 50%;\r\n\tleft: 26px;\r\n\tleft: 50%;\r\n\tdisplay: flex;\r\n\toverflow: hidden;\r\n\tpadding: 10px 15px;\r\n\tmax-width: 100%;\r\n\tmax-height: 100%;\r\n\tmin-width: 0;\r\n\tmin-height: 0;\r\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\r\n\tborder-radius: 5px;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: 0 0 5px rgb(0 0 0 / 50%);\r\n\tvertical-align: middle;\r\n\ttransition: all 0.35s;\r\n\ttransform: translate(-50%, -50%);\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"loading\"]:before {\r\n\tfloat: left;\r\n\tdisplay: inline-block;\r\n\twidth: 2em;\r\n\theight: 2em;\r\n\tborder: 0.3em solid rgba(100, 149, 237, 0.1);\r\n\tborder-top: 0.3em solid rgb(100, 149, 237, var(--pops-bd-opacity));\r\n\tborder-radius: 50%;\r\n\tcontent: \" \";\r\n\tvertical-align: middle;\r\n\tfont-size: inherit;\r\n\tanimation: pops-anim-wait-rotate 1.2s linear infinite;\r\n}\r\n.pops[type-value=\"loading\"] .pops-loading-content {\r\n\tposition: static;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tfloat: left;\r\n\toverflow: hidden;\r\n\twidth: auto;\r\n\tfont-size: inherit;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"loading\"] .pops-loading-content p[pops] {\r\n\tdisplay: inline-block;\r\n\tpadding: 5px 0px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\tfont-size: inherit;\r\n\ttext-align: center;\r\n}\r\n";
|
|
2639
|
-
|
|
2640
|
-
var iframeCSS = ".pops[type-value=\"iframe\"] {\r\n\t--container-title-height: 55px;\r\n\ttransition: width 0.35s ease, height 0.35s ease;\r\n}\r\n.pops[type-value] .pops-iframe-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-title {\r\n\twidth: calc(100% - 0px);\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-content {\r\n\twidth: 100%;\r\n\t/*height: calc(100% - var(--container-title-height));*/\r\n\tflex: 1;\r\n\toverflow: hidden;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"iframe\"] .pops-iframe-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: #333;\r\n\ttext-indent: 15px;\r\n}\r\n.pops-loading {\r\n\tposition: absolute;\r\n\ttop: 40px;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n\tz-index: 5;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n}\r\n.pops-loading:before {\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n\tz-index: 3;\r\n\tdisplay: block;\r\n\tmargin: -20px 0 0 -20px;\r\n\tpadding: 20px;\r\n\tborder: 4px solid rgb(221, 221, 221, var(--pops-bd-opacity));\r\n\tborder-radius: 50%;\r\n\tcontent: \"\";\r\n\tborder-top-color: transparent;\r\n\tanimation: pops-anim-wait-rotate 1.2s linear infinite;\r\n}\r\n.pops[type-value=\"iframe\"].pops[type-module=\"min\"] {\r\n\tbottom: 0;\r\n\tmax-width: 200px;\r\n\tmax-height: 53px;\r\n\tposition: unset;\r\n}\r\n.pops[type-value=\"iframe\"].pops[type-module=\"min\"]\r\n\t.pops-header-control[type=\"min\"] {\r\n\tdisplay: none;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-top {\r\n\ttop: unset !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-left {\r\n\tleft: unset !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-transform {\r\n\ttransform: none !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops-iframe-unset-transition {\r\n\ttransition: none !important;\r\n}\r\n.pops[type-value=\"iframe\"].pops[type-module=\"max\"] {\r\n\twidth: 100% !important;\r\n\theight: 100% !important;\r\n}\r\n.pops[type-value=\"iframe\"] iframe[pops] {\r\n\twidth: calc(100% - 4px);\r\n\theight: calc(100% - 4px);\r\n\tborder: 0;\r\n}\r\n.pops-iframe-content-global-loading {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 999999;\r\n\twidth: 0;\r\n\theight: 4px;\r\n\tbackground: linear-gradient(to right, #4995dd, #fff, rgb(202 224 246));\r\n\tanimation: iframeLoadingChange 2s forwards;\r\n}\r\n\r\n.pops-anim:has(.pops[type-value=\"iframe\"].pops[type-module=\"min\"]) {\r\n\tposition: unset;\r\n}\r\n";
|
|
2641
|
-
|
|
2642
|
-
var tooltipCSS = ".pops-tip {\r\n\t--tooltip-color: #4e4e4e;\r\n\t--tooltip-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\t--tooltip-bd-radius: 2px;\r\n\t--tooltip-font-size: 14px;\r\n\t--tooltip-padding-top: 13px;\r\n\t--tooltip-padding-right: 13px;\r\n\t--tooltip-padding-bottom: 13px;\r\n\t--tooltip-padding-left: 13px;\r\n\r\n\t--tooltip-arrow--after-color: rgb(78, 78, 78);\r\n\t--tooltip-arrow--after-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\t--tooltip-arrow--after-width: 12px;\r\n\t--tooltip-arrow--after-height: 12px;\r\n\r\n\tpadding: var(--tooltip-padding-top) var(--tooltip-padding-right)\r\n\t\tvar(--tooltip-padding-bottom) var(--tooltip-padding-left);\r\n\tmax-width: 400px;\r\n\tmax-height: 300px;\r\n\tborder-radius: var(--tooltip-bd-radius);\r\n\tbackground-color: var(--tooltip-bg-color);\r\n\tbox-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);\r\n\tcolor: var(--tooltip-color);\r\n\tfont-size: var(--tooltip-font-size);\r\n}\r\n.pops-tip[data-position=\"absolute\"] {\r\n\tposition: absolute;\r\n}\r\n.pops-tip[data-position=\"fixed\"] {\r\n\tposition: fixed;\r\n}\r\n/* github的样式 */\r\n.pops-tip.github-tooltip {\r\n\t--tooltip-bg-opacity: 1;\r\n\t--tooltip-color: rgb(255, 255, 255);\r\n\t--tooltip-bg-color: rgb(36, 41, 47, var(--tooltip-bg-opacity));\r\n\t--tooltip-bd-radius: 6px;\r\n\t--tooltip-padding-top: 6px;\r\n\t--tooltip-padding-right: 8px;\r\n\t--tooltip-padding-bottom: 6px;\r\n\t--tooltip-padding-left: 8px;\r\n\r\n\t--tooltip-arrow--after-color: rgb(255, 255, 255);\r\n\t--tooltip-arrow--after-bg-color: rgb(36, 41, 47, var(--tooltip-bg-opacity));\r\n\t--tooltip-arrow--after-width: 8px;\r\n\t--tooltip-arrow--after-height: 8px;\r\n}\r\n.pops-tip .pops-tip-arrow {\r\n\tposition: absolute;\r\n\ttop: 100%;\r\n\tleft: 50%;\r\n\toverflow: hidden;\r\n\twidth: 100%;\r\n\theight: 12.5px;\r\n\ttransform: translateX(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow::after {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 50%;\r\n\twidth: var(--tooltip-arrow--after-width);\r\n\theight: var(--tooltip-arrow--after-height);\r\n\tbackground: var(--tooltip-arrow--after-bg-color);\r\n\tcolor: var(--tooltip-arrow--after-color);\r\n\tbox-shadow: 0 1px 7px rgba(0, 0, 0, 0.24), 0 1px 7px rgba(0, 0, 0, 0.12);\r\n\tcontent: \"\";\r\n\ttransform: translateX(-50%) translateY(-50%) rotate(45deg);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"bottom\"] {\r\n\tposition: absolute;\r\n\ttop: 100%;\r\n\tleft: 50%;\r\n\toverflow: hidden;\r\n\twidth: 100%;\r\n\theight: 12.5px;\r\n\ttransform: translateX(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"bottom\"]:after {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 50%;\r\n\twidth: var(--tooltip-arrow--after-width);\r\n\theight: var(--tooltip-arrow--after-height);\r\n\tbackground: var(--tooltip-arrow--after-bg-color);\r\n\tbox-shadow: 0 1px 7px rgba(0, 0, 0, 0.24), 0 1px 7px rgba(0, 0, 0, 0.12);\r\n\tcontent: \"\";\r\n\ttransform: translateX(-50%) translateY(-50%) rotate(45deg);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"left\"] {\r\n\ttop: 50%;\r\n\tleft: -12.5px;\r\n\twidth: 12.5px;\r\n\theight: 50px;\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"left\"]:after {\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 100%;\r\n\tcontent: \"\";\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"right\"] {\r\n\ttop: 50%;\r\n\tright: -12.5px;\r\n\tleft: auto;\r\n\twidth: 12.5px;\r\n\theight: 50px;\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"right\"]:after {\r\n\tposition: absolute;\r\n\ttop: 50%;\r\n\tleft: 0;\r\n\tcontent: \"\";\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"top\"] {\r\n\ttop: -12.5px;\r\n\tleft: 50%;\r\n\ttransform: translateX(-50%);\r\n}\r\n\r\n.pops-tip .pops-tip-arrow[data-position=\"top\"]:after {\r\n\tposition: absolute;\r\n\ttop: 100%;\r\n\tleft: 50%;\r\n\tcontent: \"\";\r\n}\r\n\r\n.pops-tip[data-motion] {\r\n\t-webkit-animation-duration: 0.25s;\r\n\tanimation-duration: 0.25s;\r\n\t-webkit-animation-fill-mode: forwards;\r\n\tanimation-fill-mode: forwards;\r\n}\r\n.pops-tip[data-motion=\"fadeOutRight\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutRight;\r\n\tanimation-name: pops-motion-fadeOutRight;\r\n}\r\n.pops-tip[data-motion=\"fadeInTop\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInTop;\r\n\tanimation-name: pops-motion-fadeInTop;\r\n\tanimation-timing-function: cubic-bezier(0.49, 0.49, 0.13, 1.3);\r\n}\r\n.pops-tip[data-motion=\"fadeOutTop\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutTop;\r\n\tanimation-name: pops-motion-fadeOutTop;\r\n\tanimation-timing-function: cubic-bezier(0.32, 0.37, 0.06, 0.87);\r\n}\r\n.pops-tip[data-motion=\"fadeInBottom\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInBottom;\r\n\tanimation-name: pops-motion-fadeInBottom;\r\n}\r\n.pops-tip[data-motion=\"fadeOutBottom\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutBottom;\r\n\tanimation-name: pops-motion-fadeOutBottom;\r\n}\r\n.pops-tip[data-motion=\"fadeInLeft\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInLeft;\r\n\tanimation-name: pops-motion-fadeInLeft;\r\n}\r\n.pops-tip[data-motion=\"fadeOutLeft\"] {\r\n\t-webkit-animation-name: pops-motion-fadeOutLeft;\r\n\tanimation-name: pops-motion-fadeOutLeft;\r\n}\r\n.pops-tip[data-motion=\"fadeInRight\"] {\r\n\t-webkit-animation-name: pops-motion-fadeInRight;\r\n\tanimation-name: pops-motion-fadeInRight;\r\n}\r\n";
|
|
2643
|
-
|
|
2644
|
-
var drawerCSS = ".pops[type-value=\"drawer\"] {\r\n\tposition: fixed;\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbox-shadow: 0px 16px 48px 16px rgba(0, 0, 0, 0.08),\r\n\t\t0px 12px 32px rgba(0, 0, 0, 0.12), 0px 8px 16px -8px rgba(0, 0, 0, 0.16);\r\n\toverflow: hidden;\r\n\ttransition: all 0.3s;\r\n}\r\n.pops[type-value] .pops-drawer-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value] .pops-drawer-title p[pops] {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n\r\n.pops-drawer-content {\r\n\tflex: 1;\r\n\toverflow: auto;\r\n}\r\n.pops[type-value=\"drawer\"] .pops-drawer-btn {\r\n\tpadding-top: 10px;\r\n\tpadding-bottom: 10px;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"top\"] {\r\n\twidth: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\ttop: 0;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"bottom\"] {\r\n\twidth: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"left\"] {\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tleft: 0;\r\n}\r\n.pops[type-value=\"drawer\"][direction=\"right\"] {\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tbottom: 0;\r\n\tright: 0;\r\n}\r\n";
|
|
2645
|
-
|
|
2646
|
-
var folderCSS = ".pops[type-value] .pops-folder-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-content p[pops] {\r\n\tpadding: 5px 10px;\r\n\tcolor: rgb(51, 51, 51);\r\n\ttext-indent: 15px;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"folder\"] .pops-folder-btn {\r\n\t/*position: absolute;\r\n\tbottom: 0;*/\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-items: center;\r\n}\r\n.pops-folder-list .cursor-p {\r\n\tcursor: pointer;\r\n}\r\n.pops-folder-list a {\r\n\tbackground: 0 0;\r\n\ttext-decoration: none;\r\n\t-webkit-tap-highlight-color: transparent;\r\n\tcolor: #05082c;\r\n}\r\ntable.pops-folder-list-table__body,\r\ntable.pops-folder-list-table__header {\r\n\twidth: 100%;\r\n\ttable-layout: fixed;\r\n\tborder-collapse: collapse;\r\n\tborder-spacing: 0;\r\n\tpadding: 0 20px;\r\n}\r\ntable.pops-folder-list-table__body,\r\ntable.pops-folder-list-table__header {\r\n\theight: 100%;\r\n\tbackground: 0 0;\r\n\toverflow: hidden;\r\n\tdisplay: -webkit-box;\r\n\tdisplay: -ms-flexbox;\r\n\t-ms-flex-direction: column;\r\n\t-webkit-box-orient: vertical;\r\n\t-webkit-box-direction: normal;\r\n}\r\ntable.pops-folder-list-table__body {\r\n\theight: 100%;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n.pops-folder-list table tr {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops-folder-list-table__header-row {\r\n\theight: 50px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tcolor: rgb(129, 137, 153);\r\n\ttext-align: left;\r\n\tfont-size: 12px;\r\n}\r\n.pops-folder-list-table__header-row {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n.pops-folder-list-table__body-row {\r\n\theight: 50px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tcolor: #03081a;\r\n\tfont-size: 12px;\r\n}\r\n.pops-folder-list-table__body-row:hover {\r\n\tbackground: rgb(245, 246, 247, var(--pops-bg-opacity));\r\n}\r\n.pops-folder-list table th {\r\n\tborder: 0;\r\n\tborder-bottom: 1px solid rgb(247, 248, 250, var(--pops-bg-opacity));\r\n}\r\n.pops-folder-list table td {\r\n\tborder: 0;\r\n\tborder-bottom: 1px solid rgb(247, 248, 250, var(--pops-bg-opacity));\r\n\tposition: relative;\r\n}\r\n.pops-folder-list .list-name-text {\r\n\tdisplay: inline-block;\r\n\tpadding-left: 12px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tmax-width: 176px;\r\n}\r\n.pops-folder-list-file-name > div {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.pops-mobile-folder-list-file-name {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-mobile-folder-list-file-name > div {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tjustify-content: flex-start;\r\n\talign-items: flex-start;\r\n\tpadding: 6px 0px;\r\n\tflex-direction: column;\r\n}\r\n.pops-mobile-folder-list-file-name img.pops-folder-list-file-icon {\r\n\twidth: 45px;\r\n\theight: 45px;\r\n}\r\n.pops-mobile-folder-list-file-name a.pops-folder-list-file-name-title-text {\r\n\tpadding-left: unset;\r\n\tmax-width: 250px;\r\n\toverflow-x: hidden;\r\n\tfont-weight: 400;\r\n\tline-height: unset;\r\n\tmargin-bottom: 4px;\r\n\twhite-space: normal;\r\n\ttext-overflow: unset;\r\n}\r\n\r\n/* 修改滚动 */\r\n.pops-folder-content {\r\n\toverflow: hidden !important;\r\n}\r\n.pops-folder-content .pops-folder-list {\r\n\theight: 100%;\r\n}\r\n.pops-folder-content .pops-folder-list-table__body-div {\r\n\theight: 100%;\r\n\tpadding-bottom: 85px;\r\n}\r\n.pops-mobile-folder-content .pops-folder-list-table__body-div {\r\n\theight: 100%;\r\n\tpadding-bottom: 40px;\r\n}\r\n.pops-folder-content table.pops-folder-list-table__body {\r\n\toverflow: auto;\r\n}\r\n.pops-mobile-folder-content .pops-folder-list-table__header-div {\r\n\tdisplay: none;\r\n}\r\n\r\n.pops-folder-list-file-name-title-text:hover {\r\n\ttext-decoration: none;\r\n\tcolor: rgb(6, 167, 255);\r\n}\r\n.pops-folder-list .text-ellip {\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-overflow: ellipsis;\r\n}\r\n.pops-folder-list .content {\r\n\tcolor: rgb(129, 137, 153);\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\ttext-align: left;\r\n}\r\n.pops-folder-list .inline-block-v-middle {\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n}\r\n.pops-folder-list .flex-a-i-center {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-folder-list .u-file-icon {\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n}\r\n.pops-folder-list .u-file-icon--list {\r\n\twidth: 32px;\r\n\theight: 32px;\r\n}\r\n.pops-folder-list .pops-folder-list-file-icon {\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tposition: relative;\r\n\tvertical-align: middle;\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-primary {\r\n\tdisplay: -webkit-box;\r\n\tdisplay: -webkit-flex;\r\n\tdisplay: -ms-flexbox;\r\n\tdisplay: flex;\r\n\t-webkit-box-align: center;\r\n\t-webkit-align-items: center;\r\n\t-ms-flex-align: center;\r\n\talign-items: center;\r\n\t-webkit-box-orient: horizontal;\r\n\t-webkit-box-direction: normal;\r\n\t-webkit-flex-direction: row;\r\n\t-ms-flex-direction: row;\r\n\tflex-direction: row;\r\n\tmin-height: 17px;\r\n\tflex-wrap: wrap;\r\n}\r\n.pops-folder-list .pops-folder-list-table__sort {\r\n\tdisplay: inline-flex;\r\n\tmargin-left: 4px;\r\n\tflex-direction: column;\r\n}\r\n\r\n.pops-folder-list .pops-folder-icon-arrow {\r\n\twidth: 10px;\r\n\theight: 10px;\r\n\tfill: rgb(212, 215, 222);\r\n}\r\n.pops-folder-list .pops-folder-icon-active {\r\n\tfill: rgb(6, 167, 255);\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb {\r\n\tpadding: 4px 20px;\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tdisplay: -webkit-box;\r\n\tdisplay: -webkit-flex;\r\n\tdisplay: -ms-flexbox;\r\n\tdisplay: flex;\r\n\t-webkit-box-align: center;\r\n\t-webkit-align-items: center;\r\n\t-ms-flex-align: center;\r\n\talign-items: center;\r\n\t-webkit-box-orient: horizontal;\r\n\t-webkit-box-direction: normal;\r\n\t-webkit-flex-direction: row;\r\n\t-ms-flex-direction: row;\r\n\tflex-direction: row;\r\n\t-webkit-box-pack: start;\r\n\t-webkit-justify-content: start;\r\n\t-ms-flex-pack: start;\r\n\tjustify-content: flex-start;\r\n\tmin-height: 35px;\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles {\r\n\tfont-size: 12px;\r\n\tcolor: #333;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tfont-weight: 700;\r\n\tdisplay: inline-block;\r\n\tmax-width: 140px;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tword-wrap: normal;\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:last-child a {\r\n\tcolor: rgb(153, 153, 153);\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:first-child a {\r\n\tfont-size: 14px;\r\n\tcolor: rgb(18, 22, 26);\r\n}\r\n.pops-folder-list .pops-folder-file-list-breadcrumb .iconArrow {\r\n\twidth: 16px;\r\n\theight: 16px;\r\n}\r\n.pops-folder-list .iconArrow {\r\n\tbackground: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAASCAMAAABYd88+AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTOLi4uLi4t7e3uPj49/f397e3t3d3f///97e3vDw8N3d3d7e3t3d3d3d3ejo6N/f397e3t7e3t3d3d/f393d3d3d3RK+NoEAAAAWdFJOUwAnM4YPU/iQA+UIeMDaHhY41i7zX7UebpjFAAAAUElEQVQI15XOORaAIAwE0LATXHCd+x9VfCiksXCq+UUWou8oZ1vXHrt7YVBiYkW4gdMKYFIC4CSATWCNHWPuM6HuHkr1x3N0ZrBu/9gl0b9c3+kF7C7hS1YAAAAASUVORK5CYII=)\r\n\t\t55% 50%/6px 9px no-repeat;\r\n}\r\n";
|
|
2647
|
-
|
|
2648
|
-
var panelCSS = ".pops[type-value=\"panel\"] {\r\n\t--el-disabled-text-color: #a8abb2;\r\n\t--el-disabled-bg-color: #f5f7fa;\r\n\t--el-disabled-border-color: #e4e7ed;\r\n\t--pops-bg-color: #f2f2f2;\r\n\t--pops-color: #333;\r\n\t--title-bg-color: #ffffff;\r\n\t--aside-bg-color: #ffffff;\r\n\t--aside-hover-color: rgb(64, 158, 255);\r\n\t--aside-hover-bg-color: rgba(64, 158, 255, 0.1);\r\n\r\n\t--pops-panel-forms-margin-top-bottom: 10px;\r\n\t--pops-panel-forms-margin-left-right: 20px;\r\n\t--pops-panel-forms-header-icon-size: 20px;\r\n\t--pops-panel-forms-header-padding-top-bottom: 15px;\r\n\t--pops-panel-forms-header-padding-left-right: 10px;\r\n\t--pops-panel-forms-container-item-bg-color: #ffffff;\r\n\t--pops-panel-forms-container-item-title-color: #333;\r\n\t--pops-panel-forms-container-item-border-radius: 6px;\r\n\t--pops-panel-forms-container-item-margin-top-bottom: 10px;\r\n\t--pops-panel-forms-container-item-margin-left-right: var(\r\n\t\t--pops-panel-forms-margin-left-right\r\n\t);\r\n\t--pops-panel-forms-container-li-padding-top-bottom: 12px;\r\n\t--pops-panel-forms-container-li-padding-left-right: 16px;\r\n}\r\n.pops[type-value=\"panel\"] {\r\n\tcolor: var(--pops-color);\r\n\tbackground: var(--pops-bg-color);\r\n}\r\n.pops[type-value] .pops-panel-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n\tbackground: var(--title-bg-color);\r\n}\r\n\r\n.pops[type-value=\"panel\"] .pops-panel-title {\r\n\twidth: 100%;\r\n\theight: var(--container-title-height);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n}\r\n.pops[type-value=\"panel\"] .pops-panel-title p[pops] {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\ttext-indent: 15px;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n}\r\n.pops[type-value=\"panel\"] .pops-panel-content {\r\n\twidth: 100%;\r\n\t/*height: calc(\r\n\t\t100% - var(--container-title-height) - var(--container-bottom-btn-height)\r\n\t);*/\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tword-break: break-word;\r\n}\r\n.pops[type-value=\"panel\"] .pops-panel-btn {\r\n\tdisplay: flex;\r\n\tpadding: 10px 10px 10px 10px;\r\n\twidth: 100%;\r\n\theight: var(--container-bottom-btn-height);\r\n\tmax-height: var(--container-bottom-btn-height);\r\n\tline-height: normal;\r\n\tborder-top: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: right;\r\n\talign-content: center;\r\n\talign-items: center;\r\n}\r\n\r\n/* ↓panel的CSS↓ */\r\naside.pops-panel-aside {\r\n\toverflow: auto;\r\n\tbox-sizing: border-box;\r\n\tflex-shrink: 0;\r\n\tmax-width: 200px;\r\n\tmin-width: 100px;\r\n\theight: 100%;\r\n\tbackground: var(--aside-bg-color);\r\n\tborder-right: 1px solid var(--aside-bg-color);\r\n\tfont-size: 0.9em;\r\n}\r\naside.pops-panel-aside {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n.pops-panel-content {\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tflex: 1;\r\n\toverflow: auto;\r\n\tflex-basis: auto;\r\n\tbox-sizing: border-box;\r\n\tmin-width: 0;\r\n\tbottom: 0 !important;\r\n}\r\nsection.pops-panel-container {\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\nsection.pops-panel-container .pops-panel-container-header-ul,\r\nsection.pops-panel-container .pops-panel-deepMenu-container-header-ul {\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\tflex: 0 auto;\r\n}\r\nsection.pops-panel-container .pops-panel-container-header-ul li {\r\n\ttext-align: left;\r\n\tdisplay: flex;\r\n\tjustify-content: flex-start !important;\r\n\tmargin: 0px !important;\r\n\tpadding: var(--pops-panel-forms-header-padding-top-bottom)\r\n\t\tcalc(\r\n\t\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\t\tvar(--pops-panel-forms-container-li-padding-left-right)\r\n\t\t);\r\n}\r\nsection.pops-panel-container > ul:last-child {\r\n\toverflow: auto;\r\n\tflex: 1;\r\n}\r\naside.pops-panel-aside ul li {\r\n\tmargin: 6px 8px;\r\n\tborder-radius: 4px;\r\n\tpadding: 6px 10px;\r\n\tcursor: default;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: flex-start;\r\n}\r\naside.pops-panel-aside .pops-is-visited,\r\naside.pops-panel-aside ul li:hover {\r\n\tcolor: var(--aside-hover-color);\r\n\tbackground: var(--aside-hover-bg-color);\r\n}\r\nsection.pops-panel-container > ul li:not(.pops-panel-forms-container-item) {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n\tmargin: var(--pops-panel-forms-margin-top-bottom)\r\n\t\tcalc(\r\n\t\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\t\tvar(--pops-panel-forms-margin-left-right)\r\n\t\t);\r\n\tgap: 10px;\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item-header-text {\r\n\tmargin: 10px;\r\n\tmargin-left: calc(\r\n\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\tvar(--pops-panel-forms-container-li-padding-left-right)\r\n\t);\r\n\tfont-size: 0.9em;\r\n\ttext-align: left;\r\n\tcolor: var(--pops-panel-forms-container-item-title-color);\r\n}\r\nsection.pops-panel-container li.pops-panel-forms-container-item {\r\n\tdisplay: block;\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item ul {\r\n\tborder-radius: var(--pops-panel-forms-container-item-border-radius);\r\n\tbackground: var(--pops-panel-forms-container-item-bg-color);\r\n\tmargin: var(--pops-panel-forms-container-item-margin-top-bottom)\r\n\t\tvar(--pops-panel-forms-margin-left-right);\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item ul li {\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n\tpadding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px;\r\n\tmargin: 0px var(--pops-panel-forms-container-li-padding-left-right);\r\n\tborder-bottom: 1px solid rgb(229, 229, 229, var(--pops-bd-opacity));\r\n\ttext-align: left;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-container-item\r\n\tul\r\n\tli.pops-panel-deepMenu-nav-item {\r\n\tpadding: var(--pops-panel-forms-container-li-padding-top-bottom)\r\n\t\tvar(--pops-panel-forms-container-li-padding-left-right);\r\n\tmargin: 0px;\r\n\tborder-bottom: 0;\r\n}\r\nsection.pops-panel-container .pops-panel-forms-container-item ul li:last-child {\r\n\tborder: 0;\r\n}\r\n/* 主文字 */\r\n/*section.pops-panel-container\r\n\t.pops-panel-forms-container-item\r\n\t.pops-panel-item-left-text\r\n\t.pops-panel-item-left-main-text {\r\n\tline-height: 2;\r\n}*/\r\n/* 描述文字 */\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-container-item\r\n\t.pops-panel-item-left-text\r\n\t.pops-panel-item-left-desc-text {\r\n\tline-height: normal;\r\n\tmargin-top: 6px;\r\n\tfont-size: 0.8em;\r\n\tcolor: rgb(108, 108, 108);\r\n}\r\n\r\n/* 折叠面板 */\r\n\r\nsection.pops-panel-container .pops-panel-forms-fold {\r\n\tborder-radius: var(--pops-panel-forms-container-item-border-radius);\r\n\tbackground: var(--pops-panel-forms-container-item-bg-color);\r\n\tmargin: var(--pops-panel-forms-margin-top-bottom)\r\n\t\tvar(--pops-panel-forms-margin-left-right);\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold\r\n\t.pops-panel-forms-fold-container {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tfill: #6c6c6c;\r\n\tjustify-content: space-between;\r\n\tmargin: 0px var(--pops-panel-forms-container-li-padding-left-right) !important;\r\n\tpadding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px !important;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold[data-fold-enable]\r\n\t.pops-panel-forms-fold-container-icon {\r\n\ttransform: rotate(90deg);\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold\r\n\t.pops-panel-forms-fold-container-icon {\r\n\twidth: 15px;\r\n\theight: 15px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\ttransform: rotate(-90deg);\r\n\ttransition: transform 0.3s;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold[data-fold-enable]\r\n\t.pops-panel-forms-container-item-formlist {\r\n\theight: 0;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-forms-fold\r\n\t.pops-panel-forms-container-item-formlist {\r\n\ttransition: height 0.3s;\r\n\toverflow: hidden;\r\n\tborder-radius: unset;\r\n\tbackground: unset;\r\n\tmargin: 0;\r\n\theight: auto;\r\n\theight: calc-size(auto, size);\r\n}\r\n/* 折叠面板 */\r\n\r\n/* 姑且认为小于600px的屏幕为移动端 */\r\n@media (max-width: 600px) {\r\n\t/* 兼容移动端CSS */\r\n\t.pops[type-value=\"panel\"] {\r\n\t\t--pops-panel-forms-margin-left-right: 10px;\r\n\t}\r\n\t.pops[type-value=\"panel\"] {\r\n\t\twidth: 92%;\r\n\t\twidth: 92vw;\r\n\t\twidth: 92dvw;\r\n\t}\r\n\t.pops[type-value=\"panel\"] .pops-panel-content aside.pops-panel-aside {\r\n\t\tmax-width: 20%;\r\n\t\tmin-width: auto;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-forms-container-item\r\n\t\t> div {\r\n\t\ttext-align: left;\r\n\t\t--pops-panel-forms-margin-left-right: 0px;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-forms-container-item\r\n\t\tul {\r\n\t\tmargin: 0px !important;\r\n\t}\r\n\t.pops[type-value=\"panel\"] section.pops-panel-container > ul > li {\r\n\t\tmargin: 10px 10px;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t> ul\r\n\t\t> li\r\n\t\tdiv:nth-child(2) {\r\n\t\tmax-width: 55%;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-select\r\n\t\tselect {\r\n\t\tmin-width: 88px !important;\r\n\t\twidth: -webkit-fill-available;\r\n\t\twidth: -moz-available;\r\n\t}\r\n\t.pops[type-value=\"panel\"]\r\n\t\tsection.pops-panel-container\r\n\t\t.pops-panel-container-header-ul\r\n\t\tli {\r\n\t\tfont-size: 16px;\r\n\t}\r\n\t.pops[type-value=\"panel\"] .pops-panel-title p[pops],\r\n\t.pops[type-value=\"panel\"] section.pops-panel-container > ul li,\r\n\t.pops[type-value=\"panel\"] aside.pops-panel-aside ul li {\r\n\t\tfont-size: 14px;\r\n\t}\r\n}\r\n/* switch的CSS */\r\n.pops-panel-switch {\r\n\tdisplay: inline-flex;\r\n\tflex-direction: row-reverse;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfont-size: 14px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\theight: 32px;\r\n\tvertical-align: middle;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\t-moz-user-select: none;\r\n}\r\n.pops-panel-switch input.pops-panel-switch__input {\r\n\tposition: absolute;\r\n\twidth: 0;\r\n\theight: 0;\r\n\topacity: 0;\r\n\tmargin: 0;\r\n}\r\n.pops-panel-switch:has(input.pops-panel-switch__input:disabled),\r\n.pops-panel-switch[data-disabled],\r\n.pops-panel-switch[data-disabled] .pops-panel-switch__core,\r\n.pops-panel-switch\r\n\tinput.pops-panel-switch__input:disabled\r\n\t+ .pops-panel-switch__core {\r\n\tcursor: not-allowed;\r\n\topacity: 0.6;\r\n}\r\n.pops-panel-switch span.pops-panel-switch__core {\r\n\tdisplay: inline-flex;\r\n\tposition: relative;\r\n\talign-items: center;\r\n\tmin-width: 40px;\r\n\theight: 20px;\r\n\tborder: 1px solid rgb(220, 223, 230, var(--pops-bd-opacity));\r\n\toutline: 0;\r\n\tborder-radius: 10px;\r\n\tbox-sizing: border-box;\r\n\tbackground: rgb(220, 223, 230, var(--pops-bg-opacity));\r\n\tcursor: pointer;\r\n\ttransition: border-color 0.3s, background-color 0.3s;\r\n}\r\n.pops-panel-switch .pops-panel-switch__action {\r\n\tposition: absolute;\r\n\tleft: 1px;\r\n\tborder-radius: 100%;\r\n\ttransition: all 0.3s;\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tcolor: rgb(220, 223, 230);\r\n}\r\n.pops-panel-switch.pops-panel-switch-is-checked span.pops-panel-switch__core {\r\n\tborder-color: rgb(64, 158, 255, var(--pops-bd-opacity));\r\n\tbackground-color: rgb(64, 158, 255, var(--pops-bg-opacity));\r\n}\r\n.pops-panel-switch.pops-panel-switch-is-checked .pops-panel-switch__action {\r\n\tleft: calc(100% - 17px);\r\n\tcolor: rgb(64, 158, 255);\r\n}\r\n/* switch的CSS */\r\n\r\n/* slider旧的CSS */\r\nsection.pops-panel-container .pops-panel-slider:has(> input[type=\"range\"]) {\r\n\toverflow: hidden;\r\n\theight: 25px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\nsection.pops-panel-container .pops-panel-slider input[type=\"range\"] {\r\n\theight: 6px;\r\n\tbackground: rgb(228, 231, 237, var(--pops-bg-opacity));\r\n\toutline: 0;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\twidth: 100%;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-slider\r\n\tinput[type=\"range\"]::-webkit-slider-thumb {\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tborder-radius: 50%;\r\n\tborder: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2);\r\n\tcursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\tborder-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-slider\r\n\tinput[type=\"range\"]::-moz-range-thumb {\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tborder-radius: 50%;\r\n\tborder: 1px solid rgb(64, 159, 255, var(--pops-bd-opacity));\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2);\r\n\tcursor: pointer;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n}\r\nsection.pops-panel-container\r\n\t.pops-panel-slider\r\n\tinput[type=\"range\"]::-moz-range-progress {\r\n\theight: 6px;\r\n\tborder-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;\r\n}\r\n/* slider旧的CSS */\r\n\r\n/* slider的CSS */\r\n.pops-slider {\r\n\t--pops-slider-color-white: #ffffff;\r\n\t--pops-slider-color-primary: #409eff;\r\n\t--pops-slider-color-info: #909399;\r\n\t--pops-slider-text-color-placeholder: #a8abb2;\r\n\t--pops-slider-border-color-light: #e4e7ed;\r\n\t--pops-slider-border-radius-circle: 100%;\r\n\t--pops-slider-transition-duration-fast: 0.2s;\r\n\r\n\t--pops-slider-main-bg-color: var(--pops-slider-color-primary);\r\n\t--pops-slider-runway-bg-color: var(--pops-slider-border-color-light);\r\n\t--pops-slider-stop-bg-color: var(--pops-slider-color-white);\r\n\t--pops-slider-disabled-color: var(--pops-slider-text-color-placeholder);\r\n\t--pops-slider-border-radius: 3px;\r\n\t--pops-slider-height: 6px;\r\n\t--pops-slider-button-size: 20px;\r\n\t--pops-slider-button-wrapper-size: 36px;\r\n\t--pops-slider-button-wrapper-offset: -15px;\r\n}\r\n\r\n.pops-slider {\r\n\twidth: 100%;\r\n\theight: 32px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\t-moz-user-select: none;\r\n}\r\n\r\n.pops-slider-width {\r\n\tflex: 0 0 52%;\r\n\tmargin-left: 10px;\r\n}\r\n\r\n.pops-slider__runway {\r\n\tflex: 1;\r\n\theight: var(--pops-slider-height);\r\n\tbackground-color: var(--pops-slider-runway-bg-color);\r\n\tborder-radius: var(--pops-slider-border-radius);\r\n\tposition: relative;\r\n\tcursor: pointer;\r\n}\r\n\r\n.pops-slider__runway.show-input {\r\n\tmargin-right: 30px;\r\n\twidth: auto;\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled {\r\n\tcursor: default;\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__bar {\r\n\tbackground-color: var(--pops-slider-disabled-color);\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button {\r\n\tborder-color: var(--pops-slider-disabled-color);\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {\r\n\tcursor: not-allowed;\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {\r\n\ttransform: scale(1);\r\n}\r\n\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,\r\n.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {\r\n\tcursor: not-allowed;\r\n}\r\n\r\n.pops-slider__input {\r\n\tflex-shrink: 0;\r\n\twidth: 130px;\r\n}\r\n\r\n.pops-slider__bar {\r\n\theight: var(--pops-slider-height);\r\n\tbackground-color: var(--pops-slider-main-bg-color);\r\n\tborder-top-left-radius: var(--pops-slider-border-radius);\r\n\tborder-bottom-left-radius: var(--pops-slider-border-radius);\r\n\tposition: absolute;\r\n}\r\n\r\n.pops-slider__button-wrapper {\r\n\theight: var(--pops-slider-button-wrapper-size);\r\n\twidth: var(--pops-slider-button-wrapper-size);\r\n\tposition: absolute;\r\n\tz-index: 1;\r\n\ttop: var(--pops-slider-button-wrapper-offset);\r\n\ttransform: translate(-50%);\r\n\tbackground-color: transparent;\r\n\ttext-align: center;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tline-height: normal;\r\n\toutline: none;\r\n}\r\n\r\n.pops-slider__button-wrapper:after {\r\n\tdisplay: inline-block;\r\n\tcontent: \"\";\r\n\theight: 100%;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.pops-slider__button:hover,\r\n.pops-slider__button.hover {\r\n\tcursor: grab;\r\n}\r\n\r\n.pops-slider__button {\r\n\tdisplay: inline-block;\r\n\twidth: var(--pops-slider-button-size);\r\n\theight: var(--pops-slider-button-size);\r\n\tvertical-align: middle;\r\n\tborder: solid 2px var(--pops-slider-main-bg-color);\r\n\tbackground-color: var(--pops-slider-color-white);\r\n\tborder-radius: 50%;\r\n\tbox-sizing: border-box;\r\n\ttransition: var(--pops-slider-transition-duration-fast);\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.pops-slider__button:hover,\r\n.pops-slider__button.hover,\r\n.pops-slider__button.dragging {\r\n\ttransform: scale(1.2);\r\n}\r\n\r\n.pops-slider__button:hover,\r\n.pops-slider__button.hover {\r\n\tcursor: grab;\r\n}\r\n\r\n.pops-slider__button.dragging {\r\n\tcursor: grabbing;\r\n}\r\n\r\n.pops-slider__stop {\r\n\tposition: absolute;\r\n\theight: var(--pops-slider-height);\r\n\twidth: var(--pops-slider-height);\r\n\tborder-radius: var(--pops-slider-border-radius-circle);\r\n\tbackground-color: var(--pops-slider-stop-bg-color);\r\n\ttransform: translate(-50%);\r\n}\r\n\r\n.pops-slider__marks {\r\n\ttop: 0;\r\n\tleft: 12px;\r\n\twidth: 18px;\r\n\theight: 100%;\r\n}\r\n\r\n.pops-slider__marks-text {\r\n\tposition: absolute;\r\n\ttransform: translate(-50%);\r\n\tfont-size: 14px;\r\n\tcolor: var(--pops-slider-color-info);\r\n\tmargin-top: 15px;\r\n\twhite-space: pre;\r\n}\r\n\r\n.pops-slider.is-vertical {\r\n\tposition: relative;\r\n\tdisplay: inline-flex;\r\n\twidth: auto;\r\n\theight: 100%;\r\n\tflex: 0;\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__runway {\r\n\twidth: var(--pops-slider-height);\r\n\theight: 100%;\r\n\tmargin: 0 16px;\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__bar {\r\n\twidth: var(--pops-slider-height);\r\n\theight: auto;\r\n\tborder-radius: 0 0 3px 3px;\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__button-wrapper {\r\n\ttop: auto;\r\n\tleft: var(--pops-slider-button-wrapper-offset);\r\n\ttransform: translateY(50%);\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__stop {\r\n\ttransform: translateY(50%);\r\n}\r\n\r\n.pops-slider.is-vertical .pops-slider__marks-text {\r\n\tmargin-top: 0;\r\n\tleft: 15px;\r\n\ttransform: translateY(50%);\r\n}\r\n\r\n.pops-slider--large {\r\n\theight: 40px;\r\n}\r\n\r\n.pops-slider--small {\r\n\theight: 24px;\r\n}\r\n/* slider的CSS */\r\n\r\n/* input的CSS */\r\n.pops-panel-input {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tborder: 1px solid #dcdfe6;\r\n\tborder-radius: 4px;\r\n\tbackground-color: #ffffff;\r\n\tposition: relative;\r\n}\r\n.pops-panel-input:hover {\r\n\tbox-shadow: 0 0 0 1px #c0c4cc inset;\r\n}\r\n.pops-panel-input:has(input:focus) {\r\n\toutline: 0;\r\n\tborder: 1px solid #409eff;\r\n\tborder-radius: 4px;\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-input input {\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\ttext-align: start;\r\n\talign-items: center;\r\n\talign-content: center;\r\n\twhite-space: nowrap;\r\n\tcursor: text;\r\n\tbox-sizing: border-box;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tvertical-align: middle;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\tbackground-color: transparent;\r\n\toutline: 0;\r\n\ttransition: 0.1s;\r\n\tborder: 0;\r\n\tfont-size: 14px;\r\n\tfont-weight: 500;\r\n\tline-height: normal;\r\n\theight: 32px;\r\n\twidth: 100%;\r\n\tflex: 1;\r\n\tmargin-right: calc(1em + 8px);\r\n\tpadding: 8px 8px;\r\n}\r\n.pops-panel-input span.pops-panel-input__suffix {\r\n\tdisplay: inline-flex;\r\n\twhite-space: nowrap;\r\n\tflex-shrink: 0;\r\n\tflex-wrap: nowrap;\r\n\theight: 100%;\r\n\ttext-align: center;\r\n\tcolor: #a8abb2;\r\n\ttransition: all 0.3s;\r\n\tpointer-events: none;\r\n\tmargin: 0 8px;\r\n\tposition: absolute;\r\n\tright: 0px;\r\n}\r\n.pops-panel-input span.pops-panel-input__suffix-inner {\r\n\tpointer-events: all;\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n.pops-panel-input .pops-panel-icon {\r\n\tcursor: pointer;\r\n}\r\n.pops-panel-input .pops-panel-icon {\r\n\theight: inherit;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttransition: all 0.3s;\r\n}\r\n.pops-panel-input .pops-panel-icon svg {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n}\r\n\r\n.pops-input-disabled {\r\n\tbackground-color: var(--el-disabled-bg-color);\r\n\tbox-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;\r\n}\r\n.pops-panel-input.pops-input-disabled {\r\n\tborder: none;\r\n}\r\n.pops-panel-input.pops-input-disabled:hover {\r\n\tbox-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;\r\n}\r\n.pops-panel-input input:disabled,\r\n.pops-panel-input input:disabled + .pops-panel-input__suffix {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tcolor: var(--el-disabled-text-color);\r\n\t-webkit-text-fill-color: var(--el-disabled-text-color);\r\n\tcursor: not-allowed;\r\n}\r\n.pops-panel-input input:disabled + .pops-panel-input__suffix {\r\n\tdisplay: none;\r\n}\r\n/* input的CSS */\r\n\r\n/* textarea的CSS */\r\n.pops-panel-textarea textarea {\r\n\twidth: 100%;\r\n\t/*vertical-align: bottom;*/\r\n\tposition: relative;\r\n\tdisplay: block;\r\n\tresize: none;\r\n\tpadding: 5px 11px;\r\n\t/*line-height: 1;*/\r\n\tbox-sizing: border-box;\r\n\tfont-size: inherit;\r\n\tfont-family: inherit;\r\n\tbackground-color: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbackground-image: none;\r\n\t-webkit-appearance: none;\r\n\tappearance: none;\r\n\tbox-shadow: 0 0 0 1px #dcdfe6 inset;\r\n\tborder-radius: 0;\r\n\ttransition: box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n\tborder: none;\r\n}\r\n.pops-panel-textarea textarea:hover {\r\n\tbox-shadow: 0 0 0 1px #c0c4cc inset;\r\n}\r\n.pops-panel-textarea-disable .pops-panel-textarea textarea:hover {\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-textarea textarea:focus {\r\n\toutline: 0;\r\n\tbox-shadow: 0 0 0 1px #409eff inset;\r\n}\r\n/* textarea的CSS */\r\n\r\n/* select的CSS */\r\n.pops-panel-select select {\r\n\theight: 32px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tmin-width: 200px;\r\n\tborder: 1px solid rgb(184, 184, 184, var(--pops-bd-opacity));\r\n\tborder-radius: 5px;\r\n\ttext-align: center;\r\n\toutline: 0;\r\n\tbackground: rgb(255, 255, 255, var(--pops-bg-opacity));\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-select select:hover {\r\n\tbox-shadow: 0 0 0 1px #c0c4cc inset;\r\n}\r\n.pops-panel-select-disable .pops-panel-select select:hover {\r\n\tbox-shadow: none;\r\n}\r\n.pops-panel-select select:focus {\r\n\tborder: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));\r\n\tbox-shadow: none;\r\n}\r\n/* select的CSS */\r\n\r\n/* select-multiple的CSS*/\r\n.pops-panel-select-multiple {\r\n\t--el-border-radius-base: 4px;\r\n\t--el-fill-color-blank: #ffffff;\r\n\t--el-transition-duration: 0.3s;\r\n\t--el-border-color: #dcdfe6;\r\n\t--el-text-color-placeholder: #a8abb2;\r\n\t--color: inherit;\r\n\t--el-select-input-color: #a8abb2;\r\n\t--el-select-input-font-size: 14px;\r\n\t--el-text-color-regular: #606266;\r\n\t--el-color-info: #909399;\r\n\t--el-color-info-light-9: #f4f4f5;\r\n\t--el-color-info-light-8: #e9e9eb;\r\n\t--el-color-primary-light-9: #ecf5ff;\r\n\t--el-color-primary-light-8: #d9ecff;\r\n\t--el-color-primary: #409eff;\r\n\t--el-color-white: #ffffff;\r\n\twidth: 200px;\r\n\t/* 左侧内容*/\r\n\t/* 左侧内容*/\r\n\t/* 右侧箭头图标*/\r\n\t/* 右侧箭头图标*/\r\n\t/* tag*/\r\n}\r\n.pops-panel-select-multiple .el-select__wrapper {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tbox-sizing: border-box;\r\n\tcursor: pointer;\r\n\ttext-align: left;\r\n\tfont-size: 14px;\r\n\tpadding: 4px 12px;\r\n\tgap: 6px;\r\n\tmin-height: 32px;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tborder-radius: var(--el-border-radius-base);\r\n\tbackground-color: var(--el-fill-color-blank);\r\n\ttransition: var(--el-transition-duration);\r\n\ttransform: translateZ(0);\r\n\tbox-shadow: 0 0 0 1px var(--el-border-color) inset;\r\n}\r\n.pops-panel-select-multiple .el-select__wrapper.is-focused {\r\n\tbox-shadow: 0 0 0 1px var(--el-color-primary) inset;\r\n}\r\n.pops-panel-select-multiple .el-select__selection {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\talign-items: center;\r\n\tflex: 1;\r\n\tmin-width: 0;\r\n\tgap: 6px;\r\n}\r\n.pops-panel-select-multiple .el-select__selected-item {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\t-webkit-user-select: none;\r\n\tuser-select: none;\r\n}\r\n.pops-panel-select-multiple\r\n\t.el-select__selected-item.el-select__choose_tag\r\n\t.el-tag {\r\n\tmax-width: 200px;\r\n}\r\n.pops-panel-select-multiple .el-select__input-wrapper {\r\n\tmax-width: 100%;\r\n}\r\n.pops-panel-select-multiple .el-select__selection.is-near {\r\n\tmargin-left: -8px;\r\n}\r\n.pops-panel-select-multiple .el-select__placeholder {\r\n\tposition: absolute;\r\n\tdisplay: block;\r\n\ttop: 50%;\r\n\ttransform: translateY(-50%);\r\n\twidth: 100%;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tcolor: var(--el-input-text-color, var(--el-text-color-regular));\r\n}\r\n.pops-panel-select-multiple .el-select__placeholder.is-transparent {\r\n\t-webkit-user-select: none;\r\n\tuser-select: none;\r\n\tcolor: var(--el-text-color-placeholder);\r\n}\r\n.pops-panel-select-multiple .el-select__prefix,\r\n.pops-panel-select-multiple .el-select__suffix {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tflex-shrink: 0;\r\n\tgap: 6px;\r\n\tcolor: var(--el-input-icon-color, var(--el-text-color-placeholder));\r\n}\r\n.pops-panel-select-multiple .el-icon {\r\n\t--color: inherit;\r\n\theight: 1em;\r\n\twidth: 1em;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n\tcolor: var(--color);\r\n\tfont-size: inherit;\r\n}\r\n.pops-panel-select-multiple .el-icon svg {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n}\r\n.pops-panel-select-multiple .el-select__caret {\r\n\tcolor: var(--el-select-input-color);\r\n\tfont-size: var(--el-select-input-font-size);\r\n\ttransition: var(--el-transition-duration);\r\n\ttransform: rotate(0);\r\n\tcursor: pointer;\r\n}\r\n.pops-panel-select-multiple .el-tag {\r\n\t--el-tag-font-size: 12px;\r\n\t--el-tag-border-radius: 4px;\r\n\t--el-tag-border-radius-rounded: 9999px;\r\n}\r\n.pops-panel-select-multiple .el-tag {\r\n\tbackground-color: var(--el-tag-bg-color);\r\n\tborder-color: var(--el-tag-border-color);\r\n\tcolor: var(--el-tag-text-color);\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tvertical-align: middle;\r\n\theight: 24px;\r\n\tpadding: 0 9px;\r\n\tfont-size: var(--el-tag-font-size);\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tborder-width: 1px;\r\n\tborder-style: solid;\r\n\tborder-radius: var(--el-tag-border-radius);\r\n\tbox-sizing: border-box;\r\n\twhite-space: nowrap;\r\n\t--el-icon-size: 14px;\r\n\t--el-tag-bg-color: var(--el-color-primary-light-9);\r\n\t--el-tag-border-color: var(--el-color-primary-light-8);\r\n\t--el-tag-hover-color: var(--el-color-primary);\r\n}\r\n.pops-panel-select-multiple .el-select__selection .el-tag {\r\n\tcursor: pointer;\r\n\tborder-color: transparent;\r\n}\r\n.pops-panel-select-multiple .el-tag.el-tag--info {\r\n\t--el-tag-bg-color: var(--el-color-info-light-9);\r\n\t--el-tag-border-color: var(--el-color-info-light-8);\r\n\t--el-tag-hover-color: var(--el-color-info);\r\n}\r\n.pops-panel-select-multiple .el-tag.el-tag--info {\r\n\t--el-tag-text-color: var(--el-color-info);\r\n}\r\n.pops-panel-select-multiple .el-tag.is-closable {\r\n\tpadding-right: 5px;\r\n}\r\n.pops-panel-select-multiple .el-select__selection .el-tag .el-tag__content {\r\n\tmin-width: 0;\r\n}\r\n.pops-panel-select-multiple .el-tag .el-tag__close {\r\n\tflex-shrink: 0;\r\n\tcolor: var(--el-tag-text-color);\r\n}\r\n.pops-panel-select-multiple .el-tag .el-tag__close:hover {\r\n\tcolor: var(--el-color-white);\r\n\tbackground-color: var(--el-tag-hover-color);\r\n}\r\n.pops-panel-select-multiple .el-tag .el-icon {\r\n\tborder-radius: 50%;\r\n\tcursor: pointer;\r\n\tfont-size: calc(var(--el-icon-size) - 2px);\r\n\theight: var(--el-icon-size);\r\n\twidth: var(--el-icon-size);\r\n}\r\n.pops-panel-select-multiple .el-tag .el-tag__close {\r\n\tmargin-left: 6px;\r\n}\r\n.pops-panel-select-multiple .el-select__tags-text {\r\n\tdisplay: block;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n/* select-multiple的CSS*/\r\n\r\n/* deepMenu的css */\r\n.pops-panel-deepMenu-nav-item {\r\n\tcursor: pointer;\r\n}\r\n.pops-panel-deepMenu-nav-item:active {\r\n\tbackground: #e9e9e9;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n.pops-panel-deepMenu-nav-item .pops-panel-deepMenu {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #6c6c6c;\r\n\tfill: #6c6c6c;\r\n}\r\n.pops-panel-deepMenu-nav-item .pops-panel-deepMenu-arrowRight-icon {\r\n\twidth: 15px;\r\n\theight: 15px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n.pops-panel-deepMenu-container .pops-panel-deepMenu-container-header {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\twidth: -webkit-fill-available;\r\n\twidth: -moz-available;\r\n\tpadding: var(--pops-panel-forms-header-padding-top-bottom)\r\n\t\tcalc(\r\n\t\t\tvar(--pops-panel-forms-margin-left-right) +\r\n\t\t\t\tvar(--pops-panel-forms-container-li-padding-left-right) -\r\n\t\t\t\tvar(--pops-panel-forms-header-icon-size)\r\n\t\t);\r\n}\r\n.pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon {\r\n\twidth: var(--pops-panel-forms-header-icon-size);\r\n\theight: var(--pops-panel-forms-header-icon-size);\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcursor: pointer;\r\n}\r\n/* 修复safari上图标大小未正常显示 */\r\n.pops-panel-deepMenu-container\r\n\t.pops-panel-deepMenu-container-left-arrow-icon\r\n\t> svg {\r\n\twidth: inherit;\r\n\theight: inherit;\r\n}\r\n/* deepMenu的css */\r\n";
|
|
2649
|
-
|
|
2650
|
-
var rightClickMenuCSS = ".pops-rightClickMenu * {\r\n\t-webkit-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\t-webkit-tap-highlight-color: transparent;\r\n\tscrollbar-width: thin;\r\n}\r\n.pops-rightClickMenu {\r\n\tposition: fixed;\r\n\tz-index: 10000;\r\n\ttext-align: center;\r\n\tborder-radius: 3px;\r\n\tfont-size: 16px;\r\n\tfont-weight: 500;\r\n\tbackground: #fff;\r\n\tbox-shadow: 0px 1px 6px 1px #cacaca;\r\n}\r\n.pops-rightClickMenu-anim-grid {\r\n\tdisplay: grid;\r\n\ttransition: 0.3s;\r\n\tgrid-template-rows: 0fr;\r\n}\r\n.pops-rightClickMenu-anim-show {\r\n\tgrid-template-rows: 1fr;\r\n}\r\n.pops-rightClickMenu-is-visited {\r\n\tbackground: #dfdfdf;\r\n}\r\ni.pops-rightClickMenu-icon {\r\n\theight: 1em;\r\n\twidth: 1em;\r\n\tline-height: normal;\r\n\talign-content: center;\r\n\tdisplay: inline-flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tfill: currentColor;\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n\tmargin-right: 6px;\r\n}\r\ni.pops-rightClickMenu-icon[is-loading=\"true\"] {\r\n\tanimation: rotating 2s linear infinite;\r\n}\r\n.pops-rightClickMenu li:hover {\r\n\tbackground: #dfdfdf;\r\n\tcursor: pointer;\r\n}\r\n.pops-rightClickMenu ul {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: flex-start;\r\n\tjustify-content: center;\r\n\toverflow: hidden;\r\n}\r\n.pops-rightClickMenu ul li {\r\n\tpadding: 5px 10px;\r\n\tmargin: 2.5px 5px;\r\n\tborder-radius: 3px;\r\n\tdisplay: flex;\r\n\twidth: -webkit-fill-available;\r\n\twidth: -moz-available;\r\n\ttext-align: left;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\talign-items: center;\r\n}\r\n.pops-rightClickMenu ul li:first-child {\r\n\tmargin-top: 5px;\r\n}\r\n.pops-rightClickMenu ul li:last-child {\r\n\tmargin-bottom: 5px;\r\n}\r\n";
|
|
2651
|
-
|
|
2652
|
-
var SVG_min = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>\r\n</svg>\r\n";
|
|
2653
|
-
|
|
2654
|
-
var SVG_mise = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M885.333333 85.333333H330.410667a53.333333 53.333333 0 0 0-53.333334 53.333334v106.666666H138.666667A53.333333 53.333333 0 0 0 85.333333 298.666667v586.666666a53.333333 53.333333 0 0 0 53.333334 53.333334H725.333333a53.333333 53.333333 0 0 0 53.333334-53.333334V746.154667h106.666666c29.44 0 53.333333-23.893333 53.333334-53.333334V138.666667A53.333333 53.333333 0 0 0 885.333333 85.333333zM725.333333 692.821333v192.512H138.666667V298.666667H725.333333v394.154666z m157.866667 0H778.666667V298.666667a53.333333 53.333333 0 0 0-53.333334-53.333334H330.410667v-106.666666h554.922666l-2.133333 554.154666z\"></path>\r\n</svg>\r\n";
|
|
2655
|
-
|
|
2656
|
-
var SVG_max = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z\"></path>\r\n</svg>\r\n";
|
|
2657
|
-
|
|
2658
|
-
var SVG_close = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"></path>\r\n</svg>\r\n";
|
|
2659
|
-
|
|
2660
|
-
var SVG_edit = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z\"></path>\r\n</svg>\r\n";
|
|
2661
|
-
|
|
2662
|
-
var SVG_share = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z\"></path>\r\n</svg>\r\n";
|
|
2663
|
-
|
|
2664
|
-
var SVG_delete = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z\"></path>\r\n</svg>\r\n";
|
|
2665
|
-
|
|
2666
|
-
var SVG_search = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z\"></path>\r\n</svg>\r\n";
|
|
2667
|
-
|
|
2668
|
-
var SVG_upload = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z\"></path>\r\n</svg>\r\n";
|
|
2669
|
-
|
|
2670
|
-
var SVG_loading = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z\"></path>\r\n</svg>\r\n";
|
|
2671
|
-
|
|
2672
|
-
var SVG_next = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2673
|
-
|
|
2674
|
-
var SVG_prev = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2675
|
-
|
|
2676
|
-
var SVG_eleme = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z\"></path>\r\n</svg>\r\n";
|
|
2677
|
-
|
|
2678
|
-
var SVG_elemePlus = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\td=\"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8zM714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z\"\r\n\t\tfill=\"currentColor\"></path>\r\n</svg>\r\n";
|
|
2679
|
-
|
|
2680
|
-
var SVG_chromeFilled = "<svg\r\n\txmlns=\"http://www.w3.org/2000/svg\"\r\n\tviewBox=\"0 0 1024 1024\"\r\n\txml:space=\"preserve\">\r\n\t<path\r\n\t\td=\"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z\"\r\n\t\tfill=\"currentColor\"></path>\r\n\t<path\r\n\t\td=\"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91z\"\r\n\t\tfill=\"currentColor\"></path>\r\n\t<path\r\n\t\td=\"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21zM512.01 938.68H512zM414.76 701.95a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z\"\r\n\t\tfill=\"currentColor\"></path>\r\n</svg>\r\n";
|
|
2681
|
-
|
|
2682
|
-
var SVG_cpu = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64H320zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zm160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zm-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zM64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32zm0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32zm0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32z\"></path>\r\n</svg>\r\n";
|
|
2683
|
-
|
|
2684
|
-
var SVG_videoPlay = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-48-247.616L668.608 512 464 375.616v272.768zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z\"></path>\r\n</svg>\r\n";
|
|
2685
|
-
|
|
2686
|
-
var SVG_videoPause = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32zm192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32z\"></path>\r\n</svg>\r\n";
|
|
2687
|
-
|
|
2688
|
-
var SVG_headset = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848zM896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0V640zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0z\"></path>\r\n</svg>\r\n";
|
|
2689
|
-
|
|
2690
|
-
var SVG_monitor = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H544zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H192z\"></path>\r\n</svg>\r\n";
|
|
2691
|
-
|
|
2692
|
-
var SVG_documentCopy = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M128 320v576h576V320H128zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zM960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32zM256 672h320v64H256v-64zm0-192h320v64H256v-64z\"></path>\r\n</svg>\r\n";
|
|
2693
|
-
|
|
2694
|
-
var SVG_picture = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M160 160v704h704V160H160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64zM185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952L185.408 876.992z\"></path>\r\n</svg>\r\n";
|
|
2695
|
-
|
|
2696
|
-
var SVG_circleClose = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"></path>\r\n</svg>\r\n";
|
|
2697
|
-
|
|
2698
|
-
var SVG_view = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160\"></path>\r\n</svg>\r\n";
|
|
2699
|
-
|
|
2700
|
-
var SVG_hide = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z\"></path>\r\n</svg>\r\n";
|
|
2701
|
-
|
|
2702
|
-
var SVG_keyboard = "<svg viewBox=\"0 0 1123 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\td=\"M1014.122186 1024H109.753483A109.753483 109.753483 0 0 1 0 914.246517V392.917471a109.753483 109.753483 0 0 1 109.753483-109.753484h904.368703a109.753483 109.753483 0 0 1 109.753484 109.753484v521.329046a109.753483 109.753483 0 0 1-109.753484 109.753483zM109.753483 370.966774a21.950697 21.950697 0 0 0-21.950696 21.950697v521.329046a21.950697 21.950697 0 0 0 21.950696 21.950696h904.368703a21.950697 21.950697 0 0 0 21.950697-21.950696V392.917471a21.950697 21.950697 0 0 0-21.950697-21.950697z\"></path>\r\n\t<path\r\n\t\td=\"M687.056806 891.198285H307.309753a43.901393 43.901393 0 0 1 0-87.802787h379.747053a43.901393 43.901393 0 0 1 0 87.802787zM175.605573 803.395498a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394zM432.428725 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM561.937835 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM690.349411 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM818.760986 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM947.172562 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM175.605573 546.572347a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394zM304.017149 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM432.428725 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM561.937835 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM690.349411 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM818.760986 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM818.760986 803.395498a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM175.605573 678.276527a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394zM304.017149 678.276527a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM432.428725 678.276527a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM561.937835 678.276527a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM948.270096 803.395498a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394z\"></path>\r\n\t<path\r\n\t\td=\"M881.320472 766.079314H689.251876a43.901393 43.901393 0 0 1 0-87.802787h192.068596a21.950697 21.950697 0 0 0 21.950696-21.950696v-65.85209a43.901393 43.901393 0 0 1 87.802787 0v65.85209a109.753483 109.753483 0 0 1-109.753483 109.753483zM305.114684 502.670954H175.605573a43.901393 43.901393 0 0 1 0-87.802787h129.509111a43.901393 43.901393 0 0 1 0 87.802787zM563.03537 365.4791a43.901393 43.901393 0 0 1-43.901394-43.901394v-105.363344A109.753483 109.753483 0 0 1 628.88746 106.460879h61.461951a21.950697 21.950697 0 0 0 21.950696-21.950697V43.901393a43.901393 43.901393 0 0 1 87.802787 0v40.608789a109.753483 109.753483 0 0 1-109.753483 109.753484h-61.461951a21.950697 21.950697 0 0 0-21.950697 21.950696v105.363344a43.901393 43.901393 0 0 1-43.901393 43.901394z\"></path>\r\n</svg>\r\n";
|
|
2703
|
-
|
|
2704
|
-
var SVG_arrowRight = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\td=\"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2705
|
-
|
|
2706
|
-
var SVG_arrowLeft = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\td=\"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2707
|
-
|
|
2708
2737
|
const GlobalConfig = {
|
|
2709
2738
|
config: {},
|
|
2710
2739
|
/**
|
|
@@ -2767,58 +2796,176 @@ define((function () { 'use strict';
|
|
|
2767
2796
|
},
|
|
2768
2797
|
};
|
|
2769
2798
|
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2799
|
+
var SVG_min = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>\r\n</svg>\r\n";
|
|
2800
|
+
|
|
2801
|
+
var SVG_mise = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M885.333333 85.333333H330.410667a53.333333 53.333333 0 0 0-53.333334 53.333334v106.666666H138.666667A53.333333 53.333333 0 0 0 85.333333 298.666667v586.666666a53.333333 53.333333 0 0 0 53.333334 53.333334H725.333333a53.333333 53.333333 0 0 0 53.333334-53.333334V746.154667h106.666666c29.44 0 53.333333-23.893333 53.333334-53.333334V138.666667A53.333333 53.333333 0 0 0 885.333333 85.333333zM725.333333 692.821333v192.512H138.666667V298.666667H725.333333v394.154666z m157.866667 0H778.666667V298.666667a53.333333 53.333333 0 0 0-53.333334-53.333334H330.410667v-106.666666h554.922666l-2.133333 554.154666z\"></path>\r\n</svg>\r\n";
|
|
2802
|
+
|
|
2803
|
+
var SVG_max = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z\"></path>\r\n</svg>\r\n";
|
|
2804
|
+
|
|
2805
|
+
var SVG_close = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"></path>\r\n</svg>\r\n";
|
|
2806
|
+
|
|
2807
|
+
var SVG_edit = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z\"></path>\r\n</svg>\r\n";
|
|
2808
|
+
|
|
2809
|
+
var SVG_share = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z\"></path>\r\n</svg>\r\n";
|
|
2810
|
+
|
|
2811
|
+
var SVG_delete = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z\"></path>\r\n</svg>\r\n";
|
|
2812
|
+
|
|
2813
|
+
var SVG_search = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z\"></path>\r\n</svg>\r\n";
|
|
2814
|
+
|
|
2815
|
+
var SVG_upload = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z\"></path>\r\n</svg>\r\n";
|
|
2816
|
+
|
|
2817
|
+
var SVG_loading = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z\"></path>\r\n</svg>\r\n";
|
|
2818
|
+
|
|
2819
|
+
var SVG_next = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2820
|
+
|
|
2821
|
+
var SVG_prev = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2822
|
+
|
|
2823
|
+
var SVG_eleme = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z\"></path>\r\n</svg>\r\n";
|
|
2824
|
+
|
|
2825
|
+
var SVG_elemePlus = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\td=\"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8zM714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z\"\r\n\t\tfill=\"currentColor\"></path>\r\n</svg>\r\n";
|
|
2826
|
+
|
|
2827
|
+
var SVG_chromeFilled = "<svg\r\n\txmlns=\"http://www.w3.org/2000/svg\"\r\n\tviewBox=\"0 0 1024 1024\"\r\n\txml:space=\"preserve\">\r\n\t<path\r\n\t\td=\"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z\"\r\n\t\tfill=\"currentColor\"></path>\r\n\t<path\r\n\t\td=\"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91z\"\r\n\t\tfill=\"currentColor\"></path>\r\n\t<path\r\n\t\td=\"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21zM512.01 938.68H512zM414.76 701.95a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z\"\r\n\t\tfill=\"currentColor\"></path>\r\n</svg>\r\n";
|
|
2828
|
+
|
|
2829
|
+
var SVG_cpu = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64H320zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zm160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zm-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zM64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32zm0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32zm0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32z\"></path>\r\n</svg>\r\n";
|
|
2830
|
+
|
|
2831
|
+
var SVG_videoPlay = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-48-247.616L668.608 512 464 375.616v272.768zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z\"></path>\r\n</svg>\r\n";
|
|
2832
|
+
|
|
2833
|
+
var SVG_videoPause = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32zm192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32z\"></path>\r\n</svg>\r\n";
|
|
2834
|
+
|
|
2835
|
+
var SVG_headset = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848zM896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0V640zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0z\"></path>\r\n</svg>\r\n";
|
|
2836
|
+
|
|
2837
|
+
var SVG_monitor = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H544zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H192z\"></path>\r\n</svg>\r\n";
|
|
2838
|
+
|
|
2839
|
+
var SVG_documentCopy = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M128 320v576h576V320H128zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zM960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32zM256 672h320v64H256v-64zm0-192h320v64H256v-64z\"></path>\r\n</svg>\r\n";
|
|
2840
|
+
|
|
2841
|
+
var SVG_picture = "<svg viewBox=\"0 0 1024 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M160 160v704h704V160H160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64zM185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952L185.408 876.992z\"></path>\r\n</svg>\r\n";
|
|
2842
|
+
|
|
2843
|
+
var SVG_circleClose = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896\"></path>\r\n</svg>\r\n";
|
|
2844
|
+
|
|
2845
|
+
var SVG_view = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160\"></path>\r\n</svg>\r\n";
|
|
2846
|
+
|
|
2847
|
+
var SVG_hide = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z\"></path>\r\n\t<path\r\n\t\tfill=\"currentColor\"\r\n\t\td=\"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z\"></path>\r\n</svg>\r\n";
|
|
2848
|
+
|
|
2849
|
+
var SVG_keyboard = "<svg viewBox=\"0 0 1123 1024\" xmlns=\"http://www.w3.org/2000/svg\">\r\n\t<path\r\n\t\td=\"M1014.122186 1024H109.753483A109.753483 109.753483 0 0 1 0 914.246517V392.917471a109.753483 109.753483 0 0 1 109.753483-109.753484h904.368703a109.753483 109.753483 0 0 1 109.753484 109.753484v521.329046a109.753483 109.753483 0 0 1-109.753484 109.753483zM109.753483 370.966774a21.950697 21.950697 0 0 0-21.950696 21.950697v521.329046a21.950697 21.950697 0 0 0 21.950696 21.950696h904.368703a21.950697 21.950697 0 0 0 21.950697-21.950696V392.917471a21.950697 21.950697 0 0 0-21.950697-21.950697z\"></path>\r\n\t<path\r\n\t\td=\"M687.056806 891.198285H307.309753a43.901393 43.901393 0 0 1 0-87.802787h379.747053a43.901393 43.901393 0 0 1 0 87.802787zM175.605573 803.395498a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394zM432.428725 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM561.937835 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM690.349411 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM818.760986 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM947.172562 414.868167a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM175.605573 546.572347a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394zM304.017149 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM432.428725 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM561.937835 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM690.349411 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM818.760986 546.572347a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM818.760986 803.395498a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM175.605573 678.276527a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394zM304.017149 678.276527a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM432.428725 678.276527a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM561.937835 678.276527a43.901393 43.901393 0 1 0 43.901393 43.901394 43.901393 43.901393 0 0 0-43.901393-43.901394zM948.270096 803.395498a43.901393 43.901393 0 1 0 43.901394 43.901394 43.901393 43.901393 0 0 0-43.901394-43.901394z\"></path>\r\n\t<path\r\n\t\td=\"M881.320472 766.079314H689.251876a43.901393 43.901393 0 0 1 0-87.802787h192.068596a21.950697 21.950697 0 0 0 21.950696-21.950696v-65.85209a43.901393 43.901393 0 0 1 87.802787 0v65.85209a109.753483 109.753483 0 0 1-109.753483 109.753483zM305.114684 502.670954H175.605573a43.901393 43.901393 0 0 1 0-87.802787h129.509111a43.901393 43.901393 0 0 1 0 87.802787zM563.03537 365.4791a43.901393 43.901393 0 0 1-43.901394-43.901394v-105.363344A109.753483 109.753483 0 0 1 628.88746 106.460879h61.461951a21.950697 21.950697 0 0 0 21.950696-21.950697V43.901393a43.901393 43.901393 0 0 1 87.802787 0v40.608789a109.753483 109.753483 0 0 1-109.753483 109.753484h-61.461951a21.950697 21.950697 0 0 0-21.950697 21.950696v105.363344a43.901393 43.901393 0 0 1-43.901393 43.901394z\"></path>\r\n</svg>\r\n";
|
|
2850
|
+
|
|
2851
|
+
var SVG_arrowRight = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\td=\"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2852
|
+
|
|
2853
|
+
var SVG_arrowLeft = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\r\n\t<path\r\n\t\td=\"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z\"></path>\r\n</svg>\r\n";
|
|
2854
|
+
|
|
2855
|
+
const PopsIcon = {
|
|
2856
|
+
$data: {
|
|
2857
|
+
min: SVG_min,
|
|
2858
|
+
mise: SVG_mise,
|
|
2859
|
+
max: SVG_max,
|
|
2860
|
+
close: SVG_close,
|
|
2861
|
+
edit: SVG_edit,
|
|
2862
|
+
share: SVG_share,
|
|
2863
|
+
delete: SVG_delete,
|
|
2864
|
+
search: SVG_search,
|
|
2865
|
+
upload: SVG_upload,
|
|
2866
|
+
loading: SVG_loading,
|
|
2867
|
+
next: SVG_next,
|
|
2868
|
+
prev: SVG_prev,
|
|
2869
|
+
eleme: SVG_eleme,
|
|
2870
|
+
elemePlus: SVG_elemePlus,
|
|
2871
|
+
chromeFilled: SVG_chromeFilled,
|
|
2872
|
+
cpu: SVG_cpu,
|
|
2873
|
+
videoPlay: SVG_videoPlay,
|
|
2874
|
+
videoPause: SVG_videoPause,
|
|
2875
|
+
headset: SVG_headset,
|
|
2876
|
+
monitor: SVG_monitor,
|
|
2877
|
+
documentCopy: SVG_documentCopy,
|
|
2878
|
+
picture: SVG_picture,
|
|
2879
|
+
circleClose: SVG_circleClose,
|
|
2880
|
+
view: SVG_view,
|
|
2881
|
+
hide: SVG_hide,
|
|
2882
|
+
keyboard: SVG_keyboard,
|
|
2883
|
+
arrowRight: SVG_arrowRight,
|
|
2884
|
+
arrowLeft: SVG_arrowLeft,
|
|
2885
|
+
},
|
|
2886
|
+
/**
|
|
2887
|
+
* 判断是否存在某个icon
|
|
2888
|
+
* @param iconName 图标名
|
|
2889
|
+
*/
|
|
2890
|
+
hasIcon(iconName) {
|
|
2891
|
+
return Object.keys(PopsIcon.$data).includes(iconName);
|
|
2892
|
+
},
|
|
2893
|
+
/**
|
|
2894
|
+
* 获取icon
|
|
2895
|
+
* @param iconName 图标名
|
|
2896
|
+
*/
|
|
2897
|
+
getIcon(iconName) {
|
|
2898
|
+
return PopsIcon.$data[iconName];
|
|
2899
|
+
},
|
|
2900
|
+
/**
|
|
2901
|
+
* 删除图标
|
|
2902
|
+
* @param iconName 图标名
|
|
2903
|
+
*/
|
|
2904
|
+
deleteIcon(iconName) {
|
|
2905
|
+
return Reflect.deleteProperty(PopsIcon.$data, iconName);
|
|
2906
|
+
},
|
|
2907
|
+
/**
|
|
2908
|
+
* 设置图标
|
|
2909
|
+
* @param iconName 图标名
|
|
2910
|
+
* @param iconHTML 图标html
|
|
2911
|
+
*/
|
|
2912
|
+
setIcon(iconName, iconHTML) {
|
|
2913
|
+
Reflect.set(PopsIcon.$data, iconName, iconHTML);
|
|
2914
|
+
},
|
|
2915
|
+
};
|
|
2916
|
+
|
|
2917
|
+
const PopsElementHandler = {
|
|
2918
|
+
/**
|
|
2919
|
+
* 获取遮罩层HTML
|
|
2920
|
+
* @param guid
|
|
2921
|
+
* @param zIndex z-index
|
|
2922
|
+
* @param style
|
|
2923
|
+
*/
|
|
2924
|
+
getMaskHTML(guid, zIndex = 101, style = "") {
|
|
2925
|
+
zIndex = zIndex - 100;
|
|
2926
|
+
if (style.startsWith(";")) {
|
|
2927
|
+
style = style.replace(";", "");
|
|
2928
|
+
}
|
|
2929
|
+
return /*html*/ `<div class="pops-mask" data-guid="${guid}" style="z-index:${zIndex};${style}"></div>`;
|
|
2930
|
+
},
|
|
2931
|
+
/**
|
|
2932
|
+
* 获取动画层HTML
|
|
2933
|
+
* @param guid
|
|
2934
|
+
* @param type
|
|
2935
|
+
* @param config
|
|
2936
|
+
* @param html
|
|
2937
|
+
* @param bottomBtnHTML
|
|
2938
|
+
* @param zIndex
|
|
2939
|
+
*/
|
|
2940
|
+
getAnimHTML(guid, type, config, html = "", bottomBtnHTML = "", zIndex) {
|
|
2941
|
+
let __config = config;
|
|
2942
|
+
let popsAnimStyle = "";
|
|
2943
|
+
let popsStyle = "";
|
|
2944
|
+
let popsPosition = __config.position || "";
|
|
2945
|
+
if (config.zIndex != null) {
|
|
2946
|
+
popsAnimStyle += `z-index: ${zIndex};`;
|
|
2947
|
+
popsStyle += `z-index: ${zIndex};`;
|
|
2948
|
+
}
|
|
2949
|
+
if (__config.width != null) {
|
|
2950
|
+
popsStyle += `width: ${__config.width};`;
|
|
2951
|
+
}
|
|
2952
|
+
if (__config.height != null) {
|
|
2953
|
+
popsStyle += `height: ${__config.height};`;
|
|
2954
|
+
}
|
|
2955
|
+
let hasBottomBtn = bottomBtnHTML.trim() === "" ? false : true;
|
|
2956
|
+
return /*html*/ `
|
|
2957
|
+
<div class="pops-anim" anim="${__config.animation || ""}" style="${popsAnimStyle}" data-guid="${guid}">${config.style != null
|
|
2958
|
+
? `<style tyle="text/css">${config.style}</style>`
|
|
2959
|
+
: ""}
|
|
2960
|
+
<div class="pops ${config.class || ""}" data-bottom-btn="${hasBottomBtn}" type-value="${type}" style="${popsStyle}" position="${popsPosition}" data-guid="${guid}">${html}</div>
|
|
2961
|
+
</div>`;
|
|
2962
|
+
},
|
|
2963
|
+
/**
|
|
2964
|
+
* 获取顶部按钮层HTML
|
|
2965
|
+
* @param type
|
|
2966
|
+
* @param config
|
|
2967
|
+
*/
|
|
2968
|
+
getHeaderBtnHTML(type, config) {
|
|
2822
2969
|
if (!config.btn) {
|
|
2823
2970
|
return "";
|
|
2824
2971
|
}
|
|
@@ -2837,7 +2984,7 @@ define((function () { 'use strict';
|
|
|
2837
2984
|
item = item.toLowerCase();
|
|
2838
2985
|
topRightButtonHTML += /*html*/ `
|
|
2839
2986
|
<button class="pops-header-control" type="${item}">
|
|
2840
|
-
<i class="pops-icon">${
|
|
2987
|
+
<i class="pops-icon">${PopsIcon.getIcon(item)}</i>
|
|
2841
2988
|
</button>`;
|
|
2842
2989
|
});
|
|
2843
2990
|
resultHTML = /*html*/ `
|
|
@@ -2848,7 +2995,7 @@ define((function () { 'use strict';
|
|
|
2848
2995
|
closeHTML = /*html*/ `
|
|
2849
2996
|
<div class="pops-header-controls">
|
|
2850
2997
|
<button class="pops-header-control" type="close" data-header>
|
|
2851
|
-
<i class="pops-icon">${
|
|
2998
|
+
<i class="pops-icon">${PopsIcon.getIcon("close")}</i>
|
|
2852
2999
|
</button>
|
|
2853
3000
|
</div>`;
|
|
2854
3001
|
}
|
|
@@ -2898,8 +3045,8 @@ define((function () { 'use strict';
|
|
|
2898
3045
|
if (okIcon !== "") {
|
|
2899
3046
|
// 判断图标是否是svg库内的
|
|
2900
3047
|
let iconHTML = "";
|
|
2901
|
-
if (okIcon
|
|
2902
|
-
iconHTML =
|
|
3048
|
+
if (PopsIcon.hasIcon(okIcon)) {
|
|
3049
|
+
iconHTML = PopsIcon.getIcon(okIcon);
|
|
2903
3050
|
}
|
|
2904
3051
|
else {
|
|
2905
3052
|
iconHTML = okIcon;
|
|
@@ -2932,8 +3079,8 @@ define((function () { 'use strict';
|
|
|
2932
3079
|
if (cancelIcon !== "") {
|
|
2933
3080
|
let iconHTML = "";
|
|
2934
3081
|
// 判断图标是否是svg库内的
|
|
2935
|
-
if (cancelIcon
|
|
2936
|
-
iconHTML =
|
|
3082
|
+
if (PopsIcon.hasIcon(cancelIcon)) {
|
|
3083
|
+
iconHTML = PopsIcon.getIcon(cancelIcon);
|
|
2937
3084
|
}
|
|
2938
3085
|
else {
|
|
2939
3086
|
iconHTML = cancelIcon;
|
|
@@ -2966,8 +3113,8 @@ define((function () { 'use strict';
|
|
|
2966
3113
|
if (otherIcon !== "") {
|
|
2967
3114
|
let iconHTML = "";
|
|
2968
3115
|
// 判断图标是否是svg库内的
|
|
2969
|
-
if (otherIcon
|
|
2970
|
-
iconHTML =
|
|
3116
|
+
if (PopsIcon.hasIcon(otherIcon)) {
|
|
3117
|
+
iconHTML = PopsIcon.getIcon(otherIcon);
|
|
2971
3118
|
}
|
|
2972
3119
|
iconHTML = iconHTML || "";
|
|
2973
3120
|
otherIconHTML = /*html*/ `<i class="pops-bottom-icon" is-loading="${__config_confirm.btn.other.iconIsLoading}">${iconHTML}</i>`;
|
|
@@ -3032,7 +3179,7 @@ define((function () { 'use strict';
|
|
|
3032
3179
|
* @param html
|
|
3033
3180
|
*/
|
|
3034
3181
|
parseElement(html) {
|
|
3035
|
-
return
|
|
3182
|
+
return popsDOMUtils.parseTextToDOM(html);
|
|
3036
3183
|
},
|
|
3037
3184
|
};
|
|
3038
3185
|
|
|
@@ -3063,7 +3210,7 @@ define((function () { 'use strict';
|
|
|
3063
3210
|
* @param cssText 添加进ShadowRoot的CSS
|
|
3064
3211
|
*/
|
|
3065
3212
|
handleInit($shadowRoot, cssText) {
|
|
3066
|
-
|
|
3213
|
+
PopsAnimation.init();
|
|
3067
3214
|
if (!arguments.length) {
|
|
3068
3215
|
return;
|
|
3069
3216
|
}
|
|
@@ -3089,7 +3236,7 @@ define((function () { 'use strict';
|
|
|
3089
3236
|
*/
|
|
3090
3237
|
handleMask(details = {}) {
|
|
3091
3238
|
let result = {
|
|
3092
|
-
maskElement:
|
|
3239
|
+
maskElement: popsDOMUtils.parseTextToDOM(details.maskHTML),
|
|
3093
3240
|
};
|
|
3094
3241
|
let isMaskClick = false;
|
|
3095
3242
|
/**
|
|
@@ -3099,7 +3246,7 @@ define((function () { 'use strict';
|
|
|
3099
3246
|
function clickEvent(event) {
|
|
3100
3247
|
popsDOMUtils.preventEvent(event);
|
|
3101
3248
|
// 获取该类型实例存储列表
|
|
3102
|
-
let targetLayer =
|
|
3249
|
+
let targetLayer = PopsLayer[details.type];
|
|
3103
3250
|
function originalRun() {
|
|
3104
3251
|
if (details.config.mask.clickEvent.toClose) {
|
|
3105
3252
|
/* 关闭 */
|
|
@@ -3286,13 +3433,13 @@ define((function () { 'use strict';
|
|
|
3286
3433
|
mode: mode,
|
|
3287
3434
|
guid: guid,
|
|
3288
3435
|
close() {
|
|
3289
|
-
return PopsInstanceUtils.close(mode,
|
|
3436
|
+
return PopsInstanceUtils.close(mode, PopsLayer[mode], guid, config, animElement);
|
|
3290
3437
|
},
|
|
3291
3438
|
hide() {
|
|
3292
|
-
return PopsInstanceUtils.hide(mode,
|
|
3439
|
+
return PopsInstanceUtils.hide(mode, PopsLayer[mode], guid, config, animElement, maskElement);
|
|
3293
3440
|
},
|
|
3294
3441
|
show() {
|
|
3295
|
-
return PopsInstanceUtils.show(mode,
|
|
3442
|
+
return PopsInstanceUtils.show(mode, PopsLayer[mode], guid, config, animElement, maskElement);
|
|
3296
3443
|
},
|
|
3297
3444
|
};
|
|
3298
3445
|
},
|
|
@@ -3314,13 +3461,13 @@ define((function () { 'use strict';
|
|
|
3314
3461
|
mode: mode,
|
|
3315
3462
|
guid: guid,
|
|
3316
3463
|
close() {
|
|
3317
|
-
return PopsInstanceUtils.close(mode,
|
|
3464
|
+
return PopsInstanceUtils.close(mode, PopsLayer[mode], guid, config, animElement);
|
|
3318
3465
|
},
|
|
3319
3466
|
hide() {
|
|
3320
|
-
return PopsInstanceUtils.hide(mode,
|
|
3467
|
+
return PopsInstanceUtils.hide(mode, PopsLayer[mode], guid, config, animElement, maskElement);
|
|
3321
3468
|
},
|
|
3322
3469
|
show() {
|
|
3323
|
-
return PopsInstanceUtils.show(mode,
|
|
3470
|
+
return PopsInstanceUtils.show(mode, PopsLayer[mode], guid, config, animElement, maskElement);
|
|
3324
3471
|
},
|
|
3325
3472
|
};
|
|
3326
3473
|
},
|
|
@@ -3432,20 +3579,20 @@ define((function () { 'use strict';
|
|
|
3432
3579
|
if (type === "loading" ||
|
|
3433
3580
|
type === "tooltip" ||
|
|
3434
3581
|
type === "rightClickMenu") {
|
|
3435
|
-
let layer =
|
|
3582
|
+
let layer = PopsLayer[type];
|
|
3436
3583
|
if (layer) {
|
|
3437
3584
|
PopsInstanceUtils.removeInstance([layer], "", true);
|
|
3438
3585
|
}
|
|
3439
3586
|
}
|
|
3440
3587
|
else {
|
|
3441
3588
|
PopsInstanceUtils.removeInstance([
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3589
|
+
PopsLayer.alert,
|
|
3590
|
+
PopsLayer.confirm,
|
|
3591
|
+
PopsLayer.prompt,
|
|
3592
|
+
PopsLayer.iframe,
|
|
3593
|
+
PopsLayer.drawer,
|
|
3594
|
+
PopsLayer.folder,
|
|
3595
|
+
PopsLayer.panel,
|
|
3449
3596
|
], "", true);
|
|
3450
3597
|
}
|
|
3451
3598
|
}
|
|
@@ -3466,7 +3613,7 @@ define((function () { 'use strict';
|
|
|
3466
3613
|
* @param value
|
|
3467
3614
|
*/
|
|
3468
3615
|
handlePush(type, value) {
|
|
3469
|
-
|
|
3616
|
+
PopsLayer[type].push(value);
|
|
3470
3617
|
},
|
|
3471
3618
|
};
|
|
3472
3619
|
|
|
@@ -3542,13 +3689,13 @@ define((function () { 'use strict';
|
|
|
3542
3689
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
3543
3690
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
3544
3691
|
PopsHandler.handleInit($shadowRoot, [
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3692
|
+
PopsCSS.index,
|
|
3693
|
+
PopsCSS.ninePalaceGridPosition,
|
|
3694
|
+
PopsCSS.scrollbar,
|
|
3695
|
+
PopsCSS.button,
|
|
3696
|
+
PopsCSS.anim,
|
|
3697
|
+
PopsCSS.common,
|
|
3698
|
+
PopsCSS.alertCSS,
|
|
3552
3699
|
]);
|
|
3553
3700
|
// 先把z-index提取出来
|
|
3554
3701
|
let zIndex = PopsHandler.handleZIndex(config.zIndex);
|
|
@@ -3725,13 +3872,13 @@ define((function () { 'use strict';
|
|
|
3725
3872
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
3726
3873
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
3727
3874
|
PopsHandler.handleInit($shadowRoot, [
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3875
|
+
PopsCSS.index,
|
|
3876
|
+
PopsCSS.ninePalaceGridPosition,
|
|
3877
|
+
PopsCSS.scrollbar,
|
|
3878
|
+
PopsCSS.button,
|
|
3879
|
+
PopsCSS.anim,
|
|
3880
|
+
PopsCSS.common,
|
|
3881
|
+
PopsCSS.confirmCSS,
|
|
3735
3882
|
]);
|
|
3736
3883
|
// 先把z-index提取出来
|
|
3737
3884
|
let zIndex = PopsHandler.handleZIndex(config.zIndex);
|
|
@@ -3913,13 +4060,13 @@ define((function () { 'use strict';
|
|
|
3913
4060
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
3914
4061
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
3915
4062
|
PopsHandler.handleInit($shadowRoot, [
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
4063
|
+
PopsCSS.index,
|
|
4064
|
+
PopsCSS.ninePalaceGridPosition,
|
|
4065
|
+
PopsCSS.scrollbar,
|
|
4066
|
+
PopsCSS.button,
|
|
4067
|
+
PopsCSS.anim,
|
|
4068
|
+
PopsCSS.common,
|
|
4069
|
+
PopsCSS.promptCSS,
|
|
3923
4070
|
]);
|
|
3924
4071
|
// 先把z-index提取出来
|
|
3925
4072
|
let zIndex = PopsHandler.handleZIndex(config.zIndex);
|
|
@@ -4058,13 +4205,13 @@ define((function () { 'use strict';
|
|
|
4058
4205
|
/*html*/ `
|
|
4059
4206
|
<div class="pops-loading-content">${config.addIndexCSS
|
|
4060
4207
|
? /*html*/ `
|
|
4061
|
-
<style data-model-name="index">${
|
|
4062
|
-
<style data-model-name="anim">${
|
|
4063
|
-
<style data-model-name="common">${
|
|
4208
|
+
<style data-model-name="index">${PopsCSS.index}</style>
|
|
4209
|
+
<style data-model-name="anim">${PopsCSS.anim}</style>
|
|
4210
|
+
<style data-model-name="common">${PopsCSS.common}</style>
|
|
4064
4211
|
`
|
|
4065
4212
|
: ""}
|
|
4066
4213
|
<style data-model-name="loadingCSS">
|
|
4067
|
-
${
|
|
4214
|
+
${PopsCSS.loadingCSS}
|
|
4068
4215
|
</style>
|
|
4069
4216
|
${config.style != null ? `<style>${config.style}</style>` : ""}
|
|
4070
4217
|
<p pops style="${contentPStyle}">${config.content.text}</p>
|
|
@@ -4188,12 +4335,12 @@ define((function () { 'use strict';
|
|
|
4188
4335
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
4189
4336
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
4190
4337
|
PopsHandler.handleInit($shadowRoot, [
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4338
|
+
PopsCSS.index,
|
|
4339
|
+
PopsCSS.ninePalaceGridPosition,
|
|
4340
|
+
PopsCSS.scrollbar,
|
|
4341
|
+
PopsCSS.anim,
|
|
4342
|
+
PopsCSS.common,
|
|
4343
|
+
PopsCSS.iframeCSS,
|
|
4197
4344
|
]);
|
|
4198
4345
|
let maskExtraStyle =
|
|
4199
4346
|
// @ts-ignore
|
|
@@ -4388,7 +4535,7 @@ define((function () { 'use strict';
|
|
|
4388
4535
|
popsDOMUtils.on(headerCloseBtnElement, "click", (event) => {
|
|
4389
4536
|
event.preventDefault();
|
|
4390
4537
|
event.stopPropagation();
|
|
4391
|
-
PopsInstanceUtils.removeInstance([
|
|
4538
|
+
PopsInstanceUtils.removeInstance([PopsLayer.iframe], guid, false);
|
|
4392
4539
|
if (typeof config?.btn?.close?.callback === "function") {
|
|
4393
4540
|
config.btn.close.callback(eventDetails, event);
|
|
4394
4541
|
}
|
|
@@ -4506,13 +4653,13 @@ define((function () { 'use strict';
|
|
|
4506
4653
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
4507
4654
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
4508
4655
|
PopsHandler.handleInit($shadowRoot, [
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4656
|
+
PopsCSS.index,
|
|
4657
|
+
PopsCSS.ninePalaceGridPosition,
|
|
4658
|
+
PopsCSS.scrollbar,
|
|
4659
|
+
PopsCSS.button,
|
|
4660
|
+
PopsCSS.anim,
|
|
4661
|
+
PopsCSS.common,
|
|
4662
|
+
PopsCSS.drawerCSS,
|
|
4516
4663
|
]);
|
|
4517
4664
|
// 先把z-index提取出来
|
|
4518
4665
|
let zIndex = PopsHandler.handleZIndex(config.zIndex);
|
|
@@ -4833,13 +4980,13 @@ define((function () { 'use strict';
|
|
|
4833
4980
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
4834
4981
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
4835
4982
|
PopsHandler.handleInit($shadowRoot, [
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4983
|
+
PopsCSS.index,
|
|
4984
|
+
PopsCSS.ninePalaceGridPosition,
|
|
4985
|
+
PopsCSS.scrollbar,
|
|
4986
|
+
PopsCSS.button,
|
|
4987
|
+
PopsCSS.anim,
|
|
4988
|
+
PopsCSS.common,
|
|
4989
|
+
PopsCSS.folderCSS,
|
|
4843
4990
|
]);
|
|
4844
4991
|
/* 办公几件套 */
|
|
4845
4992
|
// @ts-ignore
|
|
@@ -4919,7 +5066,7 @@ define((function () { 'use strict';
|
|
|
4919
5066
|
<div class="pops-folder-title" style="text-align: ${config.title.position};${headerStyle}">${config.title.html
|
|
4920
5067
|
? config.title.text
|
|
4921
5068
|
: `<p pops style="${headerPStyle}">${config.title.text}</p>`}${headerBtnHTML}</div>
|
|
4922
|
-
<div class="pops-folder-content ${
|
|
5069
|
+
<div class="pops-folder-content ${popsUtils.isPhone() ? "pops-mobile-folder-content" : ""}">
|
|
4923
5070
|
<div class="pops-folder-list">
|
|
4924
5071
|
<div class="pops-folder-file-list-breadcrumb">
|
|
4925
5072
|
<div class="pops-folder-file-list-breadcrumb-primary">
|
|
@@ -5001,7 +5148,7 @@ define((function () { 'use strict';
|
|
|
5001
5148
|
<div class="pops-folder-list-table__body-div">
|
|
5002
5149
|
<table class="pops-folder-list-table__body">
|
|
5003
5150
|
<colgroup>
|
|
5004
|
-
${
|
|
5151
|
+
${popsUtils.isPhone()
|
|
5005
5152
|
? `<col width="100%">`
|
|
5006
5153
|
: `
|
|
5007
5154
|
<col width="52%">
|
|
@@ -5263,7 +5410,7 @@ define((function () { 'use strict';
|
|
|
5263
5410
|
else {
|
|
5264
5411
|
console.error("获取导航按钮失败");
|
|
5265
5412
|
}
|
|
5266
|
-
let loadingMask =
|
|
5413
|
+
let loadingMask = PopsLoading.init({
|
|
5267
5414
|
parent: $content,
|
|
5268
5415
|
content: {
|
|
5269
5416
|
text: "获取文件列表中...",
|
|
@@ -5287,7 +5434,7 @@ define((function () { 'use strict';
|
|
|
5287
5434
|
*/
|
|
5288
5435
|
async function refreshFolderInfoClickEvent(event, _config_) {
|
|
5289
5436
|
clearFolerRow();
|
|
5290
|
-
let loadingMask =
|
|
5437
|
+
let loadingMask = PopsLoading.init({
|
|
5291
5438
|
parent: $content,
|
|
5292
5439
|
content: {
|
|
5293
5440
|
text: "获取文件列表中...",
|
|
@@ -5483,7 +5630,7 @@ define((function () { 'use strict';
|
|
|
5483
5630
|
sortFolderConfig(_config_, config.sort.name, config.sort.isDesc);
|
|
5484
5631
|
_config_.forEach((item) => {
|
|
5485
5632
|
if (item["isFolder"]) {
|
|
5486
|
-
let { folderELement, fileNameElement } =
|
|
5633
|
+
let { folderELement, fileNameElement } = popsUtils.isPhone()
|
|
5487
5634
|
? createMobileFolderRowElement(item["fileName"], "", "", true)
|
|
5488
5635
|
: createFolderRowElement(item["fileName"], "", "", true);
|
|
5489
5636
|
popsDOMUtils.on(fileNameElement, "click", (event) => {
|
|
@@ -5492,7 +5639,7 @@ define((function () { 'use strict';
|
|
|
5492
5639
|
folderListBodyElement.appendChild(folderELement);
|
|
5493
5640
|
}
|
|
5494
5641
|
else {
|
|
5495
|
-
let { folderELement, fileNameElement } =
|
|
5642
|
+
let { folderELement, fileNameElement } = popsUtils.isPhone()
|
|
5496
5643
|
? createMobileFolderRowElement(item["fileName"], item.latestTime, item.fileSize, false)
|
|
5497
5644
|
: createFolderRowElement(item["fileName"], item.latestTime, item.fileSize, false);
|
|
5498
5645
|
setFileClickEvent(fileNameElement, item);
|
|
@@ -5740,6 +5887,7 @@ define((function () { 'use strict';
|
|
|
5740
5887
|
return "50";
|
|
5741
5888
|
},
|
|
5742
5889
|
callback(event, value) {
|
|
5890
|
+
popsDOMUtils.preventEvent(event);
|
|
5743
5891
|
console.log("输入框内容改变:", value);
|
|
5744
5892
|
},
|
|
5745
5893
|
placeholder: "请输入内容",
|
|
@@ -5755,6 +5903,7 @@ define((function () { 'use strict';
|
|
|
5755
5903
|
return "123456";
|
|
5756
5904
|
},
|
|
5757
5905
|
callback(event, value) {
|
|
5906
|
+
popsDOMUtils.preventEvent(event);
|
|
5758
5907
|
console.log("密码输入框内容改变:", value);
|
|
5759
5908
|
},
|
|
5760
5909
|
isPassword: true,
|
|
@@ -5771,6 +5920,7 @@ define((function () { 'use strict';
|
|
|
5771
5920
|
return "50";
|
|
5772
5921
|
},
|
|
5773
5922
|
callback(event, value) {
|
|
5923
|
+
popsDOMUtils.preventEvent(event);
|
|
5774
5924
|
console.log("textarea输入框内容改变:", value);
|
|
5775
5925
|
},
|
|
5776
5926
|
placeholder: "请输入内容",
|
|
@@ -6130,401 +6280,954 @@ define((function () { 'use strict';
|
|
|
6130
6280
|
},
|
|
6131
6281
|
};
|
|
6132
6282
|
|
|
6133
|
-
const
|
|
6283
|
+
const PopsTooltipConfig = () => {
|
|
6284
|
+
// @ts-ignore
|
|
6134
6285
|
return {
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
/** 内容 */
|
|
6152
|
-
$content: null,
|
|
6153
|
-
/** 左侧容器 */
|
|
6154
|
-
$contentAside: null,
|
|
6155
|
-
/** 右侧容器 */
|
|
6156
|
-
$contentSectionContainer: null,
|
|
6157
|
-
},
|
|
6158
|
-
/**
|
|
6159
|
-
* 初始化
|
|
6160
|
-
* @param details
|
|
6161
|
-
*/
|
|
6162
|
-
init(details) {
|
|
6163
|
-
// @ts-ignore
|
|
6164
|
-
this.$el = null;
|
|
6165
|
-
this.$el = {
|
|
6166
|
-
...details.$el,
|
|
6167
|
-
};
|
|
6168
|
-
this.asideULElement =
|
|
6169
|
-
this.$el.$contentAside.querySelector("ul");
|
|
6170
|
-
this.sectionContainerHeaderULElement =
|
|
6171
|
-
this.$el.$contentSectionContainer.querySelectorAll("ul")[0];
|
|
6172
|
-
this.sectionContainerULElement =
|
|
6173
|
-
this.$el.$contentSectionContainer.querySelectorAll("ul")[1];
|
|
6174
|
-
/**
|
|
6175
|
-
* 默认点击的左侧容器项
|
|
6176
|
-
*/
|
|
6177
|
-
let $asideDefaultItemElement = null;
|
|
6178
|
-
/** 是否滚动到默认位置(第一个项) */
|
|
6179
|
-
let isScrollToDefaultView = false;
|
|
6180
|
-
details.config.content.forEach((asideItemConfig) => {
|
|
6181
|
-
let $asideLiElement = this.createAsideItem(asideItemConfig);
|
|
6182
|
-
this.setAsideItemClickEvent($asideLiElement, asideItemConfig);
|
|
6183
|
-
this.asideULElement.appendChild($asideLiElement);
|
|
6184
|
-
if ($asideDefaultItemElement == null) {
|
|
6185
|
-
let flag = false;
|
|
6186
|
-
if (typeof asideItemConfig.isDefault === "function") {
|
|
6187
|
-
flag = Boolean(asideItemConfig.isDefault());
|
|
6188
|
-
}
|
|
6189
|
-
else {
|
|
6190
|
-
flag = Boolean(asideItemConfig.isDefault);
|
|
6191
|
-
}
|
|
6192
|
-
if (flag) {
|
|
6193
|
-
$asideDefaultItemElement = $asideLiElement;
|
|
6194
|
-
isScrollToDefaultView = Boolean(asideItemConfig.scrollToDefaultView);
|
|
6195
|
-
}
|
|
6196
|
-
}
|
|
6197
|
-
if (typeof asideItemConfig.afterRender === "function") {
|
|
6198
|
-
// 执行渲染完毕的回调
|
|
6199
|
-
asideItemConfig.afterRender({
|
|
6200
|
-
asideConfig: asideItemConfig,
|
|
6201
|
-
$asideLiElement: $asideLiElement,
|
|
6202
|
-
});
|
|
6203
|
-
}
|
|
6204
|
-
});
|
|
6205
|
-
/* 点击左侧列表 */
|
|
6206
|
-
if ($asideDefaultItemElement == null &&
|
|
6207
|
-
this.asideULElement.children.length) {
|
|
6208
|
-
/* 默认第一个 */
|
|
6209
|
-
$asideDefaultItemElement = this.asideULElement
|
|
6210
|
-
.children[0];
|
|
6211
|
-
}
|
|
6212
|
-
if ($asideDefaultItemElement) {
|
|
6213
|
-
/* 点击选择的那一项 */
|
|
6214
|
-
$asideDefaultItemElement.click();
|
|
6215
|
-
if (isScrollToDefaultView) {
|
|
6216
|
-
$asideDefaultItemElement?.scrollIntoView();
|
|
6217
|
-
}
|
|
6218
|
-
}
|
|
6219
|
-
else {
|
|
6220
|
-
console.error("pops.panel:左侧容器没有项");
|
|
6221
|
-
}
|
|
6222
|
-
},
|
|
6223
|
-
/**
|
|
6224
|
-
* 清空container容器的元素
|
|
6225
|
-
*/
|
|
6226
|
-
clearContainer() {
|
|
6227
|
-
PopsSafeUtils.setSafeHTML(this.sectionContainerHeaderULElement, "");
|
|
6228
|
-
PopsSafeUtils.setSafeHTML(this.sectionContainerULElement, "");
|
|
6229
|
-
this.$el.$content
|
|
6230
|
-
?.querySelectorAll("section.pops-panel-deepMenu-container")
|
|
6231
|
-
.forEach((ele) => ele.remove());
|
|
6232
|
-
},
|
|
6233
|
-
/**
|
|
6234
|
-
* 清空左侧容器已访问记录
|
|
6235
|
-
*/
|
|
6236
|
-
clearAsideItemIsVisited() {
|
|
6237
|
-
this.$el.$contentAside
|
|
6238
|
-
.querySelectorAll(".pops-is-visited")
|
|
6239
|
-
.forEach((element) => {
|
|
6240
|
-
popsDOMUtils.removeClassName(element, "pops-is-visited");
|
|
6241
|
-
});
|
|
6242
|
-
},
|
|
6243
|
-
/**
|
|
6244
|
-
* 设置左侧容器已访问记录
|
|
6245
|
-
* @param element
|
|
6246
|
-
*/
|
|
6247
|
-
setAsideItemIsVisited(element) {
|
|
6248
|
-
popsDOMUtils.addClassName(element, "pops-is-visited");
|
|
6286
|
+
useShadowRoot: true,
|
|
6287
|
+
target: null,
|
|
6288
|
+
content: "默认文字",
|
|
6289
|
+
isDiffContent: false,
|
|
6290
|
+
position: "top",
|
|
6291
|
+
className: "",
|
|
6292
|
+
isFixed: false,
|
|
6293
|
+
alwaysShow: false,
|
|
6294
|
+
triggerShowEventName: "mouseenter touchstart",
|
|
6295
|
+
triggerCloseEventName: "mouseleave touchend",
|
|
6296
|
+
zIndex: 10000,
|
|
6297
|
+
only: false,
|
|
6298
|
+
eventOption: {
|
|
6299
|
+
passive: false,
|
|
6300
|
+
capture: true,
|
|
6301
|
+
once: false,
|
|
6249
6302
|
},
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6303
|
+
showBeforeCallBack() { },
|
|
6304
|
+
showAfterCallBack() { },
|
|
6305
|
+
closeBeforeCallBack() { },
|
|
6306
|
+
closeAfterCallBack() { },
|
|
6307
|
+
delayCloseTime: 100,
|
|
6308
|
+
showArrow: true,
|
|
6309
|
+
arrowDistance: 12.5,
|
|
6310
|
+
otherDistance: 0,
|
|
6311
|
+
style: "",
|
|
6312
|
+
beforeAppendToPageCallBack() { },
|
|
6313
|
+
};
|
|
6314
|
+
};
|
|
6315
|
+
|
|
6316
|
+
class ToolTip {
|
|
6317
|
+
$el = {
|
|
6318
|
+
$shadowContainer: null,
|
|
6319
|
+
$shadowRoot: null,
|
|
6320
|
+
$toolTip: null,
|
|
6321
|
+
$content: null,
|
|
6322
|
+
$arrow: null,
|
|
6323
|
+
};
|
|
6324
|
+
$data = {
|
|
6325
|
+
config: null,
|
|
6326
|
+
guid: null,
|
|
6327
|
+
timeId_close_TouchEvent: [],
|
|
6328
|
+
timeId_close_MouseEvent: [],
|
|
6329
|
+
};
|
|
6330
|
+
constructor(config, guid, ShadowInfo) {
|
|
6331
|
+
this.$data.config = config;
|
|
6332
|
+
this.$data.guid = guid;
|
|
6333
|
+
this.$el.$shadowContainer = ShadowInfo.$shadowContainer;
|
|
6334
|
+
this.$el.$shadowRoot = ShadowInfo.$shadowRoot;
|
|
6335
|
+
this.show = this.show.bind(this);
|
|
6336
|
+
this.close = this.close.bind(this);
|
|
6337
|
+
this.toolTipAnimationFinishEvent =
|
|
6338
|
+
this.toolTipAnimationFinishEvent.bind(this);
|
|
6339
|
+
this.toolTipMouseEnterEvent = this.toolTipMouseEnterEvent.bind(this);
|
|
6340
|
+
this.toolTipMouseLeaveEvent = this.toolTipMouseLeaveEvent.bind(this);
|
|
6341
|
+
this.init();
|
|
6342
|
+
}
|
|
6343
|
+
init() {
|
|
6344
|
+
let toolTipInfo = this.createToolTip();
|
|
6345
|
+
this.$el.$toolTip = toolTipInfo.$toolTipContainer;
|
|
6346
|
+
this.$el.$content = toolTipInfo.$toolTipContent;
|
|
6347
|
+
this.$el.$arrow = toolTipInfo.$toolTipArrow;
|
|
6348
|
+
this.changeContent();
|
|
6349
|
+
this.changeZIndex();
|
|
6350
|
+
this.changePosition();
|
|
6351
|
+
if (!this.$data.config.alwaysShow) {
|
|
6352
|
+
this.offEvent();
|
|
6353
|
+
this.onEvent();
|
|
6354
|
+
}
|
|
6355
|
+
}
|
|
6356
|
+
/**
|
|
6357
|
+
* 创建提示元素
|
|
6358
|
+
*/
|
|
6359
|
+
createToolTip() {
|
|
6360
|
+
let $toolTipContainer = popsDOMUtils.createElement("div", {
|
|
6361
|
+
className: "pops-tip",
|
|
6362
|
+
innerHTML: /*html*/ `
|
|
6363
|
+
<div class="pops-tip-content" style="text-align: center;"></div>
|
|
6364
|
+
<div class="pops-tip-arrow"></div>
|
|
6365
|
+
`,
|
|
6366
|
+
}, {
|
|
6367
|
+
"data-position": this.$data.config.isFixed ? "fixed" : "absolute",
|
|
6368
|
+
"data-guid": this.$data.guid,
|
|
6369
|
+
});
|
|
6370
|
+
/** 内容 */
|
|
6371
|
+
let $toolTipContent = $toolTipContainer.querySelector(".pops-tip-content");
|
|
6372
|
+
/** 箭头 */
|
|
6373
|
+
let $toolTipArrow = $toolTipContainer.querySelector(".pops-tip-arrow");
|
|
6374
|
+
// 处理className
|
|
6375
|
+
if (typeof this.$data.config.className === "string" &&
|
|
6376
|
+
this.$data.config.className.trim() !== "") {
|
|
6377
|
+
popsDOMUtils.addClassName($toolTipContainer, this.$data.config.className);
|
|
6378
|
+
}
|
|
6379
|
+
// 添加z-index
|
|
6380
|
+
$toolTipContainer.style.zIndex = PopsHandler.handleZIndex(this.$data.config.zIndex).toString();
|
|
6381
|
+
if (this.$data.config.style != null) {
|
|
6382
|
+
/* 添加自定义style */
|
|
6383
|
+
let cssNode = popsDOMUtils.createElement("style", {
|
|
6384
|
+
type: "text/css",
|
|
6385
|
+
innerHTML: this.$data.config.style,
|
|
6386
|
+
});
|
|
6387
|
+
$toolTipContainer.appendChild(cssNode);
|
|
6388
|
+
}
|
|
6389
|
+
// 处理是否显示箭头元素
|
|
6390
|
+
if (!this.$data.config.showArrow) {
|
|
6391
|
+
$toolTipArrow.remove();
|
|
6392
|
+
}
|
|
6393
|
+
return {
|
|
6394
|
+
$toolTipContainer: $toolTipContainer,
|
|
6395
|
+
$toolTipArrow: $toolTipArrow,
|
|
6396
|
+
$toolTipContent: $toolTipContent,
|
|
6397
|
+
};
|
|
6398
|
+
}
|
|
6399
|
+
/**
|
|
6400
|
+
* 获取提示的内容
|
|
6401
|
+
*/
|
|
6402
|
+
getContent() {
|
|
6403
|
+
return typeof this.$data.config.content === "function"
|
|
6404
|
+
? this.$data.config.content()
|
|
6405
|
+
: this.$data.config.content;
|
|
6406
|
+
}
|
|
6407
|
+
/**
|
|
6408
|
+
* 修改提示的内容
|
|
6409
|
+
* @param text
|
|
6410
|
+
*/
|
|
6411
|
+
changeContent(text) {
|
|
6412
|
+
if (text == null) {
|
|
6413
|
+
text = this.getContent();
|
|
6414
|
+
}
|
|
6415
|
+
if (this.$data.config.isDiffContent) {
|
|
6416
|
+
let contentPropKey = "data-content";
|
|
6417
|
+
// @ts-ignore
|
|
6418
|
+
let originContentText = this.$el.$content[contentPropKey];
|
|
6419
|
+
if (typeof originContentText === "string") {
|
|
6420
|
+
if (originContentText === text) {
|
|
6421
|
+
// 内容未改变,不修改避免渲染
|
|
6283
6422
|
return;
|
|
6284
6423
|
}
|
|
6285
|
-
Reflect.set(element, propName, value);
|
|
6286
|
-
});
|
|
6287
|
-
},
|
|
6288
|
-
/**
|
|
6289
|
-
* 为元素设置classname
|
|
6290
|
-
* @param element
|
|
6291
|
-
* @param className
|
|
6292
|
-
*/
|
|
6293
|
-
setElementClassName(element, className) {
|
|
6294
|
-
if (className == null) {
|
|
6295
|
-
return;
|
|
6296
6424
|
}
|
|
6297
|
-
|
|
6298
|
-
|
|
6425
|
+
// @ts-ignore
|
|
6426
|
+
this.$el.$content[contentPropKey] = text;
|
|
6427
|
+
}
|
|
6428
|
+
PopsSafeUtils.setSafeHTML(this.$el.$content, text);
|
|
6429
|
+
}
|
|
6430
|
+
/**
|
|
6431
|
+
* 获取z-index
|
|
6432
|
+
*/
|
|
6433
|
+
getZIndex() {
|
|
6434
|
+
const zIndex = PopsHandler.handleZIndex(this.$data.config.zIndex);
|
|
6435
|
+
return zIndex;
|
|
6436
|
+
}
|
|
6437
|
+
/**
|
|
6438
|
+
* 动态修改z-index
|
|
6439
|
+
*/
|
|
6440
|
+
changeZIndex() {
|
|
6441
|
+
const zIndex = this.getZIndex();
|
|
6442
|
+
this.$el.$toolTip.style.setProperty("z-index", zIndex.toString());
|
|
6443
|
+
}
|
|
6444
|
+
/**
|
|
6445
|
+
* 计算 提示框的位置
|
|
6446
|
+
* @param event 触发的事件
|
|
6447
|
+
* @param targetElement 目标元素
|
|
6448
|
+
* @param arrowDistance 箭头和目标元素的距离
|
|
6449
|
+
* @param otherDistance 其它位置的偏移
|
|
6450
|
+
*/
|
|
6451
|
+
calcToolTipPosition(targetElement, arrowDistance, otherDistance, event) {
|
|
6452
|
+
let offsetInfo = popsDOMUtils.offset(targetElement, !this.$data.config.isFixed);
|
|
6453
|
+
// 目标 宽
|
|
6454
|
+
let targetElement_width = offsetInfo.width;
|
|
6455
|
+
// 目标 高
|
|
6456
|
+
let targetElement_height = offsetInfo.height;
|
|
6457
|
+
// 目标 顶部距离
|
|
6458
|
+
let targetElement_top = offsetInfo.top;
|
|
6459
|
+
// let targetElement_bottom = offsetInfo.bottom;
|
|
6460
|
+
// 目标 左边距离
|
|
6461
|
+
let targetElement_left = offsetInfo.left;
|
|
6462
|
+
// let targetElement_right = offsetInfo.right;
|
|
6463
|
+
let toolTipElement_width = popsDOMUtils.outerWidth(this.$el.$toolTip);
|
|
6464
|
+
let toolTipElement_height = popsDOMUtils.outerHeight(this.$el.$toolTip);
|
|
6465
|
+
/* 目标元素的x轴的中间位置 */
|
|
6466
|
+
let targetElement_X_center_pos = targetElement_left + targetElement_width / 2 - toolTipElement_width / 2;
|
|
6467
|
+
/* 目标元素的Y轴的中间位置 */
|
|
6468
|
+
let targetElement_Y_center_pos = targetElement_top + targetElement_height / 2 - toolTipElement_height / 2;
|
|
6469
|
+
let mouseX = 0;
|
|
6470
|
+
let mouseY = 0;
|
|
6471
|
+
if (event != null) {
|
|
6472
|
+
if (event instanceof MouseEvent || event instanceof PointerEvent) {
|
|
6473
|
+
mouseX = event.pageX;
|
|
6474
|
+
mouseY = event.y;
|
|
6299
6475
|
}
|
|
6300
|
-
if (
|
|
6301
|
-
let
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
});
|
|
6476
|
+
else if (event instanceof TouchEvent) {
|
|
6477
|
+
let touchEvent = event.touches[0];
|
|
6478
|
+
mouseX = touchEvent.pageX;
|
|
6479
|
+
mouseY = touchEvent.pageY;
|
|
6305
6480
|
}
|
|
6306
|
-
else
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6481
|
+
else {
|
|
6482
|
+
// @ts-ignore
|
|
6483
|
+
if (typeof event.clientX === "number") {
|
|
6484
|
+
// @ts-ignore
|
|
6485
|
+
mouseX = event.clientX;
|
|
6486
|
+
}
|
|
6487
|
+
// @ts-ignore
|
|
6488
|
+
if (typeof event.clientY === "number") {
|
|
6489
|
+
// @ts-ignore
|
|
6490
|
+
mouseY = event.clientY;
|
|
6491
|
+
}
|
|
6310
6492
|
}
|
|
6311
|
-
}
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6493
|
+
}
|
|
6494
|
+
return {
|
|
6495
|
+
TOP: {
|
|
6496
|
+
left: targetElement_X_center_pos - otherDistance,
|
|
6497
|
+
top: targetElement_top - toolTipElement_height - arrowDistance,
|
|
6498
|
+
arrow: "bottom",
|
|
6499
|
+
motion: "fadeInTop",
|
|
6500
|
+
},
|
|
6501
|
+
RIGHT: {
|
|
6502
|
+
left: targetElement_left + targetElement_width + arrowDistance,
|
|
6503
|
+
top: targetElement_Y_center_pos + otherDistance,
|
|
6504
|
+
arrow: "left",
|
|
6505
|
+
motion: "fadeInRight",
|
|
6506
|
+
},
|
|
6507
|
+
BOTTOM: {
|
|
6508
|
+
left: targetElement_X_center_pos - otherDistance,
|
|
6509
|
+
top: targetElement_top + targetElement_height + arrowDistance,
|
|
6510
|
+
arrow: "top",
|
|
6511
|
+
motion: "fadeInBottom",
|
|
6512
|
+
},
|
|
6513
|
+
LEFT: {
|
|
6514
|
+
left: targetElement_left - toolTipElement_width - arrowDistance,
|
|
6515
|
+
top: targetElement_Y_center_pos + otherDistance,
|
|
6516
|
+
arrow: "right",
|
|
6517
|
+
motion: "fadeInLeft",
|
|
6518
|
+
},
|
|
6519
|
+
FOLLOW: {
|
|
6520
|
+
left: mouseX + otherDistance,
|
|
6521
|
+
top: mouseY + otherDistance,
|
|
6522
|
+
arrow: "follow",
|
|
6523
|
+
motion: "",
|
|
6524
|
+
},
|
|
6525
|
+
};
|
|
6526
|
+
}
|
|
6527
|
+
/**
|
|
6528
|
+
* 动态修改tooltip的位置
|
|
6529
|
+
*/
|
|
6530
|
+
changePosition(event) {
|
|
6531
|
+
let positionInfo = this.calcToolTipPosition(this.$data.config.target, this.$data.config.arrowDistance, this.$data.config.otherDistance, event);
|
|
6532
|
+
let positionKey = this.$data.config.position.toUpperCase();
|
|
6533
|
+
let positionDetail = positionInfo[positionKey];
|
|
6534
|
+
if (positionDetail) {
|
|
6535
|
+
this.$el.$toolTip.style.left = positionDetail.left + "px";
|
|
6536
|
+
this.$el.$toolTip.style.top = positionDetail.top + "px";
|
|
6537
|
+
this.$el.$toolTip.setAttribute("data-motion", positionDetail.motion);
|
|
6538
|
+
this.$el.$arrow.setAttribute("data-position", positionDetail.arrow);
|
|
6539
|
+
}
|
|
6540
|
+
else {
|
|
6541
|
+
console.error("不存在该位置", this.$data.config.position);
|
|
6542
|
+
}
|
|
6543
|
+
}
|
|
6544
|
+
/**
|
|
6545
|
+
* 事件绑定
|
|
6546
|
+
*/
|
|
6547
|
+
onEvent() {
|
|
6548
|
+
// 监听动画结束事件
|
|
6549
|
+
this.onToolTipAnimationFinishEvent();
|
|
6550
|
+
this.onShowEvent();
|
|
6551
|
+
this.onCloseEvent();
|
|
6552
|
+
this.onToolTipMouseEnterEvent();
|
|
6553
|
+
this.onToolTipMouseLeaveEvent();
|
|
6554
|
+
}
|
|
6555
|
+
/**
|
|
6556
|
+
* 取消事件绑定
|
|
6557
|
+
*/
|
|
6558
|
+
offEvent() {
|
|
6559
|
+
this.offToolTipAnimationFinishEvent();
|
|
6560
|
+
this.offShowEvent();
|
|
6561
|
+
this.offCloseEvent();
|
|
6562
|
+
this.offToolTipMouseEnterEvent();
|
|
6563
|
+
this.offToolTipMouseLeaveEvent();
|
|
6564
|
+
}
|
|
6565
|
+
/**
|
|
6566
|
+
* 添加关闭的timeId
|
|
6567
|
+
* @param type
|
|
6568
|
+
* @param timeId
|
|
6569
|
+
*/
|
|
6570
|
+
addCloseTimeoutId(type, timeId) {
|
|
6571
|
+
if (type === "MouseEvent") {
|
|
6572
|
+
this.$data.timeId_close_MouseEvent.push(timeId);
|
|
6573
|
+
}
|
|
6574
|
+
else {
|
|
6575
|
+
this.$data.timeId_close_TouchEvent.push(timeId);
|
|
6576
|
+
}
|
|
6577
|
+
}
|
|
6578
|
+
/**
|
|
6579
|
+
* 清除延迟的timeId
|
|
6580
|
+
* @param type 事件类型
|
|
6581
|
+
*/
|
|
6582
|
+
clearCloseTimeoutId(type, timeId) {
|
|
6583
|
+
let timeIdList = type === "MouseEvent"
|
|
6584
|
+
? this.$data.timeId_close_MouseEvent
|
|
6585
|
+
: this.$data.timeId_close_TouchEvent;
|
|
6586
|
+
for (let index = 0; index < timeIdList.length; index++) {
|
|
6587
|
+
const currentTimeId = timeIdList[index];
|
|
6588
|
+
if (typeof timeId === "number") {
|
|
6589
|
+
// 只清除一个
|
|
6590
|
+
if (timeId == currentTimeId) {
|
|
6591
|
+
popsUtils.clearTimeout(timeId);
|
|
6592
|
+
timeIdList.splice(index, 1);
|
|
6593
|
+
break;
|
|
6594
|
+
}
|
|
6343
6595
|
}
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
<div class="pops-panel-switch">
|
|
6349
|
-
<input class="pops-panel-switch__input" type="checkbox">
|
|
6350
|
-
<span class="pops-panel-switch__core">
|
|
6351
|
-
<div class="pops-panel-switch__action">
|
|
6352
|
-
</div>
|
|
6353
|
-
</span>
|
|
6354
|
-
</div>`);
|
|
6355
|
-
const PopsPanelSwitch = {
|
|
6356
|
-
[Symbol.toStringTag]: "PopsPanelSwitch",
|
|
6357
|
-
$data: {
|
|
6358
|
-
value: Boolean(formConfig.getValue()),
|
|
6359
|
-
},
|
|
6360
|
-
$ele: {
|
|
6361
|
-
switch: liElement.querySelector(".pops-panel-switch"),
|
|
6362
|
-
input: liElement.querySelector(".pops-panel-switch__input"),
|
|
6363
|
-
core: liElement.querySelector(".pops-panel-switch__core"),
|
|
6364
|
-
},
|
|
6365
|
-
init() {
|
|
6366
|
-
this.setStatus(this.$data.value);
|
|
6367
|
-
if (formConfig.disabled) {
|
|
6368
|
-
this.disable();
|
|
6369
|
-
}
|
|
6370
|
-
this.setClickEvent();
|
|
6371
|
-
},
|
|
6372
|
-
setClickEvent() {
|
|
6373
|
-
let that = this;
|
|
6374
|
-
popsDOMUtils.on(this.$ele.core, "click", void 0, function (event) {
|
|
6375
|
-
if (that.$ele.input.disabled ||
|
|
6376
|
-
that.$ele.switch.hasAttribute("data-disabled")) {
|
|
6377
|
-
return;
|
|
6378
|
-
}
|
|
6379
|
-
that.$data.value = that.getStatus();
|
|
6380
|
-
that.setStatus(that.$data.value);
|
|
6381
|
-
if (typeof formConfig.callback === "function") {
|
|
6382
|
-
formConfig.callback(event, that.$data.value);
|
|
6383
|
-
}
|
|
6384
|
-
});
|
|
6385
|
-
},
|
|
6386
|
-
/**
|
|
6387
|
-
* 设置状态
|
|
6388
|
-
*/
|
|
6389
|
-
setStatus(isChecked = false) {
|
|
6390
|
-
isChecked = Boolean(isChecked);
|
|
6391
|
-
this.$ele.input.checked = isChecked;
|
|
6392
|
-
if (isChecked) {
|
|
6393
|
-
popsDOMUtils.addClassName(this.$ele.switch, "pops-panel-switch-is-checked");
|
|
6394
|
-
}
|
|
6395
|
-
else {
|
|
6396
|
-
popsDOMUtils.removeClassName(this.$ele.switch, "pops-panel-switch-is-checked");
|
|
6397
|
-
}
|
|
6398
|
-
},
|
|
6399
|
-
/**
|
|
6400
|
-
* 根据className来获取逆反值
|
|
6401
|
-
*/
|
|
6402
|
-
getStatus() {
|
|
6403
|
-
let checkedValue = false;
|
|
6404
|
-
if (!popsDOMUtils.containsClassName(this.$ele.switch, "pops-panel-switch-is-checked")) {
|
|
6405
|
-
checkedValue = true;
|
|
6406
|
-
}
|
|
6407
|
-
return checkedValue;
|
|
6408
|
-
},
|
|
6409
|
-
/**
|
|
6410
|
-
* 禁用复选框
|
|
6411
|
-
*/
|
|
6412
|
-
disable() {
|
|
6413
|
-
this.$ele.input.disabled = true;
|
|
6414
|
-
this.$ele.switch.setAttribute("data-disabled", "true");
|
|
6415
|
-
},
|
|
6416
|
-
/**
|
|
6417
|
-
* 启用复选框
|
|
6418
|
-
*/
|
|
6419
|
-
notDisable() {
|
|
6420
|
-
this.$ele.input.disabled = false;
|
|
6421
|
-
this.$ele.switch.removeAttribute("data-disabled");
|
|
6422
|
-
},
|
|
6423
|
-
};
|
|
6424
|
-
PopsPanelSwitch.init();
|
|
6425
|
-
liElement["data-switch"] = PopsPanelSwitch;
|
|
6426
|
-
return liElement;
|
|
6427
|
-
},
|
|
6428
|
-
/**
|
|
6429
|
-
* 获取中间容器的元素<li>
|
|
6430
|
-
* type ==> slider
|
|
6431
|
-
* @param formConfig
|
|
6432
|
-
*/
|
|
6433
|
-
createSectionContainerItem_slider(formConfig) {
|
|
6434
|
-
let liElement = document.createElement("li");
|
|
6435
|
-
liElement["__formConfig__"] = formConfig;
|
|
6436
|
-
this.setElementClassName(liElement, formConfig.className);
|
|
6437
|
-
this.setElementAttributes(liElement, formConfig.attributes);
|
|
6438
|
-
this.setElementProps(liElement, formConfig.props);
|
|
6439
|
-
/* 左边底部的描述的文字 */
|
|
6440
|
-
let leftDescriptionText = "";
|
|
6441
|
-
if (Boolean(formConfig.description)) {
|
|
6442
|
-
leftDescriptionText = `<p class="pops-panel-item-left-desc-text">${formConfig.description}</p>`;
|
|
6596
|
+
else {
|
|
6597
|
+
popsUtils.clearTimeout(currentTimeId);
|
|
6598
|
+
timeIdList.splice(index, 1);
|
|
6599
|
+
index--;
|
|
6443
6600
|
}
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6601
|
+
}
|
|
6602
|
+
}
|
|
6603
|
+
/**
|
|
6604
|
+
* 显示提示框
|
|
6605
|
+
*/
|
|
6606
|
+
show(...args) {
|
|
6607
|
+
let event = args[0];
|
|
6608
|
+
let eventType = event instanceof MouseEvent ? "MouseEvent" : "TouchEvent";
|
|
6609
|
+
this.clearCloseTimeoutId(eventType);
|
|
6610
|
+
if (typeof this.$data.config.showBeforeCallBack === "function") {
|
|
6611
|
+
let result = this.$data.config.showBeforeCallBack(this.$el.$toolTip);
|
|
6612
|
+
if (typeof result === "boolean" && !result) {
|
|
6613
|
+
return;
|
|
6455
6614
|
}
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6615
|
+
}
|
|
6616
|
+
if (!popsUtils.contains(this.$el.$shadowRoot, this.$el.$toolTip)) {
|
|
6617
|
+
// 不在容器中,添加
|
|
6618
|
+
this.init();
|
|
6619
|
+
popsDOMUtils.append(this.$el.$shadowRoot, this.$el.$toolTip);
|
|
6620
|
+
}
|
|
6621
|
+
if (!popsUtils.contains(this.$el.$shadowContainer)) {
|
|
6622
|
+
// 页面不存在Shadow,添加
|
|
6623
|
+
if (typeof this.$data.config.beforeAppendToPageCallBack === "function") {
|
|
6624
|
+
this.$data.config.beforeAppendToPageCallBack(this.$el.$shadowRoot, this.$el.$shadowContainer);
|
|
6625
|
+
}
|
|
6626
|
+
popsDOMUtils.append(document.body, this.$el.$shadowContainer);
|
|
6627
|
+
}
|
|
6628
|
+
// 更新内容
|
|
6629
|
+
this.changeContent();
|
|
6630
|
+
// 更新tip的位置
|
|
6631
|
+
this.changePosition(event);
|
|
6632
|
+
if (typeof this.$data.config.showAfterCallBack === "function") {
|
|
6633
|
+
this.$data.config.showAfterCallBack(this.$el.$toolTip);
|
|
6634
|
+
}
|
|
6635
|
+
}
|
|
6636
|
+
/**
|
|
6637
|
+
* 绑定 显示事件
|
|
6638
|
+
*/
|
|
6639
|
+
onShowEvent() {
|
|
6640
|
+
popsDOMUtils.on(this.$data.config.target, this.$data.config.triggerShowEventName, this.show, this.$data.config.eventOption);
|
|
6641
|
+
}
|
|
6642
|
+
/**
|
|
6643
|
+
* 取消绑定 显示事件
|
|
6644
|
+
*/
|
|
6645
|
+
offShowEvent() {
|
|
6646
|
+
popsDOMUtils.off(this.$data.config.target, this.$data.config.triggerShowEventName, this.show, {
|
|
6647
|
+
capture: true,
|
|
6648
|
+
});
|
|
6649
|
+
}
|
|
6650
|
+
/**
|
|
6651
|
+
* 关闭提示框
|
|
6652
|
+
*/
|
|
6653
|
+
close(...args) {
|
|
6654
|
+
let event = args[0];
|
|
6655
|
+
let eventType = event instanceof MouseEvent ? "MouseEvent" : "TouchEvent";
|
|
6656
|
+
// 只判断鼠标事件
|
|
6657
|
+
// 其它的如Touch事件不做处理
|
|
6658
|
+
if (event && event instanceof MouseEvent) {
|
|
6659
|
+
let $target = event.composedPath()[0];
|
|
6660
|
+
// 如果是目标元素的子元素/tooltip元素的子元素触发的话,那就不管
|
|
6661
|
+
if ($target != this.$data.config.target && $target != this.$el.$toolTip) {
|
|
6662
|
+
return;
|
|
6663
|
+
}
|
|
6664
|
+
}
|
|
6665
|
+
if (typeof this.$data.config.closeBeforeCallBack === "function") {
|
|
6666
|
+
let result = this.$data.config.closeBeforeCallBack(this.$el.$toolTip);
|
|
6667
|
+
if (typeof result === "boolean" && !result) {
|
|
6668
|
+
return;
|
|
6669
|
+
}
|
|
6670
|
+
}
|
|
6671
|
+
if (this.$data.config.delayCloseTime == null ||
|
|
6672
|
+
(typeof this.$data.config.delayCloseTime === "number" &&
|
|
6673
|
+
this.$data.config.delayCloseTime <= 0)) {
|
|
6674
|
+
this.$data.config.delayCloseTime = 100;
|
|
6675
|
+
}
|
|
6676
|
+
let timeId = popsUtils.setTimeout(() => {
|
|
6677
|
+
// 设置属性触发关闭动画
|
|
6678
|
+
this.clearCloseTimeoutId(eventType, timeId);
|
|
6679
|
+
if (this.$el.$toolTip == null) {
|
|
6680
|
+
// 已清除了
|
|
6681
|
+
return;
|
|
6682
|
+
}
|
|
6683
|
+
let motion = this.$el.$toolTip.getAttribute("data-motion");
|
|
6684
|
+
if (motion == null || motion.trim() === "") {
|
|
6685
|
+
// 没有动画
|
|
6686
|
+
this.toolTipAnimationFinishEvent();
|
|
6687
|
+
}
|
|
6688
|
+
else {
|
|
6689
|
+
// 修改data-motion触发动画关闭
|
|
6690
|
+
this.$el.$toolTip.setAttribute("data-motion", this.$el.$toolTip
|
|
6691
|
+
.getAttribute("data-motion")
|
|
6692
|
+
.replace("fadeIn", "fadeOut"));
|
|
6693
|
+
}
|
|
6694
|
+
}, this.$data.config.delayCloseTime);
|
|
6695
|
+
this.addCloseTimeoutId(eventType, timeId);
|
|
6696
|
+
if (typeof this.$data.config.closeAfterCallBack === "function") {
|
|
6697
|
+
this.$data.config.closeAfterCallBack(this.$el.$toolTip);
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6700
|
+
/**
|
|
6701
|
+
* 绑定 关闭事件
|
|
6702
|
+
*/
|
|
6703
|
+
onCloseEvent() {
|
|
6704
|
+
popsDOMUtils.on(this.$data.config.target, this.$data.config.triggerCloseEventName, this.close, this.$data.config.eventOption);
|
|
6705
|
+
}
|
|
6706
|
+
/**
|
|
6707
|
+
* 取消绑定 关闭事件
|
|
6708
|
+
*/
|
|
6709
|
+
offCloseEvent() {
|
|
6710
|
+
popsDOMUtils.off(this.$data.config.target, this.$data.config.triggerCloseEventName, this.close, {
|
|
6711
|
+
capture: true,
|
|
6712
|
+
});
|
|
6713
|
+
}
|
|
6714
|
+
/**
|
|
6715
|
+
* 销毁元素
|
|
6716
|
+
*/
|
|
6717
|
+
destory() {
|
|
6718
|
+
if (this.$el.$toolTip) {
|
|
6719
|
+
this.$el.$shadowRoot.removeChild(this.$el.$toolTip);
|
|
6720
|
+
}
|
|
6721
|
+
// @ts-ignore
|
|
6722
|
+
this.$el.$toolTip = null;
|
|
6723
|
+
// @ts-ignore
|
|
6724
|
+
this.$el.$arrow = null;
|
|
6725
|
+
// @ts-ignore
|
|
6726
|
+
this.$el.$content = null;
|
|
6727
|
+
}
|
|
6728
|
+
/**
|
|
6729
|
+
* 动画结束事件
|
|
6730
|
+
*/
|
|
6731
|
+
toolTipAnimationFinishEvent() {
|
|
6732
|
+
if (!this.$el.$toolTip) {
|
|
6733
|
+
return;
|
|
6734
|
+
}
|
|
6735
|
+
if (this.$el.$toolTip.getAttribute("data-motion").includes("In")) {
|
|
6736
|
+
return;
|
|
6737
|
+
}
|
|
6738
|
+
this.destory();
|
|
6739
|
+
}
|
|
6740
|
+
/**
|
|
6741
|
+
* 监听tooltip的动画结束
|
|
6742
|
+
*/
|
|
6743
|
+
onToolTipAnimationFinishEvent() {
|
|
6744
|
+
popsDOMUtils.on(this.$el.$toolTip, popsDOMUtils.getAnimationEndNameList(), this.toolTipAnimationFinishEvent);
|
|
6745
|
+
}
|
|
6746
|
+
/**
|
|
6747
|
+
* 取消tooltip监听动画结束
|
|
6748
|
+
*/
|
|
6749
|
+
offToolTipAnimationFinishEvent() {
|
|
6750
|
+
popsDOMUtils.off(this.$el.$toolTip, popsDOMUtils.getAnimationEndNameList(), this.toolTipAnimationFinishEvent);
|
|
6751
|
+
}
|
|
6752
|
+
/**
|
|
6753
|
+
* 鼠标|触摸进入事件
|
|
6754
|
+
*/
|
|
6755
|
+
toolTipMouseEnterEvent() {
|
|
6756
|
+
this.clearCloseTimeoutId("MouseEvent");
|
|
6757
|
+
this.clearCloseTimeoutId("TouchEvent");
|
|
6758
|
+
// 重置动画状态
|
|
6759
|
+
// this.$el.$toolTip.style.animationPlayState = "paused";
|
|
6760
|
+
// if (parseInt(getComputedStyle(toolTipElement)) > 0.5) {
|
|
6761
|
+
// toolTipElement.style.animationPlayState = "paused";
|
|
6762
|
+
// }
|
|
6763
|
+
}
|
|
6764
|
+
/**
|
|
6765
|
+
* 监听鼠标|触摸事件
|
|
6766
|
+
*/
|
|
6767
|
+
onToolTipMouseEnterEvent() {
|
|
6768
|
+
this.clearCloseTimeoutId("MouseEvent");
|
|
6769
|
+
this.clearCloseTimeoutId("TouchEvent");
|
|
6770
|
+
popsDOMUtils.on(this.$el.$toolTip, "mouseenter touchstart", this.toolTipMouseEnterEvent, this.$data.config.eventOption);
|
|
6771
|
+
}
|
|
6772
|
+
/**
|
|
6773
|
+
* 取消监听鼠标|触摸事件
|
|
6774
|
+
*/
|
|
6775
|
+
offToolTipMouseEnterEvent() {
|
|
6776
|
+
popsDOMUtils.off(this.$el.$toolTip, "mouseenter touchstart", this.toolTipMouseEnterEvent, this.$data.config.eventOption);
|
|
6777
|
+
}
|
|
6778
|
+
/**
|
|
6779
|
+
* 鼠标|触摸离开事件
|
|
6780
|
+
*/
|
|
6781
|
+
toolTipMouseLeaveEvent(event) {
|
|
6782
|
+
this.close(event);
|
|
6783
|
+
// this.$el.$toolTip.style.animationPlayState = "running";
|
|
6784
|
+
}
|
|
6785
|
+
/**
|
|
6786
|
+
* 监听鼠标|触摸离开事件
|
|
6787
|
+
*/
|
|
6788
|
+
onToolTipMouseLeaveEvent() {
|
|
6789
|
+
popsDOMUtils.on(this.$el.$toolTip, "mouseleave touchend", this.toolTipMouseLeaveEvent, this.$data.config.eventOption);
|
|
6790
|
+
}
|
|
6791
|
+
/**
|
|
6792
|
+
* 取消监听鼠标|触摸离开事件
|
|
6793
|
+
*/
|
|
6794
|
+
offToolTipMouseLeaveEvent() {
|
|
6795
|
+
popsDOMUtils.off(this.$el.$toolTip, "mouseleave touchend", this.toolTipMouseLeaveEvent, this.$data.config.eventOption);
|
|
6796
|
+
}
|
|
6797
|
+
}
|
|
6798
|
+
const PopsTooltip = {
|
|
6799
|
+
init(details) {
|
|
6800
|
+
const guid = popsUtils.getRandomGUID();
|
|
6801
|
+
// 设置当前类型
|
|
6802
|
+
const PopsType = "tooltip";
|
|
6803
|
+
let config = PopsTooltipConfig();
|
|
6804
|
+
config = popsUtils.assign(config, GlobalConfig.getGlobalConfig());
|
|
6805
|
+
config = popsUtils.assign(config, details);
|
|
6806
|
+
if (!(config.target instanceof HTMLElement)) {
|
|
6807
|
+
throw new TypeError("config.target 必须是HTMLElement类型");
|
|
6808
|
+
}
|
|
6809
|
+
config = PopsHandler.handleOnly(PopsType, config);
|
|
6810
|
+
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
6811
|
+
PopsHandler.handleInit($shadowRoot, [
|
|
6812
|
+
PopsCSS.index,
|
|
6813
|
+
PopsCSS.anim,
|
|
6814
|
+
PopsCSS.common,
|
|
6815
|
+
PopsCSS.tooltipCSS,
|
|
6816
|
+
]);
|
|
6817
|
+
let toolTip = new ToolTip(config, guid, {
|
|
6818
|
+
$shadowContainer,
|
|
6819
|
+
$shadowRoot,
|
|
6820
|
+
});
|
|
6821
|
+
if (config.alwaysShow) {
|
|
6822
|
+
/* 总是显示 */
|
|
6823
|
+
/* 直接显示 */
|
|
6824
|
+
toolTip.show();
|
|
6825
|
+
}
|
|
6826
|
+
return {
|
|
6827
|
+
guid,
|
|
6828
|
+
config,
|
|
6829
|
+
$shadowContainer,
|
|
6830
|
+
$shadowRoot,
|
|
6831
|
+
toolTip,
|
|
6832
|
+
};
|
|
6833
|
+
},
|
|
6834
|
+
};
|
|
6835
|
+
|
|
6836
|
+
const PanelHandleContentDetails = () => {
|
|
6837
|
+
return {
|
|
6491
6838
|
/**
|
|
6492
|
-
*
|
|
6493
|
-
* type ==> slider
|
|
6494
|
-
* @param formConfig
|
|
6839
|
+
* 左侧的ul容器
|
|
6495
6840
|
*/
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6841
|
+
asideULElement: null,
|
|
6842
|
+
/**
|
|
6843
|
+
* 右侧主内容的顶部文字ul容器
|
|
6844
|
+
*/
|
|
6845
|
+
sectionContainerHeaderULElement: null,
|
|
6846
|
+
/**
|
|
6847
|
+
* 右侧主内容的ul容器
|
|
6848
|
+
*/
|
|
6849
|
+
sectionContainerULElement: null,
|
|
6850
|
+
/**
|
|
6851
|
+
* 元素
|
|
6852
|
+
*/
|
|
6853
|
+
$el: {
|
|
6854
|
+
/** 内容 */
|
|
6855
|
+
$content: null,
|
|
6856
|
+
/** 左侧容器 */
|
|
6857
|
+
$contentAside: null,
|
|
6858
|
+
/** 右侧容器 */
|
|
6859
|
+
$contentSectionContainer: null,
|
|
6860
|
+
},
|
|
6861
|
+
/**
|
|
6862
|
+
* 初始化
|
|
6863
|
+
* @param details
|
|
6864
|
+
*/
|
|
6865
|
+
init(details) {
|
|
6866
|
+
// @ts-ignore
|
|
6867
|
+
this.$el = null;
|
|
6868
|
+
this.$el = {
|
|
6869
|
+
...details.$el,
|
|
6870
|
+
};
|
|
6871
|
+
this.asideULElement =
|
|
6872
|
+
this.$el.$contentAside.querySelector("ul");
|
|
6873
|
+
this.sectionContainerHeaderULElement =
|
|
6874
|
+
this.$el.$contentSectionContainer.querySelectorAll("ul")[0];
|
|
6875
|
+
this.sectionContainerULElement =
|
|
6876
|
+
this.$el.$contentSectionContainer.querySelectorAll("ul")[1];
|
|
6877
|
+
/**
|
|
6878
|
+
* 默认点击的左侧容器项
|
|
6879
|
+
*/
|
|
6880
|
+
let $asideDefaultItemElement = null;
|
|
6881
|
+
/** 是否滚动到默认位置(第一个项) */
|
|
6882
|
+
let isScrollToDefaultView = false;
|
|
6883
|
+
details.config.content.forEach((asideItemConfig) => {
|
|
6884
|
+
let $asideLiElement = this.createAsideItem(asideItemConfig);
|
|
6885
|
+
this.setAsideItemClickEvent($asideLiElement, asideItemConfig);
|
|
6886
|
+
this.asideULElement.appendChild($asideLiElement);
|
|
6887
|
+
if ($asideDefaultItemElement == null) {
|
|
6888
|
+
let flag = false;
|
|
6889
|
+
if (typeof asideItemConfig.isDefault === "function") {
|
|
6890
|
+
flag = Boolean(asideItemConfig.isDefault());
|
|
6891
|
+
}
|
|
6892
|
+
else {
|
|
6893
|
+
flag = Boolean(asideItemConfig.isDefault);
|
|
6894
|
+
}
|
|
6895
|
+
if (flag) {
|
|
6896
|
+
$asideDefaultItemElement = $asideLiElement;
|
|
6897
|
+
isScrollToDefaultView = Boolean(asideItemConfig.scrollToDefaultView);
|
|
6898
|
+
}
|
|
6899
|
+
}
|
|
6900
|
+
if (typeof asideItemConfig.afterRender === "function") {
|
|
6901
|
+
// 执行渲染完毕的回调
|
|
6902
|
+
asideItemConfig.afterRender({
|
|
6903
|
+
asideConfig: asideItemConfig,
|
|
6904
|
+
$asideLiElement: $asideLiElement,
|
|
6905
|
+
});
|
|
6906
|
+
}
|
|
6907
|
+
});
|
|
6908
|
+
/* 点击左侧列表 */
|
|
6909
|
+
if ($asideDefaultItemElement == null &&
|
|
6910
|
+
this.asideULElement.children.length) {
|
|
6911
|
+
/* 默认第一个 */
|
|
6912
|
+
$asideDefaultItemElement = this.asideULElement
|
|
6913
|
+
.children[0];
|
|
6914
|
+
}
|
|
6915
|
+
if ($asideDefaultItemElement) {
|
|
6916
|
+
/* 点击选择的那一项 */
|
|
6917
|
+
$asideDefaultItemElement.click();
|
|
6918
|
+
if (isScrollToDefaultView) {
|
|
6919
|
+
$asideDefaultItemElement?.scrollIntoView();
|
|
6920
|
+
}
|
|
6921
|
+
}
|
|
6922
|
+
else {
|
|
6923
|
+
console.error("pops.panel:左侧容器没有项");
|
|
6924
|
+
}
|
|
6925
|
+
},
|
|
6926
|
+
/**
|
|
6927
|
+
* 清空container容器的元素
|
|
6928
|
+
*/
|
|
6929
|
+
clearContainer() {
|
|
6930
|
+
PopsSafeUtils.setSafeHTML(this.sectionContainerHeaderULElement, "");
|
|
6931
|
+
PopsSafeUtils.setSafeHTML(this.sectionContainerULElement, "");
|
|
6932
|
+
this.$el.$content
|
|
6933
|
+
?.querySelectorAll("section.pops-panel-deepMenu-container")
|
|
6934
|
+
.forEach((ele) => ele.remove());
|
|
6935
|
+
},
|
|
6936
|
+
/**
|
|
6937
|
+
* 清空左侧容器已访问记录
|
|
6938
|
+
*/
|
|
6939
|
+
clearAsideItemIsVisited() {
|
|
6940
|
+
this.$el.$contentAside
|
|
6941
|
+
.querySelectorAll(".pops-is-visited")
|
|
6942
|
+
.forEach((element) => {
|
|
6943
|
+
popsDOMUtils.removeClassName(element, "pops-is-visited");
|
|
6944
|
+
});
|
|
6945
|
+
},
|
|
6946
|
+
/**
|
|
6947
|
+
* 设置左侧容器已访问记录
|
|
6948
|
+
* @param element
|
|
6949
|
+
*/
|
|
6950
|
+
setAsideItemIsVisited(element) {
|
|
6951
|
+
popsDOMUtils.addClassName(element, "pops-is-visited");
|
|
6952
|
+
},
|
|
6953
|
+
/**
|
|
6954
|
+
* 为元素添加自定义属性
|
|
6955
|
+
* @param element
|
|
6956
|
+
* @param attributes
|
|
6957
|
+
*/
|
|
6958
|
+
setElementAttributes(element, attributes) {
|
|
6959
|
+
if (attributes == null) {
|
|
6960
|
+
return;
|
|
6961
|
+
}
|
|
6962
|
+
if (Array.isArray(attributes)) {
|
|
6963
|
+
attributes.forEach((attrObject) => {
|
|
6964
|
+
this.setElementAttributes(element, attrObject);
|
|
6965
|
+
});
|
|
6966
|
+
}
|
|
6967
|
+
else {
|
|
6968
|
+
Object.keys(attributes).forEach((attributeName) => {
|
|
6969
|
+
element.setAttribute(attributeName, attributes[attributeName]);
|
|
6970
|
+
});
|
|
6971
|
+
}
|
|
6972
|
+
},
|
|
6973
|
+
/**
|
|
6974
|
+
* 为元素设置(自定义)属性
|
|
6975
|
+
* @param element
|
|
6976
|
+
* @param props
|
|
6977
|
+
*/
|
|
6978
|
+
setElementProps(element, props) {
|
|
6979
|
+
if (props == null) {
|
|
6980
|
+
return;
|
|
6981
|
+
}
|
|
6982
|
+
Object.keys(props).forEach((propName) => {
|
|
6983
|
+
let value = props[propName];
|
|
6984
|
+
if (propName === "innerHTML") {
|
|
6985
|
+
PopsSafeUtils.setSafeHTML(element, value);
|
|
6986
|
+
return;
|
|
6987
|
+
}
|
|
6988
|
+
Reflect.set(element, propName, value);
|
|
6989
|
+
});
|
|
6990
|
+
},
|
|
6991
|
+
/**
|
|
6992
|
+
* 为元素设置classname
|
|
6993
|
+
* @param element
|
|
6994
|
+
* @param className
|
|
6995
|
+
*/
|
|
6996
|
+
setElementClassName(element, className) {
|
|
6997
|
+
if (className == null) {
|
|
6998
|
+
return;
|
|
6999
|
+
}
|
|
7000
|
+
if (typeof className === "function") {
|
|
7001
|
+
className = className();
|
|
7002
|
+
}
|
|
7003
|
+
if (typeof className === "string") {
|
|
7004
|
+
let splitClassName = className.split(" ");
|
|
7005
|
+
splitClassName.forEach((classNameStr) => {
|
|
7006
|
+
element.classList.add(classNameStr);
|
|
7007
|
+
});
|
|
7008
|
+
}
|
|
7009
|
+
else if (Array.isArray(className)) {
|
|
7010
|
+
className.forEach((classNameStr) => {
|
|
7011
|
+
this.setElementClassName(element, classNameStr);
|
|
7012
|
+
});
|
|
7013
|
+
}
|
|
7014
|
+
},
|
|
7015
|
+
/**
|
|
7016
|
+
* 创建左侧容器元素<li>
|
|
7017
|
+
* @param asideConfig
|
|
7018
|
+
*/
|
|
7019
|
+
createAsideItem(asideConfig) {
|
|
7020
|
+
let liElement = document.createElement("li");
|
|
7021
|
+
liElement.id = asideConfig.id;
|
|
7022
|
+
// @ts-ignore
|
|
7023
|
+
liElement["__forms__"] = asideConfig.forms;
|
|
7024
|
+
PopsSafeUtils.setSafeHTML(liElement, asideConfig.title);
|
|
7025
|
+
/* 处理className */
|
|
7026
|
+
this.setElementClassName(liElement, asideConfig.className);
|
|
7027
|
+
this.setElementAttributes(liElement, asideConfig.attributes);
|
|
7028
|
+
this.setElementProps(liElement, asideConfig.props);
|
|
7029
|
+
return liElement;
|
|
7030
|
+
},
|
|
7031
|
+
/**
|
|
7032
|
+
* 创建中间容器的元素<li>
|
|
7033
|
+
* type ==> switch
|
|
7034
|
+
* @param formConfig
|
|
7035
|
+
*/
|
|
7036
|
+
createSectionContainerItem_switch(formConfig) {
|
|
7037
|
+
let liElement = document.createElement("li");
|
|
7038
|
+
liElement["__formConfig__"] = formConfig;
|
|
7039
|
+
this.setElementClassName(liElement, formConfig.className);
|
|
7040
|
+
this.setElementAttributes(liElement, formConfig.attributes);
|
|
7041
|
+
this.setElementProps(liElement, formConfig.props);
|
|
7042
|
+
/* 左边底部的描述的文字 */
|
|
7043
|
+
let leftDescriptionText = "";
|
|
7044
|
+
if (Boolean(formConfig.description)) {
|
|
7045
|
+
leftDescriptionText = /*html*/ `<p class="pops-panel-item-left-desc-text">${formConfig.description}</p>`;
|
|
6507
7046
|
}
|
|
6508
7047
|
PopsSafeUtils.setSafeHTML(liElement,
|
|
6509
7048
|
/*html*/ `
|
|
6510
|
-
<div class="pops-panel-item-left-text"
|
|
7049
|
+
<div class="pops-panel-item-left-text">
|
|
6511
7050
|
<p class="pops-panel-item-left-main-text">${formConfig.text}</p>${leftDescriptionText}</div>
|
|
6512
|
-
<div class="pops-
|
|
6513
|
-
<
|
|
6514
|
-
|
|
6515
|
-
<div class="pops-
|
|
6516
|
-
<div class="pops-slider__button"></div>
|
|
7051
|
+
<div class="pops-panel-switch">
|
|
7052
|
+
<input class="pops-panel-switch__input" type="checkbox">
|
|
7053
|
+
<span class="pops-panel-switch__core">
|
|
7054
|
+
<div class="pops-panel-switch__action">
|
|
6517
7055
|
</div>
|
|
6518
|
-
</
|
|
7056
|
+
</span>
|
|
6519
7057
|
</div>`);
|
|
6520
|
-
const
|
|
6521
|
-
[Symbol.toStringTag]: "
|
|
7058
|
+
const PopsPanelSwitch = {
|
|
7059
|
+
[Symbol.toStringTag]: "PopsPanelSwitch",
|
|
7060
|
+
$data: {
|
|
7061
|
+
value: Boolean(formConfig.getValue()),
|
|
7062
|
+
},
|
|
7063
|
+
$ele: {
|
|
7064
|
+
switch: liElement.querySelector(".pops-panel-switch"),
|
|
7065
|
+
input: liElement.querySelector(".pops-panel-switch__input"),
|
|
7066
|
+
core: liElement.querySelector(".pops-panel-switch__core"),
|
|
7067
|
+
},
|
|
7068
|
+
init() {
|
|
7069
|
+
this.setStatus(this.$data.value);
|
|
7070
|
+
if (formConfig.disabled) {
|
|
7071
|
+
this.disable();
|
|
7072
|
+
}
|
|
7073
|
+
this.setClickEvent();
|
|
7074
|
+
},
|
|
7075
|
+
setClickEvent() {
|
|
7076
|
+
let that = this;
|
|
7077
|
+
popsDOMUtils.on(this.$ele.core, "click", void 0, function (event) {
|
|
7078
|
+
if (that.$ele.input.disabled ||
|
|
7079
|
+
that.$ele.switch.hasAttribute("data-disabled")) {
|
|
7080
|
+
return;
|
|
7081
|
+
}
|
|
7082
|
+
that.$data.value = that.getStatus();
|
|
7083
|
+
that.setStatus(that.$data.value);
|
|
7084
|
+
if (typeof formConfig.callback === "function") {
|
|
7085
|
+
formConfig.callback(event, that.$data.value);
|
|
7086
|
+
}
|
|
7087
|
+
});
|
|
7088
|
+
},
|
|
6522
7089
|
/**
|
|
6523
|
-
*
|
|
7090
|
+
* 设置状态
|
|
6524
7091
|
*/
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
7092
|
+
setStatus(isChecked = false) {
|
|
7093
|
+
isChecked = Boolean(isChecked);
|
|
7094
|
+
this.$ele.input.checked = isChecked;
|
|
7095
|
+
if (isChecked) {
|
|
7096
|
+
popsDOMUtils.addClassName(this.$ele.switch, "pops-panel-switch-is-checked");
|
|
7097
|
+
}
|
|
7098
|
+
else {
|
|
7099
|
+
popsDOMUtils.removeClassName(this.$ele.switch, "pops-panel-switch-is-checked");
|
|
7100
|
+
}
|
|
7101
|
+
},
|
|
7102
|
+
/**
|
|
7103
|
+
* 根据className来获取逆反值
|
|
7104
|
+
*/
|
|
7105
|
+
getStatus() {
|
|
7106
|
+
let checkedValue = false;
|
|
7107
|
+
if (!popsDOMUtils.containsClassName(this.$ele.switch, "pops-panel-switch-is-checked")) {
|
|
7108
|
+
checkedValue = true;
|
|
7109
|
+
}
|
|
7110
|
+
return checkedValue;
|
|
7111
|
+
},
|
|
7112
|
+
/**
|
|
7113
|
+
* 禁用复选框
|
|
7114
|
+
*/
|
|
7115
|
+
disable() {
|
|
7116
|
+
this.$ele.input.disabled = true;
|
|
7117
|
+
this.$ele.switch.setAttribute("data-disabled", "true");
|
|
7118
|
+
},
|
|
7119
|
+
/**
|
|
7120
|
+
* 启用复选框
|
|
7121
|
+
*/
|
|
7122
|
+
notDisable() {
|
|
7123
|
+
this.$ele.input.disabled = false;
|
|
7124
|
+
this.$ele.switch.removeAttribute("data-disabled");
|
|
7125
|
+
},
|
|
7126
|
+
};
|
|
7127
|
+
PopsPanelSwitch.init();
|
|
7128
|
+
liElement["data-switch"] = PopsPanelSwitch;
|
|
7129
|
+
return liElement;
|
|
7130
|
+
},
|
|
7131
|
+
/**
|
|
7132
|
+
* 获取中间容器的元素<li>
|
|
7133
|
+
* type ==> slider
|
|
7134
|
+
* @param formConfig
|
|
7135
|
+
*/
|
|
7136
|
+
createSectionContainerItem_slider(formConfig) {
|
|
7137
|
+
let liElement = document.createElement("li");
|
|
7138
|
+
liElement["__formConfig__"] = formConfig;
|
|
7139
|
+
this.setElementClassName(liElement, formConfig.className);
|
|
7140
|
+
this.setElementAttributes(liElement, formConfig.attributes);
|
|
7141
|
+
this.setElementProps(liElement, formConfig.props);
|
|
7142
|
+
/* 左边底部的描述的文字 */
|
|
7143
|
+
let leftDescriptionText = "";
|
|
7144
|
+
if (Boolean(formConfig.description)) {
|
|
7145
|
+
leftDescriptionText = `<p class="pops-panel-item-left-desc-text">${formConfig.description}</p>`;
|
|
7146
|
+
}
|
|
7147
|
+
PopsSafeUtils.setSafeHTML(liElement,
|
|
7148
|
+
/*html*/ `
|
|
7149
|
+
<div class="pops-panel-item-left-text">
|
|
7150
|
+
<p class="pops-panel-item-left-main-text">${formConfig.text}</p>${leftDescriptionText}</div>
|
|
7151
|
+
<div class="pops-panel-slider">
|
|
7152
|
+
<input type="range" min="${formConfig.min}" max="${formConfig.max}">
|
|
7153
|
+
</div>
|
|
7154
|
+
`);
|
|
7155
|
+
let rangeInputElement = liElement.querySelector(".pops-panel-slider input[type=range]");
|
|
7156
|
+
if (formConfig.step) {
|
|
7157
|
+
rangeInputElement.setAttribute("step", formConfig.step.toString());
|
|
7158
|
+
}
|
|
7159
|
+
rangeInputElement.value = formConfig.getValue().toString();
|
|
7160
|
+
/**
|
|
7161
|
+
* 获取提示的内容
|
|
7162
|
+
* @param value
|
|
7163
|
+
*/
|
|
7164
|
+
let getToolTipContent = function (value) {
|
|
7165
|
+
if (typeof formConfig.getToolTipContent === "function") {
|
|
7166
|
+
return formConfig.getToolTipContent(value);
|
|
7167
|
+
}
|
|
7168
|
+
else {
|
|
7169
|
+
return value;
|
|
7170
|
+
}
|
|
7171
|
+
};
|
|
7172
|
+
let tooltip = PopsTooltip.init({
|
|
7173
|
+
target: rangeInputElement.parentElement,
|
|
7174
|
+
content: () => {
|
|
7175
|
+
return getToolTipContent(rangeInputElement.value);
|
|
7176
|
+
},
|
|
7177
|
+
zIndex: () => {
|
|
7178
|
+
return PopsInstanceUtils.getPopsMaxZIndex().zIndex;
|
|
7179
|
+
},
|
|
7180
|
+
className: "github-tooltip",
|
|
7181
|
+
alwaysShow: false,
|
|
7182
|
+
only: false,
|
|
7183
|
+
position: "top",
|
|
7184
|
+
arrowDistance: 10,
|
|
7185
|
+
});
|
|
7186
|
+
popsDOMUtils.on(rangeInputElement, ["input", "propertychange"], void 0, function (event) {
|
|
7187
|
+
tooltip.toolTip.changeContent(getToolTipContent(rangeInputElement.value));
|
|
7188
|
+
if (typeof formConfig.callback === "function") {
|
|
7189
|
+
formConfig.callback(event, event.target.value);
|
|
7190
|
+
}
|
|
7191
|
+
});
|
|
7192
|
+
return liElement;
|
|
7193
|
+
},
|
|
7194
|
+
/**
|
|
7195
|
+
* 获取中间容器的元素<li>
|
|
7196
|
+
* type ==> slider
|
|
7197
|
+
* @param formConfig
|
|
7198
|
+
*/
|
|
7199
|
+
createSectionContainerItem_slider_new(formConfig) {
|
|
7200
|
+
let liElement = document.createElement("li");
|
|
7201
|
+
// @ts-ignore
|
|
7202
|
+
liElement["__formConfig__"] = formConfig;
|
|
7203
|
+
this.setElementClassName(liElement, formConfig.className);
|
|
7204
|
+
this.setElementAttributes(liElement, formConfig.attributes);
|
|
7205
|
+
this.setElementProps(liElement, formConfig.props);
|
|
7206
|
+
/* 左边底部的描述的文字 */
|
|
7207
|
+
let leftDescriptionText = "";
|
|
7208
|
+
if (Boolean(formConfig.description)) {
|
|
7209
|
+
leftDescriptionText = /*html*/ `<p class="pops-panel-item-left-desc-text">${formConfig.description}</p>`;
|
|
7210
|
+
}
|
|
7211
|
+
PopsSafeUtils.setSafeHTML(liElement,
|
|
7212
|
+
/*html*/ `
|
|
7213
|
+
<div class="pops-panel-item-left-text" style="flex: 1;">
|
|
7214
|
+
<p class="pops-panel-item-left-main-text">${formConfig.text}</p>${leftDescriptionText}</div>
|
|
7215
|
+
<div class="pops-slider pops-slider-width">
|
|
7216
|
+
<div class="pops-slider__runway">
|
|
7217
|
+
<div class="pops-slider__bar" style="width: 0%; left: 0%"></div>
|
|
7218
|
+
<div class="pops-slider__button-wrapper" style="left: 0%">
|
|
7219
|
+
<div class="pops-slider__button"></div>
|
|
7220
|
+
</div>
|
|
7221
|
+
</div>
|
|
7222
|
+
</div>`);
|
|
7223
|
+
const PopsPanelSlider = {
|
|
7224
|
+
[Symbol.toStringTag]: "PopsPanelSlider",
|
|
7225
|
+
/**
|
|
7226
|
+
* 值
|
|
7227
|
+
*/
|
|
7228
|
+
value: formConfig.getValue(),
|
|
7229
|
+
/**
|
|
7230
|
+
* 最小值
|
|
6528
7231
|
*/
|
|
6529
7232
|
min: formConfig.min,
|
|
6530
7233
|
/**
|
|
@@ -6614,11 +7317,11 @@ define((function () { 'use strict';
|
|
|
6614
7317
|
let isSuccess = false;
|
|
6615
7318
|
let oldTotalWidth = this.$data.totalWidth;
|
|
6616
7319
|
let timer = void 0;
|
|
6617
|
-
let interval =
|
|
7320
|
+
let interval = setInterval(() => {
|
|
6618
7321
|
if (isSuccess) {
|
|
6619
7322
|
this.$interval.isCheck = false;
|
|
6620
|
-
|
|
6621
|
-
|
|
7323
|
+
clearTimeout(timer);
|
|
7324
|
+
clearInterval(interval);
|
|
6622
7325
|
}
|
|
6623
7326
|
else {
|
|
6624
7327
|
this.initTotalWidth();
|
|
@@ -6638,8 +7341,8 @@ define((function () { 'use strict';
|
|
|
6638
7341
|
}
|
|
6639
7342
|
}, checkStepTime);
|
|
6640
7343
|
/* 最长检测时间是10s */
|
|
6641
|
-
timer =
|
|
6642
|
-
|
|
7344
|
+
timer = setTimeout(() => {
|
|
7345
|
+
clearInterval(interval);
|
|
6643
7346
|
}, maxTime);
|
|
6644
7347
|
},
|
|
6645
7348
|
/**
|
|
@@ -7007,16 +7710,16 @@ define((function () { 'use strict';
|
|
|
7007
7710
|
return;
|
|
7008
7711
|
}
|
|
7009
7712
|
this.$data.isCheckingStopDragMove = true;
|
|
7010
|
-
let interval =
|
|
7713
|
+
let interval = setInterval(() => {
|
|
7011
7714
|
if (!this.$data.isMove) {
|
|
7012
7715
|
this.$data.isCheckingStopDragMove = false;
|
|
7013
7716
|
this.closeToolTip();
|
|
7014
|
-
|
|
7717
|
+
clearInterval(interval);
|
|
7015
7718
|
}
|
|
7016
7719
|
}, 200);
|
|
7017
|
-
|
|
7720
|
+
setTimeout(() => {
|
|
7018
7721
|
this.$data.isCheckingStopDragMove = false;
|
|
7019
|
-
|
|
7722
|
+
clearInterval(interval);
|
|
7020
7723
|
}, 2000);
|
|
7021
7724
|
},
|
|
7022
7725
|
/**
|
|
@@ -7034,7 +7737,7 @@ define((function () { 'use strict';
|
|
|
7034
7737
|
return PopsPanelSlider.value;
|
|
7035
7738
|
}
|
|
7036
7739
|
}
|
|
7037
|
-
let tooltip =
|
|
7740
|
+
let tooltip = PopsTooltip.init({
|
|
7038
7741
|
target: this.$ele.button,
|
|
7039
7742
|
content: getToolTipContent,
|
|
7040
7743
|
zIndex: () => {
|
|
@@ -7127,13 +7830,13 @@ define((function () { 'use strict';
|
|
|
7127
7830
|
this.setInputValue(this.$data.value);
|
|
7128
7831
|
/* 如果是密码框,放进图标 */
|
|
7129
7832
|
if (formConfig.isPassword) {
|
|
7130
|
-
this.setCircleIcon(
|
|
7833
|
+
this.setCircleIcon(PopsIcon.getIcon("view"));
|
|
7131
7834
|
this.setCircleIconClickEvent();
|
|
7132
7835
|
}
|
|
7133
7836
|
else {
|
|
7134
7837
|
/* 先判断预设值是否为空,不为空添加清空图标按钮 */
|
|
7135
7838
|
if (this.$ele.input.value != "") {
|
|
7136
|
-
this.setCircleIcon(
|
|
7839
|
+
this.setCircleIcon(PopsIcon.getIcon("circleClose"));
|
|
7137
7840
|
this.setCircleIconClickEvent();
|
|
7138
7841
|
}
|
|
7139
7842
|
}
|
|
@@ -7204,9 +7907,9 @@ define((function () { 'use strict';
|
|
|
7204
7907
|
},
|
|
7205
7908
|
/**
|
|
7206
7909
|
* 添加清空图标按钮
|
|
7207
|
-
* @param [svgHTML=
|
|
7910
|
+
* @param [svgHTML=PopsIcon.getIcon("circleClose")] svg图标,默认为清空的图标
|
|
7208
7911
|
*/
|
|
7209
|
-
setCircleIcon(svgHTML =
|
|
7912
|
+
setCircleIcon(svgHTML = PopsIcon.getIcon("circleClose")) {
|
|
7210
7913
|
PopsSafeUtils.setSafeHTML(this.$ele.icon, svgHTML);
|
|
7211
7914
|
},
|
|
7212
7915
|
/**
|
|
@@ -7226,14 +7929,14 @@ define((function () { 'use strict';
|
|
|
7226
7929
|
this.$data.isView = false;
|
|
7227
7930
|
/* 显示输入框内容,且更换图标为隐藏图标 */
|
|
7228
7931
|
this.setInputType("text");
|
|
7229
|
-
this.setCircleIcon(
|
|
7932
|
+
this.setCircleIcon(PopsIcon.getIcon("hide"));
|
|
7230
7933
|
}
|
|
7231
7934
|
else {
|
|
7232
7935
|
/* 当前不可见 => 点击改变为显示 */
|
|
7233
7936
|
this.$data.isView = true;
|
|
7234
7937
|
/* 隐藏输入框内容,且更换图标为显示图标 */
|
|
7235
7938
|
this.setInputType("password");
|
|
7236
|
-
this.setCircleIcon(
|
|
7939
|
+
this.setCircleIcon(PopsIcon.getIcon("view"));
|
|
7237
7940
|
}
|
|
7238
7941
|
}
|
|
7239
7942
|
else {
|
|
@@ -7258,7 +7961,7 @@ define((function () { 'use strict';
|
|
|
7258
7961
|
if (this.$ele.input.value !== "" &&
|
|
7259
7962
|
this.$ele.icon.innerHTML === "") {
|
|
7260
7963
|
/* 不为空,显示清空图标 */
|
|
7261
|
-
this.setCircleIcon(
|
|
7964
|
+
this.setCircleIcon(PopsIcon.getIcon("circleClose"));
|
|
7262
7965
|
this.setCircleIconClickEvent();
|
|
7263
7966
|
}
|
|
7264
7967
|
else if (this.$ele.input.value === "") {
|
|
@@ -8098,7 +8801,7 @@ define((function () { 'use strict';
|
|
|
8098
8801
|
${style || ""}
|
|
8099
8802
|
`,
|
|
8100
8803
|
}, userConfirmDetails);
|
|
8101
|
-
let $dialog =
|
|
8804
|
+
let $dialog = PopsAlert.init(confirmDetails);
|
|
8102
8805
|
let $selectContainer = $dialog.$shadowRoot.querySelector(".select-container");
|
|
8103
8806
|
this.$el.$selectContainer = $selectContainer;
|
|
8104
8807
|
// 配置选项元素
|
|
@@ -8251,8 +8954,8 @@ define((function () { 'use strict';
|
|
|
8251
8954
|
if (typeof formConfig.buttonIcon === "string" &&
|
|
8252
8955
|
formConfig.buttonIcon.trim() !== "") {
|
|
8253
8956
|
/* 存在icon图标且不为空 */
|
|
8254
|
-
if (formConfig.buttonIcon
|
|
8255
|
-
this.setIconSVG(
|
|
8957
|
+
if (PopsIcon.hasIcon(formConfig.buttonIcon)) {
|
|
8958
|
+
this.setIconSVG(PopsIcon.getIcon(formConfig.buttonIcon));
|
|
8256
8959
|
}
|
|
8257
8960
|
else {
|
|
8258
8961
|
this.setIconSVG(formConfig.buttonIcon);
|
|
@@ -8381,7 +9084,7 @@ define((function () { 'use strict';
|
|
|
8381
9084
|
: true;
|
|
8382
9085
|
let arrowRightIconHTML = "";
|
|
8383
9086
|
if (arrowRightIcon) {
|
|
8384
|
-
arrowRightIconHTML = `<i class="pops-panel-deepMenu-arrowRight-icon">${
|
|
9087
|
+
arrowRightIconHTML = `<i class="pops-panel-deepMenu-arrowRight-icon">${PopsIcon.getIcon("arrowRight")}</i>`;
|
|
8385
9088
|
}
|
|
8386
9089
|
let rightText = "";
|
|
8387
9090
|
if (formConfig.rightText) {
|
|
@@ -8511,7 +9214,7 @@ define((function () { 'use strict';
|
|
|
8511
9214
|
});
|
|
8512
9215
|
let $headerLeftArrow = popsDOMUtils.createElement("i", {
|
|
8513
9216
|
className: "pops-panel-deepMenu-container-left-arrow-icon",
|
|
8514
|
-
innerHTML:
|
|
9217
|
+
innerHTML: PopsIcon.getIcon("arrowLeft"),
|
|
8515
9218
|
});
|
|
8516
9219
|
popsDOMUtils.on($headerLeftArrow, "click", void 0, (event) => {
|
|
8517
9220
|
event?.preventDefault();
|
|
@@ -8759,13 +9462,13 @@ define((function () { 'use strict';
|
|
|
8759
9462
|
config = PopsHandler.handleOnly(PopsType, config);
|
|
8760
9463
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
8761
9464
|
PopsHandler.handleInit($shadowRoot, [
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
9465
|
+
PopsCSS.index,
|
|
9466
|
+
PopsCSS.ninePalaceGridPosition,
|
|
9467
|
+
PopsCSS.scrollbar,
|
|
9468
|
+
PopsCSS.button,
|
|
9469
|
+
PopsCSS.anim,
|
|
9470
|
+
PopsCSS.common,
|
|
9471
|
+
PopsCSS.panelCSS,
|
|
8769
9472
|
]);
|
|
8770
9473
|
// 先把z-index提取出来
|
|
8771
9474
|
let zIndex = PopsHandler.handleZIndex(config.zIndex);
|
|
@@ -8792,7 +9495,7 @@ define((function () { 'use strict';
|
|
|
8792
9495
|
let $anim = PopsElementHandler.parseElement(animHTML);
|
|
8793
9496
|
/* 结构元素 */
|
|
8794
9497
|
let { popsElement: $pops, headerCloseBtnElement: $headerCloseBtn, titleElement: $title, contentElement: $content, contentAsideElement: $contentAside, contentSectionContainerElement: $contentSectionContainer, } = PopsHandler.handleQueryElement($anim, PopsType);
|
|
8795
|
-
if (config.isMobile ||
|
|
9498
|
+
if (config.isMobile || popsUtils.isPhone()) {
|
|
8796
9499
|
popsDOMUtils.addClassName($pops, config.mobileClassName);
|
|
8797
9500
|
}
|
|
8798
9501
|
/**
|
|
@@ -8870,7 +9573,7 @@ define((function () { 'use strict';
|
|
|
8870
9573
|
targetSelector: null,
|
|
8871
9574
|
data: [
|
|
8872
9575
|
{
|
|
8873
|
-
icon:
|
|
9576
|
+
icon: PopsIcon.getIcon("search"),
|
|
8874
9577
|
iconIsLoading: false,
|
|
8875
9578
|
text: "搜索",
|
|
8876
9579
|
item: [],
|
|
@@ -8883,7 +9586,7 @@ define((function () { 'use strict';
|
|
|
8883
9586
|
},
|
|
8884
9587
|
},
|
|
8885
9588
|
{
|
|
8886
|
-
icon:
|
|
9589
|
+
icon: PopsIcon.getIcon("documentCopy"),
|
|
8887
9590
|
iconIsLoading: false,
|
|
8888
9591
|
text: "复制",
|
|
8889
9592
|
item: [],
|
|
@@ -8896,7 +9599,7 @@ define((function () { 'use strict';
|
|
|
8896
9599
|
},
|
|
8897
9600
|
},
|
|
8898
9601
|
{
|
|
8899
|
-
icon:
|
|
9602
|
+
icon: PopsIcon.getIcon("delete"),
|
|
8900
9603
|
text: "删除",
|
|
8901
9604
|
iconIsLoading: false,
|
|
8902
9605
|
item: [],
|
|
@@ -8909,7 +9612,7 @@ define((function () { 'use strict';
|
|
|
8909
9612
|
},
|
|
8910
9613
|
},
|
|
8911
9614
|
{
|
|
8912
|
-
icon:
|
|
9615
|
+
icon: PopsIcon.getIcon("loading"),
|
|
8913
9616
|
iconIsLoading: true,
|
|
8914
9617
|
text: "加载",
|
|
8915
9618
|
item: [],
|
|
@@ -8923,7 +9626,7 @@ define((function () { 'use strict';
|
|
|
8923
9626
|
},
|
|
8924
9627
|
},
|
|
8925
9628
|
{
|
|
8926
|
-
icon:
|
|
9629
|
+
icon: PopsIcon.getIcon("elemePlus"),
|
|
8927
9630
|
iconIsLoading: true,
|
|
8928
9631
|
text: "饿了么",
|
|
8929
9632
|
callback(clickEvent, contextMenuEvent, liElement) {
|
|
@@ -8961,7 +9664,7 @@ define((function () { 'use strict';
|
|
|
8961
9664
|
},
|
|
8962
9665
|
item: [
|
|
8963
9666
|
{
|
|
8964
|
-
icon:
|
|
9667
|
+
icon: PopsIcon.getIcon("view"),
|
|
8965
9668
|
iconIsLoading: false,
|
|
8966
9669
|
text: "查看",
|
|
8967
9670
|
item: [],
|
|
@@ -9007,10 +9710,10 @@ define((function () { 'use strict';
|
|
|
9007
9710
|
}
|
|
9008
9711
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
9009
9712
|
PopsHandler.handleInit($shadowRoot, [
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9713
|
+
PopsCSS.index,
|
|
9714
|
+
PopsCSS.anim,
|
|
9715
|
+
PopsCSS.common,
|
|
9716
|
+
PopsCSS.rightClickMenu,
|
|
9014
9717
|
]);
|
|
9015
9718
|
if (config.style != null) {
|
|
9016
9719
|
let cssNode = popsDOMUtils.createElement("style", {
|
|
@@ -9318,11 +10021,11 @@ define((function () { 'use strict';
|
|
|
9318
10021
|
let menuEventTarget = menuEvent.target;
|
|
9319
10022
|
let menuULElement = menuElement.querySelector("ul");
|
|
9320
10023
|
_config_.forEach((item) => {
|
|
9321
|
-
let menuLiElement =
|
|
10024
|
+
let menuLiElement = popsDOMUtils.parseTextToDOM(`<li></li>`);
|
|
9322
10025
|
/* 判断有无图标,有就添加进去 */
|
|
9323
10026
|
if (typeof item.icon === "string" && item.icon.trim() !== "") {
|
|
9324
|
-
let iconSVGHTML =
|
|
9325
|
-
let iconElement =
|
|
10027
|
+
let iconSVGHTML = PopsIcon.getIcon(item.icon) ?? item.icon;
|
|
10028
|
+
let iconElement = popsDOMUtils.parseTextToDOM(
|
|
9326
10029
|
/*html*/ `<i class="pops-${PopsType}-icon" is-loading="${item.iconIsLoading}">${iconSVGHTML}</i>`);
|
|
9327
10030
|
menuLiElement.appendChild(iconElement);
|
|
9328
10031
|
}
|
|
@@ -9496,9 +10199,9 @@ define((function () { 'use strict';
|
|
|
9496
10199
|
}
|
|
9497
10200
|
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
9498
10201
|
PopsHandler.handleInit($shadowRoot, [
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
10202
|
+
PopsCSS.index,
|
|
10203
|
+
PopsCSS.anim,
|
|
10204
|
+
PopsCSS.common,
|
|
9502
10205
|
]);
|
|
9503
10206
|
if (config.style != null) {
|
|
9504
10207
|
let cssNode = document.createElement("style");
|
|
@@ -9773,801 +10476,248 @@ define((function () { 'use strict';
|
|
|
9773
10476
|
/**
|
|
9774
10477
|
* 隐藏搜索建议框的事件
|
|
9775
10478
|
* @param event
|
|
9776
|
-
*/
|
|
9777
|
-
hideEvent(event) {
|
|
9778
|
-
if (event.target instanceof Node) {
|
|
9779
|
-
if ($shadowContainer.contains(event.target)) {
|
|
9780
|
-
/* 点击在shadow上的 */
|
|
9781
|
-
return;
|
|
9782
|
-
}
|
|
9783
|
-
if (config.target.contains(event.target)) {
|
|
9784
|
-
/* 点击在目标元素内 */
|
|
9785
|
-
return;
|
|
9786
|
-
}
|
|
9787
|
-
if (config.inputTarget.contains(event.target)) {
|
|
9788
|
-
/* 点击在目标input内 */
|
|
9789
|
-
return;
|
|
9790
|
-
}
|
|
9791
|
-
SearchSuggestion.hide();
|
|
9792
|
-
}
|
|
9793
|
-
},
|
|
9794
|
-
/**
|
|
9795
|
-
* 设置隐藏搜索建议框的事件
|
|
9796
|
-
*/
|
|
9797
|
-
setHideEvent(option = {
|
|
9798
|
-
capture: true,
|
|
9799
|
-
}) {
|
|
9800
|
-
/* 全局点击事件 */
|
|
9801
|
-
/* 全局触摸屏点击事件 */
|
|
9802
|
-
if (Array.isArray(SearchSuggestion.selfDocument)) {
|
|
9803
|
-
SearchSuggestion.selfDocument.forEach(($checkParent) => {
|
|
9804
|
-
popsDOMUtils.on($checkParent, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
9805
|
-
});
|
|
9806
|
-
}
|
|
9807
|
-
else {
|
|
9808
|
-
popsDOMUtils.on(SearchSuggestion.selfDocument, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
9809
|
-
}
|
|
9810
|
-
},
|
|
9811
|
-
/**
|
|
9812
|
-
* 移除隐藏搜索建议框的事件
|
|
9813
|
-
*/
|
|
9814
|
-
removeHideEvent(option = {
|
|
9815
|
-
capture: true,
|
|
9816
|
-
}) {
|
|
9817
|
-
if (Array.isArray(SearchSuggestion.selfDocument)) {
|
|
9818
|
-
SearchSuggestion.selfDocument.forEach(($checkParent) => {
|
|
9819
|
-
popsDOMUtils.off($checkParent, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
9820
|
-
});
|
|
9821
|
-
}
|
|
9822
|
-
else {
|
|
9823
|
-
popsDOMUtils.off(SearchSuggestion.selfDocument, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
9824
|
-
}
|
|
9825
|
-
},
|
|
9826
|
-
/**
|
|
9827
|
-
* 设置所有监听
|
|
9828
|
-
*/
|
|
9829
|
-
setAllEvent(option = {
|
|
9830
|
-
capture: true,
|
|
9831
|
-
}) {
|
|
9832
|
-
SearchSuggestion.setInputChangeEvent(option);
|
|
9833
|
-
SearchSuggestion.setHideEvent(option);
|
|
9834
|
-
SearchSuggestion.setShowEvent(option);
|
|
9835
|
-
},
|
|
9836
|
-
/**
|
|
9837
|
-
* 移除所有监听
|
|
9838
|
-
*/
|
|
9839
|
-
removeAllEvent(option = {
|
|
9840
|
-
capture: true,
|
|
9841
|
-
}) {
|
|
9842
|
-
SearchSuggestion.removeInputChangeEvent(option);
|
|
9843
|
-
SearchSuggestion.removeHideEvent(option);
|
|
9844
|
-
SearchSuggestion.removeShowEvent(option);
|
|
9845
|
-
},
|
|
9846
|
-
/**
|
|
9847
|
-
* 获取删除按钮的html
|
|
9848
|
-
*/
|
|
9849
|
-
getDeleteIconHTML(size = 16, fill = "#bababa") {
|
|
9850
|
-
return /*html*/ `
|
|
9851
|
-
<svg class="pops-${PopsType}-delete-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}" fill="${fill}">
|
|
9852
|
-
<path d="M512 883.2A371.2 371.2 0 1 0 140.8 512 371.2 371.2 0 0 0 512 883.2z m0 64a435.2 435.2 0 1 1 435.2-435.2 435.2 435.2 0 0 1-435.2 435.2z"></path>
|
|
9853
|
-
<path d="M557.056 512l122.368 122.368a31.744 31.744 0 1 1-45.056 45.056L512 557.056l-122.368 122.368a31.744 31.744 0 1 1-45.056-45.056L466.944 512 344.576 389.632a31.744 31.744 0 1 1 45.056-45.056L512 466.944l122.368-122.368a31.744 31.744 0 1 1 45.056 45.056z"></path>
|
|
9854
|
-
</svg>
|
|
9855
|
-
`;
|
|
9856
|
-
},
|
|
9857
|
-
/**
|
|
9858
|
-
* 设置当前正在搜索中的提示
|
|
9859
|
-
*/
|
|
9860
|
-
setPromptsInSearch() {
|
|
9861
|
-
let isSearchingElement = popsDOMUtils.createElement("li", {
|
|
9862
|
-
className: `pops-${PopsType}-search-suggestion-hint-searching-item`,
|
|
9863
|
-
innerHTML: config.searchingTip,
|
|
9864
|
-
});
|
|
9865
|
-
SearchSuggestion.$el.$hintULContainer.appendChild(isSearchingElement);
|
|
9866
|
-
},
|
|
9867
|
-
/**
|
|
9868
|
-
* 移除正在搜索中的提示
|
|
9869
|
-
*/
|
|
9870
|
-
removePromptsInSearch() {
|
|
9871
|
-
SearchSuggestion.$el.$hintULContainer
|
|
9872
|
-
.querySelector(`li.pops-${PopsType}-search-suggestion-hint-searching-item`)
|
|
9873
|
-
?.remove();
|
|
9874
|
-
},
|
|
9875
|
-
/**
|
|
9876
|
-
* 清空所有的搜索结果
|
|
9877
|
-
*/
|
|
9878
|
-
clearAllSearchItemLi() {
|
|
9879
|
-
PopsSafeUtils.setSafeHTML(SearchSuggestion.$el.$hintULContainer, "");
|
|
9880
|
-
},
|
|
9881
|
-
/**
|
|
9882
|
-
* 更新搜索建议框的位置(top、left)
|
|
9883
|
-
* 因为目标元素可能是动态隐藏的
|
|
9884
|
-
*/
|
|
9885
|
-
changeHintULElementPosition(target = config.target ?? config.inputTarget) {
|
|
9886
|
-
let targetRect = null;
|
|
9887
|
-
if (config.followPosition === "inputCursor") {
|
|
9888
|
-
targetRect = popsDOMUtils.getTextBoundingRect(config.inputTarget, config.inputTarget.selectionStart || 0, config.inputTarget.selectionEnd || 0, false);
|
|
9889
|
-
}
|
|
9890
|
-
else {
|
|
9891
|
-
targetRect = config.isAbsolute
|
|
9892
|
-
? popsDOMUtils.offset(target)
|
|
9893
|
-
: target.getBoundingClientRect();
|
|
9894
|
-
}
|
|
9895
|
-
if (targetRect == null) {
|
|
9896
|
-
return;
|
|
9897
|
-
}
|
|
9898
|
-
// 文档最大高度
|
|
9899
|
-
let documentHeight = document.documentElement.clientHeight;
|
|
9900
|
-
if (config.isAbsolute) {
|
|
9901
|
-
// 绝对定位
|
|
9902
|
-
documentHeight = popsDOMUtils.height(document);
|
|
9903
|
-
}
|
|
9904
|
-
// 文档最大宽度
|
|
9905
|
-
let documentWidth = popsDOMUtils.width(document);
|
|
9906
|
-
let position = config.position;
|
|
9907
|
-
if (config.position === "auto") {
|
|
9908
|
-
// 需目标高度+搜索建议框高度大于文档高度,则显示在上面
|
|
9909
|
-
let targetBottom = targetRect.bottom;
|
|
9910
|
-
let searchSuggestionContainerHeight = popsDOMUtils.height(SearchSuggestion.$el.$hintULContainer);
|
|
9911
|
-
if (targetBottom + searchSuggestionContainerHeight > documentHeight) {
|
|
9912
|
-
// 在上面
|
|
9913
|
-
position = "top";
|
|
9914
|
-
}
|
|
9915
|
-
else {
|
|
9916
|
-
// 在下面
|
|
9917
|
-
position = "bottom";
|
|
9918
|
-
SearchSuggestion.$el.$hintULContainer.removeAttribute("data-top");
|
|
9919
|
-
}
|
|
9920
|
-
}
|
|
9921
|
-
if (position === "top") {
|
|
9922
|
-
if (config.positionTopToReverse) {
|
|
9923
|
-
SearchSuggestion.$el.$hintULContainer.setAttribute("data-top-reverse", "true");
|
|
9924
|
-
}
|
|
9925
|
-
// 在上面
|
|
9926
|
-
SearchSuggestion.$el.$hintULContainer.style.top = "";
|
|
9927
|
-
SearchSuggestion.$el.$hintULContainer.style.bottom =
|
|
9928
|
-
documentHeight - targetRect.top + config.topDistance + "px";
|
|
9929
|
-
}
|
|
9930
|
-
else if (position === "bottom") {
|
|
9931
|
-
// 在下面
|
|
9932
|
-
SearchSuggestion.$el.$hintULContainer.removeAttribute("data-top-reverse");
|
|
9933
|
-
SearchSuggestion.$el.$hintULContainer.style.bottom = "";
|
|
9934
|
-
SearchSuggestion.$el.$hintULContainer.style.top =
|
|
9935
|
-
targetRect.height + targetRect.top + config.topDistance + "px";
|
|
9936
|
-
}
|
|
9937
|
-
let hintUIWidth = popsDOMUtils.width(SearchSuggestion.$el.$hintULContainer);
|
|
9938
|
-
SearchSuggestion.$el.$hintULContainer.style.left =
|
|
9939
|
-
(targetRect.left + hintUIWidth > documentWidth
|
|
9940
|
-
? documentWidth - hintUIWidth
|
|
9941
|
-
: targetRect.left) + "px";
|
|
9942
|
-
},
|
|
9943
|
-
/**
|
|
9944
|
-
* 更新搜索建议框的width
|
|
9945
|
-
* 因为目标元素可能是动态隐藏的
|
|
9946
|
-
*/
|
|
9947
|
-
changeHintULElementWidth(target = config.target ?? config.inputTarget) {
|
|
9948
|
-
let targetRect = target.getBoundingClientRect();
|
|
9949
|
-
if (config.followTargetWidth) {
|
|
9950
|
-
SearchSuggestion.$el.$hintULContainer.style.width =
|
|
9951
|
-
targetRect.width + "px";
|
|
9952
|
-
}
|
|
9953
|
-
else {
|
|
9954
|
-
SearchSuggestion.$el.$hintULContainer.style.width = config.width;
|
|
9955
|
-
}
|
|
9956
|
-
},
|
|
9957
|
-
/**
|
|
9958
|
-
* 动态更新CSS
|
|
9959
|
-
*/
|
|
9960
|
-
updateDynamicCSS() {
|
|
9961
|
-
let cssText = this.getDynamicCSS();
|
|
9962
|
-
PopsSafeUtils.setSafeHTML(this.$el.$dynamicCSS, cssText);
|
|
9963
|
-
},
|
|
9964
|
-
/**
|
|
9965
|
-
* 更新页面显示的搜索结果
|
|
9966
|
-
* @param data
|
|
9967
|
-
*/
|
|
9968
|
-
update(data = []) {
|
|
9969
|
-
if (!Array.isArray(data)) {
|
|
9970
|
-
throw new TypeError("传入的数据不是数组");
|
|
9971
|
-
}
|
|
9972
|
-
config.data = data;
|
|
9973
|
-
/* 清空已有的搜索结果 */
|
|
9974
|
-
if (config.data.length) {
|
|
9975
|
-
SearchSuggestion.$data.isEmpty = false;
|
|
9976
|
-
if (config.toHideWithNotResult) {
|
|
9977
|
-
SearchSuggestion.show();
|
|
9978
|
-
}
|
|
9979
|
-
SearchSuggestion.clearAllSearchItemLi();
|
|
9980
|
-
/* 添加进ul中 */
|
|
9981
|
-
config.data.forEach((item, index) => {
|
|
9982
|
-
let itemElement = SearchSuggestion.getSearchItemLiElement(item, index);
|
|
9983
|
-
SearchSuggestion.setSearchItemClickEvent(itemElement);
|
|
9984
|
-
SearchSuggestion.setSearchItemSelectEvent(itemElement);
|
|
9985
|
-
SearchSuggestion.$el.$hintULContainer.appendChild(itemElement);
|
|
9986
|
-
});
|
|
9987
|
-
}
|
|
9988
|
-
else {
|
|
9989
|
-
/* 清空 */
|
|
9990
|
-
SearchSuggestion.clear();
|
|
9991
|
-
}
|
|
9992
|
-
},
|
|
9993
|
-
/**
|
|
9994
|
-
* 清空当前的搜索结果并显示无结果
|
|
9995
|
-
*/
|
|
9996
|
-
clear() {
|
|
9997
|
-
this.$data.isEmpty = true;
|
|
9998
|
-
this.clearAllSearchItemLi();
|
|
9999
|
-
this.$el.$hintULContainer.appendChild(
|
|
10000
|
-
if (config.toHideWithNotResult) {
|
|
10001
|
-
this.hide();
|
|
10002
|
-
}
|
|
10003
|
-
},
|
|
10004
|
-
/**
|
|
10005
|
-
* 隐藏搜索建议框
|
|
10006
|
-
*/
|
|
10007
|
-
hide() {
|
|
10008
|
-
this.$el.root.style.display = "none";
|
|
10009
|
-
},
|
|
10010
|
-
/**
|
|
10011
|
-
* 显示搜索建议框
|
|
10012
|
-
*/
|
|
10013
|
-
show() {
|
|
10014
|
-
this.$el.root.style.display = "";
|
|
10015
|
-
},
|
|
10016
|
-
};
|
|
10017
|
-
return SearchSuggestion;
|
|
10018
|
-
},
|
|
10019
|
-
};
|
|
10020
|
-
|
|
10021
|
-
const PopsTooltipConfig = () => {
|
|
10022
|
-
// @ts-ignore
|
|
10023
|
-
return {
|
|
10024
|
-
useShadowRoot: true,
|
|
10025
|
-
target: null,
|
|
10026
|
-
content: "默认文字",
|
|
10027
|
-
isDiffContent: false,
|
|
10028
|
-
position: "top",
|
|
10029
|
-
className: "",
|
|
10030
|
-
isFixed: false,
|
|
10031
|
-
alwaysShow: false,
|
|
10032
|
-
triggerShowEventName: "mouseenter touchstart",
|
|
10033
|
-
triggerCloseEventName: "mouseleave touchend",
|
|
10034
|
-
zIndex: 10000,
|
|
10035
|
-
only: false,
|
|
10036
|
-
eventOption: {
|
|
10037
|
-
passive: false,
|
|
10038
|
-
capture: true,
|
|
10039
|
-
once: false,
|
|
10040
|
-
},
|
|
10041
|
-
showBeforeCallBack() { },
|
|
10042
|
-
showAfterCallBack() { },
|
|
10043
|
-
closeBeforeCallBack() { },
|
|
10044
|
-
closeAfterCallBack() { },
|
|
10045
|
-
delayCloseTime: 100,
|
|
10046
|
-
showArrow: true,
|
|
10047
|
-
arrowDistance: 12.5,
|
|
10048
|
-
otherDistance: 0,
|
|
10049
|
-
style: "",
|
|
10050
|
-
beforeAppendToPageCallBack() { },
|
|
10051
|
-
};
|
|
10052
|
-
};
|
|
10053
|
-
|
|
10054
|
-
class ToolTip {
|
|
10055
|
-
$el = {
|
|
10056
|
-
$shadowContainer: null,
|
|
10057
|
-
$shadowRoot: null,
|
|
10058
|
-
$toolTip: null,
|
|
10059
|
-
$content: null,
|
|
10060
|
-
$arrow: null,
|
|
10061
|
-
};
|
|
10062
|
-
$data = {
|
|
10063
|
-
config: null,
|
|
10064
|
-
guid: null,
|
|
10065
|
-
timeId_close_TouchEvent: [],
|
|
10066
|
-
timeId_close_MouseEvent: [],
|
|
10067
|
-
};
|
|
10068
|
-
constructor(config, guid, ShadowInfo) {
|
|
10069
|
-
this.$data.config = config;
|
|
10070
|
-
this.$data.guid = guid;
|
|
10071
|
-
this.$el.$shadowContainer = ShadowInfo.$shadowContainer;
|
|
10072
|
-
this.$el.$shadowRoot = ShadowInfo.$shadowRoot;
|
|
10073
|
-
this.show = this.show.bind(this);
|
|
10074
|
-
this.close = this.close.bind(this);
|
|
10075
|
-
this.toolTipAnimationFinishEvent =
|
|
10076
|
-
this.toolTipAnimationFinishEvent.bind(this);
|
|
10077
|
-
this.toolTipMouseEnterEvent = this.toolTipMouseEnterEvent.bind(this);
|
|
10078
|
-
this.toolTipMouseLeaveEvent = this.toolTipMouseLeaveEvent.bind(this);
|
|
10079
|
-
this.init();
|
|
10080
|
-
}
|
|
10081
|
-
init() {
|
|
10082
|
-
let toolTipInfo = this.createToolTip();
|
|
10083
|
-
this.$el.$toolTip = toolTipInfo.$toolTipContainer;
|
|
10084
|
-
this.$el.$content = toolTipInfo.$toolTipContent;
|
|
10085
|
-
this.$el.$arrow = toolTipInfo.$toolTipArrow;
|
|
10086
|
-
this.changeContent();
|
|
10087
|
-
this.changeZIndex();
|
|
10088
|
-
this.changePosition();
|
|
10089
|
-
if (!this.$data.config.alwaysShow) {
|
|
10090
|
-
this.offEvent();
|
|
10091
|
-
this.onEvent();
|
|
10092
|
-
}
|
|
10093
|
-
}
|
|
10094
|
-
/**
|
|
10095
|
-
* 创建提示元素
|
|
10096
|
-
*/
|
|
10097
|
-
createToolTip() {
|
|
10098
|
-
let $toolTipContainer = popsDOMUtils.createElement("div", {
|
|
10099
|
-
className: "pops-tip",
|
|
10100
|
-
innerHTML: /*html*/ `
|
|
10101
|
-
<div class="pops-tip-content" style="text-align: center;"></div>
|
|
10102
|
-
<div class="pops-tip-arrow"></div>
|
|
10103
|
-
`,
|
|
10104
|
-
}, {
|
|
10105
|
-
"data-position": this.$data.config.isFixed ? "fixed" : "absolute",
|
|
10106
|
-
"data-guid": this.$data.guid,
|
|
10107
|
-
});
|
|
10108
|
-
/** 内容 */
|
|
10109
|
-
let $toolTipContent = $toolTipContainer.querySelector(".pops-tip-content");
|
|
10110
|
-
/** 箭头 */
|
|
10111
|
-
let $toolTipArrow = $toolTipContainer.querySelector(".pops-tip-arrow");
|
|
10112
|
-
// 处理className
|
|
10113
|
-
if (typeof this.$data.config.className === "string" &&
|
|
10114
|
-
this.$data.config.className.trim() !== "") {
|
|
10115
|
-
popsDOMUtils.addClassName($toolTipContainer, this.$data.config.className);
|
|
10116
|
-
}
|
|
10117
|
-
// 添加z-index
|
|
10118
|
-
$toolTipContainer.style.zIndex = PopsHandler.handleZIndex(this.$data.config.zIndex).toString();
|
|
10119
|
-
if (this.$data.config.style != null) {
|
|
10120
|
-
/* 添加自定义style */
|
|
10121
|
-
let cssNode = popsDOMUtils.createElement("style", {
|
|
10122
|
-
type: "text/css",
|
|
10123
|
-
innerHTML: this.$data.config.style,
|
|
10124
|
-
});
|
|
10125
|
-
$toolTipContainer.appendChild(cssNode);
|
|
10126
|
-
}
|
|
10127
|
-
// 处理是否显示箭头元素
|
|
10128
|
-
if (!this.$data.config.showArrow) {
|
|
10129
|
-
$toolTipArrow.remove();
|
|
10130
|
-
}
|
|
10131
|
-
return {
|
|
10132
|
-
$toolTipContainer: $toolTipContainer,
|
|
10133
|
-
$toolTipArrow: $toolTipArrow,
|
|
10134
|
-
$toolTipContent: $toolTipContent,
|
|
10135
|
-
};
|
|
10136
|
-
}
|
|
10137
|
-
/**
|
|
10138
|
-
* 获取提示的内容
|
|
10139
|
-
*/
|
|
10140
|
-
getContent() {
|
|
10141
|
-
return typeof this.$data.config.content === "function"
|
|
10142
|
-
? this.$data.config.content()
|
|
10143
|
-
: this.$data.config.content;
|
|
10144
|
-
}
|
|
10145
|
-
/**
|
|
10146
|
-
* 修改提示的内容
|
|
10147
|
-
* @param text
|
|
10148
|
-
*/
|
|
10149
|
-
changeContent(text) {
|
|
10150
|
-
if (text == null) {
|
|
10151
|
-
text = this.getContent();
|
|
10152
|
-
}
|
|
10153
|
-
if (this.$data.config.isDiffContent) {
|
|
10154
|
-
let contentPropKey = "data-content";
|
|
10155
|
-
// @ts-ignore
|
|
10156
|
-
let originContentText = this.$el.$content[contentPropKey];
|
|
10157
|
-
if (typeof originContentText === "string") {
|
|
10158
|
-
if (originContentText === text) {
|
|
10159
|
-
// 内容未改变,不修改避免渲染
|
|
10160
|
-
return;
|
|
10161
|
-
}
|
|
10162
|
-
}
|
|
10163
|
-
// @ts-ignore
|
|
10164
|
-
this.$el.$content[contentPropKey] = text;
|
|
10165
|
-
}
|
|
10166
|
-
PopsSafeUtils.setSafeHTML(this.$el.$content, text);
|
|
10167
|
-
}
|
|
10168
|
-
/**
|
|
10169
|
-
* 获取z-index
|
|
10170
|
-
*/
|
|
10171
|
-
getZIndex() {
|
|
10172
|
-
const zIndex = PopsHandler.handleZIndex(this.$data.config.zIndex);
|
|
10173
|
-
return zIndex;
|
|
10174
|
-
}
|
|
10175
|
-
/**
|
|
10176
|
-
* 动态修改z-index
|
|
10177
|
-
*/
|
|
10178
|
-
changeZIndex() {
|
|
10179
|
-
const zIndex = this.getZIndex();
|
|
10180
|
-
this.$el.$toolTip.style.setProperty("z-index", zIndex.toString());
|
|
10181
|
-
}
|
|
10182
|
-
/**
|
|
10183
|
-
* 计算 提示框的位置
|
|
10184
|
-
* @param event 触发的事件
|
|
10185
|
-
* @param targetElement 目标元素
|
|
10186
|
-
* @param arrowDistance 箭头和目标元素的距离
|
|
10187
|
-
* @param otherDistance 其它位置的偏移
|
|
10188
|
-
*/
|
|
10189
|
-
calcToolTipPosition(targetElement, arrowDistance, otherDistance, event) {
|
|
10190
|
-
let offsetInfo = popsDOMUtils.offset(targetElement, !this.$data.config.isFixed);
|
|
10191
|
-
// 目标 宽
|
|
10192
|
-
let targetElement_width = offsetInfo.width;
|
|
10193
|
-
// 目标 高
|
|
10194
|
-
let targetElement_height = offsetInfo.height;
|
|
10195
|
-
// 目标 顶部距离
|
|
10196
|
-
let targetElement_top = offsetInfo.top;
|
|
10197
|
-
// let targetElement_bottom = offsetInfo.bottom;
|
|
10198
|
-
// 目标 左边距离
|
|
10199
|
-
let targetElement_left = offsetInfo.left;
|
|
10200
|
-
// let targetElement_right = offsetInfo.right;
|
|
10201
|
-
let toolTipElement_width = popsDOMUtils.outerWidth(this.$el.$toolTip);
|
|
10202
|
-
let toolTipElement_height = popsDOMUtils.outerHeight(this.$el.$toolTip);
|
|
10203
|
-
/* 目标元素的x轴的中间位置 */
|
|
10204
|
-
let targetElement_X_center_pos = targetElement_left + targetElement_width / 2 - toolTipElement_width / 2;
|
|
10205
|
-
/* 目标元素的Y轴的中间位置 */
|
|
10206
|
-
let targetElement_Y_center_pos = targetElement_top + targetElement_height / 2 - toolTipElement_height / 2;
|
|
10207
|
-
let mouseX = 0;
|
|
10208
|
-
let mouseY = 0;
|
|
10209
|
-
if (event != null) {
|
|
10210
|
-
if (event instanceof MouseEvent || event instanceof PointerEvent) {
|
|
10211
|
-
mouseX = event.pageX;
|
|
10212
|
-
mouseY = event.y;
|
|
10213
|
-
}
|
|
10214
|
-
else if (event instanceof TouchEvent) {
|
|
10215
|
-
let touchEvent = event.touches[0];
|
|
10216
|
-
mouseX = touchEvent.pageX;
|
|
10217
|
-
mouseY = touchEvent.pageY;
|
|
10218
|
-
}
|
|
10219
|
-
else {
|
|
10220
|
-
// @ts-ignore
|
|
10221
|
-
if (typeof event.clientX === "number") {
|
|
10222
|
-
// @ts-ignore
|
|
10223
|
-
mouseX = event.clientX;
|
|
10224
|
-
}
|
|
10225
|
-
// @ts-ignore
|
|
10226
|
-
if (typeof event.clientY === "number") {
|
|
10227
|
-
// @ts-ignore
|
|
10228
|
-
mouseY = event.clientY;
|
|
10229
|
-
}
|
|
10230
|
-
}
|
|
10231
|
-
}
|
|
10232
|
-
return {
|
|
10233
|
-
TOP: {
|
|
10234
|
-
left: targetElement_X_center_pos - otherDistance,
|
|
10235
|
-
top: targetElement_top - toolTipElement_height - arrowDistance,
|
|
10236
|
-
arrow: "bottom",
|
|
10237
|
-
motion: "fadeInTop",
|
|
10238
|
-
},
|
|
10239
|
-
RIGHT: {
|
|
10240
|
-
left: targetElement_left + targetElement_width + arrowDistance,
|
|
10241
|
-
top: targetElement_Y_center_pos + otherDistance,
|
|
10242
|
-
arrow: "left",
|
|
10243
|
-
motion: "fadeInRight",
|
|
10244
|
-
},
|
|
10245
|
-
BOTTOM: {
|
|
10246
|
-
left: targetElement_X_center_pos - otherDistance,
|
|
10247
|
-
top: targetElement_top + targetElement_height + arrowDistance,
|
|
10248
|
-
arrow: "top",
|
|
10249
|
-
motion: "fadeInBottom",
|
|
10250
|
-
},
|
|
10251
|
-
LEFT: {
|
|
10252
|
-
left: targetElement_left - toolTipElement_width - arrowDistance,
|
|
10253
|
-
top: targetElement_Y_center_pos + otherDistance,
|
|
10254
|
-
arrow: "right",
|
|
10255
|
-
motion: "fadeInLeft",
|
|
10256
|
-
},
|
|
10257
|
-
FOLLOW: {
|
|
10258
|
-
left: mouseX + otherDistance,
|
|
10259
|
-
top: mouseY + otherDistance,
|
|
10260
|
-
arrow: "follow",
|
|
10261
|
-
motion: "",
|
|
10262
|
-
},
|
|
10263
|
-
};
|
|
10264
|
-
}
|
|
10265
|
-
/**
|
|
10266
|
-
* 动态修改tooltip的位置
|
|
10267
|
-
*/
|
|
10268
|
-
changePosition(event) {
|
|
10269
|
-
let positionInfo = this.calcToolTipPosition(this.$data.config.target, this.$data.config.arrowDistance, this.$data.config.otherDistance, event);
|
|
10270
|
-
let positionKey = this.$data.config.position.toUpperCase();
|
|
10271
|
-
let positionDetail = positionInfo[positionKey];
|
|
10272
|
-
if (positionDetail) {
|
|
10273
|
-
this.$el.$toolTip.style.left = positionDetail.left + "px";
|
|
10274
|
-
this.$el.$toolTip.style.top = positionDetail.top + "px";
|
|
10275
|
-
this.$el.$toolTip.setAttribute("data-motion", positionDetail.motion);
|
|
10276
|
-
this.$el.$arrow.setAttribute("data-position", positionDetail.arrow);
|
|
10277
|
-
}
|
|
10278
|
-
else {
|
|
10279
|
-
console.error("不存在该位置", this.$data.config.position);
|
|
10280
|
-
}
|
|
10281
|
-
}
|
|
10282
|
-
/**
|
|
10283
|
-
* 事件绑定
|
|
10284
|
-
*/
|
|
10285
|
-
onEvent() {
|
|
10286
|
-
// 监听动画结束事件
|
|
10287
|
-
this.onToolTipAnimationFinishEvent();
|
|
10288
|
-
this.onShowEvent();
|
|
10289
|
-
this.onCloseEvent();
|
|
10290
|
-
this.onToolTipMouseEnterEvent();
|
|
10291
|
-
this.onToolTipMouseLeaveEvent();
|
|
10292
|
-
}
|
|
10293
|
-
/**
|
|
10294
|
-
* 取消事件绑定
|
|
10295
|
-
*/
|
|
10296
|
-
offEvent() {
|
|
10297
|
-
this.offToolTipAnimationFinishEvent();
|
|
10298
|
-
this.offShowEvent();
|
|
10299
|
-
this.offCloseEvent();
|
|
10300
|
-
this.offToolTipMouseEnterEvent();
|
|
10301
|
-
this.offToolTipMouseLeaveEvent();
|
|
10302
|
-
}
|
|
10303
|
-
/**
|
|
10304
|
-
* 添加关闭的timeId
|
|
10305
|
-
* @param type
|
|
10306
|
-
* @param timeId
|
|
10307
|
-
*/
|
|
10308
|
-
addCloseTimeoutId(type, timeId) {
|
|
10309
|
-
if (type === "MouseEvent") {
|
|
10310
|
-
this.$data.timeId_close_MouseEvent.push(timeId);
|
|
10311
|
-
}
|
|
10312
|
-
else {
|
|
10313
|
-
this.$data.timeId_close_TouchEvent.push(timeId);
|
|
10314
|
-
}
|
|
10315
|
-
}
|
|
10316
|
-
/**
|
|
10317
|
-
* 清除延迟的timeId
|
|
10318
|
-
* @param type 事件类型
|
|
10319
|
-
*/
|
|
10320
|
-
clearCloseTimeoutId(type, timeId) {
|
|
10321
|
-
let timeIdList = type === "MouseEvent"
|
|
10322
|
-
? this.$data.timeId_close_MouseEvent
|
|
10323
|
-
: this.$data.timeId_close_TouchEvent;
|
|
10324
|
-
for (let index = 0; index < timeIdList.length; index++) {
|
|
10325
|
-
const currentTimeId = timeIdList[index];
|
|
10326
|
-
if (typeof timeId === "number") {
|
|
10327
|
-
// 只清除一个
|
|
10328
|
-
if (timeId == currentTimeId) {
|
|
10329
|
-
popsUtils.clearTimeout(timeId);
|
|
10330
|
-
timeIdList.splice(index, 1);
|
|
10331
|
-
break;
|
|
10332
|
-
}
|
|
10333
|
-
}
|
|
10334
|
-
else {
|
|
10335
|
-
popsUtils.clearTimeout(currentTimeId);
|
|
10336
|
-
timeIdList.splice(index, 1);
|
|
10337
|
-
index--;
|
|
10338
|
-
}
|
|
10339
|
-
}
|
|
10340
|
-
}
|
|
10341
|
-
/**
|
|
10342
|
-
* 显示提示框
|
|
10343
|
-
*/
|
|
10344
|
-
show(...args) {
|
|
10345
|
-
let event = args[0];
|
|
10346
|
-
let eventType = event instanceof MouseEvent ? "MouseEvent" : "TouchEvent";
|
|
10347
|
-
this.clearCloseTimeoutId(eventType);
|
|
10348
|
-
if (typeof this.$data.config.showBeforeCallBack === "function") {
|
|
10349
|
-
let result = this.$data.config.showBeforeCallBack(this.$el.$toolTip);
|
|
10350
|
-
if (typeof result === "boolean" && !result) {
|
|
10351
|
-
return;
|
|
10352
|
-
}
|
|
10353
|
-
}
|
|
10354
|
-
if (!popsUtils.contains(this.$el.$shadowRoot, this.$el.$toolTip)) {
|
|
10355
|
-
// 不在容器中,添加
|
|
10356
|
-
this.init();
|
|
10357
|
-
popsDOMUtils.append(this.$el.$shadowRoot, this.$el.$toolTip);
|
|
10358
|
-
}
|
|
10359
|
-
if (!popsUtils.contains(this.$el.$shadowContainer)) {
|
|
10360
|
-
// 页面不存在Shadow,添加
|
|
10361
|
-
if (typeof this.$data.config.beforeAppendToPageCallBack === "function") {
|
|
10362
|
-
this.$data.config.beforeAppendToPageCallBack(this.$el.$shadowRoot, this.$el.$shadowContainer);
|
|
10363
|
-
}
|
|
10364
|
-
popsDOMUtils.append(document.body, this.$el.$shadowContainer);
|
|
10365
|
-
}
|
|
10366
|
-
// 更新内容
|
|
10367
|
-
this.changeContent();
|
|
10368
|
-
// 更新tip的位置
|
|
10369
|
-
this.changePosition(event);
|
|
10370
|
-
if (typeof this.$data.config.showAfterCallBack === "function") {
|
|
10371
|
-
this.$data.config.showAfterCallBack(this.$el.$toolTip);
|
|
10372
|
-
}
|
|
10373
|
-
}
|
|
10374
|
-
/**
|
|
10375
|
-
* 绑定 显示事件
|
|
10376
|
-
*/
|
|
10377
|
-
onShowEvent() {
|
|
10378
|
-
popsDOMUtils.on(this.$data.config.target, this.$data.config.triggerShowEventName, this.show, this.$data.config.eventOption);
|
|
10379
|
-
}
|
|
10380
|
-
/**
|
|
10381
|
-
* 取消绑定 显示事件
|
|
10382
|
-
*/
|
|
10383
|
-
offShowEvent() {
|
|
10384
|
-
popsDOMUtils.off(this.$data.config.target, this.$data.config.triggerShowEventName, this.show, {
|
|
10385
|
-
capture: true,
|
|
10386
|
-
});
|
|
10387
|
-
}
|
|
10388
|
-
/**
|
|
10389
|
-
* 关闭提示框
|
|
10390
|
-
*/
|
|
10391
|
-
close(...args) {
|
|
10392
|
-
let event = args[0];
|
|
10393
|
-
let eventType = event instanceof MouseEvent ? "MouseEvent" : "TouchEvent";
|
|
10394
|
-
// 只判断鼠标事件
|
|
10395
|
-
// 其它的如Touch事件不做处理
|
|
10396
|
-
if (event && event instanceof MouseEvent) {
|
|
10397
|
-
let $target = event.composedPath()[0];
|
|
10398
|
-
// 如果是目标元素的子元素/tooltip元素的子元素触发的话,那就不管
|
|
10399
|
-
if ($target != this.$data.config.target && $target != this.$el.$toolTip) {
|
|
10400
|
-
return;
|
|
10401
|
-
}
|
|
10402
|
-
}
|
|
10403
|
-
if (typeof this.$data.config.closeBeforeCallBack === "function") {
|
|
10404
|
-
let result = this.$data.config.closeBeforeCallBack(this.$el.$toolTip);
|
|
10405
|
-
if (typeof result === "boolean" && !result) {
|
|
10406
|
-
return;
|
|
10407
|
-
}
|
|
10408
|
-
}
|
|
10409
|
-
if (this.$data.config.delayCloseTime == null ||
|
|
10410
|
-
(typeof this.$data.config.delayCloseTime === "number" &&
|
|
10411
|
-
this.$data.config.delayCloseTime <= 0)) {
|
|
10412
|
-
this.$data.config.delayCloseTime = 100;
|
|
10413
|
-
}
|
|
10414
|
-
let timeId = popsUtils.setTimeout(() => {
|
|
10415
|
-
// 设置属性触发关闭动画
|
|
10416
|
-
this.clearCloseTimeoutId(eventType, timeId);
|
|
10417
|
-
if (this.$el.$toolTip == null) {
|
|
10418
|
-
// 已清除了
|
|
10419
|
-
return;
|
|
10420
|
-
}
|
|
10421
|
-
let motion = this.$el.$toolTip.getAttribute("data-motion");
|
|
10422
|
-
if (motion == null || motion.trim() === "") {
|
|
10423
|
-
// 没有动画
|
|
10424
|
-
this.toolTipAnimationFinishEvent();
|
|
10425
|
-
}
|
|
10426
|
-
else {
|
|
10427
|
-
// 修改data-motion触发动画关闭
|
|
10428
|
-
this.$el.$toolTip.setAttribute("data-motion", this.$el.$toolTip
|
|
10429
|
-
.getAttribute("data-motion")
|
|
10430
|
-
.replace("fadeIn", "fadeOut"));
|
|
10431
|
-
}
|
|
10432
|
-
}, this.$data.config.delayCloseTime);
|
|
10433
|
-
this.addCloseTimeoutId(eventType, timeId);
|
|
10434
|
-
if (typeof this.$data.config.closeAfterCallBack === "function") {
|
|
10435
|
-
this.$data.config.closeAfterCallBack(this.$el.$toolTip);
|
|
10436
|
-
}
|
|
10437
|
-
}
|
|
10438
|
-
/**
|
|
10439
|
-
* 绑定 关闭事件
|
|
10440
|
-
*/
|
|
10441
|
-
onCloseEvent() {
|
|
10442
|
-
popsDOMUtils.on(this.$data.config.target, this.$data.config.triggerCloseEventName, this.close, this.$data.config.eventOption);
|
|
10443
|
-
}
|
|
10444
|
-
/**
|
|
10445
|
-
* 取消绑定 关闭事件
|
|
10446
|
-
*/
|
|
10447
|
-
offCloseEvent() {
|
|
10448
|
-
popsDOMUtils.off(this.$data.config.target, this.$data.config.triggerCloseEventName, this.close, {
|
|
10449
|
-
capture: true,
|
|
10450
|
-
});
|
|
10451
|
-
}
|
|
10452
|
-
/**
|
|
10453
|
-
* 销毁元素
|
|
10454
|
-
*/
|
|
10455
|
-
destory() {
|
|
10456
|
-
if (this.$el.$toolTip) {
|
|
10457
|
-
this.$el.$shadowRoot.removeChild(this.$el.$toolTip);
|
|
10458
|
-
}
|
|
10459
|
-
// @ts-ignore
|
|
10460
|
-
this.$el.$toolTip = null;
|
|
10461
|
-
// @ts-ignore
|
|
10462
|
-
this.$el.$arrow = null;
|
|
10463
|
-
// @ts-ignore
|
|
10464
|
-
this.$el.$content = null;
|
|
10465
|
-
}
|
|
10466
|
-
/**
|
|
10467
|
-
* 动画结束事件
|
|
10468
|
-
*/
|
|
10469
|
-
toolTipAnimationFinishEvent() {
|
|
10470
|
-
if (!this.$el.$toolTip) {
|
|
10471
|
-
return;
|
|
10472
|
-
}
|
|
10473
|
-
if (this.$el.$toolTip.getAttribute("data-motion").includes("In")) {
|
|
10474
|
-
return;
|
|
10475
|
-
}
|
|
10476
|
-
this.destory();
|
|
10477
|
-
}
|
|
10478
|
-
/**
|
|
10479
|
-
* 监听tooltip的动画结束
|
|
10480
|
-
*/
|
|
10481
|
-
onToolTipAnimationFinishEvent() {
|
|
10482
|
-
popsDOMUtils.on(this.$el.$toolTip, popsDOMUtils.getAnimationEndNameList(), this.toolTipAnimationFinishEvent);
|
|
10483
|
-
}
|
|
10484
|
-
/**
|
|
10485
|
-
* 取消tooltip监听动画结束
|
|
10486
|
-
*/
|
|
10487
|
-
offToolTipAnimationFinishEvent() {
|
|
10488
|
-
popsDOMUtils.off(this.$el.$toolTip, popsDOMUtils.getAnimationEndNameList(), this.toolTipAnimationFinishEvent);
|
|
10489
|
-
}
|
|
10490
|
-
/**
|
|
10491
|
-
* 鼠标|触摸进入事件
|
|
10492
|
-
*/
|
|
10493
|
-
toolTipMouseEnterEvent() {
|
|
10494
|
-
this.clearCloseTimeoutId("MouseEvent");
|
|
10495
|
-
this.clearCloseTimeoutId("TouchEvent");
|
|
10496
|
-
// 重置动画状态
|
|
10497
|
-
// this.$el.$toolTip.style.animationPlayState = "paused";
|
|
10498
|
-
// if (parseInt(getComputedStyle(toolTipElement)) > 0.5) {
|
|
10499
|
-
// toolTipElement.style.animationPlayState = "paused";
|
|
10500
|
-
// }
|
|
10501
|
-
}
|
|
10502
|
-
/**
|
|
10503
|
-
* 监听鼠标|触摸事件
|
|
10504
|
-
*/
|
|
10505
|
-
onToolTipMouseEnterEvent() {
|
|
10506
|
-
this.clearCloseTimeoutId("MouseEvent");
|
|
10507
|
-
this.clearCloseTimeoutId("TouchEvent");
|
|
10508
|
-
popsDOMUtils.on(this.$el.$toolTip, "mouseenter touchstart", this.toolTipMouseEnterEvent, this.$data.config.eventOption);
|
|
10509
|
-
}
|
|
10510
|
-
/**
|
|
10511
|
-
* 取消监听鼠标|触摸事件
|
|
10512
|
-
*/
|
|
10513
|
-
offToolTipMouseEnterEvent() {
|
|
10514
|
-
popsDOMUtils.off(this.$el.$toolTip, "mouseenter touchstart", this.toolTipMouseEnterEvent, this.$data.config.eventOption);
|
|
10515
|
-
}
|
|
10516
|
-
/**
|
|
10517
|
-
* 鼠标|触摸离开事件
|
|
10518
|
-
*/
|
|
10519
|
-
toolTipMouseLeaveEvent(event) {
|
|
10520
|
-
this.close(event);
|
|
10521
|
-
// this.$el.$toolTip.style.animationPlayState = "running";
|
|
10522
|
-
}
|
|
10523
|
-
/**
|
|
10524
|
-
* 监听鼠标|触摸离开事件
|
|
10525
|
-
*/
|
|
10526
|
-
onToolTipMouseLeaveEvent() {
|
|
10527
|
-
popsDOMUtils.on(this.$el.$toolTip, "mouseleave touchend", this.toolTipMouseLeaveEvent, this.$data.config.eventOption);
|
|
10528
|
-
}
|
|
10529
|
-
/**
|
|
10530
|
-
* 取消监听鼠标|触摸离开事件
|
|
10531
|
-
*/
|
|
10532
|
-
offToolTipMouseLeaveEvent() {
|
|
10533
|
-
popsDOMUtils.off(this.$el.$toolTip, "mouseleave touchend", this.toolTipMouseLeaveEvent, this.$data.config.eventOption);
|
|
10534
|
-
}
|
|
10535
|
-
}
|
|
10536
|
-
const PopsTooltip = {
|
|
10537
|
-
init(details) {
|
|
10538
|
-
const guid = popsUtils.getRandomGUID();
|
|
10539
|
-
// 设置当前类型
|
|
10540
|
-
const PopsType = "tooltip";
|
|
10541
|
-
let config = PopsTooltipConfig();
|
|
10542
|
-
config = popsUtils.assign(config, GlobalConfig.getGlobalConfig());
|
|
10543
|
-
config = popsUtils.assign(config, details);
|
|
10544
|
-
if (!(config.target instanceof HTMLElement)) {
|
|
10545
|
-
throw new TypeError("config.target 必须是HTMLElement类型");
|
|
10546
|
-
}
|
|
10547
|
-
config = PopsHandler.handleOnly(PopsType, config);
|
|
10548
|
-
const { $shadowContainer, $shadowRoot } = PopsHandler.handlerShadow(config);
|
|
10549
|
-
PopsHandler.handleInit($shadowRoot, [
|
|
10550
|
-
pops.config.cssText.index,
|
|
10551
|
-
pops.config.cssText.anim,
|
|
10552
|
-
pops.config.cssText.common,
|
|
10553
|
-
pops.config.cssText.tooltipCSS,
|
|
10554
|
-
]);
|
|
10555
|
-
let toolTip = new ToolTip(config, guid, {
|
|
10556
|
-
$shadowContainer,
|
|
10557
|
-
$shadowRoot,
|
|
10558
|
-
});
|
|
10559
|
-
if (config.alwaysShow) {
|
|
10560
|
-
/* 总是显示 */
|
|
10561
|
-
/* 直接显示 */
|
|
10562
|
-
toolTip.show();
|
|
10563
|
-
}
|
|
10564
|
-
return {
|
|
10565
|
-
guid,
|
|
10566
|
-
config,
|
|
10567
|
-
$shadowContainer,
|
|
10568
|
-
$shadowRoot,
|
|
10569
|
-
toolTip,
|
|
10479
|
+
*/
|
|
10480
|
+
hideEvent(event) {
|
|
10481
|
+
if (event.target instanceof Node) {
|
|
10482
|
+
if ($shadowContainer.contains(event.target)) {
|
|
10483
|
+
/* 点击在shadow上的 */
|
|
10484
|
+
return;
|
|
10485
|
+
}
|
|
10486
|
+
if (config.target.contains(event.target)) {
|
|
10487
|
+
/* 点击在目标元素内 */
|
|
10488
|
+
return;
|
|
10489
|
+
}
|
|
10490
|
+
if (config.inputTarget.contains(event.target)) {
|
|
10491
|
+
/* 点击在目标input内 */
|
|
10492
|
+
return;
|
|
10493
|
+
}
|
|
10494
|
+
SearchSuggestion.hide();
|
|
10495
|
+
}
|
|
10496
|
+
},
|
|
10497
|
+
/**
|
|
10498
|
+
* 设置隐藏搜索建议框的事件
|
|
10499
|
+
*/
|
|
10500
|
+
setHideEvent(option = {
|
|
10501
|
+
capture: true,
|
|
10502
|
+
}) {
|
|
10503
|
+
/* 全局点击事件 */
|
|
10504
|
+
/* 全局触摸屏点击事件 */
|
|
10505
|
+
if (Array.isArray(SearchSuggestion.selfDocument)) {
|
|
10506
|
+
SearchSuggestion.selfDocument.forEach(($checkParent) => {
|
|
10507
|
+
popsDOMUtils.on($checkParent, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
10508
|
+
});
|
|
10509
|
+
}
|
|
10510
|
+
else {
|
|
10511
|
+
popsDOMUtils.on(SearchSuggestion.selfDocument, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
10512
|
+
}
|
|
10513
|
+
},
|
|
10514
|
+
/**
|
|
10515
|
+
* 移除隐藏搜索建议框的事件
|
|
10516
|
+
*/
|
|
10517
|
+
removeHideEvent(option = {
|
|
10518
|
+
capture: true,
|
|
10519
|
+
}) {
|
|
10520
|
+
if (Array.isArray(SearchSuggestion.selfDocument)) {
|
|
10521
|
+
SearchSuggestion.selfDocument.forEach(($checkParent) => {
|
|
10522
|
+
popsDOMUtils.off($checkParent, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
10523
|
+
});
|
|
10524
|
+
}
|
|
10525
|
+
else {
|
|
10526
|
+
popsDOMUtils.off(SearchSuggestion.selfDocument, ["click", "touchstart"], void 0, SearchSuggestion.hideEvent, option);
|
|
10527
|
+
}
|
|
10528
|
+
},
|
|
10529
|
+
/**
|
|
10530
|
+
* 设置所有监听
|
|
10531
|
+
*/
|
|
10532
|
+
setAllEvent(option = {
|
|
10533
|
+
capture: true,
|
|
10534
|
+
}) {
|
|
10535
|
+
SearchSuggestion.setInputChangeEvent(option);
|
|
10536
|
+
SearchSuggestion.setHideEvent(option);
|
|
10537
|
+
SearchSuggestion.setShowEvent(option);
|
|
10538
|
+
},
|
|
10539
|
+
/**
|
|
10540
|
+
* 移除所有监听
|
|
10541
|
+
*/
|
|
10542
|
+
removeAllEvent(option = {
|
|
10543
|
+
capture: true,
|
|
10544
|
+
}) {
|
|
10545
|
+
SearchSuggestion.removeInputChangeEvent(option);
|
|
10546
|
+
SearchSuggestion.removeHideEvent(option);
|
|
10547
|
+
SearchSuggestion.removeShowEvent(option);
|
|
10548
|
+
},
|
|
10549
|
+
/**
|
|
10550
|
+
* 获取删除按钮的html
|
|
10551
|
+
*/
|
|
10552
|
+
getDeleteIconHTML(size = 16, fill = "#bababa") {
|
|
10553
|
+
return /*html*/ `
|
|
10554
|
+
<svg class="pops-${PopsType}-delete-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}" fill="${fill}">
|
|
10555
|
+
<path d="M512 883.2A371.2 371.2 0 1 0 140.8 512 371.2 371.2 0 0 0 512 883.2z m0 64a435.2 435.2 0 1 1 435.2-435.2 435.2 435.2 0 0 1-435.2 435.2z"></path>
|
|
10556
|
+
<path d="M557.056 512l122.368 122.368a31.744 31.744 0 1 1-45.056 45.056L512 557.056l-122.368 122.368a31.744 31.744 0 1 1-45.056-45.056L466.944 512 344.576 389.632a31.744 31.744 0 1 1 45.056-45.056L512 466.944l122.368-122.368a31.744 31.744 0 1 1 45.056 45.056z"></path>
|
|
10557
|
+
</svg>
|
|
10558
|
+
`;
|
|
10559
|
+
},
|
|
10560
|
+
/**
|
|
10561
|
+
* 设置当前正在搜索中的提示
|
|
10562
|
+
*/
|
|
10563
|
+
setPromptsInSearch() {
|
|
10564
|
+
let isSearchingElement = popsDOMUtils.createElement("li", {
|
|
10565
|
+
className: `pops-${PopsType}-search-suggestion-hint-searching-item`,
|
|
10566
|
+
innerHTML: config.searchingTip,
|
|
10567
|
+
});
|
|
10568
|
+
SearchSuggestion.$el.$hintULContainer.appendChild(isSearchingElement);
|
|
10569
|
+
},
|
|
10570
|
+
/**
|
|
10571
|
+
* 移除正在搜索中的提示
|
|
10572
|
+
*/
|
|
10573
|
+
removePromptsInSearch() {
|
|
10574
|
+
SearchSuggestion.$el.$hintULContainer
|
|
10575
|
+
.querySelector(`li.pops-${PopsType}-search-suggestion-hint-searching-item`)
|
|
10576
|
+
?.remove();
|
|
10577
|
+
},
|
|
10578
|
+
/**
|
|
10579
|
+
* 清空所有的搜索结果
|
|
10580
|
+
*/
|
|
10581
|
+
clearAllSearchItemLi() {
|
|
10582
|
+
PopsSafeUtils.setSafeHTML(SearchSuggestion.$el.$hintULContainer, "");
|
|
10583
|
+
},
|
|
10584
|
+
/**
|
|
10585
|
+
* 更新搜索建议框的位置(top、left)
|
|
10586
|
+
* 因为目标元素可能是动态隐藏的
|
|
10587
|
+
*/
|
|
10588
|
+
changeHintULElementPosition(target = config.target ?? config.inputTarget) {
|
|
10589
|
+
let targetRect = null;
|
|
10590
|
+
if (config.followPosition === "inputCursor") {
|
|
10591
|
+
targetRect = popsDOMUtils.getTextBoundingRect(config.inputTarget, config.inputTarget.selectionStart || 0, config.inputTarget.selectionEnd || 0, false);
|
|
10592
|
+
}
|
|
10593
|
+
else {
|
|
10594
|
+
targetRect = config.isAbsolute
|
|
10595
|
+
? popsDOMUtils.offset(target)
|
|
10596
|
+
: target.getBoundingClientRect();
|
|
10597
|
+
}
|
|
10598
|
+
if (targetRect == null) {
|
|
10599
|
+
return;
|
|
10600
|
+
}
|
|
10601
|
+
// 文档最大高度
|
|
10602
|
+
let documentHeight = document.documentElement.clientHeight;
|
|
10603
|
+
if (config.isAbsolute) {
|
|
10604
|
+
// 绝对定位
|
|
10605
|
+
documentHeight = popsDOMUtils.height(document);
|
|
10606
|
+
}
|
|
10607
|
+
// 文档最大宽度
|
|
10608
|
+
let documentWidth = popsDOMUtils.width(document);
|
|
10609
|
+
let position = config.position;
|
|
10610
|
+
if (config.position === "auto") {
|
|
10611
|
+
// 需目标高度+搜索建议框高度大于文档高度,则显示在上面
|
|
10612
|
+
let targetBottom = targetRect.bottom;
|
|
10613
|
+
let searchSuggestionContainerHeight = popsDOMUtils.height(SearchSuggestion.$el.$hintULContainer);
|
|
10614
|
+
if (targetBottom + searchSuggestionContainerHeight > documentHeight) {
|
|
10615
|
+
// 在上面
|
|
10616
|
+
position = "top";
|
|
10617
|
+
}
|
|
10618
|
+
else {
|
|
10619
|
+
// 在下面
|
|
10620
|
+
position = "bottom";
|
|
10621
|
+
SearchSuggestion.$el.$hintULContainer.removeAttribute("data-top");
|
|
10622
|
+
}
|
|
10623
|
+
}
|
|
10624
|
+
if (position === "top") {
|
|
10625
|
+
if (config.positionTopToReverse) {
|
|
10626
|
+
SearchSuggestion.$el.$hintULContainer.setAttribute("data-top-reverse", "true");
|
|
10627
|
+
}
|
|
10628
|
+
// 在上面
|
|
10629
|
+
SearchSuggestion.$el.$hintULContainer.style.top = "";
|
|
10630
|
+
SearchSuggestion.$el.$hintULContainer.style.bottom =
|
|
10631
|
+
documentHeight - targetRect.top + config.topDistance + "px";
|
|
10632
|
+
}
|
|
10633
|
+
else if (position === "bottom") {
|
|
10634
|
+
// 在下面
|
|
10635
|
+
SearchSuggestion.$el.$hintULContainer.removeAttribute("data-top-reverse");
|
|
10636
|
+
SearchSuggestion.$el.$hintULContainer.style.bottom = "";
|
|
10637
|
+
SearchSuggestion.$el.$hintULContainer.style.top =
|
|
10638
|
+
targetRect.height + targetRect.top + config.topDistance + "px";
|
|
10639
|
+
}
|
|
10640
|
+
let hintUIWidth = popsDOMUtils.width(SearchSuggestion.$el.$hintULContainer);
|
|
10641
|
+
SearchSuggestion.$el.$hintULContainer.style.left =
|
|
10642
|
+
(targetRect.left + hintUIWidth > documentWidth
|
|
10643
|
+
? documentWidth - hintUIWidth
|
|
10644
|
+
: targetRect.left) + "px";
|
|
10645
|
+
},
|
|
10646
|
+
/**
|
|
10647
|
+
* 更新搜索建议框的width
|
|
10648
|
+
* 因为目标元素可能是动态隐藏的
|
|
10649
|
+
*/
|
|
10650
|
+
changeHintULElementWidth(target = config.target ?? config.inputTarget) {
|
|
10651
|
+
let targetRect = target.getBoundingClientRect();
|
|
10652
|
+
if (config.followTargetWidth) {
|
|
10653
|
+
SearchSuggestion.$el.$hintULContainer.style.width =
|
|
10654
|
+
targetRect.width + "px";
|
|
10655
|
+
}
|
|
10656
|
+
else {
|
|
10657
|
+
SearchSuggestion.$el.$hintULContainer.style.width = config.width;
|
|
10658
|
+
}
|
|
10659
|
+
},
|
|
10660
|
+
/**
|
|
10661
|
+
* 动态更新CSS
|
|
10662
|
+
*/
|
|
10663
|
+
updateDynamicCSS() {
|
|
10664
|
+
let cssText = this.getDynamicCSS();
|
|
10665
|
+
PopsSafeUtils.setSafeHTML(this.$el.$dynamicCSS, cssText);
|
|
10666
|
+
},
|
|
10667
|
+
/**
|
|
10668
|
+
* 更新页面显示的搜索结果
|
|
10669
|
+
* @param data
|
|
10670
|
+
*/
|
|
10671
|
+
update(data = []) {
|
|
10672
|
+
if (!Array.isArray(data)) {
|
|
10673
|
+
throw new TypeError("传入的数据不是数组");
|
|
10674
|
+
}
|
|
10675
|
+
config.data = data;
|
|
10676
|
+
/* 清空已有的搜索结果 */
|
|
10677
|
+
if (config.data.length) {
|
|
10678
|
+
SearchSuggestion.$data.isEmpty = false;
|
|
10679
|
+
if (config.toHideWithNotResult) {
|
|
10680
|
+
SearchSuggestion.show();
|
|
10681
|
+
}
|
|
10682
|
+
SearchSuggestion.clearAllSearchItemLi();
|
|
10683
|
+
/* 添加进ul中 */
|
|
10684
|
+
config.data.forEach((item, index) => {
|
|
10685
|
+
let itemElement = SearchSuggestion.getSearchItemLiElement(item, index);
|
|
10686
|
+
SearchSuggestion.setSearchItemClickEvent(itemElement);
|
|
10687
|
+
SearchSuggestion.setSearchItemSelectEvent(itemElement);
|
|
10688
|
+
SearchSuggestion.$el.$hintULContainer.appendChild(itemElement);
|
|
10689
|
+
});
|
|
10690
|
+
}
|
|
10691
|
+
else {
|
|
10692
|
+
/* 清空 */
|
|
10693
|
+
SearchSuggestion.clear();
|
|
10694
|
+
}
|
|
10695
|
+
},
|
|
10696
|
+
/**
|
|
10697
|
+
* 清空当前的搜索结果并显示无结果
|
|
10698
|
+
*/
|
|
10699
|
+
clear() {
|
|
10700
|
+
this.$data.isEmpty = true;
|
|
10701
|
+
this.clearAllSearchItemLi();
|
|
10702
|
+
this.$el.$hintULContainer.appendChild(popsDOMUtils.parseTextToDOM(config.toSearhNotResultHTML));
|
|
10703
|
+
if (config.toHideWithNotResult) {
|
|
10704
|
+
this.hide();
|
|
10705
|
+
}
|
|
10706
|
+
},
|
|
10707
|
+
/**
|
|
10708
|
+
* 隐藏搜索建议框
|
|
10709
|
+
*/
|
|
10710
|
+
hide() {
|
|
10711
|
+
this.$el.root.style.display = "none";
|
|
10712
|
+
},
|
|
10713
|
+
/**
|
|
10714
|
+
* 显示搜索建议框
|
|
10715
|
+
*/
|
|
10716
|
+
show() {
|
|
10717
|
+
this.$el.root.style.display = "";
|
|
10718
|
+
},
|
|
10570
10719
|
};
|
|
10720
|
+
return SearchSuggestion;
|
|
10571
10721
|
},
|
|
10572
10722
|
};
|
|
10573
10723
|
|
|
@@ -10575,89 +10725,14 @@ define((function () { 'use strict';
|
|
|
10575
10725
|
/** 配置 */
|
|
10576
10726
|
config = {
|
|
10577
10727
|
/** 版本号 */
|
|
10578
|
-
version: "2025.
|
|
10579
|
-
cssText:
|
|
10580
|
-
/** 主CSS */
|
|
10581
|
-
index: indexCSS,
|
|
10582
|
-
/** 九宫格位置CSS */
|
|
10583
|
-
ninePalaceGridPosition: ninePalaceGridPositionCSS,
|
|
10584
|
-
/** 滚动条CSS */
|
|
10585
|
-
scrollbar: scrollbarCSS,
|
|
10586
|
-
/** 按钮CSS */
|
|
10587
|
-
button: buttonCSS,
|
|
10588
|
-
/** 通用的CSS */
|
|
10589
|
-
common: commonCSS,
|
|
10590
|
-
/** 动画 */
|
|
10591
|
-
anim: animCSS,
|
|
10592
|
-
/** pops.alert */
|
|
10593
|
-
alertCSS: alertCSS,
|
|
10594
|
-
/** pops.cponfirm */
|
|
10595
|
-
confirmCSS: confirmCSS,
|
|
10596
|
-
/** pops.prompt */
|
|
10597
|
-
promptCSS: promptCSS,
|
|
10598
|
-
/** pops.loading */
|
|
10599
|
-
loadingCSS: loadingCSS,
|
|
10600
|
-
/** pops.iframe */
|
|
10601
|
-
iframeCSS: iframeCSS,
|
|
10602
|
-
/** pops.tooltip */
|
|
10603
|
-
tooltipCSS: tooltipCSS,
|
|
10604
|
-
/** pops.drawer */
|
|
10605
|
-
drawerCSS: drawerCSS,
|
|
10606
|
-
/** pops.folder */
|
|
10607
|
-
folderCSS: folderCSS,
|
|
10608
|
-
/** pops.folder */
|
|
10609
|
-
panelCSS: panelCSS,
|
|
10610
|
-
/** pops.rightClickMenu */
|
|
10611
|
-
rightClickMenu: rightClickMenuCSS,
|
|
10612
|
-
},
|
|
10728
|
+
version: "2025.6.4",
|
|
10729
|
+
cssText: PopsCSS,
|
|
10613
10730
|
/** icon图标的svg代码 */
|
|
10614
|
-
iconSVG:
|
|
10615
|
-
min: SVG_min,
|
|
10616
|
-
mise: SVG_mise,
|
|
10617
|
-
max: SVG_max,
|
|
10618
|
-
close: SVG_close,
|
|
10619
|
-
edit: SVG_edit,
|
|
10620
|
-
share: SVG_share,
|
|
10621
|
-
delete: SVG_delete,
|
|
10622
|
-
search: SVG_search,
|
|
10623
|
-
upload: SVG_upload,
|
|
10624
|
-
loading: SVG_loading,
|
|
10625
|
-
next: SVG_next,
|
|
10626
|
-
prev: SVG_prev,
|
|
10627
|
-
eleme: SVG_eleme,
|
|
10628
|
-
elemePlus: SVG_elemePlus,
|
|
10629
|
-
chromeFilled: SVG_chromeFilled,
|
|
10630
|
-
cpu: SVG_cpu,
|
|
10631
|
-
videoPlay: SVG_videoPlay,
|
|
10632
|
-
videoPause: SVG_videoPause,
|
|
10633
|
-
headset: SVG_headset,
|
|
10634
|
-
monitor: SVG_monitor,
|
|
10635
|
-
documentCopy: SVG_documentCopy,
|
|
10636
|
-
picture: SVG_picture,
|
|
10637
|
-
circleClose: SVG_circleClose,
|
|
10638
|
-
view: SVG_view,
|
|
10639
|
-
hide: SVG_hide,
|
|
10640
|
-
keyboard: SVG_keyboard,
|
|
10641
|
-
arrowRight: SVG_arrowRight,
|
|
10642
|
-
arrowLeft: SVG_arrowLeft,
|
|
10643
|
-
},
|
|
10731
|
+
iconSVG: PopsIcon.$data,
|
|
10644
10732
|
/** 当前已配置的动画@keyframes名字映射(初始化时生成) */
|
|
10645
|
-
animation:
|
|
10646
|
-
/** 是否初始化 */
|
|
10647
|
-
isInit: false,
|
|
10733
|
+
animation: PopsAnimation.$data,
|
|
10648
10734
|
/** 存储已创建的元素 */
|
|
10649
|
-
layer:
|
|
10650
|
-
alert: [],
|
|
10651
|
-
confirm: [],
|
|
10652
|
-
prompt: [],
|
|
10653
|
-
loading: [],
|
|
10654
|
-
iframe: [],
|
|
10655
|
-
tooltip: [],
|
|
10656
|
-
drawer: [],
|
|
10657
|
-
folder: [],
|
|
10658
|
-
panel: [],
|
|
10659
|
-
rightClickMenu: [],
|
|
10660
|
-
},
|
|
10735
|
+
layer: PopsLayer,
|
|
10661
10736
|
/** 禁止滚动 */
|
|
10662
10737
|
forbiddenScroll: {
|
|
10663
10738
|
event(event) {
|
|
@@ -10675,20 +10750,7 @@ define((function () { 'use strict';
|
|
|
10675
10750
|
/** pops.panel中用于处理各个类型的工具 */
|
|
10676
10751
|
panelHandleContentUtils: PanelHandleContentDetails,
|
|
10677
10752
|
};
|
|
10678
|
-
init() {
|
|
10679
|
-
if (!this.config.isInit) {
|
|
10680
|
-
/* 处理获取当前所有的动画名 */
|
|
10681
|
-
this.config.isInit = true;
|
|
10682
|
-
let animationStyle = document.createElement("style");
|
|
10683
|
-
PopsSafeUtils.setSafeHTML(animationStyle, this.config.cssText.anim);
|
|
10684
|
-
popsDOMUtils.appendHead(animationStyle);
|
|
10685
|
-
this.config.animation = null;
|
|
10686
|
-
this.config.animation = PopsInstanceUtils.getKeyFrames(animationStyle.sheet);
|
|
10687
|
-
popsUtils.setTimeout(() => {
|
|
10688
|
-
animationStyle.remove();
|
|
10689
|
-
}, 50);
|
|
10690
|
-
}
|
|
10691
|
-
}
|
|
10753
|
+
init() { }
|
|
10692
10754
|
/**
|
|
10693
10755
|
* 释放原有的pops控制权
|
|
10694
10756
|
* @example
|
|
@@ -10709,8 +10771,8 @@ define((function () { 'use strict';
|
|
|
10709
10771
|
* 通过navigator.userAgent判断是否是手机访问
|
|
10710
10772
|
* @param userAgent
|
|
10711
10773
|
*/
|
|
10712
|
-
isPhone(userAgent
|
|
10713
|
-
return
|
|
10774
|
+
isPhone(userAgent) {
|
|
10775
|
+
return popsUtils.isPhone(userAgent);
|
|
10714
10776
|
}
|
|
10715
10777
|
/**
|
|
10716
10778
|
* 为所有弹窗设置全局属性
|