@wp1001/ui 2.9.13 → 3.0.1

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.
Files changed (106) hide show
  1. package/@vant-D4fmGxs6.js +1 -3891
  2. package/index.html +28 -0
  3. package/index.js +1 -8419
  4. package/lib/tinymce/zh_CN.js +1 -0
  5. package/package.json +1 -1
  6. package/packages/assets/devtools-detector.js +1 -2
  7. package/packages/components/xarray/index.js +1 -64
  8. package/packages/components/xautorows/index.js +1 -35
  9. package/packages/components/xbutton/mobile.js +1 -3
  10. package/packages/components/xbutton/pc.js +1 -3
  11. package/packages/components/xbuttons/mobile.js +1 -51
  12. package/packages/components/xbuttons/pc.js +1 -51
  13. package/packages/components/xchart/constants.js +1 -58
  14. package/packages/components/xchart/index.js +1 -263
  15. package/packages/components/xchart/utils.js +1 -121
  16. package/packages/components/xcheckboxs/mobile.js +1 -58
  17. package/packages/components/xcheckboxs/pc.js +1 -49
  18. package/packages/components/xcol/mobile.js +1 -10
  19. package/packages/components/xcol/pc.js +1 -10
  20. package/packages/components/xdatepicker/mobile.js +1 -71
  21. package/packages/components/xdatepicker/pc.js +1 -9
  22. package/packages/components/xdialog/mobile.js +1 -60
  23. package/packages/components/xdialog/pc.js +1 -64
  24. package/packages/components/xdict/index.js +1 -47
  25. package/packages/components/xdistrictselect/mobile.js +1 -79
  26. package/packages/components/xdistrictselect/pc.js +1 -127
  27. package/packages/components/xform/mobile.js +1 -29
  28. package/packages/components/xform/pc.js +1 -42
  29. package/packages/components/xform/utils.js +1 -95
  30. package/packages/components/xformitem/mobile.js +1 -56
  31. package/packages/components/xformitem/pc.js +1 -72
  32. package/packages/components/xicon/mobile.js +1 -35
  33. package/packages/components/xicon/pc.js +1 -35
  34. package/packages/components/xinfo/index.js +1 -100
  35. package/packages/components/xlooper/index.js +1 -7
  36. package/packages/components/xpagination/mobile.js +1 -21
  37. package/packages/components/xpagination/pc.js +1 -21
  38. package/packages/components/xpicker/index.js +1 -38
  39. package/packages/components/xradios/mobile.js +1 -40
  40. package/packages/components/xradios/pc.js +1 -53
  41. package/packages/components/xrow/mobile.js +1 -9
  42. package/packages/components/xrow/pc.js +1 -9
  43. package/packages/components/xscan/mobile.js +1 -24
  44. package/packages/components/xscan/pc.js +1 -20
  45. package/packages/components/xsearcher/index.js +1 -198
  46. package/packages/components/xselect/mobile.js +1 -86
  47. package/packages/components/xselect/pc.js +1 -114
  48. package/packages/components/xselect/util.js +1 -66
  49. package/packages/components/xselectv2/index.js +1 -91
  50. package/packages/components/xtable/mobile.js +1 -108
  51. package/packages/components/xtable/pc.js +1 -143
  52. package/packages/components/xtable/searcher.js +1 -477
  53. package/packages/components/xtable/settings.js +1 -80
  54. package/packages/components/xtable/utils.js +1 -692
  55. package/packages/components/xtabletools/mobile.js +1 -25
  56. package/packages/components/xtabletools/pc.js +1 -18
  57. package/packages/components/xtablev2/index.js +1 -53
  58. package/packages/components/xtags/mobile.js +1 -17
  59. package/packages/components/xtags/pc.js +1 -17
  60. package/packages/components/xtinymce/index.js +1 -71
  61. package/packages/components/xuploader/xfileuploader.js +1 -48
  62. package/packages/components/xuploader/ximageuploader.js +1 -53
  63. package/packages/comps.js +1 -108
  64. package/packages/controllers/BaseController.js +1 -125
  65. package/packages/controllers/CrudController.js +1 -907
  66. package/packages/controllers/TempCrudController.js +1 -32
  67. package/packages/controllers/index.js +1 -15
  68. package/packages/directives/el-table-infinite-scroll.js +1 -55
  69. package/packages/directives/index.js +1 -5
  70. package/packages/index.js +1 -81
  71. package/packages/layout/breadcrumb/index.js +1 -41
  72. package/packages/layout/header/inner.js +1 -11
  73. package/packages/layout/pc.vue +1 -1
  74. package/packages/layout/screenlock/index.js +1 -129
  75. package/packages/layout/sidebar/item.js +1 -16
  76. package/packages/layout/sidebar/menu.js +1 -72
  77. package/packages/layout/tagsview/ScrollPane.js +1 -65
  78. package/packages/layout/tagsview/index.js +1 -169
  79. package/packages/plop/actions/make-fill-admin-partials-action.js +1 -95
  80. package/packages/plop/generators/make-admin-page.js +1 -39
  81. package/packages/plop/generators/make-database-admin-pages.js +1 -84
  82. package/packages/plop/generators/make-page-generator.js +1 -52
  83. package/packages/plop/generators/make-simple-page.js +1 -20
  84. package/packages/plop/plopfile.js +1 -24
  85. package/packages/plop/utils/index.js +1 -168
  86. package/packages/plop/utils/plop-utils.js +1 -86
  87. package/packages/utils/crypt.js +1 -24
  88. package/packages/utils/decorators.js +1 -67
  89. package/packages/utils/disallowDevtools.js +1 -53
  90. package/packages/utils/effects.js +1 -173
  91. package/packages/utils/funcs.js +1 -78
  92. package/packages/utils/index.js +1 -95
  93. package/packages/utils/message.js +1 -110
  94. package/packages/utils/middlewares.js +1 -86
  95. package/packages/utils/model.js +1 -71
  96. package/packages/utils/modelUtils.js +1 -203
  97. package/packages/utils/request.js +1 -57
  98. package/packages/utils/site.js +1 -33
  99. package/packages/vite-plugins.js +1 -141
  100. package/src/App.vue +134 -0
  101. package/src/main.js +1 -0
  102. package/src/request.js +1 -0
  103. package/style.css +1 -0
  104. package/vite.config.js +1 -0
  105. package/vite.lib.config.js +1 -0
  106. package/.env +0 -6
