@wp1001/ui 2.9.13 → 3.0.0
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/@vant-D4fmGxs6.js +1 -3891
- package/index.html +28 -0
- package/index.js +1 -8419
- package/lib/tinymce/zh_CN.js +1 -0
- package/package.json +1 -1
- package/packages/assets/devtools-detector.js +1 -2
- package/packages/components/xarray/index.js +1 -64
- package/packages/components/xautorows/index.js +1 -35
- package/packages/components/xbutton/mobile.js +1 -3
- package/packages/components/xbutton/pc.js +1 -3
- package/packages/components/xbuttons/mobile.js +1 -51
- package/packages/components/xbuttons/pc.js +1 -51
- package/packages/components/xchart/constants.js +1 -58
- package/packages/components/xchart/index.js +1 -263
- package/packages/components/xchart/utils.js +1 -121
- package/packages/components/xcheckboxs/mobile.js +1 -58
- package/packages/components/xcheckboxs/pc.js +1 -49
- package/packages/components/xcol/mobile.js +1 -10
- package/packages/components/xcol/pc.js +1 -10
- package/packages/components/xdatepicker/mobile.js +1 -71
- package/packages/components/xdatepicker/pc.js +1 -9
- package/packages/components/xdialog/mobile.js +1 -60
- package/packages/components/xdialog/pc.js +1 -64
- package/packages/components/xdict/index.js +1 -47
- package/packages/components/xdistrictselect/mobile.js +1 -79
- package/packages/components/xdistrictselect/pc.js +1 -127
- package/packages/components/xform/mobile.js +1 -29
- package/packages/components/xform/pc.js +1 -42
- package/packages/components/xform/utils.js +1 -95
- package/packages/components/xformitem/mobile.js +1 -56
- package/packages/components/xformitem/pc.js +1 -72
- package/packages/components/xicon/mobile.js +1 -35
- package/packages/components/xicon/pc.js +1 -35
- package/packages/components/xinfo/index.js +1 -100
- package/packages/components/xlooper/index.js +1 -7
- package/packages/components/xpagination/mobile.js +1 -21
- package/packages/components/xpagination/pc.js +1 -21
- package/packages/components/xpicker/index.js +1 -38
- package/packages/components/xradios/mobile.js +1 -40
- package/packages/components/xradios/pc.js +1 -53
- package/packages/components/xrow/mobile.js +1 -9
- package/packages/components/xrow/pc.js +1 -9
- package/packages/components/xscan/mobile.js +1 -24
- package/packages/components/xscan/pc.js +1 -20
- package/packages/components/xsearcher/index.js +1 -198
- package/packages/components/xselect/mobile.js +1 -86
- package/packages/components/xselect/pc.js +1 -114
- package/packages/components/xselect/util.js +1 -66
- package/packages/components/xselectv2/index.js +1 -91
- package/packages/components/xtable/mobile.js +1 -108
- package/packages/components/xtable/pc.js +1 -143
- package/packages/components/xtable/searcher.js +1 -477
- package/packages/components/xtable/settings.js +1 -80
- package/packages/components/xtable/utils.js +1 -692
- package/packages/components/xtabletools/mobile.js +1 -25
- package/packages/components/xtabletools/pc.js +1 -18
- package/packages/components/xtablev2/index.js +1 -53
- package/packages/components/xtags/mobile.js +1 -17
- package/packages/components/xtags/pc.js +1 -17
- package/packages/components/xtinymce/index.js +1 -71
- package/packages/components/xuploader/xfileuploader.js +1 -48
- package/packages/components/xuploader/ximageuploader.js +1 -53
- package/packages/comps.js +1 -108
- package/packages/controllers/BaseController.js +1 -125
- package/packages/controllers/CrudController.js +1 -907
- package/packages/controllers/TempCrudController.js +1 -32
- package/packages/controllers/index.js +1 -15
- package/packages/directives/el-table-infinite-scroll.js +1 -55
- package/packages/directives/index.js +1 -5
- package/packages/index.js +1 -81
- package/packages/layout/breadcrumb/index.js +1 -41
- package/packages/layout/header/inner.js +1 -11
- package/packages/layout/screenlock/index.js +1 -129
- package/packages/layout/sidebar/item.js +1 -16
- package/packages/layout/sidebar/menu.js +1 -72
- package/packages/layout/tagsview/ScrollPane.js +1 -65
- package/packages/layout/tagsview/index.js +1 -169
- package/packages/plop/actions/make-fill-admin-partials-action.js +1 -95
- package/packages/plop/generators/make-admin-page.js +1 -39
- package/packages/plop/generators/make-database-admin-pages.js +1 -84
- package/packages/plop/generators/make-page-generator.js +1 -52
- package/packages/plop/generators/make-simple-page.js +1 -20
- package/packages/plop/plopfile.js +1 -24
- package/packages/plop/utils/index.js +1 -168
- package/packages/plop/utils/plop-utils.js +1 -86
- package/packages/utils/crypt.js +1 -24
- package/packages/utils/decorators.js +1 -67
- package/packages/utils/disallowDevtools.js +1 -53
- package/packages/utils/effects.js +1 -173
- package/packages/utils/funcs.js +1 -78
- package/packages/utils/index.js +1 -95
- package/packages/utils/message.js +1 -110
- package/packages/utils/middlewares.js +1 -86
- package/packages/utils/model.js +1 -71
- package/packages/utils/modelUtils.js +1 -203
- package/packages/utils/request.js +1 -57
- package/packages/utils/site.js +1 -33
- package/packages/vite-plugins.js +1 -141
- package/src/App.vue +134 -0
- package/src/main.js +1 -0
- package/src/request.js +1 -0
- package/style.css +1 -0
- package/vite.config.js +1 -0
- package/vite.lib.config.js +1 -0
- package/.env +0 -6
|
@@ -1,32 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
class TempCrudController extends CrudController {
|
|
4
|
-
handleAdd () {
|
|
5
|
-
const $index = this.table.list.length
|
|
6
|
-
const row = {
|
|
7
|
-
_index: $index + 1,
|
|
8
|
-
isEditing: true
|
|
9
|
-
}
|
|
10
|
-
this.table.list.push(row)
|
|
11
|
-
this.handleEdit({ $index, row })
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
handleDelete ({ $index, row }) {
|
|
15
|
-
this.table.list.splice($index, 1)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
handleRowEdit ({ row }) {
|
|
19
|
-
row.isEditing = false
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
handleSubmit (params) {
|
|
23
|
-
this.dialog.visible = false
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
handleMultiDelete () {
|
|
27
|
-
const { list, selection } = this.table
|
|
28
|
-
this.table.list = list.filter(ele => !selection.includes(ele))
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default TempCrudController
|
|
1
|
+
const a63_0x313dc4=a63_0x5825;function a63_0x5825(_0x335058,_0x5c9e65){const _0x35a439=a63_0x35a4();return a63_0x5825=function(_0x58250e,_0x13e6b8){_0x58250e=_0x58250e-0xbd;let _0x408172=_0x35a439[_0x58250e];return _0x408172;},a63_0x5825(_0x335058,_0x5c9e65);}function a63_0x35a4(){const _0x4e17e0=['1267336jwlEiT','126hqgCEe','5gNnCTC','handleSubmit','list','handleEdit','length','556120HPdpka','4003017DoKvId','handleRowEdit','dialog','isEditing','push','1346984RsKoKk','6011607ZPGcTm','1472896PrAynn','handleAdd','visible','7188378FkxwhY','handleDelete','table'];a63_0x35a4=function(){return _0x4e17e0;};return a63_0x35a4();}(function(_0x390310,_0x4b60bd){const _0x3512e4=a63_0x5825,_0x4ba85=_0x390310();while(!![]){try{const _0x2d3a91=parseInt(_0x3512e4(0xcd))/0x1+-parseInt(_0x3512e4(0xc0))/0x2+-parseInt(_0x3512e4(0xc8))/0x3+parseInt(_0x3512e4(0xcf))/0x4+-parseInt(_0x3512e4(0xc2))/0x5*(-parseInt(_0x3512e4(0xbd))/0x6)+parseInt(_0x3512e4(0xce))/0x7+parseInt(_0x3512e4(0xc7))/0x8*(-parseInt(_0x3512e4(0xc1))/0x9);if(_0x2d3a91===_0x4b60bd)break;else _0x4ba85['push'](_0x4ba85['shift']());}catch(_0x484da1){_0x4ba85['push'](_0x4ba85['shift']());}}}(a63_0x35a4,0xcad87));import a63_0x28f511 from'./CrudController.js';class TempCrudController extends a63_0x28f511{[a63_0x313dc4(0xd0)](){const _0x12a009=a63_0x313dc4,_0x2ddab7=this['table'][_0x12a009(0xc4)][_0x12a009(0xc6)],_0x213b47={'_index':_0x2ddab7+0x1,'isEditing':!![]};this[_0x12a009(0xbf)][_0x12a009(0xc4)][_0x12a009(0xcc)](_0x213b47),this[_0x12a009(0xc5)]({'$index':_0x2ddab7,'row':_0x213b47});}[a63_0x313dc4(0xbe)]({$index:_0x439014,row:_0x4d6c98}){const _0x5ee945=a63_0x313dc4;this[_0x5ee945(0xbf)][_0x5ee945(0xc4)]['splice'](_0x439014,0x1);}[a63_0x313dc4(0xc9)]({row:_0x6b51ab}){const _0x2892f6=a63_0x313dc4;_0x6b51ab[_0x2892f6(0xcb)]=![];}[a63_0x313dc4(0xc3)](_0x27185f){const _0x663c11=a63_0x313dc4;this[_0x663c11(0xca)][_0x663c11(0xd1)]=![];}['handleMultiDelete'](){const _0x250275=a63_0x313dc4,{list:_0x1c9859,selection:_0x5684e3}=this[_0x250275(0xbf)];this['table'][_0x250275(0xc4)]=_0x1c9859['filter'](_0x4a459e=>!_0x5684e3['includes'](_0x4a459e));}}export default TempCrudController;
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import BaseController from './
|
|
2
|
-
import CrudController from './CrudController.js'
|
|
3
|
-
import TempCrudController from './TempCrudController.js'
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
BaseController,
|
|
7
|
-
CrudController,
|
|
8
|
-
TempCrudController
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
BaseController,
|
|
13
|
-
CrudController,
|
|
14
|
-
TempCrudController
|
|
15
|
-
}
|
|
1
|
+
function a64_0x5809(){var _0x9254db=['2156xoBPpL','11007dYLbDx','38396bDDjUX','31210rsjnGB','277197UcFLca','3451030FADVDV','12378SIdOpA','5218828ZFCMSO','32aMtWkv','1576mtzSKr'];a64_0x5809=function(){return _0x9254db;};return a64_0x5809();}(function(_0x291156,_0x2d9726){var _0x2daf7b=a64_0x4bc0,_0x25248a=_0x291156();while(!![]){try{var _0x1dfe42=-parseInt(_0x2daf7b(0x19e))/0x1*(parseInt(_0x2daf7b(0x19a))/0x2)+parseInt(_0x2daf7b(0x1a0))/0x3+parseInt(_0x2daf7b(0x199))/0x4+-parseInt(_0x2daf7b(0x19f))/0x5+parseInt(_0x2daf7b(0x198))/0x6*(-parseInt(_0x2daf7b(0x19c))/0x7)+parseInt(_0x2daf7b(0x19b))/0x8*(parseInt(_0x2daf7b(0x19d))/0x9)+parseInt(_0x2daf7b(0x1a1))/0xa;if(_0x1dfe42===_0x2d9726)break;else _0x25248a['push'](_0x25248a['shift']());}catch(_0x2e7b1e){_0x25248a['push'](_0x25248a['shift']());}}}(a64_0x5809,0xb1876));import a64_0xe1e1e2 from'./BaseController.js';import a64_0x41561c from'./CrudController.js';function a64_0x4bc0(_0x9cd43c,_0x18ff84){var _0x580986=a64_0x5809();return a64_0x4bc0=function(_0x4bc058,_0x491928){_0x4bc058=_0x4bc058-0x198;var _0x248a46=_0x580986[_0x4bc058];return _0x248a46;},a64_0x4bc0(_0x9cd43c,_0x18ff84);}import a64_0xaada3a from'./TempCrudController.js';export{a64_0xe1e1e2 as BaseController,a64_0x41561c as CrudController,a64_0xaada3a as TempCrudController};export default{'BaseController':a64_0xe1e1e2,'CrudController':a64_0x41561c,'TempCrudController':a64_0xaada3a};
|
|
@@ -1,55 +1 @@
|
|
|
1
|
-
const {
|
|
2
|
-
|
|
3
|
-
const elTableScrollWrapperClass = '.el-scrollbar__wrap'
|
|
4
|
-
|
|
5
|
-
const syncOptions = (sourceElem, targetElem) => {
|
|
6
|
-
syncAttrs(sourceElem, targetElem, [
|
|
7
|
-
'infinite-scroll-disabled',
|
|
8
|
-
'infinite-scroll-delay',
|
|
9
|
-
'infinite-scroll-immediate',
|
|
10
|
-
'infinite-scroll-distance',
|
|
11
|
-
])
|
|
12
|
-
const name = 'infinite-scroll-distance'
|
|
13
|
-
const value = +(sourceElem.getAttribute(name) || 0)
|
|
14
|
-
targetElem.setAttribute(name, (value < 1 ? 1 : value) + '')
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const syncAttrs = (sourceElem, targetElem, attrsKeys) => {
|
|
18
|
-
let value
|
|
19
|
-
attrsKeys.forEach((name) => {
|
|
20
|
-
value = sourceElem.getAttribute(name)
|
|
21
|
-
if (value !== null) {
|
|
22
|
-
targetElem.setAttribute(name, value)
|
|
23
|
-
} else {
|
|
24
|
-
targetElem.removeAttribute(name)
|
|
25
|
-
}
|
|
26
|
-
})
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const ElTableInfiniteScroll = {
|
|
30
|
-
name: 'el-table-infinite-scroll',
|
|
31
|
-
mounted(el, binding, VNode, oldVNode) {
|
|
32
|
-
const scrollElem = el.querySelector(elTableScrollWrapperClass)
|
|
33
|
-
if (!scrollElem) {
|
|
34
|
-
throw new Error(`${elTableScrollWrapperClass} element not found.`)
|
|
35
|
-
}
|
|
36
|
-
scrollElem.style.overflowY = 'auto'
|
|
37
|
-
setTimeout(() => {
|
|
38
|
-
if (!el.style.height && !el.style.maxHeight) {
|
|
39
|
-
scrollElem.style.height = '400px'
|
|
40
|
-
console.warn('el-table height required, otherwise will set scrollbar default height: 400px')
|
|
41
|
-
}
|
|
42
|
-
syncOptions(el, scrollElem)
|
|
43
|
-
ElInfiniteScroll.mounted(scrollElem, binding, VNode, oldVNode)
|
|
44
|
-
}, 0)
|
|
45
|
-
},
|
|
46
|
-
updated(el) {
|
|
47
|
-
syncOptions(el, el.querySelector(elTableScrollWrapperClass))
|
|
48
|
-
},
|
|
49
|
-
unmounted(el, ...args) {
|
|
50
|
-
const scrollElem = el.querySelector(elTableScrollWrapperClass)
|
|
51
|
-
ElInfiniteScroll.unmounted(scrollElem, ...args)
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export default ElTableInfiniteScroll
|
|
1
|
+
const a65_0x2cfb67=a65_0xfc7d;(function(_0x1351a5,_0x17bc13){const _0x17680f=a65_0xfc7d,_0x1f0c42=_0x1351a5();while(!![]){try{const _0x5940f9=parseInt(_0x17680f(0x8c))/0x1*(parseInt(_0x17680f(0x98))/0x2)+parseInt(_0x17680f(0x9f))/0x3+parseInt(_0x17680f(0x9d))/0x4*(-parseInt(_0x17680f(0x8a))/0x5)+-parseInt(_0x17680f(0xa1))/0x6*(-parseInt(_0x17680f(0x9a))/0x7)+-parseInt(_0x17680f(0x86))/0x8*(-parseInt(_0x17680f(0x91))/0x9)+parseInt(_0x17680f(0x87))/0xa*(parseInt(_0x17680f(0x97))/0xb)+-parseInt(_0x17680f(0x88))/0xc*(parseInt(_0x17680f(0x96))/0xd);if(_0x5940f9===_0x17bc13)break;else _0x1f0c42['push'](_0x1f0c42['shift']());}catch(_0x5df25b){_0x1f0c42['push'](_0x1f0c42['shift']());}}}(a65_0x2e45,0x1c414));function a65_0xfc7d(_0x419b37,_0x4b5f0d){const _0x2e4553=a65_0x2e45();return a65_0xfc7d=function(_0xfc7d95,_0x3a100a){_0xfc7d95=_0xfc7d95-0x84;let _0x12dd2e=_0x2e4553[_0xfc7d95];return _0x12dd2e;},a65_0xfc7d(_0x419b37,_0x4b5f0d);}function a65_0x2e45(){const _0x5cbe19=['querySelector','forEach','style','\x20element\x20not\x20found.','104ZHfTOE','13629VMafyB','94UNkrOg','warn','534149gaZXbZ','setAttribute','maxHeight','10120oJfhBn','el-table\x20height\x20required,\x20otherwise\x20will\x20set\x20scrollbar\x20default\x20height:\x20400px','45474SdITKA','infinite-scroll-delay','6xTYDox','400px','overflowY','7928nazjlD','910YBIINM','364668HVIUau','el-table-infinite-scroll','5nJuAXH','infinite-scroll-distance','1404fTTZln','auto','infinite-scroll-immediate','ElementPlus','getAttribute','828UDzrVz'];a65_0x2e45=function(){return _0x5cbe19;};return a65_0x2e45();}const {ElInfiniteScroll}=window[a65_0x2cfb67(0x8f)]||{},elTableScrollWrapperClass='.el-scrollbar__wrap',syncOptions=(_0x566849,_0x428da8)=>{const _0x10c91f=a65_0x2cfb67;syncAttrs(_0x566849,_0x428da8,['infinite-scroll-disabled',_0x10c91f(0xa0),_0x10c91f(0x8e),'infinite-scroll-distance']);const _0x3f0cdf=_0x10c91f(0x8b),_0x16d4ec=+(_0x566849['getAttribute'](_0x3f0cdf)||0x0);_0x428da8[_0x10c91f(0x9b)](_0x3f0cdf,(_0x16d4ec<0x1?0x1:_0x16d4ec)+'');},syncAttrs=(_0x4d25f6,_0x49fbf5,_0x3d367a)=>{const _0x27c02d=a65_0x2cfb67;let _0x3671b5;_0x3d367a[_0x27c02d(0x93)](_0x10e10c=>{const _0x211360=_0x27c02d;_0x3671b5=_0x4d25f6[_0x211360(0x90)](_0x10e10c),_0x3671b5!==null?_0x49fbf5[_0x211360(0x9b)](_0x10e10c,_0x3671b5):_0x49fbf5['removeAttribute'](_0x10e10c);});},ElTableInfiniteScroll={'name':a65_0x2cfb67(0x89),'mounted'(_0x250cb9,_0x388b8c,_0x6077fd,_0x27032b){const _0x3df580=a65_0x2cfb67,_0x290514=_0x250cb9[_0x3df580(0x92)](elTableScrollWrapperClass);if(!_0x290514)throw new Error(elTableScrollWrapperClass+_0x3df580(0x95));_0x290514[_0x3df580(0x94)][_0x3df580(0x85)]=_0x3df580(0x8d),setTimeout(()=>{const _0x3a9b60=_0x3df580;!_0x250cb9[_0x3a9b60(0x94)]['height']&&!_0x250cb9['style'][_0x3a9b60(0x9c)]&&(_0x290514[_0x3a9b60(0x94)]['height']=_0x3a9b60(0x84),console[_0x3a9b60(0x99)](_0x3a9b60(0x9e))),syncOptions(_0x250cb9,_0x290514),ElInfiniteScroll['mounted'](_0x290514,_0x388b8c,_0x6077fd,_0x27032b);},0x0);},'updated'(_0x530ea6){const _0xf00d78=a65_0x2cfb67;syncOptions(_0x530ea6,_0x530ea6[_0xf00d78(0x92)](elTableScrollWrapperClass));},'unmounted'(_0x1f320c,..._0x118bec){const _0x3146c4=a65_0x2cfb67,_0x232ed0=_0x1f320c[_0x3146c4(0x92)](elTableScrollWrapperClass);ElInfiniteScroll['unmounted'](_0x232ed0,..._0x118bec);}};export default ElTableInfiniteScroll;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
ElTableInfiniteScroll
|
|
5
|
-
}
|
|
1
|
+
(function(_0x1a3adb,_0x4b3d8a){var _0x4b0082=a66_0x1a82,_0x4f8ecb=_0x1a3adb();while(!![]){try{var _0x2e0a7b=-parseInt(_0x4b0082(0x16f))/0x1+-parseInt(_0x4b0082(0x174))/0x2+parseInt(_0x4b0082(0x173))/0x3+-parseInt(_0x4b0082(0x170))/0x4+parseInt(_0x4b0082(0x171))/0x5+-parseInt(_0x4b0082(0x175))/0x6+-parseInt(_0x4b0082(0x176))/0x7*(-parseInt(_0x4b0082(0x172))/0x8);if(_0x2e0a7b===_0x4b3d8a)break;else _0x4f8ecb['push'](_0x4f8ecb['shift']());}catch(_0x3c0f24){_0x4f8ecb['push'](_0x4f8ecb['shift']());}}}(a66_0x558a,0x4d54e));import a66_0x4f053e from'./el-table-infinite-scroll.js';function a66_0x1a82(_0x274556,_0x480db7){var _0x558a1f=a66_0x558a();return a66_0x1a82=function(_0x1a8292,_0x52c668){_0x1a8292=_0x1a8292-0x16f;var _0x2404e6=_0x558a1f[_0x1a8292];return _0x2404e6;},a66_0x1a82(_0x274556,_0x480db7);}export default{'ElTableInfiniteScroll':a66_0x4f053e};function a66_0x558a(){var _0x190419=['2175116BhlQMa','1693180XxTgbV','7113824NDJckz','586125pHbuLL','330594pFucCm','1660668iQoUXk','7iNtHds','120635iKzpyO'];a66_0x558a=function(){return _0x190419;};return a66_0x558a();}
|
package/packages/index.js
CHANGED
|
@@ -1,81 +1 @@
|
|
|
1
|
-
import { h }
|
|
2
|
-
|
|
3
|
-
import './index.scss'
|
|
4
|
-
|
|
5
|
-
import { initMessageUtils } from './utils/message.js'
|
|
6
|
-
import utils from './utils/index.js'
|
|
7
|
-
import controllers from './controllers/index.js'
|
|
8
|
-
import all from './comps'
|
|
9
|
-
import directives from './directives/index.js'
|
|
10
|
-
|
|
11
|
-
const makePlatformComp = (name) => {
|
|
12
|
-
return {
|
|
13
|
-
name,
|
|
14
|
-
props: {
|
|
15
|
-
platform: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: window.isMobile ? 'mobile' : 'pc'
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
data () {
|
|
21
|
-
return { name: '' }
|
|
22
|
-
},
|
|
23
|
-
created () {
|
|
24
|
-
this.name = (this.platform.toLowerCase() === 'pc' ? 'Pc' : 'Mobile') + name
|
|
25
|
-
},
|
|
26
|
-
render () {
|
|
27
|
-
return h(all[this.name], {
|
|
28
|
-
platform: this.platform,
|
|
29
|
-
...this.$attrs
|
|
30
|
-
}, this.$slots)
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const components = (() => {
|
|
36
|
-
const names = Object.keys(all)
|
|
37
|
-
const union = [...new Set(names.map(n => n.replace(/(pc|mobile)/i, '')))]
|
|
38
|
-
|
|
39
|
-
const comps = {}
|
|
40
|
-
for (const name of names) {
|
|
41
|
-
if (/(pc|mobile)/i.test(name)) {
|
|
42
|
-
comps[name] = all[name]
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
for (const name of union) {
|
|
46
|
-
if (!names.find(n => /(pc|mobile)/i.test(n) && n.toLowerCase().includes(name.toLowerCase()))) {
|
|
47
|
-
comps[name] = all[name]
|
|
48
|
-
} else {
|
|
49
|
-
comps[name] = makePlatformComp(name)
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return comps
|
|
53
|
-
})()
|
|
54
|
-
|
|
55
|
-
const install = (app, options) => {
|
|
56
|
-
initMessageUtils(options)
|
|
57
|
-
for (let key in components) {
|
|
58
|
-
app.component(key, components[key])
|
|
59
|
-
}
|
|
60
|
-
for (let key in directives) {
|
|
61
|
-
app.directive(directives[key].name, directives[key])
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const StardustUI = {
|
|
66
|
-
version: '2.9.13',
|
|
67
|
-
...components,
|
|
68
|
-
...utils,
|
|
69
|
-
...controllers,
|
|
70
|
-
install
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export {
|
|
74
|
-
utils,
|
|
75
|
-
controllers
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export * from './utils/index.js'
|
|
79
|
-
export * from './controllers/index.js'
|
|
80
|
-
|
|
81
|
-
export default StardustUI
|
|
1
|
+
function a67_0x4f30(){const _0x2da7b6=['name','27GZdbtF','3.0.0','toLowerCase','20279TFDjSa','$slots','find','145533YEDHzx','211374uLccQT','48632SYgEBJ','platform','656540dchMKK','18623BfJTRs','includes','component','3050JTgMOI','4pcUhUN','171YBAkHs','isMobile','directive','replace','test','$attrs','41802FhTcEY'];a67_0x4f30=function(){return _0x2da7b6;};return a67_0x4f30();}const a67_0x16a155=a67_0x4011;(function(_0x3840a7,_0x30c844){const _0xffb959=a67_0x4011,_0x2568a6=_0x3840a7();while(!![]){try{const _0x9c22e4=parseInt(_0xffb959(0xae))/0x1+-parseInt(_0xffb959(0xa6))/0x2*(-parseInt(_0xffb959(0xa8))/0x3)+-parseInt(_0xffb959(0x9f))/0x4*(-parseInt(_0xffb959(0x9a))/0x5)+parseInt(_0xffb959(0xaf))/0x6+parseInt(_0xffb959(0xab))/0x7+parseInt(_0xffb959(0xb0))/0x8*(parseInt(_0xffb959(0xa0))/0x9)+-parseInt(_0xffb959(0x9e))/0xa*(parseInt(_0xffb959(0x9b))/0xb);if(_0x9c22e4===_0x30c844)break;else _0x2568a6['push'](_0x2568a6['shift']());}catch(_0x59d381){_0x2568a6['push'](_0x2568a6['shift']());}}}(a67_0x4f30,0x18f44));function a67_0x4011(_0x257601,_0xbf75ea){const _0x4f30ba=a67_0x4f30();return a67_0x4011=function(_0x40117c,_0x4d9b72){_0x40117c=_0x40117c-0x9a;let _0x34df51=_0x4f30ba[_0x40117c];return _0x34df51;},a67_0x4011(_0x257601,_0xbf75ea);}import{h}from'vue';import'./index.scss';import{initMessageUtils}from'./utils/message.js';import a67_0x56ae9f from'./utils/index.js';import a67_0x422983 from'./controllers/index.js';import a67_0x5337f1 from'./comps';import a67_0x42eef0 from'./directives/index.js';const makePlatformComp=_0x1d2a7d=>{const _0x2c6287=a67_0x4011;return{'name':_0x1d2a7d,'props':{'platform':{'type':String,'default':window[_0x2c6287(0xa1)]?'mobile':'pc'}},'data'(){return{'name':''};},'created'(){const _0x5ef242=_0x2c6287;this[_0x5ef242(0xa7)]=(this['platform']['toLowerCase']()==='pc'?'Pc':'Mobile')+_0x1d2a7d;},'render'(){const _0x45d964=_0x2c6287;return h(a67_0x5337f1[this[_0x45d964(0xa7)]],{'platform':this[_0x45d964(0xb1)],...this[_0x45d964(0xa5)]},this[_0x45d964(0xac)]);}};},components=((()=>{const _0x2577a6=a67_0x4011,_0x559939=Object['keys'](a67_0x5337f1),_0x14702c=[...new Set(_0x559939['map'](_0x3cb16d=>_0x3cb16d[_0x2577a6(0xa3)](/(pc|mobile)/i,'')))],_0x1ac99c={};for(const _0x5676b5 of _0x559939){/(pc|mobile)/i[_0x2577a6(0xa4)](_0x5676b5)&&(_0x1ac99c[_0x5676b5]=a67_0x5337f1[_0x5676b5]);}for(const _0x4723bb of _0x14702c){!_0x559939[_0x2577a6(0xad)](_0x1a6192=>/(pc|mobile)/i[_0x2577a6(0xa4)](_0x1a6192)&&_0x1a6192[_0x2577a6(0xaa)]()[_0x2577a6(0x9c)](_0x4723bb[_0x2577a6(0xaa)]()))?_0x1ac99c[_0x4723bb]=a67_0x5337f1[_0x4723bb]:_0x1ac99c[_0x4723bb]=makePlatformComp(_0x4723bb);}return _0x1ac99c;})()),install=(_0xa084f8,_0x1a51e0)=>{const _0x53804d=a67_0x4011;initMessageUtils(_0x1a51e0);for(let _0x17c3b2 in components){_0xa084f8[_0x53804d(0x9d)](_0x17c3b2,components[_0x17c3b2]);}for(let _0x4d4729 in a67_0x42eef0){_0xa084f8[_0x53804d(0xa2)](a67_0x42eef0[_0x4d4729][_0x53804d(0xa7)],a67_0x42eef0[_0x4d4729]);}},StardustUI={'version':a67_0x16a155(0xa9),...components,...a67_0x56ae9f,...a67_0x422983,'install':install};export{a67_0x56ae9f as utils,a67_0x422983 as controllers};export*from'./utils/index.js';export*from'./controllers/index.js';export default StardustUI;
|
|
@@ -1,41 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
data() {
|
|
5
|
-
return {
|
|
6
|
-
levelList: null
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
watch: {
|
|
10
|
-
$route(route) {
|
|
11
|
-
if (route.path.startsWith('/redirect/')) {
|
|
12
|
-
return
|
|
13
|
-
}
|
|
14
|
-
this.getBreadcrumb()
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
created() {
|
|
18
|
-
this.getBreadcrumb()
|
|
19
|
-
},
|
|
20
|
-
methods: {
|
|
21
|
-
getBreadcrumb() {
|
|
22
|
-
let matched = this.$route.matched.filter(item => item.meta?.title)
|
|
23
|
-
const first = matched[0]
|
|
24
|
-
|
|
25
|
-
this.levelList = matched.filter(item => item.meta?.title && item.meta.breadcrumb !== false)
|
|
26
|
-
},
|
|
27
|
-
pathCompile(path) {
|
|
28
|
-
const { params } = this.$route
|
|
29
|
-
var toPath = pathToRegexp(path)
|
|
30
|
-
return toPath(params)
|
|
31
|
-
},
|
|
32
|
-
handleLink(item) {
|
|
33
|
-
const { redirect, path } = item
|
|
34
|
-
if (redirect) {
|
|
35
|
-
this.$router.push(redirect)
|
|
36
|
-
return
|
|
37
|
-
}
|
|
38
|
-
this.$router.push(this.pathCompile(path))
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
function a68_0x4d23(){const _0x3bf58d=['5ZCMzZb','$router','13641595dFNlgD','2281806gWNoFs','2bUDtVv','5850075afczhd','filter','14JvZecG','levelList','push','462044rreegW','pathCompile','1177804imvjZf','matched','meta','30NKlasb','getBreadcrumb','title','$route','startsWith','2079536SvRVcb','10317606DnGSIt'];a68_0x4d23=function(){return _0x3bf58d;};return a68_0x4d23();}function a68_0x2ceb(_0x57fe99,_0x4521be){const _0x4d2324=a68_0x4d23();return a68_0x2ceb=function(_0x2ceb3d,_0x14ad36){_0x2ceb3d=_0x2ceb3d-0xf4;let _0x21d667=_0x4d2324[_0x2ceb3d];return _0x21d667;},a68_0x2ceb(_0x57fe99,_0x4521be);}(function(_0x3646b5,_0x6b00e3){const _0x28bef9=a68_0x2ceb,_0x4c020f=_0x3646b5();while(!![]){try{const _0x4a5c42=-parseInt(_0x28bef9(0x100))/0x1*(parseInt(_0x28bef9(0xfa))/0x2)+parseInt(_0x28bef9(0xfb))/0x3+-parseInt(_0x28bef9(0x102))/0x4*(-parseInt(_0x28bef9(0xf6))/0x5)+parseInt(_0x28bef9(0xf5))/0x6+-parseInt(_0x28bef9(0xfd))/0x7*(parseInt(_0x28bef9(0xf4))/0x8)+parseInt(_0x28bef9(0xf9))/0x9*(-parseInt(_0x28bef9(0x105))/0xa)+-parseInt(_0x28bef9(0xf8))/0xb;if(_0x4a5c42===_0x6b00e3)break;else _0x4c020f['push'](_0x4c020f['shift']());}catch(_0x302967){_0x4c020f['push'](_0x4c020f['shift']());}}}(a68_0x4d23,0xef99a));import{pathToRegexp}from'path-to-regexp';export default{'data'(){return{'levelList':null};},'watch':{'$route'(_0x3d857f){const _0x4f943d=a68_0x2ceb;if(_0x3d857f['path'][_0x4f943d(0x109)]('/redirect/'))return;this[_0x4f943d(0x106)]();}},'created'(){const _0x26d252=a68_0x2ceb;this[_0x26d252(0x106)]();},'methods':{'getBreadcrumb'(){const _0x1766d2=a68_0x2ceb;let _0x1d49f8=this[_0x1766d2(0x108)][_0x1766d2(0x103)][_0x1766d2(0xfc)](_0x34b26d=>_0x34b26d[_0x1766d2(0x104)]?.[_0x1766d2(0x107)]);const _0x1bd736=_0x1d49f8[0x0];this[_0x1766d2(0xfe)]=_0x1d49f8['filter'](_0x33bf02=>_0x33bf02[_0x1766d2(0x104)]?.[_0x1766d2(0x107)]&&_0x33bf02['meta']['breadcrumb']!==![]);},'pathCompile'(_0x398c29){const _0x4492c6=a68_0x2ceb,{params:_0x1a4723}=this[_0x4492c6(0x108)];var _0x105a84=pathToRegexp(_0x398c29);return _0x105a84(_0x1a4723);},'handleLink'(_0x5b80ed){const _0x2b2fb2=a68_0x2ceb,{redirect:_0x43a2eb,path:_0x1349a1}=_0x5b80ed;if(_0x43a2eb){this[_0x2b2fb2(0xf7)][_0x2b2fb2(0xff)](_0x43a2eb);return;}this['$router'][_0x2b2fb2(0xff)](this[_0x2b2fb2(0x101)](_0x1349a1));}}};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
name: 'Inner',
|
|
5
|
-
render () {
|
|
6
|
-
const inner = this.HeaderInner
|
|
7
|
-
if (inner) {
|
|
8
|
-
return typeof inner === 'function' ? inner() : h(inner)
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
function a69_0x3a46(_0x3121d8,_0x175c34){const _0x59a9d8=a69_0x59a9();return a69_0x3a46=function(_0x3a4638,_0x153091){_0x3a4638=_0x3a4638-0x193;let _0x37b339=_0x59a9d8[_0x3a4638];return _0x37b339;},a69_0x3a46(_0x3121d8,_0x175c34);}(function(_0x4e23ee,_0x9d00a6){const _0x43828f=a69_0x3a46,_0x391746=_0x4e23ee();while(!![]){try{const _0x11a0d8=parseInt(_0x43828f(0x19b))/0x1+-parseInt(_0x43828f(0x196))/0x2*(parseInt(_0x43828f(0x19a))/0x3)+-parseInt(_0x43828f(0x194))/0x4+parseInt(_0x43828f(0x19d))/0x5+parseInt(_0x43828f(0x197))/0x6+-parseInt(_0x43828f(0x193))/0x7*(-parseInt(_0x43828f(0x198))/0x8)+-parseInt(_0x43828f(0x195))/0x9*(parseInt(_0x43828f(0x19c))/0xa);if(_0x11a0d8===_0x9d00a6)break;else _0x391746['push'](_0x391746['shift']());}catch(_0x4decd9){_0x391746['push'](_0x391746['shift']());}}}(a69_0x59a9,0xc8b9e));import{h}from'vue';function a69_0x59a9(){const _0x1289e8=['3507772Pubsgi','81SkPtDP','2jpzqTS','9009126FpMTEu','8NDwWfU','function','2964261QagGtL','1045580bJKfnq','1980590RuonHN','3476280MfdVUq','8591646tBhtAh'];a69_0x59a9=function(){return _0x1289e8;};return a69_0x59a9();}export default{'name':'Inner','render'(){const _0x1cddf9=a69_0x3a46,_0xfcff74=this['HeaderInner'];if(_0xfcff74)return typeof _0xfcff74===_0x1cddf9(0x199)?_0xfcff74():h(_0xfcff74);}};
|
|
@@ -1,129 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { service } from '@/stardust'
|
|
3
|
-
const { funcs } = StardustJs
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
data () {
|
|
7
|
-
return {
|
|
8
|
-
lastTime: Date.now(),
|
|
9
|
-
isVerifing: false,
|
|
10
|
-
pin: new Array(6).fill(''),
|
|
11
|
-
inputs: [],
|
|
12
|
-
stoper: null
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
computed: {
|
|
16
|
-
screenLock () {
|
|
17
|
-
return this.$store.app.screenLock
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
mounted () {
|
|
21
|
-
if (!this.screenLock.enabled) {
|
|
22
|
-
return
|
|
23
|
-
}
|
|
24
|
-
this.detectInteractive(this.onInteractive)
|
|
25
|
-
setInterval(this.checkInteractive, 200)
|
|
26
|
-
this.checkInteractive()
|
|
27
|
-
},
|
|
28
|
-
methods: {
|
|
29
|
-
handleCustomPin () {
|
|
30
|
-
const pin = window.prompt('请输入自定义PIN码(6位字母或数字)')
|
|
31
|
-
if (pin === null) return
|
|
32
|
-
if (!pin || pin.length !== 6 || !/\w{6}/.test(pin)) {
|
|
33
|
-
return utils.Message('PIN码格式错误')
|
|
34
|
-
}
|
|
35
|
-
service.restful.update('users', this.$store.user.info.id, { pin })
|
|
36
|
-
this.$store.user.info.pin = pin
|
|
37
|
-
},
|
|
38
|
-
async checkInteractive () {
|
|
39
|
-
this.checkMask()
|
|
40
|
-
if (
|
|
41
|
-
this.screenLock.isLocked && !this.stoper ||
|
|
42
|
-
!this.screenLock.isLocked && Date.now() - this.lastTime > this.screenLock.time * 1000
|
|
43
|
-
) {
|
|
44
|
-
await this.toggleScreenLock(true)
|
|
45
|
-
this.effect()
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
effect () {
|
|
49
|
-
this.stoper = utils.effects.pop(this.$refs.canvas)
|
|
50
|
-
},
|
|
51
|
-
detectInteractive (callback) {
|
|
52
|
-
const eventTypes = ['click', 'keydown', 'mousemove', 'mousewheel']
|
|
53
|
-
eventTypes.forEach(type => {
|
|
54
|
-
document.addEventListener(type, () => callback(type), true)
|
|
55
|
-
})
|
|
56
|
-
},
|
|
57
|
-
onInteractive (type) {
|
|
58
|
-
if (this.screenLock.isLocked) {
|
|
59
|
-
if (type === 'click') {
|
|
60
|
-
this.isVerifing = true
|
|
61
|
-
this.$nextTick(() => {
|
|
62
|
-
const index = this.pin.findIndex(c => !c)
|
|
63
|
-
this.$refs.inputs[index].input.focus()
|
|
64
|
-
})
|
|
65
|
-
}
|
|
66
|
-
} else {
|
|
67
|
-
this.lastTime = Date.now()
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
async checkMask () {
|
|
71
|
-
if (!this.screenLock.isLocked) {
|
|
72
|
-
return
|
|
73
|
-
}
|
|
74
|
-
const mask = document.querySelector('.screen-lock .fullscreen')
|
|
75
|
-
let exists = !!mask
|
|
76
|
-
if (exists) {
|
|
77
|
-
const rect = mask.getBoundingClientRect()
|
|
78
|
-
const zoom = document.documentElement.style.zoom * 1 || 1
|
|
79
|
-
exists = rect.left === 0 &&
|
|
80
|
-
rect.top === 0 &&
|
|
81
|
-
Math.round(rect.width - window.innerWidth / zoom) < 1 &&
|
|
82
|
-
Math.round(rect.height - window.innerHeight / zoom) < 1
|
|
83
|
-
}
|
|
84
|
-
if (!exists) {
|
|
85
|
-
window.location.reload()
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
async handlePinInput (index, event) {
|
|
89
|
-
const char = event.key
|
|
90
|
-
if (/[0-9]/.test(char)) {
|
|
91
|
-
this.pin[index] = char
|
|
92
|
-
} else {
|
|
93
|
-
if (char.toLowerCase() === 'backspace' && index > 0) {
|
|
94
|
-
this.pin[index - 1] = ''
|
|
95
|
-
this.$refs.inputs[index - 1].input.focus()
|
|
96
|
-
}
|
|
97
|
-
return
|
|
98
|
-
}
|
|
99
|
-
if (index < this.pin.length - 1) {
|
|
100
|
-
await funcs.sleep(20)
|
|
101
|
-
this.$refs.inputs[index + 1].input.focus()
|
|
102
|
-
} else {
|
|
103
|
-
if (this.pin.join('') !== this.$store.getters.user.pin) {
|
|
104
|
-
this.$message({
|
|
105
|
-
type: 'warning',
|
|
106
|
-
message: '锁屏密码错误',
|
|
107
|
-
})
|
|
108
|
-
this.$refs.inputs[0].input.focus()
|
|
109
|
-
} else {
|
|
110
|
-
this.isVerifing = false
|
|
111
|
-
this.stoper()
|
|
112
|
-
this.stoper = null
|
|
113
|
-
this.lastTime = Date.now()
|
|
114
|
-
this.toggleScreenLock(false)
|
|
115
|
-
}
|
|
116
|
-
this.pin = new Array(6).fill('')
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
async handleCompositionstart (index, event) {
|
|
120
|
-
event.target.blur()
|
|
121
|
-
await StardustJs.funcs.sleep(10)
|
|
122
|
-
event.target.focus()
|
|
123
|
-
},
|
|
124
|
-
async toggleScreenLock (isLocked) {
|
|
125
|
-
this.$store.app.screenLock.isLocked = isLocked
|
|
126
|
-
await this.$nextTick()
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
1
|
+
(function(_0x51709e,_0x1a5a7e){const _0x2d85b9=a70_0x1477,_0x5a0e76=_0x51709e();while(!![]){try{const _0x34e3af=-parseInt(_0x2d85b9(0x174))/0x1+-parseInt(_0x2d85b9(0x16f))/0x2+parseInt(_0x2d85b9(0x16a))/0x3+parseInt(_0x2d85b9(0x179))/0x4+-parseInt(_0x2d85b9(0x14d))/0x5+parseInt(_0x2d85b9(0x146))/0x6+parseInt(_0x2d85b9(0x181))/0x7;if(_0x34e3af===_0x1a5a7e)break;else _0x5a0e76['push'](_0x5a0e76['shift']());}catch(_0x534f13){_0x5a0e76['push'](_0x5a0e76['shift']());}}}(a70_0x8f7d,0xaf636));import{utils}from'@stardust_js/ui';function a70_0x1477(_0x4451e2,_0x361fbb){const _0x8f7da=a70_0x8f7d();return a70_0x1477=function(_0x1477d7,_0x1113ea){_0x1477d7=_0x1477d7-0x143;let _0x375bd7=_0x8f7da[_0x1477d7];return _0x375bd7;},a70_0x1477(_0x4451e2,_0x361fbb);}import{service}from'@/stardust';function a70_0x8f7d(){const _0x5cc759=['inputs','target','length','mousemove','checkInteractive','8539428THXdhP','round','restful','backspace','请输入自定义PIN码(6位字母或数字)','funcs','app','2113980xfaFcJ','mousewheel','users','checkMask','user','height','isVerifing','input','now','sleep','screenLock','canvas','addEventListener','$refs','style','$store','$message','click','prompt','findIndex','zoom','pop','toLowerCase','fill','stoper','location','effect','lastTime','reload','3839421tklEst','锁屏密码错误','toggleScreenLock','focus','pin','2559132LxVray','documentElement','isLocked','test','blur','929876tYJndx','PIN码格式错误','getBoundingClientRect','innerHeight','info','502852nbkpfI','$nextTick','join','keydown','Message','effects','time','querySelector','3653090GhXDju'];a70_0x8f7d=function(){return _0x5cc759;};return a70_0x8f7d();}const {funcs}=StardustJs;export default{'data'(){const _0x4f6812=a70_0x1477;return{'lastTime':Date[_0x4f6812(0x155)](),'isVerifing':![],'pin':new Array(0x6)[_0x4f6812(0x164)](''),'inputs':[],'stoper':null};},'computed':{'screenLock'(){const _0x548e8b=a70_0x1477;return this[_0x548e8b(0x15c)][_0x548e8b(0x14c)][_0x548e8b(0x157)];}},'mounted'(){const _0x4f84d3=a70_0x1477;if(!this['screenLock']['enabled'])return;this['detectInteractive'](this['onInteractive']),setInterval(this[_0x4f84d3(0x145)],0xc8),this[_0x4f84d3(0x145)]();},'methods':{'handleCustomPin'(){const _0x41476a=a70_0x1477,_0x18401f=window[_0x41476a(0x15f)](_0x41476a(0x14a));if(_0x18401f===null)return;if(!_0x18401f||_0x18401f[_0x41476a(0x143)]!==0x6||!/\w{6}/['test'](_0x18401f))return utils[_0x41476a(0x17d)](_0x41476a(0x175));service[_0x41476a(0x148)]['update'](_0x41476a(0x14f),this[_0x41476a(0x15c)]['user'][_0x41476a(0x178)]['id'],{'pin':_0x18401f}),this[_0x41476a(0x15c)][_0x41476a(0x151)][_0x41476a(0x178)][_0x41476a(0x16e)]=_0x18401f;},async 'checkInteractive'(){const _0x45617e=a70_0x1477;this[_0x45617e(0x150)](),(this[_0x45617e(0x157)][_0x45617e(0x171)]&&!this[_0x45617e(0x165)]||!this['screenLock'][_0x45617e(0x171)]&&Date[_0x45617e(0x155)]()-this[_0x45617e(0x168)]>this[_0x45617e(0x157)][_0x45617e(0x17f)]*0x3e8)&&(await this['toggleScreenLock'](!![]),this[_0x45617e(0x167)]());},'effect'(){const _0x57531f=a70_0x1477;this[_0x57531f(0x165)]=utils[_0x57531f(0x17e)][_0x57531f(0x162)](this[_0x57531f(0x15a)][_0x57531f(0x158)]);},'detectInteractive'(_0x113486){const _0x4598dd=a70_0x1477,_0x43e46a=[_0x4598dd(0x15e),_0x4598dd(0x17c),_0x4598dd(0x144),_0x4598dd(0x14e)];_0x43e46a['forEach'](_0xa2061c=>{const _0x1063cf=_0x4598dd;document[_0x1063cf(0x159)](_0xa2061c,()=>_0x113486(_0xa2061c),!![]);});},'onInteractive'(_0xba36f2){const _0x233aa9=a70_0x1477;this[_0x233aa9(0x157)][_0x233aa9(0x171)]?_0xba36f2===_0x233aa9(0x15e)&&(this[_0x233aa9(0x153)]=!![],this['$nextTick'](()=>{const _0x1f743c=_0x233aa9,_0x314deb=this[_0x1f743c(0x16e)][_0x1f743c(0x160)](_0x386b16=>!_0x386b16);this[_0x1f743c(0x15a)][_0x1f743c(0x182)][_0x314deb][_0x1f743c(0x154)]['focus']();})):this[_0x233aa9(0x168)]=Date[_0x233aa9(0x155)]();},async 'checkMask'(){const _0x595c88=a70_0x1477;if(!this[_0x595c88(0x157)][_0x595c88(0x171)])return;const _0x59e6c4=document[_0x595c88(0x180)]('.screen-lock\x20.fullscreen');let _0x14da8c=!!_0x59e6c4;if(_0x14da8c){const _0x1a7c2c=_0x59e6c4[_0x595c88(0x176)](),_0x542239=document[_0x595c88(0x170)][_0x595c88(0x15b)][_0x595c88(0x161)]*0x1||0x1;_0x14da8c=_0x1a7c2c['left']===0x0&&_0x1a7c2c['top']===0x0&&Math[_0x595c88(0x147)](_0x1a7c2c['width']-window['innerWidth']/_0x542239)<0x1&&Math[_0x595c88(0x147)](_0x1a7c2c[_0x595c88(0x152)]-window[_0x595c88(0x177)]/_0x542239)<0x1;}!_0x14da8c&&window[_0x595c88(0x166)][_0x595c88(0x169)]();},async 'handlePinInput'(_0x572129,_0x159710){const _0x2021f8=a70_0x1477,_0x3d493e=_0x159710['key'];if(/[0-9]/[_0x2021f8(0x172)](_0x3d493e))this['pin'][_0x572129]=_0x3d493e;else{_0x3d493e[_0x2021f8(0x163)]()===_0x2021f8(0x149)&&_0x572129>0x0&&(this[_0x2021f8(0x16e)][_0x572129-0x1]='',this[_0x2021f8(0x15a)][_0x2021f8(0x182)][_0x572129-0x1][_0x2021f8(0x154)][_0x2021f8(0x16d)]());return;}_0x572129<this[_0x2021f8(0x16e)][_0x2021f8(0x143)]-0x1?(await funcs[_0x2021f8(0x156)](0x14),this['$refs'][_0x2021f8(0x182)][_0x572129+0x1][_0x2021f8(0x154)][_0x2021f8(0x16d)]()):(this['pin'][_0x2021f8(0x17b)]('')!==this[_0x2021f8(0x15c)]['getters']['user']['pin']?(this[_0x2021f8(0x15d)]({'type':'warning','message':_0x2021f8(0x16b)}),this[_0x2021f8(0x15a)][_0x2021f8(0x182)][0x0][_0x2021f8(0x154)]['focus']()):(this[_0x2021f8(0x153)]=![],this[_0x2021f8(0x165)](),this[_0x2021f8(0x165)]=null,this[_0x2021f8(0x168)]=Date[_0x2021f8(0x155)](),this[_0x2021f8(0x16c)](![])),this['pin']=new Array(0x6)[_0x2021f8(0x164)](''));},async 'handleCompositionstart'(_0x1fa28d,_0x1b3ee8){const _0x34bdb7=a70_0x1477;_0x1b3ee8[_0x34bdb7(0x183)][_0x34bdb7(0x173)](),await StardustJs[_0x34bdb7(0x14b)][_0x34bdb7(0x156)](0xa),_0x1b3ee8[_0x34bdb7(0x183)]['focus']();},async 'toggleScreenLock'(_0x3dbbff){const _0x3d6a43=a70_0x1477;this[_0x3d6a43(0x15c)]['app'][_0x3d6a43(0x157)][_0x3d6a43(0x171)]=_0x3dbbff,await this[_0x3d6a43(0x17a)]();}}};
|
|
@@ -1,16 +1 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
name: 'Item',
|
|
3
|
-
props: {
|
|
4
|
-
node: Object,
|
|
5
|
-
data: Object,
|
|
6
|
-
hover: Boolean
|
|
7
|
-
},
|
|
8
|
-
computed: {
|
|
9
|
-
collapse () {
|
|
10
|
-
return this.$store.getters.collapse
|
|
11
|
-
},
|
|
12
|
-
isBranch () {
|
|
13
|
-
return this.data.children?.length > 0
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
function a71_0x5da1(){var _0x3ec3dd=['7AsifWB','collapse','data','getters','1311669CtedJP','684712JVTFPz','1181028LvgbQo','children','271650wtQZYC','8sZTYpt','12OVROHZ','4935660ZWkKKb','26633geZxPU','608930gPdPen'];a71_0x5da1=function(){return _0x3ec3dd;};return a71_0x5da1();}(function(_0x308059,_0x45bbbb){var _0x89c508=a71_0x287c,_0xde9d33=_0x308059();while(!![]){try{var _0x5c1626=parseInt(_0x89c508(0x14f))/0x1*(parseInt(_0x89c508(0x14d))/0x2)+-parseInt(_0x89c508(0x149))/0x3+-parseInt(_0x89c508(0x148))/0x4+-parseInt(_0x89c508(0x150))/0x5+-parseInt(_0x89c508(0x14e))/0x6*(-parseInt(_0x89c508(0x151))/0x7)+parseInt(_0x89c508(0x14c))/0x8*(parseInt(_0x89c508(0x147))/0x9)+-parseInt(_0x89c508(0x14b))/0xa;if(_0x5c1626===_0x45bbbb)break;else _0xde9d33['push'](_0xde9d33['shift']());}catch(_0x4a1750){_0xde9d33['push'](_0xde9d33['shift']());}}}(a71_0x5da1,0x65288));function a71_0x287c(_0x5145aa,_0x21a6ae){var _0x5da10e=a71_0x5da1();return a71_0x287c=function(_0x287c88,_0x306302){_0x287c88=_0x287c88-0x144;var _0x1b829d=_0x5da10e[_0x287c88];return _0x1b829d;},a71_0x287c(_0x5145aa,_0x21a6ae);}export default{'name':'Item','props':{'node':Object,'data':Object,'hover':Boolean},'computed':{'collapse'(){var _0x2a297b=a71_0x287c;return this['$store'][_0x2a297b(0x146)][_0x2a297b(0x144)];},'isBranch'(){var _0x5a70e2=a71_0x287c;return this[_0x5a70e2(0x145)][_0x5a70e2(0x14a)]?.['length']>0x0;}}};
|
|
@@ -1,72 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
name: 'Menu',
|
|
5
|
-
components: { Item },
|
|
6
|
-
props: {
|
|
7
|
-
menu: Array,
|
|
8
|
-
hover: Boolean
|
|
9
|
-
},
|
|
10
|
-
data () {
|
|
11
|
-
return {
|
|
12
|
-
defaultProps: { label: 'name' }
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
computed: {
|
|
16
|
-
collapse () {
|
|
17
|
-
return this.$store.getters.collapse
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
watch: {
|
|
21
|
-
collapse: {
|
|
22
|
-
handler () {
|
|
23
|
-
this.filter()
|
|
24
|
-
this.updateCurrent()
|
|
25
|
-
},
|
|
26
|
-
immediate: true
|
|
27
|
-
},
|
|
28
|
-
$route: {
|
|
29
|
-
handler: 'updateCurrent',
|
|
30
|
-
immediate: true
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
mounted () {
|
|
34
|
-
this.filter()
|
|
35
|
-
this.updateCurrent()
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
filter () {
|
|
39
|
-
this.$refs.tree?.filter()
|
|
40
|
-
},
|
|
41
|
-
updateCurrent () {
|
|
42
|
-
(this.hover || !this.collapse) && this.$refs.tree?.setCurrentKey(this.$route.name)
|
|
43
|
-
},
|
|
44
|
-
filterMenu (_, data) {
|
|
45
|
-
if (!this.hover && this.collapse && data.path[0] !== '/') {
|
|
46
|
-
return false
|
|
47
|
-
}
|
|
48
|
-
return !data.meta?.hidden
|
|
49
|
-
},
|
|
50
|
-
checkIsRoot (data) {
|
|
51
|
-
return this.checkIsBranch(data) && data.path.split('/').length === 2
|
|
52
|
-
},
|
|
53
|
-
checkIsBranch (data) {
|
|
54
|
-
return data.children?.length > 0
|
|
55
|
-
},
|
|
56
|
-
handleNodeClick (data, node, _, e) {
|
|
57
|
-
if (!this.checkIsBranch(data)) {
|
|
58
|
-
this.$router.push({ name: data.name })
|
|
59
|
-
return
|
|
60
|
-
}
|
|
61
|
-
if (this.collapse && this.checkIsRoot(data)) {
|
|
62
|
-
this.$store.app.$patch({ sidebarCollapse: false })
|
|
63
|
-
this.$refs.tree.setCurrentKey(this.$route.name)
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
handleKeydown ($event, node, data) {
|
|
67
|
-
if ($event.key === 'Enter') {
|
|
68
|
-
this.$router.push({ name: data.name })
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
1
|
+
var a72_0x335f04=a72_0x3382;(function(_0xb7496a,_0x53dcca){var _0x3c9e32=a72_0x3382,_0x61e37b=_0xb7496a();while(!![]){try{var _0x486f2c=-parseInt(_0x3c9e32(0x124))/0x1*(parseInt(_0x3c9e32(0x11b))/0x2)+-parseInt(_0x3c9e32(0x11e))/0x3*(parseInt(_0x3c9e32(0x130))/0x4)+-parseInt(_0x3c9e32(0x11c))/0x5+parseInt(_0x3c9e32(0x116))/0x6*(-parseInt(_0x3c9e32(0x122))/0x7)+parseInt(_0x3c9e32(0x11d))/0x8+-parseInt(_0x3c9e32(0x12a))/0x9*(-parseInt(_0x3c9e32(0x121))/0xa)+parseInt(_0x3c9e32(0x115))/0xb;if(_0x486f2c===_0x53dcca)break;else _0x61e37b['push'](_0x61e37b['shift']());}catch(_0x4ed649){_0x61e37b['push'](_0x61e37b['shift']());}}}(a72_0x40c6,0x5e9b4));function a72_0x40c6(){var _0x51032f=['checkIsRoot','$refs','getters','setCurrentKey','$route','10851247eaMaZf','2244qSuSus','filter','split','path','$router','6uBpDuh','3177345EKwGDl','3993296iFfnUt','3CtmLpE','children','push','20CmwnwG','5131BYBhjA','Menu','87827UxoNbs','collapse','checkIsBranch','app','hover','tree','614286fcwQSg','name','updateCurrent','length','meta','$store','246188gGQKqq','hidden'];a72_0x40c6=function(){return _0x51032f;};return a72_0x40c6();}function a72_0x3382(_0x4c39be,_0x15cbba){var _0x40c6df=a72_0x40c6();return a72_0x3382=function(_0x338258,_0x311565){_0x338258=_0x338258-0x111;var _0x4ac78b=_0x40c6df[_0x338258];return _0x4ac78b;},a72_0x3382(_0x4c39be,_0x15cbba);}import a72_0x465c1b from'./item.vue';export default{'name':a72_0x335f04(0x123),'components':{'Item':a72_0x465c1b},'props':{'menu':Array,'hover':Boolean},'data'(){return{'defaultProps':{'label':'name'}};},'computed':{'collapse'(){var _0x185515=a72_0x335f04;return this[_0x185515(0x12f)][_0x185515(0x112)][_0x185515(0x125)];}},'watch':{'collapse':{'handler'(){var _0x1bfbff=a72_0x335f04;this[_0x1bfbff(0x117)](),this[_0x1bfbff(0x12c)]();},'immediate':!![]},'$route':{'handler':a72_0x335f04(0x12c),'immediate':!![]}},'mounted'(){var _0x526de7=a72_0x335f04;this[_0x526de7(0x117)](),this[_0x526de7(0x12c)]();},'methods':{'filter'(){var _0x212451=a72_0x335f04;this[_0x212451(0x111)]['tree']?.['filter']();},'updateCurrent'(){var _0x254486=a72_0x335f04;(this[_0x254486(0x128)]||!this[_0x254486(0x125)])&&this['$refs'][_0x254486(0x129)]?.[_0x254486(0x113)](this[_0x254486(0x114)][_0x254486(0x12b)]);},'filterMenu'(_0x4cbdd4,_0x23f890){var _0x3ae0df=a72_0x335f04;if(!this['hover']&&this[_0x3ae0df(0x125)]&&_0x23f890[_0x3ae0df(0x119)][0x0]!=='/')return![];return!_0x23f890[_0x3ae0df(0x12e)]?.[_0x3ae0df(0x131)];},'checkIsRoot'(_0x44282b){var _0xc1b1b8=a72_0x335f04;return this[_0xc1b1b8(0x126)](_0x44282b)&&_0x44282b['path'][_0xc1b1b8(0x118)]('/')[_0xc1b1b8(0x12d)]===0x2;},'checkIsBranch'(_0x199b23){var _0x4fdf6c=a72_0x335f04;return _0x199b23[_0x4fdf6c(0x11f)]?.['length']>0x0;},'handleNodeClick'(_0x49eaab,_0x33cfcc,_0x49aa74,_0x3b4f64){var _0x42edf2=a72_0x335f04;if(!this[_0x42edf2(0x126)](_0x49eaab)){this['$router'][_0x42edf2(0x120)]({'name':_0x49eaab[_0x42edf2(0x12b)]});return;}this[_0x42edf2(0x125)]&&this[_0x42edf2(0x132)](_0x49eaab)&&(this[_0x42edf2(0x12f)][_0x42edf2(0x127)]['$patch']({'sidebarCollapse':![]}),this[_0x42edf2(0x111)][_0x42edf2(0x129)][_0x42edf2(0x113)](this['$route'][_0x42edf2(0x12b)]));},'handleKeydown'(_0x5a82cf,_0x1b974f,_0x35bb37){var _0x5b4cb1=a72_0x335f04;_0x5a82cf['key']==='Enter'&&this[_0x5b4cb1(0x11a)][_0x5b4cb1(0x120)]({'name':_0x35bb37[_0x5b4cb1(0x12b)]});}}};
|
|
@@ -1,65 +1 @@
|
|
|
1
|
-
const tagAndTagSpacing =
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
name: 'ScrollPane',
|
|
5
|
-
data() {
|
|
6
|
-
return {
|
|
7
|
-
left: 0
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
computed: {
|
|
11
|
-
scrollWrapper() {
|
|
12
|
-
return this.$refs.scrollContainer.$refs.wrapRef
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
mounted() {
|
|
16
|
-
this.scrollWrapper.addEventListener('scroll', this.emitScroll, true)
|
|
17
|
-
},
|
|
18
|
-
beforeUnmount() {
|
|
19
|
-
this.scrollWrapper.removeEventListener('scroll', this.emitScroll)
|
|
20
|
-
},
|
|
21
|
-
methods: {
|
|
22
|
-
handleScroll(e) {
|
|
23
|
-
const eventDelta = e.wheelDelta || -e.deltaY * 40
|
|
24
|
-
const $scrollWrapper = this.scrollWrapper
|
|
25
|
-
$scrollWrapper.scrollLeft = $scrollWrapper.scrollLeft + eventDelta / 4
|
|
26
|
-
},
|
|
27
|
-
emitScroll() {
|
|
28
|
-
this.$emit('scroll')
|
|
29
|
-
},
|
|
30
|
-
moveToTarget(currentTag) {
|
|
31
|
-
const $container = this.$refs.scrollContainer.$el
|
|
32
|
-
const $containerWidth = $container.offsetWidth
|
|
33
|
-
const $scrollWrapper = this.scrollWrapper
|
|
34
|
-
const tagList = this.$parent.$refs.tag
|
|
35
|
-
|
|
36
|
-
let firstTag = null
|
|
37
|
-
let lastTag = null
|
|
38
|
-
|
|
39
|
-
if (tagList.length > 0) {
|
|
40
|
-
firstTag = tagList[0]
|
|
41
|
-
lastTag = tagList[tagList.length - 1]
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
if (firstTag === currentTag) {
|
|
45
|
-
$scrollWrapper.scrollLeft = 0
|
|
46
|
-
} else if (lastTag === currentTag) {
|
|
47
|
-
$scrollWrapper.scrollLeft = $scrollWrapper.scrollWidth - $containerWidth
|
|
48
|
-
} else {
|
|
49
|
-
const currentIndex = tagList.findIndex(item => item === currentTag)
|
|
50
|
-
const prevTag = tagList[currentIndex - 1]
|
|
51
|
-
const nextTag = tagList[currentIndex + 1]
|
|
52
|
-
|
|
53
|
-
const afterNextTagOffsetLeft = nextTag.$el.offsetLeft + nextTag.$el.offsetWidth + tagAndTagSpacing
|
|
54
|
-
|
|
55
|
-
const beforePrevTagOffsetLeft = prevTag.$el.offsetLeft - tagAndTagSpacing
|
|
56
|
-
|
|
57
|
-
if (afterNextTagOffsetLeft > $scrollWrapper.scrollLeft + $containerWidth) {
|
|
58
|
-
$scrollWrapper.scrollLeft = afterNextTagOffsetLeft - $containerWidth
|
|
59
|
-
} else if (beforePrevTagOffsetLeft < $scrollWrapper.scrollLeft) {
|
|
60
|
-
$scrollWrapper.scrollLeft = beforePrevTagOffsetLeft
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
1
|
+
function a73_0x9945(){const _0x430198=['2RPXtaf','31409UqSmGi','deltaY','3195500ocPSEg','$refs','864210mPgNyi','scroll','wrapRef','tag','offsetWidth','wheelDelta','81PdWsFO','length','addEventListener','emitScroll','756005iOdeUy','scrollContainer','$parent','4645HoIGjv','204HcTELH','103701GbRssg','$emit','$el','6171264VRMdcV','scrollWrapper','findIndex','scrollLeft'];a73_0x9945=function(){return _0x430198;};return a73_0x9945();}function a73_0x3a53(_0x5e7b62,_0x2ce57d){const _0x99451e=a73_0x9945();return a73_0x3a53=function(_0x3a535f,_0x4a5fdd){_0x3a535f=_0x3a535f-0x1ba;let _0x4afbd4=_0x99451e[_0x3a535f];return _0x4afbd4;},a73_0x3a53(_0x5e7b62,_0x2ce57d);}(function(_0x48f609,_0x27939e){const _0x29dfdb=a73_0x3a53,_0x51fe9d=_0x48f609();while(!![]){try{const _0x5c6160=parseInt(_0x29dfdb(0x1c5))/0x1*(parseInt(_0x29dfdb(0x1ce))/0x2)+-parseInt(_0x29dfdb(0x1c7))/0x3+-parseInt(_0x29dfdb(0x1d1))/0x4+-parseInt(_0x29dfdb(0x1c2))/0x5+-parseInt(_0x29dfdb(0x1c6))/0x6*(parseInt(_0x29dfdb(0x1cf))/0x7)+parseInt(_0x29dfdb(0x1ca))/0x8+parseInt(_0x29dfdb(0x1be))/0x9*(parseInt(_0x29dfdb(0x1d3))/0xa);if(_0x5c6160===_0x27939e)break;else _0x51fe9d['push'](_0x51fe9d['shift']());}catch(_0x35b1f7){_0x51fe9d['push'](_0x51fe9d['shift']());}}}(a73_0x9945,0x65b81));const tagAndTagSpacing=0x4;export default{'name':'ScrollPane','data'(){return{'left':0x0};},'computed':{'scrollWrapper'(){const _0x1f8b61=a73_0x3a53;return this[_0x1f8b61(0x1d2)][_0x1f8b61(0x1c3)]['$refs'][_0x1f8b61(0x1ba)];}},'mounted'(){const _0x2c82f2=a73_0x3a53;this[_0x2c82f2(0x1cb)][_0x2c82f2(0x1c0)](_0x2c82f2(0x1d4),this[_0x2c82f2(0x1c1)],!![]);},'beforeUnmount'(){const _0x5e06dd=a73_0x3a53;this[_0x5e06dd(0x1cb)]['removeEventListener'](_0x5e06dd(0x1d4),this[_0x5e06dd(0x1c1)]);},'methods':{'handleScroll'(_0x54e971){const _0x3fd1ec=a73_0x3a53,_0x282016=_0x54e971[_0x3fd1ec(0x1bd)]||-_0x54e971[_0x3fd1ec(0x1d0)]*0x28,_0x373c75=this[_0x3fd1ec(0x1cb)];_0x373c75['scrollLeft']=_0x373c75[_0x3fd1ec(0x1cd)]+_0x282016/0x4;},'emitScroll'(){const _0x493b94=a73_0x3a53;this[_0x493b94(0x1c8)](_0x493b94(0x1d4));},'moveToTarget'(_0x392cca){const _0x5de6fb=a73_0x3a53,_0x14e652=this[_0x5de6fb(0x1d2)][_0x5de6fb(0x1c3)]['$el'],_0x29e8fe=_0x14e652[_0x5de6fb(0x1bc)],_0x4e3c7c=this[_0x5de6fb(0x1cb)],_0x160174=this[_0x5de6fb(0x1c4)][_0x5de6fb(0x1d2)][_0x5de6fb(0x1bb)];let _0x206b27=null,_0xfecce6=null;_0x160174[_0x5de6fb(0x1bf)]>0x0&&(_0x206b27=_0x160174[0x0],_0xfecce6=_0x160174[_0x160174[_0x5de6fb(0x1bf)]-0x1]);if(_0x206b27===_0x392cca)_0x4e3c7c['scrollLeft']=0x0;else{if(_0xfecce6===_0x392cca)_0x4e3c7c[_0x5de6fb(0x1cd)]=_0x4e3c7c['scrollWidth']-_0x29e8fe;else{const _0x29db91=_0x160174[_0x5de6fb(0x1cc)](_0x32ac92=>_0x32ac92===_0x392cca),_0x140777=_0x160174[_0x29db91-0x1],_0x11db97=_0x160174[_0x29db91+0x1],_0x36229d=_0x11db97[_0x5de6fb(0x1c9)]['offsetLeft']+_0x11db97[_0x5de6fb(0x1c9)][_0x5de6fb(0x1bc)]+tagAndTagSpacing,_0x3ef347=_0x140777[_0x5de6fb(0x1c9)]['offsetLeft']-tagAndTagSpacing;if(_0x36229d>_0x4e3c7c[_0x5de6fb(0x1cd)]+_0x29e8fe)_0x4e3c7c[_0x5de6fb(0x1cd)]=_0x36229d-_0x29e8fe;else _0x3ef347<_0x4e3c7c['scrollLeft']&&(_0x4e3c7c[_0x5de6fb(0x1cd)]=_0x3ef347);}}}}};
|