svelte-ag 1.0.71 → 1.1.0

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.
Files changed (47) hide show
  1. package/dist/api/form.svelte.d.ts +2 -1
  2. package/dist/api/form.svelte.d.ts.map +1 -1
  3. package/dist/components/carousel/index.d.ts +94 -7
  4. package/dist/components/carousel/index.d.ts.map +1 -1
  5. package/dist/components/carousel/index.js +1 -3
  6. package/dist/components/form/index.d.ts +185 -24
  7. package/dist/components/form/index.d.ts.map +1 -1
  8. package/dist/components/form/index.js +1 -3
  9. package/dist/components/index.d.ts +9 -0
  10. package/dist/components/index.d.ts.map +1 -0
  11. package/dist/components/index.js +12 -0
  12. package/dist/components/search/index.d.ts +85 -2
  13. package/dist/components/search/index.d.ts.map +1 -1
  14. package/dist/components/shader/WebGlShader.svelte +66 -66
  15. package/dist/components/shader/WebGlShader.svelte.d.ts +1 -1
  16. package/dist/components/shader/WebGlShader.svelte.d.ts.map +1 -1
  17. package/dist/components/sidebar/index.d.ts +270 -25
  18. package/dist/components/sidebar/index.d.ts.map +1 -1
  19. package/dist/components/sidebar/index.js +1 -3
  20. package/dist/index.d.ts +812 -2
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +1 -0
  23. package/dist/scripts/resolve-paths/index.d.ts +31 -0
  24. package/dist/scripts/resolve-paths/index.d.ts.map +1 -0
  25. package/dist/scripts/{resolve-paths.js → resolve-paths/index.js} +68 -24
  26. package/dist/scripts/resolve-paths/log.d.ts +4 -0
  27. package/dist/scripts/resolve-paths/log.d.ts.map +1 -0
  28. package/dist/scripts/resolve-paths/log.js +18 -0
  29. package/dist/scripts/resolve-paths/resolve-paths.unit.test.d.ts.map +1 -0
  30. package/dist/scripts/{resolve-paths.unit.test.js → resolve-paths/resolve-paths.unit.test.js} +25 -5
  31. package/dist/vite/index.d.ts +22 -1
  32. package/dist/vite/index.d.ts.map +1 -1
  33. package/package.json +28 -22
  34. package/src/lib/api/form.svelte.ts +2 -1
  35. package/src/lib/components/carousel/index.ts +0 -7
  36. package/src/lib/components/form/index.ts +0 -13
  37. package/src/lib/components/index.ts +12 -0
  38. package/src/lib/components/shader/WebGlShader.svelte +66 -66
  39. package/src/lib/components/sidebar/index.ts +0 -24
  40. package/src/lib/index.ts +1 -0
  41. package/src/lib/scripts/{resolve-paths.ts → resolve-paths/index.ts} +87 -23
  42. package/src/lib/scripts/resolve-paths/log.ts +26 -0
  43. package/src/lib/scripts/{resolve-paths.unit.test.ts → resolve-paths/resolve-paths.unit.test.ts} +25 -1
  44. package/dist/scripts/resolve-paths.d.ts +0 -29
  45. package/dist/scripts/resolve-paths.d.ts.map +0 -1
  46. package/dist/scripts/resolve-paths.unit.test.d.ts.map +0 -1
  47. /package/dist/scripts/{resolve-paths.unit.test.d.ts → resolve-paths/resolve-paths.unit.test.d.ts} +0 -0
@@ -1,4 +1,5 @@
1
- import { superForm, type SuperForm, type SuperValidated } from 'sveltekit-superforms';
1
+ import { superForm } from 'sveltekit-superforms';
2
+ import type { SuperForm, SuperValidated } from 'sveltekit-superforms';
2
3
  import type { ApiRequestFunction, HTTPMethod, ApiEndpoints, ApiInput, ApiSuccessBody, ApiErrorBody, ApiSchema } from 'ts-ag';
3
4
  export type ValidInput<E extends ApiEndpoints, P extends E['path'], M extends E['method']> = NonNullable<ApiInput<E, P, M>>;
