@pantograph/pattern-vue 0.0.3 → 0.0.5
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-B1762IQM.js +21 -0
- package/dist/ComponentMap-Cwlxatbx.js +1 -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 +11 -6
- package/dist/ComponentMap-BDQ8ar3z.js +0 -6
- package/dist/ComponentMap-CTyWVtmA.js +0 -1
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { ComboboxOptionType, ComboboxProps, ComboboxSlots } from '@pantograph/vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ComboboxProps, {
|
|
3
|
+
comboboxRef: import('vue').Ref<any, any>;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
mention: (value: string | undefined, option?: ComboboxOptionType | undefined) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<ComboboxProps> & Readonly<{
|
|
7
|
+
onMention?: ((value: string | undefined, option?: ComboboxOptionType | undefined) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
sideOffset: number;
|
|
10
|
+
avoidCollisions: boolean;
|
|
11
|
+
prioritizePosition: boolean;
|
|
12
|
+
disableOutsidePointerEvents: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
defaultOpen: boolean;
|
|
15
|
+
open: boolean;
|
|
16
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
17
|
+
zIndex: string | number;
|
|
18
|
+
bordered: boolean;
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
multiple: boolean;
|
|
21
|
+
resetSearchTermOnBlur: boolean;
|
|
22
|
+
resetSearchTermOnSelect: boolean;
|
|
23
|
+
noValueOnPlaceholder: boolean;
|
|
24
|
+
checkbox: boolean;
|
|
25
|
+
tagRenderMode: "go" | "chip" | "avatar";
|
|
26
|
+
showTreeTagStrategy: "child" | "parent" | "all";
|
|
27
|
+
trailingIcon: string | boolean;
|
|
28
|
+
selectedItemIconAsTrailingIcon: boolean;
|
|
29
|
+
indicatorIcon: string;
|
|
30
|
+
loadingRowCount: number;
|
|
31
|
+
clearOnChangeMultiple: boolean;
|
|
32
|
+
samePopupWidth: boolean;
|
|
33
|
+
popupHeight: string | number;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
|
+
comboboxRef: ({
|
|
36
|
+
$: import('vue').ComponentInternalInstance;
|
|
37
|
+
$data: {};
|
|
38
|
+
$props: {
|
|
39
|
+
readonly modelValue?: string | string[] | undefined;
|
|
40
|
+
readonly defaultValue?: string | string[] | undefined;
|
|
41
|
+
readonly multiple?: boolean | undefined;
|
|
42
|
+
readonly disabled?: boolean | undefined;
|
|
43
|
+
readonly readonly?: boolean | undefined;
|
|
44
|
+
readonly highlightOnHover?: boolean | undefined;
|
|
45
|
+
readonly resetHighlightedOptionAfterSelect?: boolean | undefined;
|
|
46
|
+
readonly resetSearchTermOnBlur?: boolean | undefined;
|
|
47
|
+
readonly resetSearchTermOnSelect?: boolean | undefined;
|
|
48
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
49
|
+
readonly status?: "none" | "success" | "warning" | "error" | undefined;
|
|
50
|
+
readonly noValueOnPlaceholder?: boolean | undefined;
|
|
51
|
+
readonly zIndex?: string | number | undefined;
|
|
52
|
+
readonly checkbox?: boolean | undefined;
|
|
53
|
+
readonly tagRenderMode?: "go" | "chip" | "avatar" | undefined;
|
|
54
|
+
readonly getTagProps?: ((option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => Record<string, any>) | undefined;
|
|
55
|
+
readonly tree?: boolean | undefined;
|
|
56
|
+
readonly treeProps?: Omit<import('@pantograph/vue').TreeProps, "modelValue" | "expandedKeys" | "checkedKeys"> | undefined;
|
|
57
|
+
readonly showTreeTagStrategy?: "child" | "parent" | "all" | undefined;
|
|
58
|
+
readonly contentFit?: boolean | undefined;
|
|
59
|
+
readonly wrapped?: boolean | undefined;
|
|
60
|
+
readonly sortSelectedItems?: boolean | undefined;
|
|
61
|
+
readonly noTrailing?: boolean | undefined;
|
|
62
|
+
readonly leadingIcon?: string | undefined;
|
|
63
|
+
readonly trailingIcon?: string | boolean | undefined;
|
|
64
|
+
readonly selectedItemIconAsTrailingIcon?: boolean | undefined;
|
|
65
|
+
readonly maxCount?: string | number | undefined;
|
|
66
|
+
readonly to?: string | object | HTMLElement | import('@pantograph/vue').GetPopupContainer | undefined;
|
|
67
|
+
readonly placeholder?: string | undefined;
|
|
68
|
+
readonly indicatorIcon?: string | undefined;
|
|
69
|
+
readonly options?: ComboboxOptionType[] | undefined;
|
|
70
|
+
readonly getDisabled?: import('@pantograph/utils').OptionGetter<boolean> | undefined;
|
|
71
|
+
readonly getLabel?: import('@pantograph/utils').OptionGetter | undefined;
|
|
72
|
+
readonly getDescription?: import('@pantograph/utils').OptionGetter | undefined;
|
|
73
|
+
readonly getValue?: import('@pantograph/utils').OptionGetter | undefined;
|
|
74
|
+
readonly getNoCheckbox?: import('@pantograph/utils').OptionGetter<boolean> | undefined;
|
|
75
|
+
readonly getSingle?: import('@pantograph/utils').OptionGetter<boolean> | undefined;
|
|
76
|
+
readonly getClear?: import('@pantograph/utils').OptionGetter<boolean> | undefined;
|
|
77
|
+
readonly getOptions?: import('@pantograph/utils').OptionGetter<ComboboxOptionType[]> | undefined;
|
|
78
|
+
readonly getIcon?: import('@pantograph/utils').OptionGetter | undefined;
|
|
79
|
+
readonly getHidden?: import('@pantograph/utils').OptionGetter<boolean> | undefined;
|
|
80
|
+
readonly loading?: boolean | undefined;
|
|
81
|
+
readonly skeletonProps?: (import('@pantograph/vue').SkeletonProps & Record<string, any>) | undefined;
|
|
82
|
+
readonly loadingRowCount?: number | undefined;
|
|
83
|
+
readonly lazyLoading?: boolean | undefined;
|
|
84
|
+
readonly bordered?: boolean | undefined;
|
|
85
|
+
readonly clearOnChangeMultiple?: boolean | undefined;
|
|
86
|
+
readonly triggerCls?: import('clsx').ClassValue;
|
|
87
|
+
readonly scrollAreaCls?: import('clsx').ClassValue;
|
|
88
|
+
readonly triggerLeadingCls?: import('clsx').ClassValue;
|
|
89
|
+
readonly triggerContentCls?: import('clsx').ClassValue;
|
|
90
|
+
readonly triggerContentPlaceholderCls?: import('clsx').ClassValue;
|
|
91
|
+
readonly triggerContentValueCls?: import('clsx').ClassValue;
|
|
92
|
+
readonly triggerTrailingCls?: import('clsx').ClassValue;
|
|
93
|
+
readonly itemLeadingCls?: import('clsx').ClassValue;
|
|
94
|
+
readonly optionCls?: import('clsx').ClassValue;
|
|
95
|
+
readonly tagCls?: import('clsx').ClassValue;
|
|
96
|
+
readonly popupCls?: import('clsx').ClassValue;
|
|
97
|
+
readonly labelCls?: import('clsx').ClassValue;
|
|
98
|
+
readonly optionsCls?: import('clsx').ClassValue;
|
|
99
|
+
readonly optionTextCls?: import('clsx').ClassValue;
|
|
100
|
+
readonly optionContentCls?: import('clsx').ClassValue;
|
|
101
|
+
readonly emptyCls?: import('clsx').ClassValue;
|
|
102
|
+
readonly skeletonCls?: import('clsx').ClassValue;
|
|
103
|
+
readonly emptyProps?: import('@pantograph/vue').EmptyProps | undefined;
|
|
104
|
+
readonly samePopupWidth?: boolean | undefined;
|
|
105
|
+
readonly popupHeight?: string | number | undefined;
|
|
106
|
+
readonly popupWidth?: string | number | undefined;
|
|
107
|
+
readonly minWidth?: string | number | undefined;
|
|
108
|
+
readonly triggerMinWidth?: string | number | undefined;
|
|
109
|
+
readonly search?: string | undefined;
|
|
110
|
+
readonly filterOptions?: {
|
|
111
|
+
expandParent?: "expand" | "collapse" | undefined;
|
|
112
|
+
strictNode?: boolean | undefined;
|
|
113
|
+
} | undefined;
|
|
114
|
+
readonly expandedKeys?: string[] | undefined;
|
|
115
|
+
readonly headerSearch?: boolean | undefined;
|
|
116
|
+
readonly headerSearchInputProps?: import('@pantograph/vue').ComboboxInputProps | undefined;
|
|
117
|
+
readonly virtual?: boolean | undefined;
|
|
118
|
+
readonly showTriggerTagOnOption?: boolean | undefined;
|
|
119
|
+
readonly getMenuItemProps?: ((option: import('@pantograph/vue').ComboboxFlattenOptionType) => Partial<import('@pantograph/vue').MenuItemProps>) | Partial<import('@pantograph/vue').MenuItemProps> | undefined;
|
|
120
|
+
readonly sideOffset?: number | undefined;
|
|
121
|
+
readonly alignOffset?: number | undefined;
|
|
122
|
+
readonly avoidCollisions?: boolean | undefined;
|
|
123
|
+
readonly prioritizePosition?: boolean | undefined;
|
|
124
|
+
readonly reference?: import('reka-ui').ReferenceElement | undefined;
|
|
125
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
126
|
+
readonly defaultOpen?: boolean | undefined;
|
|
127
|
+
readonly open?: boolean | undefined;
|
|
128
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
129
|
+
readonly placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
|
|
130
|
+
readonly reversePlacementOnDir?: import('@pantograph/vue').Direction | undefined;
|
|
131
|
+
readonly containerProps?: object | undefined;
|
|
132
|
+
readonly noTrigger?: boolean | undefined;
|
|
133
|
+
readonly ignoreParentTo?: boolean | undefined;
|
|
134
|
+
readonly onSearch?: ((value?: string | null | undefined) => any) | undefined;
|
|
135
|
+
readonly onSelect?: ((value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => any) | undefined;
|
|
136
|
+
readonly "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
137
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
138
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
139
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
140
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
141
|
+
originalEvent: PointerEvent;
|
|
142
|
+
}>) => any) | undefined;
|
|
143
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
144
|
+
originalEvent: FocusEvent;
|
|
145
|
+
}>) => any) | undefined;
|
|
146
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
147
|
+
originalEvent: PointerEvent;
|
|
148
|
+
}> | CustomEvent<{
|
|
149
|
+
originalEvent: FocusEvent;
|
|
150
|
+
}>) => any) | undefined;
|
|
151
|
+
readonly onOpenChange?: ((value?: boolean | null | undefined) => any) | undefined;
|
|
152
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
153
|
+
readonly onKeydownEnter?: ((event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any) | undefined;
|
|
154
|
+
readonly "onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
155
|
+
readonly onKeydownEscape?: ((event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any) | undefined;
|
|
156
|
+
readonly "onUpdate:search"?: ((value?: string | null | undefined) => any) | undefined;
|
|
157
|
+
readonly onFetch?: ((getIsVisible: () => Promise<boolean>) => any) | undefined;
|
|
158
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
159
|
+
$attrs: {
|
|
160
|
+
[x: string]: unknown;
|
|
161
|
+
};
|
|
162
|
+
$refs: {
|
|
163
|
+
[x: string]: unknown;
|
|
164
|
+
} & {
|
|
165
|
+
scrollContainerRef: HTMLDivElement;
|
|
166
|
+
treeRef: ({
|
|
167
|
+
$: import('vue').ComponentInternalInstance;
|
|
168
|
+
$data: {};
|
|
169
|
+
$props: {
|
|
170
|
+
readonly emitVisibleRowsCount?: boolean | undefined;
|
|
171
|
+
readonly emitReSelect?: boolean | undefined;
|
|
172
|
+
readonly selectionBehavior?: "replace" | "toggle" | undefined;
|
|
173
|
+
readonly class?: import('clsx').ClassValue;
|
|
174
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
175
|
+
readonly gap?: import('@pantograph/vue').TreeGap | undefined;
|
|
176
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
177
|
+
readonly data: (object | import('@pantograph/vue').TreeNodeType)[];
|
|
178
|
+
readonly flattenData?: boolean | undefined;
|
|
179
|
+
readonly modelValue?: string[] | undefined;
|
|
180
|
+
readonly checkedKeys?: string[] | undefined;
|
|
181
|
+
readonly expandedKeys?: string[] | undefined;
|
|
182
|
+
readonly multiple?: boolean | undefined;
|
|
183
|
+
readonly checkable?: boolean | undefined;
|
|
184
|
+
readonly selectable?: boolean | undefined;
|
|
185
|
+
readonly defaultExpandAll?: boolean | undefined;
|
|
186
|
+
readonly showLine?: boolean | undefined;
|
|
187
|
+
readonly inlineNode?: boolean | undefined;
|
|
188
|
+
readonly lazyLoad?: boolean | undefined;
|
|
189
|
+
readonly getLoading?: import('@pantograph/utils').OptionGetter<boolean | undefined> | undefined;
|
|
190
|
+
readonly getNoRotateSwitcherIcon?: import('@pantograph/utils').OptionGetter<boolean | undefined> | undefined;
|
|
191
|
+
readonly getTitle?: import('@pantograph/utils').OptionGetter<string | undefined> | undefined;
|
|
192
|
+
readonly getLeaf?: import('@pantograph/utils').OptionGetter<boolean | undefined> | undefined;
|
|
193
|
+
readonly getDraggable?: import('@pantograph/utils').OptionGetter<boolean | undefined> | undefined;
|
|
194
|
+
readonly getKey?: import('@pantograph/utils').OptionGetter<string> | undefined;
|
|
195
|
+
readonly getSwitcherIcon?: import('@pantograph/utils').OptionGetter<string | undefined> | undefined;
|
|
196
|
+
readonly getDisabled?: import('@pantograph/utils').OptionGetter<boolean | undefined> | undefined;
|
|
197
|
+
readonly getChildren?: import('@pantograph/utils').OptionGetter<object[] | undefined> | undefined;
|
|
198
|
+
readonly getHidden?: import('@pantograph/utils').OptionGetter<boolean | undefined> | undefined;
|
|
199
|
+
readonly groupName?: string | ((node?: object | undefined) => string) | undefined;
|
|
200
|
+
readonly sortableProps?: (Omit<import('@pantograph/sortable').SortableOptions, "onMove"> & {
|
|
201
|
+
onMove?: ((evt: import('@pantograph/vue').TreeDragMoveEvent, originalEvent: Event) => boolean | void | 1 | -1) | undefined;
|
|
202
|
+
}) | undefined;
|
|
203
|
+
readonly focusable?: boolean | undefined;
|
|
204
|
+
readonly checkStrictly?: boolean | undefined;
|
|
205
|
+
readonly syncCheckboxAndSelect?: boolean | undefined;
|
|
206
|
+
readonly virtual?: boolean | import('@pantograph/utils-vue').Virtualizer | undefined;
|
|
207
|
+
readonly scrollAreaCls?: import('clsx').ClassValue;
|
|
208
|
+
readonly scrollContainerCls?: import('clsx').ClassValue;
|
|
209
|
+
readonly disabled?: boolean | undefined;
|
|
210
|
+
readonly switcherIcon?: string | undefined;
|
|
211
|
+
readonly noRotateSwitcherIcon?: boolean | undefined;
|
|
212
|
+
readonly draggable?: boolean | undefined;
|
|
213
|
+
readonly onSelect?: ((node: object | import('@pantograph/vue').TreeNodeType, selected: boolean, selectedKeys: string[]) => any) | undefined;
|
|
214
|
+
readonly onChange?: ((value: {
|
|
215
|
+
modelValue: string[];
|
|
216
|
+
checkedKeys: string[];
|
|
217
|
+
}) => any) | undefined;
|
|
218
|
+
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
219
|
+
readonly onExpand?: ((node: object | import('@pantograph/vue').TreeNodeType, expanded: boolean) => any) | undefined;
|
|
220
|
+
readonly onCalculateVisibleRowsCount?: ((count: number) => any) | undefined;
|
|
221
|
+
readonly "onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
222
|
+
readonly "onUpdate:checkedKeys"?: ((value: string[]) => any) | undefined;
|
|
223
|
+
readonly onCheck?: ((node: object | import('@pantograph/vue').TreeNodeType, checked: boolean, checkedKeys: string[]) => any) | undefined;
|
|
224
|
+
readonly onDragStart?: ((event: import('@pantograph/vue').TreeDragEvent) => any) | undefined;
|
|
225
|
+
readonly onDragEnd?: ((event: import('@pantograph/vue').TreeDragEvent) => any) | undefined;
|
|
226
|
+
readonly onChoose?: ((event: import('@pantograph/sortable').SortableEvent) => any) | undefined;
|
|
227
|
+
readonly onUnchoose?: ((event: import('@pantograph/sortable').SortableEvent) => any) | undefined;
|
|
228
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
229
|
+
$attrs: {
|
|
230
|
+
[x: string]: unknown;
|
|
231
|
+
};
|
|
232
|
+
$refs: {
|
|
233
|
+
[x: string]: unknown;
|
|
234
|
+
};
|
|
235
|
+
$slots: Readonly<{
|
|
236
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
237
|
+
}>;
|
|
238
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
239
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
240
|
+
$host: Element | null;
|
|
241
|
+
$emit: ((event: "select", node: object | import('@pantograph/vue').TreeNodeType, selected: boolean, selectedKeys: string[]) => void) & ((event: "change", value: {
|
|
242
|
+
modelValue: string[];
|
|
243
|
+
checkedKeys: string[];
|
|
244
|
+
}) => void) & ((event: "update:modelValue", value: string[]) => void) & ((event: "expand", node: object | import('@pantograph/vue').TreeNodeType, expanded: boolean) => void) & ((event: "calculateVisibleRowsCount", count: number) => void) & ((event: "update:expandedKeys", value: string[]) => void) & ((event: "update:checkedKeys", value: string[]) => void) & ((event: "check", node: object | import('@pantograph/vue').TreeNodeType, checked: boolean, checkedKeys: string[]) => void) & ((event: "dragStart", event: import('@pantograph/vue').TreeDragEvent) => void) & ((event: "dragEnd", event: import('@pantograph/vue').TreeDragEvent) => void) & ((event: "choose", event: import('@pantograph/sortable').SortableEvent) => void) & ((event: "unchoose", event: import('@pantograph/sortable').SortableEvent) => void);
|
|
245
|
+
$el: any;
|
|
246
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').TreeProps> & Readonly<{
|
|
247
|
+
onSelect?: ((node: object | import('@pantograph/vue').TreeNodeType, selected: boolean, selectedKeys: string[]) => any) | undefined;
|
|
248
|
+
onChange?: ((value: {
|
|
249
|
+
modelValue: string[];
|
|
250
|
+
checkedKeys: string[];
|
|
251
|
+
}) => any) | undefined;
|
|
252
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
253
|
+
onExpand?: ((node: object | import('@pantograph/vue').TreeNodeType, expanded: boolean) => any) | undefined;
|
|
254
|
+
onCalculateVisibleRowsCount?: ((count: number) => any) | undefined;
|
|
255
|
+
"onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
256
|
+
"onUpdate:checkedKeys"?: ((value: string[]) => any) | undefined;
|
|
257
|
+
onCheck?: ((node: object | import('@pantograph/vue').TreeNodeType, checked: boolean, checkedKeys: string[]) => any) | undefined;
|
|
258
|
+
onDragStart?: ((event: import('@pantograph/vue').TreeDragEvent) => any) | undefined;
|
|
259
|
+
onDragEnd?: ((event: import('@pantograph/vue').TreeDragEvent) => any) | undefined;
|
|
260
|
+
onChoose?: ((event: import('@pantograph/sortable').SortableEvent) => any) | undefined;
|
|
261
|
+
onUnchoose?: ((event: import('@pantograph/sortable').SortableEvent) => any) | undefined;
|
|
262
|
+
}>, {
|
|
263
|
+
disabled: import('vue').ComputedRef<boolean | undefined>;
|
|
264
|
+
props: import('@pantograph/vue').TreeProps;
|
|
265
|
+
dir: import('vue').ComputedRef<import('@pantograph/vue').Direction | undefined>;
|
|
266
|
+
expandedKeys: import('vue').Ref<string[] | undefined, string[] | undefined>;
|
|
267
|
+
model: import('vue').WritableComputedRef<string[], string[]>;
|
|
268
|
+
checked: import('vue').Ref<string[], string[]>;
|
|
269
|
+
dragging: import('vue').Ref<boolean, boolean>;
|
|
270
|
+
scrollContainerRef: import('vue').Ref<any, any>;
|
|
271
|
+
onExpandKey: (node: import('@pantograph/vue').TreeItem) => void;
|
|
272
|
+
getLevel: (node: import('@pantograph/vue').TreeItem) => number;
|
|
273
|
+
getNodeField: <T>(node: object, field: keyof import('@pantograph/vue').TreeNodeType) => T;
|
|
274
|
+
onSelect: (node: import('@pantograph/vue').TreeItem, value: boolean) => void;
|
|
275
|
+
onCheck: (node: import('@pantograph/vue').TreeItem, value: boolean) => void;
|
|
276
|
+
getNodeChildren: (node: import('@pantograph/vue').TreeItem, direct?: boolean | undefined, filterDisabled?: boolean | undefined) => import('@pantograph/vue').TreeItem[];
|
|
277
|
+
indentSize: import('vue').ComputedRef<"sm" | "2xsm" | "xsm">;
|
|
278
|
+
iconSize: import('vue').ComputedRef<"2xsm" | "xsm">;
|
|
279
|
+
getIsSelected: (node: import('@pantograph/vue').TreeItem) => boolean;
|
|
280
|
+
getIsChecked: (node: import('@pantograph/vue').TreeItem) => boolean | "indeterminate";
|
|
281
|
+
prefixes: {
|
|
282
|
+
node: string;
|
|
283
|
+
group: string;
|
|
284
|
+
draggable: string;
|
|
285
|
+
draggableIcon: string;
|
|
286
|
+
groupList: string;
|
|
287
|
+
};
|
|
288
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
289
|
+
select: (node: object | import('@pantograph/vue').TreeNodeType, selected: boolean, selectedKeys: string[]) => any;
|
|
290
|
+
change: (value: {
|
|
291
|
+
modelValue: string[];
|
|
292
|
+
checkedKeys: string[];
|
|
293
|
+
}) => any;
|
|
294
|
+
"update:modelValue": (value: string[]) => any;
|
|
295
|
+
expand: (node: object | import('@pantograph/vue').TreeNodeType, expanded: boolean) => any;
|
|
296
|
+
calculateVisibleRowsCount: (count: number) => any;
|
|
297
|
+
"update:expandedKeys": (value: string[]) => any;
|
|
298
|
+
"update:checkedKeys": (value: string[]) => any;
|
|
299
|
+
check: (node: object | import('@pantograph/vue').TreeNodeType, checked: boolean, checkedKeys: string[]) => any;
|
|
300
|
+
dragStart: (event: import('@pantograph/vue').TreeDragEvent) => any;
|
|
301
|
+
dragEnd: (event: import('@pantograph/vue').TreeDragEvent) => any;
|
|
302
|
+
choose: (event: import('@pantograph/sortable').SortableEvent) => any;
|
|
303
|
+
unchoose: (event: import('@pantograph/sortable').SortableEvent) => any;
|
|
304
|
+
}, string, {
|
|
305
|
+
disabled: boolean;
|
|
306
|
+
selectionBehavior: "replace" | "toggle";
|
|
307
|
+
focusable: boolean;
|
|
308
|
+
checkStrictly: boolean;
|
|
309
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
310
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
311
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
312
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
313
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
314
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
315
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
316
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
317
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
318
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
319
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
320
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
321
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
322
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
323
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
324
|
+
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;
|
|
325
|
+
};
|
|
326
|
+
$forceUpdate: () => void;
|
|
327
|
+
$nextTick: nextTick;
|
|
328
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 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;
|
|
329
|
+
} & Readonly<{
|
|
330
|
+
disabled: boolean;
|
|
331
|
+
selectionBehavior: "replace" | "toggle";
|
|
332
|
+
focusable: boolean;
|
|
333
|
+
checkStrictly: boolean;
|
|
334
|
+
}> & Omit<Readonly<import('@pantograph/vue').TreeProps> & Readonly<{
|
|
335
|
+
onSelect?: ((node: object | import('@pantograph/vue').TreeNodeType, selected: boolean, selectedKeys: string[]) => any) | undefined;
|
|
336
|
+
onChange?: ((value: {
|
|
337
|
+
modelValue: string[];
|
|
338
|
+
checkedKeys: string[];
|
|
339
|
+
}) => any) | undefined;
|
|
340
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
341
|
+
onExpand?: ((node: object | import('@pantograph/vue').TreeNodeType, expanded: boolean) => any) | undefined;
|
|
342
|
+
onCalculateVisibleRowsCount?: ((count: number) => any) | undefined;
|
|
343
|
+
"onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
344
|
+
"onUpdate:checkedKeys"?: ((value: string[]) => any) | undefined;
|
|
345
|
+
onCheck?: ((node: object | import('@pantograph/vue').TreeNodeType, checked: boolean, checkedKeys: string[]) => any) | undefined;
|
|
346
|
+
onDragStart?: ((event: import('@pantograph/vue').TreeDragEvent) => any) | undefined;
|
|
347
|
+
onDragEnd?: ((event: import('@pantograph/vue').TreeDragEvent) => any) | undefined;
|
|
348
|
+
onChoose?: ((event: import('@pantograph/sortable').SortableEvent) => any) | undefined;
|
|
349
|
+
onUnchoose?: ((event: import('@pantograph/sortable').SortableEvent) => any) | undefined;
|
|
350
|
+
}>, "disabled" | "dir" | "props" | "onSelect" | "checked" | "model" | "iconSize" | "expandedKeys" | "selectionBehavior" | "focusable" | "checkStrictly" | "getIsSelected" | "getLevel" | "indentSize" | "dragging" | "getNodeChildren" | "onCheck" | "scrollContainerRef" | "onExpandKey" | "getNodeField" | "getIsChecked" | "prefixes"> & import('vue').ShallowUnwrapRef<{
|
|
351
|
+
disabled: import('vue').ComputedRef<boolean | undefined>;
|
|
352
|
+
props: import('@pantograph/vue').TreeProps;
|
|
353
|
+
dir: import('vue').ComputedRef<import('@pantograph/vue').Direction | undefined>;
|
|
354
|
+
expandedKeys: import('vue').Ref<string[] | undefined, string[] | undefined>;
|
|
355
|
+
model: import('vue').WritableComputedRef<string[], string[]>;
|
|
356
|
+
checked: import('vue').Ref<string[], string[]>;
|
|
357
|
+
dragging: import('vue').Ref<boolean, boolean>;
|
|
358
|
+
scrollContainerRef: import('vue').Ref<any, any>;
|
|
359
|
+
onExpandKey: (node: import('@pantograph/vue').TreeItem) => void;
|
|
360
|
+
getLevel: (node: import('@pantograph/vue').TreeItem) => number;
|
|
361
|
+
getNodeField: <T_2>(node: object, field: keyof import('@pantograph/vue').TreeNodeType) => T_2;
|
|
362
|
+
onSelect: (node: import('@pantograph/vue').TreeItem, value: boolean) => void;
|
|
363
|
+
onCheck: (node: import('@pantograph/vue').TreeItem, value: boolean) => void;
|
|
364
|
+
getNodeChildren: (node: import('@pantograph/vue').TreeItem, direct?: boolean | undefined, filterDisabled?: boolean | undefined) => import('@pantograph/vue').TreeItem[];
|
|
365
|
+
indentSize: import('vue').ComputedRef<"sm" | "2xsm" | "xsm">;
|
|
366
|
+
iconSize: import('vue').ComputedRef<"2xsm" | "xsm">;
|
|
367
|
+
getIsSelected: (node: import('@pantograph/vue').TreeItem) => boolean;
|
|
368
|
+
getIsChecked: (node: import('@pantograph/vue').TreeItem) => boolean | "indeterminate";
|
|
369
|
+
prefixes: {
|
|
370
|
+
node: string;
|
|
371
|
+
group: string;
|
|
372
|
+
draggable: string;
|
|
373
|
+
draggableIcon: string;
|
|
374
|
+
groupList: string;
|
|
375
|
+
};
|
|
376
|
+
}> & import('vue').ComponentCustomProperties & {
|
|
377
|
+
$slots: Readonly<import('@pantograph/vue').TreeSlots> & import('@pantograph/vue').TreeSlots;
|
|
378
|
+
}) | null;
|
|
379
|
+
target: HTMLDivElement;
|
|
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: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
388
|
+
originalEvent: PointerEvent;
|
|
389
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
390
|
+
originalEvent: FocusEvent;
|
|
391
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
392
|
+
originalEvent: PointerEvent;
|
|
393
|
+
}> | CustomEvent<{
|
|
394
|
+
originalEvent: FocusEvent;
|
|
395
|
+
}>) => void) & ((event: "update:open", value: boolean) => void) & ((event: "search", value?: string | null | undefined) => void) & ((event: "select", value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => void) & ((event: "openChange", value?: boolean | null | undefined) => void) & ((event: "fetch", getIsVisible: () => Promise<boolean>) => void) & ((event: "update:search", value?: string | null | undefined) => void) & ((event: "update:modelValue", value: string | string[]) => void) & ((event: "keydownEnter", event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => void) & ((event: "update:expandedKeys", value: string[]) => void) & ((event: "keydownEscape", event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => void);
|
|
396
|
+
$el: any;
|
|
397
|
+
$options: import('vue').ComponentOptionsBase<Readonly<ComboboxProps> & Readonly<{
|
|
398
|
+
onSearch?: ((value?: string | null | undefined) => any) | undefined;
|
|
399
|
+
onSelect?: ((value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => any) | undefined;
|
|
400
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
401
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
402
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
403
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
404
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
405
|
+
originalEvent: PointerEvent;
|
|
406
|
+
}>) => any) | undefined;
|
|
407
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
408
|
+
originalEvent: FocusEvent;
|
|
409
|
+
}>) => any) | undefined;
|
|
410
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
411
|
+
originalEvent: PointerEvent;
|
|
412
|
+
}> | CustomEvent<{
|
|
413
|
+
originalEvent: FocusEvent;
|
|
414
|
+
}>) => any) | undefined;
|
|
415
|
+
onOpenChange?: ((value?: boolean | null | undefined) => any) | undefined;
|
|
416
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
417
|
+
onKeydownEnter?: ((event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any) | undefined;
|
|
418
|
+
"onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
419
|
+
onKeydownEscape?: ((event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any) | undefined;
|
|
420
|
+
"onUpdate:search"?: ((value?: string | null | undefined) => any) | undefined;
|
|
421
|
+
onFetch?: ((getIsVisible: () => Promise<boolean>) => any) | undefined;
|
|
422
|
+
}>, {
|
|
423
|
+
displaySelectedKeys: import('vue').ComputedRef<string[]>;
|
|
424
|
+
isOptionSelected: (value?: string | undefined) => boolean;
|
|
425
|
+
getOptionByValue: (value: string) => import('@pantograph/vue').ComboboxFlattenOptionType | undefined;
|
|
426
|
+
getLabelByValue: (value: string) => string | undefined;
|
|
427
|
+
getSingleByValue: (value: string) => boolean;
|
|
428
|
+
focusOnInput: (e?: PointerEvent | undefined) => void;
|
|
429
|
+
removeValue: (value?: string | number | undefined) => void;
|
|
430
|
+
getFlattenOption: (item: ComboboxOptionType) => import('@pantograph/vue').ComboboxFlattenOptionType;
|
|
431
|
+
getOptionDataset: (option: import('@pantograph/vue').ComboboxFlattenOptionType) => Record<string, any>;
|
|
432
|
+
getDisabled: import('vue').ComputedRef<boolean>;
|
|
433
|
+
getStatus: import('vue').ComputedRef<"none" | "success" | "warning" | "error">;
|
|
434
|
+
getSize: import('vue').ComputedRef<"md" | "sm" | "lg">;
|
|
435
|
+
getTagSize: import('vue').ComputedRef<"md" | "sm" | "xsm">;
|
|
436
|
+
getIconSize: import('vue').ComputedRef<"sm" | "2xsm" | "xsm">;
|
|
437
|
+
comboboxInputBinding: import('vue').ComputedRef<object>;
|
|
438
|
+
comboboxTriggerBinding: import('vue').ComputedRef<object>;
|
|
439
|
+
props: ComboboxProps;
|
|
440
|
+
slots: ComboboxSlots;
|
|
441
|
+
emit: ((event: "search", value?: string | null | undefined) => void) & ((event: "select", value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => void) & ((event: "update:modelValue", value: string | string[]) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
442
|
+
originalEvent: PointerEvent;
|
|
443
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
444
|
+
originalEvent: FocusEvent;
|
|
445
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
446
|
+
originalEvent: PointerEvent;
|
|
447
|
+
}> | CustomEvent<{
|
|
448
|
+
originalEvent: FocusEvent;
|
|
449
|
+
}>) => void) & ((event: "openChange", value?: boolean | null | undefined) => void) & ((event: "update:open", value: boolean) => void) & ((event: "keydownEnter", event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => void) & ((event: "update:expandedKeys", value: string[]) => void) & ((event: "keydownEscape", event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => void) & ((event: "update:search", value?: string | null | undefined) => void) & ((event: "fetch", getIsVisible: () => Promise<boolean>) => void);
|
|
450
|
+
searchModel: import('vue').Ref<string | null | undefined, string | null | undefined>;
|
|
451
|
+
openModel: import('vue').Ref<boolean | null | undefined, boolean | null | undefined>;
|
|
452
|
+
model: import('vue').Ref<string | string[] | null | undefined, string | string[] | null | undefined>;
|
|
453
|
+
inputRef: import('vue').Ref<any, any>;
|
|
454
|
+
triggerRef: import('vue').Ref<any, any>;
|
|
455
|
+
valuePlaceholder: import('vue').ComputedRef<boolean>;
|
|
456
|
+
placeholder: import('vue').ComputedRef<string | undefined>;
|
|
457
|
+
selectOption: (option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined, byTreeSelect?: boolean | undefined) => void;
|
|
458
|
+
itemMap: import('vue').Ref<import('@pantograph/utils-vue').CollectionMap, import('@pantograph/utils-vue').CollectionMap>;
|
|
459
|
+
getItems: (includeDisabledItem?: boolean | undefined) => import('@pantograph/utils-vue').CollectionMapItem[];
|
|
460
|
+
highlightedOptionKey: import('vue').Ref<string | undefined, string | undefined>;
|
|
461
|
+
comboboxInputFocused: import('vue').Ref<boolean, boolean>;
|
|
462
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
463
|
+
triggerPrefix: string;
|
|
464
|
+
triggerProps: import('vue').ComputedRef<Record<string, any>>;
|
|
465
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
466
|
+
search: (value?: string | null | undefined) => any;
|
|
467
|
+
select: (value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => any;
|
|
468
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
469
|
+
openAutoFocus: (event: Event) => any;
|
|
470
|
+
closeAutoFocus: (event: Event) => any;
|
|
471
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
472
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
473
|
+
originalEvent: PointerEvent;
|
|
474
|
+
}>) => any;
|
|
475
|
+
focusOutside: (event: CustomEvent<{
|
|
476
|
+
originalEvent: FocusEvent;
|
|
477
|
+
}>) => any;
|
|
478
|
+
interactOutside: (event: CustomEvent<{
|
|
479
|
+
originalEvent: PointerEvent;
|
|
480
|
+
}> | CustomEvent<{
|
|
481
|
+
originalEvent: FocusEvent;
|
|
482
|
+
}>) => any;
|
|
483
|
+
openChange: (value?: boolean | null | undefined) => any;
|
|
484
|
+
"update:open": (value: boolean) => any;
|
|
485
|
+
keydownEnter: (event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any;
|
|
486
|
+
"update:expandedKeys": (value: string[]) => any;
|
|
487
|
+
keydownEscape: (event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any;
|
|
488
|
+
"update:search": (value?: string | null | undefined) => any;
|
|
489
|
+
fetch: (getIsVisible: () => Promise<boolean>) => any;
|
|
490
|
+
}, string, {
|
|
491
|
+
disabled: boolean;
|
|
492
|
+
multiple: boolean;
|
|
493
|
+
bordered: boolean;
|
|
494
|
+
open: boolean;
|
|
495
|
+
defaultOpen: boolean;
|
|
496
|
+
readonly: boolean;
|
|
497
|
+
sideOffset: number;
|
|
498
|
+
avoidCollisions: boolean;
|
|
499
|
+
prioritizePosition: boolean;
|
|
500
|
+
disableOutsidePointerEvents: boolean;
|
|
501
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
502
|
+
zIndex: string | number;
|
|
503
|
+
trailingIcon: string | boolean;
|
|
504
|
+
checkbox: boolean;
|
|
505
|
+
selectedItemIconAsTrailingIcon: boolean;
|
|
506
|
+
indicatorIcon: string;
|
|
507
|
+
loadingRowCount: number;
|
|
508
|
+
clearOnChangeMultiple: boolean;
|
|
509
|
+
samePopupWidth: boolean;
|
|
510
|
+
popupHeight: string | number;
|
|
511
|
+
resetSearchTermOnBlur: boolean;
|
|
512
|
+
resetSearchTermOnSelect: boolean;
|
|
513
|
+
noValueOnPlaceholder: boolean;
|
|
514
|
+
tagRenderMode: "go" | "chip" | "avatar";
|
|
515
|
+
showTreeTagStrategy: "child" | "parent" | "all";
|
|
516
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
517
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
518
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
519
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
520
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
521
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
522
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
523
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
524
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
525
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
526
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
527
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
528
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
529
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
530
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
531
|
+
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;
|
|
532
|
+
};
|
|
533
|
+
$forceUpdate: () => void;
|
|
534
|
+
$nextTick: typeof import('vue').nextTick;
|
|
535
|
+
$watch<T_3 extends string | ((...args: any) => any)>(source: T_3, cb: T_3 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;
|
|
536
|
+
} & Readonly<{
|
|
537
|
+
disabled: boolean;
|
|
538
|
+
multiple: boolean;
|
|
539
|
+
bordered: boolean;
|
|
540
|
+
open: boolean;
|
|
541
|
+
defaultOpen: boolean;
|
|
542
|
+
readonly: boolean;
|
|
543
|
+
sideOffset: number;
|
|
544
|
+
avoidCollisions: boolean;
|
|
545
|
+
prioritizePosition: boolean;
|
|
546
|
+
disableOutsidePointerEvents: boolean;
|
|
547
|
+
placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
548
|
+
zIndex: string | number;
|
|
549
|
+
trailingIcon: string | boolean;
|
|
550
|
+
checkbox: boolean;
|
|
551
|
+
selectedItemIconAsTrailingIcon: boolean;
|
|
552
|
+
indicatorIcon: string;
|
|
553
|
+
loadingRowCount: number;
|
|
554
|
+
clearOnChangeMultiple: boolean;
|
|
555
|
+
samePopupWidth: boolean;
|
|
556
|
+
popupHeight: string | number;
|
|
557
|
+
resetSearchTermOnBlur: boolean;
|
|
558
|
+
resetSearchTermOnSelect: boolean;
|
|
559
|
+
noValueOnPlaceholder: boolean;
|
|
560
|
+
tagRenderMode: "go" | "chip" | "avatar";
|
|
561
|
+
showTreeTagStrategy: "child" | "parent" | "all";
|
|
562
|
+
}> & Omit<Readonly<ComboboxProps> & Readonly<{
|
|
563
|
+
onSearch?: ((value?: string | null | undefined) => any) | undefined;
|
|
564
|
+
onSelect?: ((value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => any) | undefined;
|
|
565
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
566
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
567
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
568
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
569
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
570
|
+
originalEvent: PointerEvent;
|
|
571
|
+
}>) => any) | undefined;
|
|
572
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
573
|
+
originalEvent: FocusEvent;
|
|
574
|
+
}>) => any) | undefined;
|
|
575
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
576
|
+
originalEvent: PointerEvent;
|
|
577
|
+
}> | CustomEvent<{
|
|
578
|
+
originalEvent: FocusEvent;
|
|
579
|
+
}>) => any) | undefined;
|
|
580
|
+
onOpenChange?: ((value?: boolean | null | undefined) => any) | undefined;
|
|
581
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
582
|
+
onKeydownEnter?: ((event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any) | undefined;
|
|
583
|
+
"onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
584
|
+
onKeydownEscape?: ((event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => any) | undefined;
|
|
585
|
+
"onUpdate:search"?: ((value?: string | null | undefined) => any) | undefined;
|
|
586
|
+
onFetch?: ((getIsVisible: () => Promise<boolean>) => any) | undefined;
|
|
587
|
+
}>, "sideOffset" | "avoidCollisions" | "prioritizePosition" | "disableOutsidePointerEvents" | "disabled" | "defaultOpen" | "open" | "placement" | "zIndex" | "props" | "openModel" | "placeholder" | "slots" | "emit" | "bordered" | "readonly" | "getDisabled" | "getStatus" | "getSize" | "model" | "searchModel" | "multiple" | "resetSearchTermOnBlur" | "resetSearchTermOnSelect" | "noValueOnPlaceholder" | "checkbox" | "tagRenderMode" | "showTreeTagStrategy" | "trailingIcon" | "selectedItemIconAsTrailingIcon" | "indicatorIcon" | "loadingRowCount" | "clearOnChangeMultiple" | "samePopupWidth" | "popupHeight" | "displaySelectedKeys" | "isOptionSelected" | "getOptionByValue" | "getLabelByValue" | "getSingleByValue" | "focusOnInput" | "removeValue" | "getFlattenOption" | "getOptionDataset" | "getTagSize" | "getIconSize" | "comboboxInputBinding" | "comboboxTriggerBinding" | "inputRef" | "triggerRef" | "valuePlaceholder" | "selectOption" | "itemMap" | "getItems" | "highlightedOptionKey" | "comboboxInputFocused" | "onKeyDown" | "triggerPrefix" | "triggerProps"> & import('vue').ShallowUnwrapRef<{
|
|
588
|
+
displaySelectedKeys: import('vue').ComputedRef<string[]>;
|
|
589
|
+
isOptionSelected: (value?: string | undefined) => boolean;
|
|
590
|
+
getOptionByValue: (value: string) => import('@pantograph/vue').ComboboxFlattenOptionType | undefined;
|
|
591
|
+
getLabelByValue: (value: string) => string | undefined;
|
|
592
|
+
getSingleByValue: (value: string) => boolean;
|
|
593
|
+
focusOnInput: (e?: PointerEvent | undefined) => void;
|
|
594
|
+
removeValue: (value?: string | number | undefined) => void;
|
|
595
|
+
getFlattenOption: (item: ComboboxOptionType) => import('@pantograph/vue').ComboboxFlattenOptionType;
|
|
596
|
+
getOptionDataset: (option: import('@pantograph/vue').ComboboxFlattenOptionType) => Record<string, any>;
|
|
597
|
+
getDisabled: import('vue').ComputedRef<boolean>;
|
|
598
|
+
getStatus: import('vue').ComputedRef<"none" | "success" | "warning" | "error">;
|
|
599
|
+
getSize: import('vue').ComputedRef<"md" | "sm" | "lg">;
|
|
600
|
+
getTagSize: import('vue').ComputedRef<"md" | "sm" | "xsm">;
|
|
601
|
+
getIconSize: import('vue').ComputedRef<"sm" | "2xsm" | "xsm">;
|
|
602
|
+
comboboxInputBinding: import('vue').ComputedRef<object>;
|
|
603
|
+
comboboxTriggerBinding: import('vue').ComputedRef<object>;
|
|
604
|
+
props: ComboboxProps;
|
|
605
|
+
slots: ComboboxSlots;
|
|
606
|
+
emit: ((event: "search", value?: string | null | undefined) => void) & ((event: "select", value: string | undefined, selected: boolean, option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined) => void) & ((event: "update:modelValue", value: string | string[]) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
607
|
+
originalEvent: PointerEvent;
|
|
608
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
609
|
+
originalEvent: FocusEvent;
|
|
610
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
611
|
+
originalEvent: PointerEvent;
|
|
612
|
+
}> | CustomEvent<{
|
|
613
|
+
originalEvent: FocusEvent;
|
|
614
|
+
}>) => void) & ((event: "openChange", value?: boolean | null | undefined) => void) & ((event: "update:open", value: boolean) => void) & ((event: "keydownEnter", event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => void) & ((event: "update:expandedKeys", value: string[]) => void) & ((event: "keydownEscape", event: import('@pantograph/vue').ComboboxKeydownEvent, search?: string | undefined, isEmpty?: boolean | undefined) => void) & ((event: "update:search", value?: string | null | undefined) => void) & ((event: "fetch", getIsVisible: () => Promise<boolean>) => void);
|
|
615
|
+
searchModel: import('vue').Ref<string | null | undefined, string | null | undefined>;
|
|
616
|
+
openModel: import('vue').Ref<boolean | null | undefined, boolean | null | undefined>;
|
|
617
|
+
model: import('vue').Ref<string | string[] | null | undefined, string | string[] | null | undefined>;
|
|
618
|
+
inputRef: import('vue').Ref<any, any>;
|
|
619
|
+
triggerRef: import('vue').Ref<any, any>;
|
|
620
|
+
valuePlaceholder: import('vue').ComputedRef<boolean>;
|
|
621
|
+
placeholder: import('vue').ComputedRef<string | undefined>;
|
|
622
|
+
selectOption: (option?: import('@pantograph/vue').ComboboxFlattenOptionType | undefined, byTreeSelect?: boolean | undefined) => void;
|
|
623
|
+
itemMap: import('vue').Ref<import('@pantograph/utils-vue').CollectionMap, import('@pantograph/utils-vue').CollectionMap>;
|
|
624
|
+
getItems: (includeDisabledItem?: boolean | undefined) => import('@pantograph/utils-vue').CollectionMapItem[];
|
|
625
|
+
highlightedOptionKey: import('vue').Ref<string | undefined, string | undefined>;
|
|
626
|
+
comboboxInputFocused: import('vue').Ref<boolean, boolean>;
|
|
627
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
628
|
+
triggerPrefix: string;
|
|
629
|
+
triggerProps: import('vue').ComputedRef<Record<string, any>>;
|
|
630
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
631
|
+
$slots: Readonly<ComboboxSlots> & ComboboxSlots;
|
|
632
|
+
}) | null;
|
|
633
|
+
}, any>, Readonly<ComboboxSlots> & ComboboxSlots>;
|
|
634
|
+
export default _default;
|
|
635
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
636
|
+
new (): {
|
|
637
|
+
$slots: S;
|
|
638
|
+
};
|
|
639
|
+
};
|