gds-plus-design-vue 1.2.61 → 1.2.63
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/lib/addPermission.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91087
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.6c47713a.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.28952cf7.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5b3edd34.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.b4704b4b.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.1787f71e.mjs → messages.ad082386.mjs} +994 -1952
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.9bee857f.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.926c6da1.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.d48f77d5.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.a91a8420.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.ca5f4aae.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.e80ba9c9.mjs → system.log.b86cf57f.mjs} +31 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.c1e753fb.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.a6017645.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.bbf6efd3.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.2b756c66.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.5f9e7b94.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.17fe31d5.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.c503c5b7.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.a169dcb9.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.00fc2917.mjs → system.promptmanagement.d7250932.mjs} +153 -287
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.52d67131.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.357dc3bb.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.90598753.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.f66ddd64.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.279d9e27.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.80ca9f42.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.10ae5122.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.b5c11d9e.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.6dbe70f3.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.a162fc7d.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +48 -23
- package/locale/id_ID.js +32 -7
- package/locale/vi_VN.js +1973 -1948
- package/locale/zh_CN.js +53 -29
- package/package.json +106 -105
- package/lib/chartbi.0d1d3b58.mjs +0 -27639
- package/lib/chartbi.d3f580d6.js +0 -60
- package/lib/main.0088ac99.js +0 -1
- package/lib/main.34c14bdb.js +0 -1
- package/lib/main.4b9adacf.js +0 -1
- package/lib/main.d1239940.js +0 -1
- package/lib/messages.add7c391.js +0 -9
- package/lib/system.account.00b82418.mjs +0 -2552
- package/lib/system.account.04cb26b6.js +0 -216
- package/lib/system.config.6244fa9b.js +0 -1
- package/lib/system.datasource.32878f5f.js +0 -1
- package/lib/system.dict.d25839ec.js +0 -1
- package/lib/system.duplicatechecking.4ed8c391.mjs +0 -2142
- package/lib/system.duplicatechecking.670ee24a.js +0 -1
- package/lib/system.email.52671629.mjs +0 -7432
- package/lib/system.email.dd537fd0.js +0 -41
- package/lib/system.fieldsecurity.4947c737.js +0 -1
- package/lib/system.file.93d65d16.js +0 -1
- package/lib/system.log.252cce0b.js +0 -1
- package/lib/system.machine.4e393981.js +0 -1
- package/lib/system.notice.ab23c15b.js +0 -1
- package/lib/system.noticereceived.123b764e.js +0 -1
- package/lib/system.onlineuser.295ad7f5.js +0 -1
- package/lib/system.org.c3bb51ff.js +0 -1
- package/lib/system.permissions.967200f1.js +0 -9
- package/lib/system.plugin.f8da8731.js +0 -1
- package/lib/system.pos.22fabf30.js +0 -1
- package/lib/system.promptmanagement.639a98e1.js +0 -1
- package/lib/system.role.4cf72743.js +0 -1
- package/lib/system.sumberrules.1a5b80df.js +0 -1
- package/lib/system.team.777feecf.mjs +0 -1000
- package/lib/system.team.ad10fc96.js +0 -1
- package/lib/system.teammembers.b193dd23.js +0 -1
- package/lib/system.timers.e31fe5fd.js +0 -38
- package/lib/system.translation.d3ed3d35.js +0 -1
- package/lib/system.useraffiliation.593c9ad4.js +0 -1
- package/lib/system.webresource.25e56654.js +0 -1
- package/lib/system.welcome.ec4e941f.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l={methods:{renderHeader(t,{column:e,$index:s},r){return t("div",{style:`display:inline-block;width: calc(100% - ${e.sortable?"26px":"0px"});`,attrs:{class:"gd-cell"}},[t("gd-tables-filter",{style:"cursor:pointer",props:{column:Object.assign(e,r||{}),queryParam:this.queryParam},on:{query:this.columnQuery}})])},columnQuery(t){let e={...t},s=new Map;for(let r in e)e[r]!==void 0&&s.set(r,e[r]);this.queryParam=Object.fromEntries(s),this.refresh()}}};exports.tablesFilter=l;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
methods: {
|
|
3
|
+
renderHeader(t, {
|
|
4
|
+
column: e,
|
|
5
|
+
$index: s
|
|
6
|
+
}, r) {
|
|
7
|
+
return t(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
style: `display:inline-block;width: calc(100% - ${e.sortable ? "26px" : "0px"});`,
|
|
11
|
+
attrs: {
|
|
12
|
+
class: "gd-cell"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
[
|
|
16
|
+
t("gd-tables-filter", {
|
|
17
|
+
style: "cursor:pointer",
|
|
18
|
+
props: {
|
|
19
|
+
column: Object.assign(e, r || {}),
|
|
20
|
+
queryParam: this.queryParam
|
|
21
|
+
},
|
|
22
|
+
on: {
|
|
23
|
+
query: this.columnQuery
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
);
|
|
28
|
+
},
|
|
29
|
+
columnQuery(t) {
|
|
30
|
+
let e = {
|
|
31
|
+
...t
|
|
32
|
+
}, s = /* @__PURE__ */ new Map();
|
|
33
|
+
for (let r in e)
|
|
34
|
+
e[r] !== void 0 && s.set(r, e[r]);
|
|
35
|
+
this.queryParam = Object.fromEntries(s), this.refresh();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
a as t
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var j={exports:{}};(function(e){var t=function(){var o=String.fromCharCode,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",x={};function _(n,i){if(!x[n]){x[n]={};for(var c=0;c<n.length;c++)x[n][n.charAt(c)]=c}return x[n][i]}var T={compressToBase64:function(n){if(n==null)return"";var i=T._compress(n,6,function(c){return l.charAt(c)});switch(i.length%4){default:case 0:return i;case 1:return i+"===";case 2:return i+"==";case 3:return i+"="}},decompressFromBase64:function(n){return n==null?"":n==""?null:T._decompress(n.length,32,function(i){return _(l,n.charAt(i))})},compressToUTF16:function(n){return n==null?"":T._compress(n,15,function(i){return o(i+32)})+" "},decompressFromUTF16:function(n){return n==null?"":n==""?null:T._decompress(n.length,16384,function(i){return n.charCodeAt(i)-32})},compressToUint8Array:function(n){for(var i=T.compress(n),c=new Uint8Array(i.length*2),a=0,s=i.length;a<s;a++){var v=i.charCodeAt(a);c[a*2]=v>>>8,c[a*2+1]=v%256}return c},decompressFromUint8Array:function(n){if(n==null)return T.decompress(n);for(var i=new Array(n.length/2),c=0,a=i.length;c<a;c++)i[c]=n[c*2]*256+n[c*2+1];var s=[];return i.forEach(function(v){s.push(o(v))}),T.decompress(s.join(""))},compressToEncodedURIComponent:function(n){return n==null?"":T._compress(n,6,function(i){return m.charAt(i)})},decompressFromEncodedURIComponent:function(n){return n==null?"":n==""?null:(n=n.replace(/ /g,"+"),T._decompress(n.length,32,function(i){return _(m,n.charAt(i))}))},compress:function(n){return T._compress(n,16,function(i){return o(i)})},_compress:function(n,i,c){if(n==null)return"";var a,s,v={},y={},A="",S="",h="",w=2,g=3,p=2,d=[],r=0,f=0,u;for(u=0;u<n.length;u+=1)if(A=n.charAt(u),Object.prototype.hasOwnProperty.call(v,A)||(v[A]=g++,y[A]=!0),S=h+A,Object.prototype.hasOwnProperty.call(v,S))h=S;else{if(Object.prototype.hasOwnProperty.call(y,h)){if(h.charCodeAt(0)<256){for(a=0;a<p;a++)r=r<<1,f==i-1?(f=0,d.push(c(r)),r=0):f++;for(s=h.charCodeAt(0),a=0;a<8;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1}else{for(s=1,a=0;a<p;a++)r=r<<1|s,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=0;for(s=h.charCodeAt(0),a=0;a<16;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1}w--,w==0&&(w=Math.pow(2,p),p++),delete y[h]}else for(s=v[h],a=0;a<p;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1;w--,w==0&&(w=Math.pow(2,p),p++),v[S]=g++,h=String(A)}if(h!==""){if(Object.prototype.hasOwnProperty.call(y,h)){if(h.charCodeAt(0)<256){for(a=0;a<p;a++)r=r<<1,f==i-1?(f=0,d.push(c(r)),r=0):f++;for(s=h.charCodeAt(0),a=0;a<8;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1}else{for(s=1,a=0;a<p;a++)r=r<<1|s,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=0;for(s=h.charCodeAt(0),a=0;a<16;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1}w--,w==0&&(w=Math.pow(2,p),p++),delete y[h]}else for(s=v[h],a=0;a<p;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1;w--,w==0&&(w=Math.pow(2,p),p++)}for(s=2,a=0;a<p;a++)r=r<<1|s&1,f==i-1?(f=0,d.push(c(r)),r=0):f++,s=s>>1;for(;;)if(r=r<<1,f==i-1){d.push(c(r));break}else f++;return d.join("")},decompress:function(n){return n==null?"":n==""?null:T._decompress(n.length,32768,function(i){return n.charCodeAt(i)})},_decompress:function(n,i,c){var a=[],s=4,v=4,y=3,A="",S=[],h,w,g,p,d,r,f,u={val:c(0),position:i,index:1};for(h=0;h<3;h+=1)a[h]=h;for(g=0,d=Math.pow(2,2),r=1;r!=d;)p=u.val&u.position,u.position>>=1,u.position==0&&(u.position=i,u.val=c(u.index++)),g|=(p>0?1:0)*r,r<<=1;switch(g){case 0:for(g=0,d=Math.pow(2,8),r=1;r!=d;)p=u.val&u.position,u.position>>=1,u.position==0&&(u.position=i,u.val=c(u.index++)),g|=(p>0?1:0)*r,r<<=1;f=o(g);break;case 1:for(g=0,d=Math.pow(2,16),r=1;r!=d;)p=u.val&u.position,u.position>>=1,u.position==0&&(u.position=i,u.val=c(u.index++)),g|=(p>0?1:0)*r,r<<=1;f=o(g);break;case 2:return""}for(a[3]=f,w=f,S.push(f);;){if(u.index>n)return"";for(g=0,d=Math.pow(2,y),r=1;r!=d;)p=u.val&u.position,u.position>>=1,u.position==0&&(u.position=i,u.val=c(u.index++)),g|=(p>0?1:0)*r,r<<=1;switch(f=g){case 0:for(g=0,d=Math.pow(2,8),r=1;r!=d;)p=u.val&u.position,u.position>>=1,u.position==0&&(u.position=i,u.val=c(u.index++)),g|=(p>0?1:0)*r,r<<=1;a[v++]=o(g),f=v-1,s--;break;case 1:for(g=0,d=Math.pow(2,16),r=1;r!=d;)p=u.val&u.position,u.position>>=1,u.position==0&&(u.position=i,u.val=c(u.index++)),g|=(p>0?1:0)*r,r<<=1;a[v++]=o(g),f=v-1,s--;break;case 2:return S.join("")}if(s==0&&(s=Math.pow(2,y),y++),a[f])A=a[f];else if(f===v)A=w+w.charAt(0);else return null;S.push(A),a[v++]=w+A.charAt(0),s--,w=A,s==0&&(s=Math.pow(2,y),y++)}}};return T}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(j);const z=j.exports;var M=null;function O(e){switch(e){case"Log/vislog":return"Vislog";default:return e}}function C(e){let t="";return e&&e.split("_").forEach((l,m)=>{t+=l.replace(l[0],l[0].toUpperCase())}),t}function N(e=36,t=!0,o=!0){let l=[],m="0123456789abcdefghijklnmopqrstvuwxyz";t||(m="abcdefghijklnmopqrstvuwxyz");let x=m.toString().length-Math.round(Math.random()*10);for(var _=0;_<e;_++)l[_]=m.substr(Math.floor(Math.random()*x),1);return o&&(l[0]="u"),l[19]&&(l[19]=m.substr(l[19]&3|8,1)),l.join("")}function L(e,t="children"){const o=[];for(;e.length;){const l=e[0];o.push(l),e.shift(),l[t]&&l[t].length&&e.push(...l[t])}return o}function E(e){if(e.length<=1)return e;for(var t=Math.floor(e.length/2),o=e.splice(t,1)[0],l=[],m=[],x=0;x<e.length;x++)e[x].order<o.order?l.push(e[x]):m.push(e[x]);return E(l).concat([o],E(m))}function k(e){if(!e)return"";let t=[...e];if(t.length===0)return"";let o=[];return t.forEach(l=>{(typeof l=="string"||typeof l=="number")&&o.push(l)}),o.join(",")}function D(e,t){const o=t.fkentityname?t.fkentityname:t.fketityname;switch(t.effecttype){case"fk":return e.columnname+o+t.columnname;case"user":return e.columnname+o+t.columnname;case"about":return t.relations.toLowerCase();default:return t.columnname}}function R(e){var t=new Array("\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"),o=new Array("","\u62FE","\u4F70","\u4EDF"),l=new Array("","\u4E07","\u4EBF","\u5146"),m=new Array("\u89D2","\u5206","\u6BEB","\u5398"),x="\u6574",_="\u5143",T=1e15,n,i,c="",a;if(e==""||(e=parseFloat(e),e>=T))return"";if(e==0)return c=t[0]+_+x,c;if(e=e.toString(),e.indexOf(".")==-1?(n=e,i=""):(a=e.split("."),n=a[0],i=a[1].substr(0,4)),parseInt(n,10)>0){for(var s=0,v=n.length,y=0;y<v;y++){var A=n.substr(y,1),S=v-y-1,h=S/4,w=S%4;A=="0"?s++:(s>0&&(c+=t[0]),s=0,c+=t[parseInt(A)]+o[w]),w==0&&s<4&&(c+=l[h])}c+=_}if(i!="")for(var g=i.length,y=0;y<g;y++){var A=i.substr(y,1);A!="0"&&(c+=t[Number(A)]+m[y])}return c==""?c+=t[0]+_+x:i==""&&(c+=x),c}function $(e){let t=1,o=e.displayMode?e.displayMode:"none";return o==="percent"?t=100:o==="permil"&&(t=1e3),t}function Z(e){if(typeof e=="string")try{var t=JSON.parse(e);return!!(typeof t=="object"&&t)}catch{return!1}else return!1}function B(e){switch(e){case"zh_CN":return{name:"\u7B80\u4F53\u4E2D\u6587:",order:1};case"en_US":return{name:"English (USA):",order:2};case"vi_VN":return{name:"Ti\u1EBFng Vi\u1EC7t:",order:3};case"id_ID":return{name:"Indonesia:",order:4};default:return{name:"\u7B80\u4F53\u4E2D\u6587:",order:1}}}function J(e,t,o){let l=t.split("."),m=e;return l.forEach(x=>{m?m=m[x]:m=null}),m||o}async function F(e,t){if(navigator.clipboard)await navigator.clipboard.writeText(e);else{const o=document.createElement("textarea");o.value=e,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o)}typeof t=="function"&&t()}async function K(e){let t="";if(navigator.clipboard&&navigator.clipboard.readText)try{t=await navigator.clipboard.readText()}catch{t=U()}else t=U();typeof e=="function"&&e(t)}function U(){let e=document.createElement("textarea");document.body.appendChild(e),e.focus(),document.execCommand("paste");let t=e.value;return document.body.removeChild(e),t}function q(e,t){const o=10**t;return Math.round(e*o)/o}function G(e){var t=new Date,o=t.getFullYear(),l=t.getMonth()+1,m=t.getDate(),x=t.getHours(),_=t.getMinutes(),T=t.getSeconds();return`${o}-${b(l)}-${b(m)} ${b(x)}:${b(_)}:${b(T)}`}function b(e){return e=e.toString(),e[1]?e:"0"+e}function I(e){return e==="image"?"image/jpg,image/png,image/jpeg,image/gif,image/bmp":"image/jpg,image/png,image/jpeg,image/gif,image/bmp,text/plain,application/pdf,application/msword,application/vnd.ms-excel,application/octet-stream,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.wordprocessingml.document"}function Q(e){return e==="image"?100:1024}function H(e){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}function Y(e){let t=new Map;return e.indexOf("?")===-1||e.slice(e.indexOf("?")+1).split("&").map(o=>o.split("=")).map(([o,l])=>(t.set(o,l),{key:o,value:l})),Object.fromEntries(t)}function W(e,t){M&&clearTimeout(M);let o=e.length===0?0:5e3;X(JSON.stringify(e))/1024>1024&&(o=12e3),M=setTimeout(()=>{const m=z.compressToUTF16(JSON.stringify(e));t.ls.set("PAGE_DESIGNER_DATA",m),clearTimeout(M)},o)}function X(e){let t=0;for(let o=0;o<e.length;o++){const l=e.charCodeAt(o);l<=127?t+=1:l<=2047?t+=2:l<=65535?t+=3:t+=4}return t}function P(e,t){return`${e}_${t}_`}exports.LZString=z;exports.camelCases=C;exports.clipboardContent=K;exports.compressToUTF16=W;exports.convertCurrency=R;exports.copyTextToClipboard=F;exports.formatting=k;exports.getCurrentTime=G;exports.getEchartColumnName=D;exports.getFileAccept=I;exports.getFileSize=Q;exports.getMultiple=$;exports.getParamsQuery=Y;exports.isJson=Z;exports.isValidURL=H;exports.menuEscapes=O;exports.prefixTransKey=P;exports.roundNumber=q;exports.sort=E;exports.transKeyCodeName=B;exports.translateLanguageName=J;exports.treeToArray=L;exports.uuid=N;
|
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
var U = { exports: {} };
|
|
2
|
+
(function(e) {
|
|
3
|
+
var t = function() {
|
|
4
|
+
var o = String.fromCharCode, l = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", x = {};
|
|
5
|
+
function S(r, i) {
|
|
6
|
+
if (!x[r]) {
|
|
7
|
+
x[r] = {};
|
|
8
|
+
for (var c = 0; c < r.length; c++)
|
|
9
|
+
x[r][r.charAt(c)] = c;
|
|
10
|
+
}
|
|
11
|
+
return x[r][i];
|
|
12
|
+
}
|
|
13
|
+
var _ = {
|
|
14
|
+
compressToBase64: function(r) {
|
|
15
|
+
if (r == null)
|
|
16
|
+
return "";
|
|
17
|
+
var i = _._compress(r, 6, function(c) {
|
|
18
|
+
return l.charAt(c);
|
|
19
|
+
});
|
|
20
|
+
switch (i.length % 4) {
|
|
21
|
+
default:
|
|
22
|
+
case 0:
|
|
23
|
+
return i;
|
|
24
|
+
case 1:
|
|
25
|
+
return i + "===";
|
|
26
|
+
case 2:
|
|
27
|
+
return i + "==";
|
|
28
|
+
case 3:
|
|
29
|
+
return i + "=";
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
decompressFromBase64: function(r) {
|
|
33
|
+
return r == null ? "" : r == "" ? null : _._decompress(r.length, 32, function(i) {
|
|
34
|
+
return S(l, r.charAt(i));
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
compressToUTF16: function(r) {
|
|
38
|
+
return r == null ? "" : _._compress(r, 15, function(i) {
|
|
39
|
+
return o(i + 32);
|
|
40
|
+
}) + " ";
|
|
41
|
+
},
|
|
42
|
+
decompressFromUTF16: function(r) {
|
|
43
|
+
return r == null ? "" : r == "" ? null : _._decompress(r.length, 16384, function(i) {
|
|
44
|
+
return r.charCodeAt(i) - 32;
|
|
45
|
+
});
|
|
46
|
+
},
|
|
47
|
+
compressToUint8Array: function(r) {
|
|
48
|
+
for (var i = _.compress(r), c = new Uint8Array(i.length * 2), a = 0, s = i.length; a < s; a++) {
|
|
49
|
+
var v = i.charCodeAt(a);
|
|
50
|
+
c[a * 2] = v >>> 8, c[a * 2 + 1] = v % 256;
|
|
51
|
+
}
|
|
52
|
+
return c;
|
|
53
|
+
},
|
|
54
|
+
decompressFromUint8Array: function(r) {
|
|
55
|
+
if (r == null)
|
|
56
|
+
return _.decompress(r);
|
|
57
|
+
for (var i = new Array(r.length / 2), c = 0, a = i.length; c < a; c++)
|
|
58
|
+
i[c] = r[c * 2] * 256 + r[c * 2 + 1];
|
|
59
|
+
var s = [];
|
|
60
|
+
return i.forEach(function(v) {
|
|
61
|
+
s.push(o(v));
|
|
62
|
+
}), _.decompress(s.join(""));
|
|
63
|
+
},
|
|
64
|
+
compressToEncodedURIComponent: function(r) {
|
|
65
|
+
return r == null ? "" : _._compress(r, 6, function(i) {
|
|
66
|
+
return h.charAt(i);
|
|
67
|
+
});
|
|
68
|
+
},
|
|
69
|
+
decompressFromEncodedURIComponent: function(r) {
|
|
70
|
+
return r == null ? "" : r == "" ? null : (r = r.replace(/ /g, "+"), _._decompress(r.length, 32, function(i) {
|
|
71
|
+
return S(h, r.charAt(i));
|
|
72
|
+
}));
|
|
73
|
+
},
|
|
74
|
+
compress: function(r) {
|
|
75
|
+
return _._compress(r, 16, function(i) {
|
|
76
|
+
return o(i);
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
_compress: function(r, i, c) {
|
|
80
|
+
if (r == null)
|
|
81
|
+
return "";
|
|
82
|
+
var a, s, v = {}, w = {}, A = "", b = "", m = "", y = 2, g = 3, p = 2, d = [], n = 0, u = 0, f;
|
|
83
|
+
for (f = 0; f < r.length; f += 1)
|
|
84
|
+
if (A = r.charAt(f), Object.prototype.hasOwnProperty.call(v, A) || (v[A] = g++, w[A] = !0), b = m + A, Object.prototype.hasOwnProperty.call(v, b))
|
|
85
|
+
m = b;
|
|
86
|
+
else {
|
|
87
|
+
if (Object.prototype.hasOwnProperty.call(w, m)) {
|
|
88
|
+
if (m.charCodeAt(0) < 256) {
|
|
89
|
+
for (a = 0; a < p; a++)
|
|
90
|
+
n = n << 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++;
|
|
91
|
+
for (s = m.charCodeAt(0), a = 0; a < 8; a++)
|
|
92
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
93
|
+
} else {
|
|
94
|
+
for (s = 1, a = 0; a < p; a++)
|
|
95
|
+
n = n << 1 | s, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = 0;
|
|
96
|
+
for (s = m.charCodeAt(0), a = 0; a < 16; a++)
|
|
97
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
98
|
+
}
|
|
99
|
+
y--, y == 0 && (y = Math.pow(2, p), p++), delete w[m];
|
|
100
|
+
} else
|
|
101
|
+
for (s = v[m], a = 0; a < p; a++)
|
|
102
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
103
|
+
y--, y == 0 && (y = Math.pow(2, p), p++), v[b] = g++, m = String(A);
|
|
104
|
+
}
|
|
105
|
+
if (m !== "") {
|
|
106
|
+
if (Object.prototype.hasOwnProperty.call(w, m)) {
|
|
107
|
+
if (m.charCodeAt(0) < 256) {
|
|
108
|
+
for (a = 0; a < p; a++)
|
|
109
|
+
n = n << 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++;
|
|
110
|
+
for (s = m.charCodeAt(0), a = 0; a < 8; a++)
|
|
111
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
112
|
+
} else {
|
|
113
|
+
for (s = 1, a = 0; a < p; a++)
|
|
114
|
+
n = n << 1 | s, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = 0;
|
|
115
|
+
for (s = m.charCodeAt(0), a = 0; a < 16; a++)
|
|
116
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
117
|
+
}
|
|
118
|
+
y--, y == 0 && (y = Math.pow(2, p), p++), delete w[m];
|
|
119
|
+
} else
|
|
120
|
+
for (s = v[m], a = 0; a < p; a++)
|
|
121
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
122
|
+
y--, y == 0 && (y = Math.pow(2, p), p++);
|
|
123
|
+
}
|
|
124
|
+
for (s = 2, a = 0; a < p; a++)
|
|
125
|
+
n = n << 1 | s & 1, u == i - 1 ? (u = 0, d.push(c(n)), n = 0) : u++, s = s >> 1;
|
|
126
|
+
for (; ; )
|
|
127
|
+
if (n = n << 1, u == i - 1) {
|
|
128
|
+
d.push(c(n));
|
|
129
|
+
break;
|
|
130
|
+
} else
|
|
131
|
+
u++;
|
|
132
|
+
return d.join("");
|
|
133
|
+
},
|
|
134
|
+
decompress: function(r) {
|
|
135
|
+
return r == null ? "" : r == "" ? null : _._decompress(r.length, 32768, function(i) {
|
|
136
|
+
return r.charCodeAt(i);
|
|
137
|
+
});
|
|
138
|
+
},
|
|
139
|
+
_decompress: function(r, i, c) {
|
|
140
|
+
var a = [], s = 4, v = 4, w = 3, A = "", b = [], m, y, g, p, d, n, u, f = { val: c(0), position: i, index: 1 };
|
|
141
|
+
for (m = 0; m < 3; m += 1)
|
|
142
|
+
a[m] = m;
|
|
143
|
+
for (g = 0, d = Math.pow(2, 2), n = 1; n != d; )
|
|
144
|
+
p = f.val & f.position, f.position >>= 1, f.position == 0 && (f.position = i, f.val = c(f.index++)), g |= (p > 0 ? 1 : 0) * n, n <<= 1;
|
|
145
|
+
switch (g) {
|
|
146
|
+
case 0:
|
|
147
|
+
for (g = 0, d = Math.pow(2, 8), n = 1; n != d; )
|
|
148
|
+
p = f.val & f.position, f.position >>= 1, f.position == 0 && (f.position = i, f.val = c(f.index++)), g |= (p > 0 ? 1 : 0) * n, n <<= 1;
|
|
149
|
+
u = o(g);
|
|
150
|
+
break;
|
|
151
|
+
case 1:
|
|
152
|
+
for (g = 0, d = Math.pow(2, 16), n = 1; n != d; )
|
|
153
|
+
p = f.val & f.position, f.position >>= 1, f.position == 0 && (f.position = i, f.val = c(f.index++)), g |= (p > 0 ? 1 : 0) * n, n <<= 1;
|
|
154
|
+
u = o(g);
|
|
155
|
+
break;
|
|
156
|
+
case 2:
|
|
157
|
+
return "";
|
|
158
|
+
}
|
|
159
|
+
for (a[3] = u, y = u, b.push(u); ; ) {
|
|
160
|
+
if (f.index > r)
|
|
161
|
+
return "";
|
|
162
|
+
for (g = 0, d = Math.pow(2, w), n = 1; n != d; )
|
|
163
|
+
p = f.val & f.position, f.position >>= 1, f.position == 0 && (f.position = i, f.val = c(f.index++)), g |= (p > 0 ? 1 : 0) * n, n <<= 1;
|
|
164
|
+
switch (u = g) {
|
|
165
|
+
case 0:
|
|
166
|
+
for (g = 0, d = Math.pow(2, 8), n = 1; n != d; )
|
|
167
|
+
p = f.val & f.position, f.position >>= 1, f.position == 0 && (f.position = i, f.val = c(f.index++)), g |= (p > 0 ? 1 : 0) * n, n <<= 1;
|
|
168
|
+
a[v++] = o(g), u = v - 1, s--;
|
|
169
|
+
break;
|
|
170
|
+
case 1:
|
|
171
|
+
for (g = 0, d = Math.pow(2, 16), n = 1; n != d; )
|
|
172
|
+
p = f.val & f.position, f.position >>= 1, f.position == 0 && (f.position = i, f.val = c(f.index++)), g |= (p > 0 ? 1 : 0) * n, n <<= 1;
|
|
173
|
+
a[v++] = o(g), u = v - 1, s--;
|
|
174
|
+
break;
|
|
175
|
+
case 2:
|
|
176
|
+
return b.join("");
|
|
177
|
+
}
|
|
178
|
+
if (s == 0 && (s = Math.pow(2, w), w++), a[u])
|
|
179
|
+
A = a[u];
|
|
180
|
+
else if (u === v)
|
|
181
|
+
A = y + y.charAt(0);
|
|
182
|
+
else
|
|
183
|
+
return null;
|
|
184
|
+
b.push(A), a[v++] = y + A.charAt(0), s--, y = A, s == 0 && (s = Math.pow(2, w), w++);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
return _;
|
|
189
|
+
}();
|
|
190
|
+
e != null ? e.exports = t : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
|
|
191
|
+
return t;
|
|
192
|
+
});
|
|
193
|
+
})(U);
|
|
194
|
+
const z = U.exports;
|
|
195
|
+
var T = null;
|
|
196
|
+
function k(e) {
|
|
197
|
+
switch (e) {
|
|
198
|
+
case "Log/vislog":
|
|
199
|
+
return "Vislog";
|
|
200
|
+
default:
|
|
201
|
+
return e;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
function L(e) {
|
|
205
|
+
let t = "";
|
|
206
|
+
return e && e.split("_").forEach((l, h) => {
|
|
207
|
+
t += l.replace(l[0], l[0].toUpperCase());
|
|
208
|
+
}), t;
|
|
209
|
+
}
|
|
210
|
+
function N(e = 36, t = !0, o = !0) {
|
|
211
|
+
let l = [], h = "0123456789abcdefghijklnmopqrstvuwxyz";
|
|
212
|
+
t || (h = "abcdefghijklnmopqrstvuwxyz");
|
|
213
|
+
let x = h.toString().length - Math.round(Math.random() * 10);
|
|
214
|
+
for (var S = 0; S < e; S++)
|
|
215
|
+
l[S] = h.substr(Math.floor(Math.random() * x), 1);
|
|
216
|
+
return o && (l[0] = "u"), l[19] && (l[19] = h.substr(l[19] & 3 | 8, 1)), l.join("");
|
|
217
|
+
}
|
|
218
|
+
function D(e, t = "children") {
|
|
219
|
+
const o = [];
|
|
220
|
+
for (; e.length; ) {
|
|
221
|
+
const l = e[0];
|
|
222
|
+
o.push(l), e.shift(), l[t] && l[t].length && e.push(...l[t]);
|
|
223
|
+
}
|
|
224
|
+
return o;
|
|
225
|
+
}
|
|
226
|
+
function j(e) {
|
|
227
|
+
if (e.length <= 1)
|
|
228
|
+
return e;
|
|
229
|
+
for (var t = Math.floor(e.length / 2), o = e.splice(t, 1)[0], l = [], h = [], x = 0; x < e.length; x++)
|
|
230
|
+
e[x].order < o.order ? l.push(e[x]) : h.push(e[x]);
|
|
231
|
+
return j(l).concat([o], j(h));
|
|
232
|
+
}
|
|
233
|
+
function $(e) {
|
|
234
|
+
if (!e)
|
|
235
|
+
return "";
|
|
236
|
+
let t = [...e];
|
|
237
|
+
if (t.length === 0)
|
|
238
|
+
return "";
|
|
239
|
+
let o = [];
|
|
240
|
+
return t.forEach((l) => {
|
|
241
|
+
(typeof l == "string" || typeof l == "number") && o.push(l);
|
|
242
|
+
}), o.join(",");
|
|
243
|
+
}
|
|
244
|
+
function C(e, t) {
|
|
245
|
+
const o = t.fkentityname ? t.fkentityname : t.fketityname;
|
|
246
|
+
switch (t.effecttype) {
|
|
247
|
+
case "fk":
|
|
248
|
+
return e.columnname + o + t.columnname;
|
|
249
|
+
case "user":
|
|
250
|
+
return e.columnname + o + t.columnname;
|
|
251
|
+
case "about":
|
|
252
|
+
return t.relations.toLowerCase();
|
|
253
|
+
default:
|
|
254
|
+
return t.columnname;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
function R(e) {
|
|
258
|
+
var t = new Array("\u96F6", "\u58F9", "\u8D30", "\u53C1", "\u8086", "\u4F0D", "\u9646", "\u67D2", "\u634C", "\u7396"), o = new Array("", "\u62FE", "\u4F70", "\u4EDF"), l = new Array("", "\u4E07", "\u4EBF", "\u5146"), h = new Array("\u89D2", "\u5206", "\u6BEB", "\u5398"), x = "\u6574", S = "\u5143", _ = 1e15, r, i, c = "", a;
|
|
259
|
+
if (e == "" || (e = parseFloat(e), e >= _))
|
|
260
|
+
return "";
|
|
261
|
+
if (e == 0)
|
|
262
|
+
return c = t[0] + S + x, c;
|
|
263
|
+
if (e = e.toString(), e.indexOf(".") == -1 ? (r = e, i = "") : (a = e.split("."), r = a[0], i = a[1].substr(0, 4)), parseInt(r, 10) > 0) {
|
|
264
|
+
for (var s = 0, v = r.length, w = 0; w < v; w++) {
|
|
265
|
+
var A = r.substr(w, 1), b = v - w - 1, m = b / 4, y = b % 4;
|
|
266
|
+
A == "0" ? s++ : (s > 0 && (c += t[0]), s = 0, c += t[parseInt(A)] + o[y]), y == 0 && s < 4 && (c += l[m]);
|
|
267
|
+
}
|
|
268
|
+
c += S;
|
|
269
|
+
}
|
|
270
|
+
if (i != "")
|
|
271
|
+
for (var g = i.length, w = 0; w < g; w++) {
|
|
272
|
+
var A = i.substr(w, 1);
|
|
273
|
+
A != "0" && (c += t[Number(A)] + h[w]);
|
|
274
|
+
}
|
|
275
|
+
return c == "" ? c += t[0] + S + x : i == "" && (c += x), c;
|
|
276
|
+
}
|
|
277
|
+
function B(e) {
|
|
278
|
+
let t = 1, o = e.displayMode ? e.displayMode : "none";
|
|
279
|
+
return o === "percent" ? t = 100 : o === "permil" && (t = 1e3), t;
|
|
280
|
+
}
|
|
281
|
+
function Z(e) {
|
|
282
|
+
if (typeof e == "string")
|
|
283
|
+
try {
|
|
284
|
+
var t = JSON.parse(e);
|
|
285
|
+
return !!(typeof t == "object" && t);
|
|
286
|
+
} catch {
|
|
287
|
+
return !1;
|
|
288
|
+
}
|
|
289
|
+
else
|
|
290
|
+
return !1;
|
|
291
|
+
}
|
|
292
|
+
function J(e) {
|
|
293
|
+
switch (e) {
|
|
294
|
+
case "zh_CN":
|
|
295
|
+
return {
|
|
296
|
+
name: "\u7B80\u4F53\u4E2D\u6587:",
|
|
297
|
+
order: 1
|
|
298
|
+
};
|
|
299
|
+
case "en_US":
|
|
300
|
+
return {
|
|
301
|
+
name: "English (USA):",
|
|
302
|
+
order: 2
|
|
303
|
+
};
|
|
304
|
+
case "vi_VN":
|
|
305
|
+
return {
|
|
306
|
+
name: "Ti\u1EBFng Vi\u1EC7t:",
|
|
307
|
+
order: 3
|
|
308
|
+
};
|
|
309
|
+
case "id_ID":
|
|
310
|
+
return {
|
|
311
|
+
name: "Indonesia:",
|
|
312
|
+
order: 4
|
|
313
|
+
};
|
|
314
|
+
default:
|
|
315
|
+
return {
|
|
316
|
+
name: "\u7B80\u4F53\u4E2D\u6587:",
|
|
317
|
+
order: 1
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
function q(e, t, o) {
|
|
322
|
+
let l = t.split("."), h = e;
|
|
323
|
+
return l.forEach((x) => {
|
|
324
|
+
h ? h = h[x] : h = null;
|
|
325
|
+
}), h || o;
|
|
326
|
+
}
|
|
327
|
+
async function G(e, t) {
|
|
328
|
+
if (navigator.clipboard)
|
|
329
|
+
await navigator.clipboard.writeText(e);
|
|
330
|
+
else {
|
|
331
|
+
const o = document.createElement("textarea");
|
|
332
|
+
o.value = e, document.body.appendChild(o), o.select(), document.execCommand("copy"), document.body.removeChild(o);
|
|
333
|
+
}
|
|
334
|
+
typeof t == "function" && t();
|
|
335
|
+
}
|
|
336
|
+
async function I(e) {
|
|
337
|
+
let t = "";
|
|
338
|
+
if (navigator.clipboard && navigator.clipboard.readText)
|
|
339
|
+
try {
|
|
340
|
+
t = await navigator.clipboard.readText();
|
|
341
|
+
} catch {
|
|
342
|
+
t = E();
|
|
343
|
+
}
|
|
344
|
+
else
|
|
345
|
+
t = E();
|
|
346
|
+
typeof e == "function" && e(t);
|
|
347
|
+
}
|
|
348
|
+
function E() {
|
|
349
|
+
let e = document.createElement("textarea");
|
|
350
|
+
document.body.appendChild(e), e.focus(), document.execCommand("paste");
|
|
351
|
+
let t = e.value;
|
|
352
|
+
return document.body.removeChild(e), t;
|
|
353
|
+
}
|
|
354
|
+
function K(e, t) {
|
|
355
|
+
const o = 10 ** t;
|
|
356
|
+
return Math.round(e * o) / o;
|
|
357
|
+
}
|
|
358
|
+
function F(e) {
|
|
359
|
+
var t = new Date(), o = t.getFullYear(), l = t.getMonth() + 1, h = t.getDate(), x = t.getHours(), S = t.getMinutes(), _ = t.getSeconds();
|
|
360
|
+
return `${o}-${M(l)}-${M(h)} ${M(x)}:${M(S)}:${M(_)}`;
|
|
361
|
+
}
|
|
362
|
+
function M(e) {
|
|
363
|
+
return e = e.toString(), e[1] ? e : "0" + e;
|
|
364
|
+
}
|
|
365
|
+
function H(e) {
|
|
366
|
+
return e === "image" ? "image/jpg,image/png,image/jpeg,image/gif,image/bmp" : "image/jpg,image/png,image/jpeg,image/gif,image/bmp,text/plain,application/pdf,application/msword,application/vnd.ms-excel,application/octet-stream,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
367
|
+
}
|
|
368
|
+
function Q(e) {
|
|
369
|
+
return e === "image" ? 100 : 1024;
|
|
370
|
+
}
|
|
371
|
+
function Y(e) {
|
|
372
|
+
return !!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", "i").test(e);
|
|
373
|
+
}
|
|
374
|
+
function W(e) {
|
|
375
|
+
let t = /* @__PURE__ */ new Map();
|
|
376
|
+
return e.indexOf("?") === -1 || e.slice(e.indexOf("?") + 1).split("&").map((o) => o.split("=")).map(([o, l]) => (t.set(o, l), {
|
|
377
|
+
key: o,
|
|
378
|
+
value: l
|
|
379
|
+
})), Object.fromEntries(t);
|
|
380
|
+
}
|
|
381
|
+
function X(e, t) {
|
|
382
|
+
T && clearTimeout(T);
|
|
383
|
+
let o = e.length === 0 ? 0 : 5e3;
|
|
384
|
+
O(JSON.stringify(e)) / 1024 > 1024 && (o = 12e3), T = setTimeout(() => {
|
|
385
|
+
const h = z.compressToUTF16(JSON.stringify(e));
|
|
386
|
+
t.ls.set("PAGE_DESIGNER_DATA", h), clearTimeout(T);
|
|
387
|
+
}, o);
|
|
388
|
+
}
|
|
389
|
+
function O(e) {
|
|
390
|
+
let t = 0;
|
|
391
|
+
for (let o = 0; o < e.length; o++) {
|
|
392
|
+
const l = e.charCodeAt(o);
|
|
393
|
+
l <= 127 ? t += 1 : l <= 2047 ? t += 2 : l <= 65535 ? t += 3 : t += 4;
|
|
394
|
+
}
|
|
395
|
+
return t;
|
|
396
|
+
}
|
|
397
|
+
function P(e, t) {
|
|
398
|
+
return `${e}_${t}_`;
|
|
399
|
+
}
|
|
400
|
+
export {
|
|
401
|
+
z as L,
|
|
402
|
+
G as a,
|
|
403
|
+
H as b,
|
|
404
|
+
I as c,
|
|
405
|
+
Q as d,
|
|
406
|
+
J as e,
|
|
407
|
+
$ as f,
|
|
408
|
+
W as g,
|
|
409
|
+
R as h,
|
|
410
|
+
Z as i,
|
|
411
|
+
F as j,
|
|
412
|
+
B as k,
|
|
413
|
+
Y as l,
|
|
414
|
+
C as m,
|
|
415
|
+
X as n,
|
|
416
|
+
q as o,
|
|
417
|
+
P as p,
|
|
418
|
+
L as q,
|
|
419
|
+
K as r,
|
|
420
|
+
j as s,
|
|
421
|
+
D as t,
|
|
422
|
+
N as u,
|
|
423
|
+
k as v
|
|
424
|
+
};
|