4
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"form.svelte.d.ts","sourceRoot":"","sources":["../../src/lib/api/form.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAkC,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtH,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,SAAS,EACV,MAAM,OAAO,CAAC;AAMf,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,YAAY,EAAE,CAAC,SAAS,CA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,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAEpD;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,EAAE;QACL;;;;;WAKG;QACH,GAAG,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAE9E;;;WAGG;QACH,GAAG,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;KACtD,CAAC;IAEF;;;OAGG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC5E,KAAK,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;AAE/C;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,SAAS,YAAY,EACzD,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,EAC7E,OAAO,EAAE,kBAAkB,CAAC,GAAG,CAAC,GAC/B,cAAc,CAAC,GAAG,CAAC,CA8GrB"}
@@ -1,8 +1,95 @@
1
- import Root from './carousel.svelte';
2
- import Content from './carousel-content.svelte';
3
- import Item from './carousel-item.svelte';
4
- import Previous from './carousel-previous.svelte';
5
- import Next from './carousel-next.svelte';
6
- import Dots from './carousel-dots.svelte';
7
- export { Root, Content, Item, Previous, Next, Dots, Root as Carousel, Content as CarouselContent, Item as CarouselItem, Previous as CarouselPrevious, Next as CarouselNext, Dots as CarouselDots };
1
+ import * as _$svelte from "svelte";
2
+ import { WithElementRef, WithoutChildren } from "bits-ui";
3
+ import emblaCarouselSvelte, { EmblaCarouselSvelteType } from "embla-carousel-svelte";
4
+ import { HTMLAttributes } from "svelte/elements";
5
+ import * as _$tailwind_variants0 from "tailwind-variants";
6
+ import { VariantProps } from "tailwind-variants";
7
+ import { Props } from "$shadcn/button/index.js";
8
+
9
+ //#region dist/components/carousel/context.d.ts
10
+ type CarouselAPI = NonNullable<NonNullable<EmblaCarouselSvelteType['$$_attributes']>['on:emblaInit']> extends ((evt: CustomEvent<infer CarouselAPI>) => void) ? CarouselAPI : never;
11
+ type EmblaCarouselConfig = NonNullable<Parameters<typeof emblaCarouselSvelte>[1]>;
12
+ type CarouselOptions = EmblaCarouselConfig['options'];
13
+ type CarouselPlugins = EmblaCarouselConfig['plugins'];
14
+ type CarouselProps = {
15
+ symbol?: symbol;
16
+ opts?: CarouselOptions;
17
+ plugins?: CarouselPlugins;
18
+ setApi?: (api: CarouselAPI | undefined) => void;
19
+ pointerdown?: (api: CarouselAPI) => void;
20
+ pointerup?: (api: CarouselAPI) => void;
21
+ onSelect?: (api: CarouselAPI) => void;
22
+ orientation?: 'horizontal' | 'vertical';
23
+ } & WithElementRef<HTMLAttributes<HTMLDivElement>>;
24
+ //#endregion
25
+ //#region dist/components/carousel/carousel.svelte.d.ts
26
+ declare const Carousel: _$svelte.Component<CarouselProps, {}, "">;
27
+ type Carousel = ReturnType<typeof Carousel>;
28
+ //#endregion
29
+ //#region dist/components/carousel/carousel-content.svelte.d.ts
30
+ type $$ComponentProps$2 = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
31
+ symbol?: symbol;
32
+ };
33
+ declare const CarouselContent: _$svelte.Component<$$ComponentProps$2, {}, "ref">;
34
+ type CarouselContent = ReturnType<typeof CarouselContent>;
35
+ //#endregion
36
+ //#region dist/components/carousel/carousel-item.svelte.d.ts
37
+ type $$ComponentProps$1 = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
38
+ symbol?: symbol;
39
+ };
40
+ declare const CarouselItem: _$svelte.Component<$$ComponentProps$1, {}, "ref">;
41
+ type CarouselItem = ReturnType<typeof CarouselItem>;
42
+ //#endregion
43
+ //#region dist/components/carousel/carousel-previous.svelte.d.ts
44
+ declare const CarouselPrevious: _$svelte.Component<Omit<Props, "children"> & {
45
+ symbol?: symbol;
46
+ position: VariantProps<_$tailwind_variants0.TVReturnType<{
47
+ variant: {
48
+ default: string;
49
+ flex: string;
50
+ };
51
+ }, undefined, "size-8 touch-manipulation rounded-full", {
52
+ variant: {
53
+ default: string;
54
+ flex: string;
55
+ };
56
+ }, undefined, _$tailwind_variants0.TVReturnType<{
57
+ variant: {
58
+ default: string;
59
+ flex: string;
60
+ };
61
+ }, undefined, "size-8 touch-manipulation rounded-full", unknown, unknown, undefined>>>["variant"];
62
+ }, {}, "ref">;
63
+ type CarouselPrevious = ReturnType<typeof CarouselPrevious>;
64
+ //#endregion
65
+ //#region dist/components/carousel/carousel-next.svelte.d.ts
66
+ declare const CarouselNext: _$svelte.Component<Omit<Props, "children"> & {
67
+ symbol?: symbol;
68
+ position: VariantProps<_$tailwind_variants0.TVReturnType<{
69
+ variant: {
70
+ default: string;
71
+ flex: string;
72
+ };
73
+ }, undefined, "size-8 touch-manipulation rounded-full", {
74
+ variant: {
75
+ default: string;
76
+ flex: string;
77
+ };
78
+ }, undefined, _$tailwind_variants0.TVReturnType<{
79
+ variant: {
80
+ default: string;
81
+ flex: string;
82
+ };
83
+ }, undefined, "size-8 touch-manipulation rounded-full", unknown, unknown, undefined>>>["variant"];
84
+ }, {}, "ref">;
85
+ type CarouselNext = ReturnType<typeof CarouselNext>;
86
+ //#endregion
87
+ //#region dist/components/carousel/carousel-dots.svelte.d.ts
88
+ type $$ComponentProps = WithoutChildren<Props> & {
89
+ symbol?: symbol;
90
+ };
91
+ declare const CarouselDots: _$svelte.Component<$$ComponentProps, {}, "ref">;
92
+ type CarouselDots = ReturnType<typeof CarouselDots>;
93
+ //#endregion
94
+ export { Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious };
8
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/components/carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,QAAQ,MAAM,4BAA4B,CAAC;AAClD,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAE1C,OAAO,EACL,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,IAAI,EAEJ,IAAI,IAAI,QAAQ,EAChB,OAAO,IAAI,eAAe,EAC1B,IAAI,IAAI,YAAY,EACpB,QAAQ,IAAI,gBAAgB,EAC5B,IAAI,IAAI,YAAY,EACpB,IAAI,IAAI,YAAY,EACrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","names":["WithElementRef","EmblaCarouselSvelteType","emblaCarouselSvelte","HTMLAttributes","CarouselAPI","NonNullable","CustomEvent","evt","EmblaCarouselConfig","Parameters","CarouselOptions","CarouselPlugins","CarouselProps","HTMLDivElement","symbol","opts","plugins","setApi","api","pointerdown","pointerup","onSelect","orientation","EmblaContext","KeyboardEvent","scrollNext","scrollPrev","canScrollNext","canScrollPrev","handleKeyDown","e","options","onInit","scrollTo","index","jump","scrollSnaps","selectedIndex","setEmblaContext","config","getEmblaContext","name","CarouselProps","Carousel","_$svelte","Component","ReturnType","default","WithElementRef","HTMLAttributes","$$ComponentProps","HTMLDivElement","symbol","CarouselContent","_$svelte","Component","ReturnType","default","WithElementRef","HTMLAttributes","$$ComponentProps","HTMLDivElement","symbol","CarouselItem","_$svelte","Component","ReturnType","default","_$svelte","Props","VariantProps","CarouselPrevious","Omit","_$tailwind_variants0","TVReturnType","Component","symbol","position","variant","default","flex","ReturnType","_$svelte","Props","VariantProps","CarouselNext","Omit","_$tailwind_variants0","TVReturnType","Component","symbol","position","variant","default","flex","ReturnType","WithoutChildren","Props","$$ComponentProps","symbol","CarouselDots","_$svelte","Component","ReturnType","default"],"sources":["../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/context.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/carousel.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/carousel-content.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/carousel-item.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/carousel-previous.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/carousel-next.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/carousel/carousel-dots.svelte.d.ts"],"mappings":";;;;;;;;;KAIYI,WAAAA,GAAcC,WAAAA,CAAYA,WAAAA,CAAYJ,uBAAAA,8CAAoEM,GAAAA,EAAKD,WAAAA,gCAA0CF,WAAAA;AAAAA,KAChKI,mBAAAA,GAAsBH,WAAAA,CAAYI,UAAAA,QAAkBP,mBAAAA;AAAAA,KAC7CQ,eAAAA,GAAkBF,mBAAAA;AAAAA,KAClBG,eAAAA,GAAkBH,mBAAAA;AAAAA,KAClBI,aAAAA;EACRE,MAAAA;EACAC,IAAAA,GAAOL,eAAAA;EACPM,OAAAA,GAAUL,eAAAA;EACVM,MAAAA,IAAUC,GAAAA,EAAKd,WAAAA;EACfe,WAAAA,IAAeD,GAAAA,EAAKd,WAAAA;EACpBgB,SAAAA,IAAaF,GAAAA,EAAKd,WAAAA;EAClBiB,QAAAA,IAAYH,GAAAA,EAAKd,WAAAA;EACjBkB,WAAAA;AAAAA,IACAtB,cAAAA,CAAeG,cAAAA,CAAeU,cAAAA;;;cChBpB8B,QAAAA,EAAkDC,QAAAA,CAAvBC,SAAAA,CAAUH,aAAAA;AAAAA,KAC9CC,QAAAA,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YAAAA,GAAeU,UAAAA,QAAkBV,YAAAA;;;KCnBjCa,gBAAAA,GAAmBF,eAAAA,CAAgBC,KAAAA;EACpCE,MAAAA;AAAAA;AAAAA,cAEUC,YAAAA,EAAyDC,QAAAA,CAA1BC,SAAAA,CAAUJ,gBAAAA;AAAAA,KAClDE,YAAAA,GAAeG,UAAAA,QAAkBH,YAAAA"}
@@ -4,6 +4,4 @@ import Item from './carousel-item.svelte';
4
4
  import Previous from './carousel-previous.svelte';
