freemium-ui 2.0.70 → 2.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +939 -913
- package/lib/index.d.ts +3 -1
- package/lib/index.js +931 -907
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/storybook-static/10982.5573c8a3.iframe.bundle.js +1 -0
- package/storybook-static/13628.5e173ea7.iframe.bundle.js +1 -0
- package/storybook-static/15438.c1d29359.iframe.bundle.js +1 -0
- package/storybook-static/16115.1056a60e.iframe.bundle.js +2 -0
- package/storybook-static/16115.1056a60e.iframe.bundle.js.LICENSE.txt +27 -0
- package/storybook-static/16507.c368971f.iframe.bundle.js +1 -0
- package/storybook-static/18791.827f9fe4.iframe.bundle.js +1 -0
- package/storybook-static/18934.4c800f5c.iframe.bundle.js +1 -0
- package/storybook-static/21294.5e64dc0b.iframe.bundle.js +1 -0
- package/storybook-static/28431.3e36b042.iframe.bundle.js +2 -0
- package/storybook-static/28431.3e36b042.iframe.bundle.js.LICENSE.txt +6 -0
- package/storybook-static/32496.468e6106.iframe.bundle.js +1 -0
- package/storybook-static/33939.37b863a8.iframe.bundle.js +1 -0
- package/storybook-static/37364.8f7900b8.iframe.bundle.js +1 -0
- package/storybook-static/4553.28484ba3.iframe.bundle.js +1 -0
- package/storybook-static/46882.cfbcbd02.iframe.bundle.js +1 -0
- package/storybook-static/50714.0243a4d2.iframe.bundle.js +2 -0
- package/storybook-static/50714.0243a4d2.iframe.bundle.js.LICENSE.txt +21 -0
- package/storybook-static/51759.073d9ad1.iframe.bundle.js +402 -0
- package/storybook-static/51759.073d9ad1.iframe.bundle.js.LICENSE.txt +58 -0
- package/storybook-static/51759.073d9ad1.iframe.bundle.js.map +1 -0
- package/storybook-static/60270.391b87ac.iframe.bundle.js +1 -0
- package/storybook-static/61022.7abe9c16.iframe.bundle.js +2 -0
- package/storybook-static/61022.7abe9c16.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/61521.fc2ce091.iframe.bundle.js +1 -0
- package/storybook-static/6376.ce3b3ca9.iframe.bundle.js +1 -0
- package/storybook-static/64591.e8b8f5aa.iframe.bundle.js +1 -0
- package/storybook-static/71958.441f3c3e.iframe.bundle.js +95 -0
- package/storybook-static/71958.441f3c3e.iframe.bundle.js.LICENSE.txt +16 -0
- package/storybook-static/71958.441f3c3e.iframe.bundle.js.map +1 -0
- package/storybook-static/78761.e0e907f8.iframe.bundle.js +1 -0
- package/storybook-static/82315.e5158d52.iframe.bundle.js +2 -0
- package/storybook-static/82315.e5158d52.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/86489.7830e6ab.iframe.bundle.js +1 -0
- package/storybook-static/92461.62148736.iframe.bundle.js +1 -0
- package/storybook-static/97959.f8848056.iframe.bundle.js +1 -0
- package/storybook-static/99620.bb959c77.iframe.bundle.js +1 -0
- package/storybook-static/blueprint-icons-16px-paths.38052fbc.iframe.bundle.js +1 -0
- package/storybook-static/blueprint-icons-20px-paths.554b9b57.iframe.bundle.js +1 -0
- package/storybook-static/blueprint-icons-all-paths-loader.0b72f8ce.iframe.bundle.js +1 -0
- package/storybook-static/blueprint-icons-all-paths.c882bcfa.iframe.bundle.js +1 -0
- package/storybook-static/blueprint-icons-split-paths-by-size-loader.e0d8c710.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-_lib-buildFormatLongFn-index-js.b5f004c5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-_lib-buildLocalizeFn-index-js.63452bcf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-_lib-buildMatchFn-index-js.49a463b8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-_lib-buildMatchPatternFn-index-js.44d99fc7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-af-_lib-formatDistance-index-js.9b7380dd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-af-_lib-formatLong-index-js.35d49687.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-af-_lib-formatRelative-index-js.47d323cf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-af-_lib-localize-index-js.f75d12e9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-af-_lib-match-index-js.0a71f1ce.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-af-index-js.32d99396.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-DZ-_lib-formatDistance-index-js.dec6db6a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-DZ-_lib-formatLong-index-js.6fe7afbf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-DZ-_lib-formatRelative-index-js.bb933be2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-DZ-_lib-localize-index-js.92222e1a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-DZ-_lib-match-index-js.f87badde.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-DZ-index-js.196f46bc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-EG-_lib-formatDistance-index-js.540fad85.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-EG-_lib-formatLong-index-js.26b05dfa.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-EG-_lib-formatRelative-index-js.40a00d2e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-EG-_lib-localize-index-js.5f268ea1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-EG-_lib-match-index-js.346c34fa.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-EG-index-js.dac787de.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-MA-_lib-formatDistance-index-js.9f8c1339.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-MA-_lib-formatLong-index-js.88a3135b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-MA-_lib-formatRelative-index-js.00a35cdf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-MA-_lib-localize-index-js.757cdf49.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-MA-_lib-match-index-js.71cfe88f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-MA-index-js.773a51d1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-SA-_lib-formatDistance-index-js.237d9f78.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-SA-_lib-formatLong-index-js.bb2d2ca2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-SA-_lib-formatRelative-index-js.1a79cfcf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-SA-_lib-localize-index-js.3987a4b7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-SA-_lib-match-index-js.20926714.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-SA-index-js.0b6d9f73.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-TN-_lib-formatDistance-index-js.c3e6ff7c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-TN-_lib-formatLong-index-js.a08d6ea3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-TN-_lib-formatRelative-index-js.f29390ef.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-TN-_lib-localize-index-js.2298338d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-TN-_lib-match-index-js.fe68f975.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-TN-index-js.05a48e53.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-_lib-formatDistance-index-js.35454f0f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-_lib-formatLong-index-js.0e12372f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-_lib-formatRelative-index-js.c2f857dd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-_lib-localize-index-js.3d8cdbf3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-_lib-match-index-js.e4ebe398.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ar-index-js.a549e08d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-az-_lib-formatDistance-index-js.fda80132.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-az-_lib-formatLong-index-js.26a61d92.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-az-_lib-formatRelative-index-js.4ed14664.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-az-_lib-localize-index-js.1bc77dc2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-az-_lib-match-index-js.2109d5d9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-az-index-js.3f9d3132.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-_lib-formatDistance-index-js.a0087658.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-_lib-formatLong-index-js.93e42c85.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-_lib-formatRelative-index-js.3d19ebb6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-_lib-localize-index-js.951bf416.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-_lib-match-index-js.32809281.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-index-js.2f4bf1d3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-tarask-_lib-formatDistance-index-js.aa513f20.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-tarask-_lib-formatLong-index-js.bc8c0d36.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-tarask-_lib-formatRelative-index-js.006b5e97.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-tarask-_lib-localize-index-js.62801336.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-tarask-_lib-match-index-js.e13819fb.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-be-tarask-index-js.d900de86.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bg-_lib-formatDistance-index-js.6060f17e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bg-_lib-formatLong-index-js.48545b02.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bg-_lib-formatRelative-index-js.9d34ba39.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bg-_lib-localize-index-js.aefa283d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bg-_lib-match-index-js.aa5391b1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bg-index-js.ac2ef82a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bn-_lib-formatDistance-index-js.86cf3ba1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bn-_lib-formatLong-index-js.f1d7a3ab.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bn-_lib-formatRelative-index-js.52de17d2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bn-_lib-localize-index-js.6f2d7224.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bn-_lib-match-index-js.cf6fddc7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bn-index-js.5fb8a962.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bs-_lib-formatDistance-index-js.6973340f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bs-_lib-formatLong-index-js.a1dbddcc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bs-_lib-formatRelative-index-js.5894cb79.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bs-_lib-localize-index-js.061bbf05.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bs-_lib-match-index-js.e7a572c7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-bs-index-js.e3f5efa9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ca-_lib-formatDistance-index-js.73678670.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ca-_lib-formatLong-index-js.6b5b1f1f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ca-_lib-formatRelative-index-js.ece44cc2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ca-_lib-localize-index-js.50502607.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ca-_lib-match-index-js.27250918.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ca-index-js.2ada1c93.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cs-_lib-formatDistance-index-js.45e33575.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cs-_lib-formatLong-index-js.bdcbe5d6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cs-_lib-formatRelative-index-js.d51b80e4.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cs-_lib-localize-index-js.1fd94262.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cs-_lib-match-index-js.16ee8fae.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cs-index-js.5fd79d0f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cy-_lib-formatDistance-index-js.d3ca037b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cy-_lib-formatLong-index-js.0c7a8094.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cy-_lib-formatRelative-index-js.831e096e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cy-_lib-localize-index-js.c62d47e5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cy-_lib-match-index-js.26c7d467.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-cy-index-js.a67ac946.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-da-_lib-formatDistance-index-js.0a273bd9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-da-_lib-formatLong-index-js.5d1d88ec.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-da-_lib-formatRelative-index-js.0f93db08.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-da-_lib-localize-index-js.e57cb51e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-da-_lib-match-index-js.c6db6f13.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-da-index-js.132b81e3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-AT-_lib-localize-index-js.7c1442c0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-AT-index-js.c998bd49.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-_lib-formatDistance-index-js.b928b722.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-_lib-formatLong-index-js.11972ef6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-_lib-formatRelative-index-js.c2f2e85f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-_lib-localize-index-js.0cf789f9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-_lib-match-index-js.10e0d647.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-de-index-js.4ac2a88a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-el-_lib-formatDistance-index-js.f59c79de.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-el-_lib-formatLong-index-js.bf074020.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-el-_lib-formatRelative-index-js.4e6fde5a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-el-_lib-localize-index-js.218fcd93.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-el-_lib-match-index-js.7c815f38.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-el-index-js.3437a704.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-AU-_lib-formatLong-index-js.2b980072.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-AU-index-js.96a740ac.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-CA-_lib-formatDistance-index-js.b718a84e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-CA-_lib-formatLong-index-js.18eaba9c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-CA-index-js.e5d76a21.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-GB-_lib-formatLong-index-js.48788985.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-GB-index-js.78699b1c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-IE-index-js.4809d70d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-IN-_lib-formatLong-index-js.ef539caf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-IN-index-js.1616688f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-NZ-_lib-formatLong-index-js.0be775c4.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-NZ-index-js.b1497c32.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-US-_lib-formatDistance-index-js.0dfb63ce.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-US-_lib-formatLong-index-js.6292cc90.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-US-_lib-formatRelative-index-js.2a7f19a6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-US-_lib-localize-index-js.c726f2fc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-US-_lib-match-index-js.a2200bf8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-US-index-js.94f30754.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-ZA-_lib-formatLong-index-js.229b9ccd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-en-ZA-index-js.6c456079.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eo-_lib-formatDistance-index-js.3fa72489.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eo-_lib-formatLong-index-js.d3c3a4d7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eo-_lib-formatRelative-index-js.9ae204a5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eo-_lib-localize-index-js.62427998.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eo-_lib-match-index-js.7b6cdae6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eo-index-js.45bb9969.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-es-_lib-formatDistance-index-js.637f75a3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-es-_lib-formatLong-index-js.15d7a04a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-es-_lib-formatRelative-index-js.a3420b3e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-es-_lib-localize-index-js.5ea74f8c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-es-_lib-match-index-js.bcbe5c3c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-es-index-js.e36b3373.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-et-_lib-formatDistance-index-js.f5bc1cfb.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-et-_lib-formatLong-index-js.95c7f19c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-et-_lib-formatRelative-index-js.6e95bf84.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-et-_lib-localize-index-js.2a3d1d60.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-et-_lib-match-index-js.fad2d0c8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-et-index-js.da29b17f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eu-_lib-formatDistance-index-js.3cc2ce44.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eu-_lib-formatLong-index-js.d19d7eca.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eu-_lib-formatRelative-index-js.444db26c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eu-_lib-localize-index-js.e597140d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eu-_lib-match-index-js.da2d0639.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-eu-index-js.40966230.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fa-IR-_lib-formatDistance-index-js.0856a37e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fa-IR-_lib-formatLong-index-js.83565ec1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fa-IR-_lib-formatRelative-index-js.cbdfad44.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fa-IR-_lib-localize-index-js.005dc40d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fa-IR-_lib-match-index-js.19e9139a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fa-IR-index-js.a8109e7e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fi-_lib-formatDistance-index-js.0ec53c96.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fi-_lib-formatLong-index-js.cead2844.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fi-_lib-formatRelative-index-js.ee02cb02.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fi-_lib-localize-index-js.6297ac92.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fi-_lib-match-index-js.13882696.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fi-index-js.8c04d3d5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-CA-_lib-formatLong-index-js.c2315953.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-CA-index-js.a0c3045c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-CH-_lib-formatLong-index-js.1a08749b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-CH-_lib-formatRelative-index-js.bc7c9b80.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-CH-index-js.aabe4693.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-_lib-formatDistance-index-js.921104e1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-_lib-formatLong-index-js.7a394a54.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-_lib-formatRelative-index-js.283d2f9b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-_lib-localize-index-js.0a858f29.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-_lib-match-index-js.4054a249.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fr-index-js.f9d3a3b3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fy-_lib-formatDistance-index-js.6138a1f0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fy-_lib-formatLong-index-js.9cda8ad3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fy-_lib-formatRelative-index-js.c444e339.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fy-_lib-localize-index-js.857d882a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fy-_lib-match-index-js.386bfd3a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-fy-index-js.f4400105.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gd-_lib-formatDistance-index-js.57cab404.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gd-_lib-formatLong-index-js.cc210de1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gd-_lib-formatRelative-index-js.8073bd51.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gd-_lib-localize-index-js.a70b6f9c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gd-_lib-match-index-js.9ab7800c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gd-index-js.6e339cd2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gl-_lib-formatDistance-index-js.ab1924f8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gl-_lib-formatLong-index-js.a3fcf9bf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gl-_lib-formatRelative-index-js.060766a6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gl-_lib-localize-index-js.9ab52a13.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gl-_lib-match-index-js.328988f0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gl-index-js.ccc22c13.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gu-_lib-formatDistance-index-js.2aafd61d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gu-_lib-formatLong-index-js.b2bd399a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gu-_lib-formatRelative-index-js.3a74177f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gu-_lib-localize-index-js.11d7ba76.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gu-_lib-match-index-js.b826da95.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-gu-index-js.ae6cc2f2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-he-_lib-formatDistance-index-js.c8eb12a5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-he-_lib-formatLong-index-js.bf0c9886.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-he-_lib-formatRelative-index-js.40939879.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-he-_lib-localize-index-js.1728860b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-he-_lib-match-index-js.f002b4c0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-he-index-js.986336cf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hi-_lib-formatDistance-index-js.8935af01.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hi-_lib-formatLong-index-js.4c37d77b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hi-_lib-formatRelative-index-js.52ba8b17.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hi-_lib-localize-index-js.d03c358b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hi-_lib-match-index-js.0064a3bf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hi-index-js.e076151f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hr-_lib-formatDistance-index-js.5529da92.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hr-_lib-formatLong-index-js.b9649ec0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hr-_lib-formatRelative-index-js.7f15f64b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hr-_lib-localize-index-js.ba8879c9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hr-_lib-match-index-js.0c3bfde2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hr-index-js.ed51205e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ht-_lib-formatDistance-index-js.07f9d79b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ht-_lib-formatLong-index-js.6102a628.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ht-_lib-formatRelative-index-js.452e17ac.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ht-_lib-localize-index-js.5f7d5a5c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ht-_lib-match-index-js.14234c59.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ht-index-js.b3d87887.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hu-_lib-formatDistance-index-js.b50e8e9c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hu-_lib-formatLong-index-js.3d29d1ee.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hu-_lib-formatRelative-index-js.18dd0717.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hu-_lib-localize-index-js.4136990b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hu-_lib-match-index-js.b8420344.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hu-index-js.37cd9507.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hy-_lib-formatDistance-index-js.9d7c3e53.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hy-_lib-formatLong-index-js.18508a15.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hy-_lib-formatRelative-index-js.45e64760.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hy-_lib-localize-index-js.393b8e3d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hy-_lib-match-index-js.2f0e7282.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-hy-index-js.7e3684ae.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-id-_lib-formatDistance-index-js.af36c6de.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-id-_lib-formatLong-index-js.d308baa2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-id-_lib-formatRelative-index-js.c674f365.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-id-_lib-localize-index-js.b7a3cb16.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-id-_lib-match-index-js.511acbe8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-id-index-js.c8ad6cce.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-is-_lib-formatDistance-index-js.2453eeff.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-is-_lib-formatLong-index-js.a45da584.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-is-_lib-formatRelative-index-js.99e8f39e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-is-_lib-localize-index-js.cc88629a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-is-_lib-match-index-js.a9f59ba3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-is-index-js.7e706d5b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-CH-_lib-formatLong-index-js.4a372293.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-CH-index-js.bc42fa5e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-_lib-formatDistance-index-js.5ec58a40.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-_lib-formatLong-index-js.3559253a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-_lib-formatRelative-index-js.1495df51.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-_lib-localize-index-js.0d74b03a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-_lib-match-index-js.84114424.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-it-index-js.64ac1324.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-Hira-_lib-formatDistance-index-js.3d860d15.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-Hira-_lib-formatLong-index-js.2693c3c0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-Hira-_lib-formatRelative-index-js.220a480a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-Hira-_lib-localize-index-js.14f24012.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-Hira-_lib-match-index-js.fae1c9ac.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-Hira-index-js.3860caaa.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-_lib-formatDistance-index-js.1fafd4d5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-_lib-formatLong-index-js.27cf42f7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-_lib-formatRelative-index-js.e654af71.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-_lib-localize-index-js.1ab80acb.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-_lib-match-index-js.b90347ca.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ja-index-js.f242cfe4.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ka-_lib-formatDistance-index-js.332bf6d0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ka-_lib-formatLong-index-js.7ca78576.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ka-_lib-formatRelative-index-js.3171f839.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ka-_lib-localize-index-js.7a2c5a79.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ka-_lib-match-index-js.d8cc4d5a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ka-index-js.dc7e9fdc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kk-_lib-formatDistance-index-js.aa267b6e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kk-_lib-formatLong-index-js.aabd1a08.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kk-_lib-formatRelative-index-js.fbce6862.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kk-_lib-localize-index-js.e3dbccf1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kk-_lib-match-index-js.628fda02.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kk-index-js.cb97105d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-km-_lib-formatDistance-index-js.2f2a82ce.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-km-_lib-formatLong-index-js.c2bd8d35.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-km-_lib-formatRelative-index-js.5fa0ef24.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-km-_lib-localize-index-js.9d07e20c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-km-_lib-match-index-js.a0603d16.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-km-index-js.c7339a7e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kn-_lib-formatDistance-index-js.176f8c7f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kn-_lib-formatLong-index-js.0051bed0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kn-_lib-formatRelative-index-js.7e34b4ef.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kn-_lib-localize-index-js.dcb4b974.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kn-_lib-match-index-js.42025269.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-kn-index-js.c84facfc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ko-_lib-formatDistance-index-js.668d15a9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ko-_lib-formatLong-index-js.c971a177.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ko-_lib-formatRelative-index-js.4fc5f4f8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ko-_lib-localize-index-js.ec418f1c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ko-_lib-match-index-js.3e42393c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ko-index-js.922ce2c5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lb-_lib-formatDistance-index-js.882341db.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lb-_lib-formatLong-index-js.a76524ec.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lb-_lib-formatRelative-index-js.5c5eb276.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lb-_lib-localize-index-js.cbddb157.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lb-_lib-match-index-js.fbe555d7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lb-index-js.9443a4fa.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lt-_lib-formatDistance-index-js.5f073e7d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lt-_lib-formatLong-index-js.13ff7859.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lt-_lib-formatRelative-index-js.e78ba72c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lt-_lib-localize-index-js.7bca7bab.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lt-_lib-match-index-js.5aa166af.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lt-index-js.3e730a31.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lv-_lib-formatDistance-index-js.b94ae0f0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lv-_lib-formatLong-index-js.10ca51bc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lv-_lib-formatRelative-index-js.d0943087.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lv-_lib-localize-index-js.939fa6c6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lv-_lib-match-index-js.f65ed066.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-lv-index-js.b33fde47.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mk-_lib-formatDistance-index-js.9a952818.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mk-_lib-formatLong-index-js.0cb518f5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mk-_lib-formatRelative-index-js.619b2c3c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mk-_lib-localize-index-js.e69b1542.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mk-_lib-match-index-js.d97cdb49.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mk-index-js.eaa2701b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mn-_lib-formatDistance-index-js.b1c44007.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mn-_lib-formatLong-index-js.9df4cafe.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mn-_lib-formatRelative-index-js.5304bddc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mn-_lib-localize-index-js.f8496117.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mn-_lib-match-index-js.ac1f8084.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mn-index-js.f3739587.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ms-_lib-formatDistance-index-js.f806969a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ms-_lib-formatLong-index-js.3edbd6fa.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ms-_lib-formatRelative-index-js.c849a368.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ms-_lib-localize-index-js.f6291835.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ms-_lib-match-index-js.2eb44880.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ms-index-js.f427c84e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mt-_lib-formatDistance-index-js.8a035641.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mt-_lib-formatLong-index-js.7ce0f35a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mt-_lib-formatRelative-index-js.bb9f27fd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mt-_lib-localize-index-js.61c52618.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mt-_lib-match-index-js.4a48eb6d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-mt-index-js.80506e2a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nb-_lib-formatDistance-index-js.87e11314.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nb-_lib-formatLong-index-js.b8a63d87.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nb-_lib-formatRelative-index-js.d746ade3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nb-_lib-localize-index-js.3c202b46.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nb-_lib-match-index-js.7dabab7c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nb-index-js.75f6b114.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-BE-_lib-formatDistance-index-js.4b0b0a60.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-BE-_lib-formatLong-index-js.b86e3401.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-BE-_lib-formatRelative-index-js.3d938853.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-BE-_lib-localize-index-js.c214ec40.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-BE-_lib-match-index-js.a6a31ec2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-BE-index-js.f2a22dd3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-_lib-formatDistance-index-js.576f41b9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-_lib-formatLong-index-js.f4963cb6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-_lib-formatRelative-index-js.3c06dafc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-_lib-localize-index-js.074cb514.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-_lib-match-index-js.200f8c51.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nl-index-js.2c33efba.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nn-_lib-formatDistance-index-js.28adfb35.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nn-_lib-formatLong-index-js.0e5f55dd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nn-_lib-formatRelative-index-js.58e7412f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nn-_lib-localize-index-js.8d75e25c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nn-_lib-match-index-js.22ec3382.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-nn-index-js.3e99f9de.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-oc-_lib-formatDistance-index-js.b17c2f76.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-oc-_lib-formatLong-index-js.9a5da6e5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-oc-_lib-formatRelative-index-js.cf8e64c8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-oc-_lib-localize-index-js.cda5f8d8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-oc-_lib-match-index-js.9e1fec79.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-oc-index-js.bb110558.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pl-_lib-formatDistance-index-js.9910bde6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pl-_lib-formatLong-index-js.71a342d1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pl-_lib-formatRelative-index-js.b134bde4.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pl-_lib-localize-index-js.178a9a5a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pl-_lib-match-index-js.c546a590.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pl-index-js.36a347de.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-BR-_lib-formatDistance-index-js.a226915f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-BR-_lib-formatLong-index-js.62ac5478.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-BR-_lib-formatRelative-index-js.64696671.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-BR-_lib-localize-index-js.191da36a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-BR-_lib-match-index-js.8e94f4c2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-BR-index-js.399afeda.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-_lib-formatDistance-index-js.50bbbd60.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-_lib-formatLong-index-js.64e622e8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-_lib-formatRelative-index-js.960b9739.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-_lib-localize-index-js.48d2e03a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-_lib-match-index-js.861f00f7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-pt-index-js.1a7e3089.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ro-_lib-formatDistance-index-js.2a736bd9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ro-_lib-formatLong-index-js.cd43dd8f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ro-_lib-formatRelative-index-js.aa8b5e1f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ro-_lib-localize-index-js.1da11622.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ro-_lib-match-index-js.e337f0bd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ro-index-js.14975501.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ru-_lib-formatDistance-index-js.b99139a5.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ru-_lib-formatLong-index-js.9f41c252.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ru-_lib-formatRelative-index-js.1abc06dd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ru-_lib-localize-index-js.a8ec7892.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ru-_lib-match-index-js.40ae7bf2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ru-index-js.45279c30.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sk-_lib-formatDistance-index-js.20c7fbcc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sk-_lib-formatLong-index-js.cae23f02.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sk-_lib-formatRelative-index-js.d48ddef7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sk-_lib-localize-index-js.49f2d06e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sk-_lib-match-index-js.8138cd2f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sk-index-js.16ca6718.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sl-_lib-formatDistance-index-js.e7e9bbad.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sl-_lib-formatLong-index-js.25261487.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sl-_lib-formatRelative-index-js.9aff538e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sl-_lib-localize-index-js.d5709dc3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sl-_lib-match-index-js.bd245526.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sl-index-js.607c7acd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sq-_lib-formatDistance-index-js.40d77e92.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sq-_lib-formatLong-index-js.41d05b29.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sq-_lib-formatRelative-index-js.4fc97419.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sq-_lib-localize-index-js.cf01cda7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sq-_lib-match-index-js.b148d43a.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sq-index-js.8f5f0a5d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-Latn-_lib-formatDistance-index-js.012c9f1e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-Latn-_lib-formatLong-index-js.1e2feb1c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-Latn-_lib-formatRelative-index-js.d11369cc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-Latn-_lib-localize-index-js.aa6161ee.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-Latn-_lib-match-index-js.b1a07c46.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-Latn-index-js.6e5e37dc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-_lib-formatDistance-index-js.e7bd61b8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-_lib-formatLong-index-js.2c3404a1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-_lib-formatRelative-index-js.aa2bbc3e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-_lib-localize-index-js.07a02b14.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-_lib-match-index-js.e4eac673.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sr-index-js.5095edab.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sv-_lib-formatDistance-index-js.3639b336.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sv-_lib-formatLong-index-js.4becf3d6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sv-_lib-formatRelative-index-js.2f34ac09.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sv-_lib-localize-index-js.01a7d373.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sv-_lib-match-index-js.5c2ac191.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-sv-index-js.a8990d39.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ta-_lib-formatDistance-index-js.57a291d8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ta-_lib-formatLong-index-js.8e82530d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ta-_lib-formatRelative-index-js.eacb6546.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ta-_lib-localize-index-js.42c89456.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ta-_lib-match-index-js.a34c9433.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ta-index-js.cdffc81c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-te-_lib-formatDistance-index-js.a534dc69.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-te-_lib-formatLong-index-js.6dca8b98.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-te-_lib-formatRelative-index-js.0fecf89b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-te-_lib-localize-index-js.55c33db3.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-te-_lib-match-index-js.66bc887b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-te-index-js.d745a2a2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-th-_lib-formatDistance-index-js.ae46c3fe.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-th-_lib-formatLong-index-js.74aa9157.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-th-_lib-formatRelative-index-js.5c5ed6ee.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-th-_lib-localize-index-js.02889cde.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-th-_lib-match-index-js.c8f43009.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-th-index-js.fa836877.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-tr-_lib-formatDistance-index-js.cc8dd80f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-tr-_lib-formatLong-index-js.60d43d59.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-tr-_lib-formatRelative-index-js.852470b2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-tr-_lib-localize-index-js.715d9550.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-tr-_lib-match-index-js.1aca5e99.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-tr-index-js.71e970ef.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ug-_lib-formatDistance-index-js.378ed9a0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ug-_lib-formatLong-index-js.b52f552b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ug-_lib-formatRelative-index-js.6e84dcfd.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ug-_lib-localize-index-js.b7bf2136.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ug-_lib-match-index-js.799a4cd4.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-ug-index-js.0090da9b.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uk-_lib-formatDistance-index-js.e8825442.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uk-_lib-formatLong-index-js.55fdfc4e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uk-_lib-formatRelative-index-js.59dfe5a2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uk-_lib-localize-index-js.30533093.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uk-_lib-match-index-js.81991b17.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uk-index-js.b0707aab.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-Cyrl-_lib-formatDistance-index-js.957af278.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-Cyrl-_lib-formatLong-index-js.acf9b732.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-Cyrl-_lib-formatRelative-index-js.350569fb.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-Cyrl-_lib-localize-index-js.57ca0dbc.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-Cyrl-_lib-match-index-js.39062c93.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-Cyrl-index-js.3e11e6db.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-_lib-formatDistance-index-js.bfa21682.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-_lib-formatLong-index-js.c228ca84.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-_lib-formatRelative-index-js.77d1bac9.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-_lib-localize-index-js.459f4c48.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-_lib-match-index-js.215bc1cf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-uz-index-js.e0af17f8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-vi-_lib-formatDistance-index-js.ea0f9d5d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-vi-_lib-formatLong-index-js.bd326a6f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-vi-_lib-formatRelative-index-js.388817ff.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-vi-_lib-localize-index-js.f4ecc82f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-vi-_lib-match-index-js.26c42c6d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-vi-index-js.56880239.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-CN-_lib-formatDistance-index-js.ae4ff4c8.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-CN-_lib-formatLong-index-js.989f4faf.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-CN-_lib-formatRelative-index-js.06a505e6.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-CN-_lib-localize-index-js.5075d542.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-CN-_lib-match-index-js.c9f1b6b7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-CN-index-js.e324bd8f.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-HK-_lib-formatDistance-index-js.532c9bf1.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-HK-_lib-formatLong-index-js.b3894294.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-HK-_lib-formatRelative-index-js.7468ac2e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-HK-_lib-localize-index-js.d865ece2.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-HK-_lib-match-index-js.4921715e.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-HK-index-js.29d14130.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-TW-_lib-formatDistance-index-js.e2eb6fd7.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-TW-_lib-formatLong-index-js.b978f75c.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-TW-_lib-formatRelative-index-js.1d544d80.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-TW-_lib-localize-index-js.1995f7e0.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-TW-_lib-match-index-js.bc70ce4d.iframe.bundle.js +1 -0
- package/storybook-static/date-fns-locale-zh-TW-index-js.f3b3dc76.iframe.bundle.js +1 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +511 -0
- package/storybook-static/index.html +181 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/main.1fcd0d38.iframe.bundle.js +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/robots.txt +3 -0
- package/storybook-static/runtime~main.acfc9329.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js +412 -0
- package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js +234 -0
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +129 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +995 -0
- package/storybook-static/sb-manager/globals-runtime.js +53525 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +11884 -0
- package/storybook-static/sb-preview/globals.js +33 -0
- package/storybook-static/sb-preview/runtime.js +9485 -0
- package/storybook-static/stories-Accordion-stories.62ad369c.iframe.bundle.js +1 -0
- package/storybook-static/stories-Alert-stories.56a824df.iframe.bundle.js +1 -0
- package/storybook-static/stories-AutoComplete-stories.56fc9533.iframe.bundle.js +1 -0
- package/storybook-static/stories-BoxedRadio-stories.d0bbb23d.iframe.bundle.js +1 -0
- package/storybook-static/stories-Button-stories.581cdb25.iframe.bundle.js +1 -0
- package/storybook-static/stories-ButtonDropdown-stories.1e8d9897.iframe.bundle.js +1 -0
- package/storybook-static/stories-Checkbox-stories.91622acc.iframe.bundle.js +1 -0
- package/storybook-static/stories-Colors-mdx.a4d8c6dc.iframe.bundle.js +1 -0
- package/storybook-static/stories-Confirmation-stories.7fddd71d.iframe.bundle.js +1 -0
- package/storybook-static/stories-DatePicker-stories.c0f81577.iframe.bundle.js +1 -0
- package/storybook-static/stories-DateRangePicker-stories.dd7daafc.iframe.bundle.js +1 -0
- package/storybook-static/stories-DateTimePicker-stories.440675c7.iframe.bundle.js +1 -0
- package/storybook-static/stories-DateTimeRangePicker-stories.24da5aca.iframe.bundle.js +1 -0
- package/storybook-static/stories-Drawer-stories.97f5c37d.iframe.bundle.js +1 -0
- package/storybook-static/stories-Dropdown-stories.18ddeaaf.iframe.bundle.js +1 -0
- package/storybook-static/stories-Input-stories.b7b880e6.iframe.bundle.js +1 -0
- package/storybook-static/stories-Loader-stories.4abb90aa.iframe.bundle.js +1 -0
- package/storybook-static/stories-Menu-stories.42bf2e41.iframe.bundle.js +1 -0
- package/storybook-static/stories-Modal-stories.6235daee.iframe.bundle.js +1 -0
- package/storybook-static/stories-MultiSelectDropdown-stories.e7e2014b.iframe.bundle.js +1 -0
- package/storybook-static/stories-Palette-mdx.fcfc170d.iframe.bundle.js +1 -0
- package/storybook-static/stories-Popover-stories.ece99d2c.iframe.bundle.js +1 -0
- package/storybook-static/stories-QuillEditor-stories.9f9f0371.iframe.bundle.js +1 -0
- package/storybook-static/stories-Radio-stories.00c015c1.iframe.bundle.js +1 -0
- package/storybook-static/stories-RadioGroup-stories.800b50db.iframe.bundle.js +1 -0
- package/storybook-static/stories-Reorder-stories.9aeb1c83.iframe.bundle.js +1 -0
- package/storybook-static/stories-Table-stories.07cffb32.iframe.bundle.js +1 -0
- package/storybook-static/stories-Tabs-stories.4257dd3d.iframe.bundle.js +1 -0
- package/storybook-static/stories-Tag-stories.dde85193.iframe.bundle.js +1 -0
- package/storybook-static/stories-TextArea-stories.7575dd20.iframe.bundle.js +1 -0
- package/storybook-static/stories-TimePicker-stories.a5190557.iframe.bundle.js +1 -0
- package/storybook-static/stories-Toast-stories.259ad8a3.iframe.bundle.js +1 -0
- package/storybook-static/stories-Toggle-stories.1b1da7df.iframe.bundle.js +1 -0
- package/storybook-static/stories-Tooltip-stories.ca538a76.iframe.bundle.js +1 -0
- package/storybook-static/stories-Typography-mdx.bb2eab85.iframe.bundle.js +1 -0
- package/storybook-static/stories-Typography-stories.0eaf1222.iframe.bundle.js +1 -0
- package/storybook-static/stories-WorkspaceTable-stories.d46582ac.iframe.bundle.js +1 -0
- package/dist/README.md +0 -86
- package/dist/index.cjs.js +0 -16653
- package/dist/index.d.ts +0 -1748
- package/dist/index.js +0 -16478
- package/dist/package.json +0 -74
package/lib/index.cjs.js
CHANGED
|
@@ -8327,9 +8327,9 @@ console.info("Finished '".concat(e,"' in ").concat(o,"ms"))),[2]}var i}))}))}
|
|
|
8327
8327
|
function s_(e){return Ce(this,void 0,void 0,(function(){var t,n
|
|
8328
8328
|
;return ze(this,(function(r){switch(r.label){case 0:
|
|
8329
8329
|
return t=e.loader,"function"!=typeof(n=void 0===t?d_.defaultLoader:t)?[3,1]:[2,n]
|
|
8330
|
-
;case 1:return"all"!==n?[3,3]:[4,Promise.resolve().then((function(){return
|
|
8330
|
+
;case 1:return"all"!==n?[3,3]:[4,Promise.resolve().then((function(){return sG
|
|
8331
8331
|
}))];case 2:return[2,r.sent().allPathsLoader];case 3:
|
|
8332
|
-
return[4,Promise.resolve().then((function(){return
|
|
8332
|
+
return[4,Promise.resolve().then((function(){return uG}))];case 4:
|
|
8333
8333
|
return[2,r.sent().splitPathsBySizeLoader]}}))}))}var u_=function(){function e(){
|
|
8334
8334
|
this.defaultLoader="split-by-size",
|
|
8335
8335
|
this.loadedIconPaths16=new Map,this.loadedIconPaths20=new Map}
|
|
@@ -13539,23 +13539,34 @@ portalContainer:r,type:"button",disabled:!!t.disabled,
|
|
|
13539
13539
|
defaultSelectedItem:n.find((e=>e.id===t.value))??null,style:t.style,
|
|
13540
13540
|
className:`${t.className??""} bp-custom-dropdown bp-custom-dropdown-${t.name??""}`.trim(),
|
|
13541
13541
|
onChange:e=>{t?.onChange?.({target:{value:e?.id}})}})}
|
|
13542
|
-
return e.createElement(ab,{itemToString:()=>"",type:"button"})
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13542
|
+
return e.createElement(ab,{itemToString:()=>"",type:"button"})
|
|
13543
|
+
},ZN=e=>!!e.target.closest("[data-radix-popper-content-wrapper]")||"HTML"===e.target.tagName,XN=({onChange:t,closeOnSelection:n},r=!1)=>{
|
|
13544
|
+
const[o,a]=e.useState(!1),i=e.useRef(null);((t,n,r=(()=>!1))=>{
|
|
13545
|
+
e.useEffect((()=>{const e=e=>{
|
|
13546
|
+
!t.current||t.current.contains(e.target)||r(e)||n(e)}
|
|
13547
|
+
;return document.addEventListener("mousedown",e),()=>{
|
|
13548
|
+
document.removeEventListener("mousedown",e)}}),[t,n,r])})(i,(()=>a(!1)),ZN)
|
|
13549
|
+
;const l=e.useCallback(((e,o)=>{let i=!0
|
|
13550
|
+
;r?(i=e.every((e=>!!e)),t?.(e)):(i=!!e,t?.(e,o||!1)),n&&i&&!(()=>{
|
|
13551
|
+
const e=document.querySelector(":focus")
|
|
13552
|
+
;return void 0!==e&&(!e||"SELECT"===e.tagName)})()&&a(!1)}),[r,t,n]);return{
|
|
13553
|
+
isOpen:o,setOpen:a,popoverRef:i,onDateChange:l}},JN=[{id:"AM",name:"AM"},{
|
|
13554
|
+
id:"PM",name:"PM"
|
|
13555
|
+
}],QN="Popover",[eF,tF]=i(QN,[bh]),nF=bh(),[rF,oF]=eF(QN),aF=e.forwardRef(((t,n)=>{
|
|
13556
|
+
const{__scopePopover:r,...o}=t,i=oF("PopoverTrigger",r),l=nF(r),c=s(n,i.triggerRef),u=e.createElement(b.button,a({
|
|
13546
13557
|
type:"button","aria-haspopup":"dialog","aria-expanded":i.open,
|
|
13547
|
-
"aria-controls":i.contentId,"data-state":
|
|
13558
|
+
"aria-controls":i.contentId,"data-state":fF(i.open)},o,{ref:c,
|
|
13548
13559
|
onClick:v(t.onClick,i.onOpenToggle)}))
|
|
13549
13560
|
;return i.hasCustomAnchor?u:e.createElement(Th,a({asChild:!0},l),u)
|
|
13550
|
-
})),
|
|
13551
|
-
}),
|
|
13552
|
-
const r=
|
|
13561
|
+
})),iF="PopoverPortal",[lF,cF]=eF(iF,{forceMount:void 0
|
|
13562
|
+
}),sF="PopoverContent",uF=e.forwardRef(((t,n)=>{
|
|
13563
|
+
const r=cF(sF,t.__scopePopover),{forceMount:o=r.forceMount,...i}=t,l=oF(sF,t.__scopePopover)
|
|
13553
13564
|
;return e.createElement(z,{present:o||l.open
|
|
13554
|
-
},l.modal?e.createElement(
|
|
13555
|
-
})))})),
|
|
13556
|
-
const r=
|
|
13565
|
+
},l.modal?e.createElement(dF,a({},i,{ref:n})):e.createElement(hF,a({},i,{ref:n
|
|
13566
|
+
})))})),dF=e.forwardRef(((t,n)=>{
|
|
13567
|
+
const r=oF(sF,t.__scopePopover),o=e.useRef(null),i=s(n,o),l=e.useRef(!1)
|
|
13557
13568
|
;return e.useEffect((()=>{const e=o.current;if(e)return Gh(e)
|
|
13558
|
-
}),[]),e.createElement(_p,{as:u,allowPinchZoom:!0},e.createElement(
|
|
13569
|
+
}),[]),e.createElement(_p,{as:u,allowPinchZoom:!0},e.createElement(pF,a({},t,{
|
|
13559
13570
|
ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,
|
|
13560
13571
|
onCloseAutoFocus:v(t.onCloseAutoFocus,(e=>{var t
|
|
13561
13572
|
;e.preventDefault(),l.current||null===(t=r.triggerRef.current)||void 0===t||t.focus()
|
|
@@ -13563,9 +13574,9 @@ onCloseAutoFocus:v(t.onCloseAutoFocus,(e=>{var t
|
|
|
13563
13574
|
const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n
|
|
13564
13575
|
;l.current=r}),{checkForDefaultPrevented:!1}),
|
|
13565
13576
|
onFocusOutside:v(t.onFocusOutside,(e=>e.preventDefault()),{
|
|
13566
|
-
checkForDefaultPrevented:!1})})))})),
|
|
13567
|
-
const r=
|
|
13568
|
-
;return e.createElement(
|
|
13577
|
+
checkForDefaultPrevented:!1})})))})),hF=e.forwardRef(((t,n)=>{
|
|
13578
|
+
const r=oF(sF,t.__scopePopover),o=e.useRef(!1),i=e.useRef(!1)
|
|
13579
|
+
;return e.createElement(pF,a({},t,{ref:n,trapFocus:!1,
|
|
13569
13580
|
disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{var n,a
|
|
13570
13581
|
;(null===(n=t.onCloseAutoFocus)||void 0===n||n.call(t,e),
|
|
13571
13582
|
e.defaultPrevented)||(o.current||null===(a=r.triggerRef.current)||void 0===a||a.focus(),
|
|
@@ -13575,35 +13586,35 @@ e.defaultPrevented||(o.current=!0,
|
|
|
13575
13586
|
"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));const l=e.target
|
|
13576
13587
|
;(null===(a=r.triggerRef.current)||void 0===a?void 0:a.contains(l))&&e.preventDefault(),
|
|
13577
13588
|
"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}}))
|
|
13578
|
-
})),
|
|
13579
|
-
const{__scopePopover:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,...p}=t,f=
|
|
13589
|
+
})),pF=e.forwardRef(((t,n)=>{
|
|
13590
|
+
const{__scopePopover:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,...p}=t,f=oF(sF,r),m=nF(r)
|
|
13580
13591
|
;return Fu(),e.createElement(Yu,{asChild:!0,loop:!0,trapped:o,
|
|
13581
13592
|
onMountAutoFocus:i,onUnmountAutoFocus:l},e.createElement(Vu,{asChild:!0,
|
|
13582
13593
|
disableOutsidePointerEvents:c,onInteractOutside:h,onEscapeKeyDown:s,
|
|
13583
13594
|
onPointerDownOutside:u,onFocusOutside:d,onDismiss:()=>f.onOpenChange(!1)
|
|
13584
|
-
},e.createElement(Rh,a({"data-state":
|
|
13595
|
+
},e.createElement(Rh,a({"data-state":fF(f.open),role:"dialog",id:f.contentId
|
|
13585
13596
|
},m,p,{ref:n,style:{...p.style,
|
|
13586
13597
|
"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)",
|
|
13587
13598
|
"--radix-popover-content-available-width":"var(--radix-popper-available-width)",
|
|
13588
13599
|
"--radix-popover-content-available-height":"var(--radix-popper-available-height)",
|
|
13589
13600
|
"--radix-popover-trigger-width":"var(--radix-popper-anchor-width)",
|
|
13590
13601
|
"--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}))
|
|
13591
|
-
;function
|
|
13592
|
-
const{__scopePopover:n,children:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=t,c=
|
|
13602
|
+
;function fF(e){return e?"open":"closed"}const mF=t=>{
|
|
13603
|
+
const{__scopePopover:n,children:r,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=t,c=nF(n),s=e.useRef(null),[u,d]=e.useState(!1),[h=!1,p]=y({
|
|
13593
13604
|
prop:o,defaultProp:a,onChange:i})
|
|
13594
|
-
;return e.createElement(Vh,c,e.createElement(
|
|
13605
|
+
;return e.createElement(Vh,c,e.createElement(rF,{scope:n,contentId:S(),
|
|
13595
13606
|
triggerRef:s,open:h,onOpenChange:p,
|
|
13596
13607
|
onOpenToggle:e.useCallback((()=>p((e=>!e))),[p]),hasCustomAnchor:u,
|
|
13597
13608
|
onCustomAnchorAdd:e.useCallback((()=>d(!0)),[]),
|
|
13598
|
-
onCustomAnchorRemove:e.useCallback((()=>d(!1)),[]),modal:l},r))},
|
|
13599
|
-
const{__scopePopover:n,forceMount:r,children:o,container:a}=t,i=
|
|
13600
|
-
;return e.createElement(
|
|
13609
|
+
onCustomAnchorRemove:e.useCallback((()=>d(!1)),[]),modal:l},r))},vF=aF,gF=t=>{
|
|
13610
|
+
const{__scopePopover:n,forceMount:r,children:o,container:a}=t,i=oF(iF,n)
|
|
13611
|
+
;return e.createElement(lF,{scope:n,forceMount:r},e.createElement(z,{
|
|
13601
13612
|
present:r||i.open},e.createElement(Ih,{asChild:!0,container:a},o)))
|
|
13602
|
-
},
|
|
13613
|
+
},yF=e.forwardRef(((t,n)=>{const{__scopePopover:r,...o}=t,i=oF("PopoverClose",r)
|
|
13603
13614
|
;return e.createElement(b.button,a({type:"button"},o,{ref:n,
|
|
13604
|
-
onClick:v(t.onClick,(()=>i.onOpenChange(!1)))}))})),
|
|
13605
|
-
const{__scopePopover:r,...o}=t,i=
|
|
13606
|
-
}))})),
|
|
13615
|
+
onClick:v(t.onClick,(()=>i.onOpenChange(!1)))}))})),bF=e.forwardRef(((t,n)=>{
|
|
13616
|
+
const{__scopePopover:r,...o}=t,i=nF(r);return e.createElement(Ph,a({},i,o,{ref:n
|
|
13617
|
+
}))})),wF=yr(uF)`
|
|
13607
13618
|
background: ${({theme:e})=>e.colors.fill.surface};
|
|
13608
13619
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
13609
13620
|
border-radius: 8px;
|
|
@@ -13632,25 +13643,25 @@ const{__scopePopover:r,...o}=t,i=eF(r);return e.createElement(Ph,a({},i,o,{ref:n
|
|
|
13632
13643
|
${({theme:e})=>"dark"===e.mode&&mr`
|
|
13633
13644
|
border: 1px solid ${e.colors.border.light};
|
|
13634
13645
|
`}
|
|
13635
|
-
`,
|
|
13646
|
+
`,CF=yr(bF)`
|
|
13636
13647
|
fill: ${({theme:e})=>e.colors.fill.surface};
|
|
13637
|
-
`,
|
|
13648
|
+
`,zF=yr(mF)``,MF=yr(vF)``,xF=yr(gF)``,EF=yr(yF)``,SF=({children:t,trigger:n,arrow:r,hoverOutToClose:o,align:a,hoverToOpen:i,avoidCollisions:l=!0,replaceTrigger:c=!1,side:s,disabled:u,onClose:d,popoverContentProps:h,popoverRootProps:p,anchorOrigin:f})=>{
|
|
13638
13649
|
const[m,v]=e.useState(!1),g=s??("bottom"===f?.vertical&&f.horizontal?"bottom":void 0)??("top"===f?.vertical&&f.horizontal?"top":void 0)??("center"===f?.vertical&&"left"===f.horizontal?"left":void 0)??("center"===f?.vertical&&"right"===f.horizontal?"right":void 0)??"bottom",y=cr()
|
|
13639
|
-
;return e.createElement(
|
|
13640
|
-
},c?e.createElement(e.Fragment,null,n):e.createElement(
|
|
13650
|
+
;return e.createElement(zF,{open:m,onOpenChange:e=>{v(e)},...p
|
|
13651
|
+
},c?e.createElement(e.Fragment,null,n):e.createElement(MF,{dir:y.direction,
|
|
13641
13652
|
asChild:!0,className:"PopoverTrigger",disabled:u},e.createElement(No,{
|
|
13642
13653
|
className:"TriggerButtonWrapper",onMouseEnter:()=>{i&&v(!0)}
|
|
13643
|
-
},n)),e.createElement(
|
|
13654
|
+
},n)),e.createElement(xF,null,e.createElement(wF,{forceMount:!0,
|
|
13644
13655
|
className:"PopoverContent","data-popover-content":!0,dir:y.direction,
|
|
13645
13656
|
onMouseLeave:()=>{o&&(v(!1),d?.())},onInteractOutside:()=>{v(!1),d?.()},side:g,
|
|
13646
|
-
align:a,sideOffset:8,avoidCollisions:l,...h},t,r&&e.createElement(
|
|
13647
|
-
},
|
|
13657
|
+
align:a,sideOffset:8,avoidCollisions:l,...h},t,r&&e.createElement(CF,null))))
|
|
13658
|
+
},_F=yr.div`
|
|
13648
13659
|
direction: ${({theme:e})=>e.direction};
|
|
13649
|
-
`,
|
|
13660
|
+
`,HF=yr(wg)`
|
|
13650
13661
|
display: flex;
|
|
13651
13662
|
flex-direction: column;
|
|
13652
13663
|
gap: 4px;
|
|
13653
|
-
`,
|
|
13664
|
+
`,DF=yr(zg)`
|
|
13654
13665
|
display: flex;
|
|
13655
13666
|
align-items: center;
|
|
13656
13667
|
justify-content: center;
|
|
@@ -13665,7 +13676,7 @@ align:a,sideOffset:8,avoidCollisions:l,...h},t,r&&e.createElement(bF,null))))
|
|
|
13665
13676
|
border-radius: 50%;
|
|
13666
13677
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.common.black:e.colors.common.white};
|
|
13667
13678
|
}
|
|
13668
|
-
`,
|
|
13679
|
+
`,kF=yr(Cg)`
|
|
13669
13680
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.common.black:e.colors.common.white};
|
|
13670
13681
|
width: 14px;
|
|
13671
13682
|
height: 14px;
|
|
@@ -13687,74 +13698,74 @@ align:a,sideOffset:8,avoidCollisions:l,...h},t,r&&e.createElement(bF,null))))
|
|
|
13687
13698
|
&:hover:not([data-disabled]) {
|
|
13688
13699
|
box-shadow: 0 0 0 3px ${({theme:e})=>e.colors.border.hover}30;
|
|
13689
13700
|
}
|
|
13690
|
-
`,
|
|
13701
|
+
`,AF=yr.div`
|
|
13691
13702
|
display: flex;
|
|
13692
13703
|
align-items: center;
|
|
13693
13704
|
direction: ${({theme:e})=>e.direction};
|
|
13694
13705
|
`
|
|
13695
|
-
;const
|
|
13696
|
-
;function
|
|
13697
|
-
;return"[object Window]"===t||"[object global]"===t}function
|
|
13698
|
-
return"nodeType"in e}function
|
|
13699
|
-
;return e?
|
|
13700
|
-
}function
|
|
13701
|
-
return!
|
|
13702
|
-
return e instanceof
|
|
13703
|
-
return e?
|
|
13704
|
-
}const
|
|
13705
|
-
;return
|
|
13706
|
+
;const LF="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement
|
|
13707
|
+
;function VF(e){const t=Object.prototype.toString.call(e)
|
|
13708
|
+
;return"[object Window]"===t||"[object global]"===t}function TF(e){
|
|
13709
|
+
return"nodeType"in e}function RF(e){var t,n
|
|
13710
|
+
;return e?VF(e)?e:TF(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window
|
|
13711
|
+
}function PF(e){const{Document:t}=RF(e);return e instanceof t}function IF(e){
|
|
13712
|
+
return!VF(e)&&e instanceof RF(e).HTMLElement}function OF(e){
|
|
13713
|
+
return e instanceof RF(e).SVGElement}function NF(e){
|
|
13714
|
+
return e?VF(e)?e.document:TF(e)?PF(e)?e:IF(e)||OF(e)?e.ownerDocument:document:document:document
|
|
13715
|
+
}const FF=LF?e.useLayoutEffect:e.useEffect;function $F(t){const n=e.useRef(t)
|
|
13716
|
+
;return FF((()=>{n.current=t})),e.useCallback((function(){
|
|
13706
13717
|
for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r]
|
|
13707
|
-
;return null==n.current?void 0:n.current(...t)}),[])}function
|
|
13708
|
-
void 0===n&&(n=[t]);const r=e.useRef(t);return
|
|
13709
|
-
r.current!==t&&(r.current=t)}),n),r}function
|
|
13718
|
+
;return null==n.current?void 0:n.current(...t)}),[])}function BF(t,n){
|
|
13719
|
+
void 0===n&&(n=[t]);const r=e.useRef(t);return FF((()=>{
|
|
13720
|
+
r.current!==t&&(r.current=t)}),n),r}function jF(t,n){const r=e.useRef()
|
|
13710
13721
|
;return e.useMemo((()=>{const e=t(r.current);return r.current=e,e}),[...n])}
|
|
13711
|
-
function
|
|
13722
|
+
function UF(t){const n=$F(t),r=e.useRef(null),o=e.useCallback((e=>{
|
|
13712
13723
|
e!==r.current&&(null==n||n(e,r.current)),r.current=e}),[]);return[r,o]}
|
|
13713
|
-
function
|
|
13714
|
-
}),[t]),n.current}let
|
|
13715
|
-
if(n)return n;const e=null==
|
|
13716
|
-
function
|
|
13724
|
+
function YF(t){const n=e.useRef();return e.useEffect((()=>{n.current=t
|
|
13725
|
+
}),[t]),n.current}let WF={};function GF(t,n){return e.useMemo((()=>{
|
|
13726
|
+
if(n)return n;const e=null==WF[t]?0:WF[t]+1;return WF[t]=e,t+"-"+e}),[t,n])}
|
|
13727
|
+
function KF(e){return function(t){
|
|
13717
13728
|
for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o]
|
|
13718
13729
|
;return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){
|
|
13719
|
-
const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const
|
|
13720
|
-
;function
|
|
13721
|
-
;return t&&e instanceof t}function
|
|
13722
|
-
;const{TouchEvent:t}=
|
|
13730
|
+
const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const qF=KF(1),ZF=KF(-1)
|
|
13731
|
+
;function XF(e){if(!e)return!1;const{KeyboardEvent:t}=RF(e.target)
|
|
13732
|
+
;return t&&e instanceof t}function JF(e){if(function(e){if(!e)return!1
|
|
13733
|
+
;const{TouchEvent:t}=RF(e.target);return t&&e instanceof t}(e)){
|
|
13723
13734
|
if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{
|
|
13724
13735
|
x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){
|
|
13725
13736
|
const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}
|
|
13726
13737
|
return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,
|
|
13727
|
-
y:e.clientY}:null}const
|
|
13738
|
+
y:e.clientY}:null}const QF=Object.freeze({Translate:{toString(e){if(!e)return
|
|
13728
13739
|
;const{x:t,y:n}=e
|
|
13729
13740
|
;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},
|
|
13730
13741
|
Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e
|
|
13731
13742
|
;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){
|
|
13732
|
-
if(e)return[
|
|
13743
|
+
if(e)return[QF.Translate.toString(e),QF.Scale.toString(e)].join(" ")}},
|
|
13733
13744
|
Transition:{toString(e){let{property:t,duration:n,easing:r}=e
|
|
13734
13745
|
;return t+" "+n+"ms "+r}}
|
|
13735
|
-
}),
|
|
13736
|
-
;function
|
|
13737
|
-
display:"none"};function
|
|
13738
|
-
;return e.createElement("div",{id:n,style:
|
|
13746
|
+
}),e$="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]"
|
|
13747
|
+
;function t$(e){return e.matches(e$)?e:e.querySelector(e$)}const n$={
|
|
13748
|
+
display:"none"};function r$(t){let{id:n,value:r}=t
|
|
13749
|
+
;return e.createElement("div",{id:n,style:n$},r)}function o$(t){
|
|
13739
13750
|
let{id:n,announcement:r,ariaLiveType:o="assertive"}=t
|
|
13740
13751
|
;return e.createElement("div",{id:n,style:{position:"fixed",width:1,height:1,
|
|
13741
13752
|
margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",
|
|
13742
13753
|
clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,
|
|
13743
|
-
"aria-atomic":!0},r)}const
|
|
13754
|
+
"aria-atomic":!0},r)}const a$=e.createContext(null);const i$={
|
|
13744
13755
|
draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "
|
|
13745
|
-
},
|
|
13756
|
+
},l$={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."
|
|
13746
13757
|
},onDragOver(e){let{active:t,over:n}=e
|
|
13747
13758
|
;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."
|
|
13748
13759
|
},onDragEnd(e){let{active:t,over:n}=e
|
|
13749
13760
|
;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."
|
|
13750
13761
|
},onDragCancel(e){let{active:t}=e
|
|
13751
13762
|
;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}}
|
|
13752
|
-
;function
|
|
13753
|
-
let{announcements:r=
|
|
13763
|
+
;function c$(n){
|
|
13764
|
+
let{announcements:r=l$,container:o,hiddenTextDescribedById:a,screenReaderInstructions:i=i$}=n
|
|
13754
13765
|
;const{announce:l,announcement:c}=function(){const[t,n]=e.useState("");return{
|
|
13755
13766
|
announce:e.useCallback((e=>{null!=e&&n(e)}),[]),announcement:t}
|
|
13756
|
-
}(),s=
|
|
13757
|
-
function(t){const n=e.useContext(
|
|
13767
|
+
}(),s=GF("DndLiveRegion"),[u,d]=e.useState(!1);if(e.useEffect((()=>{d(!0)}),[]),
|
|
13768
|
+
function(t){const n=e.useContext(a$);e.useEffect((()=>{
|
|
13758
13769
|
if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>")
|
|
13759
13770
|
;return n(t)}),[t,n])}(e.useMemo((()=>({onDragStart(e){let{active:t}=e
|
|
13760
13771
|
;l(r.onDragStart({active:t}))},onDragMove(e){let{active:t,over:n}=e
|
|
@@ -13763,42 +13774,42 @@ let{active:t,over:n}=e;l(r.onDragOver({active:t,over:n}))},onDragEnd(e){
|
|
|
13763
13774
|
let{active:t,over:n}=e;l(r.onDragEnd({active:t,over:n}))},onDragCancel(e){
|
|
13764
13775
|
let{active:t,over:n}=e;l(r.onDragCancel({active:t,over:n}))}
|
|
13765
13776
|
})),[l,r])),!u)return null
|
|
13766
|
-
;const h=e.createElement(e.Fragment,null,e.createElement(
|
|
13767
|
-
value:i.draggable}),e.createElement(
|
|
13768
|
-
;return o?t.createPortal(h,o):h}var
|
|
13777
|
+
;const h=e.createElement(e.Fragment,null,e.createElement(r$,{id:a,
|
|
13778
|
+
value:i.draggable}),e.createElement(o$,{id:s,announcement:c}))
|
|
13779
|
+
;return o?t.createPortal(h,o):h}var s$;function u$(){}function d$(t,n){
|
|
13769
13780
|
return e.useMemo((()=>({sensor:t,options:null!=n?n:{}})),[t,n])}!function(e){
|
|
13770
13781
|
e.DragStart="dragStart",
|
|
13771
13782
|
e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",
|
|
13772
13783
|
e.DragOver="dragOver",
|
|
13773
13784
|
e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",
|
|
13774
|
-
e.UnregisterDroppable="unregisterDroppable"}(
|
|
13775
|
-
;const
|
|
13776
|
-
return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function
|
|
13777
|
-
let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function
|
|
13778
|
-
let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function
|
|
13785
|
+
e.UnregisterDroppable="unregisterDroppable"}(s$||(s$={}))
|
|
13786
|
+
;const h$=Object.freeze({x:0,y:0});function p$(e,t){
|
|
13787
|
+
return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function f$(e,t){
|
|
13788
|
+
let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function m$(e,t){
|
|
13789
|
+
let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function v$(e){
|
|
13779
13790
|
let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{
|
|
13780
|
-
x:t+o,y:n+r}]}function
|
|
13781
|
-
;return t?n[t]:n}function
|
|
13791
|
+
x:t+o,y:n+r}]}function g$(e,t){if(!e||0===e.length)return null;const[n]=e
|
|
13792
|
+
;return t?n[t]:n}function y$(e,t,n){
|
|
13782
13793
|
return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,
|
|
13783
|
-
y:n+.5*e.height}}const
|
|
13794
|
+
y:n+.5*e.height}}const b$=e=>{
|
|
13784
13795
|
let{collisionRect:t,droppableRects:n,droppableContainers:r}=e
|
|
13785
|
-
;const o=
|
|
13786
|
-
;if(r){const n=
|
|
13787
|
-
return a.sort(
|
|
13796
|
+
;const o=y$(t,t.left,t.top),a=[];for(const e of r){const{id:t}=e,r=n.get(t)
|
|
13797
|
+
;if(r){const n=p$(y$(r),o);a.push({id:t,data:{droppableContainer:e,value:n}})}}
|
|
13798
|
+
return a.sort(f$)};function w$(e,t){
|
|
13788
13799
|
const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),i=o-r,l=a-n
|
|
13789
13800
|
;if(r<o&&n<a){const n=t.width*t.height,r=e.width*e.height,o=i*l
|
|
13790
|
-
;return Number((o/(n+r-o)).toFixed(4))}return 0}const
|
|
13801
|
+
;return Number((o/(n+r-o)).toFixed(4))}return 0}const C$=e=>{
|
|
13791
13802
|
let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[]
|
|
13792
|
-
;for(const e of r){const{id:r}=e,a=n.get(r);if(a){const n=
|
|
13793
|
-
id:r,data:{droppableContainer:e,value:n}})}}return o.sort(
|
|
13794
|
-
return e&&t?{x:e.left-t.left,y:e.top-t.top}:
|
|
13803
|
+
;for(const e of r){const{id:r}=e,a=n.get(r);if(a){const n=w$(a,t);n>0&&o.push({
|
|
13804
|
+
id:r,data:{droppableContainer:e,value:n}})}}return o.sort(m$)};function z$(e,t){
|
|
13805
|
+
return e&&t?{x:e.left-t.left,y:e.top-t.top}:h$}function M$(e){
|
|
13795
13806
|
return function(t){
|
|
13796
13807
|
for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o]
|
|
13797
13808
|
;return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,
|
|
13798
|
-
left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const
|
|
13799
|
-
ignoreTransform:!1};function
|
|
13809
|
+
left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const x$=M$(1);const E$={
|
|
13810
|
+
ignoreTransform:!1};function S$(e,t){void 0===t&&(t=E$)
|
|
13800
13811
|
;let n=e.getBoundingClientRect();if(t.ignoreTransform){
|
|
13801
|
-
const{transform:t,transformOrigin:r}=
|
|
13812
|
+
const{transform:t,transformOrigin:r}=RF(e).getComputedStyle(e)
|
|
13802
13813
|
;t&&(n=function(e,t,n){const r=function(e){if(e.startsWith("matrix3d(")){
|
|
13803
13814
|
const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],
|
|
13804
13815
|
scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /)
|
|
@@ -13807,116 +13818,116 @@ scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /)
|
|
|
13807
13818
|
;const{scaleX:o,scaleY:a,x:i,y:l}=r,c=e.left-i-(1-o)*parseFloat(n),s=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=a?e.height/a:e.height
|
|
13808
13819
|
;return{width:u,height:d,top:s,right:c+u,bottom:s+d,left:c}}(n,t,r))}
|
|
13809
13820
|
const{top:r,left:o,width:a,height:i,bottom:l,right:c}=n;return{top:r,left:o,
|
|
13810
|
-
width:a,height:i,bottom:l,right:c}}function
|
|
13811
|
-
ignoreTransform:!0})}function
|
|
13821
|
+
width:a,height:i,bottom:l,right:c}}function _$(e){return S$(e,{
|
|
13822
|
+
ignoreTransform:!0})}function H$(e,t){const n=[];return e?function r(o){
|
|
13812
13823
|
if(null!=t&&n.length>=t)return n;if(!o)return n
|
|
13813
|
-
;if(
|
|
13814
|
-
n;if(!
|
|
13815
|
-
;const a=
|
|
13816
|
-
void 0===t&&(t=
|
|
13824
|
+
;if(PF(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),
|
|
13825
|
+
n;if(!IF(o)||OF(o))return n;if(n.includes(o))return n
|
|
13826
|
+
;const a=RF(e).getComputedStyle(o);return o!==e&&function(e,t){
|
|
13827
|
+
void 0===t&&(t=RF(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/
|
|
13817
13828
|
;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e]
|
|
13818
13829
|
;return"string"==typeof r&&n.test(r)}))}(o,a)&&n.push(o),function(e,t){
|
|
13819
|
-
return void 0===t&&(t=
|
|
13820
|
-
}(o,a)?n:r(o.parentNode)}(e):n}function
|
|
13821
|
-
;return null!=t?t:null}function
|
|
13822
|
-
return
|
|
13823
|
-
}function
|
|
13824
|
-
return
|
|
13825
|
-
;function
|
|
13826
|
-
const t={x:0,y:0},n=
|
|
13830
|
+
return void 0===t&&(t=RF(e).getComputedStyle(e)),"fixed"===t.position
|
|
13831
|
+
}(o,a)?n:r(o.parentNode)}(e):n}function D$(e){const[t]=H$(e,1)
|
|
13832
|
+
;return null!=t?t:null}function k$(e){
|
|
13833
|
+
return LF&&e?VF(e)?e:TF(e)?PF(e)||e===NF(e).scrollingElement?window:IF(e)?e:null:null:null
|
|
13834
|
+
}function A$(e){return VF(e)?e.scrollX:e.scrollLeft}function L$(e){
|
|
13835
|
+
return VF(e)?e.scrollY:e.scrollTop}function V$(e){return{x:A$(e),y:L$(e)}}var T$
|
|
13836
|
+
;function R$(e){return!(!LF||!e)&&e===document.scrollingElement}function P$(e){
|
|
13837
|
+
const t={x:0,y:0},n=R$(e)?{height:window.innerHeight,width:window.innerWidth}:{
|
|
13827
13838
|
height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,
|
|
13828
13839
|
y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,
|
|
13829
13840
|
isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,
|
|
13830
13841
|
maxScroll:r,minScroll:t}}!function(e){
|
|
13831
|
-
e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(
|
|
13832
|
-
x:.2,y:.2};function
|
|
13833
|
-
;void 0===r&&(r=10),void 0===o&&(o=
|
|
13834
|
-
;const{isTop:s,isBottom:u,isLeft:d,isRight:h}=
|
|
13842
|
+
e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(T$||(T$={}));const I$={
|
|
13843
|
+
x:.2,y:.2};function O$(e,t,n,r,o){let{top:a,left:i,right:l,bottom:c}=n
|
|
13844
|
+
;void 0===r&&(r=10),void 0===o&&(o=I$)
|
|
13845
|
+
;const{isTop:s,isBottom:u,isLeft:d,isRight:h}=P$(e),p={x:0,y:0},f={x:0,y:0
|
|
13835
13846
|
},m=t.height*o.y,v=t.width*o.x
|
|
13836
|
-
;return!s&&a<=t.top+m?(p.y=
|
|
13847
|
+
;return!s&&a<=t.top+m?(p.y=T$.Backward,f.y=r*Math.abs((t.top+m-a)/m)):!u&&c>=t.bottom-m&&(p.y=T$.Forward,
|
|
13837
13848
|
f.y=r*Math.abs((t.bottom-m-c)/m)),
|
|
13838
|
-
!h&&l>=t.right-v?(p.x=
|
|
13839
|
-
f.x=r*Math.abs((t.left+v-i)/v)),{direction:p,speed:f}}function
|
|
13849
|
+
!h&&l>=t.right-v?(p.x=T$.Forward,f.x=r*Math.abs((t.right-v-l)/v)):!d&&i<=t.left+v&&(p.x=T$.Backward,
|
|
13850
|
+
f.x=r*Math.abs((t.left+v-i)/v)),{direction:p,speed:f}}function N$(e){
|
|
13840
13851
|
if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window
|
|
13841
13852
|
;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}
|
|
13842
13853
|
const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,
|
|
13843
13854
|
left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}
|
|
13844
|
-
function
|
|
13845
|
-
const
|
|
13846
|
-
}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+
|
|
13847
|
-
;class
|
|
13855
|
+
function F$(e){return e.reduce(((e,t)=>qF(e,V$(t))),h$)}
|
|
13856
|
+
const $$=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+A$(t)),0)
|
|
13857
|
+
}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+L$(t)),0)}]]
|
|
13858
|
+
;class B${constructor(e,t){
|
|
13848
13859
|
this.rect=void 0,this.width=void 0,this.height=void 0,
|
|
13849
13860
|
this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0
|
|
13850
|
-
;const n=
|
|
13851
|
-
;for(const[e,t,o]of
|
|
13861
|
+
;const n=H$(t),r=F$(n);this.rect={...e},this.width=e.width,this.height=e.height
|
|
13862
|
+
;for(const[e,t,o]of $$)for(const a of t)Object.defineProperty(this,a,{get:()=>{
|
|
13852
13863
|
const t=o(n),i=r[e]-t;return this.rect[a]+i},enumerable:!0})
|
|
13853
|
-
;Object.defineProperty(this,"rect",{enumerable:!1})}}class
|
|
13864
|
+
;Object.defineProperty(this,"rect",{enumerable:!1})}}class j${constructor(e){
|
|
13854
13865
|
this.target=void 0,this.listeners=[],this.removeAll=()=>{
|
|
13855
13866
|
this.listeners.forEach((e=>{var t
|
|
13856
13867
|
;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))
|
|
13857
13868
|
},this.target=e}add(e,t,n){var r
|
|
13858
13869
|
;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}
|
|
13859
|
-
function
|
|
13870
|
+
function U$(e,t){const n=Math.abs(e.x),r=Math.abs(e.y)
|
|
13860
13871
|
;return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y
|
|
13861
|
-
}var
|
|
13872
|
+
}var Y$,W$;function G$(e){e.preventDefault()}function K$(e){e.stopPropagation()}
|
|
13862
13873
|
!function(e){
|
|
13863
13874
|
e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",
|
|
13864
13875
|
e.Resize="resize",
|
|
13865
13876
|
e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"
|
|
13866
|
-
}(
|
|
13877
|
+
}(Y$||(Y$={})),function(e){
|
|
13867
13878
|
e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",
|
|
13868
|
-
e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(
|
|
13869
|
-
;const
|
|
13870
|
-
},
|
|
13871
|
-
...n,x:n.x+25};case
|
|
13872
|
-
y:n.y+25};case
|
|
13879
|
+
e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(W$||(W$={}))
|
|
13880
|
+
;const q$={start:[W$.Space,W$.Enter],cancel:[W$.Esc],end:[W$.Space,W$.Enter]
|
|
13881
|
+
},Z$=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case W$.Right:return{
|
|
13882
|
+
...n,x:n.x+25};case W$.Left:return{...n,x:n.x-25};case W$.Down:return{...n,
|
|
13883
|
+
y:n.y+25};case W$.Up:return{...n,y:n.y-25}}};class X${constructor(e){
|
|
13873
13884
|
this.props=void 0,
|
|
13874
13885
|
this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,
|
|
13875
13886
|
this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,
|
|
13876
|
-
this.listeners=new
|
|
13877
|
-
this.windowListeners=new
|
|
13887
|
+
this.listeners=new j$(NF(t)),
|
|
13888
|
+
this.windowListeners=new j$(RF(t)),this.handleKeyDown=this.handleKeyDown.bind(this),
|
|
13878
13889
|
this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){
|
|
13879
13890
|
this.handleStart(),
|
|
13880
|
-
this.windowListeners.add(
|
|
13881
|
-
setTimeout((()=>this.listeners.add(
|
|
13891
|
+
this.windowListeners.add(Y$.Resize,this.handleCancel),this.windowListeners.add(Y$.VisibilityChange,this.handleCancel),
|
|
13892
|
+
setTimeout((()=>this.listeners.add(Y$.Keydown,this.handleKeyDown)))}
|
|
13882
13893
|
handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current
|
|
13883
|
-
;n&&function(e,t){if(void 0===t&&(t=
|
|
13894
|
+
;n&&function(e,t){if(void 0===t&&(t=S$),!e)return
|
|
13884
13895
|
;const{top:n,left:r,bottom:o,right:a}=t(e)
|
|
13885
|
-
;
|
|
13886
|
-
block:"center",inline:"center"})}(n),t(
|
|
13887
|
-
const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=
|
|
13896
|
+
;D$(e)&&(o<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({
|
|
13897
|
+
block:"center",inline:"center"})}(n),t(h$)}handleKeyDown(e){if(XF(e)){
|
|
13898
|
+
const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=q$,coordinateGetter:a=Z$,scrollBehavior:i="smooth"}=r,{code:l}=e
|
|
13888
13899
|
;if(o.end.includes(l))return void this.handleEnd(e)
|
|
13889
13900
|
;if(o.cancel.includes(l))return void this.handleCancel(e)
|
|
13890
|
-
;const{collisionRect:c}=n.current,s=c?{x:c.left,y:c.top}:
|
|
13901
|
+
;const{collisionRect:c}=n.current,s=c?{x:c.left,y:c.top}:h$
|
|
13891
13902
|
;this.referenceCoordinates||(this.referenceCoordinates=s);const u=a(e,{active:t,
|
|
13892
|
-
context:n.current,currentCoordinates:s});if(u){const t=
|
|
13903
|
+
context:n.current,currentCoordinates:s});if(u){const t=ZF(u,s),r={x:0,y:0
|
|
13893
13904
|
},{scrollableAncestors:o}=n.current;for(const n of o){
|
|
13894
|
-
const o=e.code,{isTop:a,isRight:l,isLeft:c,isBottom:s,maxScroll:d,minScroll:h}=
|
|
13895
|
-
x:Math.min(o===
|
|
13896
|
-
y:Math.min(o===
|
|
13897
|
-
},m=o===
|
|
13905
|
+
const o=e.code,{isTop:a,isRight:l,isLeft:c,isBottom:s,maxScroll:d,minScroll:h}=P$(n),p=N$(n),f={
|
|
13906
|
+
x:Math.min(o===W$.Right?p.right-p.width/2:p.right,Math.max(o===W$.Right?p.left:p.left+p.width/2,u.x)),
|
|
13907
|
+
y:Math.min(o===W$.Down?p.bottom-p.height/2:p.bottom,Math.max(o===W$.Down?p.top:p.top+p.height/2,u.y))
|
|
13908
|
+
},m=o===W$.Right&&!l||o===W$.Left&&!c,v=o===W$.Down&&!s||o===W$.Up&&!a
|
|
13898
13909
|
;if(m&&f.x!==u.x){
|
|
13899
|
-
const e=n.scrollLeft+t.x,a=o===
|
|
13910
|
+
const e=n.scrollLeft+t.x,a=o===W$.Right&&e<=d.x||o===W$.Left&&e>=h.x
|
|
13900
13911
|
;if(a&&!t.y)return void n.scrollTo({left:e,behavior:i})
|
|
13901
|
-
;r.x=a?n.scrollLeft-e:o===
|
|
13912
|
+
;r.x=a?n.scrollLeft-e:o===W$.Right?n.scrollLeft-d.x:n.scrollLeft-h.x,
|
|
13902
13913
|
r.x&&n.scrollBy({left:-r.x,behavior:i});break}if(v&&f.y!==u.y){
|
|
13903
|
-
const e=n.scrollTop+t.y,a=o===
|
|
13914
|
+
const e=n.scrollTop+t.y,a=o===W$.Down&&e<=d.y||o===W$.Up&&e>=h.y
|
|
13904
13915
|
;if(a&&!t.x)return void n.scrollTo({top:e,behavior:i})
|
|
13905
|
-
;r.y=a?n.scrollTop-e:o===
|
|
13916
|
+
;r.y=a?n.scrollTop-e:o===W$.Down?n.scrollTop-d.y:n.scrollTop-h.y,
|
|
13906
13917
|
r.y&&n.scrollBy({top:-r.y,behavior:i});break}}
|
|
13907
|
-
this.handleMove(e,
|
|
13918
|
+
this.handleMove(e,qF(ZF(u,this.referenceCoordinates),r))}}}handleMove(e,t){
|
|
13908
13919
|
const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){
|
|
13909
13920
|
const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){
|
|
13910
13921
|
const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){
|
|
13911
|
-
this.listeners.removeAll(),this.windowListeners.removeAll()}}function
|
|
13912
|
-
return Boolean(e&&"distance"in e)}function
|
|
13913
|
-
|
|
13914
|
-
let{keyboardCodes:r=
|
|
13922
|
+
this.listeners.removeAll(),this.windowListeners.removeAll()}}function J$(e){
|
|
13923
|
+
return Boolean(e&&"distance"in e)}function Q$(e){return Boolean(e&&"delay"in e)}
|
|
13924
|
+
X$.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{
|
|
13925
|
+
let{keyboardCodes:r=q$,onActivation:o}=t,{active:a}=n
|
|
13915
13926
|
;const{code:i}=e.nativeEvent;if(r.start.includes(i)){
|
|
13916
13927
|
const t=a.activatorNode.current
|
|
13917
13928
|
;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent
|
|
13918
|
-
}),!0)}return!1}}];class
|
|
13919
|
-
const{EventTarget:t}=
|
|
13929
|
+
}),!0)}return!1}}];class eB{constructor(e,t,n){var r;void 0===n&&(n=function(e){
|
|
13930
|
+
const{EventTarget:t}=RF(e);return e instanceof t?e:NF(e)
|
|
13920
13931
|
}(e.event.target)),this.props=void 0,
|
|
13921
13932
|
this.events=void 0,this.autoScrollEnabled=!0,
|
|
13922
13933
|
this.document=void 0,this.activated=!1,
|
|
@@ -13924,9 +13935,9 @@ this.initialCoordinates=void 0,this.timeoutId=null,
|
|
|
13924
13935
|
this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,
|
|
13925
13936
|
this.props=e,this.events=t;const{event:o}=e,{target:a}=o
|
|
13926
13937
|
;this.props=e,this.events=t,
|
|
13927
|
-
this.document=
|
|
13928
|
-
this.listeners=new
|
|
13929
|
-
this.windowListeners=new
|
|
13938
|
+
this.document=NF(a),this.documentListeners=new j$(this.document),
|
|
13939
|
+
this.listeners=new j$(n),
|
|
13940
|
+
this.windowListeners=new j$(RF(a)),this.initialCoordinates=null!=(r=JF(o))?r:h$,
|
|
13930
13941
|
this.handleStart=this.handleStart.bind(this),
|
|
13931
13942
|
this.handleMove=this.handleMove.bind(this),
|
|
13932
13943
|
this.handleEnd=this.handleEnd.bind(this),
|
|
@@ -13937,184 +13948,184 @@ attach(){
|
|
|
13937
13948
|
const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this
|
|
13938
13949
|
;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1
|
|
13939
13950
|
}),this.listeners.add(e.end.name,this.handleEnd),
|
|
13940
|
-
this.windowListeners.add(
|
|
13941
|
-
this.windowListeners.add(
|
|
13942
|
-
this.windowListeners.add(
|
|
13943
|
-
this.windowListeners.add(
|
|
13944
|
-
this.documentListeners.add(
|
|
13951
|
+
this.windowListeners.add(Y$.Resize,this.handleCancel),
|
|
13952
|
+
this.windowListeners.add(Y$.DragStart,G$),
|
|
13953
|
+
this.windowListeners.add(Y$.VisibilityChange,this.handleCancel),
|
|
13954
|
+
this.windowListeners.add(Y$.ContextMenu,G$),
|
|
13955
|
+
this.documentListeners.add(Y$.Keydown,this.handleKeydown),t){if(null!=n&&n({
|
|
13945
13956
|
event:this.props.event,activeNode:this.props.activeNode,
|
|
13946
13957
|
options:this.props.options}))return this.handleStart()
|
|
13947
|
-
;if(
|
|
13948
|
-
;if(
|
|
13958
|
+
;if(Q$(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))
|
|
13959
|
+
;if(J$(t))return}this.handleStart()}detach(){
|
|
13949
13960
|
this.listeners.removeAll(),this.windowListeners.removeAll(),
|
|
13950
13961
|
setTimeout(this.documentListeners.removeAll,50),
|
|
13951
13962
|
null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}
|
|
13952
13963
|
handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props
|
|
13953
|
-
;e&&(this.activated=!0,this.documentListeners.add(
|
|
13964
|
+
;e&&(this.activated=!0,this.documentListeners.add(Y$.Click,K$,{capture:!0
|
|
13954
13965
|
}),this.removeTextSelection(),
|
|
13955
|
-
this.documentListeners.add(
|
|
13966
|
+
this.documentListeners.add(Y$.SelectionChange,this.removeTextSelection),t(e))}
|
|
13956
13967
|
handleMove(e){var t
|
|
13957
13968
|
;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:i}}=o
|
|
13958
|
-
;if(!r)return;const l=null!=(t=
|
|
13959
|
-
if(null!=i.tolerance&&
|
|
13960
|
-
;if(
|
|
13961
|
-
return
|
|
13969
|
+
;if(!r)return;const l=null!=(t=JF(e))?t:h$,c=ZF(r,l);if(!n&&i){if(J$(i)){
|
|
13970
|
+
if(null!=i.tolerance&&U$(c,i.tolerance))return this.handleCancel()
|
|
13971
|
+
;if(U$(c,i.distance))return this.handleStart()}
|
|
13972
|
+
return Q$(i)&&U$(c,i.tolerance)?this.handleCancel():void 0}
|
|
13962
13973
|
e.cancelable&&e.preventDefault(),a(l)}handleEnd(){const{onEnd:e}=this.props
|
|
13963
13974
|
;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()
|
|
13964
|
-
}handleKeydown(e){e.code===
|
|
13965
|
-
var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const
|
|
13966
|
-
move:{name:"pointermove"},end:{name:"pointerup"}};class
|
|
13967
|
-
constructor(e){const{event:t}=e,n=
|
|
13975
|
+
}handleKeydown(e){e.code===W$.Esc&&this.handleCancel()}removeTextSelection(){
|
|
13976
|
+
var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const tB={
|
|
13977
|
+
move:{name:"pointermove"},end:{name:"pointerup"}};class nB extends eB{
|
|
13978
|
+
constructor(e){const{event:t}=e,n=NF(t.target);super(e,tB,n)}}nB.activators=[{
|
|
13968
13979
|
eventName:"onPointerDown",handler:(e,t)=>{
|
|
13969
13980
|
let{nativeEvent:n}=e,{onActivation:r}=t
|
|
13970
|
-
;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const
|
|
13971
|
-
move:{name:"mousemove"},end:{name:"mouseup"}};var
|
|
13972
|
-
e[e.RightClick=2]="RightClick"}(
|
|
13973
|
-
super(e,
|
|
13981
|
+
;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const rB={
|
|
13982
|
+
move:{name:"mousemove"},end:{name:"mouseup"}};var oB;!function(e){
|
|
13983
|
+
e[e.RightClick=2]="RightClick"}(oB||(oB={}));class aB extends eB{constructor(e){
|
|
13984
|
+
super(e,rB,NF(e.event.target))}}aB.activators=[{eventName:"onMouseDown",
|
|
13974
13985
|
handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t
|
|
13975
|
-
;return n.button!==
|
|
13976
|
-
name:"touchmove"},end:{name:"touchend"}};class
|
|
13977
|
-
super(e,
|
|
13978
|
-
capture:!1,passive:!1}),function(){window.removeEventListener(
|
|
13979
|
-
;function e(){}}}var
|
|
13980
|
-
let{acceleration:n,activator:r=
|
|
13981
|
-
;const f=function(e){let{delta:t,disabled:n}=e;const r=
|
|
13982
|
-
if(n||!r||!e)return
|
|
13983
|
-
;return{x:{[
|
|
13984
|
-
[
|
|
13985
|
-
[
|
|
13986
|
+
;return n.button!==oB.RightClick&&(null==r||r({event:n}),!0)}}];const iB={move:{
|
|
13987
|
+
name:"touchmove"},end:{name:"touchend"}};class lB extends eB{constructor(e){
|
|
13988
|
+
super(e,iB)}static setup(){return window.addEventListener(iB.move.name,e,{
|
|
13989
|
+
capture:!1,passive:!1}),function(){window.removeEventListener(iB.move.name,e)}
|
|
13990
|
+
;function e(){}}}var cB,sB;function uB(t){
|
|
13991
|
+
let{acceleration:n,activator:r=cB.Pointer,canScroll:o,draggingRect:a,enabled:i,interval:l=5,order:c=sB.TreeOrder,pointerCoordinates:s,scrollableAncestors:u,scrollableAncestorRects:d,delta:h,threshold:p}=t
|
|
13992
|
+
;const f=function(e){let{delta:t,disabled:n}=e;const r=YF(t);return jF((e=>{
|
|
13993
|
+
if(n||!r||!e)return dB;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)}
|
|
13994
|
+
;return{x:{[T$.Backward]:e.x[T$.Backward]||-1===o.x,
|
|
13995
|
+
[T$.Forward]:e.x[T$.Forward]||1===o.x},y:{
|
|
13996
|
+
[T$.Backward]:e.y[T$.Backward]||-1===o.y,[T$.Forward]:e.y[T$.Forward]||1===o.y}}
|
|
13986
13997
|
}),[n,t,r])}({delta:h,disabled:!i}),[m,v]=function(){const t=e.useRef(null)
|
|
13987
13998
|
;return[e.useCallback(((e,n)=>{t.current=setInterval(e,n)
|
|
13988
13999
|
}),[]),e.useCallback((()=>{
|
|
13989
14000
|
null!==t.current&&(clearInterval(t.current),t.current=null)}),[])]
|
|
13990
14001
|
}(),g=e.useRef({x:0,y:0}),y=e.useRef({x:0,y:0}),b=e.useMemo((()=>{switch(r){
|
|
13991
|
-
case
|
|
13992
|
-
;case
|
|
14002
|
+
case cB.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null
|
|
14003
|
+
;case cB.DraggableRect:return a}
|
|
13993
14004
|
}),[r,a,s]),w=e.useRef(null),C=e.useCallback((()=>{const e=w.current
|
|
13994
14005
|
;if(!e)return;const t=g.current.x*y.current.x,n=g.current.y*y.current.y
|
|
13995
14006
|
;e.scrollBy(t,n)
|
|
13996
|
-
}),[]),z=e.useMemo((()=>c===
|
|
14007
|
+
}),[]),z=e.useMemo((()=>c===sB.TreeOrder?[...u].reverse():u),[c,u])
|
|
13997
14008
|
;e.useEffect((()=>{if(i&&u.length&&b){for(const e of z){
|
|
13998
14009
|
if(!1===(null==o?void 0:o(e)))continue;const t=u.indexOf(e),r=d[t]
|
|
13999
|
-
;if(!r)continue;const{direction:a,speed:i}=
|
|
14010
|
+
;if(!r)continue;const{direction:a,speed:i}=O$(e,r,b,n,p)
|
|
14000
14011
|
;for(const e of["x","y"])f[e][a[e]]||(i[e]=0,a[e]=0);if(i.x>0||i.y>0)return v(),
|
|
14001
14012
|
w.current=e,m(C,l),g.current=i,void(y.current=a)}g.current={x:0,y:0},y.current={
|
|
14002
14013
|
x:0,y:0},v()}else v()
|
|
14003
14014
|
}),[n,C,o,v,i,l,JSON.stringify(b),JSON.stringify(f),m,u,z,d,JSON.stringify(p)])}
|
|
14004
|
-
|
|
14015
|
+
lB.activators=[{eventName:"onTouchStart",handler:(e,t)=>{
|
|
14005
14016
|
let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n
|
|
14006
14017
|
;return!(o.length>1)&&(null==r||r({event:n}),!0)}}],function(e){
|
|
14007
14018
|
e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"
|
|
14008
|
-
}(
|
|
14019
|
+
}(cB||(cB={})),function(e){
|
|
14009
14020
|
e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"
|
|
14010
|
-
}(
|
|
14011
|
-
[
|
|
14021
|
+
}(sB||(sB={}));const dB={x:{[T$.Backward]:!1,[T$.Forward]:!1},y:{
|
|
14022
|
+
[T$.Backward]:!1,[T$.Forward]:!1}};var hB,pB;!function(e){
|
|
14012
14023
|
e[e.Always=0]="Always",
|
|
14013
14024
|
e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"
|
|
14014
|
-
}(
|
|
14015
|
-
;const
|
|
14016
|
-
return
|
|
14017
|
-
let{callback:n,disabled:r}=t;const o
|
|
14025
|
+
}(hB||(hB={})),function(e){e.Optimized="optimized"}(pB||(pB={}))
|
|
14026
|
+
;const fB=new Map;function mB(e,t){
|
|
14027
|
+
return jF((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function vB(t){
|
|
14028
|
+
let{callback:n,disabled:r}=t;const o=$F(n),a=e.useMemo((()=>{
|
|
14018
14029
|
if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return
|
|
14019
14030
|
;const{ResizeObserver:e}=window;return new e(o)}),[r])
|
|
14020
14031
|
;return e.useEffect((()=>()=>null==a?void 0:a.disconnect()),[a]),a}
|
|
14021
|
-
function
|
|
14032
|
+
function gB(e){return new B$(S$(e),e)}function yB(t,n,r){void 0===n&&(n=gB)
|
|
14022
14033
|
;const[o,a]=e.useReducer((function(e){if(!t)return null;var o
|
|
14023
14034
|
;if(!1===t.isConnected)return null!=(o=null!=e?e:r)?o:null;const a=n(t)
|
|
14024
14035
|
;if(JSON.stringify(e)===JSON.stringify(a))return e;return a
|
|
14025
14036
|
}),null),i=function(t){let{callback:n,disabled:r}=t
|
|
14026
|
-
;const o
|
|
14037
|
+
;const o=$F(n),a=e.useMemo((()=>{
|
|
14027
14038
|
if(r||"undefined"==typeof window||void 0===window.MutationObserver)return
|
|
14028
14039
|
;const{MutationObserver:e}=window;return new e(o)}),[o,r])
|
|
14029
14040
|
;return e.useEffect((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({
|
|
14030
14041
|
callback(e){if(t)for(const n of e){const{type:e,target:r}=n
|
|
14031
14042
|
;if("childList"===e&&r instanceof HTMLElement&&r.contains(t)){a();break}}}
|
|
14032
|
-
}),l=
|
|
14043
|
+
}),l=vB({callback:a});return FF((()=>{
|
|
14033
14044
|
a(),t?(null==l||l.observe(t),null==i||i.observe(document.body,{childList:!0,
|
|
14034
14045
|
subtree:!0})):(null==l||l.disconnect(),null==i||i.disconnect())}),[t]),o}
|
|
14035
|
-
const
|
|
14036
|
-
;return e.useEffect((()=>{r.current=null}),n),e.useEffect((()=>{const e=t!==
|
|
14046
|
+
const bB=[];function wB(t,n){void 0===n&&(n=[]);const r=e.useRef(null)
|
|
14047
|
+
;return e.useEffect((()=>{r.current=null}),n),e.useEffect((()=>{const e=t!==h$
|
|
14037
14048
|
;e&&!r.current&&(r.current=t),!e&&r.current&&(r.current=null)
|
|
14038
|
-
}),[t]),r.current?
|
|
14049
|
+
}),[t]),r.current?ZF(t,r.current):h$}function CB(t){
|
|
14039
14050
|
return e.useMemo((()=>t?function(e){const t=e.innerWidth,n=e.innerHeight;return{
|
|
14040
|
-
top:0,left:0,right:t,bottom:n,width:t,height:n}}(t):null),[t])}const
|
|
14041
|
-
;function
|
|
14051
|
+
top:0,left:0,right:t,bottom:n,width:t,height:n}}(t):null),[t])}const zB=[]
|
|
14052
|
+
;function MB(t){let{measure:n}=t
|
|
14042
14053
|
;const[r,o]=e.useState(null),a=e.useCallback((e=>{
|
|
14043
|
-
for(const{target:t}of e)if(
|
|
14044
|
-
width:r.width,height:r.height}:r}));break}}),[n]),i=
|
|
14054
|
+
for(const{target:t}of e)if(IF(t)){o((e=>{const r=n(t);return e?{...e,
|
|
14055
|
+
width:r.width,height:r.height}:r}));break}}),[n]),i=vB({callback:a
|
|
14045
14056
|
}),l=e.useCallback((e=>{const t=function(e){if(!e)return null
|
|
14046
|
-
;if(e.children.length>1)return e;const t=e.children[0];return
|
|
14057
|
+
;if(e.children.length>1)return e;const t=e.children[0];return IF(t)?t:e}(e)
|
|
14047
14058
|
;null==i||i.disconnect(),t&&(null==i||i.observe(t)),o(t?n(t):null)
|
|
14048
|
-
}),[n,i]),[c,s]=
|
|
14049
|
-
})),[r,c,s])}const
|
|
14050
|
-
current:{}},
|
|
14051
|
-
strategy:
|
|
14052
|
-
;class
|
|
14059
|
+
}),[n,i]),[c,s]=UF(l);return e.useMemo((()=>({nodeRef:c,rect:r,setRef:s
|
|
14060
|
+
})),[r,c,s])}const xB=[{sensor:nB,options:{}},{sensor:X$,options:{}}],EB={
|
|
14061
|
+
current:{}},SB={draggable:{measure:_$},droppable:{measure:_$,
|
|
14062
|
+
strategy:hB.WhileDragging,frequency:pB.Optimized},dragOverlay:{measure:S$}}
|
|
14063
|
+
;class _B extends Map{get(e){var t
|
|
14053
14064
|
;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){
|
|
14054
14065
|
return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{
|
|
14055
14066
|
let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n
|
|
14056
14067
|
;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}
|
|
14057
|
-
const
|
|
14068
|
+
const HB={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,
|
|
14058
14069
|
collisions:null,containerNodeRect:null,draggableNodes:new Map,
|
|
14059
|
-
droppableRects:new Map,droppableContainers:new
|
|
14060
|
-
nodeRef:{current:null},rect:null,setRef:
|
|
14061
|
-
scrollableAncestorRects:[],measuringConfiguration:
|
|
14062
|
-
measureDroppableContainers:
|
|
14070
|
+
droppableRects:new Map,droppableContainers:new _B,over:null,dragOverlay:{
|
|
14071
|
+
nodeRef:{current:null},rect:null,setRef:u$},scrollableAncestors:[],
|
|
14072
|
+
scrollableAncestorRects:[],measuringConfiguration:SB,
|
|
14073
|
+
measureDroppableContainers:u$,windowRect:null,measuringScheduled:!1},DB={
|
|
14063
14074
|
activatorEvent:null,activators:[],active:null,activeNodeRect:null,
|
|
14064
|
-
ariaDescribedById:{draggable:""},dispatch:
|
|
14065
|
-
measureDroppableContainers:
|
|
14066
|
-
;function
|
|
14067
|
-
nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new
|
|
14068
|
-
function
|
|
14075
|
+
ariaDescribedById:{draggable:""},dispatch:u$,draggableNodes:new Map,over:null,
|
|
14076
|
+
measureDroppableContainers:u$},kB=e.createContext(DB),AB=e.createContext(HB)
|
|
14077
|
+
;function LB(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},
|
|
14078
|
+
nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new _B}}}
|
|
14079
|
+
function VB(e,t){switch(t.type){case s$.DragStart:return{...e,draggable:{
|
|
14069
14080
|
...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}}
|
|
14070
|
-
;case
|
|
14081
|
+
;case s$.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,
|
|
14071
14082
|
translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,
|
|
14072
|
-
y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case
|
|
14073
|
-
case
|
|
14074
|
-
initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case
|
|
14075
|
-
const{element:n}=t,{id:r}=n,o=new
|
|
14076
|
-
...e,droppable:{...e.droppable,containers:o}}}case
|
|
14083
|
+
y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case s$.DragEnd:
|
|
14084
|
+
case s$.DragCancel:return{...e,draggable:{...e.draggable,active:null,
|
|
14085
|
+
initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case s$.RegisterDroppable:{
|
|
14086
|
+
const{element:n}=t,{id:r}=n,o=new _B(e.droppable.containers);return o.set(r,n),{
|
|
14087
|
+
...e,droppable:{...e.droppable,containers:o}}}case s$.SetDroppableDisabled:{
|
|
14077
14088
|
const{id:n,key:r,disabled:o}=t,a=e.droppable.containers.get(n)
|
|
14078
|
-
;if(!a||r!==a.key)return e;const i=new
|
|
14089
|
+
;if(!a||r!==a.key)return e;const i=new _B(e.droppable.containers)
|
|
14079
14090
|
;return i.set(n,{...a,disabled:o}),{...e,droppable:{...e.droppable,containers:i}
|
|
14080
|
-
}}case
|
|
14091
|
+
}}case s$.UnregisterDroppable:{
|
|
14081
14092
|
const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e
|
|
14082
|
-
;const a=new
|
|
14083
|
-
...e.droppable,containers:a}}}default:return e}}function
|
|
14084
|
-
;const{active:r,activatorEvent:o,draggableNodes:a}=e.useContext(
|
|
14085
|
-
;return e.useEffect((()=>{if(!n&&!o&&i&&null!=l){if(!
|
|
14093
|
+
;const a=new _B(e.droppable.containers);return a.delete(n),{...e,droppable:{
|
|
14094
|
+
...e.droppable,containers:a}}}default:return e}}function TB(t){let{disabled:n}=t
|
|
14095
|
+
;const{active:r,activatorEvent:o,draggableNodes:a}=e.useContext(kB),i=YF(o),l=YF(null==r?void 0:r.id)
|
|
14096
|
+
;return e.useEffect((()=>{if(!n&&!o&&i&&null!=l){if(!XF(i))return
|
|
14086
14097
|
;if(document.activeElement===i.target)return;const e=a.get(l);if(!e)return
|
|
14087
14098
|
;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return
|
|
14088
14099
|
;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue
|
|
14089
|
-
;const t=
|
|
14090
|
-
const
|
|
14100
|
+
;const t=t$(e);if(t){t.focus();break}}}))}}),[o,n,a,l,i]),null}
|
|
14101
|
+
const RB=e.createContext({...h$,scaleX:1,scaleY:1});var PB;!function(e){
|
|
14091
14102
|
e[e.Uninitialized=0]="Uninitialized",
|
|
14092
14103
|
e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"
|
|
14093
|
-
}(
|
|
14094
|
-
;let{id:l,accessibility:c,autoScroll:s=!0,children:u,sensors:d=
|
|
14095
|
-
;const v=e.useReducer(
|
|
14104
|
+
}(PB||(PB={}));const IB=e.memo((function(n){var r,o,a,i
|
|
14105
|
+
;let{id:l,accessibility:c,autoScroll:s=!0,children:u,sensors:d=xB,collisionDetection:h=C$,measuring:p,modifiers:f,...m}=n
|
|
14106
|
+
;const v=e.useReducer(VB,void 0,LB),[g,y]=v,[b,w]=function(){
|
|
14096
14107
|
const[t]=e.useState((()=>new Set)),n=e.useCallback((e=>(t.add(e),
|
|
14097
14108
|
()=>t.delete(e))),[t]);return[e.useCallback((e=>{let{type:n,event:r}=e
|
|
14098
14109
|
;t.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[t]),n]
|
|
14099
|
-
}(),[C,z]=e.useState(
|
|
14110
|
+
}(),[C,z]=e.useState(PB.Uninitialized),M=C===PB.Initialized,{draggable:{active:x,nodes:E,translate:S},droppable:{containers:_}}=g,H=x?E.get(x):null,D=e.useRef({
|
|
14100
14111
|
initial:null,translated:null}),k=e.useMemo((()=>{var e;return null!=x?{id:x,
|
|
14101
|
-
data:null!=(e=null==H?void 0:H.data)?e:
|
|
14102
|
-
}),[x,H]),A=e.useRef(null),[L,V]=e.useState(null),[T,R]=e.useState(null),P=
|
|
14103
|
-
return e.useMemo((()=>({draggable:{...
|
|
14104
|
-
},droppable:{...
|
|
14105
|
-
...
|
|
14112
|
+
data:null!=(e=null==H?void 0:H.data)?e:EB,rect:D}:null
|
|
14113
|
+
}),[x,H]),A=e.useRef(null),[L,V]=e.useState(null),[T,R]=e.useState(null),P=BF(m,Object.values(m)),I=GF("DndDescribedBy",l),O=e.useMemo((()=>_.getEnabled()),[_]),N=function(t){
|
|
14114
|
+
return e.useMemo((()=>({draggable:{...SB.draggable,...null==t?void 0:t.draggable
|
|
14115
|
+
},droppable:{...SB.droppable,...null==t?void 0:t.droppable},dragOverlay:{
|
|
14116
|
+
...SB.dragOverlay,...null==t?void 0:t.dragOverlay}
|
|
14106
14117
|
})),[null==t?void 0:t.draggable,null==t?void 0:t.droppable,null==t?void 0:t.dragOverlay])
|
|
14107
14118
|
}(p),{droppableRects:F,measureDroppableContainers:$,measuringScheduled:B}=function(t,n){
|
|
14108
14119
|
let{dragging:r,dependencies:o,config:a}=n
|
|
14109
14120
|
;const[i,l]=e.useState(null),{frequency:c,measure:s,strategy:u}=a,d=e.useRef(t),h=function(){
|
|
14110
|
-
switch(u){case
|
|
14111
|
-
return!r}}(),p=
|
|
14121
|
+
switch(u){case hB.Always:return!1;case hB.BeforeDragging:return r;default:
|
|
14122
|
+
return!r}}(),p=BF(h),f=e.useCallback((function(e){
|
|
14112
14123
|
void 0===e&&(e=[]),p.current||l((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))
|
|
14113
|
-
}),[p]),m=e.useRef(null),v
|
|
14114
|
-
;if(!e||e===
|
|
14124
|
+
}),[p]),m=e.useRef(null),v=jF((e=>{if(h&&!r)return fB
|
|
14125
|
+
;if(!e||e===fB||d.current!==t||null!=i){const e=new Map;for(let n of t){
|
|
14115
14126
|
if(!n)continue;if(i&&i.length>0&&!i.includes(n.id)&&n.rect.current){
|
|
14116
14127
|
e.set(n.id,n.rect.current);continue}
|
|
14117
|
-
const t=n.node.current,r=t?new
|
|
14128
|
+
const t=n.node.current,r=t?new B$(s(t),t):null;n.rect.current=r,r&&e.set(n.id,r)
|
|
14118
14129
|
}return e}return e}),[t,i,r,h,s]);return e.useEffect((()=>{d.current=t
|
|
14119
14130
|
}),[t]),e.useEffect((()=>{h||f()}),[r,h]),e.useEffect((()=>{
|
|
14120
14131
|
i&&i.length>0&&l(null)}),[JSON.stringify(i)]),e.useEffect((()=>{
|
|
@@ -14122,74 +14133,74 @@ h||"number"!=typeof c||null!==m.current||(m.current=setTimeout((()=>{
|
|
|
14122
14133
|
f(),m.current=null}),c))}),[c,h,f,...o]),{droppableRects:v,
|
|
14123
14134
|
measureDroppableContainers:f,measuringScheduled:null!=i}}(O,{dragging:M,
|
|
14124
14135
|
dependencies:[S.x,S.y],config:N.droppable}),j=function(e,t){
|
|
14125
|
-
const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return
|
|
14136
|
+
const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return jF((e=>{var n
|
|
14126
14137
|
;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])
|
|
14127
|
-
}(E,x),U=e.useMemo((()=>T?
|
|
14138
|
+
}(E,x),U=e.useMemo((()=>T?JF(T):null),[T]),Y=function(){
|
|
14128
14139
|
const e=!1===(null==L?void 0:L.autoScrollEnabled),t="object"==typeof s?!1===s.enabled:!1===s,n=M&&!e&&!t
|
|
14129
14140
|
;if("object"==typeof s)return{...s,enabled:n};return{enabled:n}
|
|
14130
|
-
}(),W=function(e,t){return
|
|
14141
|
+
}(),W=function(e,t){return mB(e,t)}(j,N.draggable.measure);!function(t){
|
|
14131
14142
|
let{activeNode:n,measure:r,initialRect:o,config:a=!0}=t
|
|
14132
|
-
;const i=e.useRef(!1),{x:l,y:c}="boolean"==typeof a?{x:a,y:a}:a;
|
|
14143
|
+
;const i=e.useRef(!1),{x:l,y:c}="boolean"==typeof a?{x:a,y:a}:a;FF((()=>{
|
|
14133
14144
|
if(!l&&!c||!n)return void(i.current=!1);if(i.current||!o)return
|
|
14134
14145
|
;const e=null==n?void 0:n.node.current;if(!e||!1===e.isConnected)return
|
|
14135
|
-
;const t=
|
|
14146
|
+
;const t=z$(r(e),o)
|
|
14136
14147
|
;if(l||(t.x=0),c||(t.y=0),i.current=!0,Math.abs(t.x)>0||Math.abs(t.y)>0){
|
|
14137
|
-
const n=
|
|
14148
|
+
const n=D$(e);n&&n.scrollBy({top:t.y,left:t.x})}}),[n,l,c,o,r])}({
|
|
14138
14149
|
activeNode:x?E.get(x):null,config:Y.layoutShiftCompensation,initialRect:W,
|
|
14139
14150
|
measure:N.draggable.measure})
|
|
14140
|
-
;const G=
|
|
14151
|
+
;const G=yB(j,N.draggable.measure,W),K=yB(j?j.parentElement:null),q=e.useRef({
|
|
14141
14152
|
activatorEvent:null,active:null,activeNode:j,collisionRect:null,collisions:null,
|
|
14142
14153
|
droppableRects:F,draggableNodes:E,draggingNode:null,draggingNodeRect:null,
|
|
14143
14154
|
droppableContainers:_,over:null,scrollableAncestors:[],
|
|
14144
14155
|
scrollAdjustedTranslate:null
|
|
14145
|
-
}),Z=_.getNodeFor(null==(r=q.current.over)?void 0:r.id),X=
|
|
14156
|
+
}),Z=_.getNodeFor(null==(r=q.current.over)?void 0:r.id),X=MB({
|
|
14146
14157
|
measure:N.dragOverlay.measure
|
|
14147
|
-
}),J=null!=(o=X.nodeRef.current)?o:j,Q=M?null!=(a=X.rect)?a:G:null,ee=Boolean(X.nodeRef.current&&X.rect),te=
|
|
14148
|
-
;var ne;const re=
|
|
14149
|
-
const n=e.useRef(t),r
|
|
14158
|
+
}),J=null!=(o=X.nodeRef.current)?o:j,Q=M?null!=(a=X.rect)?a:G:null,ee=Boolean(X.nodeRef.current&&X.rect),te=z$(ne=ee?null:G,mB(ne))
|
|
14159
|
+
;var ne;const re=CB(J?RF(J):null),oe=function(t){
|
|
14160
|
+
const n=e.useRef(t),r=jF((e=>t?e&&e!==bB&&t&&n.current&&t.parentNode===n.current.parentNode?e:H$(t):bB),[t])
|
|
14150
14161
|
;return e.useEffect((()=>{n.current=t}),[t]),r
|
|
14151
|
-
}(M?null!=Z?Z:j:null),ae=function(t,n){void 0===n&&(n=
|
|
14152
|
-
;const[r]=t,o=
|
|
14153
|
-
return t.length?t.map((e=>
|
|
14154
|
-
;return t.length>0&&a===
|
|
14162
|
+
}(M?null!=Z?Z:j:null),ae=function(t,n){void 0===n&&(n=S$)
|
|
14163
|
+
;const[r]=t,o=CB(r?RF(r):null),[a,i]=e.useReducer((function(){
|
|
14164
|
+
return t.length?t.map((e=>R$(e)?o:new B$(n(e),e))):zB}),zB),l=vB({callback:i})
|
|
14165
|
+
;return t.length>0&&a===zB&&i(),FF((()=>{
|
|
14155
14166
|
t.length?t.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),
|
|
14156
14167
|
i())}),[t]),a}(oe),ie=function(e,t){let{transform:n,...r}=t
|
|
14157
14168
|
;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}(f,{
|
|
14158
14169
|
transform:{x:S.x-te.x,y:S.y-te.y,scaleX:1,scaleY:1},activatorEvent:T,active:k,
|
|
14159
14170
|
activeNodeRect:G,containerNodeRect:K,draggingNodeRect:Q,over:q.current.over,
|
|
14160
14171
|
overlayNodeRect:X.rect,scrollableAncestors:oe,scrollableAncestorRects:ae,
|
|
14161
|
-
windowRect:re}),le=U?
|
|
14172
|
+
windowRect:re}),le=U?qF(U,S):null,ce=function(t){
|
|
14162
14173
|
const[n,r]=e.useState(null),o=e.useRef(t),a=e.useCallback((e=>{
|
|
14163
|
-
const t=
|
|
14174
|
+
const t=k$(e.target);t&&r((e=>e?(e.set(t,V$(t)),new Map(e)):null))}),[])
|
|
14164
14175
|
;return e.useEffect((()=>{const e=o.current;if(t!==e){n(e);const i=t.map((e=>{
|
|
14165
|
-
const t=
|
|
14166
|
-
}),[t,
|
|
14176
|
+
const t=k$(e);return t?(t.addEventListener("scroll",a,{passive:!0
|
|
14177
|
+
}),[t,V$(t)]):null})).filter((e=>null!=e))
|
|
14167
14178
|
;r(i.length?new Map(i):null),o.current=t}return()=>{n(t),n(e)};function n(e){
|
|
14168
|
-
e.forEach((e=>{const t=
|
|
14179
|
+
e.forEach((e=>{const t=k$(e);null==t||t.removeEventListener("scroll",a)}))}
|
|
14169
14180
|
}),[a,t]),
|
|
14170
|
-
e.useMemo((()=>t.length?n?Array.from(n.values()).reduce(((e,t)=>
|
|
14171
|
-
}(oe),se=
|
|
14181
|
+
e.useMemo((()=>t.length?n?Array.from(n.values()).reduce(((e,t)=>qF(e,t)),h$):F$(t):h$),[t,n])
|
|
14182
|
+
}(oe),se=wB(ce),ue=wB(ce,[G]),de=qF(ie,se),he=Q?x$(Q,ie):null,pe=k&&he?h({
|
|
14172
14183
|
active:k,collisionRect:he,droppableRects:F,droppableContainers:O,
|
|
14173
14184
|
pointerCoordinates:le
|
|
14174
|
-
}):null,fe=
|
|
14185
|
+
}):null,fe=g$(pe,"id"),[me,ve]=e.useState(null),ge=function(e,t,n){return{...e,
|
|
14175
14186
|
scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}
|
|
14176
|
-
}(ee?ie:
|
|
14187
|
+
}(ee?ie:qF(ie,ue),null!=(i=null==me?void 0:me.rect)?i:null,G),ye=e.useCallback(((e,n)=>{
|
|
14177
14188
|
let{sensor:r,options:o}=n;if(null==A.current)return;const a=E.get(A.current)
|
|
14178
14189
|
;if(!a)return;const i=e.nativeEvent,l=new r({active:A.current,activeNode:a,
|
|
14179
14190
|
event:i,options:o,context:q,onStart(e){const n=A.current;if(null==n)return
|
|
14180
14191
|
;const r=E.get(n);if(!r)return;const{onDragStart:o}=P.current,a={active:{id:n,
|
|
14181
14192
|
data:r.data,rect:D}};t.unstable_batchedUpdates((()=>{
|
|
14182
|
-
null==o||o(a),z(
|
|
14183
|
-
active:n}),b({type:"onDragStart",event:a})}))},onMove(e){y({type:
|
|
14184
|
-
coordinates:e})},onEnd:c(
|
|
14193
|
+
null==o||o(a),z(PB.Initializing),y({type:s$.DragStart,initialCoordinates:e,
|
|
14194
|
+
active:n}),b({type:"onDragStart",event:a})}))},onMove(e){y({type:s$.DragMove,
|
|
14195
|
+
coordinates:e})},onEnd:c(s$.DragEnd),onCancel:c(s$.DragCancel)});function c(e){
|
|
14185
14196
|
return async function(){
|
|
14186
14197
|
const{active:n,collisions:r,over:o,scrollAdjustedTranslate:a}=q.current
|
|
14187
14198
|
;let l=null;if(n&&a){const{cancelDrop:t}=P.current;if(l={activatorEvent:i,
|
|
14188
|
-
active:n,collisions:r,delta:a,over:o},e===
|
|
14189
|
-
await Promise.resolve(t(l))&&(e=
|
|
14199
|
+
active:n,collisions:r,delta:a,over:o},e===s$.DragEnd&&"function"==typeof t){
|
|
14200
|
+
await Promise.resolve(t(l))&&(e=s$.DragCancel)}}
|
|
14190
14201
|
A.current=null,t.unstable_batchedUpdates((()=>{y({type:e
|
|
14191
|
-
}),z(
|
|
14192
|
-
;const t=e===
|
|
14202
|
+
}),z(PB.Uninitialized),ve(null),V(null),R(null)
|
|
14203
|
+
;const t=e===s$.DragEnd?"onDragEnd":"onDragCancel";if(l){const e=P.current[t]
|
|
14193
14204
|
;null==e||e(l),b({type:t,event:l})}}))}}t.unstable_batchedUpdates((()=>{
|
|
14194
14205
|
V(l),R(e.nativeEvent)}))}),[E]),be=e.useCallback(((e,t)=>(n,r)=>{
|
|
14195
14206
|
const o=n.nativeEvent,a=E.get(r)
|
|
@@ -14198,10 +14209,10 @@ const o=n.nativeEvent,a=E.get(r)
|
|
|
14198
14209
|
}),[E,ye]),we=function(t,n){return e.useMemo((()=>t.reduce(((e,t)=>{
|
|
14199
14210
|
const{sensor:r}=t;return[...e,...r.activators.map((e=>({eventName:e.eventName,
|
|
14200
14211
|
handler:n(e.handler,t)})))]}),[])),[t,n])}(d,be);!function(t){e.useEffect((()=>{
|
|
14201
|
-
if(!
|
|
14212
|
+
if(!LF)return;const e=t.map((e=>{let{sensor:t}=e
|
|
14202
14213
|
;return null==t.setup?void 0:t.setup()}));return()=>{
|
|
14203
14214
|
for(const t of e)null==t||t()}}),t.map((e=>{let{sensor:t}=e;return t})))
|
|
14204
|
-
}(d),
|
|
14215
|
+
}(d),FF((()=>{G&&C===PB.Initializing&&z(PB.Initialized)
|
|
14205
14216
|
}),[G,C]),e.useEffect((()=>{
|
|
14206
14217
|
const{onDragMove:e}=P.current,{active:n,activatorEvent:r,collisions:o,over:a}=q.current
|
|
14207
14218
|
;if(!n||!r)return;const i={active:n,activatorEvent:r,collisions:o,delta:{x:de.x,
|
|
@@ -14213,11 +14224,11 @@ const{active:e,activatorEvent:n,collisions:r,droppableContainers:o,scrollAdjuste
|
|
|
14213
14224
|
rect:l.rect.current,data:l.data,disabled:l.disabled}:null,s={active:e,
|
|
14214
14225
|
activatorEvent:n,collisions:r,delta:{x:a.x,y:a.y},over:c}
|
|
14215
14226
|
;t.unstable_batchedUpdates((()=>{ve(c),null==i||i(s),b({type:"onDragOver",
|
|
14216
|
-
event:s})}))}),[fe]),
|
|
14227
|
+
event:s})}))}),[fe]),FF((()=>{q.current={activatorEvent:T,active:k,activeNode:j,
|
|
14217
14228
|
collisionRect:he,collisions:pe,droppableRects:F,draggableNodes:E,draggingNode:J,
|
|
14218
14229
|
draggingNodeRect:Q,droppableContainers:_,over:me,scrollableAncestors:oe,
|
|
14219
14230
|
scrollAdjustedTranslate:de},D.current={initial:Q,translated:he}
|
|
14220
|
-
}),[k,j,pe,he,E,J,Q,F,_,me,oe,de]),
|
|
14231
|
+
}),[k,j,pe,he,E,J,Q,F,_,me,oe,de]),uB({...Y,delta:S,draggingRect:he,
|
|
14221
14232
|
pointerCoordinates:le,scrollableAncestors:oe,scrollableAncestorRects:ae})
|
|
14222
14233
|
;const Ce=e.useMemo((()=>({active:k,activeNode:j,activeNodeRect:G,
|
|
14223
14234
|
activatorEvent:T,collisions:pe,containerNodeRect:K,dragOverlay:X,
|
|
@@ -14227,65 +14238,65 @@ measuringConfiguration:N,measuringScheduled:B,windowRect:re
|
|
|
14227
14238
|
})),[k,j,G,T,pe,K,X,E,_,F,me,$,oe,ae,N,B,re]),ze=e.useMemo((()=>({
|
|
14228
14239
|
activatorEvent:T,activators:we,active:k,activeNodeRect:G,ariaDescribedById:{
|
|
14229
14240
|
draggable:I},dispatch:y,draggableNodes:E,over:me,measureDroppableContainers:$
|
|
14230
|
-
})),[T,we,k,G,y,I,E,me,$]);return e.createElement(
|
|
14231
|
-
},e.createElement(
|
|
14232
|
-
},e.createElement(
|
|
14233
|
-
disabled:!1===(null==c?void 0:c.restoreFocus)})),e.createElement(
|
|
14241
|
+
})),[T,we,k,G,y,I,E,me,$]);return e.createElement(a$.Provider,{value:w
|
|
14242
|
+
},e.createElement(kB.Provider,{value:ze},e.createElement(AB.Provider,{value:Ce
|
|
14243
|
+
},e.createElement(RB.Provider,{value:ge},u)),e.createElement(TB,{
|
|
14244
|
+
disabled:!1===(null==c?void 0:c.restoreFocus)})),e.createElement(c$,{...c,
|
|
14234
14245
|
hiddenTextDescribedById:I}))
|
|
14235
|
-
})),
|
|
14246
|
+
})),OB=e.createContext(null),NB="button",FB="Droppable";function $B(t){
|
|
14236
14247
|
let{id:n,data:r,disabled:o=!1,attributes:a}=t
|
|
14237
|
-
;const i=
|
|
14248
|
+
;const i=GF(FB),{activators:l,activatorEvent:c,active:s,activeNodeRect:u,ariaDescribedById:d,draggableNodes:h,over:p}=e.useContext(kB),{role:f=NB,roleDescription:m="draggable",tabIndex:v=0}=null!=a?a:{},g=(null==s?void 0:s.id)===n,y=e.useContext(g?RB:OB),[b,w]=UF(),[C,z]=UF(),M=function(t,n){
|
|
14238
14249
|
return e.useMemo((()=>t.reduce(((e,t)=>{let{eventName:r,handler:o}=t
|
|
14239
|
-
;return e[r]=e=>{o(e,n)},e}),{})),[t,n])}(l,n),x=
|
|
14250
|
+
;return e[r]=e=>{o(e,n)},e}),{})),[t,n])}(l,n),x=BF(r);FF((()=>(h.set(n,{id:n,
|
|
14240
14251
|
key:i,node:b,activatorNode:C,data:x}),()=>{const e=h.get(n)
|
|
14241
14252
|
;e&&e.key===i&&h.delete(n)})),[h,n]);return{active:s,activatorEvent:c,
|
|
14242
14253
|
activeNodeRect:u,attributes:e.useMemo((()=>({role:f,tabIndex:v,
|
|
14243
|
-
"aria-disabled":o,"aria-pressed":!(!g||f!==
|
|
14254
|
+
"aria-disabled":o,"aria-pressed":!(!g||f!==NB)||void 0,"aria-roledescription":m,
|
|
14244
14255
|
"aria-describedby":d.draggable})),[o,f,v,g,m,d.draggable]),isDragging:g,
|
|
14245
14256
|
listeners:o?void 0:M,node:b,over:p,setNodeRef:w,setActivatorNodeRef:z,
|
|
14246
|
-
transform:y}}const
|
|
14257
|
+
transform:y}}const BB="Droppable",jB={timeout:25};function UB(e,t,n){const r={
|
|
14247
14258
|
...e}
|
|
14248
14259
|
;return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),
|
|
14249
14260
|
t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),
|
|
14250
|
-
r}const
|
|
14251
|
-
;const o=r[0];return t&&o?
|
|
14252
|
-
}},
|
|
14253
|
-
;return n&&r?
|
|
14254
|
-
;return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function
|
|
14261
|
+
r}const YB=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e
|
|
14262
|
+
;const o=r[0];return t&&o?UB(n,t,o):n},WB=e=>{let{transform:t}=e;return{...t,x:0
|
|
14263
|
+
}},GB=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e
|
|
14264
|
+
;return n&&r?UB(t,n,r):t};function KB(e,t,n){const r=e.slice()
|
|
14265
|
+
;return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function qB(e,t){
|
|
14255
14266
|
return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e
|
|
14256
|
-
}),Array(e.length))}function
|
|
14257
|
-
let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=
|
|
14267
|
+
}),Array(e.length))}function ZB(e){return null!==e&&e>=0}const XB=e=>{
|
|
14268
|
+
let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=KB(t,r,n),i=t[o],l=a[o]
|
|
14258
14269
|
;return l&&i?{x:l.left-i.left,y:l.top-i.top,scaleX:l.width/i.width,
|
|
14259
|
-
scaleY:l.height/i.height}:null},
|
|
14270
|
+
scaleY:l.height/i.height}:null},JB={scaleX:1,scaleY:1},QB=e=>{var t
|
|
14260
14271
|
;let{activeIndex:n,activeNodeRect:r,index:o,rects:a,overIndex:i}=e
|
|
14261
14272
|
;const l=null!=(t=a[n])?t:r;if(!l)return null;if(o===n){const e=a[i];return e?{
|
|
14262
|
-
x:0,y:n<i?e.top+e.height-(l.top+l.height):e.top-l.top,...
|
|
14273
|
+
x:0,y:n<i?e.top+e.height-(l.top+l.height):e.top-l.top,...JB}:null}
|
|
14263
14274
|
const c=function(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];if(!r)return 0
|
|
14264
14275
|
;if(n<t)return o?r.top-(o.top+o.height):a?a.top-(r.top+r.height):0
|
|
14265
14276
|
;return a?a.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(a,o,n)
|
|
14266
|
-
;return o>n&&o<=i?{x:0,y:-l.height-c,...
|
|
14267
|
-
x:0,y:0,...
|
|
14268
|
-
containerId:
|
|
14269
|
-
sortedRects:[],strategy:
|
|
14270
|
-
;function
|
|
14271
|
-
;const{active:l,dragOverlay:c,droppableRects:s,over:u,measureDroppableContainers:d}=e.useContext(
|
|
14277
|
+
;return o>n&&o<=i?{x:0,y:-l.height-c,...JB}:o<n&&o>=i?{x:0,y:l.height+c,...JB}:{
|
|
14278
|
+
x:0,y:0,...JB}};const ej="Sortable",tj=e.createContext({activeIndex:-1,
|
|
14279
|
+
containerId:ej,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,
|
|
14280
|
+
sortedRects:[],strategy:XB,disabled:{draggable:!1,droppable:!1}})
|
|
14281
|
+
;function nj(t){let{children:n,id:r,items:o,strategy:a=XB,disabled:i=!1}=t
|
|
14282
|
+
;const{active:l,dragOverlay:c,droppableRects:s,over:u,measureDroppableContainers:d}=e.useContext(AB),h=GF(ej,r),p=Boolean(null!==c.rect),f=e.useMemo((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),m=null!=l,v=l?f.indexOf(l.id):-1,g=u?f.indexOf(u.id):-1,y=e.useRef(f),b=!function(e,t){
|
|
14272
14283
|
if(e===t)return!0;if(e.length!==t.length)return!1
|
|
14273
14284
|
;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0
|
|
14274
14285
|
}(f,y.current),w=-1!==g&&-1===v||b,C=function(e){return"boolean"==typeof e?{
|
|
14275
|
-
draggable:e,droppable:e}:e}(i);
|
|
14286
|
+
draggable:e,droppable:e}:e}(i);FF((()=>{b&&m&&d(f)
|
|
14276
14287
|
}),[b,f,m,d]),e.useEffect((()=>{y.current=f}),[f]);const z=e.useMemo((()=>({
|
|
14277
14288
|
activeIndex:v,containerId:h,disabled:C,disableTransforms:w,items:f,overIndex:g,
|
|
14278
|
-
useDragOverlay:p,sortedRects:
|
|
14289
|
+
useDragOverlay:p,sortedRects:qB(f,s),strategy:a
|
|
14279
14290
|
})),[v,h,C.draggable,C.droppable,w,f,g,s,p,a])
|
|
14280
|
-
;return e.createElement(
|
|
14281
|
-
let{id:t,items:n,activeIndex:r,overIndex:o}=e;return
|
|
14282
|
-
},
|
|
14291
|
+
;return e.createElement(tj.Provider,{value:z},n)}const rj=e=>{
|
|
14292
|
+
let{id:t,items:n,activeIndex:r,overIndex:o}=e;return KB(n,r,o).indexOf(t)
|
|
14293
|
+
},oj=e=>{
|
|
14283
14294
|
let{containerId:t,isSorting:n,wasDragging:r,index:o,items:a,newIndex:i,previousItems:l,previousContainerId:c,transition:s}=e
|
|
14284
|
-
;return!(!s||!r)&&((l===a||o!==i)&&(!!n||i!==o&&t===c))},
|
|
14285
|
-
easing:"ease"},
|
|
14286
|
-
easing:"linear"}),
|
|
14287
|
-
let{animateLayoutChanges:n=
|
|
14288
|
-
;const{items:d,containerId:h,activeIndex:p,disabled:f,disableTransforms:m,sortedRects:v,overIndex:g,useDragOverlay:y,strategy:b}=e.useContext(
|
|
14295
|
+
;return!(!s||!r)&&((l===a||o!==i)&&(!!n||i!==o&&t===c))},aj={duration:200,
|
|
14296
|
+
easing:"ease"},ij="transform",lj=QF.Transition.toString({property:ij,duration:0,
|
|
14297
|
+
easing:"linear"}),cj={roleDescription:"sortable"};function sj(t){
|
|
14298
|
+
let{animateLayoutChanges:n=oj,attributes:r,disabled:o,data:a,getNewIndex:i=rj,id:l,strategy:c,resizeObserverConfig:s,transition:u=aj}=t
|
|
14299
|
+
;const{items:d,containerId:h,activeIndex:p,disabled:f,disableTransforms:m,sortedRects:v,overIndex:g,useDragOverlay:y,strategy:b}=e.useContext(tj),w=function(e,t){
|
|
14289
14300
|
var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{
|
|
14290
14301
|
draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,
|
|
14291
14302
|
droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}
|
|
@@ -14293,38 +14304,38 @@ droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}
|
|
|
14293
14304
|
},...a
|
|
14294
14305
|
})),[h,a,C,d]),M=e.useMemo((()=>d.slice(d.indexOf(l))),[d,l]),{rect:x,node:E,isOver:S,setNodeRef:_}=function(t){
|
|
14295
14306
|
let{data:n,disabled:r=!1,id:o,resizeObserverConfig:a}=t
|
|
14296
|
-
;const i=
|
|
14307
|
+
;const i=GF(BB),{active:l,dispatch:c,over:s,measureDroppableContainers:u}=e.useContext(kB),d=e.useRef({
|
|
14297
14308
|
disabled:r
|
|
14298
14309
|
}),h=e.useRef(!1),p=e.useRef(null),f=e.useRef(null),{disabled:m,updateMeasurementsFor:v,timeout:g}={
|
|
14299
|
-
|
|
14310
|
+
...jB,...a},y=BF(null!=v?v:o),b=vB({callback:e.useCallback((()=>{
|
|
14300
14311
|
h.current?(null!=f.current&&clearTimeout(f.current),f.current=setTimeout((()=>{
|
|
14301
14312
|
u(Array.isArray(y.current)?y.current:[y.current]),f.current=null
|
|
14302
14313
|
}),g)):h.current=!0}),[g]),disabled:m||!l}),w=e.useCallback(((e,t)=>{
|
|
14303
|
-
b&&(t&&(b.unobserve(t),h.current=!1),e&&b.observe(e))}),[b]),[C,z]=
|
|
14314
|
+
b&&(t&&(b.unobserve(t),h.current=!1),e&&b.observe(e))}),[b]),[C,z]=UF(w),M=BF(n)
|
|
14304
14315
|
;return e.useEffect((()=>{
|
|
14305
14316
|
b&&C.current&&(b.disconnect(),h.current=!1,b.observe(C.current))
|
|
14306
|
-
}),[C,b]),
|
|
14307
|
-
node:C,rect:p,data:M}}),()=>c({type:
|
|
14317
|
+
}),[C,b]),FF((()=>(c({type:s$.RegisterDroppable,element:{id:o,key:i,disabled:r,
|
|
14318
|
+
node:C,rect:p,data:M}}),()=>c({type:s$.UnregisterDroppable,key:i,id:o
|
|
14308
14319
|
}))),[o]),e.useEffect((()=>{r!==d.current.disabled&&(c({
|
|
14309
|
-
type:
|
|
14320
|
+
type:s$.SetDroppableDisabled,id:o,key:i,disabled:r}),d.current.disabled=r)
|
|
14310
14321
|
}),[o,i,r,c]),{active:l,rect:p,isOver:(null==s?void 0:s.id)===o,node:C,over:s,
|
|
14311
14322
|
setNodeRef:z}}({id:l,data:z,disabled:w.droppable,resizeObserverConfig:{
|
|
14312
14323
|
updateMeasurementsFor:M,...s}
|
|
14313
|
-
}),{active:H,activatorEvent:D,activeNodeRect:k,attributes:A,setNodeRef:L,listeners:V,isDragging:T,over:R,setActivatorNodeRef:P,transform:I}
|
|
14314
|
-
id:l,data:z,attributes:{...
|
|
14324
|
+
}),{active:H,activatorEvent:D,activeNodeRect:k,attributes:A,setNodeRef:L,listeners:V,isDragging:T,over:R,setActivatorNodeRef:P,transform:I}=$B({
|
|
14325
|
+
id:l,data:z,attributes:{...cj,...r},disabled:w.draggable}),O=function(){
|
|
14315
14326
|
for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r]
|
|
14316
14327
|
;return e.useMemo((()=>e=>{n.forEach((t=>t(e)))}),n)
|
|
14317
|
-
}(_,L),N=Boolean(H),F=N&&!m&&
|
|
14328
|
+
}(_,L),N=Boolean(H),F=N&&!m&&ZB(p)&&ZB(g),$=!y&&T,B=$&&F?I:null,j=F?null!=B?B:(null!=c?c:b)({
|
|
14318
14329
|
rects:v,activeNodeRect:k,activeIndex:p,overIndex:g,index:C
|
|
14319
|
-
}):null,U=
|
|
14330
|
+
}):null,U=ZB(p)&&ZB(g)?i({id:l,items:d,activeIndex:p,overIndex:g
|
|
14320
14331
|
}):C,Y=null==H?void 0:H.id,W=e.useRef({activeId:Y,items:d,newIndex:U,
|
|
14321
14332
|
containerId:h}),G=d!==W.current.items,K=n({active:H,containerId:h,isDragging:T,
|
|
14322
14333
|
isSorting:N,id:l,index:C,items:d,newIndex:W.current.newIndex,
|
|
14323
14334
|
previousItems:W.current.items,previousContainerId:W.current.containerId,
|
|
14324
14335
|
transition:u,wasDragging:null!=W.current.activeId}),q=function(t){
|
|
14325
14336
|
let{disabled:n,index:r,node:o,rect:a}=t
|
|
14326
|
-
;const[i,l]=e.useState(null),c=e.useRef(r);return
|
|
14327
|
-
if(!n&&r!==c.current&&o.current){const e=a.current;if(e){const t=
|
|
14337
|
+
;const[i,l]=e.useState(null),c=e.useRef(r);return FF((()=>{
|
|
14338
|
+
if(!n&&r!==c.current&&o.current){const e=a.current;if(e){const t=S$(o.current,{
|
|
14328
14339
|
ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,
|
|
14329
14340
|
scaleY:e.height/t.height};(n.x||n.y)&&l(n)}}r!==c.current&&(c.current=r)
|
|
14330
14341
|
}),[n,r,o,a]),e.useEffect((()=>{i&&l(null)}),[i]),i}({disabled:!K,index:C,
|
|
@@ -14339,32 +14350,32 @@ if(Y===W.current.activeId)return
|
|
|
14339
14350
|
items:d,isOver:S,isSorting:N,isDragging:T,listeners:V,node:E,overIndex:g,over:R,
|
|
14340
14351
|
setNodeRef:O,setActivatorNodeRef:P,setDroppableNodeRef:_,setDraggableNodeRef:L,
|
|
14341
14352
|
transform:null!=q?q:j,transition:function(){
|
|
14342
|
-
if(q||G&&W.current.newIndex===C)return
|
|
14343
|
-
;if(N||K)return
|
|
14344
|
-
function
|
|
14353
|
+
if(q||G&&W.current.newIndex===C)return lj;if($&&!XF(D)||!u)return
|
|
14354
|
+
;if(N||K)return QF.Transition.toString({...u,property:ij});return}()}}
|
|
14355
|
+
function uj(e){if(!e)return!1;const t=e.data.current
|
|
14345
14356
|
;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)
|
|
14346
|
-
}const
|
|
14357
|
+
}const dj=[W$.Down,W$.Right,W$.Up,W$.Left],hj=(e,t)=>{
|
|
14347
14358
|
let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:a,over:i,scrollableAncestors:l}}=t
|
|
14348
|
-
;if(
|
|
14359
|
+
;if(dj.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[]
|
|
14349
14360
|
;a.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return
|
|
14350
|
-
;const a=o.get(n.id);if(a)switch(e.code){case
|
|
14351
|
-
;break;case
|
|
14352
|
-
r.left>a.left&&t.push(n);break;case
|
|
14361
|
+
;const a=o.get(n.id);if(a)switch(e.code){case W$.Down:r.top<a.top&&t.push(n)
|
|
14362
|
+
;break;case W$.Up:r.top>a.top&&t.push(n);break;case W$.Left:
|
|
14363
|
+
r.left>a.left&&t.push(n);break;case W$.Right:r.left<a.left&&t.push(n)}}))
|
|
14353
14364
|
;const c=(e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e
|
|
14354
|
-
;const o=
|
|
14355
|
-
const n=
|
|
14356
|
-
;a.push({id:t,data:{droppableContainer:e,value:l}})}}return a.sort(
|
|
14365
|
+
;const o=v$(t),a=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){
|
|
14366
|
+
const n=v$(r),i=o.reduce(((e,t,r)=>e+p$(n[r],t)),0),l=Number((i/4).toFixed(4))
|
|
14367
|
+
;a.push({id:t,data:{droppableContainer:e,value:l}})}}return a.sort(f$)})({
|
|
14357
14368
|
active:n,collisionRect:r,droppableRects:o,droppableContainers:t,
|
|
14358
|
-
pointerCoordinates:null});let s=
|
|
14369
|
+
pointerCoordinates:null});let s=g$(c,"id")
|
|
14359
14370
|
;if(s===(null==i?void 0:i.id)&&c.length>1&&(s=c[1].id),null!=s){
|
|
14360
14371
|
const e=a.get(n.id),t=a.get(s),i=t?o.get(t.id):null,c=null==t?void 0:t.node.current
|
|
14361
|
-
;if(c&&i&&e&&t){const n=
|
|
14362
|
-
if(!
|
|
14372
|
+
;if(c&&i&&e&&t){const n=H$(c).some(((e,t)=>l[t]!==e)),o=pj(e,t),a=function(e,t){
|
|
14373
|
+
if(!uj(e)||!uj(t))return!1;if(!pj(e,t))return!1
|
|
14363
14374
|
;return e.data.current.sortable.index<t.data.current.sortable.index
|
|
14364
14375
|
}(e,t),s=n||!o?{x:0,y:0}:{x:a?r.width-i.width:0,y:a?r.height-i.height:0},u={
|
|
14365
|
-
x:i.left,y:i.top};return s.x&&s.y?u:
|
|
14366
|
-
return!(!
|
|
14367
|
-
}var
|
|
14376
|
+
x:i.left,y:i.top};return s.x&&s.y?u:ZF(u,s)}}}};function pj(e,t){
|
|
14377
|
+
return!(!uj(e)||!uj(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId
|
|
14378
|
+
}var fj={exports:{}};!function(e,t){(function(){
|
|
14368
14379
|
var n,r="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",i=16,l=32,c=64,s=128,u=256,d=1/0,h=9007199254740991,p=NaN,f=4294967295,m=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",i],["flip",512],["partial",l],["partialRight",c],["rearg",u]],v="[object Arguments]",g="[object Array]",y="[object Boolean]",b="[object Date]",w="[object Error]",C="[object Function]",z="[object GeneratorFunction]",M="[object Map]",x="[object Number]",E="[object Object]",S="[object Promise]",_="[object RegExp]",H="[object Set]",D="[object String]",k="[object Symbol]",A="[object WeakMap]",L="[object ArrayBuffer]",V="[object DataView]",T="[object Float32Array]",R="[object Float64Array]",P="[object Int8Array]",I="[object Int16Array]",O="[object Int32Array]",N="[object Uint8Array]",F="[object Uint8ClampedArray]",$="[object Uint16Array]",B="[object Uint32Array]",j=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,K=RegExp(W.source),q=RegExp(G.source),Z=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),oe=/^\s+/,ae=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,se=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Ce=/['\n\r\u2028\u2029\\]/g,ze="\\ud800-\\udfff",Me="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",He="\\ufe0e\\ufe0f",De="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ke="['’]",Ae="["+ze+"]",Le="["+De+"]",Ve="["+Me+"]",Te="\\d+",Re="["+xe+"]",Pe="["+Ee+"]",Ie="[^"+ze+De+Te+xe+Ee+Se+"]",Oe="\\ud83c[\\udffb-\\udfff]",Ne="[^"+ze+"]",Fe="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+Se+"]",je="\\u200d",Ue="(?:"+Pe+"|"+Ie+")",Ye="(?:"+Be+"|"+Ie+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+Ve+"|"+Oe+")"+"?",qe="["+He+"]?",Ze=qe+Ke+("(?:"+je+"(?:"+[Ne,Fe,$e].join("|")+")"+qe+Ke+")*"),Xe="(?:"+[Re,Fe,$e].join("|")+")"+Ze,Je="(?:"+[Ne+Ve+"?",Ve,Fe,$e,Ae].join("|")+")",Qe=RegExp(ke,"g"),et=RegExp(Ve,"g"),tt=RegExp(Oe+"(?="+Oe+")|"+Je+Ze,"g"),nt=RegExp([Be+"?"+Pe+"+"+We+"(?="+[Le,Be,"$"].join("|")+")",Ye+"+"+Ge+"(?="+[Le,Be+Ue,"$"].join("|")+")",Be+"?"+Ue+"+"+We,Be+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,Xe].join("|"),"g"),rt=RegExp("["+je+ze+Me+He+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,lt={}
|
|
14369
14380
|
;lt[T]=lt[R]=lt[P]=lt[I]=lt[O]=lt[N]=lt[F]=lt[$]=lt[B]=!0,
|
|
14370
14381
|
lt[v]=lt[g]=lt[L]=lt[y]=lt[V]=lt[b]=lt[w]=lt[C]=lt[M]=lt[x]=lt[E]=lt[_]=lt[H]=lt[D]=lt[A]=!1
|
|
@@ -15375,10 +15386,10 @@ func:pi,args:[ei],thisArg:n}),new jn(t,this.__chain__)}return this.thru(ei)
|
|
|
15375
15386
|
return mo(this.__wrapped__,this.__actions__)
|
|
15376
15387
|
},Fn.prototype.first=Fn.prototype.head,Xe&&(Fn.prototype[Xe]=function(){
|
|
15377
15388
|
return this}),Fn}();vt?((vt.exports=gn)._=gn,mt._=gn):ft._=gn}).call(_e)
|
|
15378
|
-
}(
|
|
15379
|
-
;const
|
|
15389
|
+
}(fj,fj.exports);var mj=fj.exports
|
|
15390
|
+
;const vj=()=>Math.random().toString(32).slice(2,10),gj=yr.div`
|
|
15380
15391
|
direction: ${({theme:e})=>e.direction};
|
|
15381
|
-
`,
|
|
15392
|
+
`,yj=yr.div`
|
|
15382
15393
|
display: flex;
|
|
15383
15394
|
align-items: center;
|
|
15384
15395
|
border-radius: 4px;
|
|
@@ -15393,7 +15404,7 @@ return this}),Fn}();vt?((vt.exports=gn)._=gn,mt._=gn):ft._=gn}).call(_e)
|
|
|
15393
15404
|
flex: 1;
|
|
15394
15405
|
}
|
|
15395
15406
|
opacity: ${({disabled:e})=>e?.5:1};
|
|
15396
|
-
`,
|
|
15407
|
+
`,bj=e.forwardRef(((t,n)=>e.createElement("svg",{width:"16",height:"16",
|
|
15397
15408
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
15398
15409
|
},e.createElement("path",{
|
|
15399
15410
|
d:"M4.83981 4.47195C4.33683 4.47519 3.88173 4.17426 3.68775 3.71019C3.49378 3.24611 3.59936 2.71083 3.95502 2.35517C4.31068 1.9995 4.84597 1.89392 5.31004 2.0879C5.77412 2.28188 6.07504 2.73698 6.07181 3.23995C6.07181 3.92037 5.52022 4.47195 4.83981 4.47195Z",
|
|
@@ -15407,28 +15418,28 @@ fill:t.fill??"currentcolor"}),e.createElement("path",{
|
|
|
15407
15418
|
d:"M4.83981 14.0719C4.33683 14.0752 3.88173 13.7742 3.68775 13.3102C3.49378 12.8461 3.59936 12.3108 3.95502 11.9551C4.31068 11.5995 4.84597 11.4939 5.31004 11.6879C5.77412 11.8819 6.07504 12.337 6.07181 12.8399C6.07181 13.5203 5.52022 14.0719 4.83981 14.0719Z",
|
|
15408
15419
|
fill:t.fill??"currentcolor"}),e.createElement("path",{
|
|
15409
15420
|
d:"M11.2397 14.0719C10.7367 14.0752 10.2816 13.7742 10.0877 13.3102C9.89368 12.8461 9.99926 12.3108 10.3549 11.9551C10.7106 11.5995 11.2459 11.4939 11.7099 11.6879C12.174 11.8819 12.4749 12.337 12.4717 12.8399C12.4717 13.5203 11.9201 14.0719 11.2397 14.0719Z",
|
|
15410
|
-
fill:t.fill??"currentcolor"})))),
|
|
15421
|
+
fill:t.fill??"currentcolor"})))),wj=t=>{
|
|
15411
15422
|
const{items:n,customRender:r,onReorder:o,customFilter:a=(()=>!0),className:i,showDragger:l=!0,disabled:c=!1}=t,[s,u]=e.useState([]),d=function(){
|
|
15412
15423
|
for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r]
|
|
15413
15424
|
;return e.useMemo((()=>[...n].filter((e=>null!=e))),[...n])
|
|
15414
|
-
}(
|
|
15415
|
-
n&&
|
|
15416
|
-
className:i||""},e.createElement(
|
|
15425
|
+
}(d$(aB),d$(lB),d$(X$,{coordinateGetter:hj}));return e.useEffect((()=>{
|
|
15426
|
+
n&&mj.isArray(n)&&u(n.map((e=>({id:vj(),data:e}))))}),[n]),e.createElement(gj,{
|
|
15427
|
+
className:i||""},e.createElement(IB,{sensors:d,collisionDetection:b$,
|
|
15417
15428
|
onDragEnd:e=>{const{active:t,over:r}=e;if(t.id!==r?.id){
|
|
15418
|
-
const e=s.map((e=>e.id)),a=e.indexOf(t.id.toString()),i=e.indexOf(r?.id.toString()||""),l=
|
|
15419
|
-
;u(l),o&&o([...c])}},modifiers:[
|
|
15420
|
-
strategy:
|
|
15429
|
+
const e=s.map((e=>e.id)),a=e.indexOf(t.id.toString()),i=e.indexOf(r?.id.toString()||""),l=KB(s,a,i),c=KB(n,a,i)
|
|
15430
|
+
;u(l),o&&o([...c])}},modifiers:[WB,GB,YB]},e.createElement(nj,{items:s,
|
|
15431
|
+
strategy:QB},s.filter((e=>a(e.data))).map(((t,n)=>e.createElement(Cj,{
|
|
15421
15432
|
customRender:r,item:t.data,disabled:c,itemIndex:n,showDragger:l,
|
|
15422
|
-
key:t.data.id.toString(),id:t.id}))))))},
|
|
15423
|
-
const n=cr(),{id:r,item:o,itemIndex:a,customRender:i,showDragger:l,disabled:c,key:s}=t,{attributes:u,listeners:d,setNodeRef:h,transform:p,transition:f}=
|
|
15424
|
-
id:r}),m={transform:
|
|
15425
|
-
;return e.createElement(
|
|
15433
|
+
key:t.data.id.toString(),id:t.id}))))))},Cj=t=>{
|
|
15434
|
+
const n=cr(),{id:r,item:o,itemIndex:a,customRender:i,showDragger:l,disabled:c,key:s}=t,{attributes:u,listeners:d,setNodeRef:h,transform:p,transition:f}=sj({
|
|
15435
|
+
id:r}),m={transform:QF.Translate.toString(p),transition:f}
|
|
15436
|
+
;return e.createElement(yj,{disabled:c,className:"ReorderItemContainer",ref:h,
|
|
15426
15437
|
style:m,...u,key:s},l&&e.createElement(Lo,{className:"ItemDragger",disabled:c,
|
|
15427
|
-
...c?{}:d},e.createElement(
|
|
15438
|
+
...c?{}:d},e.createElement(bj,{fill:n.colors.text.primary
|
|
15428
15439
|
})),e.createElement("div",{className:"CustomItem",...l?{}:d},i(o,a,d)))}
|
|
15429
|
-
;function
|
|
15430
|
-
t.setState((t=>({...t,[e]:
|
|
15431
|
-
return e instanceof Function}function
|
|
15440
|
+
;function zj(e,t){return"function"==typeof e?e(t):e}function Mj(e,t){return n=>{
|
|
15441
|
+
t.setState((t=>({...t,[e]:zj(n,t[e])})))}}function xj(e){
|
|
15442
|
+
return e instanceof Function}function Ej(e,t,n){let r,o=[];return a=>{let i
|
|
15432
15443
|
;n.key&&n.debug&&(i=Date.now())
|
|
15433
15444
|
;const l=e(a),c=l.length!==o.length||l.some(((e,t)=>o[t]!==e));if(!c)return r
|
|
15434
15445
|
;let s
|
|
@@ -15437,51 +15448,51 @@ n.key&&n.debug&&null!=n&&n.debug()){
|
|
|
15437
15448
|
const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,o=(e,t)=>{
|
|
15438
15449
|
for(e=String(e);e.length<t;)e=" "+e;return e}
|
|
15439
15450
|
;console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)
|
|
15440
|
-
}return r}}function
|
|
15451
|
+
}return r}}function Sj(e,t,n,r){return{debug:()=>{var n
|
|
15441
15452
|
;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},
|
|
15442
|
-
key:"development"===process.env.NODE_ENV&&n,onChange:r}}const
|
|
15443
|
-
;function
|
|
15453
|
+
key:"development"===process.env.NODE_ENV&&n,onChange:r}}const _j="debugHeaders"
|
|
15454
|
+
;function Hj(e,t,n){var r;let o={id:null!=(r=n.id)?r:t.id,column:t,
|
|
15444
15455
|
index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,
|
|
15445
15456
|
depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,
|
|
15446
15457
|
getLeafHeaders:()=>{const e=[],t=n=>{
|
|
15447
15458
|
n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(o),e
|
|
15448
15459
|
},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{
|
|
15449
|
-
null==t.createHeader||t.createHeader(o,e)})),o}const
|
|
15450
|
-
e.getHeaderGroups=
|
|
15460
|
+
null==t.createHeader||t.createHeader(o,e)})),o}const Dj={createTable:e=>{
|
|
15461
|
+
e.getHeaderGroups=Ej((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{
|
|
15451
15462
|
var a,i
|
|
15452
15463
|
;const l=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],c=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],s=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id))))
|
|
15453
|
-
;return
|
|
15454
|
-
}),
|
|
15455
|
-
|
|
15456
|
-
e.getLeftHeaderGroups=
|
|
15464
|
+
;return kj(t,[...l,...s,...c],e)
|
|
15465
|
+
}),Sj(e.options,_j,"getHeaderGroups")),e.getCenterHeaderGroups=Ej((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>(n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),
|
|
15466
|
+
kj(t,n,e,"center"))),Sj(e.options,_j,"getCenterHeaderGroups")),
|
|
15467
|
+
e.getLeftHeaderGroups=Ej((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{
|
|
15457
15468
|
var o
|
|
15458
|
-
;return
|
|
15459
|
-
}),
|
|
15460
|
-
e.getRightHeaderGroups=
|
|
15469
|
+
;return kj(t,null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],e,"left")
|
|
15470
|
+
}),Sj(e.options,_j,"getLeftHeaderGroups")),
|
|
15471
|
+
e.getRightHeaderGroups=Ej((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{
|
|
15461
15472
|
var o
|
|
15462
|
-
;return
|
|
15463
|
-
}),
|
|
15464
|
-
e.getFooterGroups=
|
|
15465
|
-
e.getLeftFooterGroups=
|
|
15466
|
-
e.getCenterFooterGroups=
|
|
15467
|
-
e.getRightFooterGroups=
|
|
15468
|
-
e.getFlatHeaders=
|
|
15469
|
-
e.getLeftFlatHeaders=
|
|
15470
|
-
e.getCenterFlatHeaders=
|
|
15471
|
-
e.getRightFlatHeaders=
|
|
15472
|
-
e.getCenterLeafHeaders=
|
|
15473
|
+
;return kj(t,null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],e,"right")
|
|
15474
|
+
}),Sj(e.options,_j,"getRightHeaderGroups")),
|
|
15475
|
+
e.getFooterGroups=Ej((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Sj(e.options,_j,"getFooterGroups")),
|
|
15476
|
+
e.getLeftFooterGroups=Ej((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Sj(e.options,_j,"getLeftFooterGroups")),
|
|
15477
|
+
e.getCenterFooterGroups=Ej((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Sj(e.options,_j,"getCenterFooterGroups")),
|
|
15478
|
+
e.getRightFooterGroups=Ej((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Sj(e.options,_j,"getRightFooterGroups")),
|
|
15479
|
+
e.getFlatHeaders=Ej((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Sj(e.options,_j,"getFlatHeaders")),
|
|
15480
|
+
e.getLeftFlatHeaders=Ej((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Sj(e.options,_j,"getLeftFlatHeaders")),
|
|
15481
|
+
e.getCenterFlatHeaders=Ej((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Sj(e.options,_j,"getCenterFlatHeaders")),
|
|
15482
|
+
e.getRightFlatHeaders=Ej((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Sj(e.options,_j,"getRightFlatHeaders")),
|
|
15483
|
+
e.getCenterLeafHeaders=Ej((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{
|
|
15473
15484
|
var t;return!(null!=(t=e.subHeaders)&&t.length)
|
|
15474
|
-
}))),
|
|
15475
|
-
e.getLeftLeafHeaders=
|
|
15485
|
+
}))),Sj(e.options,_j,"getCenterLeafHeaders")),
|
|
15486
|
+
e.getLeftLeafHeaders=Ej((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t
|
|
15476
15487
|
;return!(null!=(t=e.subHeaders)&&t.length)
|
|
15477
|
-
}))),
|
|
15478
|
-
e.getRightLeafHeaders=
|
|
15488
|
+
}))),Sj(e.options,_j,"getLeftLeafHeaders")),
|
|
15489
|
+
e.getRightLeafHeaders=Ej((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t
|
|
15479
15490
|
;return!(null!=(t=e.subHeaders)&&t.length)
|
|
15480
|
-
}))),
|
|
15481
|
-
e.getLeafHeaders=
|
|
15491
|
+
}))),Sj(e.options,_j,"getRightLeafHeaders")),
|
|
15492
|
+
e.getLeafHeaders=Ej((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{
|
|
15482
15493
|
var r,o,a,i,l,c
|
|
15483
15494
|
;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(a=null==(i=t[0])?void 0:i.headers)?a:[],...null!=(l=null==(c=n[0])?void 0:c.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()
|
|
15484
|
-
}),
|
|
15495
|
+
}),Sj(e.options,_j,"getLeafHeaders"))}};function kj(e,t,n,r){var o,a;let i=0
|
|
15485
15496
|
;const l=function(e,t){
|
|
15486
15497
|
void 0===t&&(t=1),i=Math.max(i,t),e.filter((e=>e.getIsVisible())).forEach((e=>{
|
|
15487
15498
|
var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let c=[]
|
|
@@ -15489,18 +15500,18 @@ var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let c=[]
|
|
|
15489
15500
|
headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,c=!1
|
|
15490
15501
|
;if(e.column.depth===o.depth&&e.column.parent?l=e.column.parent:(l=e.column,
|
|
15491
15502
|
c=!0),i&&(null==i?void 0:i.column)===l)i.subHeaders.push(e);else{
|
|
15492
|
-
const o=
|
|
15503
|
+
const o=Hj(n,l,{id:[r,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),
|
|
15493
15504
|
isPlaceholder:c,placeholderId:c?`${a.filter((e=>e.column===l)).length}`:void 0,
|
|
15494
15505
|
depth:t,index:a.length});o.subHeaders.push(e),a.push(o)}
|
|
15495
15506
|
o.headers.push(e),e.headerGroup=o})),c.push(o),t>0&&s(a,t-1)
|
|
15496
|
-
},u=t.map(((e,t)=>
|
|
15507
|
+
},u=t.map(((e,t)=>Hj(n,e,{depth:i,index:t})));s(u,i-1),c.reverse();const d=e=>{
|
|
15497
15508
|
const t=e.filter((e=>e.column.getIsVisible()));return t.map((e=>{
|
|
15498
15509
|
let t=0,n=0,r=[0]
|
|
15499
15510
|
;e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{
|
|
15500
15511
|
let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1
|
|
15501
15512
|
;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}))}
|
|
15502
15513
|
;return d(null!=(o=null==(a=c[0])?void 0:a.headers)?o:[]),c}
|
|
15503
|
-
const
|
|
15514
|
+
const Aj=(e,t,n,r,o,a,i)=>{let l={id:t,index:r,original:n,depth:o,parentId:i,
|
|
15504
15515
|
_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{
|
|
15505
15516
|
if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t]
|
|
15506
15517
|
;const n=e.getColumn(t)
|
|
@@ -15518,19 +15529,19 @@ e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(e),n
|
|
|
15518
15529
|
getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{
|
|
15519
15530
|
let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}
|
|
15520
15531
|
return e.reverse()},
|
|
15521
|
-
getAllCells:
|
|
15532
|
+
getAllCells:Ej((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){
|
|
15522
15533
|
const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),
|
|
15523
15534
|
renderValue:()=>{var t
|
|
15524
15535
|
;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},
|
|
15525
|
-
getContext:
|
|
15536
|
+
getContext:Ej((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,
|
|
15526
15537
|
getValue:r.getValue,renderValue:r.renderValue
|
|
15527
|
-
})),
|
|
15538
|
+
})),Sj(e.options,"debugCells","cell.getContext"))}
|
|
15528
15539
|
;return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)
|
|
15529
|
-
}),{}),o}(e,l,t,t.id)))),
|
|
15530
|
-
_getAllCellsByColumnId:
|
|
15531
|
-
e)),{})),
|
|
15540
|
+
}),{}),o}(e,l,t,t.id)))),Sj(e.options,"debugRows","getAllCells")),
|
|
15541
|
+
_getAllCellsByColumnId:Ej((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,
|
|
15542
|
+
e)),{})),Sj(e.options,"debugRows","getAllCellsByColumnId"))}
|
|
15532
15543
|
;for(let t=0;t<e._features.length;t++){const n=e._features[t]
|
|
15533
|
-
;null==n||null==n.createRow||n.createRow(l,e)}return l},
|
|
15544
|
+
;null==n||null==n.createRow||n.createRow(l,e)}return l},Lj={
|
|
15534
15545
|
createColumn:(e,t)=>{
|
|
15535
15546
|
e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),
|
|
15536
15547
|
e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),
|
|
@@ -15538,36 +15549,36 @@ e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFaceted
|
|
|
15538
15549
|
e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,
|
|
15539
15550
|
e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),
|
|
15540
15551
|
e.getFacetedMinMaxValues=()=>{
|
|
15541
|
-
if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},
|
|
15552
|
+
if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},Vj=(e,t,n)=>{
|
|
15542
15553
|
var r;const o=n.toLowerCase()
|
|
15543
15554
|
;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))
|
|
15544
|
-
};
|
|
15555
|
+
};Vj.autoRemove=e=>jj(e);const Tj=(e,t,n)=>{var r
|
|
15545
15556
|
;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))
|
|
15546
|
-
};
|
|
15557
|
+
};Tj.autoRemove=e=>jj(e);const Rj=(e,t,n)=>{var r
|
|
15547
15558
|
;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())
|
|
15548
|
-
};
|
|
15559
|
+
};Rj.autoRemove=e=>jj(e);const Pj=(e,t,n)=>{var r
|
|
15549
15560
|
;return null==(r=e.getValue(t))?void 0:r.includes(n)}
|
|
15550
|
-
;
|
|
15561
|
+
;Pj.autoRemove=e=>jj(e)||!(null!=e&&e.length);const Ij=(e,t,n)=>!n.some((n=>{
|
|
15551
15562
|
var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}))
|
|
15552
|
-
;
|
|
15563
|
+
;Ij.autoRemove=e=>jj(e)||!(null!=e&&e.length);const Oj=(e,t,n)=>n.some((n=>{
|
|
15553
15564
|
var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}))
|
|
15554
|
-
;
|
|
15555
|
-
;const
|
|
15556
|
-
;const
|
|
15557
|
-
let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o}
|
|
15565
|
+
;Oj.autoRemove=e=>jj(e)||!(null!=e&&e.length)
|
|
15566
|
+
;const Nj=(e,t,n)=>e.getValue(t)===n;Nj.autoRemove=e=>jj(e)
|
|
15567
|
+
;const Fj=(e,t,n)=>e.getValue(t)==n;Fj.autoRemove=e=>jj(e);const $j=(e,t,n)=>{
|
|
15568
|
+
let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};$j.resolveFilterValue=e=>{
|
|
15558
15569
|
let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,a=null===t||Number.isNaN(r)?-1/0:r,i=null===n||Number.isNaN(o)?1/0:o
|
|
15559
15570
|
;if(a>i){const e=a;a=i,i=e}return[a,i]
|
|
15560
|
-
}
|
|
15561
|
-
includesStringSensitive:
|
|
15562
|
-
arrIncludesSome:
|
|
15563
|
-
return null==e||""===e}const
|
|
15571
|
+
},$j.autoRemove=e=>jj(e)||jj(e[0])&&jj(e[1]);const Bj={includesString:Vj,
|
|
15572
|
+
includesStringSensitive:Tj,equalsString:Rj,arrIncludes:Pj,arrIncludesAll:Ij,
|
|
15573
|
+
arrIncludesSome:Oj,equals:Nj,weakEquals:Fj,inNumberRange:$j};function jj(e){
|
|
15574
|
+
return null==e||""===e}const Uj={getDefaultColumnDef:()=>({filterFn:"auto"}),
|
|
15564
15575
|
getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({
|
|
15565
|
-
onColumnFiltersChange:
|
|
15576
|
+
onColumnFiltersChange:Mj("columnFilters",e),filterFromLeafRows:!1,
|
|
15566
15577
|
maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{
|
|
15567
15578
|
const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id)
|
|
15568
|
-
;return"string"==typeof r?
|
|
15579
|
+
;return"string"==typeof r?Bj.includesString:"number"==typeof r?Bj.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?Bj.equals:Array.isArray(r)?Bj.arrIncludes:Bj.weakEquals
|
|
15569
15580
|
},e.getFilterFn=()=>{var n,r
|
|
15570
|
-
;return
|
|
15581
|
+
;return xj(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:Bj[e.columnDef.filterFn]
|
|
15571
15582
|
},e.getCanFilter=()=>{var n,r,o
|
|
15572
15583
|
;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn
|
|
15573
15584
|
},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n
|
|
@@ -15575,24 +15586,24 @@ const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id)
|
|
|
15575
15586
|
},e.getFilterIndex=()=>{var n,r
|
|
15576
15587
|
;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1
|
|
15577
15588
|
},e.setFilterValue=n=>{t.setColumnFilters((t=>{
|
|
15578
|
-
const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=
|
|
15589
|
+
const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=zj(n,o?o.value:void 0)
|
|
15579
15590
|
;var i
|
|
15580
|
-
;if(
|
|
15591
|
+
;if(Yj(r,a,e))return null!=(i=null==t?void 0:t.filter((t=>t.id!==e.id)))?i:[]
|
|
15581
15592
|
;const l={id:e.id,value:a};var c
|
|
15582
15593
|
;return o?null!=(c=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?c:[]:null!=t&&t.length?[...t,l]:[l]
|
|
15583
15594
|
}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},
|
|
15584
15595
|
createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns()
|
|
15585
15596
|
;null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{
|
|
15586
|
-
var r;return null==(r=
|
|
15587
|
-
const t=n.find((t=>t.id===e.id));if(t){if(
|
|
15597
|
+
var r;return null==(r=zj(t,e))?void 0:r.filter((e=>{
|
|
15598
|
+
const t=n.find((t=>t.id===e.id));if(t){if(Yj(t.getFilterFn(),e.value,t))return!1
|
|
15588
15599
|
}return!0}))}))},e.resetColumnFilters=t=>{var n,r
|
|
15589
15600
|
;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])
|
|
15590
15601
|
},
|
|
15591
15602
|
e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),
|
|
15592
15603
|
e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())
|
|
15593
|
-
}};function
|
|
15604
|
+
}};function Yj(e,t,n){
|
|
15594
15605
|
return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t
|
|
15595
|
-
}const
|
|
15606
|
+
}const Wj={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e)
|
|
15596
15607
|
;return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r
|
|
15597
15608
|
;return n.forEach((t=>{const n=t.getValue(e)
|
|
15598
15609
|
;null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r
|
|
@@ -15609,10 +15620,10 @@ if(!t.length)return;const n=t.map((t=>t.getValue(e)))
|
|
|
15609
15620
|
;return n.length%2!=0?a[o]:(a[o-1]+a[o])/2},
|
|
15610
15621
|
unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),
|
|
15611
15622
|
uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length
|
|
15612
|
-
},
|
|
15623
|
+
},Gj={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n
|
|
15613
15624
|
;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null
|
|
15614
15625
|
},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),
|
|
15615
|
-
getDefaultOptions:e=>({onGroupingChange:
|
|
15626
|
+
getDefaultOptions:e=>({onGroupingChange:Mj("grouping",e),
|
|
15616
15627
|
groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{
|
|
15617
15628
|
t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))
|
|
15618
15629
|
},e.getCanGroup=()=>{var n,r
|
|
@@ -15624,9 +15635,9 @@ t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?
|
|
|
15624
15635
|
},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{
|
|
15625
15636
|
t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{
|
|
15626
15637
|
const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id)
|
|
15627
|
-
;return"number"==typeof r?
|
|
15638
|
+
;return"number"==typeof r?Wj.sum:"[object Date]"===Object.prototype.toString.call(r)?Wj.extent:void 0
|
|
15628
15639
|
},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error
|
|
15629
|
-
;return
|
|
15640
|
+
;return xj(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:Wj[e.columnDef.aggregationFn]
|
|
15630
15641
|
}},createTable:e=>{
|
|
15631
15642
|
e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),
|
|
15632
15643
|
e.resetGrouping=t=>{var n,r
|
|
@@ -15645,25 +15656,25 @@ e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,
|
|
|
15645
15656
|
e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),
|
|
15646
15657
|
e.getIsAggregated=()=>{var t
|
|
15647
15658
|
;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)
|
|
15648
|
-
}}};const
|
|
15649
|
-
onColumnOrderChange:
|
|
15650
|
-
e.getIndex=
|
|
15651
|
-
e.getIsFirstColumn=n=>{var r;return(null==(r=
|
|
15652
|
-
},e.getIsLastColumn=n=>{var r;const o=
|
|
15659
|
+
}}};const Kj={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({
|
|
15660
|
+
onColumnOrderChange:Mj("columnOrder",e)}),createColumn:(e,t)=>{
|
|
15661
|
+
e.getIndex=Ej((e=>[tU(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Sj(t.options,"debugColumns","getIndex")),
|
|
15662
|
+
e.getIsFirstColumn=n=>{var r;return(null==(r=tU(t,n)[0])?void 0:r.id)===e.id
|
|
15663
|
+
},e.getIsLastColumn=n=>{var r;const o=tU(t,n)
|
|
15653
15664
|
;return(null==(r=o[o.length-1])?void 0:r.id)===e.id}},createTable:e=>{
|
|
15654
15665
|
e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),
|
|
15655
15666
|
e.resetColumnOrder=t=>{var n
|
|
15656
15667
|
;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])
|
|
15657
|
-
},e._getOrderColumnsFn=
|
|
15668
|
+
},e._getOrderColumnsFn=Ej((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{
|
|
15658
15669
|
let o=[];if(null!=e&&e.length){const t=[...e],n=[...r]
|
|
15659
15670
|
;for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e))
|
|
15660
15671
|
;r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){
|
|
15661
15672
|
if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)))
|
|
15662
15673
|
;if("remove"===n)return r
|
|
15663
15674
|
;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]
|
|
15664
|
-
}(o,t,n)}),
|
|
15675
|
+
}(o,t,n)}),Sj(e.options,"debugTable","_getOrderColumnsFn"))}},qj={
|
|
15665
15676
|
getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),
|
|
15666
|
-
getDefaultOptions:e=>({onColumnPinningChange:
|
|
15677
|
+
getDefaultOptions:e=>({onColumnPinningChange:Mj("columnPinning",e)}),
|
|
15667
15678
|
createColumn:(e,t)=>{e.pin=n=>{
|
|
15668
15679
|
const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean)
|
|
15669
15680
|
;t.setColumnPinning((e=>{var t,o,a,i,l,c;return"right"===n?{
|
|
@@ -15683,14 +15694,14 @@ const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPi
|
|
|
15683
15694
|
;const o=e.getIsPinned()
|
|
15684
15695
|
;return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0
|
|
15685
15696
|
}},createRow:(e,t)=>{
|
|
15686
|
-
e.getCenterVisibleCells=
|
|
15697
|
+
e.getCenterVisibleCells=Ej((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{
|
|
15687
15698
|
const r=[...null!=t?t:[],...null!=n?n:[]]
|
|
15688
15699
|
;return e.filter((e=>!r.includes(e.column.id)))
|
|
15689
|
-
}),
|
|
15690
|
-
e.getLeftVisibleCells=
|
|
15700
|
+
}),Sj(t.options,"debugRows","getCenterVisibleCells")),
|
|
15701
|
+
e.getLeftVisibleCells=Ej((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({
|
|
15691
15702
|
...e,position:"left"
|
|
15692
|
-
})))),
|
|
15693
|
-
...e,position:"right"})))),
|
|
15703
|
+
})))),Sj(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Ej((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({
|
|
15704
|
+
...e,position:"right"})))),Sj(t.options,"debugRows","getRightVisibleCells"))},
|
|
15694
15705
|
createTable:e=>{
|
|
15695
15706
|
e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),
|
|
15696
15707
|
e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]
|
|
@@ -15699,23 +15710,23 @@ e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]
|
|
|
15699
15710
|
;var o,a
|
|
15700
15711
|
;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(a=r.right)?void 0:a.length))
|
|
15701
15712
|
},
|
|
15702
|
-
e.getLeftLeafColumns=
|
|
15703
|
-
e.getRightLeafColumns=
|
|
15704
|
-
e.getCenterLeafColumns=
|
|
15713
|
+
e.getLeftLeafColumns=Ej((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Sj(e.options,"debugColumns","getLeftLeafColumns")),
|
|
15714
|
+
e.getRightLeafColumns=Ej((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Sj(e.options,"debugColumns","getRightLeafColumns")),
|
|
15715
|
+
e.getCenterLeafColumns=Ej((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{
|
|
15705
15716
|
const r=[...null!=t?t:[],...null!=n?n:[]]
|
|
15706
15717
|
;return e.filter((e=>!r.includes(e.id)))
|
|
15707
|
-
}),
|
|
15708
|
-
minSize:20,maxSize:Number.MAX_SAFE_INTEGER},
|
|
15718
|
+
}),Sj(e.options,"debugColumns","getCenterLeafColumns"))}},Zj={size:150,
|
|
15719
|
+
minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Xj={getDefaultColumnDef:()=>Zj,
|
|
15709
15720
|
getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,
|
|
15710
15721
|
startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,
|
|
15711
15722
|
columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",
|
|
15712
|
-
columnResizeDirection:"ltr",onColumnSizingChange:
|
|
15713
|
-
onColumnSizingInfoChange:
|
|
15723
|
+
columnResizeDirection:"ltr",onColumnSizingChange:Mj("columnSizing",e),
|
|
15724
|
+
onColumnSizingInfoChange:Mj("columnSizingInfo",e)}),createColumn:(e,t)=>{
|
|
15714
15725
|
e.getSize=()=>{var n,r,o;const a=t.getState().columnSizing[e.id]
|
|
15715
|
-
;return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:
|
|
15726
|
+
;return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Zj.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:Zj.size),null!=(o=e.columnDef.maxSize)?o:Zj.maxSize)
|
|
15716
15727
|
},
|
|
15717
|
-
e.getStart=
|
|
15718
|
-
e.getAfter=
|
|
15728
|
+
e.getStart=Ej((e=>[e,tU(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Sj(t.options,"debugColumns","getStart")),
|
|
15729
|
+
e.getAfter=Ej((e=>[e,tU(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Sj(t.options,"debugColumns","getAfter")),
|
|
15719
15730
|
e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))
|
|
15720
15731
|
},e.getCanResize=()=>{var n,r
|
|
15721
15732
|
;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)
|
|
@@ -15727,8 +15738,8 @@ const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}
|
|
|
15727
15738
|
return 0},e.getResizeHandler=n=>{
|
|
15728
15739
|
const r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return a=>{
|
|
15729
15740
|
if(!r||!o)return
|
|
15730
|
-
;if(null==a.persist||a.persist(),
|
|
15731
|
-
;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],c=
|
|
15741
|
+
;if(null==a.persist||a.persist(),Qj(a)&&a.touches&&a.touches.length>1)return
|
|
15742
|
+
;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],c=Qj(a)?Math.round(a.touches[0].clientX):a.clientX,s={},u=(e,n)=>{
|
|
15732
15743
|
"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o
|
|
15733
15744
|
;const a="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*a,l=Math.max(i/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999)
|
|
15734
15745
|
;return e.columnSizingStart.forEach((e=>{let[t,n]=e
|
|
@@ -15748,11 +15759,11 @@ e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t
|
|
|
15748
15759
|
null==p||p.removeEventListener("touchend",m.upHandler),
|
|
15749
15760
|
e.cancelable&&(e.preventDefault(),
|
|
15750
15761
|
e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}
|
|
15751
|
-
},v=!!function(){if("boolean"==typeof
|
|
15762
|
+
},v=!!function(){if("boolean"==typeof Jj)return Jj;let e=!1;try{const t={
|
|
15752
15763
|
get passive(){return e=!0,!1}},n=()=>{}
|
|
15753
15764
|
;window.addEventListener("test",n,t),window.removeEventListener("test",n)
|
|
15754
|
-
}catch(t){e=!1}return
|
|
15755
|
-
;
|
|
15765
|
+
}catch(t){e=!1}return Jj=e,Jj}()&&{passive:!1}
|
|
15766
|
+
;Qj(a)?(null==p||p.addEventListener("touchmove",m.moveHandler,v),
|
|
15756
15767
|
null==p||p.addEventListener("touchend",m.upHandler,v)):(null==p||p.addEventListener("mousemove",f.moveHandler,v),
|
|
15757
15768
|
null==p||p.addEventListener("mouseup",f.upHandler,v)),
|
|
15758
15769
|
t.setColumnSizingInfo((e=>({...e,startOffset:c,startSize:i,deltaOffset:0,
|
|
@@ -15774,9 +15785,9 @@ isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n
|
|
|
15774
15785
|
;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0
|
|
15775
15786
|
},e.getRightTotalSize=()=>{var t,n
|
|
15776
15787
|
;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0
|
|
15777
|
-
}}};let
|
|
15788
|
+
}}};let Jj=null;function Qj(e){return"touchstart"===e.type}const eU={
|
|
15778
15789
|
getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({
|
|
15779
|
-
onColumnVisibilityChange:
|
|
15790
|
+
onColumnVisibilityChange:Mj("columnVisibility",e)}),createColumn:(e,t)=>{
|
|
15780
15791
|
e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,
|
|
15781
15792
|
[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r
|
|
15782
15793
|
;const o=e.columns
|
|
@@ -15786,10 +15797,10 @@ e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,
|
|
|
15786
15797
|
},e.getToggleVisibilityHandler=()=>t=>{
|
|
15787
15798
|
null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},
|
|
15788
15799
|
createRow:(e,t)=>{
|
|
15789
|
-
e._getAllVisibleCells=
|
|
15790
|
-
e.getVisibleCells=
|
|
15800
|
+
e._getAllVisibleCells=Ej((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Sj(t.options,"debugRows","_getAllVisibleCells")),
|
|
15801
|
+
e.getVisibleCells=Ej((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Sj(t.options,"debugRows","getVisibleCells"))
|
|
15791
15802
|
},createTable:e=>{
|
|
15792
|
-
const t=(t,n)=>
|
|
15803
|
+
const t=(t,n)=>Ej((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Sj(e.options,"debugColumns",t))
|
|
15793
15804
|
;e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),
|
|
15794
15805
|
e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),
|
|
15795
15806
|
e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),
|
|
@@ -15806,25 +15817,25 @@ e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,
|
|
|
15806
15817
|
e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),
|
|
15807
15818
|
e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n
|
|
15808
15819
|
;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}}
|
|
15809
|
-
;function
|
|
15820
|
+
;function tU(e,t){
|
|
15810
15821
|
return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()
|
|
15811
|
-
}const
|
|
15812
|
-
getDefaultOptions:e=>({onGlobalFilterChange:
|
|
15822
|
+
}const nU={getInitialState:e=>({globalFilter:void 0,...e}),
|
|
15823
|
+
getDefaultOptions:e=>({onGlobalFilterChange:Mj("globalFilter",e),
|
|
15813
15824
|
globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n
|
|
15814
15825
|
;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue()
|
|
15815
15826
|
;return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{
|
|
15816
15827
|
e.getCanGlobalFilter=()=>{var n,r,o,a
|
|
15817
15828
|
;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(a=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn
|
|
15818
15829
|
}},createTable:e=>{
|
|
15819
|
-
e.getGlobalAutoFilterFn=()=>
|
|
15830
|
+
e.getGlobalAutoFilterFn=()=>Bj.includesString,e.getGlobalFilterFn=()=>{var t,n
|
|
15820
15831
|
;const{globalFilterFn:r}=e.options
|
|
15821
|
-
;return
|
|
15832
|
+
;return xj(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:Bj[r]
|
|
15822
15833
|
},e.setGlobalFilter=t=>{
|
|
15823
15834
|
null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)
|
|
15824
15835
|
},e.resetGlobalFilter=t=>{
|
|
15825
|
-
e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},
|
|
15836
|
+
e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},rU={
|
|
15826
15837
|
getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({
|
|
15827
|
-
onExpandedChange:
|
|
15838
|
+
onExpandedChange:Mj("expanded",e),paginateExpandedRows:!0}),createTable:e=>{
|
|
15828
15839
|
let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){
|
|
15829
15840
|
if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){
|
|
15830
15841
|
if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{
|
|
@@ -15859,8 +15870,8 @@ const{[e.id]:t,...n}=i;return n}return r}))},e.getIsExpanded=()=>{var n
|
|
|
15859
15870
|
},e.getIsAllParentsExpanded=()=>{let n=!0,r=e
|
|
15860
15871
|
;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n
|
|
15861
15872
|
},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{
|
|
15862
|
-
t&&e.toggleExpanded()}}}},
|
|
15863
|
-
},...e}),getDefaultOptions:e=>({onRowPinningChange:
|
|
15873
|
+
t&&e.toggleExpanded()}}}},oU={getInitialState:e=>({rowPinning:{top:[],bottom:[]
|
|
15874
|
+
},...e}),getDefaultOptions:e=>({onRowPinningChange:Mj("rowPinning",e)}),
|
|
15864
15875
|
createRow:(e,t)=>{e.pin=(n,r,o)=>{const a=r?e.getLeafRows().map((e=>{let{id:t}=e
|
|
15865
15876
|
;return t})):[],i=o?e.getParentRows().map((e=>{let{id:t}=e;return t
|
|
15866
15877
|
})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,r,o,a,i,c
|
|
@@ -15885,18 +15896,18 @@ e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]
|
|
|
15885
15896
|
e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,a
|
|
15886
15897
|
;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(a=r.bottom)?void 0:a.length))
|
|
15887
15898
|
},
|
|
15888
|
-
e._getPinnedRows=
|
|
15899
|
+
e._getPinnedRows=Ej((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{
|
|
15889
15900
|
var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{
|
|
15890
15901
|
const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null
|
|
15891
15902
|
})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({
|
|
15892
15903
|
...e,position:r})))
|
|
15893
|
-
}),
|
|
15904
|
+
}),Sj(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),
|
|
15894
15905
|
e.getBottomRows=()=>e._getPinnedRows("bottom"),
|
|
15895
|
-
e.getCenterRows=
|
|
15906
|
+
e.getCenterRows=Ej((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{
|
|
15896
15907
|
const r=new Set([...null!=t?t:[],...null!=n?n:[]])
|
|
15897
|
-
;return e.filter((e=>!r.has(e.id)))}),
|
|
15898
|
-
}},
|
|
15899
|
-
onRowSelectionChange:
|
|
15908
|
+
;return e.filter((e=>!r.has(e.id)))}),Sj(e.options,"debugRows","getCenterRows"))
|
|
15909
|
+
}},aU={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({
|
|
15910
|
+
onRowSelectionChange:Mj("rowSelection",e),enableRowSelection:!0,
|
|
15900
15911
|
enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{
|
|
15901
15912
|
e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),
|
|
15902
15913
|
e.resetRowSelection=t=>{var n
|
|
@@ -15907,17 +15918,17 @@ t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n
|
|
|
15907
15918
|
e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))
|
|
15908
15919
|
},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{
|
|
15909
15920
|
const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n}
|
|
15910
|
-
;return e.getRowModel().rows.forEach((t=>{
|
|
15921
|
+
;return e.getRowModel().rows.forEach((t=>{iU(o,t.id,r,!0,e)})),o
|
|
15911
15922
|
})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),
|
|
15912
|
-
e.getSelectedRowModel=
|
|
15923
|
+
e.getSelectedRowModel=Ej((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?lU(e,n):{
|
|
15913
15924
|
rows:[],flatRows:[],rowsById:{}
|
|
15914
|
-
}),
|
|
15915
|
-
e.getFilteredSelectedRowModel=
|
|
15925
|
+
}),Sj(e.options,"debugTable","getSelectedRowModel")),
|
|
15926
|
+
e.getFilteredSelectedRowModel=Ej((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?lU(e,n):{
|
|
15916
15927
|
rows:[],flatRows:[],rowsById:{}
|
|
15917
|
-
}),
|
|
15918
|
-
e.getGroupedSelectedRowModel=
|
|
15928
|
+
}),Sj(e.options,"debugTable","getFilteredSelectedRowModel")),
|
|
15929
|
+
e.getGroupedSelectedRowModel=Ej((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?lU(e,n):{
|
|
15919
15930
|
rows:[],flatRows:[],rowsById:{}
|
|
15920
|
-
}),
|
|
15931
|
+
}),Sj(e.options,"debugTable","getGroupedSelectedRowModel")),
|
|
15921
15932
|
e.getIsAllRowsSelected=()=>{
|
|
15922
15933
|
const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState()
|
|
15923
15934
|
;let r=Boolean(t.length&&Object.keys(n).length)
|
|
@@ -15936,11 +15947,11 @@ e.toggleAllRowsSelected(t.target.checked)
|
|
|
15936
15947
|
e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{
|
|
15937
15948
|
e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection((a=>{var i
|
|
15938
15949
|
;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return a;const l={...a}
|
|
15939
|
-
;return
|
|
15940
|
-
},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return
|
|
15950
|
+
;return iU(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))
|
|
15951
|
+
},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return cU(e,n)
|
|
15941
15952
|
},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState()
|
|
15942
|
-
;return"some"===
|
|
15943
|
-
const{rowSelection:n}=t.getState();return"all"===
|
|
15953
|
+
;return"some"===sU(e,n)},e.getIsAllSubRowsSelected=()=>{
|
|
15954
|
+
const{rowSelection:n}=t.getState();return"all"===sU(e,n)},e.getCanSelect=()=>{
|
|
15944
15955
|
var n
|
|
15945
15956
|
;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n
|
|
15946
15957
|
},e.getCanSelectSubRows=()=>{var n
|
|
@@ -15948,48 +15959,48 @@ var n
|
|
|
15948
15959
|
},e.getCanMultiSelect=()=>{var n
|
|
15949
15960
|
;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n
|
|
15950
15961
|
},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r
|
|
15951
|
-
;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},
|
|
15962
|
+
;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},iU=(e,t,n,r,o)=>{
|
|
15952
15963
|
var a;const i=o.getRow(t,!0)
|
|
15953
15964
|
;n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),
|
|
15954
15965
|
i.getCanSelect()&&(e[t]=!0)):delete e[t],
|
|
15955
|
-
r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>
|
|
15956
|
-
};function
|
|
15957
|
-
return e.map((e=>{var t;const i=
|
|
15966
|
+
r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>iU(e,t.id,n,r,o)))
|
|
15967
|
+
};function lU(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){
|
|
15968
|
+
return e.map((e=>{var t;const i=cU(e,n)
|
|
15958
15969
|
;if(i&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,
|
|
15959
15970
|
subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(t.rows),
|
|
15960
|
-
flatRows:r,rowsById:o}}function
|
|
15961
|
-
function
|
|
15971
|
+
flatRows:r,rowsById:o}}function cU(e,t){var n;return null!=(n=t[e.id])&&n}
|
|
15972
|
+
function sU(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1
|
|
15962
15973
|
;let o=!0,a=!1;return e.subRows.forEach((e=>{
|
|
15963
|
-
if((!a||o)&&(e.getCanSelect()&&(
|
|
15964
|
-
e.subRows&&e.subRows.length)){const n=
|
|
15974
|
+
if((!a||o)&&(e.getCanSelect()&&(cU(e,t)?a=!0:o=!1),
|
|
15975
|
+
e.subRows&&e.subRows.length)){const n=sU(e,t)
|
|
15965
15976
|
;"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}
|
|
15966
|
-
const
|
|
15977
|
+
const uU=/([0-9]+)/gm;function dU(e,t){return e===t?0:e>t?1:-1}function hU(e){
|
|
15967
15978
|
return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""
|
|
15968
|
-
}function
|
|
15969
|
-
const n=e.split(
|
|
15979
|
+
}function pU(e,t){
|
|
15980
|
+
const n=e.split(uU).filter(Boolean),r=t.split(uU).filter(Boolean)
|
|
15970
15981
|
;for(;n.length&&r.length;){
|
|
15971
15982
|
const e=n.shift(),t=r.shift(),o=parseInt(e,10),a=parseInt(t,10),i=[o,a].sort()
|
|
15972
15983
|
;if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{
|
|
15973
15984
|
if(isNaN(i[1]))return isNaN(o)?-1:1;if(o>a)return 1;if(a>o)return-1}}
|
|
15974
|
-
return n.length-r.length}const
|
|
15975
|
-
alphanumeric:(e,t,n)=>
|
|
15976
|
-
alphanumericCaseSensitive:(e,t,n)=>
|
|
15977
|
-
text:(e,t,n)=>
|
|
15978
|
-
textCaseSensitive:(e,t,n)=>
|
|
15985
|
+
return n.length-r.length}const fU={
|
|
15986
|
+
alphanumeric:(e,t,n)=>pU(hU(e.getValue(n)).toLowerCase(),hU(t.getValue(n)).toLowerCase()),
|
|
15987
|
+
alphanumericCaseSensitive:(e,t,n)=>pU(hU(e.getValue(n)),hU(t.getValue(n))),
|
|
15988
|
+
text:(e,t,n)=>dU(hU(e.getValue(n)).toLowerCase(),hU(t.getValue(n)).toLowerCase()),
|
|
15989
|
+
textCaseSensitive:(e,t,n)=>dU(hU(e.getValue(n)),hU(t.getValue(n))),
|
|
15979
15990
|
datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},
|
|
15980
|
-
basic:(e,t,n)=>
|
|
15991
|
+
basic:(e,t,n)=>dU(e.getValue(n),t.getValue(n))},mU={getInitialState:e=>({
|
|
15981
15992
|
sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),
|
|
15982
|
-
getDefaultOptions:e=>({onSortingChange:
|
|
15993
|
+
getDefaultOptions:e=>({onSortingChange:Mj("sorting",e),
|
|
15983
15994
|
isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{
|
|
15984
15995
|
const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){
|
|
15985
15996
|
const n=null==t?void 0:t.getValue(e.id)
|
|
15986
|
-
;if("[object Date]"===Object.prototype.toString.call(n))return
|
|
15987
|
-
;if("string"==typeof n&&(r=!0,n.split(
|
|
15988
|
-
return r?
|
|
15997
|
+
;if("[object Date]"===Object.prototype.toString.call(n))return fU.datetime
|
|
15998
|
+
;if("string"==typeof n&&(r=!0,n.split(uU).length>1))return fU.alphanumeric}
|
|
15999
|
+
return r?fU.text:fU.basic},e.getAutoSortDir=()=>{
|
|
15989
16000
|
const n=t.getFilteredRowModel().flatRows[0]
|
|
15990
16001
|
;return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"
|
|
15991
16002
|
},e.getSortingFn=()=>{var n,r;if(!e)throw new Error
|
|
15992
|
-
;return
|
|
16003
|
+
;return xj(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:fU[e.columnDef.sortingFn]
|
|
15993
16004
|
},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),a=null!=n
|
|
15994
16005
|
;t.setSorting((i=>{
|
|
15995
16006
|
const l=null==i?void 0:i.find((t=>t.id===e.id)),c=null==i?void 0:i.findIndex((t=>t.id===e.id))
|
|
@@ -16023,7 +16034,7 @@ e.resetSorting=t=>{var n,r
|
|
|
16023
16034
|
},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),
|
|
16024
16035
|
e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),
|
|
16025
16036
|
e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())
|
|
16026
|
-
}},
|
|
16037
|
+
}},vU=[Dj,eU,Kj,qj,Lj,Uj,{createTable:e=>{
|
|
16027
16038
|
e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),
|
|
16028
16039
|
e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),
|
|
16029
16040
|
e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),
|
|
@@ -16031,17 +16042,17 @@ e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalF
|
|
|
16031
16042
|
e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),
|
|
16032
16043
|
e.getGlobalFacetedMinMaxValues=()=>{
|
|
16033
16044
|
if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}
|
|
16034
|
-
},
|
|
16045
|
+
},nU,mU,Gj,rU,{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,
|
|
16035
16046
|
...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({
|
|
16036
|
-
onPaginationChange:
|
|
16047
|
+
onPaginationChange:Mj("pagination",e)}),createTable:e=>{let t=!1,n=!1
|
|
16037
16048
|
;e._autoResetPageIndex=()=>{var r,o;if(t){
|
|
16038
16049
|
if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){
|
|
16039
16050
|
if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{
|
|
16040
16051
|
t=!0}))
|
|
16041
|
-
},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>
|
|
16052
|
+
},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>zj(t,e))),
|
|
16042
16053
|
e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10
|
|
16043
16054
|
}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})
|
|
16044
|
-
},e.setPageIndex=t=>{e.setPagination((n=>{let r=
|
|
16055
|
+
},e.setPageIndex=t=>{e.setPagination((n=>{let r=zj(t,n.pageIndex)
|
|
16045
16056
|
;const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1
|
|
16046
16057
|
;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{
|
|
16047
16058
|
var n,r
|
|
@@ -16049,13 +16060,13 @@ var n,r
|
|
|
16049
16060
|
},e.resetPageSize=t=>{var n,r
|
|
16050
16061
|
;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)
|
|
16051
16062
|
},e.setPageSize=t=>{e.setPagination((e=>{
|
|
16052
|
-
const n=Math.max(1,
|
|
16063
|
+
const n=Math.max(1,zj(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n)
|
|
16053
16064
|
;return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{
|
|
16054
|
-
var r;let o=
|
|
16065
|
+
var r;let o=zj(t,null!=(r=e.options.pageCount)?r:-1)
|
|
16055
16066
|
;return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}
|
|
16056
|
-
})),e.getPageOptions=
|
|
16067
|
+
})),e.getPageOptions=Ej((()=>[e.getPageCount()]),(e=>{let t=[]
|
|
16057
16068
|
;return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t
|
|
16058
|
-
}),
|
|
16069
|
+
}),Sj(e.options,"debugTable","getPageOptions")),
|
|
16059
16070
|
e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,
|
|
16060
16071
|
e.getCanNextPage=()=>{
|
|
16061
16072
|
const{pageIndex:t}=e.getState().pagination,n=e.getPageCount()
|
|
@@ -16070,16 +16081,16 @@ e.getPageCount=()=>{var t
|
|
|
16070
16081
|
;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)
|
|
16071
16082
|
},e.getRowCount=()=>{var t
|
|
16072
16083
|
;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}
|
|
16073
|
-
}},
|
|
16084
|
+
}},oU,aU,Xj];function gU(e){var t,n
|
|
16074
16085
|
;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...")
|
|
16075
|
-
;const r=[...
|
|
16086
|
+
;const r=[...vU,...null!=(t=e._features)?t:[]];let o={_features:r}
|
|
16076
16087
|
;const a=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{})
|
|
16077
16088
|
;let i={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t
|
|
16078
16089
|
;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}))
|
|
16079
16090
|
;const l=[];let c=!1;const s={_features:r,options:{...a,...e},initialState:i,
|
|
16080
16091
|
_queue:e=>{l.push(e),c||(c=!0,Promise.resolve().then((()=>{
|
|
16081
16092
|
for(;l.length;)l.shift()();c=!1})).catch((e=>setTimeout((()=>{throw e})))))},
|
|
16082
|
-
reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=
|
|
16093
|
+
reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=zj(e,o.options)
|
|
16083
16094
|
;o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(a,e):{...a,...e
|
|
16084
16095
|
})(t)},getState:()=>o.options.state,setState:e=>{
|
|
16085
16096
|
null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{
|
|
@@ -16092,15 +16103,15 @@ let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e]
|
|
|
16092
16103
|
;if(!n&&(n=o.getCoreRowModel().rowsById[e],!n)){
|
|
16093
16104
|
if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`)
|
|
16094
16105
|
;throw new Error}return n},
|
|
16095
|
-
_getDefaultColumnDef:
|
|
16106
|
+
_getDefaultColumnDef:Ej((()=>[o.options.defaultColumn]),(e=>{var t
|
|
16096
16107
|
;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef
|
|
16097
16108
|
;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n
|
|
16098
16109
|
;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null
|
|
16099
16110
|
},
|
|
16100
16111
|
...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),
|
|
16101
|
-
...e}}),
|
|
16112
|
+
...e}}),Sj(e,"debugColumns","_getDefaultColumnDef")),
|
|
16102
16113
|
_getColumnDefs:()=>o.options.columns,
|
|
16103
|
-
getAllColumns:
|
|
16114
|
+
getAllColumns:Ej((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){
|
|
16104
16115
|
return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={
|
|
16105
16116
|
...e._getDefaultColumnDef(),...t},l=i.accessorKey
|
|
16106
16117
|
;let c,s=null!=(o=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?o:"string"==typeof i.header?i.header:void 0
|
|
@@ -16110,46 +16121,46 @@ return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={
|
|
|
16110
16121
|
}return t}:e=>e[i.accessorKey]),!s){
|
|
16111
16122
|
if("production"!==process.env.NODE_ENV)throw new Error(i.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header")
|
|
16112
16123
|
;throw new Error}let u={id:`${String(s)}`,accessorFn:c,parent:r,depth:n,
|
|
16113
|
-
columnDef:i,columns:[],getFlatColumns:
|
|
16124
|
+
columnDef:i,columns:[],getFlatColumns:Ej((()=>[!0]),(()=>{var e
|
|
16114
16125
|
;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]
|
|
16115
|
-
}),
|
|
16116
|
-
getLeafColumns:
|
|
16126
|
+
}),Sj(e.options,"debugColumns","column.getFlatColumns")),
|
|
16127
|
+
getLeafColumns:Ej((()=>[e._getOrderColumnsFn()]),(e=>{var t
|
|
16117
16128
|
;if(null!=(t=u.columns)&&t.length){
|
|
16118
16129
|
let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]
|
|
16119
|
-
}),
|
|
16130
|
+
}),Sj(e.options,"debugColumns","column.getLeafColumns"))}
|
|
16120
16131
|
;for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u
|
|
16121
16132
|
}(o,e,r,n),i=e;return a.columns=i.columns?t(i.columns,a,r+1):[],a}))}
|
|
16122
|
-
;return t(e)}),
|
|
16123
|
-
getAllFlatColumns:
|
|
16124
|
-
_getAllFlatColumnsById:
|
|
16125
|
-
e)),{})),
|
|
16126
|
-
getAllLeafColumns:
|
|
16133
|
+
;return t(e)}),Sj(e,"debugColumns","getAllColumns")),
|
|
16134
|
+
getAllFlatColumns:Ej((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Sj(e,"debugColumns","getAllFlatColumns")),
|
|
16135
|
+
_getAllFlatColumnsById:Ej((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,
|
|
16136
|
+
e)),{})),Sj(e,"debugColumns","getAllFlatColumnsById")),
|
|
16137
|
+
getAllLeafColumns:Ej((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{
|
|
16127
16138
|
let n=e.flatMap((e=>e.getLeafColumns()));return t(n)
|
|
16128
|
-
}),
|
|
16139
|
+
}),Sj(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{
|
|
16129
16140
|
const t=o._getAllFlatColumnsById()[e]
|
|
16130
16141
|
;return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),
|
|
16131
16142
|
t}};Object.assign(o,s);for(let e=0;e<o._features.length;e++){
|
|
16132
16143
|
const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}
|
|
16133
|
-
function
|
|
16144
|
+
function yU(){return e=>Ej((()=>[e.options.data]),(t=>{const n={rows:[],
|
|
16134
16145
|
flatRows:[],rowsById:{}},r=function(t,o,a){void 0===o&&(o=0);const i=[]
|
|
16135
16146
|
;for(let c=0;c<t.length;c++){
|
|
16136
|
-
const s=
|
|
16147
|
+
const s=Aj(e,e._getRowId(t[c],c,a),t[c],c,o,void 0,null==a?void 0:a.id);var l
|
|
16137
16148
|
;if(n.flatRows.push(s),
|
|
16138
16149
|
n.rowsById[s.id]=s,i.push(s),e.options.getSubRows)s.originalSubRows=e.options.getSubRows(t[c],c),
|
|
16139
16150
|
null!=(l=s.originalSubRows)&&l.length&&(s.subRows=r(s.originalSubRows,o+1,s))}
|
|
16140
16151
|
return i};return n.rows=r(t),n
|
|
16141
|
-
}),
|
|
16142
|
-
function
|
|
16152
|
+
}),Sj(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex())))}
|
|
16153
|
+
function bU(e,t){return e?function(e){return"function"==typeof e&&(()=>{
|
|
16143
16154
|
const t=Object.getPrototypeOf(e)
|
|
16144
16155
|
;return t.prototype&&t.prototype.isReactComponent})()
|
|
16145
16156
|
}(n=e)||"function"==typeof n||function(e){
|
|
16146
16157
|
return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)
|
|
16147
|
-
}(n)?r.createElement(e,t):e:null;var n}function
|
|
16158
|
+
}(n)?r.createElement(e,t):e:null;var n}function wU(e){const t={state:{},
|
|
16148
16159
|
onStateChange:()=>{},renderFallbackValue:null,...e},[n]=r.useState((()=>({
|
|
16149
|
-
current:
|
|
16160
|
+
current:gU(t)}))),[o,a]=r.useState((()=>n.current.initialState))
|
|
16150
16161
|
;return n.current.setOptions((t=>({...t,...e,state:{...o,...e.state},
|
|
16151
16162
|
onStateChange:t=>{a(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}
|
|
16152
|
-
const
|
|
16163
|
+
const CU=yr.div`
|
|
16153
16164
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16154
16165
|
direction: ${({theme:e})=>e.direction};
|
|
16155
16166
|
display: flex;
|
|
@@ -16169,22 +16180,22 @@ const bU=yr.div`
|
|
|
16169
16180
|
.PopoverContent {
|
|
16170
16181
|
padding: 0;
|
|
16171
16182
|
}
|
|
16172
|
-
`,
|
|
16183
|
+
`,zU=yr((t=>e.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",
|
|
16173
16184
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{
|
|
16174
16185
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16175
16186
|
d:"M4.16 2H11.84C13.0329 2 14 2.96706 14 4.16V11.84C14 12.4129 13.7724 12.9623 13.3674 13.3674C12.9623 13.7724 12.4129 14 11.84 14H4.16C3.58713 14 3.03773 13.7724 2.63265 13.3674C2.22757 12.9623 2 12.4129 2 11.84V4.16C2 2.96706 2.96706 2 4.16 2ZM3.12 4.16V11.84C3.12 12.4144 3.58562 12.88 4.16 12.88H9.93599V3.12H4.16C3.88417 3.12 3.61964 3.22957 3.4246 3.42461C3.22957 3.61965 3.12 3.88417 3.12 4.16ZM11.84 12.88H11.04V3.12H11.84C12.1158 3.12 12.3804 3.22957 12.5754 3.42461C12.7704 3.61965 12.88 3.88417 12.88 4.16V11.84C12.88 12.4144 12.4144 12.88 11.84 12.88ZM5.74401 10.168C5.8945 10.168 6.03866 10.1075 6.14401 10L7.712 8.4C7.92739 8.17682 7.92739 7.82317 7.712 7.6L6.15201 6C5.93109 5.77908 5.57292 5.77908 5.35201 6C5.13109 6.22091 5.13109 6.57908 5.35201 6.8L6.52001 8L5.35201 9.2C5.13236 9.42144 5.13236 9.77856 5.35201 10C5.45436 10.107 5.59592 10.1677 5.74401 10.168Z",
|
|
16176
16187
|
fill:t.fill}))))`
|
|
16177
16188
|
transition: all 0.3s ease-in-out;
|
|
16178
|
-
`,
|
|
16189
|
+
`,MU=yr(no)`
|
|
16179
16190
|
transform: ${({theme:e})=>"rtl"===e.direction?"rotate(90deg)":"rotate(270deg)"};
|
|
16180
|
-
`,
|
|
16191
|
+
`,xU=yr(no)`
|
|
16181
16192
|
transform: ${({theme:e})=>"rtl"===e.direction?"rotate(270deg)":"rotate(90deg)"};
|
|
16182
|
-
`,
|
|
16193
|
+
`,EU=yr.div`
|
|
16183
16194
|
display: flex;
|
|
16184
16195
|
flex: 1;
|
|
16185
16196
|
overflow: auto;
|
|
16186
16197
|
direction: ${({theme:e})=>e.direction};
|
|
16187
|
-
`,
|
|
16198
|
+
`,SU=yr.div`
|
|
16188
16199
|
flex: 1;
|
|
16189
16200
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.fill.surface:e.colors.fill.medium};
|
|
16190
16201
|
direction: ${({theme:e})=>e.direction};
|
|
@@ -16193,7 +16204,7 @@ fill:t.fill}))))`
|
|
|
16193
16204
|
display: flex;
|
|
16194
16205
|
width: 100%;
|
|
16195
16206
|
flex-direction: column;
|
|
16196
|
-
`,
|
|
16207
|
+
`,_U=yr.div`
|
|
16197
16208
|
display: flex;
|
|
16198
16209
|
gap: 12px;
|
|
16199
16210
|
justify-content: space-between;
|
|
@@ -16206,7 +16217,7 @@ fill:t.fill}))))`
|
|
|
16206
16217
|
${({theme:e})=>"dark"===e.mode?e.colors.border.light:e.colors.border.normal};
|
|
16207
16218
|
box-shadow: ${({theme:e})=>xo(e.colors.shadow,.08)} 0px 2px 4px
|
|
16208
16219
|
0px;
|
|
16209
|
-
`,
|
|
16220
|
+
`,HU=yr.div`
|
|
16210
16221
|
direction: ${({theme:e})=>e.direction};
|
|
16211
16222
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.fill.medium:e.colors.fill.base};
|
|
16212
16223
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
@@ -16215,7 +16226,7 @@ fill:t.fill}))))`
|
|
|
16215
16226
|
animation-duration: ${({theme:e})=>e.transitions.duration.standard};
|
|
16216
16227
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
|
|
16217
16228
|
animation-name: ${Pr};
|
|
16218
|
-
`,
|
|
16229
|
+
`,DU=yr.div``,kU=yr.div``,AU=yr.div``,LU=yr.div`
|
|
16219
16230
|
display: flex;
|
|
16220
16231
|
align-items: center;
|
|
16221
16232
|
gap: 10px;
|
|
@@ -16241,7 +16252,7 @@ fill:t.fill}))))`
|
|
|
16241
16252
|
font-size: 14px;
|
|
16242
16253
|
font-weight: 400;
|
|
16243
16254
|
}
|
|
16244
|
-
`,
|
|
16255
|
+
`,VU=yr.div`
|
|
16245
16256
|
display: flex;
|
|
16246
16257
|
gap: 8px;
|
|
16247
16258
|
align-items: center;
|
|
@@ -16253,10 +16264,10 @@ fill:t.fill}))))`
|
|
|
16253
16264
|
place-content: center;
|
|
16254
16265
|
padding: 0;
|
|
16255
16266
|
}
|
|
16256
|
-
`,
|
|
16267
|
+
`,TU=yr.div`
|
|
16257
16268
|
overflow: auto;
|
|
16258
16269
|
flex: 1;
|
|
16259
|
-
`,
|
|
16270
|
+
`,RU=yr.table`
|
|
16260
16271
|
border-spacing: 0px;
|
|
16261
16272
|
border-collapse: collapse;
|
|
16262
16273
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
@@ -16265,9 +16276,9 @@ fill:t.fill}))))`
|
|
|
16265
16276
|
margin: 0;
|
|
16266
16277
|
direction: ${({theme:e})=>e.direction};
|
|
16267
16278
|
position: relative;
|
|
16268
|
-
`,
|
|
16279
|
+
`,PU=yr.thead``,IU=yr.tbody`
|
|
16269
16280
|
position: relative;
|
|
16270
|
-
`,
|
|
16281
|
+
`,OU=yr.tfoot``,NU=yr.tr`
|
|
16271
16282
|
&:hover {
|
|
16272
16283
|
transition: 0.2s ease;
|
|
16273
16284
|
background-color: ${({theme:e})=>e.colors.fill.medium};
|
|
@@ -16281,7 +16292,7 @@ fill:t.fill}))))`
|
|
|
16281
16292
|
border-bottom-width: 3px;
|
|
16282
16293
|
}
|
|
16283
16294
|
`}
|
|
16284
|
-
`,
|
|
16295
|
+
`,FU=yr.div`
|
|
16285
16296
|
position: absolute;
|
|
16286
16297
|
width: 100%;
|
|
16287
16298
|
height: 100%;
|
|
@@ -16291,7 +16302,7 @@ fill:t.fill}))))`
|
|
|
16291
16302
|
animation-duration: ${({theme:e})=>e.transitions.duration.standard};
|
|
16292
16303
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
|
|
16293
16304
|
animation-name: ${Sr};
|
|
16294
|
-
|
|
16305
|
+
`,$U=yr.th`
|
|
16295
16306
|
padding: 16px;
|
|
16296
16307
|
font-size: 12px;
|
|
16297
16308
|
line-height: 16px;
|
|
@@ -16324,7 +16335,7 @@ fill:t.fill}))))`
|
|
|
16324
16335
|
border-right: 3px solid ${({theme:e})=>e.colors.border.light};
|
|
16325
16336
|
}
|
|
16326
16337
|
`}
|
|
16327
|
-
`,
|
|
16338
|
+
`,BU=yr.td`
|
|
16328
16339
|
padding: 12px;
|
|
16329
16340
|
margin: 0;
|
|
16330
16341
|
font-size: 14px;
|
|
@@ -16347,19 +16358,19 @@ fill:t.fill}))))`
|
|
|
16347
16358
|
border-right: 3px solid ${e.colors.border.light};
|
|
16348
16359
|
}
|
|
16349
16360
|
`}
|
|
16350
|
-
|
|
16361
|
+
`,jU=yr.div`
|
|
16351
16362
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16352
|
-
`,
|
|
16363
|
+
`,UU=yr.div`
|
|
16353
16364
|
padding: 24px;
|
|
16354
16365
|
display: flex;
|
|
16355
16366
|
justify-content: space-between;
|
|
16356
16367
|
align-items: center;
|
|
16357
|
-
`,
|
|
16368
|
+
`,YU=yr.div`
|
|
16358
16369
|
padding: 0 24px;
|
|
16359
16370
|
display: flex;
|
|
16360
16371
|
gap: 16px;
|
|
16361
16372
|
height: 256px;
|
|
16362
|
-
`,
|
|
16373
|
+
`,WU=yr.div`
|
|
16363
16374
|
background: ${({theme:e})=>e.colors.fill.medium};
|
|
16364
16375
|
border-radius: 4px 4px 0px 0px;
|
|
16365
16376
|
padding: 8px 8px 0 8px;
|
|
@@ -16373,11 +16384,11 @@ fill:t.fill}))))`
|
|
|
16373
16384
|
margin-bottom: 8px;
|
|
16374
16385
|
}
|
|
16375
16386
|
}
|
|
16376
|
-
`,
|
|
16387
|
+
`,GU=yr.div`
|
|
16377
16388
|
display: flex;
|
|
16378
16389
|
gap: 8px;
|
|
16379
16390
|
flex-direction: column;
|
|
16380
|
-
`,
|
|
16391
|
+
`,KU=yr.div`
|
|
16381
16392
|
display: flex;
|
|
16382
16393
|
gap: 12px;
|
|
16383
16394
|
flex-direction: column;
|
|
@@ -16391,13 +16402,13 @@ fill:t.fill}))))`
|
|
|
16391
16402
|
font-weight: ${({theme:e})=>e.typography.fontWeight.regular};
|
|
16392
16403
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
16393
16404
|
}
|
|
16394
|
-
`,
|
|
16405
|
+
`,qU=yr.div`
|
|
16395
16406
|
background-color: ${({theme:e})=>e.colors.fill.base};
|
|
16396
16407
|
display: flex;
|
|
16397
16408
|
padding: 16px;
|
|
16398
16409
|
gap: 8px;
|
|
16399
16410
|
justify-content: flex-end;
|
|
16400
|
-
`,
|
|
16411
|
+
`,ZU=yr.div`
|
|
16401
16412
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16402
16413
|
background: ${({theme:e})=>e.colors.fill.surface};
|
|
16403
16414
|
border: 1px solid ${({theme:e})=>e.colors.border.light};
|
|
@@ -16411,7 +16422,7 @@ fill:t.fill}))))`
|
|
|
16411
16422
|
display: flex;
|
|
16412
16423
|
justify-content: space-between;
|
|
16413
16424
|
gap: 8px;
|
|
16414
|
-
`,
|
|
16425
|
+
`,XU=yr.div`
|
|
16415
16426
|
display: flex;
|
|
16416
16427
|
align-items: center;
|
|
16417
16428
|
width: fit-content;
|
|
@@ -16432,17 +16443,17 @@ fill:t.fill}))))`
|
|
|
16432
16443
|
color: ${e.colors.text.link};
|
|
16433
16444
|
`}
|
|
16434
16445
|
}
|
|
16435
|
-
`,
|
|
16446
|
+
`,JU=e.forwardRef(((t,n)=>e.createElement("svg",{width:"16",height:"16",
|
|
16436
16447
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"
|
|
16437
16448
|
},e.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
16438
16449
|
"fill-opacity":"0.01"}),e.createElement("path",{
|
|
16439
16450
|
d:"M7.99999 10.62C7.84999 10.62 7.68999 10.56 7.57999 10.44L3.53999 6.41001C3.30999 6.18001 3.30999 5.80001 3.53999 5.56001C3.76999 5.33001 4.14999 5.33001 4.38999 5.56001L7.99999 9.17001L11.61 5.56001C11.84 5.33001 12.23 5.33001 12.46 5.56001C12.69 5.79001 12.69 6.17001 12.46 6.41001L8.41999 10.44C8.29999 10.56 8.14999 10.62 7.99999 10.62Z",
|
|
16440
|
-
fill:"currentcolor"})))),
|
|
16451
|
+
fill:"currentcolor"})))),QU=e.forwardRef(((t,n)=>e.createElement("svg",{
|
|
16441
16452
|
width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",
|
|
16442
16453
|
xmlns:"http://www.w3.org/2000/svg",...t,ref:n},e.createElement("path",{
|
|
16443
16454
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16444
16455
|
d:"M17.0975 18.4944C17.6301 18.1751 17.8085 17.4835 17.5071 16.9414L17.17 16.335C16.9678 15.9711 16.9704 15.528 17.1769 15.1666C17.3793 14.8126 17.7558 14.5941 18.1635 14.5941H18.8694C19.4997 14.5941 20 14.0745 20 13.4461V10.7544C20 10.1259 19.4997 9.6063 18.8694 9.6063H18.3369C17.8687 9.6063 17.4377 9.3511 17.2126 8.94057C16.9773 8.51146 16.9788 7.9916 17.2166 7.56386L17.4998 7.05431C17.8012 6.51212 17.6228 5.82059 17.0903 5.50125L14.8604 4.16415C14.3128 3.83576 13.6107 4.03115 13.301 4.58826L12.9716 5.18081C12.7696 5.54419 12.3864 5.7694 11.9706 5.76906C11.5542 5.76871 11.1707 5.54291 10.9685 5.17902L10.6376 4.58392C10.3279 4.02681 9.62586 3.83142 9.07821 4.15981L6.83388 5.50559C6.30131 5.82493 6.1229 6.51646 6.4243 7.05865L6.7111 7.57457C6.94768 8.00015 6.94938 8.51734 6.7156 8.94446C6.49224 9.35254 6.06407 9.6063 5.59885 9.6063H5.13055C4.50031 9.6063 4 10.1259 4 10.7544V13.4461C4 14.0745 4.50031 14.5941 5.13055 14.5941H5.76345C6.17421 14.5941 6.55354 14.814 6.75763 15.1705C6.96571 15.5339 6.96853 15.9797 6.76506 16.3457L6.43154 16.9457C6.13014 17.4879 6.30855 18.1794 6.84112 18.4988L9.07097 19.8358C9.61862 20.1642 10.3207 19.9689 10.6304 19.4117L10.9598 18.8192C11.1618 18.4558 11.545 18.2306 11.9608 18.2309C12.3771 18.2313 12.7606 18.4571 12.9629 18.821L13.2937 19.4161C13.6034 19.9732 14.3055 20.1686 14.8532 19.8402L17.0975 18.4944ZM16.003 14.4957C15.5617 15.2679 15.5561 16.2146 15.9882 16.9919L16.2347 17.4353L14.3634 18.5574L14.1447 18.1641C13.7041 17.3715 12.8688 16.8796 11.9619 16.8789C11.0548 16.8781 10.2187 17.3695 9.778 18.1623L9.56078 18.553L7.70395 17.4396L7.94686 17.0026C8.38037 16.2228 8.37437 15.273 7.93103 14.4987C7.48605 13.7215 6.65902 13.2421 5.76345 13.2421H5.35211V10.9584H5.59885C6.55817 10.9584 7.4411 10.4351 7.90168 9.59361C8.35835 8.75926 8.35503 7.74898 7.8929 6.91765L7.69671 6.56473L9.56802 5.44263L9.78666 5.83594C10.2273 6.62855 11.0626 7.12037 11.9695 7.12113C12.8766 7.12188 13.7127 6.63053 14.1534 5.83772L14.3706 5.44697L16.2274 6.56039L16.0348 6.90695C15.5713 7.74077 15.5683 8.75417 16.027 9.59065C16.4895 10.4341 17.375 10.9584 18.3369 10.9584H18.6479V13.2421H18.1635C17.2706 13.2421 16.4461 13.7205 16.003 14.4957ZM11.9657 15.3927C10.1384 15.3927 8.66702 13.8685 8.66702 12C8.66702 10.1315 10.1384 8.60732 11.9657 8.60732C13.7929 8.60732 15.2644 10.1315 15.2644 12C15.2644 13.8685 13.7929 15.3927 11.9657 15.3927ZM13.9123 12C13.9123 13.1322 13.0353 14.0406 11.9657 14.0406C10.8961 14.0406 10.0191 13.1322 10.0191 12C10.0191 10.8678 10.8961 9.95939 11.9657 9.95939C13.0353 9.95939 13.9123 10.8678 13.9123 12Z",
|
|
16445
|
-
fill:t.fill})))),
|
|
16456
|
+
fill:t.fill})))),eY=e.forwardRef(((t,n)=>{const r=cr()
|
|
16446
16457
|
;return e.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",
|
|
16447
16458
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
16448
16459
|
},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",
|
|
@@ -16451,36 +16462,36 @@ fill:r.colors.text.primary}),e.createElement("mask",{id:"mask0_3930_5537",
|
|
|
16451
16462
|
style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",
|
|
16452
16463
|
height:"16"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",
|
|
16453
16464
|
d:"M2.58355 11.1378C4.81252 13.3668 8.33651 13.5074 10.7134 11.5548L14.1832 15.0246C14.4164 15.2578 14.7939 15.2586 15.0262 15.0262C15.2586 14.7939 15.2578 14.4164 15.0246 14.1832L11.5548 10.7134C13.5074 8.33651 13.3668 4.81252 11.1378 2.58355C8.76634 0.212068 4.92894 0.204542 2.56674 2.56674C0.204542 4.92894 0.212068 8.76634 2.58355 11.1378ZM3.42481 10.2966C1.51985 8.39167 1.5138 5.30917 3.41131 3.41166C5.30881 1.51416 8.39131 1.52021 10.2963 3.42517C12.2012 5.33013 12.2073 8.41263 10.3098 10.3101C8.41228 12.2076 5.32977 12.2016 3.42481 10.2966Z"
|
|
16454
|
-
})))})),
|
|
16465
|
+
})))})),tY=["rowMenuOptions","select"],nY=({table:t})=>{
|
|
16455
16466
|
const n=cr(),[r,o]=e.useState({}),[a,i]=e.useState([]),l=t.getAllColumns(),c=t.getState(),s=e.useCallback((()=>{
|
|
16456
16467
|
const e={};l.forEach((t=>{e[t.id]=t
|
|
16457
16468
|
})),i(c.columnOrder.map((t=>e[t])).filter((e=>e.getIsVisible())))
|
|
16458
16469
|
}),[c.columnOrder,l,i]);return e.useEffect((()=>{o(c.columnVisibility),s()
|
|
16459
16470
|
}),[c.columnVisibility,s]),
|
|
16460
|
-
e.createElement(
|
|
16471
|
+
e.createElement(jU,null,e.createElement(UU,null,e.createElement(Yo,{
|
|
16461
16472
|
weight:"semi-bold"},"Customize columns"),e.createElement(xm,{variant:"link",
|
|
16462
16473
|
onClick:()=>{const e={};t.getAllColumns().forEach((t=>{e[t.id]=t.getIsVisible()
|
|
16463
16474
|
})),o(e),s()}
|
|
16464
|
-
},"Reset")),e.createElement(
|
|
16465
|
-
startAdornment:e.createElement(
|
|
16475
|
+
},"Reset")),e.createElement(YU,null,e.createElement(GU,null,e.createElement(fm,{
|
|
16476
|
+
startAdornment:e.createElement(eY,{viewBox:"0 0 18px 18px"}),
|
|
16466
16477
|
placeholder:"Search columns"}),e.createElement(Yo,{weight:"semi-bold"
|
|
16467
|
-
},"Choose columns"),e.createElement(
|
|
16478
|
+
},"Choose columns"),e.createElement(KU,null,t.getAllColumns().filter((e=>!tY.includes(e.id))).map((n=>e.createElement(Yg,{
|
|
16468
16479
|
key:n.id,label:n.columnDef.header?.toString(),checked:!!r[n.id],
|
|
16469
16480
|
onCheckedChange:e=>{const r=t.getAllColumns().find((e=>e.id===n.id));o((t=>({
|
|
16470
16481
|
...t,[n.id]:!0===e
|
|
16471
16482
|
}))),i((t=>!0===e?[...t,...r?[r]:[]]:t.filter((e=>e.id!==n.id))))}
|
|
16472
|
-
}))))),e.createElement(
|
|
16473
|
-
},`Selected columns (${a.length})`),e.createElement(
|
|
16483
|
+
}))))),e.createElement(WU,null,e.createElement(Yo,{weight:"semi-bold"
|
|
16484
|
+
},`Selected columns (${a.length})`),e.createElement(wj,{
|
|
16474
16485
|
className:"ReorderContainer",onReorder:e=>{i(e)},
|
|
16475
|
-
customFilter:e=>!
|
|
16486
|
+
customFilter:e=>!tY.includes(e.id??""),customRender:t=>e.createElement(ZU,{
|
|
16476
16487
|
key:t.id
|
|
16477
16488
|
},e.createElement("div",null,t?.columnDef?.header?.toString()??""),e.createElement(Lo,{
|
|
16478
16489
|
onClick:()=>{o((e=>({...e,[t.id]:!1}))),i((e=>e.filter((e=>e.id!==t.id))))}
|
|
16479
16490
|
},e.createElement(ro,{fill:n.colors.text.primary}))),items:a
|
|
16480
|
-
}))),e.createElement(
|
|
16491
|
+
}))),e.createElement(qU,null,e.createElement(EF,{asChild:!0
|
|
16481
16492
|
},e.createElement(xm,{variant:"secondary"},"Cancel")),e.createElement(xm,{
|
|
16482
16493
|
onClick:()=>{t.setColumnOrder(a.map((e=>e.id))),t.setColumnVisibility(r)}
|
|
16483
|
-
},"Update")))},
|
|
16494
|
+
},"Update")))},rY=t=>{
|
|
16484
16495
|
const{trigger:n,idAccessor:r="id",nameAccessor:o="name",onSelect:a,isDisableSortDropdown:i=!1,options:l=[],value:c}=t,s=cr()
|
|
16485
16496
|
;return e.createElement(Yv,null,e.createElement(Wv,{asChild:!0,disabled:i
|
|
16486
16497
|
},e.createElement(No,null,n)),e.createElement(Gv,null,e.createElement(Zv,{
|
|
@@ -16490,18 +16501,18 @@ side:"bottom",sideOffset:4,align:"center",className:"DropdownMenuContent"
|
|
|
16490
16501
|
className:"DropdownMenuItem",key:t?.[r],onSelect:()=>{const e=c??[];e[n]=t?.[r],
|
|
16491
16502
|
a?.(e)}},t?.[o],c?.[n]===t?.[r]&&e.createElement(so,{fill:s.colors.common.accent
|
|
16492
16503
|
})))),e.createElement(qv,{className:"DropdownMenuSeparator"})))))))
|
|
16493
|
-
},
|
|
16504
|
+
},oY="Tabs",[aY,iY]=i(oY,[Vm]),lY=Vm(),[cY,sY]=aY(oY),uY=e.forwardRef(((t,n)=>{
|
|
16494
16505
|
const{__scopeTabs:r,value:o,onValueChange:i,defaultValue:l,orientation:c="horizontal",dir:s,activationMode:u="automatic",...d}=t,h=B(s),[p,f]=y({
|
|
16495
|
-
prop:o,onChange:i,defaultProp:l});return e.createElement(
|
|
16506
|
+
prop:o,onChange:i,defaultProp:l});return e.createElement(cY,{scope:r,baseId:S(),
|
|
16496
16507
|
value:p,onValueChange:f,orientation:c,dir:h,activationMode:u
|
|
16497
16508
|
},e.createElement(b.div,a({dir:h,"data-orientation":c},d,{ref:n})))}))
|
|
16498
|
-
;function
|
|
16499
|
-
return`${e}-content-${t}`}const
|
|
16500
|
-
const{__scopeTabs:r,loop:o=!0,...i}=t,l=
|
|
16509
|
+
;function dY(e,t){return`${e}-trigger-${t}`}function hY(e,t){
|
|
16510
|
+
return`${e}-content-${t}`}const pY=e.forwardRef(((t,n)=>{
|
|
16511
|
+
const{__scopeTabs:r,loop:o=!0,...i}=t,l=sY("TabsList",r),c=lY(r)
|
|
16501
16512
|
;return e.createElement($m,a({asChild:!0},c,{orientation:l.orientation,
|
|
16502
16513
|
dir:l.dir,loop:o}),e.createElement(b.div,a({role:"tablist",
|
|
16503
|
-
"aria-orientation":l.orientation},i,{ref:n})))})),
|
|
16504
|
-
const{__scopeTabs:r,value:o,disabled:i=!1,...l}=t,c=
|
|
16514
|
+
"aria-orientation":l.orientation},i,{ref:n})))})),fY=e.forwardRef(((t,n)=>{
|
|
16515
|
+
const{__scopeTabs:r,value:o,disabled:i=!1,...l}=t,c=sY("TabsTrigger",r),s=lY(r),u=dY(c.baseId,o),d=hY(c.baseId,o),h=o===c.value
|
|
16505
16516
|
;return e.createElement(Bm,a({asChild:!0},s,{focusable:!i,active:h
|
|
16506
16517
|
}),e.createElement(b.button,a({type:"button",role:"tab","aria-selected":h,
|
|
16507
16518
|
"aria-controls":d,"data-state":h?"active":"inactive",
|
|
@@ -16510,21 +16521,21 @@ onMouseDown:v(t.onMouseDown,(e=>{
|
|
|
16510
16521
|
i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(o)})),
|
|
16511
16522
|
onKeyDown:v(t.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(o)
|
|
16512
16523
|
})),onFocus:v(t.onFocus,(()=>{const e="manual"!==c.activationMode
|
|
16513
|
-
;h||i||!e||c.onValueChange(o)}))})))})),
|
|
16514
|
-
const{__scopeTabs:r,value:o,forceMount:i,children:l,...c}=t,s=
|
|
16524
|
+
;h||i||!e||c.onValueChange(o)}))})))})),mY=e.forwardRef(((t,n)=>{
|
|
16525
|
+
const{__scopeTabs:r,value:o,forceMount:i,children:l,...c}=t,s=sY("TabsContent",r),u=dY(s.baseId,o),d=hY(s.baseId,o),h=o===s.value,p=e.useRef(h)
|
|
16515
16526
|
;return e.useEffect((()=>{const e=requestAnimationFrame((()=>p.current=!1))
|
|
16516
16527
|
;return()=>cancelAnimationFrame(e)}),[]),e.createElement(z,{present:i||h
|
|
16517
16528
|
},(({present:r})=>e.createElement(b.div,a({"data-state":h?"active":"inactive",
|
|
16518
16529
|
"data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!r,
|
|
16519
16530
|
id:d,tabIndex:0},c,{ref:n,style:{...t.style,
|
|
16520
16531
|
animationDuration:p.current?"0s":void 0}}),r&&l)))
|
|
16521
|
-
})),
|
|
16532
|
+
})),vY=yr(uY)``,gY=yr(mY)``,yY=yr(pY)`
|
|
16522
16533
|
border-bottom: 1px solid ${({theme:e})=>e.colors.border.light};
|
|
16523
16534
|
display: flex;
|
|
16524
16535
|
flex-wrap: nowrap;
|
|
16525
16536
|
gap: 12px;
|
|
16526
16537
|
direction: ${({theme:e})=>e.direction};
|
|
16527
|
-
`,
|
|
16538
|
+
`,bY=yr(fY)`
|
|
16528
16539
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16529
16540
|
direction: ${({theme:e})=>e.direction};
|
|
16530
16541
|
background-color: unset;
|
|
@@ -16552,35 +16563,35 @@ animationDuration:p.current?"0s":void 0}}),r&&l)))
|
|
|
16552
16563
|
color: ${({theme:e})=>e.colors.text.disabled};
|
|
16553
16564
|
cursor: not-allowed;
|
|
16554
16565
|
}
|
|
16555
|
-
`;var
|
|
16566
|
+
`;var wY=wr`
|
|
16556
16567
|
* {
|
|
16557
16568
|
box-sizing: border-box;
|
|
16558
16569
|
/* direction: ${({theme:e})=>e.direction}; */
|
|
16559
16570
|
}
|
|
16560
|
-
`;const
|
|
16571
|
+
`;const CY=()=>{const[t,n]=e.useState(!1);return e.useEffect((()=>{
|
|
16561
16572
|
n(Boolean("undefined"!=typeof window&&window.document&&window.document.createElement))
|
|
16562
|
-
}),[]),{isBrowser:t,isServer:!t}},
|
|
16573
|
+
}),[]),{isBrowser:t,isServer:!t}},zY=e=>{const t=document.createElement("div")
|
|
16563
16574
|
;return t.setAttribute("id",e),t
|
|
16564
|
-
},
|
|
16575
|
+
},MY="ToastProvider",[xY,EY,SY]=m("Toast"),[_Y,HY]=i("Toast",[SY]),[DY,kY]=_Y(MY),AY=t=>{
|
|
16565
16576
|
const{__scopeToast:n,label:r="Notification",duration:o=5e3,swipeDirection:a="right",swipeThreshold:i=50,children:l}=t,[c,s]=e.useState(null),[u,d]=e.useState(0),h=e.useRef(!1),p=e.useRef(!1)
|
|
16566
|
-
;return e.createElement(
|
|
16577
|
+
;return e.createElement(xY.Provider,{scope:n},e.createElement(DY,{scope:n,
|
|
16567
16578
|
label:r,duration:o,swipeDirection:a,swipeThreshold:i,toastCount:u,viewport:c,
|
|
16568
16579
|
onViewportChange:s,onToastAdd:e.useCallback((()=>d((e=>e+1))),[]),
|
|
16569
16580
|
onToastRemove:e.useCallback((()=>d((e=>e-1))),[]),
|
|
16570
|
-
isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:p},l))};
|
|
16581
|
+
isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:p},l))};AY.propTypes={
|
|
16571
16582
|
label(e){if(e.label&&"string"==typeof e.label&&!e.label.trim()){
|
|
16572
|
-
return new Error(`Invalid prop \`label\` supplied to \`${
|
|
16583
|
+
return new Error(`Invalid prop \`label\` supplied to \`${MY}\`. Expected non-empty \`string\`.`)
|
|
16573
16584
|
}return null}}
|
|
16574
|
-
;const
|
|
16575
|
-
const{__scopeToast:r,hotkey:o=
|
|
16585
|
+
;const LY=["F8"],VY="toast.viewportPause",TY="toast.viewportResume",RY=e.forwardRef(((t,n)=>{
|
|
16586
|
+
const{__scopeToast:r,hotkey:o=LY,label:i="Notifications ({hotkey})",...l}=t,c=kY("ToastViewport",r),u=EY(r),d=e.useRef(null),h=e.useRef(null),p=e.useRef(null),f=e.useRef(null),m=s(n,f,c.onViewportChange),v=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=c.toastCount>0
|
|
16576
16587
|
;e.useEffect((()=>{const e=e=>{var t;const n=o.every((t=>e[t]||e.code===t))
|
|
16577
16588
|
;n&&(null===(t=f.current)||void 0===t||t.focus())}
|
|
16578
16589
|
;return document.addEventListener("keydown",e),
|
|
16579
16590
|
()=>document.removeEventListener("keydown",e)}),[o]),e.useEffect((()=>{
|
|
16580
16591
|
const e=d.current,t=f.current;if(g&&e&&t){const n=()=>{
|
|
16581
|
-
if(!c.isClosePausedRef.current){const e=new CustomEvent(
|
|
16592
|
+
if(!c.isClosePausedRef.current){const e=new CustomEvent(VY)
|
|
16582
16593
|
;t.dispatchEvent(e),c.isClosePausedRef.current=!0}},r=()=>{
|
|
16583
|
-
if(c.isClosePausedRef.current){const e=new CustomEvent(
|
|
16594
|
+
if(c.isClosePausedRef.current){const e=new CustomEvent(TY)
|
|
16584
16595
|
;t.dispatchEvent(e),c.isClosePausedRef.current=!1}},o=t=>{
|
|
16585
16596
|
!e.contains(t.relatedTarget)&&r()},a=()=>{
|
|
16586
16597
|
e.contains(document.activeElement)||r()};return e.addEventListener("focusin",n),
|
|
@@ -16592,7 +16603,7 @@ e.removeEventListener("focusout",o),e.removeEventListener("pointermove",n),
|
|
|
16592
16603
|
e.removeEventListener("pointerleave",a),
|
|
16593
16604
|
window.removeEventListener("blur",n),window.removeEventListener("focus",r)}}
|
|
16594
16605
|
}),[g,c.isClosePausedRef]);const y=e.useCallback((({tabbingDirection:e})=>{
|
|
16595
|
-
const t=u().map((t=>{const n=t.ref.current,r=[n,...
|
|
16606
|
+
const t=u().map((t=>{const n=t.ref.current,r=[n,...ZY(n)]
|
|
16596
16607
|
;return"forwards"===e?r:r.reverse()}))
|
|
16597
16608
|
;return("forwards"===e?t.reverse():t).flat()}),[u]);return e.useEffect((()=>{
|
|
16598
16609
|
const e=f.current;if(e){const t=t=>{const n=t.altKey||t.ctrlKey||t.metaKey
|
|
@@ -16600,23 +16611,23 @@ const e=f.current;if(e){const t=t=>{const n=t.altKey||t.ctrlKey||t.metaKey
|
|
|
16600
16611
|
;if(t.target===e&&i)return void(null===(r=h.current)||void 0===r||r.focus())
|
|
16601
16612
|
;const l=y({tabbingDirection:i?"backwards":"forwards"
|
|
16602
16613
|
}),c=l.findIndex((e=>e===n));var o,a
|
|
16603
|
-
;if(
|
|
16614
|
+
;if(XY(l.slice(c+1)))t.preventDefault();else i?null===(o=h.current)||void 0===o||o.focus():null===(a=p.current)||void 0===a||a.focus()
|
|
16604
16615
|
}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)
|
|
16605
16616
|
}}),[u,y]),e.createElement(Ou,{ref:d,role:"region",
|
|
16606
16617
|
"aria-label":i.replace("{hotkey}",v),tabIndex:-1,style:{
|
|
16607
|
-
pointerEvents:g?void 0:"none"}},g&&e.createElement(
|
|
16608
|
-
onFocusFromOutsideViewport:()=>{
|
|
16609
|
-
}),e.createElement(
|
|
16610
|
-
ref:m}))),g&&e.createElement(
|
|
16611
|
-
tabbingDirection:"backwards"}))}}))})),
|
|
16612
|
-
const{__scopeToast:r,onFocusFromOutsideViewport:o,...i}=t,l=
|
|
16618
|
+
pointerEvents:g?void 0:"none"}},g&&e.createElement(PY,{ref:h,
|
|
16619
|
+
onFocusFromOutsideViewport:()=>{XY(y({tabbingDirection:"forwards"}))}
|
|
16620
|
+
}),e.createElement(xY.Slot,{scope:r},e.createElement(b.ol,a({tabIndex:-1},l,{
|
|
16621
|
+
ref:m}))),g&&e.createElement(PY,{ref:p,onFocusFromOutsideViewport:()=>{XY(y({
|
|
16622
|
+
tabbingDirection:"backwards"}))}}))})),PY=e.forwardRef(((t,n)=>{
|
|
16623
|
+
const{__scopeToast:r,onFocusFromOutsideViewport:o,...i}=t,l=kY("ToastFocusProxy",r)
|
|
16613
16624
|
;return e.createElement(Nh,a({"aria-hidden":!0,tabIndex:0},i,{ref:n,style:{
|
|
16614
16625
|
position:"fixed"},onFocus:e=>{var t;const n=e.relatedTarget
|
|
16615
16626
|
;!(null!==(t=l.viewport)&&void 0!==t&&t.contains(n))&&o()}}))
|
|
16616
|
-
})),
|
|
16627
|
+
})),IY="Toast",OY=e.forwardRef(((t,n)=>{
|
|
16617
16628
|
const{forceMount:r,open:o,defaultOpen:i,onOpenChange:l,...c}=t,[s=!0,u]=y({
|
|
16618
16629
|
prop:o,defaultProp:i,onChange:l});return e.createElement(z,{present:r||s
|
|
16619
|
-
},e.createElement(
|
|
16630
|
+
},e.createElement($Y,a({open:s},c,{ref:n,onClose:()=>u(!1),onPause:g(t.onPause),
|
|
16620
16631
|
onResume:g(t.onResume),onSwipeStart:v(t.onSwipeStart,(e=>{
|
|
16621
16632
|
e.currentTarget.setAttribute("data-swipe","start")})),
|
|
16622
16633
|
onSwipeMove:v(t.onSwipeMove,(e=>{const{x:t,y:n}=e.detail.delta
|
|
@@ -16635,8 +16646,8 @@ e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),
|
|
|
16635
16646
|
e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),
|
|
16636
16647
|
e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),
|
|
16637
16648
|
e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${n}px`),u(!1)}))
|
|
16638
|
-
})))})),[
|
|
16639
|
-
const{__scopeToast:o,type:i="foreground",duration:l,open:c,onClose:u,onEscapeKeyDown:d,onPause:h,onResume:p,onSwipeStart:f,onSwipeMove:m,onSwipeCancel:y,onSwipeEnd:w,...C}=n,z=
|
|
16649
|
+
})))})),[NY,FY]=_Y(IY,{onClose(){}}),$Y=e.forwardRef(((n,r)=>{
|
|
16650
|
+
const{__scopeToast:o,type:i="foreground",duration:l,open:c,onClose:u,onEscapeKeyDown:d,onPause:h,onResume:p,onSwipeStart:f,onSwipeMove:m,onSwipeCancel:y,onSwipeEnd:w,...C}=n,z=kY(IY,o),[M,x]=e.useState(null),E=s(r,(e=>x(e))),S=e.useRef(null),_=e.useRef(null),H=l||z.duration,D=e.useRef(0),k=e.useRef(H),A=e.useRef(0),{onToastAdd:L,onToastRemove:V}=z,T=g((()=>{
|
|
16640
16651
|
var e
|
|
16641
16652
|
;(null==M?void 0:M.contains(document.activeElement))&&(null===(e=z.viewport)||void 0===e||e.focus()),
|
|
16642
16653
|
u()})),R=e.useCallback((e=>{
|
|
@@ -16645,15 +16656,15 @@ A.current=window.setTimeout(T,e))}),[T]);e.useEffect((()=>{const e=z.viewport
|
|
|
16645
16656
|
;if(e){const t=()=>{R(k.current),null==p||p()},n=()=>{
|
|
16646
16657
|
const e=(new Date).getTime()-D.current
|
|
16647
16658
|
;k.current=k.current-e,window.clearTimeout(A.current),null==h||h()}
|
|
16648
|
-
;return e.addEventListener(
|
|
16649
|
-
e.removeEventListener(
|
|
16659
|
+
;return e.addEventListener(VY,n),e.addEventListener(TY,t),()=>{
|
|
16660
|
+
e.removeEventListener(VY,n),e.removeEventListener(TY,t)}}
|
|
16650
16661
|
}),[z.viewport,H,h,p,R]),e.useEffect((()=>{c&&!z.isClosePausedRef.current&&R(H)
|
|
16651
16662
|
}),[c,H,z.isClosePausedRef,R]),e.useEffect((()=>(L(),()=>V())),[L,V])
|
|
16652
|
-
;const P=e.useMemo((()=>M?
|
|
16653
|
-
;return z.viewport?e.createElement(e.Fragment,null,P&&e.createElement(
|
|
16663
|
+
;const P=e.useMemo((()=>M?GY(M):null),[M])
|
|
16664
|
+
;return z.viewport?e.createElement(e.Fragment,null,P&&e.createElement(BY,{
|
|
16654
16665
|
__scopeToast:o,role:"status","aria-live":"foreground"===i?"assertive":"polite",
|
|
16655
|
-
"aria-atomic":!0},P),e.createElement(
|
|
16656
|
-
},t.createPortal(e.createElement(
|
|
16666
|
+
"aria-atomic":!0},P),e.createElement(NY,{scope:o,onClose:T
|
|
16667
|
+
},t.createPortal(e.createElement(xY.ItemSlot,{scope:o},e.createElement(Iu,{
|
|
16657
16668
|
asChild:!0,onEscapeKeyDown:v(d,(()=>{
|
|
16658
16669
|
z.isFocusedToastEscapeKeyDownRef.current||T(),
|
|
16659
16670
|
z.isFocusedToastEscapeKeyDownRef.current=!1}))},e.createElement(b.li,a({
|
|
@@ -16666,59 +16677,59 @@ T()))})),onPointerDown:v(n.onPointerDown,(e=>{0===e.button&&(S.current={
|
|
|
16666
16677
|
x:e.clientX,y:e.clientY})})),onPointerMove:v(n.onPointerMove,(e=>{
|
|
16667
16678
|
if(!S.current)return
|
|
16668
16679
|
;const t=e.clientX-S.current.x,n=e.clientY-S.current.y,r=Boolean(_.current),o=["left","right"].includes(z.swipeDirection),a=["left","up"].includes(z.swipeDirection)?Math.min:Math.max,i=o?a(0,t):0,l=o?0:a(0,n),c="touch"===e.pointerType?10:2,s={
|
|
16669
|
-
x:i,y:l},u={originalEvent:e,delta:s};r?(_.current=s,
|
|
16670
|
-
discrete:!1})):
|
|
16680
|
+
x:i,y:l},u={originalEvent:e,delta:s};r?(_.current=s,KY("toast.swipeMove",m,u,{
|
|
16681
|
+
discrete:!1})):qY(s,z.swipeDirection,c)?(_.current=s,KY("toast.swipeStart",f,u,{
|
|
16671
16682
|
discrete:!1
|
|
16672
16683
|
}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(n)>c)&&(S.current=null)
|
|
16673
16684
|
})),onPointerUp:v(n.onPointerUp,(e=>{const t=_.current,n=e.target
|
|
16674
16685
|
;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),
|
|
16675
16686
|
_.current=null,S.current=null,t){const n=e.currentTarget,r={originalEvent:e,
|
|
16676
|
-
delta:t};
|
|
16677
|
-
discrete:!0}):
|
|
16687
|
+
delta:t};qY(t,z.swipeDirection,z.swipeThreshold)?KY("toast.swipeEnd",w,r,{
|
|
16688
|
+
discrete:!0}):KY("toast.swipeCancel",y,r,{discrete:!0
|
|
16678
16689
|
}),n.addEventListener("click",(e=>e.preventDefault()),{once:!0})}}))
|
|
16679
|
-
})))),z.viewport))):null}))
|
|
16690
|
+
})))),z.viewport))):null}));$Y.propTypes={type(e){
|
|
16680
16691
|
if(e.type&&!["foreground","background"].includes(e.type)){
|
|
16681
|
-
return new Error(`Invalid prop \`type\` supplied to \`${
|
|
16682
|
-
}return null}};const
|
|
16683
|
-
const{__scopeToast:n,children:r,...o}=t,a=
|
|
16692
|
+
return new Error(`Invalid prop \`type\` supplied to \`${IY}\`. Expected \`foreground | background\`.`)
|
|
16693
|
+
}return null}};const BY=t=>{
|
|
16694
|
+
const{__scopeToast:n,children:r,...o}=t,a=kY(IY,n),[i,l]=e.useState(!1),[c,s]=e.useState(!1)
|
|
16684
16695
|
;return function(e=(()=>{})){const t=g(e);C((()=>{let e=0,n=0
|
|
16685
16696
|
;return e=window.requestAnimationFrame((()=>n=window.requestAnimationFrame(t))),
|
|
16686
16697
|
()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}}),[t])
|
|
16687
16698
|
}((()=>l(!0))),e.useEffect((()=>{const e=window.setTimeout((()=>s(!0)),1e3)
|
|
16688
16699
|
;return()=>window.clearTimeout(e)}),[]),c?null:e.createElement(Ih,{asChild:!0
|
|
16689
16700
|
},e.createElement(Nh,o,i&&e.createElement(e.Fragment,null,a.label," ",r)))
|
|
16690
|
-
}
|
|
16691
|
-
;return e.createElement(b.div,a({},o,{ref:n}))})),
|
|
16692
|
-
const{altText:r,...o}=t;return r?e.createElement(
|
|
16693
|
-
},e.createElement(
|
|
16701
|
+
},jY=e.forwardRef(((t,n)=>{const{__scopeToast:r,...o}=t
|
|
16702
|
+
;return e.createElement(b.div,a({},o,{ref:n}))})),UY=e.forwardRef(((t,n)=>{
|
|
16703
|
+
const{altText:r,...o}=t;return r?e.createElement(WY,{altText:r,asChild:!0
|
|
16704
|
+
},e.createElement(YY,a({},o,{ref:n}))):null}));UY.propTypes={
|
|
16694
16705
|
altText:e=>e.altText?null:new Error("Missing prop `altText` expected on `ToastAction`")
|
|
16695
|
-
};const
|
|
16696
|
-
const{__scopeToast:r,...o}=t,i=
|
|
16706
|
+
};const YY=e.forwardRef(((t,n)=>{
|
|
16707
|
+
const{__scopeToast:r,...o}=t,i=FY("ToastClose",r);return e.createElement(WY,{
|
|
16697
16708
|
asChild:!0},e.createElement(b.button,a({type:"button"},o,{ref:n,
|
|
16698
|
-
onClick:v(t.onClick,i.onClose)})))})),
|
|
16709
|
+
onClick:v(t.onClick,i.onClose)})))})),WY=e.forwardRef(((t,n)=>{
|
|
16699
16710
|
const{__scopeToast:r,altText:o,...i}=t;return e.createElement(b.div,a({
|
|
16700
16711
|
"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0
|
|
16701
|
-
},i,{ref:n}))}));function
|
|
16712
|
+
},i,{ref:n}))}));function GY(e){const t=[]
|
|
16702
16713
|
;return Array.from(e.childNodes).forEach((e=>{
|
|
16703
16714
|
if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),function(e){
|
|
16704
16715
|
return e.nodeType===e.ELEMENT_NODE}(e)){
|
|
16705
16716
|
const n=e.ariaHidden||e.hidden||"none"===e.style.display,r=""===e.dataset.radixToastAnnounceExclude
|
|
16706
16717
|
;if(!n)if(r){const n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)
|
|
16707
|
-
}else t.push(...
|
|
16718
|
+
}else t.push(...GY(e))}})),t}function KY(e,t,n,{discrete:r}){
|
|
16708
16719
|
const o=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,
|
|
16709
16720
|
cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0
|
|
16710
|
-
}),r?w(o,a):o.dispatchEvent(a)}const
|
|
16721
|
+
}),r?w(o,a):o.dispatchEvent(a)}const qY=(e,t,n=0)=>{
|
|
16711
16722
|
const r=Math.abs(e.x),o=Math.abs(e.y),a=r>o
|
|
16712
|
-
;return"left"===t||"right"===t?a&&r>n:!a&&o>n};function
|
|
16723
|
+
;return"left"===t||"right"===t?a&&r>n:!a&&o>n};function ZY(e){
|
|
16713
16724
|
const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{
|
|
16714
16725
|
acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type
|
|
16715
16726
|
;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP
|
|
16716
|
-
}});for(;n.nextNode();)t.push(n.currentNode);return t}function
|
|
16727
|
+
}});for(;n.nextNode();)t.push(n.currentNode);return t}function XY(e){
|
|
16717
16728
|
const t=document.activeElement
|
|
16718
16729
|
;return e.some((e=>e===t||(e.focus(),document.activeElement!==t)))}
|
|
16719
|
-
const
|
|
16730
|
+
const JY=RY,QY=OY,eW=jY,tW=UY,nW=yr(AY)``;yr.div`
|
|
16720
16731
|
border-top: 4px solid;
|
|
16721
|
-
`;const
|
|
16732
|
+
`;const rW=yr(QY)`
|
|
16722
16733
|
direction: ${({theme:e})=>e.direction};
|
|
16723
16734
|
&[data-state='open']:nth-last-of-type(1) {
|
|
16724
16735
|
z-index: ${({theme:e})=>(e.zIndex.snackbar||Eo.snackbar)-1};
|
|
@@ -16765,7 +16776,7 @@ const ZY=VY,XY=PY,JY=$Y,QY=BY,eW=yr(DY)``;yr.div`
|
|
|
16765
16776
|
|
|
16766
16777
|
width: 400px;
|
|
16767
16778
|
transition: all 0.3s ease-in-out;
|
|
16768
|
-
`,
|
|
16779
|
+
`,oW=yr(eW)`
|
|
16769
16780
|
text-align: ${({theme:e})=>"ltr"===e.direction?"left":"right"};
|
|
16770
16781
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16771
16782
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
@@ -16773,7 +16784,7 @@ const ZY=VY,XY=PY,JY=$Y,QY=BY,eW=yr(DY)``;yr.div`
|
|
|
16773
16784
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
16774
16785
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
16775
16786
|
flex: 1;
|
|
16776
|
-
`,
|
|
16787
|
+
`,aW=yr(tW)``,iW=yr(JY)`
|
|
16777
16788
|
position: fixed;
|
|
16778
16789
|
top: 16px;
|
|
16779
16790
|
display: flex;
|
|
@@ -16805,13 +16816,13 @@ const ZY=VY,XY=PY,JY=$Y,QY=BY,eW=yr(DY)``;yr.div`
|
|
|
16805
16816
|
animation-play-state: paused;
|
|
16806
16817
|
}
|
|
16807
16818
|
}
|
|
16808
|
-
`,
|
|
16819
|
+
`,lW=yr.div`
|
|
16809
16820
|
direction: ${({theme:e})=>e.direction};
|
|
16810
16821
|
display: flex;
|
|
16811
16822
|
align-items: center;
|
|
16812
16823
|
padding: 16px;
|
|
16813
16824
|
gap: 8px;
|
|
16814
|
-
`,
|
|
16825
|
+
`,cW=yr.div`
|
|
16815
16826
|
height: 4px;
|
|
16816
16827
|
background-color: ${({theme:e,toastType:t="success"})=>e.colors.text.semantic[t]};
|
|
16817
16828
|
border-radius: 4px 4px 0 0;
|
|
@@ -16822,18 +16833,18 @@ const ZY=VY,XY=PY,JY=$Y,QY=BY,eW=yr(DY)``;yr.div`
|
|
|
16822
16833
|
${"focus"===t?"running":"paused"};
|
|
16823
16834
|
will-change: width;
|
|
16824
16835
|
`}
|
|
16825
|
-
`,
|
|
16826
|
-
retainOnWindowBlur:!1,addToast:()=>{},updateToasts:()=>{}}),
|
|
16836
|
+
`,sW=e.createContext({toasts:[],windowState:"focus",retainOnHover:!0,
|
|
16837
|
+
retainOnWindowBlur:!1,addToast:()=>{},updateToasts:()=>{}}),uW=t=>{const n=cr()
|
|
16827
16838
|
;return e.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",
|
|
16828
16839
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{
|
|
16829
16840
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16830
16841
|
d:"M8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C16 5.87827 15.1571 3.84344 13.6569 2.34315C12.1566 0.842855 10.1217 0 8 0ZM8 14.6C4.35492 14.6 1.4 11.6451 1.4 8C1.4 4.35492 4.35492 1.4 8 1.4C11.6451 1.4 14.6 4.35492 14.6 8C14.5945 11.6428 11.6428 14.5945 8 14.6ZM9 8L10.82 6.17L10.83 6.18C11.1061 5.90386 11.1061 5.45614 10.83 5.18C10.5539 4.90386 10.1061 4.90386 9.83 5.18L8 7L6.18 5.17C5.90386 4.89386 5.45614 4.89386 5.18 5.17C4.90386 5.44614 4.90386 5.89386 5.18 6.17L7 8L5.17 9.82C4.89386 10.0961 4.89386 10.5439 5.17 10.82C5.44614 11.0961 5.89386 11.0961 6.17 10.82L8 9L9.83 10.83C10.1061 11.1061 10.5539 11.1061 10.83 10.83C11.1061 10.5539 11.1061 10.1061 10.83 9.83L9 8Z",
|
|
16831
|
-
fill:n.colors.text.semantic.error}))},
|
|
16842
|
+
fill:n.colors.text.semantic.error}))},dW=t=>{const n=cr()
|
|
16832
16843
|
;return e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",
|
|
16833
16844
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{
|
|
16834
16845
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16835
16846
|
d:"M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84286 12.1217 2 10 2ZM9.99999 16.6C6.35491 16.6 3.39999 13.6451 3.39999 10C3.39999 6.35493 6.35491 3.40001 9.99999 3.40001C13.6451 3.40001 16.6 6.35493 16.6 10C16.5945 13.6428 13.6428 16.5945 9.99999 16.6ZM14.0045 7.83C14.0045 7.64099 13.927 7.46025 13.79 7.33C13.5144 7.06199 13.0756 7.06199 12.8 7.33L9 11.18L7.21 9.41C7.03137 9.23136 6.771 9.1616 6.52699 9.22698C6.28297 9.29237 6.09237 9.48297 6.02699 9.72698C5.9616 9.971 6.03137 10.2314 6.21 10.41L8.45 12.67C8.7268 12.9446 9.1732 12.9446 9.45 12.67L13.79 8.33C13.927 8.19974 14.0045 8.01901 14.0045 7.83Z",
|
|
16836
|
-
fill:n.colors.text.semantic.success}))},
|
|
16847
|
+
fill:n.colors.text.semantic.success}))},hW=t=>{const n=cr()
|
|
16837
16848
|
;return e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",
|
|
16838
16849
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{
|
|
16839
16850
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
@@ -16842,54 +16853,54 @@ fill:n.colors.text.semantic.warning}),e.createElement("path",{
|
|
|
16842
16853
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16843
16854
|
d:"M9 12.8668C9 12.3145 9.44771 11.8668 10 11.8668C10.5523 11.8668 11 12.3145 11 12.8668C11 13.4191 10.5523 13.8668 10 13.8668C9.44771 13.8668 9 13.4191 9 12.8668ZM9.99951 10.9268C10.387 10.9268 10.7012 10.6127 10.7012 10.2252V6.48847C10.7012 6.10096 10.387 5.78681 9.99951 5.78681C9.612 5.78681 9.29785 6.10096 9.29785 6.48847V10.2252C9.29785 10.6127 9.612 10.9268 9.99951 10.9268Z",
|
|
16844
16855
|
fill:n.colors.text.semantic.warning}))
|
|
16845
|
-
},
|
|
16846
|
-
const s=cr(),{updateToasts:u,windowState:d,retainOnWindowBlur:h,retainOnHover:p}=e.useContext(
|
|
16856
|
+
},pW=({index:t,customIcon:n,id:r,fixed:o,text:a,showProgress:i=!1,delay:l=3e3,type:c="info"})=>{
|
|
16857
|
+
const s=cr(),{updateToasts:u,windowState:d,retainOnWindowBlur:h,retainOnHover:p}=e.useContext(sW)??{},f=e.useRef(null),[m,v]=e.useState(!1)
|
|
16847
16858
|
;e.useEffect((()=>{const e=window.setTimeout((()=>{
|
|
16848
16859
|
o||m&&p||h||u((e=>e.filter((e=>e.id!==r))))}),l);return()=>clearTimeout(e)
|
|
16849
|
-
}),[l,o,r,u,m,p,h]);const g={success:e.createElement(
|
|
16850
|
-
fill:s.colors.text.semantic.success}),warning:e.createElement(
|
|
16851
|
-
fill:s.colors.text.semantic.warning}),error:e.createElement(
|
|
16860
|
+
}),[l,o,r,u,m,p,h]);const g={success:e.createElement(dW,{
|
|
16861
|
+
fill:s.colors.text.semantic.success}),warning:e.createElement(hW,{
|
|
16862
|
+
fill:s.colors.text.semantic.warning}),error:e.createElement(uW,{
|
|
16852
16863
|
fill:s.colors.text.semantic.error}),info:e.createElement(io,{
|
|
16853
16864
|
fill:s.colors.text.semantic.info})}
|
|
16854
|
-
;return e.createElement(e.Fragment,null,e.createElement(
|
|
16865
|
+
;return e.createElement(e.Fragment,null,e.createElement(rW,{role:"alert",
|
|
16855
16866
|
"aria-live":"polite",ref:f,toastType:c,dir:s.direction,style:o||!i?{
|
|
16856
16867
|
borderTop:"none"}:void 0,toastIndex:t,
|
|
16857
16868
|
className:`ToastRoot Toast-${r??""}`.trim(),duration:o?1/0:l,
|
|
16858
16869
|
onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),onOpenChange:e=>{
|
|
16859
|
-
e||u((e=>e.filter((e=>e.id!==r))))}},e.createElement(
|
|
16870
|
+
e||u((e=>e.filter((e=>e.id!==r))))}},e.createElement(cW,{
|
|
16860
16871
|
className:"ToastProgress",windowState:d,toastType:c,delay:!o&&i?l:"none"
|
|
16861
|
-
}),e.createElement(
|
|
16862
|
-
},a),e.createElement(
|
|
16872
|
+
}),e.createElement(lW,null,n??g[c],e.createElement(oW,{className:"ToastTitle"
|
|
16873
|
+
},a),e.createElement(aW,{className:"ToastAction",asChild:!0,altText:"Close",
|
|
16863
16874
|
"aria-label":"Close"},e.createElement(No,null,e.createElement(ro,{
|
|
16864
|
-
fill:s.colors.text.primary}))))))},
|
|
16865
|
-
const n=`ui-${t}`,{isBrowser:r}=
|
|
16866
|
-
;return e.useEffect((()=>{const e=document.querySelector(`#${n}`),t=e||
|
|
16875
|
+
fill:s.colors.text.primary}))))))},fW=()=>{const n=((t=vj())=>{
|
|
16876
|
+
const n=`ui-${t}`,{isBrowser:r}=CY(),[o,a]=e.useState(r?zY(n):null)
|
|
16877
|
+
;return e.useEffect((()=>{const e=document.querySelector(`#${n}`),t=e||zY(n)
|
|
16867
16878
|
;e||document.body.appendChild(t),a(t)}),[]),o
|
|
16868
|
-
})("toast"),{toasts:r}=e.useContext(
|
|
16869
|
-
;return n?t.createPortal(e.createElement(e.Fragment,null,e.createElement(
|
|
16870
|
-
swipeDirection:"up"},r.map(((t,n)=>e.createElement(
|
|
16871
|
-
index:n}))),e.createElement(
|
|
16872
|
-
},
|
|
16879
|
+
})("toast"),{toasts:r}=e.useContext(sW)??{}
|
|
16880
|
+
;return n?t.createPortal(e.createElement(e.Fragment,null,e.createElement(nW,{
|
|
16881
|
+
swipeDirection:"up"},r.map(((t,n)=>e.createElement(pW,{key:`Toast-${t.id}`,...t,
|
|
16882
|
+
index:n}))),e.createElement(iW,{className:"ToastViewport"}))),n):null
|
|
16883
|
+
},mW=({children:t,retainOnHover:n=!0,retainOnWindowBlur:r=!1})=>{
|
|
16873
16884
|
const[o,a]=e.useState("focus"),[i,l]=e.useState([]),c=e.useCallback((e=>{
|
|
16874
|
-
l((t=>[{...e,id:
|
|
16885
|
+
l((t=>[{...e,id:vj(),state:"open"},...t]))}),[]),s=e.useCallback((e=>{
|
|
16875
16886
|
l((t=>e(t)))}),[]),u=e.useMemo((()=>({toasts:i,addToast:c,windowState:o,
|
|
16876
16887
|
updateToasts:s,retainOnWindowBlur:r,retainOnHover:n})),[i,c,o,s,n,r])
|
|
16877
16888
|
;return e.useEffect((()=>(window.addEventListener&&r&&(window.addEventListener("focus",(()=>{
|
|
16878
16889
|
a("focus")}),!1),window.addEventListener("blur",(()=>{a("blur")}),!1)),()=>{
|
|
16879
16890
|
r&&(window.removeEventListener("focus",(()=>{})),
|
|
16880
16891
|
window.removeEventListener("blur",(()=>{})))
|
|
16881
|
-
})),[r]),e.createElement(
|
|
16882
|
-
},
|
|
16892
|
+
})),[r]),e.createElement(sW.Provider,{value:u},e.createElement(fW,null),t)
|
|
16893
|
+
},vW="Switch",[gW,yW]=i(vW),[bW,wW]=gW(vW),CW=e.forwardRef(((t,n)=>{
|
|
16883
16894
|
const{__scopeSwitch:r,name:o,checked:i,defaultChecked:l,required:c,disabled:u,value:d="on",onCheckedChange:h,...p}=t,[f,m]=e.useState(null),g=s(n,(e=>m(e))),w=e.useRef(!1),C=!f||Boolean(f.closest("form")),[z=!1,M]=y({
|
|
16884
|
-
prop:i,defaultProp:l,onChange:h});return e.createElement(
|
|
16895
|
+
prop:i,defaultProp:l,onChange:h});return e.createElement(bW,{scope:r,checked:z,
|
|
16885
16896
|
disabled:u},e.createElement(b.button,a({type:"button",role:"switch",
|
|
16886
|
-
"aria-checked":z,"aria-required":c,"data-state":
|
|
16897
|
+
"aria-checked":z,"aria-required":c,"data-state":MW(z),
|
|
16887
16898
|
"data-disabled":u?"":void 0,disabled:u,value:d},p,{ref:g,
|
|
16888
16899
|
onClick:v(t.onClick,(e=>{
|
|
16889
16900
|
M((e=>!e)),C&&(w.current=e.isPropagationStopped(),w.current||e.stopPropagation())
|
|
16890
|
-
}))})),C&&e.createElement(
|
|
16901
|
+
}))})),C&&e.createElement(zW,{control:f,bubbles:!w.current,name:o,value:d,
|
|
16891
16902
|
checked:z,required:c,disabled:u,style:{transform:"translateX(-100%)"}}))
|
|
16892
|
-
})),
|
|
16903
|
+
})),zW=t=>{
|
|
16893
16904
|
const{control:n,checked:r,bubbles:o=!0,...i}=t,l=e.useRef(null),c=Oh(r),s=vh(n)
|
|
16894
16905
|
;return e.useEffect((()=>{
|
|
16895
16906
|
const e=l.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set
|
|
@@ -16897,21 +16908,21 @@ const e=l.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDes
|
|
|
16897
16908
|
;n.call(e,r),e.dispatchEvent(t)}}),[c,r,o]),e.createElement("input",a({
|
|
16898
16909
|
type:"checkbox","aria-hidden":!0,defaultChecked:r},i,{tabIndex:-1,ref:l,style:{
|
|
16899
16910
|
...t.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))}
|
|
16900
|
-
;function
|
|
16901
|
-
const{__scopeSwitch:r,...o}=t,i=
|
|
16902
|
-
;return e.createElement(b.span,a({"data-state":
|
|
16903
|
-
"data-disabled":i.disabled?"":void 0},o,{ref:n}))})),
|
|
16911
|
+
;function MW(e){return e?"checked":"unchecked"}const xW=e.forwardRef(((t,n)=>{
|
|
16912
|
+
const{__scopeSwitch:r,...o}=t,i=wW("SwitchThumb",r)
|
|
16913
|
+
;return e.createElement(b.span,a({"data-state":MW(i.checked),
|
|
16914
|
+
"data-disabled":i.disabled?"":void 0},o,{ref:n}))})),EW={sm:{width:28,height:12,
|
|
16904
16915
|
thumb:16,offTransform:[-2,-2],onTransform:[14,-2]},md:{width:36,height:16,
|
|
16905
16916
|
thumb:20,offTransform:[-2,-2],onTransform:[18,-2]},lg:{width:44,height:20,
|
|
16906
|
-
thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}},
|
|
16917
|
+
thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}},SW=yr(CW)`
|
|
16907
16918
|
margin: 0;
|
|
16908
16919
|
padding: 0;
|
|
16909
16920
|
outline: 0;
|
|
16910
16921
|
border: none;
|
|
16911
16922
|
position: relative;
|
|
16912
|
-
width: ${({size:e})=>
|
|
16913
|
-
height: ${({size:e})=>
|
|
16914
|
-
border-radius: ${({size:e})=>
|
|
16923
|
+
width: ${({size:e})=>EW[e].width}px;
|
|
16924
|
+
height: ${({size:e})=>EW[e].height}px;
|
|
16925
|
+
border-radius: ${({size:e})=>EW[e].height/2}px;
|
|
16915
16926
|
direction: ltr !important;
|
|
16916
16927
|
&[data-disabled] {
|
|
16917
16928
|
opacity: 0.5;
|
|
@@ -16932,17 +16943,17 @@ thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}},xW=yr(bW)`
|
|
|
16932
16943
|
}
|
|
16933
16944
|
}
|
|
16934
16945
|
}
|
|
16935
|
-
`,
|
|
16946
|
+
`,_W=yr(xW)`
|
|
16936
16947
|
display: grid;
|
|
16937
16948
|
place-content: center;
|
|
16938
|
-
width: ${({size:e})=>
|
|
16939
|
-
height: ${({size:e})=>
|
|
16949
|
+
width: ${({size:e})=>EW[e].thumb}px;
|
|
16950
|
+
height: ${({size:e})=>EW[e].thumb}px;
|
|
16940
16951
|
border-radius: 50%;
|
|
16941
16952
|
direction: ltr !important;
|
|
16942
16953
|
background-color: ${({theme:e})=>e.colors.common.white};
|
|
16943
16954
|
transition: transform 100ms;
|
|
16944
16955
|
transform: translate(
|
|
16945
|
-
${({theme:e,size:t})=>("ltr"===e.direction?
|
|
16956
|
+
${({theme:e,size:t})=>("ltr"===e.direction?EW[t].offTransform:EW[t].onTransform).map((e=>`${e}px`)).join(",")}
|
|
16946
16957
|
) !important;
|
|
16947
16958
|
will-change: transform;
|
|
16948
16959
|
overflow: hidden;
|
|
@@ -16964,17 +16975,17 @@ thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}},xW=yr(bW)`
|
|
|
16964
16975
|
}
|
|
16965
16976
|
&[data-state='checked'] {
|
|
16966
16977
|
transform: translate(
|
|
16967
|
-
${({theme:e,size:t})=>("ltr"===e.direction?
|
|
16978
|
+
${({theme:e,size:t})=>("ltr"===e.direction?EW[t].onTransform:EW[t].offTransform).map((e=>`${e}px`)).join(",")}
|
|
16968
16979
|
) !important;
|
|
16969
16980
|
border: 1px solid ${({theme:e})=>e.colors.common.accent};
|
|
16970
16981
|
svg.toggle-off {
|
|
16971
16982
|
display: none;
|
|
16972
16983
|
}
|
|
16973
16984
|
}
|
|
16974
|
-
`,
|
|
16975
|
-
},
|
|
16976
|
-
},[
|
|
16977
|
-
const{__scopeTooltip:r,...o}=t,i=
|
|
16985
|
+
`,HW={sm:{width:6,height:4.3},md:{width:8,height:5.73},lg:{width:10,height:7.16}
|
|
16986
|
+
},DW={sm:{width:4.5,height:4.5},md:{width:6,height:6},lg:{width:8,height:8}
|
|
16987
|
+
},[kW,AW]=i("Tooltip",[bh]),LW=bh(),VW=700,TW="tooltip.open",[RW,PW]=kW("TooltipProvider"),IW="Tooltip",[OW,NW]=kW(IW),FW="TooltipTrigger",$W=e.forwardRef(((t,n)=>{
|
|
16988
|
+
const{__scopeTooltip:r,...o}=t,i=NW(FW,r),l=PW(FW,r),c=LW(r),u=s(n,e.useRef(null),i.onTriggerChange),d=e.useRef(!1),h=e.useRef(!1),p=e.useCallback((()=>d.current=!1),[])
|
|
16978
16989
|
;return e.useEffect((()=>()=>document.removeEventListener("pointerup",p)),[p]),
|
|
16979
16990
|
e.createElement(Th,a({asChild:!0},c),e.createElement(b.button,a({
|
|
16980
16991
|
"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},o,{
|
|
@@ -16984,13 +16995,13 @@ h.current=!0))})),onPointerLeave:v(t.onPointerLeave,(()=>{
|
|
|
16984
16995
|
i.onTriggerLeave(),h.current=!1})),onPointerDown:v(t.onPointerDown,(()=>{
|
|
16985
16996
|
d.current=!0,document.addEventListener("pointerup",p,{once:!0})})),
|
|
16986
16997
|
onFocus:v(t.onFocus,(()=>{d.current||i.onOpen()})),onBlur:v(t.onBlur,i.onClose),
|
|
16987
|
-
onClick:v(t.onClick,i.onClose)})))})),
|
|
16988
|
-
forceMount:void 0}),
|
|
16989
|
-
const r=
|
|
16998
|
+
onClick:v(t.onClick,i.onClose)})))})),BW="TooltipPortal",[jW,UW]=kW(BW,{
|
|
16999
|
+
forceMount:void 0}),YW="TooltipContent",WW=e.forwardRef(((t,n)=>{
|
|
17000
|
+
const r=UW(YW,t.__scopeTooltip),{forceMount:o=r.forceMount,side:i="top",...l}=t,c=NW(YW,t.__scopeTooltip)
|
|
16990
17001
|
;return e.createElement(z,{present:o||c.open
|
|
16991
|
-
},c.disableHoverableContent?e.createElement(
|
|
16992
|
-
})):e.createElement(
|
|
16993
|
-
const r=
|
|
17002
|
+
},c.disableHoverableContent?e.createElement(ZW,a({side:i},l,{ref:n
|
|
17003
|
+
})):e.createElement(GW,a({side:i},l,{ref:n})))})),GW=e.forwardRef(((t,n)=>{
|
|
17004
|
+
const r=NW(YW,t.__scopeTooltip),o=PW(YW,t.__scopeTooltip),i=e.useRef(null),l=s(n,i),[c,u]=e.useState(null),{trigger:d,onClose:h}=r,p=i.current,{onPointerInTransitChange:f}=o,m=e.useCallback((()=>{
|
|
16994
17005
|
u(null),f(!1)}),[f]),v=e.useCallback(((e,t)=>{const n=e.currentTarget,r={
|
|
16995
17006
|
x:e.clientX,y:e.clientY},o=function(e,t){
|
|
16996
17007
|
const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x)
|
|
@@ -17027,11 +17038,11 @@ const i=t[e].x,l=t[e].y,c=t[a].x,s=t[a].y
|
|
|
17027
17038
|
;l>r!=s>r&&n<(c-i)*(r-l)/(s-l)+i&&(o=!o)}return o}(n,c);r?m():o&&(m(),h())}
|
|
17028
17039
|
;return document.addEventListener("pointermove",e),
|
|
17029
17040
|
()=>document.removeEventListener("pointermove",e)}
|
|
17030
|
-
}),[d,p,c,h,m]),e.createElement(
|
|
17031
|
-
isInside:!1}),
|
|
17032
|
-
const{__scopeTooltip:r,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:c,...s}=t,u=
|
|
17033
|
-
;return e.useEffect((()=>(document.addEventListener(
|
|
17034
|
-
()=>document.removeEventListener(
|
|
17041
|
+
}),[d,p,c,h,m]),e.createElement(ZW,a({},t,{ref:l}))})),[KW,qW]=kW(IW,{
|
|
17042
|
+
isInside:!1}),ZW=e.forwardRef(((t,n)=>{
|
|
17043
|
+
const{__scopeTooltip:r,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:c,...s}=t,u=NW(YW,r),d=LW(r),{onClose:p}=u
|
|
17044
|
+
;return e.useEffect((()=>(document.addEventListener(TW,p),
|
|
17045
|
+
()=>document.removeEventListener(TW,p))),[p]),e.useEffect((()=>{if(u.trigger){
|
|
17035
17046
|
const e=e=>{const t=e.target;null!=t&&t.contains(u.trigger)&&p()}
|
|
17036
17047
|
;return window.addEventListener("scroll",e,{capture:!0
|
|
17037
17048
|
}),()=>window.removeEventListener("scroll",e,{capture:!0})}
|
|
@@ -17044,19 +17055,19 @@ style:{...s.style,
|
|
|
17044
17055
|
"--radix-tooltip-content-available-height":"var(--radix-popper-available-height)",
|
|
17045
17056
|
"--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)",
|
|
17046
17057
|
"--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}
|
|
17047
|
-
}),e.createElement(h,null,o),e.createElement(
|
|
17048
|
-
},e.createElement(Fh,{id:u.contentId,role:"tooltip"},i||o))))}));const
|
|
17049
|
-
const{__scopeTooltip:n,delayDuration:r=
|
|
17058
|
+
}),e.createElement(h,null,o),e.createElement(KW,{scope:r,isInside:!0
|
|
17059
|
+
},e.createElement(Fh,{id:u.contentId,role:"tooltip"},i||o))))}));const XW=t=>{
|
|
17060
|
+
const{__scopeTooltip:n,delayDuration:r=VW,skipDelayDuration:o=300,disableHoverableContent:a=!1,children:i}=t,[l,c]=e.useState(!0),s=e.useRef(!1),u=e.useRef(0)
|
|
17050
17061
|
;return e.useEffect((()=>{const e=u.current;return()=>window.clearTimeout(e)
|
|
17051
|
-
}),[]),e.createElement(
|
|
17062
|
+
}),[]),e.createElement(RW,{scope:n,isOpenDelayed:l,delayDuration:r,
|
|
17052
17063
|
onOpen:e.useCallback((()=>{window.clearTimeout(u.current),c(!1)}),[]),
|
|
17053
17064
|
onClose:e.useCallback((()=>{
|
|
17054
17065
|
window.clearTimeout(u.current),u.current=window.setTimeout((()=>c(!0)),o)
|
|
17055
17066
|
}),[o]),isPointerInTransitRef:s,onPointerInTransitChange:e.useCallback((e=>{
|
|
17056
|
-
s.current=e}),[]),disableHoverableContent:a},i)},
|
|
17057
|
-
const{__scopeTooltip:n,children:r,open:o,defaultOpen:a=!1,onOpenChange:i,disableHoverableContent:l,delayDuration:c}=t,s=
|
|
17067
|
+
s.current=e}),[]),disableHoverableContent:a},i)},JW=t=>{
|
|
17068
|
+
const{__scopeTooltip:n,children:r,open:o,defaultOpen:a=!1,onOpenChange:i,disableHoverableContent:l,delayDuration:c}=t,s=PW(IW,t.__scopeTooltip),u=LW(n),[d,h]=e.useState(null),p=S(),f=e.useRef(0),m=null!=l?l:s.disableHoverableContent,v=null!=c?c:s.delayDuration,g=e.useRef(!1),[b=!1,w]=y({
|
|
17058
17069
|
prop:o,defaultProp:a,onChange:e=>{
|
|
17059
|
-
e?(s.onOpen(),document.dispatchEvent(new CustomEvent(
|
|
17070
|
+
e?(s.onOpen(),document.dispatchEvent(new CustomEvent(TW))):s.onClose(),
|
|
17060
17071
|
null==i||i(e)}
|
|
17061
17072
|
}),C=e.useMemo((()=>b?g.current?"delayed-open":"instant-open":"closed"),[b]),z=e.useCallback((()=>{
|
|
17062
17073
|
window.clearTimeout(f.current),g.current=!1,w(!0)}),[w]),M=e.useCallback((()=>{
|
|
@@ -17064,19 +17075,19 @@ window.clearTimeout(f.current),w(!1)}),[w]),x=e.useCallback((()=>{
|
|
|
17064
17075
|
window.clearTimeout(f.current),f.current=window.setTimeout((()=>{
|
|
17065
17076
|
g.current=!0,w(!0)}),v)}),[v,w])
|
|
17066
17077
|
;return e.useEffect((()=>()=>window.clearTimeout(f.current)),[]),
|
|
17067
|
-
e.createElement(Vh,u,e.createElement(
|
|
17078
|
+
e.createElement(Vh,u,e.createElement(OW,{scope:n,contentId:p,open:b,
|
|
17068
17079
|
stateAttribute:C,trigger:d,onTriggerChange:h,onTriggerEnter:e.useCallback((()=>{
|
|
17069
17080
|
s.isOpenDelayed?x():z()}),[s.isOpenDelayed,x,z]),
|
|
17070
17081
|
onTriggerLeave:e.useCallback((()=>{m?M():window.clearTimeout(f.current)
|
|
17071
|
-
}),[M,m]),onOpen:z,onClose:M,disableHoverableContent:m},r))},
|
|
17072
|
-
const{__scopeTooltip:n,forceMount:r,children:o,container:a}=t,i=
|
|
17073
|
-
;return e.createElement(
|
|
17082
|
+
}),[M,m]),onOpen:z,onClose:M,disableHoverableContent:m},r))},QW=$W,eG=t=>{
|
|
17083
|
+
const{__scopeTooltip:n,forceMount:r,children:o,container:a}=t,i=NW(BW,n)
|
|
17084
|
+
;return e.createElement(jW,{scope:n,forceMount:r},e.createElement(z,{
|
|
17074
17085
|
present:r||i.open},e.createElement(Ih,{asChild:!0,container:a},o)))
|
|
17075
|
-
},
|
|
17076
|
-
;return
|
|
17086
|
+
},tG=WW,nG=yr(e.forwardRef(((t,n)=>{const{__scopeTooltip:r,...o}=t,i=LW(r)
|
|
17087
|
+
;return qW("TooltipArrow",r).isInside?null:e.createElement(Ph,a({},i,o,{ref:n}))
|
|
17077
17088
|
})))`
|
|
17078
17089
|
fill: ${({theme:e})=>e.colors.fill.inverse};
|
|
17079
|
-
`,
|
|
17090
|
+
`,rG=yr(tG)`
|
|
17080
17091
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
17081
17092
|
font-size: ${({theme:e})=>e.typography.secondary.fontSize};
|
|
17082
17093
|
font-weight: ${({theme:e})=>e.typography.fontWeight["semi-bold"]};
|
|
@@ -17108,9 +17119,9 @@ present:r||i.open},e.createElement(Ih,{asChild:!0,container:a},o)))
|
|
|
17108
17119
|
&[data-state='closed'] {
|
|
17109
17120
|
animation-name: ${xr};
|
|
17110
17121
|
}
|
|
17111
|
-
`,
|
|
17122
|
+
`,oG=yr(XW)``,aG=yr(JW)``,iG=yr(QW)`
|
|
17112
17123
|
color: inherit;
|
|
17113
|
-
`,
|
|
17124
|
+
`,lG=yr(eG)``;var cG=wr`
|
|
17114
17125
|
|
|
17115
17126
|
div:has( > div[data-tooltip-content]){
|
|
17116
17127
|
z-index: ${({theme:e})=>e.zIndex.tooltip||Eo.tooltip} !important;
|
|
@@ -17120,10 +17131,10 @@ div:has( > div[data-popover-content]){
|
|
|
17120
17131
|
z-index: ${({theme:e})=>e.zIndex.popover||Eo.popover} !important;
|
|
17121
17132
|
}
|
|
17122
17133
|
|
|
17123
|
-
`,
|
|
17134
|
+
`,sG=Object.freeze({__proto__:null,allPathsLoader:function(e,t){
|
|
17124
17135
|
return Ce(void 0,void 0,void 0,(function(){return ze(this,(function(n){
|
|
17125
17136
|
switch(n.label){case 0:return[4,Promise.resolve().then((function(){return e_}))]
|
|
17126
|
-
;case 1:return[2,(0,n.sent().getIconPaths)(e,t)]}}))}))}}),
|
|
17137
|
+
;case 1:return[2,(0,n.sent().getIconPaths)(e,t)]}}))}))}}),uG=Object.freeze({
|
|
17127
17138
|
__proto__:null,splitPathsBySizeLoader:function(e,t){
|
|
17128
17139
|
return Ce(void 0,void 0,void 0,(function(){var n,r;return ze(this,(function(o){
|
|
17129
17140
|
switch(o.label){case 0:
|
|
@@ -17150,37 +17161,37 @@ fill:p.colors.text.semantic[r]
|
|
|
17150
17161
|
}),a?.message?e.createElement(Yo,null,a.message," ",g):n,!a?.message&&g),s&&e.createElement(Lo,{
|
|
17151
17162
|
onClick:()=>{v(!1),t?.()}},e.createElement(ro,{fill:p.colors.text.primary
|
|
17152
17163
|
}))):null
|
|
17153
|
-
},exports.AutoComplete=({initialItems:t=[],disabled:n,id:r,label:o,errorText:a,name:i,placeholder:l,width:c,onChange:s,itemComponent:u,itemToString:d,searchKey:h="q",defaultSelectedItem:p,readOnly:f,itemIdentifier:m="id",isErrored:v,emptyItemsText:g,processFetchData:y,isRequired:b,style:w,url:C})=>{
|
|
17154
|
-
const
|
|
17164
|
+
},exports.AutoComplete=({initialItems:t=[],disabled:n,id:r,label:o,errorText:a,name:i,placeholder:l,width:c,onChange:s,itemComponent:u,itemToString:d,searchKey:h="q",defaultSelectedItem:p,readOnly:f,itemIdentifier:m="id",isErrored:v,emptyItemsText:g,processFetchData:y,isRequired:b,style:w,url:C,headers:z})=>{
|
|
17165
|
+
const M=cr(),[x,E]=e.useState(!1),S=e.useRef(t),[_,H]=e.useState(t),D=(e="")=>{
|
|
17155
17166
|
if(!C)return;const t=new URL(C),n=new URLSearchParams(t.search);n.append(h,e)
|
|
17156
|
-
;const r=`${t.origin}${t.pathname}?${n.toString()}`;
|
|
17167
|
+
;const r=`${t.origin}${t.pathname}?${n.toString()}`;E(!0),(async(e,t,n,r,o,a)=>{
|
|
17157
17168
|
try{const i=await Su({data:t,url:e,method:n||"get",withCredentials:o||!1,
|
|
17158
17169
|
responseType:a,headers:{"Content-Type":"application/json",...r||{}}})
|
|
17159
|
-
;return i?.data}catch(e){return}})(r).then((e=>{
|
|
17160
|
-
Array.isArray(e)&&
|
|
17161
|
-
|
|
17162
|
-
}),300),[]),{isOpen:
|
|
17163
|
-
id:r,selectedItem:p,items:
|
|
17164
|
-
!e.isOpen&&e?.selectedItem&&
|
|
17165
|
-
"__input_change__"===e.type&&""===e.inputValue&&
|
|
17166
|
-
|
|
17170
|
+
;return i?.data}catch(e){return}})(r,void 0,"GET",z).then((e=>{
|
|
17171
|
+
Array.isArray(e)&&H(Cm([...S.current??[],...y?y(e):e],m)),E(!1)})).catch((e=>{
|
|
17172
|
+
E(!1)}))},k=e.useCallback(bc((e=>{D(e)
|
|
17173
|
+
}),300),[]),{isOpen:A,selectedItem:L,getToggleButtonProps:V,getLabelProps:T,getMenuProps:R,highlightedIndex:P,selectItem:I,setInputValue:O,getItemProps:N,getInputProps:F}=Hl({
|
|
17174
|
+
id:r,selectedItem:p,items:_,onIsOpenChange:e=>{
|
|
17175
|
+
!e.isOpen&&e?.selectedItem&&O(d(e.selectedItem))},onInputValueChange:e=>{
|
|
17176
|
+
"__input_change__"===e.type&&""===e.inputValue&&I(null),
|
|
17177
|
+
L?.[m]&&e.inputValue===d(L)?k(""):k(e.inputValue)},
|
|
17167
17178
|
itemToString:e=>e?d(e,"downshift"):"",onSelectedItemChange:e=>{
|
|
17168
|
-
|
|
17169
|
-
;e.useEffect((()=>{
|
|
17170
|
-
width:c},e.createElement(Do,{className:"input-label",...
|
|
17171
|
-
})},o,o&&b&&e.createElement(Ao,null,"*")),e.createElement(fm,{...
|
|
17179
|
+
S.current=Cm([...S.current??[],e.selectedItem],m),s?.(e.selectedItem)}})
|
|
17180
|
+
;e.useEffect((()=>{D("")}),[C]);const $=!n&&!f&&A;return e.createElement(Of,{
|
|
17181
|
+
width:c},e.createElement(Do,{className:"input-label",...T({disabled:n,readOnly:f
|
|
17182
|
+
})},o,o&&b&&e.createElement(Ao,null,"*")),e.createElement(fm,{...F({name:i,
|
|
17172
17183
|
readOnly:f,disabled:n}),placeholder:l,
|
|
17173
|
-
endAdornment:e.createElement(Uf,null,e.createElement(Lo,{...
|
|
17174
|
-
readOnly:f,"aria-label":"toggle-button"})},e.createElement(If,{$isOpen
|
|
17175
|
-
fill:
|
|
17176
|
-
}),!f&&!n&&e.createElement(Ff,{$isOpen:
|
|
17177
|
-
},
|
|
17178
|
-
readOnly:!0},g||"No items"),
|
|
17184
|
+
endAdornment:e.createElement(Uf,null,e.createElement(Lo,{...V({disabled:n,
|
|
17185
|
+
readOnly:f,"aria-label":"toggle-button"})},e.createElement(If,{$isOpen:$,
|
|
17186
|
+
fill:M.colors.text.primary,width:8,height:8}))),style:w
|
|
17187
|
+
}),!f&&!n&&e.createElement(Ff,{$isOpen:A,...R({disabled:n,readOnly:f})
|
|
17188
|
+
},x?e.createElement(jf,null,e.createElement(wm,null)):e.createElement(e.Fragment,null,A&&0===_.length&&e.createElement($f,{
|
|
17189
|
+
readOnly:!0},g||"No items"),A&&_.map(((t,n)=>{
|
|
17179
17190
|
const r="string"==typeof t?t:t?.[m];return e.createElement(e.Fragment,{key:r
|
|
17180
|
-
},u?u(t,{isHilighted:
|
|
17181
|
-
}):e.createElement($f,{$isHilighted:
|
|
17182
|
-
...
|
|
17183
|
-
fill:
|
|
17191
|
+
},u?u(t,{isHilighted:P===n,isSelected:L===t,key:r,...N({item:t,index:n})
|
|
17192
|
+
}):e.createElement($f,{$isHilighted:P===n,$isSelected:L?.[m]===t?.[m],key:r,
|
|
17193
|
+
...N({item:t,index:n})},d(t),L?.[m]===t?.[m]&&e.createElement(so,{
|
|
17194
|
+
fill:M.colors.common.accent})))})))),v&&a&&e.createElement(lm,null,a))
|
|
17184
17195
|
},exports.BoxedRadio=({options:t,defaultValue:n,idAccessor:r="id",onChange:o,isErrored:a,errorText:i,disabled:l=!1,getTextContent:c,className:s,id:u,isRequired:d,readOnly:h,itemComponent:p,label:f,value:m,customIndicator:v,...g})=>e.createElement(Mg,{
|
|
17185
17196
|
className:"StyledBoxedRadio"},f&&e.createElement(Do,{htmlFor:u,
|
|
17186
17197
|
className:"input-label"
|
|
@@ -17235,74 +17246,88 @@ e.preventDefault(),a?.("button",e)},"aria-label":i},i)),u&&e.createElement(Yy,{
|
|
|
17235
17246
|
asChild:!0},e.createElement(xm,{variant:"primary","aria-disabled":s,disabled:s,
|
|
17236
17247
|
onClick:e=>{e.preventDefault(),o?.(e)},"aria-label":u},u))))))
|
|
17237
17248
|
},exports.CrossIcon=ro,exports.DatePicker=t=>{
|
|
17238
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,todayButtonText:u="Today",clearButtonText:d="Clear",disabled:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,...
|
|
17239
|
-
;return e.createElement(WN,{
|
|
17240
|
-
"aria-invalid":i,dir:
|
|
17241
|
-
className:"input-label"
|
|
17249
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,todayButtonText:u="Today",clearButtonText:d="Clear",disabled:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,closeOnSelection:m=!0,onChange:v,...g}=t,y=document.querySelector('div[role="dialog"].DialogContent'),b=cr(),{popoverRef:w,isOpen:C,onDateChange:z,setOpen:M}=XN({
|
|
17250
|
+
onChange:v,closeOnSelection:m});return e.createElement(WN,{
|
|
17251
|
+
id:`date-picker-container-${s??""}`.trim(),"aria-invalid":i,dir:b.direction
|
|
17252
|
+
},a&&e.createElement(Do,{htmlFor:t.id,className:"input-label"
|
|
17242
17253
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17243
17254
|
disabled:t.disabled}),e.createElement(vN,{canClearSelection:!0,
|
|
17244
|
-
closeOnSelection
|
|
17255
|
+
closeOnSelection:m,disabled:h,todayButtonText:u,clearButtonText:d,
|
|
17245
17256
|
locale:l||"en",maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,
|
|
17246
17257
|
highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:s,
|
|
17247
|
-
"aria-disabled":h
|
|
17248
|
-
|
|
17249
|
-
|
|
17250
|
-
|
|
17251
|
-
|
|
17252
|
-
|
|
17253
|
-
},
|
|
17254
|
-
|
|
17255
|
-
|
|
17256
|
-
"
|
|
17257
|
-
|
|
17258
|
+
"aria-disabled":h,onClick:e=>{M(!0),e.stopPropagation()}},dayPickerProps:{
|
|
17259
|
+
disabled:h,dir:b.direction,onMonthChange:()=>M(!0),onNextClick:()=>M(!0),
|
|
17260
|
+
onPrevClick:()=>M(!0),components:{Dropdown:t=>e.createElement(qN,{...t,
|
|
17261
|
+
disabled:h})}},showActionsBar:!0,popoverProps:{popoverRef:w,isOpen:C,
|
|
17262
|
+
hasBackdrop:!0,canEscapeKeyClose:!0,minimal:!1,
|
|
17263
|
+
placement:"ltr"===b.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
17264
|
+
portalContainer:f??(y||void 0)},parseDate:e=>e?FN(e).toDate():new Date,
|
|
17265
|
+
formatDate:e=>e?FN(e).format(p):"",onChange:z,...g
|
|
17266
|
+
}),i&&c&&e.createElement(lm,null,c))},exports.DateRangePicker=t=>{
|
|
17267
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,clearButtonText:u="Clear",language:d,displayFormat:h="YYYY-MM-DD",portalContainer:p,onChange:f,closeOnSelection:m=!0,...v}=t,g=cr(),y=document.querySelector('div[role="dialog"].DialogContent'),{popoverRef:b,isOpen:w,onDateChange:C,setOpen:z}=XN({
|
|
17268
|
+
onChange:f,closeOnSelection:m},!0);return e.createElement(WN,{
|
|
17269
|
+
id:`date-picker-container-${c??""}`.trim(),"aria-invalid":i,dir:g.direction
|
|
17270
|
+
},a&&e.createElement(Do,{htmlFor:t.id,className:"input-label"
|
|
17258
17271
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17259
|
-
disabled:t.disabled}),e.createElement(PN,{closeOnSelection
|
|
17260
|
-
locale:d||"en",
|
|
17261
|
-
|
|
17262
|
-
|
|
17263
|
-
|
|
17264
|
-
|
|
17272
|
+
disabled:t.disabled}),e.createElement(PN,{closeOnSelection:m,disabled:s,
|
|
17273
|
+
selectAllOnFocus:!0,locale:d||"en",
|
|
17274
|
+
maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
|
|
17275
|
+
shortcuts:!1,startInputProps:{placeholder:n||h,name:r,id:`start-${c}`,
|
|
17276
|
+
"aria-disabled":s,onClick:e=>{z(!0),e.stopPropagation()}},endInputProps:{
|
|
17277
|
+
placeholder:n||h,name:r,id:`end-${c}`,"aria-disabled":s,onClick:e=>{
|
|
17278
|
+
z(!0),e.stopPropagation()}},dayPickerProps:{disabled:s,dir:g.direction,
|
|
17279
|
+
onMonthChange:()=>z(!0),onNextClick:()=>z(!0),onPrevClick:()=>z(!0),components:{
|
|
17280
|
+
Dropdown:t=>e.createElement(qN,{...t,disabled:s})}},
|
|
17265
17281
|
footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
|
|
17266
|
-
f
|
|
17267
|
-
|
|
17268
|
-
|
|
17269
|
-
|
|
17270
|
-
|
|
17271
|
-
|
|
17272
|
-
|
|
17273
|
-
|
|
17274
|
-
|
|
17282
|
+
f?.([null,null])}},u)),popoverProps:{popoverRef:b,isOpen:w,hasBackdrop:!0,
|
|
17283
|
+
canEscapeKeyClose:!0,minimal:!1,
|
|
17284
|
+
placement:"ltr"===g.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
17285
|
+
portalContainer:p??(y||void 0)},parseDate:e=>e?FN(e).toDate():new Date,
|
|
17286
|
+
formatDate:e=>e?FN(e).format(h):"",onChange:C,...v
|
|
17287
|
+
}),i&&l&&e.createElement(lm,null,l))},exports.DateTimePicker=t=>{
|
|
17288
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,todayButtonText:s="Today",clearButtonText:u="Clear",language:d,disabled:h,displayFormat:p="YYYY-MM-DD hh:mm A",portalContainer:f,closeOnSelection:m=!0,onChange:v,...g}=t,y=document.querySelector('div[role="dialog"].DialogContent'),b=cr(),{popoverRef:w,isOpen:C,onDateChange:z,setOpen:M}=XN({
|
|
17289
|
+
onChange:v,closeOnSelection:m},!1);return e.createElement(WN,{
|
|
17290
|
+
id:`datetime-picker-container-${c??""}`.trim(),"aria-invalid":i,dir:b.direction
|
|
17291
|
+
},a&&e.createElement(Do,{htmlFor:t.id,className:"input-label"
|
|
17275
17292
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17276
|
-
disabled:t.disabled}),e.createElement(vN,{
|
|
17277
|
-
|
|
17293
|
+
disabled:t.disabled}),e.createElement(vN,{closeOnSelection:m,
|
|
17294
|
+
canClearSelection:!0,disabled:h,locale:d||"en",todayButtonText:s,
|
|
17278
17295
|
clearButtonText:u,maxDate:FN(new Date).add(10,"years").toDate(),
|
|
17279
17296
|
minDate:FN(new Date).subtract(100,"years").toDate(),fill:!0,
|
|
17280
17297
|
highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:c,
|
|
17281
|
-
"aria-disabled":h
|
|
17282
|
-
|
|
17283
|
-
|
|
17284
|
-
|
|
17285
|
-
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
17289
|
-
|
|
17290
|
-
|
|
17291
|
-
|
|
17292
|
-
|
|
17298
|
+
"aria-disabled":h,onClick:e=>{M(!0),e.stopPropagation()}},dayPickerProps:{
|
|
17299
|
+
disabled:h,dir:b.direction,onMonthChange:()=>M(!0),onNextClick:()=>M(!0),
|
|
17300
|
+
onPrevClick:()=>M(!0),components:{Dropdown:t=>e.createElement(qN,{...t,
|
|
17301
|
+
disabled:h})}},showActionsBar:!0,timePrecision:"minute",timePickerProps:{
|
|
17302
|
+
useAmPm:!0,showArrowButtons:!1},showTimezoneSelect:!1,disableTimezoneSelect:!0,
|
|
17303
|
+
popoverProps:{popoverRef:w,isOpen:C,hasBackdrop:!0,canEscapeKeyClose:!0,
|
|
17304
|
+
minimal:!1,placement:"ltr"===b.direction?"bottom-start":"bottom-end",
|
|
17305
|
+
usePortal:!0,portalContainer:f??(y||void 0)},
|
|
17306
|
+
parseDate:e=>e?FN(e).toDate():new Date,formatDate:e=>e?FN(e).format(p):"",
|
|
17307
|
+
onChange:z,...g}),i&&l&&e.createElement(lm,null,l))
|
|
17308
|
+
},exports.DateTimeRangePicker=t=>{
|
|
17309
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,clearButtonText:s="Clear",language:u,disabled:d,displayFormat:h="YYYY-MM-DD hh:mm A",portalContainer:p,onChange:f,closeOnSelection:m=!0,...v}=t,g=cr(),y=document.querySelector('div[role="dialog"].DialogContent'),{popoverRef:b,isOpen:w,onDateChange:C,setOpen:z}=XN({
|
|
17310
|
+
onChange:f,closeOnSelection:m},!0);return e.createElement(WN,{
|
|
17311
|
+
id:`date-picker-container-${c??""}`.trim(),"aria-invalid":i,dir:g.direction
|
|
17312
|
+
},a&&e.createElement(Do,{htmlFor:t.id,className:"input-label"
|
|
17293
17313
|
},a,a&&o&&e.createElement(Ao,null,"*")),e.createElement(GN,{$isErrored:i,
|
|
17294
|
-
disabled:t.disabled}),e.createElement(PN,{closeOnSelection
|
|
17295
|
-
locale:u||"en",
|
|
17296
|
-
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
17314
|
+
disabled:t.disabled}),e.createElement(PN,{closeOnSelection:m,disabled:d,
|
|
17315
|
+
selectAllOnFocus:!0,locale:u||"en",
|
|
17316
|
+
maxDate:FN(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
|
|
17317
|
+
shortcuts:!1,startInputProps:{placeholder:n||h,name:r,id:`start-${c}`,
|
|
17318
|
+
"aria-disabled":d,onClick:e=>{z(!0),e.stopPropagation()}},endInputProps:{
|
|
17319
|
+
placeholder:n||h,name:r,id:`end-${c}`,"aria-disabled":d,onClick:e=>{
|
|
17320
|
+
z(!0),e.stopPropagation()}},dayPickerProps:{disabled:d,dir:g.direction,
|
|
17321
|
+
onMonthChange:()=>z(!0),onNextClick:()=>z(!0),onPrevClick:()=>z(!0),components:{
|
|
17322
|
+
Dropdown:t=>e.createElement(qN,{...t,disabled:d})}},timePrecision:"minute",
|
|
17323
|
+
timePickerProps:{useAmPm:!0,onChange:()=>z(!0),showArrowButtons:!1},
|
|
17301
17324
|
footerElement:e.createElement(YN,null,e.createElement(UN,{onClick:()=>{
|
|
17302
|
-
f
|
|
17303
|
-
|
|
17304
|
-
|
|
17305
|
-
|
|
17325
|
+
f?.([null,null])}},s)),popoverProps:{popoverRef:b,isOpen:w,hasBackdrop:!0,
|
|
17326
|
+
canEscapeKeyClose:!0,minimal:!1,
|
|
17327
|
+
placement:"ltr"===g.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
17328
|
+
portalContainer:p??(y||void 0)},parseDate:e=>e?FN(e).toDate():new Date,
|
|
17329
|
+
formatDate:e=>e?FN(e).format(h):"",onChange:C,...v
|
|
17330
|
+
}),i&&l&&e.createElement(lm,null,l))
|
|
17306
17331
|
},exports.Drawer=({isOpen:t,children:n,hideDismissIcon:r,customClass:o="",size:a="default",isFullHeight:i=!0,placement:l="right",clickOutToClose:c=!1,onDismiss:s})=>{
|
|
17307
17332
|
const u=cr(),d="rtl"===u.direction?"right"===l?"left":"right":l
|
|
17308
17333
|
;return e.createElement(rb,{open:t,onOpenChange:e=>{e||s?.()}
|
|
@@ -17315,7 +17340,7 @@ fill:u.colors.text.inverse}))),n)))
|
|
|
17315
17340
|
},exports.Dropdown=ab,exports.DropdownInputItem=$f,
|
|
17316
17341
|
exports.DropdownItem=cb,exports.DropdownMenuItem=Xv,
|
|
17317
17342
|
exports.ErrorIcon=oo,exports.Freddy=ao,
|
|
17318
|
-
exports.FreemiumUIGlobalStyles=
|
|
17343
|
+
exports.FreemiumUIGlobalStyles=cG,exports.FreshLink=Vo,
|
|
17319
17344
|
exports.IconButton=Lo,exports.InfoIcon=io,
|
|
17320
17345
|
exports.Input=fm,exports.InputLabel=ko,
|
|
17321
17346
|
exports.Loader=wm,exports.Menu=sb,exports.Minus=lo,
|
|
@@ -17375,33 +17400,33 @@ const o="string"==typeof n?`${n}${r}`.trim():`${n?.[t]??""}${r}`.trim(),a=j.map(
|
|
|
17375
17400
|
item:n,index:r,dir:O.direction})
|
|
17376
17401
|
},k?k(n):e.createElement(e.Fragment,null,u?.(n)??"",a&&e.createElement(so,{
|
|
17377
17402
|
fill:O.colors.common.accent})))})))),S&&H&&e.createElement(lm,null,H))
|
|
17378
|
-
},exports.Popover=
|
|
17379
|
-
exports.PopoverClose=
|
|
17380
|
-
const u=cr();return e.createElement(
|
|
17403
|
+
},exports.Popover=SF,
|
|
17404
|
+
exports.PopoverClose=EF,exports.PopoverTrigger=MF,exports.Radio=({checked:t,className:n,disabled:r,id:o,isRequired:a,label:i,name:l,readOnly:c,...s})=>{
|
|
17405
|
+
const u=cr();return e.createElement(HF,{
|
|
17381
17406
|
className:`RadioGroupRoot ${n??""}`.trim(),id:o,name:l,
|
|
17382
17407
|
"aria-label":i||"Radio button",value:t?"default":"",required:a,disabled:r,
|
|
17383
17408
|
"aria-readonly":c,dir:u.direction,...s
|
|
17384
|
-
},e.createElement(
|
|
17409
|
+
},e.createElement(AF,null,e.createElement(kF,{checked:t,"aria-checked":t,
|
|
17385
17410
|
className:"RadioGroupItem",disabled:r,"aria-readonly":c,value:"default",
|
|
17386
|
-
id:"default"},e.createElement(
|
|
17411
|
+
id:"default"},e.createElement(DF,{className:"RadioGroupIndicator"
|
|
17387
17412
|
})),i&&e.createElement(ko,{className:"RadioLabel",disabled:r,"aria-readonly":c,
|
|
17388
17413
|
"aria-label":i,htmlFor:o},i,i&&a&&e.createElement(Ao,null,"*"))))
|
|
17389
17414
|
},exports.RadioGroup=({options:t,defaultValue:n,idAccessor:r="id",nameAccessor:o="name",onChange:a,className:i,id:l,isErrored:c,errorText:s,disabled:u,isRequired:d,label:h,readOnly:p,value:f,...m})=>{
|
|
17390
|
-
const v=cr();return e.createElement(
|
|
17415
|
+
const v=cr();return e.createElement(_F,null,h&&e.createElement(Do,{id:l,
|
|
17391
17416
|
className:"input-label"
|
|
17392
|
-
},h,h&&d&&e.createElement(Ao,null,"*")),e.createElement(
|
|
17417
|
+
},h,h&&d&&e.createElement(Ao,null,"*")),e.createElement(HF,{defaultValue:n,
|
|
17393
17418
|
value:f,onValueChange:e=>{p||u||a?.(e)},"aria-readonly":p,id:l,
|
|
17394
17419
|
"aria-label":h||"Radio Group","aria-labelledby":h?l:void 0,
|
|
17395
17420
|
className:`RadioGroupRoot ${i??""}`.trim(),dir:v.direction,...m
|
|
17396
|
-
},t?.map((t=>e.createElement(
|
|
17397
|
-
},e.createElement(
|
|
17398
|
-
value:t?.[r],id:t?.[r],"aria-label":t?.[o]},e.createElement(
|
|
17421
|
+
},t?.map((t=>e.createElement(AF,{key:t?.[r],className:"RadioContainer"
|
|
17422
|
+
},e.createElement(kF,{className:"RadioGroupItem",disabled:t.disabled,
|
|
17423
|
+
value:t?.[r],id:t?.[r],"aria-label":t?.[o]},e.createElement(DF,{
|
|
17399
17424
|
className:"RadioGroupIndicator"})),e.createElement(ko,{className:"RadioLabel",
|
|
17400
17425
|
disabled:t.disabled,htmlFor:t?.[r]
|
|
17401
17426
|
},t?.[o]))))),c&&s&&e.createElement(lm,null,s))
|
|
17402
17427
|
},exports.RadixMenuItem=jv,exports.RadixSelectItem=Lf,
|
|
17403
|
-
exports.Reorder=
|
|
17404
|
-
exports.SortDropdown=
|
|
17428
|
+
exports.Reorder=wj,exports.RequiredIndicator=Ao,
|
|
17429
|
+
exports.SortDropdown=rY,exports.StyledLabel=Do,exports.Table=t=>{
|
|
17405
17430
|
const{data:n,columns:r,showFooter:o=!1,infoComponent:a,isLoading:i,isFetching:l,emptyComponent:c,loadingComponent:s,actionComponent:u,headerComponent:d,editColumnComponent:h,filterComponent:p,hideTableOnEmpty:f,hideTopPagination:m,hideFilters:v,isFilterOpenByDefault:g=!0,sortingHeading:y,showTableOnLoading:b,hideLoaderOnTopPagination:w,hideActions:C,count:z,pageIndex:M=0,pageSize:x=20,enablePreviousPage:E,enableNextPage:S,hideColumnSettings:_=!0,hideBottomPagination:H,rowMenuOptions:D,onPreviousPageClick:k,enableSorting:A,sortingValues:L,sortingOptions:V,onSortingOptionSelect:T,onNextPageClick:R,disableRowSelect:P,hideSelectAllInTable:I,onSelectAllRows:O,onRowSelect:N,onMenuOptionSelect:F,onRowClick:$,columnOrder:B,setColumnOrder:j,setHiddenColumns:U,hiddenColumns:Y,selectedRowIds:W={},isDisableSortDropdown:G,setSelectedRowIds:K,dataKey:q="id",cellPropGetter:Z,setPageIndex:X,rowPropGetter:J,translationTexts:Q}=t,ee=cr(),[te,ne]=e.useState(!!g),re={
|
|
17406
17431
|
accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},
|
|
17407
17432
|
display:e=>e,group:e=>e},oe=-1===z||void 0===z,ae=e.useMemo((()=>[...P?[]:[{
|
|
@@ -17424,8 +17449,8 @@ onSelect:e=>{e.id&&F?.(e.id,t.original)},side:"bottom",
|
|
|
17424
17449
|
align:"rtl"===ee.direction?"start":"end"})
|
|
17425
17450
|
}]:[]]),[r,P,I,ee.colors.text.primary]),ie=e.useMemo((()=>{const e={}
|
|
17426
17451
|
;return r.forEach((t=>{e[t.id]=!(Y??[]).includes(t.id)})),e
|
|
17427
|
-
}),[r,Y]),le=e.useMemo((()=>({pageIndex:M,pageSize:x})),[x,M]),ce=
|
|
17428
|
-
columns:ae,getRowId:e=>e?.[q]??"id",getCoreRowModel:
|
|
17452
|
+
}),[r,Y]),le=e.useMemo((()=>({pageIndex:M,pageSize:x})),[x,M]),ce=wU({data:n,
|
|
17453
|
+
columns:ae,getRowId:e=>e?.[q]??"id",getCoreRowModel:yU(),state:{columnOrder:B,
|
|
17429
17454
|
columnVisibility:ie,rowSelection:W,pagination:le},initialState:{columnPinning:{
|
|
17430
17455
|
left:["select"],right:["rowMenuOptions"]}},onPaginationChange:e=>{let t=le
|
|
17431
17456
|
;t="function"==typeof e?e(le):e,X?.(t.pageIndex)},onColumnVisibilityChange:e=>{
|
|
@@ -17434,44 +17459,44 @@ onColumnOrderChange:e=>{let t=B??[];t="function"==typeof e?e(B??[]):e,j?.(t)},
|
|
|
17434
17459
|
onRowSelectionChange:e=>{let t=W;t="function"==typeof e?e(W):e,K?.(t)},
|
|
17435
17460
|
enableRowSelection:!0,manualPagination:!0,rowCount:oe?-1:z
|
|
17436
17461
|
}),{getPageCount:se,getRowModel:ue,getState:de,getCanNextPage:he,getCanPreviousPage:pe,getPageOptions:fe,previousPage:me,setPageIndex:ve,nextPage:ge,lastPage:ye,firstPage:be}=ce,{rows:we}=ue(),{pagination:{pageIndex:Ce,pageSize:ze}}=de(),Me=Ce*ze+(Ce<se()-1?ze:we.length),xe=ce.getAllColumns().filter((e=>e.getIsVisible())).length+(P?0:1)+(D?1:0),Ee=V?.[0].find((e=>e.id===L?.[0]))?.name
|
|
17437
|
-
;return e.createElement(
|
|
17462
|
+
;return e.createElement(CU,{className:"TableContainer"},!C&&e.createElement(_U,{
|
|
17438
17463
|
className:"table-actions"
|
|
17439
|
-
},u&&e.createElement(e.Fragment,null,u),e.createElement(
|
|
17440
|
-
className:"table-header-component"},d??null),e.createElement(
|
|
17464
|
+
},u&&e.createElement(e.Fragment,null,u),e.createElement(kU,{
|
|
17465
|
+
className:"table-header-component"},d??null),e.createElement(LU,{
|
|
17441
17466
|
className:"table-header-dropdown-pagination"},A&&e.createElement("div",{
|
|
17442
17467
|
className:"table-heading-dropdown"},e.createElement("div",{
|
|
17443
|
-
className:"table-sorting-heading"},`${y}:`)," ",e.createElement(
|
|
17468
|
+
className:"table-sorting-heading"},`${y}:`)," ",e.createElement(rY,{
|
|
17444
17469
|
trigger:e.createElement("div",{className:"table-sorting-value-continer"
|
|
17445
|
-
},e.createElement("div",null,Ee),e.createElement(
|
|
17470
|
+
},e.createElement("div",null,Ee),e.createElement(JU,{fill:"currentcolor"})),
|
|
17446
17471
|
isDisableSortDropdown:!!G,options:V||[],value:L,onSelect:e=>{T?.(e??[])}
|
|
17447
|
-
})),e.createElement(
|
|
17448
|
-
},h??null),e.createElement(
|
|
17472
|
+
})),e.createElement(AU,{className:"table-edit-column-component"
|
|
17473
|
+
},h??null),e.createElement(VU,{className:"pagination-actions"
|
|
17449
17474
|
},!m&&e.createElement(e.Fragment,null,e.createElement(Yo,{variant:"primary",
|
|
17450
17475
|
className:"pagination-text"},i&&!w?e.createElement(wm,{size:"small"
|
|
17451
17476
|
}):e.createElement(e.Fragment,null,n.length>0?`${Ce*ze+1} - ${Me} ${Q?.of||"of"} ${oe?""+(we.length>0?`${Q?.many||"Many"}`:"-"):z??we.length??"-"}`:null)),e.createElement(xm,{
|
|
17452
17477
|
variant:"secondary",className:"table-pagination-button",onClick:()=>{
|
|
17453
|
-
k?.(),oe||me()},disabled:oe?!E:!pe()||i||l},e.createElement(
|
|
17478
|
+
k?.(),oe||me()},disabled:oe?!E:!pe()||i||l},e.createElement(MU,{
|
|
17454
17479
|
fill:ee.colors.text.primary})),e.createElement(xm,{variant:"secondary",
|
|
17455
17480
|
className:"table-pagination-button",onClick:()=>{R?.(),oe||ge()},
|
|
17456
|
-
disabled:oe?!S:!he()||i||l},e.createElement(
|
|
17481
|
+
disabled:oe?!S:!he()||i||l},e.createElement(xU,{fill:ee.colors.text.primary
|
|
17457
17482
|
}))),!v&&e.createElement(xm,{variant:"secondary",
|
|
17458
17483
|
className:"table-pagination-button filter-toggle",onClick:()=>ne(!te)
|
|
17459
|
-
},e.createElement(
|
|
17460
|
-
fill:"currentcolor"}))))),e.createElement(
|
|
17484
|
+
},e.createElement(zU,{style:{transform:te?"rotateY(180deg)":"rotateY(0deg)"},
|
|
17485
|
+
fill:"currentcolor"}))))),e.createElement(EU,null,e.createElement(SU,{
|
|
17461
17486
|
className:"table-wrapper"
|
|
17462
|
-
},a&&e.createElement(
|
|
17463
|
-
align:"end",avoidCollisions:!0,side:"top",trigger:e.createElement(
|
|
17464
|
-
fill:"currentcolor"})},e.createElement(
|
|
17465
|
-
})),e.createElement(
|
|
17466
|
-
key:t.id},t.headers.map((t=>e.createElement(
|
|
17467
|
-
},t.isPlaceholder?null:
|
|
17487
|
+
},a&&e.createElement(DU,null,a),i&&!b?e.createElement(e.Fragment,null,s):e.createElement(e.Fragment,null,0===we.length&&f?e.createElement(e.Fragment,null,c):e.createElement(TU,null,e.createElement(RU,null,!_&&e.createElement(SF,{
|
|
17488
|
+
align:"end",avoidCollisions:!0,side:"top",trigger:e.createElement(QU,{
|
|
17489
|
+
fill:"currentcolor"})},e.createElement(nY,{table:ce
|
|
17490
|
+
})),e.createElement(PU,null,ce.getHeaderGroups().map((t=>e.createElement(NU,{
|
|
17491
|
+
key:t.id},t.headers.map((t=>e.createElement($U,{key:t.id
|
|
17492
|
+
},t.isPlaceholder?null:bU(t.column.columnDef.header,t.getContext())))))))),e.createElement(IU,null,l&&!i&&e.createElement(FU,null,e.createElement(wm,null)),we.map((t=>e.createElement(NU,{
|
|
17468
17493
|
key:t.id,$isSelected:t.getIsSelected(),...J?.(t.original)
|
|
17469
|
-
},t.getVisibleCells().map((n=>e.createElement(
|
|
17494
|
+
},t.getVisibleCells().map((n=>e.createElement(BU,{key:n.id,onClick:()=>{
|
|
17470
17495
|
$?.(t.original,n.column.columnDef)},...Z?.(n)
|
|
17471
|
-
},
|
|
17472
|
-
key:t.id},t.headers.map((t=>e.createElement(
|
|
17473
|
-
},t.isPlaceholder?null:
|
|
17474
|
-
colSpan:xe},e.createElement(
|
|
17496
|
+
},bU(n.column.columnDef.cell,n.getContext())))))))),o&&e.createElement(OU,null,ce.getFooterGroups().map((t=>e.createElement(NU,{
|
|
17497
|
+
key:t.id},t.headers.map((t=>e.createElement($U,{key:t.id
|
|
17498
|
+
},t.isPlaceholder?null:bU(t.column.columnDef.footer,t.getContext())))))))),!H&&e.createElement(OU,null,e.createElement(NU,null,e.createElement($U,{
|
|
17499
|
+
colSpan:xe},e.createElement(XU,{className:"table-pagination"
|
|
17475
17500
|
},e.createElement(xm,{variant:"secondary",onClick:()=>{be()},
|
|
17476
17501
|
disabled:!pe()||i||l},"<<"),e.createElement(xm,{variant:"secondary",
|
|
17477
17502
|
onClick:()=>{me()},disabled:!pe()||i||l
|
|
@@ -17487,19 +17512,19 @@ onClick:()=>{ve?.(Math.ceil(n.length/ze)-1)},disabled:i||l
|
|
|
17487
17512
|
},Math.ceil(n.length/ze))),e.createElement(xm,{variant:"secondary",onClick:()=>{
|
|
17488
17513
|
ge()},disabled:!he()||i||l},">"),e.createElement(xm,{variant:"secondary",
|
|
17489
17514
|
onClick:()=>{ye()},disabled:!he()||i||l
|
|
17490
|
-
},">>"))))))))),!v&&te&&p&&e.createElement(
|
|
17515
|
+
},">>"))))))))),!v&&te&&p&&e.createElement(HU,null,p)))
|
|
17491
17516
|
},exports.Tabs=({options:t=[],idAccessor:n="id",nameAccessor:r="name",disabledAccessor:o="disabled",onChange:a,defaultValue:i,label:l,renderTabsContent:c,value:s})=>{
|
|
17492
|
-
const u=cr();return e.createElement(
|
|
17493
|
-
defaultValue:i,onValueChange:a,dir:u.direction},e.createElement(
|
|
17494
|
-
className:"TabsList","aria-label":l},t.map((t=>e.createElement(
|
|
17517
|
+
const u=cr();return e.createElement(vY,{className:"TabsRoot",value:s,
|
|
17518
|
+
defaultValue:i,onValueChange:a,dir:u.direction},e.createElement(yY,{
|
|
17519
|
+
className:"TabsList","aria-label":l},t.map((t=>e.createElement(bY,{
|
|
17495
17520
|
className:"TabsTrigger",value:t?.[n],key:t?.[n],disabled:t?.[o]
|
|
17496
|
-
},t?.[r])))),t.map((t=>e.createElement(
|
|
17521
|
+
},t?.[r])))),t.map((t=>e.createElement(gY,{className:"TabsContent",value:t?.[n],
|
|
17497
17522
|
key:t?.[n]},c?c(t):null))))
|
|
17498
|
-
},exports.TabsContent=
|
|
17499
|
-
exports.TabsTrigger=
|
|
17523
|
+
},exports.TabsContent=gY,exports.TabsList=yY,exports.TabsRoot=vY,
|
|
17524
|
+
exports.TabsTrigger=bY,
|
|
17500
17525
|
exports.Tag=Ab,exports.TextArea=mm,exports.ThemeProvider=t=>e.createElement(sr,{
|
|
17501
17526
|
theme:t.theme
|
|
17502
|
-
},e.createElement(
|
|
17527
|
+
},e.createElement(wY,null),e.createElement(mW,null,t.children)),exports.Themes=Ho,
|
|
17503
17528
|
exports.TickIcon=so,exports.TimePicker=t=>{
|
|
17504
17529
|
const{isRequired:n,label:r,isErrored:o,errorText:a,id:i,disabled:l,precision:c="minute",useAmPm:s,value:u="",onChange:d}=t,h=cr(),[p,f]=e.useState(["","","","",""])
|
|
17505
17530
|
;e.useEffect((()=>{if(u){
|
|
@@ -17511,59 +17536,60 @@ case"hours":n[0]=t;break;case"minutes":n[1]=t;break;case"seconds":n[2]=t;break
|
|
|
17511
17536
|
const r=n[0],o=n[1],a="second"===c||"millisecond"===c?n[2]:void 0,i="millisecond"===c?n[3]:void 0
|
|
17512
17537
|
;f(n)
|
|
17513
17538
|
;const l=`${s&&"PM"===n[4]?Number(r)+12:r}:${o}${a?`:${a}`:""}${i?`.${i}`:""}`
|
|
17514
|
-
;"Invalid Date"===new Date(`2021-01-01T${l}Z`).toString()||d?.(l)}
|
|
17539
|
+
;"Invalid Date"===new Date(`2021-01-01T${l}Z`).toString()||d?.(l)},v=(e,t)=>{
|
|
17540
|
+
switch(t){case"hours":
|
|
17541
|
+
return e.length>2||s&&(Number(e)>12||Number(e)<0)||!s&&(Number(e)>23||Number(e)<0)
|
|
17542
|
+
;case"minutes":case"seconds":return e.length>2||Number(e)>59||Number(e)<0
|
|
17543
|
+
;case"milliseconds":return e.length>3||Number(e)>999||Number(e)<0}}
|
|
17515
17544
|
;return e.createElement($N,{id:`datetime-picker-container-${i??""}`.trim()
|
|
17516
17545
|
},r&&e.createElement(Do,{htmlFor:t.id,className:"input-label"
|
|
17517
17546
|
},r,r&&n&&e.createElement(Ao,null,"*")),e.createElement(BN,null,e.createElement(jN,{
|
|
17518
17547
|
className:"time-picker-input picker-hours",type:"number",
|
|
17519
17548
|
placeholder:s?"hh":"HH",disabled:l,dir:h.direction,min:s?1:0,max:s?12:23,
|
|
17520
17549
|
value:p[0],onChange:e=>{
|
|
17521
|
-
e.target.value
|
|
17522
|
-
onBlur:e=>{const t=Number(e.target.value),
|
|
17523
|
-
|
|
17550
|
+
v(e.target.value,"hours")||f((t=>[e.target.value,t[1],t[2],t[3],t[4]]))},
|
|
17551
|
+
onBlur:e=>{const t=Number(e.target.value);m("hours",t<10?`0${t}`:t.toString())},
|
|
17552
|
+
isErrored:o,"aria-invalid":o
|
|
17524
17553
|
}),e.createElement("span",null,":"),e.createElement(jN,{
|
|
17525
17554
|
className:"time-picker-input picker-minutes",type:"number",placeholder:"mm",
|
|
17526
17555
|
disabled:l,dir:h.direction,min:0,max:59,value:p[1],onChange:e=>{
|
|
17527
|
-
e.target.value
|
|
17528
|
-
onBlur:e=>{const t=Number(e.target.value),
|
|
17529
|
-
|
|
17530
|
-
errorText:a
|
|
17556
|
+
v(e.target.value,"minutes")||f((t=>[t[0],e.target.value,t[2],t[3],t[4]]))},
|
|
17557
|
+
onBlur:e=>{const t=Number(e.target.value);m("minutes",t<10?`0${t}`:t.toString())
|
|
17558
|
+
},isErrored:o,"aria-invalid":o
|
|
17531
17559
|
}),("millisecond"===c||"second"===c)&&e.createElement(e.Fragment,null,e.createElement("span",null,":"),e.createElement(jN,{
|
|
17532
17560
|
className:"time-picker-input picker-seconds",type:"number",placeholder:"ss",
|
|
17533
17561
|
disabled:l,dir:h.direction,min:0,max:59,value:p[2],onChange:e=>{
|
|
17534
|
-
e.target.value
|
|
17535
|
-
onBlur:e=>{const t=Number(e.target.value),
|
|
17536
|
-
|
|
17537
|
-
errorText:a
|
|
17562
|
+
v(e.target.value,"seconds")||f((t=>[t[0],t[1],e.target.value,t[3],t[4]]))},
|
|
17563
|
+
onBlur:e=>{const t=Number(e.target.value);m("seconds",t<10?`0${t}`:t.toString())
|
|
17564
|
+
},isErrored:o,"aria-invalid":o
|
|
17538
17565
|
})),"millisecond"===c&&e.createElement(e.Fragment,null,e.createElement("span",null,":"),e.createElement(jN,{
|
|
17539
17566
|
className:"time-picker-input picker-milliseconds",type:"number",
|
|
17540
17567
|
placeholder:"SSS",disabled:l,dir:h.direction,min:0,max:999,value:p[3],
|
|
17541
17568
|
onChange:e=>{
|
|
17542
|
-
e.target.value
|
|
17543
|
-
onBlur:e=>{const t=Number(e.target.value.slice(0,3))
|
|
17544
|
-
;m("milliseconds",
|
|
17545
|
-
"aria-invalid":o
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
|
|
17549
|
-
|
|
17550
|
-
|
|
17551
|
-
|
|
17552
|
-
|
|
17553
|
-
required:a,"aria-required":a,size:i,...c},e.createElement(EW,{...l,size:i
|
|
17569
|
+
v(e.target.value,"milliseconds")||f((t=>[t[0],t[1],t[2],e.target.value,t[4]]))},
|
|
17570
|
+
onBlur:e=>{const t=Number(e.target.value.slice(0,3))
|
|
17571
|
+
;m("milliseconds",t<10?`00${t}`:t<100?`0${t}`:t.toString())},isErrored:o,
|
|
17572
|
+
"aria-invalid":o})),s&&e.createElement(ab,{itemToString:e=>e?.name??"",
|
|
17573
|
+
placeholder:"--",style:{marginLeft:"4px"},showTick:!1,
|
|
17574
|
+
defaultSelectedItem:u?JN.find((e=>e.id===p[4]))??null:null,width:"65px",
|
|
17575
|
+
itemIdentifier:"id",items:JN,onChange:e=>{m("AMPM","AM"===e?.id?"AM":"PM")}})))
|
|
17576
|
+
},
|
|
17577
|
+
exports.ToastProvider=mW,exports.Toggle=({handleChange:t,hasIcon:n=!1,on:r,isErrored:o,isRequired:a,size:i="md",thumbProps:l,...c})=>{
|
|
17578
|
+
const s=cr();return e.createElement(SW,{checked:r,onCheckedChange:e=>{t?.(e)},
|
|
17579
|
+
required:a,"aria-required":a,size:i,...c},e.createElement(_W,{...l,size:i
|
|
17554
17580
|
},n&&e.createElement(so,{fill:s.colors.common.accent,className:"toggle-on",
|
|
17555
|
-
...
|
|
17556
|
-
className:"toggle-off",...
|
|
17581
|
+
...HW[i]}),n&&e.createElement(ro,{fill:s.colors.text.primary,
|
|
17582
|
+
className:"toggle-off",...DW[i]})))
|
|
17557
17583
|
},exports.Tooltip=({position:t="bottom",label:n,html:r,style:o={},children:a,className:i="",disabled:l=!1,delay:c=300,arrow:s=!0,providerProps:u,rootProps:d})=>{
|
|
17558
|
-
const h=cr(),[p="bottom",f="center"]=t.split("-");return e.createElement(
|
|
17559
|
-
delayDuration:c,...u},e.createElement(
|
|
17560
|
-
},e.createElement(
|
|
17584
|
+
const h=cr(),[p="bottom",f="center"]=t.split("-");return e.createElement(oG,{
|
|
17585
|
+
delayDuration:c,...u},e.createElement(aG,{...d,open:!l&&void 0
|
|
17586
|
+
},e.createElement(iG,{className:"TooltipTrigger",asChild:!0,
|
|
17561
17587
|
"aria-label":"string"==typeof a?a:"TooltipTrigger",type:"button"
|
|
17562
17588
|
},e.createElement(No,{className:i,type:"button"
|
|
17563
|
-
},a)),e.createElement(
|
|
17589
|
+
},a)),e.createElement(lG,null,e.createElement(rG,{forceMount:!0,
|
|
17564
17590
|
"data-tooltip-content":!0,className:"TooltipContent",style:o,sideOffset:5,
|
|
17565
17591
|
"aria-disabled":l,"aria-live":"polite",side:p,align:f,dir:h.direction
|
|
17566
|
-
},r?e.createElement(e.Fragment,null,r):e.createElement(e.Fragment,null,n??""),s&&e.createElement(
|
|
17592
|
+
},r?e.createElement(e.Fragment,null,r):e.createElement(e.Fragment,null,n??""),s&&e.createElement(nG,null)))))
|
|
17567
17593
|
},
|
|
17568
17594
|
exports.TriggerButtonWrapper=No,exports.Typography=Yo,exports.Warning=uo,exports.WorkspaceTable=t=>{
|
|
17569
17595
|
const{data:n,columns:r,showFooter:o=!1,infoComponent:a,isLoading:i,isFetching:l,emptyComponent:c,loadingComponent:s,headerComponent:u,filterComponent:d,hideTableOnEmpty:h,hideTopPagination:p,hideFilters:f,isFilterOpenByDefault:m=!0,showTableOnLoading:v,hideLoaderOnTopPagination:g,showWorkspaceActions:y,count:b,isWSOpen:w=!0,pageIndex:C=0,pageSize:z=20,enablePreviousPage:M,enableNextPage:x,hideColumnSettings:E=!0,hideBottomPagination:S,rowMenuOptions:_,onPreviousPageClick:H,onNextPageClick:D,disableRowSelect:k,hideSelectAllInTable:A,onSelectAllRows:L,onRowSelect:V,onMenuOptionSelect:T,onRowClick:R,columnOrder:P,setColumnOrder:I,setHiddenColumns:O,hiddenColumns:N,selectedRowIds:F={},isDisableSortDropdown:$,setSelectedRowIds:B,dataKey:j="id",cellPropGetter:U,setPageIndex:Y,rowPropGetter:W,translationTexts:G}=t,K=cr(),[q,Z]=e.useState(!!m),X={
|
|
@@ -17588,8 +17614,8 @@ onSelect:e=>{e.id&&T?.(e.id,t.original)},side:"bottom",
|
|
|
17588
17614
|
align:"rtl"===K.direction?"start":"end"})
|
|
17589
17615
|
}]:[]]),[r,k,A,K.colors.text.primary]),ee=e.useMemo((()=>{const e={}
|
|
17590
17616
|
;return r.forEach((t=>{e[t.id]=!(N??[]).includes(t.id)})),e
|
|
17591
|
-
}),[r,N]),te=e.useMemo((()=>({pageIndex:C,pageSize:z})),[z,C]),ne=
|
|
17592
|
-
columns:Q,getRowId:e=>e?.[j]??"id",getCoreRowModel:
|
|
17617
|
+
}),[r,N]),te=e.useMemo((()=>({pageIndex:C,pageSize:z})),[z,C]),ne=wU({data:n,
|
|
17618
|
+
columns:Q,getRowId:e=>e?.[j]??"id",getCoreRowModel:yU(),state:{columnOrder:P,
|
|
17593
17619
|
columnVisibility:ee,rowSelection:F,pagination:te},initialState:{columnPinning:{
|
|
17594
17620
|
left:["select"],right:["rowMenuOptions"]}},onPaginationChange:e=>{let t=te
|
|
17595
17621
|
;t="function"==typeof e?e(te):e,Y?.(t.pageIndex)},onColumnVisibilityChange:e=>{
|
|
@@ -17598,34 +17624,34 @@ onColumnOrderChange:e=>{let t=P??[];t="function"==typeof e?e(P??[]):e,I?.(t)},
|
|
|
17598
17624
|
onRowSelectionChange:e=>{let t=F;t="function"==typeof e?e(F):e,B?.(t)},
|
|
17599
17625
|
enableRowSelection:!0,manualPagination:!0,rowCount:J?-1:b
|
|
17600
17626
|
}),{getPageCount:re,getRowModel:oe,getState:ae,getCanNextPage:ie,getCanPreviousPage:le,getPageOptions:ce,previousPage:se,setPageIndex:ue,nextPage:de,lastPage:he,firstPage:pe}=ne,{rows:fe}=oe(),{pagination:{pageIndex:me,pageSize:ve}}=ae(),ge=me*ve+(me<re()-1?ve:fe.length),ye=ne.getAllColumns().filter((e=>e.getIsVisible())).length+(k?0:1)+(_?1:0)
|
|
17601
|
-
;return e.createElement(
|
|
17602
|
-
className:"table-actions"},e.createElement(
|
|
17603
|
-
className:"table-header-component"},u??null),!!w&&e.createElement(
|
|
17604
|
-
className:"table-header-dropdown-pagination"},e.createElement(
|
|
17627
|
+
;return e.createElement(CU,{className:"TableContainer"},y&&e.createElement(_U,{
|
|
17628
|
+
className:"table-actions"},e.createElement(kU,{
|
|
17629
|
+
className:"table-header-component"},u??null),!!w&&e.createElement(LU,{
|
|
17630
|
+
className:"table-header-dropdown-pagination"},e.createElement(VU,{
|
|
17605
17631
|
className:"pagination-actions"
|
|
17606
17632
|
},!p&&e.createElement(e.Fragment,null,e.createElement(Yo,{variant:"primary",
|
|
17607
17633
|
className:"pagination-text"},i&&!g?e.createElement(wm,{size:"small"
|
|
17608
17634
|
}):e.createElement(e.Fragment,null,n.length>0?`${me*ve+1} - ${ge} ${G?.of||"of"} ${J?""+(fe.length>0?`${G?.many||"Many"}`:"-"):b??fe.length??"-"}`:null)),e.createElement(xm,{
|
|
17609
17635
|
variant:"secondary",className:"table-pagination-button",onClick:e=>{
|
|
17610
|
-
H?.(),J||se()},disabled:J?!M:!le()||i||l},e.createElement(
|
|
17636
|
+
H?.(),J||se()},disabled:J?!M:!le()||i||l},e.createElement(MU,{
|
|
17611
17637
|
fill:K.colors.text.primary})),e.createElement(xm,{variant:"secondary",
|
|
17612
17638
|
className:"table-pagination-button",onClick:e=>{D?.(),J||de()},
|
|
17613
|
-
disabled:J?!x:!ie()||i||l},e.createElement(
|
|
17614
|
-
})))))),!!w&&e.createElement(
|
|
17639
|
+
disabled:J?!x:!ie()||i||l},e.createElement(xU,{fill:K.colors.text.primary
|
|
17640
|
+
})))))),!!w&&e.createElement(EU,null,e.createElement(SU,{
|
|
17615
17641
|
className:"table-wrapper"
|
|
17616
|
-
},a&&e.createElement(
|
|
17617
|
-
align:"end",avoidCollisions:!0,side:"top",trigger:e.createElement(
|
|
17618
|
-
fill:"currentcolor"})},e.createElement(
|
|
17619
|
-
})),e.createElement(
|
|
17620
|
-
key:t.id},t.headers.map((t=>e.createElement(
|
|
17621
|
-
},t.isPlaceholder?null:
|
|
17642
|
+
},a&&e.createElement(DU,null,a),i&&!v?e.createElement(e.Fragment,null,s):e.createElement(e.Fragment,null,0===fe.length&&h?e.createElement(e.Fragment,null,c):e.createElement(TU,null,e.createElement(RU,null,!E&&e.createElement(SF,{
|
|
17643
|
+
align:"end",avoidCollisions:!0,side:"top",trigger:e.createElement(QU,{
|
|
17644
|
+
fill:"currentcolor"})},e.createElement(nY,{table:ne
|
|
17645
|
+
})),e.createElement(PU,null,ne.getHeaderGroups().map((t=>e.createElement(NU,{
|
|
17646
|
+
key:t.id},t.headers.map((t=>e.createElement($U,{key:t.id
|
|
17647
|
+
},t.isPlaceholder?null:bU(t.column.columnDef.header,t.getContext())))))))),e.createElement(IU,null,l&&!i&&e.createElement(FU,null,e.createElement(wm,null)),fe.map((t=>e.createElement(NU,{
|
|
17622
17648
|
key:t.id,$isSelected:t.getIsSelected(),...W?.(t.original)
|
|
17623
|
-
},t.getVisibleCells().map((n=>e.createElement(
|
|
17649
|
+
},t.getVisibleCells().map((n=>e.createElement(BU,{key:n.id,onClick:()=>{
|
|
17624
17650
|
R?.(t.original,n.column.columnDef)},...U?.(n)
|
|
17625
|
-
},
|
|
17626
|
-
key:t.id},t.headers.map((t=>e.createElement(
|
|
17627
|
-
},t.isPlaceholder?null:
|
|
17628
|
-
colSpan:ye},e.createElement(
|
|
17651
|
+
},bU(n.column.columnDef.cell,n.getContext())))))))),o&&e.createElement(OU,null,ne.getFooterGroups().map((t=>e.createElement(NU,{
|
|
17652
|
+
key:t.id},t.headers.map((t=>e.createElement($U,{key:t.id
|
|
17653
|
+
},t.isPlaceholder?null:bU(t.column.columnDef.footer,t.getContext())))))))),!S&&e.createElement(OU,null,e.createElement(NU,null,e.createElement($U,{
|
|
17654
|
+
colSpan:ye},e.createElement(XU,{className:"table-pagination"
|
|
17629
17655
|
},e.createElement(xm,{variant:"secondary",onClick:()=>{pe()},
|
|
17630
17656
|
disabled:!le()||i||l},"<<"),e.createElement(xm,{variant:"secondary",
|
|
17631
17657
|
onClick:()=>{se()},disabled:!le()||i||l
|
|
@@ -17641,7 +17667,7 @@ onClick:()=>{ue?.(Math.ceil(n.length/ve)-1)},disabled:i||l
|
|
|
17641
17667
|
},Math.ceil(n.length/ve))),e.createElement(xm,{variant:"secondary",onClick:()=>{
|
|
17642
17668
|
de()},disabled:!ie()||i||l},">"),e.createElement(xm,{variant:"secondary",
|
|
17643
17669
|
onClick:()=>{he()},disabled:!ie()||i||l
|
|
17644
|
-
},">>"))))))))),!f&&q&&d&&e.createElement(
|
|
17670
|
+
},">>"))))))))),!f&&q&&d&&e.createElement(HU,null,d)))
|
|
17645
17671
|
},exports.dialogContentMixin=$o,
|
|
17646
17672
|
exports.dialogOverlayMixin=Fo,exports.useToasts=()=>{
|
|
17647
|
-
const{toasts:t,addToast:n}=e.useContext(
|
|
17673
|
+
const{toasts:t,addToast:n}=e.useContext(sW)??{};return[t,n]};
|