@leavepulse/ui 0.34.0 → 0.36.0
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/assets/{LpTable-Ckoi05Am.css → LpTable-DfSwPCJ-.css} +21 -8
- package/dist/chunks/{LpAddressInput-FZXfljWV.js → LpAddressInput-D4t8WFD-.js} +1 -1
- package/dist/chunks/{LpConfirmDialog-CQBVaLpo.js → LpConfirmDialog-CxbizvSB.js} +1 -1
- package/dist/chunks/LpModal-7LvuAA7U.js +224 -0
- package/dist/chunks/LpModalNav-DBMGlq_x.js +166 -0
- package/dist/component-names.d.ts +1 -1
- package/dist/components/LpActionBar.vue.d.ts +1 -1
- package/dist/components/LpAddressInput.vue.d.ts +3 -3
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAppShell.vue.d.ts +4 -1
- package/dist/components/LpAutocomplete.vue.d.ts +1 -1
- package/dist/components/LpBadge.vue.d.ts +2 -2
- package/dist/components/LpCodeBlock.vue.d.ts +1 -1
- package/dist/components/LpColorPicker.vue.d.ts +9 -4
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpDropzone.vue.d.ts +4 -4
- package/dist/components/LpFileTree.vue.d.ts +4 -4
- package/dist/components/LpFormField.vue.d.ts +1 -1
- package/dist/components/LpLaneNode.vue.d.ts +11 -0
- package/dist/components/LpLightbox.vue.d.ts +2 -2
- package/dist/components/LpLogViewer.vue.d.ts +1 -1
- package/dist/components/LpMapPicker.vue.d.ts +1 -1
- package/dist/components/LpMediaGallery.vue.d.ts +1 -1
- package/dist/components/LpModal.vue.d.ts +9 -5
- package/dist/components/LpModal.vue.js +1 -1
- package/dist/components/LpModalNav.vue.d.ts +63 -0
- package/dist/components/LpModalNav.vue.js +4 -0
- package/dist/components/LpPie.vue.d.ts +22 -4
- package/dist/components/LpPopover.vue.d.ts +1 -1
- package/dist/components/LpProgress.vue.d.ts +2 -2
- package/dist/components/LpRollingText.vue.d.ts +3 -3
- package/dist/components/LpSelect.vue.d.ts +6 -6
- package/dist/components/LpShift.vue.d.ts +1 -1
- package/dist/components/LpShortcutsDialog.vue.d.ts +1 -1
- package/dist/components/LpShortcutsDialog.vue.js +1 -1
- package/dist/components/LpSidebar.vue.d.ts +7 -1
- package/dist/components/LpSidebarNav.vue.d.ts +2 -2
- package/dist/components/LpSlider.vue.d.ts +2 -2
- package/dist/components/LpSparkline.vue.d.ts +2 -2
- package/dist/components/LpTable.vue.d.ts +9 -9
- package/dist/components/LpTable.vue.js +7 -4
- package/dist/components/LpTabs.vue.d.ts +1 -1
- package/dist/components/LpThemeSwitcher.vue.d.ts +1 -1
- package/dist/components/LpTilt.vue.d.ts +1 -1
- package/dist/components/LpTooltip.vue.d.ts +1 -1
- package/dist/components/LpTopologyCanvas.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +75 -73
- package/package.json +1 -1
- package/src/component-names.ts +1 -0
- package/src/components/LpModal.vue +69 -1
- package/src/components/LpModalNav.vue +202 -0
- package/src/components/LpTable.vue +22 -2
- package/src/index.ts +1 -0
- package/dist/chunks/LpModal-DAqXzsm-.js +0 -192
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom Vue Flow node for a project SWIMLANE on LpTopologyCanvas: a sized
|
|
3
|
+
* background zone that groups the nodes of one project (overlay network). It is
|
|
4
|
+
* a NODE (not an overlay) so Vue Flow transforms it with pan/zoom for free.
|
|
5
|
+
*
|
|
6
|
+
* Purely decorative: the lane never intercepts pointer events (pan/drag pass
|
|
7
|
+
* through to the canvas), is non-selectable / non-draggable (set on the node
|
|
8
|
+
* object by the canvas), and sits below real nodes via a low z-index. The label
|
|
9
|
+
* tab stays clickable-looking but is inert. Tailwind utilities only so styles
|
|
10
|
+
* reach consumer apps via @source.
|
|
11
|
+
*/
|
|
1
12
|
export interface LaneNodeData {
|
|
2
13
|
label: string;
|
|
3
14
|
/** Optional accent colour token for the lane border + label. */
|
|
@@ -44,13 +44,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
44
44
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
45
45
|
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
|
-
open: boolean;
|
|
48
47
|
loop: boolean;
|
|
48
|
+
open: boolean;
|
|
49
|
+
maxZoom: number;
|
|
49
50
|
index: number;
|
|
50
51
|
copyable: boolean;
|
|
51
52
|
rotatable: boolean;
|
|
52
53
|
downloadable: boolean;
|
|
53
|
-
maxZoom: number;
|
|
54
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
55
55
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
56
56
|
declare const _default: typeof __VLS_export;
|
|
@@ -141,9 +141,9 @@ declare const __VLS_export: import('vue').DefineComponent<{
|
|
|
141
141
|
"onReach-top"?: (() => any) | undefined;
|
|
142
142
|
}>, {
|
|
143
143
|
height: string;
|
|
144
|
+
wrap: boolean;
|
|
144
145
|
emptyLabel: string;
|
|
145
146
|
lineNumbers: boolean;
|
|
146
|
-
wrap: boolean;
|
|
147
147
|
showTime: boolean;
|
|
148
148
|
showLevel: boolean;
|
|
149
149
|
tail: boolean;
|
|
@@ -63,11 +63,11 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
63
63
|
lg?: number;
|
|
64
64
|
xl?: number;
|
|
65
65
|
};
|
|
66
|
+
gap: 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4;
|
|
66
67
|
ariaLabel: string;
|
|
67
68
|
aspect: "square" | "video" | "auto";
|
|
68
69
|
rotatable: boolean;
|
|
69
70
|
downloadable: boolean;
|
|
70
|
-
gap: 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4;
|
|
71
71
|
openable: boolean;
|
|
72
72
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
73
73
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -26,15 +26,19 @@ type __VLS_Props = {
|
|
|
26
26
|
*/
|
|
27
27
|
autoFocus?: "auto" | "none" | string;
|
|
28
28
|
};
|
|
29
|
-
declare var
|
|
29
|
+
declare var __VLS_21: {}, __VLS_41: {}, __VLS_60: {}, __VLS_68: {}, __VLS_70: {}, __VLS_72: {};
|
|
30
30
|
type __VLS_Slots = {} & {
|
|
31
|
-
|
|
31
|
+
aside?: (props: typeof __VLS_21) => any;
|
|
32
32
|
} & {
|
|
33
|
-
|
|
33
|
+
title?: (props: typeof __VLS_41) => any;
|
|
34
34
|
} & {
|
|
35
|
-
default?: (props: typeof
|
|
35
|
+
default?: (props: typeof __VLS_60) => any;
|
|
36
36
|
} & {
|
|
37
|
-
|
|
37
|
+
default?: (props: typeof __VLS_68) => any;
|
|
38
|
+
} & {
|
|
39
|
+
footer?: (props: typeof __VLS_70) => any;
|
|
40
|
+
} & {
|
|
41
|
+
asideEnd?: (props: typeof __VLS_72) => any;
|
|
38
42
|
};
|
|
39
43
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
40
44
|
"update:open": (value: boolean) => any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { SidebarItem, SidebarSection } from './sidebar';
|
|
2
|
+
export type { SidebarItem, SidebarSection } from './sidebar';
|
|
3
|
+
type Breakpoint = "sm" | "md" | "lg" | "xl";
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
open?: boolean;
|
|
6
|
+
/** Active section id (v-model). */
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
/** Flat sections, or grouped ones — the shapes LpSidebar already takes. */
|
|
9
|
+
items?: SidebarItem[];
|
|
10
|
+
sections?: SidebarSection[];
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
14
|
+
width?: string;
|
|
15
|
+
/** Width of the nav rail (any CSS length). */
|
|
16
|
+
navWidth?: string;
|
|
17
|
+
/** Put a filter above the nav — see LpSidebar's `searchable`. */
|
|
18
|
+
searchable?: boolean;
|
|
19
|
+
searchPlaceholder?: string;
|
|
20
|
+
/** Skeleton rows in place of the nav while the sections load. */
|
|
21
|
+
loading?: boolean;
|
|
22
|
+
/** Breakpoint below which the rail becomes a drawer. */
|
|
23
|
+
mobileBreakpoint?: Breakpoint;
|
|
24
|
+
/** Label for the button that opens that drawer. */
|
|
25
|
+
navLabel?: string;
|
|
26
|
+
/** Stand the rail to the right of the dialog instead of the left. */
|
|
27
|
+
navSide?: "start" | "end";
|
|
28
|
+
/**
|
|
29
|
+
* Let the body fill the height instead of scrolling itself. Off by default,
|
|
30
|
+
* as in a plain modal: it existed here to make the rail a full-height
|
|
31
|
+
* column inside the body, and the rail is no longer in the body.
|
|
32
|
+
*/
|
|
33
|
+
fillBody?: boolean;
|
|
34
|
+
};
|
|
35
|
+
declare var __VLS_36: {}, __VLS_38: {}, __VLS_41: {};
|
|
36
|
+
type __VLS_Slots = {} & {
|
|
37
|
+
title?: (props: typeof __VLS_36) => any;
|
|
38
|
+
} & {
|
|
39
|
+
default?: (props: typeof __VLS_38) => any;
|
|
40
|
+
} & {
|
|
41
|
+
footer?: (props: typeof __VLS_41) => any;
|
|
42
|
+
};
|
|
43
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
44
|
+
"update:modelValue": (value: string) => any;
|
|
45
|
+
"update:open": (value: boolean) => any;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
48
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
size: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
51
|
+
mobileBreakpoint: Breakpoint;
|
|
52
|
+
navWidth: string;
|
|
53
|
+
navLabel: string;
|
|
54
|
+
navSide: "start" | "end";
|
|
55
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -152,8 +152,8 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
152
152
|
}>, {
|
|
153
153
|
size: number;
|
|
154
154
|
type: "pie" | "donut";
|
|
155
|
-
duration: number;
|
|
156
155
|
animate: boolean;
|
|
156
|
+
duration: number;
|
|
157
157
|
emptyLabel: string;
|
|
158
158
|
innerRatio: number;
|
|
159
159
|
maxSlices: number;
|
|
@@ -166,9 +166,27 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
166
166
|
hoverOffset: number;
|
|
167
167
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
168
168
|
center?: (props: {
|
|
169
|
-
total:
|
|
170
|
-
active:
|
|
171
|
-
|
|
169
|
+
total: number;
|
|
170
|
+
active: {
|
|
171
|
+
d: string;
|
|
172
|
+
lift: string;
|
|
173
|
+
label: string;
|
|
174
|
+
value: number;
|
|
175
|
+
color: string;
|
|
176
|
+
fraction: number;
|
|
177
|
+
isOther: boolean;
|
|
178
|
+
count: number;
|
|
179
|
+
} | null;
|
|
180
|
+
selection: {
|
|
181
|
+
d: string;
|
|
182
|
+
lift: string;
|
|
183
|
+
label: string;
|
|
184
|
+
value: number;
|
|
185
|
+
color: string;
|
|
186
|
+
fraction: number;
|
|
187
|
+
isOther: boolean;
|
|
188
|
+
count: number;
|
|
189
|
+
}[];
|
|
172
190
|
}) => any;
|
|
173
191
|
}>;
|
|
174
192
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -20,9 +20,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
21
|
"onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
+
align: "start" | "center" | "end";
|
|
23
24
|
side: "top" | "right" | "bottom" | "left";
|
|
24
25
|
sideOffset: number;
|
|
25
|
-
align: "start" | "center" | "end";
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
@@ -52,11 +52,11 @@ type __VLS_Props = {
|
|
|
52
52
|
};
|
|
53
53
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
54
54
|
size: number;
|
|
55
|
+
max: number;
|
|
55
56
|
value: number;
|
|
56
|
-
variant: "bar" | "ring";
|
|
57
57
|
duration: number;
|
|
58
|
+
variant: "bar" | "ring";
|
|
58
59
|
tone: "brand" | "action" | "danger" | "accent" | "auto";
|
|
59
|
-
max: number;
|
|
60
60
|
animateOnMount: boolean;
|
|
61
61
|
warnAt: number;
|
|
62
62
|
dangerAt: number;
|
|
@@ -12,16 +12,16 @@ type __VLS_Props = {
|
|
|
12
12
|
align?: "start" | "center" | "end";
|
|
13
13
|
};
|
|
14
14
|
declare var __VLS_7: {
|
|
15
|
-
value:
|
|
15
|
+
value: string | number;
|
|
16
16
|
};
|
|
17
17
|
type __VLS_Slots = {} & {
|
|
18
18
|
default?: (props: typeof __VLS_7) => any;
|
|
19
19
|
};
|
|
20
20
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
mode: "slide" | "flip";
|
|
22
|
+
direction: "up" | "down";
|
|
21
23
|
align: "start" | "center" | "end";
|
|
22
24
|
duration: number;
|
|
23
|
-
direction: "up" | "down";
|
|
24
|
-
mode: "slide" | "flip";
|
|
25
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,7 +5,7 @@ export interface SelectOption<V extends SelectValue = SelectValue> {
|
|
|
5
5
|
description?: string;
|
|
6
6
|
}
|
|
7
7
|
declare const __VLS_export: <V extends SelectValue = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
-
props: __VLS_PrettifyLocal<{
|
|
8
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
9
9
|
modelValue?: V | V[] | undefined;
|
|
10
10
|
options: SelectOption<V>[];
|
|
11
11
|
placeholder?: string;
|
|
@@ -20,11 +20,11 @@ declare const __VLS_export: <V extends SelectValue = string>(__VLS_props: NonNul
|
|
|
20
20
|
loadingText?: string;
|
|
21
21
|
/** Trigger height, keyed to --size-control-*. Default "md". */
|
|
22
22
|
size?: "sm" | "md" | "lg";
|
|
23
|
-
} &
|
|
24
|
-
(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
23
|
+
} & {
|
|
24
|
+
onChange?: ((value: V) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((value: V | V[] | undefined) => any) | undefined;
|
|
26
|
+
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
27
|
+
}> & (typeof globalThis extends {
|
|
28
28
|
__VLS_PROPS_FALLBACK: infer P;
|
|
29
29
|
} ? P : {});
|
|
30
30
|
expose: (exposed: {}) => void;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
open: boolean;
|
|
22
21
|
title: string;
|
|
22
|
+
open: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, toDisplayString, unref } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "../chunks/LpModal-
|
|
2
|
+
import { _ as _sfc_main$1 } from "../chunks/LpModal-7LvuAA7U.js";
|
|
3
3
|
import { appleModifierLabel } from "../composables/useHotkeys.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
5
5
|
import '../assets/LpShortcutsDialog-B7H-RZLQ.css';const _hoisted_1 = { class: "shortcut-groups" };
|
|
@@ -90,7 +90,13 @@ type __VLS_Props = {
|
|
|
90
90
|
*/
|
|
91
91
|
autoCollapseAfter?: number;
|
|
92
92
|
};
|
|
93
|
-
declare var __VLS_1: {}, __VLS_18:
|
|
93
|
+
declare var __VLS_1: {}, __VLS_18: {
|
|
94
|
+
item: SidebarItem;
|
|
95
|
+
active: boolean;
|
|
96
|
+
}, __VLS_20: {}, __VLS_22: {}, __VLS_32: {}, __VLS_49: {
|
|
97
|
+
item: SidebarItem;
|
|
98
|
+
active: boolean;
|
|
99
|
+
}, __VLS_51: {}, __VLS_53: {};
|
|
94
100
|
type __VLS_Slots = {} & {
|
|
95
101
|
header?: (props: typeof __VLS_1) => any;
|
|
96
102
|
} & {
|
|
@@ -43,8 +43,8 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
43
43
|
collapsedKeys: string[];
|
|
44
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
45
45
|
item?: (props: {
|
|
46
|
-
item:
|
|
47
|
-
active:
|
|
46
|
+
item: SidebarItem;
|
|
47
|
+
active: boolean;
|
|
48
48
|
}) => any;
|
|
49
49
|
}>;
|
|
50
50
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -23,8 +23,8 @@ declare const __VLS_export: import('vue').DefineComponent<{
|
|
|
23
23
|
onChange?: ((value: number) => any) | undefined;
|
|
24
24
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
modelValue: number;
|
|
27
|
-
min: number;
|
|
28
26
|
max: number;
|
|
27
|
+
min: number;
|
|
29
28
|
step: number;
|
|
29
|
+
modelValue: number;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -39,10 +39,10 @@ type __VLS_Props = {
|
|
|
39
39
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
40
40
|
width: number;
|
|
41
41
|
height: number;
|
|
42
|
-
duration: number;
|
|
43
42
|
animate: boolean;
|
|
44
|
-
|
|
43
|
+
duration: number;
|
|
45
44
|
smooth: number;
|
|
45
|
+
tone: "brand" | "action" | "danger" | "accent" | "muted";
|
|
46
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const _default: typeof __VLS_export;
|
|
48
48
|
export default _default;
|
|
@@ -27,7 +27,7 @@ export interface SortState {
|
|
|
27
27
|
dir: "asc" | "desc";
|
|
28
28
|
}
|
|
29
29
|
declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
30
|
-
props: __VLS_PrettifyLocal<{
|
|
30
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
31
31
|
columns: TableColumn<T>[];
|
|
32
32
|
rows: T[];
|
|
33
33
|
/** Stable id per row — required for selection; falls back to index otherwise. */
|
|
@@ -55,19 +55,19 @@ declare const __VLS_export: <T extends Record<string, unknown>>(__VLS_props: Non
|
|
|
55
55
|
filterLabel?: string;
|
|
56
56
|
showAllLabel?: string;
|
|
57
57
|
columnsLabel?: string;
|
|
58
|
-
} &
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
(
|
|
62
|
-
}
|
|
58
|
+
} & {
|
|
59
|
+
"onUpdate:selected"?: ((value: (string | number)[]) => any) | undefined;
|
|
60
|
+
"onUpdate:sort"?: ((value: SortState | null) => any) | undefined;
|
|
61
|
+
onRowClick?: ((row: T) => any) | undefined;
|
|
62
|
+
}> & (typeof globalThis extends {
|
|
63
63
|
__VLS_PROPS_FALLBACK: infer P;
|
|
64
64
|
} ? P : {});
|
|
65
65
|
expose: (exposed: {}) => void;
|
|
66
66
|
attrs: any;
|
|
67
67
|
slots: {
|
|
68
|
-
[x: string]: ((props: {
|
|
69
|
-
row:
|
|
70
|
-
value:
|
|
68
|
+
[x: `cell-${string}`]: ((props: {
|
|
69
|
+
row: T;
|
|
70
|
+
value: unknown;
|
|
71
71
|
}) => any) | undefined;
|
|
72
72
|
};
|
|
73
73
|
emit: {
|
|
@@ -5,7 +5,7 @@ import { _ as _sfc_main$4 } from "../chunks/LpIcon-CCnX5_2j.js";
|
|
|
5
5
|
import { _ as _sfc_main$1 } from "../chunks/LpScrollArea-D8xyKXcF.js";
|
|
6
6
|
import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
7
7
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
8
|
-
import '../assets/LpTable-
|
|
8
|
+
import '../assets/LpTable-DfSwPCJ-.css';const _hoisted_1 = { class: "w-full border-collapse text-sm" };
|
|
9
9
|
const _hoisted_2 = { class: "border-b border-line bg-surface-soft" };
|
|
10
10
|
const _hoisted_3 = {
|
|
11
11
|
key: 0,
|
|
@@ -13,7 +13,10 @@ const _hoisted_3 = {
|
|
|
13
13
|
};
|
|
14
14
|
const _hoisted_4 = ["aria-sort"];
|
|
15
15
|
const _hoisted_5 = ["onClick"];
|
|
16
|
-
const _hoisted_6 = {
|
|
16
|
+
const _hoisted_6 = {
|
|
17
|
+
key: "lp-table-empty",
|
|
18
|
+
class: "lp-row-empty"
|
|
19
|
+
};
|
|
17
20
|
const _hoisted_7 = ["colspan"];
|
|
18
21
|
const _hoisted_8 = ["onContextmenu", "onClick"];
|
|
19
22
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -290,7 +293,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
290
293
|
createElementVNode("thead", {
|
|
291
294
|
ref_key: "headEl",
|
|
292
295
|
ref: headEl,
|
|
293
|
-
class: normalizeClass(__props.stickyHeader ? "sticky top-0 z-10" : "")
|
|
296
|
+
class: normalizeClass(__props.stickyHeader ? "sticky top-0 z-10 bg-surface-soft" : "")
|
|
294
297
|
}, [
|
|
295
298
|
createElementVNode("tr", _hoisted_2, [
|
|
296
299
|
__props.selectable ? (openBlock(), createElementBlock("th", _hoisted_3, [
|
|
@@ -406,7 +409,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
406
409
|
};
|
|
407
410
|
}
|
|
408
411
|
});
|
|
409
|
-
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
412
|
+
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1fada8e7"]]);
|
|
410
413
|
export {
|
|
411
414
|
LpTable as default
|
|
412
415
|
};
|
|
@@ -40,8 +40,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
40
40
|
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
42
|
size: "sm" | "md" | "lg";
|
|
43
|
-
variant: "swatch" | "icon" | "pill";
|
|
44
43
|
transition: boolean;
|
|
44
|
+
variant: "swatch" | "icon" | "pill";
|
|
45
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const _default: typeof __VLS_export;
|
|
47
47
|
export default _default;
|
|
@@ -17,9 +17,9 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
scale: number;
|
|
19
19
|
max: number;
|
|
20
|
+
perspective: number;
|
|
20
21
|
lift: number;
|
|
21
22
|
glare: boolean;
|
|
22
|
-
perspective: number;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -45,8 +45,8 @@ type __VLS_Slots = {} & {
|
|
|
45
45
|
content?: (props: typeof __VLS_38) => any;
|
|
46
46
|
};
|
|
47
47
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
48
|
-
side: "top" | "right" | "bottom" | "left";
|
|
49
48
|
delay: number;
|
|
49
|
+
side: "top" | "right" | "bottom" | "left";
|
|
50
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
52
|
declare const _default: typeof __VLS_export;
|
|
@@ -188,12 +188,12 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
188
188
|
}) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
190
|
legend: boolean;
|
|
191
|
+
controls: boolean;
|
|
191
192
|
connectable: boolean;
|
|
192
193
|
selectable: boolean;
|
|
193
194
|
legendPosition: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
194
195
|
lanes: TopologyLane[];
|
|
195
196
|
minimap: boolean;
|
|
196
|
-
controls: boolean;
|
|
197
197
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
198
198
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
199
199
|
declare const _default: typeof __VLS_export;
|
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export { default as LpLogViewer } from './components/LpLogViewer.vue';
|
|
|
58
58
|
export type { LogLevel, LogLine } from './components/LpLogViewer.vue';
|
|
59
59
|
export { default as LpMediaGallery } from './components/LpMediaGallery.vue';
|
|
60
60
|
export { default as LpModal } from './components/LpModal.vue';
|
|
61
|
+
export { default as LpModalNav } from './components/LpModalNav.vue';
|
|
61
62
|
export { default as LpNotificationBell } from './components/LpNotificationBell.vue';
|
|
62
63
|
export type { NotificationItem, NotificationLabels, } from './components/LpNotificationBell.vue';
|
|
63
64
|
export { default as LpNumberField } from './components/LpNumberField.vue';
|