5
5
  import Next from './carousel-next.svelte';
6
6
  import Dots from './carousel-dots.svelte';
7
- export { Root, Content, Item, Previous, Next, Dots,
8
- //
9
- Root as Carousel, Content as CarouselContent, Item as CarouselItem, Previous as CarouselPrevious, Next as CarouselNext, Dots as CarouselDots };
7
+ export { Root as Carousel, Content as CarouselContent, Item as CarouselItem, Previous as CarouselPrevious, Next as CarouselNext, Dots as CarouselDots };
@@ -1,25 +1,186 @@
1
- import Root from './form.svelte';
2
- export * from './form.svelte';
3
- import Description from './form-description.svelte';
4
- export * from './form-description.svelte';
5
- import Label from './form-label.svelte';
6
- export * from './form-label.svelte';
7
- import FieldErrors from './form-field-errors.svelte';
8
- export * from './form-field-errors.svelte';
9
- import Field from './form-field.svelte';
10
- export * from './form-field.svelte';
11
- import FieldFull from './form-field-full.svelte';
12
- export * from './form-field-full.svelte';
13
- import Fieldset from './form-fieldset.svelte';
14
- export * from './form-fieldset.svelte';
15
- import Legend from './form-legend.svelte';
16
- export * from './form-legend.svelte';
17
- import ElementField from './form-element-field.svelte';
18
- export * from './form-element-field.svelte';
19
- import Button from './form-button.svelte';
20
- export * from './form-button.svelte';
21
- import Message from './form-message.svelte';
22
- export * from './form-message.svelte';
23
- import { Control } from 'formsnap';
24
- export { Root, Field, FieldFull, Control, Label, Button, Message, FieldErrors, Description, Fieldset, Legend, ElementField, Root as FormRoot, Field as FormField, FieldFull as FormFieldFull, Control as FormControl, Description as FormDescription, Label as FormLabel, Message as FormMessage, FieldErrors as FormFieldErrors, Fieldset as FormFieldset, Legend as FormLegend, ElementField as FormElementField, Button as FormButton };
1
+ import * as _$svelte from "svelte";
2
+ import { WithElementRef, WithoutChild } from "bits-ui";
3
+ import { HTMLAttributes, HTMLFormAttributes, HTMLInputAttributes } from "svelte/elements";
4
+ import { FormPath, FormPathLeaves, SuperForm } from "sveltekit-superforms";
5
+ import * as FormPrimitive from "formsnap";
6
+ import { Control } from "formsnap";
7
+ import { WithChild, WithElementRef as WithElementRef$1, WithoutChild as WithoutChild$1, WithoutChildren } from "svelte-toolbelt";
8
+ import { Props } from "$shadcn/button/index.js";
9
+
10
+ //#region dist/components/form/form.svelte.d.ts
11
+ type FormContext<T extends Record<string, unknown>, U> = SuperForm<T, U>;
12
+ declare function setFormContext<T extends Record<string, unknown>, U>(form: FormContext<T, U>): void;
13
+ declare function getFormContext<T extends Record<string, unknown>, U>(): FormContext<T, U>;
14
+ type FormRootProps = WithElementRef<HTMLFormAttributes> & {
15
+ form: SuperForm<any>;
16
+ };
17
+ declare const Form: _$svelte.Component<FormRootProps, {}, "ref">;
18
+ type Form = ReturnType<typeof Form>;
19
+ //#endregion
20
+ //#region dist/components/form/form-description.svelte.d.ts
21
+ declare const FormDescription: _$svelte.Component<Omit<FormPrimitive.DescriptionProps, "child">, {}, "ref">;
22
+ type FormDescription = ReturnType<typeof FormDescription>;
23
+ //#endregion
24
+ //#region dist/components/form/form-label.svelte.d.ts
25
+ declare const FormLabel: _$svelte.Component<Omit<FormPrimitive.LabelProps, "child">, {}, "ref">;
26
+ type FormLabel = ReturnType<typeof FormLabel>;
27
+ //#endregion
28
+ //#region dist/components/form/form-field-errors.svelte.d.ts
29
+ type $$ComponentProps = WithoutChild$1<FormPrimitive.FieldErrorsProps> & {
30
+ errorClasses?: string | undefined | null;
31
+ };
32
+ declare const FormFieldErrors: _$svelte.Component<$$ComponentProps, {}, "ref">;
33
+ type FormFieldErrors = ReturnType<typeof FormFieldErrors>;
34
+ //#endregion
35
+ //#region dist/components/form/form-field.svelte.d.ts
36
+ type FormFieldProps<T extends Record<string, unknown>, U extends FormPath<T>> = Omit<FormPrimitive.FieldProps<T, U>, 'form'> & {
37
+ form?: FormPrimitive.FieldProps<T, U>['form'];
38
+ } & WithoutChildren<WithElementRef$1<HTMLAttributes<HTMLDivElement>>>;
39
+ declare function $$render$4<T extends Record<string, unknown>, U extends FormPath<T>>(): {
40
+ props: FormFieldProps<T, U>;
41
+ exports: {};
42
+ bindings: "ref";
43
+ slots: {};
44
+ events: {};
45
+ };
46
+ declare class __sveltets_Render$4<T extends Record<string, unknown>, U extends FormPath<T>> {
47
+ props(): ReturnType<typeof $$render$4<T, U>>['props'];
48
+ events(): ReturnType<typeof $$render$4<T, U>>['events'];
49
+ slots(): ReturnType<typeof $$render$4<T, U>>['slots'];
50
+ bindings(): "ref";
51
+ exports(): {};
52
+ }
53
+ interface $$IsomorphicComponent$4 {
54
+ new <T extends Record<string, unknown>, U extends FormPath<T>>(options: _$svelte.ComponentConstructorOptions<ReturnType<__sveltets_Render$4<T, U>['props']>>): _$svelte.SvelteComponent<ReturnType<__sveltets_Render$4<T, U>['props']>, ReturnType<__sveltets_Render$4<T, U>['events']>, ReturnType<__sveltets_Render$4<T, U>['slots']>> & {
55
+ $$bindings?: ReturnType<__sveltets_Render$4<T, U>['bindings']>;
56
+ } & ReturnType<__sveltets_Render$4<T, U>['exports']>;
57
+ <T extends Record<string, unknown>, U extends FormPath<T>>(internal: unknown, props: ReturnType<__sveltets_Render$4<T, U>['props']> & {}): ReturnType<__sveltets_Render$4<T, U>['exports']>;
58
+ z_$$bindings?: ReturnType<__sveltets_Render$4<any, any>['bindings']>;
59
+ }
60
+ declare const FormField: $$IsomorphicComponent$4;
61
+ type FormField<T extends Record<string, unknown>, U extends FormPath<T>> = InstanceType<typeof FormField<T, U>>;
62
+ //#endregion
63
+ //#region dist/components/form/form-field-full.svelte.d.ts
64
+ type FormFullFieldProps<T extends Record<string, unknown>, U extends FormPath<T>> = FormFieldProps<T, U> & {
65
+ label: string;
66
+ description?: string;
67
+ inputProps?: HTMLInputAttributes;
68
+ } & WithoutChildren<WithElementRef$1<HTMLAttributes<HTMLDivElement>>>;
69
+ declare function $$render$3<T extends Record<string, unknown>, U extends FormPath<T>>(): {
70
+ props: FormFullFieldProps<T, U>;
71
+ exports: {};
72
+ bindings: "ref";
73
+ slots: {};
74
+ events: {};
75
+ };
76
+ declare class __sveltets_Render$3<T extends Record<string, unknown>, U extends FormPath<T>> {
77
+ props(): ReturnType<typeof $$render$3<T, U>>['props'];
78
+ events(): ReturnType<typeof $$render$3<T, U>>['events'];
79
+ slots(): ReturnType<typeof $$render$3<T, U>>['slots'];
80
+ bindings(): "ref";
81
+ exports(): {};
82
+ }
83
+ interface $$IsomorphicComponent$3 {
84
+ new <T extends Record<string, unknown>, U extends FormPath<T>>(options: _$svelte.ComponentConstructorOptions<ReturnType<__sveltets_Render$3<T, U>['props']>>): _$svelte.SvelteComponent<ReturnType<__sveltets_Render$3<T, U>['props']>, ReturnType<__sveltets_Render$3<T, U>['events']>, ReturnType<__sveltets_Render$3<T, U>['slots']>> & {
85
+ $$bindings?: ReturnType<__sveltets_Render$3<T, U>['bindings']>;
86
+ } & ReturnType<__sveltets_Render$3<T, U>['exports']>;
87
+ <T extends Record<string, unknown>, U extends FormPath<T>>(internal: unknown, props: ReturnType<__sveltets_Render$3<T, U>['props']> & {}): ReturnType<__sveltets_Render$3<T, U>['exports']>;
88
+ z_$$bindings?: ReturnType<__sveltets_Render$3<any, any>['bindings']>;
89
+ }
90
+ declare const FormFieldFull: $$IsomorphicComponent$3;
91
+ type FormFieldFull<T extends Record<string, unknown>, U extends FormPath<T>> = InstanceType<typeof FormFieldFull<T, U>>;
92
+ //#endregion
93
+ //#region dist/components/form/form-fieldset.svelte.d.ts
94
+ declare function $$render$2<T extends Record<string, unknown>, U extends FormPath<T>>(): {
95
+ props: WithoutChild<FormPrimitive.FieldsetProps<T, U>>;
96
+ exports: {};
97
+ bindings: "ref";
98
+ slots: {};
99
+ events: {};
100
+ };
101
+ declare class __sveltets_Render$2<T extends Record<string, unknown>, U extends FormPath<T>> {
102
+ props(): ReturnType<typeof $$render$2<T, U>>['props'];
103
+ events(): ReturnType<typeof $$render$2<T, U>>['events'];
104
+ slots(): ReturnType<typeof $$render$2<T, U>>['slots'];
105
+ bindings(): "ref";
106
+ exports(): {};
107
+ }
108
+ interface $$IsomorphicComponent$2 {
109
+ new <T extends Record<string, unknown>, U extends FormPath<T>>(options: _$svelte.ComponentConstructorOptions<ReturnType<__sveltets_Render$2<T, U>['props']>>): _$svelte.SvelteComponent<ReturnType<__sveltets_Render$2<T, U>['props']>, ReturnType<__sveltets_Render$2<T, U>['events']>, ReturnType<__sveltets_Render$2<T, U>['slots']>> & {
110
+ $$bindings?: ReturnType<__sveltets_Render$2<T, U>['bindings']>;
111
+ } & ReturnType<__sveltets_Render$2<T, U>['exports']>;
112
+ <T extends Record<string, unknown>, U extends FormPath<T>>(internal: unknown, props: ReturnType<__sveltets_Render$2<T, U>['props']> & {}): ReturnType<__sveltets_Render$2<T, U>['exports']>;
113
+ z_$$bindings?: ReturnType<__sveltets_Render$2<any, any>['bindings']>;
114
+ }
115
+ declare const FormFieldset: $$IsomorphicComponent$2;
116
+ type FormFieldset<T extends Record<string, unknown>, U extends FormPath<T>> = InstanceType<typeof FormFieldset<T, U>>;
117
+ //#endregion
118
+ //#region dist/components/form/form-legend.svelte.d.ts
119
+ declare const FormLegend: _$svelte.Component<Omit<FormPrimitive.LegendProps, "child">, {}, "ref">;
120
+ type FormLegend = ReturnType<typeof FormLegend>;
121
+ //#endregion
122
+ //#region dist/components/form/form-element-field.svelte.d.ts
123
+ declare function $$render$1<T extends Record<string, unknown>, U extends FormPathLeaves<T>>(): {
124
+ props: Omit<WithElementRef<HTMLAttributes<HTMLDivElement>>, "children"> & FormPrimitive.ElementFieldProps<T, U, any>;
125
+ exports: {};
126
+ bindings: "ref";
127
+ slots: {};
128
+ events: {};
129
+ };
130
+ declare class __sveltets_Render$1<T extends Record<string, unknown>, U extends FormPathLeaves<T>> {
131
+ props(): ReturnType<typeof $$render$1<T, U>>['props'];
132
+ events(): ReturnType<typeof $$render$1<T, U>>['events'];
133
+ slots(): ReturnType<typeof $$render$1<T, U>>['slots'];
134
+ bindings(): "ref";
135
+ exports(): {};
136
+ }
137
+ interface $$IsomorphicComponent$1 {
138
+ new <T extends Record<string, unknown>, U extends FormPathLeaves<T>>(options: _$svelte.ComponentConstructorOptions<ReturnType<__sveltets_Render$1<T, U>['props']>>): _$svelte.SvelteComponent<ReturnType<__sveltets_Render$1<T, U>['props']>, ReturnType<__sveltets_Render$1<T, U>['events']>, ReturnType<__sveltets_Render$1<T, U>['slots']>> & {
139
+ $$bindings?: ReturnType<__sveltets_Render$1<T, U>['bindings']>;
140
+ } & ReturnType<__sveltets_Render$1<T, U>['exports']>;
141
+ <T extends Record<string, unknown>, U extends FormPathLeaves<T>>(internal: unknown, props: ReturnType<__sveltets_Render$1<T, U>['props']> & {}): ReturnType<__sveltets_Render$1<T, U>['exports']>;
142
+ z_$$bindings?: ReturnType<__sveltets_Render$1<any, any>['bindings']>;
143
+ }
144
+ declare const FormElementField: $$IsomorphicComponent$1;
145
+ type FormElementField<T extends Record<string, unknown>, U extends FormPathLeaves<T>> = InstanceType<typeof FormElementField<T, U>>;
146
+ //#endregion
147
+ //#region dist/components/form/form-button.svelte.d.ts
148
+ type FormButtonProps<T extends Record<string, unknown> = {}, U extends FormPath<T> = any> = Omit<Props, 'form'> & {
149
+ form?: FormFieldProps<T, U>['form'];
150
+ name?: U;
151
+ };
152
+ declare function $$render<T extends Record<string, unknown>, U extends FormPath<T>>(): {
153
+ props: FormButtonProps<T, U>;
154
+ exports: {};
155
+ bindings: "ref";
156
+ slots: {};
157
+ events: {};
158
+ };
159
+ declare class __sveltets_Render<T extends Record<string, unknown>, U extends FormPath<T>> {
160
+ props(): ReturnType<typeof $$render<T, U>>['props'];
161
+ events(): ReturnType<typeof $$render<T, U>>['events'];
162
+ slots(): ReturnType<typeof $$render<T, U>>['slots'];
163
+ bindings(): "ref";
164
+ exports(): {};
165
+ }
166
+ interface $$IsomorphicComponent {
167
+ new <T extends Record<string, unknown>, U extends FormPath<T>>(options: _$svelte.ComponentConstructorOptions<ReturnType<__sveltets_Render<T, U>['props']>>): _$svelte.SvelteComponent<ReturnType<__sveltets_Render<T, U>['props']>, ReturnType<__sveltets_Render<T, U>['events']>, ReturnType<__sveltets_Render<T, U>['slots']>> & {
168
+ $$bindings?: ReturnType<__sveltets_Render<T, U>['bindings']>;
169
+ } & ReturnType<__sveltets_Render<T, U>['exports']>;
170
+ <T extends Record<string, unknown>, U extends FormPath<T>>(internal: unknown, props: ReturnType<__sveltets_Render<T, U>['props']> & {}): ReturnType<__sveltets_Render<T, U>['exports']>;
171
+ z_$$bindings?: ReturnType<__sveltets_Render<any, any>['bindings']>;
172
+ }
173
+ declare const FormButton: $$IsomorphicComponent;
174
+ type FormButton<T extends Record<string, unknown>, U extends FormPath<T>> = InstanceType<typeof FormButton<T, U>>;
175
+ //#endregion
176
+ //#region dist/utils/bits.d.ts
177
+ type HTMLDivAttributes = HTMLAttributes<HTMLDivElement>;
178
+ //#endregion
179
+ //#region dist/components/form/form-message.svelte.d.ts
180
+ declare const FormMessage: _$svelte.Component<Omit<WithChild<Omit<HTMLDivAttributes, "children">, {
181
+ message: string;
182
+ }>, "children">, {}, "ref">;
183
+ type FormMessage = ReturnType<typeof FormMessage>;
184
+ //#endregion
185
+ export { FormButton, FormButtonProps, FormContext, Control as FormControl, FormDescription, FormElementField, FormField, FormFieldErrors, FormFieldFull, FormFieldProps, FormFieldset, FormFullFieldProps, FormLabel, FormLegend, FormMessage, Form as FormRoot, FormRootProps, getFormContext, setFormContext };
25
186
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,cAA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","setFormContext","form","getFormContext","FormRootProps","HTMLFormAttributes","WithElementRef","Form","_$svelte","Component","ReturnType","default","FormPrimitive","FormDescription","DescriptionProps","Omit","_$svelte","Component","ReturnType","default","FormPrimitive","FormLabel","LabelProps","Omit","_$svelte","Component","ReturnType","default","FormPrimitive","WithoutChild","$$ComponentProps","FieldErrorsProps","errorClasses","FormFieldErrors","_$svelte","Component","ReturnType","default","FormFieldProps","T","U","Record","FormPath","FormPrimitive","FieldProps","Omit","HTMLDivElement","HTMLAttributes","WithElementRef","WithoutChildren","form","$$render","props","exports","bindings","slots","events","__sveltets_Render","ReturnType","$$IsomorphicComponent","_$svelte","ComponentConstructorOptions","SvelteComponent","options","$$bindings","internal","z_$$bindings","FormField","InstanceType","default","FormFullFieldProps","T","U","Record","FormPath","FormFieldProps","HTMLInputAttributes","HTMLDivElement","HTMLAttributes","WithElementRef","WithoutChildren","label","description","inputProps","$$render","props","exports","bindings","slots","events","__sveltets_Render","ReturnType","$$IsomorphicComponent","_$svelte","ComponentConstructorOptions","SvelteComponent","options","$$bindings","internal","z_$$bindings","FormFieldFull","InstanceType","default","FormPrimitive","FormPath","WithoutChild","$$render","T","U","Record","FieldsetProps","props","exports","bindings","slots","events","__sveltets_Render","ReturnType","$$IsomorphicComponent","_$svelte","ComponentConstructorOptions","SvelteComponent","options","$$bindings","internal","z_$$bindings","FormFieldset","InstanceType","default","FormPrimitive","FormLegend","LegendProps","Omit","_$svelte","Component","ReturnType","default","FormPrimitive","FormPathLeaves","HTMLAttributes","WithElementRef","$$render","T","U","Record","HTMLDivElement","Omit","ElementFieldProps","props","exports","bindings","slots","events","__sveltets_Render","ReturnType","$$IsomorphicComponent","_$svelte","ComponentConstructorOptions","SvelteComponent","options","$$bindings","internal","z_$$bindings","FormElementField","InstanceType","default","FormFieldProps","FormPath","Props","ButtonProps","FormButtonProps","T","U","Record","Omit","form","name","$$render","props","exports","bindings","slots","events","__sveltets_Render","ReturnType","$$IsomorphicComponent","_$svelte","ComponentConstructorOptions","SvelteComponent","options","$$bindings","internal","z_$$bindings","FormButton","InstanceType","default","WithRefProps","getDataOpenClosed","condition","getDataChecked","getAriaDisabled","getAriaReadonly","getAriaExpanded","getDataDisabled","getAriaRequired","getAriaSelected","getAriaChecked","checked","indeterminate","getAriaOrientation","orientation","getAriaHidden","getAriaInvalid","getDataOrientation","getDataInvalid","getDataRequired","getDataReadonly","getDataSelected","getDataUnavailable","getHidden","getDisabled","getAriaPressed","getRequired","HTMLFormAttributes","HTMLAttributes","BitsPrimitive","T","Omit","id","BitsPrimitiveFormAttributes","HTMLDivAttributes","HTMLDivElement","Test","test","WithChild","HTMLDivAttributes","FormMessage","Omit","_$svelte","Component","message","ReturnType","default"],"sources":["../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-description.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-label.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-field-errors.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-field.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-field-full.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-fieldset.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-legend.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-element-field.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-button.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/utils/bits.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/form/form-message.svelte.d.ts"],"mappings":";;;;;;;;;;KAAYA,WAAAA,WAAsBG,MAAAA,wBAA8BC,SAAAA,CAAUH,CAAAA,EAAGC,CAAAA;AAAAA,iBACrDG,cAAAA,WAAyBF,MAAAA,qBAAAA,CAA4BG,IAAAA,EAA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AA,CAAtCC,2BAAAA,CAA4BH,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA,eAAwJc,QAAAA,CAAvHE,eAAAA,CAAgBJ,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA,aAAcY,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA,cAAeY,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA;IAC/TkB,UAAAA,GAAaN,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA;EAAAA,IAC7CY,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA;EAAAA,WACzBC,MAAAA,6BAAmCN,QAAAA,CAASI,CAAAA,GAAIoB,QAAAA,WAAmBb,KAAAA,EAAOM,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA,mBAAoBY,UAAAA,CAAWD,iBAAAA,CAAkBZ,CAAAA,EAAGC,CAAAA;EACzKoB,YAAAA,GAAeR,UAAAA,CAAWD,iBAAAA;AAAAA;AAAAA,cAEhBU,UAAAA,EAAYR,qBAAAA;AAAAA,KACrBQ,UAAAA,WAAqBpB,MAAAA,6BAAmCN,QAAAA,CAASI,CAAAA,KAAMuB,YAAAA,QAAoBD,UAAAA,CAAWtB,CAAAA,EAAGC,CAAAA;;;KCAlG0D,iBAAAA,GAAoBN,cAAAA,CAAeO,cAAAA;;;cC3BjCK,WAAAA,EAA4CE,QAAAA,CAAdC,SAAAA,CAAUF,IAAAA,CAAKH,SAAAA,CAAUG,IAAAA,CAAKF,iBAAAA;EACtEK,OAAAA;AAAAA;AAAAA,KAECJ,WAAAA,GAAcK,UAAAA,QAAkBL,WAAAA"}
@@ -21,6 +21,4 @@ export * from './form-button.svelte';
21
21
  import Message from './form-message.svelte';
