From 48e34c7b314d4f51f42bd12cd1b163f4fc15de04 Mon Sep 17 00:00:00 2001 From: ChuChencheng Date: Sun, 11 Aug 2024 03:33:26 +0800 Subject: [PATCH] feat: update types --- tsconfig.tsbuildinfo | 2 +- types/components/Tree.vue.d.ts | 20 +++++++++++--------- types/components/TreeDrop.vue.d.ts | 26 ++++++++++++++------------ types/components/TreeSearch.vue.d.ts | 22 ++++++++++++---------- types/constants/index.d.ts | 4 ++-- types/hooks/usePublicTreeAPI.d.ts | 2 ++ types/store/tree-store.d.ts | 22 +++++++++++++++++----- types/types/index.d.ts | 4 ++++ 8 files changed, 63 insertions(+), 39 deletions(-) diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo index 60517ca..88d60c9 100644 --- a/tsconfig.tsbuildinfo +++ b/tsconfig.tsbuildinfo @@ -1 +1 @@ -{"program":{"fileNames":["./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2023.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.array.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.error.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.regexp.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2023.array.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2023.collection.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.collection.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.decorators.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.d.ts","./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/.pnpm/@vue+shared@3.4.30/node_modules/@vue/shared/dist/shared.d.ts","./node_modules/.pnpm/@vue+compiler-core@3.4.30/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","./node_modules/.pnpm/@vue+compiler-dom@3.4.30/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","./node_modules/.pnpm/@vue+reactivity@3.4.30/node_modules/@vue/reactivity/dist/reactivity.d.ts","./node_modules/.pnpm/@vue+runtime-core@3.4.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","./node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","./node_modules/.pnpm/@vue+runtime-dom@3.4.30/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","./node_modules/.pnpm/vue@3.4.30_typescript@5.4.5/node_modules/vue/dist/vue.d.ts","./src/env.d.ts","./node_modules/.pnpm/vue@3.4.30_typescript@5.4.5/node_modules/vue/jsx-runtime/index.d.ts","./src/constants/index.ts","./src/types/index.ts","./src/store/tree-node.ts","./src/store/tree-event-target.ts","./src/store/tree-store.ts","./src/store/index.ts","./src/components/loadingicon.vue","./src/constants/events.ts","./src/hooks/usetreenodecls.ts","./src/components/treenode.vue","./src/hooks/usetreecls.ts","./src/hooks/usevirtuallist.ts","./src/hooks/useiframeresize.ts","./src/hooks/usepublictreeapi.ts","./src/utils.ts","./src/hooks/useexpandanimation.ts","./src/components/tree.vue","./src/hooks/usetreesearchcls.ts","./src/components/treesearch.vue","./src/hooks/usetreedropcls.ts","./src/components/treedrop.vue","./src/index.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/hmrpayload.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/customevent.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/hot.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/importglob.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/importmeta.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/client.d.ts","./src/vite-env.d.ts","./node_modules/.pnpm/vue@3.4.29_typescript@5.4.5/node_modules/vue/dist/vue.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","5f02abbb1b17e3d1e68c5eea14adf4705696e6255e2982b010c0dc2a5417b606","6dcb89623cc070c3b2a29218f99a3501041b3ac3fc4c80ee7083b99ba320a694","dcd9523c1e55d7ddfbdc99cfe04d89b475ccad640cfeb574bf48dd6558240eb9","cf76e2f59b26aea7c923015783083b4820d6c0d85cda2fec3a0f232aabfc56c3","9ab0867560be107f6fe6396655a3056f63468d72a36af8dd1d596f553e253887",{"version":"fa998cc2cec43d6aea9d2309684c81132a5abdf56c4f6652cab4670ba92dc500","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","151cfb303a9c1805f414d8d448183edaa616474da7523023d4048ed4a3d5f91d","c0191592be8eb7906f99ac4b8798d80a585b94001ea1a5f50d6ce5b0d13a5c62","0061c087ec8109c283988a398e5155cb9894bcb3aed39b5cbbc00b6c8486c523","9c077ba346f2891d1725d6cbf1ff8bc7ca075ccff10d1ea38eda571245df0eeb",{"version":"0dc4f8dcc231c5d68e913a191530b3660c0f2e3ac51634a491af6980d9c1b273","signature":"0746be796ab0d24f92070647777fc4bad04f2152b3c32c36f1fafe51350310d5"},{"version":"41b056259082d40ea1e0be3d3a2c863689ab44b4bba00da27a2d4d150eb9ca35","signature":"a68e9d884850eef8e5fce88407dd12acf89bfaea029780c32e4fce7e6af9f57c"},{"version":"f49141065651c11d754ee88bd2a3eb1445ca7caa7e593fba441540dd51c6d18e","signature":"c8f3ddebfb82319d72a5395e20d2a57ff0a986fe4cf3607dc7b9d45796db18d1"},{"version":"98efc79e4d4886728eac419cc0ab107159c78a48cb382b5ea55e1ba914263e5f","signature":"5da339ef944d33997e84fe29c47d644c1fd57950880c909be0fbbb44b83149cf"},{"version":"1d30e4393076ec1297237449107bb8ed3abbdec44deb67b8046faa26399dbf7d","signature":"1627f8cc5f6348ff5af743a1f8f55370422a7d443f22aa440887370999cc4a92"},{"version":"b865a704defacff59c3bb720160484a54e289cfdd989612486e6f01be6290f7b","signature":"39d41b5a776ff01c0a42a1027da60595ebb0516275c3f7ff60bdc4a09bad8ebb"},{"version":"316ba102614e57348139a6e79eada372f493af08b3aad732778a486d715f37a8","signature":"ea2f54194f8e10a8f031fa7838ccdd9bb0247793abbf93965d0f3a9e66d4e45d"},{"version":"9679dae9dda620aeba88f0cebfb0b8b7d007eb3c17439c3f70b6ccb29504caa3","signature":"a531c03cfa02552a302a2ca8b815de555ad65e13e75307936c58611370be1612"},{"version":"c34be9c61edd3a50b59b0ca8a3ec59e6cd2d195900e94330e371c1755451330c","signature":"92c2afb5b02cb620c135cae53e545ee56884dd771c2eddda6063203c8e5bc659"},{"version":"01341f73edc7cc04e00651f053087b63a73bb8444b4bce2f75e7ee84275c856b","signature":"544c54187f2d74f69e1378460048adadf0e5a83b75e0eff28ebde5e715a47144"},{"version":"4425c46200dbdbc8205e90ba27de66d7e577d0dbd637713be867ac909f0d0d62","signature":"0cdd31c161a88c071695c17d64715aa2445a7b8ce7dacb55031c79e82c328e12"},{"version":"19a5ddf1f3c9b6fa3fa9a101e0c284e483fe872ced97aa33d5de8765f0729892","signature":"17667536f7a1fbc5d11d9ae34eddd390c135fdba6b2098a220222a3017bf2f7e"},{"version":"5dc2af6c8e885efebaade7511552ded17afc1c0743cc61df0b48cbef94d857c7","signature":"579b26bb470532cef36e56be304e17bab9533a9f74d4505b6ce41579afe8d51d"},{"version":"45d75215a88cc0c65d87e4873757fce2e4a36680513c324e1a41701614c855b3","signature":"34381759f0c10e533da298e079afdde1adcabb9f2e6317511736ec9a4371ce1d"},{"version":"a155116d9201e6f1b8639c6970f9f6bbe672b6c34d4f87ddbc57ae7ca5da738f","signature":"79b52efba7de52e36b1196573c6ca2ead2957e965aa773fabd3a6e09955b418f"},{"version":"3ea6e0165c3e6a2e9346f41378940ac1404b3499555d6f020e394fa4684d2c86","signature":"80295d98b3fbd7e5e15f8720ea14481620b8209d31565e4cedd465ee8263ac62"},{"version":"bf1dc5aa0f563f288e82f3b1017ba5bafd116141b0496c2588bacd3b033d2223","signature":"e3c8153cb86e2df1b4c04539af98e2db4c44b0e67cb5f245c7b4d1dbbd2d38e9","affectsGlobalScope":true},{"version":"0e31fd88258ac0b9b1f865d2cddcd0495b24ea817d72e743dc785f4e290024df","signature":"1794152c57b71823a51e27efb1365ff77db6e0b6440de11f2250a467fbfc0840"},{"version":"1c059d01d97362c6402ddd118da56ee402a24e0aa7e187d13c13399132e2988d","signature":"25632230115d8e78ba5b436ca1803fc0beb85ad8c6ab80a827d6a7ab3b6bb9a3"},{"version":"4fa0b6c7e6edcda5c144e3dfdd565bb96be4238b524fd0da6d4de002cd22622d","signature":"82b632edf79a19253444e341d704fc63ff22f21371c95974be7e8071260ddb42"},{"version":"7fc0f0bf1aed641cacbfbf053873dd7bdb118e16747dad372a8d3b7da55678c9","signature":"2e79802b6b0f75124cf37651ad4b11c56612067ce59d09928e2c01f40cbf63f0"},{"version":"c786eab737522209c93caeebbc2fd0c38e901a13e897b6c736f1e74459b090a7","signature":"698cef40f46a4aa3441936fe00b474e55dede36f6877ed05bbb693583395f295"},"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea",{"version":"4025a454b1ca489b179ee8c684bdd70ff8c1967e382076ade53e7e4653e1daec","affectsGlobalScope":true},{"version":"c4baf2c38b00f29adfb4e60554de4152ebf4c17f3365c0f2ff34af7f3b35ef1d","affectsGlobalScope":true},"65996936fbb042915f7b74a200fcdde7e410f32a669b1ab9597cfaa4b0faddb5"],"root":[79,[81,102],109],"options":{"composite":true,"declaration":true,"declarationDir":"./types","emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noImplicitAny":true,"rootDir":"./src","skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[69],[69,70,71],[72],[71],[71,74,75,77],[74,75,76],[107],[103],[104],[105,106],[73,77],[77],[78,80,87,97],[78,80,81,82,85,86,87,88,90,91,92,93,94,95,96,97],[78,80,81,82,86,88,95,97,99,100],[78,80,81,82,86,87,88,89,97],[78,80,81,88,95,97,98,102],[80,84],[80],[78,97],[78,80,86,97],[78,80,97],[78,80,82,83,85,97,102],[78,80,97,98,101],[78,80,90,97],[78,80,89,97,99],[78,80,81,82,97,102],[80,82,86,90,97,99,101,108],[80,83,85],[80,82,83],[80,82],[80,81,82,83,84],[80,81,86],[108],[78,80,81,82,83,85,86,97],[78,81,82,83,85,86,97,99],[78,82,86,97],[78,81,83,85,97,102],[84],[110],[78,83,86,97],[78,82,83,85,97,102],[78,97,101],[78,90,97],[78,97,99],[78,81,82,83,97],[82,86,90,97,99,101,108],[83,85],[82,83],[82],[82,83,84],[81,86]],"referencedMap":[[70,1],[72,2],[73,3],[74,4],[75,5],[77,6],[108,7],[104,8],[105,9],[107,10],[78,11],[80,12],[87,13],[97,14],[101,15],[90,16],[99,17],[88,18],[81,19],[79,20],[96,21],[93,22],[94,23],[91,22],[100,24],[89,25],[98,26],[92,27],[102,28],[86,29],[84,30],[83,31],[85,32],[82,33],[95,22],[109,34]],"exportedModulesMap":[[70,1],[72,2],[73,3],[74,4],[75,5],[77,6],[108,7],[104,8],[105,9],[107,10],[78,11],[80,12],[87,20],[97,35],[101,36],[90,37],[99,38],[88,39],[79,40],[96,41],[94,42],[91,20],[100,43],[89,44],[98,45],[92,46],[102,47],[86,48],[84,49],[83,50],[85,51],[82,52],[95,20],[109,34]],"semanticDiagnosticsPerFile":[70,69,72,73,74,75,77,71,76,67,68,12,14,13,2,15,16,17,18,19,20,21,22,3,23,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,61,11,65,63,62,66,64,108,104,103,105,106,107,78,80,87,97,101,90,99,88,81,79,96,93,94,91,100,89,98,92,102,86,84,83,85,82,95,109],"latestChangedDtsFile":"./types/components/TreeDrop.vue.d.ts"},"version":"5.4.5"} \ No newline at end of file +{"program":{"fileNames":["./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2023.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.weakref.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2021.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.array.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.error.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.string.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.regexp.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2023.array.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2023.collection.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.collection.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.promise.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.decorators.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.object.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/.pnpm/@babel+types@7.24.7/node_modules/@babel/types/lib/index.d.ts","./node_modules/.pnpm/@babel+parser@7.24.7/node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/.pnpm/@vue+shared@3.4.30/node_modules/@vue/shared/dist/shared.d.ts","./node_modules/.pnpm/@vue+compiler-core@3.4.30/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","./node_modules/.pnpm/@vue+compiler-dom@3.4.30/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","./node_modules/.pnpm/@vue+reactivity@3.4.30/node_modules/@vue/reactivity/dist/reactivity.d.ts","./node_modules/.pnpm/@vue+runtime-core@3.4.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","./node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","./node_modules/.pnpm/@vue+runtime-dom@3.4.30/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","./node_modules/.pnpm/vue@3.4.30_typescript@5.4.5/node_modules/vue/dist/vue.d.ts","./src/env.d.ts","./node_modules/.pnpm/vue@3.4.30_typescript@5.4.5/node_modules/vue/jsx-runtime/index.d.ts","./src/constants/index.ts","./src/types/index.ts","./src/store/tree-node.ts","./src/store/tree-event-target.ts","./src/store/tree-store.ts","./src/store/index.ts","./src/components/loadingicon.vue","./src/constants/events.ts","./src/hooks/usetreenodecls.ts","./src/components/treenode.vue","./src/hooks/usetreecls.ts","./src/hooks/usevirtuallist.ts","./src/hooks/useiframeresize.ts","./src/hooks/usepublictreeapi.ts","./src/utils.ts","./src/hooks/useexpandanimation.ts","./src/components/tree.vue","./src/hooks/usetreesearchcls.ts","./src/components/treesearch.vue","./src/hooks/usetreedropcls.ts","./src/components/treedrop.vue","./src/index.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/hmrpayload.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/customevent.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/hot.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/importglob.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/types/importmeta.d.ts","./node_modules/.pnpm/vite@5.2.13_less@4.2.0/node_modules/vite/client.d.ts","./src/vite-env.d.ts","./node_modules/.pnpm/vue@3.4.29_typescript@5.4.5/node_modules/vue/dist/vue.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","5f02abbb1b17e3d1e68c5eea14adf4705696e6255e2982b010c0dc2a5417b606","6dcb89623cc070c3b2a29218f99a3501041b3ac3fc4c80ee7083b99ba320a694","dcd9523c1e55d7ddfbdc99cfe04d89b475ccad640cfeb574bf48dd6558240eb9","cf76e2f59b26aea7c923015783083b4820d6c0d85cda2fec3a0f232aabfc56c3","9ab0867560be107f6fe6396655a3056f63468d72a36af8dd1d596f553e253887",{"version":"fa998cc2cec43d6aea9d2309684c81132a5abdf56c4f6652cab4670ba92dc500","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","151cfb303a9c1805f414d8d448183edaa616474da7523023d4048ed4a3d5f91d","c0191592be8eb7906f99ac4b8798d80a585b94001ea1a5f50d6ce5b0d13a5c62","0061c087ec8109c283988a398e5155cb9894bcb3aed39b5cbbc00b6c8486c523","9c077ba346f2891d1725d6cbf1ff8bc7ca075ccff10d1ea38eda571245df0eeb",{"version":"873d6ebcbe7ecb85fac34f5bd60cff67e28492974f8f619d99bc853bed5e911d","signature":"bbf82b8663434c3be9b852d9683ca8823cda087540f4b3fb02da58c43d1a2ffb"},{"version":"8e2628bffe56caab2aeeec31aa5bab01e7df0eaed16a6f82b27833f8a9665187","signature":"4f6a271ae23d6044c76588c008102332fb4bc9bd2a14bb09cf4fc9d43af7fd7f"},{"version":"f49141065651c11d754ee88bd2a3eb1445ca7caa7e593fba441540dd51c6d18e","signature":"c8f3ddebfb82319d72a5395e20d2a57ff0a986fe4cf3607dc7b9d45796db18d1"},{"version":"98efc79e4d4886728eac419cc0ab107159c78a48cb382b5ea55e1ba914263e5f","signature":"5da339ef944d33997e84fe29c47d644c1fd57950880c909be0fbbb44b83149cf"},{"version":"bf6dd6d4aa084ec815255db4a9bde66a2ab58ea47397127d807483f06a0fed85","signature":"677e902b48d0cf6a40a55e9eb76857d6dca9d4668d10a665b479d909c8f749c8"},{"version":"b865a704defacff59c3bb720160484a54e289cfdd989612486e6f01be6290f7b","signature":"39d41b5a776ff01c0a42a1027da60595ebb0516275c3f7ff60bdc4a09bad8ebb"},{"version":"316ba102614e57348139a6e79eada372f493af08b3aad732778a486d715f37a8","signature":"ea2f54194f8e10a8f031fa7838ccdd9bb0247793abbf93965d0f3a9e66d4e45d"},{"version":"9679dae9dda620aeba88f0cebfb0b8b7d007eb3c17439c3f70b6ccb29504caa3","signature":"a531c03cfa02552a302a2ca8b815de555ad65e13e75307936c58611370be1612"},{"version":"c34be9c61edd3a50b59b0ca8a3ec59e6cd2d195900e94330e371c1755451330c","signature":"92c2afb5b02cb620c135cae53e545ee56884dd771c2eddda6063203c8e5bc659"},{"version":"7da5806c30de099ee26b6a7bf773c46d367e577b6d9710839a04373458f79dd7","signature":"544c54187f2d74f69e1378460048adadf0e5a83b75e0eff28ebde5e715a47144"},{"version":"4425c46200dbdbc8205e90ba27de66d7e577d0dbd637713be867ac909f0d0d62","signature":"0cdd31c161a88c071695c17d64715aa2445a7b8ce7dacb55031c79e82c328e12"},{"version":"19a5ddf1f3c9b6fa3fa9a101e0c284e483fe872ced97aa33d5de8765f0729892","signature":"17667536f7a1fbc5d11d9ae34eddd390c135fdba6b2098a220222a3017bf2f7e"},{"version":"5dc2af6c8e885efebaade7511552ded17afc1c0743cc61df0b48cbef94d857c7","signature":"579b26bb470532cef36e56be304e17bab9533a9f74d4505b6ce41579afe8d51d"},{"version":"065a6143775e4d3e165923e986f08ece6e4877846f388184ca9bab2c01ef08fc","signature":"5b69072fab1831d8426b68555128eed687346084be9b6367eab5f0fac0449c00"},{"version":"a155116d9201e6f1b8639c6970f9f6bbe672b6c34d4f87ddbc57ae7ca5da738f","signature":"79b52efba7de52e36b1196573c6ca2ead2957e965aa773fabd3a6e09955b418f"},{"version":"3ea6e0165c3e6a2e9346f41378940ac1404b3499555d6f020e394fa4684d2c86","signature":"80295d98b3fbd7e5e15f8720ea14481620b8209d31565e4cedd465ee8263ac62"},{"version":"3b275b7b2868847dc6aec57ee8bd36c20f689ea2801df269cbbf055b02a2a20d","signature":"e05b7eade4ad62ab5ed5014f520a05ec6c1fa0a0c0f5d65ead8eb903127abb6b","affectsGlobalScope":true},{"version":"0e31fd88258ac0b9b1f865d2cddcd0495b24ea817d72e743dc785f4e290024df","signature":"1794152c57b71823a51e27efb1365ff77db6e0b6440de11f2250a467fbfc0840"},{"version":"1c059d01d97362c6402ddd118da56ee402a24e0aa7e187d13c13399132e2988d","signature":"becacd90698e377922c558b494e53d3363139061348387e357b4fc475df71621"},{"version":"4fa0b6c7e6edcda5c144e3dfdd565bb96be4238b524fd0da6d4de002cd22622d","signature":"82b632edf79a19253444e341d704fc63ff22f21371c95974be7e8071260ddb42"},{"version":"7fc0f0bf1aed641cacbfbf053873dd7bdb118e16747dad372a8d3b7da55678c9","signature":"b85aa7f132b654a834fcbbeecb843cc692cae8cbf17ad4d5e9bf28d1b0b0963b"},{"version":"c786eab737522209c93caeebbc2fd0c38e901a13e897b6c736f1e74459b090a7","signature":"698cef40f46a4aa3441936fe00b474e55dede36f6877ed05bbb693583395f295"},"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea",{"version":"4025a454b1ca489b179ee8c684bdd70ff8c1967e382076ade53e7e4653e1daec","affectsGlobalScope":true},{"version":"c4baf2c38b00f29adfb4e60554de4152ebf4c17f3365c0f2ff34af7f3b35ef1d","affectsGlobalScope":true},"65996936fbb042915f7b74a200fcdde7e410f32a669b1ab9597cfaa4b0faddb5"],"root":[79,[81,102],109],"options":{"composite":true,"declaration":true,"declarationDir":"./types","emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noImplicitAny":true,"rootDir":"./src","skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[69],[69,70,71],[72],[71],[71,74,75,77],[74,75,76],[107],[103],[104],[105,106],[73,77],[77],[78,80,87,97],[78,80,81,82,85,86,87,88,90,91,92,93,94,95,96,97],[78,80,81,82,86,88,95,97,99,100],[78,80,81,82,86,87,88,89,97],[78,80,81,88,95,97,98,102],[80,84],[80],[78,97],[78,80,86,97],[78,80,97],[78,80,82,83,85,97,102],[78,80,97,98,101],[78,80,90,97],[78,80,89,97,99],[78,80,81,82,97,102],[80,82,86,90,97,99,101,108],[80,83,85],[80,82,83],[80,82],[80,81,82,83,84],[80,81,86],[108],[78,80,81,82,83,85,86,97],[78,81,82,83,85,86,97,99],[78,82,86,97],[78,81,83,85,97,102],[84],[110],[78,83,86,97],[78,82,83,85,97,102],[78,97,101],[78,90,97],[78,97,99],[78,81,82,83,97],[82,86,90,97,99,101,108],[83,85],[82,83],[82],[82,83,84],[81,86]],"referencedMap":[[70,1],[72,2],[73,3],[74,4],[75,5],[77,6],[108,7],[104,8],[105,9],[107,10],[78,11],[80,12],[87,13],[97,14],[101,15],[90,16],[99,17],[88,18],[81,19],[79,20],[96,21],[93,22],[94,23],[91,22],[100,24],[89,25],[98,26],[92,27],[102,28],[86,29],[84,30],[83,31],[85,32],[82,33],[95,22],[109,34]],"exportedModulesMap":[[70,1],[72,2],[73,3],[74,4],[75,5],[77,6],[108,7],[104,8],[105,9],[107,10],[78,11],[80,12],[87,20],[97,35],[101,36],[90,37],[99,38],[88,39],[79,40],[96,41],[94,42],[91,20],[100,43],[89,44],[98,45],[92,46],[102,47],[86,48],[84,49],[83,50],[85,51],[82,52],[95,20],[109,34]],"semanticDiagnosticsPerFile":[70,69,72,73,74,75,77,71,76,67,68,12,14,13,2,15,16,17,18,19,20,21,22,3,23,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,61,11,65,63,62,66,64,108,104,103,105,106,107,78,80,87,97,101,90,99,88,81,79,96,93,94,91,100,89,98,92,102,86,84,83,85,82,95,109],"latestChangedDtsFile":"./types/components/Tree.vue.d.ts"},"version":"5.4.5"} \ No newline at end of file diff --git a/types/components/Tree.vue.d.ts b/types/components/Tree.vue.d.ts index 22cc64f..b187609 100644 --- a/types/components/Tree.vue.d.ts +++ b/types/components/Tree.vue.d.ts @@ -172,7 +172,9 @@ declare const _default: __VLS_WithTemplateSlots void; showCheckedNodes: (showUnloadCheckedNodes?: boolean | undefined) => void; loadRootNodes: () => Promise; - scrollTo: (key: TreeNodeKeyType, verticalPosition?: number | "top" | "center" | "bottom") => void; + updateNode: (key: TreeNodeKeyType, newNode: import("../store/tree-node").ITreeNodeOptions) => void; + updateNodes: (newNodes: import("../store/tree-node").ITreeNodeOptions[]) => void; + scrollTo: (key: TreeNodeKeyType, verticalPosition?: number | "bottom" | "top" | "center") => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { [x: string]: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly, { @@ -211,25 +213,25 @@ declare const _default: __VLS_WithTemplateSlots boolean; autoLoad: boolean; - unselectOnClick: boolean; loading: boolean; - nodeIndent: number; renderNodeAmount: number; nodeMinHeight: number; bufferNodeAmount: number; diff --git a/types/components/TreeDrop.vue.d.ts b/types/components/TreeDrop.vue.d.ts index 94f3f98..5dc8eb5 100644 --- a/types/components/TreeDrop.vue.d.ts +++ b/types/components/TreeDrop.vue.d.ts @@ -114,8 +114,6 @@ declare const _default: __VLS_WithTemplateSlots, { - filter: (keyword: string, filterMethod?: import("../store/tree-store.js").FilterFunctionType | undefined) => void; - search: (keyword1?: string | undefined) => Promise; setData: (data: import("../types").AnyPropsArrayType) => void; setChecked: (key: TreeNodeKeyType, value: boolean) => void; setCheckedKeys: (keys: TreeNodeKeyType[], value: boolean) => void; @@ -143,11 +141,15 @@ declare const _default: __VLS_WithTemplateSlots TreeNode | null; prepend: (insertedNode: TreeNodeKeyType | import("../store/tree-node.js").ITreeNodeOptions, parentKey: TreeNodeKeyType) => TreeNode | null; remove: (removedKey: TreeNodeKeyType) => TreeNode | null; + filter: (keyword: string, filterMethod?: import("../store/tree-store.js").FilterFunctionType | undefined) => void; showCheckedNodes: (showUnloadCheckedNodes?: boolean | undefined) => void; loadRootNodes: () => Promise; - scrollTo: (key: TreeNodeKeyType, verticalPosition?: number | "top" | "center" | "bottom") => void; + updateNode: (key: TreeNodeKeyType, newNode: import("../store/tree-node.js").ITreeNodeOptions) => void; + updateNodes: (newNodes: import("../store/tree-node.js").ITreeNodeOptions[]) => void; + scrollTo: (key: TreeNodeKeyType, verticalPosition?: number | "bottom" | "top" | "center") => void; clearKeyword: () => void; getKeyword: () => string; + search: (keyword1?: string | undefined) => Promise; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { [x: string]: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly, { @@ -202,25 +204,25 @@ declare const _default: __VLS_WithTemplateSlots boolean; autoLoad: boolean; - unselectOnClick: boolean; loading: boolean; - nodeIndent: number; renderNodeAmount: number; nodeMinHeight: number; bufferNodeAmount: number; @@ -236,7 +238,7 @@ declare const _default: __VLS_WithTemplateSlots, Partial, (_: any) => any>> & { diff --git a/types/components/TreeSearch.vue.d.ts b/types/components/TreeSearch.vue.d.ts index d6f3eec..14777f8 100644 --- a/types/components/TreeSearch.vue.d.ts +++ b/types/components/TreeSearch.vue.d.ts @@ -103,7 +103,6 @@ declare const _default: __VLS_WithTemplateSlots void; getKeyword: () => string; search: (keyword1?: string) => Promise; - filter: (keyword: string, filterMethod?: import("../store/tree-store.js").FilterFunctionType | undefined) => void; setData: (data: import("..").AnyPropsArrayType) => void; setChecked: (key: import("..").TreeNodeKeyType, value: boolean) => void; setCheckedKeys: (keys: import("..").TreeNodeKeyType[], value: boolean) => void; @@ -131,9 +130,12 @@ declare const _default: __VLS_WithTemplateSlots TreeNode | null; prepend: (insertedNode: import("..").TreeNodeKeyType | import("../store/tree-node.js").ITreeNodeOptions, parentKey: import("..").TreeNodeKeyType) => TreeNode | null; remove: (removedKey: import("..").TreeNodeKeyType) => TreeNode | null; + filter: (keyword: string, filterMethod?: import("../store/tree-store.js").FilterFunctionType | undefined) => void; showCheckedNodes: (showUnloadCheckedNodes?: boolean | undefined) => void; loadRootNodes: () => Promise; - scrollTo: (key: import("..").TreeNodeKeyType, verticalPosition?: number | "top" | "center" | "bottom") => void; + updateNode: (key: import("..").TreeNodeKeyType, newNode: import("../store/tree-node.js").ITreeNodeOptions) => void; + updateNodes: (newNodes: import("../store/tree-node.js").ITreeNodeOptions[]) => void; + scrollTo: (key: import("..").TreeNodeKeyType, verticalPosition?: number | "bottom" | "top" | "center") => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { [x: string]: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly, { @@ -181,25 +183,25 @@ declare const _default: __VLS_WithTemplateSlots boolean; autoLoad: boolean; - unselectOnClick: boolean; loading: boolean; - nodeIndent: number; renderNodeAmount: number; nodeMinHeight: number; bufferNodeAmount: number; diff --git a/types/constants/index.d.ts b/types/constants/index.d.ts index 504b041..528899e 100644 --- a/types/constants/index.d.ts +++ b/types/constants/index.d.ts @@ -3,8 +3,8 @@ export declare enum ignoreEnum { parents = "parents", children = "children" } -export declare const TREE_API_METHODS: readonly ["setData", "setChecked", "setCheckedKeys", "checkAll", "clearChecked", "setSelected", "clearSelected", "setExpand", "setExpandKeys", "setExpandAll", "getCheckedNodes", "getCheckedKeys", "getIndeterminateNodes", "getSelectedNode", "getSelectedKey", "getExpandNodes", "getExpandKeys", "getCurrentVisibleNodes", "getNode", "getTreeData", "getFlatData", "getNodesCount", "insertBefore", "insertAfter", "append", "prepend", "remove", "filter", "showCheckedNodes", "loadRootNodes", "scrollTo"]; -export declare const TREE_SEARCH_API_METHODS: readonly ["setData", "setChecked", "setCheckedKeys", "checkAll", "clearChecked", "setSelected", "clearSelected", "setExpand", "setExpandKeys", "setExpandAll", "getCheckedNodes", "getCheckedKeys", "getIndeterminateNodes", "getSelectedNode", "getSelectedKey", "getExpandNodes", "getExpandKeys", "getCurrentVisibleNodes", "getNode", "getTreeData", "getFlatData", "getNodesCount", "insertBefore", "insertAfter", "append", "prepend", "remove", "filter", "showCheckedNodes", "loadRootNodes", "scrollTo", "clearKeyword", "getKeyword", "search"]; +export declare const TREE_API_METHODS: readonly ["setData", "setChecked", "setCheckedKeys", "checkAll", "clearChecked", "setSelected", "clearSelected", "setExpand", "setExpandKeys", "setExpandAll", "getCheckedNodes", "getCheckedKeys", "getIndeterminateNodes", "getSelectedNode", "getSelectedKey", "getExpandNodes", "getExpandKeys", "getCurrentVisibleNodes", "getNode", "getTreeData", "getFlatData", "getNodesCount", "insertBefore", "insertAfter", "append", "prepend", "remove", "filter", "showCheckedNodes", "loadRootNodes", "updateNode", "updateNodes", "scrollTo"]; +export declare const TREE_SEARCH_API_METHODS: readonly ["setData", "setChecked", "setCheckedKeys", "checkAll", "clearChecked", "setSelected", "clearSelected", "setExpand", "setExpandKeys", "setExpandAll", "getCheckedNodes", "getCheckedKeys", "getIndeterminateNodes", "getSelectedNode", "getSelectedKey", "getExpandNodes", "getExpandKeys", "getCurrentVisibleNodes", "getNode", "getTreeData", "getFlatData", "getNodesCount", "insertBefore", "insertAfter", "append", "prepend", "remove", "filter", "showCheckedNodes", "loadRootNodes", "updateNode", "updateNodes", "scrollTo", "clearKeyword", "getKeyword", "search"]; export declare enum placementEnum { 'bottom-start' = "bottom-start", 'bottom-end' = "bottom-end", diff --git a/types/hooks/usePublicTreeAPI.d.ts b/types/hooks/usePublicTreeAPI.d.ts index 2b4aa75..692ccb9 100644 --- a/types/hooks/usePublicTreeAPI.d.ts +++ b/types/hooks/usePublicTreeAPI.d.ts @@ -60,5 +60,7 @@ export declare const usePublicTreeAPI: (nonReactive: INonReactiveData, props: IU filter: (keyword: string, filterMethod?: FilterFunctionType) => void; showCheckedNodes: (showUnloadCheckedNodes?: boolean) => void; loadRootNodes: () => Promise; + updateNode: (key: TreeNodeKeyType, newNode: ITreeNodeOptions) => void; + updateNodes: (newNodes: ITreeNodeOptions[]) => void; }; export {}; diff --git a/types/store/tree-store.d.ts b/types/store/tree-store.d.ts index c6d5f92..f55a4b7 100644 --- a/types/store/tree-store.d.ts +++ b/types/store/tree-store.d.ts @@ -76,6 +76,12 @@ export default class TreeStore extends TreeEventTarget { * @param triggerDataChange 是否触发视图刷新 */ private triggerCheckedChange; + /** + * 触发 selected-change 的快捷方法 + * @param triggerEvent 是否触发事件 + * @param triggerDataChange 是否触发视图刷新 + */ + private triggerSelectedChange; /** * 设置单选选中 * @param key 选中节点 key @@ -109,6 +115,9 @@ export default class TreeStore extends TreeEventTarget { */ setExpandKeys(keys: TreeNodeKeyType[], value: boolean, triggerDataChange?: boolean): void; setExpandAll(value: boolean, triggerDataChange?: boolean): void; + private isChildrenChanged; + updateNode(key: TreeNodeKeyType, newNode: ITreeNodeOptions, triggerEvent?: boolean, triggerDataChange?: boolean): void; + updateNodes(newNodes: ITreeNodeOptions[]): void; /** * 获取多选选中节点 * @param ignoreMode 忽略模式,可选择忽略父节点或子节点,默认值是 VTree 的 ignoreMode Prop @@ -148,15 +157,17 @@ export default class TreeStore extends TreeEventTarget { * @param key 节点 key */ getNode(key: TreeNodeKeyType): TreeNode | null; - insertBefore(insertedNode: TreeNodeKeyType | ITreeNodeOptions, referenceKey: TreeNodeKeyType): TreeNode | null; - insertAfter(insertedNode: TreeNodeKeyType | ITreeNodeOptions, referenceKey: TreeNodeKeyType): TreeNode | null; - append(insertedNode: TreeNodeKeyType | ITreeNodeOptions, parentKey: TreeNodeKeyType): TreeNode | null; - prepend(insertedNode: TreeNodeKeyType | ITreeNodeOptions, parentKey: TreeNodeKeyType): TreeNode | null; + insertBefore(insertedNode: TreeNodeKeyType | ITreeNodeOptions, referenceKey: TreeNodeKeyType, triggerEvent?: boolean, triggerDataChange?: boolean): TreeNode | null; + insertAfter(insertedNode: TreeNodeKeyType | ITreeNodeOptions, referenceKey: TreeNodeKeyType, triggerEvent?: boolean, triggerDataChange?: boolean): TreeNode | null; + append(insertedNode: TreeNodeKeyType | ITreeNodeOptions, parentKey: TreeNodeKeyType, triggerEvent?: boolean, triggerDataChange?: boolean): TreeNode | null; + prepend(insertedNode: TreeNodeKeyType | ITreeNodeOptions, parentKey: TreeNodeKeyType, triggerEvent?: boolean, triggerDataChange?: boolean): TreeNode | null; /** * 删除节点 * @param removedKey 要删除的节点 key */ - remove(removedKey: TreeNodeKeyType, triggerDataChange?: boolean): TreeNode | null; + remove(removedKey: TreeNodeKeyType, triggerEvent?: boolean, triggerDataChange?: boolean): TreeNode | null; + private removeChildren; + private loadChildren; private getInsertedNode; /** * 将一个节点插入 store 记录中 @@ -200,6 +211,7 @@ export default class TreeStore extends TreeEventTarget { /** * 向上勾选/取消勾选父节点,不包括自身 * @param node 需要勾选的节点 + * @param fromCurrentNode 是否从当前节点开始处理 */ private checkNodeUpward; /** diff --git a/types/types/index.d.ts b/types/types/index.d.ts index f117ee2..10ff5b5 100644 --- a/types/types/index.d.ts +++ b/types/types/index.d.ts @@ -22,10 +22,14 @@ export interface INonReactiveData { store: TreeStore; blockNodes: TreeNode[]; } +type Enumerate = Acc['length'] extends N ? Acc[number] : Enumerate; +type IntRange = Exclude, Enumerate>; export interface ShowLine { /** 连接线宽度,svg stroke-width, 默认 1px */ width?: number; type?: showLineType; color?: string; polyline?: boolean; + dashDensity?: IntRange<1, 11>; } +export {};