svelte-ag 0.0.2-dev.81 → 0.0.2-dev.83

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 (163) hide show
  1. package/dist/lib/components/animated/animated.svelte +16 -30
  2. package/dist/lib/components/animated/animated.svelte.d.ts +1 -1
  3. package/dist/lib/components/animated/animated.svelte.d.ts.map +1 -1
  4. package/dist/lib/components/carousel/carousel-content.svelte +5 -24
  5. package/dist/lib/components/carousel/carousel-content.svelte.d.ts +6 -1
  6. package/dist/lib/components/carousel/carousel-content.svelte.d.ts.map +1 -1
  7. package/dist/lib/components/carousel/carousel-dots.svelte +1 -3
  8. package/dist/lib/components/carousel/carousel-dots.svelte.d.ts +6 -1
  9. package/dist/lib/components/carousel/carousel-dots.svelte.d.ts.map +1 -1
  10. package/dist/lib/components/carousel/carousel-item.svelte.d.ts +6 -1
  11. package/dist/lib/components/carousel/carousel-item.svelte.d.ts.map +1 -1
  12. package/dist/lib/components/carousel/carousel-next.svelte +21 -9
  13. package/dist/lib/components/carousel/carousel-next.svelte.d.ts +21 -1
  14. package/dist/lib/components/carousel/carousel-next.svelte.d.ts.map +1 -1
  15. package/dist/lib/components/carousel/carousel-previous.svelte +21 -9
  16. package/dist/lib/components/carousel/carousel-previous.svelte.d.ts +21 -1
  17. package/dist/lib/components/carousel/carousel-previous.svelte.d.ts.map +1 -1
  18. package/dist/lib/components/carousel/carousel.svelte +21 -1
  19. package/dist/lib/components/carousel/carousel.svelte.d.ts +2 -1
  20. package/dist/lib/components/carousel/carousel.svelte.d.ts.map +1 -1
  21. package/dist/lib/components/carousel/context.d.ts +1 -0
  22. package/dist/lib/components/carousel/context.d.ts.map +1 -1
  23. package/dist/lib/components/dnd/Droppable.svelte.d.ts +8 -1
  24. package/dist/lib/components/dnd/Droppable.svelte.d.ts.map +1 -1
  25. package/dist/lib/components/dnd/dnd-context.svelte.d.ts +1 -1
  26. package/dist/lib/components/dnd/dnd-drag-overlay.svelte.d.ts +1 -1
  27. package/dist/lib/components/dnd/dnd-drag-placeholder.svelte.d.ts +1 -1
  28. package/dist/lib/components/dnd/dnd-drag-placeholder.svelte.d.ts.map +1 -1
  29. package/dist/lib/components/dnd/dnd-draghandle.svelte.d.ts +1 -1
  30. package/dist/lib/components/dnd/dnd-draghandle.svelte.d.ts.map +1 -1
  31. package/dist/lib/components/dnd/dnd-overlay.svelte.d.ts +11 -3
  32. package/dist/lib/components/dnd/dnd-overlay.svelte.d.ts.map +1 -1
  33. package/dist/lib/components/dnd/dnd-sortable-context.svelte.d.ts +1 -1
  34. package/dist/lib/components/dnd/dnd-sortable-context.svelte.d.ts.map +1 -1
  35. package/dist/lib/components/dnd/dnd-sortable-item.svelte.d.ts +1 -1
  36. package/dist/lib/components/dnd/dnd-sortable-item.svelte.d.ts.map +1 -1
  37. package/dist/lib/components/dnd/example.svelte.d.ts +1 -1
  38. package/dist/lib/components/dnd/example.svelte.d.ts.map +1 -1
  39. package/dist/lib/components/form/form-button.svelte.d.ts +2 -1
  40. package/dist/lib/components/form/form-button.svelte.d.ts.map +1 -1
  41. package/dist/lib/components/form/form-description.svelte.d.ts +2 -1
  42. package/dist/lib/components/form/form-description.svelte.d.ts.map +1 -1
  43. package/dist/lib/components/form/form-element-field.svelte.d.ts +1 -1
  44. package/dist/lib/components/form/form-field-errors.svelte.d.ts +1 -1
  45. package/dist/lib/components/form/form-field-errors.svelte.d.ts.map +1 -1
  46. package/dist/lib/components/form/form-field.svelte.d.ts +1 -1
  47. package/dist/lib/components/form/form-fieldset.svelte.d.ts +1 -1
  48. package/dist/lib/components/form/form-label.svelte.d.ts +2 -1
  49. package/dist/lib/components/form/form-label.svelte.d.ts.map +1 -1
  50. package/dist/lib/components/form/form-legend.svelte.d.ts +2 -1
  51. package/dist/lib/components/form/form-legend.svelte.d.ts.map +1 -1
  52. package/dist/lib/components/form/form.svelte.d.ts +6 -1
  53. package/dist/lib/components/form/form.svelte.d.ts.map +1 -1
  54. package/dist/lib/components/gallery/gallery.svelte +67 -0
  55. package/dist/lib/components/gallery/gallery.svelte.d.ts +35 -0
  56. package/dist/lib/components/gallery/gallery.svelte.d.ts.map +1 -0
  57. package/dist/lib/components/gallery/index.d.ts +3 -0
  58. package/dist/lib/components/gallery/index.d.ts.map +1 -0
  59. package/dist/lib/components/gallery/index.js +2 -0
  60. package/dist/lib/components/gallery/utils.d.ts +17 -0
  61. package/dist/lib/components/gallery/utils.d.ts.map +1 -0
  62. package/dist/lib/components/gallery/utils.js +94 -0
  63. package/dist/lib/components/gradient/Gradient.svelte +45 -51
  64. package/dist/lib/components/gradient/Gradient.svelte.d.ts +10 -1
  65. package/dist/lib/components/gradient/Gradient.svelte.d.ts.map +1 -1
  66. package/dist/lib/components/gradient/gradient.frag +43 -0
  67. package/dist/lib/components/safe/safe.svelte.d.ts +1 -1
  68. package/dist/lib/components/safe/safe.svelte.d.ts.map +1 -1
  69. package/dist/lib/components/search/combinations/searchPopover.svelte.d.ts +11 -1
  70. package/dist/lib/components/search/combinations/searchPopover.svelte.d.ts.map +1 -1
  71. package/dist/lib/components/search/components/search-empty.svelte.d.ts +2 -1
  72. package/dist/lib/components/search/components/search-empty.svelte.d.ts.map +1 -1
  73. package/dist/lib/components/search/components/search-input.svelte.d.ts +2 -1
  74. package/dist/lib/components/search/components/search-input.svelte.d.ts.map +1 -1
  75. package/dist/lib/components/search/components/search-list.svelte.d.ts +2 -1
  76. package/dist/lib/components/search/components/search-list.svelte.d.ts.map +1 -1
  77. package/dist/lib/components/search/components/search-pagnation.svelte.d.ts +6 -1
  78. package/dist/lib/components/search/components/search-pagnation.svelte.d.ts.map +1 -1
  79. package/dist/lib/components/search/components/search.svelte.d.ts +2 -1
  80. package/dist/lib/components/search/components/search.svelte.d.ts.map +1 -1
  81. package/dist/lib/components/sidebar/sidebar-content.svelte.d.ts +3 -1
  82. package/dist/lib/components/sidebar/sidebar-content.svelte.d.ts.map +1 -1
  83. package/dist/lib/components/sidebar/sidebar-footer.svelte.d.ts +3 -1
  84. package/dist/lib/components/sidebar/sidebar-footer.svelte.d.ts.map +1 -1
  85. package/dist/lib/components/sidebar/sidebar-group-action.svelte.d.ts +9 -1
  86. package/dist/lib/components/sidebar/sidebar-group-action.svelte.d.ts.map +1 -1
  87. package/dist/lib/components/sidebar/sidebar-group-content.svelte.d.ts +3 -1
  88. package/dist/lib/components/sidebar/sidebar-group-content.svelte.d.ts.map +1 -1
  89. package/dist/lib/components/sidebar/sidebar-group-label.svelte.d.ts +9 -1
  90. package/dist/lib/components/sidebar/sidebar-group-label.svelte.d.ts.map +1 -1
  91. package/dist/lib/components/sidebar/sidebar-group.svelte.d.ts +3 -1
  92. package/dist/lib/components/sidebar/sidebar-group.svelte.d.ts.map +1 -1
  93. package/dist/lib/components/sidebar/sidebar-header.svelte.d.ts +3 -1
  94. package/dist/lib/components/sidebar/sidebar-header.svelte.d.ts.map +1 -1
  95. package/dist/lib/components/sidebar/sidebar-input.svelte.d.ts +9 -1
  96. package/dist/lib/components/sidebar/sidebar-input.svelte.d.ts.map +1 -1
  97. package/dist/lib/components/sidebar/sidebar-inset.svelte.d.ts +3 -1
  98. package/dist/lib/components/sidebar/sidebar-inset.svelte.d.ts.map +1 -1
  99. package/dist/lib/components/sidebar/sidebar-menu-action.svelte.d.ts +10 -1
  100. package/dist/lib/components/sidebar/sidebar-menu-action.svelte.d.ts.map +1 -1
  101. package/dist/lib/components/sidebar/sidebar-menu-badge.svelte.d.ts +3 -1
  102. package/dist/lib/components/sidebar/sidebar-menu-badge.svelte.d.ts.map +1 -1
  103. package/dist/lib/components/sidebar/sidebar-menu-button.svelte.d.ts +20 -1
  104. package/dist/lib/components/sidebar/sidebar-menu-button.svelte.d.ts.map +1 -1
  105. package/dist/lib/components/sidebar/sidebar-menu-item.svelte.d.ts +3 -1
  106. package/dist/lib/components/sidebar/sidebar-menu-item.svelte.d.ts.map +1 -1
  107. package/dist/lib/components/sidebar/sidebar-menu-skeleton.svelte.d.ts +6 -1
  108. package/dist/lib/components/sidebar/sidebar-menu-skeleton.svelte.d.ts.map +1 -1
  109. package/dist/lib/components/sidebar/sidebar-menu-sub-button.svelte.d.ts +11 -1
  110. package/dist/lib/components/sidebar/sidebar-menu-sub-button.svelte.d.ts.map +1 -1
  111. package/dist/lib/components/sidebar/sidebar-menu-sub-item.svelte.d.ts +3 -1
  112. package/dist/lib/components/sidebar/sidebar-menu-sub-item.svelte.d.ts.map +1 -1
  113. package/dist/lib/components/sidebar/sidebar-menu-sub.svelte.d.ts +3 -1
  114. package/dist/lib/components/sidebar/sidebar-menu-sub.svelte.d.ts.map +1 -1
  115. package/dist/lib/components/sidebar/sidebar-menu.svelte.d.ts +3 -1
  116. package/dist/lib/components/sidebar/sidebar-menu.svelte.d.ts.map +1 -1
  117. package/dist/lib/components/sidebar/sidebar-provider.svelte.d.ts +10 -1
  118. package/dist/lib/components/sidebar/sidebar-provider.svelte.d.ts.map +1 -1
  119. package/dist/lib/components/sidebar/sidebar-rail.svelte.d.ts +6 -1
  120. package/dist/lib/components/sidebar/sidebar-rail.svelte.d.ts.map +1 -1
  121. package/dist/lib/components/sidebar/sidebar-separator.svelte.d.ts +1 -1
  122. package/dist/lib/components/sidebar/sidebar-separator.svelte.d.ts.map +1 -1
  123. package/dist/lib/components/sidebar/sidebar-trigger.svelte.d.ts +7 -1
  124. package/dist/lib/components/sidebar/sidebar-trigger.svelte.d.ts.map +1 -1
  125. package/dist/lib/components/sidebar/sidebar.svelte.d.ts +8 -1
  126. package/dist/lib/components/sidebar/sidebar.svelte.d.ts.map +1 -1
  127. package/dist/lib/components/utilities/arrow/arrow.svelte.d.ts +1 -1
  128. package/dist/lib/components/utilities/arrow/arrow.svelte.d.ts.map +1 -1
  129. package/dist/lib/components/utilities/floating-layer/components/floating-layer-anchor.svelte.d.ts +2 -1
  130. package/dist/lib/components/utilities/floating-layer/components/floating-layer-anchor.svelte.d.ts.map +1 -1
  131. package/dist/lib/components/utilities/floating-layer/components/floating-layer-arrow.svelte.d.ts +1 -1
  132. package/dist/lib/components/utilities/floating-layer/components/floating-layer-arrow.svelte.d.ts.map +1 -1
  133. package/dist/lib/components/utilities/floating-layer/components/floating-layer-content-static.svelte.d.ts +11 -1
  134. package/dist/lib/components/utilities/floating-layer/components/floating-layer-content-static.svelte.d.ts.map +1 -1
  135. package/dist/lib/components/utilities/floating-layer/components/floating-layer-content.svelte.d.ts +2 -1
  136. package/dist/lib/components/utilities/floating-layer/components/floating-layer-content.svelte.d.ts.map +1 -1
  137. package/dist/lib/components/utilities/floating-layer/components/floating-layer.svelte.d.ts +5 -1
  138. package/dist/lib/components/utilities/floating-layer/components/floating-layer.svelte.d.ts.map +1 -1
  139. package/dist/lib/styles/underline.css +10 -0
  140. package/dist/lib/utils/glsl.d.ts +4 -0
  141. package/dist/lib/utils/glsl.d.ts.map +1 -0
  142. package/dist/lib/utils/glsl.js +1 -0
  143. package/dist/lib/utils/index.d.ts +1 -0
  144. package/dist/lib/utils/index.d.ts.map +1 -1
  145. package/dist/lib/utils/index.js +1 -0
  146. package/dist/routes/+layout.svelte.d.ts +11 -3
  147. package/dist/routes/+layout.svelte.d.ts.map +1 -1
  148. package/package.json +3 -2
  149. package/src/lib/components/animated/animated.svelte +16 -30
  150. package/src/lib/components/carousel/carousel-content.svelte +5 -24
  151. package/src/lib/components/carousel/carousel-dots.svelte +1 -3
  152. package/src/lib/components/carousel/carousel-next.svelte +21 -9
  153. package/src/lib/components/carousel/carousel-previous.svelte +21 -9
  154. package/src/lib/components/carousel/carousel.svelte +21 -1
  155. package/src/lib/components/carousel/context.ts +1 -0
  156. package/src/lib/components/gallery/gallery.svelte +67 -0
  157. package/src/lib/components/gallery/index.ts +3 -0
  158. package/src/lib/components/gallery/utils.ts +103 -0
  159. package/src/lib/components/gradient/Gradient.svelte +45 -51
  160. package/src/lib/components/gradient/gradient.frag +43 -0
  161. package/src/lib/styles/underline.css +10 -0
  162. package/src/lib/utils/glsl.ts +3 -0
  163. package/src/lib/utils/index.ts +1 -0
