@prosekit/svelte 0.5.5 → 0.6.1

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 (114) hide show
  1. package/dist/build/components/autocomplete/autocomplete-empty.gen.svelte.d.ts +27 -16
  2. package/dist/build/components/autocomplete/autocomplete-empty.gen.svelte.d.ts.map +1 -1
  3. package/dist/build/components/autocomplete/autocomplete-item.gen.svelte.d.ts +27 -16
  4. package/dist/build/components/autocomplete/autocomplete-item.gen.svelte.d.ts.map +1 -1
  5. package/dist/build/components/autocomplete/autocomplete-list.gen.svelte.d.ts +27 -16
  6. package/dist/build/components/autocomplete/autocomplete-list.gen.svelte.d.ts.map +1 -1
  7. package/dist/build/components/autocomplete/autocomplete-popover.gen.svelte.d.ts +27 -16
  8. package/dist/build/components/autocomplete/autocomplete-popover.gen.svelte.d.ts.map +1 -1
  9. package/dist/build/components/block-handle/block-handle-add.gen.svelte.d.ts +27 -16
  10. package/dist/build/components/block-handle/block-handle-add.gen.svelte.d.ts.map +1 -1
  11. package/dist/build/components/block-handle/block-handle-draggable.gen.svelte.d.ts +27 -16
  12. package/dist/build/components/block-handle/block-handle-draggable.gen.svelte.d.ts.map +1 -1
  13. package/dist/build/components/block-handle/block-handle-popover.gen.svelte.d.ts +27 -16
  14. package/dist/build/components/block-handle/block-handle-popover.gen.svelte.d.ts.map +1 -1
  15. package/dist/build/components/client-update/client-update.svelte.d.ts +18 -14
  16. package/dist/build/components/client-update/client-update.svelte.d.ts.map +1 -1
  17. package/dist/build/components/create-props.d.ts.map +1 -1
  18. package/dist/build/components/inline-popover/inline-popover.gen.svelte.d.ts +27 -16
  19. package/dist/build/components/inline-popover/inline-popover.gen.svelte.d.ts.map +1 -1
  20. package/dist/build/components/mark-view-consumer/index.d.ts +6 -0
  21. package/dist/build/components/mark-view-consumer/index.d.ts.map +1 -0
  22. package/dist/build/components/mark-view-consumer/index.js +5 -0
  23. package/dist/build/components/mark-view-consumer/mark-view-consumer.svelte +15 -0
  24. package/dist/build/components/mark-view-consumer/mark-view-consumer.svelte.d.ts +21 -0
  25. package/dist/build/components/mark-view-consumer/mark-view-consumer.svelte.d.ts.map +1 -0
  26. package/dist/build/components/mark-view-wrapper/index.d.ts +4 -0
  27. package/dist/build/components/mark-view-wrapper/index.d.ts.map +1 -0
  28. package/dist/build/components/mark-view-wrapper/index.js +2 -0
  29. package/dist/build/components/mark-view-wrapper/mark-view-wrapper.svelte +17 -0
  30. package/dist/build/components/mark-view-wrapper/mark-view-wrapper.svelte.d.ts +5 -0
  31. package/dist/build/components/mark-view-wrapper/mark-view-wrapper.svelte.d.ts.map +1 -0
  32. package/dist/build/components/mark-view-wrapper/props.d.ts +6 -0
  33. package/dist/build/components/mark-view-wrapper/props.d.ts.map +1 -0
  34. package/dist/build/components/node-view-consumer/index.d.ts +2 -2
  35. package/dist/build/components/node-view-consumer/index.d.ts.map +1 -1
  36. package/dist/build/components/node-view-consumer/node-view-consumer.svelte +1 -1
  37. package/dist/build/components/node-view-consumer/node-view-consumer.svelte.d.ts +18 -14
  38. package/dist/build/components/node-view-consumer/node-view-consumer.svelte.d.ts.map +1 -1
  39. package/dist/build/components/node-view-wrapper/index.d.ts +3 -5
  40. package/dist/build/components/node-view-wrapper/index.d.ts.map +1 -1
  41. package/dist/build/components/node-view-wrapper/node-view-wrapper.svelte +5 -5
  42. package/dist/build/components/node-view-wrapper/node-view-wrapper.svelte.d.ts +4 -18
  43. package/dist/build/components/node-view-wrapper/node-view-wrapper.svelte.d.ts.map +1 -1
  44. package/dist/build/components/node-view-wrapper/props.d.ts +6 -0
  45. package/dist/build/components/node-view-wrapper/props.d.ts.map +1 -0
  46. package/dist/build/components/node-view-wrapper/props.js +1 -0
  47. package/dist/build/components/popover/popover-content.gen.svelte.d.ts +27 -16
  48. package/dist/build/components/popover/popover-content.gen.svelte.d.ts.map +1 -1
  49. package/dist/build/components/popover/popover-root.gen.svelte.d.ts +27 -16
  50. package/dist/build/components/popover/popover-root.gen.svelte.d.ts.map +1 -1
  51. package/dist/build/components/popover/popover-trigger.gen.svelte.d.ts +27 -16
  52. package/dist/build/components/popover/popover-trigger.gen.svelte.d.ts.map +1 -1
  53. package/dist/build/components/prosekit/index.d.ts.map +1 -1
  54. package/dist/build/components/prosekit/prosekit.svelte +2 -0
  55. package/dist/build/components/prosekit/prosekit.svelte.d.ts +27 -16
  56. package/dist/build/components/prosekit/prosekit.svelte.d.ts.map +1 -1
  57. package/dist/build/components/resizable/resizable-handle.gen.svelte.d.ts +27 -16
  58. package/dist/build/components/resizable/resizable-handle.gen.svelte.d.ts.map +1 -1
  59. package/dist/build/components/resizable/resizable-root.gen.svelte.d.ts +27 -16
  60. package/dist/build/components/resizable/resizable-root.gen.svelte.d.ts.map +1 -1
  61. package/dist/build/components/table-handle/table-handle-column-root.gen.svelte.d.ts +27 -16
  62. package/dist/build/components/table-handle/table-handle-column-root.gen.svelte.d.ts.map +1 -1
  63. package/dist/build/components/table-handle/table-handle-column-trigger.gen.svelte.d.ts +27 -16
  64. package/dist/build/components/table-handle/table-handle-column-trigger.gen.svelte.d.ts.map +1 -1
  65. package/dist/build/components/table-handle/table-handle-popover-content.gen.svelte.d.ts +27 -16
  66. package/dist/build/components/table-handle/table-handle-popover-content.gen.svelte.d.ts.map +1 -1
  67. package/dist/build/components/table-handle/table-handle-popover-item.gen.svelte.d.ts +27 -16
  68. package/dist/build/components/table-handle/table-handle-popover-item.gen.svelte.d.ts.map +1 -1
  69. package/dist/build/components/table-handle/table-handle-root.gen.svelte.d.ts +27 -16
  70. package/dist/build/components/table-handle/table-handle-root.gen.svelte.d.ts.map +1 -1
  71. package/dist/build/components/table-handle/table-handle-row-root.gen.svelte.d.ts +27 -16
  72. package/dist/build/components/table-handle/table-handle-row-root.gen.svelte.d.ts.map +1 -1
  73. package/dist/build/components/table-handle/table-handle-row-trigger.gen.svelte.d.ts +27 -16
  74. package/dist/build/components/table-handle/table-handle-row-trigger.gen.svelte.d.ts.map +1 -1
  75. package/dist/build/components/tooltip/tooltip-content.gen.svelte.d.ts +27 -16
  76. package/dist/build/components/tooltip/tooltip-content.gen.svelte.d.ts.map +1 -1
  77. package/dist/build/components/tooltip/tooltip-root.gen.svelte.d.ts +27 -16
  78. package/dist/build/components/tooltip/tooltip-root.gen.svelte.d.ts.map +1 -1
  79. package/dist/build/components/tooltip/tooltip-trigger.gen.svelte.d.ts +27 -16
  80. package/dist/build/components/tooltip/tooltip-trigger.gen.svelte.d.ts.map +1 -1
  81. package/dist/build/contexts/editor-context.d.ts.map +1 -1
  82. package/dist/build/contexts/editor-context.js +2 -2
  83. package/dist/build/extensions/svelte-mark-view.d.ts +33 -0
  84. package/dist/build/extensions/svelte-mark-view.d.ts.map +1 -0
  85. package/dist/build/extensions/svelte-mark-view.js +40 -0
  86. package/dist/build/extensions/svelte-node-view.d.ts +33 -0
  87. package/dist/build/extensions/svelte-node-view.d.ts.map +1 -0
  88. package/dist/build/{node-view/define-svelte-node-view.js → extensions/svelte-node-view.js} +10 -6
  89. package/dist/build/hooks/use-doc-change.d.ts.map +1 -1
  90. package/dist/build/hooks/use-doc-change.js +1 -1
  91. package/dist/build/hooks/use-editor-extension.d.ts.map +1 -1
  92. package/dist/build/hooks/use-editor.d.ts.map +1 -1
  93. package/dist/build/hooks/use-editor.js +2 -2
  94. package/dist/build/hooks/use-extension.d.ts +1 -1
  95. package/dist/build/hooks/use-extension.d.ts.map +1 -1
  96. package/dist/build/hooks/use-keymap.d.ts.map +1 -1
  97. package/dist/build/hooks/use-keymap.js +3 -3
  98. package/dist/build/hooks/use-priority-extension.d.ts +1 -1
  99. package/dist/build/hooks/use-priority-extension.d.ts.map +1 -1
  100. package/dist/build/hooks/use-priority-extension.js +2 -2
  101. package/dist/build/hooks/use-state-update.d.ts.map +1 -1
  102. package/dist/build/hooks/use-state-update.js +1 -1
  103. package/dist/build/index.d.ts +4 -4
  104. package/dist/build/index.d.ts.map +1 -1
  105. package/dist/build/index.js +4 -3
  106. package/package.json +11 -10
  107. package/dist/build/node-view/define-svelte-node-view-factory.d.ts +0 -4
  108. package/dist/build/node-view/define-svelte-node-view-factory.d.ts.map +0 -1
  109. package/dist/build/node-view/define-svelte-node-view-factory.js +0 -7
  110. package/dist/build/node-view/define-svelte-node-view.d.ts +0 -9
  111. package/dist/build/node-view/define-svelte-node-view.d.ts.map +0 -1
  112. package/dist/build/node-view/types.d.ts +0 -38
  113. package/dist/build/node-view/types.d.ts.map +0 -1
  114. /package/dist/build/{node-view/types.js → components/mark-view-wrapper/props.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/components/mark-view-wrapper/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAE5E,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAA;CAC3C"}
@@ -1,6 +1,6 @@
1
- import type { SvelteComponent } from 'svelte';
1
+ import type { Component } from 'svelte';
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export declare const NodeViewConsumer: typeof SvelteComponent<Record<string, never>>;
5
+ export declare const NodeViewConsumer: Component<Record<string, never>>;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-consumer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAI7C;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAW,OAAO,eAAe,CAC5D,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CACtB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-consumer/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAIvC;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAW,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAA"}
@@ -4,8 +4,8 @@ import {
4
4
  type NodeViewFactory,
5
5
  } from '@prosemirror-adapter/svelte'
6
6
  import { readable } from 'svelte/store'
7
+ import { defineSvelteNodeViewFactory } from '../../extensions/svelte-node-view'
7
8
  import { useExtension } from '../../hooks/use-extension'
8
- import { defineSvelteNodeViewFactory } from '../../node-view/define-svelte-node-view-factory'
9
9
 
10
10
  const nodeViewFactory: NodeViewFactory = useNodeViewFactory()
11
11
  const extension = defineSvelteNodeViewFactory(nodeViewFactory)
@@ -1,17 +1,21 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: Record<string, never>;
4
- events: {
5
- [evt: string]: CustomEvent<any>;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
6
11
  };
7
- slots: {
8
- default: {};
9
- };
10
- };
11
- export type NodeViewConsumerProps = typeof __propDef.props;
12
- export type NodeViewConsumerEvents = typeof __propDef.events;
13
- export type NodeViewConsumerSlots = typeof __propDef.slots;
14
- export default class NodeViewConsumer extends SvelteComponentTyped<NodeViewConsumerProps, NodeViewConsumerEvents, NodeViewConsumerSlots> {
12
+ z_$$bindings?: Bindings;
15
13
  }
