negodesign 0.0.44 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/core/panel/NotFoundEmpty.svelte +4 -1
- package/dist/components/pages/product-details/01/ProductDetails01.svelte +14 -3
- package/dist/components/pages/product-details/01/ProductDetails01.svelte.d.ts +2 -2
- package/dist/components/pages/product-details/02/ProductDetails02.svelte +5 -2
- package/dist/components/pages/product-details/02/ProductDetails02.svelte.d.ts +2 -2
- package/dist/components/pages/product-details/03/ProductDetails03.svelte +14 -3
- package/dist/components/pages/product-details/03/ProductDetails03.svelte.d.ts +2 -2
- package/dist/components/pages/product-details/shared/ProductPromotionDetails.svelte +6 -3
- package/dist/components/pages/product-details/shared/ProductPromotionDetails.svelte.d.ts +2 -2
- package/dist/components/pages/product-details/shared/ProductPurchasePanel.svelte +4 -1
- package/dist/components/pages/product-details/shared/ProductPurchasePanel.svelte.d.ts +1 -1
- package/dist/components/pages/product-details/types.d.ts +2 -2
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +1 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +1 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +1 -1
- package/dist/components/ui/command/command.svelte.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte.d.ts +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +1 -1
- package/dist/components/ui/input-group/input-group-input.svelte.d.ts +2 -2
- package/dist/components/ui/input-group/input-group-textarea.svelte.d.ts +1 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/sidebar-input.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs.svelte.d.ts +1 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +1 -1
- package/dist/components/ui/underline-tabs/underline-tabs.svelte.d.ts +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/types/index.d.ts +4 -3
- package/package.json +1 -1
|
@@ -66,7 +66,10 @@
|
|
|
66
66
|
{:else}
|
|
67
67
|
<Empty.Description class="text-xs">
|
|
68
68
|
{$t("empty.support")}
|
|
69
|
-
<a
|
|
69
|
+
<a
|
|
70
|
+
href={actionHref}
|
|
71
|
+
class="text-primary hover:underline font-medium ml-1"
|
|
72
|
+
>
|
|
70
73
|
{actionLabel ?? $t("empty.contact_support")}
|
|
71
74
|
</a>
|
|
72
75
|
</Empty.Description>
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
import ProductDetailReviews from "../shared/ProductDetailReviews.svelte";
|
|
21
21
|
import ProductDetailTags from "../shared/ProductDetailTags.svelte";
|
|
22
22
|
import ProductPurchasePanel from "../shared/ProductPurchasePanel.svelte";
|
|
23
|
-
import type {
|
|
23
|
+
import type {
|
|
24
|
+
ProductDetailsData,
|
|
25
|
+
ProductPromotionDetailsProps,
|
|
26
|
+
} from "../types";
|
|
24
27
|
|
|
25
28
|
let {
|
|
26
29
|
data,
|
|
@@ -33,7 +36,7 @@
|
|
|
33
36
|
}: {
|
|
34
37
|
data: ProductDetailsData;
|
|
35
38
|
isLoading?: boolean;
|
|
36
|
-
promotions?:
|
|
39
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
37
40
|
showPriceWithPromotions?: boolean;
|
|
38
41
|
onBuy?: (id: string | number) => void;
|
|
39
42
|
onFavorite?: (id: string | number) => void;
|
|
@@ -68,7 +71,15 @@
|
|
|
68
71
|
<ProductDetailFeatures features={data.features} {isLoading} />
|
|
69
72
|
{/if}
|
|
70
73
|
|
|
71
|
-
<ProductPurchasePanel
|
|
74
|
+
<ProductPurchasePanel
|
|
75
|
+
{data}
|
|
76
|
+
{isLoading}
|
|
77
|
+
{promotions}
|
|
78
|
+
{showPriceWithPromotions}
|
|
79
|
+
{onBuy}
|
|
80
|
+
{onFavorite}
|
|
81
|
+
{onCart}
|
|
82
|
+
/>
|
|
72
83
|
</div>
|
|
73
84
|
</div>
|
|
74
85
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ProductDetailsData,
|
|
1
|
+
import type { ProductDetailsData, ProductPromotionDetailsProps } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
3
|
data: ProductDetailsData;
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
-
promotions?:
|
|
5
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
6
6
|
showPriceWithPromotions?: boolean;
|
|
7
7
|
onBuy?: (id: string | number) => void;
|
|
8
8
|
onFavorite?: (id: string | number) => void;
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
import ProductDetailReviews from "../shared/ProductDetailReviews.svelte";
|
|
21
21
|
import ProductDetailTags from "../shared/ProductDetailTags.svelte";
|
|
22
22
|
import ProductPurchasePanel from "../shared/ProductPurchasePanel.svelte";
|
|
23
|
-
import type {
|
|
23
|
+
import type {
|
|
24
|
+
ProductDetailsData,
|
|
25
|
+
ProductPromotionDetailsProps,
|
|
26
|
+
} from "../types";
|
|
24
27
|
|
|
25
28
|
let {
|
|
26
29
|
data,
|
|
@@ -33,7 +36,7 @@
|
|
|
33
36
|
}: {
|
|
34
37
|
data: ProductDetailsData;
|
|
35
38
|
isLoading?: boolean;
|
|
36
|
-
promotions?:
|
|
39
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
37
40
|
showPriceWithPromotions?: boolean;
|
|
38
41
|
onBuy?: (id: string | number) => void;
|
|
39
42
|
onFavorite?: (id: string | number) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ProductDetailsData,
|
|
1
|
+
import type { ProductDetailsData, ProductPromotionDetailsProps } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
3
|
data: ProductDetailsData;
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
-
promotions?:
|
|
5
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
6
6
|
showPriceWithPromotions?: boolean;
|
|
7
7
|
onBuy?: (id: string | number) => void;
|
|
8
8
|
onFavorite?: (id: string | number) => void;
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
import ProductDetailTags from "../shared/ProductDetailTags.svelte";
|
|
20
20
|
import ProductDetailTabs from "../shared/ProductDetailTabs.svelte";
|
|
21
21
|
import ProductPurchasePanel from "../shared/ProductPurchasePanel.svelte";
|
|
22
|
-
import type {
|
|
22
|
+
import type {
|
|
23
|
+
ProductDetailsData,
|
|
24
|
+
ProductPromotionDetailsProps,
|
|
25
|
+
} from "../types";
|
|
23
26
|
import { useDevice } from "../../../../hooks/responsive.svelte";
|
|
24
27
|
|
|
25
28
|
let {
|
|
@@ -33,7 +36,7 @@
|
|
|
33
36
|
}: {
|
|
34
37
|
data: ProductDetailsData;
|
|
35
38
|
isLoading?: boolean;
|
|
36
|
-
promotions?:
|
|
39
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
37
40
|
showPriceWithPromotions?: boolean;
|
|
38
41
|
onBuy?: (id: string | number) => void;
|
|
39
42
|
onFavorite?: (id: string | number) => void;
|
|
@@ -59,7 +62,15 @@
|
|
|
59
62
|
|
|
60
63
|
<ProductDetailTags tags={data.tags} {isLoading} />
|
|
61
64
|
|
|
62
|
-
<ProductPurchasePanel
|
|
65
|
+
<ProductPurchasePanel
|
|
66
|
+
{data}
|
|
67
|
+
{isLoading}
|
|
68
|
+
{promotions}
|
|
69
|
+
{showPriceWithPromotions}
|
|
70
|
+
{onBuy}
|
|
71
|
+
{onFavorite}
|
|
72
|
+
{onCart}
|
|
73
|
+
/>
|
|
63
74
|
|
|
64
75
|
{#if !responsive.isMobile}
|
|
65
76
|
{#if data.location}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ProductDetailsData,
|
|
1
|
+
import type { ProductDetailsData, ProductPromotionDetailsProps } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
3
|
data: ProductDetailsData;
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
-
promotions?:
|
|
5
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
6
6
|
showPriceWithPromotions?: boolean;
|
|
7
7
|
onBuy?: (id: string | number) => void;
|
|
8
8
|
onFavorite?: (id: string | number) => void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import CardPromotionPrice from "../../../core/card/promotion/CardPromotionPrice.svelte";
|
|
3
3
|
import Skeleton from "../../../ui/skeleton/skeleton.svelte";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ProductPromotionDetailsProps } from "../types";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
promotions = [],
|
|
8
8
|
isLoading = false,
|
|
9
9
|
}: {
|
|
10
|
-
promotions?:
|
|
10
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
11
11
|
isLoading?: boolean;
|
|
12
12
|
} = $props();
|
|
13
13
|
</script>
|
|
@@ -22,7 +22,10 @@
|
|
|
22
22
|
<span class="text-sm font-medium text-muted-foreground">Promoções</span>
|
|
23
23
|
{#each promotions as promo (promo.id)}
|
|
24
24
|
<div class="flex items-center gap-2">
|
|
25
|
-
<CardPromotionPrice
|
|
25
|
+
<CardPromotionPrice
|
|
26
|
+
newPrice={promo.newPrice}
|
|
27
|
+
oldPrice={promo.oldPrice}
|
|
28
|
+
/>
|
|
26
29
|
</div>
|
|
27
30
|
{/each}
|
|
28
31
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProductPromotionDetailsProps } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
|
-
promotions?:
|
|
3
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
4
4
|
isLoading?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const ProductPromotionDetails: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
import ProductDetailPrice from "./ProductDetailPrice.svelte";
|
|
16
16
|
import ProductDetailRating from "./ProductDetailRating.svelte";
|
|
17
17
|
import ProductPromotionDetails from "./ProductPromotionDetails.svelte";
|
|
18
|
-
import type {
|
|
18
|
+
import type {
|
|
19
|
+
ProductDetailsData,
|
|
20
|
+
ProductPromotionDetailsProps as ProductPromotionDetailsType,
|
|
21
|
+
} from "../types";
|
|
19
22
|
|
|
20
23
|
let {
|
|
21
24
|
data,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProductDetailsData,
|
|
1
|
+
import type { ProductDetailsData, ProductPromotionDetailsProps as ProductPromotionDetailsType } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
3
|
data: ProductDetailsData;
|
|
4
4
|
isLoading?: boolean;
|
|
@@ -141,7 +141,7 @@ export interface ProductDetailsData {
|
|
|
141
141
|
* Propriedades do componente principal ProductDetails.
|
|
142
142
|
* Suporta quatro variantes de layout e callbacks de interação.
|
|
143
143
|
*/
|
|
144
|
-
export interface
|
|
144
|
+
export interface ProductPromotionDetailsProps {
|
|
145
145
|
id: string | number;
|
|
146
146
|
newPrice: string | number;
|
|
147
147
|
oldPrice: string | number;
|
|
@@ -168,7 +168,7 @@ export interface ProductDetailsProps {
|
|
|
168
168
|
* Lista de promoções associadas ao produto.
|
|
169
169
|
* Cada promoção contém um preço antigo e novo.
|
|
170
170
|
*/
|
|
171
|
-
promotions?:
|
|
171
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
172
172
|
/**
|
|
173
173
|
* Quando true, oculta o preço regular do produto
|
|
174
174
|
* e apresenta apenas os preços das promoções.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Checkbox as CheckboxPrimitive } from "bits-ui";
|
|
2
|
-
declare const Checkbox: import("svelte").Component<Omit<Omit<CheckboxPrimitive.RootProps, "child">, "children">, {}, "
|
|
2
|
+
declare const Checkbox: import("svelte").Component<Omit<Omit<CheckboxPrimitive.RootProps, "child">, "children">, {}, "ref" | "checked" | "indeterminate">;
|
|
3
3
|
type Checkbox = ReturnType<typeof Checkbox>;
|
|
4
4
|
export default Checkbox;
|
|
@@ -9,6 +9,6 @@ type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.RootProps> & With
|
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
class?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "
|
|
12
|
+
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "ref" | "value" | "open">;
|
|
13
13
|
type CommandDialog = ReturnType<typeof CommandDialog>;
|
|
14
14
|
export default CommandDialog;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Command as CommandPrimitive } from 'bits-ui';
|
|
2
|
-
declare const CommandInput: import("svelte").Component<CommandPrimitive.InputProps, {}, "
|
|
2
|
+
declare const CommandInput: import("svelte").Component<CommandPrimitive.InputProps, {}, "ref" | "value">;
|
|
3
3
|
type CommandInput = ReturnType<typeof CommandInput>;
|
|
4
4
|
export default CommandInput;
|
|
@@ -3,6 +3,6 @@ export type CommandRootApi = CommandPrimitive.Root;
|
|
|
3
3
|
type $$ComponentProps = CommandPrimitive.RootProps & {
|
|
4
4
|
api?: CommandRootApi | null;
|
|
5
5
|
};
|
|
6
|
-
declare const Command: import("svelte").Component<$$ComponentProps, {}, "
|
|
6
|
+
declare const Command: import("svelte").Component<$$ComponentProps, {}, "ref" | "value" | "api">;
|
|
7
7
|
type Command = ReturnType<typeof Command>;
|
|
8
8
|
export default Command;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
2
|
-
declare const DropdownMenuCheckboxGroup: import("svelte").Component<DropdownMenuPrimitive.CheckboxGroupProps, {}, "
|
|
2
|
+
declare const DropdownMenuCheckboxGroup: import("svelte").Component<DropdownMenuPrimitive.CheckboxGroupProps, {}, "ref" | "value">;
|
|
3
3
|
type DropdownMenuCheckboxGroup = ReturnType<typeof DropdownMenuCheckboxGroup>;
|
|
4
4
|
export default DropdownMenuCheckboxGroup;
|
|
@@ -4,6 +4,6 @@ import type { Snippet } from "svelte";
|
|
|
4
4
|
type $$ComponentProps = WithoutChildrenOrChild<DropdownMenuPrimitive.CheckboxItemProps> & {
|
|
5
5
|
children?: Snippet;
|
|
6
6
|
};
|
|
7
|
-
declare const DropdownMenuCheckboxItem: import("svelte").Component<$$ComponentProps, {}, "
|
|
7
|
+
declare const DropdownMenuCheckboxItem: import("svelte").Component<$$ComponentProps, {}, "ref" | "checked" | "indeterminate">;
|
|
8
8
|
type DropdownMenuCheckboxItem = ReturnType<typeof DropdownMenuCheckboxItem>;
|
|
9
9
|
export default DropdownMenuCheckboxItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
2
|
-
declare const DropdownMenuRadioGroup: import("svelte").Component<DropdownMenuPrimitive.RadioGroupProps, {}, "
|
|
2
|
+
declare const DropdownMenuRadioGroup: import("svelte").Component<DropdownMenuPrimitive.RadioGroupProps, {}, "ref" | "value">;
|
|
3
3
|
type DropdownMenuRadioGroup = ReturnType<typeof DropdownMenuRadioGroup>;
|
|
4
4
|
export default DropdownMenuRadioGroup;
|
|
@@ -8,6 +8,6 @@ type Props = WithElementRef<Omit<HTMLInputAttributes, 'type'> & ({
|
|
|
8
8
|
type?: InputType;
|
|
9
9
|
files?: undefined;
|
|
10
10
|
})>;
|
|
11
|
-
declare const Input: import("svelte").Component<Props, {}, "
|
|
11
|
+
declare const Input: import("svelte").Component<Props, {}, "ref" | "files" | "value">;
|
|
12
12
|
type Input = ReturnType<typeof Input>;
|
|
13
13
|
export default Input;
|
|
@@ -2,10 +2,10 @@ declare const InputGroupInput: import("svelte").Component<(Omit<import("svelte/e
|
|
|
2
2
|
type: "file";
|
|
3
3
|
files?: FileList;
|
|
4
4
|
} | {
|
|
5
|
-
type?: "number" | "
|
|
5
|
+
type?: "number" | "hidden" | "color" | "search" | "button" | "checkbox" | "radio" | (string & {}) | "text" | "tel" | "url" | "email" | "date" | "datetime-local" | "image" | "month" | "password" | "range" | "reset" | "submit" | "time" | "week";
|
|
6
6
|
files?: undefined;
|
|
7
7
|
})) & {
|
|
8
8
|
ref?: HTMLElement | null | undefined;
|
|
9
|
-
}, {}, "
|
|
9
|
+
}, {}, "ref" | "value">;
|
|
10
10
|
type InputGroupInput = ReturnType<typeof InputGroupInput>;
|
|
11
11
|
export default InputGroupInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const InputGroupTextarea: import("svelte").Component<Omit<import("../../../utils.js").WithElementRef<import("svelte/elements").HTMLTextareaAttributes>, "children">, {}, "
|
|
1
|
+
declare const InputGroupTextarea: import("svelte").Component<Omit<import("../../../utils.js").WithElementRef<import("svelte/elements").HTMLTextareaAttributes>, "children">, {}, "ref" | "value">;
|
|
2
2
|
type InputGroupTextarea = ReturnType<typeof InputGroupTextarea>;
|
|
3
3
|
export default InputGroupTextarea;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
2
|
-
declare const InputOtp: import("svelte").Component<InputOTPPrimitive.RootProps, {}, "
|
|
2
|
+
declare const InputOtp: import("svelte").Component<InputOTPPrimitive.RootProps, {}, "ref" | "value">;
|
|
3
3
|
type InputOtp = ReturnType<typeof InputOtp>;
|
|
4
4
|
export default InputOtp;
|
|
@@ -2,10 +2,10 @@ declare const SidebarInput: import("svelte").Component<(Omit<import("svelte/elem
|
|
|
2
2
|
type: "file";
|
|
3
3
|
files?: FileList;
|
|
4
4
|
} | {
|
|
5
|
-
type?: "number" | "
|
|
5
|
+
type?: "number" | "hidden" | "color" | "search" | "button" | "checkbox" | "radio" | (string & {}) | "text" | "tel" | "url" | "email" | "date" | "datetime-local" | "image" | "month" | "password" | "range" | "reset" | "submit" | "time" | "week";
|
|
6
6
|
files?: undefined;
|
|
7
7
|
})) & {
|
|
8
8
|
ref?: HTMLElement | null | undefined;
|
|
9
|
-
}, {}, "
|
|
9
|
+
}, {}, "ref" | "value">;
|
|
10
10
|
type SidebarInput = ReturnType<typeof SidebarInput>;
|
|
11
11
|
export default SidebarInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Tabs as TabsPrimitive } from "bits-ui";
|
|
2
|
-
declare const Tabs: import("svelte").Component<TabsPrimitive.RootProps, {}, "
|
|
2
|
+
declare const Tabs: import("svelte").Component<TabsPrimitive.RootProps, {}, "ref" | "value">;
|
|
3
3
|
type Tabs = ReturnType<typeof Tabs>;
|
|
4
4
|
export default Tabs;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WithElementRef } from '../../../utils.js';
|
|
2
2
|
import type { HTMLTextareaAttributes } from 'svelte/elements';
|
|
3
|
-
declare const Textarea: import("svelte").Component<Omit<WithElementRef<HTMLTextareaAttributes>, "children">, {}, "
|
|
3
|
+
declare const Textarea: import("svelte").Component<Omit<WithElementRef<HTMLTextareaAttributes>, "children">, {}, "ref" | "value">;
|
|
4
4
|
type Textarea = ReturnType<typeof Textarea>;
|
|
5
5
|
export default Textarea;
|
|
@@ -2,6 +2,6 @@ import { Tabs as TabsPrimitive } from 'bits-ui';
|
|
|
2
2
|
type $$ComponentProps = Omit<TabsPrimitive.RootProps, 'orientation' | 'id'> & {
|
|
3
3
|
id?: string;
|
|
4
4
|
};
|
|
5
|
-
declare const UnderlineTabs: import("svelte").Component<$$ComponentProps, {}, "
|
|
5
|
+
declare const UnderlineTabs: import("svelte").Component<$$ComponentProps, {}, "ref" | "value">;
|
|
6
6
|
type UnderlineTabs = ReturnType<typeof UnderlineTabs>;
|
|
7
7
|
export default UnderlineTabs;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import NotFoundEmpty from "./components/core/panel/NotFoundEmpty.svelte";
|
|
1
2
|
import InputPasswordConfirm from "./components/core/form/ui/input-password-confirm.svelte";
|
|
2
3
|
import InputEmailOrPhone from "./components/core/form/ui/input-email-or-phone.svelte";
|
|
3
4
|
import InputUsername from "./components/core/form/ui/input-username.svelte";
|
|
@@ -43,6 +44,8 @@ export { getMergedTranslations } from "./i18n/config";
|
|
|
43
44
|
/** Retorna a lista de idiomas disponíveis. */
|
|
44
45
|
export { getLocales } from "./i18n/config";
|
|
45
46
|
export {
|
|
47
|
+
/** @see NotFoundEmpty */
|
|
48
|
+
NotFoundEmpty,
|
|
46
49
|
/**
|
|
47
50
|
* Componente raiz do Negodesign.
|
|
48
51
|
* Configura o tema, idioma e traduções da aplicação.
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import NotFoundEmpty from "./components/core/panel/NotFoundEmpty.svelte";
|
|
1
2
|
import InputPasswordConfirm from "./components/core/form/ui/input-password-confirm.svelte";
|
|
2
3
|
import InputEmailOrPhone from "./components/core/form/ui/input-email-or-phone.svelte";
|
|
3
4
|
import InputUsername from "./components/core/form/ui/input-username.svelte";
|
|
@@ -43,6 +44,8 @@ export { getMergedTranslations } from "./i18n/config";
|
|
|
43
44
|
/** Retorna a lista de idiomas disponíveis. */
|
|
44
45
|
export { getLocales } from "./i18n/config";
|
|
45
46
|
export {
|
|
47
|
+
/** @see NotFoundEmpty */
|
|
48
|
+
NotFoundEmpty,
|
|
46
49
|
/**
|
|
47
50
|
* Componente raiz do Negodesign.
|
|
48
51
|
* Configura o tema, idioma e traduções da aplicação.
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ProductPromotionDetailsProps } from "../components/pages/product-details/types";
|
|
1
2
|
import type { LoginVariant, LoginRequestDto, LinkProps, PageLoginProps } from "../components/pages/security/login/types";
|
|
2
3
|
import type { ForgetPasswordVariant, ForgetPasswordRequestDto, PageForgetPasswordProps } from "../components/pages/security/forget-password/types";
|
|
3
4
|
import type { ResetPasswordRequestDto, PageResetPasswordProps } from "../components/pages/security/reset-password/types";
|
|
@@ -22,7 +23,7 @@ import type { DataTableItem, DataTableCoreProps } from "../components/core/datat
|
|
|
22
23
|
import type { AdminPanelProps, AdminContentProps } from "../components/pages/admin/01/ui/types";
|
|
23
24
|
import type { ProfileUserProps, ProfileUserData, ProfileUserVariant, ProfileUserAddress, ProfileUserNote, ProfileUserNotificationPref, ProfileUserMarketingPref, ProfileUserExperience } from "../components/pages/profile-user/types";
|
|
24
25
|
import type { ProductDetailsProps, ProductDetailsData, ProductDetailsBreadcrumbItem, ProductDetailsTag, ProductDetailsImage, ProductDetailsLocation, ProductDetailsReview, ProductDetailsTab } from "../components/pages/product-details/types";
|
|
25
|
-
import type { PrivacyPolicyOrTermsOfUseProps,
|
|
26
|
+
import type { PrivacyPolicyOrTermsOfUseProps, DocSection, ContentBlock, BreadcrumbItem, TocItem } from "../components/pages/privacy-policy-or-terms-of-use/types";
|
|
26
27
|
import type { InputLabelProps } from "../components/core/form/data/InputLabel.svelte";
|
|
27
28
|
import type { NegoDesignProps } from "../components/types";
|
|
28
29
|
import type { CarouselGridPromotionProps } from "../components/core/carousel/grid/promotion/types";
|
|
@@ -178,14 +179,14 @@ ProductDetailsTab,
|
|
|
178
179
|
ProductDetailsData,
|
|
179
180
|
/** Props do componente ProductDetails. @see ProductDetailsProps */
|
|
180
181
|
ProductDetailsProps,
|
|
182
|
+
/** Props do componente ProductPromotionDetails. @see ProductPromotionDetailsProps */
|
|
183
|
+
ProductPromotionDetailsProps as ProductPromotionDetails,
|
|
181
184
|
/** Item de breadcrumb do PrivacyPolicyOrTermsOfUse. @see BreadcrumbItem */
|
|
182
185
|
BreadcrumbItem,
|
|
183
186
|
/** Bloco de conteúdo do PrivacyPolicyOrTermsOfUse. @see ContentBlock */
|
|
184
187
|
ContentBlock,
|
|
185
188
|
/** Secção de conteúdo do PrivacyPolicyOrTermsOfUse. @see DocSection */
|
|
186
189
|
DocSection,
|
|
187
|
-
/** Dados completos de PrivacyPolicyOrTermsOfUse. @see DocPageData */
|
|
188
|
-
DocPageData,
|
|
189
190
|
/** Item da tabela de conteúdos (TOC). @see TocItem */
|
|
190
191
|
TocItem,
|
|
191
192
|
/** Props do componente PrivacyPolicyOrTermsOfUse. @see PrivacyPolicyOrTermsOfUseProps */
|