@firstnoodle-ui/bui 0.0.16 → 0.0.18
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/bui.css +1 -1
- package/dist/components/delete-button/DeleteButton.vue.d.ts +6 -0
- package/dist/components/delete-button/index.d.ts +1 -0
- package/dist/components/filter-chip/FilterChip.vue.d.ts +13 -0
- package/dist/components/filter-chip/index.d.ts +1 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/input/Input.vue.d.ts +23 -6
- package/dist/components/input-number/InputNumber.vue.d.ts +68 -0
- package/dist/components/input-number/StepButton.vue.d.ts +11 -0
- package/dist/components/input-number/index.d.ts +1 -0
- package/dist/components/notification/Notification.vue.d.ts +1 -2
- package/dist/components/tab/Tab.vue.d.ts +2 -0
- package/dist/components/tag/Tag.vue.d.ts +1 -16
- package/dist/components/text-editor/components/FormattingButton.vue.d.ts +1 -1
- package/dist/components/text-editor/components/InsertLinkDialog.vue.d.ts +81 -37
- package/dist/components/text-editor/components/InsertTextDialog.vue.d.ts +81 -37
- package/dist/components/toggle-button/ToggleButton.vue.d.ts +31 -0
- package/dist/components/toggle-button/index.d.ts +1 -0
- package/dist/components/types.d.ts +1 -1
- package/dist/index.mjs +6947 -6679
- package/dist/utils/clamp.d.ts +1 -1
- package/package.json +2 -2
- package/dist/components/pill/Pill.vue.d.ts +0 -32
- package/dist/components/pill/index.d.ts +0 -2
- package/dist/components/pill/pill-types.d.ts +0 -2
|
@@ -5,8 +5,81 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
5
5
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
6
6
|
onInsert?: ((...args: any[]) => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
8
|
-
inputRef:
|
|
8
|
+
inputRef: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly disabled?: boolean | undefined;
|
|
13
|
+
readonly clearable?: boolean | undefined;
|
|
14
|
+
readonly icon?: import('../../types').TIcon | undefined;
|
|
15
|
+
readonly multiline?: boolean | undefined;
|
|
16
|
+
readonly placeholder?: string | undefined;
|
|
17
|
+
readonly value: string;
|
|
18
|
+
readonly inputType?: import('vue').InputTypeHTMLAttribute | undefined;
|
|
19
|
+
readonly autoFocus?: boolean | undefined;
|
|
20
|
+
readonly onChange?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
readonly onEnter?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
24
|
+
$attrs: {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
$refs: {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
} & {
|
|
30
|
+
textareaRef: HTMLTextAreaElement;
|
|
31
|
+
inputRef: HTMLInputElement;
|
|
32
|
+
};
|
|
33
|
+
$slots: Readonly<{
|
|
34
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
37
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
38
|
+
$host: Element | null;
|
|
39
|
+
$emit: ((event: "change", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "enter", ...args: any[]) => void);
|
|
40
|
+
$el: HTMLDivElement;
|
|
41
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
clearable?: boolean;
|
|
44
|
+
icon?: import('../../types').TIcon;
|
|
45
|
+
multiline?: boolean;
|
|
46
|
+
placeholder?: string;
|
|
47
|
+
value: string;
|
|
48
|
+
inputType?: import('vue').InputTypeHTMLAttribute;
|
|
49
|
+
autoFocus?: boolean;
|
|
50
|
+
}> & Readonly<{
|
|
51
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
}>, {
|
|
55
|
+
focus: () => void;
|
|
56
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
57
|
+
change: (...args: any[]) => void;
|
|
58
|
+
clear: (...args: any[]) => void;
|
|
59
|
+
enter: (...args: any[]) => void;
|
|
60
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
61
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
62
|
+
created?: (() => void) | (() => void)[];
|
|
63
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
64
|
+
mounted?: (() => void) | (() => void)[];
|
|
65
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
66
|
+
updated?: (() => void) | (() => void)[];
|
|
67
|
+
activated?: (() => void) | (() => void)[];
|
|
68
|
+
deactivated?: (() => void) | (() => void)[];
|
|
69
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
70
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
71
|
+
destroyed?: (() => void) | (() => void)[];
|
|
72
|
+
unmounted?: (() => void) | (() => void)[];
|
|
73
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
74
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
75
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
76
|
+
};
|
|
77
|
+
$forceUpdate: () => void;
|
|
78
|
+
$nextTick: typeof import('vue').nextTick;
|
|
79
|
+
$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;
|
|
80
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
9
81
|
disabled?: boolean;
|
|
82
|
+
clearable?: boolean;
|
|
10
83
|
icon?: import('../../types').TIcon;
|
|
11
84
|
multiline?: boolean;
|
|
12
85
|
placeholder?: string;
|
|
@@ -15,43 +88,14 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
15
88
|
autoFocus?: boolean;
|
|
16
89
|
}> & Readonly<{
|
|
17
90
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
18
92
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}>, {
|
|
93
|
+
}>, "focus"> & import('vue').ShallowUnwrapRef<{
|
|
20
94
|
focus: () => void;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
multiline: boolean;
|
|
27
|
-
placeholder: string;
|
|
28
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
29
|
-
textareaRef: HTMLTextAreaElement;
|
|
30
|
-
inputRef: HTMLInputElement;
|
|
31
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
32
|
-
P: {};
|
|
33
|
-
B: {};
|
|
34
|
-
D: {};
|
|
35
|
-
C: {};
|
|
36
|
-
M: {};
|
|
37
|
-
Defaults: {};
|
|
38
|
-
}, Readonly<{
|
|
39
|
-
disabled?: boolean;
|
|
40
|
-
icon?: import('../../types').TIcon;
|
|
41
|
-
multiline?: boolean;
|
|
42
|
-
placeholder?: string;
|
|
43
|
-
value: string;
|
|
44
|
-
inputType?: import('vue').InputTypeHTMLAttribute;
|
|
45
|
-
autoFocus?: boolean;
|
|
46
|
-
}> & Readonly<{
|
|
47
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
}>, {
|
|
50
|
-
focus: () => void;
|
|
51
|
-
}, {}, {}, {}, {
|
|
52
|
-
disabled: boolean;
|
|
53
|
-
multiline: boolean;
|
|
54
|
-
placeholder: string;
|
|
55
|
-
}> | null;
|
|
95
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
96
|
+
$slots: {
|
|
97
|
+
'inline-controls'?(_: {}): any;
|
|
98
|
+
};
|
|
99
|
+
}) | null;
|
|
56
100
|
}, any>;
|
|
57
101
|
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Placement } from '@floating-ui/dom';
|
|
2
|
+
import { TIcon } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
active: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
icon?: TIcon;
|
|
7
|
+
label?: string;
|
|
8
|
+
focus?: boolean;
|
|
9
|
+
stopPropagation?: boolean;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
tooltipDelay?: number;
|
|
12
|
+
tooltipPlacement?: Placement;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
15
|
+
focus: () => void;
|
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
click: (...args: any[]) => void;
|
|
18
|
+
blur: (...args: any[]) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
focus: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
stopPropagation: boolean;
|
|
26
|
+
tooltipDelay: number;
|
|
27
|
+
tooltipPlacement: Placement;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
buttonRef: HTMLButtonElement;
|
|
30
|
+
}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BToggleButton } from './ToggleButton.vue';
|
|
@@ -62,5 +62,5 @@ export type TTreeListNode = {
|
|
|
62
62
|
value: unknown;
|
|
63
63
|
open: boolean;
|
|
64
64
|
};
|
|
65
|
-
export declare const icons: readonly ["admin", "arrow-deviate", "arrow-down-plus", "arrow-down", "arrow-from", "arrow-left", "arrow-move", "arrow-right", "arrow-sub", "arrow-trend", "arrow-up-plus", "arrow-up", "authority", "beams", "bell", "bold", "box", "building", "bullet-list", "calendar", "camera", "categories", "check-circled", "check-outline", "check", "chevron-down", "chevron-left-double", "chevron-left", "chevron-right-double", "chevron-right", "chevron-up", "clock", "close-outline", "close", "columns", "conclusion", "copy", "crosshair", "dash", "dashboard", "delete", "delta", "download", "drag", "drilldown", "edit", "envelope", "error", "export-document", "filter", "filters", "flag", "folder", "frequency", "fullscreen-off", "fullscreen-on", "graduate", "hamburger", "handshake", "heading-1", "heading-2", "heading", "home", "id-card", "id", "indent-left", "indent-right", "information", "italics", "itenary", "keyboard", "lightning", "link", "list-collapse", "list-expand", "location", "lock-locked", "lock-unlocked", "magnifying-glass", "map", "megaphone", "message", "microscope", "moon", "new-document", "news", "numbered-list", "open-link", "options", "page", "paper-plane", "paper", "pen-and-paper", "phase", "photo", "pie-chart", "plus", "point-left", "point-up", "popup", "question", "radio-tower", "recycle", "redo", "refresh", "route", "rows", "scope", "settings", "share", "sign-in", "sign-up", "sort-down", "sort-up", "sort", "square-solid", "star-solid", "star", "stop-watch", "structure", "sun", "table", "tag", "team", "telescope", "trash", "triangle-angle", "triangle-side", "underline", "undo", "user", "venn", "video", "visibility-off-alt", "visibility-off", "visibility-on", "warning"];
|
|
65
|
+
export declare const icons: readonly ["admin", "arrow-deviate", "arrow-down-plus", "arrow-down", "arrow-from", "arrow-left", "arrow-move", "arrow-right", "arrow-sub", "arrow-trend", "arrow-up-plus", "arrow-up", "authority", "beams", "bell", "bold", "box", "building", "bullet-list", "calendar", "camera", "categories", "check-circled", "check-outline", "check", "chevron-down", "chevron-left-double", "chevron-left", "chevron-right-double", "chevron-right", "chevron-up", "clock", "close-outline", "close", "columns", "conclusion", "copy", "crosshair", "dash", "dashboard", "delete", "delta", "download", "drag", "drilldown", "edit", "envelope", "error", "export-document", "filter", "filters", "flag", "folder", "frequency", "fullscreen-off", "fullscreen-on", "graduate", "hamburger", "handshake", "heading-1", "heading-2", "heading", "home", "id-card", "id", "indent-left", "indent-right", "information", "italics", "itenary", "keyboard", "lightning", "link", "list-collapse", "list-expand", "location", "lock-locked", "lock-unlocked", "magnifying-glass", "map", "match-case", "match-diacritics", "match-full-word", "megaphone", "message", "microscope", "moon", "new-document", "news", "numbered-list", "open-link", "options", "page", "panel-left-show", "panel-left-hide", "panel-right-show", "panel-right-hide", "paper-plane", "paper", "pen-and-paper", "phase", "photo", "pie-chart", "plus", "point-left", "point-up", "popup", "question", "radio-tower", "recycle", "redo", "refresh", "route", "rows", "scope", "settings", "share", "sign-in", "sign-up", "sort-down", "sort-up", "sort", "square-solid", "star-solid", "star", "stop-watch", "structure", "sun", "table", "tag", "team", "telescope", "text-select", "trash", "triangle-angle", "triangle-side", "underline", "undo", "user", "venn", "video", "visibility-off-alt", "visibility-off", "visibility-on", "warning", "zoom"];
|
|
66
66
|
export type TIcon = (typeof icons)[number];
|