@@ -1,4 +1,5 @@
1
- declare const FormDescription: any;
1
+ import * as FormPrimitive from "formsnap";
2
+ declare const FormDescription: import("svelte").Component<WithoutChild<FormPrimitive.DescriptionProps>, {}, "ref">;
2
3
  type FormDescription = ReturnType<typeof FormDescription>;
3
4
  export default FormDescription;
4
5
  //# sourceMappingURL=form-description.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-description.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-description.svelte.ts"],"names":[],"mappings":"AAqBA,QAAA,MAAM,eAAe,KAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"form-description.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-description.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAkB1C,QAAA,MAAM,eAAe,qFAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
@@ -3,7 +3,7 @@ declare class __sveltets_Render<T extends Record<string, unknown>, U extends For
3
3
  props(): any;
4
4
  events(): {};
5
5
  slots(): {};
6
- bindings(): any;
6
+ bindings(): "ref";
7
7
  exports(): {};
8
8
  }
9
9
  interface $$IsomorphicComponent {
@@ -1,4 +1,4 @@
1
- declare const FormFieldErrors: any;
1
+ declare const FormFieldErrors: import("svelte").Component<any, {}, "ref">;
2
2
  type FormFieldErrors = ReturnType<typeof FormFieldErrors>;
3
3
  export default FormFieldErrors;
4
4
  //# sourceMappingURL=form-field-errors.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-errors.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-field-errors.svelte.ts"],"names":[],"mappings":"AAoCA,QAAA,MAAM,eAAe,KAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"form-field-errors.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-field-errors.svelte.ts"],"names":[],"mappings":"AAoCA,QAAA,MAAM,eAAe,4CAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
@@ -3,7 +3,7 @@ declare class __sveltets_Render<T extends Record<string, unknown>, U extends For
3
3
  props(): any;
4
4
  events(): {};
5
5
  slots(): {};
6
- bindings(): any;
6
+ bindings(): "ref";
7
7
  exports(): {};
8
8
  }
