@@ -147,7 +147,7 @@ Adding a new dependency should have vital value on the product with minimum poss
|
||||
│ │ │ │ ├── _create.svelte // Component to Create collections
|
||||
│ │ │ │ └── index.svelte // Entrypoint for "/console/[PROJECT_ID]/database"
|
||||
│ │ │ ├── storage // Storage Service "/console/[PROJECT]/storage"
|
||||
│ │ │ └── users // Users Service "/console/[PROJECT]/users"
|
||||
│ │ │ └── authentication // Users Service "/console/[PROJECT]/authentication"
|
||||
│ │ └──...
|
||||
│ ├── login.svelte // Component for Login "/console/login"
|
||||
│ └── register.svelte // Component for Register "/console/register"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"@aw-labs/appwrite-console": "^1.0.0-0",
|
||||
"@aw-labs/icons": "0.0.0-37",
|
||||
"@aw-labs/ui": "0.0.0-37",
|
||||
"@aw-labs/icons": "0.0.0-44",
|
||||
"@aw-labs/ui": "0.0.0-44",
|
||||
"echarts": "^5.3.3",
|
||||
"tippy.js": "^6.3.7"
|
||||
},
|
||||
@@ -70,14 +70,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aw-labs/icons": {
|
||||
"version": "0.0.0-37",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-37.tgz",
|
||||
"integrity": "sha512-4II+SFnVlDWuFwlzU2pMAy5y9Bq09bOEP1mEknZ+0BlPhDlvks742N5m0cNjlTQFCZwa/Y5YxzLNXgVszFqEfA=="
|
||||
"version": "0.0.0-44",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-44.tgz",
|
||||
"integrity": "sha512-nZ/YfsgFR5EYItnHKSoMmCMMeQPOUoGCsIgtcKW8iEhMjoZK8PxU8qnoLnAZOJONDSY484G9j7/yofdeXTfL8Q=="
|
||||
},
|
||||
"node_modules/@aw-labs/ui": {
|
||||
"version": "0.0.0-37",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-37.tgz",
|
||||
"integrity": "sha512-OxAM0ZDedo6yipN3I5CcHt1Jbc7v3vZk9k+hAVWc7F6OPF5JJ7R3ZadVvyl4fxEMo2ooK+jbbkeG62/PxgwEWw==",
|
||||
"version": "0.0.0-44",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-44.tgz",
|
||||
"integrity": "sha512-po8t4/8XUMCJZCwvv6hB6HmHEQQBPDqHEoJLeimZrR+HQam8bbPJ1a7jAj/JfH6mHFiE3qk0nM4PHTnHbYo4QA==",
|
||||
"dependencies": {
|
||||
"@aw-labs/icons": "*"
|
||||
}
|
||||
@@ -3126,118 +3126,6 @@
|
||||
"esbuild-windows-arm64": "0.14.49"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-android-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.14.49.tgz",
|
||||
"integrity": "sha512-vYsdOTD+yi+kquhBiFWl3tyxnj2qZJsl4tAqwhT90ktUdnyTizgle7TjNx6Ar1bN7wcwWqZ9QInfdk2WVagSww==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"android"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-android-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-g2HGr/hjOXCgSsvQZ1nK4nW/ei8JUx04Li74qub9qWrStlysaVmadRyTVuW32FGIpLQyc5sUjjZopj49eGGM2g==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"android"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-darwin-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.49.tgz",
|
||||
"integrity": "sha512-3rvqnBCtX9ywso5fCHixt2GBCUsogNp9DjGmvbBohh31Ces34BVzFltMSxJpacNki96+WIcX5s/vum+ckXiLYg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-darwin-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-XMaqDxO846srnGlUSJnwbijV29MTKUATmOLyQSfswbK/2X5Uv28M9tTLUJcKKxzoo9lnkYPsx2o8EJcTYwCs/A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-freebsd-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.49.tgz",
|
||||
"integrity": "sha512-NJ5Q6AjV879mOHFri+5lZLTp5XsO2hQ+KSJYLbfY9DgCu8s6/Zl2prWXVANYTeCDLlrIlNNYw8y34xqyLDKOmQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"freebsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-freebsd-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-lFLtgXnAc3eXYqj5koPlBZvEbBSOSUbWO3gyY/0+4lBdRqELyz4bAuamHvmvHW5swJYL7kngzIZw6kdu25KGOA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"freebsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-32": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.49.tgz",
|
||||
"integrity": "sha512-zTTH4gr2Kb8u4QcOpTDVn7Z8q7QEIvFl/+vHrI3cF6XOJS7iEI1FWslTo3uofB2+mn6sIJEQD9PrNZKoAAMDiA==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.49.tgz",
|
||||
@@ -3254,198 +3142,6 @@
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-arm": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.49.tgz",
|
||||
"integrity": "sha512-iE3e+ZVv1Qz1Sy0gifIsarJMQ89Rpm9mtLSRtG3AH0FPgAzQ5Z5oU6vYzhc/3gSPi2UxdCOfRhw2onXuFw/0lg==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-KLQ+WpeuY+7bxukxLz5VgkAAVQxUv67Ft4DmHIPIW+2w3ObBPQhqNoeQUHxopoW/aiOn3m99NSmSV+bs4BSsdA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-mips64le": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.49.tgz",
|
||||
"integrity": "sha512-n+rGODfm8RSum5pFIqFQVQpYBw+AztL8s6o9kfx7tjfK0yIGF6tm5HlG6aRjodiiKkH2xAiIM+U4xtQVZYU4rA==",
|
||||
"cpu": [
|
||||
"mips64el"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-ppc64le": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.49.tgz",
|
||||
"integrity": "sha512-WP9zR4HX6iCBmMFH+XHHng2LmdoIeUmBpL4aL2TR8ruzXyT4dWrJ5BSbT8iNo6THN8lod6GOmYDLq/dgZLalGw==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-riscv64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.49.tgz",
|
||||
"integrity": "sha512-h66ORBz+Dg+1KgLvzTVQEA1LX4XBd1SK0Fgbhhw4akpG/YkN8pS6OzYI/7SGENiN6ao5hETRDSkVcvU9NRtkMQ==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-linux-s390x": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.49.tgz",
|
||||
"integrity": "sha512-DhrUoFVWD+XmKO1y7e4kNCqQHPs6twz6VV6Uezl/XHYGzM60rBewBF5jlZjG0nCk5W/Xy6y1xWeopkrhFFM0sQ==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-netbsd-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.49.tgz",
|
||||
"integrity": "sha512-BXaUwFOfCy2T+hABtiPUIpWjAeWK9P8O41gR4Pg73hpzoygVGnj0nI3YK4SJhe52ELgtdgWP/ckIkbn2XaTxjQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"netbsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-openbsd-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.49.tgz",
|
||||
"integrity": "sha512-lP06UQeLDGmVPw9Rg437Btu6J9/BmyhdoefnQ4gDEJTtJvKtQaUcOQrhjTq455ouZN4EHFH1h28WOJVANK41kA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"openbsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-sunos-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.49.tgz",
|
||||
"integrity": "sha512-4c8Zowp+V3zIWje329BeLbGh6XI9c/rqARNaj5yPHdC61pHI9UNdDxT3rePPJeWcEZVKjkiAS6AP6kiITp7FSw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"sunos"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-windows-32": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.49.tgz",
|
||||
"integrity": "sha512-q7Rb+J9yHTeKr9QTPDYkqfkEj8/kcKz9lOabDuvEXpXuIcosWCJgo5Z7h/L4r7rbtTH4a8U2FGKb6s1eeOHmJA==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-windows-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.49.tgz",
|
||||
"integrity": "sha512-+Cme7Ongv0UIUTniPqfTX6mJ8Deo7VXw9xN0yJEN1lQMHDppTNmKwAM3oGbD/Vqff+07K2gN0WfNkMohmG+dVw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild-windows-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-v+HYNAXzuANrCbbLFJ5nmO3m5y2PGZWLe3uloAkLt87aXiO2mZr3BTmacZdjwNkNEHuH3bNtN8cak+mzVjVPfA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/escalade": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
|
||||
@@ -4039,20 +3735,6 @@
|
||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/fsevents": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
||||
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/function-bind": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
||||
@@ -8078,14 +7760,14 @@
|
||||
}
|
||||
},
|
||||
"@aw-labs/icons": {
|
||||
"version": "0.0.0-37",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-37.tgz",
|
||||
"integrity": "sha512-4II+SFnVlDWuFwlzU2pMAy5y9Bq09bOEP1mEknZ+0BlPhDlvks742N5m0cNjlTQFCZwa/Y5YxzLNXgVszFqEfA=="
|
||||
"version": "0.0.0-44",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-44.tgz",
|
||||
"integrity": "sha512-nZ/YfsgFR5EYItnHKSoMmCMMeQPOUoGCsIgtcKW8iEhMjoZK8PxU8qnoLnAZOJONDSY484G9j7/yofdeXTfL8Q=="
|
||||
},
|
||||
"@aw-labs/ui": {
|
||||
"version": "0.0.0-37",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-37.tgz",
|
||||
"integrity": "sha512-OxAM0ZDedo6yipN3I5CcHt1Jbc7v3vZk9k+hAVWc7F6OPF5JJ7R3ZadVvyl4fxEMo2ooK+jbbkeG62/PxgwEWw==",
|
||||
"version": "0.0.0-44",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-44.tgz",
|
||||
"integrity": "sha512-po8t4/8XUMCJZCwvv6hB6HmHEQQBPDqHEoJLeimZrR+HQam8bbPJ1a7jAj/JfH6mHFiE3qk0nM4PHTnHbYo4QA==",
|
||||
"requires": {
|
||||
"@aw-labs/icons": "*"
|
||||
}
|
||||
@@ -10485,55 +10167,6 @@
|
||||
"esbuild-windows-arm64": "0.14.49"
|
||||
}
|
||||
},
|
||||
"esbuild-android-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.14.49.tgz",
|
||||
"integrity": "sha512-vYsdOTD+yi+kquhBiFWl3tyxnj2qZJsl4tAqwhT90ktUdnyTizgle7TjNx6Ar1bN7wcwWqZ9QInfdk2WVagSww==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-android-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-g2HGr/hjOXCgSsvQZ1nK4nW/ei8JUx04Li74qub9qWrStlysaVmadRyTVuW32FGIpLQyc5sUjjZopj49eGGM2g==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-darwin-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.49.tgz",
|
||||
"integrity": "sha512-3rvqnBCtX9ywso5fCHixt2GBCUsogNp9DjGmvbBohh31Ces34BVzFltMSxJpacNki96+WIcX5s/vum+ckXiLYg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-darwin-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-XMaqDxO846srnGlUSJnwbijV29MTKUATmOLyQSfswbK/2X5Uv28M9tTLUJcKKxzoo9lnkYPsx2o8EJcTYwCs/A==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-freebsd-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.49.tgz",
|
||||
"integrity": "sha512-NJ5Q6AjV879mOHFri+5lZLTp5XsO2hQ+KSJYLbfY9DgCu8s6/Zl2prWXVANYTeCDLlrIlNNYw8y34xqyLDKOmQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-freebsd-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-lFLtgXnAc3eXYqj5koPlBZvEbBSOSUbWO3gyY/0+4lBdRqELyz4bAuamHvmvHW5swJYL7kngzIZw6kdu25KGOA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-32": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.49.tgz",
|
||||
"integrity": "sha512-zTTH4gr2Kb8u4QcOpTDVn7Z8q7QEIvFl/+vHrI3cF6XOJS7iEI1FWslTo3uofB2+mn6sIJEQD9PrNZKoAAMDiA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.49.tgz",
|
||||
@@ -10541,90 +10174,6 @@
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-arm": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.49.tgz",
|
||||
"integrity": "sha512-iE3e+ZVv1Qz1Sy0gifIsarJMQ89Rpm9mtLSRtG3AH0FPgAzQ5Z5oU6vYzhc/3gSPi2UxdCOfRhw2onXuFw/0lg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-KLQ+WpeuY+7bxukxLz5VgkAAVQxUv67Ft4DmHIPIW+2w3ObBPQhqNoeQUHxopoW/aiOn3m99NSmSV+bs4BSsdA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-mips64le": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.49.tgz",
|
||||
"integrity": "sha512-n+rGODfm8RSum5pFIqFQVQpYBw+AztL8s6o9kfx7tjfK0yIGF6tm5HlG6aRjodiiKkH2xAiIM+U4xtQVZYU4rA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-ppc64le": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.49.tgz",
|
||||
"integrity": "sha512-WP9zR4HX6iCBmMFH+XHHng2LmdoIeUmBpL4aL2TR8ruzXyT4dWrJ5BSbT8iNo6THN8lod6GOmYDLq/dgZLalGw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-riscv64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.49.tgz",
|
||||
"integrity": "sha512-h66ORBz+Dg+1KgLvzTVQEA1LX4XBd1SK0Fgbhhw4akpG/YkN8pS6OzYI/7SGENiN6ao5hETRDSkVcvU9NRtkMQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-linux-s390x": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.49.tgz",
|
||||
"integrity": "sha512-DhrUoFVWD+XmKO1y7e4kNCqQHPs6twz6VV6Uezl/XHYGzM60rBewBF5jlZjG0nCk5W/Xy6y1xWeopkrhFFM0sQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-netbsd-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.49.tgz",
|
||||
"integrity": "sha512-BXaUwFOfCy2T+hABtiPUIpWjAeWK9P8O41gR4Pg73hpzoygVGnj0nI3YK4SJhe52ELgtdgWP/ckIkbn2XaTxjQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-openbsd-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.49.tgz",
|
||||
"integrity": "sha512-lP06UQeLDGmVPw9Rg437Btu6J9/BmyhdoefnQ4gDEJTtJvKtQaUcOQrhjTq455ouZN4EHFH1h28WOJVANK41kA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-sunos-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.49.tgz",
|
||||
"integrity": "sha512-4c8Zowp+V3zIWje329BeLbGh6XI9c/rqARNaj5yPHdC61pHI9UNdDxT3rePPJeWcEZVKjkiAS6AP6kiITp7FSw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-windows-32": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.49.tgz",
|
||||
"integrity": "sha512-q7Rb+J9yHTeKr9QTPDYkqfkEj8/kcKz9lOabDuvEXpXuIcosWCJgo5Z7h/L4r7rbtTH4a8U2FGKb6s1eeOHmJA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-windows-64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.49.tgz",
|
||||
"integrity": "sha512-+Cme7Ongv0UIUTniPqfTX6mJ8Deo7VXw9xN0yJEN1lQMHDppTNmKwAM3oGbD/Vqff+07K2gN0WfNkMohmG+dVw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"esbuild-windows-arm64": {
|
||||
"version": "0.14.49",
|
||||
"resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.49.tgz",
|
||||
"integrity": "sha512-v+HYNAXzuANrCbbLFJ5nmO3m5y2PGZWLe3uloAkLt87aXiO2mZr3BTmacZdjwNkNEHuH3bNtN8cak+mzVjVPfA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"escalade": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
|
||||
@@ -11088,13 +10637,6 @@
|
||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
||||
"dev": true
|
||||
},
|
||||
"fsevents": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
||||
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"function-bind": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@aw-labs/appwrite-console": "^1.0.0-0",
|
||||
"@aw-labs/icons": "0.0.0-37",
|
||||
"@aw-labs/ui": "0.0.0-37",
|
||||
"@aw-labs/icons": "0.0.0-44",
|
||||
"@aw-labs/ui": "0.0.0-44",
|
||||
"echarts": "^5.3.3",
|
||||
"tippy.js": "^6.3.7"
|
||||
},
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</script>
|
||||
|
||||
<div class="input-text-wrapper is-with-end-button">
|
||||
<input {value} type="text" class="input-text" disabled />
|
||||
<input {value} type="text" class="input-text" readonly />
|
||||
<button
|
||||
type="button"
|
||||
class="input-button"
|
||||
|
||||
@@ -19,8 +19,6 @@ export { default as Collapsible } from './collapsible.svelte';
|
||||
export { default as DropTabs } from './dropTabs.svelte';
|
||||
export { default as DropTabsItem } from './dropTabsItem.svelte';
|
||||
export { default as Avatar } from './avatar.svelte';
|
||||
export { default as SwitchBox } from './switchBox.svelte';
|
||||
export { default as SwitchBoxes } from './switchBoxes.svelte';
|
||||
export { default as Alert } from './alert.svelte';
|
||||
export { default as Box } from './box.svelte';
|
||||
export { default as Search } from './search.svelte';
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
<script lang="ts">
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
|
||||
type SwitchBox = {
|
||||
label: string;
|
||||
id: string;
|
||||
src: string;
|
||||
alt: string;
|
||||
href: string;
|
||||
linkText: string;
|
||||
value: boolean;
|
||||
required: boolean;
|
||||
disabled: boolean;
|
||||
wip: boolean;
|
||||
};
|
||||
|
||||
export let box: SwitchBox;
|
||||
|
||||
let { label, id, src, alt, href, linkText, disabled, required, value, wip } = box;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
//TODO: move SwitchBox type outside component
|
||||
</script>
|
||||
|
||||
<li class="card">
|
||||
<label class="switch-box" for={id}>
|
||||
<div class="switch-box-image">
|
||||
<img height="50" width="50" src={src || 'https://via.placeholder.com/50'} {alt} />
|
||||
</div>
|
||||
<span class="switch-box-title">{label}</span>
|
||||
{#if !wip}
|
||||
<a {href} class="link" target="_blank">
|
||||
<span class="text">{linkText || 'Docs'} </span>
|
||||
<span class="icon-link-ext" aria-hidden="true" />
|
||||
</a>
|
||||
<input
|
||||
{id}
|
||||
{disabled}
|
||||
{required}
|
||||
type="checkbox"
|
||||
class="switch"
|
||||
role="switch"
|
||||
bind:checked={value}
|
||||
on:change={() => dispatch('updated', { value, id })} />
|
||||
{/if}
|
||||
</label>
|
||||
</li>
|
||||
@@ -1,13 +0,0 @@
|
||||
<script>
|
||||
import SwitchBox from './switchBox.svelte';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
export let boxes;
|
||||
</script>
|
||||
|
||||
<ul class="grid-box">
|
||||
{#each boxes as box}
|
||||
<SwitchBox {box} on:updated={(e) => dispatch('updated', e.detail)} />
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -27,7 +27,8 @@
|
||||
href="https://appwrite.io/support"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="button is-small is-text"><span class="text">Support</span></a>
|
||||
class="button is-small is-text u-margin-inline-end-16"
|
||||
><span class="text">Support</span></a>
|
||||
<button class="button is-small is-secondary"><span class="text">Upgrade</span></button>
|
||||
</nav>
|
||||
<nav class="user-profile">
|
||||
|
||||
@@ -41,10 +41,12 @@
|
||||
<li class="drop-list-item">
|
||||
<a
|
||||
class="drop-button"
|
||||
class:is-selected={$page.url.pathname.startsWith(`${path}/users`)}
|
||||
href={`${path}/users`}>
|
||||
class:is-selected={$page.url.pathname.startsWith(
|
||||
`${path}/authentication`
|
||||
)}
|
||||
href={`${path}/authentication`}>
|
||||
<span class="icon-user-group" aria-hidden="true" />
|
||||
<span class="text">Users</span>
|
||||
<span class="text">Authentication</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="drop-list-item">
|
||||
@@ -56,24 +58,6 @@
|
||||
<span class="text">Functions</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="drop-list-item">
|
||||
<a
|
||||
class="drop-button"
|
||||
class:is-selected={$page.url.pathname.startsWith(`${path}/webhooks`)}
|
||||
href={`${path}/webhooks`}>
|
||||
<span class="icon-link" aria-hidden="true" />
|
||||
<span class="text">Webhooks</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="drop-list-item">
|
||||
<a
|
||||
class="drop-button"
|
||||
class:is-selected={$page.url.pathname.startsWith(`${path}/keys`)}
|
||||
href={`${path}/keys`}>
|
||||
<span class="icon-key" aria-hidden="true" />
|
||||
<span class="text">API Keys</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -78,12 +78,12 @@
|
||||
<section class="main-content">
|
||||
<Cover>
|
||||
<svelte:fragment slot="header">
|
||||
{#if $backButton}
|
||||
<a class="back-button" href={$backButton} aria-label="page back">
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
</a>
|
||||
{/if}
|
||||
<h1 class="heading-level-4">
|
||||
{#if $backButton}
|
||||
<a class="back-button" href={$backButton} aria-label="page back">
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
</a>
|
||||
{/if}
|
||||
<span class="text"> {$title}</span>
|
||||
</h1>
|
||||
{#if $copyData?.value}
|
||||
|
||||
@@ -1,14 +1,25 @@
|
||||
import { writable } from 'svelte/store';
|
||||
import type { Models } from '@aw-labs/appwrite-console';
|
||||
|
||||
export type AuthMethod = {
|
||||
label: string;
|
||||
method: string;
|
||||
value: boolean | null;
|
||||
};
|
||||
|
||||
function createAuthMethods() {
|
||||
const { subscribe, set } = writable({
|
||||
list: [
|
||||
{
|
||||
label: 'Password',
|
||||
label: 'Email/Password',
|
||||
method: 'email-password',
|
||||
value: null
|
||||
},
|
||||
{
|
||||
label: 'Phone',
|
||||
method: 'phone',
|
||||
value: null
|
||||
},
|
||||
{
|
||||
label: 'Magic URL',
|
||||
method: 'magic-url',
|
||||
@@ -28,11 +39,6 @@ function createAuthMethods() {
|
||||
label: 'JWT',
|
||||
method: 'jwt',
|
||||
value: null
|
||||
},
|
||||
{
|
||||
label: 'Phone',
|
||||
method: 'phone',
|
||||
value: null
|
||||
}
|
||||
]
|
||||
});
|
||||
@@ -43,10 +49,15 @@ function createAuthMethods() {
|
||||
load: (project: Models.Project) => {
|
||||
const list = [
|
||||
{
|
||||
label: 'Password',
|
||||
label: 'Email/Password',
|
||||
method: 'email-password',
|
||||
value: project.authEmailPassword
|
||||
},
|
||||
{
|
||||
label: 'Phone',
|
||||
method: 'phone',
|
||||
value: project.authPhone
|
||||
},
|
||||
{
|
||||
label: 'Magic URL',
|
||||
method: 'magic-url',
|
||||
@@ -66,11 +77,6 @@ function createAuthMethods() {
|
||||
label: 'JWT',
|
||||
method: 'jwt',
|
||||
value: project.authJWT
|
||||
},
|
||||
{
|
||||
label: 'Phone',
|
||||
method: 'phone',
|
||||
value: project.authPhone
|
||||
}
|
||||
];
|
||||
set({ list });
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { project } from '../../routes/console/[project]/store';
|
||||
import { get, writable } from 'svelte/store';
|
||||
import { get, readable, writable } from 'svelte/store';
|
||||
|
||||
export type Tab = {
|
||||
href: string;
|
||||
@@ -64,3 +64,5 @@ export function updateLayout(args: updateLayoutArguments) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const pageLimit = readable(12); // default page limit
|
||||
|
||||
@@ -32,7 +32,13 @@ export const addNotification = (notification: Omit<Notification, 'id'>) => {
|
||||
};
|
||||
|
||||
const n = { ...defaults, ...notification };
|
||||
notifications.update((all) => [n, ...all]);
|
||||
notifications.update((all) => {
|
||||
if (all.length < 3) {
|
||||
return [n, ...all];
|
||||
} else {
|
||||
return [n, ...all.slice(0, 2)];
|
||||
}
|
||||
});
|
||||
|
||||
if (n.timeout) setTimeout(() => dismissNotification(n.id), n.timeout);
|
||||
};
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { writable } from 'svelte/store';
|
||||
import type { Models } from '@aw-labs/appwrite-console';
|
||||
import type { SvelteComponent } from 'svelte';
|
||||
import Apple from '../../routes/console/[project]/users/_appleOAuth.svelte';
|
||||
import Microsoft from '../../routes/console/[project]/users/_microsoftOAuth.svelte';
|
||||
import Okta from '../../routes/console/[project]/users/_oktaOAuth.svelte';
|
||||
import Auth0 from '../../routes/console/[project]/users/_auth0OAuth.svelte';
|
||||
import Main from '../../routes/console/[project]/users/_mainOAuth.svelte';
|
||||
import Apple from '../../routes/console/[project]/authentication/_appleOAuth.svelte';
|
||||
import Microsoft from '../../routes/console/[project]/authentication/_microsoftOAuth.svelte';
|
||||
import Okta from '../../routes/console/[project]/authentication/_oktaOAuth.svelte';
|
||||
import Auth0 from '../../routes/console/[project]/authentication/_auth0OAuth.svelte';
|
||||
import Main from '../../routes/console/[project]/authentication/_mainOAuth.svelte';
|
||||
|
||||
export type Provider = {
|
||||
name: string;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { updateLayout } from '$lib/stores/layout';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
const path = 'users';
|
||||
const path = 'authentication';
|
||||
|
||||
onMount(handle);
|
||||
afterNavigate(handle);
|
||||
@@ -13,10 +13,10 @@
|
||||
function handle(event = null) {
|
||||
updateLayout({
|
||||
navigate: event,
|
||||
title: 'Users',
|
||||
title: 'Authentication',
|
||||
level: 3,
|
||||
breadcrumbs: {
|
||||
title: 'Users',
|
||||
title: 'Authentication',
|
||||
href: path
|
||||
},
|
||||
tabs: [
|
||||
@@ -28,10 +28,6 @@
|
||||
href: `${path}/teams`,
|
||||
title: 'Teams'
|
||||
},
|
||||
{
|
||||
href: `${path}/authentication`,
|
||||
title: 'Authentication'
|
||||
},
|
||||
{
|
||||
href: `${path}/usage`,
|
||||
title: 'Usage'
|
||||
@@ -39,6 +35,10 @@
|
||||
{
|
||||
href: `${path}/security`,
|
||||
title: 'Security'
|
||||
},
|
||||
{
|
||||
href: `${path}/settings`,
|
||||
title: 'Settings'
|
||||
}
|
||||
]
|
||||
});
|
||||
@@ -29,6 +29,12 @@
|
||||
secret
|
||||
);
|
||||
showModal = false;
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${provider.name} authentication has been ${
|
||||
provider.active ? 'enabled' : 'disabled'
|
||||
}`
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -29,6 +29,12 @@
|
||||
secret
|
||||
);
|
||||
showModal = false;
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${provider.name} authentication has been ${
|
||||
provider.active ? 'enabled' : 'disabled'
|
||||
}`
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -25,6 +25,12 @@
|
||||
provider.secret
|
||||
);
|
||||
showModal = false;
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${provider.name} authentication has been ${
|
||||
provider.active ? 'enabled' : 'disabled'
|
||||
}`
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -29,6 +29,12 @@
|
||||
);
|
||||
|
||||
showModal = false;
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${provider.name} authentication has been ${
|
||||
provider.active ? 'enabled' : 'disabled'
|
||||
}`
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -28,8 +28,13 @@
|
||||
provider.id,
|
||||
secret
|
||||
);
|
||||
|
||||
showModal = false;
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${provider.name} authentication has been ${
|
||||
provider.active ? 'enabled' : 'disabled'
|
||||
}`
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -21,20 +21,20 @@
|
||||
import { base } from '$app/paths';
|
||||
import { usersList } from './store';
|
||||
import type { Models } from '@aw-labs/appwrite-console';
|
||||
import { pageLimit } from '$lib/stores/layout';
|
||||
|
||||
let showCreate = false;
|
||||
let search = '';
|
||||
let offset = 0;
|
||||
|
||||
const limit = 5;
|
||||
const project = $page.params.project;
|
||||
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 32, 32).toString();
|
||||
const userCreated = async (event: CustomEvent<Models.User<Record<string, unknown>>>) => {
|
||||
await goto(`${base}/console/${project}/users/user/${event.detail.$id}`);
|
||||
await goto(`${base}/console/${project}/authentication/user/${event.detail.$id}`);
|
||||
};
|
||||
|
||||
$: if (search) offset = 0;
|
||||
$: usersList.load(search, limit, offset ?? 0);
|
||||
$: usersList.load(search, $pageLimit, offset ?? 0);
|
||||
</script>
|
||||
|
||||
<Container>
|
||||
@@ -63,7 +63,8 @@
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{#each $usersList.users as user}
|
||||
<TableRowLink href={`${base}/console/${project}/users/user/${user.$id}`}>
|
||||
<TableRowLink
|
||||
href={`${base}/console/${project}/authentication/user/${user.$id}`}>
|
||||
<TableCell title="Name">
|
||||
<div class="u-flex u-gap-12 u-cross-center">
|
||||
<Avatar size={32} src={getAvatar(user.name)} name={user.name} />
|
||||
@@ -98,7 +99,7 @@
|
||||
</Table>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$usersList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$usersList.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$usersList.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -114,7 +115,7 @@
|
||||
</Empty>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$usersList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$usersList.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$usersList.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
@@ -135,7 +135,7 @@
|
||||
</CardGrid>
|
||||
|
||||
<CardGrid>
|
||||
<h2 class="heading-level-6">Session Length</h2>
|
||||
<h2 class="heading-level-6">Session Length - (Coming Soon)</h2>
|
||||
<p>
|
||||
If you reduce the limit, users who are currently logged in will be logged out of the
|
||||
application.
|
||||
@@ -143,8 +143,9 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<form class="form u-grid u-gap-16">
|
||||
<ul class="form-list is-multiple">
|
||||
<InputNumber id="length" label="Length" value={1} />
|
||||
<InputNumber disabled id="length" label="Length" value={1} />
|
||||
<InputSelect
|
||||
disabled
|
||||
id="period"
|
||||
{options}
|
||||
label="Time Period"
|
||||
@@ -6,7 +6,7 @@
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdkForConsole } from '$lib/stores/sdk';
|
||||
import { project } from '../store';
|
||||
import { authMethods } from '$lib/stores/auth-methods';
|
||||
import { authMethods, type AuthMethod } from '$lib/stores/auth-methods';
|
||||
import { OAuthProviders } from '$lib/stores/oauth-providers';
|
||||
import { event } from '$lib/actions/analytics';
|
||||
import type { Provider } from '$lib/stores/oauth-providers';
|
||||
@@ -17,12 +17,14 @@
|
||||
$: OAuthProviders.load($project);
|
||||
let showModal = false;
|
||||
|
||||
const authUpdate = async (id: string, value: boolean) => {
|
||||
const authUpdate = async (box: AuthMethod) => {
|
||||
try {
|
||||
await sdkForConsole.projects.updateAuthStatus(projectId, id, value);
|
||||
await sdkForConsole.projects.updateAuthStatus(projectId, box.method, box.value);
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: 'Updated project authentication status successfully'
|
||||
message: `${box.label} authentication has been ${
|
||||
box.value ? 'enabled' : 'disabled'
|
||||
}`
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
@@ -50,7 +52,7 @@
|
||||
id={box.method}
|
||||
bind:value={box.value}
|
||||
on:change={() => {
|
||||
authUpdate(box.method, box.value);
|
||||
authUpdate(box);
|
||||
}} />
|
||||
{/each}
|
||||
</ul>
|
||||
@@ -85,7 +87,7 @@
|
||||
<p class="u-margin-block-start-8">{provider.name}</p>
|
||||
<div class="u-margin-block-start-24">
|
||||
<Pill success={provider.active}>
|
||||
{provider.active ? 'Enabled' : 'Disabled'}
|
||||
{provider.active ? 'enabled' : 'disabled'}
|
||||
</Pill>
|
||||
</div>
|
||||
</button>
|
||||
@@ -29,7 +29,7 @@
|
||||
const project = $page.params.project;
|
||||
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 32, 32).toString();
|
||||
const teamCreated = async (event: CustomEvent<Models.Team>) => {
|
||||
await goto(`${base}/console/${project}/users/teams/${event.detail.$id}`);
|
||||
await goto(`${base}/console/${project}/authentication/teams/${event.detail.$id}`);
|
||||
};
|
||||
|
||||
$: if (search) offset = 0;
|
||||
@@ -60,7 +60,8 @@
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{#each $teamsList.teams as team}
|
||||
<TableRowLink href={`${base}/console/${project}/users/teams/${team.$id}`}>
|
||||
<TableRowLink
|
||||
href={`${base}/console/${project}/authentication/teams/${team.$id}`}>
|
||||
<TableCell title="ID">
|
||||
<div class="u-flex u-gap-12">
|
||||
<Avatar size={32} name={team.name} src={getAvatar(team.name)} />
|
||||
@@ -7,7 +7,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
const teamId = $page.params.team;
|
||||
const path = `users/teams/${teamId}`;
|
||||
const path = `authentication/teams/${teamId}`;
|
||||
|
||||
onMount(handle);
|
||||
afterNavigate(handle);
|
||||
@@ -21,7 +21,7 @@
|
||||
navigate: event,
|
||||
level: 4,
|
||||
title: $team.name,
|
||||
back: `${base}/console/${$page.params.project}/users/teams`,
|
||||
back: `${base}/console/${$page.params.project}/authentication/teams`,
|
||||
breadcrumbs: {
|
||||
title: $team.name,
|
||||
href: `teams/${teamId}`
|
||||
@@ -14,7 +14,7 @@
|
||||
let name: string, email: string, roles: [];
|
||||
|
||||
const create = async () => {
|
||||
const url = `${$page.url.origin}/console/${$page.params.project}/users/teams/${$page.params.team}/members`;
|
||||
const url = `${$page.url.origin}/console/${$page.params.project}/authentication/teams/${$page.params.team}/members`;
|
||||
|
||||
try {
|
||||
const user = await sdkForProject.teams.createMembership(
|
||||
@@ -23,7 +23,7 @@
|
||||
showDelete = false;
|
||||
dispatch('deleted');
|
||||
await goto(
|
||||
`${base}/console/${$page.params.project}/users/teams/${selectedMembership.teamId}/members`
|
||||
`${base}/console/${$page.params.project}/authentication/teams/${selectedMembership.teamId}/members`
|
||||
);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
@@ -15,7 +15,7 @@
|
||||
try {
|
||||
await sdkForProject.teams.delete(team.$id);
|
||||
showDelete = false;
|
||||
await goto(`${base}/console/${$page.params.project}/users/teams`);
|
||||
await goto(`${base}/console/${$page.params.project}/authentication/teams`);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -14,11 +14,19 @@
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { sdkForProject } from '$lib/stores/sdk';
|
||||
import { app } from '$lib/stores/app';
|
||||
import { pageLimit } from '$lib/stores/layout';
|
||||
|
||||
let offset = 0;
|
||||
const limit = 5;
|
||||
|
||||
$: request = sdkForProject.teams.listLogs($page.params.team, limit, offset);
|
||||
$: request = sdkForProject.teams.listLogs($page.params.team, $pageLimit, offset);
|
||||
|
||||
let browsers = {
|
||||
firefox: 'firefox',
|
||||
chrome: 'chrome',
|
||||
safari: 'safari',
|
||||
opera: 'opera',
|
||||
edge: 'edge'
|
||||
};
|
||||
</script>
|
||||
|
||||
<Container>
|
||||
@@ -39,16 +47,20 @@
|
||||
<TableRow>
|
||||
<TableCellText title="Client">
|
||||
<div class="u-flex u-cross-center u-gap-12">
|
||||
<div class="image-item">
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={log.clientName} />
|
||||
<div class="avatar is-small">
|
||||
{#if browsers[log.clientName.toLocaleLowerCase()]}
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={log.clientName} />
|
||||
{:else}
|
||||
<span class="icon-globe-alt" />
|
||||
{/if}
|
||||
</div>
|
||||
<p class="u-line-height-1-5">
|
||||
<p class="text u-trim">
|
||||
{log.clientName}
|
||||
{log.clientVersion}
|
||||
on {log.osName}
|
||||
@@ -88,7 +100,7 @@
|
||||
class="u-flex u-margin-block-start-32
|
||||
u-main-space-between">
|
||||
<p class="text">Total results: {response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={response.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={response.total} />
|
||||
</div>
|
||||
{/await}
|
||||
</Container>
|
||||
@@ -7,7 +7,7 @@
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { team } from './store';
|
||||
import { title } from '$lib/stores/layout';
|
||||
import { title, breadcrumbs } from '$lib/stores/layout';
|
||||
import DeleteTeam from './_deleteTeam.svelte';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
await sdkForProject.teams.update($page.params.team, teamName);
|
||||
$team.name = teamName;
|
||||
title.set(teamName);
|
||||
const breadcrumb = $breadcrumbs.get($breadcrumbs.size);
|
||||
breadcrumb.title = teamName;
|
||||
$breadcrumbs = $breadcrumbs.set($breadcrumbs.size, breadcrumb);
|
||||
addNotification({
|
||||
message: 'Name has been updated',
|
||||
type: 'success'
|
||||
@@ -19,9 +19,10 @@
|
||||
import { memberships } from './store';
|
||||
import CreateMember from './_createMembership.svelte';
|
||||
import DeleteMembership from './_deleteMembership.svelte';
|
||||
import { pageLimit } from '$lib/stores/layout';
|
||||
|
||||
const getAvatar = (name: string) => sdkForProject.avatars.getInitials(name, 32, 32).toString();
|
||||
const deleted = () => memberships.load($page.params.team, search, limit, offset ?? 0);
|
||||
const deleted = () => memberships.load($page.params.team, search, $pageLimit, offset ?? 0);
|
||||
|
||||
const project = $page.params.project;
|
||||
|
||||
@@ -31,14 +32,14 @@
|
||||
let offset: number = null;
|
||||
let selectedMembership: Models.Membership;
|
||||
|
||||
const limit = 5;
|
||||
|
||||
$: if (search) offset = 0;
|
||||
$: memberships.load($page.params.team, search, limit, offset ?? 0);
|
||||
$: memberships.load($page.params.team, search, $pageLimit, offset ?? 0);
|
||||
|
||||
const memberCreated = async (event: CustomEvent<Models.Membership>) => {
|
||||
memberships.load($page.params.team, search, limit, offset ?? 0);
|
||||
await goto(`${base}/console/${project}/users/teams/${event.detail.teamId}/members`);
|
||||
memberships.load($page.params.team, search, $pageLimit, offset ?? 0);
|
||||
await goto(
|
||||
`${base}/console/${project}/authentication/teams/${event.detail.teamId}/members`
|
||||
);
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -60,7 +61,7 @@
|
||||
<TableBody>
|
||||
{#each $memberships.memberships as membership}
|
||||
<TableRowLink
|
||||
href={`${base}/console/${project}/users/user/${membership.userId}`}>
|
||||
href={`${base}/console/${project}/authentication/user/${membership.userId}`}>
|
||||
<TableCellText title="Name">
|
||||
<div class="u-flex u-gap-12">
|
||||
<Avatar
|
||||
@@ -93,7 +94,7 @@
|
||||
class="u-flex u-margin-block-start-32
|
||||
u-main-space-between">
|
||||
<p class="text">Total results: {$memberships.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$memberships.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$memberships.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -111,7 +112,7 @@
|
||||
class="u-flex u-margin-block-start-32
|
||||
u-main-space-between">
|
||||
<p class="text">Total results: {$memberships.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$memberships.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$memberships.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
@@ -7,7 +7,7 @@
|
||||
import { user } from './store';
|
||||
|
||||
const userId = $page.params.user;
|
||||
const path = `users/user/${userId}`;
|
||||
const path = `authentication/user/${userId}`;
|
||||
|
||||
onMount(handle);
|
||||
afterNavigate(handle);
|
||||
@@ -25,7 +25,7 @@
|
||||
title: $user.name,
|
||||
href: `user/${userId}`
|
||||
},
|
||||
back: `${base}/console/${$page.params.project}/users`,
|
||||
back: `${base}/console/${$page.params.project}/authentication`,
|
||||
copy: {
|
||||
text: 'User ID',
|
||||
value: userId
|
||||
@@ -14,7 +14,9 @@
|
||||
try {
|
||||
await sdkForProject.teams.deleteMembership('tmpstring', 'tmpstring2');
|
||||
showDeleteAll = false;
|
||||
await goto(`${base}/console/${$page.params.project}/users/${$user.$id}/membeships`);
|
||||
await goto(
|
||||
`${base}/console/${$page.params.project}/authentication/${$user.$id}/membeships`
|
||||
);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -23,7 +23,7 @@
|
||||
showDelete = false;
|
||||
dispatch('deleted');
|
||||
await goto(
|
||||
`${base}/console/${$page.params.project}/users/user/${selectedMembership.userId}/memberships`
|
||||
`${base}/console/${$page.params.project}/authentication/user/${selectedMembership.userId}/memberships`
|
||||
);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
@@ -19,7 +19,7 @@
|
||||
type: 'success',
|
||||
message: `${$user.name} has been deleted`
|
||||
});
|
||||
await goto(`${base}/console/${$page.params.project}/users`);
|
||||
await goto(`${base}/console/${$page.params.project}/authentication`);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -19,6 +19,14 @@
|
||||
const limit = 25;
|
||||
|
||||
$: request = sdkForProject.users.getLogs($page.params.user, limit, offset);
|
||||
|
||||
let browsers = {
|
||||
firefox: 'firefox',
|
||||
chrome: 'chrome',
|
||||
safari: 'safari',
|
||||
opera: 'opera',
|
||||
edge: 'edge'
|
||||
};
|
||||
</script>
|
||||
|
||||
<Container>
|
||||
@@ -39,25 +47,25 @@
|
||||
<TableRow>
|
||||
<TableCellText title="Client">
|
||||
<div class="u-flex u-cross-center u-gap-12">
|
||||
<div class="image-item">
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={log.clientName} />
|
||||
<div class="avatar is-small">
|
||||
{#if browsers[log.clientName.toLocaleLowerCase()]}
|
||||
<img
|
||||
height="20"
|
||||
width="20"
|
||||
src={`/icons/${
|
||||
$app.themeInUse
|
||||
}/color/${log?.clientName.toLocaleLowerCase()}.svg`}
|
||||
alt={log.clientName} />
|
||||
{:else}
|
||||
<span class="icon-globe-alt" />
|
||||
{/if}
|
||||
</div>
|
||||
<span class="u-line-height-1-5">
|
||||
<p>
|
||||
{log.clientName}
|
||||
{log.clientVersion}
|
||||
</p>
|
||||
<span class="u-small">
|
||||
on {log.osName}
|
||||
{log.osVersion}
|
||||
</span>
|
||||
</span>
|
||||
<p class="text u-trim">
|
||||
{log.clientName}
|
||||
{log.clientVersion}
|
||||
on {log.osName}
|
||||
{log.osVersion}
|
||||
</p>
|
||||
</div>
|
||||
</TableCellText>
|
||||
<TableCellText title="Event">{log.event}</TableCellText>
|
||||
@@ -89,7 +97,7 @@
|
||||
<Button
|
||||
external
|
||||
secondary
|
||||
href="https://appwrite.io/docs/server/users?sdk=nodejs-default#usersGetLogs"
|
||||
href="https://appwrite.io/docs/server/authentication?sdk=nodejs-default#usersGetLogs"
|
||||
>Documentation</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -17,7 +17,7 @@
|
||||
import DeleteUser from './_deleteUser.svelte';
|
||||
import { user } from './store';
|
||||
import { onMount } from 'svelte';
|
||||
import { title } from '$lib/stores/layout';
|
||||
import { title, breadcrumbs } from '$lib/stores/layout';
|
||||
|
||||
$: if (prefs) {
|
||||
if (JSON.stringify(prefs) !== JSON.stringify(Object.entries($user.prefs))) {
|
||||
@@ -60,6 +60,7 @@
|
||||
}
|
||||
|
||||
async function updateVerificationEmail() {
|
||||
showVerifcationDropdown = false;
|
||||
try {
|
||||
await sdkForProject.users.updateEmailVerification($user.$id, !$user.emailVerification);
|
||||
$user.emailVerification = !$user.emailVerification;
|
||||
@@ -77,6 +78,7 @@
|
||||
}
|
||||
}
|
||||
async function updateVerificationPhone() {
|
||||
showVerifcationDropdown = false;
|
||||
try {
|
||||
await sdkForProject.users.updatePhoneVerification($user.$id, !$user.phoneVerification);
|
||||
$user.phoneVerification = !$user.phoneVerification;
|
||||
@@ -113,6 +115,10 @@
|
||||
await sdkForProject.users.updateName($user.$id, userName);
|
||||
$user.name = userName;
|
||||
title.set(userName);
|
||||
const breadcrumb = $breadcrumbs.get($breadcrumbs.size);
|
||||
breadcrumb.title = userName;
|
||||
$breadcrumbs = $breadcrumbs.set($breadcrumbs.size, breadcrumb);
|
||||
|
||||
showError = false;
|
||||
addNotification({
|
||||
message: 'Name has been updated',
|
||||
@@ -189,37 +195,39 @@
|
||||
<div class="grid-1-2-col-1 u-flex u-cross-center u-gap-16">
|
||||
<Avatar size={48} name={$user.name} src={getAvatar($user.name)} />
|
||||
<h6 class="heading-level-7">{$user.name}</h6>
|
||||
{#if !$user.status}
|
||||
<Pill danger>blocked</Pill>
|
||||
{:else if $user.email && $user.phone}
|
||||
<Pill success={$user.emailVerification || $user.phoneVerification}>
|
||||
{$user.emailVerification && $user.phoneVerification
|
||||
? 'verified'
|
||||
: $user.emailVerification
|
||||
? 'verified email'
|
||||
: $user.phoneVerification
|
||||
? 'verified phone'
|
||||
: 'unverified'}
|
||||
</Pill>
|
||||
{:else}
|
||||
<Pill success={$user.emailVerification || $user.phoneVerification}>
|
||||
{$user.emailVerification
|
||||
? 'verified '
|
||||
: $user.phoneVerification
|
||||
? 'verified '
|
||||
: 'unverified'}
|
||||
</Pill>
|
||||
{/if}
|
||||
</div>
|
||||
<svelte:fragment slot="aside">
|
||||
<div>
|
||||
{#if $user.email}
|
||||
<p class="title">{$user.email}</p>
|
||||
<div class="u-flex u-main-space-between">
|
||||
<div>
|
||||
{#if $user.email}
|
||||
<p class="title">{$user.email}</p>
|
||||
{/if}
|
||||
{#if $user.phone}
|
||||
<p class="title">{$user.phone}</p>
|
||||
{/if}
|
||||
<p>Joined: {toLocaleDateTime($user.registration)}</p>
|
||||
</div>
|
||||
{#if !$user.status}
|
||||
<Pill danger>blocked</Pill>
|
||||
{:else if $user.email && $user.phone}
|
||||
<Pill success={$user.emailVerification || $user.phoneVerification}>
|
||||
{$user.emailVerification && $user.phoneVerification
|
||||
? 'verified'
|
||||
: $user.emailVerification
|
||||
? 'verified email'
|
||||
: $user.phoneVerification
|
||||
? 'verified phone'
|
||||
: 'unverified'}
|
||||
</Pill>
|
||||
{:else}
|
||||
<Pill success={$user.emailVerification || $user.phoneVerification}>
|
||||
{$user.emailVerification
|
||||
? 'verified '
|
||||
: $user.phoneVerification
|
||||
? 'verified '
|
||||
: 'unverified'}
|
||||
</Pill>
|
||||
{/if}
|
||||
{#if $user.phone}
|
||||
<p class="title">{$user.phone}</p>
|
||||
{/if}
|
||||
<p>Joined: {toLocaleDateTime($user.registration)}</p>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
|
||||
@@ -421,16 +429,17 @@
|
||||
{/each}
|
||||
{/if}
|
||||
</ul>
|
||||
<Button
|
||||
text
|
||||
<button
|
||||
class="button is-text u-padding-inline-0"
|
||||
disabled={prefs?.length
|
||||
? !prefs[prefs.length - 1][0] || !prefs[prefs.length - 1][1]
|
||||
: true}
|
||||
on:click={() => {
|
||||
if (prefs[prefs.length - 1][0] && prefs[prefs.length - 1][1]) {
|
||||
prefs.push(['', '']);
|
||||
prefs = prefs;
|
||||
}
|
||||
prefs.push(['', '']);
|
||||
prefs = prefs;
|
||||
}}>
|
||||
<span class="icon-plus" aria-hidden="true" />
|
||||
<span class="text"> Add Preference </span></Button>
|
||||
<span class="text"> Add preference </span></button>
|
||||
</form>
|
||||
</svelte:fragment>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<TableBody>
|
||||
{#each response.memberships as membership}
|
||||
<TableRowLink
|
||||
href={`${base}/console/${project}/users/user/${membership.userId}`}>
|
||||
href={`${base}/console/${project}/authentication/user/${membership.userId}`}>
|
||||
<TableCellText title="Name">
|
||||
<div class="u-flex u-gap-12">
|
||||
<Avatar
|
||||
@@ -87,7 +87,7 @@
|
||||
<Button
|
||||
external
|
||||
secondary
|
||||
href="https://appwrite.io/docs/server/users?sdk=nodejs-default#usersGetMemberships"
|
||||
href="https://appwrite.io/docs/server/authentication?sdk=nodejs-default#usersGetMemberships"
|
||||
>Documentation</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -16,13 +16,13 @@
|
||||
import DeleteSessions from './_deleteSession.svelte';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import { app } from '$lib/stores/app';
|
||||
import { pageLimit } from '$lib/stores/layout';
|
||||
|
||||
let offset = 0;
|
||||
let showDelete = false;
|
||||
let showDeleteAll = false;
|
||||
let selectedSessionId: string = null;
|
||||
|
||||
const limit = 5;
|
||||
const request = sdkForProject.users.getSessions($page.params.user);
|
||||
|
||||
//TODO: replace session.expire with "last activity"
|
||||
@@ -94,7 +94,7 @@
|
||||
<Button
|
||||
external
|
||||
secondary
|
||||
href="https://appwrite.io/docs/server/users?sdk=nodejs-default#usersGetSessions"
|
||||
href="https://appwrite.io/docs/server/authentication?sdk=nodejs-default#usersGetSessions"
|
||||
>Documentation</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,7 +104,7 @@
|
||||
class="u-flex u-margin-block-start-32
|
||||
u-main-space-between">
|
||||
<p class="text">Total results: {response.total}</p>
|
||||
<Pagination {limit} bind:offset sum={response.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={response.total} />
|
||||
</div>
|
||||
{/await}
|
||||
</Container>
|
||||
@@ -25,6 +25,7 @@
|
||||
import { uploader } from '$lib/stores/uploader';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { goto } from '$app/navigation';
|
||||
import { pageLimit } from '$lib/stores/layout';
|
||||
|
||||
let search = '';
|
||||
let showCreate = false;
|
||||
@@ -33,7 +34,6 @@
|
||||
let selectedFile: Models.File = null;
|
||||
let offset = 0;
|
||||
|
||||
const limit = 5;
|
||||
const project = $page.params.project;
|
||||
const bucket = $page.params.bucket;
|
||||
|
||||
@@ -42,20 +42,20 @@
|
||||
|
||||
const fileCreated = () => {
|
||||
showCreate = false;
|
||||
files.load(bucket, search, limit, offset);
|
||||
files.load(bucket, search, $pageLimit, offset);
|
||||
};
|
||||
|
||||
const fileDeleted = (event: CustomEvent<Models.File>) => {
|
||||
showDelete = false;
|
||||
uploader.removeFile(event.detail);
|
||||
files.load(bucket, search, limit, offset);
|
||||
files.load(bucket, search, $pageLimit, offset);
|
||||
};
|
||||
|
||||
const deleteFile = async (file: Models.File) => {
|
||||
try {
|
||||
await sdkForProject.storage.deleteFile(file.bucketId, file.$id);
|
||||
uploader.removeFile(file);
|
||||
files.load(bucket, search, limit, offset);
|
||||
files.load(bucket, search, $pageLimit, offset);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
@@ -64,7 +64,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
$: files.load(bucket, search, limit, offset);
|
||||
$: files.load(bucket, search, $pageLimit, offset);
|
||||
$: if (search) offset = 0;
|
||||
</script>
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
</Table>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$files.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$files.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$files.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -191,7 +191,7 @@
|
||||
</Empty>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$files?.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$files?.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$files?.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
|
||||
@@ -10,19 +10,19 @@
|
||||
import { base } from '$app/paths';
|
||||
import { bucketList } from './store';
|
||||
import { tooltip } from '$lib/actions/tooltip';
|
||||
import { pageLimit } from '$lib/stores/layout';
|
||||
|
||||
let showCreate = false;
|
||||
let search = '';
|
||||
let offset = 0;
|
||||
|
||||
const limit = 5;
|
||||
const project = $page.params.project;
|
||||
const bucketCreated = async (event: CustomEvent<Models.Bucket>) => {
|
||||
showCreate = false;
|
||||
await goto(`${base}/console/${project}/storage/bucket/${event.detail.$id}`);
|
||||
};
|
||||
|
||||
$: bucketList.load(search, limit, offset ?? 0);
|
||||
$: bucketList.load(search, $pageLimit, offset ?? 0);
|
||||
$: if (search) offset = 0;
|
||||
</script>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$bucketList.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$bucketList.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$bucketList.total} />
|
||||
</div>
|
||||
{:else if search}
|
||||
<Empty>
|
||||
@@ -113,7 +113,7 @@
|
||||
</Empty>
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
<p class="text">Total results: {$bucketList?.total}</p>
|
||||
<Pagination {limit} bind:offset sum={$bucketList?.total} />
|
||||
<Pagination limit={$pageLimit} bind:offset sum={$bucketList?.total} />
|
||||
</div>
|
||||
{:else}
|
||||
<Empty dashed centered>
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M20.6185 9.33929C20.2208 8.38252 19.4142 7.34949 18.7826 7.02293C19.233 7.89514 19.5457 8.83184 19.7094 9.79973L19.7111 9.81507C18.6764 7.23662 16.9225 6.19533 15.4892 3.93092C15.4167 3.8164 15.3442 3.70164 15.2736 3.58051C15.2332 3.51133 15.2009 3.44899 15.1728 3.39161C15.1134 3.27652 15.0676 3.15488 15.0363 3.02917C15.0364 3.02337 15.0343 3.01775 15.0304 3.0134C15.0266 3.00904 15.0213 3.00625 15.0155 3.00555C15.0099 3.00401 15.0039 3.00401 14.9983 3.00555C14.9971 3.00555 14.9952 3.00768 14.9938 3.00815C14.9924 3.00862 14.9893 3.01075 14.9872 3.01169L14.9907 3.00555C12.6921 4.35145 11.9117 6.84254 11.8409 8.08926C10.9226 8.15222 10.0446 8.49049 9.32146 9.05996C9.24604 8.99608 9.16721 8.93633 9.08533 8.88098C8.87683 8.15111 8.86795 7.37867 9.0596 6.64419C8.21543 7.05311 7.46534 7.63282 6.85681 8.34663H6.85256C6.48988 7.8869 6.51538 6.371 6.53616 6.05436C6.42887 6.09748 6.32645 6.15186 6.23062 6.21658C5.91045 6.44508 5.61113 6.70149 5.33619 6.98279C5.02288 7.30045 4.73672 7.64379 4.48072 8.00921V8.01063V8.00898C3.89243 8.84287 3.47512 9.78502 3.25289 10.781L3.24061 10.8415C3.22337 10.922 3.16127 11.3253 3.15065 11.4129C3.15065 11.4198 3.14923 11.4261 3.14852 11.433C3.06842 11.8493 3.01878 12.271 3 12.6946V12.7418C3.00404 15.0318 3.86647 17.2372 5.41703 18.9224C6.96759 20.6077 9.0936 21.6504 11.3754 21.8447C13.6572 22.0391 15.9289 21.3709 17.7421 19.9722C19.5553 18.5734 20.7783 16.5457 21.1696 14.2893C21.1849 14.1713 21.1974 14.0544 21.2111 13.9352C21.3996 12.3772 21.1956 10.7968 20.6175 9.33787L20.6185 9.33929ZM10.0709 16.5032C10.1136 16.5238 10.1538 16.546 10.1977 16.5656L10.2041 16.5696C10.1597 16.5483 10.1153 16.5262 10.0709 16.5032ZM19.7113 9.81767V9.80893L19.7129 9.81862L19.7113 9.81767Z" fill="url(#paint0_linear_4475_59607)"/>
|
||||
<path d="M20.6184 9.3393C20.2208 8.38254 19.4142 7.34951 18.7826 7.02295C19.233 7.89516 19.5456 8.83186 19.7093 9.79974V9.80848L19.711 9.81816C20.4165 11.8368 20.3145 14.05 19.4262 15.9951C18.3774 18.2456 15.8395 20.5523 11.8656 20.4389C7.57291 20.3173 3.79024 17.1309 3.08424 12.9586C2.95555 12.3005 3.08424 11.9669 3.14893 11.4321C3.06068 11.8475 3.01144 12.2702 3.00183 12.6948V12.7421C3.00588 15.0321 3.8683 17.2374 5.41886 18.9227C6.96942 20.6079 9.09543 21.6506 11.3772 21.845C13.659 22.0393 15.9307 21.3712 17.7439 19.9724C19.5572 18.5737 20.7801 16.546 21.1714 14.2896C21.1868 14.1715 21.1993 14.0547 21.213 13.9354C21.4015 12.3775 21.1974 10.7971 20.6194 9.33812L20.6184 9.3393Z" fill="url(#paint1_radial_4475_59607)"/>
|
||||
<path d="M20.6184 9.3393C20.2208 8.38254 19.4142 7.34951 18.7826 7.02295C19.233 7.89516 19.5456 8.83186 19.7093 9.79974V9.80848L19.711 9.81816C20.4165 11.8368 20.3145 14.05 19.4262 15.9951C18.3774 18.2456 15.8395 20.5523 11.8656 20.4389C7.57291 20.3173 3.79024 17.1309 3.08424 12.9586C2.95555 12.3005 3.08424 11.9669 3.14893 11.4321C3.06068 11.8475 3.01144 12.2702 3.00183 12.6948V12.7421C3.00588 15.0321 3.8683 17.2374 5.41886 18.9227C6.96942 20.6079 9.09543 21.6506 11.3772 21.845C13.659 22.0393 15.9307 21.3712 17.7439 19.9724C19.5572 18.5737 20.7801 16.546 21.1714 14.2896C21.1868 14.1715 21.1993 14.0547 21.213 13.9354C21.4015 12.3775 21.1974 10.7971 20.6194 9.33812L20.6184 9.3393Z" fill="url(#paint2_radial_4475_59607)"/>
|
||||
<path d="M16.1699 10.4137C16.1898 10.4276 16.2082 10.4415 16.2268 10.4554C15.997 10.0478 15.7108 9.67463 15.3768 9.34686C12.5315 6.50159 14.6314 3.17935 14.9853 3.00935L14.9889 3.00415C12.6902 4.35005 11.9098 6.84113 11.839 8.08785C11.9457 8.08053 12.0515 8.07156 12.1606 8.07156C12.9761 8.07314 13.7767 8.29063 14.4809 8.70192C15.1851 9.11322 15.7679 9.70365 16.1699 10.4132V10.4137Z" fill="url(#paint3_radial_4475_59607)"/>
|
||||
<path d="M12.1653 10.9829C12.1502 11.2105 11.346 11.9956 11.0648 11.9956C8.4627 11.9956 8.04004 13.5699 8.04004 13.5699C8.15527 14.8954 9.07898 15.9877 10.1956 16.5639C10.2466 16.5903 10.2983 16.6142 10.35 16.6376C10.4396 16.6772 10.5292 16.7139 10.6187 16.7476C11.0019 16.8832 11.4033 16.9606 11.8095 16.9773C16.3714 17.1913 17.2545 11.5229 13.9627 9.87715C14.7392 9.77611 15.5255 9.96704 16.1692 10.4129C15.7672 9.70337 15.1844 9.11294 14.4802 8.70165C13.776 8.29036 12.9754 8.07287 12.1599 8.07129C12.0513 8.07129 11.945 8.08026 11.8383 8.08758C10.92 8.15054 10.042 8.48882 9.31887 9.05828C9.45842 9.17634 9.61592 9.33407 9.94767 9.6611C10.5687 10.2729 12.1613 10.9066 12.1649 10.981L12.1653 10.9829Z" fill="url(#paint4_radial_4475_59607)"/>
|
||||
<path d="M12.1653 10.9829C12.1502 11.2105 11.346 11.9956 11.0648 11.9956C8.4627 11.9956 8.04004 13.5699 8.04004 13.5699C8.15527 14.8954 9.07898 15.9877 10.1956 16.5639C10.2466 16.5903 10.2983 16.6142 10.35 16.6376C10.4396 16.6772 10.5292 16.7139 10.6187 16.7476C11.0019 16.8832 11.4033 16.9606 11.8095 16.9773C16.3714 17.1913 17.2545 11.5229 13.9627 9.87715C14.7392 9.77611 15.5255 9.96704 16.1692 10.4129C15.7672 9.70337 15.1844 9.11294 14.4802 8.70165C13.776 8.29036 12.9754 8.07287 12.1599 8.07129C12.0513 8.07129 11.945 8.08026 11.8383 8.08758C10.92 8.15054 10.042 8.48882 9.31887 9.05828C9.45842 9.17634 9.61592 9.33407 9.94767 9.6611C10.5687 10.2729 12.1613 10.9066 12.1649 10.981L12.1653 10.9829Z" fill="url(#paint5_radial_4475_59607)"/>
|
||||
<path d="M8.89265 8.75618C8.96679 8.8034 9.02795 8.84449 9.08155 8.88156C8.87305 8.15169 8.86416 7.37925 9.05581 6.64478C8.21164 7.05369 7.46155 7.6334 6.85303 8.34721C6.89765 8.34603 8.22513 8.32219 8.89265 8.75618Z" fill="url(#paint6_radial_4475_59607)"/>
|
||||
<path d="M3.08267 12.9592C3.78891 17.1315 7.57135 20.3192 11.864 20.4396C15.838 20.552 18.3763 18.2451 19.4247 15.9958C20.3129 14.0506 20.4149 11.8374 19.7094 9.81882V9.81008C19.7094 9.80323 19.708 9.79922 19.7094 9.80135L19.7111 9.81669C20.0357 11.9364 18.9576 13.989 17.2719 15.3797L17.2667 15.3915C13.9823 18.0668 10.8395 17.0052 10.2043 16.5721C10.1599 16.5509 10.1156 16.5288 10.0712 16.5058C8.15646 15.5906 7.36521 13.8471 7.53522 12.35C7.08071 12.3568 6.63401 12.2315 6.24924 11.9895C5.86447 11.7475 5.55815 11.399 5.36738 10.9864C5.87004 10.6785 6.44317 10.5045 7.03217 10.4808C7.62116 10.4572 8.2064 10.5847 8.73212 10.8514C9.81575 11.3433 11.0488 11.3917 12.1677 10.9864C12.1642 10.9121 10.5715 10.2781 9.95051 9.66652C9.61876 9.33949 9.46127 9.182 9.32172 9.0637C9.2463 8.99982 9.16748 8.94007 9.0856 8.88472C9.03129 8.84765 8.97013 8.80751 8.8967 8.75934C8.22918 8.32535 6.9017 8.3492 6.85779 8.35038H6.85354C6.49085 7.89065 6.51635 6.37474 6.53713 6.05811C6.42984 6.10123 6.32742 6.1556 6.23159 6.22032C5.91142 6.44883 5.6121 6.70523 5.33716 6.98654C5.02273 7.3033 4.73538 7.64585 4.47815 8.0106V8.01201V8.01036C3.88986 8.84425 3.47255 9.7864 3.25032 10.7824C3.24583 10.8011 2.92069 12.2225 3.08102 12.9597L3.08267 12.9592Z" fill="url(#paint7_radial_4475_59607)"/>
|
||||
<path d="M15.3766 9.34646C15.7107 9.6746 15.9969 10.0482 16.2267 10.4562C16.2769 10.4943 16.3239 10.532 16.3638 10.5686C18.4386 12.4812 17.3515 15.1848 17.2705 15.3761C18.956 13.9874 20.0332 11.9334 19.7097 9.81304C18.6745 7.23223 16.9187 6.19093 15.4878 3.92652C15.4153 3.812 15.3428 3.69725 15.2722 3.57612C15.2319 3.50693 15.1995 3.4446 15.1714 3.38722C15.112 3.27212 15.0662 3.15048 15.0349 3.02477C15.035 3.01897 15.0329 3.01336 15.0291 3.009C15.0252 3.00465 15.0199 3.00186 15.0142 3.00116C15.0085 2.99961 15.0026 2.99961 14.9969 3.00116C14.9957 3.00116 14.9939 3.00329 14.9924 3.00376C14.991 3.00423 14.988 3.00636 14.9858 3.0073C14.6319 3.17518 12.5325 6.49954 15.3778 9.34245L15.3766 9.34646Z" fill="url(#paint8_radial_4475_59607)"/>
|
||||
<path d="M16.3635 10.5695C16.3236 10.5329 16.2766 10.4951 16.2264 10.4571C16.2077 10.4432 16.1893 10.4293 16.1694 10.4153C15.5257 9.96946 14.7394 9.77853 13.9629 9.87957C17.2544 11.5253 16.3713 17.1923 11.8097 16.9798C11.4035 16.9631 11.0022 16.8856 10.6189 16.75C10.5294 16.7165 10.4398 16.6798 10.3502 16.64C10.2985 16.6164 10.2468 16.5927 10.1958 16.5663L10.2022 16.5703C10.8383 17.0045 13.9801 18.0654 17.2646 15.3897L17.2698 15.3779C17.3517 15.1866 18.4388 12.483 16.3631 10.5705L16.3635 10.5695Z" fill="url(#paint9_radial_4475_59607)"/>
|
||||
<path d="M8.04026 13.5683C8.04026 13.5683 8.46268 11.994 11.065 11.994C11.3462 11.994 12.1511 11.2089 12.1655 10.9813C11.0466 11.3866 9.8136 11.3381 8.72997 10.8462C8.20425 10.5796 7.61901 10.452 7.03002 10.4757C6.44102 10.4993 5.86789 10.6734 5.36523 10.9813C5.556 11.3939 5.86232 11.7423 6.24709 11.9843C6.63186 12.2264 7.07856 12.3516 7.53307 12.3449C7.36353 13.8412 8.15454 15.5845 10.069 16.5007C10.1118 16.5212 10.1519 16.5434 10.1958 16.563C9.07825 15.9857 8.15549 14.8938 8.04026 13.569V13.5683Z" fill="url(#paint10_radial_4475_59607)"/>
|
||||
<path d="M20.6184 9.33929C20.2207 8.38252 19.4141 7.34949 18.7825 7.02293C19.2329 7.89514 19.5456 8.83184 19.7093 9.79973L19.7109 9.81507C18.6763 7.23662 16.9223 6.19533 15.4891 3.93092C15.4166 3.8164 15.3441 3.70164 15.2735 3.58051C15.2331 3.51133 15.2008 3.44899 15.1727 3.39161C15.1133 3.27652 15.0674 3.15488 15.0362 3.02917C15.0362 3.02337 15.0342 3.01775 15.0303 3.0134C15.0265 3.00904 15.0212 3.00625 15.0154 3.00555C15.0098 3.00401 15.0038 3.00401 14.9982 3.00555C14.997 3.00555 14.9951 3.00768 14.9937 3.00815C14.9923 3.00862 14.9892 3.01075 14.9871 3.01169L14.9906 3.00555C12.692 4.35145 11.9116 6.84254 11.8408 8.08926C11.9475 8.08194 12.0533 8.07297 12.1624 8.07297C12.9779 8.07454 13.7785 8.29204 14.4827 8.70333C15.1869 9.11462 15.7697 9.70505 16.1717 10.4146C15.528 9.96872 14.7417 9.77779 13.9652 9.87883C17.2567 11.5246 16.3736 17.1915 11.812 16.979C11.4058 16.9623 11.0044 16.8849 10.6212 16.7493C10.5316 16.7157 10.4421 16.6791 10.3525 16.6392C10.3008 16.6156 10.2491 16.592 10.1981 16.5656L10.2044 16.5696C10.1601 16.5483 10.1157 16.5262 10.0713 16.5032C10.114 16.5238 10.1542 16.546 10.1981 16.5656C9.0805 15.988 8.15774 14.8962 8.04251 13.5715C8.04251 13.5715 8.46493 11.9973 11.0672 11.9973C11.3485 11.9973 12.1534 11.2122 12.1678 10.9846C12.1643 10.9102 10.5716 10.2762 9.95061 9.66466C9.61886 9.33764 9.46137 9.18014 9.32182 9.06184C9.2464 8.99796 9.16758 8.93822 9.0857 8.88286C8.8772 8.15299 8.86831 7.38056 9.05996 6.64608C8.21579 7.055 7.46571 7.63471 6.85718 8.34852H6.85293C6.49025 7.88879 6.51575 6.37289 6.53653 6.05625C6.42923 6.09937 6.32681 6.15375 6.23099 6.21847C5.91081 6.44697 5.6115 6.70338 5.33656 6.98468C5.02324 7.30234 4.73709 7.64568 4.48109 8.0111V8.01252V8.01087C3.8928 8.84476 3.47549 9.78691 3.25325 10.7829L3.24097 10.8434C3.22374 10.9239 3.14653 11.3329 3.13543 11.4207C3.0648 11.8429 3.0197 12.2689 3.00037 12.6965V12.7437C3.00441 15.0337 3.86684 17.239 5.41739 18.9243C6.96795 20.6095 9.09396 21.6523 11.3757 21.8466C13.6575 22.0409 15.9293 21.3728 17.7425 19.974C19.5557 18.5753 20.7787 16.5476 21.1699 14.2912C21.1853 14.1732 21.1978 14.0563 21.2115 13.9371C21.4 12.3791 21.1959 10.7987 20.6179 9.33976L20.6184 9.33929ZM19.7105 9.80941L19.7121 9.81909L19.7105 9.80941Z" fill="url(#paint11_linear_4475_59607)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4475_59607" x1="19.4072" y1="5.92872" x2="4.21438" y2="20.5872" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.048" stop-color="#FFF44F"/>
|
||||
<stop offset="0.111" stop-color="#FFE847"/>
|
||||
<stop offset="0.225" stop-color="#FFC830"/>
|
||||
<stop offset="0.368" stop-color="#FF980E"/>
|
||||
<stop offset="0.401" stop-color="#FF8B16"/>
|
||||
<stop offset="0.462" stop-color="#FF672A"/>
|
||||
<stop offset="0.534" stop-color="#FF3647"/>
|
||||
<stop offset="0.705" stop-color="#E31587"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint1_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(18.8192 5.12925) scale(19.0786)">
|
||||
<stop offset="0.129" stop-color="#FFBD4F"/>
|
||||
<stop offset="0.186" stop-color="#FFAC31"/>
|
||||
<stop offset="0.247" stop-color="#FF9D17"/>
|
||||
<stop offset="0.283" stop-color="#FF980E"/>
|
||||
<stop offset="0.403" stop-color="#FF563B"/>
|
||||
<stop offset="0.467" stop-color="#FF3750"/>
|
||||
<stop offset="0.71" stop-color="#F5156C"/>
|
||||
<stop offset="0.782" stop-color="#EB0878"/>
|
||||
<stop offset="0.86" stop-color="#E50080"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint2_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.7355 12.9213) scale(19.0786)">
|
||||
<stop offset="0.3" stop-color="#960E18"/>
|
||||
<stop offset="0.351" stop-color="#B11927" stop-opacity="0.74"/>
|
||||
<stop offset="0.435" stop-color="#DB293D" stop-opacity="0.343"/>
|
||||
<stop offset="0.497" stop-color="#F5334B" stop-opacity="0.094"/>
|
||||
<stop offset="0.53" stop-color="#FF3750" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint3_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(14.0968 0.879053) scale(13.8202)">
|
||||
<stop offset="0.132" stop-color="#FFF44F"/>
|
||||
<stop offset="0.252" stop-color="#FFDC3E"/>
|
||||
<stop offset="0.506" stop-color="#FF9D12"/>
|
||||
<stop offset="0.526" stop-color="#FF980E"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint4_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.61049 17.88) scale(9.08361)">
|
||||
<stop offset="0.353" stop-color="#3A8EE6"/>
|
||||
<stop offset="0.472" stop-color="#5C79F0"/>
|
||||
<stop offset="0.669" stop-color="#9059FF"/>
|
||||
<stop offset="1" stop-color="#C139E6"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint5_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.6583 11.2837) rotate(-13.5916) scale(4.81691 5.6394)">
|
||||
<stop offset="0.206" stop-color="#9059FF" stop-opacity="0"/>
|
||||
<stop offset="0.278" stop-color="#8C4FF3" stop-opacity="0.064"/>
|
||||
<stop offset="0.747" stop-color="#7716A8" stop-opacity="0.45"/>
|
||||
<stop offset="0.975" stop-color="#6E008B" stop-opacity="0.6"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint6_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.4994 4.42098) scale(6.53585 6.53585)">
|
||||
<stop stop-color="#FFE226"/>
|
||||
<stop offset="0.121" stop-color="#FFDB27"/>
|
||||
<stop offset="0.295" stop-color="#FFC82A"/>
|
||||
<stop offset="0.502" stop-color="#FFA930"/>
|
||||
<stop offset="0.732" stop-color="#FF7E37"/>
|
||||
<stop offset="0.792" stop-color="#FF7139"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint7_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(16.6942 0.170877) scale(27.886 27.886)">
|
||||
<stop offset="0.113" stop-color="#FFF44F"/>
|
||||
<stop offset="0.456" stop-color="#FF980E"/>
|
||||
<stop offset="0.622" stop-color="#FF5634"/>
|
||||
<stop offset="0.716" stop-color="#FF3647"/>
|
||||
<stop offset="0.904" stop-color="#E31587"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint8_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(14.3764 1.71689) rotate(83.976) scale(20.4353 13.4115)">
|
||||
<stop stop-color="#FFF44F"/>
|
||||
<stop offset="0.06" stop-color="#FFE847"/>
|
||||
<stop offset="0.168" stop-color="#FFC830"/>
|
||||
<stop offset="0.304" stop-color="#FF980E"/>
|
||||
<stop offset="0.356" stop-color="#FF8B16"/>
|
||||
<stop offset="0.455" stop-color="#FF672A"/>
|
||||
<stop offset="0.57" stop-color="#FF3647"/>
|
||||
<stop offset="0.737" stop-color="#E31587"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint9_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.4994 6.78212) scale(17.4069)">
|
||||
<stop offset="0.137" stop-color="#FFF44F"/>
|
||||
<stop offset="0.48" stop-color="#FF980E"/>
|
||||
<stop offset="0.592" stop-color="#FF5634"/>
|
||||
<stop offset="0.655" stop-color="#FF3647"/>
|
||||
<stop offset="0.904" stop-color="#E31587"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint10_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.9858 7.7266) scale(19.0527)">
|
||||
<stop offset="0.094" stop-color="#FFF44F"/>
|
||||
<stop offset="0.231" stop-color="#FFE141"/>
|
||||
<stop offset="0.509" stop-color="#FFAF1E"/>
|
||||
<stop offset="0.626" stop-color="#FF980E"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint11_linear_4475_59607" x1="19.2229" y1="5.8508" x2="6.29757" y2="18.7785" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.167" stop-color="#FFF44F" stop-opacity="0.8"/>
|
||||
<stop offset="0.266" stop-color="#FFF44F" stop-opacity="0.634"/>
|
||||
<stop offset="0.489" stop-color="#FFF44F" stop-opacity="0.217"/>
|
||||
<stop offset="0.6" stop-color="#FFF44F" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,41 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.2717 16.4131C19.03 16.5387 18.7808 16.6493 18.5254 16.744C17.7168 17.045 16.8605 17.1977 15.9977 17.1947C12.6673 17.1947 9.76639 14.9063 9.76639 11.9632C9.77072 11.5691 9.87998 11.1833 10.0829 10.8454C10.2859 10.5076 10.5752 10.2299 10.9211 10.041C7.90757 10.1678 7.13306 13.308 7.13306 15.1457C7.13306 20.3561 11.928 20.8771 12.963 20.8771C13.5192 20.8771 14.3571 20.7152 14.8641 20.5532L14.9556 20.5251C16.8957 19.8546 18.5496 18.5434 19.6449 16.8074C19.6767 16.7547 19.6904 16.6929 19.6838 16.6317C19.6772 16.5704 19.6507 16.513 19.6083 16.4683C19.566 16.4235 19.5101 16.3939 19.4493 16.384C19.3885 16.374 19.3262 16.3842 19.2717 16.4131Z" fill="url(#paint0_linear_4475_59727)"/>
|
||||
<path opacity="0.35" d="M19.2717 16.4131C19.03 16.5387 18.7808 16.6493 18.5254 16.744C17.7168 17.045 16.8605 17.1977 15.9977 17.1947C12.6673 17.1947 9.76639 14.9063 9.76639 11.9632C9.77072 11.5691 9.87998 11.1833 10.0829 10.8454C10.2859 10.5076 10.5752 10.2299 10.9211 10.041C7.90757 10.1678 7.13306 13.308 7.13306 15.1457C7.13306 20.3561 11.928 20.8771 12.963 20.8771C13.5192 20.8771 14.3571 20.7152 14.8641 20.5532L14.9556 20.5251C16.8957 19.8546 18.5496 18.5434 19.6449 16.8074C19.6767 16.7547 19.6904 16.6929 19.6838 16.6317C19.6772 16.5704 19.6507 16.513 19.6083 16.4683C19.566 16.4235 19.5101 16.3939 19.4493 16.384C19.3885 16.374 19.3262 16.3842 19.2717 16.4131Z" fill="url(#paint1_radial_4475_59727)"/>
|
||||
<path d="M10.4424 19.9899C9.81565 19.6007 9.27239 19.0909 8.84408 18.4902C8.35497 17.8207 8.01829 17.0523 7.85767 16.2389C7.69705 15.4255 7.71638 14.5869 7.91431 13.7817C8.11224 12.9766 8.48397 12.2245 9.00341 11.5783C9.52285 10.9321 10.1774 10.4074 10.9212 10.041C11.1465 9.93538 11.5197 9.75232 12.0196 9.75936C12.3713 9.76208 12.7177 9.84612 13.0316 10.0049C13.3455 10.1637 13.6185 10.3929 13.8291 10.6747C14.1124 11.0557 14.2677 11.5166 14.2727 11.9914C14.2727 11.9773 15.9977 6.38672 8.63989 6.38672C5.54889 6.38672 3.00709 9.31577 3.00709 11.8928C2.99479 13.2541 3.28583 14.601 3.85905 15.8357C4.79781 17.8347 6.43784 19.4194 8.46783 20.289C10.4978 21.1586 12.7764 21.2527 14.8712 20.5532C14.1373 20.785 13.3618 20.8547 12.5984 20.7574C11.835 20.6602 11.1018 20.3983 10.4494 19.9899H10.4424Z" fill="url(#paint2_linear_4475_59727)"/>
|
||||
<path opacity="0.41" d="M10.4424 19.9899C9.81565 19.6007 9.27239 19.0909 8.84408 18.4902C8.35497 17.8207 8.01829 17.0523 7.85767 16.2389C7.69705 15.4255 7.71638 14.5869 7.91431 13.7817C8.11224 12.9766 8.48397 12.2245 9.00341 11.5783C9.52285 10.9321 10.1774 10.4074 10.9212 10.041C11.1465 9.93538 11.5197 9.75232 12.0196 9.75936C12.3713 9.76208 12.7177 9.84612 13.0316 10.0049C13.3455 10.1637 13.6185 10.3929 13.8291 10.6747C14.1124 11.0557 14.2677 11.5166 14.2727 11.9914C14.2727 11.9773 15.9977 6.38672 8.63989 6.38672C5.54889 6.38672 3.00709 9.31577 3.00709 11.8928C2.99479 13.2541 3.28583 14.601 3.85905 15.8357C4.79781 17.8347 6.43784 19.4194 8.46783 20.289C10.4978 21.1586 12.7764 21.2527 14.8712 20.5532C14.1373 20.785 13.3618 20.8547 12.5984 20.7574C11.835 20.6602 11.1018 20.3983 10.4494 19.9899H10.4424Z" fill="url(#paint3_radial_4475_59727)"/>
|
||||
<path d="M13.7305 13.477C13.6671 13.5474 13.4911 13.653 13.4911 13.8713C13.4911 14.0544 13.6108 14.2374 13.8291 14.3853C14.8359 15.0894 16.744 14.9908 16.7511 14.9908C17.5017 14.9903 18.2384 14.7885 18.8845 14.4064C19.5349 14.026 20.0747 13.4821 20.4501 12.8288C20.8256 12.1754 21.0237 11.4353 21.025 10.6817C21.0461 9.10455 20.4617 8.05544 20.2293 7.59073C18.7296 4.67576 15.5119 3 12.0125 3C9.64402 2.99977 7.37066 3.93188 5.68409 5.59473C3.99752 7.25758 3.03331 9.51751 3 11.8857C3.0352 9.31578 5.59109 7.23868 8.6328 7.23868C8.87923 7.23868 10.2874 7.2598 11.59 7.94278C12.5051 8.39753 13.263 9.11611 13.7657 10.0058C14.1952 10.7521 14.2726 11.7027 14.2726 12.0829C14.2726 12.4631 14.0825 13.0193 13.7234 13.484L13.7305 13.477Z" fill="url(#paint4_radial_4475_59727)"/>
|
||||
<path d="M13.7305 13.477C13.6671 13.5474 13.4911 13.653 13.4911 13.8713C13.4911 14.0544 13.6108 14.2374 13.8291 14.3853C14.8359 15.0894 16.744 14.9908 16.7511 14.9908C17.5017 14.9903 18.2384 14.7885 18.8845 14.4064C19.5349 14.026 20.0747 13.4821 20.4501 12.8288C20.8256 12.1754 21.0237 11.4353 21.025 10.6817C21.0461 9.10455 20.4617 8.05544 20.2293 7.59073C18.7296 4.67576 15.5119 3 12.0125 3C9.64402 2.99977 7.37066 3.93188 5.68409 5.59473C3.99752 7.25758 3.03331 9.51751 3 11.8857C3.0352 9.31578 5.59109 7.23868 8.6328 7.23868C8.87923 7.23868 10.2874 7.2598 11.59 7.94278C12.5051 8.39753 13.263 9.11611 13.7657 10.0058C14.1952 10.7521 14.2726 11.7027 14.2726 12.0829C14.2726 12.4631 14.0825 13.0193 13.7234 13.484L13.7305 13.477Z" fill="url(#paint5_radial_4475_59727)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4475_59727" x1="7.13306" y1="15.4626" x2="19.6942" y2="15.4626" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0C59A4"/>
|
||||
<stop offset="1" stop-color="#114A8B"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint1_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(14.0684 15.5573) scale(6.71711 6.38126)">
|
||||
<stop offset="0.7" stop-opacity="0"/>
|
||||
<stop offset="0.9" stop-opacity="0.5"/>
|
||||
<stop offset="1"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint2_linear_4475_59727" x1="13.7517" y1="10.0128" x2="5.91502" y2="18.5536" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#1B9DE2"/>
|
||||
<stop offset="0.2" stop-color="#1595DF"/>
|
||||
<stop offset="0.7" stop-color="#0680D7"/>
|
||||
<stop offset="1" stop-color="#0078D4"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint3_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.96782 17.0071) rotate(-81.3844) scale(10.0958 8.1564)">
|
||||
<stop offset="0.8" stop-opacity="0"/>
|
||||
<stop offset="0.9" stop-opacity="0.5"/>
|
||||
<stop offset="1"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint4_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.82291 6.33152) rotate(92.2906) scale(14.2624 30.3759)">
|
||||
<stop stop-color="#35C1F1"/>
|
||||
<stop offset="0.1" stop-color="#34C1ED"/>
|
||||
<stop offset="0.2" stop-color="#2FC2DF"/>
|
||||
<stop offset="0.3" stop-color="#2BC3D2"/>
|
||||
<stop offset="0.7" stop-color="#36C752"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint5_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(19.9026 8.44269) rotate(73.7398) scale(6.85089 5.57115)">
|
||||
<stop stop-color="#66EB6E"/>
|
||||
<stop offset="1" stop-color="#66EB6E" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.4 KiB |
@@ -0,0 +1,17 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.2051 2.58969C7.1213 2.58969 3 6.71099 3 11.7948C3 16.7315 6.88651 20.7606 11.7667 20.9892C11.9124 20.9961 12.0582 21 12.2053 21C14.562 21 16.7114 20.1138 18.34 18.6574C17.2609 19.373 15.9994 19.7848 14.6512 19.7848C12.4591 19.7848 10.4958 18.6973 9.17542 16.9823C8.15755 15.7808 7.49829 14.0047 7.45338 12.0115V11.578C7.49826 9.58484 8.15752 7.8084 9.17516 6.60718C10.4958 4.89225 12.459 3.80476 14.651 3.80476C15.9995 3.80476 17.2612 4.2165 18.3404 4.93255C16.7198 3.48281 14.5834 2.59844 12.2398 2.58974C12.2281 2.58974 12.2166 2.58928 12.2049 2.58928L12.2051 2.58969Z" fill="url(#paint0_linear_4475_59675)"/>
|
||||
<path d="M9.17529 6.6077C10.02 5.61045 11.111 5.00909 12.3029 5.00909C14.9828 5.00909 17.1549 8.04738 17.1549 11.7952C17.1549 15.5431 14.9826 18.5814 12.3029 18.5814C11.111 18.5814 10.02 17.9803 9.17552 16.983C10.4959 18.6979 12.459 19.7854 14.6513 19.7854C15.9996 19.7854 17.2611 19.3737 18.3401 18.6581C20.2242 16.9725 21.4106 14.5225 21.4106 11.7953C21.4106 9.06843 20.2244 6.61858 18.3407 4.93317C17.2615 4.21711 15.9997 3.80537 14.6513 3.80537C12.4592 3.80537 10.496 4.89287 9.17555 6.6078" fill="url(#paint1_linear_4475_59675)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4475_59675" x1="10.6704" y1="2.88975" x2="10.6704" y2="20.7324" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF1B2D"/>
|
||||
<stop offset="0.3" stop-color="#FF1B2D"/>
|
||||
<stop offset="0.614" stop-color="#FF1B2D"/>
|
||||
<stop offset="1" stop-color="#A70014"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_4475_59675" x1="15.2928" y1="3.94157" x2="15.2928" y2="19.7224" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#9C0000"/>
|
||||
<stop offset="0.7" stop-color="#FF4B4B"/>
|
||||
<stop offset="1" stop-color="#FF4B4B"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M20.3467 9.03797C19.9351 8.12658 19.1707 7.15823 18.5238 6.81646C19.0531 7.78481 19.3471 8.75316 19.4647 9.49367C18.465 7.0443 16.701 6.01899 15.2897 3.85443C15.2309 3.74051 15.1721 3.62658 15.0545 3.51266C14.9957 3.4557 14.9957 3.39873 14.9369 3.34177C14.8781 3.22785 14.8193 3.11392 14.8193 3C12.82 4.13924 11.9968 6.13291 11.7616 7.38608C11.1147 7.44304 10.5267 7.55696 9.99749 7.84177C9.87988 7.89873 9.82108 8.01266 9.87988 8.12658C9.93869 8.24051 10.0563 8.29747 10.1739 8.24051C10.6443 8.01266 11.1735 7.89873 11.7616 7.84177H11.8204C11.8792 7.84177 11.9968 7.84177 12.0556 7.84177C12.4672 7.84177 12.9376 7.89873 13.3492 8.01266H13.408C13.4668 8.01266 13.5256 8.06962 13.6432 8.06962C13.702 8.06962 13.7608 8.12658 13.8196 8.12658C13.8784 8.12658 13.8784 8.18354 13.9372 8.18354C13.9961 8.18354 14.0549 8.24051 14.1137 8.29747L14.1725 8.35443C14.2313 8.41139 14.2901 8.41139 14.3489 8.46835C14.4077 8.46835 14.4077 8.52532 14.4665 8.52532C15.1133 8.92405 15.6425 9.43671 16.0541 10.1203C15.5837 9.77848 14.7017 9.49367 13.8784 9.60759C17.1126 11.2025 16.2305 16.6139 11.7616 16.3861C11.3499 16.3861 10.9383 16.2722 10.5855 16.1582C10.4679 16.1013 10.4091 16.1013 10.2915 16.0443C10.2327 16.0443 10.1739 15.9873 10.1151 15.9873C8.99785 15.4177 8.11581 14.3924 7.99821 13.1392C7.99821 13.1392 8.40982 11.6582 10.9971 11.6582C11.2911 11.6582 12.0556 10.9177 12.0556 10.6899C12.0556 10.6329 10.4679 10.0063 9.87988 9.43671C9.52707 9.1519 9.40946 8.98101 9.23306 8.86709C9.17425 8.81013 9.05665 8.75316 8.99785 8.6962C8.82144 8.01266 8.76264 7.27215 8.99785 6.53165C8.05701 6.87342 7.29258 7.5 6.76336 8.06962C6.41054 7.61392 6.46934 6.18987 6.46934 5.90506C6.46934 5.90506 6.17533 6.01899 6.17533 6.07595C5.88132 6.24684 5.5285 6.53165 5.29329 6.75949C4.99928 7.0443 4.70527 7.38608 4.47006 7.72785C3.88204 8.52532 3.47042 9.43671 3.23521 10.3481C3.23521 10.3481 3.17641 10.6899 3.1176 11.1456C3.1176 11.2025 3.1176 11.2595 3.0588 11.3734C3.0588 11.5443 3 11.7152 3 11.8861C3 12 3 12.057 3 12.1709V12.2278C3 17.1266 6.99856 21 11.9968 21C16.4658 21 20.1703 17.8671 20.8759 13.7089C20.8759 13.5949 20.8759 13.481 20.9347 13.3671C21.1111 11.943 20.9347 10.3481 20.3467 9.03797Z" fill="#C4C6D7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.9915 15.0939C10.3709 14.3974 9.94825 13.5653 9.81334 12.6338C9.54354 13.0498 9.3187 13.502 9.15681 13.9904C8.32941 16.4777 9.76837 19.58 12.2146 20.4845C14.3191 21.1899 16.6844 19.9327 18.2403 18.558C18.4741 18.2414 20.3178 16.6043 19.4005 16.4234C16.6844 17.8253 13.087 17.4274 10.9915 15.0939ZM11.5311 9.83897C12.4664 9.82993 11.5671 9.45006 11.1804 9.16063C10.245 8.64509 9.14782 8.39184 8.08658 8.39184C4.62406 8.42802 2.11936 10.6078 3.29302 14.2166C4.13841 17.7259 7.16924 20.5478 10.7487 21C8.90499 19.8332 7.78979 17.6445 7.78979 15.4647C7.86174 13.1764 9.26474 10.4902 11.5311 9.83897ZM3.72471 8.64509C6.45875 6.6191 10.8116 6.7819 13.1679 9.33248C14.0853 10.3364 14.7148 12.0459 13.8784 13.285C12.3135 14.9853 16.6484 15.2115 17.5748 14.9582C20.9384 14.307 21.8287 10.3726 20.2279 7.65923C18.699 4.58407 15.3084 2.97413 11.9808 3.00126C8.32941 2.93795 5.04676 5.26241 3.72471 8.64509Z" fill="#C4C6D7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.039 6.92844C8.0418 8.10292 7.3983 9.84079 7.3533 11.7884V12.2114C7.3992 14.1598 8.0427 15.895 9.0381 17.0713C10.3287 18.7471 12.2475 19.8108 14.3931 19.8108C15.6773 19.8079 16.9318 19.4239 17.9976 18.7075C16.241 20.2863 13.9314 21.1064 11.5725 20.9889C9.26213 20.8795 7.08262 19.8846 5.48637 18.2108C3.89012 16.537 2.99972 14.3128 3 11.9999C3 7.02834 7.0302 3 12 3H12.0333C14.2355 3.00591 16.3587 3.82145 17.9985 5.29136C16.9312 4.57592 15.6762 4.19203 14.3913 4.18798C12.2475 4.18798 10.3287 5.25266 9.0363 6.92844H9.0381H9.039ZM21 11.9999C21.0016 13.2666 20.735 14.5193 20.2177 15.6755C19.7003 16.8318 18.944 17.8654 17.9985 18.7084C15.69 19.8333 13.539 19.0467 12.8262 18.5554C15.0942 18.0568 16.8069 15.3154 16.8069 11.9999C16.8069 8.68341 15.0942 5.94295 12.8262 5.44526C13.5381 4.95477 15.69 4.16728 17.9985 5.29136C18.9441 6.13424 19.7005 7.16784 20.2178 8.32411C20.7352 9.48039 21.0017 10.7331 21 11.9999Z" fill="#C4C6D7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
@@ -0,0 +1,106 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M20.6185 9.33929C20.2208 8.38252 19.4142 7.34949 18.7826 7.02293C19.233 7.89514 19.5457 8.83184 19.7094 9.79973L19.7111 9.81507C18.6764 7.23662 16.9225 6.19533 15.4892 3.93092C15.4167 3.8164 15.3442 3.70164 15.2736 3.58051C15.2332 3.51133 15.2009 3.44899 15.1728 3.39161C15.1134 3.27652 15.0676 3.15488 15.0363 3.02917C15.0364 3.02337 15.0343 3.01775 15.0304 3.0134C15.0266 3.00904 15.0213 3.00625 15.0155 3.00555C15.0099 3.00401 15.0039 3.00401 14.9983 3.00555C14.9971 3.00555 14.9952 3.00768 14.9938 3.00815C14.9924 3.00862 14.9893 3.01075 14.9872 3.01169L14.9907 3.00555C12.6921 4.35145 11.9117 6.84254 11.8409 8.08926C10.9226 8.15222 10.0446 8.49049 9.32146 9.05996C9.24604 8.99608 9.16721 8.93633 9.08533 8.88098C8.87683 8.15111 8.86795 7.37867 9.0596 6.64419C8.21543 7.05311 7.46534 7.63282 6.85681 8.34663H6.85256C6.48988 7.8869 6.51538 6.371 6.53616 6.05436C6.42887 6.09748 6.32645 6.15186 6.23062 6.21658C5.91045 6.44508 5.61113 6.70149 5.33619 6.98279C5.02288 7.30045 4.73672 7.64379 4.48072 8.00921V8.01063V8.00898C3.89243 8.84287 3.47512 9.78502 3.25289 10.781L3.24061 10.8415C3.22337 10.922 3.16127 11.3253 3.15065 11.4129C3.15065 11.4198 3.14923 11.4261 3.14852 11.433C3.06842 11.8493 3.01878 12.271 3 12.6946V12.7418C3.00404 15.0318 3.86647 17.2372 5.41703 18.9224C6.96759 20.6077 9.0936 21.6504 11.3754 21.8447C13.6572 22.0391 15.9289 21.3709 17.7421 19.9722C19.5553 18.5734 20.7783 16.5457 21.1696 14.2893C21.1849 14.1713 21.1974 14.0544 21.2111 13.9352C21.3996 12.3772 21.1956 10.7968 20.6175 9.33787L20.6185 9.33929ZM10.0709 16.5032C10.1136 16.5238 10.1538 16.546 10.1977 16.5656L10.2041 16.5696C10.1597 16.5483 10.1153 16.5262 10.0709 16.5032ZM19.7113 9.81767V9.80893L19.7129 9.81862L19.7113 9.81767Z" fill="url(#paint0_linear_4475_59607)"/>
|
||||
<path d="M20.6184 9.3393C20.2208 8.38254 19.4142 7.34951 18.7826 7.02295C19.233 7.89516 19.5456 8.83186 19.7093 9.79974V9.80848L19.711 9.81816C20.4165 11.8368 20.3145 14.05 19.4262 15.9951C18.3774 18.2456 15.8395 20.5523 11.8656 20.4389C7.57291 20.3173 3.79024 17.1309 3.08424 12.9586C2.95555 12.3005 3.08424 11.9669 3.14893 11.4321C3.06068 11.8475 3.01144 12.2702 3.00183 12.6948V12.7421C3.00588 15.0321 3.8683 17.2374 5.41886 18.9227C6.96942 20.6079 9.09543 21.6506 11.3772 21.845C13.659 22.0393 15.9307 21.3712 17.7439 19.9724C19.5572 18.5737 20.7801 16.546 21.1714 14.2896C21.1868 14.1715 21.1993 14.0547 21.213 13.9354C21.4015 12.3775 21.1974 10.7971 20.6194 9.33812L20.6184 9.3393Z" fill="url(#paint1_radial_4475_59607)"/>
|
||||
<path d="M20.6184 9.3393C20.2208 8.38254 19.4142 7.34951 18.7826 7.02295C19.233 7.89516 19.5456 8.83186 19.7093 9.79974V9.80848L19.711 9.81816C20.4165 11.8368 20.3145 14.05 19.4262 15.9951C18.3774 18.2456 15.8395 20.5523 11.8656 20.4389C7.57291 20.3173 3.79024 17.1309 3.08424 12.9586C2.95555 12.3005 3.08424 11.9669 3.14893 11.4321C3.06068 11.8475 3.01144 12.2702 3.00183 12.6948V12.7421C3.00588 15.0321 3.8683 17.2374 5.41886 18.9227C6.96942 20.6079 9.09543 21.6506 11.3772 21.845C13.659 22.0393 15.9307 21.3712 17.7439 19.9724C19.5572 18.5737 20.7801 16.546 21.1714 14.2896C21.1868 14.1715 21.1993 14.0547 21.213 13.9354C21.4015 12.3775 21.1974 10.7971 20.6194 9.33812L20.6184 9.3393Z" fill="url(#paint2_radial_4475_59607)"/>
|
||||
<path d="M16.1699 10.4137C16.1898 10.4276 16.2082 10.4415 16.2268 10.4554C15.997 10.0478 15.7108 9.67463 15.3768 9.34686C12.5315 6.50159 14.6314 3.17935 14.9853 3.00935L14.9889 3.00415C12.6902 4.35005 11.9098 6.84113 11.839 8.08785C11.9457 8.08053 12.0515 8.07156 12.1606 8.07156C12.9761 8.07314 13.7767 8.29063 14.4809 8.70192C15.1851 9.11322 15.7679 9.70365 16.1699 10.4132V10.4137Z" fill="url(#paint3_radial_4475_59607)"/>
|
||||
<path d="M12.1653 10.9829C12.1502 11.2105 11.346 11.9956 11.0648 11.9956C8.4627 11.9956 8.04004 13.5699 8.04004 13.5699C8.15527 14.8954 9.07898 15.9877 10.1956 16.5639C10.2466 16.5903 10.2983 16.6142 10.35 16.6376C10.4396 16.6772 10.5292 16.7139 10.6187 16.7476C11.0019 16.8832 11.4033 16.9606 11.8095 16.9773C16.3714 17.1913 17.2545 11.5229 13.9627 9.87715C14.7392 9.77611 15.5255 9.96704 16.1692 10.4129C15.7672 9.70337 15.1844 9.11294 14.4802 8.70165C13.776 8.29036 12.9754 8.07287 12.1599 8.07129C12.0513 8.07129 11.945 8.08026 11.8383 8.08758C10.92 8.15054 10.042 8.48882 9.31887 9.05828C9.45842 9.17634 9.61592 9.33407 9.94767 9.6611C10.5687 10.2729 12.1613 10.9066 12.1649 10.981L12.1653 10.9829Z" fill="url(#paint4_radial_4475_59607)"/>
|
||||
<path d="M12.1653 10.9829C12.1502 11.2105 11.346 11.9956 11.0648 11.9956C8.4627 11.9956 8.04004 13.5699 8.04004 13.5699C8.15527 14.8954 9.07898 15.9877 10.1956 16.5639C10.2466 16.5903 10.2983 16.6142 10.35 16.6376C10.4396 16.6772 10.5292 16.7139 10.6187 16.7476C11.0019 16.8832 11.4033 16.9606 11.8095 16.9773C16.3714 17.1913 17.2545 11.5229 13.9627 9.87715C14.7392 9.77611 15.5255 9.96704 16.1692 10.4129C15.7672 9.70337 15.1844 9.11294 14.4802 8.70165C13.776 8.29036 12.9754 8.07287 12.1599 8.07129C12.0513 8.07129 11.945 8.08026 11.8383 8.08758C10.92 8.15054 10.042 8.48882 9.31887 9.05828C9.45842 9.17634 9.61592 9.33407 9.94767 9.6611C10.5687 10.2729 12.1613 10.9066 12.1649 10.981L12.1653 10.9829Z" fill="url(#paint5_radial_4475_59607)"/>
|
||||
<path d="M8.89265 8.75618C8.96679 8.8034 9.02795 8.84449 9.08155 8.88156C8.87305 8.15169 8.86416 7.37925 9.05581 6.64478C8.21164 7.05369 7.46155 7.6334 6.85303 8.34721C6.89765 8.34603 8.22513 8.32219 8.89265 8.75618Z" fill="url(#paint6_radial_4475_59607)"/>
|
||||
<path d="M3.08267 12.9592C3.78891 17.1315 7.57135 20.3192 11.864 20.4396C15.838 20.552 18.3763 18.2451 19.4247 15.9958C20.3129 14.0506 20.4149 11.8374 19.7094 9.81882V9.81008C19.7094 9.80323 19.708 9.79922 19.7094 9.80135L19.7111 9.81669C20.0357 11.9364 18.9576 13.989 17.2719 15.3797L17.2667 15.3915C13.9823 18.0668 10.8395 17.0052 10.2043 16.5721C10.1599 16.5509 10.1156 16.5288 10.0712 16.5058C8.15646 15.5906 7.36521 13.8471 7.53522 12.35C7.08071 12.3568 6.63401 12.2315 6.24924 11.9895C5.86447 11.7475 5.55815 11.399 5.36738 10.9864C5.87004 10.6785 6.44317 10.5045 7.03217 10.4808C7.62116 10.4572 8.2064 10.5847 8.73212 10.8514C9.81575 11.3433 11.0488 11.3917 12.1677 10.9864C12.1642 10.9121 10.5715 10.2781 9.95051 9.66652C9.61876 9.33949 9.46127 9.182 9.32172 9.0637C9.2463 8.99982 9.16748 8.94007 9.0856 8.88472C9.03129 8.84765 8.97013 8.80751 8.8967 8.75934C8.22918 8.32535 6.9017 8.3492 6.85779 8.35038H6.85354C6.49085 7.89065 6.51635 6.37474 6.53713 6.05811C6.42984 6.10123 6.32742 6.1556 6.23159 6.22032C5.91142 6.44883 5.6121 6.70523 5.33716 6.98654C5.02273 7.3033 4.73538 7.64585 4.47815 8.0106V8.01201V8.01036C3.88986 8.84425 3.47255 9.7864 3.25032 10.7824C3.24583 10.8011 2.92069 12.2225 3.08102 12.9597L3.08267 12.9592Z" fill="url(#paint7_radial_4475_59607)"/>
|
||||
<path d="M15.3766 9.34646C15.7107 9.6746 15.9969 10.0482 16.2267 10.4562C16.2769 10.4943 16.3239 10.532 16.3638 10.5686C18.4386 12.4812 17.3515 15.1848 17.2705 15.3761C18.956 13.9874 20.0332 11.9334 19.7097 9.81304C18.6745 7.23223 16.9187 6.19093 15.4878 3.92652C15.4153 3.812 15.3428 3.69725 15.2722 3.57612C15.2319 3.50693 15.1995 3.4446 15.1714 3.38722C15.112 3.27212 15.0662 3.15048 15.0349 3.02477C15.035 3.01897 15.0329 3.01336 15.0291 3.009C15.0252 3.00465 15.0199 3.00186 15.0142 3.00116C15.0085 2.99961 15.0026 2.99961 14.9969 3.00116C14.9957 3.00116 14.9939 3.00329 14.9924 3.00376C14.991 3.00423 14.988 3.00636 14.9858 3.0073C14.6319 3.17518 12.5325 6.49954 15.3778 9.34245L15.3766 9.34646Z" fill="url(#paint8_radial_4475_59607)"/>
|
||||
<path d="M16.3635 10.5695C16.3236 10.5329 16.2766 10.4951 16.2264 10.4571C16.2077 10.4432 16.1893 10.4293 16.1694 10.4153C15.5257 9.96946 14.7394 9.77853 13.9629 9.87957C17.2544 11.5253 16.3713 17.1923 11.8097 16.9798C11.4035 16.9631 11.0022 16.8856 10.6189 16.75C10.5294 16.7165 10.4398 16.6798 10.3502 16.64C10.2985 16.6164 10.2468 16.5927 10.1958 16.5663L10.2022 16.5703C10.8383 17.0045 13.9801 18.0654 17.2646 15.3897L17.2698 15.3779C17.3517 15.1866 18.4388 12.483 16.3631 10.5705L16.3635 10.5695Z" fill="url(#paint9_radial_4475_59607)"/>
|
||||
<path d="M8.04026 13.5683C8.04026 13.5683 8.46268 11.994 11.065 11.994C11.3462 11.994 12.1511 11.2089 12.1655 10.9813C11.0466 11.3866 9.8136 11.3381 8.72997 10.8462C8.20425 10.5796 7.61901 10.452 7.03002 10.4757C6.44102 10.4993 5.86789 10.6734 5.36523 10.9813C5.556 11.3939 5.86232 11.7423 6.24709 11.9843C6.63186 12.2264 7.07856 12.3516 7.53307 12.3449C7.36353 13.8412 8.15454 15.5845 10.069 16.5007C10.1118 16.5212 10.1519 16.5434 10.1958 16.563C9.07825 15.9857 8.15549 14.8938 8.04026 13.569V13.5683Z" fill="url(#paint10_radial_4475_59607)"/>
|
||||
<path d="M20.6184 9.33929C20.2207 8.38252 19.4141 7.34949 18.7825 7.02293C19.2329 7.89514 19.5456 8.83184 19.7093 9.79973L19.7109 9.81507C18.6763 7.23662 16.9223 6.19533 15.4891 3.93092C15.4166 3.8164 15.3441 3.70164 15.2735 3.58051C15.2331 3.51133 15.2008 3.44899 15.1727 3.39161C15.1133 3.27652 15.0674 3.15488 15.0362 3.02917C15.0362 3.02337 15.0342 3.01775 15.0303 3.0134C15.0265 3.00904 15.0212 3.00625 15.0154 3.00555C15.0098 3.00401 15.0038 3.00401 14.9982 3.00555C14.997 3.00555 14.9951 3.00768 14.9937 3.00815C14.9923 3.00862 14.9892 3.01075 14.9871 3.01169L14.9906 3.00555C12.692 4.35145 11.9116 6.84254 11.8408 8.08926C11.9475 8.08194 12.0533 8.07297 12.1624 8.07297C12.9779 8.07454 13.7785 8.29204 14.4827 8.70333C15.1869 9.11462 15.7697 9.70505 16.1717 10.4146C15.528 9.96872 14.7417 9.77779 13.9652 9.87883C17.2567 11.5246 16.3736 17.1915 11.812 16.979C11.4058 16.9623 11.0044 16.8849 10.6212 16.7493C10.5316 16.7157 10.4421 16.6791 10.3525 16.6392C10.3008 16.6156 10.2491 16.592 10.1981 16.5656L10.2044 16.5696C10.1601 16.5483 10.1157 16.5262 10.0713 16.5032C10.114 16.5238 10.1542 16.546 10.1981 16.5656C9.0805 15.988 8.15774 14.8962 8.04251 13.5715C8.04251 13.5715 8.46493 11.9973 11.0672 11.9973C11.3485 11.9973 12.1534 11.2122 12.1678 10.9846C12.1643 10.9102 10.5716 10.2762 9.95061 9.66466C9.61886 9.33764 9.46137 9.18014 9.32182 9.06184C9.2464 8.99796 9.16758 8.93822 9.0857 8.88286C8.8772 8.15299 8.86831 7.38056 9.05996 6.64608C8.21579 7.055 7.46571 7.63471 6.85718 8.34852H6.85293C6.49025 7.88879 6.51575 6.37289 6.53653 6.05625C6.42923 6.09937 6.32681 6.15375 6.23099 6.21847C5.91081 6.44697 5.6115 6.70338 5.33656 6.98468C5.02324 7.30234 4.73709 7.64568 4.48109 8.0111V8.01252V8.01087C3.8928 8.84476 3.47549 9.78691 3.25325 10.7829L3.24097 10.8434C3.22374 10.9239 3.14653 11.3329 3.13543 11.4207C3.0648 11.8429 3.0197 12.2689 3.00037 12.6965V12.7437C3.00441 15.0337 3.86684 17.239 5.41739 18.9243C6.96795 20.6095 9.09396 21.6523 11.3757 21.8466C13.6575 22.0409 15.9293 21.3728 17.7425 19.974C19.5557 18.5753 20.7787 16.5476 21.1699 14.2912C21.1853 14.1732 21.1978 14.0563 21.2115 13.9371C21.4 12.3791 21.1959 10.7987 20.6179 9.33976L20.6184 9.33929ZM19.7105 9.80941L19.7121 9.81909L19.7105 9.80941Z" fill="url(#paint11_linear_4475_59607)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4475_59607" x1="19.4072" y1="5.92872" x2="4.21438" y2="20.5872" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.048" stop-color="#FFF44F"/>
|
||||
<stop offset="0.111" stop-color="#FFE847"/>
|
||||
<stop offset="0.225" stop-color="#FFC830"/>
|
||||
<stop offset="0.368" stop-color="#FF980E"/>
|
||||
<stop offset="0.401" stop-color="#FF8B16"/>
|
||||
<stop offset="0.462" stop-color="#FF672A"/>
|
||||
<stop offset="0.534" stop-color="#FF3647"/>
|
||||
<stop offset="0.705" stop-color="#E31587"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint1_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(18.8192 5.12925) scale(19.0786)">
|
||||
<stop offset="0.129" stop-color="#FFBD4F"/>
|
||||
<stop offset="0.186" stop-color="#FFAC31"/>
|
||||
<stop offset="0.247" stop-color="#FF9D17"/>
|
||||
<stop offset="0.283" stop-color="#FF980E"/>
|
||||
<stop offset="0.403" stop-color="#FF563B"/>
|
||||
<stop offset="0.467" stop-color="#FF3750"/>
|
||||
<stop offset="0.71" stop-color="#F5156C"/>
|
||||
<stop offset="0.782" stop-color="#EB0878"/>
|
||||
<stop offset="0.86" stop-color="#E50080"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint2_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.7355 12.9213) scale(19.0786)">
|
||||
<stop offset="0.3" stop-color="#960E18"/>
|
||||
<stop offset="0.351" stop-color="#B11927" stop-opacity="0.74"/>
|
||||
<stop offset="0.435" stop-color="#DB293D" stop-opacity="0.343"/>
|
||||
<stop offset="0.497" stop-color="#F5334B" stop-opacity="0.094"/>
|
||||
<stop offset="0.53" stop-color="#FF3750" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint3_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(14.0968 0.879053) scale(13.8202)">
|
||||
<stop offset="0.132" stop-color="#FFF44F"/>
|
||||
<stop offset="0.252" stop-color="#FFDC3E"/>
|
||||
<stop offset="0.506" stop-color="#FF9D12"/>
|
||||
<stop offset="0.526" stop-color="#FF980E"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint4_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.61049 17.88) scale(9.08361)">
|
||||
<stop offset="0.353" stop-color="#3A8EE6"/>
|
||||
<stop offset="0.472" stop-color="#5C79F0"/>
|
||||
<stop offset="0.669" stop-color="#9059FF"/>
|
||||
<stop offset="1" stop-color="#C139E6"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint5_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.6583 11.2837) rotate(-13.5916) scale(4.81691 5.6394)">
|
||||
<stop offset="0.206" stop-color="#9059FF" stop-opacity="0"/>
|
||||
<stop offset="0.278" stop-color="#8C4FF3" stop-opacity="0.064"/>
|
||||
<stop offset="0.747" stop-color="#7716A8" stop-opacity="0.45"/>
|
||||
<stop offset="0.975" stop-color="#6E008B" stop-opacity="0.6"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint6_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.4994 4.42098) scale(6.53585 6.53585)">
|
||||
<stop stop-color="#FFE226"/>
|
||||
<stop offset="0.121" stop-color="#FFDB27"/>
|
||||
<stop offset="0.295" stop-color="#FFC82A"/>
|
||||
<stop offset="0.502" stop-color="#FFA930"/>
|
||||
<stop offset="0.732" stop-color="#FF7E37"/>
|
||||
<stop offset="0.792" stop-color="#FF7139"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint7_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(16.6942 0.170877) scale(27.886 27.886)">
|
||||
<stop offset="0.113" stop-color="#FFF44F"/>
|
||||
<stop offset="0.456" stop-color="#FF980E"/>
|
||||
<stop offset="0.622" stop-color="#FF5634"/>
|
||||
<stop offset="0.716" stop-color="#FF3647"/>
|
||||
<stop offset="0.904" stop-color="#E31587"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint8_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(14.3764 1.71689) rotate(83.976) scale(20.4353 13.4115)">
|
||||
<stop stop-color="#FFF44F"/>
|
||||
<stop offset="0.06" stop-color="#FFE847"/>
|
||||
<stop offset="0.168" stop-color="#FFC830"/>
|
||||
<stop offset="0.304" stop-color="#FF980E"/>
|
||||
<stop offset="0.356" stop-color="#FF8B16"/>
|
||||
<stop offset="0.455" stop-color="#FF672A"/>
|
||||
<stop offset="0.57" stop-color="#FF3647"/>
|
||||
<stop offset="0.737" stop-color="#E31587"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint9_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.4994 6.78212) scale(17.4069)">
|
||||
<stop offset="0.137" stop-color="#FFF44F"/>
|
||||
<stop offset="0.48" stop-color="#FF980E"/>
|
||||
<stop offset="0.592" stop-color="#FF5634"/>
|
||||
<stop offset="0.655" stop-color="#FF3647"/>
|
||||
<stop offset="0.904" stop-color="#E31587"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint10_radial_4475_59607" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.9858 7.7266) scale(19.0527)">
|
||||
<stop offset="0.094" stop-color="#FFF44F"/>
|
||||
<stop offset="0.231" stop-color="#FFE141"/>
|
||||
<stop offset="0.509" stop-color="#FFAF1E"/>
|
||||
<stop offset="0.626" stop-color="#FF980E"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint11_linear_4475_59607" x1="19.2229" y1="5.8508" x2="6.29757" y2="18.7785" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.167" stop-color="#FFF44F" stop-opacity="0.8"/>
|
||||
<stop offset="0.266" stop-color="#FFF44F" stop-opacity="0.634"/>
|
||||
<stop offset="0.489" stop-color="#FFF44F" stop-opacity="0.217"/>
|
||||
<stop offset="0.6" stop-color="#FFF44F" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,41 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.2717 16.4131C19.03 16.5387 18.7808 16.6493 18.5254 16.744C17.7168 17.045 16.8605 17.1977 15.9977 17.1947C12.6673 17.1947 9.76639 14.9063 9.76639 11.9632C9.77072 11.5691 9.87998 11.1833 10.0829 10.8454C10.2859 10.5076 10.5752 10.2299 10.9211 10.041C7.90757 10.1678 7.13306 13.308 7.13306 15.1457C7.13306 20.3561 11.928 20.8771 12.963 20.8771C13.5192 20.8771 14.3571 20.7152 14.8641 20.5532L14.9556 20.5251C16.8957 19.8546 18.5496 18.5434 19.6449 16.8074C19.6767 16.7547 19.6904 16.6929 19.6838 16.6317C19.6772 16.5704 19.6507 16.513 19.6083 16.4683C19.566 16.4235 19.5101 16.3939 19.4493 16.384C19.3885 16.374 19.3262 16.3842 19.2717 16.4131Z" fill="url(#paint0_linear_4475_59727)"/>
|
||||
<path opacity="0.35" d="M19.2717 16.4131C19.03 16.5387 18.7808 16.6493 18.5254 16.744C17.7168 17.045 16.8605 17.1977 15.9977 17.1947C12.6673 17.1947 9.76639 14.9063 9.76639 11.9632C9.77072 11.5691 9.87998 11.1833 10.0829 10.8454C10.2859 10.5076 10.5752 10.2299 10.9211 10.041C7.90757 10.1678 7.13306 13.308 7.13306 15.1457C7.13306 20.3561 11.928 20.8771 12.963 20.8771C13.5192 20.8771 14.3571 20.7152 14.8641 20.5532L14.9556 20.5251C16.8957 19.8546 18.5496 18.5434 19.6449 16.8074C19.6767 16.7547 19.6904 16.6929 19.6838 16.6317C19.6772 16.5704 19.6507 16.513 19.6083 16.4683C19.566 16.4235 19.5101 16.3939 19.4493 16.384C19.3885 16.374 19.3262 16.3842 19.2717 16.4131Z" fill="url(#paint1_radial_4475_59727)"/>
|
||||
<path d="M10.4424 19.9899C9.81565 19.6007 9.27239 19.0909 8.84408 18.4902C8.35497 17.8207 8.01829 17.0523 7.85767 16.2389C7.69705 15.4255 7.71638 14.5869 7.91431 13.7817C8.11224 12.9766 8.48397 12.2245 9.00341 11.5783C9.52285 10.9321 10.1774 10.4074 10.9212 10.041C11.1465 9.93538 11.5197 9.75232 12.0196 9.75936C12.3713 9.76208 12.7177 9.84612 13.0316 10.0049C13.3455 10.1637 13.6185 10.3929 13.8291 10.6747C14.1124 11.0557 14.2677 11.5166 14.2727 11.9914C14.2727 11.9773 15.9977 6.38672 8.63989 6.38672C5.54889 6.38672 3.00709 9.31577 3.00709 11.8928C2.99479 13.2541 3.28583 14.601 3.85905 15.8357C4.79781 17.8347 6.43784 19.4194 8.46783 20.289C10.4978 21.1586 12.7764 21.2527 14.8712 20.5532C14.1373 20.785 13.3618 20.8547 12.5984 20.7574C11.835 20.6602 11.1018 20.3983 10.4494 19.9899H10.4424Z" fill="url(#paint2_linear_4475_59727)"/>
|
||||
<path opacity="0.41" d="M10.4424 19.9899C9.81565 19.6007 9.27239 19.0909 8.84408 18.4902C8.35497 17.8207 8.01829 17.0523 7.85767 16.2389C7.69705 15.4255 7.71638 14.5869 7.91431 13.7817C8.11224 12.9766 8.48397 12.2245 9.00341 11.5783C9.52285 10.9321 10.1774 10.4074 10.9212 10.041C11.1465 9.93538 11.5197 9.75232 12.0196 9.75936C12.3713 9.76208 12.7177 9.84612 13.0316 10.0049C13.3455 10.1637 13.6185 10.3929 13.8291 10.6747C14.1124 11.0557 14.2677 11.5166 14.2727 11.9914C14.2727 11.9773 15.9977 6.38672 8.63989 6.38672C5.54889 6.38672 3.00709 9.31577 3.00709 11.8928C2.99479 13.2541 3.28583 14.601 3.85905 15.8357C4.79781 17.8347 6.43784 19.4194 8.46783 20.289C10.4978 21.1586 12.7764 21.2527 14.8712 20.5532C14.1373 20.785 13.3618 20.8547 12.5984 20.7574C11.835 20.6602 11.1018 20.3983 10.4494 19.9899H10.4424Z" fill="url(#paint3_radial_4475_59727)"/>
|
||||
<path d="M13.7305 13.477C13.6671 13.5474 13.4911 13.653 13.4911 13.8713C13.4911 14.0544 13.6108 14.2374 13.8291 14.3853C14.8359 15.0894 16.744 14.9908 16.7511 14.9908C17.5017 14.9903 18.2384 14.7885 18.8845 14.4064C19.5349 14.026 20.0747 13.4821 20.4501 12.8288C20.8256 12.1754 21.0237 11.4353 21.025 10.6817C21.0461 9.10455 20.4617 8.05544 20.2293 7.59073C18.7296 4.67576 15.5119 3 12.0125 3C9.64402 2.99977 7.37066 3.93188 5.68409 5.59473C3.99752 7.25758 3.03331 9.51751 3 11.8857C3.0352 9.31578 5.59109 7.23868 8.6328 7.23868C8.87923 7.23868 10.2874 7.2598 11.59 7.94278C12.5051 8.39753 13.263 9.11611 13.7657 10.0058C14.1952 10.7521 14.2726 11.7027 14.2726 12.0829C14.2726 12.4631 14.0825 13.0193 13.7234 13.484L13.7305 13.477Z" fill="url(#paint4_radial_4475_59727)"/>
|
||||
<path d="M13.7305 13.477C13.6671 13.5474 13.4911 13.653 13.4911 13.8713C13.4911 14.0544 13.6108 14.2374 13.8291 14.3853C14.8359 15.0894 16.744 14.9908 16.7511 14.9908C17.5017 14.9903 18.2384 14.7885 18.8845 14.4064C19.5349 14.026 20.0747 13.4821 20.4501 12.8288C20.8256 12.1754 21.0237 11.4353 21.025 10.6817C21.0461 9.10455 20.4617 8.05544 20.2293 7.59073C18.7296 4.67576 15.5119 3 12.0125 3C9.64402 2.99977 7.37066 3.93188 5.68409 5.59473C3.99752 7.25758 3.03331 9.51751 3 11.8857C3.0352 9.31578 5.59109 7.23868 8.6328 7.23868C8.87923 7.23868 10.2874 7.2598 11.59 7.94278C12.5051 8.39753 13.263 9.11611 13.7657 10.0058C14.1952 10.7521 14.2726 11.7027 14.2726 12.0829C14.2726 12.4631 14.0825 13.0193 13.7234 13.484L13.7305 13.477Z" fill="url(#paint5_radial_4475_59727)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4475_59727" x1="7.13306" y1="15.4626" x2="19.6942" y2="15.4626" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0C59A4"/>
|
||||
<stop offset="1" stop-color="#114A8B"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint1_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(14.0684 15.5573) scale(6.71711 6.38126)">
|
||||
<stop offset="0.7" stop-opacity="0"/>
|
||||
<stop offset="0.9" stop-opacity="0.5"/>
|
||||
<stop offset="1"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="paint2_linear_4475_59727" x1="13.7517" y1="10.0128" x2="5.91502" y2="18.5536" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#1B9DE2"/>
|
||||
<stop offset="0.2" stop-color="#1595DF"/>
|
||||
<stop offset="0.7" stop-color="#0680D7"/>
|
||||
<stop offset="1" stop-color="#0078D4"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint3_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.96782 17.0071) rotate(-81.3844) scale(10.0958 8.1564)">
|
||||
<stop offset="0.8" stop-opacity="0"/>
|
||||
<stop offset="0.9" stop-opacity="0.5"/>
|
||||
<stop offset="1"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint4_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.82291 6.33152) rotate(92.2906) scale(14.2624 30.3759)">
|
||||
<stop stop-color="#35C1F1"/>
|
||||
<stop offset="0.1" stop-color="#34C1ED"/>
|
||||
<stop offset="0.2" stop-color="#2FC2DF"/>
|
||||
<stop offset="0.3" stop-color="#2BC3D2"/>
|
||||
<stop offset="0.7" stop-color="#36C752"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="paint5_radial_4475_59727" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(19.9026 8.44269) rotate(73.7398) scale(6.85089 5.57115)">
|
||||
<stop stop-color="#66EB6E"/>
|
||||
<stop offset="1" stop-color="#66EB6E" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.4 KiB |
@@ -0,0 +1,17 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.2051 2.58969C7.1213 2.58969 3 6.71099 3 11.7948C3 16.7315 6.88651 20.7606 11.7667 20.9892C11.9124 20.9961 12.0582 21 12.2053 21C14.562 21 16.7114 20.1138 18.34 18.6574C17.2609 19.373 15.9994 19.7848 14.6512 19.7848C12.4591 19.7848 10.4958 18.6973 9.17542 16.9823C8.15755 15.7808 7.49829 14.0047 7.45338 12.0115V11.578C7.49826 9.58484 8.15752 7.8084 9.17516 6.60718C10.4958 4.89225 12.459 3.80476 14.651 3.80476C15.9995 3.80476 17.2612 4.2165 18.3404 4.93255C16.7198 3.48281 14.5834 2.59844 12.2398 2.58974C12.2281 2.58974 12.2166 2.58928 12.2049 2.58928L12.2051 2.58969Z" fill="url(#paint0_linear_4475_59675)"/>
|
||||
<path d="M9.17529 6.6077C10.02 5.61045 11.111 5.00909 12.3029 5.00909C14.9828 5.00909 17.1549 8.04738 17.1549 11.7952C17.1549 15.5431 14.9826 18.5814 12.3029 18.5814C11.111 18.5814 10.02 17.9803 9.17552 16.983C10.4959 18.6979 12.459 19.7854 14.6513 19.7854C15.9996 19.7854 17.2611 19.3737 18.3401 18.6581C20.2242 16.9725 21.4106 14.5225 21.4106 11.7953C21.4106 9.06843 20.2244 6.61858 18.3407 4.93317C17.2615 4.21711 15.9997 3.80537 14.6513 3.80537C12.4592 3.80537 10.496 4.89287 9.17555 6.6078" fill="url(#paint1_linear_4475_59675)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4475_59675" x1="10.6704" y1="2.88975" x2="10.6704" y2="20.7324" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF1B2D"/>
|
||||
<stop offset="0.3" stop-color="#FF1B2D"/>
|
||||
<stop offset="0.614" stop-color="#FF1B2D"/>
|
||||
<stop offset="1" stop-color="#A70014"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_4475_59675" x1="15.2928" y1="3.94157" x2="15.2928" y2="19.7224" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#9C0000"/>
|
||||
<stop offset="0.7" stop-color="#FF4B4B"/>
|
||||
<stop offset="1" stop-color="#FF4B4B"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M20.3467 9.03797C19.9351 8.12658 19.1707 7.15823 18.5238 6.81646C19.0531 7.78481 19.3471 8.75316 19.4647 9.49367C18.465 7.0443 16.701 6.01899 15.2897 3.85443C15.2309 3.74051 15.1721 3.62658 15.0545 3.51266C14.9957 3.4557 14.9957 3.39873 14.9369 3.34177C14.8781 3.22785 14.8193 3.11392 14.8193 3C12.82 4.13924 11.9968 6.13291 11.7616 7.38608C11.1147 7.44304 10.5267 7.55696 9.99749 7.84177C9.87988 7.89873 9.82108 8.01266 9.87988 8.12658C9.93869 8.24051 10.0563 8.29747 10.1739 8.24051C10.6443 8.01266 11.1735 7.89873 11.7616 7.84177H11.8204C11.8792 7.84177 11.9968 7.84177 12.0556 7.84177C12.4672 7.84177 12.9376 7.89873 13.3492 8.01266H13.408C13.4668 8.01266 13.5256 8.06962 13.6432 8.06962C13.702 8.06962 13.7608 8.12658 13.8196 8.12658C13.8784 8.12658 13.8784 8.18354 13.9372 8.18354C13.9961 8.18354 14.0549 8.24051 14.1137 8.29747L14.1725 8.35443C14.2313 8.41139 14.2901 8.41139 14.3489 8.46835C14.4077 8.46835 14.4077 8.52532 14.4665 8.52532C15.1133 8.92405 15.6425 9.43671 16.0541 10.1203C15.5837 9.77848 14.7017 9.49367 13.8784 9.60759C17.1126 11.2025 16.2305 16.6139 11.7616 16.3861C11.3499 16.3861 10.9383 16.2722 10.5855 16.1582C10.4679 16.1013 10.4091 16.1013 10.2915 16.0443C10.2327 16.0443 10.1739 15.9873 10.1151 15.9873C8.99785 15.4177 8.11581 14.3924 7.99821 13.1392C7.99821 13.1392 8.40982 11.6582 10.9971 11.6582C11.2911 11.6582 12.0556 10.9177 12.0556 10.6899C12.0556 10.6329 10.4679 10.0063 9.87988 9.43671C9.52707 9.1519 9.40946 8.98101 9.23306 8.86709C9.17425 8.81013 9.05665 8.75316 8.99785 8.6962C8.82144 8.01266 8.76264 7.27215 8.99785 6.53165C8.05701 6.87342 7.29258 7.5 6.76336 8.06962C6.41054 7.61392 6.46934 6.18987 6.46934 5.90506C6.46934 5.90506 6.17533 6.01899 6.17533 6.07595C5.88132 6.24684 5.5285 6.53165 5.29329 6.75949C4.99928 7.0443 4.70527 7.38608 4.47006 7.72785C3.88204 8.52532 3.47042 9.43671 3.23521 10.3481C3.23521 10.3481 3.17641 10.6899 3.1176 11.1456C3.1176 11.2025 3.1176 11.2595 3.0588 11.3734C3.0588 11.5443 3 11.7152 3 11.8861C3 12 3 12.057 3 12.1709V12.2278C3 17.1266 6.99856 21 11.9968 21C16.4658 21 20.1703 17.8671 20.8759 13.7089C20.8759 13.5949 20.8759 13.481 20.9347 13.3671C21.1111 11.943 20.9347 10.3481 20.3467 9.03797Z" fill="#373B4D"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.9915 15.0939C10.3709 14.3974 9.94825 13.5653 9.81334 12.6338C9.54354 13.0498 9.3187 13.502 9.15681 13.9904C8.32941 16.4777 9.76837 19.58 12.2146 20.4845C14.3191 21.1899 16.6844 19.9327 18.2403 18.558C18.4741 18.2414 20.3178 16.6043 19.4005 16.4234C16.6844 17.8253 13.087 17.4274 10.9915 15.0939ZM11.5311 9.83897C12.4664 9.82993 11.5671 9.45006 11.1804 9.16063C10.245 8.64509 9.14782 8.39184 8.08658 8.39184C4.62406 8.42802 2.11936 10.6078 3.29302 14.2166C4.13841 17.7259 7.16924 20.5478 10.7487 21C8.90499 19.8332 7.78979 17.6445 7.78979 15.4647C7.86174 13.1764 9.26474 10.4902 11.5311 9.83897ZM3.72471 8.64509C6.45875 6.6191 10.8116 6.7819 13.1679 9.33248C14.0853 10.3364 14.7148 12.0459 13.8784 13.285C12.3135 14.9853 16.6484 15.2115 17.5748 14.9582C20.9384 14.307 21.8287 10.3726 20.2279 7.65923C18.699 4.58407 15.3084 2.97413 11.9808 3.00126C8.32941 2.93795 5.04676 5.26241 3.72471 8.64509Z" fill="#373B4D"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.039 6.92844C8.0418 8.10292 7.3983 9.84079 7.3533 11.7884V12.2114C7.3992 14.1598 8.0427 15.895 9.0381 17.0713C10.3287 18.7471 12.2475 19.8108 14.3931 19.8108C15.6773 19.8079 16.9318 19.4239 17.9976 18.7075C16.241 20.2863 13.9314 21.1064 11.5725 20.9889C9.26213 20.8795 7.08262 19.8846 5.48637 18.2108C3.89012 16.537 2.99972 14.3128 3 11.9999C3 7.02834 7.0302 3 12 3H12.0333C14.2355 3.00591 16.3587 3.82145 17.9985 5.29136C16.9312 4.57592 15.6762 4.19203 14.3913 4.18798C12.2475 4.18798 10.3287 5.25266 9.0363 6.92844H9.0381H9.039ZM21 11.9999C21.0016 13.2666 20.735 14.5193 20.2177 15.6755C19.7003 16.8318 18.944 17.8654 17.9985 18.7084C15.69 19.8333 13.539 19.0467 12.8262 18.5554C15.0942 18.0568 16.8069 15.3154 16.8069 11.9999C16.8069 8.68341 15.0942 5.94295 12.8262 5.44526C13.5381 4.95477 15.69 4.16728 17.9985 5.29136C18.9441 6.13424 19.7005 7.16784 20.2178 8.32411C20.7352 9.48039 21.0017 10.7331 21 11.9999Z" fill="#373B4D"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
@@ -13,7 +13,7 @@ test('shows CopyInput component', () => {
|
||||
expect(input).toBeInTheDocument();
|
||||
expect(button).toBeInTheDocument();
|
||||
expect(input).toHaveAttribute('type', 'text');
|
||||
expect(input).toBeDisabled();
|
||||
expect(input).toHaveAttribute('readonly');
|
||||
});
|
||||
|
||||
test('copy to clipboard function called on click', async () => {
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
import '@testing-library/jest-dom';
|
||||
import { render, fireEvent } from '@testing-library/svelte';
|
||||
import { SwitchBox } from '../../../src/lib/components';
|
||||
|
||||
const box = {
|
||||
id: 'input',
|
||||
src: 'https://via.placeholder.com/50',
|
||||
label: 'Bool',
|
||||
alt: 'image',
|
||||
required: false,
|
||||
disabled: false,
|
||||
value: false
|
||||
};
|
||||
|
||||
test('shows boolean input', () => {
|
||||
const { getByText, getByRole, getByAltText } = render(SwitchBox, {
|
||||
box
|
||||
});
|
||||
const checkbox = getByRole('switch');
|
||||
const img = getByAltText('image');
|
||||
|
||||
expect(getByText('Bool')).toBeInTheDocument();
|
||||
expect(img).toBeInTheDocument();
|
||||
expect(checkbox).toBeInTheDocument();
|
||||
expect(checkbox).toHaveAttribute('type', 'checkbox');
|
||||
});
|
||||
|
||||
test('shows boolean input - required', () => {
|
||||
box.required = true;
|
||||
const { getByRole } = render(SwitchBox, { box });
|
||||
|
||||
expect(getByRole('switch')).toBeRequired();
|
||||
});
|
||||
|
||||
test('shows boolean input - disabled', () => {
|
||||
box.disabled = true;
|
||||
const { getByRole } = render(SwitchBox, { box });
|
||||
|
||||
expect(getByRole('switch')).toBeDisabled();
|
||||
});
|
||||
|
||||
test('state', async () => {
|
||||
const { getByRole, component } = render(SwitchBox, { box });
|
||||
const checkbox = getByRole('switch');
|
||||
|
||||
setTimeout(() => {
|
||||
expect(checkbox).not.toBeChecked();
|
||||
expect(component.box.value).toStrictEqual(false);
|
||||
}, 1);
|
||||
|
||||
await fireEvent.click(checkbox);
|
||||
setTimeout(() => {
|
||||
expect(checkbox).toBeChecked();
|
||||
expect(component.box.value).toStrictEqual(true);
|
||||
}, 1);
|
||||
|
||||
await fireEvent.click(checkbox);
|
||||
setTimeout(() => {
|
||||
expect(checkbox).not.toBeChecked();
|
||||
expect(component.box.value).toStrictEqual(false);
|
||||
}, 1);
|
||||
|
||||
component.box.value = true;
|
||||
setTimeout(() => {
|
||||
expect(checkbox).toBeChecked();
|
||||
expect(component.box.value).toStrictEqual(true);
|
||||
}, 1);
|
||||
|
||||
component.box.value = false;
|
||||
setTimeout(() => {
|
||||
expect(checkbox).not.toBeChecked();
|
||||
expect(component.box.value).toStrictEqual(false);
|
||||
}, 1);
|
||||
});
|
||||