@dativa-lv/lx-builders 2.1.8 → 2.1.11

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.
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
+ export default _default;
@@ -1,5 +1,10 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<{}, {
2
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
3
+ export default _default;
4
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
5
+ $slots: S;
6
+ });
7
+ declare const __VLS_component: DefineComponent<{}, {
3
8
  $emit: (event: "update:modelValue", ...args: any[]) => void;
4
9
  readOnly: boolean;
5
10
  columnCount: number;
@@ -17,13 +22,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<{}, {
17
22
  readonly texts?: Record<string, any>;
18
23
  readonly modelValue?: unknown[];
19
24
  };
20
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
21
- customItem?(_: {
22
- item: unknown;
23
- index: number;
24
- }): any;
25
- }>;
26
- export default _default;
27
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
28
- $slots: S;
29
- });
25
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
26
+ type __VLS_TemplateResult = {
27
+ attrs: Partial<{}>;
28
+ slots: {
29
+ customItem?(_: {
30
+ item: unknown;
31
+ index: number;
32
+ }): any;
33
+ };
34
+ refs: {};
35
+ rootEl: HTMLDivElement;
36
+ };
@@ -1,4 +1,5 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CreateComponentPublicInstanceWithMixins } from 'vue';
2
+ import { OnCleanup } from '@vue/reactivity';
2
3
  declare const _default: DefineComponent<{}, {
3
4
  validateModel: typeof validateModel;
4
5
  clearValidations: typeof clearValidations;
@@ -6,7 +7,348 @@ declare const _default: DefineComponent<{}, {
6
7
  $props: {
7
8
  readonly [x: string]: any;
8
9
  };
9
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
11
+ filterElement: {
12
+ $: ComponentInternalInstance;
13
+ $data: {};
14
+ $props: Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
15
+ $attrs: {
16
+ [x: string]: unknown;
17
+ };
18
+ $refs: {
19
+ [x: string]: unknown;
20
+ } & {
21
+ expander: {
22
+ $: ComponentInternalInstance;
23
+ $data: {};
24
+ $props: Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $refs: {
29
+ [x: string]: unknown;
30
+ } & {
31
+ expanderHeader: HTMLElement;
32
+ };
33
+ $slots: Readonly<{
34
+ [name: string]: Slot<any>;
35
+ }>;
36
+ $root: ComponentPublicInstance | null;
37
+ $parent: ComponentPublicInstance | null;
38
+ $host: Element | null;
39
+ $emit: (event: string, ...args: any[]) => void;
40
+ $el: HTMLDivElement;
41
+ $options: ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
42
+ focus: () => void;
43
+ $emit: (event: "update:modelValue" | "selectAll" | "resetFilters", ...args: any[]) => void;
44
+ invalid: boolean;
45
+ iconSet: string;
46
+ variant: string;
47
+ customClass: string;
48
+ texts: Record<string, any>;
49
+ id: string;
50
+ modelValue: boolean;
51
+ kind: string;
52
+ disabled: boolean;
53
+ badge: string;
54
+ badgeType: string;
55
+ region: boolean;
56
+ renderMode: string;
57
+ hasShortlistReset: boolean;
58
+ hasSelectButton: boolean;
59
+ selectStatus: string;
60
+ label?: string;
61
+ description?: string;
62
+ icon?: string;
63
+ tooltip?: string;
64
+ ariaLabel?: string;
65
+ badgeIcon?: string;
66
+ badgeTitle?: string;
67
+ invalidationMessage?: string;
68
+ $props: {
69
+ readonly invalid?: boolean;
70
+ readonly iconSet?: string;
71
+ readonly variant?: string;
72
+ readonly customClass?: string;
73
+ readonly texts?: Record<string, any>;
74
+ readonly id?: string;
75
+ readonly modelValue?: boolean;
76
+ readonly kind?: string;
77
+ readonly disabled?: boolean;
78
+ readonly badge?: string;
79
+ readonly badgeType?: string;
80
+ readonly region?: boolean;
81
+ readonly renderMode?: string;
82
+ readonly hasShortlistReset?: boolean;
83
+ readonly hasSelectButton?: boolean;
84
+ readonly selectStatus?: string;
85
+ readonly label?: string;
86
+ readonly description?: string;
87
+ readonly icon?: string;
88
+ readonly tooltip?: string;
89
+ readonly ariaLabel?: string;
90
+ readonly badgeIcon?: string;
91
+ readonly badgeTitle?: string;
92
+ readonly invalidationMessage?: string;
93
+ };
94
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
95
+ beforeCreate?: (() => void) | (() => void)[];
96
+ created?: (() => void) | (() => void)[];
97
+ beforeMount?: (() => void) | (() => void)[];
98
+ mounted?: (() => void) | (() => void)[];
99
+ beforeUpdate?: (() => void) | (() => void)[];
100
+ updated?: (() => void) | (() => void)[];
101
+ activated?: (() => void) | (() => void)[];
102
+ deactivated?: (() => void) | (() => void)[];
103
+ beforeDestroy?: (() => void) | (() => void)[];
104
+ beforeUnmount?: (() => void) | (() => void)[];
105
+ destroyed?: (() => void) | (() => void)[];
106
+ unmounted?: (() => void) | (() => void)[];
107
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
108
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
109
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
110
+ };
111
+ $forceUpdate: () => void;
112
+ $nextTick: nextTick;
113
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
114
+ } & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "focus" | "invalid" | "$props" | "$emit" | "label" | "iconSet" | "variant" | "customClass" | "texts" | "id" | "modelValue" | "kind" | "description" | "icon" | "tooltip" | "disabled" | "ariaLabel" | "badge" | "badgeIcon" | "badgeType" | "badgeTitle" | "invalidationMessage" | "region" | "renderMode" | "hasShortlistReset" | "hasSelectButton" | "selectStatus"> & ShallowUnwrapRef<{
115
+ focus: () => void;
116
+ $emit: (event: "update:modelValue" | "selectAll" | "resetFilters", ...args: any[]) => void;
117
+ invalid: boolean;
118
+ iconSet: string;
119
+ variant: string;
120
+ customClass: string;
121
+ texts: Record<string, any>;
122
+ id: string;
123
+ modelValue: boolean;
124
+ kind: string;
125
+ disabled: boolean;
126
+ badge: string;
127
+ badgeType: string;
128
+ region: boolean;
129
+ renderMode: string;
130
+ hasShortlistReset: boolean;
131
+ hasSelectButton: boolean;
132
+ selectStatus: string;
133
+ label?: string;
134
+ description?: string;
135
+ icon?: string;
136
+ tooltip?: string;
137
+ ariaLabel?: string;
138
+ badgeIcon?: string;
139
+ badgeTitle?: string;
140
+ invalidationMessage?: string;
141
+ $props: {
142
+ readonly invalid?: boolean;
143
+ readonly iconSet?: string;
144
+ readonly variant?: string;
145
+ readonly customClass?: string;
146
+ readonly texts?: Record<string, any>;
147
+ readonly id?: string;
148
+ readonly modelValue?: boolean;
149
+ readonly kind?: string;
150
+ readonly disabled?: boolean;
151
+ readonly badge?: string;
152
+ readonly badgeType?: string;
153
+ readonly region?: boolean;
154
+ readonly renderMode?: string;
155
+ readonly hasShortlistReset?: boolean;
156
+ readonly hasSelectButton?: boolean;
157
+ readonly selectStatus?: string;
158
+ readonly label?: string;
159
+ readonly description?: string;
160
+ readonly icon?: string;
161
+ readonly tooltip?: string;
162
+ readonly ariaLabel?: string;
163
+ readonly badgeIcon?: string;
164
+ readonly badgeTitle?: string;
165
+ readonly invalidationMessage?: string;
166
+ };
167
+ }> & {} & ComponentCustomProperties & {} & {
168
+ $slots: {
169
+ customHeader?(_: {
170
+ invalid: boolean;
171
+ iconSet: string;
172
+ variant: string;
173
+ customClass: string;
174
+ texts: Record<string, any>;
175
+ id: string;
176
+ modelValue: boolean;
177
+ kind: string;
178
+ disabled: boolean;
179
+ badge: string;
180
+ badgeType: string;
181
+ region: boolean;
182
+ renderMode: string;
183
+ hasShortlistReset: boolean;
184
+ hasSelectButton: boolean;
185
+ selectStatus: string;
186
+ label?: string;
187
+ description?: string;
188
+ icon?: string;
189
+ tooltip?: string;
190
+ ariaLabel?: string;
191
+ badgeIcon?: string;
192
+ badgeTitle?: string;
193
+ invalidationMessage?: string;
194
+ }): any;
195
+ additionalInfo?(_: {}): any;
196
+ default?(_: {}): any;
197
+ };
198
+ };
199
+ filterBody: HTMLDivElement;
200
+ };
201
+ $slots: Readonly<{
202
+ [name: string]: Slot<any>;
203
+ }>;
204
+ $root: ComponentPublicInstance | null;
205
+ $parent: ComponentPublicInstance | null;
206
+ $host: Element | null;
207
+ $emit: (event: string, ...args: any[]) => void;
208
+ $el: HTMLDivElement;
209
+ $options: ComponentOptionsBase<Readonly<{}>, {
210
+ toggleExpander: (value?: any) => void;
211
+ focus: () => void;
212
+ $emit: (event: "filter" | "resetFilters" | "update:expanded" | "fastFilterClick" | "saveFilter" | "editFilter", ...args: any[]) => void;
213
+ texts: Record<string, any>;
214
+ disabled: boolean;
215
+ badge: string;
216
+ badgeType: string;
217
+ builderOptions: Record<string, any>;
218
+ hasShortlistReset: boolean;
219
+ expanded: boolean;
220
+ columnCount: number;
221
+ usesFilters: boolean;
222
+ filterButtonKind: string;
223
+ fastFilters: unknown[];
224
+ enableFilterEditing: boolean;
225
+ fastIdAttribute: string;
226
+ fastNameAttribute: string;
227
+ shortlistColumnCount: number;
228
+ label?: string;
229
+ id?: string;
230
+ description?: string;
231
+ badgeIcon?: string;
232
+ badgeTitle?: string;
233
+ $props: {
234
+ readonly texts?: Record<string, any>;
235
+ readonly disabled?: boolean;
236
+ readonly badge?: string;
237
+ readonly badgeType?: string;
238
+ readonly builderOptions?: Record<string, any>;
239
+ readonly hasShortlistReset?: boolean;
240
+ readonly expanded?: boolean;
241
+ readonly columnCount?: number;
242
+ readonly usesFilters?: boolean;
243
+ readonly filterButtonKind?: string;
244
+ readonly fastFilters?: unknown[];
245
+ readonly enableFilterEditing?: boolean;
246
+ readonly fastIdAttribute?: string;
247
+ readonly fastNameAttribute?: string;
248
+ readonly shortlistColumnCount?: number;
249
+ readonly label?: string;
250
+ readonly id?: string;
251
+ readonly description?: string;
252
+ readonly badgeIcon?: string;
253
+ readonly badgeTitle?: string;
254
+ };
255
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
256
+ beforeCreate?: (() => void) | (() => void)[];
257
+ created?: (() => void) | (() => void)[];
258
+ beforeMount?: (() => void) | (() => void)[];
259
+ mounted?: (() => void) | (() => void)[];
260
+ beforeUpdate?: (() => void) | (() => void)[];
261
+ updated?: (() => void) | (() => void)[];
262
+ activated?: (() => void) | (() => void)[];
263
+ deactivated?: (() => void) | (() => void)[];
264
+ beforeDestroy?: (() => void) | (() => void)[];
265
+ beforeUnmount?: (() => void) | (() => void)[];
266
+ destroyed?: (() => void) | (() => void)[];
267
+ unmounted?: (() => void) | (() => void)[];
268
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
269
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
270
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
271
+ };
272
+ $forceUpdate: () => void;
273
+ $nextTick: nextTick;
274
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
275
+ } & Readonly<{}> & Omit<Readonly<{}>, "focus" | "$props" | "$emit" | "columnCount" | "texts" | "id" | "builderOptions" | "label" | "disabled" | "badge" | "badgeType" | "badgeIcon" | "badgeTitle" | "description" | "usesFilters" | "filterButtonKind" | "expanded" | "fastFilters" | "fastIdAttribute" | "fastNameAttribute" | "hasShortlistReset" | "toggleExpander" | "enableFilterEditing" | "shortlistColumnCount"> & ShallowUnwrapRef<{
276
+ toggleExpander: (value?: any) => void;
277
+ focus: () => void;
278
+ $emit: (event: "filter" | "resetFilters" | "update:expanded" | "fastFilterClick" | "saveFilter" | "editFilter", ...args: any[]) => void;
279
+ texts: Record<string, any>;
280
+ disabled: boolean;
281
+ badge: string;
282
+ badgeType: string;
283
+ builderOptions: Record<string, any>;
284
+ hasShortlistReset: boolean;
285
+ expanded: boolean;
286
+ columnCount: number;
287
+ usesFilters: boolean;
288
+ filterButtonKind: string;
289
+ fastFilters: unknown[];
290
+ enableFilterEditing: boolean;
291
+ fastIdAttribute: string;
292
+ fastNameAttribute: string;
293
+ shortlistColumnCount: number;
294
+ label?: string;
295
+ id?: string;
296
+ description?: string;
297
+ badgeIcon?: string;
298
+ badgeTitle?: string;
299
+ $props: {
300
+ readonly texts?: Record<string, any>;
301
+ readonly disabled?: boolean;
302
+ readonly badge?: string;
303
+ readonly badgeType?: string;
304
+ readonly builderOptions?: Record<string, any>;
305
+ readonly hasShortlistReset?: boolean;
306
+ readonly expanded?: boolean;
307
+ readonly columnCount?: number;
308
+ readonly usesFilters?: boolean;
309
+ readonly filterButtonKind?: string;
310
+ readonly fastFilters?: unknown[];
311
+ readonly enableFilterEditing?: boolean;
312
+ readonly fastIdAttribute?: string;
313
+ readonly fastNameAttribute?: string;
314
+ readonly shortlistColumnCount?: number;
315
+ readonly label?: string;
316
+ readonly id?: string;
317
+ readonly description?: string;
318
+ readonly badgeIcon?: string;
319
+ readonly badgeTitle?: string;
320
+ };
321
+ }> & {} & ComponentCustomProperties & {} & {
322
+ $slots: {
323
+ default?(_: {}): any;
324
+ shortlist?(_: {}): any;
325
+ };
326
+ };
327
+ formBuilder: CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
328
+ validateModel: () => any[];
329
+ clearValidations: () => void;
330
+ componentSelect: (row: any, name: any) => string;
331
+ $emit: (event: "update:modelValue" | "rowActionClick" | "emit" | "filterBuilderFilter", ...args: any[]) => void;
332
+ $props: {
333
+ readonly [x: string]: any;
334
+ };
335
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
336
+ P: {};
337
+ B: {};
338
+ D: {};
339
+ C: {};
340
+ M: {};
341
+ Defaults: {};
342
+ }, Readonly<{}> & Readonly<{}>, {
343
+ validateModel: () => any[];
344
+ clearValidations: () => void;
345
+ componentSelect: (row: any, name: any) => string;
346
+ $emit: (event: "update:modelValue" | "rowActionClick" | "emit" | "filterBuilderFilter", ...args: any[]) => void;
347
+ $props: {
348
+ readonly [x: string]: any;
349
+ };
350
+ }, {}, {}, {}, {}>;
351
+ }, HTMLDivElement>;
10
352
  export default _default;