9
9
  interface $$IsomorphicComponent {
@@ -4,7 +4,7 @@ declare class __sveltets_Render<T extends Record<string, unknown>, U extends For
4
4
  props(): WithoutChild<FormPrimitive.FieldsetProps<T_1, U_1, any>>;
5
5
  events(): {};
6
6
  slots(): {};
7
- bindings(): any;
7
+ bindings(): "ref";
8
8
  exports(): {};
9
9
  }
10
10
  interface $$IsomorphicComponent {
@@ -1,4 +1,5 @@
1
- declare const FormLabel: any;
1
+ import * as FormPrimitive from "formsnap";
2
+ declare const FormLabel: import("svelte").Component<WithoutChild<FormPrimitive.LabelProps>, {}, "ref">;
2
3
  type FormLabel = ReturnType<typeof FormLabel>;
3
4
  export default FormLabel;
4
5
  //# sourceMappingURL=form-label.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-label.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-label.svelte.ts"],"names":[],"mappings":"AA8BA,QAAA,MAAM,SAAS,KAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"form-label.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-label.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AA2B1C,QAAA,MAAM,SAAS,+EAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const FormLegend: any;
1
+ import * as FormPrimitive from "formsnap";
2
+ declare const FormLegend: import("svelte").Component<WithoutChild<FormPrimitive.LegendProps>, {}, "ref">;
2
3
  type FormLegend = ReturnType<typeof FormLegend>;
3
4
  export default FormLegend;
4
5
  //# sourceMappingURL=form-legend.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-legend.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-legend.svelte.ts"],"names":[],"mappings":"AAqBA,QAAA,MAAM,UAAU,KAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"form-legend.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form-legend.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAkB1C,QAAA,MAAM,UAAU,gFAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
@@ -1,8 +1,13 @@
1
1
  export type FormContext = SuperForm<any>;
2
2
  export declare function setFormContext(form: FormContext): void;
3
3
  export declare function getFormContext(): FormContext;
4
+ import type { WithElementRef } from 'bits-ui';
5
+ import type { HTMLFormAttributes } from 'svelte/elements';
4
6
  import type { SuperForm } from 'sveltekit-superforms';
5
- declare const Form: any;
7
+ type $$ComponentProps = WithElementRef<HTMLFormAttributes> & {
8
+ form: SuperForm<any>;
9
+ };
10
+ declare const Form: import("svelte").Component<$$ComponentProps, {}, "ref">;
6
11
  type Form = ReturnType<typeof Form>;
7
12
  export default Form;
8
13
  //# sourceMappingURL=form.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form.svelte.ts"],"names":[],"mappings":"AAIE,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC;AAEzC,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,QAE/C;AAED,wBAAgB,cAAc,IAAI,WAAW,CAE5C;AAOH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AA+BtD,QAAA,MAAM,IAAI,KAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"form.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/form/form.svelte.ts"],"names":[],"mappings":"AAIE,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC;AAEzC,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,QAE/C;AAED,wBAAgB,cAAc,IAAI,WAAW,CAE5C;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAErD,KAAK,gBAAgB,GAAI,cAAc,CAAC,kBAAkB,CAAC,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC,GAAG,CAAC,CAAA;CAAE,CAAC;AA6BxF,QAAA,MAAM,IAAI,yDAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
@@ -0,0 +1,67 @@
1
+ <!-- src/lib/components/pages/GALLERY.svelte -->
2
+ <script lang="ts" generics="Item">
3
+ import { onMount, type Snippet } from 'svelte';
4
+ import { containerSize, cn, type HTMLDivAttributes } from '../../utils/index.js';
5
+ import type { Size } from './utils.js';
6
+ import { packGrid, styleForSize } from './utils.js';
7
+ import type { WithElementRef } from 'bits-ui';
8
+
9
+ let {
10
+ images = $bindable(),
11
+ ref = $bindable(),
12
+ class: className,
13
+ child,
14
+ ...restProps
15
+ }: WithElementRef<HTMLDivAttributes> & {
16
+ images: { large: Item[]; medium: Item[]; small: Item[] };
17
+ child: Snippet<[{ props: { style: string }; item: Item; index: number }]>;
18
+ } = $props();
19
+
20
+ type ItemWithSize = Item & { size: Size };
21
+
22
+ let numCols = $state(4);
23
+
24
+ onMount(() => {
25
+ containerSize((size) => {
26
+ let cols = 2;
27
+ if (size.width > 640) {
28
+ cols = 3;
29
+ }
30
+ if (size.width > 768) {
31
+ cols = 4;
32
+ }
33
+ numCols = cols;
34
+ });
35
+ });
36
+
37
+ let large = $derived(images.large.map((img) => ({ ...img, size: 'L' as Size })));
38
+ let medium = $derived(images.medium.map((img) => ({ ...img, size: 'M' as Size })));
39
+ let small = $derived(images.small.map((img) => ({ ...img, size: 'S' as Size })));
40
+
41
+ // $effect.pre(() => {
42
+ // allItems = packGrid($state.snapshot(small), $state.snapshot(medium), $state.snapshot(large), numCols);
43
+ // });
44
+
45
+ let allItems = $derived(
46
+ packGrid($state.snapshot(small), $state.snapshot(medium), $state.snapshot(large), numCols)
47
+ ) as ItemWithSize[];
48
+
49
+ export { allItems };
50
+ </script>
51
+
52
+ <div
53
+ bind:this={ref}
54
+ class={cn(
55
+ `
56
+ @vsm:grid-cols-3
57
+ @vmd:grid-cols-4
58
+ grid grid-cols-2 gap-2
59
+ `,
60
+ className
61
+ )}
62
+ {...restProps}
63
+ >
64
+ {#each allItems as o, i (i)}
65
+ {@render child({ props: { style: styleForSize(o.size) }, item: o, index: i })}
66
+ {/each}
67
+ </div>
@@ -0,0 +1,35 @@
1
+ import { type Snippet } from 'svelte';
2
+ import { type HTMLDivAttributes } from '../../utils/index.js';
3
+ declare class __sveltets_Render<Item> {
4
+ props(): HTMLDivAttributes & {
5
+ ref?: HTMLElement | null | undefined;
6
+ } & {
7
+ images: {
8
+ large: Item[];
9
+ medium: Item[];
10
+ small: Item[];
11
+ };
12
+ child: Snippet<[{
13
+ props: {
14
+ style: string;
15
+ };
16
+ item: Item;
17
+ index: number;
18
+ }]>;
19
+ };
20
+ events(): {};
21
+ slots(): {};
22
+ bindings(): "ref" | "images";
23
+ exports(): {};
24
+ }
25
+ interface $$IsomorphicComponent {
26
+ new <Item>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<Item>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<Item>['props']>, ReturnType<__sveltets_Render<Item>['events']>, ReturnType<__sveltets_Render<Item>['slots']>> & {
27
+ $$bindings?: ReturnType<__sveltets_Render<Item>['bindings']>;
28
+ } & ReturnType<__sveltets_Render<Item>['exports']>;
29
+ <Item>(internal: unknown, props: ReturnType<__sveltets_Render<Item>['props']> & {}): ReturnType<__sveltets_Render<Item>['exports']>;
30
+ z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
31
+ }
32
+ declare const Gallery: $$IsomorphicComponent;
33
+ type Gallery<Item> = InstanceType<typeof Gallery<Item>>;
34
+ export default Gallery;
35
+ //# sourceMappingURL=gallery.svelte.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/gallery/gallery.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EAAW,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAuE5E,cAAM,iBAAiB,CAAC,IAAI;IACxB,KAAK;;;;;;;;;;uBA5D6B,MAAM;;;mBAAuB,MAAM;;;IA+DrE,MAAM;IAGN,KAAK;IAGL,QAAQ;IACR,OAAO;CACV;AAED,UAAU,qBAAqB;IAC3B,KAAK,IAAI,EAAE,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAA;KAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IACjZ,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IACpI,YAAY,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;CACjE;AACD,QAAA,MAAM,OAAO,EAAE,qBAAmC,CAAC;AACjC,KAAK,OAAO,CAAC,IAAI,IAAI,YAAY,CAAC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1D,eAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import Gallery from './gallery.svelte';
2
+ export { Gallery };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/gallery/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ import Gallery from './gallery.svelte';
2
+ export { Gallery };
@@ -0,0 +1,17 @@
1
+ export type Size = 'S' | 'M' | 'L';
2
+ /**
3
+ * Gets the style statement for a particular size
4
+ */
5
+ export declare function styleForSize(size: Size): string;
6
+ /**
7
+ * Packs images of different sizes into a grid layout
8
+ * @param small Array of small-sized items to place in grid
9
+ * @param medium Array of medium-sized items to place in grid
10
+ * @param large Array of large-sized items to place in grid
11
+ * @param cols Number of columns in the grid
12
+ * @returns Array of items arranged in optimal grid order
13
+ */
14
+ export declare function packGrid<Item extends {
15
+ size: Size;
16
+ }>(small: Item[], medium: Item[], large: Item[], cols?: number): Item[];
17
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/gallery/utils.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AASnC;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,UAEtC;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,IAAI,SAAS;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,IAAI,SAAI,GAAG,IAAI,EAAE,CA8EpH"}
@@ -0,0 +1,94 @@
1
+ const w = { S: 1, M: 1, L: 2 };
2
+ const h = { S: 1, M: 2, L: 3 };
3
+ function imageSize(size) {
4
+ return [w[size], h[size]];
5
+ }
6
+ /**
7
+ * Gets the style statement for a particular size
8
+ */
9
+ export function styleForSize(size) {
10
+ return `grid-column: span ${imageSize(size)[0]}; grid-row: span ${imageSize(size)[1]};`;
11
+ }
12
+ /**
13
+ * Packs images of different sizes into a grid layout
14
+ * @param small Array of small-sized items to place in grid
15
+ * @param medium Array of medium-sized items to place in grid
16
+ * @param large Array of large-sized items to place in grid
17
+ * @param cols Number of columns in the grid
18
+ * @returns Array of items arranged in optimal grid order
19
+ */
20
+ export function packGrid(small, medium, large, cols = 4) {
21
+ const result = [];
22
+ // Create a 2D grid to track occupied cells (32 rows max, adjustable column width)
23
+ const occ = Array.from({ length: 32 }, () => Array(cols).fill(false));
24
+ let r = 0, // Current row
25
+ c = 0, // Current column
26
+ lastSize = null; // Track last placed item size for variety
27
+ // Check if we still have any items to place
28
+ const hasStock = () => small.length || medium.length || large.length;
29
+ // Organize items by size for easy access
30
+ const pool = { S: small, M: medium, L: large };
31
+ // Dynamic preference ordering strategy for visual variety
32
+ // After placing one size, prefer different sizes next for better distribution
33
+ const pref = (prev) => {
34
+ if (prev === 'L')
35
+ return ['S', 'M', 'L']; // After large, prefer small
36
+ if (prev === 'S')
37
+ return ['L', 'M', 'S']; // After small, prefer large
38
+ if (prev === 'M')
39
+ return ['S', 'L', 'M']; // After medium, prefer small
40
+ return ['L', 'M', 'S']; // Initial preference (start with large items)
41
+ };
42
+ while (hasStock()) {
43
+ // Skip already occupied cells
44
+ while (occ[r]?.[c]) {
45
+ // Move to next row if end of column reached
46
+ if (++c === cols) {
47
+ c = 0;
48
+ r++;
49
+ }
50
+ }
51
+ // Check if item of given size can fit at current position
52
+ const fits = (size) => {
53
+ // Check if item would extend beyond right edge
54
+ if (c + w[size] > cols)
55
+ return false;
56
+ // Check if all required cells are unoccupied
57
+ for (let y = 0; y < h[size]; y++)
58
+ for (let x = 0; x < w[size]; x++)
59
+ if (occ[r + y]?.[c + x])
60
+ return false;
61
+ return true;
62
+ };
63
+ let chosen;
64
+ // Try to place items in preferred size order
65
+ for (const sz of pref(lastSize)) {
66
+ if (pool[sz].length && fits(sz)) {
67
+ chosen = pool[sz].shift();
68
+ break;
69
+ }
70
+ }
71
+ if (!chosen) {
72
+ // If no item fits at current position, move to next cell
73
+ if (++c === cols) {
74
+ c = 0;
75
+ r++;
76
+ }
77
+ continue;
78
+ }
79
+ // Mark grid cells as occupied based on item dimensions
80
+ const sx = w[chosen.size], sy = h[chosen.size];
81
+ for (let y = 0; y < sy; y++)
82
+ for (let x = 0; x < sx; x++)
83
+ occ[r + y][c + x] = true;
84
+ result.push(chosen);
85
+ lastSize = chosen.size; // Remember this size for next preference calculation
86
+ c += sx; // Move cursor past the placed item
87
+ // Move to next row if needed
88
+ if (c === cols) {
89
+ c = 0;
90
+ r++;
91
+ }
92
+ }
93
+ return result;
94
+ }
@@ -1,66 +1,60 @@
1
1
  <script lang="ts">
2
2
  import { WebGlShader } from 'svader';
3
+ import type { Vec2, Vec4 } from '../../utils/glsl.js';
4
+ import fragment from './gradient.frag?raw';
5
+ import { cn } from '../../utils';
6
+ import type { BitsPrimitiveDivAttributes } from 'bits-ui';
3
7
 
4
8
  let {
9
+ class: className,
5
10
  center,
6
11
  edge,
7
12
  noise,
8
- centerPos = ['0.5', '0.5'],
9
- radius = ['1.0', '1.0']
10
- }: { center: string; edge: string; noise: string; centerPos: [string, string]; radius: [string, string] } = $props();
13
+ centerPos = [0.5, 0.5],
14
+ radius = [1.0, 1.0]
15
+ }: BitsPrimitiveDivAttributes & {
16
+ center: Vec4;
17
+ edge: Vec4;
18
+ noise: number;
19
+ centerPos?: Vec2;
20
+ radius?: Vec2;
21
+ } = $props();
11
22
 
12
- const shaderCode = `#version 300 es
13
-
14
- precision highp float;
15
-
16
- out vec4 fragColor;
17
-
18
- uniform vec2 u_resolution;
19
- uniform vec2 u_offset;
20
-
21
- // Pseudo-random number between 0 and 1 generator
22
- float dither(vec2 pos) {
23
- return fract(sin(dot(pos, vec2(12.9898, 78.233))) * 43758.5453);
23
+ function toRgba(color: Vec4): string {
24
+ const [r, g, b, a] = color.map((c) => Math.round(c * 255));
25
+ return `rgba(${r}, ${g}, ${b}, ${color[3].toFixed(3)})`;
24
26
  }
25
-
26
- void main() {
27
- vec2 fragPos = gl_FragCoord.xy + u_offset;
28
27
 
29
- vec2 centerPx = vec2(${centerPos.join()}) * u_resolution;
30
- vec2 radiusPx = vec2(${radius.join()}) * u_resolution;
28
+ let fallbackBackground = $derived.by(() => {
29
+ // Convert Vec4 colors to rgba() CSS strings
30
+ const centerColorRgba = toRgba(center);
31
+ const edgeColorRgba = toRgba(edge);
31
32
 
32
- // Calculate distance from the center of the canvas
33
- float d = distance(fragPos, u_resolution / 2.0);
33
+ const posX = centerPos[0] * 100;
34
+ const posY = centerPos[1] * 100;
34
35
 
35
- // Calculate max distance from center to corner of the canvas
36
- float maxDist = length(u_resolution / 2.0);
37
- // float t = d / maxDist;
36
+ const sizeX = radius[0] * 100;
37
+ const sizeY = radius[1] * 100;
38
38
 
39
- // compute “stretched” distance
40
- vec2 diff = fragPos - centerPx;
41
- vec2 norm = diff / radiusPx;
42
- float t = length(norm);
43
-
44
- // Dither strength (1/255 ~ 8-bit step size)
45
- float noise = (dither(gl_FragCoord.xy) - 0.5) * ( ${noise} / 255.0);
46
-
47
- vec4 c1 = vec4(${center}); // center
48
- vec4 c2 = vec4(${edge}); // edge
49
-
50
- fragColor = mix(c1, c2, clamp(t + noise, 0.0, 1.0));
51
- }
52
-
53
- `;
39
+ return `radial-gradient(ellipse ${sizeX}% ${sizeY}% at ${posX}% ${posY}%, ${centerColorRgba}, ${edgeColorRgba})`;
40
+ });
54
41
  </script>
