From de0d2c02022868d5de5c1e3edbbaccee1639fb0e Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Wed, 11 Dec 2024 10:05:00 +0100 Subject: [PATCH] add some bogus data for a more filled out table --- src/routes/(editor)/experimental.data.ts | 912 +++++++++++++++++++++++ src/routes/(editor)/experimental.tsx | 32 +- 2 files changed, 916 insertions(+), 28 deletions(-) create mode 100644 src/routes/(editor)/experimental.data.ts diff --git a/src/routes/(editor)/experimental.data.ts b/src/routes/(editor)/experimental.data.ts new file mode 100644 index 0000000..c5bf9ee --- /dev/null +++ b/src/routes/(editor)/experimental.data.ts @@ -0,0 +1,912 @@ +export type Person = { + id: string; + name: string; + email: string; + address: string; + currency: string; + phone: string; + country: string; +}; + +export const people: Person[] = [ + { + id: "7E93E245-EE6D-5A81-90A3-1F63E8B31113", + name: "Aladdin Richmond", + email: "nascetur.ridiculus@yahoo.com", + address: "203-9878 Proin St.", + currency: "$39.50", + phone: "1-516-798-6726", + country: "Germany" + }, + { + id: "50FA295F-C669-3AE3-392E-87911D9566D8", + name: "Kameko Webb", + email: "feugiat@hotmail.couk", + address: "Ap #791-3349 Mauris St.", + currency: "$1.21", + phone: "(972) 378-6843", + country: "Australia" + }, + { + id: "86897ADA-2CF8-62C6-ED8B-8E24932DE6B8", + name: "Evan Long", + email: "tellus@hotmail.org", + address: "548-2713 Nibh Road", + currency: "$55.04", + phone: "1-743-381-8967", + country: "Canada" + }, + { + id: "FDBC2C9A-81A5-C3CC-91D3-E936816909D8", + name: "Cally Patterson", + email: "sapien.gravida.non@google.edu", + address: "6474 Id, Rd.", + currency: "$0.30", + phone: "1-862-278-5241", + country: "Ukraine" + }, + { + id: "45EFC33E-B344-9C76-F78A-4EA576CD6D18", + name: "Felicia Mueller", + email: "quisque.tincidunt.pede@protonmail.ca", + address: "P.O. Box 949, 7307 Aliquam Ave", + currency: "$28.99", + phone: "1-888-656-7311", + country: "Italy" + }, + { + id: "B6ED5A94-6157-FA7F-469E-63C36EB1EC22", + name: "Macaulay Chavez", + email: "sollicitudin.adipiscing@yahoo.ca", + address: "P.O. Box 700, 9974 Enim Av.", + currency: "$95.78", + phone: "1-264-726-6039", + country: "South Korea" + }, + { + id: "D80364DF-6859-D9B4-58D7-233762921461", + name: "Alika Dyer", + email: "natoque@icloud.org", + address: "Ap #394-5599 Condimentum. Road", + currency: "$67.94", + phone: "(146) 668-7705", + country: "Norway" + }, + { + id: "0E8229F4-B50B-7F0C-3C7D-F8E896D565DC", + name: "Azalia Blevins", + email: "neque.pellentesque.massa@aol.ca", + address: "Ap #664-6708 Morbi Street", + currency: "$5.59", + phone: "(106) 821-6698", + country: "France" + }, + { + id: "567BBCF4-EC5E-C0AC-0171-6A68498D3B92", + name: "Germane Alston", + email: "est.ac@google.net", + address: "577-7395 Arcu Avenue", + currency: "$79.29", + phone: "(467) 344-8586", + country: "Singapore" + }, + { + id: "DDDDCBB1-CB9F-72C5-474F-679CD38C86F8", + name: "Tallulah Owen", + email: "nisl.arcu@protonmail.com", + address: "3116 Vitae Avenue", + currency: "$5.67", + phone: "1-605-230-2916", + country: "Peru" + }, + { + id: "C1B44A11-1834-1C5A-10A9-DC0CDFDD16B0", + name: "Amaya Middleton", + email: "in@protonmail.couk", + address: "9826 Mollis. Street", + currency: "$58.29", + phone: "(666) 884-1184", + country: "Spain" + }, + { + id: "A6888F02-1339-9D11-3D37-0D2AF0747075", + name: "Ian Fletcher", + email: "velit.quisque.varius@hotmail.edu", + address: "2660 In Rd.", + currency: "$72.36", + phone: "(667) 360-6873", + country: "India" + }, + { + id: "4EB83854-E9CB-E1BD-519D-752D15EBC41C", + name: "Hadassah Benton", + email: "sagittis@outlook.ca", + address: "Ap #543-4861 Integer Rd.", + currency: "$45.30", + phone: "(724) 824-1341", + country: "Singapore" + }, + { + id: "93052C01-0D9B-A134-6E95-B1B69EC83CD3", + name: "Stephanie Wells", + email: "mauris.integer@aol.com", + address: "8920 Dictum. Av.", + currency: "$86.21", + phone: "(883) 909-3324", + country: "Philippines" + }, + { + id: "3CAE3983-576E-4C74-38FB-B6D7F451994E", + name: "Tashya Albert", + email: "in@yahoo.couk", + address: "520-2552 Sodales Av.", + currency: "$9.36", + phone: "1-546-322-0227", + country: "United States" + }, + { + id: "47438DC3-3F85-C579-811F-26AACFA3A53F", + name: "Lance Caldwell", + email: "vitae.aliquet@protonmail.net", + address: "6956 Enim Rd.", + currency: "$1.25", + phone: "(652) 257-5587", + country: "Norway" + }, + { + id: "48BBA3D6-D98D-28EA-5B5F-131D9CA48648", + name: "Abigail Murphy", + email: "proin.vel.nisl@google.net", + address: "957-5726 Felis Ave", + currency: "$48.30", + phone: "(804) 473-5412", + country: "Canada" + }, + { + id: "599E2BDB-2207-ADE6-835B-61C68EDCF99D", + name: "Carson Dennis", + email: "aliquet@google.edu", + address: "372-7110 Nonummy Street", + currency: "$51.26", + phone: "1-881-863-8682", + country: "Norway" + }, + { + id: "1BE3A1CC-1A28-95B2-1244-A6D75962B68C", + name: "Colette Peters", + email: "facilisis.facilisis@protonmail.com", + address: "291-5335 Suspendisse St.", + currency: "$85.13", + phone: "(373) 952-2326", + country: "Brazil" + }, + { + id: "4EEE4884-F579-9878-ADD4-EE5185825AE1", + name: "Hector Martin", + email: "et.malesuada@google.org", + address: "P.O. Box 990, 2093 Quis Ave", + currency: "$71.70", + phone: "(879) 203-0238", + country: "Brazil" + }, + { + id: "C51BB636-9B83-5A85-2ABA-1B0C27CD850F", + name: "Heather Cline", + email: "dapibus.quam@outlook.ca", + address: "1397 Lacinia. Av.", + currency: "$59.53", + phone: "1-655-744-2096", + country: "Italy" + }, + { + id: "3B3A3BE1-9965-A3D2-74BE-87933D2F830A", + name: "Nicholas Mccray", + email: "consectetuer.cursus@hotmail.edu", + address: "Ap #243-4984 Vitae St.", + currency: "$99.27", + phone: "1-476-397-4156", + country: "Canada" + }, + { + id: "C3750CA9-AB01-A4C3-74A3-7272C5252F83", + name: "Whitney Vang", + email: "enim.etiam@aol.couk", + address: "P.O. Box 834, 9396 Odio Street", + currency: "$24.57", + phone: "1-308-724-1444", + country: "Germany" + }, + { + id: "EBB92007-1878-F358-C880-77C13A392443", + name: "Ezra Joyce", + email: "montes.nascetur.ridiculus@aol.edu", + address: "P.O. Box 615, 1455 Natoque St.", + currency: "$98.17", + phone: "1-287-541-2616", + country: "Australia" + }, + { + id: "5EAB2CEA-4B5B-D53A-D65C-1FB7266674ED", + name: "Bruce Flores", + email: "vel.venenatis@protonmail.com", + address: "675-1394 Nunc Street", + currency: "$29.46", + phone: "1-584-584-0467", + country: "Brazil" + }, + { + id: "7F2CADB9-5D82-A1C8-7404-B689D4988B92", + name: "Scarlet Sloan", + email: "massa.mauris.vestibulum@protonmail.net", + address: "Ap #539-6639 Non, Av.", + currency: "$21.24", + phone: "1-571-712-8158", + country: "Colombia" + }, + { + id: "47FD8B85-FB91-B1A4-4F77-89CC76EB511B", + name: "Jana Levine", + email: "diam.proin.dolor@icloud.com", + address: "516-4289 Fringilla, Avenue", + currency: "$90.51", + phone: "1-723-413-3072", + country: "Spain" + }, + { + id: "73454085-A828-4E62-17A2-6CDC81EF7C88", + name: "Quinn Eaton", + email: "suspendisse.aliquet@hotmail.couk", + address: "Ap #670-5636 Tempus Road", + currency: "$32.21", + phone: "(335) 623-1450", + country: "South Africa" + }, + { + id: "222A395E-1FFA-A8F2-75AB-6DB2473E226B", + name: "Shelby Carter", + email: "sem@icloud.com", + address: "644-6798 Ultricies Rd.", + currency: "$67.00", + phone: "1-916-384-3689", + country: "Norway" + }, + { + id: "191DA217-A9B2-4B0F-7267-0EDB99BB1DE4", + name: "Minerva Huff", + email: "vestibulum.nec@hotmail.ca", + address: "Ap #604-9554 Ac, St.", + currency: "$70.01", + phone: "(402) 741-9663", + country: "Indonesia" + }, + { + id: "AE1D16C1-25A7-7EBB-4A5D-E2E44C6675D8", + name: "Rana Alvarado", + email: "nulla@outlook.couk", + address: "Ap #458-608 Aliquam Avenue", + currency: "$5.73", + phone: "1-724-725-3887", + country: "Brazil" + }, + { + id: "42088D15-FBAC-D55B-5637-26092571ACA0", + name: "Nadine Nieves", + email: "luctus@google.edu", + address: "Ap #644-2122 Sed Ave", + currency: "$69.56", + phone: "(275) 674-9316", + country: "Ukraine" + }, + { + id: "8556BF71-F3D4-CD25-9E46-4188BBB77FE7", + name: "Hiram Bauer", + email: "nunc.sed.orci@outlook.org", + address: "Ap #792-8032 Est Rd.", + currency: "$66.52", + phone: "(294) 744-1754", + country: "Germany" + }, + { + id: "EBEDFEDF-C343-CA7B-99DD-08C550E2AC2F", + name: "Nash Fletcher", + email: "pede.cras@yahoo.edu", + address: "582-9734 Et, Ave", + currency: "$74.50", + phone: "1-654-581-9096", + country: "Turkey" + }, + { + id: "66945E12-6ABA-435E-DBB2-55072D213951", + name: "Ria Valentine", + email: "parturient.montes.nascetur@outlook.com", + address: "Ap #152-9476 Curabitur Av.", + currency: "$35.43", + phone: "1-632-584-4728", + country: "India" + }, + { + id: "3E085CC0-253B-ABE1-1C3C-E7325A77DEC3", + name: "Lamar Cline", + email: "amet.nulla@hotmail.couk", + address: "Ap #381-4841 Dis Rd.", + currency: "$69.78", + phone: "(561) 267-5896", + country: "Chile" + }, + { + id: "ED793F77-16A8-11B2-410B-1AFA3943DABB", + name: "Adam Glenn", + email: "tempus.scelerisque@aol.couk", + address: "P.O. Box 132, 8775 Neque. St.", + currency: "$85.83", + phone: "(143) 918-7499", + country: "Nigeria" + }, + { + id: "D36366C9-573D-5293-A1CC-93F842AE07D8", + name: "Oleg Vargas", + email: "tortor.nunc@outlook.com", + address: "204-9848 Erat, Street", + currency: "$67.26", + phone: "1-428-932-9180", + country: "Canada" + }, + { + id: "B6C8E515-2112-F28E-594D-1B7C0D7B47F1", + name: "Melissa York", + email: "pede.malesuada.vel@yahoo.ca", + address: "146-3278 Lacus, Av.", + currency: "$15.71", + phone: "(161) 547-1183", + country: "Spain" + }, + { + id: "C7661679-B0CC-85E7-FAD6-FDCD6BB97E5D", + name: "Drake Wolfe", + email: "cras.interdum@protonmail.couk", + address: "317-4048 Magna. Street", + currency: "$69.44", + phone: "(253) 698-1881", + country: "Vietnam" + }, + { + id: "C6D4011F-84C2-6EDA-3D95-9D83CA97C25E", + name: "Deacon Ayala", + email: "nec.cursus@outlook.couk", + address: "410-6611 Nec Road", + currency: "$89.08", + phone: "(335) 769-5622", + country: "Poland" + }, + { + id: "48B0C5DE-5E7E-D1A2-1366-2DBE82623331", + name: "Martha Rasmussen", + email: "sed.sem.egestas@aol.ca", + address: "Ap #719-7379 Sem Avenue", + currency: "$34.26", + phone: "1-432-647-6289", + country: "Italy" + }, + { + id: "83DEBC19-D86B-7A0B-CBC6-C1AC57A9B4D8", + name: "Griffin English", + email: "nascetur@hotmail.edu", + address: "Ap #410-5614 Enim Rd.", + currency: "$61.15", + phone: "(745) 862-7525", + country: "Germany" + }, + { + id: "9FAB9263-858B-3F7D-C34B-D0C955ECE98E", + name: "Lael Hall", + email: "libero.proin@icloud.org", + address: "Ap #387-807 Dui. Rd.", + currency: "$51.40", + phone: "1-323-462-5570", + country: "Peru" + }, + { + id: "410DF3DD-2374-4225-3878-5BDD2CD8497E", + name: "Dale Watson", + email: "ridiculus.mus.proin@google.org", + address: "355-5985 Nunc. Avenue", + currency: "$81.86", + phone: "(826) 263-8128", + country: "New Zealand" + }, + { + id: "91134C51-B2C7-AA9E-C8BE-7940E8CEF347", + name: "Tallulah Maxwell", + email: "id.erat@aol.edu", + address: "Ap #539-2080 In Rd.", + currency: "$57.72", + phone: "1-533-213-5545", + country: "United Kingdom" + }, + { + id: "45823C44-F871-CE46-D919-8794F37F0071", + name: "Nevada Stewart", + email: "fusce.dolor@outlook.com", + address: "P.O. Box 316, 2949 Consequat Road", + currency: "$50.13", + phone: "(702) 428-5341", + country: "Sweden" + }, + { + id: "58963DE5-F784-DD1A-132D-F7C483DD56DE", + name: "Jennifer Leon", + email: "ut.nisi@yahoo.couk", + address: "Ap #978-9336 Nunc Av.", + currency: "$21.85", + phone: "(719) 554-6625", + country: "India" + }, + { + id: "2D9B4BDE-D17D-17DF-8DDF-61C8CD2283A1", + name: "Harlan Ramirez", + email: "ac.mattis@icloud.ca", + address: "7405 Eget, St.", + currency: "$1.95", + phone: "(693) 365-2698", + country: "Pakistan" + }, + { + id: "4E36276F-C276-CEE6-19E9-A921ACDDFADD", + name: "Carla Browning", + email: "ut.erat@aol.com", + address: "Ap #565-6003 Donec Rd.", + currency: "$43.23", + phone: "(298) 504-0724", + country: "Russian Federation" + }, + { + id: "A749736E-4CBD-BCD1-AF11-CCA0F63180CA", + name: "David Mcclain", + email: "ante@icloud.couk", + address: "P.O. Box 310, 3364 Justo. Rd.", + currency: "$61.66", + phone: "(723) 657-8468", + country: "France" + }, + { + id: "01C396C4-A15E-6794-215D-DA52CDB4E5AA", + name: "Camilla Lee", + email: "in.lobortis@aol.net", + address: "992-836 Ligula Rd.", + currency: "$35.30", + phone: "(516) 554-6659", + country: "China" + }, + { + id: "E77218AB-D486-64C1-A4E4-7AA0D98DCE35", + name: "Patience Mathis", + email: "eleifend.cras.sed@yahoo.net", + address: "Ap #369-2958 Amet Av.", + currency: "$85.55", + phone: "1-523-874-1312", + country: "Turkey" + }, + { + id: "C32448D3-6F0E-9C12-BAE5-9B7C596E24D0", + name: "Celeste Wall", + email: "metus.aliquam@outlook.couk", + address: "507-285 Enim Rd.", + currency: "$83.85", + phone: "(467) 528-6086", + country: "Poland" + }, + { + id: "44EB92FF-0EF2-7B8F-D75F-570A3984D6BC", + name: "Sophia Mcpherson", + email: "aliquam.adipiscing@icloud.org", + address: "7824 At St.", + currency: "$50.48", + phone: "(358) 574-8679", + country: "South Africa" + }, + { + id: "7A78595B-C0D2-10AC-6DC4-AE4434749C72", + name: "Ivy Snyder", + email: "non.luctus.sit@outlook.couk", + address: "864-8907 Mi St.", + currency: "$74.71", + phone: "1-786-486-7004", + country: "Norway" + }, + { + id: "8AAB498C-D43D-6247-C7E1-48D2050B7E7A", + name: "Castor Wyatt", + email: "cras.lorem@outlook.net", + address: "Ap #319-7577 Non Avenue", + currency: "$29.70", + phone: "1-852-883-4757", + country: "Costa Rica" + }, + { + id: "8E249A37-BEDF-9F12-7347-64181E74DDCE", + name: "Abdul Ferguson", + email: "non.luctus@protonmail.couk", + address: "P.O. Box 241, 8266 Nullam Av.", + currency: "$91.19", + phone: "(487) 915-8836", + country: "Ukraine" + }, + { + id: "BD1B5AC0-04E7-72A7-E3B6-ACD4B0E245BC", + name: "Nola Mccormick", + email: "mauris@google.couk", + address: "137-819 Odio Av.", + currency: "$28.48", + phone: "1-321-139-1401", + country: "Turkey" + }, + { + id: "5FC03423-7AB8-9CD4-D293-BB428EA492B4", + name: "Chester Alvarez", + email: "dolor@google.net", + address: "7516 Sapien. Street", + currency: "$66.38", + phone: "(265) 314-5742", + country: "China" + }, + { + id: "997CA808-2B44-6EFB-8B34-E808D7F015E4", + name: "Francesca Albert", + email: "nullam.feugiat.placerat@hotmail.org", + address: "Ap #685-8227 Dui Rd.", + currency: "$17.43", + phone: "(783) 405-9149", + country: "Brazil" + }, + { + id: "DB8E94E7-D8B5-441D-F5E2-A3C7E4EC2242", + name: "Felix Key", + email: "et@yahoo.couk", + address: "Ap #884-7678 Pede. Rd.", + currency: "$21.65", + phone: "(624) 280-8172", + country: "Costa Rica" + }, + { + id: "BECB4581-D4DC-CB3A-9F57-B4F8E2685D5E", + name: "Brett Merritt", + email: "et.malesuada@outlook.org", + address: "799-9827 Eget Av.", + currency: "$70.27", + phone: "(737) 937-3228", + country: "Canada" + }, + { + id: "8E4B65B8-DF13-A727-56CD-A77A90A244D8", + name: "Gil Petty", + email: "risus.at@outlook.ca", + address: "907-9582 Consectetuer Ave", + currency: "$2.68", + phone: "(165) 557-5518", + country: "Singapore" + }, + { + id: "CB0BBC36-C3A7-6A31-14E7-DC0160643CBD", + name: "Zephania Callahan", + email: "viverra.maecenas.iaculis@hotmail.org", + address: "P.O. Box 611, 4935 Nec Street", + currency: "$36.33", + phone: "1-273-539-6366", + country: "Russian Federation" + }, + { + id: "2B37AE08-69E7-49F1-B332-D5913E889901", + name: "Knox Wynn", + email: "sollicitudin.adipiscing.ligula@outlook.ca", + address: "726-9675 Libero. Road", + currency: "$22.38", + phone: "(908) 614-6537", + country: "Netherlands" + }, + { + id: "DC8A4453-862C-DAEB-5B5A-670D3D2B71E2", + name: "Quemby Glass", + email: "mollis.integer@hotmail.edu", + address: "Ap #904-5448 Pellentesque Street", + currency: "$15.17", + phone: "1-585-578-2949", + country: "Peru" + }, + { + id: "31694084-A3AE-631B-E518-59E57D87A21B", + name: "Xenos Henson", + email: "eleifend.vitae@yahoo.couk", + address: "119-5443 Fusce Avenue", + currency: "$27.14", + phone: "(982) 316-5425", + country: "Indonesia" + }, + { + id: "4EF7ED08-8079-AED6-799B-21643E113739", + name: "Boris Moon", + email: "sagittis@outlook.com", + address: "Ap #308-4697 Mus. St.", + currency: "$77.35", + phone: "1-175-312-2554", + country: "Ireland" + }, + { + id: "395F41C5-3EEC-48BE-6E7B-39D4AF93EA25", + name: "Driscoll Martinez", + email: "aliquam.gravida@hotmail.net", + address: "3165 In Rd.", + currency: "$59.31", + phone: "1-526-571-4474", + country: "Germany" + }, + { + id: "A3BA8E46-BC26-257C-C65C-7F2A555E229A", + name: "Cullen Vang", + email: "vestibulum.ut@protonmail.org", + address: "147-8366 Purus Road", + currency: "$91.46", + phone: "1-554-746-5663", + country: "South Africa" + }, + { + id: "7E493C34-3376-9D34-4991-A388D6C78173", + name: "August Payne", + email: "placerat.eget.venenatis@yahoo.org", + address: "Ap #986-7302 Enim Road", + currency: "$82.53", + phone: "(758) 727-4871", + country: "Spain" + }, + { + id: "951EBFF6-DFAE-4787-2533-87EACB888149", + name: "Kasper Mcgowan", + email: "ligula.nullam.feugiat@protonmail.ca", + address: "307-6319 In St.", + currency: "$34.64", + phone: "(873) 238-3336", + country: "Pakistan" + }, + { + id: "41566BA0-85BA-1BD9-9D9F-C59B36927799", + name: "Cole Wells", + email: "lacus.vestibulum@yahoo.edu", + address: "741-9677 Maecenas Avenue", + currency: "$52.67", + phone: "(835) 174-6985", + country: "Vietnam" + }, + { + id: "50B0CAAA-8084-5E4A-0355-47E222498588", + name: "Oscar Hicks", + email: "rhoncus.donec.est@hotmail.edu", + address: "6575 Vel, Ave", + currency: "$78.07", + phone: "(440) 215-2323", + country: "United Kingdom" + }, + { + id: "A94E3BA4-5A35-973E-3E98-627CDCF27D6C", + name: "Flynn Moss", + email: "libero.est@yahoo.ca", + address: "P.O. Box 634, 7418 Enim Ave", + currency: "$60.94", + phone: "1-888-848-3281", + country: "Sweden" + }, + { + id: "C68478BE-22E4-B832-C486-C51A497ABBD7", + name: "Courtney Crane", + email: "fusce.aliquet.magna@aol.couk", + address: "8896 Tempus Road", + currency: "$69.05", + phone: "1-426-784-7273", + country: "Australia" + }, + { + id: "D8DB4622-C6A9-2FB1-93D8-E2117308E42A", + name: "Camilla Carr", + email: "nisl.elementum.purus@icloud.net", + address: "Ap #818-1429 Tellus Rd.", + currency: "$5.90", + phone: "(171) 515-2419", + country: "Chile" + }, + { + id: "99451145-24E3-D782-2EDA-A124314F3061", + name: "Maite Roberson", + email: "eu@hotmail.net", + address: "4400 Aliquet, Avenue", + currency: "$81.83", + phone: "1-863-927-1813", + country: "France" + }, + { + id: "C62B5ACA-7521-0918-DD24-64B2AABA1E75", + name: "Carissa Robertson", + email: "lacus.cras@google.edu", + address: "Ap #780-4027 Mattis Av.", + currency: "$36.42", + phone: "(528) 889-8825", + country: "Chile" + }, + { + id: "691ACDCE-7733-5E71-C2A7-E1D415290226", + name: "Mason Cook", + email: "augue.porttitor@icloud.com", + address: "4469 Molestie St.", + currency: "$61.49", + phone: "1-415-113-6364", + country: "India" + }, + { + id: "4E843992-77C3-2A53-2174-562D7365AC40", + name: "Christen Gallegos", + email: "sed.tortor.integer@icloud.ca", + address: "Ap #124-8627 Litora Rd.", + currency: "$83.39", + phone: "(329) 802-7735", + country: "Canada" + }, + { + id: "7419E34B-D769-3D93-C594-1069700ECBEE", + name: "Raymond Rivas", + email: "condimentum@protonmail.net", + address: "Ap #771-8621 Ultrices. St.", + currency: "$91.04", + phone: "(418) 581-0485", + country: "Costa Rica" + }, + { + id: "5E612210-D8ED-7F6A-F6A6-F902C59621C6", + name: "Jamal Trevino", + email: "pulvinar.arcu.et@google.net", + address: "367-7229 Sollicitudin Road", + currency: "$68.33", + phone: "(975) 631-8740", + country: "Italy" + }, + { + id: "32E1DBE7-DA55-45D3-C6BF-BCDE81318482", + name: "Kevin Mills", + email: "risus.donec@protonmail.couk", + address: "7216 Etiam St.", + currency: "$44.60", + phone: "1-760-366-1613", + country: "Ireland" + }, + { + id: "2C40DA8C-C67A-ACC8-BB1E-13CACF5B241A", + name: "Vincent Mays", + email: "sollicitudin@protonmail.net", + address: "Ap #743-5638 Dolor. Ave", + currency: "$40.33", + phone: "(292) 913-1705", + country: "Belgium" + }, + { + id: "79DDDC92-C413-E3B9-713F-DBE6CC4E22C1", + name: "Jason Briggs", + email: "adipiscing.fringilla@outlook.com", + address: "P.O. Box 540, 6283 Vivamus Road", + currency: "$31.57", + phone: "(412) 677-7838", + country: "Ireland" + }, + { + id: "5362D327-9F33-9465-DB25-5749BB7AA28B", + name: "Heather Graham", + email: "mauris.sit.amet@yahoo.ca", + address: "4115 Purus. Ave", + currency: "$2.13", + phone: "(426) 284-8161", + country: "Ukraine" + }, + { + id: "875E833E-EA72-67EE-BE2E-9D6191C985E9", + name: "Sade Mcdowell", + email: "cras@hotmail.ca", + address: "2547 Eu St.", + currency: "$83.65", + phone: "(551) 907-3525", + country: "United States" + }, + { + id: "4B9C5FAA-0A47-FE44-B242-A1D5B43D31E6", + name: "Simon Alvarez", + email: "quis.turpis@yahoo.net", + address: "P.O. Box 173, 2312 Lectus. Av.", + currency: "$83.26", + phone: "1-291-238-9787", + country: "Belgium" + }, + { + id: "9C3E1E9B-48F2-1EC5-237D-806ADBB3199C", + name: "Sawyer Wilkins", + email: "volutpat@google.org", + address: "4179 Metus St.", + currency: "$97.12", + phone: "1-783-726-6155", + country: "Indonesia" + }, + { + id: "E790F9CA-B5D1-3853-D6ED-86D5D0FAAB11", + name: "Beverly Mccarthy", + email: "cursus.luctus.ipsum@google.edu", + address: "Ap #584-8322 Ipsum Avenue", + currency: "$46.59", + phone: "(319) 278-1819", + country: "Ireland" + }, + { + id: "7AA9047F-A442-4517-8236-C6954E61384E", + name: "Colleen Mcconnell", + email: "nonummy.fusce@outlook.couk", + address: "851-3527 Purus. Avenue", + currency: "$62.37", + phone: "1-515-785-6715", + country: "United States" + }, + { + id: "24F34B47-6CD5-C56B-DD8F-B7F7929EFCB2", + name: "Laurel Holden", + email: "nonummy.ultricies@icloud.couk", + address: "483-446 Purus. Rd.", + currency: "$33.65", + phone: "(901) 974-1583", + country: "Colombia" + }, + { + id: "EE624558-D145-5746-B1E5-A32BB85BB937", + name: "Deirdre Hooper", + email: "integer.tincidunt.aliquam@protonmail.com", + address: "Ap #130-8592 Ornare. St.", + currency: "$89.93", + phone: "1-385-432-3554", + country: "Spain" + }, + { + id: "6943CA38-76D9-2969-26B3-888EDB31ACA1", + name: "Dacey Charles", + email: "blandit.viverra.donec@protonmail.org", + address: "595-9926 A Rd.", + currency: "$72.81", + phone: "(816) 671-3696", + country: "Philippines" + }, + { + id: "1BC6B91E-B082-A9EA-A82D-BE3E7871549B", + name: "Mari Cote", + email: "dictum@protonmail.org", + address: "4262 Sociosqu Avenue", + currency: "$95.18", + phone: "(357) 638-7278", + country: "United States" + }, + { + id: "2985D71C-031D-B67A-F4D7-D60241487C95", + name: "Otto Ortega", + email: "aenean.eget@yahoo.net", + address: "930-5830 Pellentesque St.", + currency: "$89.39", + phone: "(517) 383-2271", + country: "China" + }, + { + id: "98346A89-D597-A761-EE22-6CD8E4E618B3", + name: "Noah Mccoy", + email: "volutpat.ornare.facilisis@protonmail.org", + address: "668-3532 Egestas. Rd.", + currency: "$14.19", + phone: "1-626-963-3589", + country: "China" + }, + { + id: "AB5BF476-B345-492B-C7B7-A73A3181B490", + name: "Alyssa Davidson", + email: "vitae.nibh.donec@icloud.couk", + address: "Ap #874-2115 Enim Av.", + currency: "$73.44", + phone: "(313) 657-3807", + country: "Canada" + } +]; \ No newline at end of file diff --git a/src/routes/(editor)/experimental.tsx b/src/routes/(editor)/experimental.tsx index c94d745..dc11067 100644 --- a/src/routes/(editor)/experimental.tsx +++ b/src/routes/(editor)/experimental.tsx @@ -3,33 +3,9 @@ import css from "./experimental.module.css"; import { Sidebar } from "~/components/sidebar"; import { createStore } from "solid-js/store"; import { createEffect, For } from "solid-js"; +import { Person, people } from './experimental.data'; -export default function Experimental() { - const rows = [ - { key: 'key1.a.a', value: 10 }, - { key: 'key1.a.b', value: 20 }, - { key: 'key1.a.c', value: 30 }, - { key: 'key1.b.a', value: 40 }, - { key: 'key1.b.b', value: 50 }, - { key: 'key1.b.c', value: 60 }, - { key: 'key1.c.a', value: 70 }, - { key: 'key1.c.b', value: 80 }, - { key: 'key1.c.c', value: 90 }, - - { key: 'key2.a.a', value: 10 }, - { key: 'key2.a.b', value: 20 }, - { key: 'key2.a.c', value: 30 }, - { key: 'key2.b.a', value: 40 }, - { key: 'key2.b.b', value: 50 }, - { key: 'key2.b.c', value: 60 }, - { key: 'key2.c.a', value: 70 }, - { key: 'key2.c.b', value: 80 }, - { key: 'key2.c.c', value: 90 }, - - { key: 'aaaa', value: 200 }, - ]; - - type Entry = typeof rows[0]; + const columns: Column[] = [ const columns: Column[] = [ { id: 'key', @@ -109,8 +85,8 @@ export default function Experimental() {
- {{ - value: (cell) => , +
{{ + address: (cell) => , }}
;