11
353
  declare function validateModel(): any;
12
354
  declare function clearValidations(): void;
@@ -3,7 +3,7 @@ declare const _default: DefineComponent<{}, {
3
3
  validateModel: typeof validateModel;
4
4
  clearValidations: typeof clearValidations;
5
5
  componentSelect: typeof componentSelect;
6
- $emit: (event: "emit" | "update:modelValue" | "rowActionClick" | "filterBuilderFilter", ...args: any[]) => void;
6
+ $emit: (event: "update:modelValue" | "rowActionClick" | "emit" | "filterBuilderFilter", ...args: any[]) => void;
7
7
  $props: {
8
8
  readonly [x: string]: any;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare const _default: DefineComponent<{}, {
3
- $emit: (event: "emit" | "update:modelValue" | "rowActionClick" | "filterBuilderFilter", ...args: any[]) => void;
3
+ $emit: (event: "update:modelValue" | "rowActionClick" | "emit" | "filterBuilderFilter", ...args: any[]) => void;
4
4
  readOnly: boolean;
5
5
  texts: Record<string, any>;
6
6
  builderOptions: Record<string, any>;
@@ -2,7 +2,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  declare const _default: DefineComponent<{}, {
3
3
  validateModel: typeof validateModel;
4
4
  clearValidations: typeof clearValidations;
5
- $emit: (event: "emit" | "update:modelValue" | "rowActionClick", ...args: any[]) => void;
5
+ $emit: (event: "update:modelValue" | "rowActionClick" | "emit", ...args: any[]) => void;
6
6
  $props: {
7
7
  readonly [x: string]: any;
8
8
  };