55
42
 
56
- <WebGlShader
57
- width="100%"
58
- height="100%"
59
- code={shaderCode}
60
- parameters={[
61
- { name: 'u_resolution', value: 'resolution' },
62
- { name: 'u_offset', value: 'offset' }
63
- ]}
64
- >
65
- <div class="fallback">WebGL not supported in this environment.</div>
66
- </WebGlShader>
43
+ <div class={cn('h-full w-full', className)}>
44
+ <WebGlShader
45
+ width="100%"
46
+ height="100%"
47
+ code={fragment}
48
+ parameters={[
49
+ { name: 'u_resolution', value: 'resolution' },
50
+ { name: 'u_offset', value: 'offset' },
51
+ { name: 'u_centerPos', type: 'vec2', value: centerPos },
52
+ { name: 'u_radius', type: 'vec2', value: radius },
53
+ { name: 'u_noise', type: 'float', value: noise },
54
+ { name: 'u_centerColor', type: 'vec4', value: center },
55
+ { name: 'u_edgeColor', type: 'vec4', value: edge }
56
+ ]}
57
+ >
58
+ <div style="background: {fallbackBackground};" class="fallback size-full"></div>
59
+ </WebGlShader>
60
+ </div>
@@ -1,4 +1,13 @@
1
- declare const Gradient: any;
1
+ import type { Vec2, Vec4 } from '../../utils/glsl.js';
2
+ import type { BitsPrimitiveDivAttributes } from 'bits-ui';
3
+ type $$ComponentProps = BitsPrimitiveDivAttributes & {
4
+ center: Vec4;
5
+ edge: Vec4;
6
+ noise: number;
7
+ centerPos?: Vec2;
8
+ radius?: Vec2;
9
+ };
10
+ declare const Gradient: import("svelte").Component<$$ComponentProps, {}, "">;
2
11
  type Gradient = ReturnType<typeof Gradient>;
