vlite3 1.5.17 → 1.5.19

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.
@@ -25,8 +25,8 @@ import qe from "../IconPicker.vue.js";
25
25
  /* empty css */
26
26
  /* empty css */
27
27
  /* empty css */
28
- /* empty css */
29
- /* empty css */
28
+ /* empty css */
29
+ /* empty css */
30
30
  import "../../core/config.js";
31
31
  /* empty css */
32
32
  /* empty css */
@@ -1,6 +1,180 @@
1
1
  import { nextTick } from 'vue';
2
2
  import { EditableTitleProps, EditableTitleSize, EditableTitleVariant } from '../../types';
3
- declare const _default: import('vue').DefineComponent<EditableTitleProps, {
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: Readonly<{
6
+ 'actions-before'?: () => unknown;
7
+ 'actions-after'?: () => unknown;
8
+ }> & {
9
+ 'actions-before'?: () => unknown;
10
+ 'actions-after'?: () => unknown;
11
+ };
12
+ refs: {
13
+ iconTriggerRef: HTMLButtonElement;
14
+ inputHostRef: {
15
+ $: import('vue').ComponentInternalInstance;
16
+ $data: {};
17
+ $props: Partial<{
18
+ type: import('../../types').InputType;
19
+ class: string;
20
+ variant: import('../../types').InputVariant;
21
+ size: import('../../types').InputSize;
22
+ rounded: import('../../types').InputRounded;
23
+ loading: boolean;
24
+ readonly: boolean;
25
+ disabled: boolean;
26
+ modelValue: string | number;
27
+ rows: number;
28
+ showClearButton: boolean;
29
+ autofocus: boolean;
30
+ inputClass: string;
31
+ lazy: boolean;
32
+ labelPosition: import('../../types').LabelPosition;
33
+ addonLeftClass: string;
34
+ addonRightClass: string;
35
+ }> & Omit<{
36
+ readonly modelValue?: string | number;
37
+ readonly type?: import('../../types').InputType;
38
+ readonly label?: string;
39
+ readonly labelI18n?: string;
40
+ readonly placeholder?: string;
41
+ readonly placeholderI18n?: string;
42
+ readonly disabled?: boolean;
43
+ readonly readonly?: boolean;
44
+ readonly loading?: boolean;
45
+ readonly error?: string;
46
+ readonly icon?: string;
47
+ readonly iconClass?: string;
48
+ readonly iconRight?: string;
49
+ readonly iconRightClass?: string;
50
+ readonly showClearButton?: boolean;
51
+ readonly autofocus?: boolean;
52
+ readonly class?: string;
53
+ readonly inputClass?: string;
54
+ readonly rows?: number;
55
+ readonly lazy?: boolean;
56
+ readonly variant?: import('../../types').InputVariant;
57
+ readonly size?: import('../../types').InputSize;
58
+ readonly rounded?: import('../../types').InputRounded;
59
+ readonly labelPosition?: import('../../types').LabelPosition;
60
+ readonly addonLeft?: string | Record<string, any>;
61
+ readonly addonRight?: string | Record<string, any>;
62
+ readonly addonLeftClass?: string;
63
+ readonly addonRightClass?: string;
64
+ readonly min?: number;
65
+ readonly max?: number;
66
+ readonly onBlur?: (event: FocusEvent) => any;
67
+ readonly onFocus?: (event: FocusEvent) => any;
68
+ readonly onChange?: (value: string | number) => any;
69
+ readonly "onUpdate:modelValue"?: (value: string | number) => any;
70
+ readonly "onClick:icon"?: (event: MouseEvent) => any;
71
+ readonly "onClick:icon-right"?: (event: MouseEvent) => any;
72
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "class" | "variant" | "size" | "rounded" | "loading" | "readonly" | "disabled" | "modelValue" | "rows" | "showClearButton" | "autofocus" | "inputClass" | "lazy" | "labelPosition" | "addonLeftClass" | "addonRightClass">;
73
+ $attrs: import('vue').Attrs;
74
+ $refs: any;
75
+ $slots: Readonly<{
76
+ [name: string]: import('vue').Slot<any>;
77
+ }>;
78
+ $root: import('vue').ComponentPublicInstance | null;
79
+ $parent: import('vue').ComponentPublicInstance | null;
80
+ $host: Element | null;
81
+ $emit: ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "change", value: string | number) => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "click:icon", event: MouseEvent) => void) & ((event: "click:icon-right", event: MouseEvent) => void);
82
+ $el: any;
83
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../../types').InputProps> & Readonly<{
84
+ onBlur?: (event: FocusEvent) => any;
85
+ onFocus?: (event: FocusEvent) => any;
86
+ onChange?: (value: string | number) => any;
87
+ "onUpdate:modelValue"?: (value: string | number) => any;
88
+ "onClick:icon"?: (event: MouseEvent) => any;
89
+ "onClick:icon-right"?: (event: MouseEvent) => any;
90
+ }>, {
91
+ focus: (options?: FocusOptions) => void;
92
+ select: () => void;
93
+ blur: () => void;
94
+ el: HTMLInputElement | HTMLTextAreaElement;
95
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
96
+ blur: (event: FocusEvent) => any;
97
+ focus: (event: FocusEvent) => any;
98
+ change: (value: string | number) => any;
99
+ "update:modelValue": (value: string | number) => any;
100
+ "click:icon": (event: MouseEvent) => any;
101
+ "click:icon-right": (event: MouseEvent) => any;
102
+ }, string, {
103
+ type: import('../../types').InputType;
104
+ class: string;
105
+ variant: import('../../types').InputVariant;
106
+ size: import('../../types').InputSize;
107
+ rounded: import('../../types').InputRounded;
108
+ loading: boolean;
109
+ readonly: boolean;
110
+ disabled: boolean;
111
+ modelValue: string | number;
112
+ rows: number;
113
+ showClearButton: boolean;
114
+ autofocus: boolean;
115
+ inputClass: string;
116
+ lazy: boolean;
117
+ labelPosition: import('../../types').LabelPosition;
118
+ addonLeftClass: string;
119
+ addonRightClass: string;
120
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
121
+ beforeCreate?: (() => void) | (() => void)[];
122
+ created?: (() => void) | (() => void)[];
123
+ beforeMount?: (() => void) | (() => void)[];
124
+ mounted?: (() => void) | (() => void)[];
125
+ beforeUpdate?: (() => void) | (() => void)[];
126
+ updated?: (() => void) | (() => void)[];
127
+ activated?: (() => void) | (() => void)[];
128
+ deactivated?: (() => void) | (() => void)[];
129
+ beforeDestroy?: (() => void) | (() => void)[];
130
+ beforeUnmount?: (() => void) | (() => void)[];
131
+ destroyed?: (() => void) | (() => void)[];
132
+ unmounted?: (() => void) | (() => void)[];
133
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
134
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
135
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
136
+ };
137
+ $forceUpdate: () => void;
138
+ $nextTick: typeof nextTick;
139
+ $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;
140
+ } & Readonly<{
141
+ type: import('../../types').InputType;
142
+ class: string;
143
+ variant: import('../../types').InputVariant;
144
+ size: import('../../types').InputSize;
145
+ rounded: import('../../types').InputRounded;
146
+ loading: boolean;
147
+ readonly: boolean;
148
+ disabled: boolean;
149
+ modelValue: string | number;
150
+ rows: number;
151
+ showClearButton: boolean;
152
+ autofocus: boolean;
153
+ inputClass: string;
154
+ lazy: boolean;
155
+ labelPosition: import('../../types').LabelPosition;
156
+ addonLeftClass: string;
157
+ addonRightClass: string;
158
+ }> & Omit<Readonly<import('../../types').InputProps> & Readonly<{
159
+ onBlur?: (event: FocusEvent) => any;
160
+ onFocus?: (event: FocusEvent) => any;
161
+ onChange?: (value: string | number) => any;
162
+ "onUpdate:modelValue"?: (value: string | number) => any;
163
+ "onClick:icon"?: (event: MouseEvent) => any;
164
+ "onClick:icon-right"?: (event: MouseEvent) => any;
165
+ }>, "select" | "el" | "blur" | "focus" | ("type" | "class" | "variant" | "size" | "rounded" | "loading" | "readonly" | "disabled" | "modelValue" | "rows" | "showClearButton" | "autofocus" | "inputClass" | "lazy" | "labelPosition" | "addonLeftClass" | "addonRightClass")> & {
166
+ focus: (options?: FocusOptions) => void;
167
+ select: () => void;
168
+ blur: () => void;
169
+ el: HTMLInputElement | HTMLTextAreaElement;
170
+ } & {} & import('vue').ComponentCustomProperties & {} & {
171
+ $slots: any;
172
+ };
173
+ };
174
+ rootEl: HTMLDivElement;
175
+ };
176
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
177
+ declare const __VLS_component: import('vue').DefineComponent<EditableTitleProps, {
4
178
  startEdit: () => void;
5
179
  save: () => void;
6
180
  commit: () => void;
@@ -40,8 +214,8 @@ declare const _default: import('vue').DefineComponent<EditableTitleProps, {
40
214
  editable: boolean;
41
215
  create: boolean;
42
216
  canDelete: boolean;
43
- showIcon: boolean;
44
217
  canChangeIcon: boolean;
218
+ showIcon: boolean;
45
219
  iconPickerPosition: string;
46
220
  deleteIcon: string;
47
221
  deleteLabel: string;
@@ -210,4 +384,10 @@ declare const _default: import('vue').DefineComponent<EditableTitleProps, {
210
384
  $slots: any;
211
385
  };
212
386
  }, HTMLDivElement>;
387
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
213
388
  export default _default;
389
+ type __VLS_WithTemplateSlots<T, S> = T & {
390
+ new (): {
391
+ $slots: S;
392
+ };
393
+ };
@@ -1,7 +1,7 @@
1
1
  import t from "./EditableTitle2.vue.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-da02cbfe"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-ff749f41"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };