ran: formatter.

This commit is contained in:
Darshan
2025-03-19 14:46:28 +05:30
parent 30fc12c458
commit 3effd7be3e
24 changed files with 46 additions and 76 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
</script>
<Form isModal {onSubmit} bind:this={formComponent}>
<Modal {size} {title} bind:open={show} {hideFooter} {dismissible} >
<Modal {size} {title} bind:open={show} {hideFooter} {dismissible}>
<slot slot="description" name="description" />
{#if error}
<div bind:this={alert}>
@@ -317,4 +317,4 @@
margin-inline-start: 0.5rem;
padding-inline: 1rem !important;
}
</style>
</style>
@@ -113,14 +113,14 @@
bind:id
bind:region>
<svelte:fragment slot="submit"
><Layout.Stack direction="row" justifyContent="flex-end"
><Button.Button
type="button"
variant="primary"
size="s"
on:click={createProject}>
Create</Button.Button>
</Layout.Stack></svelte:fragment>
><Layout.Stack direction="row" justifyContent="flex-end"
><Button.Button
type="button"
variant="primary"
size="s"
on:click={createProject}>
Create</Button.Button>
</Layout.Stack></svelte:fragment>
</CreateProject>
</Card.Base>
{/if}
@@ -67,10 +67,9 @@
bind:projectName={$createProject.name}
bind:region={$createProject.region}
{regions}>
<svelte:fragment slot="footer"
><Button.Button type="button" variant="primary" size="s" on:click={create}>
Create</Button.Button
></svelte:fragment>
</CreateProject>
<svelte:fragment slot="footer"
><Button.Button type="button" variant="primary" size="s" on:click={create}>
Create</Button.Button
></svelte:fragment>
</CreateProject>
</Modal>
@@ -7,11 +7,7 @@
import { toLocaleDateTime } from '$lib/helpers/date';
import Container from '$lib/layout/container.svelte';
import { protocol } from '$routes/(console)/store.js';
import {
IconDotsHorizontal,
IconPlus,
IconTrash
} from '@appwrite.io/pink-icons-svelte';
import { IconDotsHorizontal, IconPlus, IconTrash } from '@appwrite.io/pink-icons-svelte';
import {
ActionMenu,
Card,
@@ -10,6 +10,6 @@
</script>
<Container>
<ChangeOrganization domain={data.domain} organizations={organizations} />
<ChangeOrganization domain={data.domain} {organizations} />
<DeleteDomain domain={data.domain} />
</Container>
@@ -1,10 +1,6 @@
<script lang="ts">
import { Button } from '$lib/elements/forms';
import {
PaginationWithLimit,
ViewSelector,
EmptyFilter,
} from '$lib/components';
import { PaginationWithLimit, ViewSelector, EmptyFilter } from '$lib/components';
import { Container } from '$lib/layout';
import type { PageData } from './$types';
import Table from './table.svelte';
@@ -9,9 +9,4 @@
export let attribute: Models.AttributeUrl;
</script>
<InputEmail
{id}
{label}
placeholder="Enter URL"
required={attribute.required}
bind:value />
<InputEmail {id} {label} placeholder="Enter URL" required={attribute.required} bind:value />
@@ -215,7 +215,8 @@
<div class="u-text-center">
No targets have been selected.
<p>
Need a hand? Check out our <Button href="https://appwrite.io/docs/products/messaging/targets">
Need a hand? Check out our <Button
href="https://appwrite.io/docs/products/messaging/targets">
documentation</Button
>.
</p>
@@ -137,7 +137,8 @@
<div class="u-text-center">
No topics have been selected.
<p>
Need a hand? Check out our <Button href="https://appwrite.io/docs/products/messaging/topics">
Need a hand? Check out our <Button
href="https://appwrite.io/docs/products/messaging/topics">
documentation</Button
>.
</p>
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="apple" type="color" />
<SvgIcon name="apple" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="firebase" type="color" />
<SvgIcon name="firebase" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="mailgun" type="color" />
<SvgIcon name="mailgun" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="msg91" type="color" />
<SvgIcon name="msg91" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="sendgrid" type="color" />
<SvgIcon name="sendgrid" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="telesign" type="color" />
<SvgIcon name="telesign" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="textmagic" type="color" />
<SvgIcon name="textmagic" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="twilio" type="color" />
<SvgIcon name="twilio" type="color" />
@@ -1,5 +1,5 @@
<script lang="ts">
import { SvgIcon } from '$lib/components';
import { SvgIcon } from '$lib/components';
</script>
<SvgIcon name="vonage" type="color" />
<SvgIcon name="vonage" type="color" />
@@ -163,8 +163,7 @@
name="provider"
{value}
bind:group={$provider}
icon={option.classIcon ?? option.imageIcon}
>
icon={option.classIcon ?? option.imageIcon}>
<svelte:fragment slot="title">{option.title}</svelte:fragment>
{#if option.description}
{option.description}
@@ -108,11 +108,7 @@
placeholder="Search by subscriber ID, target ID, user ID, or type">
<div class="u-flex u-gap-16 is-not-mobile">
<Filters query={data.query} {columns} analyticsSource="messaging_topics" />
<ViewSelector
view={View.Table}
{columns}
hideView
allowNoColumns />
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
<Button on:click={() => (showAdd = true)} event="create_subscriber">
<Icon icon={IconPlus} slot="start" size="s" />
Add subscriber
@@ -122,11 +118,7 @@
<div class="u-flex u-gap-16 is-only-mobile u-margin-block-start-16">
<div class="u-flex-basis-50-percent">
<!-- TODO: fix width -->
<ViewSelector
view={View.Table}
{columns}
hideView
allowNoColumns />
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
</div>
<div class="u-flex-basis-50-percent">
<!-- TODO: fix width -->
@@ -6,10 +6,7 @@
export let handleDisableAll;
</script>
<Modal
title="Disable all services"
bind:show
onSubmit={handleDisableAll}>
<Modal title="Disable all services" bind:show onSubmit={handleDisableAll}>
<p class="text" data-private>
Are you sure you want to disable all services? This will disable API requests to this
project for all Client SDKs.
@@ -4,12 +4,7 @@
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
import { CardGrid } from '$lib/components';
import { Dependencies } from '$lib/constants';
import {
Button,
Form,
InputPassword,
InputText
} from '$lib/elements/forms';
import { Button, Form, InputPassword, InputText } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdk } from '$lib/stores/sdk';
import { onMount } from 'svelte';
@@ -23,7 +23,6 @@
export let data;
onMount(() => {
if ($deployment.status === 'ready') {
return;