@cocoar/vue-ui 1.11.0 → 1.12.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/components/menu/CoarContextMenu.vue.d.ts +5 -22
- package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarContextMenuPanel.vue.d.ts +26 -0
- package/dist/components/menu/CoarContextMenuPanel.vue.d.ts.map +1 -0
- package/dist/components/menu/CoarSubFlyout.vue.d.ts +1 -20
- package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarSubFlyoutPanel.vue.d.ts +53 -0
- package/dist/components/menu/CoarSubFlyoutPanel.vue.d.ts.map +1 -0
- package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
- package/dist/components/overlay/index.d.ts +2 -2
- package/dist/components/overlay/index.d.ts.map +1 -1
- package/dist/components/overlay/overlay-presets.d.ts +42 -2
- package/dist/components/overlay/overlay-presets.d.ts.map +1 -1
- package/dist/components/overlay/overlay-service.d.ts +7 -2
- package/dist/components/overlay/overlay-service.d.ts.map +1 -1
- package/dist/components/overlay/useOverlay.d.ts +27 -1
- package/dist/components/overlay/useOverlay.d.ts.map +1 -1
- package/dist/components/popover/CoarPopover.vue.d.ts +3 -4
- package/dist/components/popover/CoarPopover.vue.d.ts.map +1 -1
- package/dist/components/popover/CoarPopoverPanel.vue.d.ts +36 -0
- package/dist/components/popover/CoarPopoverPanel.vue.d.ts.map +1 -0
- package/dist/components/select/CoarMultiSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts +32 -0
- package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts.map +1 -0
- package/dist/components/select/CoarSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts +27 -0
- package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts.map +1 -0
- package/dist/components/select/CoarTagSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts +25 -0
- package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts.map +1 -0
- package/dist/components/sidebar/CoarSidebarFlyoutPanel.vue.d.ts +65 -0
- package/dist/components/sidebar/CoarSidebarFlyoutPanel.vue.d.ts.map +1 -0
- package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts +0 -3
- package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/tooltip/CoarTooltipPanel.vue.d.ts +16 -0
- package/dist/components/tooltip/CoarTooltipPanel.vue.d.ts.map +1 -0
- package/dist/components/tooltip/vTooltip.d.ts +5 -1
- package/dist/components/tooltip/vTooltip.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4561 -4268
- package/package.json +2 -2
- package/dist/components/select/useSelectDropdown.d.ts +0 -19
- package/dist/components/select/useSelectDropdown.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoarSidebarFlyoutPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/CoarSidebarFlyoutPanel.vue"],"names":[],"mappings":"AA0DA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;;IA0H3D,0EAA0E;;;;;IAE1E,+DAA+D;;;;;IAE/D,qEAAqE;;;;;IAErE,0EAA0E;;cACzC,QAAQ,CAAC,mBAAmB,GAAG,IAAI,CAAC;;;IACrE,uFAAuF;;cAEnE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;;;;;IAVvD,0EAA0E;;;;;IAE1E,+DAA+D;;;;;IAE/D,qEAAqE;;;;;IAErE,0EAA0E;;cACzC,QAAQ,CAAC,mBAAmB,GAAG,IAAI,CAAC;;;IACrE,uFAAuF;;cAEnE,QAAQ,CAAC,MAAM,KAAK,EAAE,GAAG,SAAS,CAAC;;;;;;;;;AAjBzD,wBAsBG"}
|
|
@@ -19,11 +19,9 @@ declare function __VLS_template(): {
|
|
|
19
19
|
attrs: Partial<{}>;
|
|
20
20
|
slots: {
|
|
21
21
|
default?(_: {}): any;
|
|
22
|
-
default?(_: {}): any;
|
|
23
22
|
};
|
|
24
23
|
refs: {
|
|
25
24
|
triggerRef: HTMLDivElement;
|
|
26
|
-
flyoutRef: HTMLDivElement;
|
|
27
25
|
};
|
|
28
26
|
rootEl: HTMLDivElement;
|
|
29
27
|
};
|
|
@@ -40,7 +38,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
40
38
|
openOnHover: boolean;
|
|
41
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
40
|
triggerRef: HTMLDivElement;
|
|
43
|
-
flyoutRef: HTMLDivElement;
|
|
44
41
|
}, HTMLDivElement>;
|
|
45
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
43
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/CoarSidebarGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/CoarSidebarGroup.vue"],"names":[],"mappings":"AA4nBA,KAAK,WAAW,GAAG;IACf,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAyMJ,KAAK,iBAAiB,GAAG;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwIT,OAAO,IAA6B;;yBAXpB,GAAG;;;;;;EAgBhC;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cA7XN,OAAO;UAEX,QAAQ,GAAG,QAAQ;UAJnB,MAAM;cAMF,OAAO;iBAEJ,OAAO;;;kBAiYvB,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Panel rendered by the overlay-service when `vTooltip` opens. The service handles
|
|
3
|
+
* teleport, positioning, z-index stacking, and the fixed-positioning that used to live
|
|
4
|
+
* inline on the tooltip element. This component is a thin visual shell around the
|
|
5
|
+
* content text.
|
|
6
|
+
*
|
|
7
|
+
* `id` is passed in so the tooltip-describing trigger (`aria-describedby`) can reference
|
|
8
|
+
* it — the service-generated host id is not exposed.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
content: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=CoarTooltipPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoarTooltipPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/CoarTooltipPanel.vue"],"names":[],"mappings":"AA8BA;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;;AAiDF,wBAOG"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Directive } from 'vue';
|
|
2
|
+
import { OverlayInstance } from '../overlay/overlay-service';
|
|
3
|
+
import { OverlayRef } from '../overlay/overlay-types';
|
|
2
4
|
export type TooltipPlacement = 'auto' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
3
5
|
export interface TooltipOptions {
|
|
4
6
|
/** Tooltip text content */
|
|
@@ -14,7 +16,7 @@ export interface TooltipOptions {
|
|
|
14
16
|
}
|
|
15
17
|
type OpenReason = 'hover' | 'focus';
|
|
16
18
|
interface TooltipState {
|
|
17
|
-
|
|
19
|
+
overlayRef: OverlayRef | null;
|
|
18
20
|
openTimerId: number | null;
|
|
19
21
|
closeTimerId: number | null;
|
|
20
22
|
openReasons: Set<OpenReason>;
|
|
@@ -22,6 +24,8 @@ interface TooltipState {
|
|
|
22
24
|
tooltipId: string;
|
|
23
25
|
cleanup: (() => void) | null;
|
|
24
26
|
opts: TooltipOptions;
|
|
27
|
+
/** Resolved at `mounted` from the host component's provides chain; `undefined` = root overlay. */
|
|
28
|
+
parentOverlay: OverlayInstance | undefined;
|
|
25
29
|
onPointerDown: () => void;
|
|
26
30
|
onMouseEnter: () => void;
|
|
27
31
|
onMouseLeave: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/vTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"vTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/vTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,SAAS,EAAyB,MAAM,KAAK,CAAC;AAGrG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,0BAA0B,CAAC;AAGtE,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,KAAK,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpC,UAAU,YAAY;IACpB,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,cAAc,CAAC;IACrB,kGAAkG;IAClG,aAAa,EAAE,eAAe,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AAuMD,wBAAgB,eAAe,IAAI,YAAY,GAAG,IAAI,CAErD;AACD,wBAAgB,iBAAiB,IAAI,IAAI,CAGxC;AAED,eAAO,MAAM,QAAQ,EAAE,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,CA2GpE,CAAC"}
|