@dativa-lv/lx-builders 2.1.10 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -1
- package/dist/src/App.vue.d.ts +3 -0
- package/dist/src/components/AppendableListSimple.vue.d.ts +18 -11
- package/dist/src/components/FilterBuilder.vue.d.ts +342 -2
- package/dist/src/components/FormBuilder.vue.d.ts +1 -1
- package/dist/src/components/FormBuilderItem.vue.d.ts +1 -1
- package/dist/src/components/ViewBuilder.vue.d.ts +1 -1
- package/dist/src/components/constructor/Constructor.vue.d.ts +562 -3
- package/dist/src/components/constructor/ConstructorPropRenderer.vue.d.ts +4 -2
- package/dist/src/components/constructor/Panel.vue.d.ts +14 -3
- package/dist/src/components/constructor/PropRendererItem.vue.d.ts +810 -4
- package/dist/src/lib.d.ts +1 -2
- package/dist/styles/lx-constructor.css +1 -1
- package/dist/wntr-lx-ui.d.ts +1 -1
- package/dist/wntr-lx-ui.esm.js +5988 -6530
- package/dist/wntr-lx-ui.umd.js +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -1,3 +1,76 @@
|
|
|
1
|
+
<h1 align="center">lx/builders</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
Declarative <strong>Vue.js 3</strong> tools that transform schemas and configuration into consistent, production-ready user interfaces <a href="https://github.com/dativa-lv/lx-ui">powered by <strong>LX/UI</strong></a>.
|
|
5
|
+
</p>
|
|
6
|
+
<p align="center">
|
|
7
|
+
JSON Schema in. LX/UI view out.
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<img alt="NPM Downloads" src="https://img.shields.io/npm/dw/%40dativa-lv%2Flx-builders?color=green" />
|
|
12
|
+
<img alt="NPM Version" src="https://img.shields.io/npm/v/%40dativa-lv%2Flx-builders?color=green" />
|
|
13
|
+
<img alt="NPM License" src="https://img.shields.io/npm/l/%40dativa-lv%2Flx-builders?color=white" />
|
|
14
|
+
<a href="https://github.com/dativa-lv/lx-ui"><img alt="Powered by LX/UI" src="https://img.shields.io/badge/powered%20by-lx%2Fui-0960BC"/></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<img src="https://img.shields.io/github/package-json/dependency-version/dativa-lv/lx-builders/peer/@dativa-lv/lx-ui" alt="LX/UI Version" />
|
|
19
|
+
<img src="https://img.shields.io/github/package-json/dependency-version/dativa-lv/lx-ui/peer/vue" alt="Vue.js Version" />
|
|
20
|
+
<img src="https://img.shields.io/github/package-json/dependency-version/dativa-lv/lx-ui/dev/vite" alt="Vite Version" />
|
|
21
|
+
<img src="https://img.shields.io/github/package-json/packageManager/dativa-lv/lx-builders?label=package%20manager" alt="Package Manager" />
|
|
22
|
+
</p>
|
|
23
|
+
|
|
1
24
|

