@arcgis/core 5.0.0-next.83 → 5.0.0-next.84
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/WebDocument2D.d.ts +3 -2
- package/WebDocument2D.js +1 -1
- package/WebScene.d.ts +3 -2
- package/WebScene.js +1 -1
- package/applications/SceneViewer/layerUtils.d.ts +3 -2
- package/applications/SceneViewer/layerUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0057d3a9522188090536.js +1 -0
- package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js +2 -0
- package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +1 -0
- package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +1 -0
- package/assets/esri/core/workers/chunks/04fddd41a8e6a4c1bc57.js +1 -0
- package/assets/esri/core/workers/chunks/05a75878baca3a04fee9.js +1 -0
- package/assets/esri/core/workers/chunks/05aa22778a85624cfa55.js +1 -0
- package/assets/esri/core/workers/chunks/06493efc57cbfbda050a.js +1 -0
- package/assets/esri/core/workers/chunks/0674ae3741bc99325879.js +1 -0
- package/assets/esri/core/workers/chunks/07c5a9e8f48b3c806ac7.js +1 -0
- package/assets/esri/core/workers/chunks/0abb084b8a137f4fcdfc.js +1 -0
- package/assets/esri/core/workers/chunks/0b0545538ce355cace52.js +1 -0
- package/assets/esri/core/workers/chunks/0c13591347d51d684561.js +1 -0
- package/assets/esri/core/workers/chunks/0e7daf348c3e4681dd44.js +1 -0
- package/assets/esri/core/workers/chunks/10a5bf887132821beaf0.js +1 -0
- package/assets/esri/core/workers/chunks/10b32aff749d3459ddcd.js +1 -0
- package/assets/esri/core/workers/chunks/114aecdbd2bd92b24de2.js +1 -0
- package/assets/esri/core/workers/chunks/14f8215ab716c6d9d5f8.js +1 -0
- package/assets/esri/core/workers/chunks/156c73a948bde11f0d53.js +1 -0
- package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +1 -0
- package/assets/esri/core/workers/chunks/1779e6eabc299831fc9f.js +1 -0
- package/assets/esri/core/workers/chunks/181fab86394f1f912490.js +1 -0
- package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +1 -0
- package/assets/esri/core/workers/chunks/18cdd268fc921ffd92e2.js +1 -0
- package/assets/esri/core/workers/chunks/1a13b472e0cf9f88e8de.js +1 -0
- package/assets/esri/core/workers/chunks/1a41c9127ca5a260d5ef.js +1 -0
- package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +1 -0
- package/assets/esri/core/workers/chunks/1c05906d1b5b92441c9b.js +1 -0
- package/assets/esri/core/workers/chunks/1cf289446619645487b6.js +1 -0
- package/assets/esri/core/workers/chunks/1e318e5cf417c8f13bc7.js +1 -0
- package/assets/esri/core/workers/chunks/1eb6f210ae69c317e1f6.js +1 -0
- package/assets/esri/core/workers/chunks/1facc1b45345a095b9a7.js +1 -0
- package/assets/esri/core/workers/chunks/1fe1a131be1d5e1e23ed.js +1 -0
- package/assets/esri/core/workers/chunks/21ac84b5c7dedcfd747d.js +2 -0
- package/assets/esri/core/workers/chunks/22503abc06354741d28a.js +1 -0
- package/assets/esri/core/workers/chunks/22b1543b1a39db9acfc3.js +1 -0
- package/assets/esri/core/workers/chunks/249bc4abaa6482aaf288.js +1 -0
- package/assets/esri/core/workers/chunks/25a9ae17dc2ef44a4481.js +1 -0
- package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +1 -0
- package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +1 -0
- package/assets/esri/core/workers/chunks/286a45e9aec0b2bf32ef.js +1 -0
- package/assets/esri/core/workers/chunks/289681e94e93dc1d3512.js +1 -0
- package/assets/esri/core/workers/chunks/2a1898c5b8d7757e39e3.js +1 -0
- package/assets/esri/core/workers/chunks/2a81f08de9d642485669.js +1 -0
- package/assets/esri/core/workers/chunks/2b2283f1ee4bfc1baa18.js +1 -0
- package/assets/esri/core/workers/chunks/2bb82ae3ada57c066fdf.js +1 -0
- package/assets/esri/core/workers/chunks/2bdd28b4b5ef2c1e111f.js +1 -0
- package/assets/esri/core/workers/chunks/2c8b4d54ecf6ea2fecb1.js +1 -0
- package/assets/esri/core/workers/chunks/2ce845c990bb4d701362.js +1 -0
- package/assets/esri/core/workers/chunks/2f20cca2c5c058afc9af.js +1 -0
- package/assets/esri/core/workers/chunks/304ea784c28dc78e5e65.js +1 -0
- package/assets/esri/core/workers/chunks/3087910d19959fdc546b.js +1 -0
- package/assets/esri/core/workers/chunks/30cfa41017c2d434a89f.js +1 -0
- package/assets/esri/core/workers/chunks/33257fbd724ae188e259.js +1 -0
- package/assets/esri/core/workers/chunks/338768f94cc49559b209.js +1 -0
- package/assets/esri/core/workers/chunks/34073c8e4fc825f060f1.js +1 -0
- package/assets/esri/core/workers/chunks/34503f9b26c81e631174.js +1 -0
- package/assets/esri/core/workers/chunks/348560f083350ad0bf2e.js +1 -0
- package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +1 -0
- package/assets/esri/core/workers/chunks/3628e82707e7720c9e4c.js +1 -0
- package/assets/esri/core/workers/chunks/36b053decb87c9d32cd2.js +1 -0
- package/assets/esri/core/workers/chunks/37f5687dc1147b0a7bc1.js +1 -0
- package/assets/esri/core/workers/chunks/380a9b6d75992d6311c3.js +1 -0
- package/assets/esri/core/workers/chunks/3849dc35941e569fae5f.js +1 -0
- package/assets/esri/core/workers/chunks/388bd41c305d5a11f739.js +1 -0
- package/assets/esri/core/workers/chunks/389e2263a540f819d842.js +1 -0
- package/assets/esri/core/workers/chunks/38ca539f33e2d977771c.js +1 -0
- package/assets/esri/core/workers/chunks/3909217130048b5feeae.js +301 -0
- package/assets/esri/core/workers/chunks/39e1b04444389d2987be.js +1 -0
- package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +1 -0
- package/assets/esri/core/workers/chunks/3aeb3e8220e7d9869652.js +1 -0
- package/assets/esri/core/workers/chunks/3afc221b3a9e209cceea.js +1 -0
- package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +1 -0
- package/assets/esri/core/workers/chunks/3b6fc34b6d92eef030e5.js +1 -0
- package/assets/esri/core/workers/chunks/3bb28b59614fc36b2c50.js +1 -0
- package/assets/esri/core/workers/chunks/3eeaec74871e20b433d2.js +1 -0
- package/assets/esri/core/workers/chunks/418a778a4cbbb9dabecd.js +1 -0
- package/assets/esri/core/workers/chunks/42444285fd79a8d8e564.js +1 -0
- package/assets/esri/core/workers/chunks/428ca5900d882d7be499.js +1 -0
- package/assets/esri/core/workers/chunks/436c15ac34a205a13a37.js +1 -0
- package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +1 -0
- package/assets/esri/core/workers/chunks/4487cf21fa9f0466450d.js +1 -0
- package/assets/esri/core/workers/chunks/45dbdf2ff95f7be1eb88.js +1 -0
- package/assets/esri/core/workers/chunks/4756f0dbbda129c760b1.js +1 -0
- package/assets/esri/core/workers/chunks/4a0760571ce536fbd8c8.js +1 -0
- package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +1 -0
- package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +1 -0
- package/assets/esri/core/workers/chunks/4bb0c3b009493ea44632.js +1 -0
- package/assets/esri/core/workers/chunks/4c0e0beb1534d81ff648.js +1 -0
- package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +1 -0
- package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +1 -0
- package/assets/esri/core/workers/chunks/4db259316b193fcc4541.js +1 -0
- package/assets/esri/core/workers/chunks/4f132d758f8b4795c43f.js +1 -0
- package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +1 -0
- package/assets/esri/core/workers/chunks/4f53071b5eb23d4478c4.js +1 -0
- package/assets/esri/core/workers/chunks/4f8895eb57ec6ab4b318.js +1 -0
- package/assets/esri/core/workers/chunks/4ff3c03cfbec928c0720.js +1 -0
- package/assets/esri/core/workers/chunks/504ab6bf7bfbfd4c4211.js +1 -0
- package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +1 -0
- package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +1 -0
- package/assets/esri/core/workers/chunks/5298f99c197c8607a690.js +1 -0
- package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +1 -0
- package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +1 -0
- package/assets/esri/core/workers/chunks/534ed6574e4a1613ba05.js +2 -0
- package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +1 -0
- package/assets/esri/core/workers/chunks/53d0b870c080236d82d1.js +1 -0
- package/assets/esri/core/workers/chunks/55bf39611ae6028131a3.js +1 -0
- package/assets/esri/core/workers/chunks/5659e221e8805bb81210.js +1 -0
- package/assets/esri/core/workers/chunks/568fc92333a9ab1c06e6.js +1 -0
- package/assets/esri/core/workers/chunks/56bbd86b804cb2a59031.js +1 -0
- package/assets/esri/core/workers/chunks/57a749804da9a2b1fae9.js +1 -0
- package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +1 -0
- package/assets/esri/core/workers/chunks/59e7a0215791b2b51180.js +1 -0
- package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +1 -0
- package/assets/esri/core/workers/chunks/5aee84e827e6fcc9c4c4.js +2 -0
- package/assets/esri/core/workers/chunks/5b0ca8d2154ef59da600.js +1 -0
- package/assets/esri/core/workers/chunks/5b278b9980752ef495a2.js +1 -0
- package/assets/esri/core/workers/chunks/5b3bb636e3bec625e515.js +1 -0
- package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +1 -0
- package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +1 -0
- package/assets/esri/core/workers/chunks/5e3dd05f1ecfdb21350e.js +1 -0
- package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +1 -0
- package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +1 -0
- package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +1 -0
- package/assets/esri/core/workers/chunks/63e930e76a181d54786d.js +1 -0
- package/assets/esri/core/workers/chunks/63ee7aa1b169dbec1e37.js +1 -0
- package/assets/esri/core/workers/chunks/6440d78ed2af2e7265aa.js +1 -0
- package/assets/esri/core/workers/chunks/645e086291b04bc036d7.js +1 -0
- package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +1 -0
- package/assets/esri/core/workers/chunks/6610d23d8539f06e64ca.js +1 -0
- package/assets/esri/core/workers/chunks/681d9a923c0d1ace86e8.js +1 -0
- package/assets/esri/core/workers/chunks/68abe4e70ea48e978642.js +1 -0
- package/assets/esri/core/workers/chunks/6a083fde0e207625fd0b.js +1 -0
- package/assets/esri/core/workers/chunks/6bc7bacf01328ef10ff1.js +1 -0
- package/assets/esri/core/workers/chunks/6bcf5d6792e4f09cbc7b.js +1 -0
- package/assets/esri/core/workers/chunks/6d7eb784988ee9a33473.js +1 -0
- package/assets/esri/core/workers/chunks/6de843d1809cba61ded3.js +1 -0
- package/assets/esri/core/workers/chunks/6e04303500a9fbc3f14a.js +1 -0
- package/assets/esri/core/workers/chunks/6edcae8ec128c2e86a05.js +1 -0
- package/assets/esri/core/workers/chunks/6eeee6e278b5f516d1d2.js +1 -0
- package/assets/esri/core/workers/chunks/701775be0dad640a72b4.js +1 -0
- package/assets/esri/core/workers/chunks/70df4331ed29d823bf38.js +1 -0
- package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +1 -0
- package/assets/esri/core/workers/chunks/72f0e2e5dcddafa2a642.js +1 -0
- package/assets/esri/core/workers/chunks/73c87eb9bd8f0f848481.js +1 -0
- package/assets/esri/core/workers/chunks/746190bb70aa78ba0bfc.js +1039 -0
- package/assets/esri/core/workers/chunks/75d7290c73bb59f2c856.js +1 -0
- package/assets/esri/core/workers/chunks/76d6843d56bff0d4c45e.js +1 -0
- package/assets/esri/core/workers/chunks/780a1eba9a7f1ca690ce.js +1 -0
- package/assets/esri/core/workers/chunks/7815dbf49ef5a06705f3.js +1 -0
- package/assets/esri/core/workers/chunks/7892daeed58778453639.js +1 -0
- package/assets/esri/core/workers/chunks/7990c828447bc3a29965.js +1 -0
- package/assets/esri/core/workers/chunks/799829d0ae17c146196b.js +1 -0
- package/assets/esri/core/workers/chunks/7a31717dafbd820bc2bf.js +1 -0
- package/assets/esri/core/workers/chunks/7b2f848947b296c7c785.js +1 -0
- package/assets/esri/core/workers/chunks/7d76a2245ac973efe1ed.js +1 -0
- package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +1 -0
- package/assets/esri/core/workers/chunks/8008bca4ef04c9424579.js +1 -0
- package/assets/esri/core/workers/chunks/815a25a5a8dba7921f8b.js +1 -0
- package/assets/esri/core/workers/chunks/8184c34b2c4969f14f3d.js +1 -0
- package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +1 -0
- package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +1 -0
- package/assets/esri/core/workers/chunks/83ddc0f6bfe68756f26f.js +1 -0
- package/assets/esri/core/workers/chunks/841058de8bc6e328fd68.js +1 -0
- package/assets/esri/core/workers/chunks/84a4390b1c277c415d44.js +1 -0
- package/assets/esri/core/workers/chunks/854adab6a06af861c104.js +1 -0
- package/assets/esri/core/workers/chunks/8765fe036d9664c25b1d.js +37 -0
- package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +1 -0
- package/assets/esri/core/workers/chunks/8a0a13f398ab488dbbe9.js +1 -0
- package/assets/esri/core/workers/chunks/8cb13b3776f07536c79f.js +1 -0
- package/assets/esri/core/workers/chunks/{51093e552e31344cefa5.js → 8d9ec752136cbc5cb29a.js} +1 -1
- package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +1 -0
- package/assets/esri/core/workers/chunks/8f4ca0dfd9635eb10e02.js +1 -0
- package/assets/esri/core/workers/chunks/8faa0122d0a6e2e39153.js +1 -0
- package/assets/esri/core/workers/chunks/90a53bfe95ed687c28c1.js +2 -0
- package/assets/esri/core/workers/chunks/911912b0ef7ffed875be.js +1 -0
- package/assets/esri/core/workers/chunks/913c417ad278ce1caaf9.js +1 -0
- package/assets/esri/core/workers/chunks/9184089e72c24d91d23b.js +1 -0
- package/assets/esri/core/workers/chunks/91e307ca0d11804a7a1d.js +2 -0
- package/assets/esri/core/workers/chunks/9279a5361bf6a54784ef.js +1 -0
- package/assets/esri/core/workers/chunks/92a42bbb8b9b39f3211c.js +1 -0
- package/assets/esri/core/workers/chunks/934ce3f004c54d542d2c.js +1 -0
- package/assets/esri/core/workers/chunks/93caf6fb8afab3dd8a46.js +1 -0
- package/assets/esri/core/workers/chunks/97148a9966f55e69421e.js +1 -0
- package/assets/esri/core/workers/chunks/9748b8c35d56a5ee9c64.js +1 -0
- package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +1 -0
- package/assets/esri/core/workers/chunks/982e709d2cef971ecd82.js +1 -0
- package/assets/esri/core/workers/chunks/98e04c2382fa5ba382fc.js +1 -0
- package/assets/esri/core/workers/chunks/9919b3c345785e910c38.js +1 -0
- package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +1 -0
- package/assets/esri/core/workers/chunks/9cd7205bbc711914d74b.js +1 -0
- package/assets/esri/core/workers/chunks/9d17524f5f935b7b60bf.js +1 -0
- package/assets/esri/core/workers/chunks/9de8149ae0a0726a4ab2.js +1 -0
- package/assets/esri/core/workers/chunks/9fac9eda0a41f7f4c2c6.js +1 -0
- package/assets/esri/core/workers/chunks/9ff1e650ce0912afa780.js +1 -0
- package/assets/esri/core/workers/chunks/a0d52a819302ed6f401e.js +1 -0
- package/assets/esri/core/workers/chunks/a1908b3fa61f02425a94.js +1 -0
- package/assets/esri/core/workers/chunks/a2046f85b9964693f053.js +1 -0
- package/assets/esri/core/workers/chunks/a24627400b3b9fe8431d.js +1 -0
- package/assets/esri/core/workers/chunks/a27c74fd2029583de933.js +1 -0
- package/assets/esri/core/workers/chunks/a2c0c1bb5e775abefc90.js +1 -0
- package/assets/esri/core/workers/chunks/a3184fb1ac7ce9af1a7e.js +1 -0
- package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +1 -0
- package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +1 -0
- package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +1 -0
- package/assets/esri/core/workers/chunks/a9521578c0e21aaddbc7.js +1 -0
- package/assets/esri/core/workers/chunks/a9b30c3b604e314f1706.js +1 -0
- package/assets/esri/core/workers/chunks/aa0c648bd37787f62b1f.js +1 -0
- package/assets/esri/core/workers/chunks/aa1b8c06bdf8453a02d7.js +1 -0
- package/assets/esri/core/workers/chunks/aaac4eee709cd6d24910.js +1 -0
- package/assets/esri/core/workers/chunks/aafa33f661462f5afd2b.js +1 -0
- package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +1 -0
- package/assets/esri/core/workers/chunks/ac0949ea3d2cf3eb7383.js +1 -0
- package/assets/esri/core/workers/chunks/ac5da65af5da254acb16.js +1 -0
- package/assets/esri/core/workers/chunks/ae5798399607cb043ed2.js +1 -0
- package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +1 -0
- package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +1 -0
- package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +1 -0
- package/assets/esri/core/workers/chunks/b12dc8fd3f2a2ff8073d.js +1 -0
- package/assets/esri/core/workers/chunks/b1c6a1759febad66927f.js +1 -0
- package/assets/esri/core/workers/chunks/b482a24c9567d8926897.js +1 -0
- package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +1 -0
- package/assets/esri/core/workers/chunks/b586d7e608e8ba8b88fe.js +1 -0
- package/assets/esri/core/workers/chunks/b599c6d4fa3189ed1762.js +1 -0
- package/assets/esri/core/workers/chunks/b6acf67316107902e31d.js +1 -0
- package/assets/esri/core/workers/chunks/b7576a5195615c465ea7.js +1 -0
- package/assets/esri/core/workers/chunks/b7e40118b4d645e9f8e1.js +1 -0
- package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +1 -0
- package/assets/esri/core/workers/chunks/b91a157fb5f729de6597.js +1 -0
- package/assets/esri/core/workers/chunks/b9226dd0342cfd30ece0.js +1 -0
- package/assets/esri/core/workers/chunks/b977b9f5f50ae8027443.js +1 -0
- package/assets/esri/core/workers/chunks/bab6dee8f4715d05d984.js +1 -0
- package/assets/esri/core/workers/chunks/bbb409e54db77bfabdee.js +1 -0
- package/assets/esri/core/workers/chunks/bc4f513ea3a8f344c8da.js +1 -0
- package/assets/esri/core/workers/chunks/be26f8175a76e7dc8f7a.js +1 -0
- package/assets/esri/core/workers/chunks/befedcb6d8d1ff88125f.js +1 -0
- package/assets/esri/core/workers/chunks/bf73352b3366de82abbe.js +1 -0
- package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +1 -0
- package/assets/esri/core/workers/chunks/c133e57f2201b9bc6cbc.js +1 -0
- package/assets/esri/core/workers/chunks/c16115cfbca879dd6717.js +1 -0
- package/assets/esri/core/workers/chunks/c2d7b32f0c8eb965fcf7.js +1 -0
- package/assets/esri/core/workers/chunks/c45a5bcf26659daf02a1.js +1 -0
- package/assets/esri/core/workers/chunks/c46a4681cbba638b58c1.js +1 -0
- package/assets/esri/core/workers/chunks/c477b0ce55211339c4cb.js +1 -0
- package/assets/esri/core/workers/chunks/c500b59cd7da54fe72ec.js +1 -0
- package/assets/esri/core/workers/chunks/c5c1b189b91e199e8b82.js +1 -0
- package/assets/esri/core/workers/chunks/c65a138c14a4c540cd3b.js +1 -0
- package/assets/esri/core/workers/chunks/c66a9477e1c30a5ca03f.js +1 -0
- package/assets/esri/core/workers/chunks/{d79d29b52a65fb6bf94d.js → c71fe727224da0aba6ca.js} +1 -1
- package/assets/esri/core/workers/chunks/c741f7bc5693ae7e5019.js +1 -0
- package/assets/esri/core/workers/chunks/c75a41a5c8c5bd40ae91.js +1 -0
- package/assets/esri/core/workers/chunks/c825ca22894bdb4d01ba.js +1 -0
- package/assets/esri/core/workers/chunks/c8f1075c45ecf9fef00f.js +1 -0
- package/assets/esri/core/workers/chunks/ca06811e636f1d96f3cb.js +1 -0
- package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +1 -0
- package/assets/esri/core/workers/chunks/cbab45550b06bcc38524.js +1 -0
- package/assets/esri/core/workers/chunks/cc2606b8e600eeaf4bc8.js +1 -0
- package/assets/esri/core/workers/chunks/cdf711afbaaf345101f0.js +1 -0
- package/assets/esri/core/workers/chunks/ce87a6e24e9c64d90da3.js +1 -0
- package/assets/esri/core/workers/chunks/ce9467dc1ff695d795e5.js +1 -0
- package/assets/esri/core/workers/chunks/d0c831a473642d1bd9d1.js +1 -0
- package/assets/esri/core/workers/chunks/d0d6f818851d9a2d7938.js +1 -0
- package/assets/esri/core/workers/chunks/d1dd1787b3bf27834a9e.js +1 -0
- package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +1 -0
- package/assets/esri/core/workers/chunks/d2d4bce67c711a404b73.js +1 -0
- package/assets/esri/core/workers/chunks/d31f62ecbb54bffc54f2.js +1 -0
- package/assets/esri/core/workers/chunks/d37f03714c9591fb2b06.js +1 -0
- package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +1 -0
- package/assets/esri/core/workers/chunks/d436e1694f4b5bf05a90.js +1 -0
- package/assets/esri/core/workers/chunks/d4770dddfbfdc3845749.js +1 -0
- package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +1 -0
- package/assets/esri/core/workers/chunks/d4c4dad52da5dcf4432c.js +1 -0
- package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +1 -0
- package/assets/esri/core/workers/chunks/d525b3fa719a688d4899.js +1 -0
- package/assets/esri/core/workers/chunks/d6e11f05db698d14f21d.js +1 -0
- package/assets/esri/core/workers/chunks/d7c275717a2405b6ff87.js +1 -0
- package/assets/esri/core/workers/chunks/d8c8f54532714d4db2cd.js +1 -0
- package/assets/esri/core/workers/chunks/d9d2178d436597b1afaf.js +1 -0
- package/assets/esri/core/workers/chunks/da808dfb22c6de29e560.js +1 -0
- package/assets/esri/core/workers/chunks/db9a9712038df76e3eda.js +1 -0
- package/assets/esri/core/workers/chunks/dc57400b835724204909.js +2 -0
- package/assets/esri/core/workers/chunks/dd0e65b18c634b64582e.js +1 -0
- package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +1 -0
- package/assets/esri/core/workers/chunks/de216922b36267ab4aa1.js +1 -0
- package/assets/esri/core/workers/chunks/de6b3f80070abdd61d0f.js +1 -0
- package/assets/esri/core/workers/chunks/dea2e8caaf6e53ec56f8.js +1 -0
- package/assets/esri/core/workers/chunks/ded589862c22ea12d47a.js +1 -0
- package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +1 -0
- package/assets/esri/core/workers/chunks/df40be5a050b8d20617a.js +1 -0
- package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +1 -0
- package/assets/esri/core/workers/chunks/e1b677a135e164a29605.js +1 -0
- package/assets/esri/core/workers/chunks/e201bfe3158c025edc99.js +1 -0
- package/assets/esri/core/workers/chunks/e337b8d69d89f597cb58.js +1 -0
- package/assets/esri/core/workers/chunks/e370d213c307ad8bfaec.js +1 -0
- package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +1 -0
- package/assets/esri/core/workers/chunks/e3d3fc87789fd711f161.js +2 -0
- package/assets/esri/core/workers/chunks/e43c6058c793d43fa5f3.js +1 -0
- package/assets/esri/core/workers/chunks/e462b167841fddaa80b8.js +1 -0
- package/assets/esri/core/workers/chunks/e51e35b5cef89b0e0db1.js +1 -0
- package/assets/esri/core/workers/chunks/e58ec49a5cd852cb46cb.js +1 -0
- package/assets/esri/core/workers/chunks/e7d28ebf684db4ecb8cb.js +1 -0
- package/assets/esri/core/workers/chunks/e881629bf230a148963d.js +1 -0
- package/assets/esri/core/workers/chunks/e8f6305744f87bbed961.js +1 -0
- package/assets/esri/core/workers/chunks/e9f8115c049f168d3c2b.js +1 -0
- package/assets/esri/core/workers/chunks/ea32a8478f3ccb19aced.js +1 -0
- package/assets/esri/core/workers/chunks/ea734de7d5271c487171.js +1 -0
- package/assets/esri/core/workers/chunks/eb765db525f4e2e2bda2.js +1 -0
- package/assets/esri/core/workers/chunks/ebbcd6196ef5c5ab233d.js +1 -0
- package/assets/esri/core/workers/chunks/ec00fa313794f177d9d3.js +1 -0
- package/assets/esri/core/workers/chunks/ec03d59984782529031a.js +1 -0
- package/assets/esri/core/workers/chunks/ec7f4e459c7466805f72.js +1 -0
- package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +1 -0
- package/assets/esri/core/workers/chunks/ed1c92a24a167e57e36e.js +1 -0
- package/assets/esri/core/workers/chunks/ed69b19366e3ce5805ac.js +1 -0
- package/assets/esri/core/workers/chunks/ee25d1eae52c8be82898.js +1 -0
- package/assets/esri/core/workers/chunks/ee905e24320241959965.js +1 -0
- package/assets/esri/core/workers/chunks/eea91681bae00819a5e9.js +1 -0
- package/assets/esri/core/workers/chunks/eed24607e9b5312b417f.js +1 -0
- package/assets/esri/core/workers/chunks/ef519984fa691aad8d87.js +2 -0
- package/assets/esri/core/workers/chunks/f0eb2bfe5a8607b251f5.js +1 -0
- package/assets/esri/core/workers/chunks/f370e60dc81d41368e0c.js +1 -0
- package/assets/esri/core/workers/chunks/f3fdf9970b3c7acd071d.js +1 -0
- package/assets/esri/core/workers/chunks/f40e413c68d99cf54d42.js +1 -0
- package/assets/esri/core/workers/chunks/f5b32bc3f7ee911e3c59.js +1 -0
- package/assets/esri/core/workers/chunks/f5dbffd5e8b3c16336a1.js +1 -0
- package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js +2 -0
- package/assets/esri/core/workers/chunks/f627017adc9469144507.js +1 -0
- package/assets/esri/core/workers/chunks/f7ad285944e0e5164384.js +1 -0
- package/assets/esri/core/workers/chunks/f872d34d4236f8bedbd9.js +1 -0
- package/assets/esri/core/workers/chunks/f88adc930506ac2d5c90.js +1 -0
- package/assets/esri/core/workers/chunks/f890cfa4932955ecd4e7.js +1 -0
- package/assets/esri/core/workers/chunks/fd4bd04f85458cad849c.js +1 -0
- package/assets/esri/core/workers/chunks/fe98a068536e904ce257.js +1 -0
- package/assets/esri/core/workers/chunks/ffa9cc09e82f2e515993.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/themes/base/widgets/_Compass.scss +1 -1
- package/assets/esri/themes/base/widgets/_Feature.scss +1 -1
- package/assets/esri/themes/base/widgets/_Features.scss +1 -1
- package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -4
- package/assets/esri/themes/base/widgets/_Widget.scss +1 -1
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/config.js +1 -1
- package/core/MultiOriginJSONSupport.d.ts +8 -0
- package/core/MultiOriginJSONSupport.js +1 -1
- package/core/ReadOnlyMultiOriginJSONSupport.d.ts +40 -0
- package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
- package/core/WriteableMultiOriginJSONMixin.js +1 -1
- package/core/accessorSupport/decorators/subclass.js +1 -1
- package/core/accessorSupport/types.d.ts +2 -0
- package/kernel.js +1 -1
- package/layers/BingMapsLayer.d.ts +3 -2
- package/layers/BingMapsLayer.js +1 -1
- package/layers/BuildingSceneLayer.d.ts +3 -2
- package/layers/BuildingSceneLayer.js +1 -1
- package/layers/CSVLayer.js +1 -1
- package/layers/CatalogLayer.d.ts +3 -2
- package/layers/CatalogLayer.js +1 -1
- package/layers/DimensionLayer.d.ts +3 -2
- package/layers/DimensionLayer.js +1 -1
- package/layers/ElevationLayer.d.ts +3 -2
- package/layers/ElevationLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +3 -2
- package/layers/FeatureLayer.js +1 -1
- package/layers/GaussianSplatLayer.d.ts +3 -2
- package/layers/GaussianSplatLayer.js +1 -1
- package/layers/GeoJSONLayer.d.ts +3 -2
- package/layers/GeoJSONLayer.js +1 -1
- package/layers/GeoRSSLayer.d.ts +3 -2
- package/layers/GeoRSSLayer.js +1 -1
- package/layers/GroupLayer.d.ts +3 -2
- package/layers/GroupLayer.js +1 -1
- package/layers/ImageryLayer.d.ts +3 -2
- package/layers/ImageryLayer.js +1 -1
- package/layers/ImageryTileLayer.d.ts +3 -2
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.d.ts +3 -2
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.d.ts +3 -2
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/KMLLayer.d.ts +3 -2
- package/layers/KMLLayer.js +1 -1
- package/layers/KnowledgeGraphLayer.d.ts +3 -2
- package/layers/KnowledgeGraphLayer.js +1 -1
- package/layers/LineOfSightLayer.d.ts +3 -2
- package/layers/LineOfSightLayer.js +1 -1
- package/layers/LinkChartLayer.d.ts +3 -2
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapImageLayer.d.ts +3 -2
- package/layers/MapImageLayer.js +1 -1
- package/layers/MapNotesLayer.d.ts +3 -2
- package/layers/MapNotesLayer.js +1 -1
- package/layers/MediaLayer.d.ts +3 -2
- package/layers/MediaLayer.js +1 -1
- package/layers/OGCFeatureLayer.d.ts +3 -2
- package/layers/OGCFeatureLayer.js +1 -1
- package/layers/ParquetLayer.d.ts +3 -2
- package/layers/ParquetLayer.js +1 -1
- package/layers/PointCloudLayer.d.ts +3 -2
- package/layers/PointCloudLayer.js +1 -1
- package/layers/RouteLayer.d.ts +3 -2
- package/layers/RouteLayer.js +1 -1
- package/layers/SceneLayer.d.ts +6 -2
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.d.ts +3 -2
- package/layers/StreamLayer.js +1 -1
- package/layers/SubtypeGroupLayer.d.ts +3 -2
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/TileLayer.d.ts +3 -2
- package/layers/TileLayer.js +1 -1
- package/layers/UnknownLayer.d.ts +3 -2
- package/layers/UnknownLayer.js +1 -1
- package/layers/UnsupportedLayer.d.ts +3 -2
- package/layers/UnsupportedLayer.js +1 -1
- package/layers/VectorTileLayer.d.ts +3 -2
- package/layers/VectorTileLayer.js +1 -1
- package/layers/VideoLayer.d.ts +3 -2
- package/layers/VideoLayer.js +1 -1
- package/layers/ViewshedLayer.d.ts +3 -2
- package/layers/ViewshedLayer.js +1 -1
- package/layers/VoxelLayer.d.ts +3 -2
- package/layers/VoxelLayer.js +1 -1
- package/layers/WCSLayer.d.ts +3 -2
- package/layers/WCSLayer.js +1 -1
- package/layers/WFSLayer.d.ts +3 -2
- package/layers/WFSLayer.js +1 -1
- package/layers/WMSLayer.d.ts +3 -2
- package/layers/WMSLayer.js +1 -1
- package/layers/WMTSLayer.d.ts +3 -2
- package/layers/WMTSLayer.js +1 -1
- package/layers/WebTileLayer.d.ts +3 -2
- package/layers/WebTileLayer.js +1 -1
- package/layers/buildingSublayers/BuildingSublayer.d.ts +3 -2
- package/layers/buildingSublayers/BuildingSublayer.js +1 -1
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +3 -2
- package/layers/catalog/CatalogDynamicGroupLayer.js +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +3 -2
- package/layers/catalog/CatalogFootprintLayer.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +3 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
- package/layers/media/types.d.ts +31 -5
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/MediaElementBase.d.ts +5 -3
- package/layers/support/MediaElementBase.js +1 -1
- package/layers/support/Sublayer.d.ts +3 -2
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/SubtypeSublayer.d.ts +3 -2
- package/layers/support/SubtypeSublayer.js +1 -1
- package/layers/support/WMSSublayer.d.ts +3 -2
- package/layers/support/WMSSublayer.js +1 -1
- package/layers/support/layerOriginUtils.js +1 -1
- package/linkChart/LinkChartProperties.d.ts +5 -3
- package/linkChart/LinkChartProperties.js +1 -1
- package/networks/Network.d.ts +4 -2
- package/networks/Network.js +1 -1
- package/networks/support/NamedTraceConfiguration.d.ts +5 -3
- package/networks/support/NamedTraceConfiguration.js +1 -1
- package/package.json +3 -3
- package/support/revision.js +1 -1
- package/views/2d/engine/BitmapTileContainer.js +1 -1
- package/views/2d/engine/DisplayObject.js +1 -1
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/imagery/RasterTileContainer.js +1 -1
- package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
- package/views/2d/engine/webgl/RenderingDevice.js +1 -1
- package/views/2d/engine/webgl/TileContainer.js +1 -1
- package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/support/Tile.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
- package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
- package/views/2d/layers/support/imageUtils.js +1 -1
- package/views/2d/tiling/TileCache.js +1 -1
- package/views/2d/tiling/TileInfoView.js +1 -1
- package/views/2d/tiling/TileInfoViewPOT.js +1 -1
- package/views/3d/FocusAreasView.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/ElevationQuery.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/extrudeUtils.js +5 -0
- package/widgets/Attribution.d.ts +1 -0
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
- package/widgets/FeatureTable/support/tableUtils.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Legend/LegendViewModel.d.ts +6 -0
- package/widgets/Legend/styles/card/CardView.d.ts +19 -3
- package/widgets/Legend/styles/classic/ClassicView.d.ts +1 -0
- package/widgets/Legend.d.ts +15 -0
- package/widgets/smartMapping/BinaryColorSizeSlider.js +1 -1
- package/widgets/smartMapping/ClassedColorSlider.js +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.js +1 -1
- package/widgets/smartMapping/ColorSizeSlider.js +1 -1
- package/widgets/smartMapping/ColorSlider.js +1 -1
- package/widgets/smartMapping/OpacitySlider.js +1 -1
- package/widgets/smartMapping/SizeSlider.js +1 -1
- package/assets/esri/core/workers/chunks/00c77f03dd511c6dbff2.js +0 -1
- package/assets/esri/core/workers/chunks/015492d609c28077d66c.js +0 -1
- package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +0 -1
- package/assets/esri/core/workers/chunks/0429ca6ba562ae29897e.js +0 -1
- package/assets/esri/core/workers/chunks/04958494022f82dca473.js +0 -1
- package/assets/esri/core/workers/chunks/049c125085028ffdd0dd.js +0 -1
- package/assets/esri/core/workers/chunks/05e3bfd07a7a227862fd.js +0 -1
- package/assets/esri/core/workers/chunks/095c1b88cdcb91ab837e.js +0 -1
- package/assets/esri/core/workers/chunks/09b77f82c22530b44daa.js +0 -1
- package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +0 -1
- package/assets/esri/core/workers/chunks/0b679d5a1bfdbd006d6e.js +0 -1
- package/assets/esri/core/workers/chunks/0b7bbdc0d71ee6721751.js +0 -2
- package/assets/esri/core/workers/chunks/0d9e1ccc3ba8b5ed3287.js +0 -1
- package/assets/esri/core/workers/chunks/0f4e9846d074864b39c2.js +0 -1
- package/assets/esri/core/workers/chunks/0fc22ad791d3ec0a9c5e.js +0 -1
- package/assets/esri/core/workers/chunks/1037b38aade2a847bf24.js +0 -1
- package/assets/esri/core/workers/chunks/108a4ab28b6586e281d9.js +0 -1
- package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +0 -1
- package/assets/esri/core/workers/chunks/13137f35b9ab299d07e3.js +0 -1
- package/assets/esri/core/workers/chunks/13839d220e5c62404923.js +0 -1
- package/assets/esri/core/workers/chunks/1484a7ef4fcbd748b197.js +0 -1
- package/assets/esri/core/workers/chunks/14dedd80fb797303f91f.js +0 -1
- package/assets/esri/core/workers/chunks/1694b9154df3eccf602e.js +0 -1
- package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +0 -1
- package/assets/esri/core/workers/chunks/16cfa7031d6dbf5aa09b.js +0 -1
- package/assets/esri/core/workers/chunks/18ab5959ebf8689f8fe8.js +0 -1
- package/assets/esri/core/workers/chunks/18b0ce0bc2a9737ffb1b.js +0 -1
- package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +0 -1
- package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +0 -1
- package/assets/esri/core/workers/chunks/1c58bd3275c849d44b13.js +0 -1
- package/assets/esri/core/workers/chunks/1c742018eb7dfd5d23e3.js +0 -1
- package/assets/esri/core/workers/chunks/1dfa949cc4f4c18ed4cf.js +0 -1
- package/assets/esri/core/workers/chunks/1e848d9da1c61a27cf18.js +0 -1
- package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +0 -1
- package/assets/esri/core/workers/chunks/218b2b767b40d85fb713.js +0 -1
- package/assets/esri/core/workers/chunks/22c115ec003351c7d8ee.js +0 -1
- package/assets/esri/core/workers/chunks/23545a9adc75564ecf6e.js +0 -1
- package/assets/esri/core/workers/chunks/23cf4cbc389d2b50e968.js +0 -1
- package/assets/esri/core/workers/chunks/24527b61c8c216becbc4.js +0 -1
- package/assets/esri/core/workers/chunks/24dab877047369de13e2.js +0 -1
- package/assets/esri/core/workers/chunks/25f3ee666f545a7a7993.js +0 -2
- package/assets/esri/core/workers/chunks/29471e0b3f7296dee096.js +0 -1
- package/assets/esri/core/workers/chunks/2b27499fa9de22970b7a.js +0 -1
- package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +0 -1
- package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +0 -1
- package/assets/esri/core/workers/chunks/2d8b8880e6bff4414e95.js +0 -1
- package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +0 -1
- package/assets/esri/core/workers/chunks/2e6ae1ca07df442fc966.js +0 -1
- package/assets/esri/core/workers/chunks/2e6bd743b88e83d43137.js +0 -1
- package/assets/esri/core/workers/chunks/3001568a99fdd14aada9.js +0 -1
- package/assets/esri/core/workers/chunks/30dd4a7c93b33988a270.js +0 -1
- package/assets/esri/core/workers/chunks/312b3cc1c91d5b419faf.js +0 -1
- package/assets/esri/core/workers/chunks/31fa3dd983e9e73fcb65.js +0 -1
- package/assets/esri/core/workers/chunks/33a13e80badd20ed8de2.js +0 -1
- package/assets/esri/core/workers/chunks/355c8d0eadfff9f62dfb.js +0 -1
- package/assets/esri/core/workers/chunks/35c98ea99000f411175f.js +0 -1
- package/assets/esri/core/workers/chunks/35e1d0cfc3c5a484422f.js +0 -1
- package/assets/esri/core/workers/chunks/360f263f32aa2342a897.js +0 -1
- package/assets/esri/core/workers/chunks/369f37060608342a4262.js +0 -1
- package/assets/esri/core/workers/chunks/36ecf951c0c7dad84b69.js +0 -1
- package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js +0 -2
- package/assets/esri/core/workers/chunks/37258b702fe06bbcf748.js +0 -1
- package/assets/esri/core/workers/chunks/37a3e91791a18ed8b8da.js +0 -1
- package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +0 -1
- package/assets/esri/core/workers/chunks/3b1982bf7b44ff897a35.js +0 -1
- package/assets/esri/core/workers/chunks/3b25f5d9c8f78bb6e011.js +0 -1
- package/assets/esri/core/workers/chunks/3c5f07ebe1b09dcdc958.js +0 -1
- package/assets/esri/core/workers/chunks/3c66dd52ad156711a6a2.js +0 -1
- package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +0 -1
- package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +0 -1
- package/assets/esri/core/workers/chunks/41f487713c6278d389a1.js +0 -1
- package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +0 -1
- package/assets/esri/core/workers/chunks/43e2c1d72cd9c8beed2f.js +0 -2
- package/assets/esri/core/workers/chunks/44c228388a95fa958827.js +0 -1
- package/assets/esri/core/workers/chunks/45a9cd722e98dd1548ae.js +0 -1
- package/assets/esri/core/workers/chunks/46daa1ff5b412a97edc9.js +0 -1
- package/assets/esri/core/workers/chunks/46e547691bca424f2bc9.js +0 -1
- package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +0 -1
- package/assets/esri/core/workers/chunks/47d2103b876b01bc26fd.js +0 -1
- package/assets/esri/core/workers/chunks/495af366ec1defd89a72.js +0 -1
- package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +0 -1
- package/assets/esri/core/workers/chunks/4bcd74951477e8977ba1.js +0 -1
- package/assets/esri/core/workers/chunks/4cbe78d6a5ff617e15d6.js +0 -1
- package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +0 -1
- package/assets/esri/core/workers/chunks/4d5591c1b4ef37075921.js +0 -1
- package/assets/esri/core/workers/chunks/4ef97eb67dc42e0052d6.js +0 -1
- package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +0 -1
- package/assets/esri/core/workers/chunks/4fcf035582fa6e93d264.js +0 -1
- package/assets/esri/core/workers/chunks/509307a2ef990ad1da8f.js +0 -301
- package/assets/esri/core/workers/chunks/50eb381b18b84b9c75a3.js +0 -1
- package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +0 -1
- package/assets/esri/core/workers/chunks/52a14266fe239b95c5ce.js +0 -1
- package/assets/esri/core/workers/chunks/52bcfb3ea563c1a301d4.js +0 -1
- package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +0 -1
- package/assets/esri/core/workers/chunks/558822b700e8bd844052.js +0 -1
- package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +0 -1
- package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +0 -1
- package/assets/esri/core/workers/chunks/56569d0c2cf5c5167651.js +0 -1
- package/assets/esri/core/workers/chunks/575a33924ec900f9e537.js +0 -1
- package/assets/esri/core/workers/chunks/584c4602d97a008afb83.js +0 -1
- package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +0 -1
- package/assets/esri/core/workers/chunks/590a7fd4f5476224ec89.js +0 -1
- package/assets/esri/core/workers/chunks/59a45533e96cedf1c480.js +0 -1
- package/assets/esri/core/workers/chunks/5a66b7f1f4da75da8e7f.js +0 -1
- package/assets/esri/core/workers/chunks/5b9f2aa3ba1bf12c3240.js +0 -2
- package/assets/esri/core/workers/chunks/5bbf20135c87a1cc8a18.js +0 -1
- package/assets/esri/core/workers/chunks/5cc217f188fd56006158.js +0 -1
- package/assets/esri/core/workers/chunks/5dc2f2e28c30386efadf.js +0 -1
- package/assets/esri/core/workers/chunks/5df49e1f283e2e83de46.js +0 -1
- package/assets/esri/core/workers/chunks/60764ea501a3a1aacc63.js +0 -1
- package/assets/esri/core/workers/chunks/6087d5dc40bb62ec48c8.js +0 -1
- package/assets/esri/core/workers/chunks/6094bba52ddada48c7ed.js +0 -1
- package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +0 -1
- package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +0 -1
- package/assets/esri/core/workers/chunks/6387308c4add226e5b83.js +0 -1
- package/assets/esri/core/workers/chunks/63b8193ad90b2ebe6884.js +0 -1
- package/assets/esri/core/workers/chunks/657602e6a84e8b4576fb.js +0 -1
- package/assets/esri/core/workers/chunks/65fd971d0574d69cbc26.js +0 -1
- package/assets/esri/core/workers/chunks/679cd6424e0e2d7f372b.js +0 -1
- package/assets/esri/core/workers/chunks/6800647240b7968be225.js +0 -1
- package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +0 -1
- package/assets/esri/core/workers/chunks/680f9c29ca96ea8e01da.js +0 -1
- package/assets/esri/core/workers/chunks/68cb43f2fa8cc826e99b.js +0 -1
- package/assets/esri/core/workers/chunks/69a68a6d6736c4b97a27.js +0 -1
- package/assets/esri/core/workers/chunks/6a3d66d7c92f90cc2a17.js +0 -1
- package/assets/esri/core/workers/chunks/6a544fb44f7da0e80f43.js +0 -1
- package/assets/esri/core/workers/chunks/6a782e8475bff4d56dbc.js +0 -1
- package/assets/esri/core/workers/chunks/6b85a8776ec2beff63cb.js +0 -1
- package/assets/esri/core/workers/chunks/6be530ab81291745485b.js +0 -2
- package/assets/esri/core/workers/chunks/6d3ae7969ea86a2e0b13.js +0 -1
- package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +0 -1
- package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +0 -1
- package/assets/esri/core/workers/chunks/6ffc1a0400298fca00ee.js +0 -1
- package/assets/esri/core/workers/chunks/729c2d26ae23d9c86547.js +0 -1
- package/assets/esri/core/workers/chunks/73bee5659414b3687cfc.js +0 -1
- package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js +0 -2
- package/assets/esri/core/workers/chunks/74b825d4f0e7ab567b10.js +0 -1
- package/assets/esri/core/workers/chunks/75c66e38bdc1c786c599.js +0 -1
- package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +0 -1
- package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +0 -1
- package/assets/esri/core/workers/chunks/77509bd20ac5bc190c94.js +0 -1039
- package/assets/esri/core/workers/chunks/7763cf4a9a4343c28591.js +0 -1
- package/assets/esri/core/workers/chunks/7972954801b82e7afc72.js +0 -1
- package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +0 -1
- package/assets/esri/core/workers/chunks/7bc09e80bf45fe137055.js +0 -1
- package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +0 -1
- package/assets/esri/core/workers/chunks/7bf30c254228f9b7f224.js +0 -1
- package/assets/esri/core/workers/chunks/7bf491b468cd74a4166c.js +0 -1
- package/assets/esri/core/workers/chunks/7d631ebf8f79225cf0f6.js +0 -1
- package/assets/esri/core/workers/chunks/7d744554d14057d9b2b1.js +0 -1
- package/assets/esri/core/workers/chunks/7d8664aeff66e34138bd.js +0 -1
- package/assets/esri/core/workers/chunks/7db52d2451494835c160.js +0 -1
- package/assets/esri/core/workers/chunks/818b5b8027d6fe8999d6.js +0 -1
- package/assets/esri/core/workers/chunks/8195310b4c53db902fc1.js +0 -1
- package/assets/esri/core/workers/chunks/82ace0195b63790b22c9.js +0 -1
- package/assets/esri/core/workers/chunks/83117d2747bdaf480c7b.js +0 -1
- package/assets/esri/core/workers/chunks/83c5dea24e36ac2e3497.js +0 -1
- package/assets/esri/core/workers/chunks/84440efe2cc337dab81f.js +0 -1
- package/assets/esri/core/workers/chunks/84ec8ea3e40e0864798f.js +0 -1
- package/assets/esri/core/workers/chunks/852007720e3bc29532db.js +0 -1
- package/assets/esri/core/workers/chunks/85c92726121cb43a2216.js +0 -1
- package/assets/esri/core/workers/chunks/86832d94190150c70c11.js +0 -1
- package/assets/esri/core/workers/chunks/873008572c1f21cea122.js +0 -2
- package/assets/esri/core/workers/chunks/87c6470ee295d736b06d.js +0 -1
- package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +0 -1
- package/assets/esri/core/workers/chunks/88cbaa91c495d86f4bb0.js +0 -1
- package/assets/esri/core/workers/chunks/89853fccdf2bfcc290c0.js +0 -1
- package/assets/esri/core/workers/chunks/8c1f1eb36198ce40ef13.js +0 -1
- package/assets/esri/core/workers/chunks/8d58e59ea13ecafdd45c.js +0 -1
- package/assets/esri/core/workers/chunks/8db723b8468e408dda46.js +0 -1
- package/assets/esri/core/workers/chunks/8dca61f8ba6689379f86.js +0 -1
- package/assets/esri/core/workers/chunks/8e354c7b4858db5880a9.js +0 -1
- package/assets/esri/core/workers/chunks/8e556ff730ae96290a69.js +0 -1
- package/assets/esri/core/workers/chunks/8e62a5fcc4c7e83a903a.js +0 -1
- package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +0 -1
- package/assets/esri/core/workers/chunks/91d9ade78854f40a962d.js +0 -1
- package/assets/esri/core/workers/chunks/91fba3bebd78cb956941.js +0 -1
- package/assets/esri/core/workers/chunks/920b4def081c78c0d586.js +0 -1
- package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +0 -1
- package/assets/esri/core/workers/chunks/92a4f56232f81ca457fa.js +0 -1
- package/assets/esri/core/workers/chunks/92ef6071ea87b7f940e2.js +0 -1
- package/assets/esri/core/workers/chunks/9319d57494482668ab19.js +0 -1
- package/assets/esri/core/workers/chunks/9361834d2c3064eb41fc.js +0 -1
- package/assets/esri/core/workers/chunks/9382af94bf6bf1b09c8c.js +0 -1
- package/assets/esri/core/workers/chunks/942c80c425b1f13cced5.js +0 -1
- package/assets/esri/core/workers/chunks/95cb062cae4c31c07124.js +0 -1
- package/assets/esri/core/workers/chunks/968335b28b895e19913b.js +0 -1
- package/assets/esri/core/workers/chunks/979bc762ccc0d3fc2467.js +0 -1
- package/assets/esri/core/workers/chunks/9828b07b5f8fd9f40935.js +0 -1
- package/assets/esri/core/workers/chunks/98739414c107ad78e4d8.js +0 -1
- package/assets/esri/core/workers/chunks/988f5e003377d734d282.js +0 -1
- package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +0 -1
- package/assets/esri/core/workers/chunks/9a6bdcedcb7d2798ba30.js +0 -1
- package/assets/esri/core/workers/chunks/9afe220b5b60cfa44c95.js +0 -1
- package/assets/esri/core/workers/chunks/9ba8a2e1c0fb4e1efc7c.js +0 -1
- package/assets/esri/core/workers/chunks/9c93eadbd19bef1191b4.js +0 -1
- package/assets/esri/core/workers/chunks/9c9d359caf8354a8ec52.js +0 -1
- package/assets/esri/core/workers/chunks/9cc2832d5f625f81c08d.js +0 -1
- package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js +0 -2
- package/assets/esri/core/workers/chunks/9cec9d09f3aa5c21660d.js +0 -37
- package/assets/esri/core/workers/chunks/9d258f14199181dee424.js +0 -1
- package/assets/esri/core/workers/chunks/9e869fd6450cf874783a.js +0 -1
- package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +0 -1
- package/assets/esri/core/workers/chunks/a1594486177015e8a6c3.js +0 -1
- package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +0 -1
- package/assets/esri/core/workers/chunks/a1b8722c6acafdf1c2bf.js +0 -1
- package/assets/esri/core/workers/chunks/a3407ca77b0ff62c0e75.js +0 -1
- package/assets/esri/core/workers/chunks/a41073263af5eba3c16d.js +0 -1
- package/assets/esri/core/workers/chunks/a623676c74745e040a2a.js +0 -1
- package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +0 -1
- package/assets/esri/core/workers/chunks/a6742abe3ebe371e85f1.js +0 -1
- package/assets/esri/core/workers/chunks/a6d4256c327f07221117.js +0 -1
- package/assets/esri/core/workers/chunks/a6f29d1a6356e2de5a79.js +0 -1
- package/assets/esri/core/workers/chunks/a79fad422d41019c8232.js +0 -1
- package/assets/esri/core/workers/chunks/a8dfd246c797f3b979f5.js +0 -1
- package/assets/esri/core/workers/chunks/ab0275669e28e7a34c38.js +0 -1
- package/assets/esri/core/workers/chunks/ab5e2f823960c33cefe4.js +0 -1
- package/assets/esri/core/workers/chunks/acdbe0299024d58e1421.js +0 -1
- package/assets/esri/core/workers/chunks/ad253136c1e12f733d15.js +0 -1
- package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +0 -1
- package/assets/esri/core/workers/chunks/adff1791ae44631ad34a.js +0 -1
- package/assets/esri/core/workers/chunks/ae16fe50a54b5c0f9811.js +0 -1
- package/assets/esri/core/workers/chunks/ae18de425548bb865702.js +0 -1
- package/assets/esri/core/workers/chunks/ae6066ea6cb373dc6db3.js +0 -1
- package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +0 -1
- package/assets/esri/core/workers/chunks/af00081b78fc30ac556c.js +0 -1
- package/assets/esri/core/workers/chunks/b211b53aa7616a093b90.js +0 -1
- package/assets/esri/core/workers/chunks/b28e0b89603d8b03f9e1.js +0 -1
- package/assets/esri/core/workers/chunks/b4349db7155673329432.js +0 -1
- package/assets/esri/core/workers/chunks/b48033645091c91e0d88.js +0 -1
- package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +0 -1
- package/assets/esri/core/workers/chunks/b64cfd86d9204be743c6.js +0 -1
- package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.js +0 -1
- package/assets/esri/core/workers/chunks/ba6452acee3d6defb37e.js +0 -1
- package/assets/esri/core/workers/chunks/bb92a9daa0c5b019561f.js +0 -1
- package/assets/esri/core/workers/chunks/bc731ec9d5136f1d9253.js +0 -1
- package/assets/esri/core/workers/chunks/bd1d159dce4094694c93.js +0 -1
- package/assets/esri/core/workers/chunks/bd2a28b14e5c0a55d783.js +0 -1
- package/assets/esri/core/workers/chunks/bdbb5b33f0f49661bf6d.js +0 -1
- package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +0 -1
- package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +0 -1
- package/assets/esri/core/workers/chunks/bf88bd763fd6442a95fd.js +0 -1
- package/assets/esri/core/workers/chunks/bfe052b386ec4874f350.js +0 -1
- package/assets/esri/core/workers/chunks/c042269586921e337be9.js +0 -1
- package/assets/esri/core/workers/chunks/c0b15510a8cab98df77f.js +0 -1
- package/assets/esri/core/workers/chunks/c27842a34e73ccb46116.js +0 -1
- package/assets/esri/core/workers/chunks/c3272b09bff886b08ce1.js +0 -1
- package/assets/esri/core/workers/chunks/c38a07e936226b361b63.js +0 -1
- package/assets/esri/core/workers/chunks/c59c1e52acb5ac8f78f9.js +0 -1
- package/assets/esri/core/workers/chunks/c5cc0fc652432a9264cc.js +0 -1
- package/assets/esri/core/workers/chunks/c605bf7d1e12917ac482.js +0 -1
- package/assets/esri/core/workers/chunks/c743e561e7d73a100576.js +0 -1
- package/assets/esri/core/workers/chunks/c7838ac0db8570a2d2c1.js +0 -1
- package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +0 -1
- package/assets/esri/core/workers/chunks/c91ef3814e7f024043cf.js +0 -1
- package/assets/esri/core/workers/chunks/c96083838f919a8f64cd.js +0 -1
- package/assets/esri/core/workers/chunks/cad1d7e5ce89f51b3ac9.js +0 -1
- package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +0 -1
- package/assets/esri/core/workers/chunks/cc50f96321a7c12f300b.js +0 -1
- package/assets/esri/core/workers/chunks/ccc743e41854eb225c23.js +0 -1
- package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +0 -1
- package/assets/esri/core/workers/chunks/ce3870db25566cd93d8e.js +0 -1
- package/assets/esri/core/workers/chunks/cfbe9993263fa6f69363.js +0 -1
- package/assets/esri/core/workers/chunks/d129a5a34e9ad09bd39e.js +0 -1
- package/assets/esri/core/workers/chunks/d14e75b160aa432233c6.js +0 -1
- package/assets/esri/core/workers/chunks/d21480925a8bc9c7de96.js +0 -1
- package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +0 -1
- package/assets/esri/core/workers/chunks/d364096493ceeff34c10.js +0 -1
- package/assets/esri/core/workers/chunks/d373986588f6b1b8f2d5.js +0 -1
- package/assets/esri/core/workers/chunks/d3b1d1c389d70919fb02.js +0 -1
- package/assets/esri/core/workers/chunks/d52a0c3a855029c48bd2.js +0 -1
- package/assets/esri/core/workers/chunks/d66973e926bc03e2359a.js +0 -1
- package/assets/esri/core/workers/chunks/d7cd1d879768df629716.js +0 -1
- package/assets/esri/core/workers/chunks/d7df5e4028d502712317.js +0 -1
- package/assets/esri/core/workers/chunks/d90564fbafc00df2d56d.js +0 -1
- package/assets/esri/core/workers/chunks/d9ca754f51b9812bb179.js +0 -1
- package/assets/esri/core/workers/chunks/d9ef0b3341e2744d8f2f.js +0 -1
- package/assets/esri/core/workers/chunks/da5ce19ecf3a5e92a2a9.js +0 -1
- package/assets/esri/core/workers/chunks/da7685ec2b6eaf00fd2d.js +0 -1
- package/assets/esri/core/workers/chunks/dae715b2b0094641e42f.js +0 -1
- package/assets/esri/core/workers/chunks/db04b0a30cce9e476551.js +0 -1
- package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +0 -1
- package/assets/esri/core/workers/chunks/db4661fd82dc61162115.js +0 -1
- package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +0 -1
- package/assets/esri/core/workers/chunks/dddb6cb44cbe4dc1af97.js +0 -1
- package/assets/esri/core/workers/chunks/de60421029fbcebe2950.js +0 -1
- package/assets/esri/core/workers/chunks/df33d5a08e1b6dc00f45.js +0 -1
- package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +0 -1
- package/assets/esri/core/workers/chunks/e03c706e327f4989280a.js +0 -1
- package/assets/esri/core/workers/chunks/e0648f5aed9d939928dc.js +0 -1
- package/assets/esri/core/workers/chunks/e071b912539304564b69.js +0 -1
- package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +0 -1
- package/assets/esri/core/workers/chunks/e34b7acc963288ca0f04.js +0 -1
- package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +0 -1
- package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +0 -1
- package/assets/esri/core/workers/chunks/e615a935bbf1168fac43.js +0 -1
- package/assets/esri/core/workers/chunks/e8bf362b2631f977b1cb.js +0 -1
- package/assets/esri/core/workers/chunks/e8e4d48ab4024e17108d.js +0 -1
- package/assets/esri/core/workers/chunks/e97787de88e2992add13.js +0 -1
- package/assets/esri/core/workers/chunks/eaadcc43837c465342cc.js +0 -1
- package/assets/esri/core/workers/chunks/eb7eb3b3b8800fd73f3e.js +0 -1
- package/assets/esri/core/workers/chunks/ecb4c223c0278971cdc9.js +0 -1
- package/assets/esri/core/workers/chunks/ed7e353e290b3a272457.js +0 -1
- package/assets/esri/core/workers/chunks/ee361690b456c12c30d8.js +0 -1
- package/assets/esri/core/workers/chunks/ef639d31c94d2b55b8d4.js +0 -1
- package/assets/esri/core/workers/chunks/ef977be20a647aeded0a.js +0 -1
- package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +0 -1
- package/assets/esri/core/workers/chunks/f0100b34f8b13fb37157.js +0 -1
- package/assets/esri/core/workers/chunks/f0914715e90e43466f8c.js +0 -1
- package/assets/esri/core/workers/chunks/f0a667d8d33bc51c795d.js +0 -1
- package/assets/esri/core/workers/chunks/f1e5d52e550326e49d1e.js +0 -1
- package/assets/esri/core/workers/chunks/f25bebd2b6eb0d0f6626.js +0 -2
- package/assets/esri/core/workers/chunks/f2b63597ae956db74eb3.js +0 -1
- package/assets/esri/core/workers/chunks/f32d4813b450a3eb4262.js +0 -1
- package/assets/esri/core/workers/chunks/f3b2c81f5ad26a58a4bd.js +0 -1
- package/assets/esri/core/workers/chunks/f54ec21fa67db6fef5a6.js +0 -1
- package/assets/esri/core/workers/chunks/f57b5720ce827f5845cd.js +0 -1
- package/assets/esri/core/workers/chunks/f5a695dc51793b138b23.js +0 -1
- package/assets/esri/core/workers/chunks/f5f584d325f8f2ea825f.js +0 -1
- package/assets/esri/core/workers/chunks/f65d26588d2d80680a26.js +0 -1
- package/assets/esri/core/workers/chunks/f65f1798f398bc549463.js +0 -1
- package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +0 -1
- package/assets/esri/core/workers/chunks/f77b93bef06bae03c1c6.js +0 -1
- package/assets/esri/core/workers/chunks/f7dfbf24859f4ac2421b.js +0 -1
- package/assets/esri/core/workers/chunks/f8438642a9bdd8980b4b.js +0 -1
- package/assets/esri/core/workers/chunks/f98689562017583f73ee.js +0 -1
- package/assets/esri/core/workers/chunks/fdb5b5d8a7c99a0bf5f9.js +0 -1
- package/assets/esri/core/workers/chunks/fdbe16e3b23e01655c0c.js +0 -1
- package/assets/esri/core/workers/chunks/fe07390e27f8cd5e93a8.js +0 -1
- package/assets/esri/core/workers/chunks/fe33b11ec3f58a0f541a.js +0 -1
- package/assets/esri/core/workers/chunks/ff8e2f998169ca3a7a68.js +0 -1
- package/assets/esri/core/workers/chunks/ffdba51e7256ebf8ebd3.js +0 -1
- /package/assets/esri/core/workers/chunks/{43e2c1d72cd9c8beed2f.js.LICENSE.txt → 008a555ce169640e2a35.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{6be530ab81291745485b.js.LICENSE.txt → 21ac84b5c7dedcfd747d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{5b9f2aa3ba1bf12c3240.js.LICENSE.txt → 534ed6574e4a1613ba05.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{37002a46f03a9fc5f644.js.LICENSE.txt → 5aee84e827e6fcc9c4c4.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{73c416ae0ec5a1815591.js.LICENSE.txt → 90a53bfe95ed687c28c1.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{873008572c1f21cea122.js.LICENSE.txt → 91e307ca0d11804a7a1d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{25f3ee666f545a7a7993.js.LICENSE.txt → dc57400b835724204909.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js.LICENSE.txt → e3d3fc87789fd711f161.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{0b7bbdc0d71ee6721751.js.LICENSE.txt → ef519984fa691aad8d87.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{9ccabf8142fb5de4d3e2.js.LICENSE.txt → f5ed6953a9255f0bed6a.js.LICENSE.txt} +0 -0
package/widgets/FeatureTable.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import{substitute as t}from"../intl.js";import{isSome as i}from"../core/arrayUtils.js";import{watch as n,on as s,sync as l,initial as o}from"../core/reactiveUtils.js";import{renderingSanitizer as a}from"../core/sanitizerUtils.js";import{formatFileSize as r}from"../core/unitFormatUtils.js";import{property as c,subclass as d}from"../core/accessorSupport/decorators.js";import{geometryTypes as h}from"../geometry/support/typeUtils.js";import{isLayerFromCatalog as m}from"../layers/catalog/catalogUtils.js";import{isKnowledgeGraphLayer as p,isMapImageLayer as u,isSubtypeGroupLayer as g}from"../layers/support/layerUtils.js";import w from"../tables/AttributeTableTemplate.js";import b from"../time/TimeExtent.js";import v from"./Widget.js";import{isSupportedImage as y,getCalciteIconForAttachment as f}from"./Attachments/support/attachmentUtils.js";import{loadPromptComponents as _,Prompt as M}from"./Editor/components/Prompt.js";import C from"./FeatureTable/ColumnMenuVisibleElements.js";import A from"./FeatureTable/FeatureTableViewModel.js";import S from"./FeatureTable/VisibleElements.js";import{isGroupColumn as V}from"./FeatureTable/support/columnUtils.js";import T from"./FeatureTable/support/TableTemplate.js";import{loadFieldColumnComponents as E,isIFeatureTableSupportedLayer as I,isIFeatureTableSupportedLayerWithAttachments as D,getRelationshipIdsToShow as k}from"./FeatureTable/support/tableUtils.js";import{loadCalciteComponents as R}from"./support/componentsUtils.js";import{globalCss as x}from"./support/globalCss.js";import{getIconForLayer as P}from"./support/iconUtils.js";import{messageBundle as F,vmEvent as O,tsx as L,tsxFragment as z}from"./support/widget.js";import{storeNode as j,discardNode as $}from"./support/widgetUtils.js";var U;const N="esri-feature-table",B=`${N}__dialog`,H=`${N}__attachments-view`,Z={base:N,content:`${N}__content`,menuPopover:`${N}__menu-popover`,layerDropdownMenu:`${N}__layer-switcher-menu`,tableContainer:`${N}__table-container`,tableContainerWithAttachments:`${N}__table-container--attachments`,tableNavigation:`${N}__table-navigation`,attachmentsView:H,attachmentsViewContent:`${H}__content`,attachmentsViewDetails:`${H}__details`,attachmentsViewDropArea:`${H}__drop-area`,attachmentsViewDropAreaLabel:`${H}__drop-area__label`,attachmentsViewDropAreaMessage:`${H}__drop-area__message`,attachmentsViewIcon:`${H}__icon`,attachmentsViewInformation:`${H}__information`,attachmentsViewInformationData:`${H}__information__data`,attachmentsViewInformationLabel:`${H}__information__label`,attachmentsViewList:`${H}__list`,attachmentsViewListFileSize:`${H}__list__filesize`,attachmentsViewListThumbnail:`${H}__list__thumbnail`,expanded:`${N}__expanded`,collapsed:`${N}__collapsed`,dialog:`${B}`,dialogContent:`${B}__content`,dialogHeader:`${B}__header`,footerMessage:`${N}__footer__message`,footerIconDanger:`${N}__footer__icon--danger`},G={chevronRight:"chevron-right",clearSelection:"clear-selection",downloadTo:"download-to",exclamationMarkTriangle:"exclamation-mark-triangle",expand:"expand",exportToCSV:"file-csv",folderOpen:"folder-open",delete:"trash",layers:"layers",moveUp:"move-up",plus:"plus",refresh:"refresh",reset:"reset",save:"save",showAll:"selection-x",showColumn:"show-column",showSelected:"selection-filter",table:"table",upload:"upload",zoomToSelection:"zoom-to-object"};let W=U=class extends v{constructor(e,t){super(e,t),this._attachmentsInput=null,this._columnVisibilityActions=new Map,this.attachmentsList=null,this.description=null,this.disabled=!1,this.navigationScale="m",this.title=null,this.viewModel=new A,this.visibleElements=new S,this._showDeletePrompt=this._showDeletePrompt.bind(this),this._onDeleteSelectionClick=this._onDeleteSelectionClick.bind(this)}initialize(){this.addHandles([n(()=>[this.isQueryingOrSyncing,this.editingEnabled],()=>this.scheduleRender()),n(()=>[this._effectiveVisibleElements,this._effectiveVisibleElements.columnDescriptions,this._effectiveVisibleElements.columnMenus,this._effectiveVisibleElements.columnMenuItems,this.columns.length],()=>{this.columns.forEach(e=>e.visibleElements=this._effectiveVisibleElements),this.refreshCellContent()},l),n(()=>this._effectiveVisibleElements.selectionColumn,e=>{this.grid&&(this.grid.selectionColumnEnabled=e)},o),s(()=>this.viewModel,"show-related-table",e=>this._onShowRelatedTable(e)),n(()=>this.editingEnabled,()=>{const{attachmentsViewOptions:e}=this;this.clearPrompt(),e&&(e.form?.reset(),e.candidates=null)})])}loadDependencies(){return Promise.all([R({action:()=>import("@esri/calcite-components/dist/components/calcite-action"),alert:()=>import("@esri/calcite-components/dist/components/calcite-alert"),button:()=>import("@esri/calcite-components/dist/components/calcite-button"),chip:()=>import("@esri/calcite-components/dist/components/calcite-chip"),dialog:()=>import("@esri/calcite-components/dist/components/calcite-dialog"),dropdown:()=>import("@esri/calcite-components/dist/components/calcite-dropdown"),"dropdown-group":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-group"),"dropdown-item":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-item"),icon:()=>import("@esri/calcite-components/dist/components/calcite-icon"),label:()=>import("@esri/calcite-components/dist/components/calcite-label"),list:()=>import("@esri/calcite-components/dist/components/calcite-list"),"list-item":()=>import("@esri/calcite-components/dist/components/calcite-list-item"),pagination:()=>import("@esri/calcite-components/dist/components/calcite-pagination"),panel:()=>import("@esri/calcite-components/dist/components/calcite-panel"),popover:()=>import("@esri/calcite-components/dist/components/calcite-popover"),progress:()=>import("@esri/calcite-components/dist/components/calcite-progress"),switch:()=>import("@esri/calcite-components/dist/components/calcite-switch"),tooltip:()=>import("@esri/calcite-components/dist/components/calcite-tooltip")}),_(),E()])}destroy(){this.drainRelatedTables(),this.clearPrompt()}get _attachmentsViewFileCancelNode(){const{hasAttachments:e,hasCandidates:t}=this.attachmentsViewOptions;if(e||t)return L("calcite-button",{appearance:"transparent",bind:this,disabled:this.isSyncingAttachments,key:"cancel-node",onclick:()=>{this._resetAttachmentsInput(),this.attachmentsViewOptions.cancel()}},this.messagesCommon?.cancel)}get _attachmentsViewFileLabelNode(){if("replace"===this.attachmentsViewOptions.fileMode)return L("span",{class:Z.attachmentsViewDropAreaLabel,key:"replace-file-node"},this.messages?.replaceFile)}get _attachmentsViewFileMessageNode(){const e=this.attachmentsViewOptions;if(e.hasCandidates)return;const{messages:t}=this,i=this.supportsAddAttachments?null==e.objectId?t?.noFeature:t?.dragAndDropToUpload:t?.editingRestricted;return L("span",{class:Z.attachmentsViewDropAreaMessage,key:"message-node"},i)}get _attachmentsViewFileNameNode(){const e=this.attachmentsViewOptions.candidates,t=Array.from(e??[]).at(-1);if(t)return L("span",{class:Z.attachmentsViewDropAreaMessage,key:"filename-node"},t.name)}get _attachmentsViewFileSaveNode(){const{isSyncingAttachments:e,messages:t}=this,{attachmentInfo:i,hasCandidates:n}=this.attachmentsViewOptions;if(this.supportsAddAttachments&&n)return L("calcite-button",{appearance:"solid",disabled:e,iconStart:G.save,key:"save-node",loading:e,onclick:()=>{this.saveAttachmentsViewForm()}},i?t?.updateAttachment:t?.addAttachment)}get _attachmentsViewFileSelectNode(){if(this.supportsAddAttachments)return L("calcite-button",{appearance:"outline-fill",disabled:this.isSyncingAttachments,iconStart:G.folderOpen,key:"select-node",loading:!1,onclick:()=>{this._resetAttachmentsInput(),this._attachmentsInput?.click()}},this.messages?.selectFile)}get _dialogIsOpen(){return!!this.attachmentsViewOptions.dialogInfo}get _effectiveDescription(){const{description:e}=this;return null!=e?a.sanitize("function"==typeof e?e():e):void 0}get _effectiveLayers(){const{layer:e,layers:t}=this,i=t?.length?t.filter(I):[],n=i.length?i:[...this._viewLayers];return e&&!n.includes(e)&&n.push(e),n}get _effectiveTitle(){const{layer:e,messages:i,state:n,highlightIds:s,title:l,size:o}=this;if(l)return a.sanitize("function"==typeof l?l():l);if(!e)return i.noLayer;switch(n){case"disabled":return i.errorLayer;case"ready":case"loading":return i.loading;case"error":return i.errorData}return t(i.header,{title:a.sanitize(e.title),count:o,selected:s.length})}get _effectiveVisibleElements(){return this.visibleElementsOverride??this.visibleElements}get _filteredTables(){const e=this.relatedTables.toArray(),t=1===e.length;return this.allRelatedTablesVisible?e:t?[e[0]]:this._shouldShowAttachmentsView?e.slice(-1):e.slice(-2)}get _hasAttachmentsViewError(){return null!=this.attachmentsViewOptions.error}get _hasCustomMenuItems(){return!!this.menuConfig?.items?.length}get _hasDefaultMenuItems(){return!!(this._showClearSelectionAction||this._showDeleteSelectionAction||this._showExportSelectionToCSVAction||this._showRefreshDataAction||this._showZoomToSelectionAction||this._showSelectedRecordsShowSelectedAction||this._showSelectedRecordsShowAllAction||this._showColumnsVisibilityAction)}get _shouldShowGrid(){return this.allRelatedTablesVisible||1===this.relatedTables.length&&!this._shouldShowAttachmentsView}get _shouldShowMenu(){const{header:e,menu:t}=this._effectiveVisibleElements;return!(!e||!t||!this._hasDefaultMenuItems&&!this._hasCustomMenuItems)}get _shouldShowAttachmentsView(){return!(null==this.attachmentsViewOptions.objectId&&!this.relatedTables.some(e=>null!=e.attachmentsViewOptions.objectId))}get _showClearSelectionAction(){return!(!this.highlightIds.length||!this._effectiveVisibleElements.menuItems?.clearSelection||this.relatedTables.length||this._shouldShowAttachmentsView)}get _showColumnsVisibilityAction(){const{header:e,menu:t,menuItems:i}=this._effectiveVisibleElements;return!(!(e&&t&&i?.toggleColumns)||this.showRelatedTableCallback||this.allRelatedTablesVisible||this._shouldShowAttachmentsView)}get _showDeleteSelectionAction(){return!(!(this.editingEnabled&&this.highlightIds.length&&this._effectiveVisibleElements.menuItems?.deleteSelection&&this.layer?.capabilities?.operations?.supportsDelete)||this.relatedTables.length||this._shouldShowAttachmentsView)}get _showExportSelectionToCSVAction(){return!(!(this._effectiveVisibleElements.menuItems.exportSelectionToCSV&&this.layer&&this.highlightIds.length)||this.relatedTables.length)}get _showLayerDropdown(){return!(!this._effectiveLayers.length||!this._effectiveVisibleElements.layerDropdown)}get _shouldShowNavigationBar(){const e=!!this.relatedTable||this._shouldShowAttachmentsView;return!this.tableParent&&e}get _showRefreshDataAction(){return!!this._effectiveVisibleElements.menuItems?.refreshData}get _showSelectedRecordsShowSelectedAction(){const e=this.objectIds.length,t=this.highlightIds.length;return!(!t||!this._effectiveVisibleElements.menuItems?.selectedRecordsShowSelectedToggle||e&&t===e||this.relatedTables.length||this._shouldShowAttachmentsView)}get _showSelectedRecordsShowAllAction(){return!(!this._effectiveVisibleElements.menuItems?.selectedRecordsShowAllToggle||!this.objectIds.length||this.relatedTables.length)}get _showZoomToSelectionAction(){return!(!this.view||!this.highlightIds.length||this.effectiveTable.layer?.isTable||!this._effectiveVisibleElements.menuItems?.zoomToSelection)}get _viewLayers(){const e=this.view?.map;if(!e)return[];const t=new Set,i=e=>{!I(e)||g(e)||t.has(e)||"sublayer"===e.type&&!e.capabilities?.operations?.supportsQuery||(e.load(),t.add(e))},n=e=>{m(e)||"catalog-footprint"===e.type||(p(e)?(e.load(),e.layers?.forEach(i),e.tables?.forEach(i)):u(e)?(e.loadAll(),e.allSublayers?.forEach(i),e.subtables?.forEach(i)):g(e)?(e.loadAll(),e.sublayers?.forEach(i)):i(e))};return e.allLayers.forEach(n),e.allTables.forEach(n),[...t.values()]}get grid(){return this.viewModel.grid}get actionColumn(){return this.viewModel.actionColumn}get actionColumnConfig(){return this.viewModel.actionColumnConfig}set actionColumnConfig(e){this.viewModel.actionColumnConfig=e}get activeFilters(){return this.viewModel.activeFilters}get activeSortOrders(){return this.viewModel.activeSortOrders}get allColumns(){return this.viewModel.allColumns}get allRelatedTablesVisible(){return this.viewModel.allRelatedTablesVisible}get allVisibleColumns(){return this.viewModel.allVisibleColumns}get attachmentsColumns(){return this.viewModel.attachmentsColumns}get attachmentsEnabled(){return this.viewModel.attachmentsEnabled}set attachmentsEnabled(e){this.viewModel.attachmentsEnabled=e}get attachmentsViewOptions(){return this.viewModel.attachmentsViewOptions}set attachmentsViewOptions(e){this.viewModel.attachmentsViewOptions=e}get attributeTableTemplate(){return this.viewModel.attributeTableTemplate}set attributeTableTemplate(e){this.viewModel.attributeTableTemplate=e}get autoRefreshEnabled(){return this.viewModel.autoRefreshEnabled}set autoRefreshEnabled(e){this.viewModel.autoRefreshEnabled=e}get autoSaveEnabled(){return this.viewModel.autoSaveEnabled}set autoSaveEnabled(e){this.viewModel.autoSaveEnabled=e}get clearPrompt(){return this.viewModel.clearPrompt}set clearPrompt(e){this.viewModel.clearPrompt=e}get columnPerformanceModeEnabled(){return this.viewModel.columnPerformanceModeEnabled}set columnPerformanceModeEnabled(e){this.viewModel.columnPerformanceModeEnabled=e}get columnReorderingEnabled(){return this.viewModel.columnReorderingEnabled}set columnReorderingEnabled(e){this.viewModel.columnReorderingEnabled=e}get columns(){return this.viewModel.columns}get definitionExpression(){return this.viewModel.definitionExpression}set definitionExpression(e){this.viewModel.definitionExpression=e}get container(){return super.container}set container(e){super.container=e}get editingEnabled(){return this.viewModel.editingEnabled}set editingEnabled(e){this.viewModel.editingEnabled=e}get effectiveSize(){return this.viewModel.effectiveSize}get effectiveTable(){return this.relatedTable||this}get fieldColumns(){return this.viewModel.fieldColumns}get filterGeometry(){return this.viewModel.filterGeometry}set filterGeometry(e){this.viewModel.filterGeometry=e}get filterBySelectionEnabled(){return this.viewModel.filterBySelectionEnabled}set filterBySelectionEnabled(e){this.viewModel.filterBySelectionEnabled=e}get groupColumns(){return this.viewModel.groupColumns}get hasContingentValues(){return this.viewModel.hasContingentValues}get hasInvalidPendingEdits(){return this.viewModel.hasInvalidPendingEdits}get hasPendingEdits(){return this.viewModel.hasPendingEdits}get hiddenFields(){return this.viewModel.hiddenFields}set hiddenFields(e){this.viewModel.hiddenFields=e}get highlightEnabled(){return this.viewModel.highlightEnabled}set highlightEnabled(e){this.viewModel.highlightEnabled=e}get highlightIds(){return this.viewModel.highlightIds}set highlightIds(e){this.viewModel.highlightIds=e}get icon(){return G.table}set icon(e){this._overrideIfSome("icon",e)}get initialSize(){return this.viewModel.initialSize}set initialSize(e){this.viewModel.initialSize=e}get isQueryingOrSyncing(){return this.viewModel.isQueryingOrSyncing}get isSyncing(){return this.viewModel.isSyncing}get isSyncingAttachments(){return this.viewModel.isSyncingAttachments}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get layer(){return this.viewModel.layer}set layer(e){this.viewModel.layer=e}get layers(){return this.viewModel.layers}set layers(e){this.viewModel.layers=e}get layerView(){return this.viewModel.layerView}get maxSize(){return this.viewModel.maxSize}set maxSize(e){this.viewModel.maxSize=e}get messages(){return this.viewModel.messages}set messages(e){this.viewModel.messages=e}get messagesCommon(){return this.viewModel.messagesCommon}set messagesCommon(e){this.viewModel.messagesCommon=e}get messagesUnits(){return this.viewModel.messagesUnits}set messagesUnits(e){this.viewModel.messagesUnits=e}get messagesURIUtils(){return this.viewModel.messagesURIUtils}set messagesURIUtils(e){this.viewModel.messagesURIUtils=e}get menuConfig(){return this.viewModel.menuConfig}set menuConfig(e){this.viewModel.menuConfig=e}get multipleSelectionEnabled(){return this.viewModel.multipleSelectionEnabled}set multipleSelectionEnabled(e){this.viewModel.multipleSelectionEnabled=e}get multiSortEnabled(){return this.viewModel.multiSortEnabled}set multiSortEnabled(e){this.viewModel.multiSortEnabled=e}get multipleSortPriority(){return this.viewModel.multipleSortPriority}set multipleSortPriority(e){this.viewModel.multipleSortPriority=e}get noDataMessage(){return this.viewModel.noDataMessage}set noDataMessage(e){this.viewModel.noDataMessage=e}get objectIds(){return this.viewModel.objectIds}set objectIds(e){this.viewModel.objectIds=e}get outFields(){return this.viewModel.outFields}set outFields(e){this.viewModel.outFields=e}get pageCount(){return this.viewModel.pageCount}get pageIndex(){return this.viewModel.pageIndex}set pageIndex(e){this.viewModel.pageIndex=e}get pageSize(){return this.viewModel.pageSize}set pageSize(e){this.viewModel.pageSize=e}get paginationEnabled(){return this.viewModel.paginationEnabled}set paginationEnabled(e){this.viewModel.paginationEnabled=e}get prompt(){return this.viewModel.prompt}set prompt(e){this.viewModel.prompt=e}get relatedRecordsEnabled(){return this.viewModel.relatedRecordsEnabled}set relatedRecordsEnabled(e){this.viewModel.relatedRecordsEnabled=e}get relatedTable(){return this.viewModel.relatedTable}get relatedTables(){return this.viewModel.relatedTables}set relatedTables(e){this.viewModel.relatedTables=e}get relationship(){return this.viewModel.relationship}get relationshipColumnConfigs(){return this.viewModel.relationshipColumnConfigs}set relationshipColumnConfigs(e){this.viewModel.relationshipColumnConfigs=e}get relationshipColumns(){return this.viewModel.relationshipColumns}get relationshipConfig(){return this.viewModel.relationshipConfig}set relationshipConfig(e){this.viewModel.relationshipConfig=e}get relationshipInfos(){return this.viewModel.relationshipInfos}get returnGeometryEnabled(){return this.viewModel.returnGeometryEnabled}set returnGeometryEnabled(e){this.viewModel.returnGeometryEnabled=e}get returnMEnabled(){return this.viewModel.returnMEnabled}set returnMEnabled(e){this.viewModel.returnMEnabled=e}get returnZEnabled(){return this.viewModel.returnZEnabled}set returnZEnabled(e){this.viewModel.returnZEnabled=e}get rowHighlightIds(){return this.viewModel.rowHighlightIds}set rowHighlightIds(e){this.viewModel.rowHighlightIds=e}get selectionSource(){return this.viewModel.selectionSource}set selectionSource(e){this.viewModel.selectionSource=e}get showAllRelatedTables(){return this.viewModel.showAllRelatedTables}set showAllRelatedTables(e){this.viewModel.showAllRelatedTables=e}get showPrompt(){return this.viewModel.showPrompt}set showPrompt(e){this.viewModel.showPrompt=e}get showRelatedTableCallback(){return this.viewModel.showRelatedTableCallback}set showRelatedTableCallback(e){this.viewModel.showRelatedTableCallback=e}get size(){return this.viewModel.size}get state(){return this.viewModel.state}get supportsAddAttachments(){return this.viewModel.supportsAddAttachments}get supportsAttachments(){return this.viewModel.supportsAttachments}get supportsDeleteAttachments(){return this.viewModel.supportsDeleteAttachments}get supportsResizeAttachments(){return this.viewModel.supportsResizeAttachments}get supportsUpdateAttachments(){return this.viewModel.supportsUpdateAttachments}get syncTemplateOnChangesEnabled(){return this.viewModel.syncTemplateOnChangesEnabled}set syncTemplateOnChangesEnabled(e){this.viewModel.syncTemplateOnChangesEnabled=e}get tableController(){return this.viewModel.tableController}set tableController(e){this.viewModel.tableController=e}get tableParent(){return this.viewModel.tableParent}set tableParent(e){this.viewModel.tableParent=e}get tableTemplate(){return this.viewModel.tableTemplate}set tableTemplate(e){this.viewModel.tableTemplate=e}get tableTemplateOverride(){return this.viewModel.tableTemplateOverride}set tableTemplateOverride(e){this.viewModel.tableTemplateOverride=e}get timeExtent(){return this.viewModel.timeExtent}set timeExtent(e){this.viewModel.timeExtent=e}get timeZone(){return this.viewModel.timeZone}set timeZone(e){this.viewModel.timeZone=e}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get visibleColumns(){return this.viewModel.visibleColumns}get visibleElementsOverride(){const{attachmentsViewOptions:e,relatedTable:t,tableController:i,visibleElements:n}=this,{columnDescriptions:s,columnMenus:l,tooltips:o}=n,a=null!=e.objectId;if(t)return new S({columnDescriptions:s,columnMenus:l,tooltips:o,close:n.close,header:n.header,layerDropdown:n.layerDropdown,layerDropdownIcons:n.layerDropdownIcons,menu:n.menu,menuItems:n.menuItems,progress:n.progress,selectionColumn:!1,columnMenuItems:new C({sortAscending:!1,sortDescending:!1})});if(i){const e=i.relatedTable===this,t=i.allRelatedTablesVisible,r=e&&n.selectionColumn&&!t&&!a,c=e&&!t&&!a;return new S({columnDescriptions:s,columnMenus:l,tooltips:o,selectionColumn:r,close:!1,header:!1,layerDropdown:!1,menu:!1,progress:!1,columnMenuItems:new C({sortAscending:c,sortDescending:c})})}return a?new S({columnDescriptions:s,columnMenus:l,tooltips:o,close:n.close,header:n.header,layerDropdown:n.layerDropdown,layerDropdownIcons:n.layerDropdownIcons,menu:n.menu,menuItems:n.menuItems,progress:n.progress,selectionColumn:!1,columnMenuItems:new C({sortAscending:!1,sortDescending:!1})}):null}cancelPendingEdits(){this.viewModel.cancelPendingEdits()}clearSelectionFilter(){this.viewModel.clearSelectionFilter()}async deleteAttachments(e,t,i){null!=e&&t?.length&&(i?this._showDeleteAttachmentPrompt(e,t):await this.viewModel.deleteAttachments(e,t))}deleteSelection(e){return this.highlightIds.length?e?(this._showDeletePrompt(),this.scheduleRender(),Promise.resolve()):this.viewModel.deleteSelection():Promise.resolve()}async downloadAttachmentById(e,t){return this.viewModel.downloadAttachmentById(e,t)}drainRelatedTables(){this.viewModel.drainRelatedTables()}exportSelectionToCSV(e){return this.viewModel.exportSelectionToCSV(e)}filterBySelection(){this.viewModel.filterBySelection()}findColumn(e){return this.viewModel.findColumn(e)}goToPage(e){this.viewModel.goToPage(e)}hideColumn(e){this.grid?.hideColumn(e)}nextPage(){this.viewModel.nextPage()}previousPage(){this.viewModel.previousPage()}async refresh(){await this.viewModel.refresh()}refreshCellContent(){this.viewModel.refreshCellContent()}async saveAttachmentsViewForm(){await this.viewModel.saveAttachmentsViewForm()}async savePendingEdits(){await this.viewModel.savePendingEdits()}showAllColumns(){this.viewModel.showAllColumns()}showColumn(e){this.grid?.showColumn(e)}sortColumn(e,t){this.viewModel.sortColumn(e,t)}scrollLeft(){this.viewModel.scrollLeft()}scrollToBottom(){this.viewModel.scrollToBottom()}scrollToIndex(e){this.viewModel.scrollToIndex(e)}scrollToRow(e){this.viewModel.scrollToRow(e)}scrollToTop(){this.viewModel.scrollToTop()}toggleColumnVisibility(e){this.viewModel.toggleColumnVisibility(e)}zoomToSelection(){this.effectiveTable.viewModel.zoomToSelection()}render(){const{_effectiveVisibleElements:e,isQueryingOrSyncing:t,menuConfig:i,state:n}=this;return L("div",{bind:this,class:this.classes(Z.base,x.widget)},L("calcite-panel",{bind:this,class:Z.content,closable:e.close,description:this._effectiveDescription,disabled:this.disabled||"disabled"===n&&!this._effectiveLayers?.length,heading:e.header?this._effectiveTitle:void 0,key:"table-content",loading:"loading"===n,menuOpen:!!i?.open,overlayPositioning:"fixed",onCalcitePanelClose:e=>{e.currentTarget.closed=!1,this.emit("close")}},e.progress?L("calcite-progress",{type:t?"indeterminate":"determinate"}):null,this._showLayerDropdown?this._renderLayerDropdown():null,this._renderColumnVisibilityAction(),this._renderHeaderMenuActions(),this._renderNavigationBar(),this._renderTables(),this._renderError(),this._renderFooterContent()),this._renderColumnVisibilityPopover(),this._renderPrompt(),this._renderDialog())}_renderTables(){const{grid:e,relatedTables:t}=this,i=this.classes(Z.tableContainer);if(t.length){const n=this.classes(Z.base,this.allRelatedTablesVisible?Z.expanded:Z.collapsed,this._shouldShowAttachmentsView?Z.tableContainerWithAttachments:void 0);return L("div",{class:i},L("calcite-panel",{overlayPositioning:"fixed"},L("div",null,[this._shouldShowGrid?L("div",{class:n},e?.render(),this._renderPagination()):void 0,...this._filteredTables.map(e=>{const i=t.indexOf(e);return L("div",{class:n,key:`related-${i}`},e.render())}),,])))}return null!=this.attachmentsViewOptions.objectId?L("div",{class:i},L("calcite-panel",{overlayPositioning:"fixed"},L("div",null,[L("div",{class:this.classes(Z.base,Z.collapsed)},e?.render(),this._renderPagination()),this._renderAttachmentsView()]))):[L("div",{class:i},e?.render()),this._renderPagination()]}_renderPagination(){if(this.paginationEnabled)return L("calcite-pagination",{pageSize:1,startItem:this.pageIndex+1,totalItems:this.pageCount,onCalcitePaginationChange:e=>this.goToPage(e.currentTarget.startItem-1)})}_renderError(){const{messages:e}=this;return L("calcite-alert",{autoClose:!0,autoCloseDuration:"fast",icon:G.exclamationMarkTriangle,kind:"danger",label:e.errorOccured,open:this._hasAttachmentsViewError,slot:"alerts",onCalciteAlertClose:()=>{this.attachmentsViewOptions.error=null}},L("span",{slot:"message"},e.errorOccured))}_renderFooterContent(){if(!this.hasPendingEdits||!this.visibleElements.pendingEditsFooter)return;const{hasInvalidPendingEdits:e,isQueryingOrSyncing:t,messages:i,messagesCommon:n}=this,s=e||t,l=this.hasContingentValues,o=[L("calcite-button",{appearance:"outline",disabled:t,iconStart:G.reset,key:"footer-reset-button",onclick:()=>this.cancelPendingEdits(),slot:"footer-end",width:"auto"},n.reset),L("calcite-button",{disabled:s,iconStart:G.save,key:"footer-save-button",loading:this.isSyncing,onclick:()=>{this.savePendingEdits()},slot:"footer-end",width:"auto"},n.save)];if(l){const t=e?i.contingentValues.hasInvalidValues:i.contingentValues.hasValidValues,n=e?L("calcite-icon",{class:Z.footerIconDanger,icon:G.exclamationMarkTriangle,scale:"s",slot:"footer-start"}):void 0;o.push(L("div",{class:Z.footerMessage,key:"footer-message",slot:"footer-start"},n,t))}return o}_renderPrompt(){return this.prompt?L(M,{...this.prompt,headingLevel:2}):void 0}_showDeletePrompt(){const{messages:e,messagesCommon:i}=this,n=t(e.deleteSelectionCount,{count:this.highlightIds.length});this.showPrompt({title:n,message:e.deleteRecordsRemoved,context:"danger",actions:{primary:{label:i.delete,action:this._onDeleteSelectionClick},secondary:{label:e.keepRecords,action:()=>this.clearPrompt()}}})}_showDeleteAttachmentPrompt(e,i){const{messages:n,messagesCommon:s}=this,l=t(n.deleteAttachmentCount,{count:i.length});this.showPrompt({title:l,message:n.deleteAttachmentConfirmation,context:"danger",actions:{primary:{label:s.delete,action:async()=>{try{await this.deleteAttachments(e,i,!1)}finally{this.clearPrompt()}}},secondary:{label:s.cancel,action:()=>this.clearPrompt()}}})}async _onDeleteSelectionClick(){try{await this.viewModel.deleteSelection()}finally{this.clearPrompt()}}_renderDialog(){const{attachmentsViewOptions:e,messages:t}=this,{objectId:i}=e;return L("calcite-dialog",{class:Z.dialog,description:this.viewModel.getFeatureTitleSync(i),heading:t.attachments,modal:!0,open:this._dialogIsOpen,width:"l",onCalciteDialogClose:()=>this._onDialogClose()},this._renderDialogContent())}_renderDialogContent(){const e=this.attachmentsViewOptions.dialogInfo;if(e)return this._renderAttachmentDialogContent(e)}_renderAttachmentDialogContent(e){const{attachmentsViewOptions:t,messages:i}=this,{attachmentInfos:n}=t,s=n.indexOf(e);return L(z,null,L("div",{class:Z.dialogHeader,key:"header",slot:"content-top"},L("span",null,e.name),L("calcite-button",{appearance:"outline",onclick:()=>{t.attachmentId=e.id,t.dialogId=null}},i.viewDetails)),L("div",{class:Z.dialogContent,key:"content"},this._renderAttachmentsViewDetailsImage(e,!0)),L("calcite-pagination",{pageSize:1,slot:"content-bottom",startItem:s+1,totalItems:n.length,onCalcitePaginationChange:e=>{const i=e.currentTarget.startItem-1,s=n[i]?.id;t.dialogId=s}}))}_onDialogClose(){const e=this.attachmentsViewOptions;null!=e.dialogId&&(e.dialogId=null)}_renderHeaderMenuAction(e){const{disabled:t,hidden:i,icon:n,text:s,clickFunction:l}=e;if(!i)return L("calcite-action",{disabled:t??this.menuConfig?.disabled,icon:n??void 0,key:s,onclick:()=>l(),slot:"header-menu-actions",text:s,textEnabled:!0,title:s})}_renderHeaderMenuActions(){return this._shouldShowMenu?[this._renderDefaultHeaderMenuActions(),this._renderCustomHeaderMenuActions()]:[]}_renderDefaultHeaderMenuActions(){if(!this._hasDefaultMenuItems)return[];const{messages:e}=this;return[this._showRefreshDataAction&&{icon:G.refresh,text:e.refreshData,clickFunction:()=>this.refresh()},this._showDeleteSelectionAction&&{icon:G.delete,text:e.deleteSelection,clickFunction:()=>this.deleteSelection(!0)},this._showClearSelectionAction&&{icon:G.clearSelection,text:e.clearSelection,clickFunction:()=>this.highlightIds?.removeAll()},this._showZoomToSelectionAction&&{icon:G.zoomToSelection,text:e.zoomToSelection,clickFunction:()=>this.zoomToSelection()},this._showSelectedRecordsShowSelectedAction&&{icon:G.showSelected,text:e.showSelected,clickFunction:()=>{const{objectIds:e}=this;e.removeAll(),e.addMany(this.highlightIds.toArray())}},this._showSelectedRecordsShowAllAction&&{icon:G.showAll,text:e.showAllRecords,clickFunction:()=>this.objectIds.removeAll()},this._showExportSelectionToCSVAction&&{icon:G.exportToCSV,text:e.exportSelectionCSV,clickFunction:()=>this.exportSelectionToCSV()}].filter(i).map(e=>e&&this._renderHeaderMenuAction(e))}_renderCustomHeaderMenuActions(){return this.menuConfig?.items?.map(({disabled:e,hidden:t,icon:i,label:n,clickFunction:s})=>this._renderHeaderMenuAction({hidden:"function"==typeof t?t():t,icon:i,text:n,disabled:e,clickFunction:e=>s(e)}))??[]}_renderColumnVisibilityAction(){if(!this._showColumnsVisibilityAction)return[];const{_columnVisibilityActions:e,effectiveTable:t,id:i}=this,n=this.messages.toggleColumns;return L("calcite-action",{afterCreate:t=>e.set(i,t),afterRemoved:()=>e.delete(i),bind:this,disabled:t.menuConfig?.disabled,icon:G.showColumn,id:`${i}__toggle-columns-action`,slot:"header-actions-end",text:n},this._effectiveVisibleElements.tooltips?L("calcite-tooltip",{closeOnClick:!0,overlayPositioning:"fixed",placement:"bottom-end",slot:"tooltip"},n):null)}_renderColumnVisibilityPopover(){if(!this._showColumnsVisibilityAction||this.effectiveTable.menuConfig?.disabled)return;const{effectiveTable:e}=this,t=this.messages.toggleColumns;return L("calcite-popover",{autoClose:!0,class:Z.menuPopover,label:t,overlayPositioning:"fixed",placement:"top-end",pointerDisabled:!0,referenceElement:this._columnVisibilityActions.get(this.id)},L("calcite-list",{displayMode:"nested",filterEnabled:!0,filterPlaceholder:t,label:t,selectionMode:"multiple"},e.columns.toArray().map(t=>{const i=V(t)?t.columns?.map(t=>this._renderColumnListItem({column:t,table:e,ignoreSelect:!0})):void 0;return this._renderColumnListItem({column:t,table:e,items:i})})))}_renderColumnListItem(e){const{column:t,table:i,items:n,ignoreSelect:s}=e,{effectiveLabel:l,fieldName:o,hidden:a}=t;return L("calcite-list-item",{expanded:!(!n?.length||a)||void 0,key:`toggle-columns__item-${o}`,label:l,selected:!a,value:o,onCalciteListItemSelect:e=>{s&&e.stopPropagation(),i.toggleColumnVisibility(e.currentTarget.value)}},n)}_renderLayerDropdown(){const e=this.messages.selectALayer;return L("div",{class:Z.layerDropdownMenu,key:`${this.id}-layerDropdown`,slot:"header-actions-start"},L("calcite-dropdown",{bind:this,maxItems:5,overlayPositioning:"fixed",placement:"bottom-start"},L("calcite-action",{icon:G.layers,slot:"trigger",text:e,title:e}),L("calcite-dropdown-group",{selectionMode:"single"},this._effectiveLayers.map((e,t)=>this._renderLayerDropdownItem(e,t))??null)))}_renderLayerDropdownItem(e,t){const i=this.visibleElements.layerDropdownIcons;return L("calcite-dropdown-item",{iconStart:i?P(e):void 0,key:`dropdown-item-${t}`,label:e.title??"",selected:e===this.layer,value:e.id,onCalciteDropdownItemSelect:()=>{this.layer=e}},e.title)}_onRelatedNavigationItemClick(e){this.viewModel.drainRelatedTablesAboveIndex(e)}_collapseRelatedTable(e){this.viewModel.collapseRelatedTable(this.effectiveTable,e)}_onShowRelatedTable(e){this.showRelatedTableCallback||(this._collapseRelatedTable(e),this._createRelatedTable(e))}async _createRelatedTable(e){const{autoRefreshEnabled:t,autoSaveEnabled:i,editingEnabled:n,effectiveTable:s,paginationEnabled:l,pageSize:o,view:a,viewModel:r}=this,{layer:c,objectId:d,relatedLayer:h,relationshipId:m}=e;await c.load();const p=this.attachmentsEnabled&&D(c),u=new U({layer:c,autoRefreshEnabled:t,autoSaveEnabled:i,attachmentsEnabled:p,editingEnabled:n,paginationEnabled:l,pageSize:o,relatedRecordsEnabled:!0,relationshipConfig:{objectId:d,relatedLayer:h,relationshipId:m},relationshipColumnConfigs:k(c,m),tableController:this,tableParent:s,view:a,showRelatedTableCallback:e=>r.emit("show-related-table",e)});this.relatedTables.add(u),this.scheduleRender()}_renderAttachmentsView(){switch(this.attachmentsViewOptions.effectiveMode){case"list":return this._renderAttachmentsViewList();case"details":return this._renderAttachmentsViewDetails();case"file":return this._renderAttachmentsViewFile()}}_renderAttachmentsViewFile(){const e=this.attachmentsViewOptions,{objectId:t}=e;if(null!=t)return[L("div",{class:Z.attachmentsView,key:"attachments-view"},this._renderAttachmentsViewInformation(),L("div",{class:Z.attachmentsViewContent,key:"attachments-view-content"},L("div",{bind:this,class:Z.attachmentsViewDropArea,ondragover:e=>e.preventDefault(),ondrop:this._onAttachmentsViewDrop},L("calcite-icon",{class:Z.attachmentsViewIcon,icon:G.upload,scale:"l"}),this._attachmentsViewFileLabelNode,this._attachmentsViewFileMessageNode,L("form",{afterCreate:t=>e.form=t,afterRemoved:()=>e.form=null,bind:this,key:"attachments-form"},L("fieldset",null,this._attachmentsViewFileNameNode,L("input",{afterCreate:j,afterRemoved:$,afterUpdate:j,bind:this,"data-node-ref":"_attachmentsInput",files:e.candidates,hidden:!0,name:"attachment",onchange:e=>this._onAttachmentsViewCandidateChange(e),type:"file"}),this._attachmentsViewFileSelectNode,this._attachmentsViewFileSaveNode,this._attachmentsViewFileCancelNode)))))]}_renderAttachmentsViewDetails(){const{attachmentInfo:e}=this.attachmentsViewOptions;if(e)return[L("div",{class:Z.attachmentsView,key:"attachments-view"},this._renderAttachmentsViewInformation(),L("div",{class:Z.attachmentsViewContent,key:"attachments-view-content"},L("div",{class:Z.attachmentsViewDetails},this._renderAttachmentsViewDetailsPreview(e))))]}_renderAttachmentsViewDetailsPreview(e){const t=this.messages;if(!y(e.contentType))return L("span",null,t.noPreviewAvailable);const i=t.maximize;return[this._renderAttachmentsViewDetailsImage(e),L("calcite-action",{icon:G.expand,label:i,onclick:t=>{t.preventDefault(),this.attachmentsViewOptions.dialogId=e.id},text:i,textEnabled:!0,title:i})]}_renderAttachmentsViewDetailsImage(e,t=!1){const{contentType:i,name:n,size:s,url:l}=e,{messages:o}=this;return y(i)?L("img",{alt:n,key:`thumbnail-image-${n}`,src:`${l}${l?.includes("?")?"&":"?"}s=${s}`,title:n}):t?[L("calcite-icon",{icon:f(i),key:`thumbnail-icon-${n}`,scale:"l",textLabel:n,title:n}),o.noPreviewAvailable]:o.noPreviewAvailable}_renderAttachmentsViewInformation(){const{attachmentsViewOptions:e,messages:t,messagesUnits:i}=this,{attachmentInfo:n,objectId:s}=e;if(!n||null==s)return;const{contentType:l,name:o}=n;return L("div",{class:Z.attachmentsViewInformation,key:"information"},this._renderAttachmentViewInformationButtons(n,s),L("calcite-icon",{"aria-hidden":!0,icon:f(l),key:"attachment-icon",scale:"l",textLabel:o}),L("span",{class:Z.attachmentsViewInformationLabel,key:"file-label"},t.fileName),L("span",{class:Z.attachmentsViewInformationData,key:"file-value"},n.name),L("span",{class:Z.attachmentsViewInformationLabel,key:"type-label"},t.attachmentType),L("span",{class:Z.attachmentsViewInformationData,key:"type-value"},this._getLabelForAttachmentType(n)),this._renderAttachmentKeywordDetails(n),L("span",{class:Z.attachmentsViewInformationLabel,key:"size-label"},t.size),L("span",{class:Z.attachmentsViewInformationData,key:"size-span"},r(i,n.size??0)))}_renderAttachmentViewInformationButtons(e,t){const{attachmentsViewOptions:i,messages:n,messagesCommon:s}=this,l="details"!==i.effectiveMode,o=e.id,a=[L("calcite-button",{appearance:"outline",disabled:l,key:"download-button",onclick:e=>{e.preventDefault(),this.downloadAttachmentById(t,o)},width:"full"},n.download)];return this.supportsUpdateAttachments&&a.push(L("calcite-button",{appearance:"outline",disabled:l,key:"replace-button",onclick:()=>{i.mode="file",i.attachmentId=o},width:"full"},n.replace)),this.supportsDeleteAttachments&&a.push(L("calcite-button",{appearance:"outline",disabled:l,key:"delete-button",onclick:()=>{this.deleteAttachments(t,[o],!0)},width:"full"},s.delete)),a}_renderAttachmentKeywordDetails({keywords:e}){if(e&&""!==e)return[L("span",{class:Z.attachmentsViewInformationLabel,key:"keyword-label"},this.messages.keyword),L("span",{class:Z.attachmentsViewInformationData,key:"keyword-value"},e)]}_renderAttachmentsViewList(){const{attachmentsViewOptions:e,isSyncingAttachments:t,messages:i,messagesUnits:n}=this,{attachmentInfos:s,objectId:l}=e;return L("calcite-list",{afterCreate:j,afterRemoved:$,afterUpdate:j,bind:this,class:Z.attachmentsViewList,"data-node-ref":"attachmentsList",key:`attachments-list-${l}`,label:i?.attachments,loading:t,ondragover:e=>e.preventDefault(),ondrop:this._onAttachmentsViewDrop,selectionMode:this.supportsDeleteAttachments?"multiple":"none",onCalciteListChange:()=>this.scheduleRender()},...s?.map(t=>{const{id:s,name:o,size:a}=t,c=r(n,a??0);return L("calcite-list-item",{afterRemoved:()=>this.scheduleRender(),key:`attachment-${s}`,label:o,value:s},this._renderAttachmentsViewListPreview(t),L("span",{class:Z.attachmentsViewListFileSize,slot:"actions-end",title:c},c),L("calcite-action",{icon:G.downloadTo,key:"download",label:o,onclick:e=>{e.preventDefault(),this.downloadAttachmentById(l??-1,s)},slot:"actions-end",text:i.downloadAttachment,title:i.downloadAttachment}),L("calcite-action",{icon:G.chevronRight,key:"details",label:o,onclick:()=>{e.mode="details",e.attachmentId=s},slot:"actions-end",text:i.viewAttachment,title:i.viewAttachment}))}))}_renderAttachmentsViewListPreview(e){return L("div",{class:Z.attachmentsViewListThumbnail,slot:"content-start"},L("span",null,this._renderAttachmentsViewListImage(e)))}_renderAttachmentsViewListImage(e,t=64){const{contentType:i,name:n,size:s,url:l}=e,o=`${l}${l?.includes("?")?"&":"?"}w=${t}&s=${s}`;return this.supportsResizeAttachments&&y(i)?L("img",{alt:n,key:`thumbnail-image-${n}`,src:o,title:n}):L("calcite-icon",{icon:f(i),key:`thumbnail-icon-${n}`,scale:"l",textLabel:n,title:n})}_onAttachmentsViewCandidateChange({target:e}){this.attachmentsViewOptions.candidates=e?.files}_onAttachmentsViewDrop(e){e.preventDefault(),(this.supportsAddAttachments||this.supportsUpdateAttachments)&&(this.attachmentsViewOptions.mode="file",this.attachmentsViewOptions.candidates=e.dataTransfer?.files)}_resetAttachmentsInput(){this._attachmentsInput&&(this._attachmentsInput.value="")}_getLabelForAttachmentType({contentType:e}){const t=this.messages;return e.startsWith("image/")?t.attachmentTypes.image:e.startsWith("audio/")?t.attachmentTypes.audio:e.startsWith("video/")?t.attachmentTypes.video:e.startsWith("text/")||e.startsWith("application/")||e.startsWith("model/")?t.attachmentTypes.document:t.attachmentTypes.unknown}_renderNavigationBar(){const{effectiveTable:e,messages:i,messagesCommon:n,navigationScale:s,relatedTable:l,relatedTables:o}=this;if(!this._shouldShowNavigationBar)return;const{attachmentsList:a,attachmentsViewOptions:r,layer:c,supportsAddAttachments:d,supportsDeleteAttachments:h}=e;if(!c)return;const{attachmentInfos:m,objectId:p}=r,u=null!=p,g=m.length,w=a?.selectedItems?.length??0,b=`${c.objectIdField}: ${p}`,v=t(i.selectedCount,{count:w}),y=t(i.attachmentsCount,{count:g}),f=u?L("calcite-action",{bind:this,icon:G.chevronRight,iconFlipRtl:!0,key:"navigation-feature",onclick:()=>e.scrollToRow(p),scale:s,text:b,textEnabled:!0,title:b}):void 0,_=u?L("calcite-action",{icon:G.chevronRight,iconFlipRtl:!0,key:"navigation-attachments-label",label:y,onclick:()=>{g>0&&(r.mode="list")},scale:s,text:y,textEnabled:!0,title:y}):void 0,M=u?L("calcite-chip",{closable:!0,closed:0===w,key:"navigation-chip",kind:"inverse",label:v,scale:"s",selected:!0,title:v,value:"selected",onCalciteChipClose:()=>a?.selectedItems?.forEach(e=>e.selected=!1)},v):void 0,C=l?L("calcite-label",{layout:"inline",scale:s},i.showAllTables,L("calcite-switch",{checked:this.allRelatedTablesVisible,scale:s,onCalciteSwitchChange:e=>this.showAllRelatedTables=!!e.currentTarget.checked})):void 0,A=u&&"list"===r.effectiveMode&&null!=p&&w&&h?L("calcite-action",{icon:G.delete,iconFlipRtl:!0,key:"attachments-trash-all",onclick:()=>{e.deleteAttachments(p,a?.selectedItems?.map(e=>e.value)??[],!0)},scale:s,text:n.delete,textEnabled:!0,title:t(i.deleteAttachmentCount,{count:w})}):void 0,S=u&&"list"===r.effectiveMode&&d?L("calcite-action",{bind:this,icon:G.plus,iconFlipRtl:!0,key:"attachments-add",onclick:()=>{r.objectId=p,r.attachmentId=null,r.mode="file"},scale:s,text:i.addAttachment,textEnabled:!0,title:i.addAttachment}):void 0;return L("div",{class:Z.tableNavigation,key:"table-nav"},L("calcite-action",{icon:G.moveUp,iconFlipRtl:!0,key:"go-back",onclick:()=>{l&&this.drainRelatedTables(),e.attachmentsViewOptions.objectId=null},scale:s,text:this.layer?.title??"",textEnabled:!1,title:l?i.exitRelatedRecords:i.exitAttachments}),o.toArray().map((e,t)=>this._renderRelatedTableNavigationAction(e,t)),f,_,L("div",null,M,C,A,S))}_renderRelatedTableNavigationAction(e,t){const i=this._getLabelForRelatedTableNavigationAction(e);return L("calcite-action",{icon:G.chevronRight,iconFlipRtl:!0,key:t,onclick:()=>this._onRelatedNavigationItemClick(t),scale:this.navigationScale,text:i,textEnabled:!0,title:e.layer?.title||""})}_getLabelForRelatedTableNavigationAction(e){const t=e.layer?.title;if(!t)return"";const{relatedTables:i}=this;if(i.length<=1)return t;return i.indexOf(e)!==i.length-1&&t.length>20?`${t.slice(0,20)}...`:t}};e([c()],W.prototype,"_attachmentsInput",void 0),e([c()],W.prototype,"_attachmentsViewFileCancelNode",null),e([c()],W.prototype,"_attachmentsViewFileLabelNode",null),e([c()],W.prototype,"_attachmentsViewFileMessageNode",null),e([c()],W.prototype,"_attachmentsViewFileNameNode",null),e([c()],W.prototype,"_attachmentsViewFileSaveNode",null),e([c()],W.prototype,"_attachmentsViewFileSelectNode",null),e([c()],W.prototype,"_columnVisibilityActions",void 0),e([c()],W.prototype,"_dialogIsOpen",null),e([c()],W.prototype,"_effectiveDescription",null),e([c()],W.prototype,"_effectiveLayers",null),e([c()],W.prototype,"_effectiveTitle",null),e([c()],W.prototype,"_effectiveVisibleElements",null),e([c()],W.prototype,"_filteredTables",null),e([c()],W.prototype,"_hasAttachmentsViewError",null),e([c()],W.prototype,"_hasCustomMenuItems",null),e([c()],W.prototype,"_hasDefaultMenuItems",null),e([c()],W.prototype,"_shouldShowGrid",null),e([c()],W.prototype,"_shouldShowMenu",null),e([c()],W.prototype,"_shouldShowAttachmentsView",null),e([c()],W.prototype,"_showClearSelectionAction",null),e([c()],W.prototype,"_showColumnsVisibilityAction",null),e([c()],W.prototype,"_showDeleteSelectionAction",null),e([c()],W.prototype,"_showExportSelectionToCSVAction",null),e([c()],W.prototype,"_showLayerDropdown",null),e([c()],W.prototype,"_shouldShowNavigationBar",null),e([c()],W.prototype,"_showRefreshDataAction",null),e([c()],W.prototype,"_showSelectedRecordsShowSelectedAction",null),e([c()],W.prototype,"_showSelectedRecordsShowAllAction",null),e([c()],W.prototype,"_showZoomToSelectionAction",null),e([c()],W.prototype,"_viewLayers",null),e([c()],W.prototype,"attachmentsList",void 0),e([c({readOnly:!0})],W.prototype,"grid",null),e([c()],W.prototype,"actionColumn",null),e([c()],W.prototype,"actionColumnConfig",null),e([c({readOnly:!0})],W.prototype,"activeFilters",null),e([c({readOnly:!0})],W.prototype,"activeSortOrders",null),e([c()],W.prototype,"allColumns",null),e([c({readOnly:!0})],W.prototype,"allRelatedTablesVisible",null),e([c()],W.prototype,"allVisibleColumns",null),e([c()],W.prototype,"attachmentsColumns",null),e([c()],W.prototype,"attachmentsEnabled",null),e([c()],W.prototype,"attachmentsViewOptions",null),e([c({type:w})],W.prototype,"attributeTableTemplate",null),e([c()],W.prototype,"autoRefreshEnabled",null),e([c()],W.prototype,"autoSaveEnabled",null),e([c()],W.prototype,"clearPrompt",null),e([c()],W.prototype,"columnPerformanceModeEnabled",null),e([c()],W.prototype,"columnReorderingEnabled",null),e([c({readOnly:!0})],W.prototype,"columns",null),e([c()],W.prototype,"definitionExpression",null),e([c()],W.prototype,"description",void 0),e([c()],W.prototype,"disabled",void 0),e([c()],W.prototype,"editingEnabled",null),e([c()],W.prototype,"effectiveSize",null),e([c()],W.prototype,"effectiveTable",null),e([c()],W.prototype,"fieldColumns",null),e([c({types:h})],W.prototype,"filterGeometry",null),e([c()],W.prototype,"filterBySelectionEnabled",null),e([c()],W.prototype,"groupColumns",null),e([c()],W.prototype,"hasContingentValues",null),e([c()],W.prototype,"hasInvalidPendingEdits",null),e([c()],W.prototype,"hasPendingEdits",null),e([c()],W.prototype,"hiddenFields",null),e([c()],W.prototype,"highlightEnabled",null),e([c()],W.prototype,"highlightIds",null),e([c()],W.prototype,"icon",null),e([c()],W.prototype,"initialSize",null),e([c()],W.prototype,"isQueryingOrSyncing",null),e([c()],W.prototype,"isSyncing",null),e([c()],W.prototype,"isSyncingAttachments",null),e([c()],W.prototype,"label",null),e([c()],W.prototype,"layer",null),e([c()],W.prototype,"layers",null),e([c()],W.prototype,"layerView",null),e([c()],W.prototype,"maxSize",null),e([c(),F("esri/widgets/FeatureTable/t9n/FeatureTable")],W.prototype,"messages",null),e([c(),F("esri/t9n/common")],W.prototype,"messagesCommon",null),e([c(),F("esri/core/t9n/Units")],W.prototype,"messagesUnits",null),e([c(),F("esri/widgets/support/t9n/uriUtils")],W.prototype,"messagesURIUtils",null),e([c()],W.prototype,"menuConfig",null),e([c()],W.prototype,"multipleSelectionEnabled",null),e([c()],W.prototype,"multiSortEnabled",null),e([c()],W.prototype,"multipleSortPriority",null),e([c()],W.prototype,"navigationScale",void 0),e([c()],W.prototype,"noDataMessage",null),e([c()],W.prototype,"objectIds",null),e([c()],W.prototype,"outFields",null),e([c()],W.prototype,"pageCount",null),e([c()],W.prototype,"pageIndex",null),e([c()],W.prototype,"pageSize",null),e([c()],W.prototype,"paginationEnabled",null),e([c()],W.prototype,"prompt",null),e([c()],W.prototype,"relatedRecordsEnabled",null),e([c()],W.prototype,"relatedTable",null),e([c()],W.prototype,"relatedTables",null),e([c()],W.prototype,"relationship",null),e([c()],W.prototype,"relationshipColumnConfigs",null),e([c()],W.prototype,"relationshipColumns",null),e([c()],W.prototype,"relationshipConfig",null),e([c()],W.prototype,"relationshipInfos",null),e([c()],W.prototype,"returnGeometryEnabled",null),e([c()],W.prototype,"returnMEnabled",null),e([c()],W.prototype,"returnZEnabled",null),e([c()],W.prototype,"rowHighlightIds",null),e([c()],W.prototype,"selectionSource",null),e([c()],W.prototype,"showAllRelatedTables",null),e([c()],W.prototype,"showPrompt",null),e([c()],W.prototype,"showRelatedTableCallback",null),e([c()],W.prototype,"size",null),e([c({readOnly:!0})],W.prototype,"state",null),e([c()],W.prototype,"supportsAddAttachments",null),e([c()],W.prototype,"supportsAttachments",null),e([c()],W.prototype,"supportsDeleteAttachments",null),e([c()],W.prototype,"supportsResizeAttachments",null),e([c()],W.prototype,"supportsUpdateAttachments",null),e([c()],W.prototype,"syncTemplateOnChangesEnabled",null),e([c({constructOnly:!0})],W.prototype,"tableController",null),e([c({constructOnly:!0})],W.prototype,"tableParent",null),e([c({type:T})],W.prototype,"tableTemplate",null),e([c()],W.prototype,"tableTemplateOverride",null),e([c()],W.prototype,"title",void 0),e([c({type:b})],W.prototype,"timeExtent",null),e([c()],W.prototype,"timeZone",null),e([c()],W.prototype,"view",null),e([c({type:A}),O(["cell-click","cell-dblclick","cell-pointerover","cell-pointerout","cell-keydown","column-reorder","show-related-table"])],W.prototype,"viewModel",void 0),e([c()],W.prototype,"visibleColumns",null),e([c({type:S,nonNullable:!0})],W.prototype,"visibleElements",void 0),e([c({type:S})],W.prototype,"visibleElementsOverride",null),W=U=e([d("esri.widgets.FeatureTable")],W);const Q=W;export{Q as default};
|
|
5
|
+
import{__decorate as e}from"tslib";import{substitute as t}from"../intl.js";import{isSome as i}from"../core/arrayUtils.js";import{watch as n,on as s,sync as l,initial as o}from"../core/reactiveUtils.js";import{renderingSanitizer as a}from"../core/sanitizerUtils.js";import{formatFileSize as r}from"../core/unitFormatUtils.js";import{property as c,subclass as d}from"../core/accessorSupport/decorators.js";import{geometryTypes as h}from"../geometry/support/typeUtils.js";import{isLayerFromCatalog as m}from"../layers/catalog/catalogUtils.js";import{isKnowledgeGraphLayer as p,isMapImageLayer as u,isSubtypeGroupLayer as g}from"../layers/support/layerUtils.js";import w from"../tables/AttributeTableTemplate.js";import b from"../time/TimeExtent.js";import v from"./Widget.js";import{isSupportedImage as y,getCalciteIconForAttachment as f}from"./Attachments/support/attachmentUtils.js";import{loadPromptComponents as _,Prompt as M}from"./Editor/components/Prompt.js";import C from"./FeatureTable/ColumnMenuVisibleElements.js";import A from"./FeatureTable/FeatureTableViewModel.js";import S from"./FeatureTable/VisibleElements.js";import{isGroupColumn as V}from"./FeatureTable/support/columnUtils.js";import T from"./FeatureTable/support/TableTemplate.js";import{loadFieldColumnComponents as E,isIFeatureTableSupportedLayer as I,isIFeatureTableSupportedLayerWithAttachments as D,getRelationshipIdsToShow as k}from"./FeatureTable/support/tableUtils.js";import{loadCalciteComponents as R}from"./support/componentsUtils.js";import{globalCss as x}from"./support/globalCss.js";import{getIconForLayer as P}from"./support/iconUtils.js";import{messageBundle as F,vmEvent as O,tsx as L,tsxFragment as z}from"./support/widget.js";import{storeNode as j,discardNode as $}from"./support/widgetUtils.js";var U;const N="esri-feature-table",B=`${N}__dialog`,H=`${N}__attachments-view`,Z={base:N,content:`${N}__content`,menuPopover:`${N}__menu-popover`,layerDropdownMenu:`${N}__layer-switcher-menu`,tableContainer:`${N}__table-container`,tableContainerWithAttachments:`${N}__table-container--attachments`,tableNavigation:`${N}__table-navigation`,attachmentsView:H,attachmentsViewContent:`${H}__content`,attachmentsViewDetails:`${H}__details`,attachmentsViewDropArea:`${H}__drop-area`,attachmentsViewDropAreaLabel:`${H}__drop-area__label`,attachmentsViewDropAreaMessage:`${H}__drop-area__message`,attachmentsViewIcon:`${H}__icon`,attachmentsViewInformation:`${H}__information`,attachmentsViewInformationData:`${H}__information__data`,attachmentsViewInformationLabel:`${H}__information__label`,attachmentsViewList:`${H}__list`,attachmentsViewListFileSize:`${H}__list__filesize`,attachmentsViewListThumbnail:`${H}__list__thumbnail`,expanded:`${N}__expanded`,collapsed:`${N}__collapsed`,dialog:`${B}`,dialogContent:`${B}__content`,dialogHeader:`${B}__header`,footerMessage:`${N}__footer__message`,footerIconDanger:`${N}__footer__icon--danger`},G={chevronRight:"chevron-right",clearSelection:"clear-selection",downloadTo:"download-to",exclamationMarkTriangle:"exclamation-mark-triangle",expand:"expand",exportToCSV:"file-csv",folderOpen:"folder-open",delete:"trash",layers:"layers",moveUp:"move-up",plus:"plus",refresh:"refresh",reset:"reset",save:"save",showAll:"selection-x",showColumn:"show-column",showSelected:"selection-filter",table:"table",upload:"upload",zoomToSelection:"zoom-to-object"};let W=U=class extends v{constructor(e,t){super(e,t),this._attachmentsInput=null,this._columnVisibilityActions=new Map,this.attachmentsList=null,this.description=null,this.disabled=!1,this.navigationScale="m",this.title=null,this.viewModel=new A,this.visibleElements=new S,this._showDeletePrompt=this._showDeletePrompt.bind(this),this._onDeleteSelectionClick=this._onDeleteSelectionClick.bind(this)}initialize(){this.addHandles([n(()=>[this.isQueryingOrSyncing,this.editingEnabled],()=>this.scheduleRender()),n(()=>[this._effectiveVisibleElements,this._effectiveVisibleElements.columnDescriptions,this._effectiveVisibleElements.columnMenus,this._effectiveVisibleElements.columnMenuItems,this.columns.length],()=>{this.columns.forEach(e=>e.visibleElements=this._effectiveVisibleElements),this.refreshCellContent()},l),n(()=>this._effectiveVisibleElements.selectionColumn,e=>{this.grid&&(this.grid.selectionColumnEnabled=e)},o),s(()=>this.viewModel,"show-related-table",e=>this._onShowRelatedTable(e)),n(()=>this.editingEnabled,()=>{const{attachmentsViewOptions:e}=this;this.clearPrompt(),e&&(e.form?.reset(),e.candidates=null)})])}loadDependencies(){return Promise.all([R({action:()=>import("@esri/calcite-components/dist/components/calcite-action"),alert:()=>import("@esri/calcite-components/dist/components/calcite-alert"),button:()=>import("@esri/calcite-components/dist/components/calcite-button"),chip:()=>import("@esri/calcite-components/dist/components/calcite-chip"),dialog:()=>import("@esri/calcite-components/dist/components/calcite-dialog"),dropdown:()=>import("@esri/calcite-components/dist/components/calcite-dropdown"),"dropdown-group":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-group"),"dropdown-item":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-item"),icon:()=>import("@esri/calcite-components/dist/components/calcite-icon"),label:()=>import("@esri/calcite-components/dist/components/calcite-label"),list:()=>import("@esri/calcite-components/dist/components/calcite-list"),"list-item":()=>import("@esri/calcite-components/dist/components/calcite-list-item"),pagination:()=>import("@esri/calcite-components/dist/components/calcite-pagination"),panel:()=>import("@esri/calcite-components/dist/components/calcite-panel"),popover:()=>import("@esri/calcite-components/dist/components/calcite-popover"),progress:()=>import("@esri/calcite-components/dist/components/calcite-progress"),switch:()=>import("@esri/calcite-components/dist/components/calcite-switch"),tooltip:()=>import("@esri/calcite-components/dist/components/calcite-tooltip")}),_(),E()])}destroy(){this.drainRelatedTables(),this.clearPrompt()}get _attachmentsViewFileCancelNode(){const{hasAttachments:e,hasCandidates:t}=this.attachmentsViewOptions;if(e||t)return L("calcite-button",{appearance:"transparent",bind:this,disabled:this.isSyncingAttachments,key:"cancel-node",onclick:()=>{this._resetAttachmentsInput(),this.attachmentsViewOptions.cancel()}},this.messagesCommon?.cancel)}get _attachmentsViewFileLabelNode(){if("replace"===this.attachmentsViewOptions.fileMode)return L("span",{class:Z.attachmentsViewDropAreaLabel,key:"replace-file-node"},this.messages?.replaceFile)}get _attachmentsViewFileMessageNode(){const e=this.attachmentsViewOptions;if(e.hasCandidates)return;const{messages:t}=this,i=this.supportsAddAttachments?null==e.objectId?t?.noFeature:t?.dragAndDropToUpload:t?.editingRestricted;return L("span",{class:Z.attachmentsViewDropAreaMessage,key:"message-node"},i)}get _attachmentsViewFileNameNode(){const e=this.attachmentsViewOptions.candidates,t=Array.from(e??[]).at(-1);if(t)return L("span",{class:Z.attachmentsViewDropAreaMessage,key:"filename-node"},t.name)}get _attachmentsViewFileSaveNode(){const{isSyncingAttachments:e,messages:t}=this,{attachmentInfo:i,hasCandidates:n}=this.attachmentsViewOptions;if(this.supportsAddAttachments&&n)return L("calcite-button",{appearance:"solid",disabled:e,iconStart:G.save,key:"save-node",loading:e,onclick:()=>{this.saveAttachmentsViewForm()}},i?t?.updateAttachment:t?.addAttachment)}get _attachmentsViewFileSelectNode(){if(this.supportsAddAttachments)return L("calcite-button",{appearance:"outline-fill",disabled:this.isSyncingAttachments,iconStart:G.folderOpen,key:"select-node",loading:!1,onclick:()=>{this._resetAttachmentsInput(),this._attachmentsInput?.click()}},this.messages?.selectFile)}get _dialogIsOpen(){return!!this.attachmentsViewOptions.dialogInfo}get _effectiveDescription(){const{description:e}=this;return null!=e?a.sanitize("function"==typeof e?e():e):void 0}get _effectiveLayers(){const{layer:e,layers:t}=this,i=t?.length?t.filter(I):[],n=i.length?i:[...this._viewLayers];return e&&!n.includes(e)&&n.push(e),n}get _effectiveTitle(){const{layer:e,messages:i,state:n,highlightIds:s,title:l,size:o}=this;if(l)return a.sanitize("function"==typeof l?l():l);if(!e)return i.noLayer;switch(n){case"disabled":return i.errorLayer;case"ready":case"loading":return i.loading;case"error":return i.errorData}return t(i.header,{title:a.sanitize(e.title),count:o,selected:s.length})}get _effectiveVisibleElements(){return this.visibleElementsOverride??this.visibleElements}get _filteredTables(){const e=this.relatedTables.toArray(),t=1===e.length;return this.allRelatedTablesVisible?e:t?[e[0]]:this._shouldShowAttachmentsView?e.slice(-1):e.slice(-2)}get _hasAttachmentsViewError(){return null!=this.attachmentsViewOptions.error}get _hasCustomMenuItems(){return!!this.menuConfig?.items?.length}get _hasDefaultMenuItems(){return!!(this._showClearSelectionAction||this._showDeleteSelectionAction||this._showExportSelectionToCSVAction||this._showRefreshDataAction||this._showZoomToSelectionAction||this._showSelectedRecordsShowSelectedAction||this._showSelectedRecordsShowAllAction||this._showColumnsVisibilityAction)}get _shouldShowGrid(){return this.allRelatedTablesVisible||1===this.relatedTables.length&&!this._shouldShowAttachmentsView}get _shouldShowMenu(){const{header:e,menu:t}=this._effectiveVisibleElements;return!(!e||!t||!this._hasDefaultMenuItems&&!this._hasCustomMenuItems)}get _shouldShowAttachmentsView(){return!(null==this.attachmentsViewOptions.objectId&&!this.relatedTables.some(e=>null!=e.attachmentsViewOptions.objectId))}get _showClearSelectionAction(){return!(!this.highlightIds.length||!this._effectiveVisibleElements.menuItems?.clearSelection||this.relatedTables.length||this._shouldShowAttachmentsView)}get _showColumnsVisibilityAction(){const{header:e,menu:t,menuItems:i}=this._effectiveVisibleElements;return!(!(e&&t&&i?.toggleColumns)||this.showRelatedTableCallback||this.allRelatedTablesVisible||this._shouldShowAttachmentsView)}get _showDeleteSelectionAction(){return!(!(this.editingEnabled&&this.highlightIds.length&&this._effectiveVisibleElements.menuItems?.deleteSelection&&this.layer?.capabilities?.operations?.supportsDelete)||this.relatedTables.length||this._shouldShowAttachmentsView)}get _showExportSelectionToCSVAction(){return!(!(this._effectiveVisibleElements.menuItems.exportSelectionToCSV&&this.layer&&this.highlightIds.length)||this.relatedTables.length)}get _showLayerDropdown(){return!(!this._effectiveLayers.length||!this._effectiveVisibleElements.layerDropdown)}get _shouldShowNavigationBar(){const e=!!this.relatedTable||this._shouldShowAttachmentsView;return!this.tableParent&&e}get _showRefreshDataAction(){return!!this._effectiveVisibleElements.menuItems?.refreshData}get _showSelectedRecordsShowSelectedAction(){const e=this.objectIds.length,t=this.highlightIds.length;return!(!t||!this._effectiveVisibleElements.menuItems?.selectedRecordsShowSelectedToggle||e&&t===e||this.relatedTables.length||this._shouldShowAttachmentsView)}get _showSelectedRecordsShowAllAction(){return!(!this._effectiveVisibleElements.menuItems?.selectedRecordsShowAllToggle||!this.objectIds.length||this.relatedTables.length)}get _showZoomToSelectionAction(){return!(!this.view||!this.highlightIds.length||this.effectiveTable.layer?.isTable||!this._effectiveVisibleElements.menuItems?.zoomToSelection)}get _viewLayers(){const e=this.view?.map;if(!e)return[];const t=new Set,i=e=>{!I(e)||g(e)||t.has(e)||"sublayer"===e.type&&!e.capabilities?.operations?.supportsQuery||(e.load(),t.add(e))},n=e=>{m(e)||"catalog-footprint"===e.type||(p(e)?(e.load(),e.layers?.forEach(i),e.tables?.forEach(i)):u(e)?(e.loadAll(),e.allSublayers?.forEach(i),e.subtables?.forEach(i)):g(e)?(e.loadAll(),e.sublayers?.forEach(i)):i(e))};return e.allLayers.forEach(n),e.allTables.forEach(n),[...t.values()]}get grid(){return this.viewModel.grid}get actionColumn(){return this.viewModel.actionColumn}get actionColumnConfig(){return this.viewModel.actionColumnConfig}set actionColumnConfig(e){this.viewModel.actionColumnConfig=e}get activeFilters(){return this.viewModel.activeFilters}get activeSortOrders(){return this.viewModel.activeSortOrders}get allColumns(){return this.viewModel.allColumns}get allRelatedTablesVisible(){return this.viewModel.allRelatedTablesVisible}get allVisibleColumns(){return this.viewModel.allVisibleColumns}get attachmentsColumns(){return this.viewModel.attachmentsColumns}get attachmentsEnabled(){return this.viewModel.attachmentsEnabled}set attachmentsEnabled(e){this.viewModel.attachmentsEnabled=e}get attachmentsViewOptions(){return this.viewModel.attachmentsViewOptions}set attachmentsViewOptions(e){this.viewModel.attachmentsViewOptions=e}get attributeTableTemplate(){return this.viewModel.attributeTableTemplate}set attributeTableTemplate(e){this.viewModel.attributeTableTemplate=e}get autoRefreshEnabled(){return this.viewModel.autoRefreshEnabled}set autoRefreshEnabled(e){this.viewModel.autoRefreshEnabled=e}get autoSaveEnabled(){return this.viewModel.autoSaveEnabled}set autoSaveEnabled(e){this.viewModel.autoSaveEnabled=e}get clearPrompt(){return this.viewModel.clearPrompt}set clearPrompt(e){this.viewModel.clearPrompt=e}get columnPerformanceModeEnabled(){return this.viewModel.columnPerformanceModeEnabled}set columnPerformanceModeEnabled(e){this.viewModel.columnPerformanceModeEnabled=e}get columnReorderingEnabled(){return this.viewModel.columnReorderingEnabled}set columnReorderingEnabled(e){this.viewModel.columnReorderingEnabled=e}get columns(){return this.viewModel.columns}get definitionExpression(){return this.viewModel.definitionExpression}set definitionExpression(e){this.viewModel.definitionExpression=e}get container(){return super.container}set container(e){super.container=e}get editingEnabled(){return this.viewModel.editingEnabled}set editingEnabled(e){this.viewModel.editingEnabled=e}get effectiveSize(){return this.viewModel.effectiveSize}get effectiveTable(){return this.relatedTable||this}get fieldColumns(){return this.viewModel.fieldColumns}get filterGeometry(){return this.viewModel.filterGeometry}set filterGeometry(e){this.viewModel.filterGeometry=e}get filterBySelectionEnabled(){return this.viewModel.filterBySelectionEnabled}set filterBySelectionEnabled(e){this.viewModel.filterBySelectionEnabled=e}get groupColumns(){return this.viewModel.groupColumns}get hasContingentValues(){return this.viewModel.hasContingentValues}get hasInvalidPendingEdits(){return this.viewModel.hasInvalidPendingEdits}get hasPendingEdits(){return this.viewModel.hasPendingEdits}get hiddenFields(){return this.viewModel.hiddenFields}set hiddenFields(e){this.viewModel.hiddenFields=e}get highlightEnabled(){return this.viewModel.highlightEnabled}set highlightEnabled(e){this.viewModel.highlightEnabled=e}get highlightIds(){return this.viewModel.highlightIds}set highlightIds(e){this.viewModel.highlightIds=e}get icon(){return G.table}set icon(e){this._overrideIfSome("icon",e)}get initialSize(){return this.viewModel.initialSize}set initialSize(e){this.viewModel.initialSize=e}get isQueryingOrSyncing(){return this.viewModel.isQueryingOrSyncing}get isSyncing(){return this.viewModel.isSyncing}get isSyncingAttachments(){return this.viewModel.isSyncingAttachments}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get layer(){return this.viewModel.layer}set layer(e){this.viewModel.layer=e}get layers(){return this.viewModel.layers}set layers(e){this.viewModel.layers=e}get layerView(){return this.viewModel.layerView}get maxSize(){return this.viewModel.maxSize}set maxSize(e){this.viewModel.maxSize=e}get messages(){return this.viewModel.messages}set messages(e){this.viewModel.messages=e}get messagesCommon(){return this.viewModel.messagesCommon}set messagesCommon(e){this.viewModel.messagesCommon=e}get messagesUnits(){return this.viewModel.messagesUnits}set messagesUnits(e){this.viewModel.messagesUnits=e}get messagesURIUtils(){return this.viewModel.messagesURIUtils}set messagesURIUtils(e){this.viewModel.messagesURIUtils=e}get menuConfig(){return this.viewModel.menuConfig}set menuConfig(e){this.viewModel.menuConfig=e}get multipleSelectionEnabled(){return this.viewModel.multipleSelectionEnabled}set multipleSelectionEnabled(e){this.viewModel.multipleSelectionEnabled=e}get multiSortEnabled(){return this.viewModel.multiSortEnabled}set multiSortEnabled(e){this.viewModel.multiSortEnabled=e}get multipleSortPriority(){return this.viewModel.multipleSortPriority}set multipleSortPriority(e){this.viewModel.multipleSortPriority=e}get noDataMessage(){return this.viewModel.noDataMessage}set noDataMessage(e){this.viewModel.noDataMessage=e}get objectIds(){return this.viewModel.objectIds}set objectIds(e){this.viewModel.objectIds=e}get outFields(){return this.viewModel.outFields}set outFields(e){this.viewModel.outFields=e}get pageCount(){return this.viewModel.pageCount}get pageIndex(){return this.viewModel.pageIndex}set pageIndex(e){this.viewModel.pageIndex=e}get pageSize(){return this.viewModel.pageSize}set pageSize(e){this.viewModel.pageSize=e}get paginationEnabled(){return this.viewModel.paginationEnabled}set paginationEnabled(e){this.viewModel.paginationEnabled=e}get prompt(){return this.viewModel.prompt}set prompt(e){this.viewModel.prompt=e}get relatedRecordsEnabled(){return this.viewModel.relatedRecordsEnabled}set relatedRecordsEnabled(e){this.viewModel.relatedRecordsEnabled=e}get relatedTable(){return this.viewModel.relatedTable}get relatedTables(){return this.viewModel.relatedTables}set relatedTables(e){this.viewModel.relatedTables=e}get relationship(){return this.viewModel.relationship}get relationshipColumnConfigs(){return this.viewModel.relationshipColumnConfigs}set relationshipColumnConfigs(e){this.viewModel.relationshipColumnConfigs=e}get relationshipColumns(){return this.viewModel.relationshipColumns}get relationshipConfig(){return this.viewModel.relationshipConfig}set relationshipConfig(e){this.viewModel.relationshipConfig=e}get relationshipInfos(){return this.viewModel.relationshipInfos}get returnGeometryEnabled(){return this.viewModel.returnGeometryEnabled}set returnGeometryEnabled(e){this.viewModel.returnGeometryEnabled=e}get returnMEnabled(){return this.viewModel.returnMEnabled}set returnMEnabled(e){this.viewModel.returnMEnabled=e}get returnZEnabled(){return this.viewModel.returnZEnabled}set returnZEnabled(e){this.viewModel.returnZEnabled=e}get rowHighlightIds(){return this.viewModel.rowHighlightIds}set rowHighlightIds(e){this.viewModel.rowHighlightIds=e}get selectionSource(){return this.viewModel.selectionSource}set selectionSource(e){this.viewModel.selectionSource=e}get showAllRelatedTables(){return this.viewModel.showAllRelatedTables}set showAllRelatedTables(e){this.viewModel.showAllRelatedTables=e}get showPrompt(){return this.viewModel.showPrompt}set showPrompt(e){this.viewModel.showPrompt=e}get showRelatedTableCallback(){return this.viewModel.showRelatedTableCallback}set showRelatedTableCallback(e){this.viewModel.showRelatedTableCallback=e}get size(){return this.viewModel.size}get state(){return this.viewModel.state}get supportsAddAttachments(){return this.viewModel.supportsAddAttachments}get supportsAttachments(){return this.viewModel.supportsAttachments}get supportsDeleteAttachments(){return this.viewModel.supportsDeleteAttachments}get supportsResizeAttachments(){return this.viewModel.supportsResizeAttachments}get supportsUpdateAttachments(){return this.viewModel.supportsUpdateAttachments}get syncTemplateOnChangesEnabled(){return this.viewModel.syncTemplateOnChangesEnabled}set syncTemplateOnChangesEnabled(e){this.viewModel.syncTemplateOnChangesEnabled=e}get tableController(){return this.viewModel.tableController}set tableController(e){this.viewModel.tableController=e}get tableParent(){return this.viewModel.tableParent}set tableParent(e){this.viewModel.tableParent=e}get tableTemplate(){return this.viewModel.tableTemplate}set tableTemplate(e){this.viewModel.tableTemplate=e}get tableTemplateOverride(){return this.viewModel.tableTemplateOverride}set tableTemplateOverride(e){this.viewModel.tableTemplateOverride=e}get timeExtent(){return this.viewModel.timeExtent}set timeExtent(e){this.viewModel.timeExtent=e}get timeZone(){return this.viewModel.timeZone}set timeZone(e){this.viewModel.timeZone=e}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get visibleColumns(){return this.viewModel.visibleColumns}get visibleElementsOverride(){const{attachmentsViewOptions:e,relatedTable:t,tableController:i,visibleElements:n}=this,{columnDescriptions:s,columnMenus:l,tooltips:o}=n,a=null!=e.objectId;if(t)return new S({columnDescriptions:s,columnMenus:l,tooltips:o,close:n.close,header:n.header,layerDropdown:n.layerDropdown,layerDropdownIcons:n.layerDropdownIcons,menu:n.menu,menuItems:n.menuItems,progress:n.progress,selectionColumn:!1,columnMenuItems:new C({sortAscending:!1,sortDescending:!1})});if(i){const e=i.relatedTable===this,t=i.allRelatedTablesVisible,r=e&&n.selectionColumn&&!t&&!a,c=e&&!t&&!a;return new S({columnDescriptions:s,columnMenus:l,tooltips:o,selectionColumn:r,close:!1,header:!1,layerDropdown:!1,menu:!1,progress:!1,columnMenuItems:new C({sortAscending:c,sortDescending:c})})}return a?new S({columnDescriptions:s,columnMenus:l,tooltips:o,close:n.close,header:n.header,layerDropdown:n.layerDropdown,layerDropdownIcons:n.layerDropdownIcons,menu:n.menu,menuItems:n.menuItems,progress:n.progress,selectionColumn:!1,columnMenuItems:new C({sortAscending:!1,sortDescending:!1})}):null}cancelPendingEdits(){this.viewModel.cancelPendingEdits()}clearSelectionFilter(){this.viewModel.clearSelectionFilter()}async deleteAttachments(e,t,i){null!=e&&t?.length&&(i?this._showDeleteAttachmentPrompt(e,t):await this.viewModel.deleteAttachments(e,t))}deleteSelection(e){return this.highlightIds.length?e?(this._showDeletePrompt(),this.scheduleRender(),Promise.resolve()):this.viewModel.deleteSelection():Promise.resolve()}async downloadAttachmentById(e,t){return this.viewModel.downloadAttachmentById(e,t)}drainRelatedTables(){this.viewModel.drainRelatedTables()}exportSelectionToCSV(e){return this.viewModel.exportSelectionToCSV(e)}filterBySelection(){this.viewModel.filterBySelection()}findColumn(e){return this.viewModel.findColumn(e)}goToPage(e){this.viewModel.goToPage(e)}hideColumn(e){this.grid?.hideColumn(e)}nextPage(){this.viewModel.nextPage()}previousPage(){this.viewModel.previousPage()}async refresh(){await this.viewModel.refresh()}refreshCellContent(){this.viewModel.refreshCellContent()}async saveAttachmentsViewForm(){await this.viewModel.saveAttachmentsViewForm()}async savePendingEdits(){await this.viewModel.savePendingEdits()}showAllColumns(){this.viewModel.showAllColumns()}showColumn(e){this.grid?.showColumn(e)}sortColumn(e,t){this.viewModel.sortColumn(e,t)}scrollLeft(){this.viewModel.scrollLeft()}scrollToBottom(){this.viewModel.scrollToBottom()}scrollToIndex(e){this.viewModel.scrollToIndex(e)}scrollToRow(e){this.viewModel.scrollToRow(e)}scrollToTop(){this.viewModel.scrollToTop()}toggleColumnVisibility(e){this.viewModel.toggleColumnVisibility(e)}zoomToSelection(){this.effectiveTable.viewModel.zoomToSelection()}render(){const{_effectiveVisibleElements:e,isQueryingOrSyncing:t,menuConfig:i,state:n}=this;return L("div",{bind:this,class:this.classes(Z.base,x.widget)},L("calcite-panel",{bind:this,class:Z.content,closable:e.close,description:this._effectiveDescription,disabled:this.disabled||"disabled"===n&&!this._effectiveLayers?.length,heading:e.header?this._effectiveTitle:void 0,key:"table-content",loading:"loading"===n,menuOpen:!!i?.open,overlayPositioning:"fixed",onCalcitePanelClose:e=>{e.currentTarget.closed=!1,this.emit("close")}},e.progress?L("calcite-progress",{type:t?"indeterminate":"determinate"}):null,this._showLayerDropdown?this._renderLayerDropdown():null,this._renderColumnVisibilityAction(),this._renderHeaderMenuActions(),this._renderNavigationBar(),this._renderTables(),this._renderError(),this._renderFooterContent()),this._renderColumnVisibilityPopover(),this._renderPrompt(),this._renderDialog())}_renderTables(){const{grid:e,relatedTables:t}=this,i=this.classes(Z.tableContainer);if(t.length){const n=this.classes(Z.base,this.allRelatedTablesVisible?Z.expanded:Z.collapsed,this._shouldShowAttachmentsView?Z.tableContainerWithAttachments:void 0);return L("div",{class:i},L("calcite-panel",{overlayPositioning:"fixed"},L("div",null,[this._shouldShowGrid?L("div",{class:n},e?.render(),this._renderPagination()):void 0,...this._filteredTables.map(e=>{const i=t.indexOf(e);return L("div",{class:n,key:`related-${i}`},e.render())}),,])))}return null!=this.attachmentsViewOptions.objectId?L("div",{class:i},L("calcite-panel",{overlayPositioning:"fixed"},L("div",null,[L("div",{class:this.classes(Z.base,Z.collapsed)},e?.render(),this._renderPagination()),this._renderAttachmentsView()]))):[L("div",{class:i},e?.render()),this._renderPagination()]}_renderPagination(){if(this.paginationEnabled)return L("calcite-pagination",{pageSize:1,startItem:this.pageIndex+1,totalItems:this.pageCount,onCalcitePaginationChange:e=>this.goToPage(e.currentTarget.startItem-1)})}_renderError(){const{messages:e}=this;return L("calcite-alert",{autoClose:!0,autoCloseDuration:"fast",icon:G.exclamationMarkTriangle,kind:"danger",label:e.errorOccured,open:this._hasAttachmentsViewError,slot:"alerts",onCalciteAlertClose:()=>{this.attachmentsViewOptions.error=null}},L("span",{slot:"message"},e.errorOccured))}_renderFooterContent(){if(!this.hasPendingEdits||!this.visibleElements.pendingEditsFooter)return;const{hasInvalidPendingEdits:e,isQueryingOrSyncing:t,messages:i,messagesCommon:n}=this,s=e||t,l=this.hasContingentValues,o=[L("calcite-button",{appearance:"outline",disabled:t,iconStart:G.reset,key:"footer-reset-button",onclick:()=>this.cancelPendingEdits(),slot:"footer-end",width:"auto"},n.reset),L("calcite-button",{disabled:s,iconStart:G.save,key:"footer-save-button",loading:this.isSyncing,onclick:()=>{this.savePendingEdits()},slot:"footer-end",width:"auto"},n.save)];if(l){const t=e?i.contingentValues.hasInvalidValues:i.contingentValues.hasValidValues,n=e?L("calcite-icon",{class:Z.footerIconDanger,icon:G.exclamationMarkTriangle,scale:"s",slot:"footer-start"}):void 0;o.push(L("div",{class:Z.footerMessage,key:"footer-message",slot:"footer-start"},n,t))}return o}_renderPrompt(){return this.prompt?L(M,{...this.prompt,headingLevel:2}):void 0}_showDeletePrompt(){const{messages:e,messagesCommon:i}=this,n=t(e.deleteSelectionCount,{count:this.highlightIds.length});this.showPrompt({title:n,message:e.deleteRecordsRemoved,context:"danger",actions:{primary:{label:i.delete,action:this._onDeleteSelectionClick},secondary:{label:e.keepRecords,action:()=>this.clearPrompt()}}})}_showDeleteAttachmentPrompt(e,i){const{messages:n,messagesCommon:s}=this,l=t(n.deleteAttachmentCount,{count:i.length});this.showPrompt({title:l,message:n.deleteAttachmentConfirmation,context:"danger",actions:{primary:{label:s.delete,action:async()=>{try{await this.deleteAttachments(e,i,!1)}finally{this.clearPrompt()}}},secondary:{label:s.cancel,action:()=>this.clearPrompt()}}})}async _onDeleteSelectionClick(){try{await this.viewModel.deleteSelection()}finally{this.clearPrompt()}}_renderDialog(){const{attachmentsViewOptions:e,messages:t}=this,{objectId:i}=e;return L("calcite-dialog",{class:Z.dialog,description:this.viewModel.getFeatureTitleSync(i),heading:t.attachments,modal:!0,open:this._dialogIsOpen,width:"l",onCalciteDialogClose:()=>this._onDialogClose()},this._renderDialogContent())}_renderDialogContent(){const e=this.attachmentsViewOptions.dialogInfo;if(e)return this._renderAttachmentDialogContent(e)}_renderAttachmentDialogContent(e){const{attachmentsViewOptions:t,messages:i}=this,{attachmentInfos:n}=t,s=n.indexOf(e);return L(z,null,L("div",{class:Z.dialogHeader,key:"header",slot:"content-top"},L("span",null,e.name),L("calcite-button",{appearance:"outline",onclick:()=>{t.attachmentId=e.id,t.dialogId=null}},i.viewDetails)),L("div",{class:Z.dialogContent,key:"content"},this._renderAttachmentsViewDetailsImage(e,!0)),L("calcite-pagination",{pageSize:1,slot:"content-bottom",startItem:s+1,totalItems:n.length,onCalcitePaginationChange:e=>{const i=e.currentTarget.startItem-1,s=n[i]?.id;t.dialogId=s}}))}_onDialogClose(){const e=this.attachmentsViewOptions;null!=e.dialogId&&(e.dialogId=null)}_renderHeaderMenuAction(e){const{disabled:t,hidden:i,icon:n,text:s,clickFunction:l}=e;if(!i)return L("calcite-action",{disabled:t??this.menuConfig?.disabled,icon:n??void 0,key:s,onclick:()=>l(),slot:"header-menu-actions",text:s,textEnabled:!0,title:s})}_renderHeaderMenuActions(){return this._shouldShowMenu?[this._renderDefaultHeaderMenuActions(),this._renderCustomHeaderMenuActions()]:[]}_renderDefaultHeaderMenuActions(){if(!this._hasDefaultMenuItems)return[];const{messages:e}=this;return[this._showRefreshDataAction&&{icon:G.refresh,text:e.refreshData,clickFunction:()=>this.refresh()},this._showDeleteSelectionAction&&{icon:G.delete,text:e.deleteSelection,clickFunction:()=>this.deleteSelection(!0)},this._showClearSelectionAction&&{icon:G.clearSelection,text:e.clearSelection,clickFunction:()=>this.highlightIds?.removeAll()},this._showZoomToSelectionAction&&{icon:G.zoomToSelection,text:e.zoomToSelection,clickFunction:()=>this.zoomToSelection()},this._showSelectedRecordsShowSelectedAction&&{icon:G.showSelected,text:e.showSelected,clickFunction:()=>{const{objectIds:e}=this;e.removeAll(),e.addMany(this.highlightIds.toArray())}},this._showSelectedRecordsShowAllAction&&{icon:G.showAll,text:e.showAllRecords,clickFunction:()=>this.objectIds.removeAll()},this._showExportSelectionToCSVAction&&{icon:G.exportToCSV,text:e.exportSelectionCSV,clickFunction:()=>this.exportSelectionToCSV()}].filter(i).map(e=>e&&this._renderHeaderMenuAction(e))}_renderCustomHeaderMenuActions(){return this.menuConfig?.items?.map(({disabled:e,hidden:t,icon:i,label:n,clickFunction:s})=>this._renderHeaderMenuAction({hidden:"function"==typeof t?t():t,icon:i,text:n,disabled:e,clickFunction:e=>s(e)}))??[]}_renderColumnVisibilityAction(){if(!this._showColumnsVisibilityAction)return[];const{_columnVisibilityActions:e,effectiveTable:t,id:i}=this,n=this.messages.toggleColumns;return L("calcite-action",{afterCreate:t=>e.set(i,t),afterRemoved:()=>e.delete(i),bind:this,disabled:t.menuConfig?.disabled,icon:G.showColumn,id:`${i}__toggle-columns-action`,slot:"header-actions-end",text:n},this._effectiveVisibleElements.tooltips?L("calcite-tooltip",{closeOnClick:!0,overlayPositioning:"fixed",placement:"bottom-end",slot:"tooltip"},n):null)}_renderColumnVisibilityPopover(){if(!this._showColumnsVisibilityAction||this.effectiveTable.menuConfig?.disabled)return;const{effectiveTable:e}=this,t=this.messages.toggleColumns;return L("calcite-popover",{autoClose:!0,class:Z.menuPopover,label:t,overlayPositioning:"fixed",placement:"top-end",pointerDisabled:!0,referenceElement:this._columnVisibilityActions.get(this.id)},L("calcite-list",{displayMode:"nested",filterEnabled:!0,filterPlaceholder:t,label:t,selectionMode:"multiple"},e.columns.toArray().map(t=>{const i=V(t)?t.columns?.map(t=>this._renderColumnListItem({column:t,table:e,ignoreSelect:!0})):void 0;return this._renderColumnListItem({column:t,table:e,items:i})})))}_renderColumnListItem(e){const{column:t,table:i,items:n,ignoreSelect:s}=e,{effectiveLabel:l,fieldName:o,hidden:a}=t;return L("calcite-list-item",{expanded:!(!n?.length||a)||void 0,key:`toggle-columns__item-${o}`,label:l,selected:!a,value:o,onCalciteListItemSelect:e=>{s&&e.stopPropagation(),i.toggleColumnVisibility(e.currentTarget.value)}},n)}_renderLayerDropdown(){const e=this.messages.selectALayer;return L("div",{class:Z.layerDropdownMenu,key:`${this.id}-layerDropdown`,slot:"header-actions-start"},L("calcite-dropdown",{bind:this,maxItems:5,overlayPositioning:"fixed",placement:"bottom-start"},L("calcite-action",{icon:G.layers,slot:"trigger",text:e,title:e}),L("calcite-dropdown-group",{selectionMode:"single"},this._effectiveLayers.map((e,t)=>this._renderLayerDropdownItem(e,t))??null)))}_renderLayerDropdownItem(e,t){const i=this.visibleElements.layerDropdownIcons;return L("calcite-dropdown-item",{iconStart:i?P(e):void 0,key:`dropdown-item-${t}`,label:e.title??"",selected:e===this.layer,value:e.id,onCalciteDropdownItemSelect:()=>{this.layer=e}},e.title)}_onRelatedNavigationItemClick(e){this.viewModel.drainRelatedTablesAboveIndex(e)}_collapseRelatedTable(e){this.viewModel.collapseRelatedTable(this.effectiveTable,e)}_onShowRelatedTable(e){this.showRelatedTableCallback||(this._collapseRelatedTable(e),this._createRelatedTable(e))}async _createRelatedTable(e){const{autoRefreshEnabled:t,autoSaveEnabled:i,editingEnabled:n,effectiveTable:s,paginationEnabled:l,pageSize:o,view:a,viewModel:r}=this,{layer:c,objectId:d,relatedLayer:h,relationshipId:m}=e;await c.load();const p=this.attachmentsEnabled&&D(c),u=new U({layer:c,autoRefreshEnabled:t,autoSaveEnabled:i,attachmentsEnabled:p,editingEnabled:n,paginationEnabled:l,pageSize:o,relatedRecordsEnabled:!0,relationshipConfig:{objectId:d,relatedLayer:h,relationshipId:m},relationshipColumnConfigs:k(c,m),tableController:this,tableParent:s,view:a,showRelatedTableCallback:e=>r.emit("show-related-table",e)});this.relatedTables.add(u),this.scheduleRender()}_renderAttachmentsView(){switch(this.attachmentsViewOptions.effectiveMode){case"list":return this._renderAttachmentsViewList();case"details":return this._renderAttachmentsViewDetails();case"file":return this._renderAttachmentsViewFile()}}_renderAttachmentsViewFile(){const e=this.attachmentsViewOptions,{objectId:t}=e;if(null!=t)return[L("div",{class:Z.attachmentsView,key:"attachments-view"},this._renderAttachmentsViewInformation(),L("div",{class:Z.attachmentsViewContent,key:"attachments-view-content"},L("div",{bind:this,class:Z.attachmentsViewDropArea,ondragover:e=>e.preventDefault(),ondrop:this._onAttachmentsViewDrop},L("calcite-icon",{class:Z.attachmentsViewIcon,icon:G.upload,scale:"l"}),this._attachmentsViewFileLabelNode,this._attachmentsViewFileMessageNode,L("form",{afterCreate:t=>e.form=t,afterRemoved:()=>e.form=null,bind:this,key:"attachments-form"},L("fieldset",null,this._attachmentsViewFileNameNode,L("input",{afterCreate:j,afterRemoved:$,afterUpdate:j,bind:this,"data-node-ref":"_attachmentsInput",files:e.candidates,hidden:!0,name:"attachment",onchange:e=>this._onAttachmentsViewCandidateChange(e),type:"file"}),this._attachmentsViewFileSelectNode,this._attachmentsViewFileSaveNode,this._attachmentsViewFileCancelNode)))))]}_renderAttachmentsViewDetails(){const{attachmentInfo:e}=this.attachmentsViewOptions;if(e)return[L("div",{class:Z.attachmentsView,key:"attachments-view"},this._renderAttachmentsViewInformation(),L("div",{class:Z.attachmentsViewContent,key:"attachments-view-content"},L("div",{class:Z.attachmentsViewDetails},this._renderAttachmentsViewDetailsPreview(e))))]}_renderAttachmentsViewDetailsPreview(e){const t=this.messages;if(!y(e.contentType))return L("span",null,t.noPreviewAvailable);const i=t.maximize;return[this._renderAttachmentsViewDetailsImage(e),L("calcite-action",{icon:G.expand,label:i,onclick:t=>{t.preventDefault(),this.attachmentsViewOptions.dialogId=e.id},text:i,textEnabled:!0,title:i})]}_renderAttachmentsViewDetailsImage(e,t=!1){const{contentType:i,name:n,size:s,url:l}=e,{messages:o}=this;return y(i)?L("img",{alt:n,key:`thumbnail-image-${n}`,src:`${l}${l?.includes("?")?"&":"?"}s=${s}`,title:n}):t?[L("calcite-icon",{icon:f(i),key:`thumbnail-icon-${n}`,scale:"l",textLabel:n,title:n}),o.noPreviewAvailable]:o.noPreviewAvailable}_renderAttachmentsViewInformation(){const{attachmentsViewOptions:e,messages:t,messagesUnits:i}=this,{attachmentInfo:n,objectId:s}=e;if(!n||null==s)return;const{contentType:l,name:o}=n;return L("div",{class:Z.attachmentsViewInformation,key:"information"},this._renderAttachmentViewInformationButtons(n,s),L("calcite-icon",{"aria-hidden":!0,icon:f(l),key:"attachment-icon",scale:"l",textLabel:o}),L("span",{class:Z.attachmentsViewInformationLabel,key:"file-label"},t.fileName),L("span",{class:Z.attachmentsViewInformationData,key:"file-value"},n.name),L("span",{class:Z.attachmentsViewInformationLabel,key:"type-label"},t.attachmentType),L("span",{class:Z.attachmentsViewInformationData,key:"type-value"},this._getLabelForAttachmentType(n)),this._renderAttachmentKeywordDetails(n),L("span",{class:Z.attachmentsViewInformationLabel,key:"size-label"},t.size),L("span",{class:Z.attachmentsViewInformationData,key:"size-span"},r(i,n.size??0)))}_renderAttachmentViewInformationButtons(e,t){const{attachmentsViewOptions:i,messages:n,messagesCommon:s}=this,l="details"!==i.effectiveMode,o=e.id,a=[L("calcite-button",{appearance:"outline",disabled:l,key:"download-button",onclick:e=>{e.preventDefault(),this.downloadAttachmentById(t,o)},width:"full"},n.download)];return this.supportsUpdateAttachments&&a.push(L("calcite-button",{appearance:"outline",disabled:l,key:"replace-button",onclick:()=>{i.mode="file",i.attachmentId=o},width:"full"},n.replace)),this.supportsDeleteAttachments&&a.push(L("calcite-button",{appearance:"outline",disabled:l,key:"delete-button",onclick:()=>{this.deleteAttachments(t,[o],!0)},width:"full"},s.delete)),a}_renderAttachmentKeywordDetails({keywords:e}){if(e&&""!==e)return[L("span",{class:Z.attachmentsViewInformationLabel,key:"keyword-label"},this.messages.keyword),L("span",{class:Z.attachmentsViewInformationData,key:"keyword-value"},e)]}_renderAttachmentsViewList(){const{attachmentsViewOptions:e,isSyncingAttachments:t,messages:i,messagesUnits:n}=this,{attachmentInfos:s,objectId:l}=e;return L("calcite-list",{afterCreate:j,afterRemoved:$,afterUpdate:j,bind:this,class:Z.attachmentsViewList,"data-node-ref":"attachmentsList",key:`attachments-list-${l}`,label:i?.attachments,loading:t,ondragover:e=>e.preventDefault(),ondrop:this._onAttachmentsViewDrop,selectionMode:this.supportsDeleteAttachments?"multiple":"none",onCalciteListChange:()=>this.scheduleRender()},...s?.map(t=>{const{id:s,name:o,size:a}=t,c=r(n,a??0);return L("calcite-list-item",{afterRemoved:()=>this.scheduleRender(),key:`attachment-${s}`,label:o,value:s},this._renderAttachmentsViewListPreview(t),L("span",{class:Z.attachmentsViewListFileSize,slot:"actions-end",title:c},c),L("calcite-action",{icon:G.downloadTo,key:"download",label:o,onclick:e=>{e.preventDefault(),this.downloadAttachmentById(l??-1,s)},slot:"actions-end",text:i.downloadAttachment,title:i.downloadAttachment}),L("calcite-action",{icon:G.chevronRight,iconFlipRtl:!0,key:"details",label:o,onclick:()=>{e.mode="details",e.attachmentId=s},slot:"actions-end",text:i.viewAttachment,title:i.viewAttachment}))}))}_renderAttachmentsViewListPreview(e){return L("div",{class:Z.attachmentsViewListThumbnail,slot:"content-start"},L("span",null,this._renderAttachmentsViewListImage(e)))}_renderAttachmentsViewListImage(e,t=64){const{contentType:i,name:n,size:s,url:l}=e,o=`${l}${l?.includes("?")?"&":"?"}w=${t}&s=${s}`;return this.supportsResizeAttachments&&y(i)?L("img",{alt:n,key:`thumbnail-image-${n}`,src:o,title:n}):L("calcite-icon",{icon:f(i),key:`thumbnail-icon-${n}`,scale:"l",textLabel:n,title:n})}_onAttachmentsViewCandidateChange({target:e}){this.attachmentsViewOptions.candidates=e?.files}_onAttachmentsViewDrop(e){e.preventDefault(),(this.supportsAddAttachments||this.supportsUpdateAttachments)&&(this.attachmentsViewOptions.mode="file",this.attachmentsViewOptions.candidates=e.dataTransfer?.files)}_resetAttachmentsInput(){this._attachmentsInput&&(this._attachmentsInput.value="")}_getLabelForAttachmentType({contentType:e}){const t=this.messages;return e.startsWith("image/")?t.attachmentTypes.image:e.startsWith("audio/")?t.attachmentTypes.audio:e.startsWith("video/")?t.attachmentTypes.video:e.startsWith("text/")||e.startsWith("application/")||e.startsWith("model/")?t.attachmentTypes.document:t.attachmentTypes.unknown}_renderNavigationBar(){const{effectiveTable:e,messages:i,messagesCommon:n,navigationScale:s,relatedTable:l,relatedTables:o}=this;if(!this._shouldShowNavigationBar)return;const{attachmentsList:a,attachmentsViewOptions:r,layer:c,supportsAddAttachments:d,supportsDeleteAttachments:h}=e;if(!c)return;const{attachmentInfos:m,objectId:p}=r,u=null!=p,g=m.length,w=a?.selectedItems?.length??0,b=`${c.objectIdField}: ${p}`,v=t(i.selectedCount,{count:w}),y=t(i.attachmentsCount,{count:g}),f=u?L("calcite-action",{bind:this,icon:G.chevronRight,iconFlipRtl:!0,key:"navigation-feature",onclick:()=>e.scrollToRow(p),scale:s,text:b,textEnabled:!0,title:b}):void 0,_=u?L("calcite-action",{icon:G.chevronRight,iconFlipRtl:!0,key:"navigation-attachments-label",label:y,onclick:()=>{g>0&&(r.mode="list")},scale:s,text:y,textEnabled:!0,title:y}):void 0,M=u?L("calcite-chip",{closable:!0,closed:0===w,key:"navigation-chip",kind:"inverse",label:v,scale:"s",selected:!0,title:v,value:"selected",onCalciteChipClose:()=>a?.selectedItems?.forEach(e=>e.selected=!1)},v):void 0,C=l?L("calcite-label",{layout:"inline",scale:s},i.showAllTables,L("calcite-switch",{checked:this.allRelatedTablesVisible,scale:s,onCalciteSwitchChange:e=>this.showAllRelatedTables=!!e.currentTarget.checked})):void 0,A=u&&"list"===r.effectiveMode&&null!=p&&w&&h?L("calcite-action",{icon:G.delete,iconFlipRtl:!0,key:"attachments-trash-all",onclick:()=>{e.deleteAttachments(p,a?.selectedItems?.map(e=>e.value)??[],!0)},scale:s,text:n.delete,textEnabled:!0,title:t(i.deleteAttachmentCount,{count:w})}):void 0,S=u&&"list"===r.effectiveMode&&d?L("calcite-action",{bind:this,icon:G.plus,iconFlipRtl:!0,key:"attachments-add",onclick:()=>{r.objectId=p,r.attachmentId=null,r.mode="file"},scale:s,text:i.addAttachment,textEnabled:!0,title:i.addAttachment}):void 0;return L("div",{class:Z.tableNavigation,key:"table-nav"},L("calcite-action",{icon:G.moveUp,iconFlipRtl:!0,key:"go-back",onclick:()=>{l&&this.drainRelatedTables(),e.attachmentsViewOptions.objectId=null},scale:s,text:this.layer?.title??"",textEnabled:!1,title:l?i.exitRelatedRecords:i.exitAttachments}),o.toArray().map((e,t)=>this._renderRelatedTableNavigationAction(e,t)),f,_,L("div",null,M,C,A,S))}_renderRelatedTableNavigationAction(e,t){const i=this._getLabelForRelatedTableNavigationAction(e);return L("calcite-action",{icon:G.chevronRight,iconFlipRtl:!0,key:t,onclick:()=>this._onRelatedNavigationItemClick(t),scale:this.navigationScale,text:i,textEnabled:!0,title:e.layer?.title||""})}_getLabelForRelatedTableNavigationAction(e){const t=e.layer?.title;if(!t)return"";const{relatedTables:i}=this;if(i.length<=1)return t;return i.indexOf(e)!==i.length-1&&t.length>20?`${t.slice(0,20)}...`:t}};e([c()],W.prototype,"_attachmentsInput",void 0),e([c()],W.prototype,"_attachmentsViewFileCancelNode",null),e([c()],W.prototype,"_attachmentsViewFileLabelNode",null),e([c()],W.prototype,"_attachmentsViewFileMessageNode",null),e([c()],W.prototype,"_attachmentsViewFileNameNode",null),e([c()],W.prototype,"_attachmentsViewFileSaveNode",null),e([c()],W.prototype,"_attachmentsViewFileSelectNode",null),e([c()],W.prototype,"_columnVisibilityActions",void 0),e([c()],W.prototype,"_dialogIsOpen",null),e([c()],W.prototype,"_effectiveDescription",null),e([c()],W.prototype,"_effectiveLayers",null),e([c()],W.prototype,"_effectiveTitle",null),e([c()],W.prototype,"_effectiveVisibleElements",null),e([c()],W.prototype,"_filteredTables",null),e([c()],W.prototype,"_hasAttachmentsViewError",null),e([c()],W.prototype,"_hasCustomMenuItems",null),e([c()],W.prototype,"_hasDefaultMenuItems",null),e([c()],W.prototype,"_shouldShowGrid",null),e([c()],W.prototype,"_shouldShowMenu",null),e([c()],W.prototype,"_shouldShowAttachmentsView",null),e([c()],W.prototype,"_showClearSelectionAction",null),e([c()],W.prototype,"_showColumnsVisibilityAction",null),e([c()],W.prototype,"_showDeleteSelectionAction",null),e([c()],W.prototype,"_showExportSelectionToCSVAction",null),e([c()],W.prototype,"_showLayerDropdown",null),e([c()],W.prototype,"_shouldShowNavigationBar",null),e([c()],W.prototype,"_showRefreshDataAction",null),e([c()],W.prototype,"_showSelectedRecordsShowSelectedAction",null),e([c()],W.prototype,"_showSelectedRecordsShowAllAction",null),e([c()],W.prototype,"_showZoomToSelectionAction",null),e([c()],W.prototype,"_viewLayers",null),e([c()],W.prototype,"attachmentsList",void 0),e([c({readOnly:!0})],W.prototype,"grid",null),e([c()],W.prototype,"actionColumn",null),e([c()],W.prototype,"actionColumnConfig",null),e([c({readOnly:!0})],W.prototype,"activeFilters",null),e([c({readOnly:!0})],W.prototype,"activeSortOrders",null),e([c()],W.prototype,"allColumns",null),e([c({readOnly:!0})],W.prototype,"allRelatedTablesVisible",null),e([c()],W.prototype,"allVisibleColumns",null),e([c()],W.prototype,"attachmentsColumns",null),e([c()],W.prototype,"attachmentsEnabled",null),e([c()],W.prototype,"attachmentsViewOptions",null),e([c({type:w})],W.prototype,"attributeTableTemplate",null),e([c()],W.prototype,"autoRefreshEnabled",null),e([c()],W.prototype,"autoSaveEnabled",null),e([c()],W.prototype,"clearPrompt",null),e([c()],W.prototype,"columnPerformanceModeEnabled",null),e([c()],W.prototype,"columnReorderingEnabled",null),e([c({readOnly:!0})],W.prototype,"columns",null),e([c()],W.prototype,"definitionExpression",null),e([c()],W.prototype,"description",void 0),e([c()],W.prototype,"disabled",void 0),e([c()],W.prototype,"editingEnabled",null),e([c()],W.prototype,"effectiveSize",null),e([c()],W.prototype,"effectiveTable",null),e([c()],W.prototype,"fieldColumns",null),e([c({types:h})],W.prototype,"filterGeometry",null),e([c()],W.prototype,"filterBySelectionEnabled",null),e([c()],W.prototype,"groupColumns",null),e([c()],W.prototype,"hasContingentValues",null),e([c()],W.prototype,"hasInvalidPendingEdits",null),e([c()],W.prototype,"hasPendingEdits",null),e([c()],W.prototype,"hiddenFields",null),e([c()],W.prototype,"highlightEnabled",null),e([c()],W.prototype,"highlightIds",null),e([c()],W.prototype,"icon",null),e([c()],W.prototype,"initialSize",null),e([c()],W.prototype,"isQueryingOrSyncing",null),e([c()],W.prototype,"isSyncing",null),e([c()],W.prototype,"isSyncingAttachments",null),e([c()],W.prototype,"label",null),e([c()],W.prototype,"layer",null),e([c()],W.prototype,"layers",null),e([c()],W.prototype,"layerView",null),e([c()],W.prototype,"maxSize",null),e([c(),F("esri/widgets/FeatureTable/t9n/FeatureTable")],W.prototype,"messages",null),e([c(),F("esri/t9n/common")],W.prototype,"messagesCommon",null),e([c(),F("esri/core/t9n/Units")],W.prototype,"messagesUnits",null),e([c(),F("esri/widgets/support/t9n/uriUtils")],W.prototype,"messagesURIUtils",null),e([c()],W.prototype,"menuConfig",null),e([c()],W.prototype,"multipleSelectionEnabled",null),e([c()],W.prototype,"multiSortEnabled",null),e([c()],W.prototype,"multipleSortPriority",null),e([c()],W.prototype,"navigationScale",void 0),e([c()],W.prototype,"noDataMessage",null),e([c()],W.prototype,"objectIds",null),e([c()],W.prototype,"outFields",null),e([c()],W.prototype,"pageCount",null),e([c()],W.prototype,"pageIndex",null),e([c()],W.prototype,"pageSize",null),e([c()],W.prototype,"paginationEnabled",null),e([c()],W.prototype,"prompt",null),e([c()],W.prototype,"relatedRecordsEnabled",null),e([c()],W.prototype,"relatedTable",null),e([c()],W.prototype,"relatedTables",null),e([c()],W.prototype,"relationship",null),e([c()],W.prototype,"relationshipColumnConfigs",null),e([c()],W.prototype,"relationshipColumns",null),e([c()],W.prototype,"relationshipConfig",null),e([c()],W.prototype,"relationshipInfos",null),e([c()],W.prototype,"returnGeometryEnabled",null),e([c()],W.prototype,"returnMEnabled",null),e([c()],W.prototype,"returnZEnabled",null),e([c()],W.prototype,"rowHighlightIds",null),e([c()],W.prototype,"selectionSource",null),e([c()],W.prototype,"showAllRelatedTables",null),e([c()],W.prototype,"showPrompt",null),e([c()],W.prototype,"showRelatedTableCallback",null),e([c()],W.prototype,"size",null),e([c({readOnly:!0})],W.prototype,"state",null),e([c()],W.prototype,"supportsAddAttachments",null),e([c()],W.prototype,"supportsAttachments",null),e([c()],W.prototype,"supportsDeleteAttachments",null),e([c()],W.prototype,"supportsResizeAttachments",null),e([c()],W.prototype,"supportsUpdateAttachments",null),e([c()],W.prototype,"syncTemplateOnChangesEnabled",null),e([c({constructOnly:!0})],W.prototype,"tableController",null),e([c({constructOnly:!0})],W.prototype,"tableParent",null),e([c({type:T})],W.prototype,"tableTemplate",null),e([c()],W.prototype,"tableTemplateOverride",null),e([c()],W.prototype,"title",void 0),e([c({type:b})],W.prototype,"timeExtent",null),e([c()],W.prototype,"timeZone",null),e([c()],W.prototype,"view",null),e([c({type:A}),O(["cell-click","cell-dblclick","cell-pointerover","cell-pointerout","cell-keydown","column-reorder","show-related-table"])],W.prototype,"viewModel",void 0),e([c()],W.prototype,"visibleColumns",null),e([c({type:S,nonNullable:!0})],W.prototype,"visibleElements",void 0),e([c({type:S})],W.prototype,"visibleElementsOverride",null),W=U=e([d("esri.widgets.FeatureTable")],W);const Q=W;export{Q as default};
|
|
@@ -16,6 +16,12 @@ export interface LegendViewModelProperties extends Partial<Pick<LegendViewModel,
|
|
|
16
16
|
activeLayerInfos?: ReadonlyArrayOrCollection<ActiveLayerInfoProperties>;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Represents the allowed values for the [state](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#state) property.
|
|
21
|
+
*
|
|
22
|
+
* @see [state](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#state)
|
|
23
|
+
* @since 5.0
|
|
24
|
+
*/
|
|
19
25
|
export type LegendViewModelState = "ready" | "disabled";
|
|
20
26
|
|
|
21
27
|
/**
|
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
import type Widget from "../../../Widget.js";
|
|
2
2
|
import type { WidgetProperties } from "../../../Widget.js";
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Defines the set of properties that can be used to construct a CardView instance.
|
|
6
|
+
* Includes widget base properties and specific options for configuring the card-style legend view.
|
|
7
|
+
*
|
|
8
|
+
* @since 5.0
|
|
9
|
+
*/
|
|
5
10
|
export interface CardViewProperties extends WidgetProperties, Partial<Pick<CardView, "layout">> {}
|
|
6
11
|
|
|
7
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the layout options for the card-style legend.
|
|
14
|
+
*
|
|
15
|
+
* - `auto`: This layout is responsive so that in wide views the legend has a side-by-side layout, and a stack layout in smaller (mobile) views.
|
|
16
|
+
* - `side-by-side`: The legend has a landscape orientation that allows users to scroll horizontally to view multiple legend cards at a time.
|
|
17
|
+
* - `stack`: The legend cards are stacked, which conserves space, but restricts the user to seeing only one card at a time.
|
|
18
|
+
*
|
|
19
|
+
* @see [layout](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-styles-card-CardView.html#layout)
|
|
20
|
+
* @since 5.0
|
|
21
|
+
*/
|
|
8
22
|
export type CardLayout = "auto" | "stack" | "side-by-side";
|
|
9
23
|
|
|
10
24
|
/**
|
|
11
|
-
* In wide views, the legend has a landscape orientation that allows users to scroll horizontally to view all legend elements.
|
|
25
|
+
* In wide views, the legend has a landscape orientation that allows users to scroll horizontally to view all legend elements.
|
|
26
|
+
* This style can be responsive, making it ideal for mobile web apps. In smaller views, the legend collapses to occupy less space.
|
|
12
27
|
*
|
|
28
|
+
* @see [Legend#style](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style)
|
|
13
29
|
* @since 5.0
|
|
14
30
|
*/
|
|
15
31
|
export default abstract class CardView extends Widget {
|
|
@@ -7,6 +7,7 @@ export interface ClassicViewProperties extends WidgetProperties {}
|
|
|
7
7
|
/**
|
|
8
8
|
* The legend has a portrait orientation. The user can scroll vertically when many elements are included in the legend's content.
|
|
9
9
|
*
|
|
10
|
+
* @see [Legend#style](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style)
|
|
10
11
|
* @since 5.0
|
|
11
12
|
*/
|
|
12
13
|
export default abstract class ClassicView extends Widget {
|
package/widgets/Legend.d.ts
CHANGED
|
@@ -74,8 +74,23 @@ export interface LegendProperties extends WidgetProperties, Partial<Pick<Legend,
|
|
|
74
74
|
viewModel?: LegendViewModelProperties;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Represents the allowed values for the [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style) property,
|
|
79
|
+
* as defined by the `type` property of the [CardView](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-styles-card-CardView.html) and [ClassicView](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-styles-classic-ClassicView.html) classes.
|
|
80
|
+
*
|
|
81
|
+
* @see [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style)
|
|
82
|
+
* @see [CardView#type](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-styles-card-CardView.html#type)
|
|
83
|
+
* @see [ClassicView#type](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-styles-classic-ClassicView.html#type)
|
|
84
|
+
* @since 5.0
|
|
85
|
+
*/
|
|
77
86
|
export type StyleType = CardView["type"] | ClassicView["type"];
|
|
78
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Represents the allowed styles for the [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style) property.
|
|
90
|
+
*
|
|
91
|
+
* @see [style](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#style)
|
|
92
|
+
* @since 5.0
|
|
93
|
+
*/
|
|
79
94
|
export type LegendStyle = CardView | ClassicView;
|
|
80
95
|
|
|
81
96
|
/**
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import r from"../../Color.js";import{property as t,cast as s,subclass as i}from"../../core/accessorSupport/decorators.js";import{authoringInfoFirstVariableSliderMinMax as a}from"../../renderers/support/authoringInfoUtils.js";import o from"../../renderers/visualVariables/support/SizeStop.js";import{getCIMSymbolColor as l}from"../../symbols/support/cimSymbolUtils.js";import n from"./SmartMappingSliderBase.js";import d from"./BinaryColorSizeSlider/BinaryColorSizeSliderViewModel.js";import{getSizesFromVariable as p,getFillFromColor as m,getDynamicPathForSizeStops as u}from"./support/utils.js";import{globalCss as
|
|
5
|
+
import{__decorate as e}from"tslib";import r from"../../Color.js";import{property as t,cast as s,subclass as i}from"../../core/accessorSupport/decorators.js";import{authoringInfoFirstVariableSliderMinMax as a}from"../../renderers/support/authoringInfoUtils.js";import o from"../../renderers/visualVariables/support/SizeStop.js";import{getCIMSymbolColor as l}from"../../symbols/support/cimSymbolUtils.js";import n from"./SmartMappingSliderBase.js";import d from"./BinaryColorSizeSlider/BinaryColorSizeSliderViewModel.js";import{getSizesFromVariable as p,getFillFromColor as m,getDynamicPathForSizeStops as u}from"./support/utils.js";import{globalCss as h}from"../support/globalCss.js";import{messageBundle as c,tsx as v}from"../support/widget.js";import{storeNode as g}from"../support/widgetUtils.js";var y;const b="esri-binary-color-size-slider",f={base:b,rampElement:`${b}__ramp`,sliderContainer:`${b}__slider-container`,histogramContainer:`${b}__histogram-container`,primaryHandle:`${b}--primary-handle`,track:`${b}--interactive-track`},w={trackBackgroundColor:new r([224,224,224]),trackAboveFillColor:new r([149,149,149]),trackBelowFillColor:new r([149,149,149])};let S=y=class extends n{constructor(e,r){super(e,r),this._minRampFillWidth=.2,this._rampNode=null,this.messages=null,this.style={...w},this.viewModel=new d,this._rampFillId=`${this.id}-linear-gradient`}get handlesSyncedToPrimary(){return this.viewModel.handlesSyncedToPrimary}set handlesSyncedToPrimary(e){this.viewModel.handlesSyncedToPrimary=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get persistSizeRangeEnabled(){return this.viewModel.persistSizeRangeEnabled}set persistSizeRangeEnabled(e){this.viewModel.persistSizeRangeEnabled=e}get stops(){return this.viewModel.stops}set stops(e){this.viewModel.stops=e}castStyle(e){return{...w,...e}}static fromRendererResult(e,r){const{size:{visualVariables:t},statistics:s}=e,{avg:i,stddev:o}=s,l=t[0].stops,[n,d]=a(e.renderer.authoringInfo),p=z(e.renderer.classBreakInfos);return new y({max:d,min:n,stops:l??void 0,histogramConfig:{average:i??void 0,standardDeviation:o??void 0,bins:r?r.bins:[]},style:p,handlesSyncedToPrimary:!0,persistSizeRangeEnabled:!0})}updateFromRendererResult(e,r){const{size:{visualVariables:t},statistics:s}=e,{avg:i,stddev:o}=s,l=t[0].stops,[n,d]=a(e.renderer.authoringInfo),p=z(e.renderer.classBreakInfos);this.set({max:d,min:n,stops:l,histogramConfig:{...this.histogramConfig,average:i,standardDeviation:o,bins:r?r.bins:[]},style:p,handlesSyncedToPrimary:!0,persistSizeRangeEnabled:!0})}updateRenderer(e){if("univariate-color-size"!==e.authoringInfo?.type||"above-and-below"!==e.authoringInfo?.univariateTheme)return console.error("Input renderer must be a univariate renderer with an above-and-below theme."),null;const r=e.clone(),t=r.visualVariables?.find(e=>"size"===e.type&&"outline"!==e.target&&e.stops),{stops:s}=this;if(!r.visualVariables||!t||!s)return console.error("No size stops available."),null;const i=r.visualVariables.indexOf(t);r.visualVariables.splice(i,1),t.stops=s,r.visualVariables.push(t);const a=s[5===s.length?2:1].value;return r.classBreakInfos[0].maxValue=a,r.classBreakInfos[1].minValue=a,r}updateFromVisualVariable(e){if(!e)return;const{maxDataValue:r,minDataValue:t,stops:s}=e;if(s)this.stops=s;else{const[s,i]=p(e);this.stops=[new o({value:t??void 0,size:i}),new o({value:r??void 0,size:s})]}}render(){const{label:e,state:r,viewModel:{primaryHandleEnabled:t},visibleElements:s}=this,i="disabled"===r,a=this.classes(f.base,h.widget,h.panel,{[h.disabled]:i,[f.primaryHandle]:t,[f.track]:!!s.interactiveTrack});return v("div",{"aria-label":e,class:a},i?null:this.renderContent(this._renderRamp(),f.sliderContainer,f.histogramContainer))}_renderRamp(){const{style:{trackBackgroundColor:e},zoomOptions:r}=this;return v("div",{afterCreate:g,bind:this,class:f.rampElement,"data-node-ref":"_rampNode"},v("svg",{key:"ramp-svg",xmlns:"http://www.w3.org/2000/svg"},v("rect",{fill:m(e),height:"100%",width:"100%",x:"0",y:"0"}),this._renderPrimaryRamp(),this._renderPath()),r?this.renderZoomCaps():null)}_renderPrimaryRamp(){const{_rampFillId:e,style:{trackAboveFillColor:r,trackBelowFillColor:t},viewModel:s}=this;return[v("defs",null,this.renderRampFillDefinition(e,s.getGradientStopInfo(r,t)))]}_renderPath(){if(!this._rampNode)return;const{offsetHeight:e=0,offsetWidth:r=0}=this._rampNode;if(null==e||null==r)return;const{stops:t,viewModel:{max:s,min:i},_rampFillId:a,_minRampFillWidth:o}=this,l=u({max:s,min:i,pathHeight:e,pathWidth:r,stops:t,padding:o});return v("path",{d:l,fill:`url(#${a})`})}};e([t()],S.prototype,"handlesSyncedToPrimary",null),e([t()],S.prototype,"label",null),e([t(),c("esri/widgets/smartMapping/SizeSlider/t9n/SizeSlider")],S.prototype,"messages",void 0),e([t()],S.prototype,"persistSizeRangeEnabled",null),e([t()],S.prototype,"stops",null),e([t()],S.prototype,"style",void 0),e([s("style")],S.prototype,"castStyle",null),e([t({type:d})],S.prototype,"viewModel",void 0),S=y=e([i("esri.widgets.smartMapping.BinaryColorSizeSlider")],S);const C=S;function z(e){if(e.length<=1)return{};const r=e=>{if("cim"===e.type)return l(e);if(e.symbolLayers){const r=e.symbolLayers?.at(0);return r.material?.color}return e.color};return{trackBelowFillColor:r(e[0].symbol)??void 0,trackAboveFillColor:r(e[1].symbol)??void 0}}export{C as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import t from"../../renderers/support/ClassBreakInfo.js";import i from"./SmartMappingSliderBase.js";import l from"./ClassedColorSlider/ClassedColorSliderViewModel.js";import{globalCss as o}from"../support/globalCss.js";import{messageBundle as a,tsx as n}from"../support/widget.js";var d;const m="esri-classed-color-slider",p={base:m,rampElement:`${m}__ramp`,sliderContainer:`${m}__slider-container`,histogramContainer:`${m}__histogram-container`,track:`${m}--interactive-track`};let c=d=class extends i{constructor(e,r){super(e,r),this.messages=null,this.viewModel=new l,this._bgFillId=`${this.id}-bg-fill`,this._rampFillId=`${this.id}-linear-gradient`}get breaks(){return this.viewModel.breaks}set breaks(e){this.viewModel.breaks=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}static fromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol.color;return{min:e.minValue,max:e.maxValue,color:r}});return new d({breaks:t,histogramConfig:{bins:r?r.bins:[]}})}updateClassBreakInfos(e){const r=this.breaks;if(r.length===e.length)return e.map((e,s)=>{const i=e.symbol;return i.color=r[s].color,new t({minValue:r[s].min,maxValue:r[s].max,symbol:i})});console.error(`Number of input breakInfos must match number of slider breaks: ${r.length}`)}updateFromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol.color;return{min:e.minValue,max:e.maxValue,color:r}});this.set({breaks:t
|
|
5
|
+
import{__decorate as e}from"tslib";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import t from"../../renderers/support/ClassBreakInfo.js";import i from"./SmartMappingSliderBase.js";import l from"./ClassedColorSlider/ClassedColorSliderViewModel.js";import{globalCss as o}from"../support/globalCss.js";import{messageBundle as a,tsx as n}from"../support/widget.js";var d;const m="esri-classed-color-slider",p={base:m,rampElement:`${m}__ramp`,sliderContainer:`${m}__slider-container`,histogramContainer:`${m}__histogram-container`,track:`${m}--interactive-track`};let c=d=class extends i{constructor(e,r){super(e,r),this.messages=null,this.viewModel=new l,this._bgFillId=`${this.id}-bg-fill`,this._rampFillId=`${this.id}-linear-gradient`}get breaks(){return this.viewModel.breaks}set breaks(e){this.viewModel.breaks=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}static fromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol.color;return{min:e.minValue,max:e.maxValue,color:r}});return new d({breaks:t,histogramConfig:{bins:r?r.bins:[]}})}updateClassBreakInfos(e){const r=this.breaks;if(r.length===e.length)return e.map((e,s)=>{const i=e.symbol;return i.color=r[s].color,new t({minValue:r[s].min,maxValue:r[s].max,symbol:i})});console.error(`Number of input breakInfos must match number of slider breaks: ${r.length}`)}updateFromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol.color;return{min:e.minValue,max:e.maxValue,color:r}});this.set({breaks:t,histogramConfig:{...this.histogramConfig,bins:r?.bins??[]}})}render(){const{state:e,label:r,visibleElements:s}=this,t="disabled"===e,i=this.classes(p.base,o.widget,o.panel,{[o.disabled]:t,[p.track]:!!s.interactiveTrack});return n("div",{"aria-label":r,class:i},t?null:this.renderContent(this._renderRamp(),p.sliderContainer,p.histogramContainer))}_renderRamp(){const{_bgFillId:e,_rampFillId:r,viewModel:s}=this,t=s.getStopInfo();return n("div",{class:p.rampElement},n("svg",{xmlns:"http://www.w3.org/2000/svg"},n("defs",null,this.renderRampFillDefinition(r,t),this.renderBackgroundFillDefinition(e)),n("rect",{fill:`url(#${e})`,height:"100%",width:"100%",x:"0",y:"0"}),n("rect",{fill:`url(#${r})`,height:"100%",width:"100%",x:"0",y:"0"})))}};e([r()],c.prototype,"breaks",null),e([r()],c.prototype,"label",null),e([r(),a("esri/widgets/smartMapping/ClassedColorSlider/t9n/ClassedColorSlider")],c.prototype,"messages",void 0),e([r({type:l})],c.prototype,"viewModel",void 0),c=d=e([s("esri.widgets.smartMapping.ClassedColorSlider")],c);const u=c;export{u as default};
|
|
@@ -2,7 +2,7 @@ import type Color from "../../Color.js";
|
|
|
2
2
|
import type ClassBreakInfo from "../../renderers/support/ClassBreakInfo.js";
|
|
3
3
|
import type SmartMappingSliderBase from "./SmartMappingSliderBase.js";
|
|
4
4
|
import type ClassedSizeSliderViewModel from "./ClassedSizeSlider/ClassedSizeSliderViewModel.js";
|
|
5
|
-
import type { ClassBreaksRendererResult } from "../../smartMapping/renderers/
|
|
5
|
+
import type { ClassBreaksRendererResult } from "../../smartMapping/renderers/size.js";
|
|
6
6
|
import type { HistogramResult } from "../../smartMapping/statistics/types.js";
|
|
7
7
|
import type { SmartMappingSliderBaseProperties } from "./SmartMappingSliderBase.js";
|
|
8
8
|
import type { SizeBreak } from "./types.js";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import r from"../../Color.js";import{property as s,cast as t,subclass as i}from"../../core/accessorSupport/decorators.js";import a from"../../renderers/support/ClassBreakInfo.js";import l from"./SmartMappingSliderBase.js";import o from"./ClassedSizeSlider/ClassedSizeSliderViewModel.js";import{getFillFromColor as n}from"./support/utils.js";import{globalCss as m}from"../support/globalCss.js";import{messageBundle as p,tsx as d}from"../support/widget.js";import{storeNode as c}from"../support/widgetUtils.js";var h;const u="esri-classed-size-slider",b={base:u,rampElement:`${u}__ramp`,sliderContainer:`${u}__slider-container`,histogramContainer:`${u}__histogram-container`,track:`${u}--interactive-track`},g={trackFillColor:new r([149,149,149]),trackBackgroundColor:new r([224,224,224])};let k=h=class extends l{constructor(e,r){super(e,r),this._rampNode=null,this.messages=null,this.style={...g},this.viewModel=new o}get breaks(){return this.viewModel.breaks}set breaks(e){this.viewModel.breaks=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}castStyle(e){return{...g,...e}}static fromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol;let s;switch(r.type){case"simple-line":s=r.width;break;case"simple-marker":s=r.size;break;case"picture-marker":s=r.height}return{min:e.minValue,max:e.maxValue,size:s}});return new h({breaks:t,histogramConfig:{bins:r?r.bins:[]}})}updateClassBreakInfos(e){const r=this.breaks;if(r.length===e.length)return e.map((e,s)=>{const t=e.symbol;switch(t.type){case"simple-line":t.width=r[s].size;break;case"simple-marker":t.size=r[s].size;break;case"picture-marker":{const e=r[s].size,i=t.width,a=t.height;t.height=e,t.width=e/a*i;break}}return new a({minValue:r[s].min,maxValue:r[s].max,symbol:t})});console.error(`Number of input breakInfos must match number of slider breaks: ${r.length}`)}updateFromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol;let s;switch(r.type){case"simple-line":s=r.width;break;case"simple-marker":s=r.size;break;case"picture-marker":s=r.height}return{min:e.minValue,max:e.maxValue,size:s}});this.set({breaks:t
|
|
5
|
+
import{__decorate as e}from"tslib";import r from"../../Color.js";import{property as s,cast as t,subclass as i}from"../../core/accessorSupport/decorators.js";import a from"../../renderers/support/ClassBreakInfo.js";import l from"./SmartMappingSliderBase.js";import o from"./ClassedSizeSlider/ClassedSizeSliderViewModel.js";import{getFillFromColor as n}from"./support/utils.js";import{globalCss as m}from"../support/globalCss.js";import{messageBundle as p,tsx as d}from"../support/widget.js";import{storeNode as c}from"../support/widgetUtils.js";var h;const u="esri-classed-size-slider",b={base:u,rampElement:`${u}__ramp`,sliderContainer:`${u}__slider-container`,histogramContainer:`${u}__histogram-container`,track:`${u}--interactive-track`},g={trackFillColor:new r([149,149,149]),trackBackgroundColor:new r([224,224,224])};let k=h=class extends l{constructor(e,r){super(e,r),this._rampNode=null,this.messages=null,this.style={...g},this.viewModel=new o}get breaks(){return this.viewModel.breaks}set breaks(e){this.viewModel.breaks=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}castStyle(e){return{...g,...e}}static fromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol;let s;switch(r.type){case"simple-line":s=r.width;break;case"simple-marker":s=r.size;break;case"picture-marker":s=r.height}return{min:e.minValue,max:e.maxValue,size:s}});return new h({breaks:t,histogramConfig:{bins:r?r.bins:[]}})}updateClassBreakInfos(e){const r=this.breaks;if(r.length===e.length)return e.map((e,s)=>{const t=e.symbol;switch(t.type){case"simple-line":t.width=r[s].size;break;case"simple-marker":t.size=r[s].size;break;case"picture-marker":{const e=r[s].size,i=t.width,a=t.height;t.height=e,t.width=e/a*i;break}}return new a({minValue:r[s].min,maxValue:r[s].max,symbol:t})});console.error(`Number of input breakInfos must match number of slider breaks: ${r.length}`)}updateFromRendererResult(e,r){const{renderer:{classBreakInfos:s}}=e,t=s.map(e=>{const r=e.symbol;let s;switch(r.type){case"simple-line":s=r.width;break;case"simple-marker":s=r.size;break;case"picture-marker":s=r.height}return{min:e.minValue,max:e.maxValue,size:s}});this.set({breaks:t,histogramConfig:{...this.histogramConfig,bins:r?.bins??[]}})}render(){const{state:e,label:r,visibleElements:s}=this,t="disabled"===e,i=this.classes(b.base,m.widget,m.panel,{[m.disabled]:t,[b.track]:!!s.interactiveTrack});return d("div",{"aria-label":r,class:i},t?null:this.renderContent(this._renderRamp(),b.sliderContainer,b.histogramContainer))}_renderRamp(){const{style:{trackBackgroundColor:e}}=this;return d("div",{afterCreate:c,bind:this,class:b.rampElement,"data-node-ref":"_rampNode"},d("svg",{xmlns:"http://www.w3.org/2000/svg"},d("rect",{fill:n(e),height:"100%",width:"100%",x:"0",y:"0"}),this._renderPath()))}_renderPath(){if(!this._rampNode)return;const{offsetHeight:e=0,offsetWidth:r=0}=this._rampNode;if(null==e||null==r)return;const{breaks:s,viewModel:{max:t,min:i},style:{trackFillColor:a}}=this,l=t-i,o=r/s.length,m=s.map(r=>e-Math.round((r.min-i)/l*e)+1).reverse(),p=s[0].size>s[s.length-1].size||!1;let c=p?o:r,h=`M${c} 0 `;return m.forEach((e,s)=>{const t=o*(s+1);h+=`L${c} ${e} `,c=p?o+t:r-t,h+=`L${c} ${e} `}),h+=`L0 ${e} L0 ${e} L0 0 Z`,d("path",{d:h,fill:n(a)})}};e([s()],k.prototype,"breaks",null),e([s()],k.prototype,"label",null),e([s(),p("esri/widgets/smartMapping/ClassedSizeSlider/t9n/ClassedSizeSlider")],k.prototype,"messages",void 0),e([s()],k.prototype,"style",void 0),e([t("style")],k.prototype,"castStyle",null),e([s({type:o})],k.prototype,"viewModel",void 0),k=h=e([i("esri.widgets.smartMapping.ClassedSizeSlider")],k);const f=k;export{f as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import i from"../../core/Error.js";import{property as r,subclass as t}from"../../core/accessorSupport/decorators.js";import{authoringInfoFirstVariableSliderMinMax as s}from"../../renderers/support/authoringInfoUtils.js";import l from"../../renderers/visualVariables/support/ColorSizeStop.js";import a from"../../renderers/visualVariables/support/ColorStop.js";import o from"../../renderers/visualVariables/support/SizeStop.js";import n from"./SmartMappingSliderBase.js";import d from"./ColorSizeSlider/ColorSizeSliderViewModel.js";import{getDynamicPathForSizeStops as p,getPathForSizeStops as m}from"./support/utils.js";import{globalCss as u}from"../support/globalCss.js";import{messageBundle as h,tsx as c}from"../support/widget.js";import{storeNode as v}from"../support/widgetUtils.js";var
|
|
5
|
+
import{__decorate as e}from"tslib";import i from"../../core/Error.js";import{property as r,subclass as t}from"../../core/accessorSupport/decorators.js";import{authoringInfoFirstVariableSliderMinMax as s}from"../../renderers/support/authoringInfoUtils.js";import l from"../../renderers/visualVariables/support/ColorSizeStop.js";import a from"../../renderers/visualVariables/support/ColorStop.js";import o from"../../renderers/visualVariables/support/SizeStop.js";import n from"./SmartMappingSliderBase.js";import d from"./ColorSizeSlider/ColorSizeSliderViewModel.js";import{getDynamicPathForSizeStops as p,getPathForSizeStops as m}from"./support/utils.js";import{globalCss as u}from"../support/globalCss.js";import{messageBundle as h,tsx as c}from"../support/widget.js";import{storeNode as v}from"../support/widgetUtils.js";var g;const b="esri-color-size-slider",f={base:b,rampElement:`${b}__ramp`,sliderContainer:`${b}__slider-container`,histogramContainer:`${b}__histogram-container`,primaryHandle:`${b}--primary-handle`,track:`${b}--interactive-track`};let S=g=class extends n{constructor(e,i){super(e,i),this._backgroundFillColor="#e0e0e0",this._minRampFillWidth=.2,this._rampNode=null,this._maxRampFillWidth=1,this.messages=null,this.viewModel=new d,this._bgFillId=`${this.id}-bg-fill`,this._rampFillId=`${this.id}-linear-gradient`}get handlesSyncedToPrimary(){return this.viewModel.handlesSyncedToPrimary}set handlesSyncedToPrimary(e){this.viewModel.handlesSyncedToPrimary=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get persistSizeRangeEnabled(){return this.viewModel.persistSizeRangeEnabled}set persistSizeRangeEnabled(e){this.viewModel.persistSizeRangeEnabled=e}get primaryHandleEnabled(){return this.viewModel.primaryHandleEnabled}set primaryHandleEnabled(e){this.viewModel.primaryHandleEnabled=e}get stops(){return this.viewModel.stops}set stops(e){this.viewModel.stops=e}static fromRendererResult(e,r){const t=e.size.visualVariables,a=e.renderer.authoringInfo?.univariateTheme,o=e.color?.visualVariable.stops,{statistics:n}=e,{avg:d,stddev:p}=n;if(!o)throw new i("ColorSizeSlider-fromRendererResult:invalid-renderer-result","'result' must include 'color' variable.");const m="above-and-below"===a,[u,h]=s(e.renderer.authoringInfo),c=t.find(e=>"outline"!==e?.target&&!(e?.axis&&!e?.field&&!e?.valueExpression)&&(e?.field||e?.valueExpression)),v=c.stops,b=o.map((e,i)=>{const{color:r,label:t,value:s}=e;let a;return a=v&&v.length>0?v[i].size:0===i?c.minSize:i===o.length-1?c.maxSize:null,new l({color:r,label:t,value:s,size:a})});return new g({max:h,min:u,stops:b,primaryHandleEnabled:m,handlesSyncedToPrimary:m,persistSizeRangeEnabled:m,histogramConfig:{average:d??void 0,standardDeviation:p??void 0,bins:r?r.bins:[]}})}updateFromRendererResult(e,r){const t=e.size.visualVariables,a=e.renderer.authoringInfo?.univariateTheme,o=e.color?.visualVariable.stops,{statistics:n}=e,{avg:d,stddev:p}=n;if(!o)throw new i("ColorSizeSlider-fromRendererResult:invalid-renderer-result","'result' must include 'color' variable.");const m="above-and-below"===a,[u,h]=s(e.renderer.authoringInfo),c=t.find(e=>"outline"!==e?.target&&!(e?.axis&&!e?.field&&!e?.valueExpression)&&(e?.field||e?.valueExpression)),v=c.stops,g=o.map((e,i)=>{const{color:r,label:t,value:s}=e;let a;return a=v&&v.length>0?v[i].size:0===i?c.minSize:i===o.length-1?c.maxSize:null,new l({color:r,label:t,value:s,size:a})});this.set({max:h,min:u,stops:g,primaryHandleEnabled:m,handlesSyncedToPrimary:m,persistSizeRangeEnabled:m,histogramConfig:{...this.histogramConfig,average:d,standardDeviation:p,bins:r?r.bins:[]}})}updateRenderer(e){const{stops:i}=this,r=i[0],t=i[i.length-1],s=i[Math.floor(i.length/2)],l=e.clone(),n=l.visualVariables?.map(e=>{if("size"===e.type){if("outline"===e?.target||e?.axis&&!e?.field&&!e?.valueExpression)return e;null!=e.minSize&&null!=e.maxSize?e.set({maxDataValue:t.value,minDataValue:r.value,maxSize:t.size,minSize:r.size}):e.stops&&e.set({stops:i.map(e=>{const{label:i,size:r,value:t}=e;return new o({label:i,size:r,value:t})})})}else"color"===e.type&&e.set({stops:this.stops.map(e=>{const{color:i,label:r,value:t}=e;return new a({color:i,label:r,value:t})})});return e})??null;if(l.visualVariables=n,l.classBreakInfos.length>1){const e=s.value;l.classBreakInfos[0].maxValue=e,l.classBreakInfos[1].minValue=e}return l}updateVisualVariables(e){return e.map(e=>{const i=e.clone();if("size"===e.type){if("outline"===e?.target||e?.axis&&!e?.field&&!e?.valueExpression)return i;if(null!=e.minSize&&null!=e.maxSize){const{stops:e}=this,r=e[0],t=e[e.length-1];i.set({maxDataValue:t.value,minDataValue:r.value,maxSize:t.size,minSize:r.size})}else e.stops&&i.set({stops:this.stops.map(e=>{const{label:i,size:r,value:t}=e;return new o({label:i,size:r,value:t})})})}else"color"===e.type&&i.set({stops:this.stops.map(e=>{const{color:i,label:r,value:t}=e;return new a({color:i,label:r,value:t})})});return i})}render(){const{label:e,primaryHandleEnabled:i,state:r,visibleElements:t}=this,s="disabled"===r,l=this.classes(f.base,u.widget,u.panel,{[u.disabled]:s,[f.primaryHandle]:i,[f.track]:!!t.interactiveTrack});return c("div",{"aria-label":e,class:l},s?null:this.renderContent(this._renderRamp(),f.sliderContainer,f.histogramContainer))}_renderRamp(){const{_bgFillId:e,_rampFillId:i,viewModel:r,zoomOptions:t}=this,s=r.getStopInfo();return c("div",{afterCreate:v,bind:this,class:f.rampElement,"data-node-ref":"_rampNode"},c("svg",{xmlns:"http://www.w3.org/2000/svg"},c("defs",null,this.renderRampFillDefinition(i,s),this.renderBackgroundFillDefinition(e)),c("rect",{fill:this._backgroundFillColor,height:"100%",width:"100%",x:"0",y:"0"}),this._renderPaths()),t?this.renderZoomCaps():null)}_renderPaths(){if(!this._rampNode)return;const{offsetHeight:e=0,offsetWidth:i=0}=this._rampNode;if(null==e||null==i)return;const{primaryHandleEnabled:r,stops:t,values:s,viewModel:{max:l,min:a},_bgFillId:o,_maxRampFillWidth:n,_minRampFillWidth:d,_rampFillId:u}=this,h=[n,d];t[0].size<t[t.length-1].size&&h.reverse();const v=s.slice().sort((e,i)=>e>i?1:-1),[g,b]=h,[f,S]=v,z=r?p({max:l,min:a,pathHeight:e,pathWidth:i,stops:t,padding:d}):m({bottomValue:f,bottomWidth:g,max:l,min:a,pathHeight:e,pathWidth:i,topValue:S,topWidth:b});return[c("path",{d:z,fill:`url(#${o})`,key:"background"}),c("path",{d:z,fill:`url(#${u})`,key:"fill"})]}};e([r()],S.prototype,"label",null),e([r(),h("esri/widgets/smartMapping/ColorSizeSlider/t9n/ColorSizeSlider")],S.prototype,"messages",void 0),e([r()],S.prototype,"persistSizeRangeEnabled",null),e([r()],S.prototype,"primaryHandleEnabled",null),e([r()],S.prototype,"stops",null),e([r({type:d})],S.prototype,"viewModel",void 0),S=g=e([t("esri.widgets.smartMapping.ColorSizeSlider")],S);const z=S;export{z as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import{property as r,subclass as i}from"../../core/accessorSupport/decorators.js";import{authoringInfoVariableSliderMinMax as t}from"../../renderers/support/authoringInfoUtils.js";import s from"./SmartMappingSliderBase.js";import a from"./ColorSlider/ColorSliderViewModel.js";import{globalCss as l}from"../support/globalCss.js";import{messageBundle as o,tsx as n}from"../support/widget.js";var d;const p="esri-color-slider",m={base:p,rampElement:`${p}__ramp`,sliderContainer:`${p}__slider-container`,histogramContainer:`${p}__histogram-container`,primaryHandle:`${p}--primary-handle`,track:`${p}--interactive-track`};let h=d=class extends s{constructor(e,r){super(e,r),this.messages=null,this.viewModel=new a,this._bgFillId=`${this.id}-bg-fill`,this._rampFillId=`${this.id}-linear-gradient`}get handlesSyncedToPrimary(){return this.viewModel.handlesSyncedToPrimary}set handlesSyncedToPrimary(e){this.viewModel.handlesSyncedToPrimary=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get primaryHandleEnabled(){return this.viewModel.primaryHandleEnabled}set primaryHandleEnabled(e){this.viewModel.primaryHandleEnabled=e}get stops(){return this.viewModel.stops}set stops(e){this.viewModel.stops=e}static fromRendererResult(e,r){const{visualVariable:{stops:i},statistics:s}=e,{avg:a,stddev:l}=s,o=e.renderer.authoringInfo?.visualVariables.find(e=>"color"===e.type),[n,p]=t(o);return new d({max:p,min:n,stops:i,histogramConfig:{average:a??void 0,standardDeviation:l??void 0,bins:r?r.bins:[]},primaryHandleEnabled:"high-to-low"!==o?.theme})}updateFromRendererResult(e,r){const{visualVariable:{stops:i},statistics:s}=e,{avg:a,stddev:l}=s,o=e.renderer.authoringInfo?.visualVariables.find(e=>"color"===e.type),[n,d]=t(o);this.set({max:d,min:n,stops:i,histogramConfig:{average:a,standardDeviation:l,bins:r?r.bins:[]},primaryHandleEnabled:"high-to-low"!==o?.theme})}render(){const{label:e,primaryHandleEnabled:r,state:i,visibleElements:t}=this,s="disabled"===i,a=this.classes(m.base,l.widget,l.panel,{[l.disabled]:s,[m.primaryHandle]:r,[m.track]:!!t.interactiveTrack});return n("div",{"aria-label":e,class:a},s?null:this.renderContent(this._renderRamp(),m.sliderContainer,m.histogramContainer))}_renderRamp(){const{_bgFillId:e,_rampFillId:r,viewModel:i,zoomOptions:t}=this,s=i.getStopInfo();return n("div",{class:m.rampElement},n("svg",{xmlns:"http://www.w3.org/2000/svg"},n("defs",null,this.renderRampFillDefinition(r,s),this.renderBackgroundFillDefinition(e)),n("rect",{fill:`url(#${e})`,height:"100%",width:"100%",x:"0",y:"0"}),n("rect",{fill:`url(#${r})`,height:"100%",width:"100%",x:"0",y:"0"})),t?this.renderZoomCaps():null)}};e([r()],h.prototype,"handlesSyncedToPrimary",null),e([r()],h.prototype,"label",null),e([r(),o("esri/widgets/smartMapping/ColorSlider/t9n/ColorSlider")],h.prototype,"messages",void 0),e([r()],h.prototype,"primaryHandleEnabled",null),e([r()],h.prototype,"stops",null),e([r({type:a})],h.prototype,"viewModel",void 0),h=d=e([i("esri.widgets.smartMapping.ColorSlider")],h);const g=h;export{g as default};
|
|
5
|
+
import{__decorate as e}from"tslib";import{property as r,subclass as i}from"../../core/accessorSupport/decorators.js";import{authoringInfoVariableSliderMinMax as t}from"../../renderers/support/authoringInfoUtils.js";import s from"./SmartMappingSliderBase.js";import a from"./ColorSlider/ColorSliderViewModel.js";import{globalCss as l}from"../support/globalCss.js";import{messageBundle as o,tsx as n}from"../support/widget.js";var d;const p="esri-color-slider",m={base:p,rampElement:`${p}__ramp`,sliderContainer:`${p}__slider-container`,histogramContainer:`${p}__histogram-container`,primaryHandle:`${p}--primary-handle`,track:`${p}--interactive-track`};let h=d=class extends s{constructor(e,r){super(e,r),this.messages=null,this.viewModel=new a,this._bgFillId=`${this.id}-bg-fill`,this._rampFillId=`${this.id}-linear-gradient`}get handlesSyncedToPrimary(){return this.viewModel.handlesSyncedToPrimary}set handlesSyncedToPrimary(e){this.viewModel.handlesSyncedToPrimary=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get primaryHandleEnabled(){return this.viewModel.primaryHandleEnabled}set primaryHandleEnabled(e){this.viewModel.primaryHandleEnabled=e}get stops(){return this.viewModel.stops}set stops(e){this.viewModel.stops=e}static fromRendererResult(e,r){const{visualVariable:{stops:i},statistics:s}=e,{avg:a,stddev:l}=s,o=e.renderer.authoringInfo?.visualVariables.find(e=>"color"===e.type),[n,p]=t(o);return new d({max:p,min:n,stops:i,histogramConfig:{average:a??void 0,standardDeviation:l??void 0,bins:r?r.bins:[]},primaryHandleEnabled:"high-to-low"!==o?.theme})}updateFromRendererResult(e,r){const{visualVariable:{stops:i},statistics:s}=e,{avg:a,stddev:l}=s,o=e.renderer.authoringInfo?.visualVariables.find(e=>"color"===e.type),[n,d]=t(o);this.set({max:d,min:n,stops:i,histogramConfig:{...this.histogramConfig,average:a,standardDeviation:l,bins:r?r.bins:[]},primaryHandleEnabled:"high-to-low"!==o?.theme})}render(){const{label:e,primaryHandleEnabled:r,state:i,visibleElements:t}=this,s="disabled"===i,a=this.classes(m.base,l.widget,l.panel,{[l.disabled]:s,[m.primaryHandle]:r,[m.track]:!!t.interactiveTrack});return n("div",{"aria-label":e,class:a},s?null:this.renderContent(this._renderRamp(),m.sliderContainer,m.histogramContainer))}_renderRamp(){const{_bgFillId:e,_rampFillId:r,viewModel:i,zoomOptions:t}=this,s=i.getStopInfo();return n("div",{class:m.rampElement},n("svg",{xmlns:"http://www.w3.org/2000/svg"},n("defs",null,this.renderRampFillDefinition(r,s),this.renderBackgroundFillDefinition(e)),n("rect",{fill:`url(#${e})`,height:"100%",width:"100%",x:"0",y:"0"}),n("rect",{fill:`url(#${r})`,height:"100%",width:"100%",x:"0",y:"0"})),t?this.renderZoomCaps():null)}};e([r()],h.prototype,"handlesSyncedToPrimary",null),e([r()],h.prototype,"label",null),e([r(),o("esri/widgets/smartMapping/ColorSlider/t9n/ColorSlider")],h.prototype,"messages",void 0),e([r()],h.prototype,"primaryHandleEnabled",null),e([r()],h.prototype,"stops",null),e([r({type:a})],h.prototype,"viewModel",void 0),h=d=e([i("esri.widgets.smartMapping.ColorSlider")],h);const g=h;export{g as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import
|
|
5
|
+
import{__decorate as t}from"tslib";import i from"../../Color.js";import{property as e,cast as s,subclass as r}from"../../core/accessorSupport/decorators.js";import a from"./SmartMappingSliderBase.js";import l from"./OpacitySlider/OpacitySliderViewModel.js";import{globalCss as o}from"../support/globalCss.js";import{messageBundle as n,tsx as d}from"../support/widget.js";var p;const m="esri-opacity-slider",c={base:m,rampElement:`${m}__ramp`,sliderContainer:`${m}__slider-container`,histogramContainer:`${m}__histogram-container`,track:`${m}--interactive-track`},g={trackFillColor:new i([0,121,193])};let h=p=class extends a{constructor(t,i){super(t,i),this.messages=null,this.style={...g},this.viewModel=new l,this._rampFillId=`${this.id}-ramp-fill`,this._bgFillId=`${this.id}-bg-fill`}get label(){return this.messages?.widgetLabel??""}set label(t){this._overrideIfSome("label",t)}get stops(){return this.viewModel.stops}set stops(t){this.viewModel.stops=t}castStyle(t){return{...g,...t}}static fromVisualVariableResult(t,i){const{visualVariable:{stops:e},statistics:s}=t,{avg:r,max:a,min:l,stddev:o}=s;return new p({max:a??void 0,min:l??void 0,stops:e,histogramConfig:{average:r??void 0,standardDeviation:o??void 0,bins:i?i.bins:[]}})}updateFromVisualVariableResult(t,i){const{visualVariable:{stops:e},statistics:s}=t,{avg:r,max:a,min:l,stddev:o}=s;this.set({max:a,min:l,stops:e,histogramConfig:{...this.histogramConfig,average:r,standardDeviation:o,bins:i?i.bins:[]}})}render(){const{state:t,label:i,visibleElements:e}=this,s="disabled"===t,r=this.classes(c.base,o.widget,o.panel,{[o.disabled]:s,[c.track]:!!e.interactiveTrack});return d("div",{"aria-label":i,class:r},s?null:this.renderContent(this._renderRamp(),c.sliderContainer,c.histogramContainer))}_renderRamp(){const{_bgFillId:t,_rampFillId:i,style:{trackFillColor:e},viewModel:s,zoomOptions:r}=this,a=s.getStopInfo(e);return d("div",{class:c.rampElement},d("svg",{xmlns:"http://www.w3.org/2000/svg"},d("defs",null,this.renderRampFillDefinition(i,a),this.renderBackgroundFillDefinition(t)),d("rect",{fill:`url(#${t})`,height:"100%",width:"100%",x:"0",y:"0"}),d("rect",{fill:`url(#${i})`,height:"100%",width:"100%",x:"0",y:"0"})),r?this.renderZoomCaps():null)}};t([e()],h.prototype,"label",null),t([e(),n("esri/widgets/smartMapping/OpacitySlider/t9n/OpacitySlider")],h.prototype,"messages",void 0),t([e()],h.prototype,"stops",null),t([e()],h.prototype,"style",void 0),t([s("style")],h.prototype,"castStyle",null),t([e({type:l})],h.prototype,"viewModel",void 0),h=p=t([r("esri.widgets.smartMapping.OpacitySlider")],h);const v=h;export{v as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import t from"../../Color.js";import{property as s,cast as i,subclass as r}from"../../core/accessorSupport/decorators.js";import{authoringInfoFirstVariableSliderMinMax as a}from"../../renderers/support/authoringInfoUtils.js";import o from"../../renderers/visualVariables/SizeVariable.js";import l from"../../renderers/visualVariables/support/SizeStop.js";import n from"./SmartMappingSliderBase.js";import d from"./SizeSlider/SizeSliderViewModel.js";import{getSizesFromVariable as p,getFillFromColor as m,getDynamicPathForSizeStops as u,getPathForSizeStops as h}from"./support/utils.js";import{globalCss as c}from"../support/globalCss.js";import{messageBundle as v,tsx as g}from"../support/widget.js";import{storeNode as b}from"../support/widgetUtils.js";var
|
|
5
|
+
import{__decorate as e}from"tslib";import t from"../../Color.js";import{property as s,cast as i,subclass as r}from"../../core/accessorSupport/decorators.js";import{authoringInfoFirstVariableSliderMinMax as a}from"../../renderers/support/authoringInfoUtils.js";import o from"../../renderers/visualVariables/SizeVariable.js";import l from"../../renderers/visualVariables/support/SizeStop.js";import n from"./SmartMappingSliderBase.js";import d from"./SizeSlider/SizeSliderViewModel.js";import{getSizesFromVariable as p,getFillFromColor as m,getDynamicPathForSizeStops as u,getPathForSizeStops as h}from"./support/utils.js";import{globalCss as c}from"../support/globalCss.js";import{messageBundle as v,tsx as g}from"../support/widget.js";import{storeNode as b}from"../support/widgetUtils.js";var f;const y="esri-size-slider",z={base:y,rampElement:`${y}__ramp`,sliderContainer:`${y}__slider-container`,histogramContainer:`${y}__histogram-container`,primaryHandle:`${y}--primary-handle`,track:`${y}--interactive-track`},w={trackFillColor:new t([149,149,149]),trackBackgroundColor:new t([224,224,224])};let S=f=class extends n{constructor(e,t){super(e,t),this._maxRampFillWidth=1,this._minRampFillWidth=.2,this._rampNode=null,this.messages=null,this.style={...w},this.viewModel=new d,this.viewModel=new d}get handlesSyncedToPrimary(){return this.viewModel.handlesSyncedToPrimary}set handlesSyncedToPrimary(e){this.viewModel.handlesSyncedToPrimary=e}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get persistSizeRangeEnabled(){return this.viewModel.persistSizeRangeEnabled}set persistSizeRangeEnabled(e){this.viewModel.persistSizeRangeEnabled=e}get primaryHandleEnabled(){return this.viewModel.primaryHandleEnabled}set primaryHandleEnabled(e){this.viewModel.primaryHandleEnabled=e}get stops(){return this.viewModel.stops}set stops(e){this.viewModel.stops=e}castStyle(e){return{...w,...e}}static fromRendererResult(e,t){const{visualVariables:s,statistics:i}=e,{avg:r,stddev:o}=i,n=s[0],[d,m]=p(n),[u,h]=a(e.renderer.authoringInfo);return new f({max:h,min:u,stops:[new l({value:n.minDataValue??void 0,size:m}),new l({value:n.maxDataValue??void 0,size:d})],histogramConfig:{average:r??void 0,standardDeviation:o??void 0,bins:t?t.bins:[]}})}updateFromRendererResult(e,t){const{visualVariables:s,statistics:i}=e,{avg:r,stddev:o}=i,l=s[0],[n,d]=p(l),[m,u]=a(e.renderer.authoringInfo);this.set({max:u,min:m,stops:[{value:l.minDataValue,size:d},{value:l.maxDataValue,size:n}],histogramConfig:{...this.histogramConfig,average:r,standardDeviation:o,bins:t?t.bins:[]}})}updateVisualVariable(e){const t=e.clone(),{stops:s}=this;if(!e||!s)return null;if(t.stops)return t.stops=s,t;const i=s[0],r=s[s.length-1];let a=t.maxSize,l=t.minSize;if(a instanceof o){const e=a.stops,t=r.size/e[0].size,s=e.map(e=>(e.size*=t,e));a.stops=s}else a=r.size;if(l instanceof o){const e=l.stops,t=i.size/e[0].size,s=e.map(e=>(e.size*=t,e));l.stops=s}else l=i.size;return t.set({maxDataValue:r.value,minDataValue:i.value,maxSize:a,minSize:l}),t}updateFromVisualVariable(e){if(!e)return;const{maxDataValue:t,minDataValue:s,stops:i}=e;if(i)this.stops=i;else{const[i,r]=p(e);this.stops=[new l({value:s??void 0,size:r}),new l({value:t??void 0,size:i})]}}render(){const{label:e,primaryHandleEnabled:t,state:s,visibleElements:i}=this,r="disabled"===s,a=this.classes(z.base,c.widget,c.panel,{[c.disabled]:r,[z.primaryHandle]:t,[z.track]:!!i.interactiveTrack});return g("div",{"aria-label":e,class:a},r?null:this.renderContent(this._renderRamp(),z.sliderContainer,z.histogramContainer))}_renderRamp(){const{style:{trackBackgroundColor:e},zoomOptions:t}=this;return g("div",{afterCreate:b,bind:this,class:z.rampElement,"data-node-ref":"_rampNode"},g("svg",{key:"ramp-svg",xmlns:"http://www.w3.org/2000/svg"},g("rect",{fill:m(e),height:"100%",width:"100%",x:"0",y:"0"}),this._renderPath()),t?this.renderZoomCaps():null)}_renderPath(){if(!this._rampNode)return;const{offsetHeight:e=0,offsetWidth:t=0}=this._rampNode;if(null==e||null==t)return;const{primaryHandleEnabled:s,stops:i,style:{trackFillColor:r},values:a,viewModel:{max:o,min:l},_maxRampFillWidth:n,_minRampFillWidth:d}=this,p=[n,d];i[0].size<i[i.length-1].size&&p.reverse();const c=a.slice().sort((e,t)=>e>t?1:-1),[v,b]=p,[f,y]=c,z=s?u({max:o,min:l,pathHeight:e,pathWidth:t,stops:i,padding:b}):h({bottomValue:f,bottomWidth:v,max:o,min:l,pathHeight:e,pathWidth:t,topValue:y,topWidth:b});return g("path",{d:z,fill:m(r)})}};e([s()],S.prototype,"handlesSyncedToPrimary",null),e([s()],S.prototype,"label",null),e([s(),v("esri/widgets/smartMapping/SizeSlider/t9n/SizeSlider")],S.prototype,"messages",void 0),e([s()],S.prototype,"persistSizeRangeEnabled",null),e([s()],S.prototype,"primaryHandleEnabled",null),e([s()],S.prototype,"stops",null),e([s()],S.prototype,"style",void 0),e([i("style")],S.prototype,"castStyle",null),e([s({type:d})],S.prototype,"viewModel",void 0),S=f=e([r("esri.widgets.smartMapping.SizeSlider")],S);const V=S;export{V as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5902],{63907:(e,t,n)=>{n.d(t,{$0:()=>T,CQ:()=>G,Fq:()=>c,H0:()=>l,SB:()=>R,WR:()=>r,XN:()=>_,iE:()=>s,ld:()=>i,nI:()=>o,pe:()=>a,r6:()=>S,vt:()=>E,yI:()=>u});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},a={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},l={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},_=Object.values(l),s={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},R={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},i={FLOAT:a.FLOAT,UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:a.BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,SHORT:a.SHORT,UNSIGNED_INT:a.UNSIGNED_INT,INT:a.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},E={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},T=0,S=36064,u=36065,c=36066,o=33306,G={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},95902:(e,t,n)=>{n.r(t),n.d(t,{TextureCompressionWorkerOutput:()=>T,compress:()=>u,compressRGBADataToKTX2:()=>G,createTextureDataKTX2:()=>I,destroy:()=>S,initializeBasisEncoder:()=>c,initializeDXTEncoder:()=>o});var r=n(2741);let a,l;var _=n(63907);let s,R,i=null,E=null;class T{constructor(e,t){this.internalFormat=e,this.compressedTexture=t}}function S(){i=null,s=null,E=null,R=null,a=null,l=null}async function u(e){let t;t=e.data instanceof ImageBitmap?function(e){const t=new OffscreenCanvas(e.width,e.height),n=t.getContext("2d");return n.drawImage(e,0,0),n.getImageData(0,0,t.width,t.height).data}(e.data):function(e,t,n,r,a){const l=new Uint8ClampedArray(e).subarray(0,t*n*r);if(!a)return l;const _=new Uint8ClampedArray(l.length),s=t*r;for(let e=0;e<n;e++){const t=e*s,r=(n-e-1)*s;_.set(l.subarray(t,t+s),r)}return _}(e.data,e.width,e.height,e.components,e.needsFlip);try{if(e.hasS3TC){E||await o();const n=new Uint8Array(t.length);if(E?.encode(t,e.width,e.height,e.preMultiplyAlpha,n)){const e=function(e){const t=new Int32Array(e.buffer,e.byteOffset,C);let n,r;switch(t[d]){case U:n=8,r=_.CQ.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case p:n=16,r=_.CQ.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case w:n=16,r=_.CQ.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}let a=1,l=t[D],s=t[B];(3&l||3&s)&&(l=l+3&-4,s=s+3&-4);const R=l,i=s;let E,T;t[N]&f&&(a=Math.max(1,t[O]));let S=e.byteOffset+t[A]+4;const u=[];for(let t=0;t<a;++t)T=(l+3>>2)*(s+3>>2)*n,E=new Uint8Array(e.buffer,S,T),u.push(E),S+=T,l=Math.max(1,l>>1),s=Math.max(1,s>>1);return{textureData:{type:"compressed",levels:u},internalFormat:r,width:R,height:i}}(n),t=[n.buffer];return{result:new T(e?.internalFormat??null,e?.textureData??null),transferList:t}}return{result:new T(null,null)}}if(e.hasETC){if(i||await c(),e.preMultiplyAlpha&&!E&&await o(),e.preMultiplyAlpha){const n=new Uint8ClampedArray(t.length);E?.premultiply(new Uint8Array(t),e.width,e.height,n),t=n}const n=G(t,e.width,e.height,e.hasMipmap),r=n?I(n):null,a=r?.compressedTexture?.levels.map(e=>e.buffer)||[];return{result:new T(r?.internalFormat??null,r?.compressedTexture??null),transferList:a}}return{result:new T(null,null)}}finally{t instanceof ImageBitmap&&t.close()}}async function c(){i||(i=await(s??=(a??=(async()=>{const e=await n.e(2372).then(n.bind(n,62372)),t=await e.default({locateFile:e=>(0,r.s)(`esri/libs/basisu/${e}`)});return t.initializeBasis(),t})(),a)),s=null)}async function o(){E||(E=await(R??=(l??=(async()=>{const e=await n.e(8714).then(n.bind(n,98714));return await e.default({locateFile:e=>(0,r.s)(`esri/libs/dxtEncoder/${e}`)})})(),l)),R=null)}function G(e,t,n,r,a=255,l=0,_=!1,s=!1){if(!i)return null;const R=new i.BasisEncoder;R.setPerceptual(!s),R.setCheckForAlpha(!0),R.setForceAlpha(!1),R.setRenormalize(s),R.setMipGen(r),R.setMipSRGB(!s),R.setCreateKTX2File(!0),R.setKTX2SRGBTransferFunc(!s),R.setQualityLevel(a),R.setCompressionLevel(l);const E=new Uint8Array(e.byteLength);R.setSliceSourceImage(0,new Uint8Array(e),t,n,_);const T=R.encode(E),S=new Uint8Array(E.buffer,0,T),u=new i.KTX2File(new Uint8Array(S));return u.isValid()?(R.delete(),S):(u.close(),u.delete(),R.delete(),null)}function I(e){if(!i)return new T(null,null);const t=new i.KTX2File(new Uint8Array(e));t.startTranscoding();const[n,r]=t.getHasAlpha()?[1,_.CQ.COMPRESSED_RGBA8_ETC2_EAC]:[0,_.CQ.COMPRESSED_RGB8_ETC2],a=t.getLevels(),l=[];for(let e=0;e<a;e++)l.push(new Uint8Array(t.getImageTranscodedSizeInBytes(e,0,0,n))),t.transcodeImage(l[e],e,0,0,n,0,-1,-1);return t.close(),t.delete(),{internalFormat:r,compressedTexture:{type:"compressed",levels:l}}}const C=31,A=1,N=2,B=3,D=4,O=7,d=21,f=131072;function h(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}const U=h("DXT1"),p=h("DXT3"),w=h("DXT5")}}]);
|