@cocoar/vue-ui 1.9.0 → 1.10.0-overlay-parent-injection.2

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 (45) hide show
  1. package/dist/components/menu/CoarContextMenu.vue.d.ts +5 -22
  2. package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
  3. package/dist/components/menu/CoarContextMenuPanel.vue.d.ts +26 -0
  4. package/dist/components/menu/CoarContextMenuPanel.vue.d.ts.map +1 -0
  5. package/dist/components/menu/CoarSubFlyout.vue.d.ts +1 -20
  6. package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
  7. package/dist/components/menu/CoarSubFlyoutPanel.vue.d.ts +53 -0
  8. package/dist/components/menu/CoarSubFlyoutPanel.vue.d.ts.map +1 -0
  9. package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
  10. package/dist/components/overlay/index.d.ts +2 -2
  11. package/dist/components/overlay/index.d.ts.map +1 -1
  12. package/dist/components/overlay/overlay-presets.d.ts +42 -2
  13. package/dist/components/overlay/overlay-presets.d.ts.map +1 -1
  14. package/dist/components/overlay/overlay-service.d.ts +7 -2
  15. package/dist/components/overlay/overlay-service.d.ts.map +1 -1
  16. package/dist/components/overlay/useOverlay.d.ts +27 -1
  17. package/dist/components/overlay/useOverlay.d.ts.map +1 -1
  18. package/dist/components/popover/CoarPopover.vue.d.ts +3 -4
  19. package/dist/components/popover/CoarPopover.vue.d.ts.map +1 -1
  20. package/dist/components/popover/CoarPopoverPanel.vue.d.ts +36 -0
  21. package/dist/components/popover/CoarPopoverPanel.vue.d.ts.map +1 -0
  22. package/dist/components/select/CoarMultiSelect.vue.d.ts.map +1 -1
  23. package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts +32 -0
  24. package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts.map +1 -0
  25. package/dist/components/select/CoarSelect.vue.d.ts.map +1 -1
  26. package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts +27 -0
  27. package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts.map +1 -0
  28. package/dist/components/select/CoarTagSelect.vue.d.ts.map +1 -1
  29. package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts +25 -0
  30. package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts.map +1 -0
  31. package/dist/components/sidebar/CoarSidebarFlyoutPanel.vue.d.ts +65 -0
  32. package/dist/components/sidebar/CoarSidebarFlyoutPanel.vue.d.ts.map +1 -0
  33. package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts +0 -3
  34. package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts.map +1 -1
  35. package/dist/components/tooltip/CoarTooltipPanel.vue.d.ts +16 -0
  36. package/dist/components/tooltip/CoarTooltipPanel.vue.d.ts.map +1 -0
  37. package/dist/components/tooltip/vTooltip.d.ts +5 -1
  38. package/dist/components/tooltip/vTooltip.d.ts.map +1 -1
  39. package/dist/index.css +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +3024 -2731
  43. package/package.json +2 -2
  44. package/dist/components/select/useSelectDropdown.d.ts +0 -19
  45. package/dist/components/select/useSelectDropdown.d.ts.map +0 -1
@@ -1,27 +1,10 @@
1
1
  import { ContextMenuContext } from './useContextMenu';
2
- type __VLS_Props = {
2
+ declare const _default: import('vue').DefineComponent<{
3
3
  /** Context menu controller returned by useContextMenu() */
4
4
  menu: ContextMenuContext;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {
12
- hostRef: HTMLDivElement;
13
- };
14
- rootEl: any;
15
- };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
- hostRef: HTMLDivElement;
19
- }, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
+ /** Context menu controller returned by useContextMenu() */
7
+ menu: ContextMenuContext;
8
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
9
  export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
27
10
  //# sourceMappingURL=CoarContextMenu.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CoarContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/menu/CoarContextMenu.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAI3D,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAuFF,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;yBAXpB,GAAG;;;;;;EAgBhC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/menu/CoarContextMenu.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;;IASzD,2DAA2D;UACrD,kBAAkB;;IADxB,2DAA2D;UACrD,kBAAkB;;AAH1B,wBAmGK"}