16
- export {};
14
+ declare const NodeViewConsumer: $$__sveltets_2_IsomorphicComponent<any, {
15
+ [evt: string]: CustomEvent<any>;
16
+ }, {
17
+ default: {};
18
+ }, {}, string>;
19
+ type NodeViewConsumer = InstanceType<typeof NodeViewConsumer>;
20
+ export default NodeViewConsumer;
17
21
  //# sourceMappingURL=node-view-consumer.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node-view-consumer.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-consumer/node-view-consumer.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAwBD,QAAA,MAAM,SAAS;;;;;;;;CAAwC,CAAC;AACxD,MAAM,MAAM,qBAAqB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC3D,MAAM,MAAM,sBAAsB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC7D,MAAM,MAAM,qBAAqB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE3D,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,oBAAoB,CAAC,qBAAqB,EAAE,sBAAsB,EAAE,qBAAqB,CAAC;CACvI"}
1
+ {"version":3,"file":"node-view-consumer.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-consumer/node-view-consumer.svelte.ts"],"names":[],"mappings":"AA0BA,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IACtG,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AAUD,QAAA,MAAM,gBAAgB;;;;cAAmF,CAAC;AACxF,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAChE,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,4 @@
1
- import type { SvelteComponent } from 'svelte';
2
- import type { SvelteNodeViewComponent } from '../../node-view/types';
3
- export declare const NodeViewWrapper: typeof SvelteComponent<{
4
- component: SvelteNodeViewComponent;
5
- }>;
1
+ import type { Component } from 'svelte';
2
+ import type { NodeViewWrapperProps } from './props';
3
+ export declare const NodeViewWrapper: Component<NodeViewWrapperProps>;
6
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-wrapper/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAIpE,eAAO,MAAM,eAAe,EACmB,OAAO,eAAe,CAAC;IAClE,SAAS,EAAE,uBAAuB,CAAA;CACnC,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-wrapper/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAGvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEnD,eAAO,MAAM,eAAe,EAAW,SAAS,CAAC,oBAAoB,CAAC,CAAA"}
@@ -1,9 +1,9 @@
1
1
  <script lang="ts">