3
12
  export default Gradient;
4
13
  //# sourceMappingURL=Gradient.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Gradient.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/gradient/Gradient.svelte.ts"],"names":[],"mappings":"AAsEA,QAAA,MAAM,QAAQ,KAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Gradient.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/gradient/Gradient.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEzD,KAAK,gBAAgB,GAAI,0BAA0B,GAAG;IACnD,MAAM,EAAE,IAAI,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAqDJ,QAAA,MAAM,QAAQ,sDAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,43 @@
1
+ #version 300 es
2
+
3
+ precision highp float;
4
+
5
+ out vec4 fragColor;
6
+
7
+ uniform vec2 u_resolution;
8
+ uniform vec2 u_offset;
9
+
10
+ uniform vec2 u_centerPos;
11
+ uniform vec2 u_radius;
12
+ uniform float u_noise;
13
+ uniform vec4 u_centerColor;
14
+ uniform vec4 u_edgeColor;
15
+
16
+ // Pseudo-random number between 0 and 1 generator
17
+ float dither(vec2 pos) {
18
+ return fract(sin(dot(pos, vec2(12.9898, 78.233))) * 43758.5453);
19
+ }
20
+
21
+ void main() {
22
+ vec2 fragPos = gl_FragCoord.xy + u_offset;
23
+
24
+ vec2 centerPx = u_centerPos * u_resolution;
25
+ vec2 radiusPx = u_radius * u_resolution;
26
+
27
+ // Calculate distance from the center of the canvas
28
+ float d = distance(fragPos, u_resolution / 2.0);
29
+
30
+ // Calculate max distance from center to corner of the canvas
31
+ float maxDist = length(u_resolution / 2.0);
32
+ // float t = d / maxDist;
33
+
34
+ // compute “stretched” distance
35
+ vec2 diff = fragPos - centerPx;
36
+ vec2 norm = diff / radiusPx;
37
+ float t = length(norm);
38
+
39
+ // Dither strength (1/255 ~ 8-bit step size)
40
+ float noise = (dither(gl_FragCoord.xy) - 0.5) * (u_noise / 255.0);
41
+
42
+ fragColor = mix(u_centerColor, u_edgeColor, clamp(t + noise, 0.0, 1.0));
43
+ }
@@ -3,7 +3,7 @@ import type { WithElementRef } from 'svelte-toolbelt';
3
3
  export type Props = WithElementRef<HTMLDivAttributes> & {
4
4
  links?: boolean;
5
5
  };