@@ -0,0 +1,26 @@
1
+ import { PropType, VNode } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** Render function returning the default-slot VNodes from the ContextMenu's scope. */
4
+ renderContent: {
5
+ type: PropType<() => VNode[] | undefined>;
6
+ required: true;
7
+ };
8
+ /** Callback the service-mounted menu uses to close the context-menu state. */
9
+ closeMenu: {
10
+ type: PropType<() => void>;
11
+ required: true;
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ /** Render function returning the default-slot VNodes from the ContextMenu's scope. */
15
+ renderContent: {
16
+ type: PropType<() => VNode[] | undefined>;
17
+ required: true;
18
+ };
19
+ /** Callback the service-mounted menu uses to close the context-menu state. */
20
+ closeMenu: {
21
+ type: PropType<() => void>;
22
+ required: true;
23
+ };
24
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
25
+ export default _default;
26
+ //# sourceMappingURL=CoarContextMenuPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarContextMenuPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/menu/CoarContextMenuPanel.vue"],"names":[],"mappings":"AAmCA;;;;;;GAMG;AACH,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;;IAmF9C,sFAAsF;;cAElE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;IAGvD,8EAA8E;;cAC/C,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;IANnD,sFAAsF;;cAElE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;IAGvD,8EAA8E;;cAC/C,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;AAZrD,wBAeG"}
@@ -6,30 +6,11 @@ type __VLS_Props = {
6
6
  /** Disabled state */
7
7
  disabled?: boolean;
8
8
  };
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {}): any;
13
- };
14
- refs: {
15
- itemRef: HTMLDivElement;
16
- panelRef: HTMLDivElement;
17
- };
18
- rootEl: HTMLDivElement;
19
- };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
10
  disabled: boolean;
23
11
  icon: string;
24
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
13
  itemRef: HTMLDivElement;
26
- panelRef: HTMLDivElement;
27
14
  }, HTMLDivElement>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
15
  export default _default;
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
35
16
  //# sourceMappingURL=CoarSubFlyout.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CoarSubFlyout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/menu/CoarSubFlyout.vue"],"names":[],"mappings":"AAwaA,KAAK,WAAW,GAAG;IACf,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAwQJ,iBAAS,cAAc;WAgHT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;EAiBhC;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cApZN,OAAO;UAFX,MAAM;;;;kBA+Zf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarSubFlyout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/menu/CoarSubFlyout.vue"],"names":[],"mappings":"AAybA,KAAK,WAAW,GAAG;IACf,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;;cADW,OAAO;UAFX,MAAM;;;;AAmWjB,wBASG"}