2
2
  import { useNodeViewContext } from '@prosemirror-adapter/svelte'
3
- import type { SvelteNodeViewProps } from '../../node-view/types'
4
- import type { SvelteComponent } from 'svelte'
3
+ import type { SvelteNodeViewProps } from '../../extensions/svelte-node-view'
4
+ import type { NodeViewWrapperProps } from './props'
5
5
 
6
- export let component: SvelteComponent<SvelteNodeViewProps> | undefined
6
+ const { component: NodeViewComponent }: NodeViewWrapperProps = $props()
7
7
 
8
8
  const nodeViewProps: SvelteNodeViewProps = {
9
9
  contentRef: useNodeViewContext('contentRef'),
@@ -17,6 +17,6 @@ const nodeViewProps: SvelteNodeViewProps = {
17
17
  }
18
18
  </script>
19
19
 
20
- {#if component}
21
- <svelte:component this={component} {...nodeViewProps} />
20
+ {#if NodeViewComponent}
21
+ <NodeViewComponent {...nodeViewProps} />
22
22
  {/if}
@@ -1,19 +1,5 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- import type { SvelteNodeViewProps } from '../../node-view/types';
3
- import type { SvelteComponent } from 'svelte';
4
- declare const __propDef: {
5
- props: {
6
- component: SvelteComponent<SvelteNodeViewProps> | undefined;
7
- };
8
- events: {
9
- [evt: string]: CustomEvent<any>;
10
- };
11
- slots: {};
12
- };
13
- export type NodeViewWrapperProps = typeof __propDef.props;
14
- export type NodeViewWrapperEvents = typeof __propDef.events;
15
- export type NodeViewWrapperSlots = typeof __propDef.slots;
16
- export default class NodeViewWrapper extends SvelteComponentTyped<NodeViewWrapperProps, NodeViewWrapperEvents, NodeViewWrapperSlots> {
17
- }
18
- export {};
1
+ import type { NodeViewWrapperProps } from './props';
2
+ declare const NodeViewWrapper: import("svelte").Component<NodeViewWrapperProps, {}, "">;
3
+ type NodeViewWrapper = ReturnType<typeof NodeViewWrapper>;
4
+ export default NodeViewWrapper;
19
5
  //# sourceMappingURL=node-view-wrapper.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node-view-wrapper.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-wrapper/node-view-wrapper.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AAED,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AA2B7C,QAAA,MAAM,SAAS;;mBADuC,eAAe,CAAC,mBAAmB,CAAC,GAAG,SAAS;;;;;;CAC/C,CAAC;AACxD,MAAM,MAAM,oBAAoB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC1D,MAAM,MAAM,qBAAqB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC5D,MAAM,MAAM,oBAAoB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,oBAAoB,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC;CACnI"}
1
+ {"version":3,"file":"node-view-wrapper.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-wrapper/node-view-wrapper.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA2BpD,QAAA,MAAM,eAAe,0DAAsC,CAAC;AAC5D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Component } from 'svelte';
2
+ import type { SvelteNodeViewProps } from '../../extensions/svelte-node-view';
3
+ export interface NodeViewWrapperProps {
4
+ component?: Component<SvelteNodeViewProps>;
5
+ }
6
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/components/node-view-wrapper/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAE5E,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAA;CAC3C"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import '@prosekit/web/popover';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type PopoverContentProps = typeof __propDef.props;
15
- export type PopoverContentEvents = typeof __propDef.events;
16
- export type PopoverContentSlots = typeof __propDef.slots;
17
- export default class PopoverContent extends SvelteComponentTyped<PopoverContentProps, PopoverContentEvents, PopoverContentSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const PopoverContent: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ [x: string]: any;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type PopoverContent = InstanceType<typeof PopoverContent>;
30
+ export default PopoverContent;
20
31
  //# sourceMappingURL=popover-content.gen.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover-content.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/popover-content.gen.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,uBAAuB,CAAA;AAiC9B,QAAA,MAAM,SAAS;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,oBAAoB,CAAC,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB,CAAC;CAC/H"}
1
+ {"version":3,"file":"popover-content.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/popover-content.gen.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,uBAAuB,CAAA;AAiC9B,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,cAAc;;;;;;;;cAA0G,CAAC;AAC7G,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,eAAe,cAAc,CAAC"}
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import '@prosekit/web/popover';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type PopoverRootProps = typeof __propDef.props;
15
- export type PopoverRootEvents = typeof __propDef.events;
16
- export type PopoverRootSlots = typeof __propDef.slots;
17
- export default class PopoverRoot extends SvelteComponentTyped<PopoverRootProps, PopoverRootEvents, PopoverRootSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const PopoverRoot: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ [x: string]: any;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type PopoverRoot = InstanceType<typeof PopoverRoot>;
30
+ export default PopoverRoot;
20
31
  //# sourceMappingURL=popover-root.gen.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover-root.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/popover-root.gen.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,uBAAuB,CAAA;AAiC9B,QAAA,MAAM,SAAS;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACtD,MAAM,MAAM,iBAAiB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEtD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,oBAAoB,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;CACnH"}
1
+ {"version":3,"file":"popover-root.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/popover-root.gen.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,uBAAuB,CAAA;AAiC9B,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,WAAW;;;;;;;;cAA0G,CAAC;AAC1G,KAAK,WAAW,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,eAAe,WAAW,CAAC"}
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import '@prosekit/web/popover';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type PopoverTriggerProps = typeof __propDef.props;
15
- export type PopoverTriggerEvents = typeof __propDef.events;
16
- export type PopoverTriggerSlots = typeof __propDef.slots;
17
- export default class PopoverTrigger extends SvelteComponentTyped<PopoverTriggerProps, PopoverTriggerEvents, PopoverTriggerSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const PopoverTrigger: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ [x: string]: any;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type PopoverTrigger = InstanceType<typeof PopoverTrigger>;
30
+ export default PopoverTrigger;
20
31
  //# sourceMappingURL=popover-trigger.gen.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover-trigger.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/popover-trigger.gen.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,uBAAuB,CAAA;AAiC9B,QAAA,MAAM,SAAS;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,oBAAoB,CAAC,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB,CAAC;CAC/H"}
1
+ {"version":3,"file":"popover-trigger.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/popover/popover-trigger.gen.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,uBAAuB,CAAA;AAiC9B,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,cAAc;;;;;;;;cAA0G,CAAC;AAC7G,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/prosekit/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAI7C,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EACoB,OAAO,eAAe,CAAC,aAAa,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/prosekit/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAI7C,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAA0C,OAAO,eAAe,CAAC,aAAa,CAAC,CAAA"}
@@ -2,6 +2,7 @@
2
2
  import type { Editor } from '@prosekit/core'
3
3
  import { useProsemirrorAdapterProvider } from '@prosemirror-adapter/svelte'
4
4
  import { setEditorContext } from '../../contexts/editor-context'
5
+ import { MarkViewConsumer } from '../mark-view-consumer'
5
6
  import { NodeViewConsumer } from '../node-view-consumer'
6
7
 
7
8
  export let editor: Editor
@@ -12,3 +13,4 @@ useProsemirrorAdapterProvider()
12
13
 
13
14
  <slot />
14
15
  <NodeViewConsumer />
16
+ <MarkViewConsumer />
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import type { Editor } from '@prosekit/core';
3
- declare const __propDef: {
4
- props: {
5
- editor: Editor;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type ProsekitProps = typeof __propDef.props;
15
- export type ProsekitEvents = typeof __propDef.events;
16
- export type ProsekitSlots = typeof __propDef.slots;
17
- export default class Prosekit extends SvelteComponentTyped<ProsekitProps, ProsekitEvents, ProsekitSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const Prosekit: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ editor: Editor;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type Prosekit = InstanceType<typeof Prosekit>;
30
+ export default Prosekit;
20
31
  //# sourceMappingURL=prosekit.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prosekit.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/prosekit/prosekit.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAsB5C,QAAA,MAAM,SAAS;;gBAD8B,MAAM;;;;;;;;CACI,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACnD,MAAM,MAAM,cAAc,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACrD,MAAM,MAAM,aAAa,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEnD,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,oBAAoB,CAAC,aAAa,EAAE,cAAc,EAAE,aAAa,CAAC;CACvG"}
1
+ {"version":3,"file":"prosekit.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/prosekit/prosekit.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAyB5C,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,QAAQ;YAf+B,MAAM;;;;;;;cAe8C,CAAC;AAChF,KAAK,QAAQ,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC;AAChD,eAAe,QAAQ,CAAC"}
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import '@prosekit/web/resizable';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type ResizableHandleProps = typeof __propDef.props;
15
- export type ResizableHandleEvents = typeof __propDef.events;
16
- export type ResizableHandleSlots = typeof __propDef.slots;
17
- export default class ResizableHandle extends SvelteComponentTyped<ResizableHandleProps, ResizableHandleEvents, ResizableHandleSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const ResizableHandle: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ [x: string]: any;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type ResizableHandle = InstanceType<typeof ResizableHandle>;
30
+ export default ResizableHandle;
20
31
  //# sourceMappingURL=resizable-handle.gen.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable-handle.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/resizable/resizable-handle.gen.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,yBAAyB,CAAA;AAiChC,QAAA,MAAM,SAAS;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,oBAAoB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC1D,MAAM,MAAM,qBAAqB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC5D,MAAM,MAAM,oBAAoB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,oBAAoB,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC;CACnI"}
1
+ {"version":3,"file":"resizable-handle.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/resizable/resizable-handle.gen.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,yBAAyB,CAAA;AAiChC,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,eAAe;;;;;;;;cAA0G,CAAC;AAC9G,KAAK,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,eAAe,eAAe,CAAC"}
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import '@prosekit/web/resizable';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type ResizableRootProps = typeof __propDef.props;
15
- export type ResizableRootEvents = typeof __propDef.events;
16
- export type ResizableRootSlots = typeof __propDef.slots;
17
- export default class ResizableRoot extends SvelteComponentTyped<ResizableRootProps, ResizableRootEvents, ResizableRootSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const ResizableRoot: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ [x: string]: any;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type ResizableRoot = InstanceType<typeof ResizableRoot>;
30
+ export default ResizableRoot;
20
31
  //# sourceMappingURL=resizable-root.gen.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable-root.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/resizable/resizable-root.gen.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,yBAAyB,CAAA;AAiChC,QAAA,MAAM,SAAS;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AACxD,MAAM,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAExD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,oBAAoB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,CAAC;CAC3H"}
1
+ {"version":3,"file":"resizable-root.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/resizable/resizable-root.gen.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,yBAAyB,CAAA;AAiChC,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,aAAa;;;;;;;;cAA0G,CAAC;AAC5G,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,eAAe,aAAa,CAAC"}
@@ -1,20 +1,31 @@
1
- import { SvelteComponentTyped } from "svelte";
2
1
  import '@prosekit/web/table-handle';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
6
12
  };
7
- events: {
8
- [evt: string]: CustomEvent<any>;
9
- };
10
- slots: {
11
- default: {};
12
- };
13
- };
14
- export type TableHandleColumnRootProps = typeof __propDef.props;
15
- export type TableHandleColumnRootEvents = typeof __propDef.events;
16
- export type TableHandleColumnRootSlots = typeof __propDef.slots;
17
- export default class TableHandleColumnRoot extends SvelteComponentTyped<TableHandleColumnRootProps, TableHandleColumnRootEvents, TableHandleColumnRootSlots> {
13
+ z_$$bindings?: Bindings;
18
14
  }
19
- export {};
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const TableHandleColumnRoot: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ [x: string]: any;
22
+ }, {
23
+ default: {};
24
+ }>, {
25
+ [evt: string]: CustomEvent<any>;
26
+ }, {
27
+ default: {};
28
+ }, {}, string>;
29
+ type TableHandleColumnRoot = InstanceType<typeof TableHandleColumnRoot>;
30
+ export default TableHandleColumnRoot;
20
31
  //# sourceMappingURL=table-handle-column-root.gen.svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-handle-column-root.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/table-handle/table-handle-column-root.gen.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,4BAA4B,CAAA;AAiCnC,QAAA,MAAM,SAAS;;;;;;;;;;CAA+D,CAAC;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAChE,MAAM,MAAM,2BAA2B,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AAClE,MAAM,MAAM,0BAA0B,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAEhE,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,oBAAoB,CAAC,0BAA0B,EAAE,2BAA2B,EAAE,0BAA0B,CAAC;CAC3J"}
1
+ {"version":3,"file":"table-handle-column-root.gen.svelte.d.ts","sourceRoot":"","sources":["../../../../../src/components/table-handle/table-handle-column-root.gen.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,4BAA4B,CAAA;AAiCnC,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,qBAAqB;;;;;;;;cAA0G,CAAC;AACpH,KAAK,qBAAqB,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAe,qBAAqB,CAAC"}