6
- declare const Safe: any;
6
+ declare const Safe: import("svelte").Component<Props, {}, "">;
7
7
  type Safe = ReturnType<typeof Safe>;
8
8
  export default Safe;
9
9
  //# sourceMappingURL=safe.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"safe.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/safe/safe.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EAAM,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpD,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG;IACtD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAqBJ,QAAA,MAAM,IAAI,KAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"safe.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/safe/safe.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EAAM,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpD,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG;IACtD,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAqBJ,QAAA,MAAM,IAAI,2CAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
@@ -7,7 +7,17 @@ export type SearchPopoverProps = {
7
7
  } & Omit<PopoverTriggerProps, 'value'>;
8
8
  import { Search } from '../index.js';
9
9
  import type { PopoverTriggerProps } from 'bits-ui';
10
- declare const SearchPopover: any;
10
+ declare const SearchPopover: import("svelte").Component<SearchPopoverProps, {
11
+ focus: () => void;
12
+ searchPagnation: ({
13
+ $on?(type: string, callback: (e: any) => void): () => void;
14
+ $set?(props: Partial<Search.PagnationProps>): void;
15
+ } & {
16
+ activeItems: (import("../types.js").Item & {
17
+ score?: number;
18
+ })[];
19
+ }) | null;
20
+ }, "value" | "perPage">;
11
21
  type SearchPopover = ReturnType<typeof SearchPopover>;
