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.js
CHANGED
|
@@ -3909,37 +3909,37 @@ className:"end-adornment"},i)),a&&t.createElement("div",{className:"end-label"
|
|
|
3909
3909
|
;return t.createElement($m,{dir:o.direction,className:"fui-loader",speed:r,
|
|
3910
3910
|
size:n})},jm=(e,t)=>{const n={};return e.forEach((e=>{
|
|
3911
3911
|
e?.[t]&&(n?.[e[t]]||(n[e[t]]=e))})),Object.keys(n).map((e=>n[e]))
|
|
3912
|
-
},Um=({initialItems:e=[],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})=>{
|
|
3913
|
-
const
|
|
3912
|
+
},Um=({initialItems:e=[],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})=>{
|
|
3913
|
+
const M=Hr(),[x,E]=t.useState(!1),S=t.useRef(e),[_,H]=t.useState(e),D=(e="")=>{
|
|
3914
3914
|
if(!C)return;const t=new URL(C),n=new URLSearchParams(t.search);n.append(h,e)
|
|
3915
|
-
;const r=`${t.origin}${t.pathname}?${n.toString()}`;
|
|
3915
|
+
;const r=`${t.origin}${t.pathname}?${n.toString()}`;E(!0),(async(e,t,n,r,o,a)=>{
|
|
3916
3916
|
try{const i=await Ku({data:t,url:e,method:n||"get",withCredentials:o||!1,
|
|
3917
3917
|
responseType:a,headers:{"Content-Type":"application/json",...r||{}}})
|
|
3918
|
-
;return i?.data}catch(e){return}})(r).then((e=>{
|
|
3919
|
-
Array.isArray(e)&&
|
|
3920
|
-
|
|
3921
|
-
}),300),[]),{isOpen:
|
|
3922
|
-
id:r,selectedItem:p,items:
|
|
3923
|
-
!e.isOpen&&e?.selectedItem&&
|
|
3924
|
-
"__input_change__"===e.type&&""===e.inputValue&&
|
|
3925
|
-
|
|
3918
|
+
;return i?.data}catch(e){return}})(r,void 0,"GET",z).then((e=>{
|
|
3919
|
+
Array.isArray(e)&&H(jm([...S.current??[],...y?y(e):e],m)),E(!1)})).catch((e=>{
|
|
3920
|
+
E(!1)}))},A=t.useCallback($c((e=>{D(e)
|
|
3921
|
+
}),300),[]),{isOpen:L,selectedItem:k,getToggleButtonProps:V,getLabelProps:T,getMenuProps:P,highlightedIndex:R,selectItem:I,setInputValue:O,getItemProps:N,getInputProps:F}=Zl({
|
|
3922
|
+
id:r,selectedItem:p,items:_,onIsOpenChange:e=>{
|
|
3923
|
+
!e.isOpen&&e?.selectedItem&&O(d(e.selectedItem))},onInputValueChange:e=>{
|
|
3924
|
+
"__input_change__"===e.type&&""===e.inputValue&&I(null),
|
|
3925
|
+
k?.[m]&&e.inputValue===d(k)?A(""):A(e.inputValue)},
|
|
3926
3926
|
itemToString:e=>e?d(e,"downshift"):"",onSelectedItemChange:e=>{
|
|
3927
|
-
|
|
3928
|
-
;t.useEffect((()=>{
|
|
3929
|
-
width:c},t.createElement(Zo,{className:"input-label",...
|
|
3930
|
-
})},o,o&&b&&t.createElement(Jo,null,"*")),t.createElement(Rm,{...
|
|
3927
|
+
S.current=jm([...S.current??[],e.selectedItem],m),s?.(e.selectedItem)}})
|
|
3928
|
+
;t.useEffect((()=>{D("")}),[C]);const $=!n&&!f&&L;return t.createElement(im,{
|
|
3929
|
+
width:c},t.createElement(Zo,{className:"input-label",...T({disabled:n,readOnly:f
|
|
3930
|
+
})},o,o&&b&&t.createElement(Jo,null,"*")),t.createElement(Rm,{...F({name:i,
|
|
3931
3931
|
readOnly:f,disabled:n}),placeholder:l,
|
|
3932
|
-
endAdornment:t.createElement(hm,null,t.createElement(Qo,{...
|
|
3933
|
-
readOnly:f,"aria-label":"toggle-button"})},t.createElement(am,{$isOpen
|
|
3934
|
-
fill:
|
|
3935
|
-
}),!f&&!n&&t.createElement(cm,{$isOpen:
|
|
3936
|
-
},
|
|
3937
|
-
readOnly:!0},g||"No items"),
|
|
3932
|
+
endAdornment:t.createElement(hm,null,t.createElement(Qo,{...V({disabled:n,
|
|
3933
|
+
readOnly:f,"aria-label":"toggle-button"})},t.createElement(am,{$isOpen:$,
|
|
3934
|
+
fill:M.colors.text.primary,width:8,height:8}))),style:w
|
|
3935
|
+
}),!f&&!n&&t.createElement(cm,{$isOpen:L,...P({disabled:n,readOnly:f})
|
|
3936
|
+
},x?t.createElement(dm,null,t.createElement(Bm,null)):t.createElement(t.Fragment,null,L&&0===_.length&&t.createElement(sm,{
|
|
3937
|
+
readOnly:!0},g||"No items"),L&&_.map(((e,n)=>{
|
|
3938
3938
|
const r="string"==typeof e?e:e?.[m];return t.createElement(t.Fragment,{key:r
|
|
3939
|
-
},u?u(e,{isHilighted:
|
|
3940
|
-
}):t.createElement(sm,{$isHilighted:
|
|
3941
|
-
...
|
|
3942
|
-
fill:
|
|
3939
|
+
},u?u(e,{isHilighted:R===n,isSelected:k===e,key:r,...N({item:e,index:n})
|
|
3940
|
+
}):t.createElement(sm,{$isHilighted:R===n,$isSelected:k?.[m]===e?.[m],key:r,
|
|
3941
|
+
...N({item:e,index:n})},d(e),k?.[m]===e?.[m]&&t.createElement(Ao,{
|
|
3942
|
+
fill:M.colors.common.accent})))})))),v&&a&&t.createElement(Dm,null,a))},Ym={
|
|
3943
3943
|
large:{height:"45px",size:"16px"},mini:{height:"24px",size:"12px"},normal:{
|
|
3944
3944
|
height:"32px",size:"14px"}},Wm=Or.button`
|
|
3945
3945
|
direction: ${({theme:e})=>e.direction};
|
|
@@ -8396,9 +8396,9 @@ console.info("Finished '".concat(e,"' in ").concat(o,"ms"))),[2]}var i}))}))}
|
|
|
8396
8396
|
function O_(e){return $e(this,void 0,void 0,(function(){var t,n
|
|
8397
8397
|
;return Be(this,(function(r){switch(r.label){case 0:
|
|
8398
8398
|
return t=e.loader,"function"!=typeof(n=void 0===t?F_.defaultLoader:t)?[3,1]:[2,n]
|
|
8399
|
-
;case 1:return"all"!==n?[3,3]:[4,Promise.resolve().then((function(){return
|
|
8399
|
+
;case 1:return"all"!==n?[3,3]:[4,Promise.resolve().then((function(){return XG
|
|
8400
8400
|
}))];case 2:return[2,r.sent().allPathsLoader];case 3:
|
|
8401
|
-
return[4,Promise.resolve().then((function(){return
|
|
8401
|
+
return[4,Promise.resolve().then((function(){return JG}))];case 4:
|
|
8402
8402
|
return[2,r.sent().splitPathsBySizeLoader]}}))}))}var N_=function(){function e(){
|
|
8403
8403
|
this.defaultLoader="split-by-size",
|
|
8404
8404
|
this.loadedIconPaths16=new Map,this.loadedIconPaths20=new Map}
|
|
@@ -13605,76 +13605,99 @@ portalContainer:r,type:"button",disabled:!!e.disabled,
|
|
|
13605
13605
|
defaultSelectedItem:n.find((t=>t.id===e.value))??null,style:e.style,
|
|
13606
13606
|
className:`${e.className??""} bp-custom-dropdown bp-custom-dropdown-${e.name??""}`.trim(),
|
|
13607
13607
|
onChange:t=>{e?.onChange?.({target:{value:t?.id}})}})}
|
|
13608
|
-
return t.createElement(kb,{itemToString:()=>"",type:"button"})
|
|
13609
|
-
|
|
13610
|
-
;
|
|
13611
|
-
|
|
13612
|
-
|
|
13608
|
+
return t.createElement(kb,{itemToString:()=>"",type:"button"})
|
|
13609
|
+
},EF=e=>!!e.target.closest("[data-radix-popper-content-wrapper]")||"HTML"===e.target.tagName,SF=({onChange:e,closeOnSelection:t},n=!1)=>{
|
|
13610
|
+
const[r,o]=f(!1),a=h(null);((e,t,n=(()=>!1))=>{p((()=>{const r=r=>{
|
|
13611
|
+
!e.current||e.current.contains(r.target)||n(r)||t(r)}
|
|
13612
|
+
;return document.addEventListener("mousedown",r),()=>{
|
|
13613
|
+
document.removeEventListener("mousedown",r)}}),[e,t,n])})(a,(()=>o(!1)),EF)
|
|
13614
|
+
;const l=i(((r,a)=>{let i=!0
|
|
13615
|
+
;n?(i=r.every((e=>!!e)),e?.(r)):(i=!!r,e?.(r,a||!1)),t&&i&&!(()=>{
|
|
13616
|
+
const e=document.querySelector(":focus")
|
|
13617
|
+
;return void 0!==e&&(!e||"SELECT"===e.tagName)})()&&o(!1)}),[n,e,t]);return{
|
|
13618
|
+
isOpen:r,setOpen:o,popoverRef:a,onDateChange:l}},_F=e=>{
|
|
13619
|
+
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}=e,y=document.querySelector('div[role="dialog"].DialogContent'),b=Hr(),{popoverRef:w,isOpen:C,onDateChange:z,setOpen:M}=SF({
|
|
13620
|
+
onChange:v,closeOnSelection:m});return t.createElement(CF,{
|
|
13621
|
+
id:`date-picker-container-${s??""}`.trim(),"aria-invalid":i,dir:b.direction
|
|
13622
|
+
},a&&t.createElement(Zo,{htmlFor:e.id,className:"input-label"
|
|
13613
13623
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13614
13624
|
disabled:e.disabled}),t.createElement(YN,{canClearSelection:!0,
|
|
13615
|
-
closeOnSelection
|
|
13625
|
+
closeOnSelection:m,disabled:h,todayButtonText:u,clearButtonText:d,
|
|
13616
13626
|
locale:l||"en",maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,
|
|
13617
13627
|
highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:s,
|
|
13618
|
-
"aria-disabled":h
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
},
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
"
|
|
13628
|
-
|
|
13628
|
+
"aria-disabled":h,onClick:e=>{M(!0),e.stopPropagation()}},dayPickerProps:{
|
|
13629
|
+
disabled:h,dir:b.direction,onMonthChange:()=>M(!0),onNextClick:()=>M(!0),
|
|
13630
|
+
onPrevClick:()=>M(!0),components:{Dropdown:e=>t.createElement(xF,{...e,
|
|
13631
|
+
disabled:h})}},showActionsBar:!0,popoverProps:{popoverRef:w,isOpen:C,
|
|
13632
|
+
hasBackdrop:!0,canEscapeKeyClose:!0,minimal:!1,
|
|
13633
|
+
placement:"ltr"===b.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13634
|
+
portalContainer:f??(y||void 0)},parseDate:e=>e?mF(e).toDate():new Date,
|
|
13635
|
+
formatDate:e=>e?mF(e).format(p):"",onChange:z,...g
|
|
13636
|
+
}),i&&c&&t.createElement(Dm,null,c))},HF=e=>{
|
|
13637
|
+
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}=e,y=document.querySelector('div[role="dialog"].DialogContent'),b=Hr(),{popoverRef:w,isOpen:C,onDateChange:z,setOpen:M}=SF({
|
|
13638
|
+
onChange:v,closeOnSelection:m},!1);return t.createElement(CF,{
|
|
13639
|
+
id:`datetime-picker-container-${c??""}`.trim(),"aria-invalid":i,dir:b.direction
|
|
13640
|
+
},a&&t.createElement(Zo,{htmlFor:e.id,className:"input-label"
|
|
13629
13641
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13630
|
-
disabled:e.disabled}),t.createElement(YN,{
|
|
13631
|
-
|
|
13642
|
+
disabled:e.disabled}),t.createElement(YN,{closeOnSelection:m,
|
|
13643
|
+
canClearSelection:!0,disabled:h,locale:d||"en",todayButtonText:s,
|
|
13632
13644
|
clearButtonText:u,maxDate:mF(new Date).add(10,"years").toDate(),
|
|
13633
13645
|
minDate:mF(new Date).subtract(100,"years").toDate(),fill:!0,
|
|
13634
13646
|
highlightCurrentDay:!0,inputProps:{placeholder:n||p,name:r,id:c,
|
|
13635
|
-
"aria-disabled":h
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
"
|
|
13646
|
-
|
|
13647
|
+
"aria-disabled":h,onClick:e=>{M(!0),e.stopPropagation()}},dayPickerProps:{
|
|
13648
|
+
disabled:h,dir:b.direction,onMonthChange:()=>M(!0),onNextClick:()=>M(!0),
|
|
13649
|
+
onPrevClick:()=>M(!0),components:{Dropdown:e=>t.createElement(xF,{...e,
|
|
13650
|
+
disabled:h})}},showActionsBar:!0,timePrecision:"minute",timePickerProps:{
|
|
13651
|
+
useAmPm:!0,showArrowButtons:!1},showTimezoneSelect:!1,disableTimezoneSelect:!0,
|
|
13652
|
+
popoverProps:{popoverRef:w,isOpen:C,hasBackdrop:!0,canEscapeKeyClose:!0,
|
|
13653
|
+
minimal:!1,placement:"ltr"===b.direction?"bottom-start":"bottom-end",
|
|
13654
|
+
usePortal:!0,portalContainer:f??(y||void 0)},
|
|
13655
|
+
parseDate:e=>e?mF(e).toDate():new Date,formatDate:e=>e?mF(e).format(p):"",
|
|
13656
|
+
onChange:z,...g}),i&&l&&t.createElement(Dm,null,l))},DF=e=>{
|
|
13657
|
+
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}=e,g=Hr(),y=document.querySelector('div[role="dialog"].DialogContent'),{popoverRef:b,isOpen:w,onDateChange:C,setOpen:z}=SF({
|
|
13658
|
+
onChange:f,closeOnSelection:m},!0);return t.createElement(CF,{
|
|
13659
|
+
id:`date-picker-container-${c??""}`.trim(),"aria-invalid":i,dir:g.direction
|
|
13660
|
+
},a&&t.createElement(Zo,{htmlFor:e.id,className:"input-label"
|
|
13647
13661
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13648
|
-
disabled:e.disabled}),t.createElement(dF,{closeOnSelection
|
|
13649
|
-
locale:d||"en",
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
|
|
13653
|
-
|
|
13662
|
+
disabled:e.disabled}),t.createElement(dF,{closeOnSelection:m,disabled:s,
|
|
13663
|
+
selectAllOnFocus:!0,locale:d||"en",
|
|
13664
|
+
maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
|
|
13665
|
+
shortcuts:!1,startInputProps:{placeholder:n||h,name:r,id:`start-${c}`,
|
|
13666
|
+
"aria-disabled":s,onClick:e=>{z(!0),e.stopPropagation()}},endInputProps:{
|
|
13667
|
+
placeholder:n||h,name:r,id:`end-${c}`,"aria-disabled":s,onClick:e=>{
|
|
13668
|
+
z(!0),e.stopPropagation()}},dayPickerProps:{disabled:s,dir:g.direction,
|
|
13669
|
+
onMonthChange:()=>z(!0),onNextClick:()=>z(!0),onPrevClick:()=>z(!0),components:{
|
|
13670
|
+
Dropdown:e=>t.createElement(xF,{...e,disabled:s})}},
|
|
13654
13671
|
footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
|
|
13655
|
-
f
|
|
13656
|
-
|
|
13657
|
-
|
|
13658
|
-
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13672
|
+
f?.([null,null])}},u)),popoverProps:{popoverRef:b,isOpen:w,hasBackdrop:!0,
|
|
13673
|
+
canEscapeKeyClose:!0,minimal:!1,
|
|
13674
|
+
placement:"ltr"===g.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13675
|
+
portalContainer:p??(y||void 0)},parseDate:e=>e?mF(e).toDate():new Date,
|
|
13676
|
+
formatDate:e=>e?mF(e).format(h):"",onChange:C,...v
|
|
13677
|
+
}),i&&l&&t.createElement(Dm,null,l))},AF=e=>{
|
|
13678
|
+
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}=e,g=Hr(),y=document.querySelector('div[role="dialog"].DialogContent'),{popoverRef:b,isOpen:w,onDateChange:C,setOpen:z}=SF({
|
|
13679
|
+
onChange:f,closeOnSelection:m},!0);return t.createElement(CF,{
|
|
13680
|
+
id:`date-picker-container-${c??""}`.trim(),"aria-invalid":i,dir:g.direction
|
|
13681
|
+
},a&&t.createElement(Zo,{htmlFor:e.id,className:"input-label"
|
|
13664
13682
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(zF,{$isErrored:i,
|
|
13665
|
-
disabled:e.disabled}),t.createElement(dF,{closeOnSelection
|
|
13666
|
-
locale:u||"en",
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13683
|
+
disabled:e.disabled}),t.createElement(dF,{closeOnSelection:m,disabled:d,
|
|
13684
|
+
selectAllOnFocus:!0,locale:u||"en",
|
|
13685
|
+
maxDate:mF(new Date).add(10,"years").toDate(),fill:!0,highlightCurrentDay:!0,
|
|
13686
|
+
shortcuts:!1,startInputProps:{placeholder:n||h,name:r,id:`start-${c}`,
|
|
13687
|
+
"aria-disabled":d,onClick:e=>{z(!0),e.stopPropagation()}},endInputProps:{
|
|
13688
|
+
placeholder:n||h,name:r,id:`end-${c}`,"aria-disabled":d,onClick:e=>{
|
|
13689
|
+
z(!0),e.stopPropagation()}},dayPickerProps:{disabled:d,dir:g.direction,
|
|
13690
|
+
onMonthChange:()=>z(!0),onNextClick:()=>z(!0),onPrevClick:()=>z(!0),components:{
|
|
13691
|
+
Dropdown:e=>t.createElement(xF,{...e,disabled:d})}},timePrecision:"minute",
|
|
13692
|
+
timePickerProps:{useAmPm:!0,onChange:()=>z(!0),showArrowButtons:!1},
|
|
13672
13693
|
footerElement:t.createElement(wF,null,t.createElement(bF,{onClick:()=>{
|
|
13673
|
-
f
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13694
|
+
f?.([null,null])}},s)),popoverProps:{popoverRef:b,isOpen:w,hasBackdrop:!0,
|
|
13695
|
+
canEscapeKeyClose:!0,minimal:!1,
|
|
13696
|
+
placement:"ltr"===g.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13697
|
+
portalContainer:p??(y||void 0)},parseDate:e=>e?mF(e).toDate():new Date,
|
|
13698
|
+
formatDate:e=>e?mF(e).format(h):"",onChange:C,...v
|
|
13699
|
+
}),i&&l&&t.createElement(Dm,null,l))},LF=[{id:"AM",name:"AM"},{id:"PM",name:"PM"
|
|
13700
|
+
}],kF=e=>{
|
|
13678
13701
|
const{isRequired:n,label:r,isErrored:o,errorText:a,id:i,disabled:l,precision:c="minute",useAmPm:s,value:u="",onChange:d}=e,h=Hr(),[p,f]=t.useState(["","","","",""])
|
|
13679
13702
|
;t.useEffect((()=>{if(u){
|
|
13680
13703
|
const[e="",t="",n=""]=u.split(":"),r=n?.split(".")[1]??""
|
|
@@ -13685,54 +13708,55 @@ case"hours":n[0]=t;break;case"minutes":n[1]=t;break;case"seconds":n[2]=t;break
|
|
|
13685
13708
|
const r=n[0],o=n[1],a="second"===c||"millisecond"===c?n[2]:void 0,i="millisecond"===c?n[3]:void 0
|
|
13686
13709
|
;f(n)
|
|
13687
13710
|
;const l=`${s&&"PM"===n[4]?Number(r)+12:r}:${o}${a?`:${a}`:""}${i?`.${i}`:""}`
|
|
13688
|
-
;"Invalid Date"===new Date(`2021-01-01T${l}Z`).toString()||d?.(l)}
|
|
13711
|
+
;"Invalid Date"===new Date(`2021-01-01T${l}Z`).toString()||d?.(l)},v=(e,t)=>{
|
|
13712
|
+
switch(t){case"hours":
|
|
13713
|
+
return e.length>2||s&&(Number(e)>12||Number(e)<0)||!s&&(Number(e)>23||Number(e)<0)
|
|
13714
|
+
;case"minutes":case"seconds":return e.length>2||Number(e)>59||Number(e)<0
|
|
13715
|
+
;case"milliseconds":return e.length>3||Number(e)>999||Number(e)<0}}
|
|
13689
13716
|
;return t.createElement(vF,{id:`datetime-picker-container-${i??""}`.trim()
|
|
13690
13717
|
},r&&t.createElement(Zo,{htmlFor:e.id,className:"input-label"
|
|
13691
13718
|
},r,r&&n&&t.createElement(Jo,null,"*")),t.createElement(gF,null,t.createElement(yF,{
|
|
13692
13719
|
className:"time-picker-input picker-hours",type:"number",
|
|
13693
13720
|
placeholder:s?"hh":"HH",disabled:l,dir:h.direction,min:s?1:0,max:s?12:23,
|
|
13694
13721
|
value:p[0],onChange:e=>{
|
|
13695
|
-
e.target.value
|
|
13696
|
-
onBlur:e=>{const t=Number(e.target.value),
|
|
13697
|
-
|
|
13722
|
+
v(e.target.value,"hours")||f((t=>[e.target.value,t[1],t[2],t[3],t[4]]))},
|
|
13723
|
+
onBlur:e=>{const t=Number(e.target.value);m("hours",t<10?`0${t}`:t.toString())},
|
|
13724
|
+
isErrored:o,"aria-invalid":o
|
|
13698
13725
|
}),t.createElement("span",null,":"),t.createElement(yF,{
|
|
13699
13726
|
className:"time-picker-input picker-minutes",type:"number",placeholder:"mm",
|
|
13700
13727
|
disabled:l,dir:h.direction,min:0,max:59,value:p[1],onChange:e=>{
|
|
13701
|
-
e.target.value
|
|
13702
|
-
onBlur:e=>{const t=Number(e.target.value),
|
|
13703
|
-
|
|
13704
|
-
errorText:a
|
|
13728
|
+
v(e.target.value,"minutes")||f((t=>[t[0],e.target.value,t[2],t[3],t[4]]))},
|
|
13729
|
+
onBlur:e=>{const t=Number(e.target.value);m("minutes",t<10?`0${t}`:t.toString())
|
|
13730
|
+
},isErrored:o,"aria-invalid":o
|
|
13705
13731
|
}),("millisecond"===c||"second"===c)&&t.createElement(t.Fragment,null,t.createElement("span",null,":"),t.createElement(yF,{
|
|
13706
13732
|
className:"time-picker-input picker-seconds",type:"number",placeholder:"ss",
|
|
13707
13733
|
disabled:l,dir:h.direction,min:0,max:59,value:p[2],onChange:e=>{
|
|
13708
|
-
e.target.value
|
|
13709
|
-
onBlur:e=>{const t=Number(e.target.value),
|
|
13710
|
-
|
|
13711
|
-
errorText:a
|
|
13734
|
+
v(e.target.value,"seconds")||f((t=>[t[0],t[1],e.target.value,t[3],t[4]]))},
|
|
13735
|
+
onBlur:e=>{const t=Number(e.target.value);m("seconds",t<10?`0${t}`:t.toString())
|
|
13736
|
+
},isErrored:o,"aria-invalid":o
|
|
13712
13737
|
})),"millisecond"===c&&t.createElement(t.Fragment,null,t.createElement("span",null,":"),t.createElement(yF,{
|
|
13713
13738
|
className:"time-picker-input picker-milliseconds",type:"number",
|
|
13714
13739
|
placeholder:"SSS",disabled:l,dir:h.direction,min:0,max:999,value:p[3],
|
|
13715
13740
|
onChange:e=>{
|
|
13716
|
-
e.target.value
|
|
13717
|
-
onBlur:e=>{const t=Number(e.target.value.slice(0,3))
|
|
13718
|
-
;m("milliseconds",
|
|
13719
|
-
"aria-invalid":o
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
},
|
|
13725
|
-
const{__scopePopover:n,...r}=e,a=RF("PopoverTrigger",n),i=TF(n),l=D(t,a.triggerRef),c=o(N.button,E({
|
|
13741
|
+
v(e.target.value,"milliseconds")||f((t=>[t[0],t[1],t[2],e.target.value,t[4]]))},
|
|
13742
|
+
onBlur:e=>{const t=Number(e.target.value.slice(0,3))
|
|
13743
|
+
;m("milliseconds",t<10?`00${t}`:t<100?`0${t}`:t.toString())},isErrored:o,
|
|
13744
|
+
"aria-invalid":o})),s&&t.createElement(kb,{itemToString:e=>e?.name??"",
|
|
13745
|
+
placeholder:"--",style:{marginLeft:"4px"},showTick:!1,
|
|
13746
|
+
defaultSelectedItem:u?LF.find((e=>e.id===p[4]))??null:null,width:"65px",
|
|
13747
|
+
itemIdentifier:"id",items:LF,onChange:e=>{m("AMPM","AM"===e?.id?"AM":"PM")}})))
|
|
13748
|
+
},VF="Popover",[TF,PF]=S(VF,[$h]),RF=$h(),[IF,OF]=TF(VF),NF=l(((e,t)=>{
|
|
13749
|
+
const{__scopePopover:n,...r}=e,a=OF("PopoverTrigger",n),i=RF(n),l=D(t,a.triggerRef),c=o(N.button,E({
|
|
13726
13750
|
type:"button","aria-haspopup":"dialog","aria-expanded":a.open,
|
|
13727
|
-
"aria-controls":a.contentId,"data-state":
|
|
13751
|
+
"aria-controls":a.contentId,"data-state":KF(a.open)},r,{ref:l,
|
|
13728
13752
|
onClick:R(e.onClick,a.onOpenToggle)}));return a.hasCustomAnchor?c:o(np,E({
|
|
13729
|
-
asChild:!0},i),c)})),
|
|
13730
|
-
})
|
|
13731
|
-
const n=
|
|
13732
|
-
;return o(B,{present:r||i.open},i.modal?o(
|
|
13733
|
-
})))})),
|
|
13753
|
+
asChild:!0},i),c)})),FF="PopoverPortal",[$F,BF]=TF(FF,{forceMount:void 0
|
|
13754
|
+
}),jF="PopoverContent",UF=l(((e,t)=>{
|
|
13755
|
+
const n=BF(jF,e.__scopePopover),{forceMount:r=n.forceMount,...a}=e,i=OF(jF,e.__scopePopover)
|
|
13756
|
+
;return o(B,{present:r||i.open},i.modal?o(YF,E({},a,{ref:t})):o(WF,E({},a,{ref:t
|
|
13757
|
+
})))})),YF=l(((e,t)=>{const n=OF(jF,e.__scopePopover),r=h(null),a=D(t,r),i=h(!1)
|
|
13734
13758
|
;return p((()=>{const e=r.current;if(e)return mp(e)}),[]),o(qp,{as:A,
|
|
13735
|
-
allowPinchZoom:!0},o(
|
|
13759
|
+
allowPinchZoom:!0},o(GF,E({},e,{ref:a,trapFocus:n.open,
|
|
13736
13760
|
disableOutsidePointerEvents:!0,onCloseAutoFocus:R(e.onCloseAutoFocus,(e=>{var t
|
|
13737
13761
|
;e.preventDefault(),
|
|
13738
13762
|
i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),
|
|
@@ -13740,8 +13764,8 @@ onPointerDownOutside:R(e.onPointerDownOutside,(e=>{
|
|
|
13740
13764
|
const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n
|
|
13741
13765
|
;i.current=r}),{checkForDefaultPrevented:!1}),
|
|
13742
13766
|
onFocusOutside:R(e.onFocusOutside,(e=>e.preventDefault()),{
|
|
13743
|
-
checkForDefaultPrevented:!1})})))})),
|
|
13744
|
-
const n=
|
|
13767
|
+
checkForDefaultPrevented:!1})})))})),WF=l(((e,t)=>{
|
|
13768
|
+
const n=OF(jF,e.__scopePopover),r=h(!1),a=h(!1);return o(GF,E({},e,{ref:t,
|
|
13745
13769
|
trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,i
|
|
13746
13770
|
;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),
|
|
13747
13771
|
t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),
|
|
@@ -13751,31 +13775,31 @@ t.defaultPrevented||(r.current=!0,
|
|
|
13751
13775
|
"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const l=t.target
|
|
13752
13776
|
;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),
|
|
13753
13777
|
"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}}))
|
|
13754
|
-
})),
|
|
13755
|
-
const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,...h}=e,p=
|
|
13778
|
+
})),GF=l(((e,t)=>{
|
|
13779
|
+
const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,...h}=e,p=OF(jF,n),f=RF(n)
|
|
13756
13780
|
;return cd(),o(pd,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,
|
|
13757
13781
|
onUnmountAutoFocus:i},o(td,{asChild:!0,disableOutsidePointerEvents:l,
|
|
13758
13782
|
onInteractOutside:d,onEscapeKeyDown:c,onPointerDownOutside:s,onFocusOutside:u,
|
|
13759
|
-
onDismiss:()=>p.onOpenChange(!1)},o(rp,E({"data-state":
|
|
13783
|
+
onDismiss:()=>p.onOpenChange(!1)},o(rp,E({"data-state":KF(p.open),role:"dialog",
|
|
13760
13784
|
id:p.contentId},f,h,{ref:t,style:{...h.style,
|
|
13761
13785
|
"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)",
|
|
13762
13786
|
"--radix-popover-content-available-width":"var(--radix-popper-available-width)",
|
|
13763
13787
|
"--radix-popover-content-available-height":"var(--radix-popper-available-height)",
|
|
13764
13788
|
"--radix-popover-trigger-width":"var(--radix-popper-anchor-width)",
|
|
13765
13789
|
"--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}))
|
|
13766
|
-
;function
|
|
13767
|
-
const{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:l,modal:c=!1}=e,s=
|
|
13768
|
-
prop:r,defaultProp:a,onChange:l});return o(tp,s,o(
|
|
13790
|
+
;function KF(e){return e?"open":"closed"}const qF=e=>{
|
|
13791
|
+
const{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:l,modal:c=!1}=e,s=RF(t),u=h(null),[d,p]=f(!1),[m=!1,v]=O({
|
|
13792
|
+
prop:r,defaultProp:a,onChange:l});return o(tp,s,o(IF,{scope:t,contentId:W(),
|
|
13769
13793
|
triggerRef:u,open:m,onOpenChange:v,onOpenToggle:i((()=>v((e=>!e))),[v]),
|
|
13770
13794
|
hasCustomAnchor:d,onCustomAnchorAdd:i((()=>p(!0)),[]),
|
|
13771
|
-
onCustomAnchorRemove:i((()=>p(!1)),[]),modal:c},n))},
|
|
13772
|
-
const{__scopePopover:t,forceMount:n,children:r,container:a}=e,i=
|
|
13773
|
-
;return o(
|
|
13774
|
-
container:a},r)))},
|
|
13775
|
-
const{__scopePopover:n,...r}=e,a=
|
|
13795
|
+
onCustomAnchorRemove:i((()=>p(!1)),[]),modal:c},n))},ZF=NF,XF=e=>{
|
|
13796
|
+
const{__scopePopover:t,forceMount:n,children:r,container:a}=e,i=OF(FF,t)
|
|
13797
|
+
;return o($F,{scope:t,forceMount:n},o(B,{present:n||i.open},o(ap,{asChild:!0,
|
|
13798
|
+
container:a},r)))},JF=l(((e,t)=>{
|
|
13799
|
+
const{__scopePopover:n,...r}=e,a=OF("PopoverClose",n);return o(N.button,E({
|
|
13776
13800
|
type:"button"},r,{ref:t,onClick:R(e.onClick,(()=>a.onOpenChange(!1)))}))
|
|
13777
|
-
})),
|
|
13778
|
-
ref:t}))})),
|
|
13801
|
+
})),QF=l(((e,t)=>{const{__scopePopover:n,...r}=e,a=RF(n);return o(op,E({},a,r,{
|
|
13802
|
+
ref:t}))})),e$=Or(UF)`
|
|
13779
13803
|
background: ${({theme:e})=>e.colors.fill.surface};
|
|
13780
13804
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
13781
13805
|
border-radius: 8px;
|
|
@@ -13804,25 +13828,25 @@ ref:t}))})),JF=Or(BF)`
|
|
|
13804
13828
|
${({theme:e})=>"dark"===e.mode&&Pr`
|
|
13805
13829
|
border: 1px solid ${e.colors.border.light};
|
|
13806
13830
|
`}
|
|
13807
|
-
`,
|
|
13831
|
+
`,t$=Or(QF)`
|
|
13808
13832
|
fill: ${({theme:e})=>e.colors.fill.surface};
|
|
13809
|
-
`,
|
|
13833
|
+
`,n$=Or(qF)``,r$=Or(ZF)``,o$=Or(XF)``,a$=Or(JF)``,i$=({children:e,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})=>{
|
|
13810
13834
|
const[m,v]=t.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=Hr()
|
|
13811
|
-
;return t.createElement(
|
|
13812
|
-
},c?t.createElement(t.Fragment,null,n):t.createElement(
|
|
13835
|
+
;return t.createElement(n$,{open:m,onOpenChange:e=>{v(e)},...p
|
|
13836
|
+
},c?t.createElement(t.Fragment,null,n):t.createElement(r$,{dir:y.direction,
|
|
13813
13837
|
asChild:!0,className:"PopoverTrigger",disabled:u},t.createElement(ia,{
|
|
13814
13838
|
className:"TriggerButtonWrapper",onMouseEnter:()=>{i&&v(!0)}
|
|
13815
|
-
},n)),t.createElement(
|
|
13839
|
+
},n)),t.createElement(o$,null,t.createElement(e$,{forceMount:!0,
|
|
13816
13840
|
className:"PopoverContent","data-popover-content":!0,dir:y.direction,
|
|
13817
13841
|
onMouseLeave:()=>{o&&(v(!1),d?.())},onInteractOutside:()=>{v(!1),d?.()},side:g,
|
|
13818
|
-
align:a,sideOffset:8,avoidCollisions:l,...h},e,r&&t.createElement(
|
|
13819
|
-
},
|
|
13842
|
+
align:a,sideOffset:8,avoidCollisions:l,...h},e,r&&t.createElement(t$,null))))
|
|
13843
|
+
},l$=Or.div`
|
|
13820
13844
|
direction: ${({theme:e})=>e.direction};
|
|
13821
|
-
`,
|
|
13845
|
+
`,c$=Or(Ug)`
|
|
13822
13846
|
display: flex;
|
|
13823
13847
|
flex-direction: column;
|
|
13824
13848
|
gap: 4px;
|
|
13825
|
-
`,
|
|
13849
|
+
`,s$=Or(Wg)`
|
|
13826
13850
|
display: flex;
|
|
13827
13851
|
align-items: center;
|
|
13828
13852
|
justify-content: center;
|
|
@@ -13837,7 +13861,7 @@ align:a,sideOffset:8,avoidCollisions:l,...h},e,r&&t.createElement(QF,null))))
|
|
|
13837
13861
|
border-radius: 50%;
|
|
13838
13862
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.common.black:e.colors.common.white};
|
|
13839
13863
|
}
|
|
13840
|
-
`,
|
|
13864
|
+
`,u$=Or(Yg)`
|
|
13841
13865
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.common.black:e.colors.common.white};
|
|
13842
13866
|
width: 14px;
|
|
13843
13867
|
height: 14px;
|
|
@@ -13859,94 +13883,94 @@ align:a,sideOffset:8,avoidCollisions:l,...h},e,r&&t.createElement(QF,null))))
|
|
|
13859
13883
|
&:hover:not([data-disabled]) {
|
|
13860
13884
|
box-shadow: 0 0 0 3px ${({theme:e})=>e.colors.border.hover}30;
|
|
13861
13885
|
}
|
|
13862
|
-
`,
|
|
13886
|
+
`,d$=Or.div`
|
|
13863
13887
|
display: flex;
|
|
13864
13888
|
align-items: center;
|
|
13865
13889
|
direction: ${({theme:e})=>e.direction};
|
|
13866
|
-
`,
|
|
13867
|
-
const u=Hr();return t.createElement(
|
|
13890
|
+
`,h$=({checked:e,className:n,disabled:r,id:o,isRequired:a,label:i,name:l,readOnly:c,...s})=>{
|
|
13891
|
+
const u=Hr();return t.createElement(c$,{
|
|
13868
13892
|
className:`RadioGroupRoot ${n??""}`.trim(),id:o,name:l,
|
|
13869
13893
|
"aria-label":i||"Radio button",value:e?"default":"",required:a,disabled:r,
|
|
13870
13894
|
"aria-readonly":c,dir:u.direction,...s
|
|
13871
|
-
},t.createElement(
|
|
13895
|
+
},t.createElement(d$,null,t.createElement(u$,{checked:e,"aria-checked":e,
|
|
13872
13896
|
className:"RadioGroupItem",disabled:r,"aria-readonly":c,value:"default",
|
|
13873
|
-
id:"default"},t.createElement(
|
|
13897
|
+
id:"default"},t.createElement(s$,{className:"RadioGroupIndicator"
|
|
13874
13898
|
})),i&&t.createElement(Xo,{className:"RadioLabel",disabled:r,"aria-readonly":c,
|
|
13875
13899
|
"aria-label":i,htmlFor:o},i,i&&a&&t.createElement(Jo,null,"*"))))
|
|
13876
|
-
},
|
|
13877
|
-
const v=Hr();return t.createElement(
|
|
13900
|
+
},p$=({options:e,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})=>{
|
|
13901
|
+
const v=Hr();return t.createElement(l$,null,h&&t.createElement(Zo,{id:l,
|
|
13878
13902
|
className:"input-label"
|
|
13879
|
-
},h,h&&d&&t.createElement(Jo,null,"*")),t.createElement(
|
|
13903
|
+
},h,h&&d&&t.createElement(Jo,null,"*")),t.createElement(c$,{defaultValue:n,
|
|
13880
13904
|
value:f,onValueChange:e=>{p||u||a?.(e)},"aria-readonly":p,id:l,
|
|
13881
13905
|
"aria-label":h||"Radio Group","aria-labelledby":h?l:void 0,
|
|
13882
13906
|
className:`RadioGroupRoot ${i??""}`.trim(),dir:v.direction,...m
|
|
13883
|
-
},e?.map((e=>t.createElement(
|
|
13884
|
-
},t.createElement(
|
|
13885
|
-
value:e?.[r],id:e?.[r],"aria-label":e?.[o]},t.createElement(
|
|
13907
|
+
},e?.map((e=>t.createElement(d$,{key:e?.[r],className:"RadioContainer"
|
|
13908
|
+
},t.createElement(u$,{className:"RadioGroupItem",disabled:e.disabled,
|
|
13909
|
+
value:e?.[r],id:e?.[r],"aria-label":e?.[o]},t.createElement(s$,{
|
|
13886
13910
|
className:"RadioGroupIndicator"})),t.createElement(Xo,{className:"RadioLabel",
|
|
13887
13911
|
disabled:e.disabled,htmlFor:e?.[r]
|
|
13888
13912
|
},e?.[o]))))),c&&s&&t.createElement(Dm,null,s))}
|
|
13889
|
-
;const
|
|
13890
|
-
;function
|
|
13891
|
-
;return"[object Window]"===t||"[object global]"===t}function
|
|
13892
|
-
return"nodeType"in e}function
|
|
13893
|
-
;return e?
|
|
13894
|
-
}function
|
|
13895
|
-
return!
|
|
13896
|
-
return e instanceof
|
|
13897
|
-
return e?
|
|
13898
|
-
}const
|
|
13913
|
+
;const f$="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement
|
|
13914
|
+
;function m$(e){const t=Object.prototype.toString.call(e)
|
|
13915
|
+
;return"[object Window]"===t||"[object global]"===t}function v$(e){
|
|
13916
|
+
return"nodeType"in e}function g$(e){var t,n
|
|
13917
|
+
;return e?m$(e)?e:v$(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window
|
|
13918
|
+
}function y$(e){const{Document:t}=g$(e);return e instanceof t}function b$(e){
|
|
13919
|
+
return!m$(e)&&e instanceof g$(e).HTMLElement}function w$(e){
|
|
13920
|
+
return e instanceof g$(e).SVGElement}function C$(e){
|
|
13921
|
+
return e?m$(e)?e.document:v$(e)?y$(e)?e:b$(e)||w$(e)?e.ownerDocument:document:document:document
|
|
13922
|
+
}const z$=f$?m:p;function M$(e){const t=h(e);return z$((()=>{t.current=e
|
|
13899
13923
|
})),i((function(){
|
|
13900
13924
|
for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r]
|
|
13901
|
-
;return null==t.current?void 0:t.current(...n)}),[])}function
|
|
13902
|
-
void 0===t&&(t=[e]);const n=h(e);return
|
|
13903
|
-
}),t),n}function
|
|
13904
|
-
;return n.current=t,t}),[...t])}function
|
|
13925
|
+
;return null==t.current?void 0:t.current(...n)}),[])}function x$(e,t){
|
|
13926
|
+
void 0===t&&(t=[e]);const n=h(e);return z$((()=>{n.current!==e&&(n.current=e)
|
|
13927
|
+
}),t),n}function E$(e,t){const n=h();return r((()=>{const t=e(n.current)
|
|
13928
|
+
;return n.current=t,t}),[...t])}function S$(e){const t=M$(e),n=h(null),r=i((e=>{
|
|
13905
13929
|
e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,r]}
|
|
13906
|
-
function
|
|
13907
|
-
;function
|
|
13908
|
-
;return
|
|
13930
|
+
function _$(e){const t=h();return p((()=>{t.current=e}),[e]),t.current}let H$={}
|
|
13931
|
+
;function D$(e,t){return r((()=>{if(t)return t;const n=null==H$[e]?0:H$[e]+1
|
|
13932
|
+
;return H$[e]=n,e+"-"+n}),[e,t])}function A$(e){return function(t){
|
|
13909
13933
|
for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o]
|
|
13910
13934
|
;return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){
|
|
13911
|
-
const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const
|
|
13912
|
-
;function
|
|
13913
|
-
;return t&&e instanceof t}function
|
|
13914
|
-
;const{TouchEvent:t}=
|
|
13935
|
+
const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}}const L$=A$(1),k$=A$(-1)
|
|
13936
|
+
;function V$(e){if(!e)return!1;const{KeyboardEvent:t}=g$(e.target)
|
|
13937
|
+
;return t&&e instanceof t}function T$(e){if(function(e){if(!e)return!1
|
|
13938
|
+
;const{TouchEvent:t}=g$(e.target);return t&&e instanceof t}(e)){
|
|
13915
13939
|
if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{
|
|
13916
13940
|
x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){
|
|
13917
13941
|
const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}
|
|
13918
13942
|
return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,
|
|
13919
|
-
y:e.clientY}:null}const
|
|
13943
|
+
y:e.clientY}:null}const P$=Object.freeze({Translate:{toString(e){if(!e)return
|
|
13920
13944
|
;const{x:t,y:n}=e
|
|
13921
13945
|
;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},
|
|
13922
13946
|
Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e
|
|
13923
13947
|
;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){
|
|
13924
|
-
if(e)return[
|
|
13948
|
+
if(e)return[P$.Translate.toString(e),P$.Scale.toString(e)].join(" ")}},
|
|
13925
13949
|
Transition:{toString(e){let{property:t,duration:n,easing:r}=e
|
|
13926
13950
|
;return t+" "+n+"ms "+r}}
|
|
13927
|
-
}),
|
|
13928
|
-
;function
|
|
13929
|
-
display:"none"};function
|
|
13930
|
-
;return t.createElement("div",{id:n,style:
|
|
13951
|
+
}),R$="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]"
|
|
13952
|
+
;function I$(e){return e.matches(R$)?e:e.querySelector(R$)}const O$={
|
|
13953
|
+
display:"none"};function N$(e){let{id:n,value:r}=e
|
|
13954
|
+
;return t.createElement("div",{id:n,style:O$},r)}function F$(e){
|
|
13931
13955
|
let{id:n,announcement:r,ariaLiveType:o="assertive"}=e
|
|
13932
13956
|
;return t.createElement("div",{id:n,style:{position:"fixed",width:1,height:1,
|
|
13933
13957
|
margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",
|
|
13934
13958
|
clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,
|
|
13935
|
-
"aria-atomic":!0},r)}const
|
|
13959
|
+
"aria-atomic":!0},r)}const $$=n(null);const B$={
|
|
13936
13960
|
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 "
|
|
13937
|
-
}
|
|
13961
|
+
},j$={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."
|
|
13938
13962
|
},onDragOver(e){let{active:t,over:n}=e
|
|
13939
13963
|
;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."
|
|
13940
13964
|
},onDragEnd(e){let{active:t,over:n}=e
|
|
13941
13965
|
;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."
|
|
13942
13966
|
},onDragCancel(e){let{active:t}=e
|
|
13943
13967
|
;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}}
|
|
13944
|
-
;function
|
|
13945
|
-
let{announcements:n
|
|
13968
|
+
;function U$(e){
|
|
13969
|
+
let{announcements:n=j$,container:o,hiddenTextDescribedById:l,screenReaderInstructions:c=B$}=e
|
|
13946
13970
|
;const{announce:s,announcement:u}=function(){const[e,t]=f("");return{
|
|
13947
13971
|
announce:i((e=>{null!=e&&t(e)}),[]),announcement:e}
|
|
13948
|
-
}(),d=
|
|
13949
|
-
const t=a(
|
|
13972
|
+
}(),d=D$("DndLiveRegion"),[h,m]=f(!1);if(p((()=>{m(!0)}),[]),function(e){
|
|
13973
|
+
const t=a($$);p((()=>{
|
|
13950
13974
|
if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>")
|
|
13951
13975
|
;return t(e)}),[e,t])}(r((()=>({onDragStart(e){let{active:t}=e;s(n.onDragStart({
|
|
13952
13976
|
active:t}))},onDragMove(e){let{active:t,over:r}=e;n.onDragMove&&s(n.onDragMove({
|
|
@@ -13954,42 +13978,42 @@ active:t,over:r}))},onDragOver(e){let{active:t,over:r}=e;s(n.onDragOver({
|
|
|
13954
13978
|
active:t,over:r}))},onDragEnd(e){let{active:t,over:r}=e;s(n.onDragEnd({active:t,
|
|
13955
13979
|
over:r}))},onDragCancel(e){let{active:t,over:r}=e;s(n.onDragCancel({active:t,
|
|
13956
13980
|
over:r}))}})),[s,n])),!h)return null
|
|
13957
|
-
;const v=t.createElement(t.Fragment,null,t.createElement(
|
|
13958
|
-
value:c.draggable}),t.createElement(
|
|
13959
|
-
}var
|
|
13981
|
+
;const v=t.createElement(t.Fragment,null,t.createElement(N$,{id:l,
|
|
13982
|
+
value:c.draggable}),t.createElement(F$,{id:d,announcement:u}));return o?M(v,o):v
|
|
13983
|
+
}var Y$;function W$(){}function G$(e,t){return r((()=>({sensor:e,
|
|
13960
13984
|
options:null!=t?t:{}})),[e,t])}!function(e){
|
|
13961
13985
|
e.DragStart="dragStart",e.DragMove="dragMove",
|
|
13962
13986
|
e.DragEnd="dragEnd",e.DragCancel="dragCancel",
|
|
13963
13987
|
e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",
|
|
13964
13988
|
e.SetDroppableDisabled="setDroppableDisabled",
|
|
13965
|
-
e.UnregisterDroppable="unregisterDroppable"}(
|
|
13966
|
-
;const
|
|
13967
|
-
return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function
|
|
13968
|
-
let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function
|
|
13969
|
-
let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function
|
|
13989
|
+
e.UnregisterDroppable="unregisterDroppable"}(Y$||(Y$={}))
|
|
13990
|
+
;const K$=Object.freeze({x:0,y:0});function q$(e,t){
|
|
13991
|
+
return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Z$(e,t){
|
|
13992
|
+
let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function X$(e,t){
|
|
13993
|
+
let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function J$(e){
|
|
13970
13994
|
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},{
|
|
13971
|
-
x:t+o,y:n+r}]}function
|
|
13972
|
-
;return t?n[t]:n}function
|
|
13995
|
+
x:t+o,y:n+r}]}function Q$(e,t){if(!e||0===e.length)return null;const[n]=e
|
|
13996
|
+
;return t?n[t]:n}function eB(e,t,n){
|
|
13973
13997
|
return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,
|
|
13974
|
-
y:n+.5*e.height}}const
|
|
13998
|
+
y:n+.5*e.height}}const tB=e=>{
|
|
13975
13999
|
let{collisionRect:t,droppableRects:n,droppableContainers:r}=e
|
|
13976
|
-
;const o=
|
|
13977
|
-
;if(r){const n=
|
|
13978
|
-
return a.sort(
|
|
14000
|
+
;const o=eB(t,t.left,t.top),a=[];for(const e of r){const{id:t}=e,r=n.get(t)
|
|
14001
|
+
;if(r){const n=q$(eB(r),o);a.push({id:t,data:{droppableContainer:e,value:n}})}}
|
|
14002
|
+
return a.sort(Z$)};function nB(e,t){
|
|
13979
14003
|
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
|
|
13980
14004
|
;if(r<o&&n<a){const n=t.width*t.height,r=e.width*e.height,o=i*l
|
|
13981
|
-
;return Number((o/(n+r-o)).toFixed(4))}return 0}const
|
|
14005
|
+
;return Number((o/(n+r-o)).toFixed(4))}return 0}const rB=e=>{
|
|
13982
14006
|
let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[]
|
|
13983
|
-
;for(const e of r){const{id:r}=e,a=n.get(r);if(a){const n=
|
|
13984
|
-
id:r,data:{droppableContainer:e,value:n}})}}return o.sort(
|
|
13985
|
-
return e&&t?{x:e.left-t.left,y:e.top-t.top}:
|
|
14007
|
+
;for(const e of r){const{id:r}=e,a=n.get(r);if(a){const n=nB(a,t);n>0&&o.push({
|
|
14008
|
+
id:r,data:{droppableContainer:e,value:n}})}}return o.sort(X$)};function oB(e,t){
|
|
14009
|
+
return e&&t?{x:e.left-t.left,y:e.top-t.top}:K$}function aB(e){
|
|
13986
14010
|
return function(t){
|
|
13987
14011
|
for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o]
|
|
13988
14012
|
;return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,
|
|
13989
|
-
left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const
|
|
13990
|
-
ignoreTransform:!1};function
|
|
14013
|
+
left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const iB=aB(1);const lB={
|
|
14014
|
+
ignoreTransform:!1};function cB(e,t){void 0===t&&(t=lB)
|
|
13991
14015
|
;let n=e.getBoundingClientRect();if(t.ignoreTransform){
|
|
13992
|
-
const{transform:t,transformOrigin:r}=
|
|
14016
|
+
const{transform:t,transformOrigin:r}=g$(e).getComputedStyle(e)
|
|
13993
14017
|
;t&&(n=function(e,t,n){const r=function(e){if(e.startsWith("matrix3d(")){
|
|
13994
14018
|
const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],
|
|
13995
14019
|
scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /)
|
|
@@ -13998,116 +14022,116 @@ scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /)
|
|
|
13998
14022
|
;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
|
|
13999
14023
|
;return{width:u,height:d,top:s,right:c+u,bottom:s+d,left:c}}(n,t,r))}
|
|
14000
14024
|
const{top:r,left:o,width:a,height:i,bottom:l,right:c}=n;return{top:r,left:o,
|
|
14001
|
-
width:a,height:i,bottom:l,right:c}}function
|
|
14002
|
-
ignoreTransform:!0})}function
|
|
14025
|
+
width:a,height:i,bottom:l,right:c}}function sB(e){return cB(e,{
|
|
14026
|
+
ignoreTransform:!0})}function uB(e,t){const n=[];return e?function r(o){
|
|
14003
14027
|
if(null!=t&&n.length>=t)return n;if(!o)return n
|
|
14004
|
-
;if(
|
|
14005
|
-
n;if(!
|
|
14006
|
-
;const a=
|
|
14007
|
-
void 0===t&&(t=
|
|
14028
|
+
;if(y$(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),
|
|
14029
|
+
n;if(!b$(o)||w$(o))return n;if(n.includes(o))return n
|
|
14030
|
+
;const a=g$(e).getComputedStyle(o);return o!==e&&function(e,t){
|
|
14031
|
+
void 0===t&&(t=g$(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/
|
|
14008
14032
|
;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e]
|
|
14009
14033
|
;return"string"==typeof r&&n.test(r)}))}(o,a)&&n.push(o),function(e,t){
|
|
14010
|
-
return void 0===t&&(t=
|
|
14011
|
-
}(o,a)?n:r(o.parentNode)}(e):n}function
|
|
14012
|
-
;return null!=t?t:null}function
|
|
14013
|
-
return
|
|
14014
|
-
}function
|
|
14015
|
-
return
|
|
14016
|
-
;function
|
|
14017
|
-
const t={x:0,y:0},n=
|
|
14034
|
+
return void 0===t&&(t=g$(e).getComputedStyle(e)),"fixed"===t.position
|
|
14035
|
+
}(o,a)?n:r(o.parentNode)}(e):n}function dB(e){const[t]=uB(e,1)
|
|
14036
|
+
;return null!=t?t:null}function hB(e){
|
|
14037
|
+
return f$&&e?m$(e)?e:v$(e)?y$(e)||e===C$(e).scrollingElement?window:b$(e)?e:null:null:null
|
|
14038
|
+
}function pB(e){return m$(e)?e.scrollX:e.scrollLeft}function fB(e){
|
|
14039
|
+
return m$(e)?e.scrollY:e.scrollTop}function mB(e){return{x:pB(e),y:fB(e)}}var vB
|
|
14040
|
+
;function gB(e){return!(!f$||!e)&&e===document.scrollingElement}function yB(e){
|
|
14041
|
+
const t={x:0,y:0},n=gB(e)?{height:window.innerHeight,width:window.innerWidth}:{
|
|
14018
14042
|
height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,
|
|
14019
14043
|
y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,
|
|
14020
14044
|
isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,
|
|
14021
14045
|
maxScroll:r,minScroll:t}}!function(e){
|
|
14022
|
-
e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(
|
|
14023
|
-
x:.2,y:.2};function
|
|
14024
|
-
;void 0===r&&(r=10),void 0===o&&(o=
|
|
14025
|
-
;const{isTop:s,isBottom:u,isLeft:d,isRight:h}=
|
|
14046
|
+
e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(vB||(vB={}));const bB={
|
|
14047
|
+
x:.2,y:.2};function wB(e,t,n,r,o){let{top:a,left:i,right:l,bottom:c}=n
|
|
14048
|
+
;void 0===r&&(r=10),void 0===o&&(o=bB)
|
|
14049
|
+
;const{isTop:s,isBottom:u,isLeft:d,isRight:h}=yB(e),p={x:0,y:0},f={x:0,y:0
|
|
14026
14050
|
},m=t.height*o.y,v=t.width*o.x
|
|
14027
|
-
;return!s&&a<=t.top+m?(p.y=
|
|
14051
|
+
;return!s&&a<=t.top+m?(p.y=vB.Backward,f.y=r*Math.abs((t.top+m-a)/m)):!u&&c>=t.bottom-m&&(p.y=vB.Forward,
|
|
14028
14052
|
f.y=r*Math.abs((t.bottom-m-c)/m)),
|
|
14029
|
-
!h&&l>=t.right-v?(p.x=
|
|
14030
|
-
f.x=r*Math.abs((t.left+v-i)/v)),{direction:p,speed:f}}function
|
|
14053
|
+
!h&&l>=t.right-v?(p.x=vB.Forward,f.x=r*Math.abs((t.right-v-l)/v)):!d&&i<=t.left+v&&(p.x=vB.Backward,
|
|
14054
|
+
f.x=r*Math.abs((t.left+v-i)/v)),{direction:p,speed:f}}function CB(e){
|
|
14031
14055
|
if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window
|
|
14032
14056
|
;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}
|
|
14033
14057
|
const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,
|
|
14034
14058
|
left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}
|
|
14035
|
-
function
|
|
14036
|
-
const
|
|
14037
|
-
}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+
|
|
14038
|
-
;class
|
|
14059
|
+
function zB(e){return e.reduce(((e,t)=>L$(e,mB(t))),K$)}
|
|
14060
|
+
const MB=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+pB(t)),0)
|
|
14061
|
+
}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+fB(t)),0)}]]
|
|
14062
|
+
;class xB{constructor(e,t){
|
|
14039
14063
|
this.rect=void 0,this.width=void 0,this.height=void 0,
|
|
14040
14064
|
this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0
|
|
14041
|
-
;const n=
|
|
14042
|
-
;for(const[e,t,o]of
|
|
14065
|
+
;const n=uB(t),r=zB(n);this.rect={...e},this.width=e.width,this.height=e.height
|
|
14066
|
+
;for(const[e,t,o]of MB)for(const a of t)Object.defineProperty(this,a,{get:()=>{
|
|
14043
14067
|
const t=o(n),i=r[e]-t;return this.rect[a]+i},enumerable:!0})
|
|
14044
|
-
;Object.defineProperty(this,"rect",{enumerable:!1})}}class
|
|
14068
|
+
;Object.defineProperty(this,"rect",{enumerable:!1})}}class EB{constructor(e){
|
|
14045
14069
|
this.target=void 0,this.listeners=[],this.removeAll=()=>{
|
|
14046
14070
|
this.listeners.forEach((e=>{var t
|
|
14047
14071
|
;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))
|
|
14048
14072
|
},this.target=e}add(e,t,n){var r
|
|
14049
14073
|
;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}
|
|
14050
|
-
function
|
|
14074
|
+
function SB(e,t){const n=Math.abs(e.x),r=Math.abs(e.y)
|
|
14051
14075
|
;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
|
|
14052
|
-
}var
|
|
14076
|
+
}var _B,HB;function DB(e){e.preventDefault()}function AB(e){e.stopPropagation()}
|
|
14053
14077
|
!function(e){
|
|
14054
14078
|
e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",
|
|
14055
14079
|
e.Resize="resize",
|
|
14056
14080
|
e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"
|
|
14057
|
-
}(
|
|
14081
|
+
}(_B||(_B={})),function(e){
|
|
14058
14082
|
e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",
|
|
14059
|
-
e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(
|
|
14060
|
-
;const
|
|
14061
|
-
},
|
|
14062
|
-
...n,x:n.x+25};case
|
|
14063
|
-
y:n.y+25};case
|
|
14083
|
+
e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(HB||(HB={}))
|
|
14084
|
+
;const LB={start:[HB.Space,HB.Enter],cancel:[HB.Esc],end:[HB.Space,HB.Enter]
|
|
14085
|
+
},kB=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case HB.Right:return{
|
|
14086
|
+
...n,x:n.x+25};case HB.Left:return{...n,x:n.x-25};case HB.Down:return{...n,
|
|
14087
|
+
y:n.y+25};case HB.Up:return{...n,y:n.y-25}}};class VB{constructor(e){
|
|
14064
14088
|
this.props=void 0,
|
|
14065
14089
|
this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,
|
|
14066
14090
|
this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,
|
|
14067
|
-
this.listeners=new
|
|
14068
|
-
this.windowListeners=new
|
|
14091
|
+
this.listeners=new EB(C$(t)),
|
|
14092
|
+
this.windowListeners=new EB(g$(t)),this.handleKeyDown=this.handleKeyDown.bind(this),
|
|
14069
14093
|
this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){
|
|
14070
14094
|
this.handleStart(),
|
|
14071
|
-
this.windowListeners.add(
|
|
14072
|
-
setTimeout((()=>this.listeners.add(
|
|
14095
|
+
this.windowListeners.add(_B.Resize,this.handleCancel),this.windowListeners.add(_B.VisibilityChange,this.handleCancel),
|
|
14096
|
+
setTimeout((()=>this.listeners.add(_B.Keydown,this.handleKeyDown)))}
|
|
14073
14097
|
handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current
|
|
14074
|
-
;n&&function(e,t){if(void 0===t&&(t=
|
|
14098
|
+
;n&&function(e,t){if(void 0===t&&(t=cB),!e)return
|
|
14075
14099
|
;const{top:n,left:r,bottom:o,right:a}=t(e)
|
|
14076
|
-
;
|
|
14077
|
-
block:"center",inline:"center"})}(n),t(
|
|
14078
|
-
const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=
|
|
14100
|
+
;dB(e)&&(o<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({
|
|
14101
|
+
block:"center",inline:"center"})}(n),t(K$)}handleKeyDown(e){if(V$(e)){
|
|
14102
|
+
const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=LB,coordinateGetter:a=kB,scrollBehavior:i="smooth"}=r,{code:l}=e
|
|
14079
14103
|
;if(o.end.includes(l))return void this.handleEnd(e)
|
|
14080
14104
|
;if(o.cancel.includes(l))return void this.handleCancel(e)
|
|
14081
|
-
;const{collisionRect:c}=n.current,s=c?{x:c.left,y:c.top}:
|
|
14105
|
+
;const{collisionRect:c}=n.current,s=c?{x:c.left,y:c.top}:K$
|
|
14082
14106
|
;this.referenceCoordinates||(this.referenceCoordinates=s);const u=a(e,{active:t,
|
|
14083
|
-
context:n.current,currentCoordinates:s});if(u){const t=
|
|
14107
|
+
context:n.current,currentCoordinates:s});if(u){const t=k$(u,s),r={x:0,y:0
|
|
14084
14108
|
},{scrollableAncestors:o}=n.current;for(const n of o){
|
|
14085
|
-
const o=e.code,{isTop:a,isRight:l,isLeft:c,isBottom:s,maxScroll:d,minScroll:h}=
|
|
14086
|
-
x:Math.min(o===
|
|
14087
|
-
y:Math.min(o===
|
|
14088
|
-
},m=o===
|
|
14109
|
+
const o=e.code,{isTop:a,isRight:l,isLeft:c,isBottom:s,maxScroll:d,minScroll:h}=yB(n),p=CB(n),f={
|
|
14110
|
+
x:Math.min(o===HB.Right?p.right-p.width/2:p.right,Math.max(o===HB.Right?p.left:p.left+p.width/2,u.x)),
|
|
14111
|
+
y:Math.min(o===HB.Down?p.bottom-p.height/2:p.bottom,Math.max(o===HB.Down?p.top:p.top+p.height/2,u.y))
|
|
14112
|
+
},m=o===HB.Right&&!l||o===HB.Left&&!c,v=o===HB.Down&&!s||o===HB.Up&&!a
|
|
14089
14113
|
;if(m&&f.x!==u.x){
|
|
14090
|
-
const e=n.scrollLeft+t.x,a=o===
|
|
14114
|
+
const e=n.scrollLeft+t.x,a=o===HB.Right&&e<=d.x||o===HB.Left&&e>=h.x
|
|
14091
14115
|
;if(a&&!t.y)return void n.scrollTo({left:e,behavior:i})
|
|
14092
|
-
;r.x=a?n.scrollLeft-e:o===
|
|
14116
|
+
;r.x=a?n.scrollLeft-e:o===HB.Right?n.scrollLeft-d.x:n.scrollLeft-h.x,
|
|
14093
14117
|
r.x&&n.scrollBy({left:-r.x,behavior:i});break}if(v&&f.y!==u.y){
|
|
14094
|
-
const e=n.scrollTop+t.y,a=o===
|
|
14118
|
+
const e=n.scrollTop+t.y,a=o===HB.Down&&e<=d.y||o===HB.Up&&e>=h.y
|
|
14095
14119
|
;if(a&&!t.x)return void n.scrollTo({top:e,behavior:i})
|
|
14096
|
-
;r.y=a?n.scrollTop-e:o===
|
|
14120
|
+
;r.y=a?n.scrollTop-e:o===HB.Down?n.scrollTop-d.y:n.scrollTop-h.y,
|
|
14097
14121
|
r.y&&n.scrollBy({top:-r.y,behavior:i});break}}
|
|
14098
|
-
this.handleMove(e,
|
|
14122
|
+
this.handleMove(e,L$(k$(u,this.referenceCoordinates),r))}}}handleMove(e,t){
|
|
14099
14123
|
const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){
|
|
14100
14124
|
const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){
|
|
14101
14125
|
const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){
|
|
14102
|
-
this.listeners.removeAll(),this.windowListeners.removeAll()}}function
|
|
14103
|
-
return Boolean(e&&"distance"in e)}function
|
|
14104
|
-
|
|
14105
|
-
let{keyboardCodes:r=
|
|
14126
|
+
this.listeners.removeAll(),this.windowListeners.removeAll()}}function TB(e){
|
|
14127
|
+
return Boolean(e&&"distance"in e)}function PB(e){return Boolean(e&&"delay"in e)}
|
|
14128
|
+
VB.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{
|
|
14129
|
+
let{keyboardCodes:r=LB,onActivation:o}=t,{active:a}=n
|
|
14106
14130
|
;const{code:i}=e.nativeEvent;if(r.start.includes(i)){
|
|
14107
14131
|
const t=a.activatorNode.current
|
|
14108
14132
|
;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent
|
|
14109
|
-
}),!0)}return!1}}];class
|
|
14110
|
-
const{EventTarget:t}=
|
|
14133
|
+
}),!0)}return!1}}];class RB{constructor(e,t,n){var r;void 0===n&&(n=function(e){
|
|
14134
|
+
const{EventTarget:t}=g$(e);return e instanceof t?e:C$(e)
|
|
14111
14135
|
}(e.event.target)),this.props=void 0,
|
|
14112
14136
|
this.events=void 0,this.autoScrollEnabled=!0,
|
|
14113
14137
|
this.document=void 0,this.activated=!1,
|
|
@@ -14115,9 +14139,9 @@ this.initialCoordinates=void 0,this.timeoutId=null,
|
|
|
14115
14139
|
this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,
|
|
14116
14140
|
this.props=e,this.events=t;const{event:o}=e,{target:a}=o
|
|
14117
14141
|
;this.props=e,this.events=t,
|
|
14118
|
-
this.document=
|
|
14119
|
-
this.listeners=new
|
|
14120
|
-
this.windowListeners=new
|
|
14142
|
+
this.document=C$(a),this.documentListeners=new EB(this.document),
|
|
14143
|
+
this.listeners=new EB(n),
|
|
14144
|
+
this.windowListeners=new EB(g$(a)),this.initialCoordinates=null!=(r=T$(o))?r:K$,
|
|
14121
14145
|
this.handleStart=this.handleStart.bind(this),
|
|
14122
14146
|
this.handleMove=this.handleMove.bind(this),
|
|
14123
14147
|
this.handleEnd=this.handleEnd.bind(this),
|
|
@@ -14128,246 +14152,246 @@ attach(){
|
|
|
14128
14152
|
const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this
|
|
14129
14153
|
;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1
|
|
14130
14154
|
}),this.listeners.add(e.end.name,this.handleEnd),
|
|
14131
|
-
this.windowListeners.add(
|
|
14132
|
-
this.windowListeners.add(
|
|
14133
|
-
this.windowListeners.add(
|
|
14134
|
-
this.windowListeners.add(
|
|
14135
|
-
this.documentListeners.add(
|
|
14155
|
+
this.windowListeners.add(_B.Resize,this.handleCancel),
|
|
14156
|
+
this.windowListeners.add(_B.DragStart,DB),
|
|
14157
|
+
this.windowListeners.add(_B.VisibilityChange,this.handleCancel),
|
|
14158
|
+
this.windowListeners.add(_B.ContextMenu,DB),
|
|
14159
|
+
this.documentListeners.add(_B.Keydown,this.handleKeydown),t){if(null!=n&&n({
|
|
14136
14160
|
event:this.props.event,activeNode:this.props.activeNode,
|
|
14137
14161
|
options:this.props.options}))return this.handleStart()
|
|
14138
|
-
;if(
|
|
14139
|
-
;if(
|
|
14162
|
+
;if(PB(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))
|
|
14163
|
+
;if(TB(t))return}this.handleStart()}detach(){
|
|
14140
14164
|
this.listeners.removeAll(),this.windowListeners.removeAll(),
|
|
14141
14165
|
setTimeout(this.documentListeners.removeAll,50),
|
|
14142
14166
|
null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}
|
|
14143
14167
|
handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props
|
|
14144
|
-
;e&&(this.activated=!0,this.documentListeners.add(
|
|
14168
|
+
;e&&(this.activated=!0,this.documentListeners.add(_B.Click,AB,{capture:!0
|
|
14145
14169
|
}),this.removeTextSelection(),
|
|
14146
|
-
this.documentListeners.add(
|
|
14170
|
+
this.documentListeners.add(_B.SelectionChange,this.removeTextSelection),t(e))}
|
|
14147
14171
|
handleMove(e){var t
|
|
14148
14172
|
;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:i}}=o
|
|
14149
|
-
;if(!r)return;const l=null!=(t=
|
|
14150
|
-
if(null!=i.tolerance&&
|
|
14151
|
-
;if(
|
|
14152
|
-
return
|
|
14173
|
+
;if(!r)return;const l=null!=(t=T$(e))?t:K$,c=k$(r,l);if(!n&&i){if(TB(i)){
|
|
14174
|
+
if(null!=i.tolerance&&SB(c,i.tolerance))return this.handleCancel()
|
|
14175
|
+
;if(SB(c,i.distance))return this.handleStart()}
|
|
14176
|
+
return PB(i)&&SB(c,i.tolerance)?this.handleCancel():void 0}
|
|
14153
14177
|
e.cancelable&&e.preventDefault(),a(l)}handleEnd(){const{onEnd:e}=this.props
|
|
14154
14178
|
;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()
|
|
14155
|
-
}handleKeydown(e){e.code===
|
|
14156
|
-
var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const
|
|
14157
|
-
move:{name:"pointermove"},end:{name:"pointerup"}};class
|
|
14158
|
-
constructor(e){const{event:t}=e,n=
|
|
14179
|
+
}handleKeydown(e){e.code===HB.Esc&&this.handleCancel()}removeTextSelection(){
|
|
14180
|
+
var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const IB={
|
|
14181
|
+
move:{name:"pointermove"},end:{name:"pointerup"}};class OB extends RB{
|
|
14182
|
+
constructor(e){const{event:t}=e,n=C$(t.target);super(e,IB,n)}}OB.activators=[{
|
|
14159
14183
|
eventName:"onPointerDown",handler:(e,t)=>{
|
|
14160
14184
|
let{nativeEvent:n}=e,{onActivation:r}=t
|
|
14161
|
-
;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const
|
|
14162
|
-
move:{name:"mousemove"},end:{name:"mouseup"}};var
|
|
14163
|
-
e[e.RightClick=2]="RightClick"}(
|
|
14164
|
-
super(e,
|
|
14185
|
+
;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const NB={
|
|
14186
|
+
move:{name:"mousemove"},end:{name:"mouseup"}};var FB;!function(e){
|
|
14187
|
+
e[e.RightClick=2]="RightClick"}(FB||(FB={}));class $B extends RB{constructor(e){
|
|
14188
|
+
super(e,NB,C$(e.event.target))}}$B.activators=[{eventName:"onMouseDown",
|
|
14165
14189
|
handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t
|
|
14166
|
-
;return n.button!==
|
|
14167
|
-
name:"touchmove"},end:{name:"touchend"}};class
|
|
14168
|
-
super(e,
|
|
14169
|
-
capture:!1,passive:!1}),function(){window.removeEventListener(
|
|
14170
|
-
;function e(){}}}var
|
|
14171
|
-
let{acceleration:t,activator:n=
|
|
14172
|
-
;const g=function(e){let{delta:t,disabled:n}=e;const r=
|
|
14173
|
-
if(n||!r||!e)return
|
|
14174
|
-
;return{x:{[
|
|
14175
|
-
[
|
|
14176
|
-
[
|
|
14190
|
+
;return n.button!==FB.RightClick&&(null==r||r({event:n}),!0)}}];const BB={move:{
|
|
14191
|
+
name:"touchmove"},end:{name:"touchend"}};class jB extends RB{constructor(e){
|
|
14192
|
+
super(e,BB)}static setup(){return window.addEventListener(BB.move.name,e,{
|
|
14193
|
+
capture:!1,passive:!1}),function(){window.removeEventListener(BB.move.name,e)}
|
|
14194
|
+
;function e(){}}}var UB,YB;function WB(e){
|
|
14195
|
+
let{acceleration:t,activator:n=UB.Pointer,canScroll:o,draggingRect:a,enabled:l,interval:c=5,order:s=YB.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:m,threshold:v}=e
|
|
14196
|
+
;const g=function(e){let{delta:t,disabled:n}=e;const r=_$(t);return E$((e=>{
|
|
14197
|
+
if(n||!r||!e)return GB;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)}
|
|
14198
|
+
;return{x:{[vB.Backward]:e.x[vB.Backward]||-1===o.x,
|
|
14199
|
+
[vB.Forward]:e.x[vB.Forward]||1===o.x},y:{
|
|
14200
|
+
[vB.Backward]:e.y[vB.Backward]||-1===o.y,[vB.Forward]:e.y[vB.Forward]||1===o.y}}
|
|
14177
14201
|
}),[n,t,r])}({delta:m,disabled:!l}),[y,b]=function(){const e=h(null)
|
|
14178
14202
|
;return[i(((t,n)=>{e.current=setInterval(t,n)}),[]),i((()=>{
|
|
14179
14203
|
null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}(),w=h({x:0,
|
|
14180
|
-
y:0}),C=h({x:0,y:0}),z=r((()=>{switch(n){case
|
|
14181
|
-
bottom:u.y,left:u.x,right:u.x}:null;case
|
|
14204
|
+
y:0}),C=h({x:0,y:0}),z=r((()=>{switch(n){case UB.Pointer:return u?{top:u.y,
|
|
14205
|
+
bottom:u.y,left:u.x,right:u.x}:null;case UB.DraggableRect:return a}
|
|
14182
14206
|
}),[n,a,u]),M=h(null),x=i((()=>{const e=M.current;if(!e)return
|
|
14183
14207
|
;const t=w.current.x*C.current.x,n=w.current.y*C.current.y;e.scrollBy(t,n)
|
|
14184
|
-
}),[]),E=r((()=>s===
|
|
14208
|
+
}),[]),E=r((()=>s===YB.TreeOrder?[...d].reverse():d),[s,d]);p((()=>{
|
|
14185
14209
|
if(l&&d.length&&z){for(const e of E){if(!1===(null==o?void 0:o(e)))continue
|
|
14186
14210
|
;const n=d.indexOf(e),r=f[n];if(!r)continue
|
|
14187
|
-
;const{direction:a,speed:i}=
|
|
14211
|
+
;const{direction:a,speed:i}=wB(e,r,z,t,v)
|
|
14188
14212
|
;for(const e of["x","y"])g[e][a[e]]||(i[e]=0,a[e]=0);if(i.x>0||i.y>0)return b(),
|
|
14189
14213
|
M.current=e,y(x,c),w.current=i,void(C.current=a)}w.current={x:0,y:0},C.current={
|
|
14190
14214
|
x:0,y:0},b()}else b()
|
|
14191
14215
|
}),[t,x,o,b,l,c,JSON.stringify(z),JSON.stringify(g),y,d,E,f,JSON.stringify(v)])}
|
|
14192
|
-
|
|
14216
|
+
jB.activators=[{eventName:"onTouchStart",handler:(e,t)=>{
|
|
14193
14217
|
let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n
|
|
14194
14218
|
;return!(o.length>1)&&(null==r||r({event:n}),!0)}}],function(e){
|
|
14195
14219
|
e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"
|
|
14196
|
-
}(
|
|
14220
|
+
}(UB||(UB={})),function(e){
|
|
14197
14221
|
e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"
|
|
14198
|
-
}(
|
|
14199
|
-
[
|
|
14222
|
+
}(YB||(YB={}));const GB={x:{[vB.Backward]:!1,[vB.Forward]:!1},y:{
|
|
14223
|
+
[vB.Backward]:!1,[vB.Forward]:!1}};var KB,qB;!function(e){
|
|
14200
14224
|
e[e.Always=0]="Always",
|
|
14201
14225
|
e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"
|
|
14202
|
-
}(
|
|
14203
|
-
;const
|
|
14204
|
-
return
|
|
14205
|
-
let{callback:t,disabled:n}=e;const o=
|
|
14226
|
+
}(KB||(KB={})),function(e){e.Optimized="optimized"}(qB||(qB={}))
|
|
14227
|
+
;const ZB=new Map;function XB(e,t){
|
|
14228
|
+
return E$((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function JB(e){
|
|
14229
|
+
let{callback:t,disabled:n}=e;const o=M$(t),a=r((()=>{
|
|
14206
14230
|
if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return
|
|
14207
14231
|
;const{ResizeObserver:e}=window;return new e(o)}),[n])
|
|
14208
|
-
;return p((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function
|
|
14209
|
-
return new
|
|
14232
|
+
;return p((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function QB(e){
|
|
14233
|
+
return new xB(cB(e),e)}function ej(e,t,n){void 0===t&&(t=QB)
|
|
14210
14234
|
;const[o,a]=v((function(r){if(!e)return null;var o
|
|
14211
14235
|
;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const a=t(e)
|
|
14212
14236
|
;if(JSON.stringify(r)===JSON.stringify(a))return r;return a
|
|
14213
|
-
}),null),i=function(e){let{callback:t,disabled:n}=e;const o=
|
|
14237
|
+
}),null),i=function(e){let{callback:t,disabled:n}=e;const o=M$(t),a=r((()=>{
|
|
14214
14238
|
if(n||"undefined"==typeof window||void 0===window.MutationObserver)return
|
|
14215
14239
|
;const{MutationObserver:e}=window;return new e(o)}),[o,n])
|
|
14216
14240
|
;return p((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){
|
|
14217
14241
|
if(e)for(const n of t){const{type:t,target:r}=n
|
|
14218
14242
|
;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}
|
|
14219
|
-
}),l=
|
|
14243
|
+
}),l=JB({callback:a});return z$((()=>{
|
|
14220
14244
|
a(),e?(null==l||l.observe(e),null==i||i.observe(document.body,{childList:!0,
|
|
14221
14245
|
subtree:!0})):(null==l||l.disconnect(),null==i||i.disconnect())}),[e]),o}
|
|
14222
|
-
const
|
|
14223
|
-
n.current=null}),t),p((()=>{const t=e!==
|
|
14246
|
+
const tj=[];function nj(e,t){void 0===t&&(t=[]);const n=h(null);return p((()=>{
|
|
14247
|
+
n.current=null}),t),p((()=>{const t=e!==K$
|
|
14224
14248
|
;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)
|
|
14225
|
-
}),[e]),n.current?
|
|
14249
|
+
}),[e]),n.current?k$(e,n.current):K$}function rj(e){return r((()=>e?function(e){
|
|
14226
14250
|
const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,
|
|
14227
|
-
width:t,height:n}}(e):null),[e])}const
|
|
14228
|
-
;const[n,o]=f(null),a=i((e=>{for(const{target:n}of e)if(
|
|
14251
|
+
width:t,height:n}}(e):null),[e])}const oj=[];function aj(e){let{measure:t}=e
|
|
14252
|
+
;const[n,o]=f(null),a=i((e=>{for(const{target:n}of e)if(b$(n)){o((e=>{
|
|
14229
14253
|
const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}
|
|
14230
|
-
}),[t]),l=
|
|
14231
|
-
;if(e.children.length>1)return e;const t=e.children[0];return
|
|
14254
|
+
}),[t]),l=JB({callback:a}),c=i((e=>{const n=function(e){if(!e)return null
|
|
14255
|
+
;if(e.children.length>1)return e;const t=e.children[0];return b$(t)?t:e}(e)
|
|
14232
14256
|
;null==l||l.disconnect(),n&&(null==l||l.observe(n)),o(n?t(n):null)
|
|
14233
|
-
}),[t,l]),[s,u]=
|
|
14234
|
-
const
|
|
14235
|
-
draggable:{measure:
|
|
14236
|
-
frequency:
|
|
14257
|
+
}),[t,l]),[s,u]=S$(c);return r((()=>({nodeRef:s,rect:n,setRef:u})),[n,s,u])}
|
|
14258
|
+
const ij=[{sensor:OB,options:{}},{sensor:VB,options:{}}],lj={current:{}},cj={
|
|
14259
|
+
draggable:{measure:sB},droppable:{measure:sB,strategy:KB.WhileDragging,
|
|
14260
|
+
frequency:qB.Optimized},dragOverlay:{measure:cB}};class sj extends Map{get(e){
|
|
14237
14261
|
var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){
|
|
14238
14262
|
return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{
|
|
14239
14263
|
let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n
|
|
14240
14264
|
;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}
|
|
14241
|
-
const
|
|
14265
|
+
const uj={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,
|
|
14242
14266
|
collisions:null,containerNodeRect:null,draggableNodes:new Map,
|
|
14243
|
-
droppableRects:new Map,droppableContainers:new
|
|
14244
|
-
nodeRef:{current:null},rect:null,setRef:
|
|
14245
|
-
scrollableAncestorRects:[],measuringConfiguration:
|
|
14246
|
-
measureDroppableContainers:
|
|
14267
|
+
droppableRects:new Map,droppableContainers:new sj,over:null,dragOverlay:{
|
|
14268
|
+
nodeRef:{current:null},rect:null,setRef:W$},scrollableAncestors:[],
|
|
14269
|
+
scrollableAncestorRects:[],measuringConfiguration:cj,
|
|
14270
|
+
measureDroppableContainers:W$,windowRect:null,measuringScheduled:!1},dj=n({
|
|
14247
14271
|
activatorEvent:null,activators:[],active:null,activeNodeRect:null,
|
|
14248
|
-
ariaDescribedById:{draggable:""},dispatch:
|
|
14249
|
-
measureDroppableContainers:
|
|
14272
|
+
ariaDescribedById:{draggable:""},dispatch:W$,draggableNodes:new Map,over:null,
|
|
14273
|
+
measureDroppableContainers:W$}),hj=n(uj);function pj(){return{draggable:{
|
|
14250
14274
|
active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},
|
|
14251
|
-
droppable:{containers:new
|
|
14252
|
-
case
|
|
14253
|
-
initialCoordinates:t.initialCoordinates,active:t.active}};case
|
|
14275
|
+
droppable:{containers:new sj}}}function fj(e,t){switch(t.type){
|
|
14276
|
+
case Y$.DragStart:return{...e,draggable:{...e.draggable,
|
|
14277
|
+
initialCoordinates:t.initialCoordinates,active:t.active}};case Y$.DragMove:
|
|
14254
14278
|
return e.draggable.active?{...e,draggable:{...e.draggable,translate:{
|
|
14255
14279
|
x:t.coordinates.x-e.draggable.initialCoordinates.x,
|
|
14256
|
-
y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case
|
|
14257
|
-
case
|
|
14258
|
-
initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case
|
|
14259
|
-
const{element:n}=t,{id:r}=n,o=new
|
|
14260
|
-
...e,droppable:{...e.droppable,containers:o}}}case
|
|
14280
|
+
y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Y$.DragEnd:
|
|
14281
|
+
case Y$.DragCancel:return{...e,draggable:{...e.draggable,active:null,
|
|
14282
|
+
initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Y$.RegisterDroppable:{
|
|
14283
|
+
const{element:n}=t,{id:r}=n,o=new sj(e.droppable.containers);return o.set(r,n),{
|
|
14284
|
+
...e,droppable:{...e.droppable,containers:o}}}case Y$.SetDroppableDisabled:{
|
|
14261
14285
|
const{id:n,key:r,disabled:o}=t,a=e.droppable.containers.get(n)
|
|
14262
|
-
;if(!a||r!==a.key)return e;const i=new
|
|
14286
|
+
;if(!a||r!==a.key)return e;const i=new sj(e.droppable.containers)
|
|
14263
14287
|
;return i.set(n,{...a,disabled:o}),{...e,droppable:{...e.droppable,containers:i}
|
|
14264
|
-
}}case
|
|
14288
|
+
}}case Y$.UnregisterDroppable:{
|
|
14265
14289
|
const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e
|
|
14266
|
-
;const a=new
|
|
14267
|
-
...e.droppable,containers:a}}}default:return e}}function
|
|
14268
|
-
;const{active:n,activatorEvent:r,draggableNodes:o}=a(
|
|
14269
|
-
;return p((()=>{if(!t&&!r&&i&&null!=l){if(!
|
|
14290
|
+
;const a=new sj(e.droppable.containers);return a.delete(n),{...e,droppable:{
|
|
14291
|
+
...e.droppable,containers:a}}}default:return e}}function mj(e){let{disabled:t}=e
|
|
14292
|
+
;const{active:n,activatorEvent:r,draggableNodes:o}=a(dj),i=_$(r),l=_$(null==n?void 0:n.id)
|
|
14293
|
+
;return p((()=>{if(!t&&!r&&i&&null!=l){if(!V$(i))return
|
|
14270
14294
|
;if(document.activeElement===i.target)return;const e=o.get(l);if(!e)return
|
|
14271
14295
|
;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return
|
|
14272
14296
|
;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue
|
|
14273
|
-
;const t=
|
|
14274
|
-
...
|
|
14297
|
+
;const t=I$(e);if(t){t.focus();break}}}))}}),[r,t,o,l,i]),null}const vj=n({
|
|
14298
|
+
...K$,scaleX:1,scaleY:1});var gj;!function(e){
|
|
14275
14299
|
e[e.Uninitialized=0]="Uninitialized",
|
|
14276
14300
|
e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"
|
|
14277
|
-
}(
|
|
14278
|
-
;let{id:c,accessibility:s,autoScroll:u=!0,children:d,sensors:m=
|
|
14279
|
-
;const C=v(
|
|
14301
|
+
}(gj||(gj={}));const yj=b((function(e){var n,o,a,l
|
|
14302
|
+
;let{id:c,accessibility:s,autoScroll:u=!0,children:d,sensors:m=ij,collisionDetection:g=rB,measuring:y,modifiers:b,...w}=e
|
|
14303
|
+
;const C=v(fj,void 0,pj),[z,M]=C,[E,S]=function(){
|
|
14280
14304
|
const[e]=f((()=>new Set)),t=i((t=>(e.add(t),()=>e.delete(t))),[e])
|
|
14281
14305
|
;return[i((t=>{let{type:n,event:r}=t;e.forEach((e=>{var t
|
|
14282
14306
|
;return null==(t=e[n])?void 0:t.call(e,r)}))}),[e]),t]
|
|
14283
|
-
}(),[_,H]=f(
|
|
14307
|
+
}(),[_,H]=f(gj.Uninitialized),D=_===gj.Initialized,{draggable:{active:A,nodes:L,translate:k},droppable:{containers:V}}=z,T=A?L.get(A):null,P=h({
|
|
14284
14308
|
initial:null,translated:null}),R=r((()=>{var e;return null!=A?{id:A,
|
|
14285
|
-
data:null!=(e=null==T?void 0:T.data)?e:
|
|
14286
|
-
}),[A,T]),I=h(null),[O,N]=f(null),[F,$]=f(null),B=
|
|
14287
|
-
return r((()=>({draggable:{...
|
|
14288
|
-
droppable:{...
|
|
14289
|
-
...
|
|
14309
|
+
data:null!=(e=null==T?void 0:T.data)?e:lj,rect:P}:null
|
|
14310
|
+
}),[A,T]),I=h(null),[O,N]=f(null),[F,$]=f(null),B=x$(w,Object.values(w)),j=D$("DndDescribedBy",c),U=r((()=>V.getEnabled()),[V]),Y=function(e){
|
|
14311
|
+
return r((()=>({draggable:{...cj.draggable,...null==e?void 0:e.draggable},
|
|
14312
|
+
droppable:{...cj.droppable,...null==e?void 0:e.droppable},dragOverlay:{
|
|
14313
|
+
...cj.dragOverlay,...null==e?void 0:e.dragOverlay}
|
|
14290
14314
|
})),[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay])
|
|
14291
14315
|
}(y),{droppableRects:W,measureDroppableContainers:G,measuringScheduled:K}=function(e,t){
|
|
14292
14316
|
let{dragging:n,dependencies:r,config:o}=t
|
|
14293
14317
|
;const[a,l]=f(null),{frequency:c,measure:s,strategy:u}=o,d=h(e),m=function(){
|
|
14294
|
-
switch(u){case
|
|
14295
|
-
return!n}}(),v=
|
|
14318
|
+
switch(u){case KB.Always:return!1;case KB.BeforeDragging:return n;default:
|
|
14319
|
+
return!n}}(),v=x$(m),g=i((function(e){
|
|
14296
14320
|
void 0===e&&(e=[]),v.current||l((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))
|
|
14297
|
-
}),[v]),y=h(null),b=
|
|
14298
|
-
;if(!t||t===
|
|
14321
|
+
}),[v]),y=h(null),b=E$((t=>{if(m&&!n)return ZB
|
|
14322
|
+
;if(!t||t===ZB||d.current!==e||null!=a){const t=new Map;for(let n of e){
|
|
14299
14323
|
if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){
|
|
14300
14324
|
t.set(n.id,n.rect.current);continue}
|
|
14301
|
-
const e=n.node.current,r=e?new
|
|
14325
|
+
const e=n.node.current,r=e?new xB(s(e),e):null;n.rect.current=r,r&&t.set(n.id,r)
|
|
14302
14326
|
}return t}return t}),[e,a,n,m,s]);return p((()=>{d.current=e}),[e]),p((()=>{
|
|
14303
14327
|
m||g()}),[n,m]),p((()=>{a&&a.length>0&&l(null)}),[JSON.stringify(a)]),p((()=>{
|
|
14304
14328
|
m||"number"!=typeof c||null!==y.current||(y.current=setTimeout((()=>{
|
|
14305
14329
|
g(),y.current=null}),c))}),[c,m,g,...r]),{droppableRects:b,
|
|
14306
14330
|
measureDroppableContainers:g,measuringScheduled:null!=a}}(U,{dragging:D,
|
|
14307
14331
|
dependencies:[k.x,k.y],config:Y.droppable}),q=function(e,t){
|
|
14308
|
-
const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return
|
|
14332
|
+
const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return E$((e=>{var n
|
|
14309
14333
|
;return null===t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])
|
|
14310
|
-
}(L,A),Z=r((()=>F?
|
|
14334
|
+
}(L,A),Z=r((()=>F?T$(F):null),[F]),X=function(){
|
|
14311
14335
|
const e=!1===(null==O?void 0:O.autoScrollEnabled),t="object"==typeof u?!1===u.enabled:!1===u,n=D&&!e&&!t
|
|
14312
14336
|
;if("object"==typeof u)return{...u,enabled:n};return{enabled:n}
|
|
14313
|
-
}(),J=function(e,t){return
|
|
14337
|
+
}(),J=function(e,t){return XB(e,t)}(q,Y.draggable.measure);!function(e){
|
|
14314
14338
|
let{activeNode:t,measure:n,initialRect:r,config:o=!0}=e
|
|
14315
|
-
;const a=h(!1),{x:i,y:l}="boolean"==typeof o?{x:o,y:o}:o;
|
|
14339
|
+
;const a=h(!1),{x:i,y:l}="boolean"==typeof o?{x:o,y:o}:o;z$((()=>{
|
|
14316
14340
|
if(!i&&!l||!t)return void(a.current=!1);if(a.current||!r)return
|
|
14317
14341
|
;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return
|
|
14318
|
-
;const o=
|
|
14342
|
+
;const o=oB(n(e),r)
|
|
14319
14343
|
;if(i||(o.x=0),l||(o.y=0),a.current=!0,Math.abs(o.x)>0||Math.abs(o.y)>0){
|
|
14320
|
-
const t=
|
|
14344
|
+
const t=dB(e);t&&t.scrollBy({top:o.y,left:o.x})}}),[t,i,l,r,n])}({
|
|
14321
14345
|
activeNode:A?L.get(A):null,config:X.layoutShiftCompensation,initialRect:J,
|
|
14322
14346
|
measure:Y.draggable.measure})
|
|
14323
|
-
;const Q=
|
|
14347
|
+
;const Q=ej(q,Y.draggable.measure,J),ee=ej(q?q.parentElement:null),te=h({
|
|
14324
14348
|
activatorEvent:null,active:null,activeNode:q,collisionRect:null,collisions:null,
|
|
14325
14349
|
droppableRects:W,draggableNodes:L,draggingNode:null,draggingNodeRect:null,
|
|
14326
14350
|
droppableContainers:V,over:null,scrollableAncestors:[],
|
|
14327
14351
|
scrollAdjustedTranslate:null
|
|
14328
|
-
}),ne=V.getNodeFor(null==(n=te.current.over)?void 0:n.id),re=
|
|
14352
|
+
}),ne=V.getNodeFor(null==(n=te.current.over)?void 0:n.id),re=aj({
|
|
14329
14353
|
measure:Y.dragOverlay.measure
|
|
14330
|
-
}),oe=null!=(o=re.nodeRef.current)?o:q,ae=D?null!=(a=re.rect)?a:Q:null,ie=Boolean(re.nodeRef.current&&re.rect),le=
|
|
14331
|
-
;var ce;const se=
|
|
14332
|
-
const t=h(e),n=
|
|
14354
|
+
}),oe=null!=(o=re.nodeRef.current)?o:q,ae=D?null!=(a=re.rect)?a:Q:null,ie=Boolean(re.nodeRef.current&&re.rect),le=oB(ce=ie?null:Q,XB(ce))
|
|
14355
|
+
;var ce;const se=rj(oe?g$(oe):null),ue=function(e){
|
|
14356
|
+
const t=h(e),n=E$((n=>e?n&&n!==tj&&e&&t.current&&e.parentNode===t.current.parentNode?n:uB(e):tj),[e])
|
|
14333
14357
|
;return p((()=>{t.current=e}),[e]),n}(D?null!=ne?ne:q:null),de=function(e,t){
|
|
14334
|
-
void 0===t&&(t=
|
|
14335
|
-
return e.length?e.map((e=>
|
|
14336
|
-
;return e.length>0&&o===
|
|
14358
|
+
void 0===t&&(t=cB);const[n]=e,r=rj(n?g$(n):null),[o,a]=v((function(){
|
|
14359
|
+
return e.length?e.map((e=>gB(e)?r:new xB(t(e),e))):oj}),oj),i=JB({callback:a})
|
|
14360
|
+
;return e.length>0&&o===oj&&a(),z$((()=>{
|
|
14337
14361
|
e.length?e.forEach((e=>null==i?void 0:i.observe(e))):(null==i||i.disconnect(),
|
|
14338
14362
|
a())}),[e]),o}(ue),he=function(e,t){let{transform:n,...r}=t
|
|
14339
14363
|
;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}(b,{
|
|
14340
14364
|
transform:{x:k.x-le.x,y:k.y-le.y,scaleX:1,scaleY:1},activatorEvent:F,active:R,
|
|
14341
14365
|
activeNodeRect:Q,containerNodeRect:ee,draggingNodeRect:ae,over:te.current.over,
|
|
14342
14366
|
overlayNodeRect:re.rect,scrollableAncestors:ue,scrollableAncestorRects:de,
|
|
14343
|
-
windowRect:se}),pe=Z?
|
|
14344
|
-
const[t,n]=f(null),o=h(e),a=i((e=>{const t=
|
|
14345
|
-
;t&&n((e=>e?(e.set(t,
|
|
14346
|
-
const t=o.current;if(e!==t){r(t);const i=e.map((e=>{const t=
|
|
14347
|
-
;return t?(t.addEventListener("scroll",a,{passive:!0}),[t,
|
|
14367
|
+
windowRect:se}),pe=Z?L$(Z,k):null,fe=function(e){
|
|
14368
|
+
const[t,n]=f(null),o=h(e),a=i((e=>{const t=hB(e.target)
|
|
14369
|
+
;t&&n((e=>e?(e.set(t,mB(t)),new Map(e)):null))}),[]);return p((()=>{
|
|
14370
|
+
const t=o.current;if(e!==t){r(t);const i=e.map((e=>{const t=hB(e)
|
|
14371
|
+
;return t?(t.addEventListener("scroll",a,{passive:!0}),[t,mB(t)]):null
|
|
14348
14372
|
})).filter((e=>null!=e));n(i.length?new Map(i):null),o.current=e}return()=>{
|
|
14349
|
-
r(e),r(t)};function r(e){e.forEach((e=>{const t=
|
|
14373
|
+
r(e),r(t)};function r(e){e.forEach((e=>{const t=hB(e)
|
|
14350
14374
|
;null==t||t.removeEventListener("scroll",a)}))}
|
|
14351
|
-
}),[a,e]),r((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>
|
|
14352
|
-
}(ue),me=
|
|
14375
|
+
}),[a,e]),r((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>L$(e,t)),K$):zB(e):K$),[e,t])
|
|
14376
|
+
}(ue),me=nj(fe),ve=nj(fe,[Q]),ge=L$(he,me),ye=ae?iB(ae,he):null,be=R&&ye?g({
|
|
14353
14377
|
active:R,collisionRect:ye,droppableRects:W,droppableContainers:U,
|
|
14354
|
-
pointerCoordinates:pe}):null,we=
|
|
14378
|
+
pointerCoordinates:pe}):null,we=Q$(be,"id"),[Ce,ze]=f(null),Me=function(e,t,n){
|
|
14355
14379
|
return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}
|
|
14356
|
-
}(ie?he:
|
|
14380
|
+
}(ie?he:L$(he,ve),null!=(l=null==Ce?void 0:Ce.rect)?l:null,Q),xe=i(((e,t)=>{
|
|
14357
14381
|
let{sensor:n,options:r}=t;if(null==I.current)return;const o=L.get(I.current)
|
|
14358
14382
|
;if(!o)return;const a=e.nativeEvent,i=new n({active:I.current,activeNode:o,
|
|
14359
14383
|
event:a,options:r,context:te,onStart(e){const t=I.current;if(null==t)return
|
|
14360
14384
|
;const n=L.get(t);if(!n)return;const{onDragStart:r}=B.current,o={active:{id:t,
|
|
14361
|
-
data:n.data,rect:P}};x((()=>{null==r||r(o),H(
|
|
14362
|
-
type:
|
|
14363
|
-
})}))},onMove(e){M({type:
|
|
14364
|
-
onCancel:l(
|
|
14385
|
+
data:n.data,rect:P}};x((()=>{null==r||r(o),H(gj.Initializing),M({
|
|
14386
|
+
type:Y$.DragStart,initialCoordinates:e,active:t}),E({type:"onDragStart",event:o
|
|
14387
|
+
})}))},onMove(e){M({type:Y$.DragMove,coordinates:e})},onEnd:l(Y$.DragEnd),
|
|
14388
|
+
onCancel:l(Y$.DragCancel)});function l(e){return async function(){
|
|
14365
14389
|
const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=te.current
|
|
14366
14390
|
;let i=null;if(t&&o){const{cancelDrop:l}=B.current;if(i={activatorEvent:a,
|
|
14367
|
-
active:t,collisions:n,delta:o,over:r},e===
|
|
14368
|
-
await Promise.resolve(l(i))&&(e=
|
|
14369
|
-
}),H(
|
|
14370
|
-
;const t=e===
|
|
14391
|
+
active:t,collisions:n,delta:o,over:r},e===Y$.DragEnd&&"function"==typeof l){
|
|
14392
|
+
await Promise.resolve(l(i))&&(e=Y$.DragCancel)}}I.current=null,x((()=>{M({type:e
|
|
14393
|
+
}),H(gj.Uninitialized),ze(null),N(null),$(null)
|
|
14394
|
+
;const t=e===Y$.DragEnd?"onDragEnd":"onDragCancel";if(i){const e=B.current[t]
|
|
14371
14395
|
;null==e||e(i),E({type:t,event:i})}}))}}x((()=>{N(i),$(e.nativeEvent)}))
|
|
14372
14396
|
}),[L]),Ee=i(((e,t)=>(n,r)=>{const o=n.nativeEvent,a=L.get(r)
|
|
14373
14397
|
;if(null!==I.current||!a||o.dndKit||o.defaultPrevented)return;const i={active:a}
|
|
@@ -14375,10 +14399,10 @@ await Promise.resolve(l(i))&&(e=j$.DragCancel)}}I.current=null,x((()=>{M({type:e
|
|
|
14375
14399
|
}),[L,xe]),Se=function(e,t){return r((()=>e.reduce(((e,n)=>{const{sensor:r}=n
|
|
14376
14400
|
;return[...e,...r.activators.map((e=>({eventName:e.eventName,
|
|
14377
14401
|
handler:t(e.handler,n)})))]}),[])),[e,t])}(m,Ee);!function(e){p((()=>{
|
|
14378
|
-
if(!
|
|
14402
|
+
if(!f$)return;const t=e.map((e=>{let{sensor:t}=e
|
|
14379
14403
|
;return null==t.setup?void 0:t.setup()}));return()=>{
|
|
14380
14404
|
for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))
|
|
14381
|
-
}(m),
|
|
14405
|
+
}(m),z$((()=>{Q&&_===gj.Initializing&&H(gj.Initialized)}),[Q,_]),p((()=>{
|
|
14382
14406
|
const{onDragMove:e}=B.current,{active:t,activatorEvent:n,collisions:r,over:o}=te.current
|
|
14383
14407
|
;if(!t||!n)return;const a={active:t,activatorEvent:n,collisions:r,delta:{x:ge.x,
|
|
14384
14408
|
y:ge.y},over:o};x((()=>{null==e||e(a),E({type:"onDragMove",event:a})}))
|
|
@@ -14388,12 +14412,12 @@ const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjuste
|
|
|
14388
14412
|
;const{onDragOver:a}=B.current,i=r.get(we),l=i&&i.rect.current?{id:i.id,
|
|
14389
14413
|
rect:i.rect.current,data:i.data,disabled:i.disabled}:null,c={active:e,
|
|
14390
14414
|
activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:l};x((()=>{
|
|
14391
|
-
ze(l),null==a||a(c),E({type:"onDragOver",event:c})}))}),[we]),
|
|
14415
|
+
ze(l),null==a||a(c),E({type:"onDragOver",event:c})}))}),[we]),z$((()=>{
|
|
14392
14416
|
te.current={activatorEvent:F,active:R,activeNode:q,collisionRect:ye,
|
|
14393
14417
|
collisions:be,droppableRects:W,draggableNodes:L,draggingNode:oe,
|
|
14394
14418
|
draggingNodeRect:ae,droppableContainers:V,over:Ce,scrollableAncestors:ue,
|
|
14395
14419
|
scrollAdjustedTranslate:ge},P.current={initial:ae,translated:ye}
|
|
14396
|
-
}),[R,q,be,ye,L,oe,ae,W,V,Ce,ue,ge]),
|
|
14420
|
+
}),[R,q,be,ye,L,oe,ae,W,V,Ce,ue,ge]),WB({...X,delta:k,draggingRect:ye,
|
|
14397
14421
|
pointerCoordinates:pe,scrollableAncestors:ue,scrollableAncestorRects:de})
|
|
14398
14422
|
;const _e=r((()=>({active:R,activeNode:q,activeNodeRect:Q,activatorEvent:F,
|
|
14399
14423
|
collisions:be,containerNodeRect:ee,dragOverlay:re,draggableNodes:L,
|
|
@@ -14403,99 +14427,99 @@ measuringScheduled:K,windowRect:se
|
|
|
14403
14427
|
})),[R,q,Q,F,be,ee,re,L,V,W,Ce,G,ue,de,Y,K,se]),He=r((()=>({activatorEvent:F,
|
|
14404
14428
|
activators:Se,active:R,activeNodeRect:Q,ariaDescribedById:{draggable:j},
|
|
14405
14429
|
dispatch:M,draggableNodes:L,over:Ce,measureDroppableContainers:G
|
|
14406
|
-
})),[F,Se,R,Q,M,j,L,Ce,G]);return t.createElement(
|
|
14407
|
-
},t.createElement(
|
|
14408
|
-
},t.createElement(
|
|
14409
|
-
disabled:!1===(null==s?void 0:s.restoreFocus)})),t.createElement(
|
|
14410
|
-
hiddenTextDescribedById:j}))})),
|
|
14411
|
-
;function
|
|
14412
|
-
;const l=
|
|
14430
|
+
})),[F,Se,R,Q,M,j,L,Ce,G]);return t.createElement($$.Provider,{value:S
|
|
14431
|
+
},t.createElement(dj.Provider,{value:He},t.createElement(hj.Provider,{value:_e
|
|
14432
|
+
},t.createElement(vj.Provider,{value:Me},d)),t.createElement(mj,{
|
|
14433
|
+
disabled:!1===(null==s?void 0:s.restoreFocus)})),t.createElement(U$,{...s,
|
|
14434
|
+
hiddenTextDescribedById:j}))})),bj=n(null),wj="button",Cj="Droppable"
|
|
14435
|
+
;function zj(e){let{id:t,data:n,disabled:o=!1,attributes:i}=e
|
|
14436
|
+
;const l=D$(Cj),{activators:c,activatorEvent:s,active:u,activeNodeRect:d,ariaDescribedById:h,draggableNodes:p,over:f}=a(dj),{role:m=wj,roleDescription:v="draggable",tabIndex:g=0}=null!=i?i:{},y=(null==u?void 0:u.id)===t,b=a(y?vj:bj),[w,C]=S$(),[z,M]=S$(),x=function(e,t){
|
|
14413
14437
|
return r((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{
|
|
14414
|
-
o(e,t)},e}),{})),[e,t])}(c,t),E=
|
|
14438
|
+
o(e,t)},e}),{})),[e,t])}(c,t),E=x$(n);z$((()=>(p.set(t,{id:t,key:l,node:w,
|
|
14415
14439
|
activatorNode:z,data:E}),()=>{const e=p.get(t);e&&e.key===l&&p.delete(t)
|
|
14416
14440
|
})),[p,t]);return{active:u,activatorEvent:s,activeNodeRect:d,
|
|
14417
14441
|
attributes:r((()=>({role:m,tabIndex:g,"aria-disabled":o,
|
|
14418
|
-
"aria-pressed":!(!y||m!==
|
|
14442
|
+
"aria-pressed":!(!y||m!==wj)||void 0,"aria-roledescription":v,
|
|
14419
14443
|
"aria-describedby":h.draggable})),[o,m,g,y,v,h.draggable]),isDragging:y,
|
|
14420
14444
|
listeners:o?void 0:x,node:w,over:f,setNodeRef:C,setActivatorNodeRef:M,
|
|
14421
|
-
transform:b}}const
|
|
14445
|
+
transform:b}}const Mj="Droppable",xj={timeout:25};function Ej(e,t,n){const r={
|
|
14422
14446
|
...e}
|
|
14423
14447
|
;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),
|
|
14424
14448
|
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),
|
|
14425
|
-
r}const
|
|
14426
|
-
;const o=r[0];return t&&o?
|
|
14427
|
-
}},
|
|
14428
|
-
;return n&&r?
|
|
14429
|
-
;return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function
|
|
14449
|
+
r}const Sj=e=>{let{draggingNodeRect:t,transform:n,scrollableAncestorRects:r}=e
|
|
14450
|
+
;const o=r[0];return t&&o?Ej(n,t,o):n},_j=e=>{let{transform:t}=e;return{...t,x:0
|
|
14451
|
+
}},Hj=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e
|
|
14452
|
+
;return n&&r?Ej(t,n,r):t};function Dj(e,t,n){const r=e.slice()
|
|
14453
|
+
;return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function Aj(e,t){
|
|
14430
14454
|
return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e
|
|
14431
|
-
}),Array(e.length))}function
|
|
14432
|
-
let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=
|
|
14455
|
+
}),Array(e.length))}function Lj(e){return null!==e&&e>=0}const kj=e=>{
|
|
14456
|
+
let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const a=Dj(t,r,n),i=t[o],l=a[o]
|
|
14433
14457
|
;return l&&i?{x:l.left-i.left,y:l.top-i.top,scaleX:l.width/i.width,
|
|
14434
|
-
scaleY:l.height/i.height}:null},
|
|
14458
|
+
scaleY:l.height/i.height}:null},Vj={scaleX:1,scaleY:1},Tj=e=>{var t
|
|
14435
14459
|
;let{activeIndex:n,activeNodeRect:r,index:o,rects:a,overIndex:i}=e
|
|
14436
14460
|
;const l=null!=(t=a[n])?t:r;if(!l)return null;if(o===n){const e=a[i];return e?{
|
|
14437
|
-
x:0,y:n<i?e.top+e.height-(l.top+l.height):e.top-l.top,...
|
|
14461
|
+
x:0,y:n<i?e.top+e.height-(l.top+l.height):e.top-l.top,...Vj}:null}
|
|
14438
14462
|
const c=function(e,t,n){const r=e[t],o=e[t-1],a=e[t+1];if(!r)return 0
|
|
14439
14463
|
;if(n<t)return o?r.top-(o.top+o.height):a?a.top-(r.top+r.height):0
|
|
14440
14464
|
;return a?a.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(a,o,n)
|
|
14441
|
-
;return o>n&&o<=i?{x:0,y:-l.height-c,...
|
|
14442
|
-
x:0,y:0,...
|
|
14443
|
-
containerId:
|
|
14444
|
-
sortedRects:[],strategy:
|
|
14445
|
-
;function
|
|
14446
|
-
;const{active:s,dragOverlay:u,droppableRects:d,over:f,measureDroppableContainers:m}=a(
|
|
14465
|
+
;return o>n&&o<=i?{x:0,y:-l.height-c,...Vj}:o<n&&o>=i?{x:0,y:l.height+c,...Vj}:{
|
|
14466
|
+
x:0,y:0,...Vj}};const Pj="Sortable",Rj=t.createContext({activeIndex:-1,
|
|
14467
|
+
containerId:Pj,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,
|
|
14468
|
+
sortedRects:[],strategy:kj,disabled:{draggable:!1,droppable:!1}})
|
|
14469
|
+
;function Ij(e){let{children:n,id:o,items:i,strategy:l=kj,disabled:c=!1}=e
|
|
14470
|
+
;const{active:s,dragOverlay:u,droppableRects:d,over:f,measureDroppableContainers:m}=a(hj),v=D$(Pj,o),g=Boolean(null!==u.rect),y=r((()=>i.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[i]),b=null!=s,w=s?y.indexOf(s.id):-1,C=f?y.indexOf(f.id):-1,z=h(y),M=!function(e,t){
|
|
14447
14471
|
if(e===t)return!0;if(e.length!==t.length)return!1
|
|
14448
14472
|
;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0
|
|
14449
14473
|
}(y,z.current),x=-1!==C&&-1===w||M,E=function(e){return"boolean"==typeof e?{
|
|
14450
|
-
draggable:e,droppable:e}:e}(c);
|
|
14474
|
+
draggable:e,droppable:e}:e}(c);z$((()=>{M&&b&&m(y)}),[M,y,b,m]),p((()=>{
|
|
14451
14475
|
z.current=y}),[y]);const S=r((()=>({activeIndex:w,containerId:v,disabled:E,
|
|
14452
|
-
disableTransforms:x,items:y,overIndex:C,useDragOverlay:g,sortedRects:
|
|
14476
|
+
disableTransforms:x,items:y,overIndex:C,useDragOverlay:g,sortedRects:Aj(y,d),
|
|
14453
14477
|
strategy:l})),[w,v,E.draggable,E.droppable,x,y,C,d,g,l])
|
|
14454
|
-
;return t.createElement(
|
|
14455
|
-
let{id:t,items:n,activeIndex:r,overIndex:o}=e;return
|
|
14456
|
-
},
|
|
14478
|
+
;return t.createElement(Rj.Provider,{value:S},n)}const Oj=e=>{
|
|
14479
|
+
let{id:t,items:n,activeIndex:r,overIndex:o}=e;return Dj(n,r,o).indexOf(t)
|
|
14480
|
+
},Nj=e=>{
|
|
14457
14481
|
let{containerId:t,isSorting:n,wasDragging:r,index:o,items:a,newIndex:i,previousItems:l,previousContainerId:c,transition:s}=e
|
|
14458
|
-
;return!(!s||!r)&&((l===a||o!==i)&&(!!n||i!==o&&t===c))},
|
|
14459
|
-
easing:"ease"}
|
|
14460
|
-
easing:"linear"})
|
|
14461
|
-
let{animateLayoutChanges:t=
|
|
14462
|
-
;const{items:v,containerId:g,activeIndex:y,disabled:b,disableTransforms:w,sortedRects:C,overIndex:z,useDragOverlay:M,strategy:x}=a(
|
|
14482
|
+
;return!(!s||!r)&&((l===a||o!==i)&&(!!n||i!==o&&t===c))},Fj={duration:200,
|
|
14483
|
+
easing:"ease"},$j="transform",Bj=P$.Transition.toString({property:$j,duration:0,
|
|
14484
|
+
easing:"linear"}),jj={roleDescription:"sortable"};function Uj(e){
|
|
14485
|
+
let{animateLayoutChanges:t=Nj,attributes:n,disabled:o,data:l,getNewIndex:c=Oj,id:s,strategy:u,resizeObserverConfig:d,transition:m=Fj}=e
|
|
14486
|
+
;const{items:v,containerId:g,activeIndex:y,disabled:b,disableTransforms:w,sortedRects:C,overIndex:z,useDragOverlay:M,strategy:x}=a(Rj),E=function(e,t){
|
|
14463
14487
|
var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{
|
|
14464
14488
|
draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,
|
|
14465
14489
|
droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}
|
|
14466
14490
|
}(o,b),S=v.indexOf(s),_=r((()=>({sortable:{containerId:g,index:S,items:v},...l
|
|
14467
14491
|
})),[g,l,S,v]),H=r((()=>v.slice(v.indexOf(s))),[v,s]),{rect:D,node:A,isOver:L,setNodeRef:k}=function(e){
|
|
14468
14492
|
let{data:t,disabled:n=!1,id:r,resizeObserverConfig:o}=e
|
|
14469
|
-
;const l=
|
|
14493
|
+
;const l=D$(Mj),{active:c,dispatch:s,over:u,measureDroppableContainers:d}=a(dj),f=h({
|
|
14470
14494
|
disabled:n
|
|
14471
14495
|
}),m=h(!1),v=h(null),g=h(null),{disabled:y,updateMeasurementsFor:b,timeout:w}={
|
|
14472
|
-
...
|
|
14496
|
+
...xj,...o},C=x$(null!=b?b:r),z=JB({callback:i((()=>{
|
|
14473
14497
|
m.current?(null!=g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{
|
|
14474
14498
|
d(Array.isArray(C.current)?C.current:[C.current]),g.current=null
|
|
14475
14499
|
}),w)):m.current=!0}),[w]),disabled:y||!c}),M=i(((e,t)=>{z&&(t&&(z.unobserve(t),
|
|
14476
|
-
m.current=!1),e&&z.observe(e))}),[z]),[x,E]=
|
|
14500
|
+
m.current=!1),e&&z.observe(e))}),[z]),[x,E]=S$(M),S=x$(t);return p((()=>{
|
|
14477
14501
|
z&&x.current&&(z.disconnect(),m.current=!1,z.observe(x.current))
|
|
14478
|
-
}),[x,z]),
|
|
14479
|
-
node:x,rect:v,data:S}}),()=>s({type:
|
|
14480
|
-
}))),[r]),p((()=>{n!==f.current.disabled&&(s({type:
|
|
14502
|
+
}),[x,z]),z$((()=>(s({type:Y$.RegisterDroppable,element:{id:r,key:l,disabled:n,
|
|
14503
|
+
node:x,rect:v,data:S}}),()=>s({type:Y$.UnregisterDroppable,key:l,id:r
|
|
14504
|
+
}))),[r]),p((()=>{n!==f.current.disabled&&(s({type:Y$.SetDroppableDisabled,id:r,
|
|
14481
14505
|
key:l,disabled:n}),f.current.disabled=n)}),[r,l,n,s]),{active:c,rect:v,
|
|
14482
14506
|
isOver:(null==u?void 0:u.id)===r,node:x,over:u,setNodeRef:E}}({id:s,data:_,
|
|
14483
14507
|
disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:H,...d}
|
|
14484
|
-
}),{active:V,activatorEvent:T,activeNodeRect:P,attributes:R,setNodeRef:I,listeners:O,isDragging:N,over:F,setActivatorNodeRef:$,transform:B}=
|
|
14485
|
-
id:s,data:_,attributes:{
|
|
14508
|
+
}),{active:V,activatorEvent:T,activeNodeRect:P,attributes:R,setNodeRef:I,listeners:O,isDragging:N,over:F,setActivatorNodeRef:$,transform:B}=zj({
|
|
14509
|
+
id:s,data:_,attributes:{...jj,...n},disabled:E.draggable}),j=function(){
|
|
14486
14510
|
for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
|
14487
14511
|
;return r((()=>e=>{t.forEach((t=>t(e)))}),t)
|
|
14488
|
-
}(k,I),U=Boolean(V),Y=U&&!w&&
|
|
14512
|
+
}(k,I),U=Boolean(V),Y=U&&!w&&Lj(y)&&Lj(z),W=!M&&N,G=W&&Y?B:null,K=Y?null!=G?G:(null!=u?u:x)({
|
|
14489
14513
|
rects:C,activeNodeRect:P,activeIndex:y,overIndex:z,index:S
|
|
14490
|
-
}):null,q=
|
|
14514
|
+
}):null,q=Lj(y)&&Lj(z)?c({id:s,items:v,activeIndex:y,overIndex:z
|
|
14491
14515
|
}):S,Z=null==V?void 0:V.id,X=h({activeId:Z,items:v,newIndex:q,containerId:g
|
|
14492
14516
|
}),J=v!==X.current.items,Q=t({active:V,containerId:g,isDragging:N,isSorting:U,
|
|
14493
14517
|
id:s,index:S,items:v,newIndex:X.current.newIndex,previousItems:X.current.items,
|
|
14494
14518
|
previousContainerId:X.current.containerId,transition:m,
|
|
14495
14519
|
wasDragging:null!=X.current.activeId}),ee=function(e){
|
|
14496
14520
|
let{disabled:t,index:n,node:r,rect:o}=e;const[a,i]=f(null),l=h(n)
|
|
14497
|
-
;return
|
|
14498
|
-
const t=
|
|
14521
|
+
;return z$((()=>{if(!t&&n!==l.current&&r.current){const e=o.current;if(e){
|
|
14522
|
+
const t=cB(r.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,
|
|
14499
14523
|
scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&i(n)}}
|
|
14500
14524
|
n!==l.current&&(l.current=n)}),[t,n,r,o]),p((()=>{a&&i(null)}),[a]),a}({
|
|
14501
14525
|
disabled:!Q,index:S,node:A,rect:D});return p((()=>{
|
|
@@ -14509,32 +14533,32 @@ if(Z===X.current.activeId)return
|
|
|
14509
14533
|
items:v,isOver:L,isSorting:U,isDragging:N,listeners:O,node:A,overIndex:z,over:F,
|
|
14510
14534
|
setNodeRef:j,setActivatorNodeRef:$,setDroppableNodeRef:k,setDraggableNodeRef:I,
|
|
14511
14535
|
transform:null!=ee?ee:K,transition:function(){
|
|
14512
|
-
if(ee||J&&X.current.newIndex===S)return
|
|
14513
|
-
;if(U||Q)return
|
|
14514
|
-
function
|
|
14536
|
+
if(ee||J&&X.current.newIndex===S)return Bj;if(W&&!V$(T)||!m)return
|
|
14537
|
+
;if(U||Q)return P$.Transition.toString({...m,property:$j});return}()}}
|
|
14538
|
+
function Yj(e){if(!e)return!1;const t=e.data.current
|
|
14515
14539
|
;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)
|
|
14516
|
-
}const
|
|
14540
|
+
}const Wj=[HB.Down,HB.Right,HB.Up,HB.Left],Gj=(e,t)=>{
|
|
14517
14541
|
let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:a,over:i,scrollableAncestors:l}}=t
|
|
14518
|
-
;if(
|
|
14542
|
+
;if(Wj.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[]
|
|
14519
14543
|
;a.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return
|
|
14520
|
-
;const a=o.get(n.id);if(a)switch(e.code){case
|
|
14521
|
-
;break;case
|
|
14522
|
-
r.left>a.left&&t.push(n);break;case
|
|
14544
|
+
;const a=o.get(n.id);if(a)switch(e.code){case HB.Down:r.top<a.top&&t.push(n)
|
|
14545
|
+
;break;case HB.Up:r.top>a.top&&t.push(n);break;case HB.Left:
|
|
14546
|
+
r.left>a.left&&t.push(n);break;case HB.Right:r.left<a.left&&t.push(n)}}))
|
|
14523
14547
|
;const c=(e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e
|
|
14524
|
-
;const o=
|
|
14525
|
-
const n=
|
|
14526
|
-
;a.push({id:t,data:{droppableContainer:e,value:l}})}}return a.sort(
|
|
14548
|
+
;const o=J$(t),a=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){
|
|
14549
|
+
const n=J$(r),i=o.reduce(((e,t,r)=>e+q$(n[r],t)),0),l=Number((i/4).toFixed(4))
|
|
14550
|
+
;a.push({id:t,data:{droppableContainer:e,value:l}})}}return a.sort(Z$)})({
|
|
14527
14551
|
active:n,collisionRect:r,droppableRects:o,droppableContainers:t,
|
|
14528
|
-
pointerCoordinates:null});let s=
|
|
14552
|
+
pointerCoordinates:null});let s=Q$(c,"id")
|
|
14529
14553
|
;if(s===(null==i?void 0:i.id)&&c.length>1&&(s=c[1].id),null!=s){
|
|
14530
14554
|
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
|
|
14531
|
-
;if(c&&i&&e&&t){const n=
|
|
14532
|
-
if(!
|
|
14555
|
+
;if(c&&i&&e&&t){const n=uB(c).some(((e,t)=>l[t]!==e)),o=Kj(e,t),a=function(e,t){
|
|
14556
|
+
if(!Yj(e)||!Yj(t))return!1;if(!Kj(e,t))return!1
|
|
14533
14557
|
;return e.data.current.sortable.index<t.data.current.sortable.index
|
|
14534
14558
|
}(e,t),s=n||!o?{x:0,y:0}:{x:a?r.width-i.width:0,y:a?r.height-i.height:0},u={
|
|
14535
|
-
x:i.left,y:i.top};return s.x&&s.y?u:
|
|
14536
|
-
return!(!
|
|
14537
|
-
}var
|
|
14559
|
+
x:i.left,y:i.top};return s.x&&s.y?u:k$(u,s)}}}};function Kj(e,t){
|
|
14560
|
+
return!(!Yj(e)||!Yj(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId
|
|
14561
|
+
}var qj={exports:{}};!function(e,t){(function(){
|
|
14538
14562
|
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]",A="[object Symbol]",L="[object WeakMap]",k="[object ArrayBuffer]",V="[object DataView]",T="[object Float32Array]",P="[object Float64Array]",R="[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",_e="\\ufe0e\\ufe0f",He="\\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",De="['’]",Ae="["+ze+"]",Le="["+He+"]",ke="["+Me+"]",Ve="\\d+",Te="["+xe+"]",Pe="["+Ee+"]",Re="[^"+ze+He+Ve+xe+Ee+Se+"]",Ie="\\ud83c[\\udffb-\\udfff]",Oe="[^"+ze+"]",Ne="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+Se+"]",Be="\\u200d",je="(?:"+Pe+"|"+Re+")",Ue="(?:"+$e+"|"+Re+")",Ye="(?:['’](?:d|ll|m|re|s|t|ve))?",We="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+ke+"|"+Ie+")"+"?",qe="["+_e+"]?",Ze=qe+Ke+("(?:"+Be+"(?:"+[Oe,Ne,Fe].join("|")+")"+qe+Ke+")*"),Xe="(?:"+[Te,Ne,Fe].join("|")+")"+Ze,Je="(?:"+[Oe+ke+"?",ke,Ne,Fe,Ae].join("|")+")",Qe=RegExp(De,"g"),et=RegExp(ke,"g"),tt=RegExp(Ie+"(?="+Ie+")|"+Je+Ze,"g"),nt=RegExp([$e+"?"+Pe+"+"+Ye+"(?="+[Le,$e,"$"].join("|")+")",Ue+"+"+We+"(?="+[Le,$e+je,"$"].join("|")+")",$e+"?"+je+"+"+Ye,$e+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ve,Xe].join("|"),"g"),rt=RegExp("["+Be+ze+Me+_e+"]"),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={}
|
|
14539
14563
|
;lt[T]=lt[P]=lt[R]=lt[I]=lt[O]=lt[N]=lt[F]=lt[$]=lt[B]=!0,
|
|
14540
14564
|
lt[v]=lt[g]=lt[k]=lt[y]=lt[V]=lt[b]=lt[w]=lt[C]=lt[M]=lt[x]=lt[E]=lt[_]=lt[H]=lt[D]=lt[L]=!1
|
|
@@ -15545,10 +15569,10 @@ func:pi,args:[ei],thisArg:n}),new jn(t,this.__chain__)}return this.thru(ei)
|
|
|
15545
15569
|
return mo(this.__wrapped__,this.__actions__)
|
|
15546
15570
|
},Fn.prototype.first=Fn.prototype.head,Xe&&(Fn.prototype[Xe]=function(){
|
|
15547
15571
|
return this}),Fn}();vt?((vt.exports=gn)._=gn,mt._=gn):ft._=gn}).call(Ge)
|
|
15548
|
-
}(
|
|
15549
|
-
;const
|
|
15572
|
+
}(qj,qj.exports);var Zj=qj.exports
|
|
15573
|
+
;const Xj=()=>Math.random().toString(32).slice(2,10),Jj=Or.div`
|
|
15550
15574
|
direction: ${({theme:e})=>e.direction};
|
|
15551
|
-
`,
|
|
15575
|
+
`,Qj=Or.div`
|
|
15552
15576
|
display: flex;
|
|
15553
15577
|
align-items: center;
|
|
15554
15578
|
border-radius: 4px;
|
|
@@ -15563,7 +15587,7 @@ return this}),Fn}();vt?((vt.exports=gn)._=gn,mt._=gn):ft._=gn}).call(Ge)
|
|
|
15563
15587
|
flex: 1;
|
|
15564
15588
|
}
|
|
15565
15589
|
opacity: ${({disabled:e})=>e?.5:1};
|
|
15566
|
-
`,
|
|
15590
|
+
`,eU=t.forwardRef(((e,n)=>t.createElement("svg",{width:"16",height:"16",
|
|
15567
15591
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
15568
15592
|
},t.createElement("path",{
|
|
15569
15593
|
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",
|
|
@@ -15577,28 +15601,28 @@ fill:e.fill??"currentcolor"}),t.createElement("path",{
|
|
|
15577
15601
|
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",
|
|
15578
15602
|
fill:e.fill??"currentcolor"}),t.createElement("path",{
|
|
15579
15603
|
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",
|
|
15580
|
-
fill:e.fill??"currentcolor"})))),
|
|
15604
|
+
fill:e.fill??"currentcolor"})))),tU=e=>{
|
|
15581
15605
|
const{items:n,customRender:o,onReorder:a,customFilter:i=(()=>!0),className:l,showDragger:c=!0,disabled:s=!1}=e,[u,d]=t.useState([]),h=function(){
|
|
15582
15606
|
for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
|
15583
|
-
;return r((()=>[...t].filter((e=>null!=e))),[...t])}(
|
|
15584
|
-
coordinateGetter:
|
|
15585
|
-
id:
|
|
15586
|
-
},t.createElement(
|
|
15607
|
+
;return r((()=>[...t].filter((e=>null!=e))),[...t])}(G$($B),G$(jB),G$(VB,{
|
|
15608
|
+
coordinateGetter:Gj}));return t.useEffect((()=>{n&&Zj.isArray(n)&&d(n.map((e=>({
|
|
15609
|
+
id:Xj(),data:e}))))}),[n]),t.createElement(Jj,{className:l||""
|
|
15610
|
+
},t.createElement(yj,{sensors:h,collisionDetection:tB,onDragEnd:e=>{
|
|
15587
15611
|
const{active:t,over:r}=e;if(t.id!==r?.id){
|
|
15588
|
-
const e=u.map((e=>e.id)),o=e.indexOf(t.id.toString()),i=e.indexOf(r?.id.toString()||""),l=
|
|
15589
|
-
;d(l),a&&a([...c])}},modifiers:[
|
|
15590
|
-
strategy:
|
|
15612
|
+
const e=u.map((e=>e.id)),o=e.indexOf(t.id.toString()),i=e.indexOf(r?.id.toString()||""),l=Dj(u,o,i),c=Dj(n,o,i)
|
|
15613
|
+
;d(l),a&&a([...c])}},modifiers:[_j,Hj,Sj]},t.createElement(Ij,{items:u,
|
|
15614
|
+
strategy:Tj},u.filter((e=>i(e.data))).map(((e,n)=>t.createElement(nU,{
|
|
15591
15615
|
customRender:o,item:e.data,disabled:s,itemIndex:n,showDragger:c,
|
|
15592
|
-
key:e.data.id.toString(),id:e.id}))))))},
|
|
15593
|
-
const n=Hr(),{id:r,item:o,itemIndex:a,customRender:i,showDragger:l,disabled:c,key:s}=e,{attributes:u,listeners:d,setNodeRef:h,transform:p,transition:f}=
|
|
15594
|
-
id:r}),m={transform:
|
|
15595
|
-
;return t.createElement(
|
|
15616
|
+
key:e.data.id.toString(),id:e.id}))))))},nU=e=>{
|
|
15617
|
+
const n=Hr(),{id:r,item:o,itemIndex:a,customRender:i,showDragger:l,disabled:c,key:s}=e,{attributes:u,listeners:d,setNodeRef:h,transform:p,transition:f}=Uj({
|
|
15618
|
+
id:r}),m={transform:P$.Translate.toString(p),transition:f}
|
|
15619
|
+
;return t.createElement(Qj,{disabled:c,className:"ReorderItemContainer",ref:h,
|
|
15596
15620
|
style:m,...u,key:s},l&&t.createElement(Qo,{className:"ItemDragger",disabled:c,
|
|
15597
|
-
...c?{}:d},t.createElement(
|
|
15621
|
+
...c?{}:d},t.createElement(eU,{fill:n.colors.text.primary
|
|
15598
15622
|
})),t.createElement("div",{className:"CustomItem",...l?{}:d},i(o,a,d)))}
|
|
15599
|
-
;function
|
|
15600
|
-
t.setState((t=>({...t,[e]:
|
|
15601
|
-
return e instanceof Function}function
|
|
15623
|
+
;function rU(e,t){return"function"==typeof e?e(t):e}function oU(e,t){return n=>{
|
|
15624
|
+
t.setState((t=>({...t,[e]:rU(n,t[e])})))}}function aU(e){
|
|
15625
|
+
return e instanceof Function}function iU(e,t,n){let r,o=[];return a=>{let i
|
|
15602
15626
|
;n.key&&n.debug&&(i=Date.now())
|
|
15603
15627
|
;const l=e(a),c=l.length!==o.length||l.some(((e,t)=>o[t]!==e));if(!c)return r
|
|
15604
15628
|
;let s
|
|
@@ -15607,51 +15631,51 @@ n.key&&n.debug&&null!=n&&n.debug()){
|
|
|
15607
15631
|
const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,o=(e,t)=>{
|
|
15608
15632
|
for(e=String(e);e.length<t;)e=" "+e;return e}
|
|
15609
15633
|
;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)
|
|
15610
|
-
}return r}}function
|
|
15634
|
+
}return r}}function lU(e,t,n,r){return{debug:()=>{var n
|
|
15611
15635
|
;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},
|
|
15612
|
-
key:"development"===process.env.NODE_ENV&&n,onChange:r}}const
|
|
15613
|
-
;function
|
|
15636
|
+
key:"development"===process.env.NODE_ENV&&n,onChange:r}}const cU="debugHeaders"
|
|
15637
|
+
;function sU(e,t,n){var r;let o={id:null!=(r=n.id)?r:t.id,column:t,
|
|
15614
15638
|
index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,
|
|
15615
15639
|
depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,
|
|
15616
15640
|
getLeafHeaders:()=>{const e=[],t=n=>{
|
|
15617
15641
|
n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(o),e
|
|
15618
15642
|
},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{
|
|
15619
|
-
null==t.createHeader||t.createHeader(o,e)})),o}const
|
|
15620
|
-
e.getHeaderGroups=
|
|
15643
|
+
null==t.createHeader||t.createHeader(o,e)})),o}const uU={createTable:e=>{
|
|
15644
|
+
e.getHeaderGroups=iU((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{
|
|
15621
15645
|
var a,i
|
|
15622
15646
|
;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))))
|
|
15623
|
-
;return
|
|
15624
|
-
}),
|
|
15625
|
-
|
|
15626
|
-
e.getLeftHeaderGroups=
|
|
15647
|
+
;return dU(t,[...l,...s,...c],e)
|
|
15648
|
+
}),lU(e.options,cU,"getHeaderGroups")),e.getCenterHeaderGroups=iU((()=>[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)))),
|
|
15649
|
+
dU(t,n,e,"center"))),lU(e.options,cU,"getCenterHeaderGroups")),
|
|
15650
|
+
e.getLeftHeaderGroups=iU((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{
|
|
15627
15651
|
var o
|
|
15628
|
-
;return
|
|
15629
|
-
}),
|
|
15630
|
-
e.getRightHeaderGroups=
|
|
15652
|
+
;return dU(t,null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],e,"left")
|
|
15653
|
+
}),lU(e.options,cU,"getLeftHeaderGroups")),
|
|
15654
|
+
e.getRightHeaderGroups=iU((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{
|
|
15631
15655
|
var o
|
|
15632
|
-
;return
|
|
15633
|
-
}),
|
|
15634
|
-
e.getFooterGroups=
|
|
15635
|
-
e.getLeftFooterGroups=
|
|
15636
|
-
e.getCenterFooterGroups=
|
|
15637
|
-
e.getRightFooterGroups=
|
|
15638
|
-
e.getFlatHeaders=
|
|
15639
|
-
e.getLeftFlatHeaders=
|
|
15640
|
-
e.getCenterFlatHeaders=
|
|
15641
|
-
e.getRightFlatHeaders=
|
|
15642
|
-
e.getCenterLeafHeaders=
|
|
15656
|
+
;return dU(t,null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],e,"right")
|
|
15657
|
+
}),lU(e.options,cU,"getRightHeaderGroups")),
|
|
15658
|
+
e.getFooterGroups=iU((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),lU(e.options,cU,"getFooterGroups")),
|
|
15659
|
+
e.getLeftFooterGroups=iU((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),lU(e.options,cU,"getLeftFooterGroups")),
|
|
15660
|
+
e.getCenterFooterGroups=iU((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),lU(e.options,cU,"getCenterFooterGroups")),
|
|
15661
|
+
e.getRightFooterGroups=iU((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),lU(e.options,cU,"getRightFooterGroups")),
|
|
15662
|
+
e.getFlatHeaders=iU((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),lU(e.options,cU,"getFlatHeaders")),
|
|
15663
|
+
e.getLeftFlatHeaders=iU((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),lU(e.options,cU,"getLeftFlatHeaders")),
|
|
15664
|
+
e.getCenterFlatHeaders=iU((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),lU(e.options,cU,"getCenterFlatHeaders")),
|
|
15665
|
+
e.getRightFlatHeaders=iU((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),lU(e.options,cU,"getRightFlatHeaders")),
|
|
15666
|
+
e.getCenterLeafHeaders=iU((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{
|
|
15643
15667
|
var t;return!(null!=(t=e.subHeaders)&&t.length)
|
|
15644
|
-
}))),
|
|
15645
|
-
e.getLeftLeafHeaders=
|
|
15668
|
+
}))),lU(e.options,cU,"getCenterLeafHeaders")),
|
|
15669
|
+
e.getLeftLeafHeaders=iU((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t
|
|
15646
15670
|
;return!(null!=(t=e.subHeaders)&&t.length)
|
|
15647
|
-
}))),
|
|
15648
|
-
e.getRightLeafHeaders=
|
|
15671
|
+
}))),lU(e.options,cU,"getLeftLeafHeaders")),
|
|
15672
|
+
e.getRightLeafHeaders=iU((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t
|
|
15649
15673
|
;return!(null!=(t=e.subHeaders)&&t.length)
|
|
15650
|
-
}))),
|
|
15651
|
-
e.getLeafHeaders=
|
|
15674
|
+
}))),lU(e.options,cU,"getRightLeafHeaders")),
|
|
15675
|
+
e.getLeafHeaders=iU((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{
|
|
15652
15676
|
var r,o,a,i,l,c
|
|
15653
15677
|
;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()
|
|
15654
|
-
}),
|
|
15678
|
+
}),lU(e.options,cU,"getLeafHeaders"))}};function dU(e,t,n,r){var o,a;let i=0
|
|
15655
15679
|
;const l=function(e,t){
|
|
15656
15680
|
void 0===t&&(t=1),i=Math.max(i,t),e.filter((e=>e.getIsVisible())).forEach((e=>{
|
|
15657
15681
|
var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let c=[]
|
|
@@ -15659,18 +15683,18 @@ var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let c=[]
|
|
|
15659
15683
|
headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,c=!1
|
|
15660
15684
|
;if(e.column.depth===o.depth&&e.column.parent?l=e.column.parent:(l=e.column,
|
|
15661
15685
|
c=!0),i&&(null==i?void 0:i.column)===l)i.subHeaders.push(e);else{
|
|
15662
|
-
const o=
|
|
15686
|
+
const o=sU(n,l,{id:[r,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),
|
|
15663
15687
|
isPlaceholder:c,placeholderId:c?`${a.filter((e=>e.column===l)).length}`:void 0,
|
|
15664
15688
|
depth:t,index:a.length});o.subHeaders.push(e),a.push(o)}
|
|
15665
15689
|
o.headers.push(e),e.headerGroup=o})),c.push(o),t>0&&s(a,t-1)
|
|
15666
|
-
},u=t.map(((e,t)=>
|
|
15690
|
+
},u=t.map(((e,t)=>sU(n,e,{depth:i,index:t})));s(u,i-1),c.reverse();const d=e=>{
|
|
15667
15691
|
const t=e.filter((e=>e.column.getIsVisible()));return t.map((e=>{
|
|
15668
15692
|
let t=0,n=0,r=[0]
|
|
15669
15693
|
;e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{
|
|
15670
15694
|
let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1
|
|
15671
15695
|
;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}))}
|
|
15672
15696
|
;return d(null!=(o=null==(a=c[0])?void 0:a.headers)?o:[]),c}
|
|
15673
|
-
const
|
|
15697
|
+
const hU=(e,t,n,r,o,a,i)=>{let l={id:t,index:r,original:n,depth:o,parentId:i,
|
|
15674
15698
|
_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{
|
|
15675
15699
|
if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t]
|
|
15676
15700
|
;const n=e.getColumn(t)
|
|
@@ -15688,19 +15712,19 @@ e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(e),n
|
|
|
15688
15712
|
getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{
|
|
15689
15713
|
let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}
|
|
15690
15714
|
return e.reverse()},
|
|
15691
|
-
getAllCells:
|
|
15715
|
+
getAllCells:iU((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){
|
|
15692
15716
|
const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),
|
|
15693
15717
|
renderValue:()=>{var t
|
|
15694
15718
|
;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},
|
|
15695
|
-
getContext:
|
|
15719
|
+
getContext:iU((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,
|
|
15696
15720
|
getValue:r.getValue,renderValue:r.renderValue
|
|
15697
|
-
})),
|
|
15721
|
+
})),lU(e.options,"debugCells","cell.getContext"))}
|
|
15698
15722
|
;return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)
|
|
15699
|
-
}),{}),o}(e,l,t,t.id)))),
|
|
15700
|
-
_getAllCellsByColumnId:
|
|
15701
|
-
e)),{})),
|
|
15723
|
+
}),{}),o}(e,l,t,t.id)))),lU(e.options,"debugRows","getAllCells")),
|
|
15724
|
+
_getAllCellsByColumnId:iU((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,
|
|
15725
|
+
e)),{})),lU(e.options,"debugRows","getAllCellsByColumnId"))}
|
|
15702
15726
|
;for(let t=0;t<e._features.length;t++){const n=e._features[t]
|
|
15703
|
-
;null==n||null==n.createRow||n.createRow(l,e)}return l},
|
|
15727
|
+
;null==n||null==n.createRow||n.createRow(l,e)}return l},pU={
|
|
15704
15728
|
createColumn:(e,t)=>{
|
|
15705
15729
|
e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),
|
|
15706
15730
|
e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),
|
|
@@ -15708,36 +15732,36 @@ e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFaceted
|
|
|
15708
15732
|
e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,
|
|
15709
15733
|
e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),
|
|
15710
15734
|
e.getFacetedMinMaxValues=()=>{
|
|
15711
|
-
if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},
|
|
15735
|
+
if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},fU=(e,t,n)=>{
|
|
15712
15736
|
var r;const o=n.toLowerCase()
|
|
15713
15737
|
;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))
|
|
15714
|
-
};
|
|
15738
|
+
};fU.autoRemove=e=>xU(e);const mU=(e,t,n)=>{var r
|
|
15715
15739
|
;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))
|
|
15716
|
-
};
|
|
15740
|
+
};mU.autoRemove=e=>xU(e);const vU=(e,t,n)=>{var r
|
|
15717
15741
|
;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())
|
|
15718
|
-
};
|
|
15742
|
+
};vU.autoRemove=e=>xU(e);const gU=(e,t,n)=>{var r
|
|
15719
15743
|
;return null==(r=e.getValue(t))?void 0:r.includes(n)}
|
|
15720
|
-
;
|
|
15744
|
+
;gU.autoRemove=e=>xU(e)||!(null!=e&&e.length);const yU=(e,t,n)=>!n.some((n=>{
|
|
15721
15745
|
var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}))
|
|
15722
|
-
;
|
|
15746
|
+
;yU.autoRemove=e=>xU(e)||!(null!=e&&e.length);const bU=(e,t,n)=>n.some((n=>{
|
|
15723
15747
|
var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}))
|
|
15724
|
-
;
|
|
15725
|
-
;const
|
|
15726
|
-
;const
|
|
15727
|
-
let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};
|
|
15748
|
+
;bU.autoRemove=e=>xU(e)||!(null!=e&&e.length)
|
|
15749
|
+
;const wU=(e,t,n)=>e.getValue(t)===n;wU.autoRemove=e=>xU(e)
|
|
15750
|
+
;const CU=(e,t,n)=>e.getValue(t)==n;CU.autoRemove=e=>xU(e);const zU=(e,t,n)=>{
|
|
15751
|
+
let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};zU.resolveFilterValue=e=>{
|
|
15728
15752
|
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
|
|
15729
15753
|
;if(a>i){const e=a;a=i,i=e}return[a,i]
|
|
15730
|
-
},
|
|
15731
|
-
includesStringSensitive:
|
|
15732
|
-
arrIncludesSome:
|
|
15733
|
-
return null==e||""===e}const
|
|
15754
|
+
},zU.autoRemove=e=>xU(e)||xU(e[0])&&xU(e[1]);const MU={includesString:fU,
|
|
15755
|
+
includesStringSensitive:mU,equalsString:vU,arrIncludes:gU,arrIncludesAll:yU,
|
|
15756
|
+
arrIncludesSome:bU,equals:wU,weakEquals:CU,inNumberRange:zU};function xU(e){
|
|
15757
|
+
return null==e||""===e}const EU={getDefaultColumnDef:()=>({filterFn:"auto"}),
|
|
15734
15758
|
getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({
|
|
15735
|
-
onColumnFiltersChange:
|
|
15759
|
+
onColumnFiltersChange:oU("columnFilters",e),filterFromLeafRows:!1,
|
|
15736
15760
|
maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{
|
|
15737
15761
|
const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id)
|
|
15738
|
-
;return"string"==typeof r?
|
|
15762
|
+
;return"string"==typeof r?MU.includesString:"number"==typeof r?MU.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?MU.equals:Array.isArray(r)?MU.arrIncludes:MU.weakEquals
|
|
15739
15763
|
},e.getFilterFn=()=>{var n,r
|
|
15740
|
-
;return
|
|
15764
|
+
;return aU(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:MU[e.columnDef.filterFn]
|
|
15741
15765
|
},e.getCanFilter=()=>{var n,r,o
|
|
15742
15766
|
;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn
|
|
15743
15767
|
},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n
|
|
@@ -15745,24 +15769,24 @@ const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id)
|
|
|
15745
15769
|
},e.getFilterIndex=()=>{var n,r
|
|
15746
15770
|
;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1
|
|
15747
15771
|
},e.setFilterValue=n=>{t.setColumnFilters((t=>{
|
|
15748
|
-
const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=
|
|
15772
|
+
const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=rU(n,o?o.value:void 0)
|
|
15749
15773
|
;var i
|
|
15750
|
-
;if(
|
|
15774
|
+
;if(SU(r,a,e))return null!=(i=null==t?void 0:t.filter((t=>t.id!==e.id)))?i:[]
|
|
15751
15775
|
;const l={id:e.id,value:a};var c
|
|
15752
15776
|
;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]
|
|
15753
15777
|
}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},
|
|
15754
15778
|
createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns()
|
|
15755
15779
|
;null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{
|
|
15756
|
-
var r;return null==(r=
|
|
15757
|
-
const t=n.find((t=>t.id===e.id));if(t){if(
|
|
15780
|
+
var r;return null==(r=rU(t,e))?void 0:r.filter((e=>{
|
|
15781
|
+
const t=n.find((t=>t.id===e.id));if(t){if(SU(t.getFilterFn(),e.value,t))return!1
|
|
15758
15782
|
}return!0}))}))},e.resetColumnFilters=t=>{var n,r
|
|
15759
15783
|
;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])
|
|
15760
15784
|
},
|
|
15761
15785
|
e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),
|
|
15762
15786
|
e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())
|
|
15763
|
-
}};function
|
|
15787
|
+
}};function SU(e,t,n){
|
|
15764
15788
|
return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t
|
|
15765
|
-
}const
|
|
15789
|
+
}const _U={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e)
|
|
15766
15790
|
;return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r
|
|
15767
15791
|
;return n.forEach((t=>{const n=t.getValue(e)
|
|
15768
15792
|
;null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r
|
|
@@ -15779,10 +15803,10 @@ if(!t.length)return;const n=t.map((t=>t.getValue(e)))
|
|
|
15779
15803
|
;return n.length%2!=0?a[o]:(a[o-1]+a[o])/2},
|
|
15780
15804
|
unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),
|
|
15781
15805
|
uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length
|
|
15782
|
-
},
|
|
15806
|
+
},HU={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n
|
|
15783
15807
|
;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null
|
|
15784
15808
|
},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),
|
|
15785
|
-
getDefaultOptions:e=>({onGroupingChange:
|
|
15809
|
+
getDefaultOptions:e=>({onGroupingChange:oU("grouping",e),
|
|
15786
15810
|
groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{
|
|
15787
15811
|
t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))
|
|
15788
15812
|
},e.getCanGroup=()=>{var n,r
|
|
@@ -15794,9 +15818,9 @@ t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?
|
|
|
15794
15818
|
},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{
|
|
15795
15819
|
t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{
|
|
15796
15820
|
const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id)
|
|
15797
|
-
;return"number"==typeof r?
|
|
15821
|
+
;return"number"==typeof r?_U.sum:"[object Date]"===Object.prototype.toString.call(r)?_U.extent:void 0
|
|
15798
15822
|
},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error
|
|
15799
|
-
;return
|
|
15823
|
+
;return aU(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:_U[e.columnDef.aggregationFn]
|
|
15800
15824
|
}},createTable:e=>{
|
|
15801
15825
|
e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),
|
|
15802
15826
|
e.resetGrouping=t=>{var n,r
|
|
@@ -15815,25 +15839,25 @@ e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,
|
|
|
15815
15839
|
e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),
|
|
15816
15840
|
e.getIsAggregated=()=>{var t
|
|
15817
15841
|
;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)
|
|
15818
|
-
}}};const
|
|
15819
|
-
onColumnOrderChange:
|
|
15820
|
-
e.getIndex=
|
|
15821
|
-
e.getIsFirstColumn=n=>{var r;return(null==(r=
|
|
15822
|
-
},e.getIsLastColumn=n=>{var r;const o=
|
|
15842
|
+
}}};const DU={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({
|
|
15843
|
+
onColumnOrderChange:oU("columnOrder",e)}),createColumn:(e,t)=>{
|
|
15844
|
+
e.getIndex=iU((e=>[RU(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),lU(t.options,"debugColumns","getIndex")),
|
|
15845
|
+
e.getIsFirstColumn=n=>{var r;return(null==(r=RU(t,n)[0])?void 0:r.id)===e.id
|
|
15846
|
+
},e.getIsLastColumn=n=>{var r;const o=RU(t,n)
|
|
15823
15847
|
;return(null==(r=o[o.length-1])?void 0:r.id)===e.id}},createTable:e=>{
|
|
15824
15848
|
e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),
|
|
15825
15849
|
e.resetColumnOrder=t=>{var n
|
|
15826
15850
|
;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])
|
|
15827
|
-
},e._getOrderColumnsFn=
|
|
15851
|
+
},e._getOrderColumnsFn=iU((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{
|
|
15828
15852
|
let o=[];if(null!=e&&e.length){const t=[...e],n=[...r]
|
|
15829
15853
|
;for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e))
|
|
15830
15854
|
;r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){
|
|
15831
15855
|
if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)))
|
|
15832
15856
|
;if("remove"===n)return r
|
|
15833
15857
|
;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]
|
|
15834
|
-
}(o,t,n)}),
|
|
15858
|
+
}(o,t,n)}),lU(e.options,"debugTable","_getOrderColumnsFn"))}},AU={
|
|
15835
15859
|
getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),
|
|
15836
|
-
getDefaultOptions:e=>({onColumnPinningChange:
|
|
15860
|
+
getDefaultOptions:e=>({onColumnPinningChange:oU("columnPinning",e)}),
|
|
15837
15861
|
createColumn:(e,t)=>{e.pin=n=>{
|
|
15838
15862
|
const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean)
|
|
15839
15863
|
;t.setColumnPinning((e=>{var t,o,a,i,l,c;return"right"===n?{
|
|
@@ -15853,14 +15877,14 @@ const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPi
|
|
|
15853
15877
|
;const o=e.getIsPinned()
|
|
15854
15878
|
;return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0
|
|
15855
15879
|
}},createRow:(e,t)=>{
|
|
15856
|
-
e.getCenterVisibleCells=
|
|
15880
|
+
e.getCenterVisibleCells=iU((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{
|
|
15857
15881
|
const r=[...null!=t?t:[],...null!=n?n:[]]
|
|
15858
15882
|
;return e.filter((e=>!r.includes(e.column.id)))
|
|
15859
|
-
}),
|
|
15860
|
-
e.getLeftVisibleCells=
|
|
15883
|
+
}),lU(t.options,"debugRows","getCenterVisibleCells")),
|
|
15884
|
+
e.getLeftVisibleCells=iU((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({
|
|
15861
15885
|
...e,position:"left"
|
|
15862
|
-
})))),
|
|
15863
|
-
...e,position:"right"})))),
|
|
15886
|
+
})))),lU(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=iU((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({
|
|
15887
|
+
...e,position:"right"})))),lU(t.options,"debugRows","getRightVisibleCells"))},
|
|
15864
15888
|
createTable:e=>{
|
|
15865
15889
|
e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),
|
|
15866
15890
|
e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]
|
|
@@ -15869,23 +15893,23 @@ e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]
|
|
|
15869
15893
|
;var o,a
|
|
15870
15894
|
;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))
|
|
15871
15895
|
},
|
|
15872
|
-
e.getLeftLeafColumns=
|
|
15873
|
-
e.getRightLeafColumns=
|
|
15874
|
-
e.getCenterLeafColumns=
|
|
15896
|
+
e.getLeftLeafColumns=iU((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),lU(e.options,"debugColumns","getLeftLeafColumns")),
|
|
15897
|
+
e.getRightLeafColumns=iU((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),lU(e.options,"debugColumns","getRightLeafColumns")),
|
|
15898
|
+
e.getCenterLeafColumns=iU((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{
|
|
15875
15899
|
const r=[...null!=t?t:[],...null!=n?n:[]]
|
|
15876
15900
|
;return e.filter((e=>!r.includes(e.id)))
|
|
15877
|
-
}),
|
|
15878
|
-
minSize:20,maxSize:Number.MAX_SAFE_INTEGER},
|
|
15901
|
+
}),lU(e.options,"debugColumns","getCenterLeafColumns"))}},LU={size:150,
|
|
15902
|
+
minSize:20,maxSize:Number.MAX_SAFE_INTEGER},kU={getDefaultColumnDef:()=>LU,
|
|
15879
15903
|
getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,
|
|
15880
15904
|
startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,
|
|
15881
15905
|
columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",
|
|
15882
|
-
columnResizeDirection:"ltr",onColumnSizingChange:
|
|
15883
|
-
onColumnSizingInfoChange:
|
|
15906
|
+
columnResizeDirection:"ltr",onColumnSizingChange:oU("columnSizing",e),
|
|
15907
|
+
onColumnSizingInfoChange:oU("columnSizingInfo",e)}),createColumn:(e,t)=>{
|
|
15884
15908
|
e.getSize=()=>{var n,r,o;const a=t.getState().columnSizing[e.id]
|
|
15885
|
-
;return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:
|
|
15909
|
+
;return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:LU.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:LU.size),null!=(o=e.columnDef.maxSize)?o:LU.maxSize)
|
|
15886
15910
|
},
|
|
15887
|
-
e.getStart=
|
|
15888
|
-
e.getAfter=
|
|
15911
|
+
e.getStart=iU((e=>[e,RU(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),lU(t.options,"debugColumns","getStart")),
|
|
15912
|
+
e.getAfter=iU((e=>[e,RU(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),lU(t.options,"debugColumns","getAfter")),
|
|
15889
15913
|
e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))
|
|
15890
15914
|
},e.getCanResize=()=>{var n,r
|
|
15891
15915
|
;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)
|
|
@@ -15897,8 +15921,8 @@ const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}
|
|
|
15897
15921
|
return 0},e.getResizeHandler=n=>{
|
|
15898
15922
|
const r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return a=>{
|
|
15899
15923
|
if(!r||!o)return
|
|
15900
|
-
;if(null==a.persist||a.persist(),
|
|
15901
|
-
;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],c=
|
|
15924
|
+
;if(null==a.persist||a.persist(),TU(a)&&a.touches&&a.touches.length>1)return
|
|
15925
|
+
;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],c=TU(a)?Math.round(a.touches[0].clientX):a.clientX,s={},u=(e,n)=>{
|
|
15902
15926
|
"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o
|
|
15903
15927
|
;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)
|
|
15904
15928
|
;return e.columnSizingStart.forEach((e=>{let[t,n]=e
|
|
@@ -15918,11 +15942,11 @@ e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t
|
|
|
15918
15942
|
null==p||p.removeEventListener("touchend",m.upHandler),
|
|
15919
15943
|
e.cancelable&&(e.preventDefault(),
|
|
15920
15944
|
e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}
|
|
15921
|
-
},v=!!function(){if("boolean"==typeof
|
|
15945
|
+
},v=!!function(){if("boolean"==typeof VU)return VU;let e=!1;try{const t={
|
|
15922
15946
|
get passive(){return e=!0,!1}},n=()=>{}
|
|
15923
15947
|
;window.addEventListener("test",n,t),window.removeEventListener("test",n)
|
|
15924
|
-
}catch(t){e=!1}return
|
|
15925
|
-
;
|
|
15948
|
+
}catch(t){e=!1}return VU=e,VU}()&&{passive:!1}
|
|
15949
|
+
;TU(a)?(null==p||p.addEventListener("touchmove",m.moveHandler,v),
|
|
15926
15950
|
null==p||p.addEventListener("touchend",m.upHandler,v)):(null==p||p.addEventListener("mousemove",f.moveHandler,v),
|
|
15927
15951
|
null==p||p.addEventListener("mouseup",f.upHandler,v)),
|
|
15928
15952
|
t.setColumnSizingInfo((e=>({...e,startOffset:c,startSize:i,deltaOffset:0,
|
|
@@ -15944,9 +15968,9 @@ isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n
|
|
|
15944
15968
|
;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0
|
|
15945
15969
|
},e.getRightTotalSize=()=>{var t,n
|
|
15946
15970
|
;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0
|
|
15947
|
-
}}};let
|
|
15971
|
+
}}};let VU=null;function TU(e){return"touchstart"===e.type}const PU={
|
|
15948
15972
|
getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({
|
|
15949
|
-
onColumnVisibilityChange:
|
|
15973
|
+
onColumnVisibilityChange:oU("columnVisibility",e)}),createColumn:(e,t)=>{
|
|
15950
15974
|
e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,
|
|
15951
15975
|
[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r
|
|
15952
15976
|
;const o=e.columns
|
|
@@ -15956,10 +15980,10 @@ e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,
|
|
|
15956
15980
|
},e.getToggleVisibilityHandler=()=>t=>{
|
|
15957
15981
|
null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},
|
|
15958
15982
|
createRow:(e,t)=>{
|
|
15959
|
-
e._getAllVisibleCells=
|
|
15960
|
-
e.getVisibleCells=
|
|
15983
|
+
e._getAllVisibleCells=iU((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),lU(t.options,"debugRows","_getAllVisibleCells")),
|
|
15984
|
+
e.getVisibleCells=iU((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),lU(t.options,"debugRows","getVisibleCells"))
|
|
15961
15985
|
},createTable:e=>{
|
|
15962
|
-
const t=(t,n)=>
|
|
15986
|
+
const t=(t,n)=>iU((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),lU(e.options,"debugColumns",t))
|
|
15963
15987
|
;e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),
|
|
15964
15988
|
e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),
|
|
15965
15989
|
e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),
|
|
@@ -15976,25 +16000,25 @@ e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,
|
|
|
15976
16000
|
e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),
|
|
15977
16001
|
e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n
|
|
15978
16002
|
;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}}
|
|
15979
|
-
;function
|
|
16003
|
+
;function RU(e,t){
|
|
15980
16004
|
return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()
|
|
15981
|
-
}const
|
|
15982
|
-
getDefaultOptions:e=>({onGlobalFilterChange:
|
|
16005
|
+
}const IU={getInitialState:e=>({globalFilter:void 0,...e}),
|
|
16006
|
+
getDefaultOptions:e=>({onGlobalFilterChange:oU("globalFilter",e),
|
|
15983
16007
|
globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n
|
|
15984
16008
|
;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue()
|
|
15985
16009
|
;return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{
|
|
15986
16010
|
e.getCanGlobalFilter=()=>{var n,r,o,a
|
|
15987
16011
|
;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
|
|
15988
16012
|
}},createTable:e=>{
|
|
15989
|
-
e.getGlobalAutoFilterFn=()=>
|
|
16013
|
+
e.getGlobalAutoFilterFn=()=>MU.includesString,e.getGlobalFilterFn=()=>{var t,n
|
|
15990
16014
|
;const{globalFilterFn:r}=e.options
|
|
15991
|
-
;return
|
|
16015
|
+
;return aU(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:MU[r]
|
|
15992
16016
|
},e.setGlobalFilter=t=>{
|
|
15993
16017
|
null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)
|
|
15994
16018
|
},e.resetGlobalFilter=t=>{
|
|
15995
|
-
e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},
|
|
16019
|
+
e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},OU={
|
|
15996
16020
|
getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({
|
|
15997
|
-
onExpandedChange:
|
|
16021
|
+
onExpandedChange:oU("expanded",e),paginateExpandedRows:!0}),createTable:e=>{
|
|
15998
16022
|
let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){
|
|
15999
16023
|
if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){
|
|
16000
16024
|
if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{
|
|
@@ -16029,8 +16053,8 @@ const{[e.id]:t,...n}=i;return n}return r}))},e.getIsExpanded=()=>{var n
|
|
|
16029
16053
|
},e.getIsAllParentsExpanded=()=>{let n=!0,r=e
|
|
16030
16054
|
;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n
|
|
16031
16055
|
},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{
|
|
16032
|
-
t&&e.toggleExpanded()}}}},
|
|
16033
|
-
},...e}),getDefaultOptions:e=>({onRowPinningChange:
|
|
16056
|
+
t&&e.toggleExpanded()}}}},NU={getInitialState:e=>({rowPinning:{top:[],bottom:[]
|
|
16057
|
+
},...e}),getDefaultOptions:e=>({onRowPinningChange:oU("rowPinning",e)}),
|
|
16034
16058
|
createRow:(e,t)=>{e.pin=(n,r,o)=>{const a=r?e.getLeafRows().map((e=>{let{id:t}=e
|
|
16035
16059
|
;return t})):[],i=o?e.getParentRows().map((e=>{let{id:t}=e;return t
|
|
16036
16060
|
})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,r,o,a,i,c
|
|
@@ -16055,18 +16079,18 @@ e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]
|
|
|
16055
16079
|
e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,a
|
|
16056
16080
|
;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))
|
|
16057
16081
|
},
|
|
16058
|
-
e._getPinnedRows=
|
|
16082
|
+
e._getPinnedRows=iU((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{
|
|
16059
16083
|
var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{
|
|
16060
16084
|
const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null
|
|
16061
16085
|
})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({
|
|
16062
16086
|
...e,position:r})))
|
|
16063
|
-
}),
|
|
16087
|
+
}),lU(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),
|
|
16064
16088
|
e.getBottomRows=()=>e._getPinnedRows("bottom"),
|
|
16065
|
-
e.getCenterRows=
|
|
16089
|
+
e.getCenterRows=iU((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{
|
|
16066
16090
|
const r=new Set([...null!=t?t:[],...null!=n?n:[]])
|
|
16067
|
-
;return e.filter((e=>!r.has(e.id)))}),
|
|
16068
|
-
}},
|
|
16069
|
-
onRowSelectionChange:
|
|
16091
|
+
;return e.filter((e=>!r.has(e.id)))}),lU(e.options,"debugRows","getCenterRows"))
|
|
16092
|
+
}},FU={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({
|
|
16093
|
+
onRowSelectionChange:oU("rowSelection",e),enableRowSelection:!0,
|
|
16070
16094
|
enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{
|
|
16071
16095
|
e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),
|
|
16072
16096
|
e.resetRowSelection=t=>{var n
|
|
@@ -16077,17 +16101,17 @@ t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n
|
|
|
16077
16101
|
e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))
|
|
16078
16102
|
},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{
|
|
16079
16103
|
const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n}
|
|
16080
|
-
;return e.getRowModel().rows.forEach((t=>{
|
|
16104
|
+
;return e.getRowModel().rows.forEach((t=>{$U(o,t.id,r,!0,e)})),o
|
|
16081
16105
|
})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),
|
|
16082
|
-
e.getSelectedRowModel=
|
|
16106
|
+
e.getSelectedRowModel=iU((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?BU(e,n):{
|
|
16083
16107
|
rows:[],flatRows:[],rowsById:{}
|
|
16084
|
-
}),
|
|
16085
|
-
e.getFilteredSelectedRowModel=
|
|
16108
|
+
}),lU(e.options,"debugTable","getSelectedRowModel")),
|
|
16109
|
+
e.getFilteredSelectedRowModel=iU((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?BU(e,n):{
|
|
16086
16110
|
rows:[],flatRows:[],rowsById:{}
|
|
16087
|
-
}),
|
|
16088
|
-
e.getGroupedSelectedRowModel=
|
|
16111
|
+
}),lU(e.options,"debugTable","getFilteredSelectedRowModel")),
|
|
16112
|
+
e.getGroupedSelectedRowModel=iU((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?BU(e,n):{
|
|
16089
16113
|
rows:[],flatRows:[],rowsById:{}
|
|
16090
|
-
}),
|
|
16114
|
+
}),lU(e.options,"debugTable","getGroupedSelectedRowModel")),
|
|
16091
16115
|
e.getIsAllRowsSelected=()=>{
|
|
16092
16116
|
const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState()
|
|
16093
16117
|
;let r=Boolean(t.length&&Object.keys(n).length)
|
|
@@ -16106,11 +16130,11 @@ e.toggleAllRowsSelected(t.target.checked)
|
|
|
16106
16130
|
e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{
|
|
16107
16131
|
e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection((a=>{var i
|
|
16108
16132
|
;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return a;const l={...a}
|
|
16109
|
-
;return
|
|
16110
|
-
},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return
|
|
16133
|
+
;return $U(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))
|
|
16134
|
+
},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return jU(e,n)
|
|
16111
16135
|
},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState()
|
|
16112
|
-
;return"some"===
|
|
16113
|
-
const{rowSelection:n}=t.getState();return"all"===
|
|
16136
|
+
;return"some"===UU(e,n)},e.getIsAllSubRowsSelected=()=>{
|
|
16137
|
+
const{rowSelection:n}=t.getState();return"all"===UU(e,n)},e.getCanSelect=()=>{
|
|
16114
16138
|
var n
|
|
16115
16139
|
;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n
|
|
16116
16140
|
},e.getCanSelectSubRows=()=>{var n
|
|
@@ -16118,48 +16142,48 @@ var n
|
|
|
16118
16142
|
},e.getCanMultiSelect=()=>{var n
|
|
16119
16143
|
;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n
|
|
16120
16144
|
},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r
|
|
16121
|
-
;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}}
|
|
16145
|
+
;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},$U=(e,t,n,r,o)=>{
|
|
16122
16146
|
var a;const i=o.getRow(t,!0)
|
|
16123
16147
|
;n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),
|
|
16124
16148
|
i.getCanSelect()&&(e[t]=!0)):delete e[t],
|
|
16125
|
-
r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t
|
|
16126
|
-
};function
|
|
16127
|
-
return e.map((e=>{var t;const i
|
|
16149
|
+
r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>$U(e,t.id,n,r,o)))
|
|
16150
|
+
};function BU(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){
|
|
16151
|
+
return e.map((e=>{var t;const i=jU(e,n)
|
|
16128
16152
|
;if(i&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,
|
|
16129
16153
|
subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(t.rows),
|
|
16130
|
-
flatRows:r,rowsById:o}}function
|
|
16131
|
-
function
|
|
16154
|
+
flatRows:r,rowsById:o}}function jU(e,t){var n;return null!=(n=t[e.id])&&n}
|
|
16155
|
+
function UU(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1
|
|
16132
16156
|
;let o=!0,a=!1;return e.subRows.forEach((e=>{
|
|
16133
|
-
if((!a||o)&&(e.getCanSelect()&&(
|
|
16134
|
-
e.subRows&&e.subRows.length)){const n=
|
|
16157
|
+
if((!a||o)&&(e.getCanSelect()&&(jU(e,t)?a=!0:o=!1),
|
|
16158
|
+
e.subRows&&e.subRows.length)){const n=UU(e,t)
|
|
16135
16159
|
;"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}
|
|
16136
|
-
const
|
|
16160
|
+
const YU=/([0-9]+)/gm;function WU(e,t){return e===t?0:e>t?1:-1}function GU(e){
|
|
16137
16161
|
return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""
|
|
16138
|
-
}function
|
|
16139
|
-
const n=e.split(
|
|
16162
|
+
}function KU(e,t){
|
|
16163
|
+
const n=e.split(YU).filter(Boolean),r=t.split(YU).filter(Boolean)
|
|
16140
16164
|
;for(;n.length&&r.length;){
|
|
16141
16165
|
const e=n.shift(),t=r.shift(),o=parseInt(e,10),a=parseInt(t,10),i=[o,a].sort()
|
|
16142
16166
|
;if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{
|
|
16143
16167
|
if(isNaN(i[1]))return isNaN(o)?-1:1;if(o>a)return 1;if(a>o)return-1}}
|
|
16144
|
-
return n.length-r.length}const
|
|
16145
|
-
alphanumeric:(e,t,n)=>
|
|
16146
|
-
alphanumericCaseSensitive:(e,t,n)=>
|
|
16147
|
-
text:(e,t,n)=>
|
|
16148
|
-
textCaseSensitive:(e,t,n)=>
|
|
16168
|
+
return n.length-r.length}const qU={
|
|
16169
|
+
alphanumeric:(e,t,n)=>KU(GU(e.getValue(n)).toLowerCase(),GU(t.getValue(n)).toLowerCase()),
|
|
16170
|
+
alphanumericCaseSensitive:(e,t,n)=>KU(GU(e.getValue(n)),GU(t.getValue(n))),
|
|
16171
|
+
text:(e,t,n)=>WU(GU(e.getValue(n)).toLowerCase(),GU(t.getValue(n)).toLowerCase()),
|
|
16172
|
+
textCaseSensitive:(e,t,n)=>WU(GU(e.getValue(n)),GU(t.getValue(n))),
|
|
16149
16173
|
datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},
|
|
16150
|
-
basic:(e,t,n)=>
|
|
16174
|
+
basic:(e,t,n)=>WU(e.getValue(n),t.getValue(n))},ZU={getInitialState:e=>({
|
|
16151
16175
|
sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),
|
|
16152
|
-
getDefaultOptions:e=>({onSortingChange:
|
|
16176
|
+
getDefaultOptions:e=>({onSortingChange:oU("sorting",e),
|
|
16153
16177
|
isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{
|
|
16154
16178
|
const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){
|
|
16155
16179
|
const n=null==t?void 0:t.getValue(e.id)
|
|
16156
|
-
;if("[object Date]"===Object.prototype.toString.call(n))return
|
|
16157
|
-
;if("string"==typeof n&&(r=!0,n.split(
|
|
16158
|
-
return r?
|
|
16180
|
+
;if("[object Date]"===Object.prototype.toString.call(n))return qU.datetime
|
|
16181
|
+
;if("string"==typeof n&&(r=!0,n.split(YU).length>1))return qU.alphanumeric}
|
|
16182
|
+
return r?qU.text:qU.basic},e.getAutoSortDir=()=>{
|
|
16159
16183
|
const n=t.getFilteredRowModel().flatRows[0]
|
|
16160
16184
|
;return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"
|
|
16161
16185
|
},e.getSortingFn=()=>{var n,r;if(!e)throw new Error
|
|
16162
|
-
;return
|
|
16186
|
+
;return aU(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:qU[e.columnDef.sortingFn]
|
|
16163
16187
|
},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),a=null!=n
|
|
16164
16188
|
;t.setSorting((i=>{
|
|
16165
16189
|
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))
|
|
@@ -16193,7 +16217,7 @@ e.resetSorting=t=>{var n,r
|
|
|
16193
16217
|
},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),
|
|
16194
16218
|
e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),
|
|
16195
16219
|
e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())
|
|
16196
|
-
}},
|
|
16220
|
+
}},XU=[uU,PU,DU,AU,pU,EU,{createTable:e=>{
|
|
16197
16221
|
e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),
|
|
16198
16222
|
e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),
|
|
16199
16223
|
e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),
|
|
@@ -16201,17 +16225,17 @@ e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalF
|
|
|
16201
16225
|
e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),
|
|
16202
16226
|
e.getGlobalFacetedMinMaxValues=()=>{
|
|
16203
16227
|
if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}
|
|
16204
|
-
},
|
|
16228
|
+
},IU,ZU,HU,OU,{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,
|
|
16205
16229
|
...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({
|
|
16206
|
-
onPaginationChange:
|
|
16230
|
+
onPaginationChange:oU("pagination",e)}),createTable:e=>{let t=!1,n=!1
|
|
16207
16231
|
;e._autoResetPageIndex=()=>{var r,o;if(t){
|
|
16208
16232
|
if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){
|
|
16209
16233
|
if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{
|
|
16210
16234
|
t=!0}))
|
|
16211
|
-
},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>
|
|
16235
|
+
},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>rU(t,e))),
|
|
16212
16236
|
e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10
|
|
16213
16237
|
}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})
|
|
16214
|
-
},e.setPageIndex=t=>{e.setPagination((n=>{let r=
|
|
16238
|
+
},e.setPageIndex=t=>{e.setPagination((n=>{let r=rU(t,n.pageIndex)
|
|
16215
16239
|
;const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1
|
|
16216
16240
|
;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{
|
|
16217
16241
|
var n,r
|
|
@@ -16219,13 +16243,13 @@ var n,r
|
|
|
16219
16243
|
},e.resetPageSize=t=>{var n,r
|
|
16220
16244
|
;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)
|
|
16221
16245
|
},e.setPageSize=t=>{e.setPagination((e=>{
|
|
16222
|
-
const n=Math.max(1,
|
|
16246
|
+
const n=Math.max(1,rU(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n)
|
|
16223
16247
|
;return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{
|
|
16224
|
-
var r;let o=
|
|
16248
|
+
var r;let o=rU(t,null!=(r=e.options.pageCount)?r:-1)
|
|
16225
16249
|
;return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}
|
|
16226
|
-
})),e.getPageOptions=
|
|
16250
|
+
})),e.getPageOptions=iU((()=>[e.getPageCount()]),(e=>{let t=[]
|
|
16227
16251
|
;return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t
|
|
16228
|
-
}),
|
|
16252
|
+
}),lU(e.options,"debugTable","getPageOptions")),
|
|
16229
16253
|
e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,
|
|
16230
16254
|
e.getCanNextPage=()=>{
|
|
16231
16255
|
const{pageIndex:t}=e.getState().pagination,n=e.getPageCount()
|
|
@@ -16240,16 +16264,16 @@ e.getPageCount=()=>{var t
|
|
|
16240
16264
|
;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)
|
|
16241
16265
|
},e.getRowCount=()=>{var t
|
|
16242
16266
|
;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}
|
|
16243
|
-
}},
|
|
16267
|
+
}},NU,FU,kU];function JU(e){var t,n
|
|
16244
16268
|
;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...")
|
|
16245
|
-
;const r=[...
|
|
16269
|
+
;const r=[...XU,...null!=(t=e._features)?t:[]];let o={_features:r}
|
|
16246
16270
|
;const a=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{})
|
|
16247
16271
|
;let i={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t
|
|
16248
16272
|
;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}))
|
|
16249
16273
|
;const l=[];let c=!1;const s={_features:r,options:{...a,...e},initialState:i,
|
|
16250
16274
|
_queue:e=>{l.push(e),c||(c=!0,Promise.resolve().then((()=>{
|
|
16251
16275
|
for(;l.length;)l.shift()();c=!1})).catch((e=>setTimeout((()=>{throw e})))))},
|
|
16252
|
-
reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=
|
|
16276
|
+
reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=rU(e,o.options)
|
|
16253
16277
|
;o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(a,e):{...a,...e
|
|
16254
16278
|
})(t)},getState:()=>o.options.state,setState:e=>{
|
|
16255
16279
|
null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{
|
|
@@ -16262,15 +16286,15 @@ let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e]
|
|
|
16262
16286
|
;if(!n&&(n=o.getCoreRowModel().rowsById[e],!n)){
|
|
16263
16287
|
if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`)
|
|
16264
16288
|
;throw new Error}return n},
|
|
16265
|
-
_getDefaultColumnDef:
|
|
16289
|
+
_getDefaultColumnDef:iU((()=>[o.options.defaultColumn]),(e=>{var t
|
|
16266
16290
|
;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef
|
|
16267
16291
|
;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n
|
|
16268
16292
|
;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null
|
|
16269
16293
|
},
|
|
16270
16294
|
...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),
|
|
16271
|
-
...e}}),
|
|
16295
|
+
...e}}),lU(e,"debugColumns","_getDefaultColumnDef")),
|
|
16272
16296
|
_getColumnDefs:()=>o.options.columns,
|
|
16273
|
-
getAllColumns:
|
|
16297
|
+
getAllColumns:iU((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){
|
|
16274
16298
|
return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={
|
|
16275
16299
|
...e._getDefaultColumnDef(),...t},l=i.accessorKey
|
|
16276
16300
|
;let c,s=null!=(o=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?o:"string"==typeof i.header?i.header:void 0
|
|
@@ -16280,46 +16304,46 @@ return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={
|
|
|
16280
16304
|
}return t}:e=>e[i.accessorKey]),!s){
|
|
16281
16305
|
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")
|
|
16282
16306
|
;throw new Error}let u={id:`${String(s)}`,accessorFn:c,parent:r,depth:n,
|
|
16283
|
-
columnDef:i,columns:[],getFlatColumns:
|
|
16307
|
+
columnDef:i,columns:[],getFlatColumns:iU((()=>[!0]),(()=>{var e
|
|
16284
16308
|
;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]
|
|
16285
|
-
}),
|
|
16286
|
-
getLeafColumns:
|
|
16309
|
+
}),lU(e.options,"debugColumns","column.getFlatColumns")),
|
|
16310
|
+
getLeafColumns:iU((()=>[e._getOrderColumnsFn()]),(e=>{var t
|
|
16287
16311
|
;if(null!=(t=u.columns)&&t.length){
|
|
16288
16312
|
let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]
|
|
16289
|
-
}),
|
|
16313
|
+
}),lU(e.options,"debugColumns","column.getLeafColumns"))}
|
|
16290
16314
|
;for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u
|
|
16291
16315
|
}(o,e,r,n),i=e;return a.columns=i.columns?t(i.columns,a,r+1):[],a}))}
|
|
16292
|
-
;return t(e)}),
|
|
16293
|
-
getAllFlatColumns:
|
|
16294
|
-
_getAllFlatColumnsById:
|
|
16295
|
-
e)),{})),
|
|
16296
|
-
getAllLeafColumns:
|
|
16316
|
+
;return t(e)}),lU(e,"debugColumns","getAllColumns")),
|
|
16317
|
+
getAllFlatColumns:iU((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),lU(e,"debugColumns","getAllFlatColumns")),
|
|
16318
|
+
_getAllFlatColumnsById:iU((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,
|
|
16319
|
+
e)),{})),lU(e,"debugColumns","getAllFlatColumnsById")),
|
|
16320
|
+
getAllLeafColumns:iU((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{
|
|
16297
16321
|
let n=e.flatMap((e=>e.getLeafColumns()));return t(n)
|
|
16298
|
-
}),
|
|
16322
|
+
}),lU(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{
|
|
16299
16323
|
const t=o._getAllFlatColumnsById()[e]
|
|
16300
16324
|
;return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),
|
|
16301
16325
|
t}};Object.assign(o,s);for(let e=0;e<o._features.length;e++){
|
|
16302
16326
|
const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}
|
|
16303
|
-
function
|
|
16327
|
+
function QU(){return e=>iU((()=>[e.options.data]),(t=>{const n={rows:[],
|
|
16304
16328
|
flatRows:[],rowsById:{}},r=function(t,o,a){void 0===o&&(o=0);const i=[]
|
|
16305
16329
|
;for(let c=0;c<t.length;c++){
|
|
16306
|
-
const s=
|
|
16330
|
+
const s=hU(e,e._getRowId(t[c],c,a),t[c],c,o,void 0,null==a?void 0:a.id);var l
|
|
16307
16331
|
;if(n.flatRows.push(s),
|
|
16308
16332
|
n.rowsById[s.id]=s,i.push(s),e.options.getSubRows)s.originalSubRows=e.options.getSubRows(t[c],c),
|
|
16309
16333
|
null!=(l=s.originalSubRows)&&l.length&&(s.subRows=r(s.originalSubRows,o+1,s))}
|
|
16310
16334
|
return i};return n.rows=r(t),n
|
|
16311
|
-
}),
|
|
16312
|
-
function
|
|
16335
|
+
}),lU(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex())))}
|
|
16336
|
+
function eY(t,n){return t?function(e){return"function"==typeof e&&(()=>{
|
|
16313
16337
|
const t=Object.getPrototypeOf(e)
|
|
16314
16338
|
;return t.prototype&&t.prototype.isReactComponent})()
|
|
16315
16339
|
}(r=t)||"function"==typeof r||function(e){
|
|
16316
16340
|
return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)
|
|
16317
|
-
}(r)?e.createElement(t,n):t:null;var r}function
|
|
16341
|
+
}(r)?e.createElement(t,n):t:null;var r}function tY(t){const n={state:{},
|
|
16318
16342
|
onStateChange:()=>{},renderFallbackValue:null,...t},[r]=e.useState((()=>({
|
|
16319
|
-
current:
|
|
16343
|
+
current:JU(n)}))),[o,a]=e.useState((()=>r.current.initialState))
|
|
16320
16344
|
;return r.current.setOptions((e=>({...e,...t,state:{...o,...t.state},
|
|
16321
16345
|
onStateChange:e=>{a(e),null==t.onStateChange||t.onStateChange(e)}}))),r.current}
|
|
16322
|
-
const
|
|
16346
|
+
const nY=Or.div`
|
|
16323
16347
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16324
16348
|
direction: ${({theme:e})=>e.direction};
|
|
16325
16349
|
display: flex;
|
|
@@ -16339,22 +16363,22 @@ const eY=Or.div`
|
|
|
16339
16363
|
.PopoverContent {
|
|
16340
16364
|
padding: 0;
|
|
16341
16365
|
}
|
|
16342
|
-
`,
|
|
16366
|
+
`,rY=Or((e=>t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",
|
|
16343
16367
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{
|
|
16344
16368
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16345
16369
|
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",
|
|
16346
16370
|
fill:e.fill}))))`
|
|
16347
16371
|
transition: all 0.3s ease-in-out;
|
|
16348
|
-
`,
|
|
16372
|
+
`,oY=Or(Mo)`
|
|
16349
16373
|
transform: ${({theme:e})=>"rtl"===e.direction?"rotate(90deg)":"rotate(270deg)"};
|
|
16350
|
-
`,
|
|
16374
|
+
`,aY=Or(Mo)`
|
|
16351
16375
|
transform: ${({theme:e})=>"rtl"===e.direction?"rotate(270deg)":"rotate(90deg)"};
|
|
16352
|
-
`,
|
|
16376
|
+
`,iY=Or.div`
|
|
16353
16377
|
display: flex;
|
|
16354
16378
|
flex: 1;
|
|
16355
16379
|
overflow: auto;
|
|
16356
16380
|
direction: ${({theme:e})=>e.direction};
|
|
16357
|
-
`,
|
|
16381
|
+
`,lY=Or.div`
|
|
16358
16382
|
flex: 1;
|
|
16359
16383
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.fill.surface:e.colors.fill.medium};
|
|
16360
16384
|
direction: ${({theme:e})=>e.direction};
|
|
@@ -16363,7 +16387,7 @@ fill:e.fill}))))`
|
|
|
16363
16387
|
display: flex;
|
|
16364
16388
|
width: 100%;
|
|
16365
16389
|
flex-direction: column;
|
|
16366
|
-
`,
|
|
16390
|
+
`,cY=Or.div`
|
|
16367
16391
|
display: flex;
|
|
16368
16392
|
gap: 12px;
|
|
16369
16393
|
justify-content: space-between;
|
|
@@ -16376,7 +16400,7 @@ fill:e.fill}))))`
|
|
|
16376
16400
|
${({theme:e})=>"dark"===e.mode?e.colors.border.light:e.colors.border.normal};
|
|
16377
16401
|
box-shadow: ${({theme:e})=>Yo(e.colors.shadow,.08)} 0px 2px 4px
|
|
16378
16402
|
0px;
|
|
16379
|
-
`,
|
|
16403
|
+
`,sY=Or.div`
|
|
16380
16404
|
direction: ${({theme:e})=>e.direction};
|
|
16381
16405
|
background-color: ${({theme:e})=>"dark"===e.mode?e.colors.fill.medium:e.colors.fill.base};
|
|
16382
16406
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
@@ -16385,7 +16409,7 @@ fill:e.fill}))))`
|
|
|
16385
16409
|
animation-duration: ${({theme:e})=>e.transitions.duration.standard};
|
|
16386
16410
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
|
|
16387
16411
|
animation-name: ${no};
|
|
16388
|
-
`,
|
|
16412
|
+
`,uY=Or.div``,dY=Or.div``,hY=Or.div``,pY=Or.div`
|
|
16389
16413
|
display: flex;
|
|
16390
16414
|
align-items: center;
|
|
16391
16415
|
gap: 10px;
|
|
@@ -16411,7 +16435,7 @@ fill:e.fill}))))`
|
|
|
16411
16435
|
font-size: 14px;
|
|
16412
16436
|
font-weight: 400;
|
|
16413
16437
|
}
|
|
16414
|
-
`,
|
|
16438
|
+
`,fY=Or.div`
|
|
16415
16439
|
display: flex;
|
|
16416
16440
|
gap: 8px;
|
|
16417
16441
|
align-items: center;
|
|
@@ -16423,10 +16447,10 @@ fill:e.fill}))))`
|
|
|
16423
16447
|
place-content: center;
|
|
16424
16448
|
padding: 0;
|
|
16425
16449
|
}
|
|
16426
|
-
`,
|
|
16450
|
+
`,mY=Or.div`
|
|
16427
16451
|
overflow: auto;
|
|
16428
16452
|
flex: 1;
|
|
16429
|
-
`,
|
|
16453
|
+
`,vY=Or.table`
|
|
16430
16454
|
border-spacing: 0px;
|
|
16431
16455
|
border-collapse: collapse;
|
|
16432
16456
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
@@ -16435,9 +16459,9 @@ fill:e.fill}))))`
|
|
|
16435
16459
|
margin: 0;
|
|
16436
16460
|
direction: ${({theme:e})=>e.direction};
|
|
16437
16461
|
position: relative;
|
|
16438
|
-
`,
|
|
16462
|
+
`,gY=Or.thead``,yY=Or.tbody`
|
|
16439
16463
|
position: relative;
|
|
16440
|
-
`,
|
|
16464
|
+
`,bY=Or.tfoot``,wY=Or.tr`
|
|
16441
16465
|
&:hover {
|
|
16442
16466
|
transition: 0.2s ease;
|
|
16443
16467
|
background-color: ${({theme:e})=>e.colors.fill.medium};
|
|
@@ -16451,7 +16475,7 @@ fill:e.fill}))))`
|
|
|
16451
16475
|
border-bottom-width: 3px;
|
|
16452
16476
|
}
|
|
16453
16477
|
`}
|
|
16454
|
-
`,
|
|
16478
|
+
`,CY=Or.div`
|
|
16455
16479
|
position: absolute;
|
|
16456
16480
|
width: 100%;
|
|
16457
16481
|
height: 100%;
|
|
@@ -16461,7 +16485,7 @@ fill:e.fill}))))`
|
|
|
16461
16485
|
animation-duration: ${({theme:e})=>e.transitions.duration.standard};
|
|
16462
16486
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
|
|
16463
16487
|
animation-name: ${Wr};
|
|
16464
|
-
`,
|
|
16488
|
+
`,zY=Or.th`
|
|
16465
16489
|
padding: 16px;
|
|
16466
16490
|
font-size: 12px;
|
|
16467
16491
|
line-height: 16px;
|
|
@@ -16494,7 +16518,7 @@ fill:e.fill}))))`
|
|
|
16494
16518
|
border-right: 3px solid ${({theme:e})=>e.colors.border.light};
|
|
16495
16519
|
}
|
|
16496
16520
|
`}
|
|
16497
|
-
`,
|
|
16521
|
+
`,MY=Or.td`
|
|
16498
16522
|
padding: 12px;
|
|
16499
16523
|
margin: 0;
|
|
16500
16524
|
font-size: 14px;
|
|
@@ -16517,19 +16541,19 @@ fill:e.fill}))))`
|
|
|
16517
16541
|
border-right: 3px solid ${e.colors.border.light};
|
|
16518
16542
|
}
|
|
16519
16543
|
`}
|
|
16520
|
-
`,
|
|
16544
|
+
`,xY=Or.div`
|
|
16521
16545
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16522
|
-
`,
|
|
16546
|
+
`,EY=Or.div`
|
|
16523
16547
|
padding: 24px;
|
|
16524
16548
|
display: flex;
|
|
16525
16549
|
justify-content: space-between;
|
|
16526
16550
|
align-items: center;
|
|
16527
|
-
`,
|
|
16551
|
+
`,SY=Or.div`
|
|
16528
16552
|
padding: 0 24px;
|
|
16529
16553
|
display: flex;
|
|
16530
16554
|
gap: 16px;
|
|
16531
16555
|
height: 256px;
|
|
16532
|
-
`,
|
|
16556
|
+
`,_Y=Or.div`
|
|
16533
16557
|
background: ${({theme:e})=>e.colors.fill.medium};
|
|
16534
16558
|
border-radius: 4px 4px 0px 0px;
|
|
16535
16559
|
padding: 8px 8px 0 8px;
|
|
@@ -16543,11 +16567,11 @@ fill:e.fill}))))`
|
|
|
16543
16567
|
margin-bottom: 8px;
|
|
16544
16568
|
}
|
|
16545
16569
|
}
|
|
16546
|
-
`,
|
|
16570
|
+
`,HY=Or.div`
|
|
16547
16571
|
display: flex;
|
|
16548
16572
|
gap: 8px;
|
|
16549
16573
|
flex-direction: column;
|
|
16550
|
-
`,
|
|
16574
|
+
`,DY=Or.div`
|
|
16551
16575
|
display: flex;
|
|
16552
16576
|
gap: 12px;
|
|
16553
16577
|
flex-direction: column;
|
|
@@ -16561,13 +16585,13 @@ fill:e.fill}))))`
|
|
|
16561
16585
|
font-weight: ${({theme:e})=>e.typography.fontWeight.regular};
|
|
16562
16586
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
16563
16587
|
}
|
|
16564
|
-
`,
|
|
16588
|
+
`,AY=Or.div`
|
|
16565
16589
|
background-color: ${({theme:e})=>e.colors.fill.base};
|
|
16566
16590
|
display: flex;
|
|
16567
16591
|
padding: 16px;
|
|
16568
16592
|
gap: 8px;
|
|
16569
16593
|
justify-content: flex-end;
|
|
16570
|
-
`,
|
|
16594
|
+
`,LY=Or.div`
|
|
16571
16595
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16572
16596
|
background: ${({theme:e})=>e.colors.fill.surface};
|
|
16573
16597
|
border: 1px solid ${({theme:e})=>e.colors.border.light};
|
|
@@ -16581,7 +16605,7 @@ fill:e.fill}))))`
|
|
|
16581
16605
|
display: flex;
|
|
16582
16606
|
justify-content: space-between;
|
|
16583
16607
|
gap: 8px;
|
|
16584
|
-
`,
|
|
16608
|
+
`,kY=Or.div`
|
|
16585
16609
|
display: flex;
|
|
16586
16610
|
align-items: center;
|
|
16587
16611
|
width: fit-content;
|
|
@@ -16602,17 +16626,17 @@ fill:e.fill}))))`
|
|
|
16602
16626
|
color: ${e.colors.text.link};
|
|
16603
16627
|
`}
|
|
16604
16628
|
}
|
|
16605
|
-
`,
|
|
16629
|
+
`,VY=t.forwardRef(((e,n)=>t.createElement("svg",{width:"16",height:"16",
|
|
16606
16630
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"
|
|
16607
16631
|
},t.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
16608
16632
|
"fill-opacity":"0.01"}),t.createElement("path",{
|
|
16609
16633
|
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",
|
|
16610
|
-
fill:"currentcolor"})))),
|
|
16634
|
+
fill:"currentcolor"})))),TY=t.forwardRef(((e,n)=>t.createElement("svg",{
|
|
16611
16635
|
width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",
|
|
16612
16636
|
xmlns:"http://www.w3.org/2000/svg",...e,ref:n},t.createElement("path",{
|
|
16613
16637
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
16614
16638
|
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",
|
|
16615
|
-
fill:e.fill})))),
|
|
16639
|
+
fill:e.fill})))),PY=t.forwardRef(((e,n)=>{const r=Hr()
|
|
16616
16640
|
;return t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",
|
|
16617
16641
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
16618
16642
|
},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",
|
|
@@ -16621,36 +16645,36 @@ fill:r.colors.text.primary}),t.createElement("mask",{id:"mask0_3930_5537",
|
|
|
16621
16645
|
style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",
|
|
16622
16646
|
height:"16"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",
|
|
16623
16647
|
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"
|
|
16624
|
-
})))})),
|
|
16648
|
+
})))})),RY=["rowMenuOptions","select"],IY=({table:e})=>{
|
|
16625
16649
|
const n=Hr(),[r,o]=t.useState({}),[a,i]=t.useState([]),l=e.getAllColumns(),c=e.getState(),s=t.useCallback((()=>{
|
|
16626
16650
|
const e={};l.forEach((t=>{e[t.id]=t
|
|
16627
16651
|
})),i(c.columnOrder.map((t=>e[t])).filter((e=>e.getIsVisible())))
|
|
16628
16652
|
}),[c.columnOrder,l,i]);return t.useEffect((()=>{o(c.columnVisibility),s()
|
|
16629
16653
|
}),[c.columnVisibility,s]),
|
|
16630
|
-
t.createElement(
|
|
16654
|
+
t.createElement(xY,null,t.createElement(EY,null,t.createElement(ha,{
|
|
16631
16655
|
weight:"semi-bold"},"Customize columns"),t.createElement(Gm,{variant:"link",
|
|
16632
16656
|
onClick:()=>{const t={};e.getAllColumns().forEach((e=>{t[e.id]=e.getIsVisible()
|
|
16633
16657
|
})),o(t),s()}
|
|
16634
|
-
},"Reset")),t.createElement(
|
|
16635
|
-
startAdornment:t.createElement(
|
|
16658
|
+
},"Reset")),t.createElement(SY,null,t.createElement(HY,null,t.createElement(Rm,{
|
|
16659
|
+
startAdornment:t.createElement(PY,{viewBox:"0 0 18px 18px"}),
|
|
16636
16660
|
placeholder:"Search columns"}),t.createElement(ha,{weight:"semi-bold"
|
|
16637
|
-
},"Choose columns"),t.createElement(
|
|
16661
|
+
},"Choose columns"),t.createElement(DY,null,e.getAllColumns().filter((e=>!RY.includes(e.id))).map((n=>t.createElement(vy,{
|
|
16638
16662
|
key:n.id,label:n.columnDef.header?.toString(),checked:!!r[n.id],
|
|
16639
16663
|
onCheckedChange:t=>{const r=e.getAllColumns().find((e=>e.id===n.id));o((e=>({
|
|
16640
16664
|
...e,[n.id]:!0===t
|
|
16641
16665
|
}))),i((e=>!0===t?[...e,...r?[r]:[]]:e.filter((e=>e.id!==n.id))))}
|
|
16642
|
-
}))))),t.createElement(
|
|
16643
|
-
},`Selected columns (${a.length})`),t.createElement(
|
|
16666
|
+
}))))),t.createElement(_Y,null,t.createElement(ha,{weight:"semi-bold"
|
|
16667
|
+
},`Selected columns (${a.length})`),t.createElement(tU,{
|
|
16644
16668
|
className:"ReorderContainer",onReorder:e=>{i(e)},
|
|
16645
|
-
customFilter:e=>!
|
|
16669
|
+
customFilter:e=>!RY.includes(e.id??""),customRender:e=>t.createElement(LY,{
|
|
16646
16670
|
key:e.id
|
|
16647
16671
|
},t.createElement("div",null,e?.columnDef?.header?.toString()??""),t.createElement(Qo,{
|
|
16648
16672
|
onClick:()=>{o((t=>({...t,[e.id]:!1}))),i((t=>t.filter((t=>t.id!==e.id))))}
|
|
16649
16673
|
},t.createElement(xo,{fill:n.colors.text.primary}))),items:a
|
|
16650
|
-
}))),t.createElement(
|
|
16674
|
+
}))),t.createElement(AY,null,t.createElement(a$,{asChild:!0
|
|
16651
16675
|
},t.createElement(Gm,{variant:"secondary"},"Cancel")),t.createElement(Gm,{
|
|
16652
16676
|
onClick:()=>{e.setColumnOrder(a.map((e=>e.id))),e.setColumnVisibility(r)}
|
|
16653
|
-
},"Update")))},
|
|
16677
|
+
},"Update")))},OY=e=>{
|
|
16654
16678
|
const{trigger:n,idAccessor:r="id",nameAccessor:o="name",onSelect:a,isDisableSortDropdown:i=!1,options:l=[],value:c}=e,s=Hr()
|
|
16655
16679
|
;return t.createElement(fg,null,t.createElement(mg,{asChild:!0,disabled:i
|
|
16656
16680
|
},t.createElement(ia,null,n)),t.createElement(vg,null,t.createElement(bg,{
|
|
@@ -16659,7 +16683,7 @@ side:"bottom",sideOffset:4,align:"center",className:"DropdownMenuContent"
|
|
|
16659
16683
|
},e.map((e=>t.createElement(wg,{id:e?.[r],disabled:e?.disabled,
|
|
16660
16684
|
className:"DropdownMenuItem",key:e?.[r],onSelect:()=>{const t=c??[];t[n]=e?.[r],
|
|
16661
16685
|
a?.(t)}},e?.[o],c?.[n]===e?.[r]&&t.createElement(Ao,{fill:s.colors.common.accent
|
|
16662
|
-
})))),t.createElement(yg,{className:"DropdownMenuSeparator"})))))))},
|
|
16686
|
+
})))),t.createElement(yg,{className:"DropdownMenuSeparator"})))))))},NY=e=>{
|
|
16663
16687
|
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:A,enableSorting:L,sortingValues:k,sortingOptions:V,onSortingOptionSelect:T,onNextPageClick:P,disableRowSelect:R,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}=e,ee=Hr(),[te,ne]=t.useState(!!g),re={
|
|
16664
16688
|
accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},
|
|
16665
16689
|
display:e=>e,group:e=>e},oe=-1===z||void 0===z,ae=t.useMemo((()=>[...R?[]:[{
|
|
@@ -16682,8 +16706,8 @@ onSelect:t=>{t.id&&F?.(t.id,e.original)},side:"bottom",
|
|
|
16682
16706
|
align:"rtl"===ee.direction?"start":"end"})
|
|
16683
16707
|
}]:[]]),[r,R,I,ee.colors.text.primary]),ie=t.useMemo((()=>{const e={}
|
|
16684
16708
|
;return r.forEach((t=>{e[t.id]=!(Y??[]).includes(t.id)})),e
|
|
16685
|
-
}),[r,Y]),le=t.useMemo((()=>({pageIndex:M,pageSize:x})),[x,M]),ce=
|
|
16686
|
-
columns:ae,getRowId:e=>e?.[q]??"id",getCoreRowModel:
|
|
16709
|
+
}),[r,Y]),le=t.useMemo((()=>({pageIndex:M,pageSize:x})),[x,M]),ce=tY({data:n,
|
|
16710
|
+
columns:ae,getRowId:e=>e?.[q]??"id",getCoreRowModel:QU(),state:{columnOrder:B,
|
|
16687
16711
|
columnVisibility:ie,rowSelection:W,pagination:le},initialState:{columnPinning:{
|
|
16688
16712
|
left:["select"],right:["rowMenuOptions"]}},onPaginationChange:e=>{let t=le
|
|
16689
16713
|
;t="function"==typeof e?e(le):e,X?.(t.pageIndex)},onColumnVisibilityChange:e=>{
|
|
@@ -16692,44 +16716,44 @@ onColumnOrderChange:e=>{let t=B??[];t="function"==typeof e?e(B??[]):e,j?.(t)},
|
|
|
16692
16716
|
onRowSelectionChange:e=>{let t=W;t="function"==typeof e?e(W):e,K?.(t)},
|
|
16693
16717
|
enableRowSelection:!0,manualPagination:!0,rowCount:oe?-1:z
|
|
16694
16718
|
}),{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+(R?0:1)+(D?1:0),Ee=V?.[0].find((e=>e.id===k?.[0]))?.name
|
|
16695
|
-
;return t.createElement(
|
|
16719
|
+
;return t.createElement(nY,{className:"TableContainer"},!C&&t.createElement(cY,{
|
|
16696
16720
|
className:"table-actions"
|
|
16697
|
-
},u&&t.createElement(t.Fragment,null,u),t.createElement(
|
|
16698
|
-
className:"table-header-component"},d??null),t.createElement(
|
|
16721
|
+
},u&&t.createElement(t.Fragment,null,u),t.createElement(dY,{
|
|
16722
|
+
className:"table-header-component"},d??null),t.createElement(pY,{
|
|
16699
16723
|
className:"table-header-dropdown-pagination"},L&&t.createElement("div",{
|
|
16700
16724
|
className:"table-heading-dropdown"},t.createElement("div",{
|
|
16701
|
-
className:"table-sorting-heading"},`${y}:`)," ",t.createElement(
|
|
16725
|
+
className:"table-sorting-heading"},`${y}:`)," ",t.createElement(OY,{
|
|
16702
16726
|
trigger:t.createElement("div",{className:"table-sorting-value-continer"
|
|
16703
|
-
},t.createElement("div",null,Ee),t.createElement(
|
|
16727
|
+
},t.createElement("div",null,Ee),t.createElement(VY,{fill:"currentcolor"})),
|
|
16704
16728
|
isDisableSortDropdown:!!G,options:V||[],value:k,onSelect:e=>{T?.(e??[])}
|
|
16705
|
-
})),t.createElement(
|
|
16706
|
-
},h??null),t.createElement(
|
|
16729
|
+
})),t.createElement(hY,{className:"table-edit-column-component"
|
|
16730
|
+
},h??null),t.createElement(fY,{className:"pagination-actions"
|
|
16707
16731
|
},!m&&t.createElement(t.Fragment,null,t.createElement(ha,{variant:"primary",
|
|
16708
16732
|
className:"pagination-text"},i&&!w?t.createElement(Bm,{size:"small"
|
|
16709
16733
|
}):t.createElement(t.Fragment,null,n.length>0?`${Ce*ze+1} - ${Me} ${Q?.of||"of"} ${oe?""+(we.length>0?`${Q?.many||"Many"}`:"-"):z??we.length??"-"}`:null)),t.createElement(Gm,{
|
|
16710
16734
|
variant:"secondary",className:"table-pagination-button",onClick:()=>{
|
|
16711
|
-
A?.(),oe||me()},disabled:oe?!E:!pe()||i||l},t.createElement(
|
|
16735
|
+
A?.(),oe||me()},disabled:oe?!E:!pe()||i||l},t.createElement(oY,{
|
|
16712
16736
|
fill:ee.colors.text.primary})),t.createElement(Gm,{variant:"secondary",
|
|
16713
16737
|
className:"table-pagination-button",onClick:()=>{P?.(),oe||ge()},
|
|
16714
|
-
disabled:oe?!S:!he()||i||l},t.createElement(
|
|
16738
|
+
disabled:oe?!S:!he()||i||l},t.createElement(aY,{fill:ee.colors.text.primary
|
|
16715
16739
|
}))),!v&&t.createElement(Gm,{variant:"secondary",
|
|
16716
16740
|
className:"table-pagination-button filter-toggle",onClick:()=>ne(!te)
|
|
16717
|
-
},t.createElement(
|
|
16718
|
-
fill:"currentcolor"}))))),t.createElement(
|
|
16741
|
+
},t.createElement(rY,{style:{transform:te?"rotateY(180deg)":"rotateY(0deg)"},
|
|
16742
|
+
fill:"currentcolor"}))))),t.createElement(iY,null,t.createElement(lY,{
|
|
16719
16743
|
className:"table-wrapper"
|
|
16720
|
-
},a&&t.createElement(
|
|
16721
|
-
align:"end",avoidCollisions:!0,side:"top",trigger:t.createElement(
|
|
16722
|
-
fill:"currentcolor"})},t.createElement(
|
|
16723
|
-
})),t.createElement(
|
|
16724
|
-
key:e.id},e.headers.map((e=>t.createElement(
|
|
16725
|
-
},e.isPlaceholder?null:
|
|
16744
|
+
},a&&t.createElement(uY,null,a),i&&!b?t.createElement(t.Fragment,null,s):t.createElement(t.Fragment,null,0===we.length&&f?t.createElement(t.Fragment,null,c):t.createElement(mY,null,t.createElement(vY,null,!_&&t.createElement(i$,{
|
|
16745
|
+
align:"end",avoidCollisions:!0,side:"top",trigger:t.createElement(TY,{
|
|
16746
|
+
fill:"currentcolor"})},t.createElement(IY,{table:ce
|
|
16747
|
+
})),t.createElement(gY,null,ce.getHeaderGroups().map((e=>t.createElement(wY,{
|
|
16748
|
+
key:e.id},e.headers.map((e=>t.createElement(zY,{key:e.id
|
|
16749
|
+
},e.isPlaceholder?null:eY(e.column.columnDef.header,e.getContext())))))))),t.createElement(yY,null,l&&!i&&t.createElement(CY,null,t.createElement(Bm,null)),we.map((e=>t.createElement(wY,{
|
|
16726
16750
|
key:e.id,$isSelected:e.getIsSelected(),...J?.(e.original)
|
|
16727
|
-
},e.getVisibleCells().map((n=>t.createElement(
|
|
16751
|
+
},e.getVisibleCells().map((n=>t.createElement(MY,{key:n.id,onClick:()=>{
|
|
16728
16752
|
$?.(e.original,n.column.columnDef)},...Z?.(n)
|
|
16729
|
-
},
|
|
16730
|
-
key:e.id},e.headers.map((e=>t.createElement(
|
|
16731
|
-
},e.isPlaceholder?null:
|
|
16732
|
-
colSpan:xe},t.createElement(
|
|
16753
|
+
},eY(n.column.columnDef.cell,n.getContext())))))))),o&&t.createElement(bY,null,ce.getFooterGroups().map((e=>t.createElement(wY,{
|
|
16754
|
+
key:e.id},e.headers.map((e=>t.createElement(zY,{key:e.id
|
|
16755
|
+
},e.isPlaceholder?null:eY(e.column.columnDef.footer,e.getContext())))))))),!H&&t.createElement(bY,null,t.createElement(wY,null,t.createElement(zY,{
|
|
16756
|
+
colSpan:xe},t.createElement(kY,{className:"table-pagination"
|
|
16733
16757
|
},t.createElement(Gm,{variant:"secondary",onClick:()=>{be()},
|
|
16734
16758
|
disabled:!pe()||i||l},"<<"),t.createElement(Gm,{variant:"secondary",
|
|
16735
16759
|
onClick:()=>{me()},disabled:!pe()||i||l
|
|
@@ -16745,17 +16769,17 @@ onClick:()=>{ve?.(Math.ceil(n.length/ze)-1)},disabled:i||l
|
|
|
16745
16769
|
},Math.ceil(n.length/ze))),t.createElement(Gm,{variant:"secondary",onClick:()=>{
|
|
16746
16770
|
ge()},disabled:!he()||i||l},">"),t.createElement(Gm,{variant:"secondary",
|
|
16747
16771
|
onClick:()=>{ye()},disabled:!he()||i||l
|
|
16748
|
-
},">>"))))))))),!v&&te&&p&&t.createElement(
|
|
16749
|
-
},
|
|
16772
|
+
},">>"))))))))),!v&&te&&p&&t.createElement(sY,null,p)))
|
|
16773
|
+
},FY="Tabs",[$Y,BY]=S(FY,[nv]),jY=nv(),[UY,YY]=$Y(FY),WY=l(((e,t)=>{
|
|
16750
16774
|
const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:i,orientation:l="horizontal",dir:c,activationMode:s="automatic",...u}=e,d=ce(c),[h,p]=O({
|
|
16751
|
-
prop:r,onChange:a,defaultProp:i});return o(
|
|
16775
|
+
prop:r,onChange:a,defaultProp:i});return o(UY,{scope:n,baseId:W(),value:h,
|
|
16752
16776
|
onValueChange:p,orientation:l,dir:d,activationMode:s},o(N.div,E({dir:d,
|
|
16753
|
-
"data-orientation":l},u,{ref:t})))}));function
|
|
16754
|
-
}function
|
|
16755
|
-
const{__scopeTabs:n,loop:r=!0,...a}=e,i=
|
|
16777
|
+
"data-orientation":l},u,{ref:t})))}));function GY(e,t){return`${e}-trigger-${t}`
|
|
16778
|
+
}function KY(e,t){return`${e}-content-${t}`}const qY=l(((e,t)=>{
|
|
16779
|
+
const{__scopeTabs:n,loop:r=!0,...a}=e,i=YY("TabsList",n),l=jY(n);return o(uv,E({
|
|
16756
16780
|
asChild:!0},l,{orientation:i.orientation,dir:i.dir,loop:r}),o(N.div,E({
|
|
16757
|
-
role:"tablist","aria-orientation":i.orientation},a,{ref:t})))})),
|
|
16758
|
-
const{__scopeTabs:n,value:r,disabled:a=!1,...i}=e,l=
|
|
16781
|
+
role:"tablist","aria-orientation":i.orientation},a,{ref:t})))})),ZY=l(((e,t)=>{
|
|
16782
|
+
const{__scopeTabs:n,value:r,disabled:a=!1,...i}=e,l=YY("TabsTrigger",n),c=jY(n),s=GY(l.baseId,r),u=KY(l.baseId,r),d=r===l.value
|
|
16759
16783
|
;return o(dv,E({asChild:!0},c,{focusable:!a,active:d}),o(N.button,E({
|
|
16760
16784
|
type:"button",role:"tab","aria-selected":d,"aria-controls":u,
|
|
16761
16785
|
"data-state":d?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:s
|
|
@@ -16763,21 +16787,21 @@ type:"button",role:"tab","aria-selected":d,"aria-controls":u,
|
|
|
16763
16787
|
a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():l.onValueChange(r)})),
|
|
16764
16788
|
onKeyDown:R(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&l.onValueChange(r)
|
|
16765
16789
|
})),onFocus:R(e.onFocus,(()=>{const e="manual"!==l.activationMode
|
|
16766
|
-
;d||a||!e||l.onValueChange(r)}))})))})),
|
|
16767
|
-
const{__scopeTabs:n,value:r,forceMount:a,children:i,...l}=e,c=
|
|
16790
|
+
;d||a||!e||l.onValueChange(r)}))})))})),XY=l(((e,t)=>{
|
|
16791
|
+
const{__scopeTabs:n,value:r,forceMount:a,children:i,...l}=e,c=YY("TabsContent",n),s=GY(c.baseId,r),u=KY(c.baseId,r),d=r===c.value,f=h(d)
|
|
16768
16792
|
;return p((()=>{const e=requestAnimationFrame((()=>f.current=!1))
|
|
16769
16793
|
;return()=>cancelAnimationFrame(e)}),[]),o(B,{present:a||d
|
|
16770
16794
|
},(({present:n})=>o(N.div,E({"data-state":d?"active":"inactive",
|
|
16771
16795
|
"data-orientation":c.orientation,role:"tabpanel","aria-labelledby":s,hidden:!n,
|
|
16772
16796
|
id:u,tabIndex:0},l,{ref:t,style:{...e.style,
|
|
16773
16797
|
animationDuration:f.current?"0s":void 0}}),n&&i)))
|
|
16774
|
-
})),
|
|
16798
|
+
})),JY=Or(WY)``,QY=Or(XY)``,eW=Or(qY)`
|
|
16775
16799
|
border-bottom: 1px solid ${({theme:e})=>e.colors.border.light};
|
|
16776
16800
|
display: flex;
|
|
16777
16801
|
flex-wrap: nowrap;
|
|
16778
16802
|
gap: 12px;
|
|
16779
16803
|
direction: ${({theme:e})=>e.direction};
|
|
16780
|
-
`,
|
|
16804
|
+
`,tW=Or(ZY)`
|
|
16781
16805
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
16782
16806
|
direction: ${({theme:e})=>e.direction};
|
|
16783
16807
|
background-color: unset;
|
|
@@ -16805,40 +16829,40 @@ animationDuration:f.current?"0s":void 0}}),n&&i)))
|
|
|
16805
16829
|
color: ${({theme:e})=>e.colors.text.disabled};
|
|
16806
16830
|
cursor: not-allowed;
|
|
16807
16831
|
}
|
|
16808
|
-
`,
|
|
16809
|
-
const u=Hr();return t.createElement(
|
|
16810
|
-
defaultValue:i,onValueChange:a,dir:u.direction},t.createElement(
|
|
16811
|
-
className:"TabsList","aria-label":l},e.map((e=>t.createElement(
|
|
16832
|
+
`,nW=({options:e=[],idAccessor:n="id",nameAccessor:r="name",disabledAccessor:o="disabled",onChange:a,defaultValue:i,label:l,renderTabsContent:c,value:s})=>{
|
|
16833
|
+
const u=Hr();return t.createElement(JY,{className:"TabsRoot",value:s,
|
|
16834
|
+
defaultValue:i,onValueChange:a,dir:u.direction},t.createElement(eW,{
|
|
16835
|
+
className:"TabsList","aria-label":l},e.map((e=>t.createElement(tW,{
|
|
16812
16836
|
className:"TabsTrigger",value:e?.[n],key:e?.[n],disabled:e?.[o]
|
|
16813
|
-
},e?.[r])))),e.map((e=>t.createElement(
|
|
16814
|
-
key:e?.[n]},c?c(e):null))))};var
|
|
16837
|
+
},e?.[r])))),e.map((e=>t.createElement(QY,{className:"TabsContent",value:e?.[n],
|
|
16838
|
+
key:e?.[n]},c?c(e):null))))};var rW=Fr`
|
|
16815
16839
|
* {
|
|
16816
16840
|
box-sizing: border-box;
|
|
16817
16841
|
/* direction: ${({theme:e})=>e.direction}; */
|
|
16818
16842
|
}
|
|
16819
|
-
`;const
|
|
16843
|
+
`;const oW=()=>{const[e,t]=f(!1);return p((()=>{
|
|
16820
16844
|
t(Boolean("undefined"!=typeof window&&window.document&&window.document.createElement))
|
|
16821
|
-
}),[]),{isBrowser:e,isServer:!e}},
|
|
16845
|
+
}),[]),{isBrowser:e,isServer:!e}},aW=e=>{const t=document.createElement("div")
|
|
16822
16846
|
;return t.setAttribute("id",e),t
|
|
16823
|
-
},
|
|
16847
|
+
},iW="ToastProvider",[lW,cW,sW]=P("Toast"),[uW,dW]=S("Toast",[sW]),[hW,pW]=uW(iW),fW=e=>{
|
|
16824
16848
|
const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:a="right",swipeThreshold:l=50,children:c}=e,[s,u]=f(null),[d,p]=f(0),m=h(!1),v=h(!1)
|
|
16825
|
-
;return o(
|
|
16849
|
+
;return o(lW.Provider,{scope:t},o(hW,{scope:t,label:n,duration:r,
|
|
16826
16850
|
swipeDirection:a,swipeThreshold:l,toastCount:d,viewport:s,onViewportChange:u,
|
|
16827
16851
|
onToastAdd:i((()=>p((e=>e+1))),[]),onToastRemove:i((()=>p((e=>e-1))),[]),
|
|
16828
|
-
isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:v},c))};
|
|
16852
|
+
isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:v},c))};fW.propTypes={
|
|
16829
16853
|
label(e){if(e.label&&"string"==typeof e.label&&!e.label.trim()){
|
|
16830
|
-
return new Error(`Invalid prop \`label\` supplied to \`${
|
|
16854
|
+
return new Error(`Invalid prop \`label\` supplied to \`${iW}\`. Expected non-empty \`string\`.`)
|
|
16831
16855
|
}return null}}
|
|
16832
|
-
;const
|
|
16833
|
-
const{__scopeToast:n,hotkey:r=
|
|
16856
|
+
;const mW=["F8"],vW="toast.viewportPause",gW="toast.viewportResume",yW=l(((e,t)=>{
|
|
16857
|
+
const{__scopeToast:n,hotkey:r=mW,label:a="Notifications ({hotkey})",...l}=e,c=pW("ToastViewport",n),s=cW(n),u=h(null),d=h(null),f=h(null),m=h(null),v=D(t,m,c.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=c.toastCount>0
|
|
16834
16858
|
;p((()=>{const e=e=>{var t;const n=r.every((t=>e[t]||e.code===t))
|
|
16835
16859
|
;n&&(null===(t=m.current)||void 0===t||t.focus())}
|
|
16836
16860
|
;return document.addEventListener("keydown",e),
|
|
16837
16861
|
()=>document.removeEventListener("keydown",e)}),[r]),p((()=>{
|
|
16838
16862
|
const e=u.current,t=m.current;if(y&&e&&t){const n=()=>{
|
|
16839
|
-
if(!c.isClosePausedRef.current){const e=new CustomEvent(
|
|
16863
|
+
if(!c.isClosePausedRef.current){const e=new CustomEvent(vW)
|
|
16840
16864
|
;t.dispatchEvent(e),c.isClosePausedRef.current=!0}},r=()=>{
|
|
16841
|
-
if(c.isClosePausedRef.current){const e=new CustomEvent(
|
|
16865
|
+
if(c.isClosePausedRef.current){const e=new CustomEvent(gW)
|
|
16842
16866
|
;t.dispatchEvent(e),c.isClosePausedRef.current=!1}},o=t=>{
|
|
16843
16867
|
!e.contains(t.relatedTarget)&&r()},a=()=>{
|
|
16844
16868
|
e.contains(document.activeElement)||r()};return e.addEventListener("focusin",n),
|
|
@@ -16850,7 +16874,7 @@ e.removeEventListener("focusout",o),e.removeEventListener("pointermove",n),
|
|
|
16850
16874
|
e.removeEventListener("pointerleave",a),
|
|
16851
16875
|
window.removeEventListener("blur",n),window.removeEventListener("focus",r)}}
|
|
16852
16876
|
}),[y,c.isClosePausedRef]);const b=i((({tabbingDirection:e})=>{
|
|
16853
|
-
const t=s().map((t=>{const n=t.ref.current,r=[n,...
|
|
16877
|
+
const t=s().map((t=>{const n=t.ref.current,r=[n,...VW(n)]
|
|
16854
16878
|
;return"forwards"===e?r:r.reverse()}))
|
|
16855
16879
|
;return("forwards"===e?t.reverse():t).flat()}),[s]);return p((()=>{
|
|
16856
16880
|
const e=m.current;if(e){const t=t=>{const n=t.altKey||t.ctrlKey||t.metaKey
|
|
@@ -16858,21 +16882,21 @@ const e=m.current;if(e){const t=t=>{const n=t.altKey||t.ctrlKey||t.metaKey
|
|
|
16858
16882
|
;if(t.target===e&&i)return void(null===(r=d.current)||void 0===r||r.focus())
|
|
16859
16883
|
;const l=b({tabbingDirection:i?"backwards":"forwards"
|
|
16860
16884
|
}),c=l.findIndex((e=>e===n));var o,a
|
|
16861
|
-
;if(
|
|
16885
|
+
;if(TW(l.slice(c+1)))t.preventDefault();else i?null===(o=d.current)||void 0===o||o.focus():null===(a=f.current)||void 0===a||a.focus()
|
|
16862
16886
|
}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)
|
|
16863
16887
|
}}),[s,b]),o(id,{ref:u,role:"region","aria-label":a.replace("{hotkey}",g),
|
|
16864
|
-
tabIndex:-1,style:{pointerEvents:y?void 0:"none"}},y&&o(
|
|
16865
|
-
onFocusFromOutsideViewport:()=>{
|
|
16866
|
-
}),o(
|
|
16867
|
-
onFocusFromOutsideViewport:()=>{
|
|
16868
|
-
})),
|
|
16869
|
-
const{__scopeToast:n,onFocusFromOutsideViewport:r,...a}=e,i=
|
|
16888
|
+
tabIndex:-1,style:{pointerEvents:y?void 0:"none"}},y&&o(bW,{ref:d,
|
|
16889
|
+
onFocusFromOutsideViewport:()=>{TW(b({tabbingDirection:"forwards"}))}
|
|
16890
|
+
}),o(lW.Slot,{scope:n},o(N.ol,E({tabIndex:-1},l,{ref:v}))),y&&o(bW,{ref:f,
|
|
16891
|
+
onFocusFromOutsideViewport:()=>{TW(b({tabbingDirection:"backwards"}))}}))
|
|
16892
|
+
})),bW=l(((e,t)=>{
|
|
16893
|
+
const{__scopeToast:n,onFocusFromOutsideViewport:r,...a}=e,i=pW("ToastFocusProxy",n)
|
|
16870
16894
|
;return o(lp,E({"aria-hidden":!0,tabIndex:0},a,{ref:t,style:{position:"fixed"},
|
|
16871
16895
|
onFocus:e=>{var t;const n=e.relatedTarget
|
|
16872
16896
|
;!(null!==(t=i.viewport)&&void 0!==t&&t.contains(n))&&r()}}))
|
|
16873
|
-
})),
|
|
16897
|
+
})),wW="Toast",CW=l(((e,t)=>{
|
|
16874
16898
|
const{forceMount:n,open:r,defaultOpen:a,onOpenChange:i,...l}=e,[c=!0,s]=O({
|
|
16875
|
-
prop:r,defaultProp:a,onChange:i});return o(B,{present:n||c},o(
|
|
16899
|
+
prop:r,defaultProp:a,onChange:i});return o(B,{present:n||c},o(xW,E({open:c},l,{
|
|
16876
16900
|
ref:t,onClose:()=>s(!1),onPause:I(e.onPause),onResume:I(e.onResume),
|
|
16877
16901
|
onSwipeStart:R(e.onSwipeStart,(e=>{
|
|
16878
16902
|
e.currentTarget.setAttribute("data-swipe","start")})),
|
|
@@ -16892,8 +16916,8 @@ e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),
|
|
|
16892
16916
|
e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),
|
|
16893
16917
|
e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),
|
|
16894
16918
|
e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${n}px`),s(!1)}))
|
|
16895
|
-
})))})),[
|
|
16896
|
-
const{__scopeToast:n,type:a="foreground",duration:l,open:c,onClose:s,onEscapeKeyDown:u,onPause:m,onResume:v,onSwipeStart:g,onSwipeMove:y,onSwipeCancel:b,onSwipeEnd:w,...C}=e,z=
|
|
16919
|
+
})))})),[zW,MW]=uW(wW,{onClose(){}}),xW=l(((e,t)=>{
|
|
16920
|
+
const{__scopeToast:n,type:a="foreground",duration:l,open:c,onClose:s,onEscapeKeyDown:u,onPause:m,onResume:v,onSwipeStart:g,onSwipeMove:y,onSwipeCancel:b,onSwipeEnd:w,...C}=e,z=pW(wW,n),[x,S]=f(null),_=D(t,(e=>S(e))),H=h(null),A=h(null),L=l||z.duration,k=h(0),V=h(L),T=h(0),{onToastAdd:P,onToastRemove:O}=z,F=I((()=>{
|
|
16897
16921
|
var e
|
|
16898
16922
|
;(null==x?void 0:x.contains(document.activeElement))&&(null===(e=z.viewport)||void 0===e||e.focus()),
|
|
16899
16923
|
s()})),$=i((e=>{
|
|
@@ -16902,13 +16926,13 @@ T.current=window.setTimeout(F,e))}),[F]);p((()=>{const e=z.viewport;if(e){
|
|
|
16902
16926
|
const t=()=>{$(V.current),null==v||v()},n=()=>{
|
|
16903
16927
|
const e=(new Date).getTime()-k.current
|
|
16904
16928
|
;V.current=V.current-e,window.clearTimeout(T.current),null==m||m()}
|
|
16905
|
-
;return e.addEventListener(
|
|
16906
|
-
e.removeEventListener(
|
|
16929
|
+
;return e.addEventListener(vW,n),e.addEventListener(gW,t),()=>{
|
|
16930
|
+
e.removeEventListener(vW,n),e.removeEventListener(gW,t)}}
|
|
16907
16931
|
}),[z.viewport,L,m,v,$]),p((()=>{c&&!z.isClosePausedRef.current&&$(L)
|
|
16908
16932
|
}),[c,L,z.isClosePausedRef,$]),p((()=>(P(),()=>O())),[P,O])
|
|
16909
|
-
;const B=r((()=>x?
|
|
16933
|
+
;const B=r((()=>x?AW(x):null),[x]);return z.viewport?o(d,null,B&&o(EW,{
|
|
16910
16934
|
__scopeToast:n,role:"status","aria-live":"foreground"===a?"assertive":"polite",
|
|
16911
|
-
"aria-atomic":!0},B),o(
|
|
16935
|
+
"aria-atomic":!0},B),o(zW,{scope:n,onClose:F},M(o(lW.ItemSlot,{scope:n},o(ad,{
|
|
16912
16936
|
asChild:!0,onEscapeKeyDown:R(u,(()=>{
|
|
16913
16937
|
z.isFocusedToastEscapeKeyDownRef.current||F(),
|
|
16914
16938
|
z.isFocusedToastEscapeKeyDownRef.current=!1}))},o(N.li,E({role:"status",
|
|
@@ -16921,57 +16945,57 @@ F()))})),onPointerDown:R(e.onPointerDown,(e=>{0===e.button&&(H.current={
|
|
|
16921
16945
|
x:e.clientX,y:e.clientY})})),onPointerMove:R(e.onPointerMove,(e=>{
|
|
16922
16946
|
if(!H.current)return
|
|
16923
16947
|
;const t=e.clientX-H.current.x,n=e.clientY-H.current.y,r=Boolean(A.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={
|
|
16924
|
-
x:i,y:l},u={originalEvent:e,delta:s};r?(A.current=s,
|
|
16925
|
-
discrete:!1})):
|
|
16948
|
+
x:i,y:l},u={originalEvent:e,delta:s};r?(A.current=s,LW("toast.swipeMove",y,u,{
|
|
16949
|
+
discrete:!1})):kW(s,z.swipeDirection,c)?(A.current=s,LW("toast.swipeStart",g,u,{
|
|
16926
16950
|
discrete:!1
|
|
16927
16951
|
}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(n)>c)&&(H.current=null)
|
|
16928
16952
|
})),onPointerUp:R(e.onPointerUp,(e=>{const t=A.current,n=e.target
|
|
16929
16953
|
;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),
|
|
16930
16954
|
A.current=null,H.current=null,t){const n=e.currentTarget,r={originalEvent:e,
|
|
16931
|
-
delta:t};
|
|
16932
|
-
discrete:!0}):
|
|
16955
|
+
delta:t};kW(t,z.swipeDirection,z.swipeThreshold)?LW("toast.swipeEnd",w,r,{
|
|
16956
|
+
discrete:!0}):LW("toast.swipeCancel",b,r,{discrete:!0
|
|
16933
16957
|
}),n.addEventListener("click",(e=>e.preventDefault()),{once:!0})}}))
|
|
16934
|
-
})))),z.viewport))):null}));
|
|
16958
|
+
})))),z.viewport))):null}));xW.propTypes={type(e){
|
|
16935
16959
|
if(e.type&&!["foreground","background"].includes(e.type)){
|
|
16936
|
-
return new Error(`Invalid prop \`type\` supplied to \`${
|
|
16937
|
-
}return null}};const
|
|
16938
|
-
const{__scopeToast:t,children:n,...r}=e,a=
|
|
16960
|
+
return new Error(`Invalid prop \`type\` supplied to \`${wW}\`. Expected \`foreground | background\`.`)
|
|
16961
|
+
}return null}};const EW=e=>{
|
|
16962
|
+
const{__scopeToast:t,children:n,...r}=e,a=pW(wW,t),[i,l]=f(!1),[c,s]=f(!1)
|
|
16939
16963
|
;return function(e=(()=>{})){const t=I(e);$((()=>{let e=0,n=0
|
|
16940
16964
|
;return e=window.requestAnimationFrame((()=>n=window.requestAnimationFrame(t))),
|
|
16941
16965
|
()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}}),[t])
|
|
16942
16966
|
}((()=>l(!0))),p((()=>{const e=window.setTimeout((()=>s(!0)),1e3)
|
|
16943
16967
|
;return()=>window.clearTimeout(e)}),[]),c?null:o(ap,{asChild:!0
|
|
16944
|
-
},o(lp,r,i&&o(d,null,a.label," ",n)))},
|
|
16945
|
-
const{__scopeToast:n,...r}=e;return o(N.div,E({},r,{ref:t}))})),
|
|
16946
|
-
const{altText:n,...r}=e;return n?o(
|
|
16947
|
-
}))):null}));
|
|
16968
|
+
},o(lp,r,i&&o(d,null,a.label," ",n)))},SW=l(((e,t)=>{
|
|
16969
|
+
const{__scopeToast:n,...r}=e;return o(N.div,E({},r,{ref:t}))})),_W=l(((e,t)=>{
|
|
16970
|
+
const{altText:n,...r}=e;return n?o(DW,{altText:n,asChild:!0},o(HW,E({},r,{ref:t
|
|
16971
|
+
}))):null}));_W.propTypes={
|
|
16948
16972
|
altText:e=>e.altText?null:new Error("Missing prop `altText` expected on `ToastAction`")
|
|
16949
|
-
};const
|
|
16950
|
-
;return o(
|
|
16951
|
-
onClick:R(e.onClick,a.onClose)})))})),
|
|
16973
|
+
};const HW=l(((e,t)=>{const{__scopeToast:n,...r}=e,a=MW("ToastClose",n)
|
|
16974
|
+
;return o(DW,{asChild:!0},o(N.button,E({type:"button"},r,{ref:t,
|
|
16975
|
+
onClick:R(e.onClick,a.onClose)})))})),DW=l(((e,t)=>{
|
|
16952
16976
|
const{__scopeToast:n,altText:r,...a}=e;return o(N.div,E({
|
|
16953
16977
|
"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0
|
|
16954
|
-
},a,{ref:t}))}));function
|
|
16978
|
+
},a,{ref:t}))}));function AW(e){const t=[]
|
|
16955
16979
|
;return Array.from(e.childNodes).forEach((e=>{
|
|
16956
16980
|
if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),function(e){
|
|
16957
16981
|
return e.nodeType===e.ELEMENT_NODE}(e)){
|
|
16958
16982
|
const n=e.ariaHidden||e.hidden||"none"===e.style.display,r=""===e.dataset.radixToastAnnounceExclude
|
|
16959
16983
|
;if(!n)if(r){const n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)
|
|
16960
|
-
}else t.push(...
|
|
16984
|
+
}else t.push(...AW(e))}})),t}function LW(e,t,n,{discrete:r}){
|
|
16961
16985
|
const o=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,
|
|
16962
16986
|
cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0
|
|
16963
|
-
}),r?F(o,a):o.dispatchEvent(a)}const
|
|
16987
|
+
}),r?F(o,a):o.dispatchEvent(a)}const kW=(e,t,n=0)=>{
|
|
16964
16988
|
const r=Math.abs(e.x),o=Math.abs(e.y),a=r>o
|
|
16965
|
-
;return"left"===t||"right"===t?a&&r>n:!a&&o>n};function
|
|
16989
|
+
;return"left"===t||"right"===t?a&&r>n:!a&&o>n};function VW(e){
|
|
16966
16990
|
const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{
|
|
16967
16991
|
acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type
|
|
16968
16992
|
;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP
|
|
16969
|
-
}});for(;n.nextNode();)t.push(n.currentNode);return t}function
|
|
16993
|
+
}});for(;n.nextNode();)t.push(n.currentNode);return t}function TW(e){
|
|
16970
16994
|
const t=document.activeElement
|
|
16971
16995
|
;return e.some((e=>e===t||(e.focus(),document.activeElement!==t)))}
|
|
16972
|
-
const
|
|
16996
|
+
const PW=yW,RW=CW,IW=SW,OW=_W,NW=Or(fW)``;Or.div`
|
|
16973
16997
|
border-top: 4px solid;
|
|
16974
|
-
`;const
|
|
16998
|
+
`;const FW=Or(RW)`
|
|
16975
16999
|
direction: ${({theme:e})=>e.direction};
|
|
16976
17000
|
&[data-state='open']:nth-last-of-type(1) {
|
|
16977
17001
|
z-index: ${({theme:e})=>(e.zIndex.snackbar||Wo.snackbar)-1};
|
|
@@ -17018,7 +17042,7 @@ const VW=vW,TW=bW,PW=xW,RW=EW,IW=Or(hW)``;Or.div`
|
|
|
17018
17042
|
|
|
17019
17043
|
width: 400px;
|
|
17020
17044
|
transition: all 0.3s ease-in-out;
|
|
17021
|
-
|
|
17045
|
+
`,$W=Or(IW)`
|
|
17022
17046
|
text-align: ${({theme:e})=>"ltr"===e.direction?"left":"right"};
|
|
17023
17047
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
17024
17048
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
@@ -17026,7 +17050,7 @@ const VW=vW,TW=bW,PW=xW,RW=EW,IW=Or(hW)``;Or.div`
|
|
|
17026
17050
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
17027
17051
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
17028
17052
|
flex: 1;
|
|
17029
|
-
`,
|
|
17053
|
+
`,BW=Or(OW)``,jW=Or(PW)`
|
|
17030
17054
|
position: fixed;
|
|
17031
17055
|
top: 16px;
|
|
17032
17056
|
display: flex;
|
|
@@ -17058,13 +17082,13 @@ const VW=vW,TW=bW,PW=xW,RW=EW,IW=Or(hW)``;Or.div`
|
|
|
17058
17082
|
animation-play-state: paused;
|
|
17059
17083
|
}
|
|
17060
17084
|
}
|
|
17061
|
-
`,
|
|
17085
|
+
`,UW=Or.div`
|
|
17062
17086
|
direction: ${({theme:e})=>e.direction};
|
|
17063
17087
|
display: flex;
|
|
17064
17088
|
align-items: center;
|
|
17065
17089
|
padding: 16px;
|
|
17066
17090
|
gap: 8px;
|
|
17067
|
-
`,
|
|
17091
|
+
`,YW=Or.div`
|
|
17068
17092
|
height: 4px;
|
|
17069
17093
|
background-color: ${({theme:e,toastType:t="success"})=>e.colors.text.semantic[t]};
|
|
17070
17094
|
border-radius: 4px 4px 0 0;
|
|
@@ -17075,18 +17099,18 @@ const VW=vW,TW=bW,PW=xW,RW=EW,IW=Or(hW)``;Or.div`
|
|
|
17075
17099
|
${"focus"===t?"running":"paused"};
|
|
17076
17100
|
will-change: width;
|
|
17077
17101
|
`}
|
|
17078
|
-
`,
|
|
17079
|
-
retainOnWindowBlur:!1,addToast:()=>{},updateToasts:()=>{}}),
|
|
17102
|
+
`,WW=t.createContext({toasts:[],windowState:"focus",retainOnHover:!0,
|
|
17103
|
+
retainOnWindowBlur:!1,addToast:()=>{},updateToasts:()=>{}}),GW=e=>{const n=Hr()
|
|
17080
17104
|
;return t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",
|
|
17081
17105
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{
|
|
17082
17106
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
17083
17107
|
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",
|
|
17084
|
-
fill:n.colors.text.semantic.error}))},
|
|
17108
|
+
fill:n.colors.text.semantic.error}))},KW=e=>{const n=Hr()
|
|
17085
17109
|
;return t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",
|
|
17086
17110
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{
|
|
17087
17111
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
17088
17112
|
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",
|
|
17089
|
-
fill:n.colors.text.semantic.success}))},
|
|
17113
|
+
fill:n.colors.text.semantic.success}))},qW=e=>{const n=Hr()
|
|
17090
17114
|
;return t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",
|
|
17091
17115
|
fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{
|
|
17092
17116
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
@@ -17095,76 +17119,76 @@ fill:n.colors.text.semantic.warning}),t.createElement("path",{
|
|
|
17095
17119
|
fillRule:"evenodd",clipRule:"evenodd",
|
|
17096
17120
|
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",
|
|
17097
17121
|
fill:n.colors.text.semantic.warning}))
|
|
17098
|
-
},
|
|
17099
|
-
const s=Hr(),{updateToasts:u,windowState:d,retainOnWindowBlur:h,retainOnHover:p}=t.useContext(
|
|
17122
|
+
},ZW=({index:e,customIcon:n,id:r,fixed:o,text:a,showProgress:i=!1,delay:l=3e3,type:c="info"})=>{
|
|
17123
|
+
const s=Hr(),{updateToasts:u,windowState:d,retainOnWindowBlur:h,retainOnHover:p}=t.useContext(WW)??{},f=t.useRef(null),[m,v]=t.useState(!1)
|
|
17100
17124
|
;t.useEffect((()=>{const e=window.setTimeout((()=>{
|
|
17101
17125
|
o||m&&p||h||u((e=>e.filter((e=>e.id!==r))))}),l);return()=>clearTimeout(e)
|
|
17102
|
-
}),[l,o,r,u,m,p,h]);const g={success:t.createElement(
|
|
17103
|
-
fill:s.colors.text.semantic.success}),warning:t.createElement(
|
|
17104
|
-
fill:s.colors.text.semantic.warning}),error:t.createElement(
|
|
17126
|
+
}),[l,o,r,u,m,p,h]);const g={success:t.createElement(KW,{
|
|
17127
|
+
fill:s.colors.text.semantic.success}),warning:t.createElement(qW,{
|
|
17128
|
+
fill:s.colors.text.semantic.warning}),error:t.createElement(GW,{
|
|
17105
17129
|
fill:s.colors.text.semantic.error}),info:t.createElement(_o,{
|
|
17106
17130
|
fill:s.colors.text.semantic.info})}
|
|
17107
|
-
;return t.createElement(t.Fragment,null,t.createElement(
|
|
17131
|
+
;return t.createElement(t.Fragment,null,t.createElement(FW,{role:"alert",
|
|
17108
17132
|
"aria-live":"polite",ref:f,toastType:c,dir:s.direction,style:o||!i?{
|
|
17109
17133
|
borderTop:"none"}:void 0,toastIndex:e,
|
|
17110
17134
|
className:`ToastRoot Toast-${r??""}`.trim(),duration:o?1/0:l,
|
|
17111
17135
|
onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),onOpenChange:e=>{
|
|
17112
|
-
e||u((e=>e.filter((e=>e.id!==r))))}},t.createElement(
|
|
17136
|
+
e||u((e=>e.filter((e=>e.id!==r))))}},t.createElement(YW,{
|
|
17113
17137
|
className:"ToastProgress",windowState:d,toastType:c,delay:!o&&i?l:"none"
|
|
17114
|
-
}),t.createElement(
|
|
17115
|
-
},a),t.createElement(
|
|
17138
|
+
}),t.createElement(UW,null,n??g[c],t.createElement($W,{className:"ToastTitle"
|
|
17139
|
+
},a),t.createElement(BW,{className:"ToastAction",asChild:!0,altText:"Close",
|
|
17116
17140
|
"aria-label":"Close"},t.createElement(ia,null,t.createElement(xo,{
|
|
17117
|
-
fill:s.colors.text.primary}))))))},
|
|
17118
|
-
const t=`ui-${e}`,{isBrowser:n}=
|
|
17119
|
-
const e=document.querySelector(`#${t}`),n=e||
|
|
17141
|
+
fill:s.colors.text.primary}))))))},XW=()=>{const e=((e=Xj())=>{
|
|
17142
|
+
const t=`ui-${e}`,{isBrowser:n}=oW(),[r,o]=f(n?aW(t):null);return p((()=>{
|
|
17143
|
+
const e=document.querySelector(`#${t}`),n=e||aW(t)
|
|
17120
17144
|
;e||document.body.appendChild(n),o(n)}),[]),r
|
|
17121
|
-
})("toast"),{toasts:n}=t.useContext(
|
|
17122
|
-
;return e?M(t.createElement(t.Fragment,null,t.createElement(
|
|
17123
|
-
swipeDirection:"up"},n.map(((e,n)=>t.createElement(
|
|
17124
|
-
index:n}))),t.createElement(
|
|
17125
|
-
},
|
|
17145
|
+
})("toast"),{toasts:n}=t.useContext(WW)??{}
|
|
17146
|
+
;return e?M(t.createElement(t.Fragment,null,t.createElement(NW,{
|
|
17147
|
+
swipeDirection:"up"},n.map(((e,n)=>t.createElement(ZW,{key:`Toast-${e.id}`,...e,
|
|
17148
|
+
index:n}))),t.createElement(jW,{className:"ToastViewport"}))),e):null
|
|
17149
|
+
},JW=({children:e,retainOnHover:n=!0,retainOnWindowBlur:r=!1})=>{
|
|
17126
17150
|
const[o,a]=t.useState("focus"),[i,l]=t.useState([]),c=t.useCallback((e=>{
|
|
17127
|
-
l((t=>[{...e,id:
|
|
17151
|
+
l((t=>[{...e,id:Xj(),state:"open"},...t]))}),[]),s=t.useCallback((e=>{
|
|
17128
17152
|
l((t=>e(t)))}),[]),u=t.useMemo((()=>({toasts:i,addToast:c,windowState:o,
|
|
17129
17153
|
updateToasts:s,retainOnWindowBlur:r,retainOnHover:n})),[i,c,o,s,n,r])
|
|
17130
17154
|
;return t.useEffect((()=>(window.addEventListener&&r&&(window.addEventListener("focus",(()=>{
|
|
17131
17155
|
a("focus")}),!1),window.addEventListener("blur",(()=>{a("blur")}),!1)),()=>{
|
|
17132
17156
|
r&&(window.removeEventListener("focus",(()=>{})),
|
|
17133
17157
|
window.removeEventListener("blur",(()=>{})))
|
|
17134
|
-
})),[r]),t.createElement(
|
|
17135
|
-
},
|
|
17136
|
-
},
|
|
17137
|
-
},t.createElement(
|
|
17158
|
+
})),[r]),t.createElement(WW.Provider,{value:u},t.createElement(XW,null),e)
|
|
17159
|
+
},QW=()=>{const{toasts:e,addToast:n}=t.useContext(WW)??{};return[e,n]
|
|
17160
|
+
},eG=e=>t.createElement(Dr,{theme:e.theme
|
|
17161
|
+
},t.createElement(rW,null),t.createElement(JW,null,e.children)),tG="Switch",[nG,rG]=S(tG),[oG,aG]=nG(tG),iG=l(((e,t)=>{
|
|
17138
17162
|
const{__scopeSwitch:n,name:r,checked:a,defaultChecked:i,required:l,disabled:c,value:s="on",onCheckedChange:u,...d}=e,[p,m]=f(null),v=D(t,(e=>m(e))),g=h(!1),y=!p||Boolean(p.closest("form")),[b=!1,w]=O({
|
|
17139
|
-
prop:a,defaultProp:i,onChange:u});return o(
|
|
17163
|
+
prop:a,defaultProp:i,onChange:u});return o(oG,{scope:n,checked:b,disabled:c
|
|
17140
17164
|
},o(N.button,E({type:"button",role:"switch","aria-checked":b,"aria-required":l,
|
|
17141
|
-
"data-state":
|
|
17165
|
+
"data-state":cG(b),"data-disabled":c?"":void 0,disabled:c,value:s},d,{ref:v,
|
|
17142
17166
|
onClick:R(e.onClick,(e=>{
|
|
17143
17167
|
w((e=>!e)),y&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())
|
|
17144
|
-
}))})),y&&o(
|
|
17145
|
-
required:l,disabled:c,style:{transform:"translateX(-100%)"}}))})),
|
|
17168
|
+
}))})),y&&o(lG,{control:p,bubbles:!g.current,name:r,value:s,checked:b,
|
|
17169
|
+
required:l,disabled:c,style:{transform:"translateX(-100%)"}}))})),lG=e=>{
|
|
17146
17170
|
const{control:t,checked:n,bubbles:r=!0,...a}=e,i=h(null),l=ip(n),c=Oh(t)
|
|
17147
17171
|
;return p((()=>{
|
|
17148
17172
|
const e=i.current,t=window.HTMLInputElement.prototype,o=Object.getOwnPropertyDescriptor(t,"checked").set
|
|
17149
17173
|
;if(l!==n&&o){const t=new Event("click",{bubbles:r})
|
|
17150
17174
|
;o.call(e,n),e.dispatchEvent(t)}}),[l,n,r]),o("input",E({type:"checkbox",
|
|
17151
17175
|
"aria-hidden":!0,defaultChecked:n},a,{tabIndex:-1,ref:i,style:{...e.style,...c,
|
|
17152
|
-
position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function
|
|
17153
|
-
return e?"checked":"unchecked"}const
|
|
17154
|
-
const{__scopeSwitch:n,...r}=e,a=
|
|
17155
|
-
"data-state":
|
|
17156
|
-
})),
|
|
17176
|
+
position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function cG(e){
|
|
17177
|
+
return e?"checked":"unchecked"}const sG=l(((e,t)=>{
|
|
17178
|
+
const{__scopeSwitch:n,...r}=e,a=aG("SwitchThumb",n);return o(N.span,E({
|
|
17179
|
+
"data-state":cG(a.checked),"data-disabled":a.disabled?"":void 0},r,{ref:t}))
|
|
17180
|
+
})),uG={sm:{width:28,height:12,thumb:16,offTransform:[-2,-2],onTransform:[14,-2]
|
|
17157
17181
|
},md:{width:36,height:16,thumb:20,offTransform:[-2,-2],onTransform:[18,-2]},lg:{
|
|
17158
17182
|
width:44,height:20,thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}
|
|
17159
|
-
},
|
|
17183
|
+
},dG=Or(iG)`
|
|
17160
17184
|
margin: 0;
|
|
17161
17185
|
padding: 0;
|
|
17162
17186
|
outline: 0;
|
|
17163
17187
|
border: none;
|
|
17164
17188
|
position: relative;
|
|
17165
|
-
width: ${({size:e})=>
|
|
17166
|
-
height: ${({size:e})=>
|
|
17167
|
-
border-radius: ${({size:e})=>
|
|
17189
|
+
width: ${({size:e})=>uG[e].width}px;
|
|
17190
|
+
height: ${({size:e})=>uG[e].height}px;
|
|
17191
|
+
border-radius: ${({size:e})=>uG[e].height/2}px;
|
|
17168
17192
|
direction: ltr !important;
|
|
17169
17193
|
&[data-disabled] {
|
|
17170
17194
|
opacity: 0.5;
|
|
@@ -17185,17 +17209,17 @@ width:44,height:20,thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}
|
|
|
17185
17209
|
}
|
|
17186
17210
|
}
|
|
17187
17211
|
}
|
|
17188
|
-
`,
|
|
17212
|
+
`,hG=Or(sG)`
|
|
17189
17213
|
display: grid;
|
|
17190
17214
|
place-content: center;
|
|
17191
|
-
width: ${({size:e})=>
|
|
17192
|
-
height: ${({size:e})=>
|
|
17215
|
+
width: ${({size:e})=>uG[e].thumb}px;
|
|
17216
|
+
height: ${({size:e})=>uG[e].thumb}px;
|
|
17193
17217
|
border-radius: 50%;
|
|
17194
17218
|
direction: ltr !important;
|
|
17195
17219
|
background-color: ${({theme:e})=>e.colors.common.white};
|
|
17196
17220
|
transition: transform 100ms;
|
|
17197
17221
|
transform: translate(
|
|
17198
|
-
${({theme:e,size:t})=>("ltr"===e.direction?
|
|
17222
|
+
${({theme:e,size:t})=>("ltr"===e.direction?uG[t].offTransform:uG[t].onTransform).map((e=>`${e}px`)).join(",")}
|
|
17199
17223
|
) !important;
|
|
17200
17224
|
will-change: transform;
|
|
17201
17225
|
overflow: hidden;
|
|
@@ -17217,23 +17241,23 @@ width:44,height:20,thumb:24,offTransform:[-2,-2],onTransform:[22,-2]}
|
|
|
17217
17241
|
}
|
|
17218
17242
|
&[data-state='checked'] {
|
|
17219
17243
|
transform: translate(
|
|
17220
|
-
${({theme:e,size:t})=>("ltr"===e.direction?
|
|
17244
|
+
${({theme:e,size:t})=>("ltr"===e.direction?uG[t].onTransform:uG[t].offTransform).map((e=>`${e}px`)).join(",")}
|
|
17221
17245
|
) !important;
|
|
17222
17246
|
border: 1px solid ${({theme:e})=>e.colors.common.accent};
|
|
17223
17247
|
svg.toggle-off {
|
|
17224
17248
|
display: none;
|
|
17225
17249
|
}
|
|
17226
17250
|
}
|
|
17227
|
-
`,
|
|
17228
|
-
},
|
|
17229
|
-
},
|
|
17230
|
-
const s=Hr();return t.createElement(
|
|
17231
|
-
required:a,"aria-required":a,size:i,...c},t.createElement(
|
|
17251
|
+
`,pG={sm:{width:6,height:4.3},md:{width:8,height:5.73},lg:{width:10,height:7.16}
|
|
17252
|
+
},fG={sm:{width:4.5,height:4.5},md:{width:6,height:6},lg:{width:8,height:8}
|
|
17253
|
+
},mG=({handleChange:e,hasIcon:n=!1,on:r,isErrored:o,isRequired:a,size:i="md",thumbProps:l,...c})=>{
|
|
17254
|
+
const s=Hr();return t.createElement(dG,{checked:r,onCheckedChange:t=>{e?.(t)},
|
|
17255
|
+
required:a,"aria-required":a,size:i,...c},t.createElement(hG,{...l,size:i
|
|
17232
17256
|
},n&&t.createElement(Ao,{fill:s.colors.common.accent,className:"toggle-on",
|
|
17233
|
-
...
|
|
17234
|
-
className:"toggle-off",...
|
|
17235
|
-
},[
|
|
17236
|
-
const{__scopeTooltip:n,...r}=e,a=
|
|
17257
|
+
...pG[i]}),n&&t.createElement(xo,{fill:s.colors.text.primary,
|
|
17258
|
+
className:"toggle-off",...fG[i]})))
|
|
17259
|
+
},[vG,gG]=S("Tooltip",[$h]),yG=$h(),bG=700,wG="tooltip.open",[CG,zG]=vG("TooltipProvider"),MG="Tooltip",[xG,EG]=vG(MG),SG="TooltipTrigger",_G=l(((e,t)=>{
|
|
17260
|
+
const{__scopeTooltip:n,...r}=e,a=EG(SG,n),l=zG(SG,n),c=yG(n),s=D(t,h(null),a.onTriggerChange),u=h(!1),d=h(!1),f=i((()=>u.current=!1),[])
|
|
17237
17261
|
;return p((()=>()=>document.removeEventListener("pointerup",f)),[f]),o(np,E({
|
|
17238
17262
|
asChild:!0},c),o(N.button,E({"aria-describedby":a.open?a.contentId:void 0,
|
|
17239
17263
|
"data-state":a.stateAttribute},r,{ref:s,onPointerMove:R(e.onPointerMove,(e=>{
|
|
@@ -17242,12 +17266,12 @@ d.current=!0))})),onPointerLeave:R(e.onPointerLeave,(()=>{
|
|
|
17242
17266
|
a.onTriggerLeave(),d.current=!1})),onPointerDown:R(e.onPointerDown,(()=>{
|
|
17243
17267
|
u.current=!0,document.addEventListener("pointerup",f,{once:!0})})),
|
|
17244
17268
|
onFocus:R(e.onFocus,(()=>{u.current||a.onOpen()})),onBlur:R(e.onBlur,a.onClose),
|
|
17245
|
-
onClick:R(e.onClick,a.onClose)})))})),
|
|
17246
|
-
forceMount:void 0}),
|
|
17247
|
-
const n=
|
|
17248
|
-
;return o(B,{present:r||l.open},l.disableHoverableContent?o(
|
|
17249
|
-
ref:t})):o(
|
|
17250
|
-
const n=
|
|
17269
|
+
onClick:R(e.onClick,a.onClose)})))})),HG="TooltipPortal",[DG,AG]=vG(HG,{
|
|
17270
|
+
forceMount:void 0}),LG="TooltipContent",kG=l(((e,t)=>{
|
|
17271
|
+
const n=AG(LG,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...i}=e,l=EG(LG,e.__scopeTooltip)
|
|
17272
|
+
;return o(B,{present:r||l.open},l.disableHoverableContent?o(RG,E({side:a},i,{
|
|
17273
|
+
ref:t})):o(VG,E({side:a},i,{ref:t})))})),VG=l(((e,t)=>{
|
|
17274
|
+
const n=EG(LG,e.__scopeTooltip),r=zG(LG,e.__scopeTooltip),a=h(null),l=D(t,a),[c,s]=f(null),{trigger:u,onClose:d}=n,m=a.current,{onPointerInTransitChange:v}=r,g=i((()=>{
|
|
17251
17275
|
s(null),v(!1)}),[v]),y=i(((e,t)=>{const n=e.currentTarget,r={x:e.clientX,
|
|
17252
17276
|
y:e.clientY},o=function(e,t){
|
|
17253
17277
|
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)
|
|
@@ -17282,11 +17306,11 @@ const{x:n,y:r}=e;let o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){
|
|
|
17282
17306
|
const i=t[e].x,l=t[e].y,c=t[a].x,s=t[a].y
|
|
17283
17307
|
;l>r!=s>r&&n<(c-i)*(r-l)/(s-l)+i&&(o=!o)}return o}(n,c);r?g():o&&(g(),d())}
|
|
17284
17308
|
;return document.addEventListener("pointermove",e),
|
|
17285
|
-
()=>document.removeEventListener("pointermove",e)}}),[u,m,c,d,g]),o(
|
|
17286
|
-
ref:l}))})),[
|
|
17287
|
-
const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:l,...c}=e,s=
|
|
17288
|
-
;return p((()=>(document.addEventListener(
|
|
17289
|
-
()=>document.removeEventListener(
|
|
17309
|
+
()=>document.removeEventListener("pointermove",e)}}),[u,m,c,d,g]),o(RG,E({},e,{
|
|
17310
|
+
ref:l}))})),[TG,PG]=vG(MG,{isInside:!1}),RG=l(((e,t)=>{
|
|
17311
|
+
const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:l,...c}=e,s=EG(LG,n),u=yG(n),{onClose:d}=s
|
|
17312
|
+
;return p((()=>(document.addEventListener(wG,d),
|
|
17313
|
+
()=>document.removeEventListener(wG,d))),[d]),p((()=>{if(s.trigger){const e=e=>{
|
|
17290
17314
|
const t=e.target;null!=t&&t.contains(s.trigger)&&d()}
|
|
17291
17315
|
;return window.addEventListener("scroll",e,{capture:!0
|
|
17292
17316
|
}),()=>window.removeEventListener("scroll",e,{capture:!0})}
|
|
@@ -17299,35 +17323,35 @@ onDismiss:d},o(rp,E({"data-state":s.stateAttribute},u,c,{ref:t,style:{
|
|
|
17299
17323
|
"--radix-tooltip-content-available-height":"var(--radix-popper-available-height)",
|
|
17300
17324
|
"--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)",
|
|
17301
17325
|
"--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}
|
|
17302
|
-
}),o(k,null,r),o(
|
|
17303
|
-
},a||r))))}));const
|
|
17304
|
-
const{__scopeTooltip:t,delayDuration:n=
|
|
17305
|
-
;return p((()=>{const e=d.current;return()=>window.clearTimeout(e)}),[]),o(
|
|
17326
|
+
}),o(k,null,r),o(TG,{scope:n,isInside:!0},o(cp,{id:s.contentId,role:"tooltip"
|
|
17327
|
+
},a||r))))}));const IG=e=>{
|
|
17328
|
+
const{__scopeTooltip:t,delayDuration:n=bG,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:l}=e,[c,s]=f(!0),u=h(!1),d=h(0)
|
|
17329
|
+
;return p((()=>{const e=d.current;return()=>window.clearTimeout(e)}),[]),o(CG,{
|
|
17306
17330
|
scope:t,isOpenDelayed:c,delayDuration:n,onOpen:i((()=>{
|
|
17307
17331
|
window.clearTimeout(d.current),s(!1)}),[]),onClose:i((()=>{
|
|
17308
17332
|
window.clearTimeout(d.current),d.current=window.setTimeout((()=>s(!0)),r)
|
|
17309
17333
|
}),[r]),isPointerInTransitRef:u,onPointerInTransitChange:i((e=>{u.current=e
|
|
17310
|
-
}),[]),disableHoverableContent:a},l)},
|
|
17311
|
-
const{__scopeTooltip:t,children:n,open:a,defaultOpen:l=!1,onOpenChange:c,disableHoverableContent:s,delayDuration:u}=e,d=
|
|
17334
|
+
}),[]),disableHoverableContent:a},l)},OG=e=>{
|
|
17335
|
+
const{__scopeTooltip:t,children:n,open:a,defaultOpen:l=!1,onOpenChange:c,disableHoverableContent:s,delayDuration:u}=e,d=zG(MG,e.__scopeTooltip),m=yG(t),[v,g]=f(null),y=W(),b=h(0),w=null!=s?s:d.disableHoverableContent,C=null!=u?u:d.delayDuration,z=h(!1),[M=!1,x]=O({
|
|
17312
17336
|
prop:a,defaultProp:l,onChange:e=>{
|
|
17313
|
-
e?(d.onOpen(),document.dispatchEvent(new CustomEvent(
|
|
17337
|
+
e?(d.onOpen(),document.dispatchEvent(new CustomEvent(wG))):d.onClose(),
|
|
17314
17338
|
null==c||c(e)}
|
|
17315
17339
|
}),E=r((()=>M?z.current?"delayed-open":"instant-open":"closed"),[M]),S=i((()=>{
|
|
17316
17340
|
window.clearTimeout(b.current),z.current=!1,x(!0)}),[x]),_=i((()=>{
|
|
17317
17341
|
window.clearTimeout(b.current),x(!1)}),[x]),H=i((()=>{
|
|
17318
17342
|
window.clearTimeout(b.current),b.current=window.setTimeout((()=>{
|
|
17319
17343
|
z.current=!0,x(!0)}),C)}),[C,x])
|
|
17320
|
-
;return p((()=>()=>window.clearTimeout(b.current)),[]),o(tp,m,o(
|
|
17344
|
+
;return p((()=>()=>window.clearTimeout(b.current)),[]),o(tp,m,o(xG,{scope:t,
|
|
17321
17345
|
contentId:y,open:M,stateAttribute:E,trigger:v,onTriggerChange:g,
|
|
17322
17346
|
onTriggerEnter:i((()=>{d.isOpenDelayed?H():S()}),[d.isOpenDelayed,H,S]),
|
|
17323
17347
|
onTriggerLeave:i((()=>{w?_():window.clearTimeout(b.current)}),[_,w]),onOpen:S,
|
|
17324
|
-
onClose:_,disableHoverableContent:w},n))},
|
|
17325
|
-
const{__scopeTooltip:t,forceMount:n,children:r,container:a}=e,i=
|
|
17326
|
-
;return o(
|
|
17327
|
-
container:a},r)))}
|
|
17328
|
-
;return
|
|
17348
|
+
onClose:_,disableHoverableContent:w},n))},NG=_G,FG=e=>{
|
|
17349
|
+
const{__scopeTooltip:t,forceMount:n,children:r,container:a}=e,i=EG(HG,t)
|
|
17350
|
+
;return o(DG,{scope:t,forceMount:n},o(B,{present:n||i.open},o(ap,{asChild:!0,
|
|
17351
|
+
container:a},r)))},$G=kG,BG=Or(l(((e,t)=>{const{__scopeTooltip:n,...r}=e,a=yG(n)
|
|
17352
|
+
;return PG("TooltipArrow",n).isInside?null:o(op,E({},a,r,{ref:t}))})))`
|
|
17329
17353
|
fill: ${({theme:e})=>e.colors.fill.inverse};
|
|
17330
|
-
|
|
17354
|
+
`,jG=Or($G)`
|
|
17331
17355
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
17332
17356
|
font-size: ${({theme:e})=>e.typography.secondary.fontSize};
|
|
17333
17357
|
font-weight: ${({theme:e})=>e.typography.fontWeight["semi-bold"]};
|
|
@@ -17359,19 +17383,19 @@ container:a},r)))},NG=AG,FG=Or(l(((e,t)=>{const{__scopeTooltip:n,...r}=e,a=vG(n)
|
|
|
17359
17383
|
&[data-state='closed'] {
|
|
17360
17384
|
animation-name: ${Ur};
|
|
17361
17385
|
}
|
|
17362
|
-
`,
|
|
17386
|
+
`,UG=Or(IG)``,YG=Or(OG)``,WG=Or(NG)`
|
|
17363
17387
|
color: inherit;
|
|
17364
|
-
`,
|
|
17365
|
-
const h=Hr(),[p="bottom",f="center"]=e.split("-");return t.createElement(
|
|
17366
|
-
delayDuration:c,...u},t.createElement(
|
|
17367
|
-
},t.createElement(
|
|
17388
|
+
`,GG=Or(FG)``,KG=({position:e="bottom",label:n,html:r,style:o={},children:a,className:i="",disabled:l=!1,delay:c=300,arrow:s=!0,providerProps:u,rootProps:d})=>{
|
|
17389
|
+
const h=Hr(),[p="bottom",f="center"]=e.split("-");return t.createElement(UG,{
|
|
17390
|
+
delayDuration:c,...u},t.createElement(YG,{...d,open:!l&&void 0
|
|
17391
|
+
},t.createElement(WG,{className:"TooltipTrigger",asChild:!0,
|
|
17368
17392
|
"aria-label":"string"==typeof a?a:"TooltipTrigger",type:"button"
|
|
17369
17393
|
},t.createElement(ia,{className:i,type:"button"
|
|
17370
|
-
},a)),t.createElement(
|
|
17394
|
+
},a)),t.createElement(GG,null,t.createElement(jG,{forceMount:!0,
|
|
17371
17395
|
"data-tooltip-content":!0,className:"TooltipContent",style:o,sideOffset:5,
|
|
17372
17396
|
"aria-disabled":l,"aria-live":"polite",side:p,align:f,dir:h.direction
|
|
17373
|
-
},r?t.createElement(t.Fragment,null,r):t.createElement(t.Fragment,null,n??""),s&&t.createElement(
|
|
17374
|
-
},
|
|
17397
|
+
},r?t.createElement(t.Fragment,null,r):t.createElement(t.Fragment,null,n??""),s&&t.createElement(BG,null)))))
|
|
17398
|
+
},qG=e=>{
|
|
17375
17399
|
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:A,hideSelectAllInTable:L,onSelectAllRows:k,onRowSelect:V,onMenuOptionSelect:T,onRowClick:P,columnOrder:R,setColumnOrder:I,setHiddenColumns:O,hiddenColumns:N,selectedRowIds:F={},isDisableSortDropdown:$,setSelectedRowIds:B,dataKey:j="id",cellPropGetter:U,setPageIndex:Y,rowPropGetter:W,translationTexts:G}=e,K=Hr(),[q,Z]=t.useState(!!m),X={
|
|
17376
17400
|
accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},
|
|
17377
17401
|
display:e=>e,group:e=>e},J=-1===b||void 0===b,Q=t.useMemo((()=>[...A?[]:[{
|
|
@@ -17394,8 +17418,8 @@ onSelect:t=>{t.id&&T?.(t.id,e.original)},side:"bottom",
|
|
|
17394
17418
|
align:"rtl"===K.direction?"start":"end"})
|
|
17395
17419
|
}]:[]]),[r,A,L,K.colors.text.primary]),ee=t.useMemo((()=>{const e={}
|
|
17396
17420
|
;return r.forEach((t=>{e[t.id]=!(N??[]).includes(t.id)})),e
|
|
17397
|
-
}),[r,N]),te=t.useMemo((()=>({pageIndex:C,pageSize:z})),[z,C]),ne=
|
|
17398
|
-
columns:Q,getRowId:e=>e?.[j]??"id",getCoreRowModel:
|
|
17421
|
+
}),[r,N]),te=t.useMemo((()=>({pageIndex:C,pageSize:z})),[z,C]),ne=tY({data:n,
|
|
17422
|
+
columns:Q,getRowId:e=>e?.[j]??"id",getCoreRowModel:QU(),state:{columnOrder:R,
|
|
17399
17423
|
columnVisibility:ee,rowSelection:F,pagination:te},initialState:{columnPinning:{
|
|
17400
17424
|
left:["select"],right:["rowMenuOptions"]}},onPaginationChange:e=>{let t=te
|
|
17401
17425
|
;t="function"==typeof e?e(te):e,Y?.(t.pageIndex)},onColumnVisibilityChange:e=>{
|
|
@@ -17404,34 +17428,34 @@ onColumnOrderChange:e=>{let t=R??[];t="function"==typeof e?e(R??[]):e,I?.(t)},
|
|
|
17404
17428
|
onRowSelectionChange:e=>{let t=F;t="function"==typeof e?e(F):e,B?.(t)},
|
|
17405
17429
|
enableRowSelection:!0,manualPagination:!0,rowCount:J?-1:b
|
|
17406
17430
|
}),{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+(A?0:1)+(_?1:0)
|
|
17407
|
-
;return t.createElement(
|
|
17408
|
-
className:"table-actions"},t.createElement(
|
|
17409
|
-
className:"table-header-component"},u??null),!!w&&t.createElement(
|
|
17410
|
-
className:"table-header-dropdown-pagination"},t.createElement(
|
|
17431
|
+
;return t.createElement(nY,{className:"TableContainer"},y&&t.createElement(cY,{
|
|
17432
|
+
className:"table-actions"},t.createElement(dY,{
|
|
17433
|
+
className:"table-header-component"},u??null),!!w&&t.createElement(pY,{
|
|
17434
|
+
className:"table-header-dropdown-pagination"},t.createElement(fY,{
|
|
17411
17435
|
className:"pagination-actions"
|
|
17412
17436
|
},!p&&t.createElement(t.Fragment,null,t.createElement(ha,{variant:"primary",
|
|
17413
17437
|
className:"pagination-text"},i&&!g?t.createElement(Bm,{size:"small"
|
|
17414
17438
|
}):t.createElement(t.Fragment,null,n.length>0?`${me*ve+1} - ${ge} ${G?.of||"of"} ${J?""+(fe.length>0?`${G?.many||"Many"}`:"-"):b??fe.length??"-"}`:null)),t.createElement(Gm,{
|
|
17415
17439
|
variant:"secondary",className:"table-pagination-button",onClick:e=>{
|
|
17416
|
-
H?.(),J||se()},disabled:J?!M:!le()||i||l},t.createElement(
|
|
17440
|
+
H?.(),J||se()},disabled:J?!M:!le()||i||l},t.createElement(oY,{
|
|
17417
17441
|
fill:K.colors.text.primary})),t.createElement(Gm,{variant:"secondary",
|
|
17418
17442
|
className:"table-pagination-button",onClick:e=>{D?.(),J||de()},
|
|
17419
|
-
disabled:J?!x:!ie()||i||l},t.createElement(
|
|
17420
|
-
})))))),!!w&&t.createElement(
|
|
17443
|
+
disabled:J?!x:!ie()||i||l},t.createElement(aY,{fill:K.colors.text.primary
|
|
17444
|
+
})))))),!!w&&t.createElement(iY,null,t.createElement(lY,{
|
|
17421
17445
|
className:"table-wrapper"
|
|
17422
|
-
},a&&t.createElement(
|
|
17423
|
-
align:"end",avoidCollisions:!0,side:"top",trigger:t.createElement(
|
|
17424
|
-
fill:"currentcolor"})},t.createElement(
|
|
17425
|
-
})),t.createElement(
|
|
17426
|
-
key:e.id},e.headers.map((e=>t.createElement(
|
|
17427
|
-
},e.isPlaceholder?null:
|
|
17446
|
+
},a&&t.createElement(uY,null,a),i&&!v?t.createElement(t.Fragment,null,s):t.createElement(t.Fragment,null,0===fe.length&&h?t.createElement(t.Fragment,null,c):t.createElement(mY,null,t.createElement(vY,null,!E&&t.createElement(i$,{
|
|
17447
|
+
align:"end",avoidCollisions:!0,side:"top",trigger:t.createElement(TY,{
|
|
17448
|
+
fill:"currentcolor"})},t.createElement(IY,{table:ne
|
|
17449
|
+
})),t.createElement(gY,null,ne.getHeaderGroups().map((e=>t.createElement(wY,{
|
|
17450
|
+
key:e.id},e.headers.map((e=>t.createElement(zY,{key:e.id
|
|
17451
|
+
},e.isPlaceholder?null:eY(e.column.columnDef.header,e.getContext())))))))),t.createElement(yY,null,l&&!i&&t.createElement(CY,null,t.createElement(Bm,null)),fe.map((e=>t.createElement(wY,{
|
|
17428
17452
|
key:e.id,$isSelected:e.getIsSelected(),...W?.(e.original)
|
|
17429
|
-
},e.getVisibleCells().map((n=>t.createElement(
|
|
17453
|
+
},e.getVisibleCells().map((n=>t.createElement(MY,{key:n.id,onClick:()=>{
|
|
17430
17454
|
P?.(e.original,n.column.columnDef)},...U?.(n)
|
|
17431
|
-
},
|
|
17432
|
-
key:e.id},e.headers.map((e=>t.createElement(
|
|
17433
|
-
},e.isPlaceholder?null:
|
|
17434
|
-
colSpan:ye},t.createElement(
|
|
17455
|
+
},eY(n.column.columnDef.cell,n.getContext())))))))),o&&t.createElement(bY,null,ne.getFooterGroups().map((e=>t.createElement(wY,{
|
|
17456
|
+
key:e.id},e.headers.map((e=>t.createElement(zY,{key:e.id
|
|
17457
|
+
},e.isPlaceholder?null:eY(e.column.columnDef.footer,e.getContext())))))))),!S&&t.createElement(bY,null,t.createElement(wY,null,t.createElement(zY,{
|
|
17458
|
+
colSpan:ye},t.createElement(kY,{className:"table-pagination"
|
|
17435
17459
|
},t.createElement(Gm,{variant:"secondary",onClick:()=>{pe()},
|
|
17436
17460
|
disabled:!le()||i||l},"<<"),t.createElement(Gm,{variant:"secondary",
|
|
17437
17461
|
onClick:()=>{se()},disabled:!le()||i||l
|
|
@@ -17447,7 +17471,7 @@ onClick:()=>{ue?.(Math.ceil(n.length/ve)-1)},disabled:i||l
|
|
|
17447
17471
|
},Math.ceil(n.length/ve))),t.createElement(Gm,{variant:"secondary",onClick:()=>{
|
|
17448
17472
|
de()},disabled:!ie()||i||l},">"),t.createElement(Gm,{variant:"secondary",
|
|
17449
17473
|
onClick:()=>{he()},disabled:!ie()||i||l
|
|
17450
|
-
},">>"))))))))),!f&&q&&d&&t.createElement(
|
|
17474
|
+
},">>"))))))))),!f&&q&&d&&t.createElement(sY,null,d)))};var ZG=Fr`
|
|
17451
17475
|
|
|
17452
17476
|
div:has( > div[data-tooltip-content]){
|
|
17453
17477
|
z-index: ${({theme:e})=>e.zIndex.tooltip||Wo.tooltip} !important;
|
|
@@ -17457,10 +17481,10 @@ div:has( > div[data-popover-content]){
|
|
|
17457
17481
|
z-index: ${({theme:e})=>e.zIndex.popover||Wo.popover} !important;
|
|
17458
17482
|
}
|
|
17459
17483
|
|
|
17460
|
-
`,
|
|
17484
|
+
`,XG=Object.freeze({__proto__:null,allPathsLoader:function(e,t){
|
|
17461
17485
|
return $e(void 0,void 0,void 0,(function(){return Be(this,(function(n){
|
|
17462
17486
|
switch(n.label){case 0:return[4,Promise.resolve().then((function(){return D_}))]
|
|
17463
|
-
;case 1:return[2,(0,n.sent().getIconPaths)(e,t)]}}))}))}}),
|
|
17487
|
+
;case 1:return[2,(0,n.sent().getIconPaths)(e,t)]}}))}))}}),JG=Object.freeze({
|
|
17464
17488
|
__proto__:null,splitPathsBySizeLoader:function(e,t){
|
|
17465
17489
|
return $e(void 0,void 0,void 0,(function(){var n,r;return Be(this,(function(o){
|
|
17466
17490
|
switch(o.label){case 0:
|
|
@@ -17468,4 +17492,4 @@ return n=w_(e),t!==z_.STANDARD?[3,2]:[4,Promise.resolve().then((function(){
|
|
|
17468
17492
|
return x_}))];case 1:return r=o.sent(),[3,4];case 2:
|
|
17469
17493
|
return[4,Promise.resolve().then((function(){return S_}))];case 3:
|
|
17470
17494
|
r=o.sent(),o.label=4;case 4:return[2,r[n]]}}))}))}})
|
|
17471
|
-
;export{Io as Accordion,fa as Alert,Um as AutoComplete,ny as BoxedRadio,Gm as Button,Eg as ButtonDropdown,na as CardActions,ta as CardContent,oa as CardDescription,aa as CardText,ra as CardTitle,vy as Checkbox,zo as Checkmark,Mo as ChevronUp,zb as Confirmation,xo as CrossIcon,
|
|
17495
|
+
;export{Io as Accordion,fa as Alert,Um as AutoComplete,ny as BoxedRadio,Gm as Button,Eg as ButtonDropdown,na as CardActions,ta as CardContent,oa as CardDescription,aa as CardText,ra as CardTitle,vy as Checkbox,zo as Checkmark,Mo as ChevronUp,zb as Confirmation,xo as CrossIcon,_F as DatePicker,DF as DateRangePicker,HF as DateTimePicker,AF as DateTimeRangePicker,Lb as Drawer,kb as Dropdown,sm as DropdownInputItem,Pb as DropdownItem,wg as DropdownMenuItem,Eo as ErrorIcon,So as Freddy,ZG as FreemiumUIGlobalStyles,ea as FreshLink,Qo as IconButton,_o as InfoIcon,Rm as Input,Xo as InputLabel,Bm as Loader,Rb as Menu,Ho as Minus,Ub as Modal,Do as MoreVertical,iw as MultiSelectDropdown,i$ as Popover,a$ as PopoverClose,r$ as PopoverTrigger,h$ as Radio,p$ as RadioGroup,hg as RadixMenuItem,em as RadixSelectItem,tU as Reorder,Jo as RequiredIndicator,OY as SortDropdown,Zo as StyledLabel,NY as Table,nW as Tabs,QY as TabsContent,eW as TabsList,JY as TabsRoot,tW as TabsTrigger,aw as Tag,Im as TextArea,eG as ThemeProvider,qo as Themes,Ao as TickIcon,kF as TimePicker,JW as ToastProvider,mG as Toggle,KG as Tooltip,ia as TriggerButtonWrapper,ha as Typography,Lo as Warning,qG as WorkspaceTable,ca as dialogContentMixin,la as dialogOverlayMixin,QW as useToasts};
|