@firstnoodle-ui/bui 0.0.63 → 0.0.64
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/dialog/Dialog.vue.d.ts +11 -105
- package/dist/index.mjs +14 -18
- package/package.json +2 -2
|
@@ -8,61 +8,17 @@ type __VLS_Props = {
|
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
9
|
attrs: Partial<{}>;
|
|
10
10
|
slots: {
|
|
11
|
-
title?(_: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
$attrs: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
};
|
|
23
|
-
$refs: {
|
|
24
|
-
[x: string]: unknown;
|
|
25
|
-
} & {
|
|
26
|
-
windowRef: HTMLDivElement;
|
|
27
|
-
};
|
|
28
|
-
$slots: Readonly<{
|
|
29
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
30
|
-
}>;
|
|
31
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
32
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
33
|
-
$host: Element | null;
|
|
34
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
35
|
-
$el: HTMLDivElement;
|
|
36
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
37
|
-
focus: void | undefined;
|
|
38
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
39
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
40
|
-
created?: (() => void) | (() => void)[];
|
|
41
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
42
|
-
mounted?: (() => void) | (() => void)[];
|
|
43
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
44
|
-
updated?: (() => void) | (() => void)[];
|
|
45
|
-
activated?: (() => void) | (() => void)[];
|
|
46
|
-
deactivated?: (() => void) | (() => void)[];
|
|
47
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
48
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
49
|
-
destroyed?: (() => void) | (() => void)[];
|
|
50
|
-
unmounted?: (() => void) | (() => void)[];
|
|
51
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
52
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
53
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
54
|
-
};
|
|
55
|
-
$forceUpdate: () => void;
|
|
56
|
-
$nextTick: typeof import('vue').nextTick;
|
|
57
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
58
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "focus"> & import('vue').ShallowUnwrapRef<{
|
|
59
|
-
focus: void | undefined;
|
|
60
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
61
|
-
$slots: {
|
|
62
|
-
default?(_: {}): any;
|
|
63
|
-
};
|
|
64
|
-
}) | null;
|
|
11
|
+
title?(_: {
|
|
12
|
+
close: () => boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
main?(_: {
|
|
15
|
+
close: () => boolean;
|
|
16
|
+
}): any;
|
|
17
|
+
footer?(_: {
|
|
18
|
+
close: () => boolean;
|
|
19
|
+
}): any;
|
|
65
20
|
};
|
|
21
|
+
refs: {};
|
|
66
22
|
rootEl: any;
|
|
67
23
|
};
|
|
68
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -74,57 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
74
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
75
31
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
76
32
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
78
|
-
windowRef: ({
|
|
79
|
-
$: import('vue').ComponentInternalInstance;
|
|
80
|
-
$data: {};
|
|
81
|
-
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
82
|
-
$attrs: {
|
|
83
|
-
[x: string]: unknown;
|
|
84
|
-
};
|
|
85
|
-
$refs: {
|
|
86
|
-
[x: string]: unknown;
|
|
87
|
-
} & {
|
|
88
|
-
windowRef: HTMLDivElement;
|
|
89
|
-
};
|
|
90
|
-
$slots: Readonly<{
|
|
91
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
92
|
-
}>;
|
|
93
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
94
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
95
|
-
$host: Element | null;
|
|
96
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
97
|
-
$el: HTMLDivElement;
|
|
98
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
99
|
-
focus: void | undefined;
|
|
100
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
101
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
102
|
-
created?: (() => void) | (() => void)[];
|
|
103
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
104
|
-
mounted?: (() => void) | (() => void)[];
|
|
105
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
106
|
-
updated?: (() => void) | (() => void)[];
|
|
107
|
-
activated?: (() => void) | (() => void)[];
|
|
108
|
-
deactivated?: (() => void) | (() => void)[];
|
|
109
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
110
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
111
|
-
destroyed?: (() => void) | (() => void)[];
|
|
112
|
-
unmounted?: (() => void) | (() => void)[];
|
|
113
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
114
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
115
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
116
|
-
};
|
|
117
|
-
$forceUpdate: () => void;
|
|
118
|
-
$nextTick: typeof import('vue').nextTick;
|
|
119
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
120
|
-
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "focus"> & import('vue').ShallowUnwrapRef<{
|
|
121
|
-
focus: void | undefined;
|
|
122
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
123
|
-
$slots: {
|
|
124
|
-
default?(_: {}): any;
|
|
125
|
-
};
|
|
126
|
-
}) | null;
|
|
127
|
-
}, any>;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
128
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
129
35
|
export default _default;
|
|
130
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/index.mjs
CHANGED
|
@@ -2304,48 +2304,44 @@ const K4 = /* @__PURE__ */ w1(K5, [["render", q5]]), Q5 = {
|
|
|
2304
2304
|
},
|
|
2305
2305
|
emits: ["close", "open"],
|
|
2306
2306
|
setup(n, { expose: t, emit: e }) {
|
|
2307
|
-
const l = e, a = b(!1)
|
|
2307
|
+
const l = e, a = b(!1);
|
|
2308
2308
|
r1(() => a.value = !0);
|
|
2309
|
-
const
|
|
2310
|
-
return n.closeable && fe(
|
|
2309
|
+
const r = () => a.value = !1, s = () => n.closeable && r();
|
|
2310
|
+
return n.closeable && fe(s), t({ close: r }), (f, v) => (o(), V(N1, { to: f.target }, [
|
|
2311
2311
|
w(p(Ce), {
|
|
2312
2312
|
show: a.value,
|
|
2313
|
-
type:
|
|
2314
|
-
onClick:
|
|
2315
|
-
onClose:
|
|
2313
|
+
type: f.overlayType,
|
|
2314
|
+
onClick: s,
|
|
2315
|
+
onClose: v[1] || (v[1] = (m) => l("close"))
|
|
2316
2316
|
}, {
|
|
2317
2317
|
default: Z(() => [
|
|
2318
2318
|
w(p(lt), {
|
|
2319
|
-
onTransitionAfterEnter:
|
|
2319
|
+
onTransitionAfterEnter: v[0] || (v[0] = (m) => l("open"))
|
|
2320
2320
|
}, {
|
|
2321
2321
|
default: Z(() => [
|
|
2322
|
-
U1(w(p(ve), {
|
|
2323
|
-
ref_key: "windowRef",
|
|
2324
|
-
ref: r,
|
|
2325
|
-
class: "h-64 max-w-2xl md:w-1/2 md:max-w-lg p-4 md:px-8"
|
|
2326
|
-
}, {
|
|
2322
|
+
U1(w(p(ve), { class: "h-64 max-w-2xl md:w-1/2 md:max-w-lg p-4 md:px-8" }, {
|
|
2327
2323
|
default: Z(() => [
|
|
2328
2324
|
w(p(he), null, {
|
|
2329
2325
|
header: Z(() => [
|
|
2330
2326
|
d("header", B2, [
|
|
2331
|
-
|
|
2332
|
-
A(
|
|
2327
|
+
f.title ? (o(), i("h4", T2, Q(f.title), 1)) : (o(), i("h4", S2, [
|
|
2328
|
+
A(f.$slots, "title", { close: r })
|
|
2333
2329
|
])),
|
|
2334
|
-
|
|
2330
|
+
f.closeable ? (o(), V(p(W), {
|
|
2335
2331
|
key: 2,
|
|
2336
2332
|
small: "",
|
|
2337
2333
|
icon: "close",
|
|
2338
2334
|
variant: "textSubtle",
|
|
2339
|
-
onClick:
|
|
2335
|
+
onClick: s
|
|
2340
2336
|
})) : k("", !0)
|
|
2341
2337
|
])
|
|
2342
2338
|
]),
|
|
2343
2339
|
main: Z(() => [
|
|
2344
|
-
A(
|
|
2340
|
+
A(f.$slots, "main", { close: r })
|
|
2345
2341
|
]),
|
|
2346
2342
|
footer: Z(() => [
|
|
2347
2343
|
d("footer", z2, [
|
|
2348
|
-
A(
|
|
2344
|
+
A(f.$slots, "footer", { close: r })
|
|
2349
2345
|
])
|
|
2350
2346
|
]),
|
|
2351
2347
|
_: 3
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firstnoodle-ui/bui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.64",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -93,6 +93,6 @@
|
|
|
93
93
|
"test": "vitest",
|
|
94
94
|
"test:ui": "vitest --ui",
|
|
95
95
|
"test:run": "vitest run",
|
|
96
|
-
"release:publish": "pnpm publish --access public --otp=
|
|
96
|
+
"release:publish": "pnpm publish --access public --otp=198783 --no-git-checks"
|
|
97
97
|
}
|
|
98
98
|
}
|