12
22
  export default SearchPopover;
13
23
  //# sourceMappingURL=searchPopover.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"searchPopover.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/combinations/searchPopover.svelte.ts"],"names":[],"mappings":"AAGE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;CACrC,GAAG,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;AAGzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA0DnD,QAAA,MAAM,aAAa,KAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"searchPopover.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/combinations/searchPopover.svelte.ts"],"names":[],"mappings":"AAGE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;CACrC,GAAG,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;AAGzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA0DnD,QAAA,MAAM,aAAa;;;;;;;;;;uBAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const SearchEmpty: any;
1
+ import type { SearchEmptyProps } from '../types';
2
+ declare const SearchEmpty: import("svelte").Component<SearchEmptyProps, {}, "ref">;
2
3
  type SearchEmpty = ReturnType<typeof SearchEmpty>;
3
4
  export default SearchEmpty;
4
5
  //# sourceMappingURL=search-empty.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-empty.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-empty.svelte.ts"],"names":[],"mappings":"AAwCA,QAAA,MAAM,WAAW,KAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"search-empty.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-empty.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAoCjD,QAAA,MAAM,WAAW,yDAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const SearchInput: any;
1
+ import type { SearchInputProps } from '../types';
2
+ declare const SearchInput: import("svelte").Component<SearchInputProps, {}, "value" | "ref">;
2
3
  type SearchInput = ReturnType<typeof SearchInput>;
