binbot-charts 0.0.1 → 0.0.4
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/README.md +5 -7
- package/babel.config.json +18 -0
- package/dist/TVChartContainer.js +85 -0
- package/dist/ar-tv-chart.f0bc1e45.html +1 -0
- package/dist/bundles/0.d46f0b5e9380d7893de5.js +334 -0
- package/dist/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
- package/{public/put-charting-library-here → dist/bundles/1.92647ec0a7beb8b2898d.css} +0 -0
- package/{public/put-datafeeds-here → dist/bundles/1.92647ec0a7beb8b2898d.rtl.css} +0 -0
- package/dist/bundles/1.f02c87d35fbc8ffcaedb.js +3 -0
- package/dist/bundles/10.21e665b7935d5bc4ba64.js +807 -0
- package/dist/bundles/11.8b65dc2e0d8b6e5041c4.css +1 -0
- package/dist/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +1 -0
- package/dist/bundles/11.df012db70159a159d927.js +3 -0
- package/dist/bundles/12.37750b21f6d8d35c6e6e.js +3 -0
- package/dist/bundles/12.ef8057448f3a7ae1c3d8.css +1 -0
- package/dist/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +1 -0
- package/dist/bundles/13.699469c73d09b7add56d.js +3 -0
- package/dist/bundles/13.9240f13280154f2593b7.css +1 -0
- package/dist/bundles/13.9240f13280154f2593b7.rtl.css +1 -0
- package/dist/bundles/14.8095b40dd1e7deedf401.css +1 -0
- package/dist/bundles/14.8095b40dd1e7deedf401.rtl.css +1 -0
- package/dist/bundles/14.d1148b38d59df9ca5061.js +3 -0
- package/dist/bundles/15.44f2acca80348a1da1a6.js +526 -0
- package/dist/bundles/16.680572949c1125757d35.js +3 -0
- package/dist/bundles/16.d567c9db608f3d98d8de.css +1 -0
- package/dist/bundles/16.d567c9db608f3d98d8de.rtl.css +1 -0
- package/dist/bundles/17.404a01f527881dfff424.js +3 -0
- package/dist/bundles/17.ec35a19db935279c5b42.css +1 -0
- package/dist/bundles/17.ec35a19db935279c5b42.rtl.css +1 -0
- package/dist/bundles/18.78de69cfba051874e071.js +569 -0
- package/dist/bundles/19.048f7f5d36fef428ca8d.js +3 -0
- package/dist/bundles/19.75c30426f9d3ad5ca0c5.css +1 -0
- package/dist/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +1 -0
- package/dist/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
- package/dist/bundles/2.60931787a6734697ac13.js +507 -0
- package/dist/bundles/20.bc09ed47c5a62e1bc5c2.js +540 -0
- package/dist/bundles/21.4c7b5cccb67a95e7e782.js +3 -0
- package/dist/bundles/21.8153544955cdc47262e3.css +1 -0
- package/dist/bundles/21.8153544955cdc47262e3.rtl.css +1 -0
- package/dist/bundles/22.ca4300bcf614d8d5f4ab.js +3 -0
- package/dist/bundles/22.da9773799a06c6066d1e.css +1 -0
- package/dist/bundles/22.da9773799a06c6066d1e.rtl.css +1 -0
- package/dist/bundles/23.256ba98e6a03200bdeba.js +3 -0
- package/dist/bundles/23.ee754f50171546186397.css +1 -0
- package/dist/bundles/23.ee754f50171546186397.rtl.css +1 -0
- package/dist/bundles/24.bc4fafedb1730259aa10.js +3 -0
- package/dist/bundles/24.e70c1623e0c74477ef2e.css +1 -0
- package/dist/bundles/24.e70c1623e0c74477ef2e.rtl.css +1 -0
- package/dist/bundles/25.7416db26ed3dcc87c05a.js +2731 -0
- package/dist/bundles/26.3aeec391d4e6e19989ee.js +3 -0
- package/dist/bundles/26.69139a843bc1c84f790b.css +1 -0
- package/dist/bundles/26.69139a843bc1c84f790b.rtl.css +1 -0
- package/dist/bundles/27.e3ec08b1fb9df5f36ada.js +477 -0
- package/dist/bundles/28.3140e8cb507ad2593c76.css +1 -0
- package/dist/bundles/28.3140e8cb507ad2593c76.rtl.css +1 -0
- package/dist/bundles/28.9f103042c27ea2df422f.js +3 -0
- package/dist/bundles/29.07af6dca962ea27209f0.css +1 -0
- package/dist/bundles/29.07af6dca962ea27209f0.rtl.css +1 -0
- package/dist/bundles/29.3df8712b85d45a626aa0.js +3 -0
- package/dist/bundles/3.76c398b01b707e5b251c.js +3 -0
- package/dist/bundles/3.eeb90413029441681f91.css +1 -0
- package/dist/bundles/3.eeb90413029441681f91.rtl.css +1 -0
- package/dist/bundles/30.0b732ccb122d160480b6.js +1244 -0
- package/dist/bundles/31.8d2b7a538755fd1bb760.js +935 -0
- package/dist/bundles/32.13ce02217cf8f9dd6d90.js +636 -0
- package/dist/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
- package/dist/bundles/33.02ed7df481ae8243d2f2.css +1 -0
- package/dist/bundles/33.02ed7df481ae8243d2f2.rtl.css +1 -0
- package/dist/bundles/33.4d0dd1f7001fc02099bb.js +3 -0
- package/dist/bundles/34.4b6099931f57311efc1a.css +1 -0
- package/dist/bundles/34.4b6099931f57311efc1a.rtl.css +1 -0
- package/dist/bundles/34.c9baa59add71a1e48fd2.js +3 -0
- package/dist/bundles/35.999f0e072062b7369a1a.css +1 -0
- package/dist/bundles/35.999f0e072062b7369a1a.rtl.css +1 -0
- package/dist/bundles/35.ed9e360f9686ad3a9497.js +3 -0
- package/dist/bundles/36.1882d1a8d312a0e193e9.js +3 -0
- package/dist/bundles/36.f315a19c17d5636af8f7.css +1 -0
- package/dist/bundles/36.f315a19c17d5636af8f7.rtl.css +1 -0
- package/dist/bundles/37.90129e4904155350d6a1.js +1288 -0
- package/dist/bundles/38.41f3d509b61c8af47de3.js +502 -0
- package/dist/bundles/39.74a7bc3b464cd284827f.css +1 -0
- package/dist/bundles/39.74a7bc3b464cd284827f.rtl.css +1 -0
- package/dist/bundles/39.bc1e9ce938fd5152831f.js +3 -0
- package/dist/bundles/4.92647ec0a7beb8b2898d.css +0 -0
- package/dist/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/dist/bundles/4.c7430b8d89cddcf51345.js +3 -0
- package/dist/bundles/40.b59f41ba4cacbfb8acc3.js +255 -0
- package/dist/bundles/40566afd832a155e5e370a8bd423de4b.svg +1 -0
- package/dist/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
- package/dist/bundles/41.8fa0fb0bd4ad0241ef2f.css +1 -0
- package/dist/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +1 -0
- package/dist/bundles/41.a19b0ae5d68f855d2753.js +3 -0
- package/dist/bundles/42.494986b0981f6d116fef.js +3 -0
- package/dist/bundles/42.9078fb8f1629e3eee9bd.css +1 -0
- package/dist/bundles/42.9078fb8f1629e3eee9bd.rtl.css +1 -0
- package/dist/bundles/43.619c5ed4a592cc2965a4.js +3 -0
- package/dist/bundles/43.8bf90585004742c338c5.css +1 -0
- package/dist/bundles/43.8bf90585004742c338c5.rtl.css +1 -0
- package/dist/bundles/44.0a7df307e4f397763ce8.js +3474 -0
- package/dist/bundles/45.12a19785e3864bd62a76.css +1 -0
- package/dist/bundles/45.12a19785e3864bd62a76.rtl.css +1 -0
- package/dist/bundles/45.db9dbd3e9bfeca5333da.js +3 -0
- package/dist/bundles/46.f1d4cfe6d6f830b4a011.js +495 -0
- package/dist/bundles/47.a3da3f774c90bd22798e.js +555 -0
- package/dist/bundles/48.a3fdb9dd54af71b3bda6.css +1 -0
- package/dist/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +1 -0
- package/dist/bundles/48.a93f9cb8b1bcc0e0f21e.js +3 -0
- package/dist/bundles/49.bacd609f7eb77a4a4b68.js +3 -0
- package/dist/bundles/49.d723843c9192493b8c13.css +1 -0
- package/dist/bundles/49.d723843c9192493b8c13.rtl.css +1 -0
- package/dist/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
- package/dist/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
- package/dist/bundles/5.5e97b270ab80d99e9085.js +335 -0
- package/dist/bundles/50.8d5cba5b90176d3d2e3d.css +1 -0
- package/dist/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +1 -0
- package/dist/bundles/50.b282667dddcb7fe1569a.js +3 -0
- package/dist/bundles/51.11871c50951db825ace3.js +3 -0
- package/dist/bundles/51.300c3df03ca063ec03a0.css +1 -0
- package/dist/bundles/51.300c3df03ca063ec03a0.rtl.css +1 -0
- package/dist/bundles/52.0379a85baae3ab43b15c.js +3 -0
- package/dist/bundles/52.29cec22b3525b47af67e.css +1 -0
- package/dist/bundles/52.29cec22b3525b47af67e.rtl.css +1 -0
- package/dist/bundles/53.1d3ec98cfb8e19affb1c.js +808 -0
- package/dist/bundles/54.bb5888ae55ea0a253a5b.js +1083 -0
- package/dist/bundles/55.3c35a629db21ab961f11.js +1733 -0
- package/dist/bundles/56.b3e69145c0fee614443d.js +723 -0
- package/dist/bundles/57.236996ec416da4c1f683.js +473 -0
- package/dist/bundles/58.7ffac4ba908b95705e63.js +410 -0
- package/dist/bundles/59.397cb6699b74d64072a8.js +3 -0
- package/dist/bundles/59.418f1db161eefae63284.css +1 -0
- package/dist/bundles/59.418f1db161eefae63284.rtl.css +1 -0
- package/dist/bundles/6.2221bb6a5d920bbb4bb2.css +1 -0
- package/dist/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +1 -0
- package/dist/bundles/6.2d67b0ae77825dbd455d.js +3 -0
- package/dist/bundles/60.6b5eced2ef8fa856be88.js +3 -0
- package/dist/bundles/60.d4583c71cca790a25900.css +1 -0
- package/dist/bundles/60.d4583c71cca790a25900.rtl.css +1 -0
- package/dist/bundles/61.38a3040c925fadff7b64.js +743 -0
- package/dist/bundles/62.63b309f5f8da9ca013b8.js +309 -0
- package/dist/bundles/63.8255c7f5191bcafcee7c.js +3 -0
- package/dist/bundles/63.898a61bf08239711dc74.css +1 -0
- package/dist/bundles/63.898a61bf08239711dc74.rtl.css +1 -0
- package/dist/bundles/64.6f232bdb0fb4cdcc2d7d.css +1 -0
- package/dist/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +1 -0
- package/dist/bundles/64.ec4b4d03b28c77658dde.js +3 -0
- package/dist/bundles/65.556980fc277562af83c8.css +1 -0
- package/dist/bundles/65.556980fc277562af83c8.rtl.css +1 -0
- package/dist/bundles/65.f895a78b4e04257983ff.js +3 -0
- package/dist/bundles/66.2979e9b7c35e7bf03a37.js +3 -0
- package/dist/bundles/66.84b4001b5c622a569dde.css +1 -0
- package/dist/bundles/66.84b4001b5c622a569dde.rtl.css +1 -0
- package/dist/bundles/67.19c83a0c303c290216d2.css +1 -0
- package/dist/bundles/67.19c83a0c303c290216d2.rtl.css +1 -0
- package/dist/bundles/67.25fd4b78c8c514988aeb.js +3 -0
- package/dist/bundles/68.8b4124c875484d11fd94.js +3 -0
- package/dist/bundles/68.fa7424ae9c5fe5483aac.css +1 -0
- package/dist/bundles/68.fa7424ae9c5fe5483aac.rtl.css +1 -0
- package/dist/bundles/69.094b4a764d3dc17820cf.css +1 -0
- package/dist/bundles/69.094b4a764d3dc17820cf.rtl.css +1 -0
- package/dist/bundles/69.43756a5c7477730eb0c4.js +3 -0
- package/dist/bundles/7.2c7c4f8a49c6380227de.js +315 -0
- package/dist/bundles/70.c27146ec029eda556108.css +1 -0
- package/dist/bundles/70.c27146ec029eda556108.rtl.css +1 -0
- package/dist/bundles/70.cb9d1bb5a00896c1bb97.js +3 -0
- package/dist/bundles/71.15e639d294c4209f256e.css +1 -0
- package/dist/bundles/71.15e639d294c4209f256e.rtl.css +1 -0
- package/dist/bundles/71.6a9d0842f5e48f68399c.js +3 -0
- package/dist/bundles/72.07441fd67b864b86147b.css +1 -0
- package/dist/bundles/72.07441fd67b864b86147b.rtl.css +1 -0
- package/dist/bundles/72.e3925aaf38d2c8997638.js +3 -0
- package/dist/bundles/73.6b8b9e5e2c8e2b753cb8.css +1 -0
- package/dist/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +1 -0
- package/dist/bundles/73.8ca1a096c5bdc2e5fb8a.js +3 -0
- package/dist/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
- package/dist/bundles/74.34dcc0d3cd1bbfa5e951.js +3 -0
- package/dist/bundles/74.8c591c252b2e7ad8f744.css +1 -0
- package/dist/bundles/74.8c591c252b2e7ad8f744.rtl.css +1 -0
- package/dist/bundles/75.1c9a3a6524248ddf88bf.js +3 -0
- package/dist/bundles/75.fefbc386c59bf7d4f9f7.css +1 -0
- package/dist/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +1 -0
- package/dist/bundles/76.5d20bed213399f326603.js +3 -0
- package/dist/bundles/76.f14d71a31295d8cd8d8b.css +1 -0
- package/dist/bundles/76.f14d71a31295d8cd8d8b.rtl.css +1 -0
- package/dist/bundles/77.3e4ccccc7d3eb03c488f.js +3 -0
- package/dist/bundles/77.9c35f7046b848fbfd7f5.css +1 -0
- package/dist/bundles/77.9c35f7046b848fbfd7f5.rtl.css +1 -0
- package/dist/bundles/78.0d502ab4d94441708606.css +1 -0
- package/dist/bundles/78.0d502ab4d94441708606.rtl.css +1 -0
- package/dist/bundles/78.1d1d47a915b06f1496fb.js +3 -0
- package/dist/bundles/79.86e92b77f8cf32e6bc37.js +3 -0
- package/dist/bundles/79.b990749a4839f9123f26.css +1 -0
- package/dist/bundles/79.b990749a4839f9123f26.rtl.css +1 -0
- package/dist/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
- package/dist/bundles/8.e66ab8f27911a033604f.css +1 -0
- package/dist/bundles/8.e66ab8f27911a033604f.rtl.css +1 -0
- package/dist/bundles/8.ffab20b86db484062268.js +3 -0
- package/dist/bundles/80.5bdd53d5fc42d40eee28.css +1 -0
- package/dist/bundles/80.5bdd53d5fc42d40eee28.rtl.css +1 -0
- package/dist/bundles/80.b5bc6acec3b531a510a9.js +3 -0
- package/dist/bundles/81.552e046aa828739c508b.css +1 -0
- package/dist/bundles/81.552e046aa828739c508b.rtl.css +1 -0
- package/dist/bundles/81.e6a1f76017a44b03480b.js +3 -0
- package/dist/bundles/82.8c2919e6c8f54e36e9e6.js +3 -0
- package/dist/bundles/82.e06fe84c8cdead4bd52e.css +1 -0
- package/dist/bundles/82.e06fe84c8cdead4bd52e.rtl.css +1 -0
- package/dist/bundles/83.e238aa056c5d4827cbdd.css +1 -0
- package/dist/bundles/83.e238aa056c5d4827cbdd.rtl.css +1 -0
- package/dist/bundles/83.f3e53bb5a5940e084955.js +3 -0
- package/dist/bundles/84.8acc496b4deeeeefb5af.js +3 -0
- package/dist/bundles/84.bb4fc57627c8626019fd.css +1 -0
- package/dist/bundles/84.bb4fc57627c8626019fd.rtl.css +1 -0
- package/dist/bundles/85.39c78fbeaabae306f343.js +3 -0
- package/dist/bundles/85.e0ba32bafcab02208901.css +1 -0
- package/dist/bundles/85.e0ba32bafcab02208901.rtl.css +1 -0
- package/dist/bundles/86.4bbbb9e6262243419986.js +3 -0
- package/dist/bundles/86.9244fc2bcc2370425a15.css +1 -0
- package/dist/bundles/86.9244fc2bcc2370425a15.rtl.css +1 -0
- package/dist/bundles/87.605cbc508223ec27341c.css +1 -0
- package/dist/bundles/87.605cbc508223ec27341c.rtl.css +1 -0
- package/dist/bundles/87.cf03fa0a76bfcadd157d.js +3 -0
- package/dist/bundles/88.158dd8a18e176936a343.css +1 -0
- package/dist/bundles/88.158dd8a18e176936a343.rtl.css +1 -0
- package/dist/bundles/88.d1e3aec63ece25f6b8a9.js +3 -0
- package/dist/bundles/89.5f142643917701de773b.css +1 -0
- package/dist/bundles/89.5f142643917701de773b.rtl.css +1 -0
- package/dist/bundles/89.d8aa43b4b9378722d572.js +3 -0
- package/dist/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
- package/dist/bundles/9.84ecbc930e51cb26d06a.js +3 -0
- package/dist/bundles/9.8ab09f93a5113a634119.css +1 -0
- package/dist/bundles/9.8ab09f93a5113a634119.rtl.css +1 -0
- package/dist/bundles/90.877114560c4828a97702.css +1 -0
- package/dist/bundles/90.877114560c4828a97702.rtl.css +1 -0
- package/dist/bundles/90.ce47bb68fc3fc88b5590.js +3 -0
- package/dist/bundles/91.2142b248a2bb29549a99.css +1 -0
- package/dist/bundles/91.2142b248a2bb29549a99.rtl.css +1 -0
- package/dist/bundles/91.a9b79ef7ba0a62311a53.js +3 -0
- package/dist/bundles/92.76d5ca7ebec10a1a7a12.js +3 -0
- package/dist/bundles/92.e46f0aa06bcdbddf3831.css +1 -0
- package/dist/bundles/92.e46f0aa06bcdbddf3831.rtl.css +1 -0
- package/dist/bundles/93.17d34ca77a7fc85a24d9.css +1 -0
- package/dist/bundles/93.17d34ca77a7fc85a24d9.rtl.css +1 -0
- package/dist/bundles/93.6de56ef1975f4a31e542.js +3 -0
- package/dist/bundles/94.231bea5fb12b806ef287.js +3 -0
- package/dist/bundles/94.b204218cb73b576333a1.css +1 -0
- package/dist/bundles/94.b204218cb73b576333a1.rtl.css +1 -0
- package/dist/bundles/95.51244d1c4baf49d08807.css +1 -0
- package/dist/bundles/95.51244d1c4baf49d08807.rtl.css +1 -0
- package/dist/bundles/95.6f7da80aac5cf2bf77d6.js +3 -0
- package/dist/bundles/96.43bb935eee30715afff7.js +3 -0
- package/dist/bundles/96.be9ad3d6a7c91501bb55.css +1 -0
- package/dist/bundles/96.be9ad3d6a7c91501bb55.rtl.css +1 -0
- package/dist/bundles/a6506134daec7169f68f563f084a9d41.svg +1 -0
- package/dist/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +1285 -0
- package/dist/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
- package/dist/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +260 -0
- package/dist/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +2205 -0
- package/dist/bundles/chart-event-hint.94e94e93f9fdee936b66.js +367 -0
- package/dist/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +228 -0
- package/dist/bundles/chart-widget-gui.226991e9f53aba124fc2.js +4265 -0
- package/dist/bundles/compare-model.0e6bbdc5f5942c9a716e.js +667 -0
- package/dist/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +432 -0
- package/dist/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +724 -0
- package/dist/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +440 -0
- package/dist/bundles/drawing-toolbar.8cc497633535648562e7.js +1814 -0
- package/dist/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
- package/dist/bundles/export-data.c819cfa996e2815ff11d.js +238 -0
- package/dist/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
- package/dist/bundles/floating-toolbars.d78a058b82ab09013aac.js +2373 -0
- package/dist/bundles/full-tooltips-popup.96fc751e06523b742440.js +423 -0
- package/dist/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +656 -0
- package/dist/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +604 -0
- package/dist/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +2313 -0
- package/dist/bundles/hammerjs.e5489031ed611f47bf09.js +993 -0
- package/dist/bundles/header-toolbar.4bff61e047f9b8379494.js +1293 -0
- package/dist/bundles/library.579e6e3fd95b660ad833.css +1 -0
- package/dist/bundles/library.579e6e3fd95b660ad833.rtl.css +1 -0
- package/dist/bundles/library.8b0dd8732414a2bcbcb1.js +1 -0
- package/dist/bundles/line-tools-icons.090f39d92664af3915a5.js +349 -0
- package/dist/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +683 -0
- package/dist/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +573 -0
- package/dist/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +11748 -0
- package/dist/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +3491 -0
- package/dist/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +81 -0
- package/dist/bundles/moment.78e587a83a009ca48cda.js +2059 -0
- package/dist/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +305 -0
- package/dist/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +2953 -0
- package/dist/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +7693 -0
- package/dist/bundles/react.9f2899b40ad0e104f6c9.js +7156 -0
- package/dist/bundles/redux.43c3f6d214bcf2d1fbd1.js +1691 -0
- package/dist/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +3692 -0
- package/dist/bundles/runtime.dfe30490f666a6b5d4fe.js +654 -0
- package/dist/bundles/series-icons-map.ec8043f64d8b06dbce29.js +53 -0
- package/dist/bundles/series-pane-views.eefe35e1c508ac16c102.js +113 -0
- package/dist/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +44 -0
- package/dist/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +60 -0
- package/dist/bundles/simple-dialog.bd79f02afd512f0f36dd.js +919 -0
- package/dist/bundles/source-properties-editor.e858d44541ebb6f974a2.js +265 -0
- package/dist/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +1030 -0
- package/dist/bundles/study-pane-views.9a873dcf74adedf7600b.js +682 -0
- package/dist/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +502 -0
- package/dist/bundles/study-template-dialog.fe56a9893a3695e93531.js +1598 -0
- package/dist/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +642 -0
- package/dist/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +112 -0
- package/dist/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +153 -0
- package/dist/bundles/vendors.6f5e0d8d267cb3e63ee0.js +5316 -0
- package/dist/charting_library.cjs.js +499 -0
- package/dist/charting_library.d.ts +2087 -0
- package/dist/charting_library.esm.js +503 -0
- package/dist/charting_library.js +506 -0
- package/dist/charting_library.standalone.js +500 -0
- package/dist/cs-tv-chart.f0bc1e45.html +1 -0
- package/dist/da_DK-tv-chart.f0bc1e45.html +1 -0
- package/dist/datafeed-api.d.ts +274 -0
- package/dist/de-tv-chart.f0bc1e45.html +1 -0
- package/dist/el-tv-chart.f0bc1e45.html +1 -0
- package/dist/en-tv-chart.f0bc1e45.html +1 -0
- package/dist/es-tv-chart.f0bc1e45.html +1 -0
- package/dist/et_EE-tv-chart.f0bc1e45.html +1 -0
- package/dist/fa-tv-chart.f0bc1e45.html +1 -0
- package/dist/fr-tv-chart.f0bc1e45.html +1 -0
- package/dist/he_IL-tv-chart.f0bc1e45.html +1 -0
- package/dist/hu_HU-tv-chart.f0bc1e45.html +1 -0
- package/dist/id_ID-tv-chart.f0bc1e45.html +1 -0
- package/dist/it-tv-chart.f0bc1e45.html +1 -0
- package/dist/ja-tv-chart.f0bc1e45.html +1 -0
- package/dist/ko-tv-chart.f0bc1e45.html +1 -0
- package/dist/ms_MY-tv-chart.f0bc1e45.html +1 -0
- package/dist/nl_NL-tv-chart.f0bc1e45.html +1 -0
- package/dist/no-tv-chart.f0bc1e45.html +1 -0
- package/dist/package.json +8 -0
- package/dist/pl-tv-chart.f0bc1e45.html +1 -0
- package/dist/pt-tv-chart.f0bc1e45.html +1 -0
- package/dist/ro-tv-chart.f0bc1e45.html +1 -0
- package/dist/ru-tv-chart.f0bc1e45.html +1 -0
- package/dist/sk_SK-tv-chart.f0bc1e45.html +1 -0
- package/dist/sv-tv-chart.f0bc1e45.html +1 -0
- package/dist/th-tv-chart.f0bc1e45.html +1 -0
- package/dist/tr-tv-chart.f0bc1e45.html +1 -0
- package/dist/vi-tv-chart.f0bc1e45.html +1 -0
- package/dist/zh-tv-chart.f0bc1e45.html +1 -0
- package/dist/zh_TW-tv-chart.f0bc1e45.html +1 -0
- package/package.json +10 -6
- package/src/App.jsx +2 -2
- package/src/components/TVChartContainer.jsx +17 -30
- package/src/components/datafeed.js +201 -0
- package/src/components/helpers.js +32 -0
- package/src/components/streaming.js +136 -0
- package/copy_charting_library_files.sh +0 -30
- package/public/charting_library/yarn.lock +0 -4
- package/src/charting_library/yarn.lock +0 -4
|
@@ -0,0 +1,935 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
4
|
+
|
|
5
|
+
require("core-js/modules/es.object.assign.js");
|
|
6
|
+
|
|
7
|
+
require("core-js/modules/es.string.starts-with.js");
|
|
8
|
+
|
|
9
|
+
require("core-js/modules/es.regexp.to-string.js");
|
|
10
|
+
|
|
11
|
+
require("core-js/modules/es.string.trim.js");
|
|
12
|
+
|
|
13
|
+
require("core-js/modules/es.regexp.exec.js");
|
|
14
|
+
|
|
15
|
+
require("core-js/modules/es.string.replace.js");
|
|
16
|
+
|
|
17
|
+
const _excluded = ["listboxId", "className", "listboxClassName", "listboxTabIndex", "hideArrowButton", "matchButtonAndListboxWidths", "disabled", "isOpened", "scrollWrapReference", "listboxReference", "size", "onClose", "onOpen", "onListboxFocus", "onListboxBlur", "onListboxKeyDown", "buttonChildren", "children", "caretClassName", "listboxAria"],
|
|
18
|
+
_excluded2 = ["id", "menuClassName", "menuItemClassName", "tabIndex", "disabled", "highlight", "intent", "hideArrowButton", "placeholder", "value", "aria-labelledby", "onFocus", "onBlur", "onClick", "onChange"],
|
|
19
|
+
_excluded3 = ["reference", "children"],
|
|
20
|
+
_excluded4 = ["render", "onClose", "onSubmit", "onCancel", "footerLeftRenderer", "submitButtonText", "submitButtonDisabled", "defaultActionOnClose", "submitOnEnterKey"];
|
|
21
|
+
|
|
22
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
23
|
+
|
|
24
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25
|
+
|
|
26
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
+
|
|
28
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
29
|
+
|
|
30
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
31
|
+
|
|
32
|
+
(window.webpackJsonp = window.webpackJsonp || []).push([[31], {
|
|
33
|
+
"8NUT": function NUT(e, t, n) {
|
|
34
|
+
e.exports = {
|
|
35
|
+
"small-height-breakpoint": "screen and (max-height: 360px)",
|
|
36
|
+
footer: "footer-KW8170fm",
|
|
37
|
+
submitButton: "submitButton-KW8170fm",
|
|
38
|
+
buttons: "buttons-KW8170fm"
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
AnDN: function AnDN(e, t, n) {
|
|
42
|
+
"use strict";
|
|
43
|
+
|
|
44
|
+
var o = n("q1tI"),
|
|
45
|
+
l = n.n(o),
|
|
46
|
+
r = n("TSYQ"),
|
|
47
|
+
i = n.n(r),
|
|
48
|
+
c = n("Eyy1"),
|
|
49
|
+
s = n("ECWH"),
|
|
50
|
+
a = n("ldG2"),
|
|
51
|
+
u = n("xADF"),
|
|
52
|
+
d = n("Iivm"),
|
|
53
|
+
b = n("VGf/"),
|
|
54
|
+
h = n("lVA2");
|
|
55
|
+
|
|
56
|
+
function f(e) {
|
|
57
|
+
const {
|
|
58
|
+
isDropped: t
|
|
59
|
+
} = e;
|
|
60
|
+
return l.a.createElement(d.a, {
|
|
61
|
+
className: i()(h.icon, t && h.dropped),
|
|
62
|
+
icon: b
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function m(e) {
|
|
67
|
+
const {
|
|
68
|
+
className: t,
|
|
69
|
+
disabled: n,
|
|
70
|
+
isDropped: o
|
|
71
|
+
} = e;
|
|
72
|
+
return l.a.createElement("span", {
|
|
73
|
+
className: i()(h.button, n && h.disabled, t)
|
|
74
|
+
}, l.a.createElement(f, {
|
|
75
|
+
isDropped: o
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
var p = n("9dlw"),
|
|
80
|
+
O = n("UmON");
|
|
81
|
+
n.d(t, "a", function () {
|
|
82
|
+
return v;
|
|
83
|
+
});
|
|
84
|
+
const v = l.a.forwardRef((e, t) => {
|
|
85
|
+
const {
|
|
86
|
+
listboxId: n,
|
|
87
|
+
className: r,
|
|
88
|
+
listboxClassName: d,
|
|
89
|
+
listboxTabIndex: b,
|
|
90
|
+
hideArrowButton: h,
|
|
91
|
+
matchButtonAndListboxWidths: f,
|
|
92
|
+
disabled: v,
|
|
93
|
+
isOpened: g,
|
|
94
|
+
scrollWrapReference: C,
|
|
95
|
+
listboxReference: j,
|
|
96
|
+
size: w = "medium",
|
|
97
|
+
onClose: E,
|
|
98
|
+
onOpen: y,
|
|
99
|
+
onListboxFocus: S,
|
|
100
|
+
onListboxBlur: N,
|
|
101
|
+
onListboxKeyDown: _,
|
|
102
|
+
buttonChildren: k,
|
|
103
|
+
children: x,
|
|
104
|
+
caretClassName: B,
|
|
105
|
+
listboxAria: R
|
|
106
|
+
} = e,
|
|
107
|
+
z = _objectWithoutProperties(e, _excluded),
|
|
108
|
+
F = Object(o.useRef)(null),
|
|
109
|
+
D = Object(o.useCallback)(() => {
|
|
110
|
+
const e = Object(c.ensureNotNull)(F.current).getBoundingClientRect(),
|
|
111
|
+
t = {
|
|
112
|
+
x: e.left,
|
|
113
|
+
y: e.top + e.height
|
|
114
|
+
};
|
|
115
|
+
return f && (t.overrideWidth = e.width), t;
|
|
116
|
+
}, []),
|
|
117
|
+
W = !h && l.a.createElement(u.b, null, l.a.createElement(m, {
|
|
118
|
+
isDropped: g,
|
|
119
|
+
disabled: v,
|
|
120
|
+
className: B
|
|
121
|
+
}));
|
|
122
|
+
|
|
123
|
+
return l.a.createElement(l.a.Fragment, null, l.a.createElement(a.a, _objectSpread(_objectSpread({}, z), {}, {
|
|
124
|
+
"data-role": "listbox",
|
|
125
|
+
"aria-expanded": g,
|
|
126
|
+
"aria-owns": n,
|
|
127
|
+
"aria-controls": n,
|
|
128
|
+
"aria-disabled": v,
|
|
129
|
+
disabled: v,
|
|
130
|
+
className: i()(O.button, r),
|
|
131
|
+
size: w,
|
|
132
|
+
ref: Object(s.a)([F, t]),
|
|
133
|
+
middleSlot: l.a.createElement(u.c, null, l.a.createElement("span", {
|
|
134
|
+
className: i()(O["button-children"], h && O.hiddenArrow)
|
|
135
|
+
}, k)),
|
|
136
|
+
endSlot: W
|
|
137
|
+
})), l.a.createElement(p.a, _objectSpread(_objectSpread({}, R), {}, {
|
|
138
|
+
id: n,
|
|
139
|
+
className: d,
|
|
140
|
+
tabIndex: b,
|
|
141
|
+
isOpened: g,
|
|
142
|
+
position: D,
|
|
143
|
+
onClose: E,
|
|
144
|
+
onOpen: y,
|
|
145
|
+
doNotCloseOn: F.current,
|
|
146
|
+
reference: j,
|
|
147
|
+
scrollWrapReference: C,
|
|
148
|
+
onFocus: S,
|
|
149
|
+
onBlur: N,
|
|
150
|
+
onKeyDown: _
|
|
151
|
+
}), x));
|
|
152
|
+
});
|
|
153
|
+
v.displayName = "DisclosureMenuView";
|
|
154
|
+
},
|
|
155
|
+
GQPI: function GQPI(e, t, n) {
|
|
156
|
+
"use strict";
|
|
157
|
+
|
|
158
|
+
n.d(t, "c", function () {
|
|
159
|
+
return r;
|
|
160
|
+
}), n.d(t, "a", function () {
|
|
161
|
+
return i;
|
|
162
|
+
}), n.d(t, "b", function () {
|
|
163
|
+
return c;
|
|
164
|
+
});
|
|
165
|
+
var o = n("q1tI"),
|
|
166
|
+
l = n("/3z9");
|
|
167
|
+
|
|
168
|
+
function r(e) {
|
|
169
|
+
return Object(o.useCallback)(t => {
|
|
170
|
+
switch (t) {
|
|
171
|
+
case 13:
|
|
172
|
+
case 32:
|
|
173
|
+
return e(), !0;
|
|
174
|
+
|
|
175
|
+
default:
|
|
176
|
+
return !1;
|
|
177
|
+
}
|
|
178
|
+
}, [e]);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function i(e, t) {
|
|
182
|
+
return Object(o.useCallback)(n => {
|
|
183
|
+
if (!e) return !1;
|
|
184
|
+
|
|
185
|
+
switch (n) {
|
|
186
|
+
case 9:
|
|
187
|
+
case l.Modifiers.Shift + 9:
|
|
188
|
+
case 27:
|
|
189
|
+
return t(), !0;
|
|
190
|
+
|
|
191
|
+
default:
|
|
192
|
+
return !1;
|
|
193
|
+
}
|
|
194
|
+
}, [e, t]);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function c(e, t) {
|
|
198
|
+
return Object(o.useCallback)(n => {
|
|
199
|
+
if (e) return !1;
|
|
200
|
+
|
|
201
|
+
switch (n) {
|
|
202
|
+
case 40:
|
|
203
|
+
case 38:
|
|
204
|
+
return t(), !0;
|
|
205
|
+
|
|
206
|
+
default:
|
|
207
|
+
return !1;
|
|
208
|
+
}
|
|
209
|
+
}, [e, t]);
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
PECq: function PECq(e, t, n) {
|
|
213
|
+
"use strict";
|
|
214
|
+
|
|
215
|
+
var o = n("q1tI"),
|
|
216
|
+
l = n.n(o),
|
|
217
|
+
r = n("Eyy1"),
|
|
218
|
+
i = n("RMU6"),
|
|
219
|
+
c = n("K9GE");
|
|
220
|
+
const s = {
|
|
221
|
+
duration: 200
|
|
222
|
+
},
|
|
223
|
+
a = {
|
|
224
|
+
vertical: {
|
|
225
|
+
scrollSize: "scrollHeight",
|
|
226
|
+
clientSize: "clientHeight",
|
|
227
|
+
start: "top",
|
|
228
|
+
end: "bottom",
|
|
229
|
+
size: "height"
|
|
230
|
+
},
|
|
231
|
+
horizontal: {
|
|
232
|
+
scrollSize: "scrollWidth",
|
|
233
|
+
clientSize: "clientWidth",
|
|
234
|
+
start: "left",
|
|
235
|
+
end: "right",
|
|
236
|
+
size: "width"
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
function u(e, t) {
|
|
241
|
+
const n = a[e];
|
|
242
|
+
return t[n.scrollSize] > t[n.clientSize];
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function d(e, t, n, o, l, r) {
|
|
246
|
+
const i = function (e, t, n) {
|
|
247
|
+
const o = a[e];
|
|
248
|
+
return {
|
|
249
|
+
start: 0,
|
|
250
|
+
middle: -1 * (Math.floor(n[o.size] / 2) - Math.floor(t[o.size] / 2)),
|
|
251
|
+
end: -1 * (n[o.size] - t[o.size])
|
|
252
|
+
};
|
|
253
|
+
}(e, o, l);
|
|
254
|
+
|
|
255
|
+
let s = 0;
|
|
256
|
+
if (function (e, t, n) {
|
|
257
|
+
const o = a[e];
|
|
258
|
+
return t[o.start] < n[o.start] - n[o.size] / 2 || t[o.end] > n[o.end] + n[o.size] / 2;
|
|
259
|
+
}(e, o, l)) s = i.middle;else {
|
|
260
|
+
const t = function (e) {
|
|
261
|
+
const {
|
|
262
|
+
start: t,
|
|
263
|
+
middle: n,
|
|
264
|
+
end: o
|
|
265
|
+
} = e,
|
|
266
|
+
l = new Map([[Math.abs(t), {
|
|
267
|
+
key: "start",
|
|
268
|
+
value: Math.sign(t)
|
|
269
|
+
}], [Math.abs(n), {
|
|
270
|
+
key: "middle",
|
|
271
|
+
value: Math.sign(n)
|
|
272
|
+
}], [Math.abs(o), {
|
|
273
|
+
key: "end",
|
|
274
|
+
value: Math.sign(o)
|
|
275
|
+
}]]),
|
|
276
|
+
r = Math.min(...l.keys());
|
|
277
|
+
return l.get(r);
|
|
278
|
+
}(function (e, t, n) {
|
|
279
|
+
const o = a[e],
|
|
280
|
+
l = t[o.start] + Math.floor(t[o.size] / 2),
|
|
281
|
+
r = n[o.start] + Math.floor(n[o.size] / 2);
|
|
282
|
+
return {
|
|
283
|
+
start: t[o.start] - n[o.start],
|
|
284
|
+
middle: l - r,
|
|
285
|
+
end: t[o.end] - n[o.end]
|
|
286
|
+
};
|
|
287
|
+
}(e, o, l));
|
|
288
|
+
|
|
289
|
+
s = void 0 !== t ? i[t.key] : 0;
|
|
290
|
+
}
|
|
291
|
+
return function (e) {
|
|
292
|
+
const {
|
|
293
|
+
additionalScroll: t = 0,
|
|
294
|
+
duration: n = c.b,
|
|
295
|
+
func: o = c.c.easeInOutCubic,
|
|
296
|
+
onScrollEnd: l,
|
|
297
|
+
target: r,
|
|
298
|
+
wrap: i,
|
|
299
|
+
direction: s = "vertical"
|
|
300
|
+
} = e;
|
|
301
|
+
let {
|
|
302
|
+
targetRect: a,
|
|
303
|
+
wrapRect: u
|
|
304
|
+
} = e;
|
|
305
|
+
a = null != a ? a : r.getBoundingClientRect(), u = null != u ? u : i.getBoundingClientRect();
|
|
306
|
+
const d = ("vertical" === s ? a.top - u.top : a.left - u.left) + t,
|
|
307
|
+
b = "vertical" === s ? "scrollTop" : "scrollLeft",
|
|
308
|
+
h = i ? i[b] : 0;
|
|
309
|
+
let f,
|
|
310
|
+
m = 0;
|
|
311
|
+
return m = window.requestAnimationFrame(function e(t) {
|
|
312
|
+
let r;
|
|
313
|
+
if (f ? r = t - f : (r = 0, f = t), r >= n) return i[b] = h + d, void (l && l());
|
|
314
|
+
const c = h + d * o(r / n);
|
|
315
|
+
i[b] = Math.floor(c), m = window.requestAnimationFrame(e);
|
|
316
|
+
}), function () {
|
|
317
|
+
window.cancelAnimationFrame(m), l && l();
|
|
318
|
+
};
|
|
319
|
+
}(_objectSpread(_objectSpread({}, r), {}, {
|
|
320
|
+
target: t,
|
|
321
|
+
targetRect: o,
|
|
322
|
+
wrap: n,
|
|
323
|
+
wrapRect: l,
|
|
324
|
+
additionalScroll: s,
|
|
325
|
+
direction: e
|
|
326
|
+
}));
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
class b {
|
|
330
|
+
constructor() {
|
|
331
|
+
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
332
|
+
this._container = null, this._lastScrolledElement = null, this._stopVerticalScroll = null, this._stopHorizontalScroll = null, this._container = e;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
scrollTo(e) {
|
|
336
|
+
let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : s;
|
|
337
|
+
|
|
338
|
+
if (null !== this._container && null !== e && !function (e, t) {
|
|
339
|
+
const n = e.getBoundingClientRect(),
|
|
340
|
+
o = t.getBoundingClientRect();
|
|
341
|
+
return n.top >= o.top && n.bottom <= o.bottom && n.left >= o.left && n.right <= o.right;
|
|
342
|
+
}(e, this._container)) {
|
|
343
|
+
const n = e.getBoundingClientRect(),
|
|
344
|
+
o = this._container.getBoundingClientRect();
|
|
345
|
+
|
|
346
|
+
this.stopScroll(), u("vertical", this._container) && (this._stopVerticalScroll = d("vertical", e, this._container, n, o, this._modifyOptions("vertical", t))), u("horizontal", this._container) && (this._stopHorizontalScroll = d("horizontal", e, this._container, n, o, this._modifyOptions("horizontal", t)));
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
this._lastScrolledElement = e;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
scrollToLastElement(e) {
|
|
353
|
+
this.scrollTo(this._lastScrolledElement, e);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
stopScroll() {
|
|
357
|
+
null !== this._stopVerticalScroll && this._stopVerticalScroll(), null !== this._stopHorizontalScroll && this._stopHorizontalScroll();
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
setContainer(e) {
|
|
361
|
+
var t;
|
|
362
|
+
this._container = e, (null === (t = this._container) || void 0 === t ? void 0 : t.contains(this._lastScrolledElement)) || (this._lastScrolledElement = null);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
destroy() {
|
|
366
|
+
this.stopScroll(), this._container = null, this._lastScrolledElement = null;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
_handleScrollEnd(e) {
|
|
370
|
+
"vertical" === e ? this._stopVerticalScroll = null : this._stopHorizontalScroll = null;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
_modifyOptions(e, t) {
|
|
374
|
+
return Object.assign({}, t, {
|
|
375
|
+
onScrollEnd: () => {
|
|
376
|
+
this._handleScrollEnd(e), void 0 !== t.onScrollEnd && t.onScrollEnd();
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
var h = n("ECWH"),
|
|
384
|
+
f = n("N5tr"),
|
|
385
|
+
m = n("hbEN"),
|
|
386
|
+
p = n("UXvI");
|
|
387
|
+
var O = n("AnDN"),
|
|
388
|
+
v = n("GQPI"),
|
|
389
|
+
g = n("zS+2"),
|
|
390
|
+
C = n("/3z9"),
|
|
391
|
+
j = n("p4SX");
|
|
392
|
+
|
|
393
|
+
function w(e) {
|
|
394
|
+
return !e.readonly;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
function E(e, t) {
|
|
398
|
+
var n;
|
|
399
|
+
return null !== (n = null == t ? void 0 : t.id) && void 0 !== n ? n : Object(i.a)(e, "item", null == t ? void 0 : t.value);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
function y(e) {
|
|
403
|
+
var t, n;
|
|
404
|
+
const {
|
|
405
|
+
selectedItem: o,
|
|
406
|
+
placeholder: r
|
|
407
|
+
} = e;
|
|
408
|
+
if (!o) return l.a.createElement("span", {
|
|
409
|
+
className: j.placeholder
|
|
410
|
+
}, r);
|
|
411
|
+
const i = null !== (n = null !== (t = o.selectedContent) && void 0 !== t ? t : o.content) && void 0 !== n ? n : o.value;
|
|
412
|
+
return l.a.createElement("span", null, i);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
n.d(t, "a", function () {
|
|
416
|
+
return S;
|
|
417
|
+
});
|
|
418
|
+
const S = l.a.forwardRef((e, t) => {
|
|
419
|
+
const {
|
|
420
|
+
id: n,
|
|
421
|
+
menuClassName: c,
|
|
422
|
+
menuItemClassName: s,
|
|
423
|
+
tabIndex: a = 0,
|
|
424
|
+
disabled: u,
|
|
425
|
+
highlight: d,
|
|
426
|
+
intent: j,
|
|
427
|
+
hideArrowButton: S,
|
|
428
|
+
placeholder: N,
|
|
429
|
+
value: _,
|
|
430
|
+
"aria-labelledby": k,
|
|
431
|
+
onFocus: x,
|
|
432
|
+
onBlur: B,
|
|
433
|
+
onClick: R,
|
|
434
|
+
onChange: z
|
|
435
|
+
} = e,
|
|
436
|
+
F = _objectWithoutProperties(e, _excluded2);
|
|
437
|
+
|
|
438
|
+
let {
|
|
439
|
+
items: D
|
|
440
|
+
} = e;
|
|
441
|
+
|
|
442
|
+
if (N) {
|
|
443
|
+
D = [{
|
|
444
|
+
value: void 0,
|
|
445
|
+
content: N,
|
|
446
|
+
id: Object(i.a)(n, "placeholder")
|
|
447
|
+
}, ...D];
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
const {
|
|
451
|
+
isOpened: W,
|
|
452
|
+
isFocused: K,
|
|
453
|
+
highlight: A,
|
|
454
|
+
intent: M,
|
|
455
|
+
open: I,
|
|
456
|
+
onOpen: q,
|
|
457
|
+
close: T,
|
|
458
|
+
toggle: L,
|
|
459
|
+
buttonFocusBindings: H,
|
|
460
|
+
onButtonClick: V,
|
|
461
|
+
buttonRef: J,
|
|
462
|
+
listboxRef: U
|
|
463
|
+
} = Object(g.a)({
|
|
464
|
+
disabled: u,
|
|
465
|
+
intent: j,
|
|
466
|
+
highlight: d,
|
|
467
|
+
onFocus: x,
|
|
468
|
+
onBlur: B,
|
|
469
|
+
onClick: R
|
|
470
|
+
}),
|
|
471
|
+
Y = function (e) {
|
|
472
|
+
const t = Object(o.useRef)(null);
|
|
473
|
+
return Object(o.useEffect)(() => (t.current = new b(e), () => Object(r.ensureNotNull)(t.current).destroy()), []), t;
|
|
474
|
+
}(),
|
|
475
|
+
G = Object(o.useRef)(null),
|
|
476
|
+
P = Object(o.useRef)(new WeakMap()),
|
|
477
|
+
Q = D.filter(w),
|
|
478
|
+
X = Q.find(e => e.value === _);
|
|
479
|
+
|
|
480
|
+
Object(o.useEffect)(() => se(), [X, se]);
|
|
481
|
+
|
|
482
|
+
const Z = Object(i.b)(k, n),
|
|
483
|
+
$ = Z.length > 0 ? Z : void 0,
|
|
484
|
+
ee = Object(i.a)(n, "listbox"),
|
|
485
|
+
te = Object(o.useMemo)(() => ({
|
|
486
|
+
role: "listbox",
|
|
487
|
+
"aria-labelledby": k,
|
|
488
|
+
"aria-activedescendant": E(n, X)
|
|
489
|
+
}), [k, X]),
|
|
490
|
+
ne = function (e, t, n) {
|
|
491
|
+
const l = Object(o.useCallback)(() => {
|
|
492
|
+
const o = e.findIndex(e => e.value === t);
|
|
493
|
+
o !== e.length - 1 && n && n(e[o + 1].value);
|
|
494
|
+
}, [e, t, n]),
|
|
495
|
+
r = Object(o.useCallback)(() => {
|
|
496
|
+
const o = e.findIndex(e => e.value === t);
|
|
497
|
+
if (0 === o) return;
|
|
498
|
+
n && n(e[o > 0 ? o - 1 : 0].value);
|
|
499
|
+
}, [e, t, n]),
|
|
500
|
+
i = Object(o.useCallback)(() => {
|
|
501
|
+
n && n(e[0].value);
|
|
502
|
+
}, [n, e]),
|
|
503
|
+
c = Object(o.useCallback)(() => {
|
|
504
|
+
n && n(e[e.length - 1].value);
|
|
505
|
+
}, [n, e]);
|
|
506
|
+
return Object(o.useCallback)(e => {
|
|
507
|
+
switch (e) {
|
|
508
|
+
case 40:
|
|
509
|
+
return l(), !0;
|
|
510
|
+
|
|
511
|
+
case 38:
|
|
512
|
+
return r(), !0;
|
|
513
|
+
|
|
514
|
+
case 34:
|
|
515
|
+
return c(), !0;
|
|
516
|
+
|
|
517
|
+
case 33:
|
|
518
|
+
return i(), !0;
|
|
519
|
+
|
|
520
|
+
default:
|
|
521
|
+
return !1;
|
|
522
|
+
}
|
|
523
|
+
}, [l, r, i, c]);
|
|
524
|
+
}(Q, _, z),
|
|
525
|
+
oe = Object(v.c)(L),
|
|
526
|
+
le = Object(v.a)(W, T),
|
|
527
|
+
re = Object(v.b)(W, I),
|
|
528
|
+
ie = function (e) {
|
|
529
|
+
const t = Object(o.useRef)(""),
|
|
530
|
+
n = Object(o.useMemo)(() => Object(m.default)(() => {
|
|
531
|
+
t.current = "";
|
|
532
|
+
}, 500), []),
|
|
533
|
+
l = Object(o.useMemo)(() => Object(p.default)(e, 200), [e]);
|
|
534
|
+
return Object(o.useCallback)(e => {
|
|
535
|
+
e.key.length > 0 && e.key.length < 3 && (t.current += e.key, l(t.current, e), n());
|
|
536
|
+
}, [n, l]);
|
|
537
|
+
}((e, t) => {
|
|
538
|
+
const n = function (e, t) {
|
|
539
|
+
return e.find(e => {
|
|
540
|
+
var n;
|
|
541
|
+
const o = t.toLowerCase();
|
|
542
|
+
return "string" == typeof e.content && e.content.toLowerCase().startsWith(o) || String(null !== (n = e.value) && void 0 !== n ? n : "").toLowerCase().startsWith(o);
|
|
543
|
+
});
|
|
544
|
+
}(Q, e);
|
|
545
|
+
|
|
546
|
+
void 0 !== n && z && (t.stopPropagation(), W || I(), z(n.value));
|
|
547
|
+
});
|
|
548
|
+
|
|
549
|
+
return l.a.createElement(O.a, _objectSpread(_objectSpread(_objectSpread({}, F), H), {}, {
|
|
550
|
+
id: n,
|
|
551
|
+
role: "button",
|
|
552
|
+
tabIndex: u ? -1 : a,
|
|
553
|
+
"aria-haspopup": "listbox",
|
|
554
|
+
"aria-labelledby": $,
|
|
555
|
+
disabled: u,
|
|
556
|
+
hideArrowButton: S,
|
|
557
|
+
isFocused: K,
|
|
558
|
+
isOpened: W,
|
|
559
|
+
highlight: A,
|
|
560
|
+
intent: M,
|
|
561
|
+
ref: Object(h.a)([J, t]),
|
|
562
|
+
onClick: V,
|
|
563
|
+
onOpen: function onOpen() {
|
|
564
|
+
se({
|
|
565
|
+
duration: 0
|
|
566
|
+
}), q();
|
|
567
|
+
},
|
|
568
|
+
onClose: T,
|
|
569
|
+
onKeyDown: function onKeyDown(e) {
|
|
570
|
+
const t = Object(C.hashFromEvent)(e);
|
|
571
|
+
if (oe(t) || le(t) || re(t)) return void e.preventDefault();
|
|
572
|
+
ie(e);
|
|
573
|
+
},
|
|
574
|
+
listboxId: ee,
|
|
575
|
+
listboxTabIndex: -1,
|
|
576
|
+
listboxClassName: c,
|
|
577
|
+
listboxAria: te,
|
|
578
|
+
listboxReference: U,
|
|
579
|
+
scrollWrapReference: function scrollWrapReference(e) {
|
|
580
|
+
G.current = e, Object(r.ensureNotNull)(Y.current).setContainer(e);
|
|
581
|
+
},
|
|
582
|
+
onListboxKeyDown: function onListboxKeyDown(e) {
|
|
583
|
+
const t = Object(C.hashFromEvent)(e);
|
|
584
|
+
if (ne(t) || oe(t) || le(t)) return void e.preventDefault();
|
|
585
|
+
ie(e);
|
|
586
|
+
},
|
|
587
|
+
buttonChildren: l.a.createElement(y, {
|
|
588
|
+
selectedItem: X,
|
|
589
|
+
placeholder: N
|
|
590
|
+
})
|
|
591
|
+
}), D.map((e, t) => {
|
|
592
|
+
var o;
|
|
593
|
+
if (e.readonly) return l.a.createElement(l.a.Fragment, {
|
|
594
|
+
key: "readonly_item_" + t
|
|
595
|
+
}, e.content);
|
|
596
|
+
const r = E(n, e);
|
|
597
|
+
return l.a.createElement(f.b, {
|
|
598
|
+
key: r,
|
|
599
|
+
id: r,
|
|
600
|
+
className: s,
|
|
601
|
+
role: "option",
|
|
602
|
+
"aria-selected": _ === e.value,
|
|
603
|
+
isActive: _ === e.value,
|
|
604
|
+
label: null !== (o = e.content) && void 0 !== o ? o : e.value,
|
|
605
|
+
onClick: ce,
|
|
606
|
+
onClickArg: e.value,
|
|
607
|
+
reference: t => function (e, t) {
|
|
608
|
+
P.current.set(e, t);
|
|
609
|
+
}(e, t)
|
|
610
|
+
});
|
|
611
|
+
}));
|
|
612
|
+
|
|
613
|
+
function ce(e) {
|
|
614
|
+
z && z(e);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
function se(e) {
|
|
618
|
+
if (W && void 0 !== X) {
|
|
619
|
+
const t = P.current.get(X);
|
|
620
|
+
null != t && Object(r.ensureNotNull)(Y.current).scrollTo(t, e);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
});
|
|
624
|
+
S.displayName = "Select";
|
|
625
|
+
},
|
|
626
|
+
RMU6: function RMU6(e, t, n) {
|
|
627
|
+
"use strict";
|
|
628
|
+
|
|
629
|
+
n.d(t, "a", function () {
|
|
630
|
+
return s;
|
|
631
|
+
}), n.d(t, "b", function () {
|
|
632
|
+
return a;
|
|
633
|
+
});
|
|
634
|
+
const o = /\s/g;
|
|
635
|
+
|
|
636
|
+
function l(e) {
|
|
637
|
+
return "string" == typeof e;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
function r(e) {
|
|
641
|
+
switch (typeof e) {
|
|
642
|
+
case "string":
|
|
643
|
+
return e;
|
|
644
|
+
|
|
645
|
+
case "number":
|
|
646
|
+
case "bigint":
|
|
647
|
+
return e.toString(10);
|
|
648
|
+
|
|
649
|
+
case "boolean":
|
|
650
|
+
case "symbol":
|
|
651
|
+
return e.toString();
|
|
652
|
+
|
|
653
|
+
default:
|
|
654
|
+
return null;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
function i(e) {
|
|
659
|
+
return e.trim().length > 0;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
function c(e) {
|
|
663
|
+
return e.replace(o, "-");
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
function s() {
|
|
667
|
+
for (var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
668
|
+
e[_key] = arguments[_key];
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
const t = e.map(r).filter(l).filter(i).map(c);
|
|
672
|
+
return (t.length > 0 && t[0].startsWith("id_") ? t : ["id", ...t]).join("_");
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
function a() {
|
|
676
|
+
for (var _len2 = arguments.length, e = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
677
|
+
e[_key2] = arguments[_key2];
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
return e.map(r).filter(l).filter(i).join(" ");
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
UmON: function UmON(e, t, n) {
|
|
684
|
+
e.exports = {
|
|
685
|
+
button: "button-1WqyvKNY",
|
|
686
|
+
"button-children": "button-children-1WqyvKNY",
|
|
687
|
+
hiddenArrow: "hiddenArrow-1WqyvKNY",
|
|
688
|
+
invisibleFocusHandler: "invisibleFocusHandler-1WqyvKNY"
|
|
689
|
+
};
|
|
690
|
+
},
|
|
691
|
+
"VGf/": function VGf(e, t) {
|
|
692
|
+
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 7" width="11" height="7" fill="none"><path stroke="currentColor" stroke-width="1.3" d="M.5 1.5l5 4 5-4"/></svg>';
|
|
693
|
+
},
|
|
694
|
+
lVA2: function lVA2(e, t, n) {
|
|
695
|
+
e.exports = {
|
|
696
|
+
button: "button-14c_DKWJ",
|
|
697
|
+
disabled: "disabled-14c_DKWJ",
|
|
698
|
+
hidden: "hidden-14c_DKWJ",
|
|
699
|
+
icon: "icon-14c_DKWJ",
|
|
700
|
+
dropped: "dropped-14c_DKWJ"
|
|
701
|
+
};
|
|
702
|
+
},
|
|
703
|
+
p4SX: function p4SX(e, t, n) {
|
|
704
|
+
e.exports = {
|
|
705
|
+
placeholder: "placeholder-1J6emFeA"
|
|
706
|
+
};
|
|
707
|
+
},
|
|
708
|
+
tmL0: function tmL0(e, t, n) {
|
|
709
|
+
"use strict";
|
|
710
|
+
|
|
711
|
+
n.d(t, "a", function () {
|
|
712
|
+
return s;
|
|
713
|
+
});
|
|
714
|
+
var o = n("q1tI"),
|
|
715
|
+
l = n.n(o),
|
|
716
|
+
r = n("x0D+"),
|
|
717
|
+
i = n("Eyy1"),
|
|
718
|
+
c = n("qFKp");
|
|
719
|
+
|
|
720
|
+
function s(e) {
|
|
721
|
+
const {
|
|
722
|
+
reference: t,
|
|
723
|
+
children: n
|
|
724
|
+
} = e,
|
|
725
|
+
i = _objectWithoutProperties(e, _excluded3),
|
|
726
|
+
s = Object(o.useRef)(null),
|
|
727
|
+
u = Object(o.useCallback)(e => {
|
|
728
|
+
t && (t.current = e), c.CheckMobile.iOS() && (null !== s.current && Object(r.enableBodyScroll)(s.current), s.current = e, null !== s.current && Object(r.disableBodyScroll)(s.current, {
|
|
729
|
+
allowTouchMove: a(s)
|
|
730
|
+
}));
|
|
731
|
+
}, [t]);
|
|
732
|
+
|
|
733
|
+
return l.a.createElement("div", _objectSpread({
|
|
734
|
+
ref: u
|
|
735
|
+
}, i), n);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
function a(e) {
|
|
739
|
+
return t => {
|
|
740
|
+
const n = Object(i.ensureNotNull)(e.current),
|
|
741
|
+
o = document.activeElement;
|
|
742
|
+
return !n.contains(t) || null !== o && n.contains(o) && o.contains(t);
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
ycFu: function ycFu(e, t, n) {
|
|
747
|
+
"use strict";
|
|
748
|
+
|
|
749
|
+
n.d(t, "a", function () {
|
|
750
|
+
return b;
|
|
751
|
+
});
|
|
752
|
+
var o = n("q1tI"),
|
|
753
|
+
l = n.n(o),
|
|
754
|
+
r = n("TSYQ"),
|
|
755
|
+
i = n.n(r),
|
|
756
|
+
c = n("mwqF"),
|
|
757
|
+
s = n("Eyy1"),
|
|
758
|
+
a = (n("YFKU"), n("/3z9")),
|
|
759
|
+
u = n("g89m"),
|
|
760
|
+
d = n("8NUT");
|
|
761
|
+
|
|
762
|
+
class b extends l.a.PureComponent {
|
|
763
|
+
constructor() {
|
|
764
|
+
super(...arguments), this._dialogRef = l.a.createRef(), this._handleClose = () => {
|
|
765
|
+
const {
|
|
766
|
+
defaultActionOnClose: e,
|
|
767
|
+
onSubmit: t,
|
|
768
|
+
onCancel: n,
|
|
769
|
+
onClose: o
|
|
770
|
+
} = this.props;
|
|
771
|
+
|
|
772
|
+
switch (e) {
|
|
773
|
+
case "submit":
|
|
774
|
+
t();
|
|
775
|
+
break;
|
|
776
|
+
|
|
777
|
+
case "cancel":
|
|
778
|
+
n();
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
o();
|
|
782
|
+
}, this._handleCancel = () => {
|
|
783
|
+
this.props.onCancel(), this.props.onClose();
|
|
784
|
+
}, this._handleKeyDown = e => {
|
|
785
|
+
const {
|
|
786
|
+
onSubmit: t,
|
|
787
|
+
submitButtonDisabled: n,
|
|
788
|
+
submitOnEnterKey: o
|
|
789
|
+
} = this.props;
|
|
790
|
+
|
|
791
|
+
switch (Object(a.hashFromEvent)(e)) {
|
|
792
|
+
case 13:
|
|
793
|
+
!n && o && (e.preventDefault(), t());
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
render() {
|
|
799
|
+
const _this$props = this.props,
|
|
800
|
+
{
|
|
801
|
+
render: e,
|
|
802
|
+
onClose: t,
|
|
803
|
+
onSubmit: n,
|
|
804
|
+
onCancel: o,
|
|
805
|
+
footerLeftRenderer: r,
|
|
806
|
+
submitButtonText: i,
|
|
807
|
+
submitButtonDisabled: c,
|
|
808
|
+
defaultActionOnClose: s,
|
|
809
|
+
submitOnEnterKey: a
|
|
810
|
+
} = _this$props,
|
|
811
|
+
d = _objectWithoutProperties(_this$props, _excluded4);
|
|
812
|
+
|
|
813
|
+
return l.a.createElement(u.a, _objectSpread(_objectSpread({}, d), {}, {
|
|
814
|
+
ref: this._dialogRef,
|
|
815
|
+
onKeyDown: this._handleKeyDown,
|
|
816
|
+
render: this._renderChildren(),
|
|
817
|
+
onClose: this._handleClose
|
|
818
|
+
}));
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
focus() {
|
|
822
|
+
Object(s.ensureNotNull)(this._dialogRef.current).focus();
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
_renderChildren() {
|
|
826
|
+
return e => {
|
|
827
|
+
const {
|
|
828
|
+
render: t,
|
|
829
|
+
footerLeftRenderer: n,
|
|
830
|
+
additionalButtons: o,
|
|
831
|
+
submitButtonText: r,
|
|
832
|
+
submitButtonDisabled: s,
|
|
833
|
+
onSubmit: a,
|
|
834
|
+
cancelButtonText: u,
|
|
835
|
+
showCancelButton: b = !0,
|
|
836
|
+
submitButtonClassName: h,
|
|
837
|
+
cancelButtonClassName: f,
|
|
838
|
+
buttonsWrapperClassName: m
|
|
839
|
+
} = this.props;
|
|
840
|
+
return l.a.createElement(l.a.Fragment, null, t(e), l.a.createElement("div", {
|
|
841
|
+
className: d.footer
|
|
842
|
+
}, n && n(e.isSmallWidth), l.a.createElement("div", {
|
|
843
|
+
className: i()(d.buttons, m)
|
|
844
|
+
}, o, b && l.a.createElement(c.a, {
|
|
845
|
+
className: f,
|
|
846
|
+
name: "cancel",
|
|
847
|
+
appearance: "stroke",
|
|
848
|
+
onClick: this._handleCancel
|
|
849
|
+
}, null != u ? u : window.t("Cancel")), l.a.createElement("span", {
|
|
850
|
+
className: d.submitButton
|
|
851
|
+
}, l.a.createElement(c.a, {
|
|
852
|
+
className: h,
|
|
853
|
+
disabled: s,
|
|
854
|
+
name: "submit",
|
|
855
|
+
onClick: a,
|
|
856
|
+
"data-name": "submit-button"
|
|
857
|
+
}, null != r ? r : window.t("Ok"))))));
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
b.defaultProps = {
|
|
864
|
+
defaultActionOnClose: "submit",
|
|
865
|
+
submitOnEnterKey: !0
|
|
866
|
+
};
|
|
867
|
+
},
|
|
868
|
+
"zS+2": function zS2(e, t, n) {
|
|
869
|
+
"use strict";
|
|
870
|
+
|
|
871
|
+
n.d(t, "a", function () {
|
|
872
|
+
return s;
|
|
873
|
+
});
|
|
874
|
+
var o = n("q1tI"),
|
|
875
|
+
l = n("Eyy1"),
|
|
876
|
+
r = n("SpAO"),
|
|
877
|
+
i = n("3F0O"),
|
|
878
|
+
c = n("d700");
|
|
879
|
+
|
|
880
|
+
function s(e) {
|
|
881
|
+
const {
|
|
882
|
+
disabled: t,
|
|
883
|
+
intent: n,
|
|
884
|
+
highlight: s,
|
|
885
|
+
onFocus: a,
|
|
886
|
+
onBlur: u,
|
|
887
|
+
onClick: d
|
|
888
|
+
} = e,
|
|
889
|
+
[b, h] = Object(o.useState)(!1),
|
|
890
|
+
[f, m] = Object(r.a)(),
|
|
891
|
+
p = f || b,
|
|
892
|
+
O = null != s ? s : p,
|
|
893
|
+
v = null != n ? n : p ? "primary" : "default",
|
|
894
|
+
g = Object(o.useRef)(null),
|
|
895
|
+
C = Object(o.useCallback)(() => Object(l.ensureNotNull)(g.current).focus(), [g]),
|
|
896
|
+
j = Object(o.useRef)(null),
|
|
897
|
+
w = Object(o.useCallback)(() => Object(l.ensureNotNull)(j.current).focus(), [j]),
|
|
898
|
+
E = Object(o.useCallback)(() => h(!0), [h]),
|
|
899
|
+
y = Object(o.useCallback)(() => {
|
|
900
|
+
h(!1);
|
|
901
|
+
const {
|
|
902
|
+
activeElement: e
|
|
903
|
+
} = document;
|
|
904
|
+
e && Object(c.b)(e) || C();
|
|
905
|
+
}, [h, C]),
|
|
906
|
+
S = Object(o.useCallback)(() => {
|
|
907
|
+
b ? y() : E();
|
|
908
|
+
}, [b, y, E]),
|
|
909
|
+
N = t ? [] : [a, m.onFocus],
|
|
910
|
+
_ = t ? [] : [u, m.onBlur],
|
|
911
|
+
k = t ? [] : [d, S],
|
|
912
|
+
x = Object(i.a)(...N),
|
|
913
|
+
B = Object(i.a)(..._),
|
|
914
|
+
R = Object(i.a)(...k);
|
|
915
|
+
|
|
916
|
+
return {
|
|
917
|
+
isOpened: b,
|
|
918
|
+
isFocused: p,
|
|
919
|
+
highlight: O,
|
|
920
|
+
intent: v,
|
|
921
|
+
open: E,
|
|
922
|
+
onOpen: w,
|
|
923
|
+
close: y,
|
|
924
|
+
toggle: S,
|
|
925
|
+
buttonFocusBindings: {
|
|
926
|
+
onFocus: x,
|
|
927
|
+
onBlur: B
|
|
928
|
+
},
|
|
929
|
+
onButtonClick: R,
|
|
930
|
+
buttonRef: g,
|
|
931
|
+
listboxRef: j
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}]);
|