diff --git a/package.json b/package.json index 93bc7b38..1882836b 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "socket.io": "^4.7.5", "socket.io-client": "^4.7.5", "svelte-i18next": "^2.2.2", + "svelte-legos": "^0.2.3", "svelte-persisted-store": "^0.11.0", "svelte-sonner": "^0.3.27", "svelte-ux": "^0.73.3", @@ -36,6 +37,7 @@ "tailwind-merge": "^2.4.0", "tailwind-variants": "^0.2.1", "tw-colors": "^3.3.1", + "vaul-svelte": "^0.3.2", "zod": "^3.23.8" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 512de127..448a2745 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: version: 7.4.47 '@tanstack/svelte-query': specifier: ^5.51.5 - version: 5.51.5(svelte@4.2.18) + version: 5.51.9(svelte@4.2.18) bits-ui: specifier: ^0.21.12 version: 0.21.12(svelte@4.2.18) @@ -56,6 +56,9 @@ importers: svelte-i18next: specifier: ^2.2.2 version: 2.2.2(i18next@23.12.1)(svelte@4.2.18) + svelte-legos: + specifier: ^0.2.3 + version: 0.2.3(svelte@4.2.18) svelte-persisted-store: specifier: ^0.11.0 version: 0.11.0(svelte@4.2.18) @@ -77,6 +80,9 @@ importers: tw-colors: specifier: ^3.3.1 version: 3.3.1(tailwindcss@3.4.4) + vaul-svelte: + specifier: ^0.3.2 + version: 0.3.2(svelte@4.2.18) zod: specifier: ^3.23.8 version: 3.23.8 @@ -1280,11 +1286,11 @@ packages: '@swc/helpers@0.5.3': resolution: {integrity: sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==} - '@tanstack/query-core@5.51.5': - resolution: {integrity: sha512-qovOto6hFet2zA4Pf3cDO+qkOqskO6xP39PlKnr6YKPtjRsePWyZnTaMf59+VnlOLY8gpku1I4WPC4dqBXo4FQ==} + '@tanstack/query-core@5.51.9': + resolution: {integrity: sha512-HsAwaY5J19MD18ykZDS3aVVh+bAt0i7m6uQlFC2b77DLV9djo+xEN7MWQAQQTR8IM+7r/zbozTQ7P0xr0bHuew==} - '@tanstack/svelte-query@5.51.5': - resolution: {integrity: sha512-6POqaWbhmkyFosZfA9lYJC5q+pehWQ6Ykkxq+s5wgrHdSAMw/q9t124Z92WcK7YTia5GXMJ0OTNsprh64ZFw8g==} + '@tanstack/svelte-query@5.51.9': + resolution: {integrity: sha512-u9U/Lo/5TrQ1bzBP5DPKfACNLAiY0BySeRaKC5Xn45+5k9aD3BZVCOIsTAprkByBklsshWkueXE0QQiCo7LPeQ==} peerDependencies: svelte: ^3.54.0 || ^4.0.0 || ^5.0.0-next.0 @@ -1590,10 +1596,6 @@ packages: brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} - braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} @@ -1639,6 +1641,9 @@ packages: caniuse-lite@1.0.30001600: resolution: {integrity: sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==} + canvas-confetti@1.9.3: + resolution: {integrity: sha512-rFfTURMvmVEX1gyXFgn5QMn81bYk70qa0HLzcIOSVEyl57n6o9ItHeBtUSWdvKAPY0xlvBHno4/v3QPrT83q9g==} + chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -2237,10 +2242,6 @@ packages: filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} - fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} - fill-range@7.1.1: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} @@ -2747,10 +2748,6 @@ packages: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} - lilconfig@3.0.0: - resolution: {integrity: sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==} - engines: {node: '>=14'} - lilconfig@3.1.2: resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} engines: {node: '>=14'} @@ -3649,6 +3646,11 @@ packages: peerDependencies: svelte: ^4.0.0 + svelte-legos@0.2.3: + resolution: {integrity: sha512-HuFzPC7of2ZErJaIoxFRu2Z5Rk7VUhlkAfqWoXpO1S9CNSByMakzTLVsM0/VDE6jmCG5JXLqvjND+rsV6nkOHQ==} + peerDependencies: + svelte: ^4.0.0 + svelte-lucide@1.0.6: resolution: {integrity: sha512-p3KmG59dr7Xwm4gKnWG/flbukF5X6FP9W7FnK0fhigaKyBKAWmHlMJ4peFwxDOuQ/k3Ssl8ngLiDqAUxLX8dyA==} peerDependencies: @@ -3974,6 +3976,11 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} + vaul-svelte@0.3.2: + resolution: {integrity: sha512-X4OGWttSTVUl417qGDsSFgOvIx24DoiMRY/jaP9z0v9FL8LQQJ0RQ1ZM0QpdyQPRlNd24ewjNQHh5EgYDtfNpw==} + peerDependencies: + svelte: ^4.0.0 || ^5.0.0-next.1 + vite-plugin-pwa@0.20.0: resolution: {integrity: sha512-/kDZyqF8KqoXRpMUQtR5Atri/7BWayW8Gp7Kz/4bfstsV6zSFTxjREbXZYL7zSuRL40HGA+o2hvUAFRmC+bL7g==} engines: {node: '>=16.0.0'} @@ -4135,10 +4142,6 @@ packages: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - yaml@2.3.4: - resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} - engines: {node: '>= 14'} - yaml@2.4.5: resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} engines: {node: '>= 14'} @@ -5389,11 +5392,11 @@ snapshots: dependencies: tslib: 2.6.3 - '@tanstack/query-core@5.51.5': {} + '@tanstack/query-core@5.51.9': {} - '@tanstack/svelte-query@5.51.5(svelte@4.2.18)': + '@tanstack/svelte-query@5.51.9(svelte@4.2.18)': dependencies: - '@tanstack/query-core': 5.51.5 + '@tanstack/query-core': 5.51.9 svelte: 4.2.18 '@types/conventional-commits-parser@5.0.0': @@ -5747,10 +5750,6 @@ snapshots: dependencies: balanced-match: 1.0.2 - braces@3.0.2: - dependencies: - fill-range: 7.0.1 - braces@3.0.3: dependencies: fill-range: 7.1.1 @@ -5792,6 +5791,8 @@ snapshots: caniuse-lite@1.0.30001600: {} + canvas-confetti@1.9.3: {} + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -5846,7 +5847,7 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 '@types/estree': 1.0.5 - acorn: 8.11.3 + acorn: 8.12.0 estree-walker: 3.0.3 periscopic: 3.1.0 @@ -6466,7 +6467,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.5 + micromatch: 4.0.7 fast-json-stable-stringify@2.1.0: {} @@ -6490,10 +6491,6 @@ snapshots: dependencies: minimatch: 5.1.6 - fill-range@7.0.1: - dependencies: - to-regex-range: 5.0.1 - fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -6986,8 +6983,6 @@ snapshots: lilconfig@2.1.0: {} - lilconfig@3.0.0: {} - lilconfig@3.1.2: {} lines-and-columns@1.2.4: {} @@ -7092,7 +7087,7 @@ snapshots: micromatch@4.0.5: dependencies: - braces: 3.0.2 + braces: 3.0.3 picomatch: 2.3.1 micromatch@4.0.7: @@ -7326,8 +7321,8 @@ snapshots: postcss-load-config@4.0.2(postcss@8.4.39): dependencies: - lilconfig: 3.0.0 - yaml: 2.3.4 + lilconfig: 3.1.2 + yaml: 2.4.5 optionalDependencies: postcss: 8.4.39 @@ -7942,6 +7937,13 @@ snapshots: dependencies: svelte: 4.2.18 + svelte-legos@0.2.3(svelte@4.2.18): + dependencies: + canvas-confetti: 1.9.3 + prism-svelte: 0.5.0 + prismjs: 1.29.0 + svelte: 4.2.18 + svelte-lucide@1.0.6(svelte@4.2.18): dependencies: svelte: 4.2.18 @@ -8352,6 +8354,11 @@ snapshots: vary@1.1.2: {} + vaul-svelte@0.3.2(svelte@4.2.18): + dependencies: + bits-ui: 0.21.12(svelte@4.2.18) + svelte: 4.2.18 + vite-plugin-pwa@0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.3.4(@types/node@20.11.30)(sass@1.77.8)(terser@5.30.0))(workbox-build@7.0.0)(workbox-window@7.0.0): dependencies: debug: 4.3.4 @@ -8553,8 +8560,6 @@ snapshots: yaml@1.10.2: {} - yaml@2.3.4: {} - yaml@2.4.5: {} yargs-parser@21.1.1: {} diff --git a/src/lib/assets/Icon_Gold_Star.png b/src/lib/assets/Icon_Gold_Star.png deleted file mode 100644 index e4cbe22a..00000000 Binary files a/src/lib/assets/Icon_Gold_Star.png and /dev/null differ diff --git a/src/lib/assets/Icon_Purple_Star.png b/src/lib/assets/Icon_Purple_Star.png deleted file mode 100644 index f3d06973..00000000 Binary files a/src/lib/assets/Icon_Purple_Star.png and /dev/null differ diff --git a/src/lib/assets/Icon_Weapon_Bow.png b/src/lib/assets/Icon_Weapon_Bow.png deleted file mode 100644 index a02bba1d..00000000 Binary files a/src/lib/assets/Icon_Weapon_Bow.png and /dev/null differ diff --git a/src/lib/assets/Icon_Weapon_Catalyst.png b/src/lib/assets/Icon_Weapon_Catalyst.png deleted file mode 100644 index 38617179..00000000 Binary files a/src/lib/assets/Icon_Weapon_Catalyst.png and /dev/null differ diff --git a/src/lib/assets/Icon_Weapon_Claymore.png b/src/lib/assets/Icon_Weapon_Claymore.png deleted file mode 100644 index 6d16d293..00000000 Binary files a/src/lib/assets/Icon_Weapon_Claymore.png and /dev/null differ diff --git a/src/lib/assets/Icon_Weapon_Polearm.png b/src/lib/assets/Icon_Weapon_Polearm.png deleted file mode 100644 index ff44aec9..00000000 Binary files a/src/lib/assets/Icon_Weapon_Polearm.png and /dev/null differ diff --git a/src/lib/assets/Icon_Weapon_Sword.png b/src/lib/assets/Icon_Weapon_Sword.png deleted file mode 100644 index 5bd63083..00000000 Binary files a/src/lib/assets/Icon_Weapon_Sword.png and /dev/null differ diff --git a/src/lib/assets/icons/Element_Cryo.svg b/src/lib/assets/icons/Element_Cryo.svg deleted file mode 100644 index 9cf0b267..00000000 --- a/src/lib/assets/icons/Element_Cryo.svg +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - - - - - - diff --git a/src/lib/assets/icons/Element_Geo.svg b/src/lib/assets/icons/Element_Geo.svg deleted file mode 100644 index b8e09003..00000000 --- a/src/lib/assets/icons/Element_Geo.svg +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - diff --git a/src/lib/assets/icons/Element_Anemo.svg b/src/lib/assets/icons/elements/Element_Anemo.svg similarity index 98% rename from src/lib/assets/icons/Element_Anemo.svg rename to src/lib/assets/icons/elements/Element_Anemo.svg index e24baccf..398f3e78 100644 --- a/src/lib/assets/icons/Element_Anemo.svg +++ b/src/lib/assets/icons/elements/Element_Anemo.svg @@ -1,109 +1,109 @@ - - - - - - + + + + + + diff --git a/src/lib/assets/icons/Element_Anemo_Outline.PNG b/src/lib/assets/icons/elements/Element_Anemo_Outline.PNG similarity index 100% rename from src/lib/assets/icons/Element_Anemo_Outline.PNG rename to src/lib/assets/icons/elements/Element_Anemo_Outline.PNG diff --git a/src/lib/assets/icons/elements/Element_Cryo.svg b/src/lib/assets/icons/elements/Element_Cryo.svg new file mode 100644 index 00000000..89090c11 --- /dev/null +++ b/src/lib/assets/icons/elements/Element_Cryo.svg @@ -0,0 +1,162 @@ + + + + + + diff --git a/src/lib/assets/icons/Element_Cryo_Outline.PNG b/src/lib/assets/icons/elements/Element_Cryo_Outline.PNG similarity index 100% rename from src/lib/assets/icons/Element_Cryo_Outline.PNG rename to src/lib/assets/icons/elements/Element_Cryo_Outline.PNG diff --git a/src/lib/assets/icons/Element_Dendro.svg b/src/lib/assets/icons/elements/Element_Dendro.svg similarity index 99% rename from src/lib/assets/icons/Element_Dendro.svg rename to src/lib/assets/icons/elements/Element_Dendro.svg index 6cb6b9cb..1e01b6b2 100644 --- a/src/lib/assets/icons/Element_Dendro.svg +++ b/src/lib/assets/icons/elements/Element_Dendro.svg @@ -1,111 +1,111 @@ - - - - - - + + + + + + diff --git a/src/lib/assets/icons/Element_Dendro_Outline.PNG b/src/lib/assets/icons/elements/Element_Dendro_Outline.PNG similarity index 100% rename from src/lib/assets/icons/Element_Dendro_Outline.PNG rename to src/lib/assets/icons/elements/Element_Dendro_Outline.PNG diff --git a/src/lib/assets/icons/Element_Electro.svg b/src/lib/assets/icons/elements/Element_Electro.svg similarity index 99% rename from src/lib/assets/icons/Element_Electro.svg rename to src/lib/assets/icons/elements/Element_Electro.svg index a8803cd6..ad8bdfbe 100644 --- a/src/lib/assets/icons/Element_Electro.svg +++ b/src/lib/assets/icons/elements/Element_Electro.svg @@ -1,323 +1,323 @@ - - - - - - - - - + + + + + + + + + diff --git a/src/lib/assets/icons/elements/Element_Geo.svg b/src/lib/assets/icons/elements/Element_Geo.svg new file mode 100644 index 00000000..9c42766b --- /dev/null +++ b/src/lib/assets/icons/elements/Element_Geo.svg @@ -0,0 +1,66 @@ + + + + + + diff --git a/src/lib/assets/icons/Element_Geo_Outline.PNG b/src/lib/assets/icons/elements/Element_Geo_Outline.PNG similarity index 100% rename from src/lib/assets/icons/Element_Geo_Outline.PNG rename to src/lib/assets/icons/elements/Element_Geo_Outline.PNG diff --git a/src/lib/assets/icons/Element_Hydro.svg b/src/lib/assets/icons/elements/Element_Hydro.svg similarity index 99% rename from src/lib/assets/icons/Element_Hydro.svg rename to src/lib/assets/icons/elements/Element_Hydro.svg index fff17890..7ddf1576 100644 --- a/src/lib/assets/icons/Element_Hydro.svg +++ b/src/lib/assets/icons/elements/Element_Hydro.svg @@ -1,266 +1,266 @@ - - - - - - - - + + + + + + + + diff --git a/src/lib/assets/icons/Element_Hydro_Outline.PNG b/src/lib/assets/icons/elements/Element_Hydro_Outline.PNG similarity index 100% rename from src/lib/assets/icons/Element_Hydro_Outline.PNG rename to src/lib/assets/icons/elements/Element_Hydro_Outline.PNG diff --git a/src/lib/assets/icons/Element_Pyro.svg b/src/lib/assets/icons/elements/Element_Pyro.svg similarity index 99% rename from src/lib/assets/icons/Element_Pyro.svg rename to src/lib/assets/icons/elements/Element_Pyro.svg index d1372ad4..d3fa1dab 100644 --- a/src/lib/assets/icons/Element_Pyro.svg +++ b/src/lib/assets/icons/elements/Element_Pyro.svg @@ -1,199 +1,199 @@ - - - - - - - + + + + + + + diff --git a/src/lib/assets/icons/Element_Pyro_Outline.PNG b/src/lib/assets/icons/elements/Element_Pyro_Outline.PNG similarity index 100% rename from src/lib/assets/icons/Element_Pyro_Outline.PNG rename to src/lib/assets/icons/elements/Element_Pyro_Outline.PNG diff --git a/src/lib/assets/icons/primogem.webp b/src/lib/assets/icons/primogem.webp new file mode 100644 index 00000000..cafb287b Binary files /dev/null and b/src/lib/assets/icons/primogem.webp differ diff --git a/src/lib/assets/icons/weapons/bow.webp b/src/lib/assets/icons/weapons/bow.webp new file mode 100644 index 00000000..b0ca2781 Binary files /dev/null and b/src/lib/assets/icons/weapons/bow.webp differ diff --git a/src/lib/assets/icons/weapons/catalyst.webp b/src/lib/assets/icons/weapons/catalyst.webp new file mode 100644 index 00000000..0f61d250 Binary files /dev/null and b/src/lib/assets/icons/weapons/catalyst.webp differ diff --git a/src/lib/assets/icons/weapons/claymore.webp b/src/lib/assets/icons/weapons/claymore.webp new file mode 100644 index 00000000..4b65bb0e Binary files /dev/null and b/src/lib/assets/icons/weapons/claymore.webp differ diff --git a/src/lib/assets/icons/weapons/polearm.webp b/src/lib/assets/icons/weapons/polearm.webp new file mode 100644 index 00000000..95515a5a Binary files /dev/null and b/src/lib/assets/icons/weapons/polearm.webp differ diff --git a/src/lib/assets/icons/weapons/sword.webp b/src/lib/assets/icons/weapons/sword.webp new file mode 100644 index 00000000..ca8107f5 Binary files /dev/null and b/src/lib/assets/icons/weapons/sword.webp differ diff --git a/src/lib/components/tables/banner-history-table/DateRangeFilter.svelte b/src/lib/components/tables/banner-history-table/DateRangeFilter.svelte index 8333cca7..683f37d2 100644 --- a/src/lib/components/tables/banner-history-table/DateRangeFilter.svelte +++ b/src/lib/components/tables/banner-history-table/DateRangeFilter.svelte @@ -64,6 +64,16 @@ +
+ + Clear Filter + +
-
- - Clear Filter - -
diff --git a/src/lib/components/tables/banner-history-table/SelectFilter.svelte b/src/lib/components/tables/banner-history-table/SelectFilter.svelte index 4e8bf2f2..4029abbe 100644 --- a/src/lib/components/tables/banner-history-table/SelectFilter.svelte +++ b/src/lib/components/tables/banner-history-table/SelectFilter.svelte @@ -1,14 +1,13 @@ - +