3
4
  export default SearchInput;
4
5
  //# sourceMappingURL=search-input.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-input.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-input.svelte.ts"],"names":[],"mappings":"AA2DA,QAAA,MAAM,WAAW,KAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"search-input.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-input.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAuDjD,QAAA,MAAM,WAAW,mEAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const SearchList: any;
1
+ import type { SearchListProps } from '../types';
2
+ declare const SearchList: import("svelte").Component<SearchListProps, {}, "ref">;
2
3
  type SearchList = ReturnType<typeof SearchList>;
3
4
  export default SearchList;
4
5
  //# sourceMappingURL=search-list.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-list.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-list.svelte.ts"],"names":[],"mappings":"AAuDA,QAAA,MAAM,UAAU,KAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"search-list.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-list.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAmDhD,QAAA,MAAM,UAAU,wDAAwC,CAAC;AACzD,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC"}
@@ -1,4 +1,9 @@
1
- declare const SearchPagnation: any;
1
+ import type { SearchPagnationProps } from '../types';
2
+ declare const SearchPagnation: import("svelte").Component<SearchPagnationProps, {
3
+ activeItems: (import("../types").Item & {
4
+ score?: number;
5
+ })[];
6
+ }, "page" | "ref" | "perPage">;
2
7
  type SearchPagnation = ReturnType<typeof SearchPagnation>;
3
8
  export default SearchPagnation;
4
9
  //# sourceMappingURL=search-pagnation.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-pagnation.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-pagnation.svelte.ts"],"names":[],"mappings":"AAiFA,QAAA,MAAM,eAAe,KAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"search-pagnation.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/search/components/search-pagnation.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AA6ErD,QAAA,MAAM,eAAe;;;;8BAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
@@ -1,4 +1,5 @@
1
- declare const Search: any;
1
+ import type { SearchProps } from '../types';
2
+ declare const Search: import("svelte").Component<SearchProps, {}, "value" | "ref" | "items" | "searchWith">;
2
3
  type Search = ReturnType<typeof Search>;
3
4
  export default Search;
4
5
  //# sourceMappingURL=search.svelte.d.ts.map