@@ -0,0 +1,53 @@
1
+ import { PropType, VNode } from 'vue';
2
+ import { MenuCascade } from './menu-cascade';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /** DOM id for the panel — referenced by the trigger's `aria-controls`. */
5
+ id: {
6
+ type: StringConstructor;
7
+ required: true;
8
+ };
9
+ /** Render function returning the default-slot VNodes from the SubFlyout's scope. */
10
+ renderContent: {
11
+ type: PropType<() => VNode[] | undefined>;
12
+ required: true;
13
+ };
14
+ /** This SubFlyout's own cascade node — nested SubFlyouts use it as their parent. */
15
+ cascade: {
16
+ type: PropType<MenuCascade>;
17
+ required: true;
18
+ };
19
+ /** Close-the-entire-menu-tree callback, provided so nested `CoarMenuItem` auto-closes. */
20
+ closeTree: {
21
+ type: PropType<() => void>;
22
+ required: true;
23
+ };
24
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ panelEnter: () => any;
26
+ panelLeave: () => any;
27
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ /** DOM id for the panel — referenced by the trigger's `aria-controls`. */
29
+ id: {
30
+ type: StringConstructor;
31
+ required: true;
32
+ };
33
+ /** Render function returning the default-slot VNodes from the SubFlyout's scope. */
34
+ renderContent: {
35
+ type: PropType<() => VNode[] | undefined>;
36
+ required: true;
37
+ };
38
+ /** This SubFlyout's own cascade node — nested SubFlyouts use it as their parent. */
39
+ cascade: {
40
+ type: PropType<MenuCascade>;
41
+ required: true;
42
+ };
43
+ /** Close-the-entire-menu-tree callback, provided so nested `CoarMenuItem` auto-closes. */
44
+ closeTree: {
45
+ type: PropType<() => void>;
46
+ required: true;
47
+ };
48
+ }>> & Readonly<{
49
+ onPanelEnter?: (() => any) | undefined;
50
+ onPanelLeave?: (() => any) | undefined;
51
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
52
+ export default _default;
53
+ //# sourceMappingURL=CoarSubFlyoutPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarSubFlyoutPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/menu/CoarSubFlyoutPanel.vue"],"names":[],"mappings":"AA8DA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAW,KAAK,QAAQ,EAAE,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAC;;IAyHtB,0EAA0E;;;;;IAE1E,oFAAoF;;cAEhE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;IAGvD,oFAAoF;;cACzD,QAAQ,CAAC,WAAW,CAAC;;;IAChD,0FAA0F;;cAC3D,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;IAVnD,0EAA0E;;;;;IAE1E,oFAAoF;;cAEhE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;IAGvD,oFAAoF;;cACzD,QAAQ,CAAC,WAAW,CAAC;;;IAChD,0FAA0F;;cAC3D,QAAQ,CAAC,MAAM,IAAI,CAAC;;;;;;;AAjBrD,wBAoBG"}
@@ -1 +1 @@
1
- {"version":3,"file":"CoarOverlayOutlet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/CoarOverlayOutlet.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAC;AA+CF,iBAAS,cAAc;WA4FT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;EAiBhC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarOverlayOutlet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/CoarOverlayOutlet.vue"],"names":[],"mappings":"AA6IA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAC;AAqDF,iBAAS,cAAc;WA6FT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;EAiBhC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -4,8 +4,8 @@ export { computeOverlayCoordinates, getViewportRect, getAnchorRect, getContainer
4
4
  export type { ViewportRect, Rect, OverlaySize, OverlayCoordinates } from './overlay-position';
5
5
  export { createOverlayService } from './overlay-service';
6
6
  export type { OverlayService, OverlayInstance, OverlayContent, OverlayOpenOptions } from './overlay-service';
7
- export { CoarOverlayPlugin, OVERLAY_SERVICE_KEY, useOverlay, getOverlayService, _resetOverlayServiceForTests } from './useOverlay';
7
+ export { CoarOverlayPlugin, OVERLAY_SERVICE_KEY, OVERLAY_PARENT_KEY, useOverlay, useOverlayParent, getOverlayService, _resetOverlayServiceForTests, } from './useOverlay';
8
8
  export { default as CoarOverlayHost } from './CoarOverlayHost.vue';
9
9
  export { default as CoarOverlayOutlet } from './CoarOverlayOutlet.vue';
10
- export { tooltipPreset, modalPreset, menuPreset, selectPreset, hoverMenuPreset, dialogPreset, popconfirmPreset, datepickerPreset } from './overlay-presets';
10
+ export { tooltipPreset, modalPreset, menuPreset, selectPreset, hoverMenuPreset, dialogPreset, popconfirmPreset, popoverPreset, datepickerPreset, subFlyoutPreset, contextMenuPreset, sidebarFlyoutPreset } from './overlay-presets';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,SAAS,EACT,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,UAAU,EACV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AAO,EACL,yBAAyB,EACzB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG7G,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -15,8 +15,16 @@ export declare const modalPreset: OverlaySpec;
15
15
  */
16
16
  export declare const menuPreset: OverlaySpec;
17
17
  /**
18
- * Preset for select dropdowns.
19
- * Similar to menu but with listbox role and anchor-width sizing.
18
+ * Preset for select dropdowns. Anchor-width sizing via `size.minWidth: 'anchor'` so the
19
+ * dropdown matches the trigger width while allowing long option labels to extend it.
20
+ * `scroll.strategy: 'reposition'` follows the trigger on scroll rather than closing —
21
+ * the expected behavior for a dropdown, since closing on every scroll event would feel
22
+ * abrupt when the user is just scrolling the surrounding form.
23
+ *
24
+ * `a11y.role` is intentionally omitted: the select panels already render an inner
25
+ * `role="listbox"` element whose id the trigger references via `aria-controls`. Adding
26
+ * `role="listbox"` on the outer overlay host would duplicate the role and confuse
27
+ * screen readers (and anchor `aria-multiselectable` onto the wrong element).
20
28
  */
21
29
  export declare const selectPreset: OverlaySpec;
22
30
  /**
@@ -41,5 +49,37 @@ export declare const dialogPreset: OverlaySpec;
41
49
  * which feeds into the position measurement so shift/flip calculations stay accurate.
42
50
  */
43
51
  export declare const datepickerPreset: OverlaySpec;
52
+ /**
53
+ * Preset for `CoarPopover` — anchor-relative, reposition on scroll, escape dismiss.
54
+ * `outsideClick` defaults to true so clicking outside the pinned popover closes it, but
55
+ * callers in hover-only mode typically override it to false because the component drives
56
+ * close via hover-out timers instead.
57
+ */
58
+ export declare const popoverPreset: OverlaySpec;
59
+ /**
60
+ * Preset for `CoarSidebarGroup` flyout panels. Anchored to the group trigger with the
61
+ * submenu appearing to its right (or flipping left near the viewport edge). Offset is
62
+ * negative so the flyout overlaps the trigger by a few pixels, matching the legacy
63
+ * visual. `scroll.strategy: 'reposition'` keeps the flyout attached if the sidebar
64
+ * scrolls, while `outsideClick` + `escapeKey` let the service handle dismissal.
65
+ */
66
+ export declare const sidebarFlyoutPreset: OverlaySpec;
67
+ /**
68
+ * Preset for `CoarContextMenu` — right-click menu anchored to a cursor point. The anchor
69
+ * is set at `open()` time with `{ kind: 'point', x, y }` (a 0×0 rect at the cursor), and
70
+ * the placement list covers all four "grow outward from cursor" directions so `flip: true`
71
+ * picks the corner with the most available space. `shift: true` clamps the menu into the
72
+ * viewport when even the chosen corner overflows. `scroll.strategy: 'close'` dismisses the
73
+ * menu on page scroll, matching the legacy behavior.
74
+ */
75
+ export declare const contextMenuPreset: OverlaySpec;
76
+ /**
77
+ * Preset for `CoarSubFlyout` — cascading submenu anchored to the right of its parent item.
78
+ * Falls back to `left-start` when the right side overflows. Offset is negative so the
79
+ * submenu overlaps the anchor slightly, matching the legacy visual. `flip: false` because
80
+ * the placement array already covers the flip direction. Hover-out dismissal is driven by
81
+ * the component's own timer logic (not `dismiss.hoverTree`).
82
+ */
83
+ export declare const subFlyoutPreset: OverlaySpec;
44
84
  export declare const popconfirmPreset: OverlaySpec;
45
85
  //# sourceMappingURL=overlay-presets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay-presets.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/overlay-presets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,WAa3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,WAUzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,WAaxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,WAc1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,WAG7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAU1B,CAAC;AAEF;;;GAGG;AACH;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,WAc9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAa9B,CAAC"}
1
+ {"version":3,"file":"overlay-presets.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/overlay-presets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,WAa3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,WAUzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,WAaxB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,EAAE,WAc1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,WAG7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,WAU1B,CAAC;AAEF;;;GAGG;AACH;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,WAc9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,WAa3B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,WAajC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAE,WAa/B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,WAa7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAa9B,CAAC"}
@@ -53,8 +53,13 @@ export interface OverlayOpenOptions {
53
53
  content: OverlayContent;
54
54
  /** Props/inputs to pass to the content component */
55
55
  inputs?: Record<string, unknown>;
56
- /** Parent overlay (for child/submenu overlays) */
57
- parent?: OverlayRef;
56
+ /**
57
+ * Parent overlay (for child/submenu overlays). Accepts either the `OverlayRef`
58
+ * returned from a previous `open()` call or the `OverlayInstance` provided under
59
+ * `OVERLAY_PARENT_KEY` by `CoarOverlayOutlet` — the latter is what
60
+ * `useOverlayParent()` returns, so descendants can pass it straight through.
61
+ */
62
+ parent?: OverlayRef | OverlayInstance;
58
63
  }
59
64
  /**
60
65
  * Global overlay manager. Creates and manages overlay instances.
@@ -1 +1 @@
1
- {"version":3,"file":"overlay-service.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/overlay-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACrF,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAYzB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,E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AAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { InjectionKey, Plugin } from 'vue';
2
- import { OverlayService } from './overlay-service';
2
+ import { OverlayService, OverlayInstance } from './overlay-service';
3
3
  /**
4
4
  * Injection key for the overlay service singleton.
5
5
  */
6
6
  export declare const OVERLAY_SERVICE_KEY: InjectionKey<OverlayService>;
7
+ /**
8
+ * Injection key for the **nearest ancestor overlay**. Every `CoarOverlayOutlet` provides
9
+ * its own `OverlayInstance` under this key, so any descendant component that opens its
10
+ * own overlay (popover, tooltip, sub-menu, etc.) can read the nearest parent and pass it
11
+ * to `overlay.open({ parent })`. The service then:
12
+ *
13
+ * - stacks the child above the parent (each new `instance.id` is larger, so
14
+ * `calc(var(--coar-z-overlay) + id*2)` gives higher z-index automatically)
15
+ * - treats clicks inside the child as clicks inside the parent (parent does not close
16
+ * when the user interacts with a popover that was opened from inside it)
17
+ * - propagates close-on-parent-close so orphaned children don't linger
18
+ *
19
+ * Components outside any overlay get `undefined` on inject and open as root overlays.
20
+ * Mirrors Angular's `@Optional() @SkipSelf() parentOverlay?: OverlayInstance` pattern.
21
+ */
22
+ export declare const OVERLAY_PARENT_KEY: InjectionKey<OverlayInstance>;
23
+ /**
24
+ * Convenience composable — reads the nearest ancestor overlay instance, or `undefined`
25
+ * if the component is outside any overlay (top-level of the app).
26
+ *
27
+ * ```ts
28
+ * const parent = useOverlayParent();
29
+ * overlay.open({ spec, content, parent });
30
+ * ```
31
+ */
32
+ export declare function useOverlayParent(): OverlayInstance | undefined;
7
33
  /**
8
34
  * Get the overlay service without injection (for use outside setup()).
9
35
  * Throws if CoarOverlayPlugin has not been installed.
@@ -1 +1 @@
1
- {"version":3,"file":"useOverlay.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/useOverlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAU,KAAK,MAAM,EAAE,MAAM,KAAK,CAAC;AAC7D,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG9E;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,cAAc,CAAgC,CAAC;AAO9F;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAOlD;AAED,gEAAgE;AAChE,wBAAgB,4BAA4B,IAAI,IAAI,CAEnD;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAW/B,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,UAAU,IAAI,cAAc,CAQ3C"}
1
+ {"version":3,"file":"useOverlay.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/useOverlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAU,KAAK,MAAM,EAAE,MAAM,KAAK,CAAC;AAC7D,OAAO,EAAwB,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpG;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,cAAc,CAAgC,CAAC;AAE9F;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,eAAe,CAA+B,CAAC;AAE7F;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,eAAe,GAAG,SAAS,CAE9D;AAOD;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAOlD;AAED,gEAAgE;AAChE,wBAAgB,4BAA4B,IAAI,IAAI,CAEnD;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAW/B,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,UAAU,IAAI,cAAc,CAQ3C"}
@@ -4,11 +4,9 @@ declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
5
5
  slots: {
6
6
  default?(_: {}): any;
7
- content?(_: {}): any;
8
7
  };
9
8
  refs: {
10
9
  triggerRef: HTMLSpanElement;
11
- panelRef: HTMLDivElement;
12
10
  };
13
11
  rootEl: HTMLDivElement;
14
12
  };
@@ -34,7 +32,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
34
32
  type: NumberConstructor;
35
33
  default: number;
36
34
  };
37
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
+ }>, {
36
+ isOpen: import('vue').Ref<boolean, boolean>;
37
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
38
  /** Trigger mode: 'hover', 'click', or 'both'. Default: 'hover' */
39
39
  mode: {
40
40
  type: PropType<PopoverMode>;
@@ -62,7 +62,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
62
62
  interactive: boolean;
63
63
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
64
64
  triggerRef: HTMLSpanElement;
65
- panelRef: HTMLDivElement;
66
65
  }, HTMLDivElement>;
67
66
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
68
67
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popover/CoarPopover.vue"],"names":[],"mappings":"AA8VA,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,KAAK,CAAC;AAKb,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AA+PrD,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;;;;;;;EAiB/B;AA+BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAMnB,kEAAkE;;cAC1C,QAAQ,CAAC,WAAW,CAAC;;;IAC7C,uCAAuC;;;;;IAEvC,+DAA+D;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1,36 @@
1
+ import { VNode, PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** `false` turns off pointer events on the panel — used for tooltip-like variants. */
4
+ interactive: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ /** Render function returning the content VNodes from the parent's `content` slot. */
9
+ renderContent: {
10
+ type: PropType<() => VNode[] | undefined>;
11
+ required: true;
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ panelEnter: () => any;
15
+ panelLeave: () => any;
16
+ panelFocusOut: (event: FocusEvent) => any;
17
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ /** `false` turns off pointer events on the panel — used for tooltip-like variants. */
19
+ interactive: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ /** Render function returning the content VNodes from the parent's `content` slot. */
24
+ renderContent: {
25
+ type: PropType<() => VNode[] | undefined>;
26
+ required: true;
27
+ };
28
+ }>> & Readonly<{
29
+ onPanelEnter?: (() => any) | undefined;
30
+ onPanelLeave?: (() => any) | undefined;
31
+ onPanelFocusOut?: ((event: FocusEvent) => any) | undefined;
32
+ }>, {
33
+ interactive: boolean;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
35
+ export default _default;
36
+ //# sourceMappingURL=CoarPopoverPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarPopoverPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popover/CoarPopoverPanel.vue"],"names":[],"mappings":"AAsEA;;;;;;;;;GASG;AACH,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;;IAsG9C,sFAAsF;;;;;IAEtF,qFAAqF;;cAEjE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;;;;;;IAJvD,sFAAsF;;;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AAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA8dO,mBAAmB,CAAC;;;qBAxMf,CAAC,EAAE;8CAwM8E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzezE,wBAye4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { Ref } from 'vue';
2
+ import { CoarSelectOption } from './types';
3
+ import { CoarSelectSize } from './useSelectBase';
4
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly size: CoarSelectSize;
7
+ readonly filteredOptions: Ref<CoarSelectOption<T>[], CoarSelectOption<T>[]>;
8
+ readonly highlightedIndex: Ref<number, number>;
9
+ readonly searchQuery: Ref<string, string>;
10
+ readonly listboxId: string;
11
+ readonly optionIdPrefix: string;
12
+ readonly isSelected: (option: CoarSelectOption<T>) => boolean;
13
+ readonly onOptionClick: (option: CoarSelectOption<T>) => void;
14
+ readonly onHighlight: (i: number) => void;
15
+ readonly showSelectAll: boolean;
16
+ readonly selectAllLabel: string;
17
+ readonly allSelected: Ref<boolean, boolean>;
18
+ readonly someSelected: Ref<boolean, boolean>;
19
+ readonly onToggleAll: () => void;
20
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "size" | "filteredOptions" | "highlightedIndex" | "searchQuery" | "listboxId" | "optionIdPrefix" | "isSelected" | "onOptionClick" | "onHighlight" | "showSelectAll" | "selectAllLabel" | "allSelected" | "someSelected" | "onToggleAll"> & {} & Partial<{}>> & import('vue').PublicProps;
21
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
22
+ attrs: any;
23
+ slots: {};
24
+ emit: {};
25
+ }>) => import('vue').VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ export default _default;
29
+ type __VLS_PrettifyLocal<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
32
+ //# sourceMappingURL=CoarMultiSelectDropdownPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarMultiSelectDropdownPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/select/CoarMultiSelectDropdownPanel.vue"],"names":[],"mappings":"AAoQA;;;;;GAKG;AACH,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAI9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;yBAErC,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAA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C,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,uFAAuF;IACvF,WAAW,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;CACxC;yBAEgB,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA4aO,mBAAmB,CAAC;;;qBAjNf,CAAC,GAAG,IAAI;yCAiNyE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvbzE,wBAub4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { Ref } from 'vue';
2
+ import { CoarSelectOption } from './types';
3
+ import { CoarSelectSize } from './useSelectBase';
4
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly size: CoarSelectSize;
7
+ readonly filteredOptions: Ref<CoarSelectOption<T>[], CoarSelectOption<T>[]>;
8
+ readonly highlightedIndex: Ref<number, number>;
9
+ readonly searchQuery: Ref<string, string>;
10
+ readonly listboxId: string;
11
+ readonly optionIdPrefix: string;
12
+ readonly isSelected: (option: CoarSelectOption<T>) => boolean;
13
+ readonly onOptionClick: (option: CoarSelectOption<T>) => void;
14
+ readonly onHighlight: (i: number) => void;
15
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "size" | "filteredOptions" | "highlightedIndex" | "searchQuery" | "listboxId" | "optionIdPrefix" | "isSelected" | "onOptionClick" | "onHighlight"> & {} & Partial<{}>> & import('vue').PublicProps;
16
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
17
+ attrs: any;
18
+ slots: {};
19
+ emit: {};
20
+ }>) => import('vue').VNode & {
21
+ __ctx?: Awaited<typeof __VLS_setup>;
22
+ };
23
+ export default _default;
24
+ type __VLS_PrettifyLocal<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
27
+ //# sourceMappingURL=CoarSelectDropdownPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarSelectDropdownPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/select/CoarSelectDropdownPanel.vue"],"names":[],"mappings":"AAuNA;;;;;;;;;;GAUG;AACH,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAI9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;yBAErC,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CA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,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;CACxC;yBAEgB,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA6ZO,mBAAmB,CAAC;;;qBAxKf,CAAC,EAAE;4CAwK8E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAxazE,wBAwa4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Ref } from 'vue';
2
+ import { CoarSelectOption } from './types';
3
+ import { CoarSelectSize } from './useSelectBase';
4
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
+ readonly size: CoarSelectSize;
7
+ readonly filteredOptions: Ref<CoarSelectOption<T>[], CoarSelectOption<T>[]>;
8
+ readonly highlightedIndex: Ref<number, number>;
9
+ readonly listboxId: string;
10
+ readonly optionIdPrefix: string;
11
+ readonly onOptionClick: (option: CoarSelectOption<T>) => void;
12
+ readonly onHighlight: (i: number) => void;
13
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "size" | "filteredOptions" | "highlightedIndex" | "listboxId" | "optionIdPrefix" | "onOptionClick" | "onHighlight"> & {} & Partial<{}>> & import('vue').PublicProps;
14
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
15
+ attrs: any;
16
+ slots: {};
17
+ emit: {};
18
+ }>) => import('vue').VNode & {
19
+ __ctx?: Awaited<typeof __VLS_setup>;
20
+ };
21
+ export default _default;
22
+ type __VLS_PrettifyLocal<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
25
+ //# sourceMappingURL=CoarTagSelectDropdownPanel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarTagSelectDropdownPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/select/CoarTagSelectDropdownPanel.vue"],"names":[],"mappings":"AAkKA;;;;;;GAMG;AACH,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAI9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;yBAErC,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA4KO,mBAAmB,CAAC;;;;;;yCAvIY,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI;kCAIjC,MAAM,KAAK,IAAI;2PAmI4C,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvLzE,wBAuL4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { PropType, VNode } from 'vue';
2
+ import { SidebarFlyoutParent } from './sidebar-context';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /** DOM id for the panel — referenced by the trigger's `aria-controls`. */
5
+ id: {
6
+ type: StringConstructor;
7
+ required: true;
8
+ };
9
+ /** Group label — shown as the flyout header in labels mode. */
10
+ label: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ /** Icon-only mode — flyout switches to a narrow icon-only layout. */
15
+ iconOnly: {
16
+ type: BooleanConstructor;
17
+ required: true;
18
+ };
19
+ /** Parent flyout's control passed through `SIDEBAR_FLYOUT_PARENT_KEY`. */
20
+ parentControl: {
21
+ type: PropType<SidebarFlyoutParent | null>;
22
+ default: null;
23
+ };
24
+ /** Render function returning the default-slot VNodes from the owning group's scope. */
25
+ renderContent: {
26
+ type: PropType<() => VNode[] | undefined>;
27
+ required: true;
28
+ };
29
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ flyoutEnter: () => any;
31
+ flyoutLeave: () => any;
32
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ /** DOM id for the panel — referenced by the trigger's `aria-controls`. */
34
+ id: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ /** Group label — shown as the flyout header in labels mode. */
39
+ label: {
40
+ type: StringConstructor;
41
+ required: true;
42
+ };
43
+ /** Icon-only mode — flyout switches to a narrow icon-only layout. */
44
+ iconOnly: {
45
+ type: BooleanConstructor;
46
+ required: true;
47
+ };
48
+ /** Parent flyout's control passed through `SIDEBAR_FLYOUT_PARENT_KEY`. */
49
+ parentControl: {
50
+ type: PropType<SidebarFlyoutParent | null>;
51
+ default: null;
52
+ };
53
+ /** Render function returning the default-slot VNodes from the owning group's scope. */
54
+ renderContent: {
55
+ type: PropType<() => VNode[] | undefined>;
56
+ required: true;
57
+ };
58
+ }>> & Readonly<{
59
+ onFlyoutEnter?: (() => any) | undefined;
60
+ onFlyoutLeave?: (() => any) | undefined;
61
+ }>, {
62
+ parentControl: SidebarFlyoutParent | null;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
64
+ export default _default;
65
+ //# sourceMappingURL=CoarSidebarFlyoutPanel.vue.d.ts.map