22
22
  export * from './form-message.svelte';
23
23
  import { Control } from 'formsnap';
24
- export { Root, Field, FieldFull, Control, Label, Button, Message, FieldErrors, Description, Fieldset, Legend, ElementField,
25
- //
26
- Root as FormRoot, Field as FormField, FieldFull as FormFieldFull, Control as FormControl, Description as FormDescription, Label as FormLabel, Message as FormMessage, FieldErrors as FormFieldErrors, Fieldset as FormFieldset, Legend as FormLegend, ElementField as FormElementField, Button as FormButton };
24
+ export { Root as FormRoot, Field as FormField, FieldFull as FormFieldFull, Control as FormControl, Description as FormDescription, Label as FormLabel, Message as FormMessage, FieldErrors as FormFieldErrors, Fieldset as FormFieldset, Legend as FormLegend, ElementField as FormElementField, Button as FormButton };
@@ -0,0 +1,9 @@
1
+ export * from './animated/index.js';
2
+ export * from './breakpoint-badge/index.js';
3
+ export * from './dnd/index.js';
4
+ export * from './gallery/index.js';
5
+ export * from './gradient/index.js';
6
+ export * from './safe/index.js';
7
+ export * from './shader/index.js';
8
+ export * from './utilities/arrow/index.js';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,gBAAgB,CAAC;AAE/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,mBAAmB,CAAC;AAElC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from './animated/index.js';
2
+ export * from './breakpoint-badge/index.js';
3
+ // export * from './carousel/index.js';
4
+ export * from './dnd/index.js';
5
+ // export * from './form/index.js';
6
+ export * from './gallery/index.js';
7
+ export * from './gradient/index.js';
8
+ export * from './safe/index.js';
9
+ // export * from './search/index.js';
10
+ export * from './shader/index.js';
11
+ // export * from './sidebar/index.js';
12
+ export * from './utilities/arrow/index.js';
@@ -1,3 +1,86 @@
1
- export * as Search from './exports.js';
2
- export { default as SearchPopover, type SearchPopoverProps } from './combinations/searchPopover.svelte';
1
+ import * as _$svelte from "svelte";
2
+ import { Snippet } from "svelte";
3
+ import { BitsPrimitiveDivAttributes, BitsPrimitiveInputAttributes, PopoverTriggerProps, WithChild, Without } from "bits-ui";
4
+
5
+ //#region \0rolldown/runtime.js
6
+ //#endregion
7
+ //#region dist/components/search/types.d.ts
8
+ type Item = {
9
+ label: string;
10
+ keywords?: string[];
11
+ value: string;
12
+ };
13
+ type SearchRootPropsWithoutHTML = WithChild<{
14
+ items?: Item[];
15
+ searchWith?: string;
16
+ value: Item;
17
+ search?: (term: string) => Promise<Item[]>;
18
+ }>;
19
+ type SearchProps = SearchRootPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, SearchRootPropsWithoutHTML>;
20
+ type SearchInputPropsWithoutHTML = WithChild<{
21
+ value?: string;
22
+ }>;
23
+ type SearchInputProps = SearchInputPropsWithoutHTML & Without<BitsPrimitiveInputAttributes, SearchInputPropsWithoutHTML>;
24
+ type SearchListPropsWithoutHTML = WithChild<{
25
+ item: Snippet<[Item]>;
26
+ }>;
27
+ type SearchListProps = SearchListPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, SearchListPropsWithoutHTML>;
28
+ type SearchPagnationPropsWithoutHTML = WithChild<{
29
+ page?: number;
30
+ perPage?: number;
31
+ }>;
32
+ type SearchPagnationProps = SearchPagnationPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, SearchPagnationPropsWithoutHTML>;
33
+ type SearchEmptyPropsWithoutHTML = WithChild;
34
+ type SearchEmptyProps = SearchEmptyPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, SearchEmptyPropsWithoutHTML>;
35
+ //#endregion
36
+ //#region dist/components/search/components/search.svelte.d.ts
37
+ declare const Search: _$svelte.Component<SearchProps, {}, "value" | "items" | "ref" | "searchWith">;
38
+ type Search = ReturnType<typeof Search>;
39
+ //#endregion
40
+ //#region dist/components/search/components/search-input.svelte.d.ts
41
+ declare const SearchInput: _$svelte.Component<SearchInputProps, {}, "value" | "ref">;
42
+ type SearchInput = ReturnType<typeof SearchInput>;
43
+ //#endregion
44
+ //#region dist/components/search/components/search-list.svelte.d.ts
45
+ declare const SearchList: _$svelte.Component<SearchListProps, {}, "ref">;
46
+ type SearchList = ReturnType<typeof SearchList>;
47
+ //#endregion
48
+ //#region dist/components/search/components/search-empty.svelte.d.ts
49
+ declare const SearchEmpty: _$svelte.Component<SearchEmptyProps, {}, "ref">;
50
+ type SearchEmpty = ReturnType<typeof SearchEmpty>;
51
+ //#endregion
52
+ //#region dist/components/search/components/search-pagnation.svelte.d.ts
53
+ declare const SearchPagnation: _$svelte.Component<SearchPagnationProps, {
54
+ activeItems: (Item & {
55
+ score?: number;
56
+ })[];
57
+ }, "ref" | "page" | "perPage">;
58
+ type SearchPagnation = ReturnType<typeof SearchPagnation>;
59
+ declare namespace exports_d_exports {
60
+ export { SearchEmpty as Empty, SearchEmptyProps as EmptyProps, SearchInput as Input, SearchInputProps as InputProps, SearchList as List, SearchListProps as ListProps, SearchPagnation as Pagnation, SearchPagnationProps as PagnationProps, Search as Root, SearchProps as RootProps };
61
+ }
62
+ //#endregion
63
+ //#region dist/components/search/combinations/searchPopover.svelte.d.ts
64
+ type SearchPopoverProps = {
65
+ items?: SearchProps['items'];
66
+ perPage?: SearchPagnationProps['perPage'];
67
+ item: SearchListProps['item'];
68
+ value: SearchProps['value'];
69
+ search?: SearchProps['search'];
70
+ trigger?: HTMLElement | null;
71
+ } & Omit<PopoverTriggerProps, 'value'>;
72
+ declare const SearchPopover: _$svelte.Component<SearchPopoverProps, {
73
+ focus: () => void;
74
+ searchPagnation: ({
75
+ $on?(type: string, callback: (e: any) => void): () => void;
76
+ $set?(props: Partial<SearchPagnationProps>): void;
77
+ } & {
78
+ activeItems: (Item & {
79
+ score?: number;
80
+ })[];
81
+ }) | null;
82
+ }, "value" | "ref" | "perPage" | "trigger">;
83
+ type SearchPopover = ReturnType<typeof SearchPopover>;
84
+ //#endregion
85
+ export { exports_d_exports as Search, SearchPopover, type SearchPopoverProps };
3
86
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/components/search/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","names":["BitsPrimitiveDivAttributes","WithChild","Without","BitsPrimitiveInputAttributes","Snippet","Item","label","keywords","value","SearchRootPropsWithoutHTML","Promise","items","searchWith","search","term","SearchProps","SearchInputPropsWithoutHTML","SearchInputProps","SearchListPropsWithoutHTML","item","SearchListProps","SearchPagnationPropsWithoutHTML","page","perPage","SearchPagnationProps","SearchEmptyPropsWithoutHTML","SearchEmptyProps","SearchProps","Search","_$svelte","Component","ReturnType","default","SearchInputProps","SearchInput","_$svelte","Component","ReturnType","default","SearchListProps","SearchList","_$svelte","Component","ReturnType","default","SearchEmptyProps","SearchEmpty","_$svelte","Component","ReturnType","default","_$svelte","SearchPagnationProps","SearchPagnation","_$___types0","Item","Component","activeItems","score","ReturnType","default","default","Root","Input","List","Empty","Pagnation","SearchProps","RootProps","SearchInputProps","InputProps","SearchListProps","ListProps","SearchPagnationProps","PagnationProps","SearchEmptyProps","EmptyProps","_$svelte","SearchPopoverProps","Search","RootProps","PagnationProps","ListProps","HTMLElement","PopoverTriggerProps","Omit","items","perPage","item","value","search","trigger","SearchPopover","Partial","_$___types_js0","Item","Component","focus","searchPagnation","$on","type","e","callback","$set","props","activeItems","score","ReturnType","default"],"sources":["../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/types.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/components/search.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/components/search-input.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/components/search-list.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/components/search-empty.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/components/search-pagnation.svelte.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/exports.d.ts","../../home/runner/work/svelte-ag/svelte-ag/dist/components/search/combinations/searchPopover.svelte.d.ts"],"mappings":";;;;;;;KAEYK,IAAAA;EACRC,KAAAA;EACAC,QAAAA;EACAC,KAAAA;AAAAA;AAAAA,KAEQC,0BAAAA,GAA6BR,SAAAA;EACrCU,KAAAA,GAAQN,IAAAA;EACRO,UAAAA;EACAJ,KAAAA,EAAOH,IAAAA;EACPQ,MAAAA,IAAUC,IAAAA,aAAiBJ,OAAAA,CAAQL,IAAAA;AAAAA;AAAAA,KAE3BU,WAAAA,GAAcN,0BAAAA,GAA6BP,OAAAA,CAAQF,0BAAAA,EAA4BS,0BAAAA;AAAAA,KAC/EO,2BAAAA,GAA8Bf,SAAAA;EACtCO,KAAAA;AAAAA;AAAAA,KAEQS,gBAAAA,GAAmBD,2BAAAA,GAA8Bd,OAAAA,CAAQC,4BAAAA,EAA8Ba,2BAAAA;AAAAA,KACvFE,0BAAAA,GAA6BjB,SAAAA;EACrCkB,IAAAA,EAAMf,OAAAA,EAASC,IAAAA;AAAAA;AAAAA,KAEPe,eAAAA,GAAkBF,0BAAAA,GAA6BhB,OAAAA,CAAQF,0BAAAA,EAA4BkB,0BAAAA;AAAAA,KACnFG,+BAAAA,GAAkCpB,SAAAA;EAC1CqB,IAAAA;EACAC,OAAAA;AAAAA;AAAAA,KAEQC,oBAAAA,GAAuBH,+BAAAA,GAAkCnB,OAAAA,CAAQF,0BAAAA,EAA4BqB,+BAAAA;AAAAA,KAC7FI,2BAAAA,GAA8BxB,SAAAA;AAAAA,KAC9ByB,gBAAAA,GAAmBD,2BAAAA,GAA8BvB,OAAAA,CAAQF,0BAAAA,EAA4ByB,2BAAAA;;;cC3BnFG,MAAAA,EAA8CC,QAAAA,CAArBC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