binbot-charts 0.6.2 → 0.6.3
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/babel.config.json +13 -0
- package/browserslist +31 -0
- package/dist/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +112 -0
- package/dist/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +1 -0
- package/dist/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +322 -0
- package/dist/public/charting_library/bundles/11.df012db70159a159d927.js +1 -0
- package/dist/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.d.ts +0 -0
- package/dist/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +1 -0
- package/dist/public/charting_library/bundles/13.699469c73d09b7add56d.d.ts +0 -0
- package/dist/public/charting_library/bundles/13.699469c73d09b7add56d.js +1 -0
- package/dist/public/charting_library/bundles/14.d1148b38d59df9ca5061.d.ts +0 -0
- package/dist/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +1 -0
- package/dist/public/charting_library/bundles/15.44f2acca80348a1da1a6.d.ts +0 -0
- package/dist/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +89 -0
- package/dist/public/charting_library/bundles/16.680572949c1125757d35.d.ts +0 -0
- package/dist/public/charting_library/bundles/16.680572949c1125757d35.js +1 -0
- package/dist/public/charting_library/bundles/17.404a01f527881dfff424.d.ts +0 -0
- package/dist/public/charting_library/bundles/17.404a01f527881dfff424.js +1 -0
- package/dist/public/charting_library/bundles/18.78de69cfba051874e071.d.ts +0 -0
- package/dist/public/charting_library/bundles/18.78de69cfba051874e071.js +120 -0
- package/dist/public/charting_library/bundles/19.048f7f5d36fef428ca8d.d.ts +0 -0
- package/dist/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +1 -0
- package/dist/public/charting_library/bundles/2.60931787a6734697ac13.d.ts +0 -0
- package/dist/public/charting_library/bundles/2.60931787a6734697ac13.js +118 -0
- package/dist/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.d.ts +0 -0
- package/dist/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +128 -0
- package/dist/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.d.ts +0 -0
- package/dist/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +1 -0
- package/dist/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.d.ts +0 -0
- package/dist/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +1 -0
- package/dist/public/charting_library/bundles/23.256ba98e6a03200bdeba.d.ts +0 -0
- package/dist/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +1 -0
- package/dist/public/charting_library/bundles/24.bc4fafedb1730259aa10.d.ts +0 -0
- package/dist/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +1 -0
- package/dist/public/charting_library/bundles/25.7416db26ed3dcc87c05a.d.ts +0 -0
- package/dist/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +611 -0
- package/dist/public/charting_library/bundles/26.3aeec391d4e6e19989ee.d.ts +0 -0
- package/dist/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +1 -0
- package/dist/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.d.ts +0 -0
- package/dist/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +69 -0
- package/dist/public/charting_library/bundles/28.9f103042c27ea2df422f.d.ts +0 -0
- package/dist/public/charting_library/bundles/28.9f103042c27ea2df422f.js +1 -0
- package/dist/public/charting_library/bundles/29.3df8712b85d45a626aa0.d.ts +0 -0
- package/dist/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +1 -0
- package/dist/public/charting_library/bundles/3.76c398b01b707e5b251c.d.ts +0 -0
- package/dist/public/charting_library/bundles/3.76c398b01b707e5b251c.js +1 -0
- package/dist/public/charting_library/bundles/30.0b732ccb122d160480b6.d.ts +0 -0
- package/dist/public/charting_library/bundles/30.0b732ccb122d160480b6.js +231 -0
- package/dist/public/charting_library/bundles/31.8d2b7a538755fd1bb760.d.ts +0 -0
- package/dist/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +166 -0
- package/dist/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.d.ts +0 -0
- package/dist/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +121 -0
- package/dist/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.d.ts +0 -0
- package/dist/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +1 -0
- package/dist/public/charting_library/bundles/34.c9baa59add71a1e48fd2.d.ts +0 -0
- package/dist/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +1 -0
- package/dist/public/charting_library/bundles/35.ed9e360f9686ad3a9497.d.ts +0 -0
- package/dist/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +1 -0
- package/dist/public/charting_library/bundles/36.1882d1a8d312a0e193e9.d.ts +0 -0
- package/dist/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +1 -0
- package/dist/public/charting_library/bundles/37.90129e4904155350d6a1.d.ts +0 -0
- package/dist/public/charting_library/bundles/37.90129e4904155350d6a1.js +199 -0
- package/dist/public/charting_library/bundles/38.41f3d509b61c8af47de3.d.ts +0 -0
- package/dist/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +74 -0
- package/dist/public/charting_library/bundles/39.bc1e9ce938fd5152831f.d.ts +0 -0
- package/dist/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +1 -0
- package/dist/public/charting_library/bundles/4.c7430b8d89cddcf51345.d.ts +0 -0
- package/dist/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +1 -0
- package/dist/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.d.ts +0 -0
- package/dist/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +29 -0
- package/dist/public/charting_library/bundles/41.a19b0ae5d68f855d2753.d.ts +0 -0
- package/dist/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +1 -0
- package/dist/public/charting_library/bundles/42.494986b0981f6d116fef.d.ts +0 -0
- package/dist/public/charting_library/bundles/42.494986b0981f6d116fef.js +1 -0
- package/dist/public/charting_library/bundles/43.619c5ed4a592cc2965a4.d.ts +0 -0
- package/dist/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +1 -0
- package/dist/public/charting_library/bundles/44.0a7df307e4f397763ce8.d.ts +0 -0
- package/dist/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +363 -0
- package/dist/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.d.ts +0 -0
- package/dist/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +1 -0
- package/dist/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.d.ts +0 -0
- package/dist/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +114 -0
- package/dist/public/charting_library/bundles/47.a3da3f774c90bd22798e.d.ts +0 -0
- package/dist/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +95 -0
- package/dist/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.d.ts +0 -0
- package/dist/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +1 -0
- package/dist/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.d.ts +0 -0
- package/dist/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +1 -0
- package/dist/public/charting_library/bundles/5.5e97b270ab80d99e9085.d.ts +0 -0
- package/dist/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +62 -0
- package/dist/public/charting_library/bundles/50.b282667dddcb7fe1569a.d.ts +0 -0
- package/dist/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +1 -0
- package/dist/public/charting_library/bundles/51.11871c50951db825ace3.d.ts +0 -0
- package/dist/public/charting_library/bundles/51.11871c50951db825ace3.js +1 -0
- package/dist/public/charting_library/bundles/52.0379a85baae3ab43b15c.d.ts +0 -0
- package/dist/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +1 -0
- package/dist/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.d.ts +0 -0
- package/dist/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +76 -0
- package/dist/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.d.ts +0 -0
- package/dist/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +203 -0
- package/dist/public/charting_library/bundles/55.3c35a629db21ab961f11.d.ts +0 -0
- package/dist/public/charting_library/bundles/55.3c35a629db21ab961f11.js +303 -0
- package/dist/public/charting_library/bundles/56.b3e69145c0fee614443d.d.ts +0 -0
- package/dist/public/charting_library/bundles/56.b3e69145c0fee614443d.js +95 -0
- package/dist/public/charting_library/bundles/57.236996ec416da4c1f683.d.ts +0 -0
- package/dist/public/charting_library/bundles/57.236996ec416da4c1f683.js +108 -0
- package/dist/public/charting_library/bundles/58.7ffac4ba908b95705e63.d.ts +0 -0
- package/dist/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +61 -0
- package/dist/public/charting_library/bundles/59.397cb6699b74d64072a8.d.ts +0 -0
- package/dist/public/charting_library/bundles/59.397cb6699b74d64072a8.js +1 -0
- package/dist/public/charting_library/bundles/6.2d67b0ae77825dbd455d.d.ts +0 -0
- package/dist/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +1 -0
- package/dist/public/charting_library/bundles/60.6b5eced2ef8fa856be88.d.ts +0 -0
- package/dist/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +1 -0
- package/dist/public/charting_library/bundles/61.38a3040c925fadff7b64.d.ts +0 -0
- package/dist/public/charting_library/bundles/61.38a3040c925fadff7b64.js +118 -0
- package/dist/public/charting_library/bundles/62.63b309f5f8da9ca013b8.d.ts +0 -0
- package/dist/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +61 -0
- package/dist/public/charting_library/bundles/63.8255c7f5191bcafcee7c.d.ts +0 -0
- package/dist/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +1 -0
- package/dist/public/charting_library/bundles/64.ec4b4d03b28c77658dde.d.ts +0 -0
- package/dist/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +1 -0
- package/dist/public/charting_library/bundles/65.f895a78b4e04257983ff.d.ts +0 -0
- package/dist/public/charting_library/bundles/65.f895a78b4e04257983ff.js +1 -0
- package/dist/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.d.ts +0 -0
- package/dist/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +1 -0
- package/dist/public/charting_library/bundles/67.25fd4b78c8c514988aeb.d.ts +0 -0
- package/dist/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +1 -0
- package/dist/public/charting_library/bundles/68.8b4124c875484d11fd94.d.ts +0 -0
- package/dist/public/charting_library/bundles/68.8b4124c875484d11fd94.js +1 -0
- package/dist/public/charting_library/bundles/69.43756a5c7477730eb0c4.d.ts +0 -0
- package/dist/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +1 -0
- package/dist/public/charting_library/bundles/7.2c7c4f8a49c6380227de.d.ts +0 -0
- package/dist/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +68 -0
- package/dist/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.d.ts +0 -0
- package/dist/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +1 -0
- package/dist/public/charting_library/bundles/71.6a9d0842f5e48f68399c.d.ts +0 -0
- package/dist/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +1 -0
- package/dist/public/charting_library/bundles/72.e3925aaf38d2c8997638.d.ts +0 -0
- package/dist/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +1 -0
- package/dist/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.d.ts +0 -0
- package/dist/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +1 -0
- package/dist/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.d.ts +0 -0
- package/dist/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +1 -0
- package/dist/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.d.ts +0 -0
- package/dist/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +1 -0
- package/dist/public/charting_library/bundles/76.5d20bed213399f326603.d.ts +0 -0
- package/dist/public/charting_library/bundles/76.5d20bed213399f326603.js +1 -0
- package/dist/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.d.ts +0 -0
- package/dist/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +1 -0
- package/dist/public/charting_library/bundles/78.1d1d47a915b06f1496fb.d.ts +0 -0
- package/dist/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +1 -0
- package/dist/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.d.ts +0 -0
- package/dist/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +1 -0
- package/dist/public/charting_library/bundles/8.ffab20b86db484062268.d.ts +0 -0
- package/dist/public/charting_library/bundles/8.ffab20b86db484062268.js +1 -0
- package/dist/public/charting_library/bundles/80.b5bc6acec3b531a510a9.d.ts +0 -0
- package/dist/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +1 -0
- package/dist/public/charting_library/bundles/81.e6a1f76017a44b03480b.d.ts +0 -0
- package/dist/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +1 -0
- package/dist/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.d.ts +0 -0
- package/dist/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +1 -0
- package/dist/public/charting_library/bundles/83.f3e53bb5a5940e084955.d.ts +0 -0
- package/dist/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +1 -0
- package/dist/public/charting_library/bundles/84.8acc496b4deeeeefb5af.d.ts +0 -0
- package/dist/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +1 -0
- package/dist/public/charting_library/bundles/85.39c78fbeaabae306f343.d.ts +0 -0
- package/dist/public/charting_library/bundles/85.39c78fbeaabae306f343.js +1 -0
- package/dist/public/charting_library/bundles/86.4bbbb9e6262243419986.d.ts +0 -0
- package/dist/public/charting_library/bundles/86.4bbbb9e6262243419986.js +1 -0
- package/dist/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.d.ts +0 -0
- package/dist/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +1 -0
- package/dist/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.d.ts +0 -0
- package/dist/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +1 -0
- package/dist/public/charting_library/bundles/89.d8aa43b4b9378722d572.d.ts +0 -0
- package/dist/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +1 -0
- package/dist/public/charting_library/bundles/9.84ecbc930e51cb26d06a.d.ts +0 -0
- package/dist/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +1 -0
- package/dist/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.d.ts +0 -0
- package/dist/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +1 -0
- package/dist/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.d.ts +0 -0
- package/dist/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +1 -0
- package/dist/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.d.ts +0 -0
- package/dist/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +1 -0
- package/dist/public/charting_library/bundles/93.6de56ef1975f4a31e542.d.ts +0 -0
- package/dist/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +1 -0
- package/dist/public/charting_library/bundles/94.231bea5fb12b806ef287.d.ts +0 -0
- package/dist/public/charting_library/bundles/94.231bea5fb12b806ef287.js +1 -0
- package/dist/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.d.ts +0 -0
- package/dist/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +1 -0
- package/dist/public/charting_library/bundles/96.43bb935eee30715afff7.d.ts +0 -0
- package/dist/public/charting_library/bundles/96.43bb935eee30715afff7.js +1 -0
- package/dist/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.d.ts +0 -0
- package/dist/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +263 -0
- package/dist/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.d.ts +0 -0
- package/dist/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +52 -0
- package/dist/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.d.ts +0 -0
- package/dist/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +399 -0
- package/dist/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.d.ts +0 -0
- package/dist/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +97 -0
- package/dist/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.d.ts +0 -0
- package/dist/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +49 -0
- package/dist/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.d.ts +0 -0
- package/dist/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +1199 -0
- package/dist/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.d.ts +0 -0
- package/dist/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +181 -0
- package/dist/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.d.ts +0 -0
- package/dist/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +107 -0
- package/dist/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.d.ts +0 -0
- package/dist/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +131 -0
- package/dist/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.d.ts +0 -0
- package/dist/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +71 -0
- package/dist/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.d.ts +0 -0
- package/dist/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +250 -0
- package/dist/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.d.ts +0 -0
- package/dist/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +78 -0
- package/dist/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.d.ts +0 -0
- package/dist/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +508 -0
- package/dist/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.d.ts +0 -0
- package/dist/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +92 -0
- package/dist/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.d.ts +0 -0
- package/dist/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +85 -0
- package/dist/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.d.ts +0 -0
- package/dist/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +104 -0
- package/dist/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.d.ts +0 -0
- package/dist/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +361 -0
- package/dist/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.d.ts +0 -0
- package/dist/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +224 -0
- package/dist/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.d.ts +0 -0
- package/dist/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +228 -0
- package/dist/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.d.ts +0 -0
- package/dist/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +26194 -0
- package/dist/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.d.ts +0 -0
- package/dist/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +60 -0
- package/dist/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.d.ts +0 -0
- package/dist/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +101 -0
- package/dist/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.d.ts +0 -0
- package/dist/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +116 -0
- package/dist/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.d.ts +0 -0
- package/dist/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +4029 -0
- package/dist/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.d.ts +0 -0
- package/dist/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +735 -0
- package/dist/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.d.ts +0 -0
- package/dist/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +16 -0
- package/dist/public/charting_library/bundles/moment.78e587a83a009ca48cda.d.ts +0 -0
- package/dist/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +369 -0
- package/dist/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.d.ts +0 -0
- package/dist/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +130 -0
- package/dist/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.d.ts +0 -0
- package/dist/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +405 -0
- package/dist/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.d.ts +0 -0
- package/dist/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +1807 -0
- package/dist/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.d.ts +0 -0
- package/dist/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +3715 -0
- package/dist/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.d.ts +0 -0
- package/dist/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +354 -0
- package/dist/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.d.ts +0 -0
- package/dist/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +566 -0
- package/dist/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.d.ts +0 -0
- package/dist/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +79 -0
- package/dist/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.d.ts +0 -0
- package/dist/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +8 -0
- package/dist/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.d.ts +0 -0
- package/dist/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +52 -0
- package/dist/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.d.ts +0 -0
- package/dist/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +5 -0
- package/dist/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.d.ts +0 -0
- package/dist/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +11 -0
- package/dist/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.d.ts +0 -0
- package/dist/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +189 -0
- package/dist/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.d.ts +0 -0
- package/dist/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +39 -0
- package/dist/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.d.ts +0 -0
- package/dist/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +174 -0
- package/dist/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.d.ts +0 -0
- package/dist/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +204 -0
- package/dist/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.d.ts +0 -0
- package/dist/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +125 -0
- package/dist/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.d.ts +0 -0
- package/dist/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +320 -0
- package/dist/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.d.ts +0 -0
- package/dist/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +123 -0
- package/dist/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.d.ts +0 -0
- package/dist/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +35 -0
- package/dist/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.d.ts +0 -0
- package/dist/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +74 -0
- package/dist/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.d.ts +0 -0
- package/dist/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +1304 -0
- package/dist/public/charting_library/charting_library.cjs.d.ts +87 -0
- package/dist/public/charting_library/charting_library.cjs.js +98 -0
- package/dist/public/charting_library/charting_library.d.ts +0 -0
- package/dist/public/charting_library/charting_library.esm.d.ts +86 -0
- package/dist/public/charting_library/charting_library.esm.js +101 -0
- package/dist/public/charting_library/charting_library.js +99 -0
- package/dist/public/charting_library/charting_library.standalone.d.ts +1 -0
- package/dist/public/charting_library/charting_library.standalone.js +99 -0
- package/dist/src/App.d.ts +4 -0
- package/dist/src/App.js +81 -0
- package/dist/src/charting_library/bundles/0.d46f0b5e9380d7893de5.d.ts +0 -0
- package/dist/src/charting_library/bundles/0.d46f0b5e9380d7893de5.js +112 -0
- package/dist/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.d.ts +0 -0
- package/dist/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +1 -0
- package/dist/src/charting_library/bundles/10.21e665b7935d5bc4ba64.d.ts +0 -0
- package/dist/src/charting_library/bundles/10.21e665b7935d5bc4ba64.js +322 -0
- package/dist/src/charting_library/bundles/11.df012db70159a159d927.d.ts +0 -0
- package/dist/src/charting_library/bundles/11.df012db70159a159d927.js +1 -0
- package/dist/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.d.ts +0 -0
- package/dist/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +1 -0
- package/dist/src/charting_library/bundles/13.699469c73d09b7add56d.d.ts +0 -0
- package/dist/src/charting_library/bundles/13.699469c73d09b7add56d.js +1 -0
- package/dist/src/charting_library/bundles/14.d1148b38d59df9ca5061.d.ts +0 -0
- package/dist/src/charting_library/bundles/14.d1148b38d59df9ca5061.js +1 -0
- package/dist/src/charting_library/bundles/15.44f2acca80348a1da1a6.d.ts +0 -0
- package/dist/src/charting_library/bundles/15.44f2acca80348a1da1a6.js +89 -0
- package/dist/src/charting_library/bundles/16.680572949c1125757d35.d.ts +0 -0
- package/dist/src/charting_library/bundles/16.680572949c1125757d35.js +1 -0
- package/dist/src/charting_library/bundles/17.404a01f527881dfff424.d.ts +0 -0
- package/dist/src/charting_library/bundles/17.404a01f527881dfff424.js +1 -0
- package/dist/src/charting_library/bundles/18.78de69cfba051874e071.d.ts +0 -0
- package/dist/src/charting_library/bundles/18.78de69cfba051874e071.js +120 -0
- package/dist/src/charting_library/bundles/19.048f7f5d36fef428ca8d.d.ts +0 -0
- package/dist/src/charting_library/bundles/19.048f7f5d36fef428ca8d.js +1 -0
- package/dist/src/charting_library/bundles/2.60931787a6734697ac13.d.ts +0 -0
- package/dist/src/charting_library/bundles/2.60931787a6734697ac13.js +118 -0
- package/dist/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.d.ts +0 -0
- package/dist/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +128 -0
- package/dist/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.d.ts +0 -0
- package/dist/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +1 -0
- package/dist/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.d.ts +0 -0
- package/dist/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +1 -0
- package/dist/src/charting_library/bundles/23.256ba98e6a03200bdeba.d.ts +0 -0
- package/dist/src/charting_library/bundles/23.256ba98e6a03200bdeba.js +1 -0
- package/dist/src/charting_library/bundles/24.bc4fafedb1730259aa10.d.ts +0 -0
- package/dist/src/charting_library/bundles/24.bc4fafedb1730259aa10.js +1 -0
- package/dist/src/charting_library/bundles/25.7416db26ed3dcc87c05a.d.ts +0 -0
- package/dist/src/charting_library/bundles/25.7416db26ed3dcc87c05a.js +611 -0
- package/dist/src/charting_library/bundles/26.3aeec391d4e6e19989ee.d.ts +0 -0
- package/dist/src/charting_library/bundles/26.3aeec391d4e6e19989ee.js +1 -0
- package/dist/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.d.ts +0 -0
- package/dist/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +69 -0
- package/dist/src/charting_library/bundles/28.9f103042c27ea2df422f.d.ts +0 -0
- package/dist/src/charting_library/bundles/28.9f103042c27ea2df422f.js +1 -0
- package/dist/src/charting_library/bundles/29.3df8712b85d45a626aa0.d.ts +0 -0
- package/dist/src/charting_library/bundles/29.3df8712b85d45a626aa0.js +1 -0
- package/dist/src/charting_library/bundles/3.76c398b01b707e5b251c.d.ts +0 -0
- package/dist/src/charting_library/bundles/3.76c398b01b707e5b251c.js +1 -0
- package/dist/src/charting_library/bundles/30.0b732ccb122d160480b6.d.ts +0 -0
- package/dist/src/charting_library/bundles/30.0b732ccb122d160480b6.js +231 -0
- package/dist/src/charting_library/bundles/31.8d2b7a538755fd1bb760.d.ts +0 -0
- package/dist/src/charting_library/bundles/31.8d2b7a538755fd1bb760.js +166 -0
- package/dist/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.d.ts +0 -0
- package/dist/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +121 -0
- package/dist/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.d.ts +0 -0
- package/dist/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +1 -0
- package/dist/src/charting_library/bundles/34.c9baa59add71a1e48fd2.d.ts +0 -0
- package/dist/src/charting_library/bundles/34.c9baa59add71a1e48fd2.js +1 -0
- package/dist/src/charting_library/bundles/35.ed9e360f9686ad3a9497.d.ts +0 -0
- package/dist/src/charting_library/bundles/35.ed9e360f9686ad3a9497.js +1 -0
- package/dist/src/charting_library/bundles/36.1882d1a8d312a0e193e9.d.ts +0 -0
- package/dist/src/charting_library/bundles/36.1882d1a8d312a0e193e9.js +1 -0
- package/dist/src/charting_library/bundles/37.90129e4904155350d6a1.d.ts +0 -0
- package/dist/src/charting_library/bundles/37.90129e4904155350d6a1.js +199 -0
- package/dist/src/charting_library/bundles/38.41f3d509b61c8af47de3.d.ts +0 -0
- package/dist/src/charting_library/bundles/38.41f3d509b61c8af47de3.js +74 -0
- package/dist/src/charting_library/bundles/39.bc1e9ce938fd5152831f.d.ts +0 -0
- package/dist/src/charting_library/bundles/39.bc1e9ce938fd5152831f.js +1 -0
- package/dist/src/charting_library/bundles/4.c7430b8d89cddcf51345.d.ts +0 -0
- package/dist/src/charting_library/bundles/4.c7430b8d89cddcf51345.js +1 -0
- package/dist/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.d.ts +0 -0
- package/dist/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +29 -0
- package/dist/src/charting_library/bundles/41.a19b0ae5d68f855d2753.d.ts +0 -0
- package/dist/src/charting_library/bundles/41.a19b0ae5d68f855d2753.js +1 -0
- package/dist/src/charting_library/bundles/42.494986b0981f6d116fef.d.ts +0 -0
- package/dist/src/charting_library/bundles/42.494986b0981f6d116fef.js +1 -0
- package/dist/src/charting_library/bundles/43.619c5ed4a592cc2965a4.d.ts +0 -0
- package/dist/src/charting_library/bundles/43.619c5ed4a592cc2965a4.js +1 -0
- package/dist/src/charting_library/bundles/44.0a7df307e4f397763ce8.d.ts +0 -0
- package/dist/src/charting_library/bundles/44.0a7df307e4f397763ce8.js +363 -0
- package/dist/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.d.ts +0 -0
- package/dist/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +1 -0
- package/dist/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.d.ts +0 -0
- package/dist/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +114 -0
- package/dist/src/charting_library/bundles/47.a3da3f774c90bd22798e.d.ts +0 -0
- package/dist/src/charting_library/bundles/47.a3da3f774c90bd22798e.js +95 -0
- package/dist/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.d.ts +0 -0
- package/dist/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +1 -0
- package/dist/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.d.ts +0 -0
- package/dist/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +1 -0
- package/dist/src/charting_library/bundles/5.5e97b270ab80d99e9085.d.ts +0 -0
- package/dist/src/charting_library/bundles/5.5e97b270ab80d99e9085.js +62 -0
- package/dist/src/charting_library/bundles/50.b282667dddcb7fe1569a.d.ts +0 -0
- package/dist/src/charting_library/bundles/50.b282667dddcb7fe1569a.js +1 -0
- package/dist/src/charting_library/bundles/51.11871c50951db825ace3.d.ts +0 -0
- package/dist/src/charting_library/bundles/51.11871c50951db825ace3.js +1 -0
- package/dist/src/charting_library/bundles/52.0379a85baae3ab43b15c.d.ts +0 -0
- package/dist/src/charting_library/bundles/52.0379a85baae3ab43b15c.js +1 -0
- package/dist/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.d.ts +0 -0
- package/dist/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +76 -0
- package/dist/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.d.ts +0 -0
- package/dist/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +203 -0
- package/dist/src/charting_library/bundles/55.3c35a629db21ab961f11.d.ts +0 -0
- package/dist/src/charting_library/bundles/55.3c35a629db21ab961f11.js +303 -0
- package/dist/src/charting_library/bundles/56.b3e69145c0fee614443d.d.ts +0 -0
- package/dist/src/charting_library/bundles/56.b3e69145c0fee614443d.js +95 -0
- package/dist/src/charting_library/bundles/57.236996ec416da4c1f683.d.ts +0 -0
- package/dist/src/charting_library/bundles/57.236996ec416da4c1f683.js +108 -0
- package/dist/src/charting_library/bundles/58.7ffac4ba908b95705e63.d.ts +0 -0
- package/dist/src/charting_library/bundles/58.7ffac4ba908b95705e63.js +61 -0
- package/dist/src/charting_library/bundles/59.397cb6699b74d64072a8.d.ts +0 -0
- package/dist/src/charting_library/bundles/59.397cb6699b74d64072a8.js +1 -0
- package/dist/src/charting_library/bundles/6.2d67b0ae77825dbd455d.d.ts +0 -0
- package/dist/src/charting_library/bundles/6.2d67b0ae77825dbd455d.js +1 -0
- package/dist/src/charting_library/bundles/60.6b5eced2ef8fa856be88.d.ts +0 -0
- package/dist/src/charting_library/bundles/60.6b5eced2ef8fa856be88.js +1 -0
- package/dist/src/charting_library/bundles/61.38a3040c925fadff7b64.d.ts +0 -0
- package/dist/src/charting_library/bundles/61.38a3040c925fadff7b64.js +118 -0
- package/dist/src/charting_library/bundles/62.63b309f5f8da9ca013b8.d.ts +0 -0
- package/dist/src/charting_library/bundles/62.63b309f5f8da9ca013b8.js +61 -0
- package/dist/src/charting_library/bundles/63.8255c7f5191bcafcee7c.d.ts +0 -0
- package/dist/src/charting_library/bundles/63.8255c7f5191bcafcee7c.js +1 -0
- package/dist/src/charting_library/bundles/64.ec4b4d03b28c77658dde.d.ts +0 -0
- package/dist/src/charting_library/bundles/64.ec4b4d03b28c77658dde.js +1 -0
- package/dist/src/charting_library/bundles/65.f895a78b4e04257983ff.d.ts +0 -0
- package/dist/src/charting_library/bundles/65.f895a78b4e04257983ff.js +1 -0
- package/dist/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.d.ts +0 -0
- package/dist/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +1 -0
- package/dist/src/charting_library/bundles/67.25fd4b78c8c514988aeb.d.ts +0 -0
- package/dist/src/charting_library/bundles/67.25fd4b78c8c514988aeb.js +1 -0
- package/dist/src/charting_library/bundles/68.8b4124c875484d11fd94.d.ts +0 -0
- package/dist/src/charting_library/bundles/68.8b4124c875484d11fd94.js +1 -0
- package/dist/src/charting_library/bundles/69.43756a5c7477730eb0c4.d.ts +0 -0
- package/dist/src/charting_library/bundles/69.43756a5c7477730eb0c4.js +1 -0
- package/dist/src/charting_library/bundles/7.2c7c4f8a49c6380227de.d.ts +0 -0
- package/dist/src/charting_library/bundles/7.2c7c4f8a49c6380227de.js +68 -0
- package/dist/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.d.ts +0 -0
- package/dist/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +1 -0
- package/dist/src/charting_library/bundles/71.6a9d0842f5e48f68399c.d.ts +0 -0
- package/dist/src/charting_library/bundles/71.6a9d0842f5e48f68399c.js +1 -0
- package/dist/src/charting_library/bundles/72.e3925aaf38d2c8997638.d.ts +0 -0
- package/dist/src/charting_library/bundles/72.e3925aaf38d2c8997638.js +1 -0
- package/dist/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.d.ts +0 -0
- package/dist/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +1 -0
- package/dist/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.d.ts +0 -0
- package/dist/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +1 -0
- package/dist/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.d.ts +0 -0
- package/dist/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +1 -0
- package/dist/src/charting_library/bundles/76.5d20bed213399f326603.d.ts +0 -0
- package/dist/src/charting_library/bundles/76.5d20bed213399f326603.js +1 -0
- package/dist/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.d.ts +0 -0
- package/dist/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +1 -0
- package/dist/src/charting_library/bundles/78.1d1d47a915b06f1496fb.d.ts +0 -0
- package/dist/src/charting_library/bundles/78.1d1d47a915b06f1496fb.js +1 -0
- package/dist/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.d.ts +0 -0
- package/dist/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +1 -0
- package/dist/src/charting_library/bundles/8.ffab20b86db484062268.d.ts +0 -0
- package/dist/src/charting_library/bundles/8.ffab20b86db484062268.js +1 -0
- package/dist/src/charting_library/bundles/80.b5bc6acec3b531a510a9.d.ts +0 -0
- package/dist/src/charting_library/bundles/80.b5bc6acec3b531a510a9.js +1 -0
- package/dist/src/charting_library/bundles/81.e6a1f76017a44b03480b.d.ts +0 -0
- package/dist/src/charting_library/bundles/81.e6a1f76017a44b03480b.js +1 -0
- package/dist/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.d.ts +0 -0
- package/dist/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +1 -0
- package/dist/src/charting_library/bundles/83.f3e53bb5a5940e084955.d.ts +0 -0
- package/dist/src/charting_library/bundles/83.f3e53bb5a5940e084955.js +1 -0
- package/dist/src/charting_library/bundles/84.8acc496b4deeeeefb5af.d.ts +0 -0
- package/dist/src/charting_library/bundles/84.8acc496b4deeeeefb5af.js +1 -0
- package/dist/src/charting_library/bundles/85.39c78fbeaabae306f343.d.ts +0 -0
- package/dist/src/charting_library/bundles/85.39c78fbeaabae306f343.js +1 -0
- package/dist/src/charting_library/bundles/86.4bbbb9e6262243419986.d.ts +0 -0
- package/dist/src/charting_library/bundles/86.4bbbb9e6262243419986.js +1 -0
- package/dist/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.d.ts +0 -0
- package/dist/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +1 -0
- package/dist/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.d.ts +0 -0
- package/dist/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +1 -0
- package/dist/src/charting_library/bundles/89.d8aa43b4b9378722d572.d.ts +0 -0
- package/dist/src/charting_library/bundles/89.d8aa43b4b9378722d572.js +1 -0
- package/dist/src/charting_library/bundles/9.84ecbc930e51cb26d06a.d.ts +0 -0
- package/dist/src/charting_library/bundles/9.84ecbc930e51cb26d06a.js +1 -0
- package/dist/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.d.ts +0 -0
- package/dist/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +1 -0
- package/dist/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.d.ts +0 -0
- package/dist/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +1 -0
- package/dist/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.d.ts +0 -0
- package/dist/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +1 -0
- package/dist/src/charting_library/bundles/93.6de56ef1975f4a31e542.d.ts +0 -0
- package/dist/src/charting_library/bundles/93.6de56ef1975f4a31e542.js +1 -0
- package/dist/src/charting_library/bundles/94.231bea5fb12b806ef287.d.ts +0 -0
- package/dist/src/charting_library/bundles/94.231bea5fb12b806ef287.js +1 -0
- package/dist/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.d.ts +0 -0
- package/dist/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +1 -0
- package/dist/src/charting_library/bundles/96.43bb935eee30715afff7.d.ts +0 -0
- package/dist/src/charting_library/bundles/96.43bb935eee30715afff7.js +1 -0
- package/dist/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.d.ts +0 -0
- package/dist/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +263 -0
- package/dist/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.d.ts +0 -0
- package/dist/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +52 -0
- package/dist/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.d.ts +0 -0
- package/dist/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +399 -0
- package/dist/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.d.ts +0 -0
- package/dist/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +97 -0
- package/dist/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.d.ts +0 -0
- package/dist/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +49 -0
- package/dist/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.d.ts +0 -0
- package/dist/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +1199 -0
- package/dist/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.d.ts +0 -0
- package/dist/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +181 -0
- package/dist/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.d.ts +0 -0
- package/dist/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +107 -0
- package/dist/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.d.ts +0 -0
- package/dist/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +131 -0
- package/dist/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.d.ts +0 -0
- package/dist/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +71 -0
- package/dist/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.d.ts +0 -0
- package/dist/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +250 -0
- package/dist/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.d.ts +0 -0
- package/dist/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +78 -0
- package/dist/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.d.ts +0 -0
- package/dist/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +508 -0
- package/dist/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.d.ts +0 -0
- package/dist/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +92 -0
- package/dist/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.d.ts +0 -0
- package/dist/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +85 -0
- package/dist/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.d.ts +0 -0
- package/dist/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +104 -0
- package/dist/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.d.ts +0 -0
- package/dist/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +361 -0
- package/dist/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.d.ts +0 -0
- package/dist/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +224 -0
- package/dist/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.d.ts +0 -0
- package/dist/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +228 -0
- package/dist/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.d.ts +0 -0
- package/dist/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +26194 -0
- package/dist/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.d.ts +0 -0
- package/dist/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +60 -0
- package/dist/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.d.ts +0 -0
- package/dist/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +101 -0
- package/dist/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.d.ts +0 -0
- package/dist/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +116 -0
- package/dist/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.d.ts +0 -0
- package/dist/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +4029 -0
- package/dist/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.d.ts +0 -0
- package/dist/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +735 -0
- package/dist/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.d.ts +0 -0
- package/dist/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +16 -0
- package/dist/src/charting_library/bundles/moment.78e587a83a009ca48cda.d.ts +0 -0
- package/dist/src/charting_library/bundles/moment.78e587a83a009ca48cda.js +369 -0
- package/dist/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.d.ts +0 -0
- package/dist/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +130 -0
- package/dist/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.d.ts +0 -0
- package/dist/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +405 -0
- package/dist/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.d.ts +0 -0
- package/dist/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +1807 -0
- package/dist/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.d.ts +0 -0
- package/dist/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +3715 -0
- package/dist/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.d.ts +0 -0
- package/dist/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +354 -0
- package/dist/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.d.ts +0 -0
- package/dist/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +566 -0
- package/dist/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.d.ts +0 -0
- package/dist/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +79 -0
- package/dist/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.d.ts +0 -0
- package/dist/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +8 -0
- package/dist/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.d.ts +0 -0
- package/dist/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +52 -0
- package/dist/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.d.ts +0 -0
- package/dist/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +5 -0
- package/dist/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.d.ts +0 -0
- package/dist/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +11 -0
- package/dist/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.d.ts +0 -0
- package/dist/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +189 -0
- package/dist/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.d.ts +0 -0
- package/dist/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +39 -0
- package/dist/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.d.ts +0 -0
- package/dist/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +174 -0
- package/dist/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.d.ts +0 -0
- package/dist/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +204 -0
- package/dist/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.d.ts +0 -0
- package/dist/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +125 -0
- package/dist/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.d.ts +0 -0
- package/dist/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +320 -0
- package/dist/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.d.ts +0 -0
- package/dist/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +123 -0
- package/dist/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.d.ts +0 -0
- package/dist/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +35 -0
- package/dist/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.d.ts +0 -0
- package/dist/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +74 -0
- package/dist/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.d.ts +0 -0
- package/dist/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +1304 -0
- package/dist/src/charting_library/charting_library.cjs.d.ts +87 -0
- package/dist/src/charting_library/charting_library.cjs.js +98 -0
- package/dist/src/charting_library/charting_library.d.ts +0 -0
- package/dist/src/charting_library/charting_library.esm.d.ts +86 -0
- package/dist/src/charting_library/charting_library.esm.js +101 -0
- package/dist/src/charting_library/charting_library.js +99 -0
- package/dist/src/charting_library/charting_library.standalone.d.ts +1 -0
- package/dist/src/charting_library/charting_library.standalone.js +515 -0
- package/dist/src/datafeed.d.ts +73 -0
- package/dist/src/datafeed.js +195 -0
- package/dist/src/helpers.d.ts +3 -0
- package/dist/src/helpers.js +58 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +14 -0
- package/dist/src/main.d.ts +17 -0
- package/dist/src/main.js +124 -0
- package/dist/src/streaming.d.ts +7 -0
- package/dist/src/streaming.js +92 -0
- package/dist/tsup.config.d.ts +2 -0
- package/dist/tsup.config.js +11 -0
- package/package.json +4 -8
- package/public/charting_library/bundles/1.92647ec0a7beb8b2898d.css +0 -0
- package/public/charting_library/bundles/1.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/public/charting_library/bundles/4.92647ec0a7beb8b2898d.css +0 -0
- package/public/charting_library/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/public/charting_library/charting_library.standalone.js +1 -0
- package/public/index.html +23 -0
- package/src/App.css +26 -0
- package/src/App.tsx +100 -0
- package/src/charting-library-interfaces.d.ts +36 -0
- package/src/charting_library/bundles/0.d46f0b5e9380d7893de5.js +2 -0
- package/src/charting_library/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
- package/src/charting_library/bundles/1.92647ec0a7beb8b2898d.css +0 -0
- package/src/charting_library/bundles/1.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +1 -0
- package/src/charting_library/bundles/10.21e665b7935d5bc4ba64.js +6 -0
- package/src/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.css +1 -0
- package/src/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +1 -0
- package/src/charting_library/bundles/11.df012db70159a159d927.js +1 -0
- package/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +1 -0
- package/src/charting_library/bundles/12.ef8057448f3a7ae1c3d8.css +1 -0
- package/src/charting_library/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +1 -0
- package/src/charting_library/bundles/13.699469c73d09b7add56d.js +1 -0
- package/src/charting_library/bundles/13.9240f13280154f2593b7.css +1 -0
- package/src/charting_library/bundles/13.9240f13280154f2593b7.rtl.css +1 -0
- package/src/charting_library/bundles/14.8095b40dd1e7deedf401.css +1 -0
- package/src/charting_library/bundles/14.8095b40dd1e7deedf401.rtl.css +1 -0
- package/src/charting_library/bundles/14.d1148b38d59df9ca5061.js +1 -0
- package/src/charting_library/bundles/15.44f2acca80348a1da1a6.js +3 -0
- package/src/charting_library/bundles/16.680572949c1125757d35.js +1 -0
- package/src/charting_library/bundles/16.d567c9db608f3d98d8de.css +1 -0
- package/src/charting_library/bundles/16.d567c9db608f3d98d8de.rtl.css +1 -0
- package/src/charting_library/bundles/17.404a01f527881dfff424.js +1 -0
- package/src/charting_library/bundles/17.ec35a19db935279c5b42.css +1 -0
- package/src/charting_library/bundles/17.ec35a19db935279c5b42.rtl.css +1 -0
- package/src/charting_library/bundles/18.78de69cfba051874e071.js +4 -0
- package/src/charting_library/bundles/19.048f7f5d36fef428ca8d.js +1 -0
- package/src/charting_library/bundles/19.75c30426f9d3ad5ca0c5.css +1 -0
- package/src/charting_library/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +1 -0
- package/src/charting_library/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
- package/src/charting_library/bundles/2.60931787a6734697ac13.js +4 -0
- package/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +4 -0
- package/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +1 -0
- package/src/charting_library/bundles/21.8153544955cdc47262e3.css +1 -0
- package/src/charting_library/bundles/21.8153544955cdc47262e3.rtl.css +1 -0
- package/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +1 -0
- package/src/charting_library/bundles/22.da9773799a06c6066d1e.css +1 -0
- package/src/charting_library/bundles/22.da9773799a06c6066d1e.rtl.css +1 -0
- package/src/charting_library/bundles/23.256ba98e6a03200bdeba.js +1 -0
- package/src/charting_library/bundles/23.ee754f50171546186397.css +1 -0
- package/src/charting_library/bundles/23.ee754f50171546186397.rtl.css +1 -0
- package/src/charting_library/bundles/24.bc4fafedb1730259aa10.js +1 -0
- package/src/charting_library/bundles/24.e70c1623e0c74477ef2e.css +1 -0
- package/src/charting_library/bundles/24.e70c1623e0c74477ef2e.rtl.css +1 -0
- package/src/charting_library/bundles/25.7416db26ed3dcc87c05a.js +18 -0
- package/src/charting_library/bundles/26.3aeec391d4e6e19989ee.js +1 -0
- package/src/charting_library/bundles/26.69139a843bc1c84f790b.css +1 -0
- package/src/charting_library/bundles/26.69139a843bc1c84f790b.rtl.css +1 -0
- package/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +3 -0
- package/src/charting_library/bundles/28.3140e8cb507ad2593c76.css +1 -0
- package/src/charting_library/bundles/28.3140e8cb507ad2593c76.rtl.css +1 -0
- package/src/charting_library/bundles/28.9f103042c27ea2df422f.js +1 -0
- package/src/charting_library/bundles/29.07af6dca962ea27209f0.css +1 -0
- package/src/charting_library/bundles/29.07af6dca962ea27209f0.rtl.css +1 -0
- package/src/charting_library/bundles/29.3df8712b85d45a626aa0.js +1 -0
- package/src/charting_library/bundles/3.76c398b01b707e5b251c.js +1 -0
- package/src/charting_library/bundles/3.eeb90413029441681f91.css +1 -0
- package/src/charting_library/bundles/3.eeb90413029441681f91.rtl.css +1 -0
- package/src/charting_library/bundles/30.0b732ccb122d160480b6.js +8 -0
- package/src/charting_library/bundles/31.8d2b7a538755fd1bb760.js +5 -0
- package/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +4 -0
- package/src/charting_library/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
- package/src/charting_library/bundles/33.02ed7df481ae8243d2f2.css +1 -0
- package/src/charting_library/bundles/33.02ed7df481ae8243d2f2.rtl.css +1 -0
- package/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +1 -0
- package/src/charting_library/bundles/34.4b6099931f57311efc1a.css +1 -0
- package/src/charting_library/bundles/34.4b6099931f57311efc1a.rtl.css +1 -0
- package/src/charting_library/bundles/34.c9baa59add71a1e48fd2.js +1 -0
- package/src/charting_library/bundles/35.999f0e072062b7369a1a.css +1 -0
- package/src/charting_library/bundles/35.999f0e072062b7369a1a.rtl.css +1 -0
- package/src/charting_library/bundles/35.ed9e360f9686ad3a9497.js +1 -0
- package/src/charting_library/bundles/36.1882d1a8d312a0e193e9.js +1 -0
- package/src/charting_library/bundles/36.f315a19c17d5636af8f7.css +1 -0
- package/src/charting_library/bundles/36.f315a19c17d5636af8f7.rtl.css +1 -0
- package/src/charting_library/bundles/37.90129e4904155350d6a1.js +8 -0
- package/src/charting_library/bundles/38.41f3d509b61c8af47de3.js +3 -0
- package/src/charting_library/bundles/39.74a7bc3b464cd284827f.css +1 -0
- package/src/charting_library/bundles/39.74a7bc3b464cd284827f.rtl.css +1 -0
- package/src/charting_library/bundles/39.bc1e9ce938fd5152831f.js +1 -0
- package/src/charting_library/bundles/4.92647ec0a7beb8b2898d.css +0 -0
- package/src/charting_library/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/src/charting_library/bundles/4.c7430b8d89cddcf51345.js +1 -0
- package/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +2 -0
- package/src/charting_library/bundles/40566afd832a155e5e370a8bd423de4b.svg +1 -0
- package/src/charting_library/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
- package/src/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.css +1 -0
- package/src/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +1 -0
- package/src/charting_library/bundles/41.a19b0ae5d68f855d2753.js +1 -0
- package/src/charting_library/bundles/42.494986b0981f6d116fef.js +1 -0
- package/src/charting_library/bundles/42.9078fb8f1629e3eee9bd.css +1 -0
- package/src/charting_library/bundles/42.9078fb8f1629e3eee9bd.rtl.css +1 -0
- package/src/charting_library/bundles/43.619c5ed4a592cc2965a4.js +1 -0
- package/src/charting_library/bundles/43.8bf90585004742c338c5.css +1 -0
- package/src/charting_library/bundles/43.8bf90585004742c338c5.rtl.css +1 -0
- package/src/charting_library/bundles/44.0a7df307e4f397763ce8.js +25 -0
- package/src/charting_library/bundles/45.12a19785e3864bd62a76.css +1 -0
- package/src/charting_library/bundles/45.12a19785e3864bd62a76.rtl.css +1 -0
- package/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +1 -0
- package/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +3 -0
- package/src/charting_library/bundles/47.a3da3f774c90bd22798e.js +4 -0
- package/src/charting_library/bundles/48.a3fdb9dd54af71b3bda6.css +1 -0
- package/src/charting_library/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +1 -0
- package/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +1 -0
- package/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +1 -0
- package/src/charting_library/bundles/49.d723843c9192493b8c13.css +1 -0
- package/src/charting_library/bundles/49.d723843c9192493b8c13.rtl.css +1 -0
- package/src/charting_library/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
- package/src/charting_library/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
- package/src/charting_library/bundles/5.5e97b270ab80d99e9085.js +3 -0
- package/src/charting_library/bundles/50.8d5cba5b90176d3d2e3d.css +1 -0
- package/src/charting_library/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +1 -0
- package/src/charting_library/bundles/50.b282667dddcb7fe1569a.js +1 -0
- package/src/charting_library/bundles/51.11871c50951db825ace3.js +1 -0
- package/src/charting_library/bundles/51.300c3df03ca063ec03a0.css +1 -0
- package/src/charting_library/bundles/51.300c3df03ca063ec03a0.rtl.css +1 -0
- package/src/charting_library/bundles/52.0379a85baae3ab43b15c.js +1 -0
- package/src/charting_library/bundles/52.29cec22b3525b47af67e.css +1 -0
- package/src/charting_library/bundles/52.29cec22b3525b47af67e.rtl.css +1 -0
- package/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +12 -0
- package/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +7 -0
- package/src/charting_library/bundles/55.3c35a629db21ab961f11.js +9 -0
- package/src/charting_library/bundles/56.b3e69145c0fee614443d.js +4 -0
- package/src/charting_library/bundles/57.236996ec416da4c1f683.js +3 -0
- package/src/charting_library/bundles/58.7ffac4ba908b95705e63.js +3 -0
- package/src/charting_library/bundles/59.397cb6699b74d64072a8.js +1 -0
- package/src/charting_library/bundles/59.418f1db161eefae63284.css +1 -0
- package/src/charting_library/bundles/59.418f1db161eefae63284.rtl.css +1 -0
- package/src/charting_library/bundles/6.2221bb6a5d920bbb4bb2.css +1 -0
- package/src/charting_library/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +1 -0
- package/src/charting_library/bundles/6.2d67b0ae77825dbd455d.js +1 -0
- package/src/charting_library/bundles/60.6b5eced2ef8fa856be88.js +1 -0
- package/src/charting_library/bundles/60.d4583c71cca790a25900.css +1 -0
- package/src/charting_library/bundles/60.d4583c71cca790a25900.rtl.css +1 -0
- package/src/charting_library/bundles/61.38a3040c925fadff7b64.js +6 -0
- package/src/charting_library/bundles/62.63b309f5f8da9ca013b8.js +3 -0
- package/src/charting_library/bundles/63.8255c7f5191bcafcee7c.js +1 -0
- package/src/charting_library/bundles/63.898a61bf08239711dc74.css +1 -0
- package/src/charting_library/bundles/63.898a61bf08239711dc74.rtl.css +1 -0
- package/src/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.css +1 -0
- package/src/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +1 -0
- package/src/charting_library/bundles/64.ec4b4d03b28c77658dde.js +1 -0
- package/src/charting_library/bundles/65.556980fc277562af83c8.css +1 -0
- package/src/charting_library/bundles/65.556980fc277562af83c8.rtl.css +1 -0
- package/src/charting_library/bundles/65.f895a78b4e04257983ff.js +1 -0
- package/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +1 -0
- package/src/charting_library/bundles/66.84b4001b5c622a569dde.css +1 -0
- package/src/charting_library/bundles/66.84b4001b5c622a569dde.rtl.css +1 -0
- package/src/charting_library/bundles/67.19c83a0c303c290216d2.css +1 -0
- package/src/charting_library/bundles/67.19c83a0c303c290216d2.rtl.css +1 -0
- package/src/charting_library/bundles/67.25fd4b78c8c514988aeb.js +1 -0
- package/src/charting_library/bundles/68.8b4124c875484d11fd94.js +1 -0
- package/src/charting_library/bundles/68.fa7424ae9c5fe5483aac.css +1 -0
- package/src/charting_library/bundles/68.fa7424ae9c5fe5483aac.rtl.css +1 -0
- package/src/charting_library/bundles/69.094b4a764d3dc17820cf.css +1 -0
- package/src/charting_library/bundles/69.094b4a764d3dc17820cf.rtl.css +1 -0
- package/src/charting_library/bundles/69.43756a5c7477730eb0c4.js +1 -0
- package/src/charting_library/bundles/7.2c7c4f8a49c6380227de.js +3 -0
- package/src/charting_library/bundles/70.c27146ec029eda556108.css +1 -0
- package/src/charting_library/bundles/70.c27146ec029eda556108.rtl.css +1 -0
- package/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +1 -0
- package/src/charting_library/bundles/71.15e639d294c4209f256e.css +1 -0
- package/src/charting_library/bundles/71.15e639d294c4209f256e.rtl.css +1 -0
- package/src/charting_library/bundles/71.6a9d0842f5e48f68399c.js +1 -0
- package/src/charting_library/bundles/72.07441fd67b864b86147b.css +1 -0
- package/src/charting_library/bundles/72.07441fd67b864b86147b.rtl.css +1 -0
- package/src/charting_library/bundles/72.e3925aaf38d2c8997638.js +1 -0
- package/src/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.css +1 -0
- package/src/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +1 -0
- package/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +1 -0
- package/src/charting_library/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
- package/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +1 -0
- package/src/charting_library/bundles/74.8c591c252b2e7ad8f744.css +1 -0
- package/src/charting_library/bundles/74.8c591c252b2e7ad8f744.rtl.css +1 -0
- package/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +1 -0
- package/src/charting_library/bundles/75.fefbc386c59bf7d4f9f7.css +1 -0
- package/src/charting_library/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +1 -0
- package/src/charting_library/bundles/76.5d20bed213399f326603.js +1 -0
- package/src/charting_library/bundles/76.f14d71a31295d8cd8d8b.css +1 -0
- package/src/charting_library/bundles/76.f14d71a31295d8cd8d8b.rtl.css +1 -0
- package/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +1 -0
- package/src/charting_library/bundles/77.9c35f7046b848fbfd7f5.css +1 -0
- package/src/charting_library/bundles/77.9c35f7046b848fbfd7f5.rtl.css +1 -0
- package/src/charting_library/bundles/78.0d502ab4d94441708606.css +1 -0
- package/src/charting_library/bundles/78.0d502ab4d94441708606.rtl.css +1 -0
- package/src/charting_library/bundles/78.1d1d47a915b06f1496fb.js +1 -0
- package/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +1 -0
- package/src/charting_library/bundles/79.b990749a4839f9123f26.css +1 -0
- package/src/charting_library/bundles/79.b990749a4839f9123f26.rtl.css +1 -0
- package/src/charting_library/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
- package/src/charting_library/bundles/8.e66ab8f27911a033604f.css +1 -0
- package/src/charting_library/bundles/8.e66ab8f27911a033604f.rtl.css +1 -0
- package/src/charting_library/bundles/8.ffab20b86db484062268.js +1 -0
- package/src/charting_library/bundles/80.5bdd53d5fc42d40eee28.css +1 -0
- package/src/charting_library/bundles/80.5bdd53d5fc42d40eee28.rtl.css +1 -0
- package/src/charting_library/bundles/80.b5bc6acec3b531a510a9.js +1 -0
- package/src/charting_library/bundles/81.552e046aa828739c508b.css +1 -0
- package/src/charting_library/bundles/81.552e046aa828739c508b.rtl.css +1 -0
- package/src/charting_library/bundles/81.e6a1f76017a44b03480b.js +1 -0
- package/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +1 -0
- package/src/charting_library/bundles/82.e06fe84c8cdead4bd52e.css +1 -0
- package/src/charting_library/bundles/82.e06fe84c8cdead4bd52e.rtl.css +1 -0
- package/src/charting_library/bundles/83.e238aa056c5d4827cbdd.css +1 -0
- package/src/charting_library/bundles/83.e238aa056c5d4827cbdd.rtl.css +1 -0
- package/src/charting_library/bundles/83.f3e53bb5a5940e084955.js +1 -0
- package/src/charting_library/bundles/84.8acc496b4deeeeefb5af.js +1 -0
- package/src/charting_library/bundles/84.bb4fc57627c8626019fd.css +1 -0
- package/src/charting_library/bundles/84.bb4fc57627c8626019fd.rtl.css +1 -0
- package/src/charting_library/bundles/85.39c78fbeaabae306f343.js +1 -0
- package/src/charting_library/bundles/85.e0ba32bafcab02208901.css +1 -0
- package/src/charting_library/bundles/85.e0ba32bafcab02208901.rtl.css +1 -0
- package/src/charting_library/bundles/86.4bbbb9e6262243419986.js +1 -0
- package/src/charting_library/bundles/86.9244fc2bcc2370425a15.css +1 -0
- package/src/charting_library/bundles/86.9244fc2bcc2370425a15.rtl.css +1 -0
- package/src/charting_library/bundles/87.605cbc508223ec27341c.css +1 -0
- package/src/charting_library/bundles/87.605cbc508223ec27341c.rtl.css +1 -0
- package/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +1 -0
- package/src/charting_library/bundles/88.158dd8a18e176936a343.css +1 -0
- package/src/charting_library/bundles/88.158dd8a18e176936a343.rtl.css +1 -0
- package/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +1 -0
- package/src/charting_library/bundles/89.5f142643917701de773b.css +1 -0
- package/src/charting_library/bundles/89.5f142643917701de773b.rtl.css +1 -0
- package/src/charting_library/bundles/89.d8aa43b4b9378722d572.js +1 -0
- package/src/charting_library/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
- package/src/charting_library/bundles/9.84ecbc930e51cb26d06a.js +1 -0
- package/src/charting_library/bundles/9.8ab09f93a5113a634119.css +1 -0
- package/src/charting_library/bundles/9.8ab09f93a5113a634119.rtl.css +1 -0
- package/src/charting_library/bundles/90.877114560c4828a97702.css +1 -0
- package/src/charting_library/bundles/90.877114560c4828a97702.rtl.css +1 -0
- package/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +1 -0
- package/src/charting_library/bundles/91.2142b248a2bb29549a99.css +1 -0
- package/src/charting_library/bundles/91.2142b248a2bb29549a99.rtl.css +1 -0
- package/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +1 -0
- package/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +1 -0
- package/src/charting_library/bundles/92.e46f0aa06bcdbddf3831.css +1 -0
- package/src/charting_library/bundles/92.e46f0aa06bcdbddf3831.rtl.css +1 -0
- package/src/charting_library/bundles/93.17d34ca77a7fc85a24d9.css +1 -0
- package/src/charting_library/bundles/93.17d34ca77a7fc85a24d9.rtl.css +1 -0
- package/src/charting_library/bundles/93.6de56ef1975f4a31e542.js +1 -0
- package/src/charting_library/bundles/94.231bea5fb12b806ef287.js +1 -0
- package/src/charting_library/bundles/94.b204218cb73b576333a1.css +1 -0
- package/src/charting_library/bundles/94.b204218cb73b576333a1.rtl.css +1 -0
- package/src/charting_library/bundles/95.51244d1c4baf49d08807.css +1 -0
- package/src/charting_library/bundles/95.51244d1c4baf49d08807.rtl.css +1 -0
- package/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +1 -0
- package/src/charting_library/bundles/96.43bb935eee30715afff7.js +1 -0
- package/src/charting_library/bundles/96.be9ad3d6a7c91501bb55.css +1 -0
- package/src/charting_library/bundles/96.be9ad3d6a7c91501bb55.rtl.css +1 -0
- package/src/charting_library/bundles/a6506134daec7169f68f563f084a9d41.svg +1 -0
- package/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +9 -0
- package/src/charting_library/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
- package/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +2 -0
- package/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +15 -0
- package/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +2 -0
- package/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +2 -0
- package/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +54 -0
- package/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +5 -0
- package/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +4 -0
- package/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +4 -0
- package/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +3 -0
- package/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +13 -0
- package/src/charting_library/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
- package/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +2 -0
- package/src/charting_library/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
- package/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +20 -0
- package/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +3 -0
- package/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +5 -0
- package/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +6 -0
- package/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +14 -0
- package/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +7 -0
- package/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +9 -0
- package/src/charting_library/bundles/library.579e6e3fd95b660ad833.css +1 -0
- package/src/charting_library/bundles/library.579e6e3fd95b660ad833.rtl.css +1 -0
- package/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +756 -0
- package/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +29 -0
- package/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +4 -0
- package/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +4 -0
- package/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +102 -0
- package/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +24 -0
- package/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +1 -0
- package/src/charting_library/bundles/moment.78e587a83a009ca48cda.js +17 -0
- package/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +2 -0
- package/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +19 -0
- package/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +58 -0
- package/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +45 -0
- package/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +9 -0
- package/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +27 -0
- package/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +5 -0
- package/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +2 -0
- package/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +1 -0
- package/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +1 -0
- package/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +1 -0
- package/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +6 -0
- package/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +2 -0
- package/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +7 -0
- package/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +5 -0
- package/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +4 -0
- package/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +11 -0
- package/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +4 -0
- package/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +1 -0
- package/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +2 -0
- package/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +42 -0
- package/src/charting_library/charting_library.cjs.js +1 -0
- package/src/charting_library/charting_library.d.ts +2087 -0
- package/src/charting_library/charting_library.esm.js +1 -0
- package/src/charting_library/charting_library.js +1 -0
- package/src/charting_library/datafeed-api.d.ts +274 -0
- package/src/charting_library/en-tv-chart.f0bc1e45.html +1 -0
- package/src/charting_library/package.json +8 -0
- package/src/charting_library/yarn.lock +4 -0
- package/src/datafeed.ts +283 -0
- package/src/helpers.ts +41 -0
- package/src/index.css +5 -0
- package/src/index.tsx +10 -0
- package/src/main.tsx +152 -0
- package/src/streaming.ts +124 -0
- package/tsconfig.json +97 -0
- package/tsup.config.ts +10 -0
- package/dist/TVChartContainer.d.mts +0 -45
- package/dist/TVChartContainer.d.ts +0 -45
- package/dist/TVChartContainer.js +0 -746
- package/dist/TVChartContainer.js.map +0 -1
- package/dist/TVChartContainer.mjs +0 -729
- package/dist/TVChartContainer.mjs.map +0 -1
- /package/dist/{charting_library/bundles/1.92647ec0a7beb8b2898d.css → public/charting_library/bundles/0.d46f0b5e9380d7893de5.d.ts} +0 -0
- /package/dist/{charting_library/bundles/1.92647ec0a7beb8b2898d.rtl.css → public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.d.ts} +0 -0
- /package/dist/{charting_library/bundles/4.92647ec0a7beb8b2898d.css → public/charting_library/bundles/10.21e665b7935d5bc4ba64.d.ts} +0 -0
- /package/dist/{charting_library/bundles/4.92647ec0a7beb8b2898d.rtl.css → public/charting_library/bundles/11.df012db70159a159d927.d.ts} +0 -0
- /package/{dist → public}/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -0
- /package/{dist → public}/charting_library/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
- /package/{dist → public}/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -0
- /package/{dist → public}/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -0
- /package/{dist → public}/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.css +0 -0
- /package/{dist → public}/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/11.df012db70159a159d927.js +0 -0
- /package/{dist → public}/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -0
- /package/{dist → public}/charting_library/bundles/12.ef8057448f3a7ae1c3d8.css +0 -0
- /package/{dist → public}/charting_library/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/13.699469c73d09b7add56d.js +0 -0
- /package/{dist → public}/charting_library/bundles/13.9240f13280154f2593b7.css +0 -0
- /package/{dist → public}/charting_library/bundles/13.9240f13280154f2593b7.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/14.8095b40dd1e7deedf401.css +0 -0
- /package/{dist → public}/charting_library/bundles/14.8095b40dd1e7deedf401.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -0
- /package/{dist → public}/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -0
- /package/{dist → public}/charting_library/bundles/16.680572949c1125757d35.js +0 -0
- /package/{dist → public}/charting_library/bundles/16.d567c9db608f3d98d8de.css +0 -0
- /package/{dist → public}/charting_library/bundles/16.d567c9db608f3d98d8de.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/17.404a01f527881dfff424.js +0 -0
- /package/{dist → public}/charting_library/bundles/17.ec35a19db935279c5b42.css +0 -0
- /package/{dist → public}/charting_library/bundles/17.ec35a19db935279c5b42.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/18.78de69cfba051874e071.js +0 -0
- /package/{dist → public}/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -0
- /package/{dist → public}/charting_library/bundles/19.75c30426f9d3ad5ca0c5.css +0 -0
- /package/{dist → public}/charting_library/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
- /package/{dist → public}/charting_library/bundles/2.60931787a6734697ac13.js +0 -0
- /package/{dist → public}/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -0
- /package/{dist → public}/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -0
- /package/{dist → public}/charting_library/bundles/21.8153544955cdc47262e3.css +0 -0
- /package/{dist → public}/charting_library/bundles/21.8153544955cdc47262e3.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -0
- /package/{dist → public}/charting_library/bundles/22.da9773799a06c6066d1e.css +0 -0
- /package/{dist → public}/charting_library/bundles/22.da9773799a06c6066d1e.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -0
- /package/{dist → public}/charting_library/bundles/23.ee754f50171546186397.css +0 -0
- /package/{dist → public}/charting_library/bundles/23.ee754f50171546186397.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -0
- /package/{dist → public}/charting_library/bundles/24.e70c1623e0c74477ef2e.css +0 -0
- /package/{dist → public}/charting_library/bundles/24.e70c1623e0c74477ef2e.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -0
- /package/{dist → public}/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -0
- /package/{dist → public}/charting_library/bundles/26.69139a843bc1c84f790b.css +0 -0
- /package/{dist → public}/charting_library/bundles/26.69139a843bc1c84f790b.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -0
- /package/{dist → public}/charting_library/bundles/28.3140e8cb507ad2593c76.css +0 -0
- /package/{dist → public}/charting_library/bundles/28.3140e8cb507ad2593c76.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -0
- /package/{dist → public}/charting_library/bundles/29.07af6dca962ea27209f0.css +0 -0
- /package/{dist → public}/charting_library/bundles/29.07af6dca962ea27209f0.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -0
- /package/{dist → public}/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -0
- /package/{dist → public}/charting_library/bundles/3.eeb90413029441681f91.css +0 -0
- /package/{dist → public}/charting_library/bundles/3.eeb90413029441681f91.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -0
- /package/{dist → public}/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -0
- /package/{dist → public}/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -0
- /package/{dist → public}/charting_library/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
- /package/{dist → public}/charting_library/bundles/33.02ed7df481ae8243d2f2.css +0 -0
- /package/{dist → public}/charting_library/bundles/33.02ed7df481ae8243d2f2.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -0
- /package/{dist → public}/charting_library/bundles/34.4b6099931f57311efc1a.css +0 -0
- /package/{dist → public}/charting_library/bundles/34.4b6099931f57311efc1a.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -0
- /package/{dist → public}/charting_library/bundles/35.999f0e072062b7369a1a.css +0 -0
- /package/{dist → public}/charting_library/bundles/35.999f0e072062b7369a1a.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -0
- /package/{dist → public}/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -0
- /package/{dist → public}/charting_library/bundles/36.f315a19c17d5636af8f7.css +0 -0
- /package/{dist → public}/charting_library/bundles/36.f315a19c17d5636af8f7.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/37.90129e4904155350d6a1.js +0 -0
- /package/{dist → public}/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -0
- /package/{dist → public}/charting_library/bundles/39.74a7bc3b464cd284827f.css +0 -0
- /package/{dist → public}/charting_library/bundles/39.74a7bc3b464cd284827f.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -0
- /package/{dist → public}/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -0
- /package/{dist → public}/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -0
- /package/{dist → public}/charting_library/bundles/40566afd832a155e5e370a8bd423de4b.svg +0 -0
- /package/{dist → public}/charting_library/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
- /package/{dist → public}/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.css +0 -0
- /package/{dist → public}/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -0
- /package/{dist → public}/charting_library/bundles/42.494986b0981f6d116fef.js +0 -0
- /package/{dist → public}/charting_library/bundles/42.9078fb8f1629e3eee9bd.css +0 -0
- /package/{dist → public}/charting_library/bundles/42.9078fb8f1629e3eee9bd.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -0
- /package/{dist → public}/charting_library/bundles/43.8bf90585004742c338c5.css +0 -0
- /package/{dist → public}/charting_library/bundles/43.8bf90585004742c338c5.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -0
- /package/{dist → public}/charting_library/bundles/45.12a19785e3864bd62a76.css +0 -0
- /package/{dist → public}/charting_library/bundles/45.12a19785e3864bd62a76.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -0
- /package/{dist → public}/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -0
- /package/{dist → public}/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -0
- /package/{dist → public}/charting_library/bundles/48.a3fdb9dd54af71b3bda6.css +0 -0
- /package/{dist → public}/charting_library/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -0
- /package/{dist → public}/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -0
- /package/{dist → public}/charting_library/bundles/49.d723843c9192493b8c13.css +0 -0
- /package/{dist → public}/charting_library/bundles/49.d723843c9192493b8c13.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
- /package/{dist → public}/charting_library/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
- /package/{dist → public}/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -0
- /package/{dist → public}/charting_library/bundles/50.8d5cba5b90176d3d2e3d.css +0 -0
- /package/{dist → public}/charting_library/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -0
- /package/{dist → public}/charting_library/bundles/51.11871c50951db825ace3.js +0 -0
- /package/{dist → public}/charting_library/bundles/51.300c3df03ca063ec03a0.css +0 -0
- /package/{dist → public}/charting_library/bundles/51.300c3df03ca063ec03a0.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -0
- /package/{dist → public}/charting_library/bundles/52.29cec22b3525b47af67e.css +0 -0
- /package/{dist → public}/charting_library/bundles/52.29cec22b3525b47af67e.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -0
- /package/{dist → public}/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -0
- /package/{dist → public}/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -0
- /package/{dist → public}/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -0
- /package/{dist → public}/charting_library/bundles/57.236996ec416da4c1f683.js +0 -0
- /package/{dist → public}/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -0
- /package/{dist → public}/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -0
- /package/{dist → public}/charting_library/bundles/59.418f1db161eefae63284.css +0 -0
- /package/{dist → public}/charting_library/bundles/59.418f1db161eefae63284.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/6.2221bb6a5d920bbb4bb2.css +0 -0
- /package/{dist → public}/charting_library/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -0
- /package/{dist → public}/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -0
- /package/{dist → public}/charting_library/bundles/60.d4583c71cca790a25900.css +0 -0
- /package/{dist → public}/charting_library/bundles/60.d4583c71cca790a25900.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -0
- /package/{dist → public}/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -0
- /package/{dist → public}/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -0
- /package/{dist → public}/charting_library/bundles/63.898a61bf08239711dc74.css +0 -0
- /package/{dist → public}/charting_library/bundles/63.898a61bf08239711dc74.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.css +0 -0
- /package/{dist → public}/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -0
- /package/{dist → public}/charting_library/bundles/65.556980fc277562af83c8.css +0 -0
- /package/{dist → public}/charting_library/bundles/65.556980fc277562af83c8.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -0
- /package/{dist → public}/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -0
- /package/{dist → public}/charting_library/bundles/66.84b4001b5c622a569dde.css +0 -0
- /package/{dist → public}/charting_library/bundles/66.84b4001b5c622a569dde.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/67.19c83a0c303c290216d2.css +0 -0
- /package/{dist → public}/charting_library/bundles/67.19c83a0c303c290216d2.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -0
- /package/{dist → public}/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -0
- /package/{dist → public}/charting_library/bundles/68.fa7424ae9c5fe5483aac.css +0 -0
- /package/{dist → public}/charting_library/bundles/68.fa7424ae9c5fe5483aac.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/69.094b4a764d3dc17820cf.css +0 -0
- /package/{dist → public}/charting_library/bundles/69.094b4a764d3dc17820cf.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -0
- /package/{dist → public}/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -0
- /package/{dist → public}/charting_library/bundles/70.c27146ec029eda556108.css +0 -0
- /package/{dist → public}/charting_library/bundles/70.c27146ec029eda556108.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -0
- /package/{dist → public}/charting_library/bundles/71.15e639d294c4209f256e.css +0 -0
- /package/{dist → public}/charting_library/bundles/71.15e639d294c4209f256e.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -0
- /package/{dist → public}/charting_library/bundles/72.07441fd67b864b86147b.css +0 -0
- /package/{dist → public}/charting_library/bundles/72.07441fd67b864b86147b.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -0
- /package/{dist → public}/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.css +0 -0
- /package/{dist → public}/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -0
- /package/{dist → public}/charting_library/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
- /package/{dist → public}/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -0
- /package/{dist → public}/charting_library/bundles/74.8c591c252b2e7ad8f744.css +0 -0
- /package/{dist → public}/charting_library/bundles/74.8c591c252b2e7ad8f744.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -0
- /package/{dist → public}/charting_library/bundles/75.fefbc386c59bf7d4f9f7.css +0 -0
- /package/{dist → public}/charting_library/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/76.5d20bed213399f326603.js +0 -0
- /package/{dist → public}/charting_library/bundles/76.f14d71a31295d8cd8d8b.css +0 -0
- /package/{dist → public}/charting_library/bundles/76.f14d71a31295d8cd8d8b.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -0
- /package/{dist → public}/charting_library/bundles/77.9c35f7046b848fbfd7f5.css +0 -0
- /package/{dist → public}/charting_library/bundles/77.9c35f7046b848fbfd7f5.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/78.0d502ab4d94441708606.css +0 -0
- /package/{dist → public}/charting_library/bundles/78.0d502ab4d94441708606.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -0
- /package/{dist → public}/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -0
- /package/{dist → public}/charting_library/bundles/79.b990749a4839f9123f26.css +0 -0
- /package/{dist → public}/charting_library/bundles/79.b990749a4839f9123f26.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
- /package/{dist → public}/charting_library/bundles/8.e66ab8f27911a033604f.css +0 -0
- /package/{dist → public}/charting_library/bundles/8.e66ab8f27911a033604f.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/8.ffab20b86db484062268.js +0 -0
- /package/{dist → public}/charting_library/bundles/80.5bdd53d5fc42d40eee28.css +0 -0
- /package/{dist → public}/charting_library/bundles/80.5bdd53d5fc42d40eee28.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -0
- /package/{dist → public}/charting_library/bundles/81.552e046aa828739c508b.css +0 -0
- /package/{dist → public}/charting_library/bundles/81.552e046aa828739c508b.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -0
- /package/{dist → public}/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -0
- /package/{dist → public}/charting_library/bundles/82.e06fe84c8cdead4bd52e.css +0 -0
- /package/{dist → public}/charting_library/bundles/82.e06fe84c8cdead4bd52e.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/83.e238aa056c5d4827cbdd.css +0 -0
- /package/{dist → public}/charting_library/bundles/83.e238aa056c5d4827cbdd.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -0
- /package/{dist → public}/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -0
- /package/{dist → public}/charting_library/bundles/84.bb4fc57627c8626019fd.css +0 -0
- /package/{dist → public}/charting_library/bundles/84.bb4fc57627c8626019fd.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -0
- /package/{dist → public}/charting_library/bundles/85.e0ba32bafcab02208901.css +0 -0
- /package/{dist → public}/charting_library/bundles/85.e0ba32bafcab02208901.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -0
- /package/{dist → public}/charting_library/bundles/86.9244fc2bcc2370425a15.css +0 -0
- /package/{dist → public}/charting_library/bundles/86.9244fc2bcc2370425a15.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/87.605cbc508223ec27341c.css +0 -0
- /package/{dist → public}/charting_library/bundles/87.605cbc508223ec27341c.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -0
- /package/{dist → public}/charting_library/bundles/88.158dd8a18e176936a343.css +0 -0
- /package/{dist → public}/charting_library/bundles/88.158dd8a18e176936a343.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -0
- /package/{dist → public}/charting_library/bundles/89.5f142643917701de773b.css +0 -0
- /package/{dist → public}/charting_library/bundles/89.5f142643917701de773b.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -0
- /package/{dist → public}/charting_library/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
- /package/{dist → public}/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -0
- /package/{dist → public}/charting_library/bundles/9.8ab09f93a5113a634119.css +0 -0
- /package/{dist → public}/charting_library/bundles/9.8ab09f93a5113a634119.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/90.877114560c4828a97702.css +0 -0
- /package/{dist → public}/charting_library/bundles/90.877114560c4828a97702.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -0
- /package/{dist → public}/charting_library/bundles/91.2142b248a2bb29549a99.css +0 -0
- /package/{dist → public}/charting_library/bundles/91.2142b248a2bb29549a99.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -0
- /package/{dist → public}/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -0
- /package/{dist → public}/charting_library/bundles/92.e46f0aa06bcdbddf3831.css +0 -0
- /package/{dist → public}/charting_library/bundles/92.e46f0aa06bcdbddf3831.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/93.17d34ca77a7fc85a24d9.css +0 -0
- /package/{dist → public}/charting_library/bundles/93.17d34ca77a7fc85a24d9.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -0
- /package/{dist → public}/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -0
- /package/{dist → public}/charting_library/bundles/94.b204218cb73b576333a1.css +0 -0
- /package/{dist → public}/charting_library/bundles/94.b204218cb73b576333a1.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/95.51244d1c4baf49d08807.css +0 -0
- /package/{dist → public}/charting_library/bundles/95.51244d1c4baf49d08807.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -0
- /package/{dist → public}/charting_library/bundles/96.43bb935eee30715afff7.js +0 -0
- /package/{dist → public}/charting_library/bundles/96.be9ad3d6a7c91501bb55.css +0 -0
- /package/{dist → public}/charting_library/bundles/96.be9ad3d6a7c91501bb55.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/a6506134daec7169f68f563f084a9d41.svg +0 -0
- /package/{dist → public}/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -0
- /package/{dist → public}/charting_library/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
- /package/{dist → public}/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -0
- /package/{dist → public}/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -0
- /package/{dist → public}/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -0
- /package/{dist → public}/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -0
- /package/{dist → public}/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -0
- /package/{dist → public}/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -0
- /package/{dist → public}/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -0
- /package/{dist → public}/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -0
- /package/{dist → public}/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -0
- /package/{dist → public}/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -0
- /package/{dist → public}/charting_library/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
- /package/{dist → public}/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -0
- /package/{dist → public}/charting_library/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
- /package/{dist → public}/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -0
- /package/{dist → public}/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -0
- /package/{dist → public}/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -0
- /package/{dist → public}/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -0
- /package/{dist → public}/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -0
- /package/{dist → public}/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -0
- /package/{dist → public}/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -0
- /package/{dist → public}/charting_library/bundles/library.579e6e3fd95b660ad833.css +0 -0
- /package/{dist → public}/charting_library/bundles/library.579e6e3fd95b660ad833.rtl.css +0 -0
- /package/{dist → public}/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -0
- /package/{dist → public}/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -0
- /package/{dist → public}/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -0
- /package/{dist → public}/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -0
- /package/{dist → public}/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -0
- /package/{dist → public}/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -0
- /package/{dist → public}/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -0
- /package/{dist → public}/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -0
- /package/{dist → public}/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -0
- /package/{dist → public}/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -0
- /package/{dist → public}/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -0
- /package/{dist → public}/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -0
- /package/{dist → public}/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -0
- /package/{dist → public}/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -0
- /package/{dist → public}/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -0
- /package/{dist → public}/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -0
- /package/{dist → public}/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -0
- /package/{dist → public}/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -0
- /package/{dist → public}/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -0
- /package/{dist → public}/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -0
- /package/{dist → public}/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -0
- /package/{dist → public}/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -0
- /package/{dist → public}/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -0
- /package/{dist → public}/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -0
- /package/{dist → public}/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -0
- /package/{dist → public}/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -0
- /package/{dist → public}/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -0
- /package/{dist → public}/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -0
- /package/{dist → public}/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -0
- /package/{dist → public}/charting_library/charting_library.cjs.js +0 -0
- /package/{dist → public}/charting_library/charting_library.d.ts +0 -0
- /package/{dist → public}/charting_library/charting_library.esm.js +0 -0
- /package/{dist → public}/charting_library/charting_library.js +0 -0
- /package/{dist → public}/charting_library/datafeed-api.d.ts +0 -0
- /package/{dist → public}/charting_library/en-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → public}/charting_library/package.json +0 -0
- /package/{dist → public}/charting_library/yarn.lock +0 -0
- /package/{dist → src}/charting_library/ar-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/charting_library.standalone.js +0 -0
- /package/{dist → src}/charting_library/cs-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/da_DK-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/de-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/el-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/es-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/et_EE-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/fa-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/fr-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/he_IL-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/hu_HU-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/id_ID-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/it-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/ja-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/ko-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/ms_MY-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/nl_NL-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/no-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/pl-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/pt-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/ro-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/ru-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/sk_SK-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/sv-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/th-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/tr-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/vi-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/zh-tv-chart.f0bc1e45.html +0 -0
- /package/{dist → src}/charting_library/zh_TW-tv-chart.f0bc1e45.html +0 -0
|
@@ -0,0 +1,1807 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
11
|
+
var t = {};
|
|
12
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13
|
+
t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
15
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
17
|
+
t[p[i]] = s[p[i]];
|
|
18
|
+
}
|
|
19
|
+
return t;
|
|
20
|
+
};
|
|
21
|
+
(window.webpackJsonp = window.webpackJsonp || []).push([["object-tree-dialog"], { "+5L9": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'; }, "+KIV": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z"/></svg>'; }, "02pg": function (e, t, n) {
|
|
22
|
+
"use strict";
|
|
23
|
+
n.d(t, "a", (function () { return s; }));
|
|
24
|
+
var r = n("q1tI"), o = n("TSYQ"), i = n("XiJV");
|
|
25
|
+
function s(e) { return r.createElement("div", { className: o(i.separator, e.className) }); }
|
|
26
|
+
}, "20cQ": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M11.5 4A2.5 2.5 0 0 0 7 5.5V7h6a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2V5.5a3.5 3.5 0 0 1 6.231-2.19c-.231.19-.73.69-.73.69zM13 8H6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zm-2 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/></svg>'; }, "4/GM": function (e, t, n) { e.exports = { dialog: "dialog-3q1-PXu-", button: "button-3q1-PXu-" }; }, "4ceR": function (e, t, n) { e.exports = { dropTargetInside: "dropTargetInside-3UxYcxls", dropTarget: "dropTarget-3UxYcxls", before: "before-3UxYcxls", after: "after-3UxYcxls" }; }, ASyk: function (e, t, n) { e.exports = { "tablet-normal-breakpoint": "screen and (max-width: 768px)", "small-height-breakpoint": "screen and (max-height: 360px)", "tablet-small-breakpoint": "screen and (max-width: 428px)" }; }, "B6/a": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M5.5 6C4.67 6 4 6.67 4 7.5V20.5c0 .83.67 1.5 1.5 1.5H16v-1H5.5a.5.5 0 0 1-.5-.5V12h16v1h1V9.5c0-.83-.67-1.5-1.5-1.5h-8.8L9.86 6.15 9.71 6H5.5zM21 11H5V7.5c0-.28.22-.5.5-.5h3.8l1.85 1.85.14.15h9.21c.28 0 .5.22.5.5V11zm1 11v-3h3v-1h-3v-3h-1v3h-3v1h3v3h1z"/></svg>'; }, DGxW: function (e, t, n) { e.exports = { separator: "separator-3U2Wf-wc", tree: "tree-3U2Wf-wc", overlayScrollWrap: "overlayScrollWrap-3U2Wf-wc", listContainer: "listContainer-3U2Wf-wc" }; }, EqDG: function (e, t, n) {
|
|
27
|
+
"use strict";
|
|
28
|
+
var r = n("aKzv"), o = "dnd-core/INIT_COORDS", i = "dnd-core/BEGIN_DRAG", s = "dnd-core/PUBLISH_DRAG_SOURCE", a = "dnd-core/HOVER", c = "dnd-core/DROP", l = "dnd-core/END_DRAG";
|
|
29
|
+
function u(e, t) { return { type: o, payload: { sourceClientOffset: t || null, clientOffset: e || null } }; }
|
|
30
|
+
function d(e) { return (d = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; })(e); }
|
|
31
|
+
function h(e, t, n) { return t.split(".").reduce((function (e, t) { return e && e[t] ? e[t] : n || null; }), e); }
|
|
32
|
+
function f(e, t) { return e.filter((function (e) { return e !== t; })); }
|
|
33
|
+
function p(e) { return "object" === d(e); }
|
|
34
|
+
function g(e, t) {
|
|
35
|
+
var n = new Map, r = function (e) { n.set(e, n.has(e) ? n.get(e) + 1 : 1); };
|
|
36
|
+
e.forEach(r), t.forEach(r);
|
|
37
|
+
var o = [];
|
|
38
|
+
return n.forEach((function (e, t) { 1 === e && o.push(t); })), o;
|
|
39
|
+
}
|
|
40
|
+
var v = { type: o, payload: { clientOffset: null, sourceClientOffset: null } };
|
|
41
|
+
function b(e) { return function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { publishSource: !0 }, r = n.publishSource, o = void 0 === r || r, s = n.clientOffset, a = n.getSourceClientOffset, c = e.getMonitor(), l = e.getRegistry(); e.dispatch(u(s)), m(t, c, l); var d = S(t, c); if (null !== d) {
|
|
42
|
+
var h = null;
|
|
43
|
+
if (s) {
|
|
44
|
+
if (!a)
|
|
45
|
+
throw new Error("getSourceClientOffset must be defined");
|
|
46
|
+
y(a), h = a(d);
|
|
47
|
+
}
|
|
48
|
+
e.dispatch(u(s, h));
|
|
49
|
+
var f = l.getSource(d), p = f.beginDrag(c, d);
|
|
50
|
+
if (null != p) {
|
|
51
|
+
O(p), l.pinSource(d);
|
|
52
|
+
var g = l.getSourceType(d);
|
|
53
|
+
return { type: i, payload: { itemType: g, item: p, sourceId: d, clientOffset: s || null, sourceClientOffset: h || null, isSourcePublic: !!o } };
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else
|
|
57
|
+
e.dispatch(v); }; }
|
|
58
|
+
function m(e, t, n) { Object(r.a)(!t.isDragging(), "Cannot call beginDrag while dragging."), e.forEach((function (e) { Object(r.a)(n.getSource(e), "Expected sourceIds to be registered."); })); }
|
|
59
|
+
function y(e) { Object(r.a)("function" == typeof e, "When clientOffset is provided, getSourceClientOffset must be a function."); }
|
|
60
|
+
function O(e) { Object(r.a)(p(e), "Item must be an object."); }
|
|
61
|
+
function S(e, t) { for (var n = null, r = e.length - 1; r >= 0; r--)
|
|
62
|
+
if (t.canDragSource(e[r])) {
|
|
63
|
+
n = e[r];
|
|
64
|
+
break;
|
|
65
|
+
} return n; }
|
|
66
|
+
function w(e) { return function () { if (e.getMonitor().isDragging())
|
|
67
|
+
return { type: s }; }; }
|
|
68
|
+
function _(e, t) { return null === t ? null === e : Array.isArray(e) ? e.some((function (e) { return e === t; })) : e === t; }
|
|
69
|
+
function C(e) { return function (t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = n.clientOffset; T(t); var o = t.slice(0), i = e.getMonitor(), s = e.getRegistry(); E(o, i, s); var c = i.getItemType(); return D(o, s, c), j(o, i, s), { type: a, payload: { targetIds: o, clientOffset: r || null } }; }; }
|
|
70
|
+
function T(e) { Object(r.a)(Array.isArray(e), "Expected targetIds to be an array."); }
|
|
71
|
+
function E(e, t, n) { Object(r.a)(t.isDragging(), "Cannot call hover while not dragging."), Object(r.a)(!t.didDrop(), "Cannot call hover after drop."); for (var o = 0; o < e.length; o++) {
|
|
72
|
+
var i = e[o];
|
|
73
|
+
Object(r.a)(e.lastIndexOf(i) === o, "Expected targetIds to be unique in the passed array.");
|
|
74
|
+
var s = n.getTarget(i);
|
|
75
|
+
Object(r.a)(s, "Expected targetIds to be registered.");
|
|
76
|
+
} }
|
|
77
|
+
function D(e, t, n) { for (var r = e.length - 1; r >= 0; r--) {
|
|
78
|
+
var o = e[r];
|
|
79
|
+
_(t.getTargetType(o), n) || e.splice(r, 1);
|
|
80
|
+
} }
|
|
81
|
+
function j(e, t, n) { e.forEach((function (e) { n.getTarget(e).hover(t, e); })); }
|
|
82
|
+
function I(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) {
|
|
83
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
84
|
+
t && (r = r.filter((function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; }))), n.push.apply(n, r);
|
|
85
|
+
} return n; }
|
|
86
|
+
function k(e) { for (var t = 1; t < arguments.length; t++) {
|
|
87
|
+
var n = null != arguments[t] ? arguments[t] : {};
|
|
88
|
+
t % 2 ? I(Object(n), !0).forEach((function (t) { M(e, t, n[t]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I(Object(n)).forEach((function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }));
|
|
89
|
+
} return e; }
|
|
90
|
+
function M(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; }
|
|
91
|
+
function x(e) {
|
|
92
|
+
return function () {
|
|
93
|
+
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = e.getMonitor(), r = e.getRegistry();
|
|
94
|
+
N(n);
|
|
95
|
+
var o = A(n);
|
|
96
|
+
o.forEach((function (o, i) { var s = P(o, i, r, n), a = { type: c, payload: { dropResult: k(k({}, t), s) } }; e.dispatch(a); }));
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function N(e) { Object(r.a)(e.isDragging(), "Cannot call drop while not dragging."), Object(r.a)(!e.didDrop(), "Cannot call drop twice during one drag operation."); }
|
|
100
|
+
function P(e, t, n, o) { var i = n.getTarget(e), s = i ? i.drop(o, e) : void 0; return function (e) { Object(r.a)(void 0 === e || p(e), "Drop result must either be an object or undefined."); }(s), void 0 === s && (s = 0 === t ? {} : o.getDropResult()), s; }
|
|
101
|
+
function A(e) { var t = e.getTargetIds().filter(e.canDropOnTarget, e); return t.reverse(), t; }
|
|
102
|
+
function L(e) { return function () { var t = e.getMonitor(), n = e.getRegistry(); !function (e) { Object(r.a)(e.isDragging(), "Cannot call endDrag while not dragging."); }(t); var o = t.getSourceId(); null != o && (n.getSource(o, !0).endDrag(t, o), n.unpinSource()); return { type: l }; }; }
|
|
103
|
+
function R(e, t) { for (var n = 0; n < t.length; n++) {
|
|
104
|
+
var r = t[n];
|
|
105
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
106
|
+
} }
|
|
107
|
+
var B = function () { function e(t, n) { var r = this; !function (e, t) { if (!(e instanceof t))
|
|
108
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.isSetUp = !1, this.handleRefCountChange = function () { var e = r.store.getState().refCount > 0; r.backend && (e && !r.isSetUp ? (r.backend.setup(), r.isSetUp = !0) : !e && r.isSetUp && (r.backend.teardown(), r.isSetUp = !1)); }, this.store = t, this.monitor = n, t.subscribe(this.handleRefCountChange); } var t, n, r; return t = e, (n = [{ key: "receiveBackend", value: function (e) { this.backend = e; } }, { key: "getMonitor", value: function () { return this.monitor; } }, { key: "getBackend", value: function () { return this.backend; } }, { key: "getRegistry", value: function () { return this.monitor.registry; } }, { key: "getActions", value: function () { var e = this, t = this.store.dispatch, n = function (e) { return { beginDrag: b(e), publishDragSource: w(e), hover: C(e), drop: x(e), endDrag: L(e) }; }(this); return Object.keys(n).reduce((function (r, o) { var i, s = n[o]; return r[o] = (i = s, function () { for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
|
|
109
|
+
r[o] = arguments[o]; var s = i.apply(e, r); void 0 !== s && t(s); }), r; }), {}); } }, { key: "dispatch", value: function (e) { this.store.dispatch(e); } }]) && R(t.prototype, n), r && R(t, r), e; }(), F = n("ANjH"), H = function (e, t) { return e === t; };
|
|
110
|
+
function z(e, t) { return !e && !t || !(!e || !t) && (e.x === t.x && e.y === t.y); }
|
|
111
|
+
function U(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : H; if (e.length !== t.length)
|
|
112
|
+
return !1; for (var r = 0; r < e.length; ++r)
|
|
113
|
+
if (!n(e[r], t[r]))
|
|
114
|
+
return !1; return !0; }
|
|
115
|
+
function G(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) {
|
|
116
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
117
|
+
t && (r = r.filter((function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; }))), n.push.apply(n, r);
|
|
118
|
+
} return n; }
|
|
119
|
+
function V(e) {
|
|
120
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
121
|
+
var n = null != arguments[t] ? arguments[t] : {};
|
|
122
|
+
t % 2 ? G(Object(n), !0).forEach((function (t) { K(e, t, n[t]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G(Object(n)).forEach((function (t) {
|
|
123
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
124
|
+
}));
|
|
125
|
+
}
|
|
126
|
+
return e;
|
|
127
|
+
}
|
|
128
|
+
function K(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; }
|
|
129
|
+
var W = { initialSourceClientOffset: null, initialClientOffset: null, clientOffset: null };
|
|
130
|
+
function q() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : W, t = arguments.length > 1 ? arguments[1] : void 0, n = t.payload; switch (t.type) {
|
|
131
|
+
case o:
|
|
132
|
+
case i: return { initialSourceClientOffset: n.sourceClientOffset, initialClientOffset: n.clientOffset, clientOffset: n.clientOffset };
|
|
133
|
+
case a: return z(e.clientOffset, n.clientOffset) ? e : V(V({}, e), {}, { clientOffset: n.clientOffset });
|
|
134
|
+
case l:
|
|
135
|
+
case c: return W;
|
|
136
|
+
default: return e;
|
|
137
|
+
} }
|
|
138
|
+
var Y = "dnd-core/ADD_SOURCE", X = "dnd-core/ADD_TARGET", J = "dnd-core/REMOVE_SOURCE", Z = "dnd-core/REMOVE_TARGET";
|
|
139
|
+
function Q(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) {
|
|
140
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
141
|
+
t && (r = r.filter((function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; }))), n.push.apply(n, r);
|
|
142
|
+
} return n; }
|
|
143
|
+
function $(e) { for (var t = 1; t < arguments.length; t++) {
|
|
144
|
+
var n = null != arguments[t] ? arguments[t] : {};
|
|
145
|
+
t % 2 ? Q(Object(n), !0).forEach((function (t) { ee(e, t, n[t]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q(Object(n)).forEach((function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }));
|
|
146
|
+
} return e; }
|
|
147
|
+
function ee(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; }
|
|
148
|
+
var te = { itemType: null, item: null, sourceId: null, targetIds: [], dropResult: null, didDrop: !1, isSourcePublic: null };
|
|
149
|
+
function ne() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : te, t = arguments.length > 1 ? arguments[1] : void 0, n = t.payload; switch (t.type) {
|
|
150
|
+
case i: return $($({}, e), {}, { itemType: n.itemType, item: n.item, sourceId: n.sourceId, isSourcePublic: n.isSourcePublic, dropResult: null, didDrop: !1 });
|
|
151
|
+
case s: return $($({}, e), {}, { isSourcePublic: !0 });
|
|
152
|
+
case a: return $($({}, e), {}, { targetIds: n.targetIds });
|
|
153
|
+
case Z: return -1 === e.targetIds.indexOf(n.targetId) ? e : $($({}, e), {}, { targetIds: f(e.targetIds, n.targetId) });
|
|
154
|
+
case c: return $($({}, e), {}, { dropResult: n.dropResult, didDrop: !0, targetIds: [] });
|
|
155
|
+
case l: return $($({}, e), {}, { itemType: null, item: null, sourceId: null, dropResult: null, didDrop: !1, isSourcePublic: null, targetIds: [] });
|
|
156
|
+
default: return e;
|
|
157
|
+
} }
|
|
158
|
+
function re() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0; switch (t.type) {
|
|
159
|
+
case Y:
|
|
160
|
+
case X: return e + 1;
|
|
161
|
+
case J:
|
|
162
|
+
case Z: return e - 1;
|
|
163
|
+
default: return e;
|
|
164
|
+
} }
|
|
165
|
+
var oe = [], ie = [];
|
|
166
|
+
function se(e, t) { return e !== oe && (e === ie || void 0 === t || (n = e, t.filter((function (e) { return n.indexOf(e) > -1; }))).length > 0); var n; }
|
|
167
|
+
function ae() { var e = arguments.length > 1 ? arguments[1] : void 0; switch (e.type) {
|
|
168
|
+
case a: break;
|
|
169
|
+
case Y:
|
|
170
|
+
case X:
|
|
171
|
+
case Z:
|
|
172
|
+
case J: return oe;
|
|
173
|
+
case i:
|
|
174
|
+
case s:
|
|
175
|
+
case l:
|
|
176
|
+
case c:
|
|
177
|
+
default: return ie;
|
|
178
|
+
} var t = e.payload, n = t.targetIds, r = void 0 === n ? [] : n, o = t.prevTargetIds, u = void 0 === o ? [] : o, d = g(r, u), h = d.length > 0 || !U(r, u); if (!h)
|
|
179
|
+
return oe; var f = u[u.length - 1], p = r[r.length - 1]; return f !== p && (f && d.push(f), p && d.push(p)), d; }
|
|
180
|
+
function ce() {
|
|
181
|
+
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
|
|
182
|
+
return e + 1;
|
|
183
|
+
}
|
|
184
|
+
function le(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) {
|
|
185
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
186
|
+
t && (r = r.filter((function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; }))), n.push.apply(n, r);
|
|
187
|
+
} return n; }
|
|
188
|
+
function ue(e) { for (var t = 1; t < arguments.length; t++) {
|
|
189
|
+
var n = null != arguments[t] ? arguments[t] : {};
|
|
190
|
+
t % 2 ? le(Object(n), !0).forEach((function (t) { de(e, t, n[t]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : le(Object(n)).forEach((function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }));
|
|
191
|
+
} return e; }
|
|
192
|
+
function de(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; }
|
|
193
|
+
function he() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0; return { dirtyHandlerIds: ae(e.dirtyHandlerIds, { type: t.type, payload: ue(ue({}, t.payload), {}, { prevTargetIds: h(e, "dragOperation.targetIds", []) }) }), dragOffset: q(e.dragOffset, t), refCount: re(e.refCount, t), dragOperation: ne(e.dragOperation, t), stateId: ce(e.stateId) }; }
|
|
194
|
+
function fe(e, t) { return { x: e.x - t.x, y: e.y - t.y }; }
|
|
195
|
+
function pe(e, t) { for (var n = 0; n < t.length; n++) {
|
|
196
|
+
var r = t[n];
|
|
197
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
198
|
+
} }
|
|
199
|
+
oe.__IS_NONE__ = !0, ie.__IS_ALL__ = !0;
|
|
200
|
+
var ge, ve = function () {
|
|
201
|
+
function e(t, n) { !function (e, t) { if (!(e instanceof t))
|
|
202
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.store = t, this.registry = n; }
|
|
203
|
+
var t, n, o;
|
|
204
|
+
return t = e, (n = [{ key: "subscribeToStateChange", value: function (e) { var t = this, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { handlerIds: void 0 }, o = n.handlerIds; Object(r.a)("function" == typeof e, "listener must be a function."), Object(r.a)(void 0 === o || Array.isArray(o), "handlerIds, when specified, must be an array of strings."); var i = this.store.getState().stateId, s = function () { var n = t.store.getState(), r = n.stateId; try {
|
|
205
|
+
r === i || r === i + 1 && !se(n.dirtyHandlerIds, o) || e();
|
|
206
|
+
}
|
|
207
|
+
finally {
|
|
208
|
+
i = r;
|
|
209
|
+
} }; return this.store.subscribe(s); } }, { key: "subscribeToOffsetChange", value: function (e) { var t = this; Object(r.a)("function" == typeof e, "listener must be a function."); var n = this.store.getState().dragOffset; return this.store.subscribe((function () { var r = t.store.getState().dragOffset; r !== n && (n = r, e()); })); } }, { key: "canDragSource", value: function (e) { if (!e)
|
|
210
|
+
return !1; var t = this.registry.getSource(e); return Object(r.a)(t, "Expected to find a valid source. sourceId=".concat(e)), !this.isDragging() && t.canDrag(this, e); } }, { key: "canDropOnTarget", value: function (e) { if (!e)
|
|
211
|
+
return !1; var t = this.registry.getTarget(e); return Object(r.a)(t, "Expected to find a valid target. targetId=".concat(e)), !(!this.isDragging() || this.didDrop()) && _(this.registry.getTargetType(e), this.getItemType()) && t.canDrop(this, e); } }, { key: "isDragging", value: function () { return Boolean(this.getItemType()); } }, { key: "isDraggingSource", value: function (e) {
|
|
212
|
+
if (!e)
|
|
213
|
+
return !1;
|
|
214
|
+
var t = this.registry.getSource(e, !0);
|
|
215
|
+
return Object(r.a)(t, "Expected to find a valid source. sourceId=".concat(e)), !(!this.isDragging() || !this.isSourcePublic()) && this.registry.getSourceType(e) === this.getItemType() && t.isDragging(this, e);
|
|
216
|
+
} }, { key: "isOverTarget", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { shallow: !1 }; if (!e)
|
|
217
|
+
return !1; var n = t.shallow; if (!this.isDragging())
|
|
218
|
+
return !1; var r = this.registry.getTargetType(e), o = this.getItemType(); if (o && !_(r, o))
|
|
219
|
+
return !1; var i = this.getTargetIds(); if (!i.length)
|
|
220
|
+
return !1; var s = i.indexOf(e); return n ? s === i.length - 1 : s > -1; } }, { key: "getItemType", value: function () { return this.store.getState().dragOperation.itemType; } }, { key: "getItem", value: function () { return this.store.getState().dragOperation.item; } }, { key: "getSourceId", value: function () { return this.store.getState().dragOperation.sourceId; } }, { key: "getTargetIds", value: function () { return this.store.getState().dragOperation.targetIds; } }, { key: "getDropResult", value: function () { return this.store.getState().dragOperation.dropResult; } }, { key: "didDrop", value: function () { return this.store.getState().dragOperation.didDrop; } }, { key: "isSourcePublic", value: function () { return Boolean(this.store.getState().dragOperation.isSourcePublic); } }, { key: "getInitialClientOffset", value: function () { return this.store.getState().dragOffset.initialClientOffset; } }, { key: "getInitialSourceClientOffset", value: function () { return this.store.getState().dragOffset.initialSourceClientOffset; } }, { key: "getClientOffset", value: function () { return this.store.getState().dragOffset.clientOffset; } }, { key: "getSourceClientOffset", value: function () { return e = this.store.getState().dragOffset, r = e.clientOffset, o = e.initialClientOffset, i = e.initialSourceClientOffset, r && o && i ? fe((n = i, { x: (t = r).x + n.x, y: t.y + n.y }), o) : null; var e, t, n, r, o, i; } }, { key: "getDifferenceFromInitialOffset", value: function () { return e = this.store.getState().dragOffset, t = e.clientOffset, n = e.initialClientOffset, t && n ? fe(t, n) : null; var e, t, n; } }]) && pe(t.prototype, n), o && pe(t, o), e;
|
|
221
|
+
}(), be = 0;
|
|
222
|
+
function me(e) { return (me = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; })(e); }
|
|
223
|
+
function ye(e, t) { t && Array.isArray(e) ? e.forEach((function (e) { return ye(e, !1); })) : Object(r.a)("string" == typeof e || "symbol" === me(e), t ? "Type can only be a string, a symbol, or an array of either." : "Type can only be a string or a symbol."); }
|
|
224
|
+
!function (e) { e.SOURCE = "SOURCE", e.TARGET = "TARGET"; }(ge || (ge = {}));
|
|
225
|
+
var Oe = n("b7DX"), Se = [], we = [], _e = Oe.a.makeRequestCallFromTimer((function () { if (we.length)
|
|
226
|
+
throw we.shift(); }));
|
|
227
|
+
function Ce(e) { var t; (t = Se.length ? Se.pop() : new Te).task = e, Object(Oe.a)(t); }
|
|
228
|
+
var Te = function () { function e() { } return e.prototype.call = function () { try {
|
|
229
|
+
this.task.call();
|
|
230
|
+
}
|
|
231
|
+
catch (e) {
|
|
232
|
+
Ce.onerror ? Ce.onerror(e) : (we.push(e), _e());
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
this.task = null, Se[Se.length] = this;
|
|
236
|
+
} }, e; }();
|
|
237
|
+
function Ee(e, t) { for (var n = 0; n < t.length; n++) {
|
|
238
|
+
var r = t[n];
|
|
239
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
240
|
+
} }
|
|
241
|
+
function De(e, t) {
|
|
242
|
+
return function (e) {
|
|
243
|
+
if (Array.isArray(e))
|
|
244
|
+
return e;
|
|
245
|
+
}(e) || function (e, t) { if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e)))
|
|
246
|
+
return; var n = [], r = !0, o = !1, i = void 0; try {
|
|
247
|
+
for (var s, a = e[Symbol.iterator](); !(r = (s = a.next()).done) && (n.push(s.value), !t || n.length !== t); r = !0)
|
|
248
|
+
;
|
|
249
|
+
}
|
|
250
|
+
catch (e) {
|
|
251
|
+
o = !0, i = e;
|
|
252
|
+
}
|
|
253
|
+
finally {
|
|
254
|
+
try {
|
|
255
|
+
r || null == a.return || a.return();
|
|
256
|
+
}
|
|
257
|
+
finally {
|
|
258
|
+
if (o)
|
|
259
|
+
throw i;
|
|
260
|
+
}
|
|
261
|
+
} return n; }(e, t) || function (e, t) { if (!e)
|
|
262
|
+
return; if ("string" == typeof e)
|
|
263
|
+
return je(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); "Object" === n && e.constructor && (n = e.constructor.name); if ("Map" === n || "Set" === n)
|
|
264
|
+
return Array.from(e); if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
265
|
+
return je(e, t); }(e, t) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }();
|
|
266
|
+
}
|
|
267
|
+
function je(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++)
|
|
268
|
+
r[n] = e[n]; return r; }
|
|
269
|
+
function Ie(e) { var t = (be++).toString(); switch (e) {
|
|
270
|
+
case ge.SOURCE: return "S".concat(t);
|
|
271
|
+
case ge.TARGET: return "T".concat(t);
|
|
272
|
+
default: throw new Error("Unknown Handler Role: ".concat(e));
|
|
273
|
+
} }
|
|
274
|
+
function ke(e) { switch (e[0]) {
|
|
275
|
+
case "S": return ge.SOURCE;
|
|
276
|
+
case "T": return ge.TARGET;
|
|
277
|
+
default: Object(r.a)(!1, "Cannot parse handler ID: ".concat(e));
|
|
278
|
+
} }
|
|
279
|
+
function Me(e, t) { var n = e.entries(), r = !1; do {
|
|
280
|
+
var o = n.next(), i = o.done;
|
|
281
|
+
if (De(o.value, 2)[1] === t)
|
|
282
|
+
return !0;
|
|
283
|
+
r = !!i;
|
|
284
|
+
} while (!r); return !1; }
|
|
285
|
+
var xe = function () {
|
|
286
|
+
function e(t) { !function (e, t) { if (!(e instanceof t))
|
|
287
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.types = new Map, this.dragSources = new Map, this.dropTargets = new Map, this.pinnedSourceId = null, this.pinnedSource = null, this.store = t; }
|
|
288
|
+
var t, n, o;
|
|
289
|
+
return t = e, (n = [{ key: "addSource", value: function (e, t) { ye(e), function (e) { Object(r.a)("function" == typeof e.canDrag, "Expected canDrag to be a function."), Object(r.a)("function" == typeof e.beginDrag, "Expected beginDrag to be a function."), Object(r.a)("function" == typeof e.endDrag, "Expected endDrag to be a function."); }(t); var n = this.addHandler(ge.SOURCE, e, t); return this.store.dispatch(function (e) { return { type: Y, payload: { sourceId: e } }; }(n)), n; } }, { key: "addTarget", value: function (e, t) { ye(e, !0), function (e) { Object(r.a)("function" == typeof e.canDrop, "Expected canDrop to be a function."), Object(r.a)("function" == typeof e.hover, "Expected hover to be a function."), Object(r.a)("function" == typeof e.drop, "Expected beginDrag to be a function."); }(t); var n = this.addHandler(ge.TARGET, e, t); return this.store.dispatch(function (e) { return { type: X, payload: { targetId: e } }; }(n)), n; } }, { key: "containsHandler", value: function (e) { return Me(this.dragSources, e) || Me(this.dropTargets, e); } }, { key: "getSource", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; Object(r.a)(this.isSourceId(e), "Expected a valid source ID."); var n = t && e === this.pinnedSourceId, o = n ? this.pinnedSource : this.dragSources.get(e); return o; } }, { key: "getTarget", value: function (e) { return Object(r.a)(this.isTargetId(e), "Expected a valid target ID."), this.dropTargets.get(e); } }, { key: "getSourceType", value: function (e) {
|
|
290
|
+
return Object(r.a)(this.isSourceId(e), "Expected a valid source ID."), this.types.get(e);
|
|
291
|
+
} }, { key: "getTargetType", value: function (e) { return Object(r.a)(this.isTargetId(e), "Expected a valid target ID."), this.types.get(e); } }, { key: "isSourceId", value: function (e) { return ke(e) === ge.SOURCE; } }, { key: "isTargetId", value: function (e) { return ke(e) === ge.TARGET; } }, { key: "removeSource", value: function (e) { var t = this; Object(r.a)(this.getSource(e), "Expected an existing source."), this.store.dispatch(function (e) { return { type: J, payload: { sourceId: e } }; }(e)), Ce((function () { t.dragSources.delete(e), t.types.delete(e); })); } }, { key: "removeTarget", value: function (e) { Object(r.a)(this.getTarget(e), "Expected an existing target."), this.store.dispatch(function (e) { return { type: Z, payload: { targetId: e } }; }(e)), this.dropTargets.delete(e), this.types.delete(e); } }, { key: "pinSource", value: function (e) { var t = this.getSource(e); Object(r.a)(t, "Expected an existing source."), this.pinnedSourceId = e, this.pinnedSource = t; } }, { key: "unpinSource", value: function () { Object(r.a)(this.pinnedSource, "No source is pinned at the time."), this.pinnedSourceId = null, this.pinnedSource = null; } }, { key: "addHandler", value: function (e, t, n) { var r = Ie(e); return this.types.set(r, t), e === ge.SOURCE ? this.dragSources.set(r, n) : e === ge.TARGET && this.dropTargets.set(r, n), r; } }]) && Ee(t.prototype, n), o && Ee(t, o), e;
|
|
292
|
+
}();
|
|
293
|
+
function Ne(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : void 0, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3], o = Pe(r), i = new ve(o, new xe(o)), s = new B(o, i), a = e(s, t, n); return s.receiveBackend(a), s; }
|
|
294
|
+
function Pe(e) { var t = "undefined" != typeof window && window.__REDUX_DEVTOOLS_EXTENSION__; return Object(F.e)(he, e && t && t({ name: "dnd-core", instanceId: "dnd-core" })); }
|
|
295
|
+
n.d(t, "a", (function () { return Ne; }));
|
|
296
|
+
}, EvtC: function (e, t, n) { e.exports = { button: "button-2YcRd2gv" }; }, FadI: function (e, t, n) {
|
|
297
|
+
"use strict";
|
|
298
|
+
function r(e) { if (!s(e))
|
|
299
|
+
throw e; }
|
|
300
|
+
function o(e) { return (null == e ? void 0 : e.aborted) ? Promise.reject(i()) : new Promise((t, n) => { null == e || e.addEventListener("abort", () => n(i()), { once: !0 }); }); }
|
|
301
|
+
function i() { return new DOMException("Aborted", "AbortError"); }
|
|
302
|
+
function s(e) { return e instanceof Error && "AbortError" === e.name; }
|
|
303
|
+
function a(e, t) { return Promise.race([o(e), t]); }
|
|
304
|
+
function c(e, t) {
|
|
305
|
+
return __awaiter(this, void 0, void 0, function* () { let n; try {
|
|
306
|
+
yield a(e, new Promise(e => { n = setTimeout(e, t); }));
|
|
307
|
+
}
|
|
308
|
+
finally {
|
|
309
|
+
clearTimeout(n);
|
|
310
|
+
} });
|
|
311
|
+
}
|
|
312
|
+
n.d(t, "c", (function () { return r; })), n.d(t, "b", (function () { return a; })), n.d(t, "a", (function () { return c; }));
|
|
313
|
+
}, GjMU: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M17.086 6.207a2 2 0 0 1 2.828 0l1.879 1.879a2 2 0 0 1 0 2.828l-.94.94-9 9-1 1-.146.146H6v-4.707l.146-.146 1-1 9-9 .94-.94zm2.121.707a1 1 0 0 0-1.414 0l-.586.586 1.647 1.646 1.646 1.647.586-.586a1 1 0 0 0 0-1.414l-1.879-1.879zm.586 4.586L18.5 10.207 10.207 18.5l1.293 1.293 8.293-8.293zm-9 9l-1.647-1.646L7.5 17.207l-.5.5V21h3.293l.5-.5zm-2.586-4L9.5 17.793 17.793 9.5 16.5 8.207 8.207 16.5z"/></svg>'; }, ItnF: function (e, t, n) {
|
|
314
|
+
e.exports = { dialog: "dialog-2cMrvu9r",
|
|
315
|
+
wrapper: "wrapper-2cMrvu9r", separator: "separator-2cMrvu9r" };
|
|
316
|
+
}, JEhF: function (e, t, n) {
|
|
317
|
+
"use strict";
|
|
318
|
+
(function (e) { n.d(t, "a", (function () { return h; })); var r = n("nKUr"), o = n("q1tI"), i = n("EqDG"), s = n("p/5y"); function a(e, t) { return function (e) { if (Array.isArray(e))
|
|
319
|
+
return e; }(e) || function (e, t) { if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e)))
|
|
320
|
+
return; var n = [], r = !0, o = !1, i = void 0; try {
|
|
321
|
+
for (var s, a = e[Symbol.iterator](); !(r = (s = a.next()).done) && (n.push(s.value), !t || n.length !== t); r = !0)
|
|
322
|
+
;
|
|
323
|
+
}
|
|
324
|
+
catch (e) {
|
|
325
|
+
o = !0, i = e;
|
|
326
|
+
}
|
|
327
|
+
finally {
|
|
328
|
+
try {
|
|
329
|
+
r || null == a.return || a.return();
|
|
330
|
+
}
|
|
331
|
+
finally {
|
|
332
|
+
if (o)
|
|
333
|
+
throw i;
|
|
334
|
+
}
|
|
335
|
+
} return n; }(e, t) || function (e, t) { if (!e)
|
|
336
|
+
return; if ("string" == typeof e)
|
|
337
|
+
return c(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); "Object" === n && e.constructor && (n = e.constructor.name); if ("Map" === n || "Set" === n)
|
|
338
|
+
return Array.from(e); if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
339
|
+
return c(e, t); }(e, t) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }(); } function c(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++)
|
|
340
|
+
r[n] = e[n]; return r; } function l(e, t) { if (null == e)
|
|
341
|
+
return {}; var n, r, o = function (e, t) { if (null == e)
|
|
342
|
+
return {}; var n, r, o = {}, i = Object.keys(e); for (r = 0; r < i.length; r++)
|
|
343
|
+
n = i[r], t.indexOf(n) >= 0 || (o[n] = e[n]); return o; }(e, t); if (Object.getOwnPropertySymbols) {
|
|
344
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
345
|
+
for (r = 0; r < i.length; r++)
|
|
346
|
+
n = i[r], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n]);
|
|
347
|
+
} return o; } var u = 0, d = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"), h = Object(o.memo)((function (e) { var t = e.children, n = a(function (e) { if ("manager" in e) {
|
|
348
|
+
return [{ dragDropManager: e.manager }, !1];
|
|
349
|
+
} var t = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : f(), n = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, o = t; o[d] || (o[d] = { dragDropManager: Object(i.a)(e, t, n, r) }); return o[d]; }(e.backend, e.context, e.options, e.debugMode), n = !e.context; return [t, n]; }(l(e, ["children"])), 2), c = n[0], h = n[1]; return Object(o.useEffect)((function () { if (h) {
|
|
350
|
+
var e = f();
|
|
351
|
+
return ++u, function () { 0 == --u && (e[d] = null); };
|
|
352
|
+
} }), []), Object(r.jsx)(s.a.Provider, Object.assign({ value: c }, { children: t }), void 0); })); function f() { return void 0 !== e ? e : window; } }).call(this, n("yLpj"));
|
|
353
|
+
}, NhaM: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 11.5v8a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-8m-17 0v-4a1 1 0 0 1 1-1h4l2 2h9a1 1 0 0 1 1 1v2m-17 0h17"/></svg>'; }, "U+QY": function (e, t) {
|
|
354
|
+
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M14.692 3.012l-12 12.277.715.699 12-12.277-.715-.699zM9.05 15.627a7.042 7.042 0 0 1-3.144-.741l.742-.76c.72.311 1.52.5 2.402.5 2.297 0 4.047-1.29 5.25-2.645a12.168 12.168 0 0 0 1.687-2.466l.007-.015-.007-.015A12.166 12.166 0 0 0 14.3 7.019c-.11-.124-.225-.247-.344-.37l.699-.715c.137.14.268.28.392.42a13.16 13.16 0 0 1 1.83 2.678 8.117 8.117 0 0 1 .119.243l.006.015.003.005v.001l-.456.204.456.203v.002l-.003.005-.006.015-.025.052a11.762 11.762 0 0 1-.461.857 13.158 13.158 0 0 1-1.463 2.011c-1.296 1.46-3.296 2.982-5.998 2.982zm7.5-6.127l.456-.203.09.203-.09.203-.456-.203zm-7.5 3.07c-.27 0-.53-.037-.778-.105l.879-.899c.999-.052 1.833-.872 1.895-1.938l.902-.923c.066.253.102.52.102.795 0 1.695-1.344 3.07-3 3.07zM6.15 10.294l.902-.923c.063-1.066.896-1.886 1.895-1.938l.879-.9a2.94 2.94 0 0 0-.777-.103c-1.657 0-3 1.374-3 3.069 0 .275.035.541.101.795zM9.05 4.373c.88 0 1.68.19 2.4.5l.743-.759a7.043 7.043 0 0 0-3.143-.74c-2.703 0-4.703 1.521-6 2.98a13.159 13.159 0 0 0-1.83 2.678 7.886 7.886 0 0 0-.118.243l-.007.015-.002.005v.001l.456.204-.457-.203-.09.203.09.203.457-.203-.456.203v.002l.002.005.007.015a4.5 4.5 0 0 0 .119.243 13.152 13.152 0 0 0 1.83 2.677c.124.14.255.28.392.42l.7-.715c-.12-.122-.235-.245-.345-.369a12.156 12.156 0 0 1-1.686-2.466L2.105 9.5l.007-.015a12.158 12.158 0 0 1 1.686-2.466C5.002 5.665 6.752 4.373 9.05 4.373z"/></svg>';
|
|
355
|
+
}, Vbka: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M4.5 12.5l4.59-4.59a2 2 0 0 1 2.83 0l3.17 3.17a2 2 0 0 0 2.83 0L22.5 6.5m-8 9.5v5.5M12 19l2.5 2.5L17 19m4.5 3v-5.5M19 19l2.5-2.5L24 19"/></svg>'; }, WcWV: function (e, t, n) { e.exports = { button: "button-2zRC9WmY", disabled: "disabled-2zRC9WmY" }; }, XiJV: function (e, t, n) { e.exports = { separator: "separator-3No0pWrk" }; }, Z3xJ: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path stroke="currentColor" d="M21.106 12.5H6.894a.5.5 0 0 1-.318-.886L14 5.5l7.424 6.114a.5.5 0 0 1-.318.886zM21.106 16.5H6.894a.5.5 0 0 0-.318.886L14 23.5l7.424-6.114a.5.5 0 0 0-.318-.886z"/></svg>'; }, aKzv: function (e, t, n) {
|
|
356
|
+
"use strict";
|
|
357
|
+
function r(e, t) { for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++)
|
|
358
|
+
r[o - 2] = arguments[o]; if (!e) {
|
|
359
|
+
var i;
|
|
360
|
+
if (void 0 === t)
|
|
361
|
+
i = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
|
|
362
|
+
else {
|
|
363
|
+
var s = 0;
|
|
364
|
+
(i = new Error(t.replace(/%s/g, (function () { return r[s++]; })))).name = "Invariant Violation";
|
|
365
|
+
}
|
|
366
|
+
throw i.framesToPop = 1, i;
|
|
367
|
+
} }
|
|
368
|
+
n.d(t, "a", (function () { return r; }));
|
|
369
|
+
}, b4AZ: function (e, t, n) {
|
|
370
|
+
"use strict";
|
|
371
|
+
n.d(t, "a", (function () { return m; }));
|
|
372
|
+
var r = n("q1tI"), o = n("Eyy1"), i = n("Iivm"), s = n("zM7N"), a = n("oiZD"), c = n("YFKU"), l = n("txPx"), u = n("CW80"), d = n("gM3K"), h = n("ogJP"), f = n("jPOK"), p = n("leHx"), g = n("rlH3"), v = n("x5pF");
|
|
373
|
+
const b = e => Object(c.t)("{drawingsCount} drawing", { plural: "{drawingsCount} drawings", count: e }).format({
|
|
374
|
+
drawingsCount: e.toString()
|
|
375
|
+
});
|
|
376
|
+
Object(l.getLogger)("Chart.ManageDrawings");
|
|
377
|
+
class m extends r.PureComponent {
|
|
378
|
+
constructor(e) { super(e), this._totalCount = 0, this._model = null, this._symbolDrawingsMap = null, this._storageContentLoadingPromise = null, this._onItemClick = e => { "" !== e && (this.props.chartWidget.setSymbol(e), null !== this._model && this.setState({ currentSymbol: e }), this.props.onClose && this.props.onClose()); }, this._onRemove = (e) => __awaiter(this, void 0, void 0, function* () { if (this._model && this._symbolDrawingsMap) {
|
|
379
|
+
const t = this._symbolDrawingsMap.get(e);
|
|
380
|
+
if (t) {
|
|
381
|
+
const n = Array.from(t).map(e => Object(o.ensureNotNull)(this._model).model().dataSourceForId(e)).filter(h.notNull);
|
|
382
|
+
if (n.length > 0) {
|
|
383
|
+
const t = Object(c.t)("Remove all line tools for") + " " + e;
|
|
384
|
+
this._model.removeSources(n, !1, t);
|
|
385
|
+
}
|
|
386
|
+
this._updateItems();
|
|
387
|
+
}
|
|
388
|
+
} }), this._updateItems = () => __awaiter(this, void 0, void 0, function* () { if (null !== this._model) {
|
|
389
|
+
const e = yield this._getItems(this._model.model().dataSources());
|
|
390
|
+
this.setState({ items: e });
|
|
391
|
+
} }), this._updateTheme = () => { const e = a.watchedTheme.value(); this.setState({ theme: e }); }, this.state = { currentSymbol: null, items: null, theme: a.watchedTheme.value() }; }
|
|
392
|
+
componentDidMount() { this.props.chartWidget.withModel(this, () => __awaiter(this, void 0, void 0, function* () { this._model = this.props.chartWidget.model(), this._model.model().dataSourceCollectionChanged().subscribe(this, this._updateItems); const e = yield this._getItems(this._model.model().dataSources()); this.setState({ currentSymbol: this._model.mainSeries().symbol(), items: e }, () => { var e, t; return null === (t = (e = this.props).onInitialized) || void 0 === t ? void 0 : t.call(e); }); })), a.watchedTheme.subscribe(this._updateTheme); }
|
|
393
|
+
componentWillUnmount() { a.watchedTheme.unsubscribe(this._updateTheme), null !== this._model && this._model.model().dataSourceCollectionChanged().unsubscribe(this, this._updateItems); }
|
|
394
|
+
render() { const { isMobile: e } = this.props, { currentSymbol: t, items: n } = this.state, o = this._symbolDrawingsMap ? this._symbolDrawingsMap.size : 0, i = `${s = o, Object(c.t)("{symbolsCount} symbol", { plural: "{symbolsCount} symbols", context: "symbols_and_drawings_count", count: s }).format({ symbolsCount: s.toString() })} ${(e => Object(c.t)("with {drawingsCount} drawing", { plural: "with {drawingsCount} drawings", context: "symbols_and_drawings_count", count: e }).format({ drawingsCount: e.toString() }))(this._totalCount)}`; var s; return r.createElement(r.Fragment, null, r.createElement("div", { className: v.title }, i), null === n || 0 === n.length ? this._renderEmptyContent() : n.map(n => r.createElement(d.a, { key: n.symbol, title: n.symbol, subtitle: b(n.drawingsCount), removeBtnLabel: Object(c.t)("Remove all drawings for this symbol"), isActive: n.symbol === t, isMobile: e, onClick: this._onItemClick.bind(this, n.symbol), onClickRemove: this._onRemove.bind(this, n.symbol), showFavorite: !1 }))); }
|
|
395
|
+
_renderEmptyContent() { const { theme: e } = this.state, t = e === s.a.Dark ? g : p; return null === this._symbolDrawingsMap ? r.createElement(f.a, null) : r.createElement("div", { className: v.empty }, r.createElement(i.a, { className: v.image, icon: t }), r.createElement("span", null, Object(c.t)("No drawings yet"))); }
|
|
396
|
+
_getStorageContent() {
|
|
397
|
+
return __awaiter(this, void 0, void 0, function* () { return new Map; });
|
|
398
|
+
}
|
|
399
|
+
_getItems(e) {
|
|
400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
401
|
+
const t = [], n = this._getSymbolDrawingsMap(e);
|
|
402
|
+
return (yield this._getStorageContent()).forEach((e, t) => {
|
|
403
|
+
const r = n.get(t) || new Set;
|
|
404
|
+
e.forEach(e => r.add(e)), n.set(t, r);
|
|
405
|
+
}), this._symbolDrawingsMap = n, this._totalCount = 0, this._symbolDrawingsMap.forEach((e, n) => { t.push({ symbol: n, drawingsCount: e.size }), this._totalCount = this._totalCount + e.size; }), t.sort((e, t) => e.drawingsCount === t.drawingsCount ? e.symbol.localeCompare(t.symbol) : e.drawingsCount > t.drawingsCount ? -1 : 1);
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
_getSymbolDrawingsMap(e) { const t = new Map; return e.forEach(e => { var n; if (Object(u.isLineTool)(e) && e.showInObjectTree()) {
|
|
409
|
+
const r = null !== (n = e.symbol()) && void 0 !== n ? n : "", o = t.get(r) || new Set;
|
|
410
|
+
o.add(e.id()), t.set(r, o);
|
|
411
|
+
} }), t; }
|
|
412
|
+
}
|
|
413
|
+
}, b7DX: function (e, t, n) {
|
|
414
|
+
"use strict";
|
|
415
|
+
(function (e) { function r(e) { i.length || (o(), !0), i[i.length] = e; } n.d(t, "a", (function () { return r; })); var o, i = [], s = 0; function a() { for (; s < i.length;) {
|
|
416
|
+
var e = s;
|
|
417
|
+
if (s += 1, i[e].call(), s > 1024) {
|
|
418
|
+
for (var t = 0, n = i.length - s; t < n; t++)
|
|
419
|
+
i[t] = i[t + s];
|
|
420
|
+
i.length -= s, s = 0;
|
|
421
|
+
}
|
|
422
|
+
} i.length = 0, s = 0, !1; } var c, l, u, d = void 0 !== e ? e : self, h = d.MutationObserver || d.WebKitMutationObserver; function f(e) { return function () { var t = setTimeout(r, 0), n = setInterval(r, 50); function r() { clearTimeout(t), clearInterval(n), e(); } }; } "function" == typeof h ? (c = 1, l = new h(a), u = document.createTextNode(""), l.observe(u, { characterData: !0 }), o = function () { c = -c, u.data = c; }) : o = f(a), r.requestFlush = o, r.makeRequestCallFromTimer = f; }).call(this, n("yLpj"));
|
|
423
|
+
}, co4r: function (e, t, n) { e.exports = { wrap: "wrap-1a1_EyKG", selected: "selected-1a1_EyKG", childOfSelected: "childOfSelected-1a1_EyKG", disabled: "disabled-1a1_EyKG", expandHandle: "expandHandle-1a1_EyKG", expanded: "expanded-1a1_EyKG" }; }, dDxv: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 16.5l4.586-4.586a2 2 0 0 1 2.828 0l3.172 3.172a2 2 0 0 0 2.828 0L23.5 10.5"/></svg>'; }, ffaL: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M4.605 14.089A10.052 10.052 0 0 1 4.56 14l.046-.089a17.18 17.18 0 0 1 2.329-3.327C8.58 8.758 10.954 7 14 7c3.046 0 5.421 1.757 7.066 3.585A17.18 17.18 0 0 1 23.44 14l-.046.089a17.18 17.18 0 0 1-2.329 3.327C19.42 19.242 17.046 21 14 21c-3.046 0-5.421-1.757-7.066-3.584a17.18 17.18 0 0 1-2.329-3.327zm19.848-.3L24 14l.453.212-.001.002-.003.005-.009.02a16.32 16.32 0 0 1-.662 1.195c-.44.72-1.1 1.684-1.969 2.65C20.08 20.008 17.454 22 14 22c-3.454 0-6.079-1.993-7.81-3.916a18.185 18.185 0 0 1-2.469-3.528 10.636 10.636 0 0 1-.161-.318l-.01-.019-.002-.005v-.002L4 14a55.06 55.06 0 0 1-.453-.212l.001-.002.003-.005.009-.02.033-.067a16.293 16.293 0 0 1 .629-1.126c.44-.723 1.1-1.686 1.969-2.652C7.92 7.993 10.546 6 14 6c3.454 0 6.079 1.993 7.81 3.916a18.183 18.183 0 0 1 2.469 3.528 10.588 10.588 0 0 1 .161.318l.01.019.002.005v.002zM24 14l.453-.211.099.211-.099.211L24 14zm-20.453-.211L4 14l-.453.211L3.448 14l.099-.211zM11 14a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm3-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>'; }, g89m: function (e, t, n) {
|
|
424
|
+
"use strict";
|
|
425
|
+
var r = n("q1tI"), o = n.n(r), i = n("Eyy1"), s = n("TSYQ"), a = n.n(s), c = n("/3z9"), l = n("d700"), u = n("WXjp"), d = n("02pg"), h = n("uhCe"), f = n("/KDZ"), p = n("pafz"), g = n("ZjKI"), v = n("FQhm"), b = n("Iivm");
|
|
426
|
+
const m = o.a.createContext({ setHideClose: () => { } });
|
|
427
|
+
var y = n("zztK"), O = n("px1m");
|
|
428
|
+
function S(e) { const { title: t, subtitle: n, showCloseIcon: i = !0, onClose: s, renderBefore: c, renderAfter: l, draggable: u, className: d, unsetAlign: h } = e, [f, p] = Object(r.useState)(!1); return o.a.createElement(m.Provider, { value: { setHideClose: p } }, o.a.createElement("div", { className: a()(O.container, d, (n || h) && O.unsetAlign) }, c, o.a.createElement("div", { "data-dragg-area": u, className: O.title }, o.a.createElement("div", { className: O.ellipsis }, t), n && o.a.createElement("div", { className: a()(O.ellipsis, O.subtitle) }, n)), l, i && !f && o.a.createElement(b.a, { className: O.close, icon: y, onClick: s, "data-name": "close", "data-role": "button" }))); }
|
|
429
|
+
var w = n("ItnF");
|
|
430
|
+
n.d(t, "a", (function () { return T; }));
|
|
431
|
+
const _ = { vertical: 20 }, C = { vertical: 0 };
|
|
432
|
+
class T extends o.a.PureComponent {
|
|
433
|
+
constructor() { super(...arguments), this._controller = null, this._reference = null, this._renderChildren = (e, t) => (this._controller = e, this.props.render({ requestResize: this._requestResize, centerAndFit: this._centerAndFit, isSmallWidth: t })), this._handleReference = e => this._reference = e, this._handleClose = () => { this.props.onClose(); }, this._handleKeyDown = e => { var t; if (!e.defaultPrevented)
|
|
434
|
+
switch (this.props.onKeyDown && this.props.onKeyDown(e), Object(c.hashFromEvent)(e)) {
|
|
435
|
+
case 27:
|
|
436
|
+
if (e.defaultPrevented)
|
|
437
|
+
return;
|
|
438
|
+
if (this.props.forceCloseOnEsc && this.props.forceCloseOnEsc())
|
|
439
|
+
return void this._handleClose();
|
|
440
|
+
const { activeElement: n } = document, r = Object(i.ensureNotNull)(this._reference);
|
|
441
|
+
if (null !== n) {
|
|
442
|
+
if (e.preventDefault(), "true" === (t = n).getAttribute("data-haspopup") && "true" !== t.getAttribute("data-expanded"))
|
|
443
|
+
return void this._handleClose();
|
|
444
|
+
if (Object(l.b)(n))
|
|
445
|
+
return void r.focus();
|
|
446
|
+
if (r.contains(n))
|
|
447
|
+
return void this._handleClose();
|
|
448
|
+
}
|
|
449
|
+
} }, this._requestResize = () => { null !== this._controller && this._controller.recalculateBounds(); }, this._centerAndFit = () => { null !== this._controller && this._controller.centerAndFit(); }; }
|
|
450
|
+
componentDidMount() { v.subscribe(g.CLOSE_POPUPS_AND_DIALOGS_COMMAND, this._handleClose, null); }
|
|
451
|
+
componentWillUnmount() { v.unsubscribe(g.CLOSE_POPUPS_AND_DIALOGS_COMMAND, this._handleClose, null); }
|
|
452
|
+
focus() { Object(i.ensureNotNull)(this._reference).focus(); }
|
|
453
|
+
getElement() { return this._reference; }
|
|
454
|
+
contains(e) { var t, n; return null !== (n = null === (t = this._reference) || void 0 === t ? void 0 : t.contains(e)) && void 0 !== n && n; }
|
|
455
|
+
render() {
|
|
456
|
+
const { className: e, headerClassName: t, isOpened: n, title: r, dataName: i, onClickOutside: s, additionalElementPos: c, additionalHeaderElement: l, backdrop: g, shouldForceFocus: v = !0, showSeparator: b, subtitle: m, draggable: y = !0, fullScreen: O = !1, showCloseIcon: T = !0, rounded: E = !0, isAnimationEnabled: D, growPoint: j, dialogTooltip: I, unsetHeaderAlign: k } = this.props, M = "after" !== c ? l : void 0, x = "after" === c ? l : void 0;
|
|
457
|
+
return o.a.createElement(f.a, { rule: h.a.SmallHeight }, c => o.a.createElement(f.a, { rule: h.a.TabletSmall }, l => o.a.createElement(u.a, { rounded: !(l || O) && E, className: a()(w.dialog, e), isOpened: n, reference: this._handleReference,
|
|
458
|
+
onKeyDown: this._handleKeyDown, onClickOutside: s, onClickBackdrop: s, fullscreen: l || O, guard: c ? C : _, boundByScreen: l || O, shouldForceFocus: v, backdrop: g, draggable: y, isAnimationEnabled: D, growPoint: j, name: this.props.dataName, dialogTooltip: I }, o.a.createElement("div", { className: w.wrapper, "data-name": i, "data-dialog-name": "string" == typeof r ? r : "" }, void 0 !== r && o.a.createElement(S, { draggable: y && !(l || O), onClose: this._handleClose, renderAfter: x, renderBefore: M, subtitle: m, title: r, showCloseIcon: T, className: t, unsetAlign: k }), b && o.a.createElement(d.a, { className: w.separator }), o.a.createElement(p.a.Consumer, null, e => this._renderChildren(e, l || O))))));
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}, gSe6: function (e, t, n) { e.exports = { wrap: "wrap-3Onbn19L", dialog: "dialog-3Onbn19L", offset: "offset-3Onbn19L", title: "title-3Onbn19L", main: "main-3Onbn19L", disabled: "disabled-3Onbn19L", icon: "icon-3Onbn19L", textIcon: "textIcon-3Onbn19L", rightButtons: "rightButtons-3Onbn19L", twoButtons: "twoButtons-3Onbn19L", button: "button-3Onbn19L", viewButton: "viewButton-3Onbn19L", threeButtons: "threeButtons-3Onbn19L", lockButton: "lockButton-3Onbn19L", removeButton: "removeButton-3Onbn19L", warn: "warn-3Onbn19L", hover: "hover-3Onbn19L", expandHandle: "expandHandle-3Onbn19L", selected: "selected-3Onbn19L", childOfSelected: "childOfSelected-3Onbn19L", renameInput: "renameInput-3Onbn19L" }; }, gla1: function (e, t, n) {
|
|
462
|
+
"use strict";
|
|
463
|
+
n.d(t, "a", (function () { return o; }));
|
|
464
|
+
var r = n("q1tI");
|
|
465
|
+
const o = () => { const [, e] = Object(r.useReducer)((e, t) => e + 1, 0); return e; };
|
|
466
|
+
}, h5pj: function (e, t, n) { e.exports = { wrap: "wrap-3jZ5H2Ul", space: "space-3jZ5H2Ul", tree: "tree-3jZ5H2Ul" }; }, jPOK: function (e, t, n) {
|
|
467
|
+
"use strict";
|
|
468
|
+
n.d(t, "a", (function () { return s; }));
|
|
469
|
+
var r = n("q1tI"), o = n("TSYQ"), i = n("Owlf");
|
|
470
|
+
n("SzKR");
|
|
471
|
+
function s(e) { const t = o("tv-spinner", "tv-spinner--shown", "tv-spinner--size_" + (e.size || i.a)); return r.createElement("div", { className: t, style: e.style, role: "progressbar" }, r.createElement("div", { className: "tv-spinner__spinner-layer" }, r.createElement("div", { className: "tv-spinner__background tv-spinner__width_element" }), r.createElement("div", { className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--left" }), r.createElement("div", { className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--right" }))); }
|
|
472
|
+
}, leHx: function (e, t) {
|
|
473
|
+
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 120 120" width="120" height="120" fill="none"><g clip-path="url(#avi4cgf11)"><path fill="#F0F3FA" d="M16.01 71.1c10.54 13.42 34.92 11.86 54.46-3.48s26.85-38.65 16.3-52.08C76.25 2.12 51.87 3.68 32.33 19.02c-9.2 7.22-15.68 16.2-18.87 25.09-.68 1.88-2.57 3.05-4.53 3.48a9.7 9.7 0 0 0-3.96 1.85C.5 52.94-.09 59.64 3.64 64.4a11.24 11.24 0 0 0 7.82 4.31 6.2 6.2 0 0 1 4.55 2.4z"/><path fill="url(#bvi4cgf11)" d="M28.3 35.56c1.8 3.42 12.08 10.65 25.62 16.88 6.36 2.93 12.38 5.3 17.37 6.93a172.7 172.7 0 0 0-18-12.68c-14.59-9.1-24.97-12.4-24.97-12.4-.18.3-.19.72-.01 1.27z"/><path stroke="#1E222D" stroke-width="1.5" d="M86.25 71.4c-.19.28-.54.53-1.17.69-.63.15-1.48.19-2.56.08-2.14-.22-5-1-8.4-2.28-6.78-2.57-15.53-7.13-24.64-13.06-9.12-5.93-16.82-12.1-21.92-17.25-2.55-2.59-4.41-4.89-5.48-6.76a7.79 7.79 0 0 1-.96-2.37c-.12-.64-.03-1.06.16-1.35.2-.3.54-.55 1.17-.7a7.8 7.8 0 0 1 2.56-.08c2.14.22 5 1 8.4 2.28 6.78 2.57 15.53 7.12 24.65 13.06 9.1 5.93 16.81 12.1 21.9 17.25 2.56 2.58 4.43 4.89 5.5 6.76.53.94.84 1.73.95 2.37.12.64.03 1.06-.16 1.35z"/><path stroke="#1E222D" stroke-linecap="round" stroke-width="1.5" d="M28.96 34.63c1.99.57 4.47 1.55 7.3 2.86l12.2 6.52a193.2 193.2 0 0 1 6.66 4.15c10.56 6.88 19.12 13.86 22.97 18.45"/><path stroke="#1E222D" stroke-width="1.5" d="M83.79 65.59c6.77-14.14 1.41-32-13.05-41.42-14.46-9.41-32.96-7.09-43.15 4.83M74.96 21.24a6.08 6.08 0 0 1-2.58 2.3c-.9.39-1.69.35-2.23 0-.54-.36-.9-1.05-.9-2.04a6.08 6.08 0 0 1 1.05-3.29 6.07 6.07 0 0 1 2.58-2.29c.9-.4 1.69-.35 2.23 0s.9 1.05.9 2.04c.01.98-.32 2.17-1.05 3.28z"/><path stroke="#1E222D" stroke-linecap="round" stroke-width="1.5" d="M42.7 23.62c1.25-.3 4.56-1.3 8.92-1.3M80.14 84.07C76.5 84.03 64.4 84 50 84s-26.5.03-30.14.07M24.7 59.33l5.77 5.32M32.05 56.05l.84 3.28"/></g><defs><linearGradient gradientUnits="userSpaceOnUse" x1="49.73" x2="49.73" y1="34.29" y2="59.37" id="bvi4cgf11"><stop stop-color="#2962FF"/><stop offset="1" stop-color="#2962FF"/></linearGradient><clipPath id="avi4cgf11"><path fill="#fff" d="M0 0h100v100H0V0z"/></clipPath></defs></svg>';
|
|
474
|
+
}, nkjW: function (e, t, n) { e.exports = { title: "title-2PJRtZNU", withoutIcon: "withoutIcon-2PJRtZNU", buttons: "buttons-2PJRtZNU", button: "button-2PJRtZNU", disabled: "disabled-2PJRtZNU" }; }, "p/5y": function (e, t, n) {
|
|
475
|
+
"use strict";
|
|
476
|
+
n.d(t, "a", (function () { return o; }));
|
|
477
|
+
var r = n("q1tI"), o = Object(r.createContext)({ dragDropManager: void 0 });
|
|
478
|
+
}, "p0W+": function (e, t, n) {
|
|
479
|
+
"use strict";
|
|
480
|
+
n.d(t, "a", (function () { return a; }));
|
|
481
|
+
var r = n("q1tI"), o = n("TSYQ"), i = n("tU7i"), s = n("EvtC");
|
|
482
|
+
const a = r.forwardRef((e, t) => { const { className: n } = e, a = __rest(e, ["className"]); return r.createElement(i.b, Object.assign(Object.assign({}, a), { ref: t, className: o(n, s.button) })); });
|
|
483
|
+
}, px1m: function (e, t, n) { e.exports = { "small-height-breakpoint": "screen and (max-height: 360px)", container: "container-2sL5JydP", unsetAlign: "unsetAlign-2sL5JydP", title: "title-2sL5JydP", subtitle: "subtitle-2sL5JydP", ellipsis: "ellipsis-2sL5JydP", close: "close-2sL5JydP" }; }, rlH3: function (e, t) {
|
|
484
|
+
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 120 120" width="120" height="120" fill="none"><g clip-path="url(#a00y35lj1)"><path fill="#2A2E39" d="M16.01 71.1c10.54 13.42 34.92 11.86 54.46-3.48s26.85-38.65 16.3-52.08C76.25 2.12 51.87 3.68 32.33 19.02c-9.2 7.22-15.68 16.2-18.87 25.09-.68 1.88-2.57 3.05-4.53 3.48a9.7 9.7 0 0 0-3.96 1.85C.5 52.94-.09 59.64 3.64 64.4a11.24 11.24 0 0 0 7.82 4.31 6.2 6.2 0 0 1 4.55 2.4z"/><path fill="#1848CC" d="M28.3 35.56c1.8 3.42 12.08 10.65 25.62 16.88 6.36 2.93 12.38 5.3 17.37 6.93a172.7 172.7 0 0 0-18-12.68c-14.59-9.1-24.97-12.4-24.97-12.4-.18.3-.19.72-.01 1.27z"/><path stroke="#B2B5BE" stroke-width="1.5" d="M86.25 71.4c-.19.28-.54.53-1.17.69-.63.15-1.48.19-2.56.08-2.14-.22-5-1-8.4-2.28-6.78-2.57-15.53-7.13-24.64-13.06-9.12-5.93-16.82-12.1-21.92-17.25-2.55-2.59-4.41-4.89-5.48-6.76a7.79 7.79 0 0 1-.96-2.37c-.12-.64-.03-1.06.16-1.35.2-.3.54-.55 1.17-.7a7.8 7.8 0 0 1 2.56-.08c2.14.22 5 1 8.4 2.28 6.78 2.57 15.53 7.12 24.65 13.06 9.1 5.93 16.81 12.1 21.9 17.25 2.56 2.58 4.43 4.89 5.5 6.76.53.94.84 1.73.95 2.37.12.64.03 1.06-.16 1.35z"/><path stroke="#B2B5BE" stroke-linecap="round" stroke-width="1.5" d="M28.96 34.63c1.99.57 4.47 1.55 7.3 2.86l12.2 6.52a193.2 193.2 0 0 1 6.66 4.15c10.56 6.88 19.12 13.86 22.97 18.45"/><path stroke="#B2B5BE" stroke-width="1.5" d="M83.79 65.59c6.77-14.14 1.41-32-13.05-41.42-14.46-9.41-32.96-7.09-43.15 4.83M74.96 21.24a6.08 6.08 0 0 1-2.58 2.3c-.9.39-1.69.35-2.23 0-.54-.36-.9-1.05-.9-2.04a6.08 6.08 0 0 1 1.05-3.29 6.07 6.07 0 0 1 2.58-2.29c.9-.4 1.69-.35 2.23 0s.9 1.05.9 2.04c.01.98-.32 2.17-1.05 3.28z"/><path stroke="#B2B5BE" stroke-linecap="round" stroke-width="1.5" d="M42.7 23.62c1.25-.3 4.56-1.3 8.92-1.3M80.14 84.07C76.5 84.03 64.4 84 50 84s-26.5.03-30.14.07M24.7 59.33l5.77 5.32M32.05 56.05l.84 3.28"/></g><defs><clipPath id="a00y35lj1"><path fill="#fff" d="M0 0h100v100H0V0z"/></clipPath></defs></svg>';
|
|
485
|
+
}, tyJc: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M7 5.5a2.5 2.5 0 0 1 5 0V7H7V5.5zM6 7V5.5a3.5 3.5 0 1 1 7 0V7a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm8 2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V9zm-3 2.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/></svg>'; }, uhCe: function (e, t, n) {
|
|
486
|
+
"use strict";
|
|
487
|
+
n.d(t, "a", (function () { return o; }));
|
|
488
|
+
var r = n("ASyk");
|
|
489
|
+
const o = { SmallHeight: r["small-height-breakpoint"], TabletSmall: r["tablet-small-breakpoint"], TabletNormal: r["tablet-normal-breakpoint"] };
|
|
490
|
+
}, "x0D+": function (e, t, n) {
|
|
491
|
+
var r, o, i;
|
|
492
|
+
o = [t], void 0 === (i = "function" == typeof (r = function (e) {
|
|
493
|
+
"use strict";
|
|
494
|
+
function t(e) { if (Array.isArray(e)) {
|
|
495
|
+
for (var t = 0, n = Array(e.length); t < e.length; t++)
|
|
496
|
+
n[t] = e[t];
|
|
497
|
+
return n;
|
|
498
|
+
} return Array.from(e); }
|
|
499
|
+
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
500
|
+
var n = !1;
|
|
501
|
+
if ("undefined" != typeof window) {
|
|
502
|
+
var r = { get passive() { n = !0; } };
|
|
503
|
+
window.addEventListener("testPassive", null, r), window.removeEventListener("testPassive", null, r);
|
|
504
|
+
}
|
|
505
|
+
var o = "undefined" != typeof window && window.navigator && window.navigator.platform && /iP(ad|hone|od)/.test(window.navigator.platform), i = [], s = !1, a = -1, c = void 0, l = void 0, u = function (e) { return i.some((function (t) { return !(!t.options.allowTouchMove || !t.options.allowTouchMove(e)); })); }, d = function (e) { var t = e || window.event; return !!u(t.target) || 1 < t.touches.length || (t.preventDefault && t.preventDefault(), !1); }, h = function () { setTimeout((function () { void 0 !== l && (document.body.style.paddingRight = l, l = void 0), void 0 !== c && (document.body.style.overflow = c, c = void 0); })); };
|
|
506
|
+
e.disableBodyScroll = function (e, r) { if (o) {
|
|
507
|
+
if (!e)
|
|
508
|
+
return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
509
|
+
if (e && !i.some((function (t) { return t.targetElement === e; }))) {
|
|
510
|
+
var h = { targetElement: e, options: r || {} };
|
|
511
|
+
i = [].concat(t(i), [h]), e.ontouchstart = function (e) { 1 === e.targetTouches.length && (a = e.targetTouches[0].clientY); }, e.ontouchmove = function (t) { var n, r, o, i; 1 === t.targetTouches.length && (r = e, i = (n = t).targetTouches[0].clientY - a, !u(n.target) && (r && 0 === r.scrollTop && 0 < i || (o = r) && o.scrollHeight - o.scrollTop <= o.clientHeight && i < 0 ? d(n) : n.stopPropagation())); }, s || (document.addEventListener("touchmove", d, n ? { passive: !1 } : void 0), s = !0);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
else {
|
|
515
|
+
p = r, setTimeout((function () { if (void 0 === l) {
|
|
516
|
+
var e = !!p && !0 === p.reserveScrollBarGap, t = window.innerWidth - document.documentElement.clientWidth;
|
|
517
|
+
e && 0 < t && (l = document.body.style.paddingRight, document.body.style.paddingRight = t + "px");
|
|
518
|
+
} void 0 === c && (c = document.body.style.overflow, document.body.style.overflow = "hidden"); }));
|
|
519
|
+
var f = { targetElement: e, options: r || {} };
|
|
520
|
+
i = [].concat(t(i), [f]);
|
|
521
|
+
} var p; }, e.clearAllBodyScrollLocks = function () { o ? (i.forEach((function (e) { e.targetElement.ontouchstart = null, e.targetElement.ontouchmove = null; })), s && (document.removeEventListener("touchmove", d, n ? { passive: !1 } : void 0), s = !1), i = [], a = -1) : (h(), i = []); }, e.enableBodyScroll = function (e) { if (o) {
|
|
522
|
+
if (!e)
|
|
523
|
+
return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
524
|
+
e.ontouchstart = null, e.ontouchmove = null, i = i.filter((function (t) { return t.targetElement !== e; })), s && 0 === i.length && (document.removeEventListener("touchmove", d, n ? { passive: !1 } : void 0), s = !1);
|
|
525
|
+
}
|
|
526
|
+
else
|
|
527
|
+
1 === i.length && i[0].targetElement === e ? (h(), i = []) : i = i.filter((function (t) { return t.targetElement !== e; })); };
|
|
528
|
+
}) ? r.apply(t, o) : r) || (e.exports = i);
|
|
529
|
+
}, x5pF: function (e, t, n) { e.exports = { title: "title-3eZ-_4gp", empty: "empty-3eZ-_4gp", image: "image-3eZ-_4gp", contentList: "contentList-3eZ-_4gp" }; }, xNz2: function (e, t, n) {
|
|
530
|
+
"use strict";
|
|
531
|
+
n.r(t);
|
|
532
|
+
var r = {};
|
|
533
|
+
n.r(r), n.d(r, "FILE", (function () { return te; })), n.d(r, "URL", (function () { return ne; })), n.d(r, "TEXT", (function () { return re; })), n.d(r, "HTML", (function () { return oe; }));
|
|
534
|
+
var o = n("q1tI"), i = n.n(o), s = n("i8i4");
|
|
535
|
+
n("FadI");
|
|
536
|
+
function a(e, t, n) {
|
|
537
|
+
return __awaiter(this, void 0, void 0, function* () { let r; for (let o = 0; o < t; ++o)
|
|
538
|
+
try {
|
|
539
|
+
return yield e(r);
|
|
540
|
+
}
|
|
541
|
+
catch (e) {
|
|
542
|
+
r = e, yield n(o);
|
|
543
|
+
} throw r; });
|
|
544
|
+
}
|
|
545
|
+
function c(e, t) {
|
|
546
|
+
return __awaiter(this, void 0, void 0, function* () { return a(e, t, () => Promise.resolve()); });
|
|
547
|
+
}
|
|
548
|
+
var l = n("txPx");
|
|
549
|
+
const u = Object(l.getLogger)("DataSourcesIcons");
|
|
550
|
+
let d = null;
|
|
551
|
+
function h() {
|
|
552
|
+
const e = n.c.zxD0;
|
|
553
|
+
return e ? Promise.resolve(e.exports.lineToolsIcons) : n.e("line-tools-icons").then(n.bind(null, "zxD0")).then(e => e.lineToolsIcons);
|
|
554
|
+
}
|
|
555
|
+
function f() { const e = n.c.EsZh; return e ? Promise.resolve(e.exports.SERIES_ICONS) : n.e("series-icons-map").then(n.bind(null, "EsZh")).then(e => e.SERIES_ICONS); }
|
|
556
|
+
let p = null;
|
|
557
|
+
function g() { return null === p && (p = function () { const e = c(h, 2).then(e => e).catch(e => (u.logWarn(e), {})), t = c(f, 2).then(e => e).catch(e => (u.logWarn(e), {})); return Promise.all([e, t]); }()), p.then(e => (d = { linetool: e[0], series: e[1] }, d)); }
|
|
558
|
+
var v = n("Sn4D"), b = n("mkWe"), m = n("/KDZ"), y = n("YFKU"), O = n("g89m"), S = n("uhCe"), w = n("b4AZ");
|
|
559
|
+
var _ = n("cvc5"), C = n.n(_), T = n("5rFJ"), E = n("8+VR"), D = n("Eyy1"), j = n("TSYQ"), I = n.n(j), k = n("Iivm"), M = n("N5tr"), x = n("82wv"), N = n("gla1");
|
|
560
|
+
const P = o.createContext(null);
|
|
561
|
+
var A = n("p0W+"), L = n("+KIV"), R = n("Z3xJ"), B = n("B6/a"), F = n("nkjW"), H = n("JWMC");
|
|
562
|
+
function z(e) { const { viewModel: t } = Object(D.ensureNotNull)(Object(o.useContext)(P)), n = Object(N.a)(), r = t.selection(); Object(o.useEffect)(() => { const e = {}; return t.onChange().subscribe(e, () => n()), () => { t.onChange().unsubscribeAll(e); }; }, [t]), Object(o.useEffect)(() => { const e = {}; return r.onChange().subscribe(e, () => n()), () => { r.onChange().unsubscribeAll(e); }; }, [r]); const s = !t.canSelectionBeUnmerged(), a = t.isSelectionCopiable(), c = t.isSelectionCloneable(), l = !a && !c, u = t.canSelectionBeGrouped(); return i.a.createElement(i.a.Fragment, null, i.a.createElement("div", { className: j(F.title, F.withoutIcon) }, Object(y.t)("Object tree"), !1), i.a.createElement("div", { className: F.buttons }, i.a.createElement(A.a, { className: j(F.button, !u && F.disabled), icon: B, onClick: function () { t.createGroupFromSelection(); }, isDisabled: !u, title: Object(y.t)("Create a group of drawings"), "data-name": "group-button" }), i.a.createElement(x.a, { className: j(F.button, l && F.disabled), isDisabled: l, content: i.a.createElement(k.a, { icon: L }), title: Object(y.t)("Clone, Copy"), arrow: !1, isShowTooltip: !0, "data-name": "copy-clone-button" }, a && i.a.createElement(M.b, { "data-name": "copy", label: Object(y.t)("Copy"), onClick: function () { t.copySelection(); } }), c && i.a.createElement(M.b, { "data-name": "clone", label: Object(y.t)("Clone"), onClick: function () { t.cloneSelection(); } })), i.a.createElement(x.a, { className: j(F.button, s && F.disabled), isDisabled: s, content: i.a.createElement(k.a, { icon: R }), title: Object(y.t)("Move to"), arrow: !1, isShowTooltip: !0, "data-name": "move-to-button" }, i.a.createElement(M.b, { "data-name": "new-pane-above", label: Object(y.t)("New pane above"), onClick: function () { t.unmergeSelectionUp(); } }), i.a.createElement(M.b, { "data-name": "new-pane-below", label: Object(y.t)("New pane below"), onClick: function () { t.unmergeSelectionDown(); } })))); }
|
|
563
|
+
var U = n("rRWa"), G = n("/MKj");
|
|
564
|
+
function V(e) { var t = null; return function () { return null == t && (t = e()), t; }; }
|
|
565
|
+
function K(e, t) { for (var n = 0; n < t.length; n++) {
|
|
566
|
+
var r = t[n];
|
|
567
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
568
|
+
} }
|
|
569
|
+
var W = function () {
|
|
570
|
+
function e(t) { !function (e, t) { if (!(e instanceof t))
|
|
571
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.entered = [], this.isNodeInDocument = t; }
|
|
572
|
+
var t, n, r;
|
|
573
|
+
return t = e, (n = [{
|
|
574
|
+
key: "enter", value: function (e) { var t = this, n = this.entered.length; return this.entered = function (e, t) { var n = new Set, r = function (e) { return n.add(e); }; e.forEach(r), t.forEach(r); var o = []; return n.forEach((function (e) { return o.push(e); })), o; }(this.entered.filter((function (n) { return t.isNodeInDocument(n) && (!n.contains || n.contains(e)); })), [e]), 0 === n && this.entered.length > 0; }
|
|
575
|
+
}, { key: "leave", value: function (e) { var t, n, r = this.entered.length; return this.entered = (t = this.entered.filter(this.isNodeInDocument), n = e, t.filter((function (e) { return e !== n; }))), r > 0 && 0 === this.entered.length; } }, { key: "reset", value: function () { this.entered = []; } }]) && K(t.prototype, n), r && K(t, r), e;
|
|
576
|
+
}(), q = V((function () { return /firefox/i.test(navigator.userAgent); })), Y = V((function () { return Boolean(window.safari); }));
|
|
577
|
+
function X(e, t) { for (var n = 0; n < t.length; n++) {
|
|
578
|
+
var r = t[n];
|
|
579
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
580
|
+
} }
|
|
581
|
+
var J = function () { function e(t, n) { !function (e, t) { if (!(e instanceof t))
|
|
582
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e); for (var r = t.length, o = [], i = 0; i < r; i++)
|
|
583
|
+
o.push(i); o.sort((function (e, n) { return t[e] < t[n] ? -1 : 1; })); for (var s, a, c = [], l = [], u = [], d = 0; d < r - 1; d++)
|
|
584
|
+
s = t[d + 1] - t[d], a = n[d + 1] - n[d], l.push(s), c.push(a), u.push(a / s); for (var h = [u[0]], f = 0; f < l.length - 1; f++) {
|
|
585
|
+
var p = u[f], g = u[f + 1];
|
|
586
|
+
if (p * g <= 0)
|
|
587
|
+
h.push(0);
|
|
588
|
+
else {
|
|
589
|
+
s = l[f];
|
|
590
|
+
var v = l[f + 1], b = s + v;
|
|
591
|
+
h.push(3 * b / ((b + v) / p + (b + s) / g));
|
|
592
|
+
}
|
|
593
|
+
} h.push(u[u.length - 1]); for (var m, y = [], O = [], S = 0; S < h.length - 1; S++) {
|
|
594
|
+
m = u[S];
|
|
595
|
+
var w = h[S], _ = 1 / l[S], C = w + h[S + 1] - m - m;
|
|
596
|
+
y.push((m - w - C) * _), O.push(C * _ * _);
|
|
597
|
+
} this.xs = t, this.ys = n, this.c1s = h, this.c2s = y, this.c3s = O; } var t, n, r; return t = e, (n = [{ key: "interpolate", value: function (e) { var t = this.xs, n = this.ys, r = this.c1s, o = this.c2s, i = this.c3s, s = t.length - 1; if (e === t[s])
|
|
598
|
+
return n[s]; for (var a, c = 0, l = i.length - 1; c <= l;) {
|
|
599
|
+
var u = t[a = Math.floor(.5 * (c + l))];
|
|
600
|
+
if (u < e)
|
|
601
|
+
c = a + 1;
|
|
602
|
+
else {
|
|
603
|
+
if (!(u > e))
|
|
604
|
+
return n[a];
|
|
605
|
+
l = a - 1;
|
|
606
|
+
}
|
|
607
|
+
} var d = e - t[s = Math.max(0, l)], h = d * d; return n[s] + r[s] * d + o[s] * h + i[s] * d * h; } }]) && X(t.prototype, n), r && X(t, r), e; }();
|
|
608
|
+
function Z(e) { var t = 1 === e.nodeType ? e : e.parentElement; if (!t)
|
|
609
|
+
return null; var n = t.getBoundingClientRect(), r = n.top; return { x: n.left, y: r }; }
|
|
610
|
+
function Q(e) { return { x: e.clientX, y: e.clientY }; }
|
|
611
|
+
function $(e, t, n, r, o) { var i, s, a, c = "IMG" === (i = t).nodeName && (q() || !(null !== (s = document.documentElement) && void 0 !== s && s.contains(i))), l = Z(c ? e : t), u = { x: n.x - l.x, y: n.y - l.y }, d = e.offsetWidth, h = e.offsetHeight, f = r.anchorX, p = r.anchorY, g = function (e, t, n, r) { var o = e ? t.width : n, i = e ? t.height : r; return Y() && e && (i /= window.devicePixelRatio, o /= window.devicePixelRatio), { dragPreviewWidth: o, dragPreviewHeight: i }; }(c, t, d, h), v = g.dragPreviewWidth, b = g.dragPreviewHeight, m = o.offsetX, y = o.offsetY, O = 0 === y || y; return { x: 0 === m || m ? m : new J([0, .5, 1], [u.x, u.x / d * v, u.x + v - d]).interpolate(f), y: O ? y : (a = new J([0, .5, 1], [u.y, u.y / h * b, u.y + b - h]).interpolate(p), Y() && c && (a += (window.devicePixelRatio - 1) * b), a) }; }
|
|
612
|
+
var ee, te = "__NATIVE_FILE__", ne = "__NATIVE_URL__", re = "__NATIVE_TEXT__", oe = "__NATIVE_HTML__";
|
|
613
|
+
function ie(e, t, n) { var r = t.reduce((function (t, n) { return t || e.getData(n); }), ""); return null != r ? r : n; }
|
|
614
|
+
function se(e, t, n) {
|
|
615
|
+
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0,
|
|
616
|
+
configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
617
|
+
}
|
|
618
|
+
var ae = (se(ee = {}, te, { exposeProperties: { files: function (e) { return Array.prototype.slice.call(e.files); }, items: function (e) { return e.items; } }, matchesTypes: ["Files"] }), se(ee, oe, { exposeProperties: { html: function (e, t) { return ie(e, t, ""); } }, matchesTypes: ["Html", "text/html"] }), se(ee, ne, { exposeProperties: { urls: function (e, t) { return ie(e, t, "").split("\n"); } }, matchesTypes: ["Url", "text/uri-list"] }), se(ee, re, { exposeProperties: { text: function (e, t) { return ie(e, t, ""); } }, matchesTypes: ["Text", "text/plain"] }), ee);
|
|
619
|
+
function ce(e, t) { for (var n = 0; n < t.length; n++) {
|
|
620
|
+
var r = t[n];
|
|
621
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
622
|
+
} }
|
|
623
|
+
var le = function () { function e(t) { !function (e, t) { if (!(e instanceof t))
|
|
624
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.config = t, this.item = {}, this.initializeExposedProperties(); } var t, n, r; return t = e, (n = [{ key: "initializeExposedProperties", value: function () { var e = this; Object.keys(this.config.exposeProperties).forEach((function (t) { Object.defineProperty(e.item, t, { configurable: !0, enumerable: !0, get: function () { return console.warn("Browser doesn't allow reading \"".concat(t, '" until the drop event.')), null; } }); })); } }, { key: "loadDataTransfer", value: function (e) { var t = this; if (e) {
|
|
625
|
+
var n = {};
|
|
626
|
+
Object.keys(this.config.exposeProperties).forEach((function (r) { n[r] = { value: t.config.exposeProperties[r](e, t.config.matchesTypes), configurable: !0, enumerable: !0 }; })), Object.defineProperties(this.item, n);
|
|
627
|
+
} } }, { key: "canDrag", value: function () { return !0; } }, { key: "beginDrag", value: function () { return this.item; } }, { key: "isDragging", value: function (e, t) { return t === e.getSourceId(); } }, { key: "endDrag", value: function () { } }]) && ce(t.prototype, n), r && ce(t, r), e; }();
|
|
628
|
+
function ue(e) { if (!e)
|
|
629
|
+
return null; var t = Array.prototype.slice.call(e.types || []); return Object.keys(ae).filter((function (e) { return ae[e].matchesTypes.some((function (e) { return t.indexOf(e) > -1; })); }))[0] || null; }
|
|
630
|
+
function de(e, t) { for (var n = 0; n < t.length; n++) {
|
|
631
|
+
var r = t[n];
|
|
632
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
633
|
+
} }
|
|
634
|
+
var he = function () { function e(t, n) { !function (e, t) { if (!(e instanceof t))
|
|
635
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.ownerDocument = null, this.globalContext = t, this.optionsArgs = n; } var t, n, r; return t = e, (n = [{ key: "window", get: function () { return this.globalContext ? this.globalContext : "undefined" != typeof window ? window : void 0; } }, { key: "document", get: function () { var e; return null !== (e = this.globalContext) && void 0 !== e && e.document ? this.globalContext.document : this.window ? this.window.document : void 0; } }, { key: "rootElement", get: function () { var e; return (null === (e = this.optionsArgs) || void 0 === e ? void 0 : e.rootElement) || this.window; } }]) && de(t.prototype, n), r && de(t, r), e; }();
|
|
636
|
+
function fe(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) {
|
|
637
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
638
|
+
t && (r = r.filter((function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; }))), n.push.apply(n, r);
|
|
639
|
+
} return n; }
|
|
640
|
+
function pe(e) {
|
|
641
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
642
|
+
var n = null != arguments[t] ? arguments[t] : {};
|
|
643
|
+
t % 2 ? fe(Object(n), !0).forEach((function (t) { ge(e, t, n[t]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fe(Object(n)).forEach((function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }));
|
|
644
|
+
}
|
|
645
|
+
return e;
|
|
646
|
+
}
|
|
647
|
+
function ge(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; }
|
|
648
|
+
function ve(e, t) { for (var n = 0; n < t.length; n++) {
|
|
649
|
+
var r = t[n];
|
|
650
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
651
|
+
} }
|
|
652
|
+
var be, me = function () {
|
|
653
|
+
function e(t, n, r) {
|
|
654
|
+
var o = this;
|
|
655
|
+
!function (e, t) { if (!(e instanceof t))
|
|
656
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.sourcePreviewNodes = new Map, this.sourcePreviewNodeOptions = new Map, this.sourceNodes = new Map, this.sourceNodeOptions = new Map, this.dragStartSourceIds = null, this.dropTargetIds = [], this.dragEnterTargetIds = [], this.currentNativeSource = null, this.currentNativeHandle = null, this.currentDragSourceNode = null, this.altKeyPressed = !1, this.mouseMoveTimeoutTimer = null, this.asyncEndDragFrameId = null, this.dragOverTargetIds = null, this.getSourceClientOffset = function (e) { var t = o.sourceNodes.get(e); return t && Z(t) || null; }, this.endDragNativeItem = function () { o.isDraggingNativeItem() && (o.actions.endDrag(), o.currentNativeHandle && o.registry.removeSource(o.currentNativeHandle), o.currentNativeHandle = null, o.currentNativeSource = null); }, this.isNodeInDocument = function (e) { return Boolean(e && o.document && o.document.body && document.body.contains(e)); }, this.endDragIfSourceWasRemovedFromDOM = function () { var e = o.currentDragSourceNode; null == e || o.isNodeInDocument(e) || o.clearCurrentDragSourceNode() && o.monitor.isDragging() && o.actions.endDrag(); }, this.handleTopDragStartCapture = function () { o.clearCurrentDragSourceNode(), o.dragStartSourceIds = []; }, this.handleTopDragStart = function (e) { if (!e.defaultPrevented) {
|
|
657
|
+
var t = o.dragStartSourceIds;
|
|
658
|
+
o.dragStartSourceIds = null;
|
|
659
|
+
var n = Q(e);
|
|
660
|
+
o.monitor.isDragging() && o.actions.endDrag(), o.actions.beginDrag(t || [], { publishSource: !1, getSourceClientOffset: o.getSourceClientOffset, clientOffset: n });
|
|
661
|
+
var r = e.dataTransfer, i = ue(r);
|
|
662
|
+
if (o.monitor.isDragging()) {
|
|
663
|
+
if (r && "function" == typeof r.setDragImage) {
|
|
664
|
+
var s = o.monitor.getSourceId(), a = o.sourceNodes.get(s), c = o.sourcePreviewNodes.get(s) || a;
|
|
665
|
+
if (c) {
|
|
666
|
+
var l = o.getCurrentSourcePreviewNodeOptions(), u = $(a, c, n, { anchorX: l.anchorX, anchorY: l.anchorY }, { offsetX: l.offsetX, offsetY: l.offsetY });
|
|
667
|
+
r.setDragImage(c, u.x, u.y);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
try {
|
|
671
|
+
null == r || r.setData("application/json", {});
|
|
672
|
+
}
|
|
673
|
+
catch (e) { }
|
|
674
|
+
o.setCurrentDragSourceNode(e.target), o.getCurrentSourcePreviewNodeOptions().captureDraggingState ? o.actions.publishDragSource() : setTimeout((function () { return o.actions.publishDragSource(); }), 0);
|
|
675
|
+
}
|
|
676
|
+
else if (i)
|
|
677
|
+
o.beginDragNativeItem(i);
|
|
678
|
+
else {
|
|
679
|
+
if (r && !r.types && (e.target && !e.target.hasAttribute || !e.target.hasAttribute("draggable")))
|
|
680
|
+
return;
|
|
681
|
+
e.preventDefault();
|
|
682
|
+
}
|
|
683
|
+
} }, this.handleTopDragEndCapture = function () { o.clearCurrentDragSourceNode() && o.monitor.isDragging() && o.actions.endDrag(); }, this.handleTopDragEnterCapture = function (e) {
|
|
684
|
+
if (o.dragEnterTargetIds = [],
|
|
685
|
+
o.enterLeaveCounter.enter(e.target) && !o.monitor.isDragging()) {
|
|
686
|
+
var t = e.dataTransfer, n = ue(t);
|
|
687
|
+
n && o.beginDragNativeItem(n, t);
|
|
688
|
+
}
|
|
689
|
+
}, this.handleTopDragEnter = function (e) { var t = o.dragEnterTargetIds; (o.dragEnterTargetIds = [], o.monitor.isDragging()) && (o.altKeyPressed = e.altKey, t.length > 0 && o.actions.hover(t, { clientOffset: Q(e) }), t.some((function (e) { return o.monitor.canDropOnTarget(e); })) && (e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = o.getCurrentDropEffect()))); }, this.handleTopDragOverCapture = function () { o.dragOverTargetIds = []; }, this.handleTopDragOver = function (e) { var t = o.dragOverTargetIds; if (o.dragOverTargetIds = [], !o.monitor.isDragging())
|
|
690
|
+
return e.preventDefault(), void (e.dataTransfer && (e.dataTransfer.dropEffect = "none")); o.altKeyPressed = e.altKey, o.actions.hover(t || [], { clientOffset: Q(e) }), (t || []).some((function (e) { return o.monitor.canDropOnTarget(e); })) ? (e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = o.getCurrentDropEffect())) : o.isDraggingNativeItem() ? e.preventDefault() : (e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "none")); }, this.handleTopDragLeaveCapture = function (e) { o.isDraggingNativeItem() && e.preventDefault(), o.enterLeaveCounter.leave(e.target) && o.isDraggingNativeItem() && setTimeout((function () { return o.endDragNativeItem(); }), 0); }, this.handleTopDropCapture = function (e) { var t; (o.dropTargetIds = [], o.isDraggingNativeItem()) && (e.preventDefault(), null === (t = o.currentNativeSource) || void 0 === t || t.loadDataTransfer(e.dataTransfer)); o.enterLeaveCounter.reset(); }, this.handleTopDrop = function (e) { var t = o.dropTargetIds; o.dropTargetIds = [], o.actions.hover(t, { clientOffset: Q(e) }), o.actions.drop({ dropEffect: o.getCurrentDropEffect() }), o.isDraggingNativeItem() ? o.endDragNativeItem() : o.monitor.isDragging() && o.actions.endDrag(); }, this.handleSelectStart = function (e) { var t = e.target; "function" == typeof t.dragDrop && ("INPUT" === t.tagName || "SELECT" === t.tagName || "TEXTAREA" === t.tagName || t.isContentEditable || (e.preventDefault(), t.dragDrop())); }, this.options = new he(n, r), this.actions = t.getActions(), this.monitor = t.getMonitor(), this.registry = t.getRegistry(), this.enterLeaveCounter = new W(this.isNodeInDocument);
|
|
691
|
+
}
|
|
692
|
+
var t, n, o;
|
|
693
|
+
return t = e, (n = [{ key: "profile", value: function () { var e, t; return { sourcePreviewNodes: this.sourcePreviewNodes.size, sourcePreviewNodeOptions: this.sourcePreviewNodeOptions.size, sourceNodeOptions: this.sourceNodeOptions.size, sourceNodes: this.sourceNodes.size, dragStartSourceIds: (null === (e = this.dragStartSourceIds) || void 0 === e ? void 0 : e.length) || 0, dropTargetIds: this.dropTargetIds.length, dragEnterTargetIds: this.dragEnterTargetIds.length, dragOverTargetIds: (null === (t = this.dragOverTargetIds) || void 0 === t ? void 0 : t.length) || 0 }; } }, { key: "window", get: function () { return this.options.window; } }, { key: "document", get: function () { return this.options.document; } }, { key: "rootElement", get: function () { return this.options.rootElement; } }, { key: "setup", value: function () { var e = this.rootElement; if (void 0 !== e) {
|
|
694
|
+
if (e.__isReactDndBackendSetUp)
|
|
695
|
+
throw new Error("Cannot have two HTML5 backends at the same time.");
|
|
696
|
+
e.__isReactDndBackendSetUp = !0, this.addEventListeners(e);
|
|
697
|
+
} } }, {
|
|
698
|
+
key: "teardown", value: function () { var e, t = this.rootElement; void 0 !== t && (t.__isReactDndBackendSetUp = !1, this.removeEventListeners(this.rootElement), this.clearCurrentDragSourceNode(), this.asyncEndDragFrameId && (null === (e = this.window) || void 0 === e || e.cancelAnimationFrame(this.asyncEndDragFrameId))); }
|
|
699
|
+
}, { key: "connectDragPreview", value: function (e, t, n) { var r = this; return this.sourcePreviewNodeOptions.set(e, n), this.sourcePreviewNodes.set(e, t), function () { r.sourcePreviewNodes.delete(e), r.sourcePreviewNodeOptions.delete(e); }; } }, { key: "connectDragSource", value: function (e, t, n) { var r = this; this.sourceNodes.set(e, t), this.sourceNodeOptions.set(e, n); var o = function (t) { return r.handleDragStart(t, e); }, i = function (e) { return r.handleSelectStart(e); }; return t.setAttribute("draggable", "true"), t.addEventListener("dragstart", o), t.addEventListener("selectstart", i), function () { r.sourceNodes.delete(e), r.sourceNodeOptions.delete(e), t.removeEventListener("dragstart", o), t.removeEventListener("selectstart", i), t.setAttribute("draggable", "false"); }; } }, { key: "connectDropTarget", value: function (e, t) { var n = this, r = function (t) { return n.handleDragEnter(t, e); }, o = function (t) { return n.handleDragOver(t, e); }, i = function (t) { return n.handleDrop(t, e); }; return t.addEventListener("dragenter", r), t.addEventListener("dragover", o), t.addEventListener("drop", i), function () { t.removeEventListener("dragenter", r), t.removeEventListener("dragover", o), t.removeEventListener("drop", i); }; } }, { key: "addEventListeners", value: function (e) { e.addEventListener && (e.addEventListener("dragstart", this.handleTopDragStart), e.addEventListener("dragstart", this.handleTopDragStartCapture, !0), e.addEventListener("dragend", this.handleTopDragEndCapture, !0), e.addEventListener("dragenter", this.handleTopDragEnter), e.addEventListener("dragenter", this.handleTopDragEnterCapture, !0), e.addEventListener("dragleave", this.handleTopDragLeaveCapture, !0), e.addEventListener("dragover", this.handleTopDragOver), e.addEventListener("dragover", this.handleTopDragOverCapture, !0), e.addEventListener("drop", this.handleTopDrop), e.addEventListener("drop", this.handleTopDropCapture, !0)); } }, { key: "removeEventListeners", value: function (e) { e.removeEventListener && (e.removeEventListener("dragstart", this.handleTopDragStart), e.removeEventListener("dragstart", this.handleTopDragStartCapture, !0), e.removeEventListener("dragend", this.handleTopDragEndCapture, !0), e.removeEventListener("dragenter", this.handleTopDragEnter), e.removeEventListener("dragenter", this.handleTopDragEnterCapture, !0), e.removeEventListener("dragleave", this.handleTopDragLeaveCapture, !0), e.removeEventListener("dragover", this.handleTopDragOver), e.removeEventListener("dragover", this.handleTopDragOverCapture, !0), e.removeEventListener("drop", this.handleTopDrop), e.removeEventListener("drop", this.handleTopDropCapture, !0)); } }, { key: "getCurrentSourceNodeOptions", value: function () { var e = this.monitor.getSourceId(), t = this.sourceNodeOptions.get(e); return pe({ dropEffect: this.altKeyPressed ? "copy" : "move" }, t || {}); } }, { key: "getCurrentDropEffect", value: function () {
|
|
700
|
+
return this.isDraggingNativeItem() ? "copy" : this.getCurrentSourceNodeOptions().dropEffect;
|
|
701
|
+
} }, { key: "getCurrentSourcePreviewNodeOptions", value: function () { var e = this.monitor.getSourceId(); return pe({ anchorX: .5, anchorY: .5, captureDraggingState: !1 }, this.sourcePreviewNodeOptions.get(e) || {}); } }, { key: "isDraggingNativeItem", value: function () { var e = this.monitor.getItemType(); return Object.keys(r).some((function (t) { return r[t] === e; })); } }, { key: "beginDragNativeItem", value: function (e, t) { this.clearCurrentDragSourceNode(), this.currentNativeSource = function (e, t) { var n = new le(ae[e]); return n.loadDataTransfer(t), n; }(e, t), this.currentNativeHandle = this.registry.addSource(e, this.currentNativeSource), this.actions.beginDrag([this.currentNativeHandle]); } }, { key: "setCurrentDragSourceNode", value: function (e) { var t = this; this.clearCurrentDragSourceNode(), this.currentDragSourceNode = e, this.mouseMoveTimeoutTimer = setTimeout((function () { var e; return null === (e = t.rootElement) || void 0 === e ? void 0 : e.addEventListener("mousemove", t.endDragIfSourceWasRemovedFromDOM, !0); }), 1e3); } }, { key: "clearCurrentDragSourceNode", value: function () { var e; return !!this.currentDragSourceNode && (this.currentDragSourceNode = null, this.rootElement && (null === (e = this.window) || void 0 === e || e.clearTimeout(this.mouseMoveTimeoutTimer || void 0), this.rootElement.removeEventListener("mousemove", this.endDragIfSourceWasRemovedFromDOM, !0)), this.mouseMoveTimeoutTimer = null, !0); } }, { key: "handleDragStart", value: function (e, t) { e.defaultPrevented || (this.dragStartSourceIds || (this.dragStartSourceIds = []), this.dragStartSourceIds.unshift(t)); } }, { key: "handleDragEnter", value: function (e, t) { this.dragEnterTargetIds.unshift(t); } }, { key: "handleDragOver", value: function (e, t) { null === this.dragOverTargetIds && (this.dragOverTargetIds = []), this.dragOverTargetIds.unshift(t); } }, { key: "handleDrop", value: function (e, t) { this.dropTargetIds.unshift(t); } }]) && ve(t.prototype, n), o && ve(t, o), e;
|
|
702
|
+
}(), ye = function (e, t, n) { return new me(e, t, n); }, Oe = n("aKzv");
|
|
703
|
+
!function (e) { e.mouse = "mouse", e.touch = "touch", e.keyboard = "keyboard"; }(be || (be = {}));
|
|
704
|
+
var Se = 1, we = 0;
|
|
705
|
+
function _e(e) { return void 0 === e.button || e.button === we; }
|
|
706
|
+
function Ce(e) { return !!e.targetTouches; }
|
|
707
|
+
function Te(e, t) { return Ce(e) ? function (e, t) { return 1 === e.targetTouches.length ? Te(e.targetTouches[0]) : t && 1 === e.touches.length && e.touches[0].target === t.target ? Te(e.touches[0]) : void 0; }(e, t) : { x: e.clientX, y: e.clientY }; }
|
|
708
|
+
var Ee = function () { var e = !1; try {
|
|
709
|
+
addEventListener("test", (function () { }), Object.defineProperty({}, "passive", { get: function () { return e = !0, !0; } }));
|
|
710
|
+
}
|
|
711
|
+
catch (e) { } return e; }();
|
|
712
|
+
function De(e, t) { for (var n = 0; n < t.length; n++) {
|
|
713
|
+
var r = t[n];
|
|
714
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
715
|
+
} }
|
|
716
|
+
var je, Ie = function () {
|
|
717
|
+
function e(t, n) {
|
|
718
|
+
var r = this;
|
|
719
|
+
!function (e, t) { if (!(e instanceof t))
|
|
720
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.enableTouchEvents = !0, this.enableMouseEvents = !1, this.enableKeyboardEvents = !1, this.ignoreContextMenu = !1, this.enableHoverOutsideTarget = !1, this.touchSlop = 0, this.scrollAngleRanges = void 0, this.context = n, this.delayTouchStart = t.delayTouchStart || t.delay || 0,
|
|
721
|
+
this.delayMouseStart = t.delayMouseStart || t.delay || 0, Object.keys(t).forEach((function (e) { null != t[e] && (r[e] = t[e]); }));
|
|
722
|
+
}
|
|
723
|
+
var t, n, r;
|
|
724
|
+
return t = e, (n = [{ key: "window", get: function () { return this.context && this.context.window ? this.context.window : "undefined" != typeof window ? window : void 0; } }, { key: "document", get: function () { var e; return null !== (e = this.context) && void 0 !== e && e.document ? this.context.document : this.window ? this.window.document : void 0; } }]) && De(t.prototype, n), r && De(t, r), e;
|
|
725
|
+
}();
|
|
726
|
+
function ke(e, t) { for (var n = 0; n < t.length; n++) {
|
|
727
|
+
var r = t[n];
|
|
728
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
729
|
+
} }
|
|
730
|
+
function Me(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e; }
|
|
731
|
+
var xe = (Me(je = {}, be.mouse, { start: "mousedown", move: "mousemove", end: "mouseup", contextmenu: "contextmenu" }), Me(je, be.touch, { start: "touchstart", move: "touchmove", end: "touchend" }), Me(je, be.keyboard, { keydown: "keydown" }), je), Ne = function () {
|
|
732
|
+
function e(t, n, r) {
|
|
733
|
+
var o = this;
|
|
734
|
+
!function (e, t) { if (!(e instanceof t))
|
|
735
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.getSourceClientOffset = function (e) { var t = o.sourceNodes.get(e); return t && function (e) { var t = 1 === e.nodeType ? e : e.parentElement; if (t) {
|
|
736
|
+
var n = t.getBoundingClientRect(), r = n.top;
|
|
737
|
+
return { x: n.left, y: r };
|
|
738
|
+
} }(t); }, this.handleTopMoveStartCapture = function (e) { _e(e) && (o.moveStartSourceIds = []); }, this.handleMoveStart = function (e) { Array.isArray(o.moveStartSourceIds) && o.moveStartSourceIds.unshift(e); }, this.handleTopMoveStart = function (e) { if (_e(e)) {
|
|
739
|
+
var t = Te(e);
|
|
740
|
+
t && (Ce(e) && (o.lastTargetTouchFallback = e.targetTouches[0]), o._mouseClientOffset = t), o.waitingForDelay = !1;
|
|
741
|
+
} }, this.handleTopMoveStartDelay = function (e) { if (_e(e)) {
|
|
742
|
+
var t = e.type === xe.touch.start ? o.options.delayTouchStart : o.options.delayMouseStart;
|
|
743
|
+
o.timeout = setTimeout(o.handleTopMoveStart.bind(o, e), t), o.waitingForDelay = !0;
|
|
744
|
+
} }, this.handleTopMoveCapture = function () { o.dragOverTargetIds = []; }, this.handleMove = function (e, t) { o.dragOverTargetIds && o.dragOverTargetIds.unshift(t); }, this.handleTopMove = function (e) {
|
|
745
|
+
if (o.timeout && clearTimeout(o.timeout), o.document && !o.waitingForDelay) {
|
|
746
|
+
var t, n, r, i, s = o.moveStartSourceIds, a = o.dragOverTargetIds, c = o.options.enableHoverOutsideTarget, l = Te(e, o.lastTargetTouchFallback);
|
|
747
|
+
if (l)
|
|
748
|
+
if (o._isScrolling || !o.monitor.isDragging() && function (e, t, n, r, o) { if (!o)
|
|
749
|
+
return !1; for (var i = 180 * Math.atan2(r - t, n - e) / Math.PI + 180, s = 0; s < o.length; ++s)
|
|
750
|
+
if ((null == o[s].start || i >= o[s].start) && (null == o[s].end || i <= o[s].end))
|
|
751
|
+
return !0; return !1; }(o._mouseClientOffset.x || 0, o._mouseClientOffset.y || 0, l.x, l.y, o.options.scrollAngleRanges))
|
|
752
|
+
o._isScrolling = !0;
|
|
753
|
+
else if (!o.monitor.isDragging() && o._mouseClientOffset.hasOwnProperty("x") && s && (t = o._mouseClientOffset.x || 0, n = o._mouseClientOffset.y || 0, r = l.x, i = l.y, Math.sqrt(Math.pow(Math.abs(r - t), 2) + Math.pow(Math.abs(i - n), 2)) > (o.options.touchSlop ? o.options.touchSlop : 0)) && (o.moveStartSourceIds = void 0, o.actions.beginDrag(s, { clientOffset: o._mouseClientOffset, getSourceClientOffset: o.getSourceClientOffset, publishSource: !1 })), o.monitor.isDragging()) {
|
|
754
|
+
var u = o.sourceNodes.get(o.monitor.getSourceId());
|
|
755
|
+
o.installSourceNodeRemovalObserver(u), o.actions.publishDragSource(), e.cancelable && e.preventDefault();
|
|
756
|
+
var d = (a || []).map((function (e) { return o.targetNodes.get(e); })).filter((function (e) { return !!e; })), h = o.options.getDropTargetElementsAtPoint ? o.options.getDropTargetElementsAtPoint(l.x, l.y, d) : o.document.elementsFromPoint(l.x, l.y), f = [];
|
|
757
|
+
for (var p in h)
|
|
758
|
+
if (h.hasOwnProperty(p)) {
|
|
759
|
+
var g = h[p];
|
|
760
|
+
for (f.push(g); g;)
|
|
761
|
+
(g = g.parentElement) && -1 === f.indexOf(g) && f.push(g);
|
|
762
|
+
}
|
|
763
|
+
var v = f.filter((function (e) { return d.indexOf(e) > -1; })).map((function (e) { return o._getDropTargetId(e); })).filter((function (e) { return !!e; })).filter((function (e, t, n) { return n.indexOf(e) === t; }));
|
|
764
|
+
if (c)
|
|
765
|
+
for (var b in o.targetNodes) {
|
|
766
|
+
var m = o.targetNodes.get(b);
|
|
767
|
+
if (u && m && m.contains(u) && -1 === v.indexOf(b)) {
|
|
768
|
+
v.unshift(b);
|
|
769
|
+
break;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
v.reverse(), o.actions.hover(v, { clientOffset: l });
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}, this._getDropTargetId = function (e) { for (var t = o.targetNodes.keys(), n = t.next(); !1 === n.done;) {
|
|
776
|
+
var r = n.value;
|
|
777
|
+
if (e === o.targetNodes.get(r))
|
|
778
|
+
return r;
|
|
779
|
+
n = t.next();
|
|
780
|
+
} }, this.handleTopMoveEndCapture = function (e) { o._isScrolling = !1, o.lastTargetTouchFallback = void 0, function (e) { return void 0 === e.buttons || 0 == (e.buttons & Se); }(e) && (o.monitor.isDragging() && !o.monitor.didDrop() ? (e.cancelable && e.preventDefault(), o._mouseClientOffset = {}, o.uninstallSourceNodeRemovalObserver(), o.actions.drop(), o.actions.endDrag()) : o.moveStartSourceIds = void 0); }, this.handleCancelOnEscape = function (e) { "Escape" === e.key && o.monitor.isDragging() && (o._mouseClientOffset = {}, o.uninstallSourceNodeRemovalObserver(), o.actions.endDrag()); }, this.options = new Ie(r, n), this.actions = t.getActions(), this.monitor = t.getMonitor(), this.sourceNodes = new Map, this.sourcePreviewNodes = new Map, this.sourcePreviewNodeOptions = new Map, this.targetNodes = new Map, this.listenerTypes = [], this._mouseClientOffset = {}, this._isScrolling = !1, this.options.enableMouseEvents && this.listenerTypes.push(be.mouse), this.options.enableTouchEvents && this.listenerTypes.push(be.touch), this.options.enableKeyboardEvents && this.listenerTypes.push(be.keyboard);
|
|
781
|
+
}
|
|
782
|
+
var t, n, r;
|
|
783
|
+
return t = e, (n = [{ key: "profile", value: function () { var e; return { sourceNodes: this.sourceNodes.size, sourcePreviewNodes: this.sourcePreviewNodes.size, sourcePreviewNodeOptions: this.sourcePreviewNodeOptions.size, targetNodes: this.targetNodes.size, dragOverTargetIds: (null === (e = this.dragOverTargetIds) || void 0 === e ? void 0 : e.length) || 0 }; } }, { key: "document", get: function () { return this.options.document; } }, { key: "setup", value: function () {
|
|
784
|
+
this.document && (Object(Oe.a)(!e.isSetUp, "Cannot have two Touch backends at the same time."), e.isSetUp = !0, this.addEventListener(this.document, "start", this.getTopMoveStartHandler()), this.addEventListener(this.document, "start", this.handleTopMoveStartCapture, !0), this.addEventListener(this.document, "move", this.handleTopMove), this.addEventListener(this.document, "move", this.handleTopMoveCapture, !0), this.addEventListener(this.document, "end", this.handleTopMoveEndCapture, !0), this.options.enableMouseEvents && !this.options.ignoreContextMenu && this.addEventListener(this.document, "contextmenu", this.handleTopMoveEndCapture),
|
|
785
|
+
this.options.enableKeyboardEvents && this.addEventListener(this.document, "keydown", this.handleCancelOnEscape, !0));
|
|
786
|
+
} }, { key: "teardown", value: function () { this.document && (e.isSetUp = !1, this._mouseClientOffset = {}, this.removeEventListener(this.document, "start", this.handleTopMoveStartCapture, !0), this.removeEventListener(this.document, "start", this.handleTopMoveStart), this.removeEventListener(this.document, "move", this.handleTopMoveCapture, !0), this.removeEventListener(this.document, "move", this.handleTopMove), this.removeEventListener(this.document, "end", this.handleTopMoveEndCapture, !0), this.options.enableMouseEvents && !this.options.ignoreContextMenu && this.removeEventListener(this.document, "contextmenu", this.handleTopMoveEndCapture), this.options.enableKeyboardEvents && this.removeEventListener(this.document, "keydown", this.handleCancelOnEscape, !0), this.uninstallSourceNodeRemovalObserver()); } }, { key: "addEventListener", value: function (e, t, n, r) { var o = Ee ? { capture: r, passive: !1 } : r; this.listenerTypes.forEach((function (r) { var i = xe[r][t]; i && e.addEventListener(i, n, o); })); } }, { key: "removeEventListener", value: function (e, t, n, r) { var o = Ee ? { capture: r, passive: !1 } : r; this.listenerTypes.forEach((function (r) { var i = xe[r][t]; i && e.removeEventListener(i, n, o); })); } }, { key: "connectDragSource", value: function (e, t) { var n = this, r = this.handleMoveStart.bind(this, e); return this.sourceNodes.set(e, t), this.addEventListener(t, "start", r), function () { n.sourceNodes.delete(e), n.removeEventListener(t, "start", r); }; } }, { key: "connectDragPreview", value: function (e, t, n) { var r = this; return this.sourcePreviewNodeOptions.set(e, n), this.sourcePreviewNodes.set(e, t), function () { r.sourcePreviewNodes.delete(e), r.sourcePreviewNodeOptions.delete(e); }; } }, { key: "connectDropTarget", value: function (e, t) { var n = this; if (!this.document)
|
|
787
|
+
return function () { }; var r = function (r) { if (n.document && n.monitor.isDragging()) {
|
|
788
|
+
var o;
|
|
789
|
+
switch (r.type) {
|
|
790
|
+
case xe.mouse.move:
|
|
791
|
+
o = { x: r.clientX, y: r.clientY };
|
|
792
|
+
break;
|
|
793
|
+
case xe.touch.move: o = { x: r.touches[0].clientX, y: r.touches[0].clientY };
|
|
794
|
+
}
|
|
795
|
+
var i = null != o ? n.document.elementFromPoint(o.x, o.y) : void 0, s = i && t.contains(i);
|
|
796
|
+
return i === t || s ? n.handleMove(r, e) : void 0;
|
|
797
|
+
} }; return this.addEventListener(this.document.body, "move", r), this.targetNodes.set(e, t), function () { n.document && (n.targetNodes.delete(e), n.removeEventListener(n.document.body, "move", r)); }; } }, { key: "getTopMoveStartHandler", value: function () { return this.options.delayTouchStart || this.options.delayMouseStart ? this.handleTopMoveStartDelay : this.handleTopMoveStart; } }, { key: "installSourceNodeRemovalObserver", value: function (e) { var t = this; this.uninstallSourceNodeRemovalObserver(), this.draggedSourceNode = e, this.draggedSourceNodeRemovalObserver = new MutationObserver((function () { e && !e.parentElement && (t.resurrectSourceNode(), t.uninstallSourceNodeRemovalObserver()); })), e && e.parentElement && this.draggedSourceNodeRemovalObserver.observe(e.parentElement, { childList: !0 }); } }, { key: "resurrectSourceNode", value: function () {
|
|
798
|
+
this.document && this.draggedSourceNode && (this.draggedSourceNode.style.display = "none", this.draggedSourceNode.removeAttribute("data-reactid"),
|
|
799
|
+
this.document.body.appendChild(this.draggedSourceNode));
|
|
800
|
+
} }, { key: "uninstallSourceNodeRemovalObserver", value: function () { this.draggedSourceNodeRemovalObserver && this.draggedSourceNodeRemovalObserver.disconnect(), this.draggedSourceNodeRemovalObserver = void 0, this.draggedSourceNode = void 0; } }]) && ke(t.prototype, n), r && ke(t, r), e;
|
|
801
|
+
}(), Pe = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; return new Ne(e, t, n); }, Ae = n("JEhF");
|
|
802
|
+
const Le = (Re = "OBJECT_TREE", e => Re + "__" + e);
|
|
803
|
+
var Re;
|
|
804
|
+
const Be = Le("SET_NODES"), Fe = Le("SYNC_NODES"), He = Le("UPDATE_NODE"), ze = Le("UPDATE_NODES"), Ue = Le("RESET_TREE"), Ge = Le("SET_SELECTED_IDS"), Ve = Le("DROP_SELECTION"), Ke = Le("SELECT_PREVIOUS"), We = Le("SELECT_NEXT"), qe = Le("MULTI_SELECT_PREVIOUS"), Ye = Le("MULTI_SELECT_NEXT"), Xe = Le("PROCESS_DROP_TARGET"), Je = Le("UPDATE_DROP_TARGET"), Ze = Le("HIDE_DROP_TARGET"), Qe = Le("START_MULTI_SELECT"), $e = Le("STOP_MULTI_SELECT"), et = (Le("REMOVE_NODE"), Le("SET_FOCUSED_NODE")), tt = Le("SCROLL_TO_ID"), nt = Le("SET_IS_SELECTED"), rt = Le("SET_IS_EXPANDED"), ot = Le("SET_DISABLED_NODES"), it = Le("MOVE_NODES"), st = (Le("START_DRAG"), Le("END_DRAG")), at = () => ({ type: Ke }), ct = () => ({ type: We }), lt = () => ({ type: qe }), ut = () => ({ type: Ye }), dt = (e, t, n, r, o) => ({ type: Xe, dropTarget: e, dropType: t, isHoveredLeft: n, boundBox: r, isLastChild: o }), ht = () => ({ type: Ve }), ft = e => ({ type: Ge, ids: e }), pt = (e, t, n) => ({ type: it, ids: e, targetId: t, dropType: n }), gt = () => ({ type: Qe }), vt = () => ({ type: $e }), bt = e => ({ type: et, nodeId: e }), mt = e => ({ type: tt, nodeId: e }), yt = (e, t, n = 0) => ({ type: nt, nodeId: e, isSelected: t, mode: n }), Ot = (e, t) => ({ type: rt, nodeId: e, isExpanded: t }), St = e => ({ type: ot, ids: e }), wt = () => ({ type: st });
|
|
805
|
+
var _t = n("G4qV");
|
|
806
|
+
const Ct = e => e.nodes, Tt = e => e.selection, Et = e => e.dropTarget, Dt = e => e.expanded, jt = e => e.scrollToId, It = (e, t) => t, kt = Object(_t.a)([Ct, It], (e, t) => e[t]), Mt = Object(_t.a)([Tt, It], (e, t) => e.ids.includes(t)), xt = Object(_t.a)([Dt, It], (e, t) => e.includes(t)), Nt = Object(_t.a)([e => e.disabled, Tt, It], (e, t, n) => !t.ids.includes(n) && e.includes(n)), Pt = Object(_t.a)(Ct, e => Object.keys(e)), At = Object(_t.a)(Tt, ({ ids: e }) => e), Lt = Object(_t.a)(Tt, ({ lastFocusedNodeId: e }) => e), Rt = Object(_t.a)(Tt, ({ isMultiSelecting: e }) => e), Bt = Object(_t.a)([Ct, At], (e, t) => t.map(t => e[t])), Ft = Object(_t.a)(Ct, e => Object.values(e).filter(e => 0 === e.level)), Ht = Object(_t.a)([Ct, Ft], (e, t) => t.reduce((t, n) => [...t, ...zt(e, Object(D.ensureDefined)(n))], []));
|
|
807
|
+
function zt(e, t) { const n = []; for (const r of t.children)
|
|
808
|
+
n.push(e[r]), n.push(...zt(e, e[r])); return n; }
|
|
809
|
+
const Ut = Object(_t.a)([Ct, Ft, Dt], (e, t, n) => { const r = new Set(n); return t.reduce((t, n) => [...t, ...Vt(e, Object(D.ensureDefined)(n), r)], []); }), Gt = Object(_t.a)([Ct, At, Dt], (e, t, n) => { const r = new Set(n); return [{ id: "drag-list", level: -1, children: t }].reduce((t, n) => [...t, ...Vt(e, Object(D.ensureDefined)(n), r)], []); });
|
|
810
|
+
function Vt(e, t, n) { const r = []; for (const o of t.children) {
|
|
811
|
+
const t = e[o];
|
|
812
|
+
void 0 !== t && (r.push(t), n.has(o) && r.push(...Vt(e, t, n)));
|
|
813
|
+
} return r; }
|
|
814
|
+
function* Kt(e) {
|
|
815
|
+
const { selectedIds: t, nodes: n } = yield Object(T.b)(e), r = n.reduce((e, t) => (Object.assign(Object.assign({}, e), { [t.id]: t })), {});
|
|
816
|
+
yield Object(T.e)((e => ({ type: Be, nodes: e }))(r)), yield Object(T.e)(ft(t));
|
|
817
|
+
!Lt(yield Object(T.f)()) && t.length > 0 && (yield Object(T.e)(bt(t[0])), yield Object(T.e)(mt(t[0])));
|
|
818
|
+
}
|
|
819
|
+
function* Wt(e) { for (;;) {
|
|
820
|
+
if ((yield Object(T.g)([Qe, $e])).type === Qe) {
|
|
821
|
+
const t = Pt(yield Object(T.f)()).filter(t => !e(t));
|
|
822
|
+
yield Object(T.e)(St(t));
|
|
823
|
+
}
|
|
824
|
+
else
|
|
825
|
+
yield Object(T.e)(St([]));
|
|
826
|
+
} }
|
|
827
|
+
function* qt() { for (;;) {
|
|
828
|
+
const { type: e } = yield Object(T.g)([Ye, qe]), t = yield Object(T.f)(), n = Ht(t), r = n.length, o = Lt(t), i = n.findIndex(e => e.id === o), s = [...At(t)];
|
|
829
|
+
if (e === qe && 0 === i || e === Ye && i === r - 1)
|
|
830
|
+
continue;
|
|
831
|
+
const a = en(t, e === Ye ? "next" : "previous", n, i), { id: c } = a;
|
|
832
|
+
s.includes(c) && o ? (yield Object(T.e)(yt(o, !1, 1)), yield Object(T.e)(bt(c))) : yield Object(T.e)(yt(c, !0, 1)), yield Object(T.e)(mt(c));
|
|
833
|
+
} }
|
|
834
|
+
function* Yt(e, t) { for (;;) {
|
|
835
|
+
const { type: n } = yield Object(T.g)([We, Ke]), r = yield Object(T.f)(), o = Ht(r), i = Lt(r), s = o.findIndex(e => e.id === i), a = n === We ? "next" : "previous", c = en(r, a, o, s), { id: l } = c;
|
|
836
|
+
e ? e([l], a) : yield Object(T.e)(ft([l])), t && t(l), yield Object(T.e)(bt(l));
|
|
837
|
+
} }
|
|
838
|
+
function* Xt(e, t = (() => !0)) { for (;;) {
|
|
839
|
+
const { mode: n, nodeId: r, isSelected: o } = yield Object(T.g)(nt);
|
|
840
|
+
let i = [...At(yield Object(T.f)())];
|
|
841
|
+
const s = Ht(yield Object(T.f)());
|
|
842
|
+
if (1 === n)
|
|
843
|
+
o ? i.push(r) : i.splice(i.indexOf(r), 1);
|
|
844
|
+
else if (2 === n && i.length > 0) {
|
|
845
|
+
const e = Lt(yield Object(T.f)());
|
|
846
|
+
let n = s.findIndex(t => t.id === e);
|
|
847
|
+
-1 === n && (n = s.reduce((e, t, n) => i.includes(t.id) ? n : e, -1));
|
|
848
|
+
const o = s.findIndex(e => e.id === r);
|
|
849
|
+
if (n !== o)
|
|
850
|
+
for (let e = Math.min(n, o); e <= Math.max(n, o); e++) {
|
|
851
|
+
const n = s[e].id;
|
|
852
|
+
!i.includes(n) && t(n) && i.push(n);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
else
|
|
856
|
+
i = r ? [r] : [];
|
|
857
|
+
const a = new Set(i);
|
|
858
|
+
i = s.reduce((e, t) => (a.has(t.id) && e.push(t.id), e), []), e ? e(i) : yield Object(T.e)(ft(i)), yield Object(T.e)(bt(r));
|
|
859
|
+
} }
|
|
860
|
+
function* Jt(e = (() => !0), t) { const { dropTarget: n, dropType: r, isHoveredLeft: o, boundBox: i, isLastChild: s } = t, a = Et(yield Object(T.f)()), c = kt(yield Object(T.f)(), Object(D.ensureDefined)(n.parentId)), l = s && "after" === r, u = Bt(yield Object(T.f)()), d = !l || !o && e(u, n, r) ? n : c, h = a.node && a.node.id !== d.id || a.dropType !== r; u.map(e => e.id).includes(d.id) ? yield Object(T.e)({ type: Ze }) : h && e(u, d, r) && (yield Object(T.e)(((e, t, n) => ({ type: Je, node: e, dropType: t, boundBox: n }))(d, r, i))); }
|
|
861
|
+
function* Zt(e) { yield Object(T.h)(0, Xe, Jt, e); }
|
|
862
|
+
function* Qt(e) { for (;;) {
|
|
863
|
+
yield Object(T.g)(Ve);
|
|
864
|
+
const t = Bt(yield Object(T.f)()), { node: n, dropType: r } = Et(yield Object(T.f)());
|
|
865
|
+
if (n && r) {
|
|
866
|
+
const o = new CustomEvent("tree-node-drop", { detail: { nodes: t, target: n.id, type: r } });
|
|
867
|
+
if (e && e(o), !o.defaultPrevented) {
|
|
868
|
+
const e = At(yield Object(T.f)());
|
|
869
|
+
yield Object(T.e)(pt(e, n.id, r));
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
} }
|
|
873
|
+
function* $t(e) { for (;;) {
|
|
874
|
+
yield Object(T.g)(it);
|
|
875
|
+
e(Ct(yield Object(T.f)()));
|
|
876
|
+
} }
|
|
877
|
+
function en(e, t, n, r) { const o = n.length; let i, s = 0; for (; !i || Math.abs(s) < o && ((a = i).level > 1 && !xt(e, Object(D.ensureDefined)(a.parentId)));)
|
|
878
|
+
s += "next" === t ? 1 : -1, i = n[(r + s + o) % o]; var a; return i; }
|
|
879
|
+
function* tn(e = {}) { const { saga: t, onDrop: n, canMove: r, onMove: o, onSelect: i, onKeyboardSelect: s, initState: a, canBeAddedToSelection: c } = e, l = [Object(T.d)(Zt, r), Object(T.d)(Qt, n), Object(T.d)(Xt, i, c), Object(T.d)(Yt, i, s), Object(T.d)(qt)]; for (t && l.push(Object(T.d)(t)), o && l.push(Object(T.d)($t, o)), c && l.push(Object(T.d)(Wt, c));;) {
|
|
880
|
+
a && (yield Object(T.b)(Kt, a));
|
|
881
|
+
const e = yield Object(T.a)(l);
|
|
882
|
+
yield Object(T.g)(Ue);
|
|
883
|
+
for (const t of e)
|
|
884
|
+
yield Object(T.c)(t);
|
|
885
|
+
} }
|
|
886
|
+
var nn = n("ANjH"), rn = n("ogJP");
|
|
887
|
+
const on = Object(l.getLogger)("Platform.GUI.ObjectTree.CallApi");
|
|
888
|
+
const sn = { ids: [], lastFocusedNodeId: void 0, isMultiSelecting: !1 };
|
|
889
|
+
const an = { node: void 0, dropType: void 0, boundBox: void 0 };
|
|
890
|
+
const cn = Object(nn.c)({ nodes: function (e = {}, t) { switch (t.type) {
|
|
891
|
+
case Be: return t.nodes;
|
|
892
|
+
case Fe: {
|
|
893
|
+
const { nodes: n } = t, r = n.map(e => e.id), o = Object.assign({}, e);
|
|
894
|
+
for (const t of Object.keys(e))
|
|
895
|
+
if (!r.includes(t)) {
|
|
896
|
+
const { parentId: e } = o[t];
|
|
897
|
+
e && (o[e] = Object.assign(Object.assign({}, o[e]), { children: o[e].children.filter(e => e !== t) })), delete o[t];
|
|
898
|
+
}
|
|
899
|
+
for (const e of n) {
|
|
900
|
+
const t = e.id;
|
|
901
|
+
if (o.hasOwnProperty(t)) {
|
|
902
|
+
!Object(rn.deepEquals)(o[t].children, e.children)[0] && (o[t] = Object.assign(Object.assign({}, o[t]), { children: [...e.children] }));
|
|
903
|
+
}
|
|
904
|
+
else {
|
|
905
|
+
o[t] = e;
|
|
906
|
+
const { parentId: n } = e;
|
|
907
|
+
if (n && !o[n].children.includes(t))
|
|
908
|
+
throw new Error("Not implemented");
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
return o;
|
|
912
|
+
}
|
|
913
|
+
case He: {
|
|
914
|
+
const { type: n, nodeId: r } = t, o = __rest(t, ["type", "nodeId"]);
|
|
915
|
+
return Object.assign(Object.assign({}, e), { [r]: Object.assign(Object.assign({}, e[r]), o) });
|
|
916
|
+
}
|
|
917
|
+
case ze: {
|
|
918
|
+
const { nodes: n } = t, r = Object.assign({}, e);
|
|
919
|
+
return Object.keys(n).forEach(e => { r[e] = Object.assign(Object.assign({}, r[e]), n[e]); }), Object.assign(Object.assign({}, e), r);
|
|
920
|
+
}
|
|
921
|
+
case it: {
|
|
922
|
+
const { ids: n, targetId: r, dropType: o } = t, i = Object(D.ensureDefined)(e[r].parentId), s = e[i], a = {};
|
|
923
|
+
for (const t of n) {
|
|
924
|
+
const n = e[t];
|
|
925
|
+
if (n.parentId) {
|
|
926
|
+
const r = a[n.parentId] || e[n.parentId];
|
|
927
|
+
a[n.parentId] = Object.assign(Object.assign({}, r), { children: r.children.filter(e => e !== t) });
|
|
928
|
+
}
|
|
929
|
+
a[t] = Object.assign(Object.assign({}, n), { parentId: i, level: s.level + 1 });
|
|
930
|
+
}
|
|
931
|
+
const c = s.children.filter(e => !n.includes(e));
|
|
932
|
+
return c.splice(((e, t, n) => { switch (n) {
|
|
933
|
+
case "before": return e.indexOf(Object(D.ensureDefined)(t));
|
|
934
|
+
case "inside": return e.length;
|
|
935
|
+
case "after": return e.indexOf(Object(D.ensureDefined)(t)) + 1;
|
|
936
|
+
default: return 0;
|
|
937
|
+
} })(c, r, o), 0, ...n), a[i] = Object.assign(Object.assign({}, e[i]), { children: c, isExpanded: !0 }), Object.assign(Object.assign({}, e), a);
|
|
938
|
+
}
|
|
939
|
+
default: return e;
|
|
940
|
+
} }, selection: function (e = sn, t) { switch (t.type) {
|
|
941
|
+
case Ge: {
|
|
942
|
+
const { ids: n } = t;
|
|
943
|
+
return Object.assign(Object.assign({}, e), { ids: n, lastFocusedNodeId: n.length > 0 ? e.lastFocusedNodeId : void 0 });
|
|
944
|
+
}
|
|
945
|
+
case Qe: return Object.assign(Object.assign({}, e), { isMultiSelecting: !0 });
|
|
946
|
+
case $e: return Object.assign(Object.assign({}, e), { isMultiSelecting: !1 });
|
|
947
|
+
case et: return Object.assign(Object.assign({}, e), { lastFocusedNodeId: t.nodeId });
|
|
948
|
+
case Fe: {
|
|
949
|
+
const n = new Set(t.nodes.map(e => e.id));
|
|
950
|
+
return e.lastFocusedNodeId && !n.has(e.lastFocusedNodeId) && delete e.lastFocusedNodeId, Object.assign(Object.assign({}, e), { ids: e.ids.filter(e => n.has(e)) });
|
|
951
|
+
}
|
|
952
|
+
default: return e;
|
|
953
|
+
} }, dropTarget: function (e = an, t) { switch (t.type) {
|
|
954
|
+
case Je: {
|
|
955
|
+
const { node: n, dropType: r, boundBox: o } = t;
|
|
956
|
+
return Object.assign(Object.assign({}, e), { node: n, dropType: r, boundBox: o });
|
|
957
|
+
}
|
|
958
|
+
case Ze:
|
|
959
|
+
case st:
|
|
960
|
+
case Ue: return Object.assign({}, an);
|
|
961
|
+
default: return e;
|
|
962
|
+
} }, expanded: function (e = [], t) { switch (t.type) {
|
|
963
|
+
case rt: {
|
|
964
|
+
const { nodeId: n, isExpanded: r } = t;
|
|
965
|
+
if (r)
|
|
966
|
+
return [...e, n];
|
|
967
|
+
const o = [...e];
|
|
968
|
+
return o.splice(e.indexOf(n), 1), o;
|
|
969
|
+
}
|
|
970
|
+
default: return e;
|
|
971
|
+
} }, disabled: function (e = [], t) { switch (t.type) {
|
|
972
|
+
case ot: return [...t.ids];
|
|
973
|
+
default: return e;
|
|
974
|
+
} }, scrollToId: function (e = null, t) { switch (t.type) {
|
|
975
|
+
case tt: return null === t.nodeId ? null : { id: t.nodeId };
|
|
976
|
+
default: return e;
|
|
977
|
+
} } });
|
|
978
|
+
function ln(e, t, n) { var r = n.getRegistry(), o = r.addTarget(e, t); return [o, function () { return r.removeTarget(o); }]; }
|
|
979
|
+
function un(e, t, n) { var r = n.getRegistry(), o = r.addSource(e, t); return [o, function () { return r.removeSource(o); }]; }
|
|
980
|
+
function dn(e, t) { for (var n = 0; n < t.length; n++) {
|
|
981
|
+
var r = t[n];
|
|
982
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
983
|
+
} }
|
|
984
|
+
var hn = !1, fn = function () {
|
|
985
|
+
function e(t) {
|
|
986
|
+
!function (e, t) { if (!(e instanceof t))
|
|
987
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.targetId = null,
|
|
988
|
+
this.internalMonitor = t.getMonitor();
|
|
989
|
+
}
|
|
990
|
+
var t, n, r;
|
|
991
|
+
return t = e, (n = [{ key: "receiveHandlerId", value: function (e) { this.targetId = e; } }, { key: "getHandlerId", value: function () { return this.targetId; } }, { key: "subscribeToStateChange", value: function (e, t) { return this.internalMonitor.subscribeToStateChange(e, t); } }, { key: "canDrop", value: function () { if (!this.targetId)
|
|
992
|
+
return !1; Object(Oe.a)(!hn, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor"); try {
|
|
993
|
+
return hn = !0, this.internalMonitor.canDropOnTarget(this.targetId);
|
|
994
|
+
}
|
|
995
|
+
finally {
|
|
996
|
+
hn = !1;
|
|
997
|
+
} } }, { key: "isOver", value: function (e) { return !!this.targetId && this.internalMonitor.isOverTarget(this.targetId, e); } }, { key: "getItemType", value: function () { return this.internalMonitor.getItemType(); } }, { key: "getItem", value: function () { return this.internalMonitor.getItem(); } }, { key: "getDropResult", value: function () { return this.internalMonitor.getDropResult(); } }, { key: "didDrop", value: function () { return this.internalMonitor.didDrop(); } }, { key: "getInitialClientOffset", value: function () { return this.internalMonitor.getInitialClientOffset(); } }, { key: "getInitialSourceClientOffset", value: function () { return this.internalMonitor.getInitialSourceClientOffset(); } }, { key: "getSourceClientOffset", value: function () { return this.internalMonitor.getSourceClientOffset(); } }, { key: "getClientOffset", value: function () { return this.internalMonitor.getClientOffset(); } }, { key: "getDifferenceFromInitialOffset", value: function () { return this.internalMonitor.getDifferenceFromInitialOffset(); } }]) && dn(t.prototype, n), r && dn(t, r), e;
|
|
998
|
+
}();
|
|
999
|
+
function pn(e, t, n, r) { var o = n ? n.call(r, e, t) : void 0; if (void 0 !== o)
|
|
1000
|
+
return !!o; if (e === t)
|
|
1001
|
+
return !0; if ("object" != typeof e || !e || "object" != typeof t || !t)
|
|
1002
|
+
return !1; var i = Object.keys(e), s = Object.keys(t); if (i.length !== s.length)
|
|
1003
|
+
return !1; for (var a = Object.prototype.hasOwnProperty.bind(t), c = 0; c < i.length; c++) {
|
|
1004
|
+
var l = i[c];
|
|
1005
|
+
if (!a(l))
|
|
1006
|
+
return !1;
|
|
1007
|
+
var u = e[l], d = t[l];
|
|
1008
|
+
if (!1 === (o = n ? n.call(r, u, d, l) : void 0) || void 0 === o && u !== d)
|
|
1009
|
+
return !1;
|
|
1010
|
+
} return !0; }
|
|
1011
|
+
function gn(e) { if ("string" != typeof e.type) {
|
|
1012
|
+
var t = e.type.displayName || e.type.name || "the component";
|
|
1013
|
+
throw new Error("Only native element nodes can now be passed to React DnD connectors." + "You can either wrap ".concat(t, " into a <div>, or turn it into a ") + "drag source or a drop target itself.");
|
|
1014
|
+
} }
|
|
1015
|
+
function vn(e) { var t = {}; return Object.keys(e).forEach((function (n) { var r = e[n]; if (n.endsWith("Ref"))
|
|
1016
|
+
t[n] = e[n];
|
|
1017
|
+
else {
|
|
1018
|
+
var i = function (e) { return function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null; if (!Object(o.isValidElement)(t)) {
|
|
1019
|
+
var r = t;
|
|
1020
|
+
return e(r, n), r;
|
|
1021
|
+
} var i = t; gn(i); var s = n ? function (t) { return e(t, n); } : e; return mn(i, s); }; }(r);
|
|
1022
|
+
t[n] = function () { return i; };
|
|
1023
|
+
} })), t; }
|
|
1024
|
+
function bn(e, t) { "function" == typeof e ? e(t) : e.current = t; }
|
|
1025
|
+
function mn(e, t) {
|
|
1026
|
+
var n = e.ref;
|
|
1027
|
+
return Object(Oe.a)("string" != typeof n, "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), n ? Object(o.cloneElement)(e, { ref: function (e) { bn(n, e), bn(t, e); } }) : Object(o.cloneElement)(e, { ref: t });
|
|
1028
|
+
}
|
|
1029
|
+
function yn(e) { return (yn = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; })(e); }
|
|
1030
|
+
function On(e) { return null !== e && "object" === yn(e) && Object.prototype.hasOwnProperty.call(e, "current"); }
|
|
1031
|
+
function Sn(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1032
|
+
var r = t[n];
|
|
1033
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1034
|
+
} }
|
|
1035
|
+
var wn = function () { function e(t) { var n = this; !function (e, t) { if (!(e instanceof t))
|
|
1036
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.hooks = vn({ dropTarget: function (e, t) { n.clearDropTarget(), n.dropTargetOptions = t, On(e) ? n.dropTargetRef = e : n.dropTargetNode = e, n.reconnect(); } }), this.handlerId = null, this.dropTargetRef = null, this.dropTargetOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDropTarget = null, this.lastConnectedDropTargetOptions = null, this.backend = t; } var t, n, r; return t = e, (n = [{ key: "connectTarget", get: function () { return this.dropTarget; } }, { key: "reconnect", value: function () { var e = this.didHandlerIdChange() || this.didDropTargetChange() || this.didOptionsChange(); e && this.disconnectDropTarget(); var t = this.dropTarget; this.handlerId && (t ? e && (this.lastConnectedHandlerId = this.handlerId, this.lastConnectedDropTarget = t, this.lastConnectedDropTargetOptions = this.dropTargetOptions, this.unsubscribeDropTarget = this.backend.connectDropTarget(this.handlerId, t, this.dropTargetOptions)) : this.lastConnectedDropTarget = t); } }, { key: "receiveHandlerId", value: function (e) { e !== this.handlerId && (this.handlerId = e, this.reconnect()); } }, { key: "dropTargetOptions", get: function () { return this.dropTargetOptionsInternal; }, set: function (e) { this.dropTargetOptionsInternal = e; } }, { key: "didHandlerIdChange", value: function () { return this.lastConnectedHandlerId !== this.handlerId; } }, { key: "didDropTargetChange", value: function () { return this.lastConnectedDropTarget !== this.dropTarget; } }, { key: "didOptionsChange", value: function () { return !pn(this.lastConnectedDropTargetOptions, this.dropTargetOptions); } }, { key: "disconnectDropTarget", value: function () { this.unsubscribeDropTarget && (this.unsubscribeDropTarget(), this.unsubscribeDropTarget = void 0); } }, { key: "dropTarget", get: function () { return this.dropTargetNode || this.dropTargetRef && this.dropTargetRef.current; } }, { key: "clearDropTarget", value: function () { this.dropTargetRef = null, this.dropTargetNode = null; } }]) && Sn(t.prototype, n), r && Sn(t, r), e; }();
|
|
1037
|
+
function _n(e) { return (_n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; })(e); }
|
|
1038
|
+
function Cn(e) {
|
|
1039
|
+
var t = e.current;
|
|
1040
|
+
return null == t ? null : t.decoratedRef ? t.decoratedRef.current : t;
|
|
1041
|
+
}
|
|
1042
|
+
function Tn(e) { return (t = e) && t.prototype && "function" == typeof t.prototype.render || function (e) { var t, n = e; return "Symbol(react.forward_ref)" === (null == n || null === (t = n.$$typeof) || void 0 === t ? void 0 : t.toString()); }(e); var t; }
|
|
1043
|
+
function En(e) { return "function" == typeof e; }
|
|
1044
|
+
function Dn() { }
|
|
1045
|
+
function jn(e) { if (!function (e) { return "object" === _n(e) && null !== e; }(e))
|
|
1046
|
+
return !1; if (null === Object.getPrototypeOf(e))
|
|
1047
|
+
return !0; for (var t = e; null !== Object.getPrototypeOf(t);)
|
|
1048
|
+
t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t; }
|
|
1049
|
+
function In(e, t) { return "string" == typeof e || "symbol" === _n(e) || !!t && Array.isArray(e) && e.every((function (e) { return In(e, !1); })); }
|
|
1050
|
+
var kn = n("nKUr"), Mn = n("p/5y");
|
|
1051
|
+
function xn(e, t) { if (!(e instanceof t))
|
|
1052
|
+
throw new TypeError("Cannot call a class as a function"); }
|
|
1053
|
+
function Nn(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1054
|
+
var r = t[n];
|
|
1055
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1056
|
+
} }
|
|
1057
|
+
function Pn(e, t, n) { return t && Nn(e.prototype, t), n && Nn(e, n), e; }
|
|
1058
|
+
var An = function () { function e(t) { xn(this, e), this.isDisposed = !1, this.action = En(t) ? t : Dn; } return Pn(e, [{ key: "dispose", value: function () { this.isDisposed || (this.action(), this.isDisposed = !0); } }], [{ key: "isDisposable", value: function (e) { return Boolean(e && En(e.dispose)); } }, { key: "_fixup", value: function (t) { return e.isDisposable(t) ? t : e.empty; } }, { key: "create", value: function (t) { return new e(t); } }]), e; }();
|
|
1059
|
+
An.empty = { dispose: Dn };
|
|
1060
|
+
var Ln = function () { function e() { xn(this, e), this.isDisposed = !1; for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
1061
|
+
n[r] = arguments[r]; this.disposables = n; } return Pn(e, [{ key: "add", value: function (e) { this.isDisposed ? e.dispose() : this.disposables.push(e); } }, { key: "remove", value: function (e) { var t = !1; if (!this.isDisposed) {
|
|
1062
|
+
var n = this.disposables.indexOf(e);
|
|
1063
|
+
-1 !== n && (t = !0, this.disposables.splice(n, 1), e.dispose());
|
|
1064
|
+
} return t; } }, { key: "clear", value: function () { if (!this.isDisposed) {
|
|
1065
|
+
for (var e = this.disposables.length, t = new Array(e), n = 0; n < e; n++)
|
|
1066
|
+
t[n] = this.disposables[n];
|
|
1067
|
+
this.disposables = [];
|
|
1068
|
+
for (var r = 0; r < e; r++)
|
|
1069
|
+
t[r].dispose();
|
|
1070
|
+
} } }, { key: "dispose", value: function () { if (!this.isDisposed) {
|
|
1071
|
+
this.isDisposed = !0;
|
|
1072
|
+
for (var e = this.disposables.length, t = new Array(e), n = 0; n < e; n++)
|
|
1073
|
+
t[n] = this.disposables[n];
|
|
1074
|
+
this.disposables = [];
|
|
1075
|
+
for (var r = 0; r < e; r++)
|
|
1076
|
+
t[r].dispose();
|
|
1077
|
+
} } }]), e; }(), Rn = function () { function e() { xn(this, e), this.isDisposed = !1; } return Pn(e, [{ key: "getDisposable", value: function () { return this.current; } }, { key: "setDisposable", value: function (e) { var t = this.isDisposed; if (!t) {
|
|
1078
|
+
var n = this.current;
|
|
1079
|
+
this.current = e, n && n.dispose();
|
|
1080
|
+
} t && e && e.dispose(); } }, { key: "dispose", value: function () { if (!this.isDisposed) {
|
|
1081
|
+
this.isDisposed = !0;
|
|
1082
|
+
var e = this.current;
|
|
1083
|
+
this.current = void 0, e && e.dispose();
|
|
1084
|
+
} } }]), e; }(), Bn = n("2mql"), Fn = n.n(Bn);
|
|
1085
|
+
function Hn(e) { return (Hn = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; })(e); }
|
|
1086
|
+
function zn(e, t) {
|
|
1087
|
+
return function (e) { if (Array.isArray(e))
|
|
1088
|
+
return e; }(e) || function (e, t) {
|
|
1089
|
+
if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e)))
|
|
1090
|
+
return;
|
|
1091
|
+
var n = [], r = !0, o = !1, i = void 0;
|
|
1092
|
+
try {
|
|
1093
|
+
for (var s, a = e[Symbol.iterator](); !(r = (s = a.next()).done) && (n.push(s.value), !t || n.length !== t); r = !0)
|
|
1094
|
+
;
|
|
1095
|
+
}
|
|
1096
|
+
catch (e) {
|
|
1097
|
+
o = !0, i = e;
|
|
1098
|
+
}
|
|
1099
|
+
finally {
|
|
1100
|
+
try {
|
|
1101
|
+
r || null == a.return || a.return();
|
|
1102
|
+
}
|
|
1103
|
+
finally {
|
|
1104
|
+
if (o)
|
|
1105
|
+
throw i;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
return n;
|
|
1109
|
+
}(e, t) || function (e, t) { if (!e)
|
|
1110
|
+
return; if ("string" == typeof e)
|
|
1111
|
+
return Un(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); "Object" === n && e.constructor && (n = e.constructor.name); if ("Map" === n || "Set" === n)
|
|
1112
|
+
return Array.from(e); if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
1113
|
+
return Un(e, t); }(e, t) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }();
|
|
1114
|
+
}
|
|
1115
|
+
function Un(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++)
|
|
1116
|
+
r[n] = e[n]; return r; }
|
|
1117
|
+
function Gn(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1118
|
+
var r = t[n];
|
|
1119
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1120
|
+
} }
|
|
1121
|
+
function Vn(e, t) { return (Vn = Object.setPrototypeOf || function (e, t) { return e.__proto__ = t, e; })(e, t); }
|
|
1122
|
+
function Kn(e) { var t = function () { if ("undefined" == typeof Reflect || !Reflect.construct)
|
|
1123
|
+
return !1; if (Reflect.construct.sham)
|
|
1124
|
+
return !1; if ("function" == typeof Proxy)
|
|
1125
|
+
return !0; try {
|
|
1126
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function () { }))), !0;
|
|
1127
|
+
}
|
|
1128
|
+
catch (e) {
|
|
1129
|
+
return !1;
|
|
1130
|
+
} }(); return function () { var n, r = qn(e); if (t) {
|
|
1131
|
+
var o = qn(this).constructor;
|
|
1132
|
+
n = Reflect.construct(r, arguments, o);
|
|
1133
|
+
}
|
|
1134
|
+
else
|
|
1135
|
+
n = r.apply(this, arguments); return Wn(this, n); }; }
|
|
1136
|
+
function Wn(e, t) { return !t || "object" !== Hn(t) && "function" != typeof t ? function (e) { if (void 0 === e)
|
|
1137
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }(e) : t; }
|
|
1138
|
+
function qn(e) { return (qn = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) { return e.__proto__ || Object.getPrototypeOf(e); })(e); }
|
|
1139
|
+
function Yn(e) {
|
|
1140
|
+
var t = e.DecoratedComponent, n = e.createHandler, r = e.createMonitor, i = e.createConnector, s = e.registerHandler, a = e.containerDisplayName, c = e.getType, l = e.collect, u = e.options.arePropsEqual, d = void 0 === u ? pn : u, h = t, f = t.displayName || t.name || "Component", p = function (e) {
|
|
1141
|
+
!function (e, t) { if ("function" != typeof t && null !== t)
|
|
1142
|
+
throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && Vn(e, t); }(g, e);
|
|
1143
|
+
var t, a, u, p = Kn(g);
|
|
1144
|
+
function g(e) { var t; return function (e, t) { if (!(e instanceof t))
|
|
1145
|
+
throw new TypeError("Cannot call a class as a function"); }(this, g), (t = p.call(this, e)).decoratedRef = Object(o.createRef)(), t.handleChange = function () { var e = t.getCurrentState(); pn(e, t.state) || t.setState(e); }, t.disposable = new Rn, t.receiveProps(e), t.dispose(), t; }
|
|
1146
|
+
return t = g, (a = [{ key: "getHandlerId", value: function () { return this.handlerId; } }, { key: "getDecoratedComponentInstance", value: function () { return Object(Oe.a)(this.decoratedRef.current, "In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"), this.decoratedRef.current; } }, {
|
|
1147
|
+
key: "shouldComponentUpdate", value: function (e, t) { return !d(e, this.props) || !pn(t, this.state); }
|
|
1148
|
+
}, { key: "componentDidMount", value: function () { this.disposable = new Rn, this.currentType = void 0, this.receiveProps(this.props), this.handleChange(); } }, { key: "componentDidUpdate", value: function (e) { d(this.props, e) || (this.receiveProps(this.props), this.handleChange()); } }, { key: "componentWillUnmount", value: function () { this.dispose(); } }, { key: "receiveProps", value: function (e) { this.handler && (this.handler.receiveProps(e), this.receiveType(c(e))); } }, { key: "receiveType", value: function (e) { if (this.handlerMonitor && this.manager && this.handlerConnector && e !== this.currentType) {
|
|
1149
|
+
this.currentType = e;
|
|
1150
|
+
var t = zn(s(e, this.handler, this.manager), 2), n = t[0], r = t[1];
|
|
1151
|
+
this.handlerId = n, this.handlerMonitor.receiveHandlerId(n), this.handlerConnector.receiveHandlerId(n);
|
|
1152
|
+
var o = this.manager.getMonitor().subscribeToStateChange(this.handleChange, { handlerIds: [n] });
|
|
1153
|
+
this.disposable.setDisposable(new Ln(new An(o), new An(r)));
|
|
1154
|
+
} } }, { key: "dispose", value: function () { this.disposable.dispose(), this.handlerConnector && this.handlerConnector.receiveHandlerId(null); } }, { key: "getCurrentState", value: function () { return this.handlerConnector ? l(this.handlerConnector.hooks, this.handlerMonitor, this.props) : {}; } }, { key: "render", value: function () { var e = this; return Object(kn.jsx)(Mn.a.Consumer, { children: function (t) { var n = t.dragDropManager; return e.receiveDragDropManager(n), "undefined" != typeof requestAnimationFrame && requestAnimationFrame((function () { var t; return null === (t = e.handlerConnector) || void 0 === t ? void 0 : t.reconnect(); })), Object(kn.jsx)(h, Object.assign({}, e.props, e.getCurrentState(), { ref: Tn(h) ? e.decoratedRef : null }), void 0); } }, void 0); } }, { key: "receiveDragDropManager", value: function (e) { void 0 === this.manager && (Object(Oe.a)(void 0 !== e, "Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context", f, f), void 0 !== e && (this.manager = e, this.handlerMonitor = r(e), this.handlerConnector = i(e.getBackend()), this.handler = n(this.handlerMonitor, this.decoratedRef))); } }]) && Gn(t.prototype, a), u && Gn(t, u), g;
|
|
1155
|
+
}(o.Component);
|
|
1156
|
+
return p.DecoratedComponent = t, p.displayName = "".concat(a, "(").concat(f, ")"), Fn()(p, t);
|
|
1157
|
+
}
|
|
1158
|
+
function Xn(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1159
|
+
var r = t[n];
|
|
1160
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1161
|
+
} }
|
|
1162
|
+
var Jn = ["canDrop", "hover", "drop"], Zn = function () {
|
|
1163
|
+
function e(t, n, r) { !function (e, t) { if (!(e instanceof t))
|
|
1164
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.props = null, this.spec = t, this.monitor = n, this.ref = r; }
|
|
1165
|
+
var t, n, r;
|
|
1166
|
+
return t = e, (n = [{ key: "receiveProps", value: function (e) { this.props = e; } }, { key: "receiveMonitor", value: function (e) { this.monitor = e; } }, { key: "canDrop", value: function () { return !this.spec.canDrop || this.spec.canDrop(this.props, this.monitor); } }, { key: "hover", value: function () { this.spec.hover && this.props && this.spec.hover(this.props, this.monitor, Cn(this.ref)); } }, { key: "drop",
|
|
1167
|
+
value: function () { if (this.spec.drop)
|
|
1168
|
+
return this.spec.drop(this.props, this.monitor, this.ref.current); } }]) && Xn(t.prototype, n), r && Xn(t, r), e;
|
|
1169
|
+
}();
|
|
1170
|
+
function Qn(e) { return Object.keys(e).forEach((function (t) { Object(Oe.a)(Jn.indexOf(t) > -1, 'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target', Jn.join(", "), t), Object(Oe.a)("function" == typeof e[t], "Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target", t, t, e[t]); })), function (t, n) { return new Zn(e, t, n); }; }
|
|
1171
|
+
function $n(e, t, n) { var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, o = e; "function" != typeof e && (Object(Oe.a)(In(e, !0), 'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target', e), o = function () { return e; }), Object(Oe.a)(jn(t), 'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target', t); var i = Qn(t); return Object(Oe.a)("function" == typeof n, 'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target', n), Object(Oe.a)(jn(r), 'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target', n), function (e) { return Yn({ containerDisplayName: "DropTarget", createHandler: i, registerHandler: ln, createMonitor: function (e) { return new fn(e); }, createConnector: function (e) { return new wn(e); }, DecoratedComponent: e, getType: o, collect: n, options: r }); }; }
|
|
1172
|
+
var er = n("iR1w"), tr = n("qFKp");
|
|
1173
|
+
function nr(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1174
|
+
var r = t[n];
|
|
1175
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1176
|
+
} }
|
|
1177
|
+
var rr = function () {
|
|
1178
|
+
function e(t) { var n = this; !function (e, t) { if (!(e instanceof t))
|
|
1179
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.hooks = vn({ dragSource: function (e, t) { n.clearDragSource(), n.dragSourceOptions = t || null, On(e) ? n.dragSourceRef = e : n.dragSourceNode = e, n.reconnectDragSource(); }, dragPreview: function (e, t) { n.clearDragPreview(), n.dragPreviewOptions = t || null, On(e) ? n.dragPreviewRef = e : n.dragPreviewNode = e, n.reconnectDragPreview(); } }), this.handlerId = null, this.dragSourceRef = null, this.dragSourceOptionsInternal = null, this.dragPreviewRef = null, this.dragPreviewOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDragSource = null, this.lastConnectedDragSourceOptions = null, this.lastConnectedDragPreview = null, this.lastConnectedDragPreviewOptions = null, this.backend = t; }
|
|
1180
|
+
var t, n, r;
|
|
1181
|
+
return t = e, (n = [{ key: "receiveHandlerId", value: function (e) { this.handlerId !== e && (this.handlerId = e, this.reconnect()); } }, { key: "connectTarget", get: function () { return this.dragSource; } }, { key: "dragSourceOptions", get: function () { return this.dragSourceOptionsInternal; }, set: function (e) { this.dragSourceOptionsInternal = e; } }, { key: "dragPreviewOptions", get: function () { return this.dragPreviewOptionsInternal; }, set: function (e) { this.dragPreviewOptionsInternal = e; } }, { key: "reconnect", value: function () { this.reconnectDragSource(), this.reconnectDragPreview(); } }, { key: "reconnectDragSource", value: function () { var e = this.dragSource, t = this.didHandlerIdChange() || this.didConnectedDragSourceChange() || this.didDragSourceOptionsChange(); t && this.disconnectDragSource(), this.handlerId && (e ? t && (this.lastConnectedHandlerId = this.handlerId, this.lastConnectedDragSource = e, this.lastConnectedDragSourceOptions = this.dragSourceOptions, this.dragSourceUnsubscribe = this.backend.connectDragSource(this.handlerId, e, this.dragSourceOptions)) : this.lastConnectedDragSource = e); } }, { key: "reconnectDragPreview", value: function () { var e = this.dragPreview, t = this.didHandlerIdChange() || this.didConnectedDragPreviewChange() || this.didDragPreviewOptionsChange(); t && this.disconnectDragPreview(), this.handlerId && (e ? t && (this.lastConnectedHandlerId = this.handlerId, this.lastConnectedDragPreview = e, this.lastConnectedDragPreviewOptions = this.dragPreviewOptions, this.dragPreviewUnsubscribe = this.backend.connectDragPreview(this.handlerId, e, this.dragPreviewOptions)) : this.lastConnectedDragPreview = e); } }, { key: "didHandlerIdChange", value: function () { return this.lastConnectedHandlerId !== this.handlerId; } }, { key: "didConnectedDragSourceChange", value: function () { return this.lastConnectedDragSource !== this.dragSource; } }, { key: "didConnectedDragPreviewChange", value: function () { return this.lastConnectedDragPreview !== this.dragPreview; } }, { key: "didDragSourceOptionsChange", value: function () { return !pn(this.lastConnectedDragSourceOptions, this.dragSourceOptions); } }, { key: "didDragPreviewOptionsChange", value: function () { return !pn(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions); } }, { key: "disconnectDragSource", value: function () { this.dragSourceUnsubscribe && (this.dragSourceUnsubscribe(), this.dragSourceUnsubscribe = void 0); } }, { key: "disconnectDragPreview", value: function () { this.dragPreviewUnsubscribe && (this.dragPreviewUnsubscribe(), this.dragPreviewUnsubscribe = void 0, this.dragPreviewNode = null, this.dragPreviewRef = null); } }, { key: "dragSource", get: function () { return this.dragSourceNode || this.dragSourceRef && this.dragSourceRef.current; } }, { key: "dragPreview", get: function () { return this.dragPreviewNode || this.dragPreviewRef && this.dragPreviewRef.current; } }, { key: "clearDragSource", value: function () { this.dragSourceNode = null, this.dragSourceRef = null; } }, { key: "clearDragPreview", value: function () { this.dragPreviewNode = null, this.dragPreviewRef = null; } }]) && nr(t.prototype, n), r && nr(t, r), e;
|
|
1182
|
+
}();
|
|
1183
|
+
function or(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1184
|
+
var r = t[n];
|
|
1185
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1186
|
+
} }
|
|
1187
|
+
var ir = !1, sr = !1, ar = function () {
|
|
1188
|
+
function e(t) { !function (e, t) { if (!(e instanceof t))
|
|
1189
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.sourceId = null, this.internalMonitor = t.getMonitor(); }
|
|
1190
|
+
var t, n, r;
|
|
1191
|
+
return t = e, (n = [{ key: "receiveHandlerId", value: function (e) { this.sourceId = e; } }, { key: "getHandlerId", value: function () { return this.sourceId; } }, { key: "canDrag", value: function () { Object(Oe.a)(!ir, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor"); try {
|
|
1192
|
+
return ir = !0, this.internalMonitor.canDragSource(this.sourceId);
|
|
1193
|
+
}
|
|
1194
|
+
finally {
|
|
1195
|
+
ir = !1;
|
|
1196
|
+
} } }, { key: "isDragging", value: function () { if (!this.sourceId)
|
|
1197
|
+
return !1; Object(Oe.a)(!sr, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor"); try {
|
|
1198
|
+
return sr = !0, this.internalMonitor.isDraggingSource(this.sourceId);
|
|
1199
|
+
}
|
|
1200
|
+
finally {
|
|
1201
|
+
sr = !1;
|
|
1202
|
+
} } }, { key: "subscribeToStateChange", value: function (e, t) { return this.internalMonitor.subscribeToStateChange(e, t); } }, { key: "isDraggingSource", value: function (e) { return this.internalMonitor.isDraggingSource(e); } }, { key: "isOverTarget", value: function (e, t) { return this.internalMonitor.isOverTarget(e, t); } }, { key: "getTargetIds", value: function () { return this.internalMonitor.getTargetIds(); } }, { key: "isSourcePublic", value: function () { return this.internalMonitor.isSourcePublic(); } }, { key: "getSourceId", value: function () { return this.internalMonitor.getSourceId(); } }, { key: "subscribeToOffsetChange", value: function (e) { return this.internalMonitor.subscribeToOffsetChange(e); } }, { key: "canDragSource", value: function (e) { return this.internalMonitor.canDragSource(e); } }, { key: "canDropOnTarget", value: function (e) { return this.internalMonitor.canDropOnTarget(e); } }, { key: "getItemType", value: function () { return this.internalMonitor.getItemType(); } }, { key: "getItem", value: function () { return this.internalMonitor.getItem(); } }, { key: "getDropResult", value: function () { return this.internalMonitor.getDropResult(); } }, { key: "didDrop", value: function () { return this.internalMonitor.didDrop(); } }, { key: "getInitialClientOffset", value: function () { return this.internalMonitor.getInitialClientOffset(); } }, { key: "getInitialSourceClientOffset", value: function () { return this.internalMonitor.getInitialSourceClientOffset(); } }, { key: "getSourceClientOffset", value: function () { return this.internalMonitor.getSourceClientOffset(); } }, { key: "getClientOffset", value: function () { return this.internalMonitor.getClientOffset(); } }, { key: "getDifferenceFromInitialOffset", value: function () { return this.internalMonitor.getDifferenceFromInitialOffset(); } }]) && or(t.prototype, n), r && or(t, r), e;
|
|
1203
|
+
}();
|
|
1204
|
+
function cr(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1205
|
+
var r = t[n];
|
|
1206
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1207
|
+
} }
|
|
1208
|
+
var lr, ur = ["canDrag", "beginDrag", "isDragging", "endDrag"], dr = ["beginDrag"], hr = function () {
|
|
1209
|
+
function e(t, n, r) {
|
|
1210
|
+
var o = this;
|
|
1211
|
+
!function (e, t) { if (!(e instanceof t))
|
|
1212
|
+
throw new TypeError("Cannot call a class as a function"); }(this, e), this.props = null, this.beginDrag = function () {
|
|
1213
|
+
if (o.props)
|
|
1214
|
+
return o.spec.beginDrag(o.props, o.monitor, o.ref.current);
|
|
1215
|
+
}, this.spec = t, this.monitor = n, this.ref = r;
|
|
1216
|
+
}
|
|
1217
|
+
var t, n, r;
|
|
1218
|
+
return t = e, (n = [{ key: "receiveProps", value: function (e) { this.props = e; } }, { key: "canDrag", value: function () { return !!this.props && (!this.spec.canDrag || this.spec.canDrag(this.props, this.monitor)); } }, { key: "isDragging", value: function (e, t) { return !!this.props && (this.spec.isDragging ? this.spec.isDragging(this.props, this.monitor) : t === e.getSourceId()); } }, { key: "endDrag", value: function () { this.props && this.spec.endDrag && this.spec.endDrag(this.props, this.monitor, Cn(this.ref)); } }]) && cr(t.prototype, n), r && cr(t, r), e;
|
|
1219
|
+
}();
|
|
1220
|
+
function fr(e) { return Object.keys(e).forEach((function (t) { Object(Oe.a)(ur.indexOf(t) > -1, 'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source', ur.join(", "), t), Object(Oe.a)("function" == typeof e[t], "Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source", t, t, e[t]); })), dr.forEach((function (t) { Object(Oe.a)("function" == typeof e[t], "Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source", t, t, e[t]); })), function (t, n) { return new hr(e, t, n); }; }
|
|
1221
|
+
var pr = n("/3z9"), gr = n("3F0O"), vr = n("8d0Q");
|
|
1222
|
+
const br = o.createContext({ size: 0, smallSizeTreeNodeAction: 1 }), mr = { [pr.Modifiers.Mod]: 1, [pr.Modifiers.Shift]: 2 };
|
|
1223
|
+
var yr = n("+5L9"), Or = n("co4r");
|
|
1224
|
+
const Sr = () => { };
|
|
1225
|
+
class wr extends i.a.PureComponent {
|
|
1226
|
+
constructor() { super(...arguments), this._ref = null, this._handleRef = e => { this._ref = e; const { connectDragSource: t, connectDropTarget: n, connectDragPreview: r } = this.props; Object(D.ensureDefined)(n)(this._ref), Object(D.ensureDefined)(t)(this._ref), Object(D.ensureDefined)(r)((lr || ((lr = new Image).src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="), lr), { captureDraggingState: !0 }); }, this._handleTouchStart = e => { const t = (e, t) => { const n = function (e, t) { try {
|
|
1227
|
+
const n = document.createEvent("TouchEvent");
|
|
1228
|
+
return n.initTouchEvent(e, !0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, t.touches, t.targetTouches, t.changedTouches), n;
|
|
1229
|
+
}
|
|
1230
|
+
catch (e) {
|
|
1231
|
+
return null;
|
|
1232
|
+
} }(e, t); if (n)
|
|
1233
|
+
return n; const r = Array.from(t.changedTouches), o = Array.from(t.touches), i = Array.from(t.targetTouches); return new TouchEvent(e, { bubbles: !0, changedTouches: r, touches: o, targetTouches: i }); }, n = e.target; if (n instanceof Element) {
|
|
1234
|
+
const e = e => { const r = e; if (!n.isConnected) {
|
|
1235
|
+
r.preventDefault();
|
|
1236
|
+
const e = t("touchmove", r);
|
|
1237
|
+
document.body.dispatchEvent(e);
|
|
1238
|
+
} }, r = o => { const i = o; if (!n.isConnected) {
|
|
1239
|
+
i.preventDefault();
|
|
1240
|
+
const e = t("touchend", i);
|
|
1241
|
+
document.body.dispatchEvent(e);
|
|
1242
|
+
} n.removeEventListener("touchend", r), n.removeEventListener("touchmove", e); };
|
|
1243
|
+
n.addEventListener("touchend", r), n.addEventListener("touchmove", e);
|
|
1244
|
+
} }; }
|
|
1245
|
+
componentDidMount() {
|
|
1246
|
+
var e;
|
|
1247
|
+
null === (e = this._ref) || void 0 === e || e.addEventListener("touchstart", this._handleTouchStart);
|
|
1248
|
+
}
|
|
1249
|
+
componentWillUnmount() { var e; null === (e = this._ref) || void 0 === e || e.removeEventListener("touchstart", this._handleTouchStart); }
|
|
1250
|
+
render() { return i.a.createElement(_r, Object.assign(Object.assign({}, this.props), { reference: this._handleRef })); }
|
|
1251
|
+
getNode() { return Object(D.ensureNotNull)(this._ref); }
|
|
1252
|
+
}
|
|
1253
|
+
const _r = e => { const { id: t, isSelected: n, isOffset: r, isExpandable: s, setIsSelected: a, isDisabled: c, isExpanded: l, onClick: u, parentId: d, setIsExpanded: h, reference: f, isFirstListItem: p, isLastListItem: g, nodeRenderer: v, isChildOfSelected: b = !1 } = e, { size: m, smallSizeTreeNodeAction: y } = Object(o.useContext)(br), O = Object(o.useRef)(null), S = Object(gr.a)(e => O.current = e, f); let [w, _] = Object(vr.c)(); return tr.CheckMobile.any() && (w = n, _ = { onMouseOut: Sr, onMouseOver: Sr }), i.a.createElement("div", Object.assign({ className: j(Or.wrap, n && Or.selected, b && Or.childOfSelected, c && Or.disabled, s && Or.expandable), onClick: 1 === m && 0 === y ? C : function (e) { if (e.defaultPrevented)
|
|
1254
|
+
return; const r = mr[Object(pr.modifiersFromEvent)(e)] || 0; !c && a && a(t, !n, r); u && 0 === r && u(e, t); }, onContextMenu: C, ref: S }, _), s && i.a.createElement(k.a, { icon: yr, className: j(Or.expandHandle, l && Or.expanded), onClick: function (e) { e.preventDefault(), s && h(t, !l); }, onMouseDown: function (e) { e.preventDefault(); } }), v({ id: t, isOffset: r, parentId: d, isDisabled: c, isSelected: n, isChildOfSelected: b, isHovered: w, isExpanded: l, isFirstListItem: p, isLastListItem: g })); function C() { c || n || !a || a(t, !0); } }, Cr = i.a.createContext({});
|
|
1255
|
+
function Tr(e, t) { const { id: n } = t, r = kt(e, n), o = Mt(e, n); let i = !1, s = r.parentId; for (; s && !i;)
|
|
1256
|
+
i = Mt(e, s), s = kt(e, s).parentId; return Object.assign(Object.assign({}, r), { isSelected: o, isChildOfSelected: i, isExpanded: r.children.length > 0 && xt(e, n), isExpandable: r.children.length > 0, isDisabled: Nt(e, n) }); }
|
|
1257
|
+
function Er(e) { return Object(nn.b)({ setIsExpanded: Ot, processDropTarget: dt, dropSelection: ht, selectNext: ct, selectPrevious: at, setIsSelected: yt, endDrag: wt }, e); }
|
|
1258
|
+
const Dr = function (e, t, n) {
|
|
1259
|
+
var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, o = e;
|
|
1260
|
+
"function" != typeof e && (Object(Oe.a)(In(e), 'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source', e), o = function () { return e; }), Object(Oe.a)(jn(t), 'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source', t);
|
|
1261
|
+
var i = fr(t);
|
|
1262
|
+
return Object(Oe.a)("function" == typeof n, 'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source', n), Object(Oe.a)(jn(r), 'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source', n), function (e) {
|
|
1263
|
+
return Yn({ containerDisplayName: "DragSource", createHandler: i, registerHandler: un, createConnector: function (e) {
|
|
1264
|
+
return new rr(e);
|
|
1265
|
+
}, createMonitor: function (e) { return new ar(e); }, DecoratedComponent: e, getType: o, collect: n, options: r });
|
|
1266
|
+
};
|
|
1267
|
+
}("node", { beginDrag: e => { const { id: t, isDisabled: n, isSelected: r } = e; return n || r || e.setIsSelected(t, !0), e; }, endDrag: e => e.endDrag() }, e => ({ connectDragSource: e.dragSource(), connectDragPreview: e.dragPreview() })), jr = $n("node", { hover: (e, t, n) => { if (!n)
|
|
1268
|
+
return; const r = n.getNode(), o = r.getBoundingClientRect(), i = o.bottom - o.top, s = t.getClientOffset(); if (s) {
|
|
1269
|
+
const t = s.y - o.top;
|
|
1270
|
+
let n, a;
|
|
1271
|
+
if (n = 0 === e.children.length ? t < i / 2 ? "before" : "after" : t < i / 3 ? "before" : e.isExpanded || t >= i / 3 && t < 2 * i / 3 ? "inside" : "after", void 0 !== e.getContainerElement) {
|
|
1272
|
+
const t = e.getContainerElement().getBoundingClientRect();
|
|
1273
|
+
a = { top: o.top - t.top, left: o.left - t.left, bottom: o.top - t.top + o.height, right: o.left - t.left + o.width, height: o.height, width: o.width };
|
|
1274
|
+
}
|
|
1275
|
+
else
|
|
1276
|
+
a = { top: r.offsetTop, left: r.offsetLeft, bottom: r.offsetTop + r.offsetHeight, right: r.offsetLeft + r.offsetWidth, height: r.offsetHeight, width: r.offsetWidth };
|
|
1277
|
+
e.processDropTarget(e, n, s.x - o.left < 48, a, e.isLastChild);
|
|
1278
|
+
} } }, e => ({ connectDropTarget: e.dropTarget() })), Ir = Object(G.b)(Tr, Er, null, { context: Cr })(Dr(jr(wr))), kr = Object(G.b)(Tr, Er, null, { context: Cr })(_r);
|
|
1279
|
+
var Mr = n("d700");
|
|
1280
|
+
function xr(e) { return (xr = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; })(e); }
|
|
1281
|
+
function Nr(e, t) { if (!(e instanceof t))
|
|
1282
|
+
throw new TypeError("Cannot call a class as a function"); }
|
|
1283
|
+
function Pr(e, t) { for (var n = 0; n < t.length; n++) {
|
|
1284
|
+
var r = t[n];
|
|
1285
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
1286
|
+
} }
|
|
1287
|
+
function Ar(e, t, n) { return t && Pr(e.prototype, t), n && Pr(e, n), e; }
|
|
1288
|
+
function Lr(e, t) { if ("function" != typeof t && null !== t)
|
|
1289
|
+
throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && Rr(e, t); }
|
|
1290
|
+
function Rr(e, t) { return (Rr = Object.setPrototypeOf || function (e, t) { return e.__proto__ = t, e; })(e, t); }
|
|
1291
|
+
function Br(e) { var t = function () { if ("undefined" == typeof Reflect || !Reflect.construct)
|
|
1292
|
+
return !1; if (Reflect.construct.sham)
|
|
1293
|
+
return !1; if ("function" == typeof Proxy)
|
|
1294
|
+
return !0; try {
|
|
1295
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function () { }))), !0;
|
|
1296
|
+
}
|
|
1297
|
+
catch (e) {
|
|
1298
|
+
return !1;
|
|
1299
|
+
} }(); return function () { var n, r = Hr(e); if (t) {
|
|
1300
|
+
var o = Hr(this).constructor;
|
|
1301
|
+
n = Reflect.construct(r, arguments, o);
|
|
1302
|
+
}
|
|
1303
|
+
else
|
|
1304
|
+
n = r.apply(this, arguments); return Fr(this, n); }; }
|
|
1305
|
+
function Fr(e, t) { return !t || "object" !== xr(t) && "function" != typeof t ? function (e) { if (void 0 === e)
|
|
1306
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }(e) : t; }
|
|
1307
|
+
function Hr(e) { return (Hr = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) { return e.__proto__ || Object.getPrototypeOf(e); })(e); }
|
|
1308
|
+
function zr(e) {
|
|
1309
|
+
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
1310
|
+
return Object(Oe.a)("function" == typeof e, 'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ', "Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer", e), Object(Oe.a)(jn(t), 'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer', t), function (n) { var r = n, i = t.arePropsEqual, s = void 0 === i ? pn : i, a = r.displayName || r.name || "Component", c = function (t) { Lr(i, t); var n = Br(i); function i() { var e; return Nr(this, i), (e = n.apply(this, arguments)).isCurrentlyMounted = !1, e.ref = Object(o.createRef)(), e.handleChange = function () { if (e.isCurrentlyMounted) {
|
|
1311
|
+
var t = e.getCurrentState();
|
|
1312
|
+
pn(t, e.state) || e.setState(t);
|
|
1313
|
+
} }, e; } return Ar(i, [{ key: "getDecoratedComponentInstance", value: function () { return Object(Oe.a)(this.ref.current, "In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"), this.ref.current; } }, { key: "shouldComponentUpdate", value: function (e, t) { return !s(e, this.props) || !pn(t, this.state); } }, { key: "componentDidMount", value: function () { this.isCurrentlyMounted = !0, this.handleChange(); } }, { key: "componentWillUnmount", value: function () { this.isCurrentlyMounted = !1, this.unsubscribeFromOffsetChange && (this.unsubscribeFromOffsetChange(), this.unsubscribeFromOffsetChange = void 0), this.unsubscribeFromStateChange && (this.unsubscribeFromStateChange(), this.unsubscribeFromStateChange = void 0); } }, { key: "render", value: function () { var e = this; return Object(kn.jsx)(Mn.a.Consumer, { children: function (t) { var n = t.dragDropManager; return void 0 === n ? null : (e.receiveDragDropManager(n), e.isCurrentlyMounted ? Object(kn.jsx)(r, Object.assign({}, e.props, e.state, { ref: Tn(r) ? e.ref : null }), void 0) : null); } }, void 0); } }, { key: "receiveDragDropManager", value: function (e) { if (void 0 === this.manager) {
|
|
1314
|
+
this.manager = e, Object(Oe.a)("object" === xr(e), "Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context", a, a);
|
|
1315
|
+
var t = this.manager.getMonitor();
|
|
1316
|
+
this.unsubscribeFromOffsetChange = t.subscribeToOffsetChange(this.handleChange), this.unsubscribeFromStateChange = t.subscribeToStateChange(this.handleChange);
|
|
1317
|
+
} } }, { key: "getCurrentState", value: function () { if (!this.manager)
|
|
1318
|
+
return {}; var t = this.manager.getMonitor(); return e(t, this.props); } }]), i; }(o.Component); return c.displayName = "DragLayer(".concat(a, ")"), c.DecoratedComponent = n, Fn()(c, n); };
|
|
1319
|
+
}
|
|
1320
|
+
var Ur = n("AiMB");
|
|
1321
|
+
function Gr(e) { const t = e(), n = Object(o.useRef)(t); n.current = t; const [r, i] = Object(o.useState)(n.current), s = Object(o.useRef)(null); return Object(o.useEffect)(() => { null === s.current && (s.current = requestAnimationFrame(() => { s.current = null, i(n.current); })); }), Object(o.useEffect)(() => () => { s.current && cancelAnimationFrame(s.current); }, []), r; }
|
|
1322
|
+
function Vr(e) {
|
|
1323
|
+
const { dropTargetOffset: t, mousePosition: n } = e;
|
|
1324
|
+
if (!t)
|
|
1325
|
+
return { display: "none" };
|
|
1326
|
+
const { x: r, y: o } = t, i = n && t ? n.y - t.y : 0, s = `translate(${r + (n && t ? n.x - t.x : 0)}px, ${o + i}px)`;
|
|
1327
|
+
return { transform: s, WebkitTransform: s };
|
|
1328
|
+
}
|
|
1329
|
+
const Kr = { top: 0, left: 0, position: "fixed", pointerEvents: "none", zIndex: 100, opacity: .5, width: 300, backgroundColor: "red" };
|
|
1330
|
+
const Wr = zr((function (e) { return { isDragging: e.isDragging() && "node" === e.getItemType(), mousePosition: e.getClientOffset(), dropTargetOffset: e.getSourceClientOffset() }; }))(Object(G.b)((function (e) { return { items: Gt(e) }; }), null, null, { context: Cr })((function (e) { const { items: t, isDragging: n, nodeRenderer: r, dragPreviewRenderer: o } = e; return Gr((function () { return n ? i.a.createElement(Ur.a, null, i.a.createElement("div", { style: Object.assign(Object.assign({}, Kr), Vr(e)) }, t.map(e => { if (o) {
|
|
1331
|
+
const t = o;
|
|
1332
|
+
return i.a.createElement(t, Object.assign({ key: e.id }, e));
|
|
1333
|
+
} return i.a.createElement(kr, { id: e.id, key: e.id, nodeRenderer: r, isDragPreview: !0, isOffset: e.level > 1 }); }))) : null; })); })));
|
|
1334
|
+
var qr = n("0lNN"), Yr = n("n9z6");
|
|
1335
|
+
const Xr = i.a.forwardRef((e, t) => { const n = Object(o.useRef)(null); return e.connectDropTarget(n), Object(o.useImperativeHandle)(t, () => ({ getNode: () => Object(D.ensureNotNull)(n.current) }), []), i.a.createElement("div", { ref: n, style: { height: "100%", width: "100%" } }); }), Jr = $n("node", { hover: (e, t, n) => { if (!n)
|
|
1336
|
+
return; const r = t.getClientOffset(); if (null === r)
|
|
1337
|
+
return; const o = e.getOrderedNodes(); if (0 === o.length)
|
|
1338
|
+
return; const i = n.getNode().getBoundingClientRect(), s = e.getContainerElement().getBoundingClientRect(); if ("first" === e.type) {
|
|
1339
|
+
const t = { top: i.top - s.top + i.height, left: i.left - s.left, bottom: i.top - s.top + i.height, right: i.left - s.left + i.width, height: 0, width: i.width };
|
|
1340
|
+
e.processDropTarget(o[0], "before", !1, t, !1);
|
|
1341
|
+
} if ("last" === e.type) {
|
|
1342
|
+
const t = r.x - i.left < 48, n = o[o.length - 1], a = t && 2 === n.level ? Object(D.ensureDefined)(o.find(e => e.id === n.parentId)) : n, c = { top: i.top - s.top, left: i.left - s.left, bottom: i.top - s.top, right: i.left - s.left + i.width, height: i.height, width: i.width };
|
|
1343
|
+
e.processDropTarget(a, "after", t, c, !1);
|
|
1344
|
+
} } }, e => ({ connectDropTarget: e.dropTarget() }))(Xr), Zr = i.a.createContext({ isOver: !1, transform: void 0 });
|
|
1345
|
+
var Qr = n("4ceR");
|
|
1346
|
+
function $r(e) { const { dropType: t, boundBox: n } = e, { top: r, bottom: o, left: i } = Object(D.ensureDefined)(n); return [i, "before" === t || "inside" === t ? r : o]; }
|
|
1347
|
+
const eo = zr((function (e) { return { isDragging: e.isDragging() }; }))(Object(G.b)((function (e) { const { boundBox: t, dropType: n, node: r } = Et(e); return { boundBox: t, dropType: n, level: r ? r.level : void 0 }; }), null, null, { context: Cr })((function (e) { const { dropType: t, boundBox: n, isDragging: r, level: i, transform: s = $r } = e; return Gr((function () { if (!r || !t || !n)
|
|
1348
|
+
return null; const a = { [Qr.dropTarget]: "inside" !== t, [Qr.dropTargetInside]: "inside" === t }, { width: c, height: l } = n, [u, d] = s(e), h = `translate(${u}px, ${d}px)`; return o.createElement("div", { className: j(a), style: { position: "absolute", transform: h, WebkitTransform: h, top: 0, left: 2 === i ? "46px" : 0, width: 2 === i ? c - 46 + "px" : c, height: "inside" === t ? l : "2px" } }); })); }))), to = i.a.forwardRef((e, t) => { const n = Object(o.useContext)(Zr); return i.a.createElement("div", Object.assign(Object.assign({}, e), { ref: t }), e.children, n.isOver && i.a.createElement(eo, { transform: n.transform })); });
|
|
1349
|
+
var no = n("Ialn"), ro = n("DGxW");
|
|
1350
|
+
const oo = 38 + pr.Modifiers.Shift, io = 40 + pr.Modifiers.Shift;
|
|
1351
|
+
const so = i.a.forwardRef((function (e, t) {
|
|
1352
|
+
const { navigationKeys: n, renderList: r, stopMultiSelect: s, startMultiSelect: a, isMultiSelecting: c, nodeRenderer: l, dragPreviewRenderer: u, className: d, connectDropTarget: h, readOnly: f, onClick: p, dropLayerTransform: g, setFocusedNode: v, scrollToId: b, rowHeight: m, onMultiSelectPrevious: y, onMultiSelectNext: O, onMoveCursorToNext: S, onMoveCursorToPrevious: w, outerRef: _, width: C, height: T, isOver: E, processDropTarget: j } = e, k = Object(o.useContext)(P), M = Object(o.useRef)(null);
|
|
1353
|
+
Object(o.useEffect)(() => { const e = e => { [pr.Modifiers.Mod, pr.Modifiers.Shift].includes(Object(pr.modifiersFromEvent)(e)) && a(); }, t = e => { c && ![pr.Modifiers.Mod, pr.Modifiers.Shift].includes(Object(pr.modifiersFromEvent)(e)) && s(); }; return document.addEventListener("keydown", e), document.addEventListener("keyup", t), document.addEventListener("mousemove", t), () => { document.removeEventListener("keydown", e), document.removeEventListener("keyup", t), document.removeEventListener("mousemove", t); }; }, [c]), function (e) { Object(o.useEffect)(() => { if (tr.isEdge) {
|
|
1354
|
+
let t = null;
|
|
1355
|
+
const n = Object(D.ensureNotNull)(e.current), r = e => { if (e.target instanceof Element) {
|
|
1356
|
+
const n = Object(D.ensureNotNull)(e.target.closest("[draggable]"));
|
|
1357
|
+
n instanceof HTMLElement && (n.style.opacity = "0", t = requestAnimationFrame(() => n.style.opacity = "1"));
|
|
1358
|
+
} };
|
|
1359
|
+
return n.addEventListener("dragstart", r), () => { n.removeEventListener("dragstart", r), null !== t && cancelAnimationFrame(t); };
|
|
1360
|
+
} return () => { }; }, []); }(M);
|
|
1361
|
+
const x = Object(o.useCallback)(() => Object(D.ensureNotNull)(W.current), []), N = Object(o.useCallback)(() => r, [r]), A = Object(o.useMemo)(() => { const e = f ? kr : Ir, t = []; let n; t.push({ type: "padding", node: i.a.createElement(Jr, { type: "first", key: "padding-top", getContainerElement: x, getOrderedNodes: N, processDropTarget: j }) }); for (let o = 0; o < r.length; o++) {
|
|
1362
|
+
const s = r[o];
|
|
1363
|
+
1 === s.level && (void 0 !== n && n !== s.parentId && t.push({ type: "separator", node: i.a.createElement("div", { key: n + "_separator", className: ro.separator }) }), n = s.parentId), t.push({ type: "node", node: i.a.createElement(e, { id: s.id, key: s.id, isFirstListItem: 0 === o, isLastListItem: o === r.length - 1, isExpandable: s.children.length > 0, nodeRenderer: l, readOnly: f, onClick: p, isOffset: s.level > 1, getContainerElement: x }) });
|
|
1364
|
+
} return t.push({ type: "padding", node: i.a.createElement(Jr, { type: "last", key: "padding-bottom", getContainerElement: x, getOrderedNodes: N, processDropTarget: j }) }), t; }, [r]), L = Object(o.useRef)([]);
|
|
1365
|
+
L.current = A;
|
|
1366
|
+
const R = Object(o.useCallback)(e => { let { style: t } = e; const { index: n } = e; return n === L.current.length - 1 && (t = Object.assign(Object.assign({}, t), { bottom: 0, minHeight: t.height }), delete t.height), i.a.createElement("div", { style: t }, L.current[n].node); }, []), B = Object(o.useCallback)(e => { const t = L.current[e]; return "padding" === t.type ? 6 : "function" == typeof m ? m(e, t) : m; }, [m]), F = Object(o.useCallback)(e => Object(D.ensure)(L.current[e].node.key), []), H = Object(o.useMemo)(() => null === b ? { index: -1 } : { index: L.current.findIndex(e => e.node.key === b.id) }, [b]);
|
|
1367
|
+
h(M);
|
|
1368
|
+
const [z, U, G, V] = Object(Yr.a)(), K = Object(o.useRef)(null);
|
|
1369
|
+
Object(o.useEffect)(() => Object(D.ensureNotNull)(K.current).resetAfterIndex(0, !0), [A]), Object(o.useEffect)(() => Object(D.ensureNotNull)(K.current).scrollToItem(H.index), [H]);
|
|
1370
|
+
const W = Object(o.useRef)(null), q = Object(o.useMemo)(() => ({ isOver: E, transform: g }), [E, g]), Y = Object(o.useRef)(null), X = Object(o.useRef)({ startScroll(e) { const t = () => { null !== G.current && (Y.current = requestAnimationFrame(t), G.current.scrollBy({ top: e })); }; this.stopScroll(), t(); }, stopScroll() { null !== Y.current && (cancelAnimationFrame(Y.current), Y.current = null); }, getListElement: () => G.current });
|
|
1371
|
+
return Object(o.useImperativeHandle)(t, () => X.current, []), Object(o.useEffect)(() => () => X.current.stopScroll(), [E]), i.a.createElement(Zr.Provider, { value: q }, i.a.createElement("div", Object.assign(Object.assign({}, U), { className: I()(ro.tree, d), ref: M, tabIndex: -1, onKeyDown: function (e) { const t = Object(pr.hashFromEvent)(e); if (e.defaultPrevented || Object(Mr.a)(t, e.target))
|
|
1372
|
+
return; k || t !== oo || (e.preventDefault(), y()); k || t !== io || (e.preventDefault(), O()); (38 === t || void 0 !== n && "previous" === n[t]) && (e.preventDefault(), w()); (40 === t || void 0 !== n && "next" === n[t]) && (e.preventDefault(), S()); if ((8 === t || 46 === t) && k) {
|
|
1373
|
+
const { viewModel: e } = k, t = e.selection(), n = t.selected();
|
|
1374
|
+
if (1 !== n.length)
|
|
1375
|
+
return;
|
|
1376
|
+
const r = e.getNextNodeIdAfterRemove(n[0]);
|
|
1377
|
+
if (null === r)
|
|
1378
|
+
return;
|
|
1379
|
+
e.onChange().subscribe(null, () => { if (t.selected().length)
|
|
1380
|
+
return; const n = e.entity(r); n && (t.set([n]), v(r)); }, !0);
|
|
1381
|
+
} } }), i.a.createElement(qr.a, Object.assign(Object.assign({}, z), { className: ro.overlayScrollWrap })), i.a.createElement(er.b, { ref: function (e) { K.current = e; }, className: ro.listContainer, width: C, height: T, itemCount: A.length, itemSize: B, children: R, itemKey: F, outerRef: function (e) { G.current = e, _ && _(e); }, innerRef: function (e) { W.current = e; }, innerElementType: to, onItemsRendered: function () { V(); }, overscanCount: 20, direction: Object(no.isRtl)() ? "rtl" : "ltr" }), i.a.createElement(Wr, { dragPreviewRenderer: u, nodeRenderer: l })));
|
|
1382
|
+
})), ao = $n("node", { drop: (e, t, n) => { ("touch" === e.drag || tr.isFF) && n.stopScroll(), t.getItem().dropSelection(); }, hover: (e, t, n) => { if ("touch" !== e.drag && !tr.isFF)
|
|
1383
|
+
return; const r = t.getClientOffset(); if (null === r)
|
|
1384
|
+
return; const o = n.getListElement(); if (null === o)
|
|
1385
|
+
return; const i = o.getBoundingClientRect(); ((t, r, o) => { const i = Math.abs(t - o), s = Math.abs(t - r); if (s > 40 && i > 40 || i <= 40 && s <= 40)
|
|
1386
|
+
return void n.stopScroll(); var a, c, l, u; a = s > 20 && s <= 40, l = i <= 20, u = s <= 20, (c = i > 20 && i <= 40) || a ? "touch" === e.drag ? n.startScroll(c ? -5 : 5) : n.startScroll(c ? -2 : 2) : (l || u) && ("touch" === e.drag ? n.startScroll(l ? -10 : 10) : n.startScroll(l ? -5 : 5)); })(r.y, i.bottom, i.top); } }, (e, t) => ({ connectDropTarget: e.dropTarget(), isOver: t.isOver() }))(so);
|
|
1387
|
+
const co = Object(G.b)((function (e) { return { renderList: Ut(e), orderedNodes: Ht(e), isMultiSelecting: Rt(e), selectedIds: At(e), scrollToId: jt(e) }; }), (function (e) { return Object(nn.b)({ startMultiSelect: gt, stopMultiSelect: vt, setFocusedNode: bt, processDropTarget: dt, onMoveCursorToNext: ct, onMoveCursorToPrevious: at, onMultiSelectPrevious: lt, onMultiSelectNext: ut }, e); }), null, { context: Cr })(ao), lo = { delayTouchStart: 100 };
|
|
1388
|
+
function uo(e) {
|
|
1389
|
+
const { canBeAddedToSelection: t, initState: n, onSelect: r, canMove: s, onDrop: a, onMove: c, nodes: l, selectedIds: u, onKeyboardSelect: d, saga: h, lastFocusedNodeObject: f, lastSyncTimestampRef: p, scrollToId: g } = e, v = __rest(e, ["canBeAddedToSelection", "initState", "onSelect", "canMove", "onDrop", "onMove", "nodes", "selectedIds", "onKeyboardSelect", "saga", "lastFocusedNodeObject", "lastSyncTimestampRef", "scrollToId"]), [b, m] = Object(o.useState)(null);
|
|
1390
|
+
return Object(o.useEffect)(() => {
|
|
1391
|
+
const e = Object(U.b)();
|
|
1392
|
+
m(function (e) {
|
|
1393
|
+
const t = Object(nn.a)(e);
|
|
1394
|
+
return Object(nn.e)(cn, t);
|
|
1395
|
+
}(e));
|
|
1396
|
+
const o = e.run(tn, { initState: n, onKeyboardSelect: d, saga: h, canMove: s, onMove: c, onDrop: a, onSelect: r, canBeAddedToSelection: t });
|
|
1397
|
+
return () => o.cancel();
|
|
1398
|
+
}, []), Object(o.useEffect)(() => (null !== b && l && (p && (p.current = performance.now()), b.dispatch((e => ({ type: Fe, nodes: e }))(l))), () => { }), [b, l]), Object(o.useEffect)(() => { null !== b && u && b.dispatch(ft(u)); }, [b, u]), Object(o.useEffect)(() => { null !== b && (null == f ? void 0 : f.id) && b.dispatch(bt(f.id)); }, [b, f]), null === b ? null : i.a.createElement(ho, Object.assign({ store: b, scrollToId: g }, v));
|
|
1399
|
+
}
|
|
1400
|
+
const ho = i.a.memo((function (e) { const { store: t, scrollToId: n } = e, r = __rest(e, ["store", "scrollToId"]), s = "touch" === e.drag ? Pe : ye; return Object(o.useEffect)(() => { var e; t.dispatch(mt(null !== (e = null == n ? void 0 : n.id) && void 0 !== e ? e : null)); }, [n]), i.a.createElement(Ae.a, { backend: s, options: lo }, i.a.createElement(G.a, { store: t, context: Cr }, i.a.createElement(co, Object.assign({}, r)))); }));
|
|
1401
|
+
function fo(e, t) { Object(H.trackEvent)("Object Tree", e, t); }
|
|
1402
|
+
function po(e) { return e.length > 1 ? "Multi select" : e[0].gaLabel(); }
|
|
1403
|
+
function go(e) { return Object(U.c)(t => { const n = {}; return e.onChange().subscribe(n, () => t({ type: Ue })), e.onGroupCreated().subscribe(n, e => t(Ot(e, !0))), e.selection().onChange().subscribe(n, e => t(ft(e))), () => { e.onChange().unsubscribeAll(n), e.selection().onChange().unsubscribeAll(n), e.onGroupCreated().unsubscribeAll(n); }; }, U.a.expanding()); }
|
|
1404
|
+
function* vo() { for (;;)
|
|
1405
|
+
yield Object(T.g)([We, Ke]), fo("Select", "Arrow"); }
|
|
1406
|
+
function* bo() { for (;;) {
|
|
1407
|
+
const { mode: e } = yield Object(T.g)(nt);
|
|
1408
|
+
1 === e && fo("Multi select", "Ctrl"), 2 === e && fo("Multi select", "Shift");
|
|
1409
|
+
} }
|
|
1410
|
+
function* mo(e) { for (;;) {
|
|
1411
|
+
yield Object(T.g)(Ve);
|
|
1412
|
+
const { node: t, dropType: n } = Et(yield Object(T.f)());
|
|
1413
|
+
if (t) {
|
|
1414
|
+
const r = Bt(yield Object(T.f)()), o = r.map(t => Object(D.ensureNotNull)(e.entity(t.id)));
|
|
1415
|
+
let i = "Drag";
|
|
1416
|
+
1 === t.level && "inside" !== n && r.some(e => 2 === e.level) ? i = "From the group" : 2 !== t.level && "inside" !== n || !r.some(e => 1 === e.level) ? 1 === r.length && r[0].parentId !== t.parentId && (i = "Existing pane") : i = "To the group", fo(i, po(o));
|
|
1417
|
+
}
|
|
1418
|
+
} }
|
|
1419
|
+
function* yo(e) { yield Object(T.d)(vo), yield Object(T.d)(bo), yield Object(T.d)(mo, e); }
|
|
1420
|
+
function* Oo(e) { yield Object(T.d)(yo, e); const t = yield Object(T.b)(go, e); on.logNormal("Opened object tree data source channel"); try {
|
|
1421
|
+
for (;;) {
|
|
1422
|
+
const e = yield Object(T.g)(t);
|
|
1423
|
+
yield Object(T.e)(e);
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
finally {
|
|
1427
|
+
on.logNormal("Closed object tree data source channel"), t.close();
|
|
1428
|
+
} }
|
|
1429
|
+
var So = n("5VQP");
|
|
1430
|
+
const wo = o.createContext(null);
|
|
1431
|
+
var _o = n("XAms"), Co = n("9S1y"), To = n("h5pj");
|
|
1432
|
+
const Eo = E.mobiletouch ? "touch" : "native";
|
|
1433
|
+
function Do(e) {
|
|
1434
|
+
const { viewModel: t, showHeader: n = !0, nodeRenderer: r, isDialog: s = !1 } = e, a = Object(o.useRef)(null), c = function (e) { const [t, n] = Object(o.useState)(e.getChartId()), r = Object(o.useRef)(t); return r.current = t, Object(o.useEffect)(() => { return e.onChange().subscribe(null, t), () => { e.onChange().unsubscribe(null, t); }; function t() { const t = e.getChartId(); r.current !== t && n(t); } }, []), t; }(t), [l, u] = Object(Co.a)(), [d, h] = Object(o.useState)(null), f = Object(o.useMemo)(() => ({ isTouch: E.touch, isDialog: s }), [s]);
|
|
1435
|
+
return i.a.createElement(wo.Provider, { value: f }, i.a.createElement(P.Provider, { value: { viewModel: t } }, i.a.createElement("div", { className: To.wrap, onContextMenu: _o.b
|
|
1436
|
+
}, n && i.a.createElement(z, null), i.a.createElement(C.a, { onMeasure: l }, i.a.createElement("div", { className: To.space, onClick: function (e) { if (e.defaultPrevented)
|
|
1437
|
+
return; if (!(e.target instanceof Element) || null === a.current)
|
|
1438
|
+
return; e.target === a.current && t.selection().set([]); } }, null !== u && i.a.createElement(uo, { key: c, height: u.height, width: u.width, canBeAddedToSelection: function (e) { const n = t.entity(e); return t.selection().canBeAddedToSelection(n); }, nodeRenderer: r, initState: function () { const { nodes: e, selection: n } = t.getState(); return { selectedIds: n, nodes: e }; }, canMove: function (e, n, r) { return t.isSelectionDropable(n.id, r); }, drag: Eo, rowHeight: jo, onSelect: function (e) { const n = e.map(e => t.entity(e)).filter(e => null !== e); t.selection().set(n); const r = So.ContextMenuManager.getShown(); r && r.hide(); }, onDrop: function (e) { e.preventDefault(); const { detail: { target: n, type: r } } = e; t.insertSelection(n, r); }, scrollToId: d, saga: function* () { yield Object(T.d)(Oo, t); }, onKeyboardSelect: function (e) { h({ id: e }); }, outerRef: function (e) { a.current = e; } }))))));
|
|
1439
|
+
}
|
|
1440
|
+
function jo(e, t) { switch (t.type) {
|
|
1441
|
+
case "node": return 38;
|
|
1442
|
+
case "separator": return 13;
|
|
1443
|
+
} }
|
|
1444
|
+
var Io, ko = n("Kxc7");
|
|
1445
|
+
!function (e) { e.Svg = "svg", e.Text = "text"; }(Io || (Io = {}));
|
|
1446
|
+
var Mo = n("wHCJ"), xo = n("WcWV");
|
|
1447
|
+
function No(e) { const { className: t, disabled: n } = e, r = __rest(e, ["className", "disabled"]); return i.a.createElement(k.a, Object.assign({ className: I()(xo.button, n && xo.disabled, t) }, r)); }
|
|
1448
|
+
var Po = n("To8B"), Ao = n("tyJc"), Lo = n("20cQ"), Ro = n("zn4F"), Bo = n("U+QY"), Fo = n("gSe6");
|
|
1449
|
+
function Ho(e) { const { id: t } = e, n = Object(o.useContext)(P), { viewModel: r } = Object(D.ensureNotNull)(n), s = r.entity(t); return null === s ? null : i.a.createElement(zo, Object.assign(Object.assign({}, e), { entity: s })); }
|
|
1450
|
+
function zo(e) {
|
|
1451
|
+
const { id: t, isOffset: n, isDisabled: r, isSelected: s, isChildOfSelected: a, isHovered: c, parentId: l, entity: u, isExpanded: d } = e, h = Object(o.useContext)(P), f = Object(o.useContext)(wo), { size: p } = Object(o.useContext)(br), [g, v] = Object(o.useState)(!1), b = Object(o.useRef)(null), [m, O] = Object(o.useState)(u.title()), [S, w] = Object(o.useState)(u.isLocked()), [_, C] = Object(o.useState)(u.isVisible()), [T, E] = Object(o.useState)(u.isActualInterval()), [I, M] = Object(o.useState)(!1), [x, N] = Object(o.useState)(!1), A = Object(o.useRef)(null);
|
|
1452
|
+
Object(o.useEffect)(() => { const e = {}; u.onLockChanged().subscribe(e, () => w(u.isLocked())), u.onVisibilityChanged().subscribe(e, () => C(u.isVisible())); const t = u.onTitleChanged(); return t && t.subscribe(e, () => O(u.title())), u.onIsActualIntervalChange().subscribe(e, () => E(u.isActualInterval())), () => { u.onIsActualIntervalChange().unsubscribeAll(e), u.onLockChanged().unsubscribeAll(e), u.onVisibilityChanged().unsubscribeAll(e), t && t.unsubscribeAll(e), A.current && clearTimeout(A.current); }; }, [u]), Object(o.useEffect)(() => { g && b.current && (b.current.focus(), b.current.setSelectionRange(0, m.length)); }, [g]), Object(o.useEffect)(() => { const e = {}; return L.hoveredObjectChanged().subscribe(e, X), () => { L.hoveredObjectChanged().unsubscribeAll(e); }; }, [d]), Object(o.useEffect)(() => { L.setHoveredObject(c ? t : null); }, [c]), Object(o.useEffect)(() => { !s && A.current && (clearTimeout(A.current), A.current = null), v(!1); }, [s]);
|
|
1453
|
+
const { viewModel: L } = Object(D.ensureNotNull)(h), R = !_ || S, B = u.getIcon(), F = {};
|
|
1454
|
+
if (l) {
|
|
1455
|
+
const e = L.entity(l);
|
|
1456
|
+
e && (F["data-parent-name"] = e.title()), F["data-type"] = u.hasChildren() ? "group" : "data-source";
|
|
1457
|
+
}
|
|
1458
|
+
const H = ko.enabled("test_show_object_tree_debug") ? `<${u.id()}> (${u.zOrder()})` : u.title(), z = c || I, U = g && s, G = !!f && f.isTouch, V = !!f && f.isDialog, K = T && _ ? Ro : Bo, W = u.hasChildren() ? y.t("Group is hidden on current interval") : y.t("Drawing is hidden on current interval");
|
|
1459
|
+
return i.a.createElement("span", { className: j(Fo.wrap, R && Fo.modifier, r && Fo.disabled, s && Fo.selected, n && Fo.offset, a && Fo.childOfSelected, I && !r && !s && !a && Fo.hover, V && !r && !s && !a && Fo.dialog), onMouseDown: function (e) { g && !Object(D.ensureNotNull)(b.current).contains(e.target) && N(!0); }, onClick: 1 === p ? q : function (e) { if (e.defaultPrevented)
|
|
1460
|
+
return; if (0 !== Object(pr.modifiersFromEvent)(e))
|
|
1461
|
+
return; if (A.current)
|
|
1462
|
+
e.preventDefault(), clearTimeout(A.current), A.current = null, L.openProperties(u), N(!1);
|
|
1463
|
+
else {
|
|
1464
|
+
const e = L.selection().selected();
|
|
1465
|
+
A.current = setTimeout(() => { A.current = null, s && !x && 1 === e.length && L.rename(u, () => v(!0)), N(!1); }, 500);
|
|
1466
|
+
} }, onContextMenu: G ? void 0 : q }, !U && i.a.createElement(o.Fragment, null, B && B.type === Io.Svg && i.a.createElement(k.a, { icon: B.content || "", className: Fo.icon }), B && B.type === Io.Text && i.a.createElement("span", { className: j(Fo.icon, Fo.textIcon) }, B.content), i.a.createElement("span", Object.assign({ className: j(Fo.title, L.isMain(u) && Fo.main, (!u.isVisible() || !T) && Fo.disabled) }, F), H), (z || S || !_ || G || !T) && i.a.createElement("span", { className: j(Fo.rightButtons, u.canBeRemoved() && Fo.twoButtons, u.canBeLocked() && (z || S) && Fo.threeButtons) }, u.canBeLocked() && (z || S) && i.a.createElement(No, { icon: S ? Ao : Lo, className: j(Fo.button, Fo.lockButton), onClick: function (e) { if (e.defaultPrevented)
|
|
1467
|
+
return; e.preventDefault(), L.setIsLocked(t, !u.isLocked()); }, "data-role": "button", "data-name": "lock", "data-active": S }), (z || !_ || !T) && i.a.createElement(No, { icon: K, className: j(Fo.button, Fo.viewButton, !T && [Fo.warn, "apply-common-tooltip"]), onClick: T ? function (e) { if (e.defaultPrevented)
|
|
1468
|
+
return; e.preventDefault(), L.setIsVisible(t, !u.isVisible()); } : void 0, title: T ? void 0 : W, disabled: !T, "data-role": "button", "data-name": "hide", "data-active": !_ }), u.canBeRemoved() && (G || z) && i.a.createElement(No, { icon: Po, className: j(Fo.button, Fo.removeButton), onClick: function (e) { if (e.defaultPrevented)
|
|
1469
|
+
return; e.preventDefault(), e.stopPropagation(), L.remove(t); }, "data-role": "button", "data-name": "remove" }))), U && i.a.createElement(Mo.a, { value: m, onChange: function (e) { O(e.currentTarget.value); }, onClick: _o.a, className: Fo.renameInput, onKeyDown: function (e) { 27 === Object(pr.hashFromEvent)(e) ? (e.preventDefault(), O(u.title()), v(!1)) : 13 === Object(pr.hashFromEvent)(e) && (e.preventDefault(), Y()); }, reference: function (e) { b.current = e; }, onBlur: Y, onDragStart: function (e) { e.preventDefault(), e.stopPropagation(); }, draggable: !0, stretch: !0 }));
|
|
1470
|
+
function q(e) { e.defaultPrevented || g || (e.preventDefault(), e.persist(), L.openContextMenu(u, () => v(!0), e)); }
|
|
1471
|
+
function Y() { "" !== m && u.setName(m), O(u.title()), v(!1); }
|
|
1472
|
+
function X(e) { if (u.hasChildren() && !d) {
|
|
1473
|
+
const t = null !== e && u.childrenIds().has(e);
|
|
1474
|
+
M(t);
|
|
1475
|
+
}
|
|
1476
|
+
else
|
|
1477
|
+
M(t === e); }
|
|
1478
|
+
}
|
|
1479
|
+
var Uo = n("4/GM");
|
|
1480
|
+
class Go extends i.a.PureComponent {
|
|
1481
|
+
constructor(e) {
|
|
1482
|
+
super(e), this._isMounted = !1, this._dialogRef = i.a.createRef(),
|
|
1483
|
+
this._renderChildren = e => i.a.createElement(Vo, { isSmallTablet: e, viewModel: this.props.viewModel }), this._handleMediaChange = () => { this.state.showDrawer && !window.matchMedia(S.a.TabletSmall).matches && this.setState({ showDrawer: !1 }); }, this._onManageDrawings = e => { throw new Error("not supported"); }, this._closeDrawer = () => { this.setState({ showDrawer: !1 }); }, this._handleContextMenuOpened = e => { this.setState({ isContextMenuOpened: e }); }, this._matchMedia = window.matchMedia(S.a.TabletSmall), this.state = { showDrawer: !1, showDialog: !1, isContextMenuOpened: !1 };
|
|
1484
|
+
}
|
|
1485
|
+
componentDidMount() { this._isMounted = !0, this._matchMedia.addListener(this._handleMediaChange), this.props.viewModel.isContextMenuOpened().subscribe(this._handleContextMenuOpened); }
|
|
1486
|
+
componentWillUnmount() { this._isMounted = !1, this._matchMedia.removeListener(this._handleMediaChange), this.props.viewModel.isContextMenuOpened().unsubscribe(this._handleContextMenuOpened); }
|
|
1487
|
+
render() { return i.a.createElement(i.a.Fragment, null, i.a.createElement(m.a, { rule: S.a.TabletSmall }, e => i.a.createElement(O.a, { additionalElementPos: "after", additionalHeaderElement: !1, className: Uo.dialog, dataName: "object-tree-dialog", isOpened: !0, onClickOutside: this.state.showDialog || e || this.state.isContextMenuOpened ? () => { } : this.props.onClose, onClose: this.props.onClose, ref: this._dialogRef, render: () => this._renderChildren(e), title: Object(y.t)("Object tree"), showSeparator: !0 })), i.a.createElement(b.b, null, this.state.showDrawer && i.a.createElement(v.a, { onClose: this._closeDrawer, position: "Bottom" }, i.a.createElement(w.a, { onClose: this._closeDrawer, chartWidget: this.props.activeChartWidget, isMobile: !0 })))); }
|
|
1488
|
+
}
|
|
1489
|
+
function Vo(e) { const { isSmallTablet: t, viewModel: n } = e, r = Object(o.useMemo)(() => ({ size: t ? 1 : 0, smallSizeTreeNodeAction: 0 }), [t]); return i.a.createElement(br.Provider, { value: r }, i.a.createElement(Do, { nodeRenderer: Ho, showHeader: !1, viewModel: n, isDialog: !0 })); }
|
|
1490
|
+
var Ko = n("eqEH"), Wo = n("vPbs"), qo = n("aIyQ"), Yo = n.n(qo);
|
|
1491
|
+
function Xo(e) { return e; }
|
|
1492
|
+
var Jo = n("QrSB");
|
|
1493
|
+
function Zo(e, t) { return `${e}:${t}`; }
|
|
1494
|
+
class Qo {
|
|
1495
|
+
constructor(e) { this._onChange = new Yo.a, this._recalculate = () => { const e = this._groupModel.groups().map(e => Zo(e.id, e.instanceId)), t = this._selectionApi.allSources(); this._selected = this._selected.filter(n => e.includes(n) || t.includes(n)), this._onChange.fire(this._selected); }, this._model = e, this._selectionApi = new Jo.SelectionApi(this._model), this._groupModel = this._model.lineToolsGroupModel(), this._selected = this._getSelectedIds(), this._selectionApi.onChanged().subscribe(this, () => { this._selected = this._getSelectedIds(), this._onChange.fire(this._selected); }), this._groupModel.onChanged().subscribe(this, this._recalculate); }
|
|
1496
|
+
destroy() { this._selectionApi.onChanged().unsubscribeAll(this), this._groupModel.onChanged().unsubscribeAll(this); }
|
|
1497
|
+
set(e) { const t = []; let n = e.map(e => e.id()); for (const r of e)
|
|
1498
|
+
if (r.hasChildren()) {
|
|
1499
|
+
const e = r.childrenIds();
|
|
1500
|
+
t.push(...Array.from(e.values()).map(Xo)), n = n.filter(t => !e.has(t));
|
|
1501
|
+
}
|
|
1502
|
+
else
|
|
1503
|
+
t.push(r.id()); this._selectionApi.set(t), this._selected = n, this._onChange.fire(this._selected); }
|
|
1504
|
+
canBeAddedToSelection(e) { return null !== e && e.canBeAddedToSelection(); }
|
|
1505
|
+
onChange() { return this._onChange; }
|
|
1506
|
+
selected() { return this._selected; }
|
|
1507
|
+
_getSelectedIds() { return this._selectionApi.allSources().filter(e => { const t = this._model.dataSourceForId(e); return null !== t && t.showInObjectTree(); }); }
|
|
1508
|
+
}
|
|
1509
|
+
class $o {
|
|
1510
|
+
constructor(e, t) { this._controller = e, this._facade = t, this._groupModel = e.model().lineToolsGroupModel(); }
|
|
1511
|
+
buildTree() { const e = {}; for (const t of this._controller.model().panes()) {
|
|
1512
|
+
const n = t.sourcesByGroup().all().filter(e => e.showInObjectTree());
|
|
1513
|
+
e[t.id()] = ei(t.id(), 0);
|
|
1514
|
+
for (const n of this._groupModel.groups()) {
|
|
1515
|
+
const r = Zo(n.id, n.instanceId), o = Object(D.ensureNotNull)(this._facade.getObjectById(r));
|
|
1516
|
+
if (o.pane() === t) {
|
|
1517
|
+
const r = [...n.lineTools()].sort((e, t) => e.zorder() > t.zorder() ? -1 : 1).map(e => e.id());
|
|
1518
|
+
e[o.id()] = ei(o.id(), 1, t.id(), r), e[t.id()].children.push(o.id());
|
|
1519
|
+
for (const t of r)
|
|
1520
|
+
e[t] = ei(t, 2, o.id());
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
for (const r of n)
|
|
1524
|
+
e[r.id()] || (e[r.id()] = ei(r.id(), 1, t.id()), e[t.id()].children.push(r.id()));
|
|
1525
|
+
e[t.id()].children.sort((e, t) => { const n = Object(D.ensureNotNull)(this._facade.getObjectById(e)), r = Object(D.ensureNotNull)(this._facade.getObjectById(t)); return Object(D.ensureNotNull)(r.zOrder()) - Object(D.ensureNotNull)(n.zOrder()); });
|
|
1526
|
+
} return this._facade.invalidateCache(new Set(Object.keys(e))), e; }
|
|
1527
|
+
}
|
|
1528
|
+
function ei(e, t, n, r = []) { return { id: e, level: t, parentId: n, children: r }; }
|
|
1529
|
+
var ti = n("CW80"), ni = n("3ClC"), ri = n("fgLi"), oi = n("HZKX"), ii = n("Vbka"), si = n("dDxv"), ai = n("NhaM");
|
|
1530
|
+
const ci = Object(y.t)("Show {sourceTitle}"), li = Object(y.t)("Hide {sourceTitle}"), ui = Object(y.t)("Lock {sourceTitle}"), di = Object(y.t)("Unlock {sourceTitle}"), hi = Object(y.t)("Change {sourceType} title to {newSourceTitle}");
|
|
1531
|
+
function fi(e, t) { return t.every(t => !(t.pane() !== e && !t.allowsMovingbetweenPanes())); }
|
|
1532
|
+
function pi(e) { return e instanceof ri.DataSource && e.showInObjectTree() ? e.id() : null; }
|
|
1533
|
+
const gi = new Yo.a;
|
|
1534
|
+
class vi {
|
|
1535
|
+
constructor(e, t) { this._syncStateChanged = new Yo.a, this._linkKeyChangedBound = this._linkKeyChanged.bind(this), this._undoModel = e, this._dataSource = t, Object(ti.isLineTool)(this._dataSource) && this._dataSource.linkKey().subscribe(this._linkKeyChangedBound); }
|
|
1536
|
+
destroy() { Object(ti.isLineTool)(this._dataSource) && this._dataSource.linkKey().unsubscribe(this._linkKeyChangedBound); }
|
|
1537
|
+
id() { return this._dataSource.id(); }
|
|
1538
|
+
title() { return Object(ti.isLineTool)(this._dataSource) ? this._dataSource.properties().title.value() || this._dataSource.translatedType() : this._dataSource.title(); }
|
|
1539
|
+
gaLabel() { return Object(ni.isStudy)(this._dataSource) ? "Study" : Object(ti.isLineTool)(this._dataSource) ? "Drawing" : "Symbol"; }
|
|
1540
|
+
canBeLocked() { return Object(ti.isLineTool)(this._dataSource) && this._dataSource.userEditEnabled(); }
|
|
1541
|
+
canBeRemoved() { return this._undoModel.mainSeries() !== this._dataSource && this._dataSource.isUserDeletable(); }
|
|
1542
|
+
canBeHidden() { return this._dataSource.canBeHidden(); }
|
|
1543
|
+
canBeRenamed() { return Object(ti.isLineTool)(this._dataSource); }
|
|
1544
|
+
isVisible() { return this._dataSource.properties().visible.value(); }
|
|
1545
|
+
isActualInterval() { return !Object(ti.isLineTool)(this._dataSource) && !Object(ni.isStudy)(this._dataSource) || this._dataSource.isActualInterval(); }
|
|
1546
|
+
onIsActualIntervalChange() {
|
|
1547
|
+
return Object(ti.isLineTool)(this._dataSource) || Object(ni.isStudy)(this._dataSource) ? this._dataSource.onIsActualIntervalChange() : gi;
|
|
1548
|
+
}
|
|
1549
|
+
isLocked() { return !!Object(ti.isLineTool)(this._dataSource) && this._dataSource.properties().frozen.value(); }
|
|
1550
|
+
onVisibilityChanged() { return this._dataSource.properties().visible.listeners(); }
|
|
1551
|
+
onLockChanged() { return Object(ti.isLineTool)(this._dataSource) ? this._dataSource.properties().frozen.listeners() : gi; }
|
|
1552
|
+
getIcon() { const e = d, t = this._dataSource.getSourceIcon(), n = Object(ni.isStudyStrategy)(this._dataSource); let r = { type: Io.Svg, content: n ? ii : si }; if (e && t)
|
|
1553
|
+
if ("loadSvg" === t.type) {
|
|
1554
|
+
const [n, o] = t.svgId.split("."), i = "linetool" === n ? e.linetool[o] : e.series[Number(o)];
|
|
1555
|
+
r = { type: Io.Svg, content: i || si };
|
|
1556
|
+
}
|
|
1557
|
+
else
|
|
1558
|
+
"text" === t.type && (r = { type: Io.Text, content: t.text }); return r; }
|
|
1559
|
+
setVisible(e) { const t = (e ? ci : li).format({ sourceTitle: this._dataSource.title() }); this._undoModel.setProperty(this._dataSource.properties().visible, e, t); }
|
|
1560
|
+
setLocked(e) { if (Object(ti.isLineTool)(this._dataSource)) {
|
|
1561
|
+
const t = (e ? ui : di).format({ sourceTitle: this._dataSource.translatedType() });
|
|
1562
|
+
this._undoModel.setProperty(this._dataSource.properties().frozen, e, t);
|
|
1563
|
+
} }
|
|
1564
|
+
setName(e) { if (Object(ti.isLineTool)(this._dataSource)) {
|
|
1565
|
+
const t = hi.format({ sourceType: this._dataSource.properties().title.value() || this._dataSource.title(), newSourceTitle: e });
|
|
1566
|
+
this._undoModel.setProperty(this._dataSource.properties().title, e, t);
|
|
1567
|
+
} }
|
|
1568
|
+
isCopiable() { return this._dataSource.copiable(); }
|
|
1569
|
+
isClonable() { return this._dataSource.cloneable(); }
|
|
1570
|
+
zOrder() { return this._dataSource.zorder(); }
|
|
1571
|
+
remove() { this._undoModel.removeSource(this._dataSource, !1); }
|
|
1572
|
+
canBeAddedToSelection() { return this._undoModel.selection().canBeAddedToSelection(this._dataSource); }
|
|
1573
|
+
setAsSelection() { this._undoModel.model().selectionMacro(e => { e.clearSelection(), e.addSourceToSelection(this._dataSource); }); }
|
|
1574
|
+
addToSelection() { this._undoModel.model().selectionMacro(e => { e.addSourceToSelection(this._dataSource); }); }
|
|
1575
|
+
addSourcesToArray(e) { return e.push(this._dataSource), e; }
|
|
1576
|
+
insertSourcesBeforeThis(e) { this._insertSources(e, e => this._undoModel.insertBefore(e, this._dataSource)); }
|
|
1577
|
+
insertSourcesAfterThis(e) { this._insertSources(e, e => this._undoModel.insertAfter(e, this._dataSource)); }
|
|
1578
|
+
childrenIds() { return new Set; }
|
|
1579
|
+
hasChildren() { return !1; }
|
|
1580
|
+
pane() { return Object(D.ensureNotNull)(this._undoModel.model().paneForSource(this._dataSource)); }
|
|
1581
|
+
allowsMovingbetweenPanes() { return !Object(ti.isLineTool)(this._dataSource); }
|
|
1582
|
+
canBeAddedToGroup() { return Object(ti.isLineTool)(this._dataSource); }
|
|
1583
|
+
canInsertBeforeThis(e) { return this._canInsertBeforeOrAfter(e); }
|
|
1584
|
+
canInsertAfterThis(e) { return this._canInsertBeforeOrAfter(e); }
|
|
1585
|
+
detachFromParent() { if (Object(ti.isLineTool)(this._dataSource)) {
|
|
1586
|
+
const e = this._undoModel.model(), t = this._undoModel.lineToolsGroupController(), n = e.lineToolsGroupModel().groupForLineTool(this._dataSource);
|
|
1587
|
+
null !== n && t.excludeLineToolFromGroup(n, this._dataSource);
|
|
1588
|
+
} }
|
|
1589
|
+
onTitleChanged() { const e = this._dataSource.properties().title; return e ? e.listeners() : void 0; }
|
|
1590
|
+
canBeSyncedInLayout() { return Object(ti.isLineTool)(this._dataSource) && this._dataSource.isSynchronizable(); }
|
|
1591
|
+
onSyncStateChanged() { return this._syncStateChanged; }
|
|
1592
|
+
setDrawingSyncState(e) { if (!this.canBeSyncedInLayout())
|
|
1593
|
+
return; const t = this._dataSource; switch (e) {
|
|
1594
|
+
case 0:
|
|
1595
|
+
if (null === t.linkKey().value())
|
|
1596
|
+
return;
|
|
1597
|
+
this._undoModel.unlinkLines([t]);
|
|
1598
|
+
break;
|
|
1599
|
+
case 1:
|
|
1600
|
+
if (null !== t.linkKey().value())
|
|
1601
|
+
return;
|
|
1602
|
+
this._undoModel.copyToOtherCharts([t]);
|
|
1603
|
+
} }
|
|
1604
|
+
getDrawingSyncState() { return this.canBeSyncedInLayout() ? null !== this._dataSource.linkKey().value() ? 1 : 0 : null; }
|
|
1605
|
+
_linkKeyChanged() { this._syncStateChanged.fire(Object(D.ensureNotNull)(this.getDrawingSyncState())); }
|
|
1606
|
+
_canInsertBeforeOrAfter(e) { const t = this._undoModel.model(); if (!fi(this.pane(), e))
|
|
1607
|
+
return !1; if (Object(ti.isLineTool)(this._dataSource)) {
|
|
1608
|
+
if (null !== t.lineToolsGroupModel().groupForLineTool(this._dataSource) && e.some(e => !e.canBeAddedToGroup()))
|
|
1609
|
+
return !1;
|
|
1610
|
+
} return !0; }
|
|
1611
|
+
_insertSources(e, t) { const n = this._undoModel.model(), r = this._undoModel.lineToolsGroupController(); this._undoModel.beginUndoMacro("Insert source(s) after"); const o = () => { e.forEach(e => e.detachFromParent()); }, i = e.reduce((e, t) => t.addSourcesToArray(e), []); if (Object(ti.isLineTool)(this._dataSource)) {
|
|
1612
|
+
const t = n.lineToolsGroupModel().groupForLineTool(this._dataSource);
|
|
1613
|
+
null !== t ? (Object(D.assert)(!e.some(e => e.hasChildren())), i.forEach(e => { Object(ti.isLineTool)(e) && (t.containsLineTool(e) || r.addLineToolToGroup(t, e)); })) : o();
|
|
1614
|
+
}
|
|
1615
|
+
else
|
|
1616
|
+
o(); t(i), this._undoModel.endUndoMacro(); }
|
|
1617
|
+
}
|
|
1618
|
+
class bi {
|
|
1619
|
+
constructor(e, t) { this._onTitleChanged = new Yo.a, this._onVisibilityChanged = new Yo.a, this._onLockChanged = new Yo.a, this._onIsActualIntervalChanged = new Yo.a, this._syncStateChanged = new Yo.a, this._linkKeyChangedBound = this._linkKeyChanged.bind(this), this._undoModel = e, this._group = t, this._lineTools = t.lineTools(), this._paneId = Object(D.ensureNotNull)(e.model().paneForSource(this._lineTools[0])).id(); const n = () => { this._lineTools.forEach(e => { e.properties().visible.listeners().subscribe(this, () => this._onVisibilityChanged.fire()), e.properties().frozen.listeners().subscribe(this, () => this._onLockChanged.fire()), e.onIsActualIntervalChange().subscribe(this, () => this._onIsActualIntervalChanged.fire()); }), this._lineTools.length > 0 && this._lineTools[0].linkKey().subscribe(this._linkKeyChangedBound); }; this._group.onChanged().subscribe(this, e => { this._unsubscribeFromAllLineTools(), this._lineTools = this._group.lineTools(), n(), e.lockedChanged && this._onLockChanged.fire(), e.visibilityChanged && this._onVisibilityChanged.fire(), e.titleChanged && this._onTitleChanged.fire(), e.isActualIntervalChanged && this._onIsActualIntervalChanged.fire(); }), n(), this._lastActualZOrder = this.zOrder(), this._lastIsVisible = this.isVisible(), this._lastIsActualInterval = this.isActualInterval(), this._lastIsLocked = this.isLocked(); }
|
|
1620
|
+
destroy() { this._unsubscribeFromAllLineTools(), this._group.onChanged().unsubscribeAll(this); }
|
|
1621
|
+
id() { return Zo(this._group.id, this._group.instanceId); }
|
|
1622
|
+
title() { return this._group.name(); }
|
|
1623
|
+
gaLabel() { return "Group"; }
|
|
1624
|
+
getIcon() { return { type: Io.Svg, content: ai }; }
|
|
1625
|
+
canBeRemoved() { return !0; }
|
|
1626
|
+
canBeHidden() { return !0; }
|
|
1627
|
+
canBeLocked() { return !0; }
|
|
1628
|
+
canBeRenamed() { return !0; }
|
|
1629
|
+
isVisible() { return this._group.lineTools().length > 0 && (this._lastIsVisible = "Invisible" !== this._group.visibility()), this._lastIsVisible; }
|
|
1630
|
+
isActualInterval() {
|
|
1631
|
+
return this._group.lineTools().length > 0 && (this._lastIsActualInterval = this._group.lineTools().some(e => e.isActualInterval())), this._lastIsActualInterval;
|
|
1632
|
+
}
|
|
1633
|
+
onIsActualIntervalChange() { return this._onIsActualIntervalChanged; }
|
|
1634
|
+
isLocked() { return this._group.lineTools().length > 0 && (this._lastIsLocked = "Locked" === this._group.locked()), this._lastIsLocked; }
|
|
1635
|
+
onTitleChanged() { return this._onTitleChanged; }
|
|
1636
|
+
onVisibilityChanged() { return this._onVisibilityChanged; }
|
|
1637
|
+
onLockChanged() { return this._onLockChanged; }
|
|
1638
|
+
setVisible(e) { this._undoModel.lineToolsGroupController().setGroupVisibility(this._group, e); }
|
|
1639
|
+
setLocked(e) { this._undoModel.lineToolsGroupController().setGroupLock(this._group, e); }
|
|
1640
|
+
setName(e) { this._undoModel.lineToolsGroupController().setGroupName(this._group, e); }
|
|
1641
|
+
isCopiable() { return !1; }
|
|
1642
|
+
isClonable() { return !1; }
|
|
1643
|
+
zOrder() { return this._group.lineTools().length > 0 && (this._lastActualZOrder = this._group.lineTools()[0].zorder()), this._lastActualZOrder; }
|
|
1644
|
+
remove() { this._undoModel.lineToolsGroupController().removeGroup(this._group); }
|
|
1645
|
+
canBeAddedToSelection() { const e = this._undoModel.model(); return this._lineTools.every(t => e.selection().canBeAddedToSelection(t)); }
|
|
1646
|
+
setAsSelection() { this._undoModel.model().selectionMacro(e => { e.clearSelection(), this._lineTools.forEach(t => e.addSourceToSelection(t)); }); }
|
|
1647
|
+
addToSelection() { this._undoModel.model().selectionMacro(e => { this._lineTools.forEach(t => e.addSourceToSelection(t)); }); }
|
|
1648
|
+
addSourcesToArray(e) { return e.push(...this._lineTools), e; }
|
|
1649
|
+
detachFromParent() { }
|
|
1650
|
+
insertSourcesBeforeThis(e) { const t = this._insertBeforeTarget(); this._insertSources(e, e => this._undoModel.insertBefore(e, t)); }
|
|
1651
|
+
insertSourcesAfterThis(e) { const t = this._insertAfterTarget(); this._insertSources(e, e => this._undoModel.insertAfter(e, t)); }
|
|
1652
|
+
childrenIds() { const e = [...this._lineTools]; return e.sort((e, t) => t.zorder() - e.zorder()), new Set(e.map(e => e.id())); }
|
|
1653
|
+
hasChildren() { return !0; }
|
|
1654
|
+
pane() { return Object(D.ensureDefined)(this._undoModel.model().panes().find(e => e.id() === this._paneId)); }
|
|
1655
|
+
allowsMovingbetweenPanes() { return !1; }
|
|
1656
|
+
canBeAddedToGroup() { return !1; }
|
|
1657
|
+
canInsertBeforeThis(e) { return this._canInsertBeforeOrAfter(e); }
|
|
1658
|
+
canInsertAfterThis(e) { return this._canInsertBeforeOrAfter(e); }
|
|
1659
|
+
canBeSyncedInLayout() { return this._lineTools.length > 0 && this._lineTools[0].isSynchronizable(); }
|
|
1660
|
+
onSyncStateChanged() { return this._syncStateChanged; }
|
|
1661
|
+
setDrawingSyncState(e) { if (!this.canBeSyncedInLayout())
|
|
1662
|
+
return; const t = this._lineTools[0]; switch (e) {
|
|
1663
|
+
case 0:
|
|
1664
|
+
if (null === t.linkKey().value())
|
|
1665
|
+
return;
|
|
1666
|
+
this._undoModel.unlinkLines([t]);
|
|
1667
|
+
break;
|
|
1668
|
+
case 1:
|
|
1669
|
+
if (null !== t.linkKey().value())
|
|
1670
|
+
return;
|
|
1671
|
+
this._undoModel.copyToOtherCharts([t]);
|
|
1672
|
+
} }
|
|
1673
|
+
getDrawingSyncState() { if (!this.canBeSyncedInLayout())
|
|
1674
|
+
return null; return null !== this._lineTools[0].linkKey().value() ? 1 : 0; }
|
|
1675
|
+
_linkKeyChanged() { this._syncStateChanged.fire(Object(D.ensureNotNull)(this.getDrawingSyncState())); }
|
|
1676
|
+
_canInsertBeforeOrAfter(e) { return fi(this.pane(), e); }
|
|
1677
|
+
_insertSources(e, t) { this._undoModel.beginUndoMacro("Insert source(s) after"); const n = e.reduce((e, t) => t.addSourcesToArray(e), []); e.forEach(e => e.detachFromParent()), t(n), this._undoModel.endUndoMacro(); }
|
|
1678
|
+
_insertBeforeTarget() {
|
|
1679
|
+
return Object(D.ensureNotNull)(this._lineTools.reduce((e, t) => null === e ? t : e.zorder() < t.zorder() ? e : t, null));
|
|
1680
|
+
}
|
|
1681
|
+
_insertAfterTarget() { return Object(D.ensureNotNull)(this._lineTools.reduce((e, t) => null === e ? t : e.zorder() > t.zorder() ? e : t, null)); }
|
|
1682
|
+
_unsubscribeFromAllLineTools() { this._lineTools.forEach(e => { e.properties().visible.listeners().unsubscribeAll(this), e.properties().frozen.listeners().unsubscribeAll(this), e.onIsActualIntervalChange().unsubscribeAll(this); }), this._lineTools.length > 0 && this._lineTools[0].linkKey().unsubscribe(this._linkKeyChangedBound); }
|
|
1683
|
+
}
|
|
1684
|
+
class mi {
|
|
1685
|
+
constructor(e) { this._hoveredObjectChanged = new Yo.a, this._entitiesCache = new Map, this._undoModel = e, this._undoModel.model().hoveredSourceChanged().subscribe(this, this._onModelHoveredSourceChanged); }
|
|
1686
|
+
destroy() { for (const e of this._entitiesCache.values())
|
|
1687
|
+
null == e || e.destroy(); }
|
|
1688
|
+
getObjectById(e) { if (this._entitiesCache.has(e))
|
|
1689
|
+
return Object(D.ensureDefined)(this._entitiesCache.get(e)); const t = this._createObjectById(e); return this._entitiesCache.set(e, t), t; }
|
|
1690
|
+
invalidateCache(e) { Array.from(this._entitiesCache.keys()).forEach(t => { var n; e.has(t) || (null === (n = this._entitiesCache.get(t)) || void 0 === n || n.destroy(), this._entitiesCache.delete(t)); }); }
|
|
1691
|
+
canBeGroupped(e) { if (0 === e.length || 1 === e.length && e[0].hasChildren())
|
|
1692
|
+
return !1; const t = []; if (e.forEach(e => e.addSourcesToArray(t)), t.some(e => !Object(ti.isLineTool)(e)))
|
|
1693
|
+
return !1; const n = this._undoModel.model(), r = t.map(e => n.paneForSource(e)); return new Set(r).size < 2; }
|
|
1694
|
+
contextMenuActions(e, t, n) { const r = new oi.ActionsProvider(e, n), o = []; return t.forEach(e => e.addSourcesToArray(o)), r.contextMenuActionsForSources(o); }
|
|
1695
|
+
insertBefore(e, t) { t.insertSourcesAfterThis(e); }
|
|
1696
|
+
insertAfter(e, t) { t.insertSourcesBeforeThis(e); }
|
|
1697
|
+
setHoveredObject(e) { const t = this._undoModel.model(); if (null === e)
|
|
1698
|
+
return void t.setHoveredSource(null, null); const n = t.dataSourceForId(e); null !== n && t.setHoveredSource(n, null); }
|
|
1699
|
+
hoveredObjectId() { return pi(this._undoModel.model().hoveredSource()); }
|
|
1700
|
+
hoveredObjectChanged() { return this._hoveredObjectChanged; }
|
|
1701
|
+
_onModelHoveredSourceChanged(e) { this._hoveredObjectChanged.fire(pi(e)); }
|
|
1702
|
+
_createObjectById(e) { const t = function (e) { return 2 === e.split(":").length; }(e) ? function (e) { const t = e.split(":"); return { persistentId: t[0], instanceId: t[1] }; }(e).persistentId : e, n = this._undoModel.model(), r = n.dataSourceForId(t); if (null !== r)
|
|
1703
|
+
return new vi(this._undoModel, r); const o = n.lineToolsGroupModel().groupForId(t); return null !== o ? new bi(this._undoModel, o) : null; }
|
|
1704
|
+
}
|
|
1705
|
+
var yi = n("7ktv"), Oi = n("7KDR"), Si = n("zRdu"), wi = n("hY0g"), _i = n.n(wi), Ci = n("fs3R"), Ti = n("qckB"), Ei = n("dmHa"), Di = n("ffaL"), ji = n("GjMU"), Ii = n("aVjL");
|
|
1706
|
+
const ki = Object(l.getLogger)("Platform.GUI.ObjectTree");
|
|
1707
|
+
function Mi(e) { return e instanceof yi.PriceDataSource; }
|
|
1708
|
+
class xi {
|
|
1709
|
+
constructor(e) {
|
|
1710
|
+
this._nodes = {}, this._onChange = new Yo.a, this._onGroupCreated = new Yo.a, this._subscriptions = [], this._removeSourcesPromise = null, this._timeout = null, this._objects = [], this._options = { general: !0, mainSeries: !0, mainSeriesTrade: !0, esdStudies: !0, fundamentals: !0, studies: !0, lineTools: !0, publishedCharts: !0, ordersAndPositions: !0, alerts: !1, chartEvents: !0, objectTree: !1, gotoLineTool: !0 },
|
|
1711
|
+
this._isContextMenuOpened = new _i.a(!1), this._getObjectsToModify = e => { const t = this.selection().selected(); return t.find(t => t === e) ? t.map(this._ensuredEntity) : [this._ensuredEntity(e)]; }, this._onActiveChartChanged = () => { this._cleanup(), this._init(); }, this._cleanup = () => { null !== this._timeout && (clearTimeout(this._timeout), this._timeout = null), this._subscriptions.forEach(e => { e.unsubscribeAll(this); }), this._selection.destroy(), this._chart.unsubscribe(this._onActiveChartChanged), null !== this._removeSourcesPromise && this._removeSourcesPromise.cancel(), this._facade.destroy(); }, this._init = () => { this._controller = this._chart.value().model(), this._groupController = this._controller.lineToolsGroupController(), this._model = this._controller.model(), this._groupModel = this._model.lineToolsGroupModel(), this._facade = new mi(this._controller), this._subscriptions = [this._model.mainSeries().onStyleChanged(), this._model.mainSeries().dataEvents().symbolResolved(), this._model.mainSeries().onIntervalChanged(), this._model.panesCollectionChanged(), this._model.dataSourceCollectionChanged(), this._groupModel.onChanged()], this._subscriptions.forEach(e => { e.subscribe(this, this._update); }), this._chart.subscribe(this._onActiveChartChanged), this._selection = new Qo(this._model), this._update(); }, this._update = () => { null === this._timeout && (this._timeout = setTimeout(() => { this._recalculateTree(), this._onChange.fire(), this._timeout = null; })); }, this._ensuredEntity = e => Object(D.ensureNotNull)(this._getEntityById(e)), this._chart = e, this._init();
|
|
1712
|
+
}
|
|
1713
|
+
destroy() { this._cleanup(); }
|
|
1714
|
+
getState() { return { nodes: Object.values(this._nodes), selection: this._selection.selected() }; }
|
|
1715
|
+
getChartId() { return this._chart.value().id(); }
|
|
1716
|
+
insertSelection(e, t) { const n = this._facade, r = this.selection().selected().map(this._ensuredEntity), [o, i] = this._normalizeTargetAndDropType(e, t); this._controller.withMacro(Object(y.t)("Move objects"), () => { switch (i) {
|
|
1717
|
+
case "before":
|
|
1718
|
+
n.insertBefore(r, o);
|
|
1719
|
+
break;
|
|
1720
|
+
case "after": n.insertAfter(r, o);
|
|
1721
|
+
} }), this._update(); }
|
|
1722
|
+
entity(e) { return this._facade.getObjectById(e); }
|
|
1723
|
+
isMain(e) { return e.id() === this._controller.mainSeries().id(); }
|
|
1724
|
+
selection() { return this._selection; }
|
|
1725
|
+
setIsLocked(e, t) { const n = this._getObjectsToModify(e), r = (t ? Object(y.t)("Lock") : Object(y.t)("Unlock")) + " " + Object(y.t)("objects"); this._controller.withMacro(r, () => { for (const e of n)
|
|
1726
|
+
e.setLocked(t); }), fo("Lock", po(n)); }
|
|
1727
|
+
setIsVisible(e, t) { const n = this._getObjectsToModify(e), r = (t ? Object(y.t)("Show") : Object(y.t)("Hide")) + " " + Object(y.t)("objects"); this._controller.withMacro(r, () => { for (const e of n)
|
|
1728
|
+
e.setVisible(t); }), fo("Hide", po(n)); }
|
|
1729
|
+
remove(e) { const t = () => { this._controller.withMacro(Object(y.t)("Remove objects"), () => { for (const e of n)
|
|
1730
|
+
e.remove(); }), fo("Delete", po(n)), this._update(); }, n = this._getObjectsToModify(e); t(); }
|
|
1731
|
+
canSelectionBeGrouped() { const e = this._getSelectedEntities(); return this._facade.canBeGroupped(e); }
|
|
1732
|
+
createGroupFromSelection() { const e = this._groupController.createGroupFromSelection(); fo("Create Group"); const t = Zo(e.id, e.instanceId); this.selection().set([this._ensuredEntity(t)]), this._onGroupCreated.fire(t), this._update(); }
|
|
1733
|
+
isSelectionDropable(e, t) {
|
|
1734
|
+
const n = this.selection().selected().map(this._ensuredEntity), [r, o] = this._normalizeTargetAndDropType(e, t);
|
|
1735
|
+
switch (o) {
|
|
1736
|
+
case "after": return r.canInsertAfterThis(n);
|
|
1737
|
+
case "before": return r.canInsertBeforeThis(n);
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
onChange() { return this._onChange; }
|
|
1741
|
+
onGroupCreated() { return this._onGroupCreated; }
|
|
1742
|
+
isSelectionCloneable() { const e = this._getSelectedEntities(); return e.length > 0 && e.every(e => e.isClonable()); }
|
|
1743
|
+
isSelectionCopiable() { const e = this._getSelectedEntities(); return e.length > 0 && e.every(e => e.isCopiable()); }
|
|
1744
|
+
openProperties(e) { const t = this._model.dataSourceForId(e.id()); this.selection().set([e]), null !== t && (this._controller.mainSeries() === t ? this._chart.value().showGeneralChartProperties() : (Object(ti.isLineTool)(t) || Object(ni.isStudy)(t)) && this._chart.value().showChartPropertiesForSource(t)); }
|
|
1745
|
+
canSelectionBeUnmerged() { const e = this._getSelectedEntities(); return 1 === e.length && this.canNodeWithIdBeUnmerged(e[0].id()); }
|
|
1746
|
+
canNodeWithIdBeUnmerged(e) { const t = this._model.dataSourceForId(e); return null !== t && Mi(t) && this._model.isUnmergeAvailableForSource(t); }
|
|
1747
|
+
unmergeSelectionUp() { this._unmergeSelection(0); }
|
|
1748
|
+
unmergeSelectionDown() { this._unmergeSelection(1); }
|
|
1749
|
+
copySelection() { const e = this._getSelectedEntities(), t = e.map(e => Object(D.ensureNotNull)(this._model.dataSourceForId(e.id()))); this._chart.value().chartWidgetCollection().clipboard.uiRequestCopy(t), fo("Copy", po(e)); }
|
|
1750
|
+
cloneSelection() { const e = this._getSelectedEntities(), t = e.map(e => Object(D.ensureNotNull)(this._model.dataSourceForId(e.id()))); t.every(ti.isLineTool) && (this._controller.cloneLineTools([...t], !1), fo("Clone", po(e))); }
|
|
1751
|
+
rename(e, t) { const n = this._getObjectsToModify(e.id()); 1 === n.length && n.some(e => e.canBeRenamed()) && (t(), fo("Rename", po(n))); }
|
|
1752
|
+
openContextMenu(e, t, n) {
|
|
1753
|
+
return __awaiter(this, void 0, void 0, function* () { this._objects = this._getObjectsToModify(e.id()); const r = this._facade.canBeGroupped(this._objects); let o; if (this._objects.some(e => e.hasChildren()))
|
|
1754
|
+
o = this._getActionsForGroupItem(e, t, r);
|
|
1755
|
+
else {
|
|
1756
|
+
const e = yield this._facade.contextMenuActions(this._chart.value(), this._objects, this._options);
|
|
1757
|
+
if (o = Array.from(e).filter((e, t, n) => e.type !== Si.a.Separator || !n[t + 1] || n[t + 1].type !== Si.a.Separator), 1 === this._objects.length && this._objects[0].canBeRenamed()) {
|
|
1758
|
+
const e = o.findIndex(e => "Copy" === e.id);
|
|
1759
|
+
o.splice(-1 === e ? o.length : e + 1, 0, this._getRenameAction(t));
|
|
1760
|
+
}
|
|
1761
|
+
if (r) {
|
|
1762
|
+
const e = o.findIndex(e => "Clone" === e.id);
|
|
1763
|
+
o.splice(-1 === e ? 0 : e, 0, this._getGroupAction());
|
|
1764
|
+
}
|
|
1765
|
+
} o.length > 0 && (this._chart.value().updateActions(), So.ContextMenuManager.createMenu(o, { takeFocus: !0, returnFocus: !0 }, () => { this._isContextMenuOpened.setValue(!1); }).then(e => { e.show(n), this._isContextMenuOpened.setValue(!0); })); });
|
|
1766
|
+
}
|
|
1767
|
+
setHoveredObject(e) { this._facade.setHoveredObject(e); }
|
|
1768
|
+
hoveredObjectChanged() { return this._facade.hoveredObjectChanged(); }
|
|
1769
|
+
getNextNodeIdAfterRemove(e) {
|
|
1770
|
+
var t;
|
|
1771
|
+
const { nodes: n } = this.getState(), r = n.find(t => t.id === e), o = this.entity(e);
|
|
1772
|
+
if (!(r && r.parentId && o && o.canBeRemoved()))
|
|
1773
|
+
return null;
|
|
1774
|
+
if ((null === (t = o.pane().mainDataSource()) || void 0 === t ? void 0 : t.id()) === e && !this.canNodeWithIdBeUnmerged(e)) {
|
|
1775
|
+
const e = n.filter(e => 0 === e.level).map(e => e.id), t = this._takeNextOrPrevElement(e, r.parentId);
|
|
1776
|
+
return Object(D.ensureDefined)(n.find(e => e.id === t)).children[0];
|
|
1777
|
+
}
|
|
1778
|
+
const i = Object(D.ensureDefined)(n.find(e => e.id === r.parentId)).children;
|
|
1779
|
+
return 1 === i.length ? this.getNextNodeIdAfterRemove(r.parentId) : this._takeNextOrPrevElement(i, e);
|
|
1780
|
+
}
|
|
1781
|
+
isContextMenuOpened() { return this._isContextMenuOpened.readonly(); }
|
|
1782
|
+
_takeNextOrPrevElement(e, t) { const n = e.indexOf(t); return e[n === e.length - 1 ? n - 1 : n + 1]; }
|
|
1783
|
+
_getGroupAction() { return new Oi.Action({ label: Object(y.t)("Create a group of drawings"), icon: B, onExecute: () => { this.createGroupFromSelection(); } }); }
|
|
1784
|
+
_getRenameAction(e) { return new Oi.Action({ label: Object(y.t)("Rename"), icon: ji, onExecute: () => { e(), fo("Context menu rename", po(this._objects)); } }); }
|
|
1785
|
+
_getActionsForGroupItem(e, t, n) { const r = [new Oi.Action({ label: e.isLocked() ? Object(y.t)("Unlock") : Object(y.t)("Lock"), icon: e.isLocked() ? Ci : Ti, onExecute: () => this.setIsLocked(e.id(), !e.isLocked()) }), new Oi.Action({ label: e.isVisible() ? Object(y.t)("Hide") : Object(y.t)("Show"), icon: e.isVisible() ? Ei : Di, onExecute: () => this.setIsVisible(e.id(), !e.isVisible()) }), new Oi.Action({ label: Object(y.t)("Remove"), icon: Ii, onExecute: () => this.remove(e.id()), hotkeyHash: pr.isMacKeyboard ? 8 : 46 })]; return 1 === this._objects.length && (r.unshift(new Oi.Separator), r.unshift(this._getRenameAction(t))), n && (r.unshift(new Oi.Separator), r.unshift(this._getGroupAction())), r; }
|
|
1786
|
+
_unmergeSelection(e) { const t = this._getSelectedEntities(); if (1 !== t.length)
|
|
1787
|
+
throw new Error("Only one object can be unmerged"); const n = t[0], r = Object(D.ensureNotNull)(this._model.dataSourceForId(n.id())); if (!Mi(r))
|
|
1788
|
+
throw new Error("Entity is not IPriceDataSource"); (0 === e ? this._controller.unmergeSourceUp : this._controller.unmergeSourceDown).call(this._controller, r); fo(0 === e ? "New pane above" : "New pane below", po([n])); }
|
|
1789
|
+
_recalculateTree() { const e = new $o(this._controller, this._facade); this._nodes = e.buildTree(); }
|
|
1790
|
+
_normalizeTargetAndDropType(e, t) { let n = this._ensuredEntity(e); return "inside" === t && (t = "before", n = Object(D.ensureNotNull)(this.entity([...n.childrenIds()].shift() || ""))), [n, t]; }
|
|
1791
|
+
_getSelectedEntities() { const { selected: e, removed: t } = this._selection.selected().reduce((e, t) => { const n = this._getEntityById(t); return n ? (e.selected.push(n), e) : (e.removed.push(t), e); }, { selected: [], removed: [] }); return t.length && ki.logWarn("Detected dangling sources in selection. They will be ignored: " + JSON.stringify(t)), e; }
|
|
1792
|
+
_getEntityById(e) { return this._facade.getObjectById(e); }
|
|
1793
|
+
}
|
|
1794
|
+
var Ni = n("sQaR");
|
|
1795
|
+
n.d(t, "ObjectTreeDialogRenderer", (function () { return Pi; }));
|
|
1796
|
+
class Pi extends Ni.a {
|
|
1797
|
+
constructor() { super(), this._handleClose = () => { s.unmountComponentAtNode(this._container), this._setVisibility(!1), null !== this._viewModel && (this._viewModel.destroy(), this._viewModel = null); }; const e = Object(Ko.service)(Wo.CHART_WIDGET_COLLECTION_SERVICE); this._activeChartWidget = e.activeChartWidget.value(), this._viewModel = new xi(e.activeChartWidget); }
|
|
1798
|
+
hide() { this._handleClose(); }
|
|
1799
|
+
isVisible() { return this.visible().value(); }
|
|
1800
|
+
show() {
|
|
1801
|
+
g().then(() => {
|
|
1802
|
+
null !== this._viewModel && (s.render(o.createElement(Go, { onClose: this._handleClose, viewModel: this._viewModel, activeChartWidget: this._activeChartWidget }), this._container),
|
|
1803
|
+
this._setVisibility(!0));
|
|
1804
|
+
});
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
}, zn4F: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M2.448 10.124a10.82 10.82 0 0 1-.336-.609L2.105 9.5l.007-.015a12.159 12.159 0 0 1 1.686-2.466C5.002 5.665 6.752 4.373 9.05 4.373c2.297 0 4.047 1.292 5.25 2.646a12.166 12.166 0 0 1 1.687 2.466l.007.015-.007.015a12.163 12.163 0 0 1-1.686 2.466c-1.204 1.354-2.954 2.646-5.251 2.646-2.298 0-4.048-1.292-5.252-2.646a12.16 12.16 0 0 1-1.35-1.857zm14.558-.827l-.456.203.456.203v.002l-.003.005-.006.015-.025.052a11.813 11.813 0 0 1-.461.857 13.163 13.163 0 0 1-1.463 2.011c-1.296 1.46-3.296 2.982-5.998 2.982-2.703 0-4.703-1.522-6-2.982a13.162 13.162 0 0 1-1.83-2.677 7.883 7.883 0 0 1-.118-.243l-.007-.015-.002-.005v-.001l.456-.204-.456-.203v-.002l.002-.005.007-.015a4.66 4.66 0 0 1 .119-.243 13.158 13.158 0 0 1 1.83-2.677c1.296-1.46 3.296-2.982 5.999-2.982 2.702 0 4.702 1.522 5.998 2.981a13.158 13.158 0 0 1 1.83 2.678 8.097 8.097 0 0 1 .119.243l.006.015.003.005v.001zm-.456.203l.456-.203.09.203-.09.203-.456-.203zM1.092 9.297l.457.203-.457.203-.09-.203.09-.203zm9.958.203c0 1.164-.917 2.07-2 2.07-1.084 0-2-.906-2-2.07 0-1.164.916-2.07 2-2.07 1.083 0 2 .906 2 2.07zm1 0c0 1.695-1.344 3.07-3 3.07-1.657 0-3-1.375-3-3.07 0-1.695 1.343-3.07 3-3.07 1.656 0 3 1.375 3 3.07z"/></svg>'; }, zztK: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="none"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>'; } }]);
|