@pantograph/pattern-vue 0.0.3 → 0.0.4
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/README.md +2 -2
- package/dist/ComponentMap-B17Koyjo.js +1 -0
- package/dist/ComponentMap-D-1MyYm9.js +21 -0
- package/dist/ComponentMap.d.ts +1 -1
- package/dist/components/CoachMark/CoachMark.d.ts +52 -0
- package/dist/components/CoachMark/constant.d.ts +72 -0
- package/dist/components/CoachMark/index.d.ts +5 -0
- package/dist/components/CoachMark/model.d.ts +8 -0
- package/dist/components/CoachMark/types.d.ts +105 -0
- package/dist/components/Comment/Comment.d.ts +28 -0
- package/dist/components/Comment/CommentAction.d.ts +17 -0
- package/dist/components/Comment/CommentActions.d.ts +431 -0
- package/dist/components/Comment/CommentEditor.d.ts +67 -0
- package/dist/components/Comment/CommentFileList.d.ts +2 -0
- package/dist/components/Comment/CommentMention.d.ts +639 -0
- package/dist/components/Comment/CommentReaction.d.ts +11 -0
- package/dist/components/Comment/CommentReactionHoverCard.d.ts +10 -0
- package/dist/components/Comment/CommentReactionList.d.ts +217 -0
- package/dist/components/Comment/CommentReactionListItem.d.ts +3 -0
- package/dist/components/Comment/CommentTrigger.d.ts +15 -0
- package/dist/components/Comment/constant.d.ts +59 -0
- package/dist/components/Comment/context.d.ts +3 -0
- package/dist/components/Comment/index.d.ts +13 -0
- package/dist/components/Comment/types.d.ts +563 -0
- package/dist/components/Comment/useComment.d.ts +49 -0
- package/dist/components/DataTable/DataTable.d.ts +99 -0
- package/dist/components/DataTable/components/DataTableBatchActions.d.ts +9 -0
- package/dist/components/DataTable/components/DataTableBatchActionsContent.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableColGroup.d.ts +6 -0
- package/dist/components/DataTable/components/DataTableContent.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableEmpty.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableFooter.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableHeader.d.ts +57 -0
- package/dist/components/DataTable/components/DataTableHeaderCell.d.ts +243 -0
- package/dist/components/DataTable/components/DataTableHeaderCellActionsPopover.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableInsertBetween.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableLazyLoading.d.ts +56 -0
- package/dist/components/DataTable/components/DataTableLoadingRow.d.ts +18 -0
- package/dist/components/DataTable/components/DataTableRow.d.ts +15 -0
- package/dist/components/DataTable/components/ThDragGhost.d.ts +16 -0
- package/dist/components/DataTable/constant.d.ts +20 -0
- package/dist/components/DataTable/context.d.ts +2 -0
- package/dist/components/DataTable/index.d.ts +5 -0
- package/dist/components/DataTable/types/cell.d.ts +15 -0
- package/dist/components/DataTable/types/column.d.ts +69 -0
- package/dist/components/DataTable/types/common.d.ts +18 -0
- package/dist/components/DataTable/types/context.d.ts +44 -0
- package/dist/components/DataTable/types/index.d.ts +139 -0
- package/dist/components/DataTable/types/select.d.ts +25 -0
- package/dist/components/DataTable/utils/index.d.ts +14 -0
- package/dist/components/DataTable/utils/useCell.d.ts +23 -0
- package/dist/components/DataTable/utils/useCol.d.ts +35 -0
- package/dist/components/DataTable/utils/useColumnFixed.d.ts +23 -0
- package/dist/components/DataTable/utils/useColumnOrder.d.ts +32 -0
- package/dist/components/DataTable/utils/useColumnPopover.d.ts +19 -0
- package/dist/components/DataTable/utils/useColumnSize.d.ts +14 -0
- package/dist/components/DataTable/utils/useColumnWrap.d.ts +7 -0
- package/dist/components/DataTable/utils/useFilter.d.ts +14 -0
- package/dist/components/DataTable/utils/useInsertBetween.d.ts +5 -0
- package/dist/components/DataTable/utils/useRow.d.ts +9 -0
- package/dist/components/DataTable/utils/useRowOrder.d.ts +114 -0
- package/dist/components/DataTable/utils/useRowVirtualizer.d.ts +12 -0
- package/dist/components/DataTable/utils/useSelection.d.ts +30 -0
- package/dist/components/DataTable/utils/useSort.d.ts +12 -0
- package/dist/components/Form/Form.d.ts +58 -0
- package/dist/components/Form/FormItem.d.ts +22 -0
- package/dist/components/Form/constant.d.ts +18 -0
- package/dist/components/Form/defineRules.d.ts +6 -0
- package/dist/components/Form/index.d.ts +5 -0
- package/dist/components/Form/types.d.ts +418 -0
- package/dist/components/GOPicker/GOItemSkeleton.d.ts +2 -0
- package/dist/components/GOPicker/GOPicker.d.ts +33 -0
- package/dist/components/GOPicker/constant.d.ts +40 -0
- package/dist/components/GOPicker/emojis.d.ts +24 -0
- package/dist/components/GOPicker/getEmojiList.d.ts +42 -0
- package/dist/components/GOPicker/icons.d.ts +9 -0
- package/dist/components/GOPicker/index.d.ts +6 -0
- package/dist/components/GOPicker/model.d.ts +16 -0
- package/dist/components/GOPicker/types.d.ts +353 -0
- package/dist/components/InputPassword/InputPassword.d.ts +4 -71
- package/dist/components/InputPassword/constant.d.ts +12 -0
- package/dist/components/InputPassword/index.d.ts +4 -8
- package/dist/components/InputPassword/types.d.ts +46 -0
- package/dist/components/ListView/ListView.d.ts +15 -0
- package/dist/components/ListView/ListViewItem.d.ts +10 -0
- package/dist/components/ListView/constant.d.ts +4 -0
- package/dist/components/ListView/index.d.ts +5 -0
- package/dist/components/ListView/types.d.ts +16 -0
- package/dist/index-D-WRsztv.js +3431 -0
- package/dist/index-DhcyeKI-.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +52 -4
- package/dist/index.umd.cjs +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/nuxt/index.umd.cjs +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/resolver/index.umd.cjs +1 -1
- package/dist/use/index.js +24437 -100
- package/dist/use/index.umd.cjs +30 -1
- package/package.json +10 -6
- package/dist/ComponentMap-BDQ8ar3z.js +0 -6
- package/dist/ComponentMap-CTyWVtmA.js +0 -1
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
reactionRef: ({
|
|
3
|
+
$: import('vue').ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: {
|
|
6
|
+
readonly hover?: boolean | undefined;
|
|
7
|
+
readonly as?: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component | undefined;
|
|
8
|
+
readonly disabled?: boolean | undefined;
|
|
9
|
+
readonly class?: import('clsx').ClassValue;
|
|
10
|
+
readonly icon?: string | undefined;
|
|
11
|
+
readonly flipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
12
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
13
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
14
|
+
readonly color?: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray" | undefined;
|
|
15
|
+
readonly noRing?: boolean | undefined;
|
|
16
|
+
readonly type?: "ghost" | "fill" | "outline" | undefined;
|
|
17
|
+
readonly loading?: boolean | undefined;
|
|
18
|
+
readonly customStroke?: boolean | undefined;
|
|
19
|
+
readonly preIconCustomStroke?: boolean | undefined;
|
|
20
|
+
readonly postIconCustomStroke?: boolean | undefined;
|
|
21
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
22
|
+
readonly block?: boolean | undefined;
|
|
23
|
+
readonly href?: string | undefined;
|
|
24
|
+
readonly target?: string | undefined;
|
|
25
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
26
|
+
$attrs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$refs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
} & {
|
|
32
|
+
buttonRef: ({
|
|
33
|
+
$: import('vue').ComponentInternalInstance;
|
|
34
|
+
$data: {};
|
|
35
|
+
$props: {
|
|
36
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
37
|
+
readonly as?: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component | undefined;
|
|
38
|
+
readonly class?: import('clsx').ClassValue;
|
|
39
|
+
readonly text?: string | number | undefined;
|
|
40
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
41
|
+
readonly color?: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray" | undefined;
|
|
42
|
+
readonly noRing?: boolean | undefined;
|
|
43
|
+
readonly type?: "ghost" | "fill" | "outline" | undefined;
|
|
44
|
+
readonly variant?: "icon" | "simple" | "float" | undefined;
|
|
45
|
+
readonly loading?: boolean | undefined;
|
|
46
|
+
readonly action?: boolean | undefined;
|
|
47
|
+
readonly active?: boolean | undefined;
|
|
48
|
+
readonly badgeText?: string | undefined;
|
|
49
|
+
readonly badgeIcon?: string | undefined;
|
|
50
|
+
readonly icon?: string | undefined;
|
|
51
|
+
readonly preIcon?: string | undefined;
|
|
52
|
+
readonly postIcon?: string | undefined;
|
|
53
|
+
readonly customStroke?: boolean | undefined;
|
|
54
|
+
readonly preIconCustomStroke?: boolean | undefined;
|
|
55
|
+
readonly postIconCustomStroke?: boolean | undefined;
|
|
56
|
+
readonly flipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
57
|
+
readonly preIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
58
|
+
readonly postIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
59
|
+
readonly badgeIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
60
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
61
|
+
readonly block?: boolean | undefined;
|
|
62
|
+
readonly disabled?: boolean | undefined;
|
|
63
|
+
readonly hover?: boolean | undefined;
|
|
64
|
+
readonly href?: string | undefined;
|
|
65
|
+
readonly target?: string | undefined;
|
|
66
|
+
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
68
|
+
$attrs: {
|
|
69
|
+
[x: string]: unknown;
|
|
70
|
+
};
|
|
71
|
+
$refs: {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
} & {
|
|
74
|
+
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
75
|
+
asChild: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
as: {
|
|
80
|
+
type: import('vue').PropType<("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
86
|
+
asChild: boolean;
|
|
87
|
+
as: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component;
|
|
88
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
89
|
+
P: {};
|
|
90
|
+
B: {};
|
|
91
|
+
D: {};
|
|
92
|
+
C: {};
|
|
93
|
+
M: {};
|
|
94
|
+
Defaults: {};
|
|
95
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
asChild: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
as: {
|
|
101
|
+
type: import('vue').PropType<("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component>;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
105
|
+
[key: string]: any;
|
|
106
|
+
}>, {}, {}, {}, {
|
|
107
|
+
asChild: boolean;
|
|
108
|
+
as: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component;
|
|
109
|
+
}> | null;
|
|
110
|
+
};
|
|
111
|
+
$slots: Readonly<{
|
|
112
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
115
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
116
|
+
$host: Element | null;
|
|
117
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
118
|
+
$el: any;
|
|
119
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').BaseButtonProps> & Readonly<{
|
|
120
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
}>, {
|
|
122
|
+
isFocused(): boolean;
|
|
123
|
+
focus(): void;
|
|
124
|
+
blur(): void;
|
|
125
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
126
|
+
click: (...args: any[]) => void;
|
|
127
|
+
}, string, {
|
|
128
|
+
type: "ghost" | "fill" | "outline";
|
|
129
|
+
disabled: boolean;
|
|
130
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
131
|
+
htmlType: "reset" | "submit" | "button";
|
|
132
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
133
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
134
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
135
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
136
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
137
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
138
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
139
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
140
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
141
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
142
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
143
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
144
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
145
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
146
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
147
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
148
|
+
};
|
|
149
|
+
$forceUpdate: () => void;
|
|
150
|
+
$nextTick: nextTick;
|
|
151
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
152
|
+
} & Readonly<{
|
|
153
|
+
type: "ghost" | "fill" | "outline";
|
|
154
|
+
disabled: boolean;
|
|
155
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
156
|
+
htmlType: "reset" | "submit" | "button";
|
|
157
|
+
}> & Omit<Readonly<import('@pantograph/vue').BaseButtonProps> & Readonly<{
|
|
158
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
159
|
+
}>, "disabled" | "color" | "type" | "htmlType" | "blur" | "focus" | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
160
|
+
isFocused(): boolean;
|
|
161
|
+
focus(): void;
|
|
162
|
+
blur(): void;
|
|
163
|
+
}> & import('vue').ComponentCustomProperties & {
|
|
164
|
+
$slots: Readonly<import('@pantograph/vue').BaseButtonSlots> & import('@pantograph/vue').BaseButtonSlots;
|
|
165
|
+
}) | null;
|
|
166
|
+
};
|
|
167
|
+
$slots: Readonly<{
|
|
168
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
169
|
+
}>;
|
|
170
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
171
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
172
|
+
$host: Element | null;
|
|
173
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
174
|
+
$el: any;
|
|
175
|
+
$options: import('vue').ComponentOptionsBase<Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>> & Readonly<{}>, {
|
|
176
|
+
isFocused(): void;
|
|
177
|
+
focus(): void;
|
|
178
|
+
blur(): void;
|
|
179
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
180
|
+
type: "ghost" | "fill" | "outline";
|
|
181
|
+
disabled: boolean;
|
|
182
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
183
|
+
htmlType: "reset" | "submit" | "button";
|
|
184
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
185
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
186
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
187
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
188
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
189
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
190
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
191
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
192
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
193
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
194
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
195
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
196
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
197
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
198
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
199
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
200
|
+
};
|
|
201
|
+
$forceUpdate: () => void;
|
|
202
|
+
$nextTick: typeof import('vue').nextTick;
|
|
203
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R_1 ? (args_0: R_1, args_1: R_1, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
204
|
+
} & Readonly<{
|
|
205
|
+
type: "ghost" | "fill" | "outline";
|
|
206
|
+
disabled: boolean;
|
|
207
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
208
|
+
htmlType: "reset" | "submit" | "button";
|
|
209
|
+
}> & Omit<Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>> & Readonly<{}>, "disabled" | "color" | "type" | "htmlType" | "blur" | "focus" | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
210
|
+
isFocused(): void;
|
|
211
|
+
focus(): void;
|
|
212
|
+
blur(): void;
|
|
213
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
214
|
+
$slots: Readonly<import('@pantograph/vue').IconButtonSlots> & import('@pantograph/vue').IconButtonSlots;
|
|
215
|
+
}) | null;
|
|
216
|
+
actionRef: ({
|
|
217
|
+
$: import('vue').ComponentInternalInstance;
|
|
218
|
+
$data: {};
|
|
219
|
+
$props: {
|
|
220
|
+
readonly hover?: boolean | undefined;
|
|
221
|
+
readonly as?: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component | undefined;
|
|
222
|
+
readonly disabled?: boolean | undefined;
|
|
223
|
+
readonly class?: import('clsx').ClassValue;
|
|
224
|
+
readonly icon?: string | undefined;
|
|
225
|
+
readonly flipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
226
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
227
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
228
|
+
readonly color?: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray" | undefined;
|
|
229
|
+
readonly noRing?: boolean | undefined;
|
|
230
|
+
readonly type?: "ghost" | "fill" | "outline" | undefined;
|
|
231
|
+
readonly loading?: boolean | undefined;
|
|
232
|
+
readonly customStroke?: boolean | undefined;
|
|
233
|
+
readonly preIconCustomStroke?: boolean | undefined;
|
|
234
|
+
readonly postIconCustomStroke?: boolean | undefined;
|
|
235
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
236
|
+
readonly block?: boolean | undefined;
|
|
237
|
+
readonly href?: string | undefined;
|
|
238
|
+
readonly target?: string | undefined;
|
|
239
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
240
|
+
$attrs: {
|
|
241
|
+
[x: string]: unknown;
|
|
242
|
+
};
|
|
243
|
+
$refs: {
|
|
244
|
+
[x: string]: unknown;
|
|
245
|
+
} & {
|
|
246
|
+
buttonRef: ({
|
|
247
|
+
$: import('vue').ComponentInternalInstance;
|
|
248
|
+
$data: {};
|
|
249
|
+
$props: {
|
|
250
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
251
|
+
readonly as?: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component | undefined;
|
|
252
|
+
readonly class?: import('clsx').ClassValue;
|
|
253
|
+
readonly text?: string | number | undefined;
|
|
254
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
255
|
+
readonly color?: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray" | undefined;
|
|
256
|
+
readonly noRing?: boolean | undefined;
|
|
257
|
+
readonly type?: "ghost" | "fill" | "outline" | undefined;
|
|
258
|
+
readonly variant?: "icon" | "simple" | "float" | undefined;
|
|
259
|
+
readonly loading?: boolean | undefined;
|
|
260
|
+
readonly action?: boolean | undefined;
|
|
261
|
+
readonly active?: boolean | undefined;
|
|
262
|
+
readonly badgeText?: string | undefined;
|
|
263
|
+
readonly badgeIcon?: string | undefined;
|
|
264
|
+
readonly icon?: string | undefined;
|
|
265
|
+
readonly preIcon?: string | undefined;
|
|
266
|
+
readonly postIcon?: string | undefined;
|
|
267
|
+
readonly customStroke?: boolean | undefined;
|
|
268
|
+
readonly preIconCustomStroke?: boolean | undefined;
|
|
269
|
+
readonly postIconCustomStroke?: boolean | undefined;
|
|
270
|
+
readonly flipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
271
|
+
readonly preIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
272
|
+
readonly postIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
273
|
+
readonly badgeIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
274
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
275
|
+
readonly block?: boolean | undefined;
|
|
276
|
+
readonly disabled?: boolean | undefined;
|
|
277
|
+
readonly hover?: boolean | undefined;
|
|
278
|
+
readonly href?: string | undefined;
|
|
279
|
+
readonly target?: string | undefined;
|
|
280
|
+
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
281
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
282
|
+
$attrs: {
|
|
283
|
+
[x: string]: unknown;
|
|
284
|
+
};
|
|
285
|
+
$refs: {
|
|
286
|
+
[x: string]: unknown;
|
|
287
|
+
} & {
|
|
288
|
+
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
289
|
+
asChild: {
|
|
290
|
+
type: BooleanConstructor;
|
|
291
|
+
default: boolean;
|
|
292
|
+
};
|
|
293
|
+
as: {
|
|
294
|
+
type: import('vue').PropType<("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component>;
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
297
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
298
|
+
[key: string]: any;
|
|
299
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
300
|
+
asChild: boolean;
|
|
301
|
+
as: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component;
|
|
302
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
303
|
+
P: {};
|
|
304
|
+
B: {};
|
|
305
|
+
D: {};
|
|
306
|
+
C: {};
|
|
307
|
+
M: {};
|
|
308
|
+
Defaults: {};
|
|
309
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
310
|
+
asChild: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
as: {
|
|
315
|
+
type: import('vue').PropType<("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component>;
|
|
316
|
+
default: string;
|
|
317
|
+
};
|
|
318
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
319
|
+
[key: string]: any;
|
|
320
|
+
}>, {}, {}, {}, {
|
|
321
|
+
asChild: boolean;
|
|
322
|
+
as: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component;
|
|
323
|
+
}> | null;
|
|
324
|
+
};
|
|
325
|
+
$slots: Readonly<{
|
|
326
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
327
|
+
}>;
|
|
328
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
329
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
330
|
+
$host: Element | null;
|
|
331
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
332
|
+
$el: any;
|
|
333
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').BaseButtonProps> & Readonly<{
|
|
334
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
335
|
+
}>, {
|
|
336
|
+
isFocused(): boolean;
|
|
337
|
+
focus(): void;
|
|
338
|
+
blur(): void;
|
|
339
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
340
|
+
click: (...args: any[]) => void;
|
|
341
|
+
}, string, {
|
|
342
|
+
type: "ghost" | "fill" | "outline";
|
|
343
|
+
disabled: boolean;
|
|
344
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
345
|
+
htmlType: "reset" | "submit" | "button";
|
|
346
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
347
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
348
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
349
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
350
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
351
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
352
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
353
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
354
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
355
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
356
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
357
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
358
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
359
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
360
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
361
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
362
|
+
};
|
|
363
|
+
$forceUpdate: () => void;
|
|
364
|
+
$nextTick: nextTick;
|
|
365
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
366
|
+
} & Readonly<{
|
|
367
|
+
type: "ghost" | "fill" | "outline";
|
|
368
|
+
disabled: boolean;
|
|
369
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
370
|
+
htmlType: "reset" | "submit" | "button";
|
|
371
|
+
}> & Omit<Readonly<import('@pantograph/vue').BaseButtonProps> & Readonly<{
|
|
372
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
373
|
+
}>, "disabled" | "color" | "type" | "htmlType" | "blur" | "focus" | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
374
|
+
isFocused(): boolean;
|
|
375
|
+
focus(): void;
|
|
376
|
+
blur(): void;
|
|
377
|
+
}> & import('vue').ComponentCustomProperties & {
|
|
378
|
+
$slots: Readonly<import('@pantograph/vue').BaseButtonSlots> & import('@pantograph/vue').BaseButtonSlots;
|
|
379
|
+
}) | null;
|
|
380
|
+
};
|
|
381
|
+
$slots: Readonly<{
|
|
382
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
383
|
+
}>;
|
|
384
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
385
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
386
|
+
$host: Element | null;
|
|
387
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
388
|
+
$el: any;
|
|
389
|
+
$options: import('vue').ComponentOptionsBase<Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>> & Readonly<{}>, {
|
|
390
|
+
isFocused(): void;
|
|
391
|
+
focus(): void;
|
|
392
|
+
blur(): void;
|
|
393
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
394
|
+
type: "ghost" | "fill" | "outline";
|
|
395
|
+
disabled: boolean;
|
|
396
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
397
|
+
htmlType: "reset" | "submit" | "button";
|
|
398
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
399
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
400
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
401
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
402
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
403
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
404
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
405
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
406
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
407
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
408
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
409
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
410
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
411
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
412
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
413
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
414
|
+
};
|
|
415
|
+
$forceUpdate: () => void;
|
|
416
|
+
$nextTick: typeof import('vue').nextTick;
|
|
417
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R_1 ? (args_0: R_1, args_1: R_1, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
418
|
+
} & Readonly<{
|
|
419
|
+
type: "ghost" | "fill" | "outline";
|
|
420
|
+
disabled: boolean;
|
|
421
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
422
|
+
htmlType: "reset" | "submit" | "button";
|
|
423
|
+
}> & Omit<Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>> & Readonly<{}>, "disabled" | "color" | "type" | "htmlType" | "blur" | "focus" | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
424
|
+
isFocused(): void;
|
|
425
|
+
focus(): void;
|
|
426
|
+
blur(): void;
|
|
427
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
428
|
+
$slots: Readonly<import('@pantograph/vue').IconButtonSlots> & import('@pantograph/vue').IconButtonSlots;
|
|
429
|
+
}) | null;
|
|
430
|
+
}, any>;
|
|
431
|
+
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { UploadSlots } from '@pantograph/vue';
|
|
2
|
+
import { CommentEditorProps } from './types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CommentEditorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
blur: (value: InputEvent) => any;
|
|
5
|
+
cancel: () => any;
|
|
6
|
+
focus: (value: InputEvent) => any;
|
|
7
|
+
submit: () => any;
|
|
8
|
+
openReaction: (value: HTMLElement) => any;
|
|
9
|
+
openMention: (value: HTMLElement) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<CommentEditorProps> & Readonly<{
|
|
11
|
+
onBlur?: ((value: InputEvent) => any) | undefined;
|
|
12
|
+
onCancel?: (() => any) | undefined;
|
|
13
|
+
onFocus?: ((value: InputEvent) => any) | undefined;
|
|
14
|
+
onSubmit?: (() => any) | undefined;
|
|
15
|
+
onOpenReaction?: ((value: HTMLElement) => any) | undefined;
|
|
16
|
+
onOpenMention?: ((value: HTMLElement) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
maxHeight: string | number;
|
|
19
|
+
okProps: Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "icon" | "flipOnDir" | "badgeIconFlipOnDir">> & {
|
|
20
|
+
text: string;
|
|
21
|
+
hide?: boolean | undefined;
|
|
22
|
+
};
|
|
23
|
+
cancelProps: Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "icon" | "flipOnDir" | "badgeIconFlipOnDir">> & {
|
|
24
|
+
text: string;
|
|
25
|
+
hide?: boolean | undefined;
|
|
26
|
+
};
|
|
27
|
+
kbdProps: import('@pantograph/vue').KbdProps & {
|
|
28
|
+
text: string;
|
|
29
|
+
hide?: boolean | undefined;
|
|
30
|
+
};
|
|
31
|
+
kbdDescription: string;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
+
uploadRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
34
|
+
P: {};
|
|
35
|
+
B: {};
|
|
36
|
+
D: {};
|
|
37
|
+
C: {};
|
|
38
|
+
M: {};
|
|
39
|
+
Defaults: {};
|
|
40
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
41
|
+
mentionRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>>, import('@pantograph/vue').IconButtonSlots, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
42
|
+
P: {};
|
|
43
|
+
B: {};
|
|
44
|
+
D: {};
|
|
45
|
+
C: {};
|
|
46
|
+
M: {};
|
|
47
|
+
Defaults: {};
|
|
48
|
+
}, Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>>, import('@pantograph/vue').IconButtonSlots, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
49
|
+
reactionRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>>, import('@pantograph/vue').IconButtonSlots, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<Partial<Omit<import('@pantograph/vue').BaseButtonProps, "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir" | "text" | "preIcon" | "postIcon" | "preIconFlipOnDir" | "postIconFlipOnDir">>>, import('@pantograph/vue').IconButtonSlots, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
57
|
+
}, HTMLDivElement>, Readonly<UploadSlots & {
|
|
58
|
+
default: (data?: object | undefined) => never;
|
|
59
|
+
}> & UploadSlots & {
|
|
60
|
+
default: (data?: object | undefined) => never;
|
|
61
|
+
}>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|