@prosekit/solid 0.5.0 → 0.5.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.
- package/dist/create-component-x4Duyu8z.js +2 -1
- package/dist/create-component-x4Duyu8z.js.map +1 -0
- package/dist/{create-props-B3k6ERfv.d.ts → create-props-BwXSSFVp.d.ts} +3 -2
- package/dist/create-props-BwXSSFVp.d.ts.map +1 -0
- package/dist/editor-context-DIj_hnDx.js +2 -1
- package/dist/editor-context-DIj_hnDx.js.map +1 -0
- package/dist/prosekit-solid-autocomplete.d.ts +12 -11
- package/dist/prosekit-solid-autocomplete.d.ts.map +1 -0
- package/dist/prosekit-solid-autocomplete.js +2 -1
- package/dist/prosekit-solid-autocomplete.js.map +1 -0
- package/dist/prosekit-solid-block-handle.d.ts +10 -9
- package/dist/prosekit-solid-block-handle.d.ts.map +1 -0
- package/dist/prosekit-solid-block-handle.js +2 -1
- package/dist/prosekit-solid-block-handle.js.map +1 -0
- package/dist/prosekit-solid-drop-indicator.d.ts +6 -5
- package/dist/prosekit-solid-drop-indicator.d.ts.map +1 -0
- package/dist/prosekit-solid-drop-indicator.js +2 -1
- package/dist/prosekit-solid-drop-indicator.js.map +1 -0
- package/dist/prosekit-solid-inline-popover.d.ts +6 -5
- package/dist/prosekit-solid-inline-popover.d.ts.map +1 -0
- package/dist/prosekit-solid-inline-popover.js +2 -1
- package/dist/prosekit-solid-inline-popover.js.map +1 -0
- package/dist/prosekit-solid-popover.d.ts +10 -9
- package/dist/prosekit-solid-popover.d.ts.map +1 -0
- package/dist/prosekit-solid-popover.js +2 -1
- package/dist/prosekit-solid-popover.js.map +1 -0
- package/dist/prosekit-solid-resizable.d.ts +8 -7
- package/dist/prosekit-solid-resizable.d.ts.map +1 -0
- package/dist/prosekit-solid-resizable.js +2 -1
- package/dist/prosekit-solid-resizable.js.map +1 -0
- package/dist/prosekit-solid-table-handle.d.ts +22 -21
- package/dist/prosekit-solid-table-handle.d.ts.map +1 -0
- package/dist/prosekit-solid-table-handle.js +2 -1
- package/dist/prosekit-solid-table-handle.js.map +1 -0
- package/dist/prosekit-solid-tooltip.d.ts +10 -9
- package/dist/prosekit-solid-tooltip.d.ts.map +1 -0
- package/dist/prosekit-solid-tooltip.js +2 -1
- package/dist/prosekit-solid-tooltip.js.map +1 -0
- package/dist/prosekit-solid.d.ts +69 -63
- package/dist/prosekit-solid.d.ts.map +1 -0
- package/dist/prosekit-solid.js +2 -1
- package/dist/prosekit-solid.js.map +1 -0
- package/dist/{types-DFZJMe9D.d.ts → types-CoG9Vl2B.d.ts} +10 -23
- package/dist/types-CoG9Vl2B.d.ts.map +1 -0
- package/package.json +18 -18
- package/src/components/autocomplete/autocomplete-empty.gen.ts +29 -0
- package/src/components/autocomplete/autocomplete-item.gen.ts +29 -0
- package/src/components/autocomplete/autocomplete-list.gen.ts +29 -0
- package/src/components/autocomplete/autocomplete-popover.gen.ts +29 -0
- package/src/components/autocomplete/index.gen.ts +7 -0
- package/src/components/block-handle/block-handle-add.gen.ts +29 -0
- package/src/components/block-handle/block-handle-draggable.gen.ts +29 -0
- package/src/components/block-handle/block-handle-popover.gen.ts +29 -0
- package/src/components/block-handle/index.gen.ts +5 -0
- package/src/components/create-component.ts +60 -0
- package/src/components/create-props.ts +13 -0
- package/src/components/drop-indicator/drop-indicator.gen.ts +29 -0
- package/src/components/drop-indicator/index.gen.ts +1 -0
- package/src/components/inline-popover/index.gen.ts +1 -0
- package/src/components/inline-popover/inline-popover.gen.ts +29 -0
- package/src/components/popover/index.gen.ts +5 -0
- package/src/components/popover/popover-content.gen.ts +29 -0
- package/src/components/popover/popover-root.gen.ts +29 -0
- package/src/components/popover/popover-trigger.gen.ts +29 -0
- package/src/components/prosekit.ts +37 -0
- package/src/components/resizable/index.gen.ts +3 -0
- package/src/components/resizable/resizable-handle.gen.ts +29 -0
- package/src/components/resizable/resizable-root.gen.ts +29 -0
- package/src/components/table-handle/index.gen.ts +17 -0
- package/src/components/table-handle/table-handle-column-root.gen.ts +29 -0
- package/src/components/table-handle/table-handle-column-trigger.gen.ts +29 -0
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +29 -0
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +29 -0
- package/src/components/table-handle/table-handle-popover-content.gen.ts +29 -0
- package/src/components/table-handle/table-handle-popover-item.gen.ts +29 -0
- package/src/components/table-handle/table-handle-root.gen.ts +29 -0
- package/src/components/table-handle/table-handle-row-root.gen.ts +29 -0
- package/src/components/table-handle/table-handle-row-trigger.gen.ts +29 -0
- package/src/components/tooltip/index.gen.ts +5 -0
- package/src/components/tooltip/tooltip-content.gen.ts +29 -0
- package/src/components/tooltip/tooltip-root.gen.ts +29 -0
- package/src/components/tooltip/tooltip-trigger.gen.ts +29 -0
- package/src/contexts/editor-context.ts +23 -0
- package/src/extensions/solid-mark-view.ts +95 -0
- package/src/extensions/solid-node-view.ts +95 -0
- package/src/hooks/use-doc-change.ts +20 -0
- package/src/hooks/use-editor-extension.ts +36 -0
- package/src/hooks/use-editor.ts +59 -0
- package/src/hooks/use-extension.ts +41 -0
- package/src/hooks/use-keymap.ts +14 -0
- package/src/hooks/use-priority-extension.ts +18 -0
- package/src/hooks/use-state-update.ts +20 -0
- package/src/index.ts +30 -0
- package/src/types.ts +29 -0
- package/src/utils/to-value.ts +14 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-component-x4Duyu8z.js","names":["properties: Record<string, () => unknown>","eventHandlers: Record<string, AnyFunction>"],"sources":["../src/components/create-component.ts"],"sourcesContent":["import type { AnyFunction } from '@prosekit/core'\nimport type { Component } from 'solid-js'\nimport h from 'solid-js/h'\n\nimport { useEditorContext } from '../contexts/editor-context'\nimport type { PropsWithElement } from '../types'\n\nexport function createComponent<\n Props extends object,\n CustomElement extends HTMLElement,\n>(\n tagName: string,\n propNames: string[],\n eventNames: string[],\n): Component<PropsWithElement<Props, CustomElement>> {\n const hasEditor = propNames.includes('editor')\n const lowerCaseEventNameMap = new Map(\n eventNames.map((name) => [name.toLowerCase(), name]),\n )\n\n const Component = (props: Record<string, unknown>) => {\n const properties: Record<string, () => unknown> = {}\n const eventHandlers: Record<string, AnyFunction> = {}\n\n for (const name of Object.keys(props)) {\n if (propNames.includes(name)) {\n properties['prop:' + name] = () => props[name]\n continue\n }\n\n if (name.startsWith('on')) {\n const lowerCaseEventName = name.slice(2).toLowerCase()\n const eventName = lowerCaseEventNameMap.get(lowerCaseEventName)\n if (eventName) {\n const extractDetail = eventName.endsWith('Change')\n eventHandlers['on:' + eventName] = (event: Event) => {\n const handler = props[name] as AnyFunction | null\n if (typeof handler === 'function') {\n handler(extractDetail ? (event as CustomEvent).detail : event)\n }\n }\n continue\n }\n }\n\n properties[name] = () => props[name]\n }\n\n const editor = useEditorContext()\n\n if (hasEditor && editor) {\n properties['prop:editor'] = () => props['editor'] || editor\n }\n\n return h(tagName, { ...properties, ...eventHandlers })\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return Component as any\n}\n"],"mappings":";;;;AAOA,SAAgB,gBAId,SACA,WACA,YACmD;CACnD,MAAM,YAAY,UAAU,SAAS,SAAS;CAC9C,MAAM,wBAAwB,IAAI,IAChC,WAAW,KAAK,SAAS,CAAC,KAAK,aAAa,EAAE,KAAK,CAAC,CACrD;CAED,MAAM,aAAa,UAAmC;EACpD,MAAMA,aAA4C,EAAE;EACpD,MAAMC,gBAA6C,EAAE;AAErD,OAAK,MAAM,QAAQ,OAAO,KAAK,MAAM,EAAE;AACrC,OAAI,UAAU,SAAS,KAAK,EAAE;AAC5B,eAAW,UAAU,cAAc,MAAM;AACzC;;AAGF,OAAI,KAAK,WAAW,KAAK,EAAE;IACzB,MAAM,qBAAqB,KAAK,MAAM,EAAE,CAAC,aAAa;IACtD,MAAM,YAAY,sBAAsB,IAAI,mBAAmB;AAC/D,QAAI,WAAW;KACb,MAAM,gBAAgB,UAAU,SAAS,SAAS;AAClD,mBAAc,QAAQ,cAAc,UAAiB;MACnD,MAAM,UAAU,MAAM;AACtB,UAAI,OAAO,YAAY,WACrB,SAAQ,gBAAiB,MAAsB,SAAS,MAAM;;AAGlE;;;AAIJ,cAAW,cAAc,MAAM;;EAGjC,MAAM,SAAS,kBAAkB;AAEjC,MAAI,aAAa,OACf,YAAW,uBAAuB,MAAM,aAAa;AAGvD,SAAO,EAAE,SAAS;GAAE,GAAG;GAAY,GAAG;GAAe,CAAC;;AAIxD,QAAO"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//#region src/components/create-props.d.ts
|
|
2
2
|
type CreateProps<Props extends { [PropName in keyof Props]: unknown }, Events extends { [EventName in keyof Events]: CustomEvent }> = Props & CreateEventProps<Events>;
|
|
3
|
-
type CreateEventProps<Events extends { [EventName in keyof Events]: CustomEvent }> = { [EventName in keyof Events as `on${Capitalize<string & EventName>}`]: (event: EventName extends `${string}Change` ? Events[EventName][
|
|
3
|
+
type CreateEventProps<Events extends { [EventName in keyof Events]: CustomEvent }> = { [EventName in keyof Events as `on${Capitalize<string & EventName>}`]: (event: EventName extends `${string}Change` ? Events[EventName]['detail'] : Events[EventName]) => void };
|
|
4
4
|
//#endregion
|
|
5
|
-
export { CreateProps };
|
|
5
|
+
export { CreateProps };
|
|
6
|
+
//# sourceMappingURL=create-props-BwXSSFVp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-props-BwXSSFVp.d.ts","names":[],"sources":["../src/components/create-props.ts"],"sourcesContent":[],"mappings":";KAAY,yCAAA,MACyB,KADd,GAAA,OAAA,EAAA,EAAA,eAAA,gBACc,MACE,MADF,GACW,WADX,MAEjC,KADmC,GAC3B,gBAD2B,CACV,MADU,CAAA;KAGlC,gBAH2C,CAAA,eAAA,gBAC5C,MAGmC,MAHnC,GAG4C,WAH5C,sBAAQ,MAKU,MALV,IAAA,KAKyB,UALzB,CAAA,MAAA,GAK6C,SAL7C,CAAA,EAAA,GAAA,CAAA,KAAA,EAMD,SANC,SAAA,GAAA,MAAA,QAAA,GAMqC,MANrC,CAM4C,SAN5C,CAAA,CAAA,QAAA,CAAA,GAOJ,MAPI,CAOG,SAPH,CAAA,EAAA,GAAA,IAAA,EAAgB"}
|
|
@@ -14,4 +14,5 @@ function useEditorContext() {
|
|
|
14
14
|
const EditorContextProvider = editorContext.Provider;
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
export { EditorContextProvider, useEditorContext };
|
|
17
|
+
export { EditorContextProvider, useEditorContext };
|
|
18
|
+
//# sourceMappingURL=editor-context-DIj_hnDx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-context-DIj_hnDx.js","names":["EditorContextProvider: ContextProviderComponent<Editor | null>"],"sources":["../src/contexts/editor-context.ts"],"sourcesContent":["import type {\n Editor,\n Extension,\n} from '@prosekit/core'\nimport {\n createContext,\n useContext,\n type ContextProviderComponent,\n} from 'solid-js'\n\nconst editorContext = createContext<Editor | null>(null)\n\n/**\n * @internal\n */\nexport function useEditorContext<E extends Extension>(): Editor<E> | null {\n return useContext(editorContext)\n}\n\n/**\n * @internal\n */\nexport const EditorContextProvider: ContextProviderComponent<Editor | null> = editorContext.Provider\n"],"mappings":";;;AAUA,MAAM,gBAAgB,cAA6B,KAAK;;;;AAKxD,SAAgB,mBAA0D;AACxE,QAAO,WAAW,cAAc;;;;;AAMlC,MAAaA,wBAAiE,cAAc"}
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { AutocompleteEmptyElement, AutocompleteEmptyEvents, AutocompleteEmptyProps as AutocompleteEmptyProps$1, AutocompleteItemElement, AutocompleteItemEvents, AutocompleteItemProps as AutocompleteItemProps$1, AutocompleteListElement, AutocompleteListEvents, AutocompleteListProps as AutocompleteListProps$1, AutocompletePopoverElement, AutocompletePopoverEvents, AutocompletePopoverProps as AutocompletePopoverProps$1 } from "@prosekit/web/autocomplete";
|
|
5
5
|
|
|
6
6
|
//#region src/components/autocomplete/autocomplete-empty.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link AutocompleteEmpty} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link AutocompleteEmpty} component.
|
|
10
|
+
*/
|
|
11
11
|
interface AutocompleteEmptyProps extends Partial<CreateProps<AutocompleteEmptyProps$1, AutocompleteEmptyEvents>> {}
|
|
12
12
|
declare const AutocompleteEmpty: Component<PropsWithElement<AutocompleteEmptyProps, AutocompleteEmptyElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/autocomplete/autocomplete-item.gen.d.ts
|
|
15
15
|
/**
|
|
16
|
-
* Props for the {@link AutocompleteItem} component.
|
|
17
|
-
*/
|
|
16
|
+
* Props for the {@link AutocompleteItem} component.
|
|
17
|
+
*/
|
|
18
18
|
interface AutocompleteItemProps extends Partial<CreateProps<AutocompleteItemProps$1, AutocompleteItemEvents>> {}
|
|
19
19
|
declare const AutocompleteItem: Component<PropsWithElement<AutocompleteItemProps, AutocompleteItemElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/autocomplete/autocomplete-list.gen.d.ts
|
|
22
22
|
/**
|
|
23
|
-
* Props for the {@link AutocompleteList} component.
|
|
24
|
-
*/
|
|
23
|
+
* Props for the {@link AutocompleteList} component.
|
|
24
|
+
*/
|
|
25
25
|
interface AutocompleteListProps extends Partial<CreateProps<AutocompleteListProps$1, AutocompleteListEvents>> {}
|
|
26
26
|
declare const AutocompleteList: Component<PropsWithElement<AutocompleteListProps, AutocompleteListElement>>;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/autocomplete/autocomplete-popover.gen.d.ts
|
|
29
29
|
/**
|
|
30
|
-
* Props for the {@link AutocompletePopover} component.
|
|
31
|
-
*/
|
|
30
|
+
* Props for the {@link AutocompletePopover} component.
|
|
31
|
+
*/
|
|
32
32
|
interface AutocompletePopoverProps extends Partial<CreateProps<AutocompletePopoverProps$1, AutocompletePopoverEvents>> {}
|
|
33
33
|
declare const AutocompletePopover: Component<PropsWithElement<AutocompletePopoverProps, AutocompletePopoverElement>>;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { AutocompleteEmpty, type AutocompleteEmptyProps, AutocompleteItem, type AutocompleteItemProps, AutocompleteList, type AutocompleteListProps, AutocompletePopover, type AutocompletePopoverProps };
|
|
35
|
+
export { AutocompleteEmpty, type AutocompleteEmptyProps, AutocompleteItem, type AutocompleteItemProps, AutocompleteList, type AutocompleteListProps, AutocompletePopover, type AutocompletePopoverProps };
|
|
36
|
+
//# sourceMappingURL=prosekit-solid-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-autocomplete.d.ts","names":[],"sources":["../src/components/autocomplete/autocomplete-empty.gen.ts","../src/components/autocomplete/autocomplete-item.gen.ts","../src/components/autocomplete/autocomplete-list.gen.ts","../src/components/autocomplete/autocomplete-popover.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAwC,UAAvB,sBAAA,SAA+B,OAAR,CAAgB,WAAhB,CAA4B,wBAA5B,EAAmC,uBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE9D,iBAF8D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGzE,sBAHyE,EAIzE,wBAJyE,CAAA,CAAA;;;;;AAA3E;AAAwC,UCAvB,qBAAA,SAA8B,ODAP,CCAe,WDAf,CCA2B,uBDA3B,ECAkC,sBDAlC,CAAA,CAAA,CAAA;AAAmC,cCE9D,gBDF8D,ECE5C,SDF4C,CCElC,gBDFkC,CCGzE,qBDHyE,ECIzE,uBDJyE,CAAA,CAAA;;;;;AAA3E;AAAwC,UEAvB,qBAAA,SAA8B,OFAP,CEAe,WFAf,CEA2B,uBFA3B,EEAkC,sBFAlC,CAAA,CAAA,CAAA;AAAmC,cEE9D,gBFF8D,EEE5C,SFF4C,CEElC,gBFFkC,CEGzE,qBFHyE,EEIzE,uBFJyE,CAAA,CAAA;;;;;AAA3E;AAAwC,UGAvB,wBAAA,SAAiC,OHAV,CGAkB,WHAlB,CGA8B,0BHA9B,EGAqC,yBHArC,CAAA,CAAA,CAAA;AAAmC,cGE9D,mBHF8D,EGEzC,SHFyC,CGE/B,gBHF+B,CGGzE,wBHHyE,EGIzE,0BHJyE,CAAA,CAAA"}
|
|
@@ -18,4 +18,5 @@ const AutocompleteList = createComponent("prosekit-autocomplete-list", Object.ke
|
|
|
18
18
|
const AutocompletePopover = createComponent("prosekit-autocomplete-popover", Object.keys(autocompletePopoverProps), Object.keys(autocompletePopoverEvents));
|
|
19
19
|
|
|
20
20
|
//#endregion
|
|
21
|
-
export { AutocompleteEmpty, AutocompleteItem, AutocompleteList, AutocompletePopover };
|
|
21
|
+
export { AutocompleteEmpty, AutocompleteItem, AutocompleteList, AutocompletePopover };
|
|
22
|
+
//# sourceMappingURL=prosekit-solid-autocomplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-autocomplete.js","names":["AutocompleteEmpty: Component<PropsWithElement<\n AutocompleteEmptyProps,\n AutocompleteEmptyElement\n>>","AutocompleteItem: Component<PropsWithElement<\n AutocompleteItemProps,\n AutocompleteItemElement\n>>","AutocompleteList: Component<PropsWithElement<\n AutocompleteListProps,\n AutocompleteListElement\n>>","AutocompletePopover: Component<PropsWithElement<\n AutocompletePopoverProps,\n AutocompletePopoverElement\n>>"],"sources":["../src/components/autocomplete/autocomplete-empty.gen.ts","../src/components/autocomplete/autocomplete-item.gen.ts","../src/components/autocomplete/autocomplete-list.gen.ts","../src/components/autocomplete/autocomplete-popover.gen.ts"],"sourcesContent":["import { \n type AutocompleteEmptyElement,\n type AutocompleteEmptyProps as Props,\n type AutocompleteEmptyEvents as Events,\n autocompleteEmptyProps,\n autocompleteEmptyEvents,\n} from '@prosekit/web/autocomplete'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompleteEmpty} component.\n */\nexport interface AutocompleteEmptyProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const AutocompleteEmpty: Component<PropsWithElement<\n AutocompleteEmptyProps,\n AutocompleteEmptyElement\n>> = createComponent<\n AutocompleteEmptyProps,\n AutocompleteEmptyElement\n>(\n 'prosekit-autocomplete-empty', \n Object.keys(autocompleteEmptyProps),\n Object.keys(autocompleteEmptyEvents),\n)\n","import { \n type AutocompleteItemElement,\n type AutocompleteItemProps as Props,\n type AutocompleteItemEvents as Events,\n autocompleteItemProps,\n autocompleteItemEvents,\n} from '@prosekit/web/autocomplete'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompleteItem} component.\n */\nexport interface AutocompleteItemProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const AutocompleteItem: Component<PropsWithElement<\n AutocompleteItemProps,\n AutocompleteItemElement\n>> = createComponent<\n AutocompleteItemProps,\n AutocompleteItemElement\n>(\n 'prosekit-autocomplete-item', \n Object.keys(autocompleteItemProps),\n Object.keys(autocompleteItemEvents),\n)\n","import { \n type AutocompleteListElement,\n type AutocompleteListProps as Props,\n type AutocompleteListEvents as Events,\n autocompleteListProps,\n autocompleteListEvents,\n} from '@prosekit/web/autocomplete'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompleteList} component.\n */\nexport interface AutocompleteListProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const AutocompleteList: Component<PropsWithElement<\n AutocompleteListProps,\n AutocompleteListElement\n>> = createComponent<\n AutocompleteListProps,\n AutocompleteListElement\n>(\n 'prosekit-autocomplete-list', \n Object.keys(autocompleteListProps),\n Object.keys(autocompleteListEvents),\n)\n","import { \n type AutocompletePopoverElement,\n type AutocompletePopoverProps as Props,\n type AutocompletePopoverEvents as Events,\n autocompletePopoverProps,\n autocompletePopoverEvents,\n} from '@prosekit/web/autocomplete'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link AutocompletePopover} component.\n */\nexport interface AutocompletePopoverProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const AutocompletePopover: Component<PropsWithElement<\n AutocompletePopoverProps,\n AutocompletePopoverElement\n>> = createComponent<\n AutocompletePopoverProps,\n AutocompletePopoverElement\n>(\n 'prosekit-autocomplete-popover', \n Object.keys(autocompletePopoverProps),\n Object.keys(autocompletePopoverEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,oBAGR,gBAIH,+BACA,OAAO,KAAK,uBAAuB,EACnC,OAAO,KAAK,wBAAwB,CACrC;;;;ACVD,MAAaC,mBAGR,gBAIH,8BACA,OAAO,KAAK,sBAAsB,EAClC,OAAO,KAAK,uBAAuB,CACpC;;;;ACVD,MAAaC,mBAGR,gBAIH,8BACA,OAAO,KAAK,sBAAsB,EAClC,OAAO,KAAK,uBAAuB,CACpC;;;;ACVD,MAAaC,sBAGR,gBAIH,iCACA,OAAO,KAAK,yBAAyB,EACrC,OAAO,KAAK,0BAA0B,CACvC"}
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { BlockHandleAddElement, BlockHandleAddEvents, BlockHandleAddProps as BlockHandleAddProps$1, BlockHandleDraggableElement, BlockHandleDraggableEvents, BlockHandleDraggableProps as BlockHandleDraggableProps$1, BlockHandlePopoverElement, BlockHandlePopoverEvents, BlockHandlePopoverProps as BlockHandlePopoverProps$1 } from "@prosekit/web/block-handle";
|
|
5
5
|
|
|
6
6
|
//#region src/components/block-handle/block-handle-add.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link BlockHandleAdd} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link BlockHandleAdd} component.
|
|
10
|
+
*/
|
|
11
11
|
interface BlockHandleAddProps extends Partial<CreateProps<BlockHandleAddProps$1, BlockHandleAddEvents>> {}
|
|
12
12
|
declare const BlockHandleAdd: Component<PropsWithElement<BlockHandleAddProps, BlockHandleAddElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/block-handle/block-handle-draggable.gen.d.ts
|
|
15
15
|
/**
|
|
16
|
-
* Props for the {@link BlockHandleDraggable} component.
|
|
17
|
-
*/
|
|
16
|
+
* Props for the {@link BlockHandleDraggable} component.
|
|
17
|
+
*/
|
|
18
18
|
interface BlockHandleDraggableProps extends Partial<CreateProps<BlockHandleDraggableProps$1, BlockHandleDraggableEvents>> {}
|
|
19
19
|
declare const BlockHandleDraggable: Component<PropsWithElement<BlockHandleDraggableProps, BlockHandleDraggableElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/block-handle/block-handle-popover.gen.d.ts
|
|
22
22
|
/**
|
|
23
|
-
* Props for the {@link BlockHandlePopover} component.
|
|
24
|
-
*/
|
|
23
|
+
* Props for the {@link BlockHandlePopover} component.
|
|
24
|
+
*/
|
|
25
25
|
interface BlockHandlePopoverProps extends Partial<CreateProps<BlockHandlePopoverProps$1, BlockHandlePopoverEvents>> {}
|
|
26
26
|
declare const BlockHandlePopover: Component<PropsWithElement<BlockHandlePopoverProps, BlockHandlePopoverElement>>;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { BlockHandleAdd, type BlockHandleAddProps, BlockHandleDraggable, type BlockHandleDraggableProps, BlockHandlePopover, type BlockHandlePopoverProps };
|
|
28
|
+
export { BlockHandleAdd, type BlockHandleAddProps, BlockHandleDraggable, type BlockHandleDraggableProps, BlockHandlePopover, type BlockHandlePopoverProps };
|
|
29
|
+
//# sourceMappingURL=prosekit-solid-block-handle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-block-handle.d.ts","names":[],"sources":["../src/components/block-handle/block-handle-add.gen.ts","../src/components/block-handle/block-handle-draggable.gen.ts","../src/components/block-handle/block-handle-popover.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAqC,UAApB,mBAAA,SAA4B,OAAR,CAAgB,WAAhB,CAA4B,qBAA5B,EAAmC,oBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE3D,cAF2D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGtE,mBAHsE,EAItE,qBAJsE,CAAA,CAAA;;;;;AAAxE;AAAqC,UCApB,yBAAA,SAAkC,ODAd,CCAsB,WDAtB,CCAkC,2BDAlC,ECAyC,0BDAzC,CAAA,CAAA,CAAA;AAAmC,cCE3D,oBDF2D,ECErC,SDFqC,CCE3B,gBDF2B,CCGtE,yBDHsE,ECItE,2BDJsE,CAAA,CAAA;;;;;AAAxE;AAAqC,UEApB,uBAAA,SAAgC,OFAZ,CEAoB,WFApB,CEAgC,yBFAhC,EEAuC,wBFAvC,CAAA,CAAA,CAAA;AAAmC,cEE3D,kBFF2D,EEEvC,SFFuC,CEE7B,gBFF6B,CEGtE,uBFHsE,EEItE,yBFJsE,CAAA,CAAA"}
|
|
@@ -14,4 +14,5 @@ const BlockHandleDraggable = createComponent("prosekit-block-handle-draggable",
|
|
|
14
14
|
const BlockHandlePopover = createComponent("prosekit-block-handle-popover", Object.keys(blockHandlePopoverProps), Object.keys(blockHandlePopoverEvents));
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
export { BlockHandleAdd, BlockHandleDraggable, BlockHandlePopover };
|
|
17
|
+
export { BlockHandleAdd, BlockHandleDraggable, BlockHandlePopover };
|
|
18
|
+
//# sourceMappingURL=prosekit-solid-block-handle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-block-handle.js","names":["BlockHandleAdd: Component<PropsWithElement<\n BlockHandleAddProps,\n BlockHandleAddElement\n>>","BlockHandleDraggable: Component<PropsWithElement<\n BlockHandleDraggableProps,\n BlockHandleDraggableElement\n>>","BlockHandlePopover: Component<PropsWithElement<\n BlockHandlePopoverProps,\n BlockHandlePopoverElement\n>>"],"sources":["../src/components/block-handle/block-handle-add.gen.ts","../src/components/block-handle/block-handle-draggable.gen.ts","../src/components/block-handle/block-handle-popover.gen.ts"],"sourcesContent":["import { \n type BlockHandleAddElement,\n type BlockHandleAddProps as Props,\n type BlockHandleAddEvents as Events,\n blockHandleAddProps,\n blockHandleAddEvents,\n} from '@prosekit/web/block-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link BlockHandleAdd} component.\n */\nexport interface BlockHandleAddProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const BlockHandleAdd: Component<PropsWithElement<\n BlockHandleAddProps,\n BlockHandleAddElement\n>> = createComponent<\n BlockHandleAddProps,\n BlockHandleAddElement\n>(\n 'prosekit-block-handle-add', \n Object.keys(blockHandleAddProps),\n Object.keys(blockHandleAddEvents),\n)\n","import { \n type BlockHandleDraggableElement,\n type BlockHandleDraggableProps as Props,\n type BlockHandleDraggableEvents as Events,\n blockHandleDraggableProps,\n blockHandleDraggableEvents,\n} from '@prosekit/web/block-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link BlockHandleDraggable} component.\n */\nexport interface BlockHandleDraggableProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const BlockHandleDraggable: Component<PropsWithElement<\n BlockHandleDraggableProps,\n BlockHandleDraggableElement\n>> = createComponent<\n BlockHandleDraggableProps,\n BlockHandleDraggableElement\n>(\n 'prosekit-block-handle-draggable', \n Object.keys(blockHandleDraggableProps),\n Object.keys(blockHandleDraggableEvents),\n)\n","import { \n type BlockHandlePopoverElement,\n type BlockHandlePopoverProps as Props,\n type BlockHandlePopoverEvents as Events,\n blockHandlePopoverProps,\n blockHandlePopoverEvents,\n} from '@prosekit/web/block-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link BlockHandlePopover} component.\n */\nexport interface BlockHandlePopoverProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const BlockHandlePopover: Component<PropsWithElement<\n BlockHandlePopoverProps,\n BlockHandlePopoverElement\n>> = createComponent<\n BlockHandlePopoverProps,\n BlockHandlePopoverElement\n>(\n 'prosekit-block-handle-popover', \n Object.keys(blockHandlePopoverProps),\n Object.keys(blockHandlePopoverEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,iBAGR,gBAIH,6BACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC;;;;ACVD,MAAaC,uBAGR,gBAIH,mCACA,OAAO,KAAK,0BAA0B,EACtC,OAAO,KAAK,2BAA2B,CACxC;;;;ACVD,MAAaC,qBAGR,gBAIH,iCACA,OAAO,KAAK,wBAAwB,EACpC,OAAO,KAAK,yBAAyB,CACtC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { DropIndicatorElement, DropIndicatorEvents, DropIndicatorProps as DropIndicatorProps$1 } from "@prosekit/web/drop-indicator";
|
|
5
5
|
|
|
6
6
|
//#region src/components/drop-indicator/drop-indicator.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link DropIndicator} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link DropIndicator} component.
|
|
10
|
+
*/
|
|
11
11
|
interface DropIndicatorProps extends Partial<CreateProps<DropIndicatorProps$1, DropIndicatorEvents>> {}
|
|
12
12
|
declare const DropIndicator: Component<PropsWithElement<DropIndicatorProps, DropIndicatorElement>>;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { DropIndicator, type DropIndicatorProps };
|
|
14
|
+
export { DropIndicator, type DropIndicatorProps };
|
|
15
|
+
//# sourceMappingURL=prosekit-solid-drop-indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-drop-indicator.d.ts","names":[],"sources":["../src/components/drop-indicator/drop-indicator.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAoC,UAAnB,kBAAA,SAA2B,OAAR,CAAgB,WAAhB,CAA4B,oBAA5B,EAAmC,mBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE1D,aAF0D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGrE,kBAHqE,EAIrE,oBAJqE,CAAA,CAAA"}
|
|
@@ -6,4 +6,5 @@ import { dropIndicatorEvents, dropIndicatorProps } from "@prosekit/web/drop-indi
|
|
|
6
6
|
const DropIndicator = createComponent("prosekit-drop-indicator", Object.keys(dropIndicatorProps), Object.keys(dropIndicatorEvents));
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
|
-
export { DropIndicator };
|
|
9
|
+
export { DropIndicator };
|
|
10
|
+
//# sourceMappingURL=prosekit-solid-drop-indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-drop-indicator.js","names":["DropIndicator: Component<PropsWithElement<\n DropIndicatorProps,\n DropIndicatorElement\n>>"],"sources":["../src/components/drop-indicator/drop-indicator.gen.ts"],"sourcesContent":["import { \n type DropIndicatorElement,\n type DropIndicatorProps as Props,\n type DropIndicatorEvents as Events,\n dropIndicatorProps,\n dropIndicatorEvents,\n} from '@prosekit/web/drop-indicator'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link DropIndicator} component.\n */\nexport interface DropIndicatorProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const DropIndicator: Component<PropsWithElement<\n DropIndicatorProps,\n DropIndicatorElement\n>> = createComponent<\n DropIndicatorProps,\n DropIndicatorElement\n>(\n 'prosekit-drop-indicator', \n Object.keys(dropIndicatorProps),\n Object.keys(dropIndicatorEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,gBAGR,gBAIH,2BACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { InlinePopoverElement, InlinePopoverEvents, InlinePopoverProps as InlinePopoverProps$1 } from "@prosekit/web/inline-popover";
|
|
5
5
|
|
|
6
6
|
//#region src/components/inline-popover/inline-popover.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link InlinePopover} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link InlinePopover} component.
|
|
10
|
+
*/
|
|
11
11
|
interface InlinePopoverProps extends Partial<CreateProps<InlinePopoverProps$1, InlinePopoverEvents>> {}
|
|
12
12
|
declare const InlinePopover: Component<PropsWithElement<InlinePopoverProps, InlinePopoverElement>>;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { InlinePopover, type InlinePopoverProps };
|
|
14
|
+
export { InlinePopover, type InlinePopoverProps };
|
|
15
|
+
//# sourceMappingURL=prosekit-solid-inline-popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-inline-popover.d.ts","names":[],"sources":["../src/components/inline-popover/inline-popover.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAoC,UAAnB,kBAAA,SAA2B,OAAR,CAAgB,WAAhB,CAA4B,oBAA5B,EAAmC,mBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE1D,aAF0D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGrE,kBAHqE,EAIrE,oBAJqE,CAAA,CAAA"}
|
|
@@ -6,4 +6,5 @@ import { inlinePopoverEvents, inlinePopoverProps } from "@prosekit/web/inline-po
|
|
|
6
6
|
const InlinePopover = createComponent("prosekit-inline-popover", Object.keys(inlinePopoverProps), Object.keys(inlinePopoverEvents));
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
|
-
export { InlinePopover };
|
|
9
|
+
export { InlinePopover };
|
|
10
|
+
//# sourceMappingURL=prosekit-solid-inline-popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-inline-popover.js","names":["InlinePopover: Component<PropsWithElement<\n InlinePopoverProps,\n InlinePopoverElement\n>>"],"sources":["../src/components/inline-popover/inline-popover.gen.ts"],"sourcesContent":["import { \n type InlinePopoverElement,\n type InlinePopoverProps as Props,\n type InlinePopoverEvents as Events,\n inlinePopoverProps,\n inlinePopoverEvents,\n} from '@prosekit/web/inline-popover'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link InlinePopover} component.\n */\nexport interface InlinePopoverProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const InlinePopover: Component<PropsWithElement<\n InlinePopoverProps,\n InlinePopoverElement\n>> = createComponent<\n InlinePopoverProps,\n InlinePopoverElement\n>(\n 'prosekit-inline-popover', \n Object.keys(inlinePopoverProps),\n Object.keys(inlinePopoverEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,gBAGR,gBAIH,2BACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { PopoverContentElement, PopoverContentEvents, PopoverContentProps as PopoverContentProps$1, PopoverRootElement, PopoverRootEvents, PopoverRootProps as PopoverRootProps$1, PopoverTriggerElement, PopoverTriggerEvents, PopoverTriggerProps as PopoverTriggerProps$1 } from "@prosekit/web/popover";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/popover-content.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link PopoverContent} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link PopoverContent} component.
|
|
10
|
+
*/
|
|
11
11
|
interface PopoverContentProps extends Partial<CreateProps<PopoverContentProps$1, PopoverContentEvents>> {}
|
|
12
12
|
declare const PopoverContent: Component<PropsWithElement<PopoverContentProps, PopoverContentElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/popover/popover-root.gen.d.ts
|
|
15
15
|
/**
|
|
16
|
-
* Props for the {@link PopoverRoot} component.
|
|
17
|
-
*/
|
|
16
|
+
* Props for the {@link PopoverRoot} component.
|
|
17
|
+
*/
|
|
18
18
|
interface PopoverRootProps extends Partial<CreateProps<PopoverRootProps$1, PopoverRootEvents>> {}
|
|
19
19
|
declare const PopoverRoot: Component<PropsWithElement<PopoverRootProps, PopoverRootElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/popover/popover-trigger.gen.d.ts
|
|
22
22
|
/**
|
|
23
|
-
* Props for the {@link PopoverTrigger} component.
|
|
24
|
-
*/
|
|
23
|
+
* Props for the {@link PopoverTrigger} component.
|
|
24
|
+
*/
|
|
25
25
|
interface PopoverTriggerProps extends Partial<CreateProps<PopoverTriggerProps$1, PopoverTriggerEvents>> {}
|
|
26
26
|
declare const PopoverTrigger: Component<PropsWithElement<PopoverTriggerProps, PopoverTriggerElement>>;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { PopoverContent, type PopoverContentProps, PopoverRoot, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps };
|
|
28
|
+
export { PopoverContent, type PopoverContentProps, PopoverRoot, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps };
|
|
29
|
+
//# sourceMappingURL=prosekit-solid-popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-popover.d.ts","names":[],"sources":["../src/components/popover/popover-content.gen.ts","../src/components/popover/popover-root.gen.ts","../src/components/popover/popover-trigger.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAqC,UAApB,mBAAA,SAA4B,OAAR,CAAgB,WAAhB,CAA4B,qBAA5B,EAAmC,oBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE3D,cAF2D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGtE,mBAHsE,EAItE,qBAJsE,CAAA,CAAA;;;;;AAAxE;AAAqC,UCApB,gBAAA,SAAyB,ODAL,CCAa,WDAb,CCAyB,kBDAzB,ECAgC,iBDAhC,CAAA,CAAA,CAAA;AAAmC,cCE3D,WDF2D,ECE9C,SDF8C,CCEpC,gBDFoC,CCGtE,gBDHsE,ECItE,kBDJsE,CAAA,CAAA;;;;;AAAxE;AAAqC,UEApB,mBAAA,SAA4B,OFAR,CEAgB,WFAhB,CEA4B,qBFA5B,EEAmC,oBFAnC,CAAA,CAAA,CAAA;AAAmC,cEE3D,cFF2D,EEE3C,SFF2C,CEEjC,gBFFiC,CEGtE,mBFHsE,EEItE,qBFJsE,CAAA,CAAA"}
|
|
@@ -14,4 +14,5 @@ const PopoverRoot = createComponent("prosekit-popover-root", Object.keys(popover
|
|
|
14
14
|
const PopoverTrigger = createComponent("prosekit-popover-trigger", Object.keys(popoverTriggerProps), Object.keys(popoverTriggerEvents));
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
export { PopoverContent, PopoverRoot, PopoverTrigger };
|
|
17
|
+
export { PopoverContent, PopoverRoot, PopoverTrigger };
|
|
18
|
+
//# sourceMappingURL=prosekit-solid-popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-popover.js","names":["PopoverContent: Component<PropsWithElement<\n PopoverContentProps,\n PopoverContentElement\n>>","PopoverRoot: Component<PropsWithElement<\n PopoverRootProps,\n PopoverRootElement\n>>","PopoverTrigger: Component<PropsWithElement<\n PopoverTriggerProps,\n PopoverTriggerElement\n>>"],"sources":["../src/components/popover/popover-content.gen.ts","../src/components/popover/popover-root.gen.ts","../src/components/popover/popover-trigger.gen.ts"],"sourcesContent":["import { \n type PopoverContentElement,\n type PopoverContentProps as Props,\n type PopoverContentEvents as Events,\n popoverContentProps,\n popoverContentEvents,\n} from '@prosekit/web/popover'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link PopoverContent} component.\n */\nexport interface PopoverContentProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const PopoverContent: Component<PropsWithElement<\n PopoverContentProps,\n PopoverContentElement\n>> = createComponent<\n PopoverContentProps,\n PopoverContentElement\n>(\n 'prosekit-popover-content', \n Object.keys(popoverContentProps),\n Object.keys(popoverContentEvents),\n)\n","import { \n type PopoverRootElement,\n type PopoverRootProps as Props,\n type PopoverRootEvents as Events,\n popoverRootProps,\n popoverRootEvents,\n} from '@prosekit/web/popover'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link PopoverRoot} component.\n */\nexport interface PopoverRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const PopoverRoot: Component<PropsWithElement<\n PopoverRootProps,\n PopoverRootElement\n>> = createComponent<\n PopoverRootProps,\n PopoverRootElement\n>(\n 'prosekit-popover-root', \n Object.keys(popoverRootProps),\n Object.keys(popoverRootEvents),\n)\n","import { \n type PopoverTriggerElement,\n type PopoverTriggerProps as Props,\n type PopoverTriggerEvents as Events,\n popoverTriggerProps,\n popoverTriggerEvents,\n} from '@prosekit/web/popover'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link PopoverTrigger} component.\n */\nexport interface PopoverTriggerProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const PopoverTrigger: Component<PropsWithElement<\n PopoverTriggerProps,\n PopoverTriggerElement\n>> = createComponent<\n PopoverTriggerProps,\n PopoverTriggerElement\n>(\n 'prosekit-popover-trigger', \n Object.keys(popoverTriggerProps),\n Object.keys(popoverTriggerEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,iBAGR,gBAIH,4BACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC;;;;ACVD,MAAaC,cAGR,gBAIH,yBACA,OAAO,KAAK,iBAAiB,EAC7B,OAAO,KAAK,kBAAkB,CAC/B;;;;ACVD,MAAaC,iBAGR,gBAIH,4BACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC"}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { ResizableHandleElement, ResizableHandleEvents, ResizableHandleProps as ResizableHandleProps$1, ResizableRootElement, ResizableRootEvents, ResizableRootProps as ResizableRootProps$1 } from "@prosekit/web/resizable";
|
|
5
5
|
|
|
6
6
|
//#region src/components/resizable/resizable-handle.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link ResizableHandle} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link ResizableHandle} component.
|
|
10
|
+
*/
|
|
11
11
|
interface ResizableHandleProps extends Partial<CreateProps<ResizableHandleProps$1, ResizableHandleEvents>> {}
|
|
12
12
|
declare const ResizableHandle: Component<PropsWithElement<ResizableHandleProps, ResizableHandleElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/resizable/resizable-root.gen.d.ts
|
|
15
15
|
/**
|
|
16
|
-
* Props for the {@link ResizableRoot} component.
|
|
17
|
-
*/
|
|
16
|
+
* Props for the {@link ResizableRoot} component.
|
|
17
|
+
*/
|
|
18
18
|
interface ResizableRootProps extends Partial<CreateProps<ResizableRootProps$1, ResizableRootEvents>> {}
|
|
19
19
|
declare const ResizableRoot: Component<PropsWithElement<ResizableRootProps, ResizableRootElement>>;
|
|
20
20
|
//#endregion
|
|
21
|
-
export { ResizableHandle, type ResizableHandleProps, ResizableRoot, type ResizableRootProps };
|
|
21
|
+
export { ResizableHandle, type ResizableHandleProps, ResizableRoot, type ResizableRootProps };
|
|
22
|
+
//# sourceMappingURL=prosekit-solid-resizable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-resizable.d.ts","names":[],"sources":["../src/components/resizable/resizable-handle.gen.ts","../src/components/resizable/resizable-root.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAsC,UAArB,oBAAA,SAA6B,OAAR,CAAgB,WAAhB,CAA4B,sBAA5B,EAAmC,qBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE5D,eAF4D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGvE,oBAHuE,EAIvE,sBAJuE,CAAA,CAAA;;;;;AAAzE;AAAsC,UCArB,kBAAA,SAA2B,ODAN,CCAc,WDAd,CCA0B,oBDA1B,ECAiC,mBDAjC,CAAA,CAAA,CAAA;AAAmC,cCE5D,aDF4D,ECE7C,SDF6C,CCEnC,gBDFmC,CCGvE,kBDHuE,ECIvE,oBDJuE,CAAA,CAAA"}
|
|
@@ -10,4 +10,5 @@ const ResizableHandle = createComponent("prosekit-resizable-handle", Object.keys
|
|
|
10
10
|
const ResizableRoot = createComponent("prosekit-resizable-root", Object.keys(resizableRootProps), Object.keys(resizableRootEvents));
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
|
-
export { ResizableHandle, ResizableRoot };
|
|
13
|
+
export { ResizableHandle, ResizableRoot };
|
|
14
|
+
//# sourceMappingURL=prosekit-solid-resizable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-resizable.js","names":["ResizableHandle: Component<PropsWithElement<\n ResizableHandleProps,\n ResizableHandleElement\n>>","ResizableRoot: Component<PropsWithElement<\n ResizableRootProps,\n ResizableRootElement\n>>"],"sources":["../src/components/resizable/resizable-handle.gen.ts","../src/components/resizable/resizable-root.gen.ts"],"sourcesContent":["import { \n type ResizableHandleElement,\n type ResizableHandleProps as Props,\n type ResizableHandleEvents as Events,\n resizableHandleProps,\n resizableHandleEvents,\n} from '@prosekit/web/resizable'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link ResizableHandle} component.\n */\nexport interface ResizableHandleProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const ResizableHandle: Component<PropsWithElement<\n ResizableHandleProps,\n ResizableHandleElement\n>> = createComponent<\n ResizableHandleProps,\n ResizableHandleElement\n>(\n 'prosekit-resizable-handle', \n Object.keys(resizableHandleProps),\n Object.keys(resizableHandleEvents),\n)\n","import { \n type ResizableRootElement,\n type ResizableRootProps as Props,\n type ResizableRootEvents as Events,\n resizableRootProps,\n resizableRootEvents,\n} from '@prosekit/web/resizable'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link ResizableRoot} component.\n */\nexport interface ResizableRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const ResizableRoot: Component<PropsWithElement<\n ResizableRootProps,\n ResizableRootElement\n>> = createComponent<\n ResizableRootProps,\n ResizableRootElement\n>(\n 'prosekit-resizable-root', \n Object.keys(resizableRootProps),\n Object.keys(resizableRootEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,kBAGR,gBAIH,6BACA,OAAO,KAAK,qBAAqB,EACjC,OAAO,KAAK,sBAAsB,CACnC;;;;ACVD,MAAaC,gBAGR,gBAIH,2BACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
|
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { TableHandleColumnRootElement, TableHandleColumnRootEvents, TableHandleColumnRootProps as TableHandleColumnRootProps$1, TableHandleColumnTriggerElement, TableHandleColumnTriggerEvents, TableHandleColumnTriggerProps as TableHandleColumnTriggerProps$1, TableHandleDragPreviewElement, TableHandleDragPreviewEvents, TableHandleDragPreviewProps as TableHandleDragPreviewProps$1, TableHandleDropIndicatorElement, TableHandleDropIndicatorEvents, TableHandleDropIndicatorProps as TableHandleDropIndicatorProps$1, TableHandlePopoverContentElement, TableHandlePopoverContentEvents, TableHandlePopoverContentProps as TableHandlePopoverContentProps$1, TableHandlePopoverItemElement, TableHandlePopoverItemEvents, TableHandlePopoverItemProps as TableHandlePopoverItemProps$1, TableHandleRootElement, TableHandleRootEvents, TableHandleRootProps as TableHandleRootProps$1, TableHandleRowRootElement, TableHandleRowRootEvents, TableHandleRowRootProps as TableHandleRowRootProps$1, TableHandleRowTriggerElement, TableHandleRowTriggerEvents, TableHandleRowTriggerProps as TableHandleRowTriggerProps$1 } from "@prosekit/web/table-handle";
|
|
5
5
|
|
|
6
6
|
//#region src/components/table-handle/table-handle-column-root.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link TableHandleColumnRoot} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link TableHandleColumnRoot} component.
|
|
10
|
+
*/
|
|
11
11
|
interface TableHandleColumnRootProps extends Partial<CreateProps<TableHandleColumnRootProps$1, TableHandleColumnRootEvents>> {}
|
|
12
12
|
declare const TableHandleColumnRoot: Component<PropsWithElement<TableHandleColumnRootProps, TableHandleColumnRootElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/table-handle/table-handle-column-trigger.gen.d.ts
|
|
15
15
|
/**
|
|
16
|
-
* Props for the {@link TableHandleColumnTrigger} component.
|
|
17
|
-
*/
|
|
16
|
+
* Props for the {@link TableHandleColumnTrigger} component.
|
|
17
|
+
*/
|
|
18
18
|
interface TableHandleColumnTriggerProps extends Partial<CreateProps<TableHandleColumnTriggerProps$1, TableHandleColumnTriggerEvents>> {}
|
|
19
19
|
declare const TableHandleColumnTrigger: Component<PropsWithElement<TableHandleColumnTriggerProps, TableHandleColumnTriggerElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
|
|
22
22
|
/**
|
|
23
|
-
* Props for the {@link TableHandleDragPreview} component.
|
|
24
|
-
*/
|
|
23
|
+
* Props for the {@link TableHandleDragPreview} component.
|
|
24
|
+
*/
|
|
25
25
|
interface TableHandleDragPreviewProps extends Partial<CreateProps<TableHandleDragPreviewProps$1, TableHandleDragPreviewEvents>> {}
|
|
26
26
|
declare const TableHandleDragPreview: Component<PropsWithElement<TableHandleDragPreviewProps, TableHandleDragPreviewElement>>;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
|
|
29
29
|
/**
|
|
30
|
-
* Props for the {@link TableHandleDropIndicator} component.
|
|
31
|
-
*/
|
|
30
|
+
* Props for the {@link TableHandleDropIndicator} component.
|
|
31
|
+
*/
|
|
32
32
|
interface TableHandleDropIndicatorProps extends Partial<CreateProps<TableHandleDropIndicatorProps$1, TableHandleDropIndicatorEvents>> {}
|
|
33
33
|
declare const TableHandleDropIndicator: Component<PropsWithElement<TableHandleDropIndicatorProps, TableHandleDropIndicatorElement>>;
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/components/table-handle/table-handle-popover-content.gen.d.ts
|
|
36
36
|
/**
|
|
37
|
-
* Props for the {@link TableHandlePopoverContent} component.
|
|
38
|
-
*/
|
|
37
|
+
* Props for the {@link TableHandlePopoverContent} component.
|
|
38
|
+
*/
|
|
39
39
|
interface TableHandlePopoverContentProps extends Partial<CreateProps<TableHandlePopoverContentProps$1, TableHandlePopoverContentEvents>> {}
|
|
40
40
|
declare const TableHandlePopoverContent: Component<PropsWithElement<TableHandlePopoverContentProps, TableHandlePopoverContentElement>>;
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/components/table-handle/table-handle-popover-item.gen.d.ts
|
|
43
43
|
/**
|
|
44
|
-
* Props for the {@link TableHandlePopoverItem} component.
|
|
45
|
-
*/
|
|
44
|
+
* Props for the {@link TableHandlePopoverItem} component.
|
|
45
|
+
*/
|
|
46
46
|
interface TableHandlePopoverItemProps extends Partial<CreateProps<TableHandlePopoverItemProps$1, TableHandlePopoverItemEvents>> {}
|
|
47
47
|
declare const TableHandlePopoverItem: Component<PropsWithElement<TableHandlePopoverItemProps, TableHandlePopoverItemElement>>;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/table-handle/table-handle-root.gen.d.ts
|
|
50
50
|
/**
|
|
51
|
-
* Props for the {@link TableHandleRoot} component.
|
|
52
|
-
*/
|
|
51
|
+
* Props for the {@link TableHandleRoot} component.
|
|
52
|
+
*/
|
|
53
53
|
interface TableHandleRootProps extends Partial<CreateProps<TableHandleRootProps$1, TableHandleRootEvents>> {}
|
|
54
54
|
declare const TableHandleRoot: Component<PropsWithElement<TableHandleRootProps, TableHandleRootElement>>;
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/components/table-handle/table-handle-row-root.gen.d.ts
|
|
57
57
|
/**
|
|
58
|
-
* Props for the {@link TableHandleRowRoot} component.
|
|
59
|
-
*/
|
|
58
|
+
* Props for the {@link TableHandleRowRoot} component.
|
|
59
|
+
*/
|
|
60
60
|
interface TableHandleRowRootProps extends Partial<CreateProps<TableHandleRowRootProps$1, TableHandleRowRootEvents>> {}
|
|
61
61
|
declare const TableHandleRowRoot: Component<PropsWithElement<TableHandleRowRootProps, TableHandleRowRootElement>>;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/table-handle/table-handle-row-trigger.gen.d.ts
|
|
64
64
|
/**
|
|
65
|
-
* Props for the {@link TableHandleRowTrigger} component.
|
|
66
|
-
*/
|
|
65
|
+
* Props for the {@link TableHandleRowTrigger} component.
|
|
66
|
+
*/
|
|
67
67
|
interface TableHandleRowTriggerProps extends Partial<CreateProps<TableHandleRowTriggerProps$1, TableHandleRowTriggerEvents>> {}
|
|
68
68
|
declare const TableHandleRowTrigger: Component<PropsWithElement<TableHandleRowTriggerProps, TableHandleRowTriggerElement>>;
|
|
69
69
|
//#endregion
|
|
70
|
-
export { TableHandleColumnRoot, type TableHandleColumnRootProps, TableHandleColumnTrigger, type TableHandleColumnTriggerProps, TableHandleDragPreview, type TableHandleDragPreviewProps, TableHandleDropIndicator, type TableHandleDropIndicatorProps, TableHandlePopoverContent, type TableHandlePopoverContentProps, TableHandlePopoverItem, type TableHandlePopoverItemProps, TableHandleRoot, type TableHandleRootProps, TableHandleRowRoot, type TableHandleRowRootProps, TableHandleRowTrigger, type TableHandleRowTriggerProps };
|
|
70
|
+
export { TableHandleColumnRoot, type TableHandleColumnRootProps, TableHandleColumnTrigger, type TableHandleColumnTriggerProps, TableHandleDragPreview, type TableHandleDragPreviewProps, TableHandleDropIndicator, type TableHandleDropIndicatorProps, TableHandlePopoverContent, type TableHandlePopoverContentProps, TableHandlePopoverItem, type TableHandlePopoverItemProps, TableHandleRoot, type TableHandleRootProps, TableHandleRowRoot, type TableHandleRowRootProps, TableHandleRowTrigger, type TableHandleRowTriggerProps };
|
|
71
|
+
//# sourceMappingURL=prosekit-solid-table-handle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-table-handle.d.ts","names":[],"sources":["../src/components/table-handle/table-handle-column-root.gen.ts","../src/components/table-handle/table-handle-column-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-popover-content.gen.ts","../src/components/table-handle/table-handle-popover-item.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-root.gen.ts","../src/components/table-handle/table-handle-row-trigger.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAA4C,UAA3B,0BAAA,SAAmC,OAAR,CAAgB,WAAhB,CAA4B,4BAA5B,EAAmC,2BAAnC,CAAA,CAAA,CAAA;AAAmC,cAElE,qBAFkE,EAE3C,SAF2C,CAEjC,gBAFiC,CAG7E,0BAH6E,EAI7E,4BAJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UCA3B,6BAAA,SAAsC,ODAX,CCAmB,WDAnB,CCA+B,+BDA/B,ECAsC,8BDAtC,CAAA,CAAA,CAAA;AAAmC,cCElE,wBDFkE,ECExC,SDFwC,CCE9B,gBDF8B,CCG7E,6BDH6E,ECI7E,+BDJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UEA3B,2BAAA,SAAoC,OFAT,CEAiB,WFAjB,CEA6B,6BFA7B,EEAoC,4BFApC,CAAA,CAAA,CAAA;AAAmC,cEElE,sBFFkE,EEE1C,SFF0C,CEEhC,gBFFgC,CEG7E,2BFH6E,EEI7E,6BFJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UGA3B,6BAAA,SAAsC,OHAX,CGAmB,WHAnB,CGA+B,+BHA/B,EGAsC,8BHAtC,CAAA,CAAA,CAAA;AAAmC,cGElE,wBHFkE,EGExC,SHFwC,CGE9B,gBHF8B,CGG7E,6BHH6E,EGI7E,+BHJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UIA3B,8BAAA,SAAuC,OJAZ,CIAoB,WJApB,CIAgC,gCJAhC,EIAuC,+BJAvC,CAAA,CAAA,CAAA;AAAmC,cIElE,yBJFkE,EIEvC,SJFuC,CIE7B,gBJF6B,CIG7E,8BJH6E,EII7E,gCJJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UKA3B,2BAAA,SAAoC,OLAT,CKAiB,WLAjB,CKA6B,6BLA7B,EKAoC,4BLApC,CAAA,CAAA,CAAA;AAAmC,cKElE,sBLFkE,EKE1C,SLF0C,CKEhC,gBLFgC,CKG7E,2BLH6E,EKI7E,6BLJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UMA3B,oBAAA,SAA6B,ONAF,CMAU,WNAV,CMAsB,sBNAtB,EMA6B,qBNA7B,CAAA,CAAA,CAAA;AAAmC,cMElE,eNFkE,EMEjD,SNFiD,CMEvC,gBNFuC,CMG7E,oBNH6E,EMI7E,sBNJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UOA3B,uBAAA,SAAgC,OPAL,COAa,WPAb,COAyB,yBPAzB,EOAgC,wBPAhC,CAAA,CAAA,CAAA;AAAmC,cOElE,kBPFkE,EOE9C,SPF8C,COEpC,gBPFoC,COG7E,uBPH6E,EOI7E,yBPJ6E,CAAA,CAAA;;;;;AAA/E;AAA4C,UQA3B,0BAAA,SAAmC,ORAR,CQAgB,WRAhB,CQA4B,4BRA5B,EQAmC,2BRAnC,CAAA,CAAA,CAAA;AAAmC,cQElE,qBRFkE,EQE3C,SRF2C,CQEjC,gBRFiC,CQG7E,0BRH6E,EQI7E,4BRJ6E,CAAA,CAAA"}
|
|
@@ -38,4 +38,5 @@ const TableHandleRowRoot = createComponent("prosekit-table-handle-row-root", Obj
|
|
|
38
38
|
const TableHandleRowTrigger = createComponent("prosekit-table-handle-row-trigger", Object.keys(tableHandleRowTriggerProps), Object.keys(tableHandleRowTriggerEvents));
|
|
39
39
|
|
|
40
40
|
//#endregion
|
|
41
|
-
export { TableHandleColumnRoot, TableHandleColumnTrigger, TableHandleDragPreview, TableHandleDropIndicator, TableHandlePopoverContent, TableHandlePopoverItem, TableHandleRoot, TableHandleRowRoot, TableHandleRowTrigger };
|
|
41
|
+
export { TableHandleColumnRoot, TableHandleColumnTrigger, TableHandleDragPreview, TableHandleDropIndicator, TableHandlePopoverContent, TableHandlePopoverItem, TableHandleRoot, TableHandleRowRoot, TableHandleRowTrigger };
|
|
42
|
+
//# sourceMappingURL=prosekit-solid-table-handle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-table-handle.js","names":["TableHandleColumnRoot: Component<PropsWithElement<\n TableHandleColumnRootProps,\n TableHandleColumnRootElement\n>>","TableHandleColumnTrigger: Component<PropsWithElement<\n TableHandleColumnTriggerProps,\n TableHandleColumnTriggerElement\n>>","TableHandleDragPreview: Component<PropsWithElement<\n TableHandleDragPreviewProps,\n TableHandleDragPreviewElement\n>>","TableHandleDropIndicator: Component<PropsWithElement<\n TableHandleDropIndicatorProps,\n TableHandleDropIndicatorElement\n>>","TableHandlePopoverContent: Component<PropsWithElement<\n TableHandlePopoverContentProps,\n TableHandlePopoverContentElement\n>>","TableHandlePopoverItem: Component<PropsWithElement<\n TableHandlePopoverItemProps,\n TableHandlePopoverItemElement\n>>","TableHandleRoot: Component<PropsWithElement<\n TableHandleRootProps,\n TableHandleRootElement\n>>","TableHandleRowRoot: Component<PropsWithElement<\n TableHandleRowRootProps,\n TableHandleRowRootElement\n>>","TableHandleRowTrigger: Component<PropsWithElement<\n TableHandleRowTriggerProps,\n TableHandleRowTriggerElement\n>>"],"sources":["../src/components/table-handle/table-handle-column-root.gen.ts","../src/components/table-handle/table-handle-column-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-popover-content.gen.ts","../src/components/table-handle/table-handle-popover-item.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-root.gen.ts","../src/components/table-handle/table-handle-row-trigger.gen.ts"],"sourcesContent":["import { \n type TableHandleColumnRootElement,\n type TableHandleColumnRootProps as Props,\n type TableHandleColumnRootEvents as Events,\n tableHandleColumnRootProps,\n tableHandleColumnRootEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleColumnRoot} component.\n */\nexport interface TableHandleColumnRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleColumnRoot: Component<PropsWithElement<\n TableHandleColumnRootProps,\n TableHandleColumnRootElement\n>> = createComponent<\n TableHandleColumnRootProps,\n TableHandleColumnRootElement\n>(\n 'prosekit-table-handle-column-root', \n Object.keys(tableHandleColumnRootProps),\n Object.keys(tableHandleColumnRootEvents),\n)\n","import { \n type TableHandleColumnTriggerElement,\n type TableHandleColumnTriggerProps as Props,\n type TableHandleColumnTriggerEvents as Events,\n tableHandleColumnTriggerProps,\n tableHandleColumnTriggerEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleColumnTrigger} component.\n */\nexport interface TableHandleColumnTriggerProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleColumnTrigger: Component<PropsWithElement<\n TableHandleColumnTriggerProps,\n TableHandleColumnTriggerElement\n>> = createComponent<\n TableHandleColumnTriggerProps,\n TableHandleColumnTriggerElement\n>(\n 'prosekit-table-handle-column-trigger', \n Object.keys(tableHandleColumnTriggerProps),\n Object.keys(tableHandleColumnTriggerEvents),\n)\n","import { \n type TableHandleDragPreviewElement,\n type TableHandleDragPreviewProps as Props,\n type TableHandleDragPreviewEvents as Events,\n tableHandleDragPreviewProps,\n tableHandleDragPreviewEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleDragPreview} component.\n */\nexport interface TableHandleDragPreviewProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleDragPreview: Component<PropsWithElement<\n TableHandleDragPreviewProps,\n TableHandleDragPreviewElement\n>> = createComponent<\n TableHandleDragPreviewProps,\n TableHandleDragPreviewElement\n>(\n 'prosekit-table-handle-drag-preview', \n Object.keys(tableHandleDragPreviewProps),\n Object.keys(tableHandleDragPreviewEvents),\n)\n","import { \n type TableHandleDropIndicatorElement,\n type TableHandleDropIndicatorProps as Props,\n type TableHandleDropIndicatorEvents as Events,\n tableHandleDropIndicatorProps,\n tableHandleDropIndicatorEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleDropIndicator} component.\n */\nexport interface TableHandleDropIndicatorProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleDropIndicator: Component<PropsWithElement<\n TableHandleDropIndicatorProps,\n TableHandleDropIndicatorElement\n>> = createComponent<\n TableHandleDropIndicatorProps,\n TableHandleDropIndicatorElement\n>(\n 'prosekit-table-handle-drop-indicator', \n Object.keys(tableHandleDropIndicatorProps),\n Object.keys(tableHandleDropIndicatorEvents),\n)\n","import { \n type TableHandlePopoverContentElement,\n type TableHandlePopoverContentProps as Props,\n type TableHandlePopoverContentEvents as Events,\n tableHandlePopoverContentProps,\n tableHandlePopoverContentEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandlePopoverContent} component.\n */\nexport interface TableHandlePopoverContentProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandlePopoverContent: Component<PropsWithElement<\n TableHandlePopoverContentProps,\n TableHandlePopoverContentElement\n>> = createComponent<\n TableHandlePopoverContentProps,\n TableHandlePopoverContentElement\n>(\n 'prosekit-table-handle-popover-content', \n Object.keys(tableHandlePopoverContentProps),\n Object.keys(tableHandlePopoverContentEvents),\n)\n","import { \n type TableHandlePopoverItemElement,\n type TableHandlePopoverItemProps as Props,\n type TableHandlePopoverItemEvents as Events,\n tableHandlePopoverItemProps,\n tableHandlePopoverItemEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandlePopoverItem} component.\n */\nexport interface TableHandlePopoverItemProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandlePopoverItem: Component<PropsWithElement<\n TableHandlePopoverItemProps,\n TableHandlePopoverItemElement\n>> = createComponent<\n TableHandlePopoverItemProps,\n TableHandlePopoverItemElement\n>(\n 'prosekit-table-handle-popover-item', \n Object.keys(tableHandlePopoverItemProps),\n Object.keys(tableHandlePopoverItemEvents),\n)\n","import { \n type TableHandleRootElement,\n type TableHandleRootProps as Props,\n type TableHandleRootEvents as Events,\n tableHandleRootProps,\n tableHandleRootEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleRoot} component.\n */\nexport interface TableHandleRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleRoot: Component<PropsWithElement<\n TableHandleRootProps,\n TableHandleRootElement\n>> = createComponent<\n TableHandleRootProps,\n TableHandleRootElement\n>(\n 'prosekit-table-handle-root', \n Object.keys(tableHandleRootProps),\n Object.keys(tableHandleRootEvents),\n)\n","import { \n type TableHandleRowRootElement,\n type TableHandleRowRootProps as Props,\n type TableHandleRowRootEvents as Events,\n tableHandleRowRootProps,\n tableHandleRowRootEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleRowRoot} component.\n */\nexport interface TableHandleRowRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleRowRoot: Component<PropsWithElement<\n TableHandleRowRootProps,\n TableHandleRowRootElement\n>> = createComponent<\n TableHandleRowRootProps,\n TableHandleRowRootElement\n>(\n 'prosekit-table-handle-row-root', \n Object.keys(tableHandleRowRootProps),\n Object.keys(tableHandleRowRootEvents),\n)\n","import { \n type TableHandleRowTriggerElement,\n type TableHandleRowTriggerProps as Props,\n type TableHandleRowTriggerEvents as Events,\n tableHandleRowTriggerProps,\n tableHandleRowTriggerEvents,\n} from '@prosekit/web/table-handle'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TableHandleRowTrigger} component.\n */\nexport interface TableHandleRowTriggerProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TableHandleRowTrigger: Component<PropsWithElement<\n TableHandleRowTriggerProps,\n TableHandleRowTriggerElement\n>> = createComponent<\n TableHandleRowTriggerProps,\n TableHandleRowTriggerElement\n>(\n 'prosekit-table-handle-row-trigger', \n Object.keys(tableHandleRowTriggerProps),\n Object.keys(tableHandleRowTriggerEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,wBAGR,gBAIH,qCACA,OAAO,KAAK,2BAA2B,EACvC,OAAO,KAAK,4BAA4B,CACzC;;;;ACVD,MAAaC,2BAGR,gBAIH,wCACA,OAAO,KAAK,8BAA8B,EAC1C,OAAO,KAAK,+BAA+B,CAC5C;;;;ACVD,MAAaC,yBAGR,gBAIH,sCACA,OAAO,KAAK,4BAA4B,EACxC,OAAO,KAAK,6BAA6B,CAC1C;;;;ACVD,MAAaC,2BAGR,gBAIH,wCACA,OAAO,KAAK,8BAA8B,EAC1C,OAAO,KAAK,+BAA+B,CAC5C;;;;ACVD,MAAaC,4BAGR,gBAIH,yCACA,OAAO,KAAK,+BAA+B,EAC3C,OAAO,KAAK,gCAAgC,CAC7C;;;;ACVD,MAAaC,yBAGR,gBAIH,sCACA,OAAO,KAAK,4BAA4B,EACxC,OAAO,KAAK,6BAA6B,CAC1C;;;;ACVD,MAAaC,kBAGR,gBAIH,8BACA,OAAO,KAAK,qBAAqB,EACjC,OAAO,KAAK,sBAAsB,CACnC;;;;ACVD,MAAaC,qBAGR,gBAIH,kCACA,OAAO,KAAK,wBAAwB,EACpC,OAAO,KAAK,yBAAyB,CACtC;;;;ACVD,MAAaC,wBAGR,gBAIH,qCACA,OAAO,KAAK,2BAA2B,EACvC,OAAO,KAAK,4BAA4B,CACzC"}
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { PropsWithElement } from "./types-
|
|
2
|
-
import { CreateProps } from "./create-props-
|
|
1
|
+
import { PropsWithElement } from "./types-CoG9Vl2B.js";
|
|
2
|
+
import { CreateProps } from "./create-props-BwXSSFVp.js";
|
|
3
3
|
import { Component } from "solid-js";
|
|
4
4
|
import { TooltipContentElement, TooltipContentEvents, TooltipContentProps as TooltipContentProps$1, TooltipRootElement, TooltipRootEvents, TooltipRootProps as TooltipRootProps$1, TooltipTriggerElement, TooltipTriggerEvents, TooltipTriggerProps as TooltipTriggerProps$1 } from "@prosekit/web/tooltip";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/tooltip-content.gen.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Props for the {@link TooltipContent} component.
|
|
10
|
-
*/
|
|
9
|
+
* Props for the {@link TooltipContent} component.
|
|
10
|
+
*/
|
|
11
11
|
interface TooltipContentProps extends Partial<CreateProps<TooltipContentProps$1, TooltipContentEvents>> {}
|
|
12
12
|
declare const TooltipContent: Component<PropsWithElement<TooltipContentProps, TooltipContentElement>>;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/tooltip/tooltip-root.gen.d.ts
|
|
15
15
|
/**
|
|
16
|
-
* Props for the {@link TooltipRoot} component.
|
|
17
|
-
*/
|
|
16
|
+
* Props for the {@link TooltipRoot} component.
|
|
17
|
+
*/
|
|
18
18
|
interface TooltipRootProps extends Partial<CreateProps<TooltipRootProps$1, TooltipRootEvents>> {}
|
|
19
19
|
declare const TooltipRoot: Component<PropsWithElement<TooltipRootProps, TooltipRootElement>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/tooltip/tooltip-trigger.gen.d.ts
|
|
22
22
|
/**
|
|
23
|
-
* Props for the {@link TooltipTrigger} component.
|
|
24
|
-
*/
|
|
23
|
+
* Props for the {@link TooltipTrigger} component.
|
|
24
|
+
*/
|
|
25
25
|
interface TooltipTriggerProps extends Partial<CreateProps<TooltipTriggerProps$1, TooltipTriggerEvents>> {}
|
|
26
26
|
declare const TooltipTrigger: Component<PropsWithElement<TooltipTriggerProps, TooltipTriggerElement>>;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { TooltipContent, type TooltipContentProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerProps };
|
|
28
|
+
export { TooltipContent, type TooltipContentProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerProps };
|
|
29
|
+
//# sourceMappingURL=prosekit-solid-tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-tooltip.d.ts","names":[],"sources":["../src/components/tooltip/tooltip-content.gen.ts","../src/components/tooltip/tooltip-root.gen.ts","../src/components/tooltip/tooltip-trigger.gen.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAgBA;AAAqC,UAApB,mBAAA,SAA4B,OAAR,CAAgB,WAAhB,CAA4B,qBAA5B,EAAmC,oBAAnC,CAAA,CAAA,CAAA;AAAmC,cAE3D,cAF2D,EAE3C,SAF2C,CAEjC,gBAFiC,CAGtE,mBAHsE,EAItE,qBAJsE,CAAA,CAAA;;;;;AAAxE;AAAqC,UCApB,gBAAA,SAAyB,ODAL,CCAa,WDAb,CCAyB,kBDAzB,ECAgC,iBDAhC,CAAA,CAAA,CAAA;AAAmC,cCE3D,WDF2D,ECE9C,SDF8C,CCEpC,gBDFoC,CCGtE,gBDHsE,ECItE,kBDJsE,CAAA,CAAA;;;;;AAAxE;AAAqC,UEApB,mBAAA,SAA4B,OFAR,CEAgB,WFAhB,CEA4B,qBFA5B,EEAmC,oBFAnC,CAAA,CAAA,CAAA;AAAmC,cEE3D,cFF2D,EEE3C,SFF2C,CEEjC,gBFFiC,CEGtE,mBFHsE,EEItE,qBFJsE,CAAA,CAAA"}
|
|
@@ -14,4 +14,5 @@ const TooltipRoot = createComponent("prosekit-tooltip-root", Object.keys(tooltip
|
|
|
14
14
|
const TooltipTrigger = createComponent("prosekit-tooltip-trigger", Object.keys(tooltipTriggerProps), Object.keys(tooltipTriggerEvents));
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
|
-
export { TooltipContent, TooltipRoot, TooltipTrigger };
|
|
17
|
+
export { TooltipContent, TooltipRoot, TooltipTrigger };
|
|
18
|
+
//# sourceMappingURL=prosekit-solid-tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosekit-solid-tooltip.js","names":["TooltipContent: Component<PropsWithElement<\n TooltipContentProps,\n TooltipContentElement\n>>","TooltipRoot: Component<PropsWithElement<\n TooltipRootProps,\n TooltipRootElement\n>>","TooltipTrigger: Component<PropsWithElement<\n TooltipTriggerProps,\n TooltipTriggerElement\n>>"],"sources":["../src/components/tooltip/tooltip-content.gen.ts","../src/components/tooltip/tooltip-root.gen.ts","../src/components/tooltip/tooltip-trigger.gen.ts"],"sourcesContent":["import { \n type TooltipContentElement,\n type TooltipContentProps as Props,\n type TooltipContentEvents as Events,\n tooltipContentProps,\n tooltipContentEvents,\n} from '@prosekit/web/tooltip'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TooltipContent} component.\n */\nexport interface TooltipContentProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TooltipContent: Component<PropsWithElement<\n TooltipContentProps,\n TooltipContentElement\n>> = createComponent<\n TooltipContentProps,\n TooltipContentElement\n>(\n 'prosekit-tooltip-content', \n Object.keys(tooltipContentProps),\n Object.keys(tooltipContentEvents),\n)\n","import { \n type TooltipRootElement,\n type TooltipRootProps as Props,\n type TooltipRootEvents as Events,\n tooltipRootProps,\n tooltipRootEvents,\n} from '@prosekit/web/tooltip'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TooltipRoot} component.\n */\nexport interface TooltipRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TooltipRoot: Component<PropsWithElement<\n TooltipRootProps,\n TooltipRootElement\n>> = createComponent<\n TooltipRootProps,\n TooltipRootElement\n>(\n 'prosekit-tooltip-root', \n Object.keys(tooltipRootProps),\n Object.keys(tooltipRootEvents),\n)\n","import { \n type TooltipTriggerElement,\n type TooltipTriggerProps as Props,\n type TooltipTriggerEvents as Events,\n tooltipTriggerProps,\n tooltipTriggerEvents,\n} from '@prosekit/web/tooltip'\nimport type { Component } from 'solid-js'\n\nimport type { PropsWithElement } from '../../types'\nimport { createComponent } from '../create-component'\nimport type { CreateProps } from '../create-props'\n\n/**\n * Props for the {@link TooltipTrigger} component.\n */\nexport interface TooltipTriggerProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const TooltipTrigger: Component<PropsWithElement<\n TooltipTriggerProps,\n TooltipTriggerElement\n>> = createComponent<\n TooltipTriggerProps,\n TooltipTriggerElement\n>(\n 'prosekit-tooltip-trigger', \n Object.keys(tooltipTriggerProps),\n Object.keys(tooltipTriggerEvents),\n)\n"],"mappings":";;;;;AAkBA,MAAaA,iBAGR,gBAIH,4BACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC;;;;ACVD,MAAaC,cAGR,gBAIH,yBACA,OAAO,KAAK,iBAAiB,EAC7B,OAAO,KAAK,kBAAkB,CAC/B;;;;ACVD,MAAaC,iBAGR,gBAIH,4BACA,OAAO,KAAK,oBAAoB,EAChC,OAAO,KAAK,qBAAqB,CAClC"}
|