@@ -1,108 +1 @@
1
- import utils from './utils.js'
2
- import Searcher from './searcher.vue'
3
-
4
- export default {
5
- name: 'MobileXTable',
6
- inheritAttrs: false,
7
- props: {
8
- ...utils.props(),
9
- platform: String,
10
- labelWidth: {
11
- type: String,
12
- default: '80px'
13
- }
14
- },
15
- emits: [
16
- ...utils.emits()
17
- ],
18
- components: { Searcher },
19
- data () {
20
- return {
21
- scope: {},
22
- selected: [],
23
- settings: {},
24
- checked: null,
25
- operatesVisible: false
26
- }
27
- },
28
- computed: {
29
- ...utils.computed,
30
- hasIndex () {
31
- return this._visibleColumns.some(col => col.type === 'index' || col.type === '_index')
32
- },
33
- hasSelection () {
34
- return this._visibleColumns.some(col => col.type === 'selection')
35
- },
36
- hasRadio () {
37
- return this._visibleColumns.some(col => col.type === 'radio')
38
- },
39
- cols () {
40
- return this._visibleColumns.filter(col => {
41
- return !['index', 'selection', 'expand', 'radio', '_index'].includes(col.type)
42
- })
43
- },
44
- _mobileColumns () {
45
- return this._visibleColumns.filter(col => !['_index', 'index', 'selection'].includes(col.type))
46
- }
47
- },
48
- watch: {
49
- selected: {
50
- handler (value) {
51
- const rows = []
52
- value.forEach((ele, index) => {
53
- if (ele) rows.push(this._data[index])
54
- })
55
- this.handleSelectionChange(rows)
56
- },
57
- deep: true
58
- }
59
- },
60
- created () {
61
- this.initSettings()
62
- },
63
- mounted () {
64
- if (this.table) {
65
- this.table.tableRef = this
66
- this.table.ref = this
67
- }
68
- this.$emit('update:tref', this)
69
- },
70
- methods: {
71
- ...utils.methods,
72
- handleClickCard (index) {
73
- if (this.hasSelection) {
74
- this.selected[index] = !this.selected[index]
75
- } else if (this.hasRadio) {
76
- this.handleCheckedChange({ target: { value: index } })
77
- }
78
- },
79
- handleShowActionSheet (row, $index) {
80
- this.scope = { row, $index }
81
- this.operatesVisible = true
82
- },
83
- handleSelectAction (action, index) {
84
- const { handler } = this._actions[index]
85
- if (typeof handler === 'function') {
86
- return handler(this.scope)
87
- } else if (typeof handler === 'string') {
88
- return this.controller[handler]?.(this.scope)
89
- }
90
- if (action.name === '编辑') {
91
- this._emit('edit', this.scope)
92
- } else if (action.name === '删除') {
93
- this._emit('delete', this.scope)
94
- }
95
- },
96
- clearSelection () {
97
- this.selected = []
98
- this.checked = null
99
- },
100
- calcScope (row, $index) {
101
- this._scopes ||= new WeakMap()
102
- if (!this._scopes.get(row)) {
103
- this._scopes.set(row, { row, $index })
104
- }
105
- return this._scopes.get(row)
106
- }
107
- }
108
- }
1
+ const a47_0x1f38cb=a47_0x3261;(function(_0xec14c2,_0x20913f){const _0x6d1c8=a47_0x3261,_0x3ba5a4=_0xec14c2();while(!![]){try{const _0x21df7b=-parseInt(_0x6d1c8(0x185))/0x1+parseInt(_0x6d1c8(0x18b))/0x2*(parseInt(_0x6d1c8(0x162))/0x3)+-parseInt(_0x6d1c8(0x183))/0x4+parseInt(_0x6d1c8(0x173))/0x5*(-parseInt(_0x6d1c8(0x167))/0x6)+parseInt(_0x6d1c8(0x184))/0x7+-parseInt(_0x6d1c8(0x17e))/0x8*(-parseInt(_0x6d1c8(0x18a))/0x9)+parseInt(_0x6d1c8(0x16f))/0xa;if(_0x21df7b===_0x20913f)break;else _0x3ba5a4['push'](_0x3ba5a4['shift']());}catch(_0x344e4f){_0x3ba5a4['push'](_0x3ba5a4['shift']());}}}(a47_0x445b,0xec0cb));function a47_0x3261(_0x281a75,_0x10919f){const _0x445bf6=a47_0x445b();return a47_0x3261=function(_0x326156,_0x32ff0e){_0x326156=_0x326156-0x161;let _0x36c396=_0x445bf6[_0x326156];return _0x36c396;},a47_0x3261(_0x281a75,_0x10919f);}import a47_0x362f2b from'./utils.js';import a47_0x24c8c6 from'./searcher.vue';function a47_0x445b(){const _0x26d4c6=['80px','_visibleColumns','delete','hasSelection','_emit','_scopes','update:tref','radio','6781304DEaRcZ','emits','handleSelectionChange','some','table','2984012QMEVHx','9653112vMYZim','1870662JVpahk','MobileXTable','_data','get','controller','18uGzEGA','16308IlvArh','includes','hasRadio','279HWHtqG','props','scope','filter','string','84CVuAoL','$emit','handleCheckedChange','set','index','_index','checked','ref','16683140APrYUP','selection','forEach','name','684805SWwxCI','type','initSettings'];a47_0x445b=function(){return _0x26d4c6;};return a47_0x445b();}export default{'name':a47_0x1f38cb(0x186),'inheritAttrs':![],'props':{...a47_0x362f2b[a47_0x1f38cb(0x163)](),'platform':String,'labelWidth':{'type':String,'default':a47_0x1f38cb(0x176)}},'emits':[...a47_0x362f2b[a47_0x1f38cb(0x17f)]()],'components':{'Searcher':a47_0x24c8c6},'data'(){return{'scope':{},'selected':[],'settings':{},'checked':null,'operatesVisible':![]};},'computed':{...a47_0x362f2b['computed'],'hasIndex'(){const _0x5a401a=a47_0x1f38cb;return this[_0x5a401a(0x177)][_0x5a401a(0x181)](_0x3b1caa=>_0x3b1caa[_0x5a401a(0x174)]==='index'||_0x3b1caa[_0x5a401a(0x174)]===_0x5a401a(0x16c));},'hasSelection'(){const _0x254aed=a47_0x1f38cb;return this['_visibleColumns'][_0x254aed(0x181)](_0x1b70e4=>_0x1b70e4[_0x254aed(0x174)]==='selection');},'hasRadio'(){const _0x2c02e8=a47_0x1f38cb;return this[_0x2c02e8(0x177)][_0x2c02e8(0x181)](_0x20798f=>_0x20798f[_0x2c02e8(0x174)]===_0x2c02e8(0x17d));},'cols'(){const _0xda9308=a47_0x1f38cb;return this[_0xda9308(0x177)][_0xda9308(0x165)](_0x55ce5c=>{const _0x253f94=_0xda9308;return![_0x253f94(0x16b),_0x253f94(0x170),'expand',_0x253f94(0x17d),_0x253f94(0x16c)][_0x253f94(0x18c)](_0x55ce5c[_0x253f94(0x174)]);});},'_mobileColumns'(){const _0x3bdbb4=a47_0x1f38cb;return this['_visibleColumns'][_0x3bdbb4(0x165)](_0x16c167=>![_0x3bdbb4(0x16c),_0x3bdbb4(0x16b),_0x3bdbb4(0x170)]['includes'](_0x16c167[_0x3bdbb4(0x174)]));}},'watch':{'selected':{'handler'(_0x3b0fff){const _0x160a7a=a47_0x1f38cb,_0x18e83e=[];_0x3b0fff[_0x160a7a(0x171)]((_0x1bc71f,_0x14de8d)=>{const _0x1c4e2c=_0x160a7a;if(_0x1bc71f)_0x18e83e['push'](this[_0x1c4e2c(0x187)][_0x14de8d]);}),this[_0x160a7a(0x180)](_0x18e83e);},'deep':!![]}},'created'(){const _0x3985aa=a47_0x1f38cb;this[_0x3985aa(0x175)]();},'mounted'(){const _0x3f75ce=a47_0x1f38cb;this['table']&&(this[_0x3f75ce(0x182)]['tableRef']=this,this[_0x3f75ce(0x182)][_0x3f75ce(0x16e)]=this),this[_0x3f75ce(0x168)](_0x3f75ce(0x17c),this);},'methods':{...a47_0x362f2b['methods'],'handleClickCard'(_0x19b9cb){const _0x40c911=a47_0x1f38cb;if(this[_0x40c911(0x179)])this['selected'][_0x19b9cb]=!this['selected'][_0x19b9cb];else this[_0x40c911(0x161)]&&this[_0x40c911(0x169)]({'target':{'value':_0x19b9cb}});},'handleShowActionSheet'(_0xed44c7,_0x11457e){const _0x5d5393=a47_0x1f38cb;this[_0x5d5393(0x164)]={'row':_0xed44c7,'$index':_0x11457e},this['operatesVisible']=!![];},'handleSelectAction'(_0x23d969,_0x4bc0cc){const _0x3d256b=a47_0x1f38cb,{handler:_0x514bab}=this['_actions'][_0x4bc0cc];if(typeof _0x514bab==='function')return _0x514bab(this[_0x3d256b(0x164)]);else{if(typeof _0x514bab===_0x3d256b(0x166))return this[_0x3d256b(0x189)][_0x514bab]?.(this[_0x3d256b(0x164)]);}if(_0x23d969[_0x3d256b(0x172)]==='编辑')this[_0x3d256b(0x17a)]('edit',this[_0x3d256b(0x164)]);else _0x23d969[_0x3d256b(0x172)]==='删除'&&this[_0x3d256b(0x17a)](_0x3d256b(0x178),this['scope']);},'clearSelection'(){const _0x32c57c=a47_0x1f38cb;this['selected']=[],this[_0x32c57c(0x16d)]=null;},'calcScope'(_0x192ffb,_0x3b3dab){const _0x2b31f3=a47_0x1f38cb;return this[_0x2b31f3(0x17b)]||=new WeakMap(),!this['_scopes'][_0x2b31f3(0x188)](_0x192ffb)&&this[_0x2b31f3(0x17b)][_0x2b31f3(0x16a)](_0x192ffb,{'row':_0x192ffb,'$index':_0x3b3dab}),this[_0x2b31f3(0x17b)][_0x2b31f3(0x188)](_0x192ffb);}}};
@@ -1,143 +1 @@
1
- import utils from './utils.js'
2
- import { baseDialog } from '../../utils/model.js'
3
- import Searcher from './searcher.vue'
4
- import Settings from './settings.vue'
5
-
6
- const { funcs, highdict } = StardustJs
7
-
8
- export default {
9
- name: 'PcXTable',
10
- inheritAttrs: false,
11
- props: {
12
- ...utils.props()
13
- },
14
- emits: [
15
- ...utils.emits()
16
- ],
17
- components: { Searcher, Settings },
18
- data () {
19
- return {
20
- searcher: null,
21
- isMinus: false,
22
- isFullscreen: false,
23
- zoom: 1,
24
- checked: null,
25
- activeNames: ['name'],
26
- settings: {},
27
- params: {},
28
- _useCollapse: false,
29
- dialog: {
30
- ...baseDialog()
31
- }
32
- }
33
- },
34
- computed: {
35
- ...utils.computed,
36
- hasQrcodeColumns () {
37
- return this._visibleColumns.some(c => c.slot === '$qrcode' || c.tableAttrs?.slot === '$qrcode')
38
- }
39
- },
40
- watch: {
41
- ...utils.watch,
42
- settings: 'saveSettings'
43
- },
44
- watch: {
45
- _uid: 'initSettings',
46
- _columns: {
47
- deep: true,
48
- immediate: true,
49
- handler: 'initSettings'
50
- },
51
- _loading: {
52
- immediate: true,
53
- async handler (loading) {
54
- if (window.QRCode && !loading && this.hasQrcodeColumns) {
55
- await funcs.sleep(0)
56
- window.$all('img[data-qrcodeid]').forEach(async img => {
57
- const [_, colIndex, rowIndex] = img.dataset.qrcodeid.split('-').map(Number)
58
- const column = this._visibleColumns[colIndex]
59
- if (column?.prop) {
60
- const value = this.table.list[rowIndex]?.[column.prop]
61
- if (!value) return
62
- this.qrcodeDict ||= {}
63
- this.qrcodeDict[value] ||= new Promise(resolve => {
64
- QRCode.toDataURL(value, {
65
- width: 128, height: 128, margin: 1, ...(column.tableAttrs || column)
66
- }).then(src => {
67
- this.qrcodeDict[value] = src
68
- resolve(src)
69
- })
70
- })
71
- img.src = await this.qrcodeDict[value]
72
- }
73
- })
74
- }
75
- }
76
- }
77
- },
78
- created () {
79
- this._useCollapse = this.useCollapse
80
- },
81
- mounted () {
82
- if (this.table) {
83
- this.table.tableRef = this.$refs.tableRef
84
- this.table.ref = this
85
- }
86
- this.$emit('update:tref', this.$refs.tableRef)
87
- },
88
- methods: {
89
- ...utils.methods,
90
- async handleShowPieDialog () {
91
- this.dialog.visible = true
92
- await this.$nextTick()
93
- if (this.table) {
94
- this.table.chartRef = this.$refs.chartRef
95
- }
96
- await this.$refs.chartRef.init()
97
- this.$refs.chartRef.initDatasource()
98
- },
99
- async handleChartDialogFullscreen () {
100
- await this.$nextTick()
101
- this.$refs.chartRef.chart.resize()
102
- },
103
- async search (params = {}) {
104
- const { remote, maxLimit, query, remoteMethod, search } = this._chartOption
105
- if (search) {
106
- return search()
107
- } else if (this.controller[remoteMethod]) {
108
- return this.controller[remoteMethod]()
109
- } else if (remote && this.controller.getSearchParams) {
110
- let searchParams = this.controller.getSearchParams({ page: 1, limit: 100, ...query }, false)
111
- if (typeof params === 'function') {
112
- searchParams = params(searchParams)
113
- } else {
114
- Object.assign(searchParams, params)
115
- }
116
- const paramsJson = JSON.stringify(searchParams)
117
- if (paramsJson === this._lastSearchParams) return this._lastList
118
- this._lastSearchParams = paramsJson
119
- const data = await this.controller.dbTable.search(searchParams)
120
- if (maxLimit && maxLimit > query.limit && data.total > query.limit) {
121
- const numPages = Math.ceil(Math.min(maxLimit, data.total) / query.limit)
122
- const left = await this.controller.dbTable.batch({
123
- transaction: false,
124
- operations: Array.from({ length: numPages - 1 }).map((_, i) => ({
125
- type: 'search',
126
- data: { ...searchParams, page: i + 2 }
127
- }))
128
- }, 'data')
129
- left.forEach(ele => data.data = data.data.concat(ele.data))
130
- }
131
- let list = highdict.get(data, this.controller.listProp)
132
- list = this.controller.formatList(this.controller._defaultFormatList(list, data), data)
133
- this._lastList = list
134
- return list
135
- }
136
- return this._data
137
- },
138
- onPaging () {
139
- if (this.params.page) delete this.params.page
140
- this._emit('search', this.params)
141
- }
142
- }
143
- }
1
+ const a48_0x1d8577=a48_0x3365;(function(_0x5c6eb4,_0xbc424e){const _0x3906ae=a48_0x3365,_0x351f11=_0x5c6eb4();while(!![]){try{const _0x207853=parseInt(_0x3906ae(0xd4))/0x1*(parseInt(_0x3906ae(0xd0))/0x2)+-parseInt(_0x3906ae(0xe8))/0x3*(parseInt(_0x3906ae(0xe5))/0x4)+-parseInt(_0x3906ae(0xe2))/0x5+-parseInt(_0x3906ae(0xe7))/0x6+parseInt(_0x3906ae(0xbd))/0x7+parseInt(_0x3906ae(0xbc))/0x8*(-parseInt(_0x3906ae(0xc5))/0x9)+-parseInt(_0x3906ae(0xe1))/0xa*(-parseInt(_0x3906ae(0xc9))/0xb);if(_0x207853===_0xbc424e)break;else _0x351f11['push'](_0x351f11['shift']());}catch(_0x30b38c){_0x351f11['push'](_0x351f11['shift']());}}}(a48_0x121a,0x1bd42));import a48_0x2f55d8 from'./utils.js';import{baseDialog}from'../../utils/model.js';function a48_0x3365(_0x38b123,_0x146301){const _0x121a41=a48_0x121a();return a48_0x3365=function(_0x33654a,_0x2d0682){_0x33654a=_0x33654a-0xaa;let _0x146219=_0x121a41[_0x33654a];return _0x146219;},a48_0x3365(_0x38b123,_0x146301);}import a48_0x3b4c95 from'./searcher.vue';import a48_0x2fe6cd from'./settings.vue';const {funcs,highdict}=StardustJs;function a48_0x121a(){const _0x3777f0=['from','32fcyeWP','_lastSearchParams','init','search','775tNmNnt','dialog','_data','computed','resize','tableRef','hasQrcodeColumns','forEach','_chartOption','name','stringify','prop','listProp','20ESBFJS','430650amKhML','_visibleColumns','qrcodeid','176xvlbeU','list','25374Zmvpnl','7233tKIKcN','chartRef','$nextTick','page','$refs','props','initDatasource','min','function','get','params','chart','controller','$all','total','qrcodeDict','slot','ceil','watch','sleep','dbTable','formatList','useCollapse','QRCode','tableAttrs','data','408vmOsXF','242977bBXODc','split','dataset','_defaultFormatList','batch','methods','$emit','limit','6876PvrDUG','visible','_emit','saveSettings','1662551VCWXkM','table','assign','$qrcode','_lastList','_useCollapse'];a48_0x121a=function(){return _0x3777f0;};return a48_0x121a();}export default{'name':'PcXTable','inheritAttrs':![],'props':{...a48_0x2f55d8[a48_0x1d8577(0xed)]()},'emits':[...a48_0x2f55d8['emits']()],'components':{'Searcher':a48_0x3b4c95,'Settings':a48_0x2fe6cd},'data'(){const _0xe936af=a48_0x1d8577;return{'searcher':null,'isMinus':![],'isFullscreen':![],'zoom':0x1,'checked':null,'activeNames':[_0xe936af(0xdd)],'settings':{},'params':{},'_useCollapse':![],'dialog':{...baseDialog()}};},'computed':{...a48_0x2f55d8[a48_0x1d8577(0xd7)],'hasQrcodeColumns'(){const _0x45545=a48_0x1d8577;return this['_visibleColumns']['some'](_0x1fefbe=>_0x1fefbe[_0x45545(0xb2)]===_0x45545(0xcc)||_0x1fefbe['tableAttrs']?.[_0x45545(0xb2)]===_0x45545(0xcc));}},'watch':{...a48_0x2f55d8[a48_0x1d8577(0xb4)],'settings':a48_0x1d8577(0xc8)},'watch':{'_uid':'initSettings','_columns':{'deep':!![],'immediate':!![],'handler':'initSettings'},'_loading':{'immediate':!![],async 'handler'(_0x296407){const _0x5aa71f=a48_0x1d8577;window[_0x5aa71f(0xb9)]&&!_0x296407&&this[_0x5aa71f(0xda)]&&(await funcs[_0x5aa71f(0xb5)](0x0),window[_0x5aa71f(0xaf)]('img[data-qrcodeid]')[_0x5aa71f(0xdb)](async _0x3efbb5=>{const _0x37eff4=_0x5aa71f,[_0x26d18d,_0x3d44a5,_0x4471a3]=_0x3efbb5[_0x37eff4(0xbf)][_0x37eff4(0xe4)][_0x37eff4(0xbe)]('-')['map'](Number),_0x36a57d=this[_0x37eff4(0xe3)][_0x3d44a5];if(_0x36a57d?.[_0x37eff4(0xdf)]){const _0x96db0d=this['table'][_0x37eff4(0xe6)][_0x4471a3]?.[_0x36a57d[_0x37eff4(0xdf)]];if(!_0x96db0d)return;this[_0x37eff4(0xb1)]||={},this[_0x37eff4(0xb1)][_0x96db0d]||=new Promise(_0x5a5f2a=>{const _0x210ede=_0x37eff4;QRCode['toDataURL'](_0x96db0d,{'width':0x80,'height':0x80,'margin':0x1,..._0x36a57d[_0x210ede(0xba)]||_0x36a57d})['then'](_0x345e21=>{const _0x4c4b72=_0x210ede;this[_0x4c4b72(0xb1)][_0x96db0d]=_0x345e21,_0x5a5f2a(_0x345e21);});}),_0x3efbb5['src']=await this[_0x37eff4(0xb1)][_0x96db0d];}}));}}},'created'(){const _0x26d171=a48_0x1d8577;this[_0x26d171(0xce)]=this[_0x26d171(0xb8)];},'mounted'(){const _0x599106=a48_0x1d8577;this[_0x599106(0xca)]&&(this[_0x599106(0xca)][_0x599106(0xd9)]=this[_0x599106(0xec)][_0x599106(0xd9)],this[_0x599106(0xca)]['ref']=this),this[_0x599106(0xc3)]('update:tref',this[_0x599106(0xec)][_0x599106(0xd9)]);},'methods':{...a48_0x2f55d8[a48_0x1d8577(0xc2)],async 'handleShowPieDialog'(){const _0x110fe3=a48_0x1d8577;this[_0x110fe3(0xd5)][_0x110fe3(0xc6)]=!![],await this[_0x110fe3(0xea)](),this[_0x110fe3(0xca)]&&(this[_0x110fe3(0xca)]['chartRef']=this[_0x110fe3(0xec)][_0x110fe3(0xe9)]),await this['$refs'][_0x110fe3(0xe9)][_0x110fe3(0xd2)](),this[_0x110fe3(0xec)][_0x110fe3(0xe9)][_0x110fe3(0xee)]();},async 'handleChartDialogFullscreen'(){const _0x797eb6=a48_0x1d8577;await this[_0x797eb6(0xea)](),this[_0x797eb6(0xec)][_0x797eb6(0xe9)][_0x797eb6(0xad)][_0x797eb6(0xd8)]();},async 'search'(_0x28fc0a={}){const _0x5e62e8=a48_0x1d8577,{remote:_0x5a550c,maxLimit:_0x229b19,query:_0x2ab90a,remoteMethod:_0x2fa955,search:_0x5a312a}=this[_0x5e62e8(0xdc)];if(_0x5a312a)return _0x5a312a();else{if(this['controller'][_0x2fa955])return this[_0x5e62e8(0xae)][_0x2fa955]();else{if(_0x5a550c&&this[_0x5e62e8(0xae)]['getSearchParams']){let _0x458d01=this[_0x5e62e8(0xae)]['getSearchParams']({'page':0x1,'limit':0x64,..._0x2ab90a},![]);typeof _0x28fc0a===_0x5e62e8(0xaa)?_0x458d01=_0x28fc0a(_0x458d01):Object[_0x5e62e8(0xcb)](_0x458d01,_0x28fc0a);const _0x51cb67=JSON[_0x5e62e8(0xde)](_0x458d01);if(_0x51cb67===this[_0x5e62e8(0xd1)])return this[_0x5e62e8(0xcd)];this[_0x5e62e8(0xd1)]=_0x51cb67;const _0x3ae352=await this[_0x5e62e8(0xae)][_0x5e62e8(0xb6)][_0x5e62e8(0xd3)](_0x458d01);if(_0x229b19&&_0x229b19>_0x2ab90a['limit']&&_0x3ae352[_0x5e62e8(0xb0)]>_0x2ab90a['limit']){const _0x3de844=Math[_0x5e62e8(0xb3)](Math[_0x5e62e8(0xef)](_0x229b19,_0x3ae352[_0x5e62e8(0xb0)])/_0x2ab90a[_0x5e62e8(0xc4)]),_0x12d7a4=await this[_0x5e62e8(0xae)]['dbTable'][_0x5e62e8(0xc1)]({'transaction':![],'operations':Array[_0x5e62e8(0xcf)]({'length':_0x3de844-0x1})['map']((_0x3e6b91,_0x1ebb55)=>({'type':_0x5e62e8(0xd3),'data':{..._0x458d01,'page':_0x1ebb55+0x2}}))},'data');_0x12d7a4[_0x5e62e8(0xdb)](_0x3cd423=>_0x3ae352['data']=_0x3ae352['data']['concat'](_0x3cd423[_0x5e62e8(0xbb)]));}let _0xd0389f=highdict[_0x5e62e8(0xab)](_0x3ae352,this['controller'][_0x5e62e8(0xe0)]);return _0xd0389f=this[_0x5e62e8(0xae)][_0x5e62e8(0xb7)](this[_0x5e62e8(0xae)][_0x5e62e8(0xc0)](_0xd0389f,_0x3ae352),_0x3ae352),this['_lastList']=_0xd0389f,_0xd0389f;}}}return this[_0x5e62e8(0xd6)];},'onPaging'(){const _0x2e1507=a48_0x1d8577;if(this[_0x2e1507(0xac)][_0x2e1507(0xeb)])delete this['params'][_0x2e1507(0xeb)];this[_0x2e1507(0xc7)](_0x2e1507(0xd3),this['params']);}}};