|
|
2
25
|
|
|
3
|
-
|
|
26
|
+
## Play around
|
|
27
|
+
|
|
28
|
+
Check out our [🌐 Form Builder Demo](https://lx-ui.dev/resources/forms/builder) or try the <a href="https://lx-ui.dev/resources/constructor-dashboard">🛠️ LxConstructor<sup>(beta)</sup></a> live.
|
|
29
|
+
|
|
30
|
+
## Design with
|
|
31
|
+
- <a href="https://json-schema.org">🌐 JSON Schema</a>
|
|
32
|
+
- <a href="/docs/Constructor.md">ℹ️ LxConstructor<sup>(beta)</sup></a>
|
|
33
|
+
|
|
34
|
+
## Render with
|
|
35
|
+
- <a href="/docs/ViewBuilder.md">ℹ️ LxViewBuilder</a>
|
|
36
|
+
- <a href="/docs/FormBuilder.md">ℹ️ LxFormBuilder</a>
|
|
37
|
+
- ℹ️ LxFilterBuilder
|
|
38
|
+
|
|
39
|
+
## Get
|
|
40
|
+
|
|
41
|
+
Get using bun:
|
|
42
|
+
```bash
|
|
43
|
+
bun add '@dativa-lv/lx-builders@latest'
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Get using pnpm:
|
|
47
|
+
```bash
|
|
48
|
+
pnpm i '@dativa-lv/lx-builders@latest'
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
For migration tips refer to [ℹ️ Migration Guide](https://github.com/dativa-lv/lx-builders/blob/main/MIGRATION.md)
|
|
52
|
+
|
|
53
|
+
## Use
|
|
54
|
+
|
|
55
|
+
Use together with lx/ui library:
|
|
56
|
+
```js
|
|
57
|
+
import { createPinia } from 'pinia';
|
|
58
|
+
import { createLx } from '@dativa-lv/lx-ui';
|
|
59
|
+
import { createLxBuilders } from '@dativa-lv/lx-builders';
|
|
60
|
+
import App from '@/App.vue';
|
|
61
|
+
…
|
|
62
|
+
const myApp = createApp(App);
|
|
63
|
+
myApp.use(createPinia());
|
|
64
|
+
myApp.use(createLx());
|
|
65
|
+
myApp.use(createLxBuilders());
|
|
66
|
+
…
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Develop
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
pnpm i
|
|
73
|
+
pnpm build
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Read more about development in [ℹ️ Development manual](https://github.com/dativa-lv/lx-builders/blob/main/DEVELOPMENT.md)
|
|
@@ -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<
|
|
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, {},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ShallowUnwrapRef, 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,346 @@ 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, {
|
|
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: Attrs;
|
|
26
|
+
$refs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
} & {
|
|
29
|
+
expanderHeader: HTMLElement;
|
|
30
|
+
};
|
|
31
|
+
$slots: Readonly<{
|
|
32
|
+
[name: string]: Slot<any>;
|
|
33
|
+
}>;
|
|
34
|
+
$root: ComponentPublicInstance | null;
|
|
35
|
+
$parent: ComponentPublicInstance | null;
|
|
36
|
+
$host: Element | null;
|
|
37
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
38
|
+
$el: HTMLDivElement;
|
|
39
|
+
$options: ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
40
|
+
focus: () => void;
|
|
41
|
+
$emit: (event: "update:modelValue" | "selectAll" | "resetFilters", ...args: any[]) => void;
|
|
42
|
+
invalid: boolean;
|
|
43
|
+
iconSet: string;
|
|
44
|
+
variant: string;
|
|
45
|
+
customClass: string;
|
|
46
|
+
texts: Record<string, any>;
|
|
47
|
+
id: string;
|
|
48
|
+
modelValue: boolean;
|
|
49
|
+
kind: string;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
badge: string;
|
|
52
|
+
badgeType: string;
|
|
53
|
+
region: boolean;
|
|
54
|
+
renderMode: string;
|
|
55
|
+
hasShortlistReset: boolean;
|
|
56
|
+
hasSelectButton: boolean;
|
|
57
|
+
selectStatus: string;
|
|
58
|
+
label?: string;
|
|
59
|
+
description?: string;
|
|
60
|
+
icon?: string;
|
|
61
|
+
tooltip?: string;
|
|
62
|
+
ariaLabel?: string;
|
|
63
|
+
badgeIcon?: string;
|
|
64
|
+
badgeTitle?: string;
|
|
65
|
+
invalidationMessage?: string;
|
|
66
|
+
$props: {
|
|
67
|
+
readonly invalid?: boolean;
|
|
68
|
+
readonly iconSet?: string;
|
|
69
|
+
readonly variant?: string;
|
|
70
|
+
readonly customClass?: string;
|
|
71
|
+
readonly texts?: Record<string, any>;
|
|
72
|
+
readonly id?: string;
|
|
73
|
+
readonly modelValue?: boolean;
|
|
74
|
+
readonly kind?: string;
|
|
75
|
+
readonly disabled?: boolean;
|
|
76
|
+
readonly badge?: string;
|
|
77
|
+
readonly badgeType?: string;
|
|
78
|
+
readonly region?: boolean;
|
|
79
|
+
readonly renderMode?: string;
|
|
80
|
+
readonly hasShortlistReset?: boolean;
|
|
81
|
+
readonly hasSelectButton?: boolean;
|
|
82
|
+
readonly selectStatus?: string;
|
|
83
|
+
readonly label?: string;
|
|
84
|
+
readonly description?: string;
|
|
85
|
+
readonly icon?: string;
|
|
86
|
+
readonly tooltip?: string;
|
|
87
|
+
readonly ariaLabel?: string;
|
|
88
|
+
readonly badgeIcon?: string;
|
|
89
|
+
readonly badgeTitle?: string;
|
|
90
|
+
readonly invalidationMessage?: string;
|
|
91
|
+
};
|
|
92
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
93
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
94
|
+
created?: (() => void) | (() => void)[];
|
|
95
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
96
|
+
mounted?: (() => void) | (() => void)[];
|
|
97
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
98
|
+
updated?: (() => void) | (() => void)[];
|
|
99
|
+
activated?: (() => void) | (() => void)[];
|
|
100
|
+
deactivated?: (() => void) | (() => void)[];
|
|
101
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
102
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
103
|
+
destroyed?: (() => void) | (() => void)[];
|
|
104
|
+
unmounted?: (() => void) | (() => void)[];
|
|
105
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
106
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
107
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
108
|
+
};
|
|
109
|
+
$forceUpdate: () => void;
|
|
110
|
+
$nextTick: nextTick;
|
|
111
|
+
$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;
|
|
112
|
+
} & 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"> & {
|
|
113
|
+
focus: () => void;
|
|
114
|
+
$emit: (event: "update:modelValue" | "selectAll" | "resetFilters", ...args: any[]) => void;
|
|
115
|
+
invalid: boolean;
|
|
116
|
+
iconSet: string;
|
|
117
|
+
variant: string;
|
|
118
|
+
customClass: string;
|
|
119
|
+
texts: Record<string, any>;
|
|
120
|
+
id: string;
|
|
121
|
+
modelValue: boolean;
|
|
122
|
+
kind: string;
|
|
123
|
+
disabled: boolean;
|
|
124
|
+
badge: string;
|
|
125
|
+
badgeType: string;
|
|
126
|
+
region: boolean;
|
|
127
|
+
renderMode: string;
|
|
128
|
+
hasShortlistReset: boolean;
|
|
129
|
+
hasSelectButton: boolean;
|
|
130
|
+
selectStatus: string;
|
|
131
|
+
label?: string;
|
|
132
|
+
description?: string;
|
|
133
|
+
icon?: string;
|
|
134
|
+
tooltip?: string;
|
|
135
|
+
ariaLabel?: string;
|
|
136
|
+
badgeIcon?: string;
|
|
137
|
+
badgeTitle?: string;
|
|
138
|
+
invalidationMessage?: string;
|
|
139
|
+
$props: {
|
|
140
|
+
readonly invalid?: boolean;
|
|
141
|
+
readonly iconSet?: string;
|
|
142
|
+
readonly variant?: string;
|
|
143
|
+
readonly customClass?: string;
|
|
144
|
+
readonly texts?: Record<string, any>;
|
|
145
|
+
readonly id?: string;
|
|
146
|
+
readonly modelValue?: boolean;
|
|
147
|
+
readonly kind?: string;
|
|
148
|
+
readonly disabled?: boolean;
|
|
149
|
+
readonly badge?: string;
|
|
150
|
+
readonly badgeType?: string;
|
|
151
|
+
readonly region?: boolean;
|
|
152
|
+
readonly renderMode?: string;
|
|
153
|
+
readonly hasShortlistReset?: boolean;
|
|
154
|
+
readonly hasSelectButton?: boolean;
|
|
155
|
+
readonly selectStatus?: string;
|
|
156
|
+
readonly label?: string;
|
|
157
|
+
readonly description?: string;
|
|
158
|
+
readonly icon?: string;
|
|
159
|
+
readonly tooltip?: string;
|
|
160
|
+
readonly ariaLabel?: string;
|
|
161
|
+
readonly badgeIcon?: string;
|
|
162
|
+
readonly badgeTitle?: string;
|
|
163
|
+
readonly invalidationMessage?: string;
|
|
164
|
+
};
|
|
165
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
166
|
+
$slots: {
|
|
167
|
+
customHeader?(_: {
|
|
168
|
+
invalid: boolean;
|
|
169
|
+
iconSet: string;
|
|
170
|
+
variant: string;
|
|
171
|
+
customClass: string;
|
|
172
|
+
texts: Record<string, any>;
|
|
173
|
+
id: string;
|
|
174
|
+
modelValue: boolean;
|
|
175
|
+
kind: string;
|
|
176
|
+
disabled: boolean;
|
|
177
|
+
badge: string;
|
|
178
|
+
badgeType: string;
|
|
179
|
+
region: boolean;
|
|
180
|
+
renderMode: string;
|
|
181
|
+
hasShortlistReset: boolean;
|
|
182
|
+
hasSelectButton: boolean;
|
|
183
|
+
selectStatus: string;
|
|
184
|
+
label?: string;
|
|
185
|
+
description?: string;
|
|
186
|
+
icon?: string;
|
|
187
|
+
tooltip?: string;
|
|
188
|
+
ariaLabel?: string;
|
|
189
|
+
badgeIcon?: string;
|
|
190
|
+
badgeTitle?: string;
|
|
191
|
+
invalidationMessage?: string;
|
|
192
|
+
}): any;
|
|
193
|
+
additionalInfo?(_: {}): any;
|
|
194
|
+
default?(_: {}): any;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
filterBody: HTMLDivElement;
|
|
198
|
+
};
|
|
199
|
+
$slots: Readonly<{
|
|
200
|
+
[name: string]: Slot<any>;
|
|
201
|
+
}>;
|
|
202
|
+
$root: ComponentPublicInstance | null;
|
|
203
|
+
$parent: ComponentPublicInstance | null;
|
|
204
|
+
$host: Element | null;
|
|
205
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
206
|
+
$el: HTMLDivElement;
|
|
207
|
+
$options: ComponentOptionsBase<Readonly<{}>, {
|
|
208
|
+
toggleExpander: (value?: any) => void;
|
|
209
|
+
focus: () => void;
|
|
210
|
+
$emit: (event: "filter" | "resetFilters" | "update:expanded" | "fastFilterClick" | "saveFilter" | "editFilter", ...args: any[]) => void;
|
|
211
|
+
texts: Record<string, any>;
|
|
212
|
+
disabled: boolean;
|
|
213
|
+
badge: string;
|
|
214
|
+
badgeType: string;
|
|
215
|
+
builderOptions: Record<string, any>;
|
|
216
|
+
hasShortlistReset: boolean;
|
|
217
|
+
expanded: boolean;
|
|
218
|
+
columnCount: number;
|
|
219
|
+
usesFilters: boolean;
|
|
220
|
+
filterButtonKind: string;
|
|
221
|
+
fastFilters: unknown[];
|
|
222
|
+
enableFilterEditing: boolean;
|
|
223
|
+
fastIdAttribute: string;
|
|
224
|
+
fastNameAttribute: string;
|
|
225
|
+
shortlistColumnCount: number;
|
|
226
|
+
label?: string;
|
|
227
|
+
id?: string;
|
|
228
|
+
description?: string;
|
|
229
|
+
badgeIcon?: string;
|
|
230
|
+
badgeTitle?: string;
|
|
231
|
+
$props: {
|
|
232
|
+
readonly texts?: Record<string, any>;
|
|
233
|
+
readonly disabled?: boolean;
|
|
234
|
+
readonly badge?: string;
|
|
235
|
+
readonly badgeType?: string;
|
|
236
|
+
readonly builderOptions?: Record<string, any>;
|
|
237
|
+
readonly hasShortlistReset?: boolean;
|
|
238
|
+
readonly expanded?: boolean;
|
|
239
|
+
readonly columnCount?: number;
|
|
240
|
+
readonly usesFilters?: boolean;
|
|
241
|
+
readonly filterButtonKind?: string;
|
|
242
|
+
readonly fastFilters?: unknown[];
|
|
243
|
+
readonly enableFilterEditing?: boolean;
|
|
244
|
+
readonly fastIdAttribute?: string;
|
|
245
|
+
readonly fastNameAttribute?: string;
|
|
246
|
+
readonly shortlistColumnCount?: number;
|
|
247
|
+
readonly label?: string;
|
|
248
|
+
readonly id?: string;
|
|
249
|
+
readonly description?: string;
|
|
250
|
+
readonly badgeIcon?: string;
|
|
251
|
+
readonly badgeTitle?: string;
|
|
252
|
+
};
|
|
253
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
254
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
255
|
+
created?: (() => void) | (() => void)[];
|
|
256
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
257
|
+
mounted?: (() => void) | (() => void)[];
|
|
258
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
259
|
+
updated?: (() => void) | (() => void)[];
|
|
260
|
+
activated?: (() => void) | (() => void)[];
|
|
261
|
+
deactivated?: (() => void) | (() => void)[];
|
|
262
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
263
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
264
|
+
destroyed?: (() => void) | (() => void)[];
|
|
265
|
+
unmounted?: (() => void) | (() => void)[];
|
|
266
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
267
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
268
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
269
|
+
};
|
|
270
|
+
$forceUpdate: () => void;
|
|
271
|
+
$nextTick: nextTick;
|
|
272
|
+
$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;
|
|
273
|
+
} & 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<{
|
|
274
|
+
toggleExpander: (value?: any) => void;
|
|
275
|
+
focus: () => void;
|
|
276
|
+
$emit: (event: "filter" | "resetFilters" | "update:expanded" | "fastFilterClick" | "saveFilter" | "editFilter", ...args: any[]) => void;
|
|
277
|
+
texts: Record<string, any>;
|
|
278
|
+
disabled: boolean;
|
|
279
|
+
badge: string;
|
|
280
|
+
badgeType: string;
|
|
281
|
+
builderOptions: Record<string, any>;
|
|
282
|
+
hasShortlistReset: boolean;
|
|
283
|
+
expanded: boolean;
|
|
284
|
+
columnCount: number;
|
|
285
|
+
usesFilters: boolean;
|
|
286
|
+
filterButtonKind: string;
|
|
287
|
+
fastFilters: unknown[];
|
|
288
|
+
enableFilterEditing: boolean;
|
|
289
|
+
fastIdAttribute: string;
|
|
290
|
+
fastNameAttribute: string;
|
|
291
|
+
shortlistColumnCount: number;
|
|
292
|
+
label?: string;
|
|
293
|
+
id?: string;
|
|
294
|
+
description?: string;
|
|
295
|
+
badgeIcon?: string;
|
|
296
|
+
badgeTitle?: string;
|
|
297
|
+
$props: {
|
|
298
|
+
readonly texts?: Record<string, any>;
|
|
299
|
+
readonly disabled?: boolean;
|
|
300
|
+
readonly badge?: string;
|
|
301
|
+
readonly badgeType?: string;
|
|
302
|
+
readonly builderOptions?: Record<string, any>;
|
|
303
|
+
readonly hasShortlistReset?: boolean;
|
|
304
|
+
readonly expanded?: boolean;
|
|
305
|
+
readonly columnCount?: number;
|
|
306
|
+
readonly usesFilters?: boolean;
|
|
307
|
+
readonly filterButtonKind?: string;
|
|
308
|
+
readonly fastFilters?: unknown[];
|
|
309
|
+
readonly enableFilterEditing?: boolean;
|
|
310
|
+
readonly fastIdAttribute?: string;
|
|
311
|
+
readonly fastNameAttribute?: string;
|
|
312
|
+
readonly shortlistColumnCount?: number;
|
|
313
|
+
readonly label?: string;
|
|
314
|
+
readonly id?: string;
|
|
315
|
+
readonly description?: string;
|
|
316
|
+
readonly badgeIcon?: string;
|
|
317
|
+
readonly badgeTitle?: string;
|
|
318
|
+
};
|
|
319
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
320
|
+
$slots: {
|
|
321
|
+
default?(_: {}): any;
|
|
322
|
+
shortlist?(_: {}): any;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
formBuilder: CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
326
|
+
validateModel: () => any[];
|
|
327
|
+
clearValidations: () => void;
|
|
328
|
+
componentSelect: (row: any, name: any) => string;
|
|
329
|
+
$emit: (event: "update:modelValue" | "rowActionClick" | "emit" | "filterBuilderFilter", ...args: any[]) => void;
|
|
330
|
+
$props: {
|
|
331
|
+
readonly [x: string]: any;
|
|
332
|
+
};
|
|
333
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
334
|
+
P: {};
|
|
335
|
+
B: {};
|
|
336
|
+
D: {};
|
|
337
|
+
C: {};
|
|
338
|
+
M: {};
|
|
339
|
+
Defaults: {};
|
|
340
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
341
|
+
validateModel: () => any[];
|
|
342
|
+
clearValidations: () => void;
|
|
343
|
+
componentSelect: (row: any, name: any) => string;
|
|
344
|
+
$emit: (event: "update:modelValue" | "rowActionClick" | "emit" | "filterBuilderFilter", ...args: any[]) => void;
|
|
345
|
+
$props: {
|
|
346
|
+
readonly [x: string]: any;
|
|
347
|
+
};
|
|
348
|
+
}, {}, {}, {}, {}>;
|
|
349
|
+
}, HTMLDivElement>;
|
|
10
350
|
export default _default;
|
|
11
351
|
declare function validateModel(): any;
|
|
12
352
|
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: "
|
|
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: "
|
|
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: "
|
|
5
|
+
$emit: (event: "update:modelValue" | "rowActionClick" | "emit", ...args: any[]) => void;
|
|
6
6
|
$props: {
|
|
7
7
|
readonly [x: string]: any;
|
|
8
8
|
};
|