mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge branch 'users' of github.com:appwrite/appwrite-console-poc into storage
This commit is contained in:
Generated
+14
-14
@@ -8,8 +8,8 @@
|
||||
"name": "@appwrite/console",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"@aw-labs/icons": "^0.0.0-18",
|
||||
"@aw-labs/ui": "^0.0.0-18",
|
||||
"@aw-labs/icons": "^0.0.0-19",
|
||||
"@aw-labs/ui": "^0.0.0-19",
|
||||
"echarts": "^5.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -58,14 +58,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@aw-labs/icons": {
|
||||
"version": "0.0.0-18",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-18.tgz",
|
||||
"integrity": "sha512-ntYgMLihYcSMkpS5NrGokOpr8uP3ELQRktKCZRg0nDqRqPs2U7Z+6c2N895S/lU6P4D4G5TDCagb1d84T2Qt7Q=="
|
||||
"version": "0.0.0-19",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-19.tgz",
|
||||
"integrity": "sha512-VYgWrySm9EHv060p8VPsq0y+OqnxbTHhDk+/PmtElLNFUOZdgQbzm+7qRWGZXSwzMG60kKpdlLgixeY9r73htQ=="
|
||||
},
|
||||
"node_modules/@aw-labs/ui": {
|
||||
"version": "0.0.0-18",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-18.tgz",
|
||||
"integrity": "sha512-T0eYjtZGJuHXUl8ocJ0+07hNbF6+9iMR9e7ObqIoyLkfk+hvY3cUJIWfH1otYArjPLICkaiuWQ+y/pb/eKUL1w==",
|
||||
"version": "0.0.0-19",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-19.tgz",
|
||||
"integrity": "sha512-wN57fsBtxYSNaeOOhfeNysxOY+EARyk6qahuOpj+ImmpXvzYNVJmrwopXngl2io6DIcPxHKF7LZJNT3tg7OUhw==",
|
||||
"dependencies": {
|
||||
"@aw-labs/icons": "*"
|
||||
}
|
||||
@@ -7807,14 +7807,14 @@
|
||||
}
|
||||
},
|
||||
"@aw-labs/icons": {
|
||||
"version": "0.0.0-18",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-18.tgz",
|
||||
"integrity": "sha512-ntYgMLihYcSMkpS5NrGokOpr8uP3ELQRktKCZRg0nDqRqPs2U7Z+6c2N895S/lU6P4D4G5TDCagb1d84T2Qt7Q=="
|
||||
"version": "0.0.0-19",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/icons/-/icons-0.0.0-19.tgz",
|
||||
"integrity": "sha512-VYgWrySm9EHv060p8VPsq0y+OqnxbTHhDk+/PmtElLNFUOZdgQbzm+7qRWGZXSwzMG60kKpdlLgixeY9r73htQ=="
|
||||
},
|
||||
"@aw-labs/ui": {
|
||||
"version": "0.0.0-18",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-18.tgz",
|
||||
"integrity": "sha512-T0eYjtZGJuHXUl8ocJ0+07hNbF6+9iMR9e7ObqIoyLkfk+hvY3cUJIWfH1otYArjPLICkaiuWQ+y/pb/eKUL1w==",
|
||||
"version": "0.0.0-19",
|
||||
"resolved": "https://registry.npmjs.org/@aw-labs/ui/-/ui-0.0.0-19.tgz",
|
||||
"integrity": "sha512-wN57fsBtxYSNaeOOhfeNysxOY+EARyk6qahuOpj+ImmpXvzYNVJmrwopXngl2io6DIcPxHKF7LZJNT3tg7OUhw==",
|
||||
"requires": {
|
||||
"@aw-labs/icons": "*"
|
||||
}
|
||||
|
||||
+2
-2
@@ -19,8 +19,8 @@
|
||||
"e2e": "playwright test tests/e2e"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aw-labs/icons": "^0.0.0-18",
|
||||
"@aw-labs/ui": "^0.0.0-18",
|
||||
"@aw-labs/icons": "^0.0.0-19",
|
||||
"@aw-labs/ui": "^0.0.0-19",
|
||||
"echarts": "^5.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { navigating, page } from '$app/stores';
|
||||
import { Back } from '$lib/components';
|
||||
import { tabs, title, backButton, copyData } from '$lib/stores/layout';
|
||||
import { fade } from 'svelte/transition';
|
||||
import { Cover } from '.';
|
||||
@@ -89,16 +88,20 @@
|
||||
<Cover>
|
||||
<svelte:fragment slot="title">
|
||||
{#if $backButton}
|
||||
<Back href={$backButton} />
|
||||
{$title}
|
||||
<a class="back-button" href={$backButton} aria-label="page back">
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
</a>
|
||||
<span class="text"> {$title}</span>
|
||||
{:else}
|
||||
{$title}
|
||||
<span class="text"> {$title}</span>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
{#if $copyData?.value}
|
||||
<Pill button on:click={() => copy($copyData.value)}
|
||||
><i class="icon-duplicate" />{$copyData.text}
|
||||
</Pill>
|
||||
<div class="top-cover-option">
|
||||
<Pill button on:click={() => copy($copyData.value)}
|
||||
><i class="icon-duplicate" />{$copyData.text}
|
||||
</Pill>
|
||||
</div>
|
||||
{/if}
|
||||
{#if $tabs.length}
|
||||
<div class="tabs">
|
||||
|
||||
@@ -292,8 +292,28 @@
|
||||
{#if prefs}
|
||||
{#each prefs as [key, value]}
|
||||
<li class="form-item is-multiple">
|
||||
<InputText id={`key-${key}`} label="Key" bind:value={key} />
|
||||
<InputText id={`value-${value}`} label="Value" bind:value />
|
||||
<div class="form-item-part u-stretch">
|
||||
<label class="label" for={`value-${key}`}>Key</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
id={`value-${key}`}
|
||||
placeholder=""
|
||||
type="text"
|
||||
class="input-text"
|
||||
bind:value={key} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item-part u-stretch">
|
||||
<label class="label" for={`value-${value}`}>Value</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
id={`value-${value}`}
|
||||
placeholder=""
|
||||
type="text"
|
||||
class="input-text"
|
||||
bind:value />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item-part u-cross-child-end">
|
||||
<Button text on:click={() => deletePref(key)}>
|
||||
<span class="icon-x" aria-hidden="true" />
|
||||
@@ -303,16 +323,28 @@
|
||||
{/each}
|
||||
{#if prefs.length === 0 || newPref}
|
||||
<li class="form-item is-multiple">
|
||||
<InputText
|
||||
id="key"
|
||||
label="Key"
|
||||
placeholder="Enter Key"
|
||||
bind:value={newKey} />
|
||||
<InputText
|
||||
id="value"
|
||||
label="Value"
|
||||
placeholder="Enter Value"
|
||||
bind:value={newValue} />
|
||||
<div class="form-item-part u-stretch">
|
||||
<label class="label" for={`value-${newKey}`}>Key</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
id={`value-${newKey}`}
|
||||
placeholder="Enter Key"
|
||||
type="text"
|
||||
class="input-text"
|
||||
bind:value={newKey} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item-part u-stretch">
|
||||
<label class="label" for={`value-${newValue}`}>Value</label>
|
||||
<div class="input-text-wrapper">
|
||||
<input
|
||||
id={`value-${newValue}`}
|
||||
placeholder="Enter Value"
|
||||
type="text"
|
||||
class="input-text"
|
||||
bind:value={newValue} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item-part u-cross-child-end">
|
||||
<Button
|
||||
text
|
||||
|
||||
Reference in New Issue
Block a user