prismify-ui 0.1.0-alpha.1
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/CHANGELOG.md +21 -0
- package/CODE_OF_CONDUCT.md +79 -0
- package/LICENSE +21 -0
- package/README.md +38 -0
- package/dist/components/dashboard/PfDashboardGroup/index.vue.d.ts +42 -0
- package/dist/components/dashboard/PfDashboardNavbar/index.vue.d.ts +57 -0
- package/dist/components/dashboard/PfDashboardPanel/index.vue.d.ts +47 -0
- package/dist/components/dashboard/PfDashboardResizeHandle/index.vue.d.ts +28 -0
- package/dist/components/dashboard/PfDashboardSearch/index.vue.d.ts +99 -0
- package/dist/components/dashboard/PfDashboardSearchButton/index.vue.d.ts +71 -0
- package/dist/components/dashboard/PfDashboardSidebar/index.vue.d.ts +121 -0
- package/dist/components/dashboard/PfDashboardSidebarCollapse/index.vue.d.ts +65 -0
- package/dist/components/dashboard/PfDashboardSidebarToggle/index.vue.d.ts +65 -0
- package/dist/components/dashboard/PfDashboardToolbar/index.vue.d.ts +32 -0
- package/dist/components/dashboard/shared/injection.d.ts +30 -0
- package/dist/components/dashboard/shared/resize.d.ts +5 -0
- package/dist/components/dashboard/shared/storage.d.ts +10 -0
- package/dist/components/data/PfAccordion/index.vue.d.ts +167 -0
- package/dist/components/data/PfEmpty/index.vue.d.ts +83 -0
- package/dist/components/data/PfMarquee/index.vue.d.ts +97 -0
- package/dist/components/data/PfScrollArea/index.vue.d.ts +58 -0
- package/dist/components/data/PfTable/index.vue.d.ts +166 -0
- package/dist/components/data/PfTimeline/index.vue.d.ts +105 -0
- package/dist/components/data/PfTree/PfTreeBranch.vue.d.ts +78 -0
- package/dist/components/data/PfTree/PfTreeRow.vue.d.ts +107 -0
- package/dist/components/data/PfTree/index.vue.d.ts +222 -0
- package/dist/components/data/PfTree/treeContext.d.ts +19 -0
- package/dist/components/data/PfTree/treeItemDisplay.d.ts +5 -0
- package/dist/components/data/PfTree/treeTypes.d.ts +58 -0
- package/dist/components/data/PfUser/index.vue.d.ts +65 -0
- package/dist/components/editor/PfEditor/PfEditorImageUploadNode.vue.d.ts +3 -0
- package/dist/components/editor/PfEditor/imageUploadExtension.d.ts +10 -0
- package/dist/components/editor/PfEditor/index.vue.d.ts +47 -0
- package/dist/components/editor/PfEditorDragHandle/index.vue.d.ts +95 -0
- package/dist/components/editor/PfEditorEmojiMenu/index.vue.d.ts +43 -0
- package/dist/components/editor/PfEditorMentionMenu/index.vue.d.ts +53 -0
- package/dist/components/editor/PfEditorSuggestionMenu/index.vue.d.ts +49 -0
- package/dist/components/editor/PfEditorToolbar/index.vue.d.ts +67 -0
- package/dist/components/editor/utils/handlers.d.ts +7 -0
- package/dist/components/editor/utils/injection.d.ts +8 -0
- package/dist/components/editor/utils/mapEditorItems.d.ts +7 -0
- package/dist/components/editor/utils/types.d.ts +98 -0
- package/dist/components/editor/utils/useEditorMenu.d.ts +31 -0
- package/dist/components/element/PfAlert/index.vue.d.ts +98 -0
- package/dist/components/element/PfAvatar/index.vue.d.ts +43 -0
- package/dist/components/element/PfAvatarGroup/index.vue.d.ts +52 -0
- package/dist/components/element/PfAvatarGroup/injection.d.ts +6 -0
- package/dist/components/element/PfBadge/index.vue.d.ts +64 -0
- package/dist/components/element/PfBanner/index.vue.d.ts +67 -0
- package/dist/components/element/PfButton/index.vue.d.ts +108 -0
- package/dist/components/element/PfCard/index.vue.d.ts +34 -0
- package/dist/components/element/PfChip/index.vue.d.ts +49 -0
- package/dist/components/element/PfCollapsible/index.vue.d.ts +82 -0
- package/dist/components/element/PfContentSearchButton/index.vue.d.ts +75 -0
- package/dist/components/element/PfFieldGroup/index.vue.d.ts +48 -0
- package/dist/components/element/PfFieldGroup/injection.d.ts +6 -0
- package/dist/components/element/PfIcon/iconSizes.d.ts +3 -0
- package/dist/components/element/PfIcon/index.vue.d.ts +10 -0
- package/dist/components/element/PfIcon/paths.d.ts +14 -0
- package/dist/components/element/PfKbd/index.vue.d.ts +36 -0
- package/dist/components/element/PfProgress/index.vue.d.ts +69 -0
- package/dist/components/element/PfSeparator/index.vue.d.ts +58 -0
- package/dist/components/element/PfSkeleton/index.vue.d.ts +31 -0
- package/dist/components/form/PfCalendar/calendarGrid.d.ts +12 -0
- package/dist/components/form/PfCalendar/calendarSelection.d.ts +30 -0
- package/dist/components/form/PfCalendar/index.vue.d.ts +137 -0
- package/dist/components/form/PfCheckbox/index.vue.d.ts +84 -0
- package/dist/components/form/PfCheckboxGroup/index.vue.d.ts +82 -0
- package/dist/components/form/PfColorPicker/colorPicker.d.ts +46 -0
- package/dist/components/form/PfColorPicker/index.vue.d.ts +54 -0
- package/dist/components/form/PfFileUpload/index.vue.d.ts +258 -0
- package/dist/components/form/PfForm/index.vue.d.ts +75 -0
- package/dist/components/form/PfForm/injection.d.ts +32 -0
- package/dist/components/form/PfForm/validation.d.ts +9 -0
- package/dist/components/form/PfFormField/index.vue.d.ts +59 -0
- package/dist/components/form/PfInput/index.vue.d.ts +97 -0
- package/dist/components/form/PfInputDate/index.vue.d.ts +109 -0
- package/dist/components/form/PfInputDate/inputDateSegments.d.ts +36 -0
- package/dist/components/form/PfInputMenu/index.vue.d.ts +1410 -0
- package/dist/components/form/PfInputNumber/index.vue.d.ts +498 -0
- package/dist/components/form/PfInputTags/index.vue.d.ts +482 -0
- package/dist/components/form/PfInputTime/index.vue.d.ts +108 -0
- package/dist/components/form/PfInputTime/inputTimeSegments.d.ts +36 -0
- package/dist/components/form/PfPinInput/index.vue.d.ts +56 -0
- package/dist/components/form/PfRadio/index.vue.d.ts +76 -0
- package/dist/components/form/PfRadioGroup/index.vue.d.ts +74 -0
- package/dist/components/form/PfSelect/index.vue.d.ts +209 -0
- package/dist/components/form/PfSelectMenu/index.vue.d.ts +1034 -0
- package/dist/components/form/PfSlider/index.vue.d.ts +54 -0
- package/dist/components/form/PfSwitch/index.vue.d.ts +83 -0
- package/dist/components/form/PfTextarea/index.vue.d.ts +111 -0
- package/dist/components/form/groupItems.d.ts +36 -0
- package/dist/components/layout/PfApp/index.vue.d.ts +45 -0
- package/dist/components/layout/PfApp/injection.d.ts +43 -0
- package/dist/components/layout/PfContainer/index.vue.d.ts +27 -0
- package/dist/components/layout/PfError/index.vue.d.ts +113 -0
- package/dist/components/layout/PfFooter/index.vue.d.ts +38 -0
- package/dist/components/layout/PfHeader/index.vue.d.ts +132 -0
- package/dist/components/layout/PfMain/index.vue.d.ts +27 -0
- package/dist/components/navigation/PfBreadcrumb/index.vue.d.ts +156 -0
- package/dist/components/navigation/PfContentNavigation/index.vue.d.ts +196 -0
- package/dist/components/navigation/PfContentSurround/index.vue.d.ts +86 -0
- package/dist/components/navigation/PfContentToc/index.vue.d.ts +165 -0
- package/dist/components/navigation/PfFooterColumns/index.vue.d.ts +145 -0
- package/dist/components/navigation/PfLink/index.vue.d.ts +80 -0
- package/dist/components/navigation/PfNavigationMenu/index.vue.d.ts +187 -0
- package/dist/components/navigation/PfPagination/index.vue.d.ts +103 -0
- package/dist/components/navigation/PfStepper/index.vue.d.ts +107 -0
- package/dist/components/navigation/PfTabs/index.vue.d.ts +131 -0
- package/dist/components/overlay/PfContentSearch/index.vue.d.ts +181 -0
- package/dist/components/overlay/PfContextMenu/PfContextMenuItems.vue.d.ts +10 -0
- package/dist/components/overlay/PfContextMenu/index.vue.d.ts +57 -0
- package/dist/components/overlay/PfContextMenu/types.d.ts +40 -0
- package/dist/components/overlay/PfDrawer/index.vue.d.ts +106 -0
- package/dist/components/overlay/PfDropdownMenu/PfDropdownMenuItems.vue.d.ts +10 -0
- package/dist/components/overlay/PfDropdownMenu/index.vue.d.ts +74 -0
- package/dist/components/overlay/PfDropdownMenu/types.d.ts +58 -0
- package/dist/components/overlay/PfModal/index.vue.d.ts +138 -0
- package/dist/components/overlay/PfToast/index.vue.d.ts +128 -0
- package/dist/components/overlay/PfToaster/index.vue.d.ts +11 -0
- package/dist/components/overlay/PfTooltip/index.vue.d.ts +85 -0
- package/dist/composables/pfScrollAreaVirtual.d.ts +21 -0
- package/dist/composables/usePfApp.d.ts +7 -0
- package/dist/composables/usePfContentSearch.d.ts +11 -0
- package/dist/composables/usePfKbd.d.ts +14 -0
- package/dist/composables/usePfToast.d.ts +137 -0
- package/dist/composables/usePfVModelBound.d.ts +5 -0
- package/dist/index.d.ts +184 -0
- package/dist/prismify-ui.cjs +3 -0
- package/dist/prismify-ui.cjs.map +1 -0
- package/dist/prismify-ui.js +26967 -0
- package/dist/prismify-ui.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/utils/editor.d.ts +2 -0
- package/dist/utils/pfLinkQuery.d.ts +8 -0
- package/docs/README.md +17 -0
- package/docs/installation.md +120 -0
- package/docs/library-development.md +57 -0
- package/docs/theming.md +334 -0
- package/llms.txt +220 -0
- package/package.json +146 -0
- package/src/styles/_variables.scss +25 -0
- package/src/styles/index.scss +1 -0
- package/src/styles/mixins/_input-tag-pill.scss +72 -0
- package/src/styles/variables/_accordion.scss +15 -0
- package/src/styles/variables/_animation.scss +25 -0
- package/src/styles/variables/_breadcrumb.scss +11 -0
- package/src/styles/variables/_colors.scss +37 -0
- package/src/styles/variables/_contextMenu.scss +31 -0
- package/src/styles/variables/_dashboard.scss +8 -0
- package/src/styles/variables/_drawer.scss +34 -0
- package/src/styles/variables/_editor.scss +34 -0
- package/src/styles/variables/_effects.scss +6 -0
- package/src/styles/variables/_empty.scss +12 -0
- package/src/styles/variables/_fileUpload.scss +21 -0
- package/src/styles/variables/_footerColumns.scss +17 -0
- package/src/styles/variables/_layout.scss +294 -0
- package/src/styles/variables/_link.scss +8 -0
- package/src/styles/variables/_marquee.scss +6 -0
- package/src/styles/variables/_modal.scss +26 -0
- package/src/styles/variables/_navigationMenu.scss +46 -0
- package/src/styles/variables/_stepper.scss +15 -0
- package/src/styles/variables/_table.scss +29 -0
- package/src/styles/variables/_tabs.scss +18 -0
- package/src/styles/variables/_timeline.scss +11 -0
- package/src/styles/variables/_toast.scss +14 -0
- package/src/styles/variables/_tooltip.scss +16 -0
- package/src/styles/variables/_tree.scss +29 -0
- package/src/styles/variables/_typography.scss +19 -0
|
@@ -0,0 +1,1410 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import { PfSelectColor, PfSelectModelValue, PfSelectOption, PfSelectOptionAvatarConfig, PfSelectOptionGroups, PfSelectSize, PfSelectUi, PfSelectVariant } from '../PfSelect/index.vue';
|
|
3
|
+
import { PfIconName } from '../../element/PfIcon/paths';
|
|
4
|
+
export type PfInputMenuPrimitive = string | number | boolean;
|
|
5
|
+
export interface PfInputMenuItemObject {
|
|
6
|
+
label?: string;
|
|
7
|
+
value?: unknown;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
icon?: PfIconName;
|
|
10
|
+
imageSrc?: string;
|
|
11
|
+
imageAlt?: string;
|
|
12
|
+
avatar?: PfSelectOptionAvatarConfig;
|
|
13
|
+
chip?: PfSelectOption['chip'];
|
|
14
|
+
selectedIcon?: PfIconName | null;
|
|
15
|
+
type?: 'label' | 'separator' | 'item';
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export type PfInputMenuItem = PfInputMenuPrimitive | PfInputMenuItemObject;
|
|
19
|
+
export type PfInputMenuItems = readonly PfInputMenuItem[] | readonly (readonly PfInputMenuItem[])[];
|
|
20
|
+
export type PfInputMenuModelValue = unknown | unknown[] | undefined;
|
|
21
|
+
export interface PfInputMenuUi extends PfSelectUi {
|
|
22
|
+
triggerRow?: string;
|
|
23
|
+
tags?: string;
|
|
24
|
+
tag?: string;
|
|
25
|
+
tagText?: string;
|
|
26
|
+
tagRemove?: string;
|
|
27
|
+
tagRemoveIcon?: string;
|
|
28
|
+
chevron?: string;
|
|
29
|
+
}
|
|
30
|
+
type __VLS_Props = {
|
|
31
|
+
id?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
form?: string;
|
|
34
|
+
items?: PfInputMenuItems;
|
|
35
|
+
modelValue?: PfInputMenuModelValue;
|
|
36
|
+
defaultValue?: PfInputMenuModelValue;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
multiple?: boolean;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
required?: boolean;
|
|
41
|
+
highlight?: boolean;
|
|
42
|
+
color?: PfSelectColor;
|
|
43
|
+
variant?: PfSelectVariant;
|
|
44
|
+
size?: PfSelectSize;
|
|
45
|
+
valueKey?: string;
|
|
46
|
+
labelKey?: string;
|
|
47
|
+
descriptionKey?: string;
|
|
48
|
+
filterFields?: string[];
|
|
49
|
+
ignoreFilter?: boolean;
|
|
50
|
+
searchTerm?: string;
|
|
51
|
+
resetSearchTermOnBlur?: boolean;
|
|
52
|
+
resetSearchTermOnSelect?: boolean;
|
|
53
|
+
open?: boolean;
|
|
54
|
+
defaultOpen?: boolean;
|
|
55
|
+
openOnFocus?: boolean;
|
|
56
|
+
openOnClick?: boolean;
|
|
57
|
+
clearable?: boolean;
|
|
58
|
+
menuGap?: number;
|
|
59
|
+
chevronIcon?: PfIconName;
|
|
60
|
+
selectedOptionIcon?: PfIconName | null;
|
|
61
|
+
leadingIcon?: PfIconName;
|
|
62
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
63
|
+
loading?: boolean;
|
|
64
|
+
loadingIcon?: PfIconName;
|
|
65
|
+
allowEmptyPanel?: boolean;
|
|
66
|
+
emptyText?: string;
|
|
67
|
+
animatedText?: boolean;
|
|
68
|
+
deleteIcon?: PfIconName;
|
|
69
|
+
by?: string | ((a: unknown, b: unknown) => boolean);
|
|
70
|
+
ui?: PfInputMenuUi;
|
|
71
|
+
};
|
|
72
|
+
declare function __VLS_template(): {
|
|
73
|
+
attrs: Partial<{}>;
|
|
74
|
+
slots: {
|
|
75
|
+
panelEmpty?(_: {}): any;
|
|
76
|
+
};
|
|
77
|
+
refs: {
|
|
78
|
+
selectRef: ({
|
|
79
|
+
$: import('vue').ComponentInternalInstance;
|
|
80
|
+
$data: {};
|
|
81
|
+
$props: {
|
|
82
|
+
readonly id?: string | undefined;
|
|
83
|
+
readonly modelValue?: PfSelectModelValue;
|
|
84
|
+
readonly defaultValue?: PfSelectModelValue;
|
|
85
|
+
readonly options?: readonly PfSelectOption[] | undefined;
|
|
86
|
+
readonly optionGroups?: PfSelectOptionGroups | undefined;
|
|
87
|
+
readonly optionGroupLabels?: readonly (string | undefined)[] | undefined;
|
|
88
|
+
readonly placeholder?: string | undefined;
|
|
89
|
+
readonly multiple?: boolean | undefined;
|
|
90
|
+
readonly listboxRows?: number | undefined;
|
|
91
|
+
readonly native?: boolean | undefined;
|
|
92
|
+
readonly name?: string | undefined;
|
|
93
|
+
readonly required?: boolean | undefined;
|
|
94
|
+
readonly disabled?: boolean | undefined;
|
|
95
|
+
readonly autocomplete?: string | undefined;
|
|
96
|
+
readonly autofocus?: boolean | undefined;
|
|
97
|
+
readonly form?: string | undefined;
|
|
98
|
+
readonly color?: PfSelectColor | undefined;
|
|
99
|
+
readonly variant?: PfSelectVariant | undefined;
|
|
100
|
+
readonly size?: PfSelectSize | undefined;
|
|
101
|
+
readonly highlight?: boolean | undefined;
|
|
102
|
+
readonly chevronIcon?: PfIconName | undefined;
|
|
103
|
+
readonly trailingIcon?: PfIconName | undefined;
|
|
104
|
+
readonly selectedOptionIcon?: (PfIconName | null) | undefined;
|
|
105
|
+
readonly leadingIcon?: PfIconName | undefined;
|
|
106
|
+
readonly leadingAvatar?: PfSelectOptionAvatarConfig | undefined;
|
|
107
|
+
readonly loading?: boolean | undefined;
|
|
108
|
+
readonly loadingIcon?: PfIconName | undefined;
|
|
109
|
+
readonly menuGap?: number | undefined;
|
|
110
|
+
readonly clearable?: boolean | undefined;
|
|
111
|
+
readonly clearOptionLabel?: string | undefined;
|
|
112
|
+
readonly defaultOpen?: boolean | undefined;
|
|
113
|
+
readonly allowEmptyPanel?: boolean | undefined;
|
|
114
|
+
readonly optionFilter?: ((index: number, option: PfSelectOption) => boolean) | undefined;
|
|
115
|
+
readonly emptyText?: string | undefined;
|
|
116
|
+
readonly focusTriggerAfterSingleSelect?: boolean | undefined;
|
|
117
|
+
readonly ui?: PfSelectUi | undefined;
|
|
118
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
119
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
|
120
|
+
readonly "onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
121
|
+
readonly "onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
122
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
123
|
+
$attrs: import('vue').Attrs;
|
|
124
|
+
$refs: {
|
|
125
|
+
[x: string]: unknown;
|
|
126
|
+
} & {
|
|
127
|
+
shellRef: HTMLDivElement;
|
|
128
|
+
triggerRef: HTMLDivElement;
|
|
129
|
+
selectRef: HTMLSelectElement;
|
|
130
|
+
panelRef: HTMLDivElement;
|
|
131
|
+
};
|
|
132
|
+
$slots: Readonly<{
|
|
133
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
134
|
+
}>;
|
|
135
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
136
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
137
|
+
$host: Element | null;
|
|
138
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: PfSelectModelValue) => void) & ((event: "update:menuOpen", value: boolean) => void);
|
|
139
|
+
$el: any;
|
|
140
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
141
|
+
id?: string;
|
|
142
|
+
modelValue?: PfSelectModelValue;
|
|
143
|
+
defaultValue?: PfSelectModelValue;
|
|
144
|
+
options?: readonly PfSelectOption[];
|
|
145
|
+
optionGroups?: PfSelectOptionGroups;
|
|
146
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
147
|
+
placeholder?: string;
|
|
148
|
+
multiple?: boolean;
|
|
149
|
+
listboxRows?: number;
|
|
150
|
+
native?: boolean;
|
|
151
|
+
name?: string;
|
|
152
|
+
required?: boolean;
|
|
153
|
+
disabled?: boolean;
|
|
154
|
+
autocomplete?: string;
|
|
155
|
+
autofocus?: boolean;
|
|
156
|
+
form?: string;
|
|
157
|
+
color?: PfSelectColor;
|
|
158
|
+
variant?: PfSelectVariant;
|
|
159
|
+
size?: PfSelectSize;
|
|
160
|
+
highlight?: boolean;
|
|
161
|
+
chevronIcon?: PfIconName;
|
|
162
|
+
trailingIcon?: PfIconName;
|
|
163
|
+
selectedOptionIcon?: PfIconName | null;
|
|
164
|
+
leadingIcon?: PfIconName;
|
|
165
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
166
|
+
loading?: boolean;
|
|
167
|
+
loadingIcon?: PfIconName;
|
|
168
|
+
menuGap?: number;
|
|
169
|
+
clearable?: boolean;
|
|
170
|
+
clearOptionLabel?: string;
|
|
171
|
+
defaultOpen?: boolean;
|
|
172
|
+
allowEmptyPanel?: boolean;
|
|
173
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
174
|
+
emptyText?: string;
|
|
175
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
176
|
+
ui?: PfSelectUi;
|
|
177
|
+
}> & Readonly<{
|
|
178
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
179
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
180
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
181
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
182
|
+
}>, {
|
|
183
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
184
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
185
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
186
|
+
open: () => void;
|
|
187
|
+
close: () => void;
|
|
188
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
189
|
+
blur: (event: FocusEvent) => any;
|
|
190
|
+
change: (event: Event) => any;
|
|
191
|
+
"update:modelValue": (value: PfSelectModelValue) => any;
|
|
192
|
+
"update:menuOpen": (value: boolean) => any;
|
|
193
|
+
}, string, {
|
|
194
|
+
required: boolean;
|
|
195
|
+
loading: boolean;
|
|
196
|
+
color: PfSelectColor;
|
|
197
|
+
variant: PfSelectVariant;
|
|
198
|
+
disabled: boolean;
|
|
199
|
+
multiple: boolean;
|
|
200
|
+
autocomplete: string;
|
|
201
|
+
highlight: boolean;
|
|
202
|
+
native: boolean;
|
|
203
|
+
menuGap: number;
|
|
204
|
+
clearable: boolean;
|
|
205
|
+
allowEmptyPanel: boolean;
|
|
206
|
+
emptyText: string;
|
|
207
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
208
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
209
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
210
|
+
created?: (() => void) | (() => void)[];
|
|
211
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
212
|
+
mounted?: (() => void) | (() => void)[];
|
|
213
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
214
|
+
updated?: (() => void) | (() => void)[];
|
|
215
|
+
activated?: (() => void) | (() => void)[];
|
|
216
|
+
deactivated?: (() => void) | (() => void)[];
|
|
217
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
218
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
219
|
+
destroyed?: (() => void) | (() => void)[];
|
|
220
|
+
unmounted?: (() => void) | (() => void)[];
|
|
221
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
222
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
223
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
224
|
+
};
|
|
225
|
+
$forceUpdate: () => void;
|
|
226
|
+
$nextTick: typeof nextTick;
|
|
227
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
228
|
+
} & Readonly<{
|
|
229
|
+
required: boolean;
|
|
230
|
+
loading: boolean;
|
|
231
|
+
color: PfSelectColor;
|
|
232
|
+
variant: PfSelectVariant;
|
|
233
|
+
disabled: boolean;
|
|
234
|
+
multiple: boolean;
|
|
235
|
+
autocomplete: string;
|
|
236
|
+
highlight: boolean;
|
|
237
|
+
native: boolean;
|
|
238
|
+
menuGap: number;
|
|
239
|
+
clearable: boolean;
|
|
240
|
+
allowEmptyPanel: boolean;
|
|
241
|
+
emptyText: string;
|
|
242
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
243
|
+
}> & Omit<Readonly<{
|
|
244
|
+
id?: string;
|
|
245
|
+
modelValue?: PfSelectModelValue;
|
|
246
|
+
defaultValue?: PfSelectModelValue;
|
|
247
|
+
options?: readonly PfSelectOption[];
|
|
248
|
+
optionGroups?: PfSelectOptionGroups;
|
|
249
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
250
|
+
placeholder?: string;
|
|
251
|
+
multiple?: boolean;
|
|
252
|
+
listboxRows?: number;
|
|
253
|
+
native?: boolean;
|
|
254
|
+
name?: string;
|
|
255
|
+
required?: boolean;
|
|
256
|
+
disabled?: boolean;
|
|
257
|
+
autocomplete?: string;
|
|
258
|
+
autofocus?: boolean;
|
|
259
|
+
form?: string;
|
|
260
|
+
color?: PfSelectColor;
|
|
261
|
+
variant?: PfSelectVariant;
|
|
262
|
+
size?: PfSelectSize;
|
|
263
|
+
highlight?: boolean;
|
|
264
|
+
chevronIcon?: PfIconName;
|
|
265
|
+
trailingIcon?: PfIconName;
|
|
266
|
+
selectedOptionIcon?: PfIconName | null;
|
|
267
|
+
leadingIcon?: PfIconName;
|
|
268
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
269
|
+
loading?: boolean;
|
|
270
|
+
loadingIcon?: PfIconName;
|
|
271
|
+
menuGap?: number;
|
|
272
|
+
clearable?: boolean;
|
|
273
|
+
clearOptionLabel?: string;
|
|
274
|
+
defaultOpen?: boolean;
|
|
275
|
+
allowEmptyPanel?: boolean;
|
|
276
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
277
|
+
emptyText?: string;
|
|
278
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
279
|
+
ui?: PfSelectUi;
|
|
280
|
+
}> & Readonly<{
|
|
281
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
282
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
283
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
284
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
285
|
+
}>, "close" | "open" | "selectRef" | "triggerRef" | "panelRef" | ("required" | "loading" | "color" | "variant" | "disabled" | "multiple" | "autocomplete" | "highlight" | "native" | "menuGap" | "clearable" | "allowEmptyPanel" | "emptyText" | "focusTriggerAfterSingleSelect")> & import('vue').ShallowUnwrapRef<{
|
|
286
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
287
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
288
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
289
|
+
open: () => void;
|
|
290
|
+
close: () => void;
|
|
291
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
292
|
+
$slots: {
|
|
293
|
+
leading?(_: {}): any;
|
|
294
|
+
leading?(_: {}): any;
|
|
295
|
+
trigger?(_: {
|
|
296
|
+
comboboxAttrs: Record<string, string | boolean | undefined>;
|
|
297
|
+
togglePanel: () => void;
|
|
298
|
+
openPanel: () => void;
|
|
299
|
+
closePanel: () => void;
|
|
300
|
+
}): any;
|
|
301
|
+
panelTop?(_: {}): any;
|
|
302
|
+
panelEmpty?(_: {}): any;
|
|
303
|
+
default?(_: {}): any;
|
|
304
|
+
};
|
|
305
|
+
}) | null;
|
|
306
|
+
inputComponentRef: ({
|
|
307
|
+
$: import('vue').ComponentInternalInstance;
|
|
308
|
+
$data: {};
|
|
309
|
+
$props: {
|
|
310
|
+
readonly modelValue?: string | undefined;
|
|
311
|
+
readonly id?: string | undefined;
|
|
312
|
+
readonly name?: string | undefined;
|
|
313
|
+
readonly type?: string | undefined;
|
|
314
|
+
readonly placeholder?: string | undefined;
|
|
315
|
+
readonly color?: import('../PfInput/index.vue').PfInputColor | undefined;
|
|
316
|
+
readonly variant?: import('../PfInput/index.vue').PfInputVariant | undefined;
|
|
317
|
+
readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
318
|
+
readonly required?: boolean | undefined;
|
|
319
|
+
readonly autocomplete?: string | undefined;
|
|
320
|
+
readonly autofocus?: boolean | undefined;
|
|
321
|
+
readonly disabled?: boolean | undefined;
|
|
322
|
+
readonly readonly?: boolean | undefined;
|
|
323
|
+
readonly highlight?: boolean | undefined;
|
|
324
|
+
readonly fixed?: boolean | undefined;
|
|
325
|
+
readonly animatedText?: boolean | undefined;
|
|
326
|
+
readonly ui?: import('../PfInput/index.vue').PfInputUi | undefined;
|
|
327
|
+
readonly icon?: PfIconName | undefined;
|
|
328
|
+
readonly avatar?: import('../../..').PfButtonAvatarProps | undefined;
|
|
329
|
+
readonly leading?: boolean | undefined;
|
|
330
|
+
readonly leadingIcon?: PfIconName | undefined;
|
|
331
|
+
readonly trailing?: boolean | undefined;
|
|
332
|
+
readonly trailingIcon?: PfIconName | undefined;
|
|
333
|
+
readonly loading?: boolean | undefined;
|
|
334
|
+
readonly loadingIcon?: PfIconName | undefined;
|
|
335
|
+
readonly maxlength?: number | undefined;
|
|
336
|
+
readonly minlength?: number | undefined;
|
|
337
|
+
readonly pattern?: string | undefined;
|
|
338
|
+
readonly list?: string | undefined;
|
|
339
|
+
readonly form?: string | undefined;
|
|
340
|
+
readonly enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
341
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
342
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
|
343
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
344
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
345
|
+
$attrs: import('vue').Attrs;
|
|
346
|
+
$refs: {
|
|
347
|
+
[x: string]: unknown;
|
|
348
|
+
} & {
|
|
349
|
+
valueCellRef: HTMLDivElement;
|
|
350
|
+
inputRef: HTMLInputElement;
|
|
351
|
+
};
|
|
352
|
+
$slots: Readonly<{
|
|
353
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
354
|
+
}>;
|
|
355
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
356
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
357
|
+
$host: Element | null;
|
|
358
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: string) => void);
|
|
359
|
+
$el: any;
|
|
360
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
361
|
+
modelValue?: string;
|
|
362
|
+
} & {
|
|
363
|
+
id?: string;
|
|
364
|
+
name?: string;
|
|
365
|
+
type?: string;
|
|
366
|
+
placeholder?: string;
|
|
367
|
+
color?: import('../PfInput/index.vue').PfInputColor;
|
|
368
|
+
variant?: import('../PfInput/index.vue').PfInputVariant;
|
|
369
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
370
|
+
required?: boolean;
|
|
371
|
+
autocomplete?: string;
|
|
372
|
+
autofocus?: boolean;
|
|
373
|
+
disabled?: boolean;
|
|
374
|
+
readonly?: boolean;
|
|
375
|
+
highlight?: boolean;
|
|
376
|
+
fixed?: boolean;
|
|
377
|
+
animatedText?: boolean;
|
|
378
|
+
ui?: import('../PfInput/index.vue').PfInputUi;
|
|
379
|
+
icon?: PfIconName;
|
|
380
|
+
avatar?: import('../../..').PfButtonAvatarProps;
|
|
381
|
+
leading?: boolean;
|
|
382
|
+
leadingIcon?: PfIconName;
|
|
383
|
+
trailing?: boolean;
|
|
384
|
+
trailingIcon?: PfIconName;
|
|
385
|
+
loading?: boolean;
|
|
386
|
+
loadingIcon?: PfIconName;
|
|
387
|
+
maxlength?: number;
|
|
388
|
+
minlength?: number;
|
|
389
|
+
pattern?: string;
|
|
390
|
+
list?: string;
|
|
391
|
+
form?: string;
|
|
392
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
|
|
393
|
+
}> & Readonly<{
|
|
394
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
395
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
396
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
397
|
+
}>, {
|
|
398
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
399
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
400
|
+
blur: (event: FocusEvent) => any;
|
|
401
|
+
change: (event: Event) => any;
|
|
402
|
+
"update:modelValue": (value: string) => any;
|
|
403
|
+
}, string, {
|
|
404
|
+
fixed: boolean;
|
|
405
|
+
type: string;
|
|
406
|
+
loading: boolean;
|
|
407
|
+
color: import('../PfInput/index.vue').PfInputColor;
|
|
408
|
+
variant: import('../PfInput/index.vue').PfInputVariant;
|
|
409
|
+
disabled: boolean;
|
|
410
|
+
readonly: boolean;
|
|
411
|
+
autocomplete: string;
|
|
412
|
+
highlight: boolean;
|
|
413
|
+
animatedText: boolean;
|
|
414
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
415
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
416
|
+
created?: (() => void) | (() => void)[];
|
|
417
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
418
|
+
mounted?: (() => void) | (() => void)[];
|
|
419
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
420
|
+
updated?: (() => void) | (() => void)[];
|
|
421
|
+
activated?: (() => void) | (() => void)[];
|
|
422
|
+
deactivated?: (() => void) | (() => void)[];
|
|
423
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
424
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
425
|
+
destroyed?: (() => void) | (() => void)[];
|
|
426
|
+
unmounted?: (() => void) | (() => void)[];
|
|
427
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
428
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
429
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
430
|
+
};
|
|
431
|
+
$forceUpdate: () => void;
|
|
432
|
+
$nextTick: typeof nextTick;
|
|
433
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
434
|
+
} & Readonly<{
|
|
435
|
+
fixed: boolean;
|
|
436
|
+
type: string;
|
|
437
|
+
loading: boolean;
|
|
438
|
+
color: import('../PfInput/index.vue').PfInputColor;
|
|
439
|
+
variant: import('../PfInput/index.vue').PfInputVariant;
|
|
440
|
+
disabled: boolean;
|
|
441
|
+
readonly: boolean;
|
|
442
|
+
autocomplete: string;
|
|
443
|
+
highlight: boolean;
|
|
444
|
+
animatedText: boolean;
|
|
445
|
+
}> & Omit<Readonly<{
|
|
446
|
+
modelValue?: string;
|
|
447
|
+
} & {
|
|
448
|
+
id?: string;
|
|
449
|
+
name?: string;
|
|
450
|
+
type?: string;
|
|
451
|
+
placeholder?: string;
|
|
452
|
+
color?: import('../PfInput/index.vue').PfInputColor;
|
|
453
|
+
variant?: import('../PfInput/index.vue').PfInputVariant;
|
|
454
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
455
|
+
required?: boolean;
|
|
456
|
+
autocomplete?: string;
|
|
457
|
+
autofocus?: boolean;
|
|
458
|
+
disabled?: boolean;
|
|
459
|
+
readonly?: boolean;
|
|
460
|
+
highlight?: boolean;
|
|
461
|
+
fixed?: boolean;
|
|
462
|
+
animatedText?: boolean;
|
|
463
|
+
ui?: import('../PfInput/index.vue').PfInputUi;
|
|
464
|
+
icon?: PfIconName;
|
|
465
|
+
avatar?: import('../../..').PfButtonAvatarProps;
|
|
466
|
+
leading?: boolean;
|
|
467
|
+
leadingIcon?: PfIconName;
|
|
468
|
+
trailing?: boolean;
|
|
469
|
+
trailingIcon?: PfIconName;
|
|
470
|
+
loading?: boolean;
|
|
471
|
+
loadingIcon?: PfIconName;
|
|
472
|
+
maxlength?: number;
|
|
473
|
+
minlength?: number;
|
|
474
|
+
pattern?: string;
|
|
475
|
+
list?: string;
|
|
476
|
+
form?: string;
|
|
477
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
|
|
478
|
+
}> & Readonly<{
|
|
479
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
480
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
481
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
482
|
+
}>, "inputRef" | ("fixed" | "type" | "loading" | "color" | "variant" | "disabled" | "readonly" | "autocomplete" | "highlight" | "animatedText")> & import('vue').ShallowUnwrapRef<{
|
|
483
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
484
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
485
|
+
$slots: {
|
|
486
|
+
leading?(_: {}): any;
|
|
487
|
+
default?(_: {}): any;
|
|
488
|
+
trailing?(_: {}): any;
|
|
489
|
+
};
|
|
490
|
+
}) | null;
|
|
491
|
+
};
|
|
492
|
+
rootEl: any;
|
|
493
|
+
};
|
|
494
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
495
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
496
|
+
triggerRef: import('vue').ShallowRef<HTMLDivElement | null, HTMLDivElement | null>;
|
|
497
|
+
viewportRef: import('vue').ShallowRef<HTMLElement | null, HTMLElement | null>;
|
|
498
|
+
selectRef: import('vue').Ref<({
|
|
499
|
+
$: import('vue').ComponentInternalInstance;
|
|
500
|
+
$data: {};
|
|
501
|
+
$props: {
|
|
502
|
+
readonly id?: string | undefined;
|
|
503
|
+
readonly modelValue?: PfSelectModelValue;
|
|
504
|
+
readonly defaultValue?: PfSelectModelValue;
|
|
505
|
+
readonly options?: readonly PfSelectOption[] | undefined;
|
|
506
|
+
readonly optionGroups?: PfSelectOptionGroups | undefined;
|
|
507
|
+
readonly optionGroupLabels?: readonly (string | undefined)[] | undefined;
|
|
508
|
+
readonly placeholder?: string | undefined;
|
|
509
|
+
readonly multiple?: boolean | undefined;
|
|
510
|
+
readonly listboxRows?: number | undefined;
|
|
511
|
+
readonly native?: boolean | undefined;
|
|
512
|
+
readonly name?: string | undefined;
|
|
513
|
+
readonly required?: boolean | undefined;
|
|
514
|
+
readonly disabled?: boolean | undefined;
|
|
515
|
+
readonly autocomplete?: string | undefined;
|
|
516
|
+
readonly autofocus?: boolean | undefined;
|
|
517
|
+
readonly form?: string | undefined;
|
|
518
|
+
readonly color?: PfSelectColor | undefined;
|
|
519
|
+
readonly variant?: PfSelectVariant | undefined;
|
|
520
|
+
readonly size?: PfSelectSize | undefined;
|
|
521
|
+
readonly highlight?: boolean | undefined;
|
|
522
|
+
readonly chevronIcon?: PfIconName | undefined;
|
|
523
|
+
readonly trailingIcon?: PfIconName | undefined;
|
|
524
|
+
readonly selectedOptionIcon?: (PfIconName | null) | undefined;
|
|
525
|
+
readonly leadingIcon?: PfIconName | undefined;
|
|
526
|
+
readonly leadingAvatar?: PfSelectOptionAvatarConfig | undefined;
|
|
527
|
+
readonly loading?: boolean | undefined;
|
|
528
|
+
readonly loadingIcon?: PfIconName | undefined;
|
|
529
|
+
readonly menuGap?: number | undefined;
|
|
530
|
+
readonly clearable?: boolean | undefined;
|
|
531
|
+
readonly clearOptionLabel?: string | undefined;
|
|
532
|
+
readonly defaultOpen?: boolean | undefined;
|
|
533
|
+
readonly allowEmptyPanel?: boolean | undefined;
|
|
534
|
+
readonly optionFilter?: ((index: number, option: PfSelectOption) => boolean) | undefined;
|
|
535
|
+
readonly emptyText?: string | undefined;
|
|
536
|
+
readonly focusTriggerAfterSingleSelect?: boolean | undefined;
|
|
537
|
+
readonly ui?: PfSelectUi | undefined;
|
|
538
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
539
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
|
540
|
+
readonly "onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
541
|
+
readonly "onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
542
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
543
|
+
$attrs: import('vue').Attrs;
|
|
544
|
+
$refs: {
|
|
545
|
+
[x: string]: unknown;
|
|
546
|
+
} & {
|
|
547
|
+
shellRef: HTMLDivElement;
|
|
548
|
+
triggerRef: HTMLDivElement;
|
|
549
|
+
selectRef: HTMLSelectElement;
|
|
550
|
+
panelRef: HTMLDivElement;
|
|
551
|
+
};
|
|
552
|
+
$slots: Readonly<{
|
|
553
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
554
|
+
}>;
|
|
555
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
556
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
557
|
+
$host: Element | null;
|
|
558
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: PfSelectModelValue) => void) & ((event: "update:menuOpen", value: boolean) => void);
|
|
559
|
+
$el: any;
|
|
560
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
561
|
+
id?: string;
|
|
562
|
+
modelValue?: PfSelectModelValue;
|
|
563
|
+
defaultValue?: PfSelectModelValue;
|
|
564
|
+
options?: readonly PfSelectOption[];
|
|
565
|
+
optionGroups?: PfSelectOptionGroups;
|
|
566
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
567
|
+
placeholder?: string;
|
|
568
|
+
multiple?: boolean;
|
|
569
|
+
listboxRows?: number;
|
|
570
|
+
native?: boolean;
|
|
571
|
+
name?: string;
|
|
572
|
+
required?: boolean;
|
|
573
|
+
disabled?: boolean;
|
|
574
|
+
autocomplete?: string;
|
|
575
|
+
autofocus?: boolean;
|
|
576
|
+
form?: string;
|
|
577
|
+
color?: PfSelectColor;
|
|
578
|
+
variant?: PfSelectVariant;
|
|
579
|
+
size?: PfSelectSize;
|
|
580
|
+
highlight?: boolean;
|
|
581
|
+
chevronIcon?: PfIconName;
|
|
582
|
+
trailingIcon?: PfIconName;
|
|
583
|
+
selectedOptionIcon?: PfIconName | null;
|
|
584
|
+
leadingIcon?: PfIconName;
|
|
585
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
586
|
+
loading?: boolean;
|
|
587
|
+
loadingIcon?: PfIconName;
|
|
588
|
+
menuGap?: number;
|
|
589
|
+
clearable?: boolean;
|
|
590
|
+
clearOptionLabel?: string;
|
|
591
|
+
defaultOpen?: boolean;
|
|
592
|
+
allowEmptyPanel?: boolean;
|
|
593
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
594
|
+
emptyText?: string;
|
|
595
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
596
|
+
ui?: PfSelectUi;
|
|
597
|
+
}> & Readonly<{
|
|
598
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
599
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
600
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
601
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
602
|
+
}>, {
|
|
603
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
604
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
605
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
606
|
+
open: () => void;
|
|
607
|
+
close: () => void;
|
|
608
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
609
|
+
blur: (event: FocusEvent) => any;
|
|
610
|
+
change: (event: Event) => any;
|
|
611
|
+
"update:modelValue": (value: PfSelectModelValue) => any;
|
|
612
|
+
"update:menuOpen": (value: boolean) => any;
|
|
613
|
+
}, string, {
|
|
614
|
+
required: boolean;
|
|
615
|
+
loading: boolean;
|
|
616
|
+
color: PfSelectColor;
|
|
617
|
+
variant: PfSelectVariant;
|
|
618
|
+
disabled: boolean;
|
|
619
|
+
multiple: boolean;
|
|
620
|
+
autocomplete: string;
|
|
621
|
+
highlight: boolean;
|
|
622
|
+
native: boolean;
|
|
623
|
+
menuGap: number;
|
|
624
|
+
clearable: boolean;
|
|
625
|
+
allowEmptyPanel: boolean;
|
|
626
|
+
emptyText: string;
|
|
627
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
628
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
629
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
630
|
+
created?: (() => void) | (() => void)[];
|
|
631
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
632
|
+
mounted?: (() => void) | (() => void)[];
|
|
633
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
634
|
+
updated?: (() => void) | (() => void)[];
|
|
635
|
+
activated?: (() => void) | (() => void)[];
|
|
636
|
+
deactivated?: (() => void) | (() => void)[];
|
|
637
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
638
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
639
|
+
destroyed?: (() => void) | (() => void)[];
|
|
640
|
+
unmounted?: (() => void) | (() => void)[];
|
|
641
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
642
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
643
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
644
|
+
};
|
|
645
|
+
$forceUpdate: () => void;
|
|
646
|
+
$nextTick: typeof nextTick;
|
|
647
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
648
|
+
} & Readonly<{
|
|
649
|
+
required: boolean;
|
|
650
|
+
loading: boolean;
|
|
651
|
+
color: PfSelectColor;
|
|
652
|
+
variant: PfSelectVariant;
|
|
653
|
+
disabled: boolean;
|
|
654
|
+
multiple: boolean;
|
|
655
|
+
autocomplete: string;
|
|
656
|
+
highlight: boolean;
|
|
657
|
+
native: boolean;
|
|
658
|
+
menuGap: number;
|
|
659
|
+
clearable: boolean;
|
|
660
|
+
allowEmptyPanel: boolean;
|
|
661
|
+
emptyText: string;
|
|
662
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
663
|
+
}> & Omit<Readonly<{
|
|
664
|
+
id?: string;
|
|
665
|
+
modelValue?: PfSelectModelValue;
|
|
666
|
+
defaultValue?: PfSelectModelValue;
|
|
667
|
+
options?: readonly PfSelectOption[];
|
|
668
|
+
optionGroups?: PfSelectOptionGroups;
|
|
669
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
670
|
+
placeholder?: string;
|
|
671
|
+
multiple?: boolean;
|
|
672
|
+
listboxRows?: number;
|
|
673
|
+
native?: boolean;
|
|
674
|
+
name?: string;
|
|
675
|
+
required?: boolean;
|
|
676
|
+
disabled?: boolean;
|
|
677
|
+
autocomplete?: string;
|
|
678
|
+
autofocus?: boolean;
|
|
679
|
+
form?: string;
|
|
680
|
+
color?: PfSelectColor;
|
|
681
|
+
variant?: PfSelectVariant;
|
|
682
|
+
size?: PfSelectSize;
|
|
683
|
+
highlight?: boolean;
|
|
684
|
+
chevronIcon?: PfIconName;
|
|
685
|
+
trailingIcon?: PfIconName;
|
|
686
|
+
selectedOptionIcon?: PfIconName | null;
|
|
687
|
+
leadingIcon?: PfIconName;
|
|
688
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
689
|
+
loading?: boolean;
|
|
690
|
+
loadingIcon?: PfIconName;
|
|
691
|
+
menuGap?: number;
|
|
692
|
+
clearable?: boolean;
|
|
693
|
+
clearOptionLabel?: string;
|
|
694
|
+
defaultOpen?: boolean;
|
|
695
|
+
allowEmptyPanel?: boolean;
|
|
696
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
697
|
+
emptyText?: string;
|
|
698
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
699
|
+
ui?: PfSelectUi;
|
|
700
|
+
}> & Readonly<{
|
|
701
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
702
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
703
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
704
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
705
|
+
}>, "close" | "open" | "selectRef" | "triggerRef" | "panelRef" | ("required" | "loading" | "color" | "variant" | "disabled" | "multiple" | "autocomplete" | "highlight" | "native" | "menuGap" | "clearable" | "allowEmptyPanel" | "emptyText" | "focusTriggerAfterSingleSelect")> & import('vue').ShallowUnwrapRef<{
|
|
706
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
707
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
708
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
709
|
+
open: () => void;
|
|
710
|
+
close: () => void;
|
|
711
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
712
|
+
$slots: {
|
|
713
|
+
leading?(_: {}): any;
|
|
714
|
+
leading?(_: {}): any;
|
|
715
|
+
trigger?(_: {
|
|
716
|
+
comboboxAttrs: Record<string, string | boolean | undefined>;
|
|
717
|
+
togglePanel: () => void;
|
|
718
|
+
openPanel: () => void;
|
|
719
|
+
closePanel: () => void;
|
|
720
|
+
}): any;
|
|
721
|
+
panelTop?(_: {}): any;
|
|
722
|
+
panelEmpty?(_: {}): any;
|
|
723
|
+
default?(_: {}): any;
|
|
724
|
+
};
|
|
725
|
+
}) | null, ({
|
|
726
|
+
$: import('vue').ComponentInternalInstance;
|
|
727
|
+
$data: {};
|
|
728
|
+
$props: {
|
|
729
|
+
readonly id?: string | undefined;
|
|
730
|
+
readonly modelValue?: PfSelectModelValue;
|
|
731
|
+
readonly defaultValue?: PfSelectModelValue;
|
|
732
|
+
readonly options?: readonly PfSelectOption[] | undefined;
|
|
733
|
+
readonly optionGroups?: PfSelectOptionGroups | undefined;
|
|
734
|
+
readonly optionGroupLabels?: readonly (string | undefined)[] | undefined;
|
|
735
|
+
readonly placeholder?: string | undefined;
|
|
736
|
+
readonly multiple?: boolean | undefined;
|
|
737
|
+
readonly listboxRows?: number | undefined;
|
|
738
|
+
readonly native?: boolean | undefined;
|
|
739
|
+
readonly name?: string | undefined;
|
|
740
|
+
readonly required?: boolean | undefined;
|
|
741
|
+
readonly disabled?: boolean | undefined;
|
|
742
|
+
readonly autocomplete?: string | undefined;
|
|
743
|
+
readonly autofocus?: boolean | undefined;
|
|
744
|
+
readonly form?: string | undefined;
|
|
745
|
+
readonly color?: PfSelectColor | undefined;
|
|
746
|
+
readonly variant?: PfSelectVariant | undefined;
|
|
747
|
+
readonly size?: PfSelectSize | undefined;
|
|
748
|
+
readonly highlight?: boolean | undefined;
|
|
749
|
+
readonly chevronIcon?: PfIconName | undefined;
|
|
750
|
+
readonly trailingIcon?: PfIconName | undefined;
|
|
751
|
+
readonly selectedOptionIcon?: (PfIconName | null) | undefined;
|
|
752
|
+
readonly leadingIcon?: PfIconName | undefined;
|
|
753
|
+
readonly leadingAvatar?: PfSelectOptionAvatarConfig | undefined;
|
|
754
|
+
readonly loading?: boolean | undefined;
|
|
755
|
+
readonly loadingIcon?: PfIconName | undefined;
|
|
756
|
+
readonly menuGap?: number | undefined;
|
|
757
|
+
readonly clearable?: boolean | undefined;
|
|
758
|
+
readonly clearOptionLabel?: string | undefined;
|
|
759
|
+
readonly defaultOpen?: boolean | undefined;
|
|
760
|
+
readonly allowEmptyPanel?: boolean | undefined;
|
|
761
|
+
readonly optionFilter?: ((index: number, option: PfSelectOption) => boolean) | undefined;
|
|
762
|
+
readonly emptyText?: string | undefined;
|
|
763
|
+
readonly focusTriggerAfterSingleSelect?: boolean | undefined;
|
|
764
|
+
readonly ui?: PfSelectUi | undefined;
|
|
765
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
766
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
|
767
|
+
readonly "onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
768
|
+
readonly "onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
769
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
770
|
+
$attrs: import('vue').Attrs;
|
|
771
|
+
$refs: {
|
|
772
|
+
[x: string]: unknown;
|
|
773
|
+
} & {
|
|
774
|
+
shellRef: HTMLDivElement;
|
|
775
|
+
triggerRef: HTMLDivElement;
|
|
776
|
+
selectRef: HTMLSelectElement;
|
|
777
|
+
panelRef: HTMLDivElement;
|
|
778
|
+
};
|
|
779
|
+
$slots: Readonly<{
|
|
780
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
781
|
+
}>;
|
|
782
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
783
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
784
|
+
$host: Element | null;
|
|
785
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: PfSelectModelValue) => void) & ((event: "update:menuOpen", value: boolean) => void);
|
|
786
|
+
$el: any;
|
|
787
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
788
|
+
id?: string;
|
|
789
|
+
modelValue?: PfSelectModelValue;
|
|
790
|
+
defaultValue?: PfSelectModelValue;
|
|
791
|
+
options?: readonly PfSelectOption[];
|
|
792
|
+
optionGroups?: PfSelectOptionGroups;
|
|
793
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
794
|
+
placeholder?: string;
|
|
795
|
+
multiple?: boolean;
|
|
796
|
+
listboxRows?: number;
|
|
797
|
+
native?: boolean;
|
|
798
|
+
name?: string;
|
|
799
|
+
required?: boolean;
|
|
800
|
+
disabled?: boolean;
|
|
801
|
+
autocomplete?: string;
|
|
802
|
+
autofocus?: boolean;
|
|
803
|
+
form?: string;
|
|
804
|
+
color?: PfSelectColor;
|
|
805
|
+
variant?: PfSelectVariant;
|
|
806
|
+
size?: PfSelectSize;
|
|
807
|
+
highlight?: boolean;
|
|
808
|
+
chevronIcon?: PfIconName;
|
|
809
|
+
trailingIcon?: PfIconName;
|
|
810
|
+
selectedOptionIcon?: PfIconName | null;
|
|
811
|
+
leadingIcon?: PfIconName;
|
|
812
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
813
|
+
loading?: boolean;
|
|
814
|
+
loadingIcon?: PfIconName;
|
|
815
|
+
menuGap?: number;
|
|
816
|
+
clearable?: boolean;
|
|
817
|
+
clearOptionLabel?: string;
|
|
818
|
+
defaultOpen?: boolean;
|
|
819
|
+
allowEmptyPanel?: boolean;
|
|
820
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
821
|
+
emptyText?: string;
|
|
822
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
823
|
+
ui?: PfSelectUi;
|
|
824
|
+
}> & Readonly<{
|
|
825
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
826
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
827
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
828
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
829
|
+
}>, {
|
|
830
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
831
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
832
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
833
|
+
open: () => void;
|
|
834
|
+
close: () => void;
|
|
835
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
836
|
+
blur: (event: FocusEvent) => any;
|
|
837
|
+
change: (event: Event) => any;
|
|
838
|
+
"update:modelValue": (value: PfSelectModelValue) => any;
|
|
839
|
+
"update:menuOpen": (value: boolean) => any;
|
|
840
|
+
}, string, {
|
|
841
|
+
required: boolean;
|
|
842
|
+
loading: boolean;
|
|
843
|
+
color: PfSelectColor;
|
|
844
|
+
variant: PfSelectVariant;
|
|
845
|
+
disabled: boolean;
|
|
846
|
+
multiple: boolean;
|
|
847
|
+
autocomplete: string;
|
|
848
|
+
highlight: boolean;
|
|
849
|
+
native: boolean;
|
|
850
|
+
menuGap: number;
|
|
851
|
+
clearable: boolean;
|
|
852
|
+
allowEmptyPanel: boolean;
|
|
853
|
+
emptyText: string;
|
|
854
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
855
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
856
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
857
|
+
created?: (() => void) | (() => void)[];
|
|
858
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
859
|
+
mounted?: (() => void) | (() => void)[];
|
|
860
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
861
|
+
updated?: (() => void) | (() => void)[];
|
|
862
|
+
activated?: (() => void) | (() => void)[];
|
|
863
|
+
deactivated?: (() => void) | (() => void)[];
|
|
864
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
865
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
866
|
+
destroyed?: (() => void) | (() => void)[];
|
|
867
|
+
unmounted?: (() => void) | (() => void)[];
|
|
868
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
869
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
870
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
871
|
+
};
|
|
872
|
+
$forceUpdate: () => void;
|
|
873
|
+
$nextTick: typeof nextTick;
|
|
874
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
875
|
+
} & Readonly<{
|
|
876
|
+
required: boolean;
|
|
877
|
+
loading: boolean;
|
|
878
|
+
color: PfSelectColor;
|
|
879
|
+
variant: PfSelectVariant;
|
|
880
|
+
disabled: boolean;
|
|
881
|
+
multiple: boolean;
|
|
882
|
+
autocomplete: string;
|
|
883
|
+
highlight: boolean;
|
|
884
|
+
native: boolean;
|
|
885
|
+
menuGap: number;
|
|
886
|
+
clearable: boolean;
|
|
887
|
+
allowEmptyPanel: boolean;
|
|
888
|
+
emptyText: string;
|
|
889
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
890
|
+
}> & Omit<Readonly<{
|
|
891
|
+
id?: string;
|
|
892
|
+
modelValue?: PfSelectModelValue;
|
|
893
|
+
defaultValue?: PfSelectModelValue;
|
|
894
|
+
options?: readonly PfSelectOption[];
|
|
895
|
+
optionGroups?: PfSelectOptionGroups;
|
|
896
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
897
|
+
placeholder?: string;
|
|
898
|
+
multiple?: boolean;
|
|
899
|
+
listboxRows?: number;
|
|
900
|
+
native?: boolean;
|
|
901
|
+
name?: string;
|
|
902
|
+
required?: boolean;
|
|
903
|
+
disabled?: boolean;
|
|
904
|
+
autocomplete?: string;
|
|
905
|
+
autofocus?: boolean;
|
|
906
|
+
form?: string;
|
|
907
|
+
color?: PfSelectColor;
|
|
908
|
+
variant?: PfSelectVariant;
|
|
909
|
+
size?: PfSelectSize;
|
|
910
|
+
highlight?: boolean;
|
|
911
|
+
chevronIcon?: PfIconName;
|
|
912
|
+
trailingIcon?: PfIconName;
|
|
913
|
+
selectedOptionIcon?: PfIconName | null;
|
|
914
|
+
leadingIcon?: PfIconName;
|
|
915
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
916
|
+
loading?: boolean;
|
|
917
|
+
loadingIcon?: PfIconName;
|
|
918
|
+
menuGap?: number;
|
|
919
|
+
clearable?: boolean;
|
|
920
|
+
clearOptionLabel?: string;
|
|
921
|
+
defaultOpen?: boolean;
|
|
922
|
+
allowEmptyPanel?: boolean;
|
|
923
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
924
|
+
emptyText?: string;
|
|
925
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
926
|
+
ui?: PfSelectUi;
|
|
927
|
+
}> & Readonly<{
|
|
928
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
929
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
930
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
931
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
932
|
+
}>, "close" | "open" | "selectRef" | "triggerRef" | "panelRef" | ("required" | "loading" | "color" | "variant" | "disabled" | "multiple" | "autocomplete" | "highlight" | "native" | "menuGap" | "clearable" | "allowEmptyPanel" | "emptyText" | "focusTriggerAfterSingleSelect")> & import('vue').ShallowUnwrapRef<{
|
|
933
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
934
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
935
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
936
|
+
open: () => void;
|
|
937
|
+
close: () => void;
|
|
938
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
939
|
+
$slots: {
|
|
940
|
+
leading?(_: {}): any;
|
|
941
|
+
leading?(_: {}): any;
|
|
942
|
+
trigger?(_: {
|
|
943
|
+
comboboxAttrs: Record<string, string | boolean | undefined>;
|
|
944
|
+
togglePanel: () => void;
|
|
945
|
+
openPanel: () => void;
|
|
946
|
+
closePanel: () => void;
|
|
947
|
+
}): any;
|
|
948
|
+
panelTop?(_: {}): any;
|
|
949
|
+
panelEmpty?(_: {}): any;
|
|
950
|
+
default?(_: {}): any;
|
|
951
|
+
};
|
|
952
|
+
}) | null>;
|
|
953
|
+
inputRef: import('vue').ShallowRef<HTMLInputElement | null, HTMLInputElement | null>;
|
|
954
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
955
|
+
"update:open": (value: boolean) => any;
|
|
956
|
+
blur: (event: FocusEvent) => any;
|
|
957
|
+
change: (event: Event) => any;
|
|
958
|
+
"update:modelValue": (value: unknown) => any;
|
|
959
|
+
"update:search-term": (value: string) => any;
|
|
960
|
+
"remove-tag": (item: unknown) => any;
|
|
961
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
962
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
963
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
964
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
965
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
966
|
+
"onUpdate:search-term"?: ((value: string) => any) | undefined;
|
|
967
|
+
"onRemove-tag"?: ((item: unknown) => any) | undefined;
|
|
968
|
+
}>, {
|
|
969
|
+
size: PfSelectSize;
|
|
970
|
+
required: boolean;
|
|
971
|
+
loading: boolean;
|
|
972
|
+
color: PfSelectColor;
|
|
973
|
+
variant: PfSelectVariant;
|
|
974
|
+
disabled: boolean;
|
|
975
|
+
multiple: boolean;
|
|
976
|
+
labelKey: string;
|
|
977
|
+
descriptionKey: string;
|
|
978
|
+
items: PfInputMenuItems;
|
|
979
|
+
highlight: boolean;
|
|
980
|
+
animatedText: boolean;
|
|
981
|
+
menuGap: number;
|
|
982
|
+
clearable: boolean;
|
|
983
|
+
ignoreFilter: boolean;
|
|
984
|
+
resetSearchTermOnBlur: boolean;
|
|
985
|
+
resetSearchTermOnSelect: boolean;
|
|
986
|
+
openOnFocus: boolean;
|
|
987
|
+
openOnClick: boolean;
|
|
988
|
+
deleteIcon: PfIconName;
|
|
989
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
990
|
+
selectRef: ({
|
|
991
|
+
$: import('vue').ComponentInternalInstance;
|
|
992
|
+
$data: {};
|
|
993
|
+
$props: {
|
|
994
|
+
readonly id?: string | undefined;
|
|
995
|
+
readonly modelValue?: PfSelectModelValue;
|
|
996
|
+
readonly defaultValue?: PfSelectModelValue;
|
|
997
|
+
readonly options?: readonly PfSelectOption[] | undefined;
|
|
998
|
+
readonly optionGroups?: PfSelectOptionGroups | undefined;
|
|
999
|
+
readonly optionGroupLabels?: readonly (string | undefined)[] | undefined;
|
|
1000
|
+
readonly placeholder?: string | undefined;
|
|
1001
|
+
readonly multiple?: boolean | undefined;
|
|
1002
|
+
readonly listboxRows?: number | undefined;
|
|
1003
|
+
readonly native?: boolean | undefined;
|
|
1004
|
+
readonly name?: string | undefined;
|
|
1005
|
+
readonly required?: boolean | undefined;
|
|
1006
|
+
readonly disabled?: boolean | undefined;
|
|
1007
|
+
readonly autocomplete?: string | undefined;
|
|
1008
|
+
readonly autofocus?: boolean | undefined;
|
|
1009
|
+
readonly form?: string | undefined;
|
|
1010
|
+
readonly color?: PfSelectColor | undefined;
|
|
1011
|
+
readonly variant?: PfSelectVariant | undefined;
|
|
1012
|
+
readonly size?: PfSelectSize | undefined;
|
|
1013
|
+
readonly highlight?: boolean | undefined;
|
|
1014
|
+
readonly chevronIcon?: PfIconName | undefined;
|
|
1015
|
+
readonly trailingIcon?: PfIconName | undefined;
|
|
1016
|
+
readonly selectedOptionIcon?: (PfIconName | null) | undefined;
|
|
1017
|
+
readonly leadingIcon?: PfIconName | undefined;
|
|
1018
|
+
readonly leadingAvatar?: PfSelectOptionAvatarConfig | undefined;
|
|
1019
|
+
readonly loading?: boolean | undefined;
|
|
1020
|
+
readonly loadingIcon?: PfIconName | undefined;
|
|
1021
|
+
readonly menuGap?: number | undefined;
|
|
1022
|
+
readonly clearable?: boolean | undefined;
|
|
1023
|
+
readonly clearOptionLabel?: string | undefined;
|
|
1024
|
+
readonly defaultOpen?: boolean | undefined;
|
|
1025
|
+
readonly allowEmptyPanel?: boolean | undefined;
|
|
1026
|
+
readonly optionFilter?: ((index: number, option: PfSelectOption) => boolean) | undefined;
|
|
1027
|
+
readonly emptyText?: string | undefined;
|
|
1028
|
+
readonly focusTriggerAfterSingleSelect?: boolean | undefined;
|
|
1029
|
+
readonly ui?: PfSelectUi | undefined;
|
|
1030
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1031
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
|
1032
|
+
readonly "onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
1033
|
+
readonly "onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
1034
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1035
|
+
$attrs: import('vue').Attrs;
|
|
1036
|
+
$refs: {
|
|
1037
|
+
[x: string]: unknown;
|
|
1038
|
+
} & {
|
|
1039
|
+
shellRef: HTMLDivElement;
|
|
1040
|
+
triggerRef: HTMLDivElement;
|
|
1041
|
+
selectRef: HTMLSelectElement;
|
|
1042
|
+
panelRef: HTMLDivElement;
|
|
1043
|
+
};
|
|
1044
|
+
$slots: Readonly<{
|
|
1045
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
1046
|
+
}>;
|
|
1047
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
1048
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
1049
|
+
$host: Element | null;
|
|
1050
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: PfSelectModelValue) => void) & ((event: "update:menuOpen", value: boolean) => void);
|
|
1051
|
+
$el: any;
|
|
1052
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
1053
|
+
id?: string;
|
|
1054
|
+
modelValue?: PfSelectModelValue;
|
|
1055
|
+
defaultValue?: PfSelectModelValue;
|
|
1056
|
+
options?: readonly PfSelectOption[];
|
|
1057
|
+
optionGroups?: PfSelectOptionGroups;
|
|
1058
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
1059
|
+
placeholder?: string;
|
|
1060
|
+
multiple?: boolean;
|
|
1061
|
+
listboxRows?: number;
|
|
1062
|
+
native?: boolean;
|
|
1063
|
+
name?: string;
|
|
1064
|
+
required?: boolean;
|
|
1065
|
+
disabled?: boolean;
|
|
1066
|
+
autocomplete?: string;
|
|
1067
|
+
autofocus?: boolean;
|
|
1068
|
+
form?: string;
|
|
1069
|
+
color?: PfSelectColor;
|
|
1070
|
+
variant?: PfSelectVariant;
|
|
1071
|
+
size?: PfSelectSize;
|
|
1072
|
+
highlight?: boolean;
|
|
1073
|
+
chevronIcon?: PfIconName;
|
|
1074
|
+
trailingIcon?: PfIconName;
|
|
1075
|
+
selectedOptionIcon?: PfIconName | null;
|
|
1076
|
+
leadingIcon?: PfIconName;
|
|
1077
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
1078
|
+
loading?: boolean;
|
|
1079
|
+
loadingIcon?: PfIconName;
|
|
1080
|
+
menuGap?: number;
|
|
1081
|
+
clearable?: boolean;
|
|
1082
|
+
clearOptionLabel?: string;
|
|
1083
|
+
defaultOpen?: boolean;
|
|
1084
|
+
allowEmptyPanel?: boolean;
|
|
1085
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
1086
|
+
emptyText?: string;
|
|
1087
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
1088
|
+
ui?: PfSelectUi;
|
|
1089
|
+
}> & Readonly<{
|
|
1090
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1091
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1092
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
1093
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
1094
|
+
}>, {
|
|
1095
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
1096
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
1097
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1098
|
+
open: () => void;
|
|
1099
|
+
close: () => void;
|
|
1100
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1101
|
+
blur: (event: FocusEvent) => any;
|
|
1102
|
+
change: (event: Event) => any;
|
|
1103
|
+
"update:modelValue": (value: PfSelectModelValue) => any;
|
|
1104
|
+
"update:menuOpen": (value: boolean) => any;
|
|
1105
|
+
}, string, {
|
|
1106
|
+
required: boolean;
|
|
1107
|
+
loading: boolean;
|
|
1108
|
+
color: PfSelectColor;
|
|
1109
|
+
variant: PfSelectVariant;
|
|
1110
|
+
disabled: boolean;
|
|
1111
|
+
multiple: boolean;
|
|
1112
|
+
autocomplete: string;
|
|
1113
|
+
highlight: boolean;
|
|
1114
|
+
native: boolean;
|
|
1115
|
+
menuGap: number;
|
|
1116
|
+
clearable: boolean;
|
|
1117
|
+
allowEmptyPanel: boolean;
|
|
1118
|
+
emptyText: string;
|
|
1119
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
1120
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1121
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1122
|
+
created?: (() => void) | (() => void)[];
|
|
1123
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1124
|
+
mounted?: (() => void) | (() => void)[];
|
|
1125
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1126
|
+
updated?: (() => void) | (() => void)[];
|
|
1127
|
+
activated?: (() => void) | (() => void)[];
|
|
1128
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1129
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1130
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1131
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1132
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1133
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1134
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1135
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1136
|
+
};
|
|
1137
|
+
$forceUpdate: () => void;
|
|
1138
|
+
$nextTick: typeof nextTick;
|
|
1139
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1140
|
+
} & Readonly<{
|
|
1141
|
+
required: boolean;
|
|
1142
|
+
loading: boolean;
|
|
1143
|
+
color: PfSelectColor;
|
|
1144
|
+
variant: PfSelectVariant;
|
|
1145
|
+
disabled: boolean;
|
|
1146
|
+
multiple: boolean;
|
|
1147
|
+
autocomplete: string;
|
|
1148
|
+
highlight: boolean;
|
|
1149
|
+
native: boolean;
|
|
1150
|
+
menuGap: number;
|
|
1151
|
+
clearable: boolean;
|
|
1152
|
+
allowEmptyPanel: boolean;
|
|
1153
|
+
emptyText: string;
|
|
1154
|
+
focusTriggerAfterSingleSelect: boolean;
|
|
1155
|
+
}> & Omit<Readonly<{
|
|
1156
|
+
id?: string;
|
|
1157
|
+
modelValue?: PfSelectModelValue;
|
|
1158
|
+
defaultValue?: PfSelectModelValue;
|
|
1159
|
+
options?: readonly PfSelectOption[];
|
|
1160
|
+
optionGroups?: PfSelectOptionGroups;
|
|
1161
|
+
optionGroupLabels?: readonly (string | undefined)[];
|
|
1162
|
+
placeholder?: string;
|
|
1163
|
+
multiple?: boolean;
|
|
1164
|
+
listboxRows?: number;
|
|
1165
|
+
native?: boolean;
|
|
1166
|
+
name?: string;
|
|
1167
|
+
required?: boolean;
|
|
1168
|
+
disabled?: boolean;
|
|
1169
|
+
autocomplete?: string;
|
|
1170
|
+
autofocus?: boolean;
|
|
1171
|
+
form?: string;
|
|
1172
|
+
color?: PfSelectColor;
|
|
1173
|
+
variant?: PfSelectVariant;
|
|
1174
|
+
size?: PfSelectSize;
|
|
1175
|
+
highlight?: boolean;
|
|
1176
|
+
chevronIcon?: PfIconName;
|
|
1177
|
+
trailingIcon?: PfIconName;
|
|
1178
|
+
selectedOptionIcon?: PfIconName | null;
|
|
1179
|
+
leadingIcon?: PfIconName;
|
|
1180
|
+
leadingAvatar?: PfSelectOptionAvatarConfig;
|
|
1181
|
+
loading?: boolean;
|
|
1182
|
+
loadingIcon?: PfIconName;
|
|
1183
|
+
menuGap?: number;
|
|
1184
|
+
clearable?: boolean;
|
|
1185
|
+
clearOptionLabel?: string;
|
|
1186
|
+
defaultOpen?: boolean;
|
|
1187
|
+
allowEmptyPanel?: boolean;
|
|
1188
|
+
optionFilter?: (index: number, option: PfSelectOption) => boolean;
|
|
1189
|
+
emptyText?: string;
|
|
1190
|
+
focusTriggerAfterSingleSelect?: boolean;
|
|
1191
|
+
ui?: PfSelectUi;
|
|
1192
|
+
}> & Readonly<{
|
|
1193
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1194
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1195
|
+
"onUpdate:modelValue"?: ((value: PfSelectModelValue) => any) | undefined;
|
|
1196
|
+
"onUpdate:menuOpen"?: ((value: boolean) => any) | undefined;
|
|
1197
|
+
}>, "close" | "open" | "selectRef" | "triggerRef" | "panelRef" | ("required" | "loading" | "color" | "variant" | "disabled" | "multiple" | "autocomplete" | "highlight" | "native" | "menuGap" | "clearable" | "allowEmptyPanel" | "emptyText" | "focusTriggerAfterSingleSelect")> & import('vue').ShallowUnwrapRef<{
|
|
1198
|
+
selectRef: import('vue').Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
1199
|
+
triggerRef: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
|
|
1200
|
+
panelRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1201
|
+
open: () => void;
|
|
1202
|
+
close: () => void;
|
|
1203
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1204
|
+
$slots: {
|
|
1205
|
+
leading?(_: {}): any;
|
|
1206
|
+
leading?(_: {}): any;
|
|
1207
|
+
trigger?(_: {
|
|
1208
|
+
comboboxAttrs: Record<string, string | boolean | undefined>;
|
|
1209
|
+
togglePanel: () => void;
|
|
1210
|
+
openPanel: () => void;
|
|
1211
|
+
closePanel: () => void;
|
|
1212
|
+
}): any;
|
|
1213
|
+
panelTop?(_: {}): any;
|
|
1214
|
+
panelEmpty?(_: {}): any;
|
|
1215
|
+
default?(_: {}): any;
|
|
1216
|
+
};
|
|
1217
|
+
}) | null;
|
|
1218
|
+
inputComponentRef: ({
|
|
1219
|
+
$: import('vue').ComponentInternalInstance;
|
|
1220
|
+
$data: {};
|
|
1221
|
+
$props: {
|
|
1222
|
+
readonly modelValue?: string | undefined;
|
|
1223
|
+
readonly id?: string | undefined;
|
|
1224
|
+
readonly name?: string | undefined;
|
|
1225
|
+
readonly type?: string | undefined;
|
|
1226
|
+
readonly placeholder?: string | undefined;
|
|
1227
|
+
readonly color?: import('../PfInput/index.vue').PfInputColor | undefined;
|
|
1228
|
+
readonly variant?: import('../PfInput/index.vue').PfInputVariant | undefined;
|
|
1229
|
+
readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
1230
|
+
readonly required?: boolean | undefined;
|
|
1231
|
+
readonly autocomplete?: string | undefined;
|
|
1232
|
+
readonly autofocus?: boolean | undefined;
|
|
1233
|
+
readonly disabled?: boolean | undefined;
|
|
1234
|
+
readonly readonly?: boolean | undefined;
|
|
1235
|
+
readonly highlight?: boolean | undefined;
|
|
1236
|
+
readonly fixed?: boolean | undefined;
|
|
1237
|
+
readonly animatedText?: boolean | undefined;
|
|
1238
|
+
readonly ui?: import('../PfInput/index.vue').PfInputUi | undefined;
|
|
1239
|
+
readonly icon?: PfIconName | undefined;
|
|
1240
|
+
readonly avatar?: import('../../..').PfButtonAvatarProps | undefined;
|
|
1241
|
+
readonly leading?: boolean | undefined;
|
|
1242
|
+
readonly leadingIcon?: PfIconName | undefined;
|
|
1243
|
+
readonly trailing?: boolean | undefined;
|
|
1244
|
+
readonly trailingIcon?: PfIconName | undefined;
|
|
1245
|
+
readonly loading?: boolean | undefined;
|
|
1246
|
+
readonly loadingIcon?: PfIconName | undefined;
|
|
1247
|
+
readonly maxlength?: number | undefined;
|
|
1248
|
+
readonly minlength?: number | undefined;
|
|
1249
|
+
readonly pattern?: string | undefined;
|
|
1250
|
+
readonly list?: string | undefined;
|
|
1251
|
+
readonly form?: string | undefined;
|
|
1252
|
+
readonly enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
1253
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1254
|
+
readonly onChange?: ((event: Event) => any) | undefined;
|
|
1255
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1256
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1257
|
+
$attrs: import('vue').Attrs;
|
|
1258
|
+
$refs: {
|
|
1259
|
+
[x: string]: unknown;
|
|
1260
|
+
} & {
|
|
1261
|
+
valueCellRef: HTMLDivElement;
|
|
1262
|
+
inputRef: HTMLInputElement;
|
|
1263
|
+
};
|
|
1264
|
+
$slots: Readonly<{
|
|
1265
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
1266
|
+
}>;
|
|
1267
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
1268
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
1269
|
+
$host: Element | null;
|
|
1270
|
+
$emit: ((event: "blur", event: FocusEvent) => void) & ((event: "change", event: Event) => void) & ((event: "update:modelValue", value: string) => void);
|
|
1271
|
+
$el: any;
|
|
1272
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
1273
|
+
modelValue?: string;
|
|
1274
|
+
} & {
|
|
1275
|
+
id?: string;
|
|
1276
|
+
name?: string;
|
|
1277
|
+
type?: string;
|
|
1278
|
+
placeholder?: string;
|
|
1279
|
+
color?: import('../PfInput/index.vue').PfInputColor;
|
|
1280
|
+
variant?: import('../PfInput/index.vue').PfInputVariant;
|
|
1281
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
1282
|
+
required?: boolean;
|
|
1283
|
+
autocomplete?: string;
|
|
1284
|
+
autofocus?: boolean;
|
|
1285
|
+
disabled?: boolean;
|
|
1286
|
+
readonly?: boolean;
|
|
1287
|
+
highlight?: boolean;
|
|
1288
|
+
fixed?: boolean;
|
|
1289
|
+
animatedText?: boolean;
|
|
1290
|
+
ui?: import('../PfInput/index.vue').PfInputUi;
|
|
1291
|
+
icon?: PfIconName;
|
|
1292
|
+
avatar?: import('../../..').PfButtonAvatarProps;
|
|
1293
|
+
leading?: boolean;
|
|
1294
|
+
leadingIcon?: PfIconName;
|
|
1295
|
+
trailing?: boolean;
|
|
1296
|
+
trailingIcon?: PfIconName;
|
|
1297
|
+
loading?: boolean;
|
|
1298
|
+
loadingIcon?: PfIconName;
|
|
1299
|
+
maxlength?: number;
|
|
1300
|
+
minlength?: number;
|
|
1301
|
+
pattern?: string;
|
|
1302
|
+
list?: string;
|
|
1303
|
+
form?: string;
|
|
1304
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
|
|
1305
|
+
}> & Readonly<{
|
|
1306
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1307
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1308
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1309
|
+
}>, {
|
|
1310
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
1311
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1312
|
+
blur: (event: FocusEvent) => any;
|
|
1313
|
+
change: (event: Event) => any;
|
|
1314
|
+
"update:modelValue": (value: string) => any;
|
|
1315
|
+
}, string, {
|
|
1316
|
+
fixed: boolean;
|
|
1317
|
+
type: string;
|
|
1318
|
+
loading: boolean;
|
|
1319
|
+
color: import('../PfInput/index.vue').PfInputColor;
|
|
1320
|
+
variant: import('../PfInput/index.vue').PfInputVariant;
|
|
1321
|
+
disabled: boolean;
|
|
1322
|
+
readonly: boolean;
|
|
1323
|
+
autocomplete: string;
|
|
1324
|
+
highlight: boolean;
|
|
1325
|
+
animatedText: boolean;
|
|
1326
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1327
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1328
|
+
created?: (() => void) | (() => void)[];
|
|
1329
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1330
|
+
mounted?: (() => void) | (() => void)[];
|
|
1331
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1332
|
+
updated?: (() => void) | (() => void)[];
|
|
1333
|
+
activated?: (() => void) | (() => void)[];
|
|
1334
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1335
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1336
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1337
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1338
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1339
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1340
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1341
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1342
|
+
};
|
|
1343
|
+
$forceUpdate: () => void;
|
|
1344
|
+
$nextTick: typeof nextTick;
|
|
1345
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1346
|
+
} & Readonly<{
|
|
1347
|
+
fixed: boolean;
|
|
1348
|
+
type: string;
|
|
1349
|
+
loading: boolean;
|
|
1350
|
+
color: import('../PfInput/index.vue').PfInputColor;
|
|
1351
|
+
variant: import('../PfInput/index.vue').PfInputVariant;
|
|
1352
|
+
disabled: boolean;
|
|
1353
|
+
readonly: boolean;
|
|
1354
|
+
autocomplete: string;
|
|
1355
|
+
highlight: boolean;
|
|
1356
|
+
animatedText: boolean;
|
|
1357
|
+
}> & Omit<Readonly<{
|
|
1358
|
+
modelValue?: string;
|
|
1359
|
+
} & {
|
|
1360
|
+
id?: string;
|
|
1361
|
+
name?: string;
|
|
1362
|
+
type?: string;
|
|
1363
|
+
placeholder?: string;
|
|
1364
|
+
color?: import('../PfInput/index.vue').PfInputColor;
|
|
1365
|
+
variant?: import('../PfInput/index.vue').PfInputVariant;
|
|
1366
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
1367
|
+
required?: boolean;
|
|
1368
|
+
autocomplete?: string;
|
|
1369
|
+
autofocus?: boolean;
|
|
1370
|
+
disabled?: boolean;
|
|
1371
|
+
readonly?: boolean;
|
|
1372
|
+
highlight?: boolean;
|
|
1373
|
+
fixed?: boolean;
|
|
1374
|
+
animatedText?: boolean;
|
|
1375
|
+
ui?: import('../PfInput/index.vue').PfInputUi;
|
|
1376
|
+
icon?: PfIconName;
|
|
1377
|
+
avatar?: import('../../..').PfButtonAvatarProps;
|
|
1378
|
+
leading?: boolean;
|
|
1379
|
+
leadingIcon?: PfIconName;
|
|
1380
|
+
trailing?: boolean;
|
|
1381
|
+
trailingIcon?: PfIconName;
|
|
1382
|
+
loading?: boolean;
|
|
1383
|
+
loadingIcon?: PfIconName;
|
|
1384
|
+
maxlength?: number;
|
|
1385
|
+
minlength?: number;
|
|
1386
|
+
pattern?: string;
|
|
1387
|
+
list?: string;
|
|
1388
|
+
form?: string;
|
|
1389
|
+
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send";
|
|
1390
|
+
}> & Readonly<{
|
|
1391
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1392
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1393
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1394
|
+
}>, "inputRef" | ("fixed" | "type" | "loading" | "color" | "variant" | "disabled" | "readonly" | "autocomplete" | "highlight" | "animatedText")> & import('vue').ShallowUnwrapRef<{
|
|
1395
|
+
inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
1396
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1397
|
+
$slots: {
|
|
1398
|
+
leading?(_: {}): any;
|
|
1399
|
+
default?(_: {}): any;
|
|
1400
|
+
trailing?(_: {}): any;
|
|
1401
|
+
};
|
|
1402
|
+
}) | null;
|
|
1403
|
+
}, any>;
|
|
1404
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1405
|
+
export default _default;
|
|
1406
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1407
|
+
new (): {
|
|
1408
|
+
$slots: S;
|
|
1409
|
+
};
|
|
1410
|
+
};
|