@heartlandone/vega-angular 1.3.0
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/.browserslistrc +16 -0
- package/.prettierrc.js +13 -0
- package/LICENSE +21 -0
- package/README.md +132 -0
- package/dist/LICENSE +21 -0
- package/dist/README.md +132 -0
- package/dist/esm2020/heartlandone-vega-angular.mjs +5 -0
- package/dist/esm2020/lib/components-module.mjs +24 -0
- package/dist/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +62 -0
- package/dist/esm2020/lib/stencil-generated/components.mjs +953 -0
- package/dist/esm2020/lib/stencil-generated/text-value-accessor.mjs +35 -0
- package/dist/esm2020/lib/stencil-generated/value-accessor.mjs +44 -0
- package/dist/esm2020/public-api.mjs +8 -0
- package/dist/fesm2015/heartlandone-vega-angular.mjs +1079 -0
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -0
- package/dist/fesm2020/heartlandone-vega-angular.mjs +1079 -0
- package/dist/fesm2020/heartlandone-vega-angular.mjs.map +1 -0
- package/dist/heartlandone-vega-angular.d.ts +5 -0
- package/dist/lib/components-module.d.ts +10 -0
- package/dist/lib/stencil-generated/angular-component-lib/utils.d.ts +9 -0
- package/dist/lib/stencil-generated/components.d.ts +467 -0
- package/dist/lib/stencil-generated/text-value-accessor.d.ts +8 -0
- package/dist/lib/stencil-generated/value-accessor.d.ts +18 -0
- package/dist/package.json +40 -0
- package/dist/public-api.d.ts +4 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +10 -0
- package/package.json +36 -0
- package/src/lib/components-module.ts +16 -0
- package/src/lib/stencil-generated/angular-component-lib/utils.ts +71 -0
- package/src/lib/stencil-generated/components.ts +1007 -0
- package/src/lib/stencil-generated/text-value-accessor.ts +24 -0
- package/src/lib/stencil-generated/value-accessor.ts +42 -0
- package/src/public-api.ts +7 -0
- package/src/scripts/stencil-post-build-script.js +59 -0
- package/src/test.ts +27 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
|
@@ -0,0 +1,1007 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* auto-generated angular directive proxies */
|
|
3
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
4
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
5
|
+
|
|
6
|
+
import { Components } from '@heartlandone/vega';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export declare interface VegaAccordion extends Components.VegaAccordion {
|
|
12
|
+
/**
|
|
13
|
+
* expand event, it return a boolean.
|
|
14
|
+
*/
|
|
15
|
+
vegaExpand: EventEmitter<CustomEvent<boolean>>;
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@ProxyCmp({
|
|
20
|
+
defineCustomElementFn: undefined,
|
|
21
|
+
inputs: ['accordionTitle', 'drawsBackground', 'expand', 'expandIconAlign', 'groupId', 'prefixIcon', 'showExpandIcon']
|
|
22
|
+
})
|
|
23
|
+
@Component({
|
|
24
|
+
selector: 'vega-accordion',
|
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
template: '<ng-content></ng-content>',
|
|
27
|
+
inputs: ['accordionTitle', 'drawsBackground', 'expand', 'expandIconAlign', 'groupId', 'prefixIcon', 'showExpandIcon']
|
|
28
|
+
})
|
|
29
|
+
export class VegaAccordion {
|
|
30
|
+
protected el: HTMLElement;
|
|
31
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
32
|
+
c.detach();
|
|
33
|
+
this.el = r.nativeElement;
|
|
34
|
+
proxyOutputs(this, this.el, ['vegaExpand']);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export declare interface VegaAppFooter extends Components.VegaAppFooter {}
|
|
40
|
+
|
|
41
|
+
@ProxyCmp({
|
|
42
|
+
defineCustomElementFn: undefined,
|
|
43
|
+
inputs: ['privacyUrl', 'showDisclaimer', 'tosUrl']
|
|
44
|
+
})
|
|
45
|
+
@Component({
|
|
46
|
+
selector: 'vega-app-footer',
|
|
47
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
+
template: '<ng-content></ng-content>',
|
|
49
|
+
inputs: ['privacyUrl', 'showDisclaimer', 'tosUrl']
|
|
50
|
+
})
|
|
51
|
+
export class VegaAppFooter {
|
|
52
|
+
protected el: HTMLElement;
|
|
53
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
54
|
+
c.detach();
|
|
55
|
+
this.el = r.nativeElement;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
export declare interface VegaBadge extends Components.VegaBadge {}
|
|
61
|
+
|
|
62
|
+
@ProxyCmp({
|
|
63
|
+
defineCustomElementFn: undefined,
|
|
64
|
+
inputs: ['bgColor', 'size', 'text', 'textColor']
|
|
65
|
+
})
|
|
66
|
+
@Component({
|
|
67
|
+
selector: 'vega-badge',
|
|
68
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
69
|
+
template: '<ng-content></ng-content>',
|
|
70
|
+
inputs: ['bgColor', 'size', 'text', 'textColor']
|
|
71
|
+
})
|
|
72
|
+
export class VegaBadge {
|
|
73
|
+
protected el: HTMLElement;
|
|
74
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
75
|
+
c.detach();
|
|
76
|
+
this.el = r.nativeElement;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
export declare interface VegaButton extends Components.VegaButton {
|
|
82
|
+
/**
|
|
83
|
+
* event emitter used for notifying consumers the button is clicked
|
|
84
|
+
*/
|
|
85
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
86
|
+
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@ProxyCmp({
|
|
90
|
+
defineCustomElementFn: undefined,
|
|
91
|
+
inputs: ['block', 'danger', 'disabled', 'icon', 'iconAlign', 'label', 'size', 'variant']
|
|
92
|
+
})
|
|
93
|
+
@Component({
|
|
94
|
+
selector: 'vega-button',
|
|
95
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
96
|
+
template: '<ng-content></ng-content>',
|
|
97
|
+
inputs: ['block', 'danger', 'disabled', 'icon', 'iconAlign', 'label', 'size', 'variant']
|
|
98
|
+
})
|
|
99
|
+
export class VegaButton {
|
|
100
|
+
protected el: HTMLElement;
|
|
101
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
102
|
+
c.detach();
|
|
103
|
+
this.el = r.nativeElement;
|
|
104
|
+
proxyOutputs(this, this.el, ['vegaClick']);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
export declare interface VegaButtonCircle extends Components.VegaButtonCircle {
|
|
110
|
+
/**
|
|
111
|
+
* event emitter used for notifying consumers the button is clicked
|
|
112
|
+
*/
|
|
113
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
114
|
+
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@ProxyCmp({
|
|
118
|
+
defineCustomElementFn: undefined,
|
|
119
|
+
inputs: ['danger', 'disabled', 'icon', 'label', 'size', 'variant']
|
|
120
|
+
})
|
|
121
|
+
@Component({
|
|
122
|
+
selector: 'vega-button-circle',
|
|
123
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
124
|
+
template: '<ng-content></ng-content>',
|
|
125
|
+
inputs: ['danger', 'disabled', 'icon', 'label', 'size', 'variant']
|
|
126
|
+
})
|
|
127
|
+
export class VegaButtonCircle {
|
|
128
|
+
protected el: HTMLElement;
|
|
129
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
130
|
+
c.detach();
|
|
131
|
+
this.el = r.nativeElement;
|
|
132
|
+
proxyOutputs(this, this.el, ['vegaClick']);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
export declare interface VegaButtonLink extends Components.VegaButtonLink {
|
|
138
|
+
/**
|
|
139
|
+
* event emitter used for notifying consumers the click event
|
|
140
|
+
*/
|
|
141
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@ProxyCmp({
|
|
146
|
+
defineCustomElementFn: undefined,
|
|
147
|
+
inputs: ['danger', 'disabled', 'eventful', 'icon', 'iconAlign', 'iconType', 'label', 'link', 'size']
|
|
148
|
+
})
|
|
149
|
+
@Component({
|
|
150
|
+
selector: 'vega-button-link',
|
|
151
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
152
|
+
template: '<ng-content></ng-content>',
|
|
153
|
+
inputs: ['danger', 'disabled', 'eventful', 'icon', 'iconAlign', 'iconType', 'label', 'link', 'size']
|
|
154
|
+
})
|
|
155
|
+
export class VegaButtonLink {
|
|
156
|
+
protected el: HTMLElement;
|
|
157
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
158
|
+
c.detach();
|
|
159
|
+
this.el = r.nativeElement;
|
|
160
|
+
proxyOutputs(this, this.el, ['vegaClick']);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
export declare interface VegaCard extends Components.VegaCard {}
|
|
166
|
+
|
|
167
|
+
@ProxyCmp({
|
|
168
|
+
defineCustomElementFn: undefined,
|
|
169
|
+
inputs: ['backgroundColor', 'margin', 'padding', 'shadow']
|
|
170
|
+
})
|
|
171
|
+
@Component({
|
|
172
|
+
selector: 'vega-card',
|
|
173
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
174
|
+
template: '<ng-content></ng-content>',
|
|
175
|
+
inputs: ['backgroundColor', 'margin', 'padding', 'shadow']
|
|
176
|
+
})
|
|
177
|
+
export class VegaCard {
|
|
178
|
+
protected el: HTMLElement;
|
|
179
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
180
|
+
c.detach();
|
|
181
|
+
this.el = r.nativeElement;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
export declare interface VegaCarousel extends Components.VegaCarousel {
|
|
187
|
+
/**
|
|
188
|
+
* event emitter used for notifying consumers the page update event and the page is 1 default.
|
|
189
|
+
*/
|
|
190
|
+
vegaPageUpdate: EventEmitter<CustomEvent<number>>;
|
|
191
|
+
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@ProxyCmp({
|
|
195
|
+
defineCustomElementFn: undefined,
|
|
196
|
+
inputs: ['perPage', 'showSlider', 'spacing'],
|
|
197
|
+
methods: ['nextPage', 'prevPage', 'goToPage']
|
|
198
|
+
})
|
|
199
|
+
@Component({
|
|
200
|
+
selector: 'vega-carousel',
|
|
201
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
202
|
+
template: '<ng-content></ng-content>',
|
|
203
|
+
inputs: ['perPage', 'showSlider', 'spacing']
|
|
204
|
+
})
|
|
205
|
+
export class VegaCarousel {
|
|
206
|
+
protected el: HTMLElement;
|
|
207
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
208
|
+
c.detach();
|
|
209
|
+
this.el = r.nativeElement;
|
|
210
|
+
proxyOutputs(this, this.el, ['vegaPageUpdate']);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
export declare interface VegaCheckbox extends Components.VegaCheckbox {
|
|
216
|
+
/**
|
|
217
|
+
* The below method is e2e-test covered in @see {module :vega-checkbox-change}
|
|
218
|
+
*/
|
|
219
|
+
vegaChange: EventEmitter<CustomEvent<boolean>>;
|
|
220
|
+
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@ProxyCmp({
|
|
224
|
+
defineCustomElementFn: undefined,
|
|
225
|
+
inputs: ['checked', 'disabled', 'size', 'value']
|
|
226
|
+
})
|
|
227
|
+
@Component({
|
|
228
|
+
selector: 'vega-checkbox',
|
|
229
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
230
|
+
template: '<ng-content></ng-content>',
|
|
231
|
+
inputs: ['checked', 'disabled', 'size', 'value']
|
|
232
|
+
})
|
|
233
|
+
export class VegaCheckbox {
|
|
234
|
+
protected el: HTMLElement;
|
|
235
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
236
|
+
c.detach();
|
|
237
|
+
this.el = r.nativeElement;
|
|
238
|
+
proxyOutputs(this, this.el, ['vegaChange']);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
export declare interface VegaCheckboxGroup extends Components.VegaCheckboxGroup {
|
|
244
|
+
/**
|
|
245
|
+
* event emitter used for notifying consumers any of checkbox value change event
|
|
246
|
+
*/
|
|
247
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
248
|
+
/**
|
|
249
|
+
* event emitter used for notifying consumers the validation result change event
|
|
250
|
+
*/
|
|
251
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
252
|
+
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@ProxyCmp({
|
|
256
|
+
defineCustomElementFn: undefined,
|
|
257
|
+
inputs: ['disabled', 'formValidation', 'hint', 'isValid', 'label', 'required', 'value', 'vegaFlexProp'],
|
|
258
|
+
methods: ['valid']
|
|
259
|
+
})
|
|
260
|
+
@Component({
|
|
261
|
+
selector: 'vega-checkbox-group',
|
|
262
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
263
|
+
template: '<ng-content></ng-content>',
|
|
264
|
+
inputs: ['disabled', 'formValidation', 'hint', 'isValid', 'label', 'required', 'value', 'vegaFlexProp']
|
|
265
|
+
})
|
|
266
|
+
export class VegaCheckboxGroup {
|
|
267
|
+
protected el: HTMLElement;
|
|
268
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
269
|
+
c.detach();
|
|
270
|
+
this.el = r.nativeElement;
|
|
271
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate']);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
export declare interface VegaDatePicker extends Components.VegaDatePicker {
|
|
277
|
+
/**
|
|
278
|
+
* event emitter used for notifying consumers the date picker value change event
|
|
279
|
+
*/
|
|
280
|
+
vegaChange: EventEmitter<CustomEvent<string | string[]>>;
|
|
281
|
+
/**
|
|
282
|
+
* event emitter used for notifying consumers the validation result change event
|
|
283
|
+
*/
|
|
284
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
285
|
+
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
@ProxyCmp({
|
|
289
|
+
defineCustomElementFn: undefined,
|
|
290
|
+
inputs: ['allowRepick', 'autoValidation', 'clearButton', 'disabled', 'formValidation', 'format', 'isValid', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'readOnly', 'required', 'size', 'validationRules', 'value'],
|
|
291
|
+
methods: ['valid', 'doClose', 'doOpen']
|
|
292
|
+
})
|
|
293
|
+
@Component({
|
|
294
|
+
selector: 'vega-date-picker',
|
|
295
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
296
|
+
template: '<ng-content></ng-content>',
|
|
297
|
+
inputs: ['allowRepick', 'autoValidation', 'clearButton', 'disabled', 'formValidation', 'format', 'isValid', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'readOnly', 'required', 'size', 'validationRules', 'value']
|
|
298
|
+
})
|
|
299
|
+
export class VegaDatePicker {
|
|
300
|
+
protected el: HTMLElement;
|
|
301
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
302
|
+
c.detach();
|
|
303
|
+
this.el = r.nativeElement;
|
|
304
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate']);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
export declare interface VegaDropdown extends Components.VegaDropdown {
|
|
310
|
+
/**
|
|
311
|
+
* event emitter used for notifying consumers which the dropdown item is clicked
|
|
312
|
+
*/
|
|
313
|
+
vegaClick: EventEmitter<CustomEvent<string>>;
|
|
314
|
+
/**
|
|
315
|
+
* event emitter used for notifying consumers the dropdown have show
|
|
316
|
+
*/
|
|
317
|
+
vegaShow: EventEmitter<CustomEvent<string>>;
|
|
318
|
+
/**
|
|
319
|
+
* event emitter used for notifying consumers the dropdown have hide
|
|
320
|
+
*/
|
|
321
|
+
vegaHide: EventEmitter<CustomEvent<string>>;
|
|
322
|
+
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@ProxyCmp({
|
|
326
|
+
defineCustomElementFn: undefined,
|
|
327
|
+
inputs: ['matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger'],
|
|
328
|
+
methods: ['show', 'hide']
|
|
329
|
+
})
|
|
330
|
+
@Component({
|
|
331
|
+
selector: 'vega-dropdown',
|
|
332
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
333
|
+
template: '<ng-content></ng-content>',
|
|
334
|
+
inputs: ['matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger']
|
|
335
|
+
})
|
|
336
|
+
export class VegaDropdown {
|
|
337
|
+
protected el: HTMLElement;
|
|
338
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
339
|
+
c.detach();
|
|
340
|
+
this.el = r.nativeElement;
|
|
341
|
+
proxyOutputs(this, this.el, ['vegaClick', 'vegaShow', 'vegaHide']);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
export declare interface VegaFlex extends Components.VegaFlex {}
|
|
347
|
+
|
|
348
|
+
@ProxyCmp({
|
|
349
|
+
defineCustomElementFn: undefined,
|
|
350
|
+
inputs: ['alignItem', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin']
|
|
351
|
+
})
|
|
352
|
+
@Component({
|
|
353
|
+
selector: 'vega-flex',
|
|
354
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
355
|
+
template: '<ng-content></ng-content>',
|
|
356
|
+
inputs: ['alignItem', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin']
|
|
357
|
+
})
|
|
358
|
+
export class VegaFlex {
|
|
359
|
+
protected el: HTMLElement;
|
|
360
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
361
|
+
c.detach();
|
|
362
|
+
this.el = r.nativeElement;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
export declare interface VegaFooter extends Components.VegaFooter {}
|
|
368
|
+
|
|
369
|
+
@ProxyCmp({
|
|
370
|
+
defineCustomElementFn: undefined,
|
|
371
|
+
inputs: ['privacyUrl', 'tosUrl']
|
|
372
|
+
})
|
|
373
|
+
@Component({
|
|
374
|
+
selector: 'vega-footer',
|
|
375
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
376
|
+
template: '<ng-content></ng-content>',
|
|
377
|
+
inputs: ['privacyUrl', 'tosUrl']
|
|
378
|
+
})
|
|
379
|
+
export class VegaFooter {
|
|
380
|
+
protected el: HTMLElement;
|
|
381
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
382
|
+
c.detach();
|
|
383
|
+
this.el = r.nativeElement;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
export declare interface VegaForm extends Components.VegaForm {}
|
|
389
|
+
|
|
390
|
+
@ProxyCmp({
|
|
391
|
+
defineCustomElementFn: undefined,
|
|
392
|
+
inputs: ['isTouched', 'isValid'],
|
|
393
|
+
methods: ['valid', 'getValue', 'setValue', 'reset']
|
|
394
|
+
})
|
|
395
|
+
@Component({
|
|
396
|
+
selector: 'vega-form',
|
|
397
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
398
|
+
template: '<ng-content></ng-content>',
|
|
399
|
+
inputs: ['isTouched', 'isValid']
|
|
400
|
+
})
|
|
401
|
+
export class VegaForm {
|
|
402
|
+
protected el: HTMLElement;
|
|
403
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
404
|
+
c.detach();
|
|
405
|
+
this.el = r.nativeElement;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
export declare interface VegaGrid extends Components.VegaGrid {}
|
|
411
|
+
|
|
412
|
+
@ProxyCmp({
|
|
413
|
+
defineCustomElementFn: undefined,
|
|
414
|
+
inputs: ['column', 'gap', 'row']
|
|
415
|
+
})
|
|
416
|
+
@Component({
|
|
417
|
+
selector: 'vega-grid',
|
|
418
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
419
|
+
template: '<ng-content></ng-content>',
|
|
420
|
+
inputs: ['column', 'gap', 'row']
|
|
421
|
+
})
|
|
422
|
+
export class VegaGrid {
|
|
423
|
+
protected el: HTMLElement;
|
|
424
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
425
|
+
c.detach();
|
|
426
|
+
this.el = r.nativeElement;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
export declare interface VegaHeader extends Components.VegaHeader {}
|
|
432
|
+
|
|
433
|
+
@ProxyCmp({
|
|
434
|
+
defineCustomElementFn: undefined
|
|
435
|
+
})
|
|
436
|
+
@Component({
|
|
437
|
+
selector: 'vega-header',
|
|
438
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
439
|
+
template: '<ng-content></ng-content>'
|
|
440
|
+
})
|
|
441
|
+
export class VegaHeader {
|
|
442
|
+
protected el: HTMLElement;
|
|
443
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
444
|
+
c.detach();
|
|
445
|
+
this.el = r.nativeElement;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
export declare interface VegaIcon extends Components.VegaIcon {}
|
|
451
|
+
|
|
452
|
+
@ProxyCmp({
|
|
453
|
+
defineCustomElementFn: undefined,
|
|
454
|
+
inputs: ['icon', 'size']
|
|
455
|
+
})
|
|
456
|
+
@Component({
|
|
457
|
+
selector: 'vega-icon',
|
|
458
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
459
|
+
template: '<ng-content></ng-content>',
|
|
460
|
+
inputs: ['icon', 'size']
|
|
461
|
+
})
|
|
462
|
+
export class VegaIcon {
|
|
463
|
+
protected el: HTMLElement;
|
|
464
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
465
|
+
c.detach();
|
|
466
|
+
this.el = r.nativeElement;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
export declare interface VegaInput extends Components.VegaInput {
|
|
472
|
+
/**
|
|
473
|
+
* event emitter used for notifying consumers the value change event
|
|
474
|
+
*/
|
|
475
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
476
|
+
/**
|
|
477
|
+
* event emitter used for notifying consumers the validation result change event
|
|
478
|
+
*/
|
|
479
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
480
|
+
/**
|
|
481
|
+
* Event emitted when the inner input element is blurred
|
|
482
|
+
*/
|
|
483
|
+
vegaBlur: EventEmitter<CustomEvent<undefined>>;
|
|
484
|
+
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
@ProxyCmp({
|
|
488
|
+
defineCustomElementFn: undefined,
|
|
489
|
+
inputs: ['autoValidation', 'autocomplete', 'disabled', 'email', 'formValidation', 'hint', 'inputId', 'isValid', 'label', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'placeholder', 'prefixIcon', 'required', 'showClearIcon', 'size', 'type', 'validationRules', 'value'],
|
|
490
|
+
methods: ['valid']
|
|
491
|
+
})
|
|
492
|
+
@Component({
|
|
493
|
+
selector: 'vega-input',
|
|
494
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
495
|
+
template: '<ng-content></ng-content>',
|
|
496
|
+
inputs: ['autoValidation', 'autocomplete', 'disabled', 'email', 'formValidation', 'hint', 'inputId', 'isValid', 'label', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'placeholder', 'prefixIcon', 'required', 'showClearIcon', 'size', 'type', 'validationRules', 'value']
|
|
497
|
+
})
|
|
498
|
+
export class VegaInput {
|
|
499
|
+
protected el: HTMLElement;
|
|
500
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
501
|
+
c.detach();
|
|
502
|
+
this.el = r.nativeElement;
|
|
503
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate', 'vegaBlur']);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
export declare interface VegaInputSelect extends Components.VegaInputSelect {
|
|
509
|
+
/**
|
|
510
|
+
* event emitter used for notifying consumers the select value change event
|
|
511
|
+
*/
|
|
512
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
513
|
+
/**
|
|
514
|
+
* event emitter used for notifying consumers the validation result change event
|
|
515
|
+
*/
|
|
516
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
517
|
+
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@ProxyCmp({
|
|
521
|
+
defineCustomElementFn: undefined,
|
|
522
|
+
inputs: ['autoValidation', 'disabled', 'formValidation', 'hint', 'isValid', 'label', 'placeholder', 'prefixIcon', 'required', 'source', 'validationRules', 'value', 'vegaDropdownProps'],
|
|
523
|
+
methods: ['doClose', 'doOpen', 'doChange', 'valid']
|
|
524
|
+
})
|
|
525
|
+
@Component({
|
|
526
|
+
selector: 'vega-input-select',
|
|
527
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
528
|
+
template: '<ng-content></ng-content>',
|
|
529
|
+
inputs: ['autoValidation', 'disabled', 'formValidation', 'hint', 'isValid', 'label', 'placeholder', 'prefixIcon', 'required', 'source', 'validationRules', 'value', 'vegaDropdownProps']
|
|
530
|
+
})
|
|
531
|
+
export class VegaInputSelect {
|
|
532
|
+
protected el: HTMLElement;
|
|
533
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
534
|
+
c.detach();
|
|
535
|
+
this.el = r.nativeElement;
|
|
536
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate']);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
export declare interface VegaItemToggle extends Components.VegaItemToggle {
|
|
542
|
+
/**
|
|
543
|
+
* event emitter used for notifying consumers the item is toggled
|
|
544
|
+
*/
|
|
545
|
+
vegaToggleStatus: EventEmitter<CustomEvent<boolean>>;
|
|
546
|
+
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
@ProxyCmp({
|
|
550
|
+
defineCustomElementFn: undefined,
|
|
551
|
+
inputs: ['isError', 'isToggled', 'itemToggleStatusMap']
|
|
552
|
+
})
|
|
553
|
+
@Component({
|
|
554
|
+
selector: 'vega-item-toggle',
|
|
555
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
556
|
+
template: '<ng-content></ng-content>',
|
|
557
|
+
inputs: ['isError', 'isToggled', 'itemToggleStatusMap']
|
|
558
|
+
})
|
|
559
|
+
export class VegaItemToggle {
|
|
560
|
+
protected el: HTMLElement;
|
|
561
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
562
|
+
c.detach();
|
|
563
|
+
this.el = r.nativeElement;
|
|
564
|
+
proxyOutputs(this, this.el, ['vegaToggleStatus']);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
export declare interface VegaModal extends Components.VegaModal {
|
|
570
|
+
/**
|
|
571
|
+
* event emitter used for notifying consumers the modal is closed
|
|
572
|
+
*/
|
|
573
|
+
vegaClose: EventEmitter<CustomEvent<any>>;
|
|
574
|
+
/**
|
|
575
|
+
* event emitter used for notifying consumers the modal is opened
|
|
576
|
+
*/
|
|
577
|
+
vegaOpen: EventEmitter<CustomEvent<any>>;
|
|
578
|
+
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
@ProxyCmp({
|
|
582
|
+
defineCustomElementFn: undefined,
|
|
583
|
+
inputs: ['animation', 'backdrop', 'backdropColor', 'isVerticallyCenter', 'modalTitle', 'open', 'showCloseButton', 'size'],
|
|
584
|
+
methods: ['modal']
|
|
585
|
+
})
|
|
586
|
+
@Component({
|
|
587
|
+
selector: 'vega-modal',
|
|
588
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
589
|
+
template: '<ng-content></ng-content>',
|
|
590
|
+
inputs: ['animation', 'backdrop', 'backdropColor', 'isVerticallyCenter', 'modalTitle', 'open', 'showCloseButton', 'size']
|
|
591
|
+
})
|
|
592
|
+
export class VegaModal {
|
|
593
|
+
protected el: HTMLElement;
|
|
594
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
595
|
+
c.detach();
|
|
596
|
+
this.el = r.nativeElement;
|
|
597
|
+
proxyOutputs(this, this.el, ['vegaClose', 'vegaOpen']);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
export declare interface VegaOption extends Components.VegaOption {}
|
|
603
|
+
|
|
604
|
+
@ProxyCmp({
|
|
605
|
+
defineCustomElementFn: undefined,
|
|
606
|
+
inputs: ['icon', 'label', 'subLabel']
|
|
607
|
+
})
|
|
608
|
+
@Component({
|
|
609
|
+
selector: 'vega-option',
|
|
610
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
611
|
+
template: '<ng-content></ng-content>',
|
|
612
|
+
inputs: ['icon', 'label', 'subLabel']
|
|
613
|
+
})
|
|
614
|
+
export class VegaOption {
|
|
615
|
+
protected el: HTMLElement;
|
|
616
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
617
|
+
c.detach();
|
|
618
|
+
this.el = r.nativeElement;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
export declare interface VegaPagination extends Components.VegaPagination {
|
|
624
|
+
/**
|
|
625
|
+
* event emitter used for notifying consumers the vega-pagination change event
|
|
626
|
+
*/
|
|
627
|
+
vegaChange: EventEmitter<CustomEvent<number>>;
|
|
628
|
+
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
@ProxyCmp({
|
|
632
|
+
defineCustomElementFn: undefined,
|
|
633
|
+
inputs: ['current', 'pageSize', 'total']
|
|
634
|
+
})
|
|
635
|
+
@Component({
|
|
636
|
+
selector: 'vega-pagination',
|
|
637
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
638
|
+
template: '<ng-content></ng-content>',
|
|
639
|
+
inputs: ['current', 'pageSize', 'total']
|
|
640
|
+
})
|
|
641
|
+
export class VegaPagination {
|
|
642
|
+
protected el: HTMLElement;
|
|
643
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
644
|
+
c.detach();
|
|
645
|
+
this.el = r.nativeElement;
|
|
646
|
+
proxyOutputs(this, this.el, ['vegaChange']);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
export declare interface VegaProgressTracker extends Components.VegaProgressTracker {
|
|
652
|
+
/**
|
|
653
|
+
* event emitter used for notifying consumers the progress is updated
|
|
654
|
+
*/
|
|
655
|
+
progressUpdated: EventEmitter<CustomEvent<any>>;
|
|
656
|
+
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
@ProxyCmp({
|
|
660
|
+
defineCustomElementFn: undefined,
|
|
661
|
+
inputs: ['breakpoint', 'direction', 'headline', 'steps'],
|
|
662
|
+
methods: ['setCurrent', 'getCurrent', 'setCompletedIndex', 'getCompletedIndex']
|
|
663
|
+
})
|
|
664
|
+
@Component({
|
|
665
|
+
selector: 'vega-progress-tracker',
|
|
666
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
667
|
+
template: '<ng-content></ng-content>',
|
|
668
|
+
inputs: ['breakpoint', 'direction', 'headline', 'steps']
|
|
669
|
+
})
|
|
670
|
+
export class VegaProgressTracker {
|
|
671
|
+
protected el: HTMLElement;
|
|
672
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
673
|
+
c.detach();
|
|
674
|
+
this.el = r.nativeElement;
|
|
675
|
+
proxyOutputs(this, this.el, ['progressUpdated']);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
export declare interface VegaRadio extends Components.VegaRadio {
|
|
681
|
+
/**
|
|
682
|
+
* event emitter used for notifying consumers the radio input is focused
|
|
683
|
+
*/
|
|
684
|
+
vegaFocus: EventEmitter<CustomEvent<any>>;
|
|
685
|
+
/**
|
|
686
|
+
* event emitter used for notifying consumers the radio input is blurred
|
|
687
|
+
*/
|
|
688
|
+
vegaBlur: EventEmitter<CustomEvent<any>>;
|
|
689
|
+
/**
|
|
690
|
+
* event emitter used for notifying consumers the check status of the radio input is changed
|
|
691
|
+
*/
|
|
692
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
693
|
+
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
@ProxyCmp({
|
|
697
|
+
defineCustomElementFn: undefined,
|
|
698
|
+
inputs: ['checked', 'disabled', 'name', 'value']
|
|
699
|
+
})
|
|
700
|
+
@Component({
|
|
701
|
+
selector: 'vega-radio',
|
|
702
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
703
|
+
template: '<ng-content></ng-content>',
|
|
704
|
+
inputs: ['checked', 'disabled', 'name', 'value']
|
|
705
|
+
})
|
|
706
|
+
export class VegaRadio {
|
|
707
|
+
protected el: HTMLElement;
|
|
708
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
709
|
+
c.detach();
|
|
710
|
+
this.el = r.nativeElement;
|
|
711
|
+
proxyOutputs(this, this.el, ['vegaFocus', 'vegaBlur', 'vegaChange']);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
export declare interface VegaRadioGroup extends Components.VegaRadioGroup {
|
|
717
|
+
/**
|
|
718
|
+
* event emitter used for notifying consumers the checked radio button in group is changed
|
|
719
|
+
*/
|
|
720
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
721
|
+
/**
|
|
722
|
+
* event emitter used for notifying consumers the validation result change event
|
|
723
|
+
*/
|
|
724
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
725
|
+
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
@ProxyCmp({
|
|
729
|
+
defineCustomElementFn: undefined,
|
|
730
|
+
inputs: ['formValidation', 'hint', 'isValid', 'label', 'name', 'required', 'value', 'vegaFlexProp'],
|
|
731
|
+
methods: ['valid']
|
|
732
|
+
})
|
|
733
|
+
@Component({
|
|
734
|
+
selector: 'vega-radio-group',
|
|
735
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
736
|
+
template: '<ng-content></ng-content>',
|
|
737
|
+
inputs: ['formValidation', 'hint', 'isValid', 'label', 'name', 'required', 'value', 'vegaFlexProp']
|
|
738
|
+
})
|
|
739
|
+
export class VegaRadioGroup {
|
|
740
|
+
protected el: HTMLElement;
|
|
741
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
742
|
+
c.detach();
|
|
743
|
+
this.el = r.nativeElement;
|
|
744
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate']);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
export declare interface VegaSidenav extends Components.VegaSidenav {
|
|
750
|
+
/**
|
|
751
|
+
* event emitter used for notifying consumers the nav menu close event
|
|
752
|
+
The below method is e2e-test covered in @see {module :vega-sidenav-toggle-and-vegaStateUpdate}
|
|
753
|
+
*/
|
|
754
|
+
vegaStateUpdate: EventEmitter<CustomEvent<string>>;
|
|
755
|
+
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
@ProxyCmp({
|
|
759
|
+
defineCustomElementFn: undefined,
|
|
760
|
+
inputs: ['footnote', 'headerConfig', 'openByDefault', 'source'],
|
|
761
|
+
methods: ['toggle']
|
|
762
|
+
})
|
|
763
|
+
@Component({
|
|
764
|
+
selector: 'vega-sidenav',
|
|
765
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
766
|
+
template: '<ng-content></ng-content>',
|
|
767
|
+
inputs: ['footnote', 'headerConfig', 'openByDefault', 'source']
|
|
768
|
+
})
|
|
769
|
+
export class VegaSidenav {
|
|
770
|
+
protected el: HTMLElement;
|
|
771
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
772
|
+
c.detach();
|
|
773
|
+
this.el = r.nativeElement;
|
|
774
|
+
proxyOutputs(this, this.el, ['vegaStateUpdate']);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
export declare interface VegaSidenavGroup extends Components.VegaSidenavGroup {}
|
|
780
|
+
|
|
781
|
+
@ProxyCmp({
|
|
782
|
+
defineCustomElementFn: undefined,
|
|
783
|
+
inputs: ['icon', 'label']
|
|
784
|
+
})
|
|
785
|
+
@Component({
|
|
786
|
+
selector: 'vega-sidenav-group',
|
|
787
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
788
|
+
template: '<ng-content></ng-content>',
|
|
789
|
+
inputs: ['icon', 'label']
|
|
790
|
+
})
|
|
791
|
+
export class VegaSidenavGroup {
|
|
792
|
+
protected el: HTMLElement;
|
|
793
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
794
|
+
c.detach();
|
|
795
|
+
this.el = r.nativeElement;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
export declare interface VegaSidenavLink extends Components.VegaSidenavLink {
|
|
801
|
+
/**
|
|
802
|
+
* The below method is e2e-test covered in @see {module :vega-sidenav-link-click-event}
|
|
803
|
+
*/
|
|
804
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
805
|
+
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
@ProxyCmp({
|
|
809
|
+
defineCustomElementFn: undefined,
|
|
810
|
+
inputs: ['icon', 'selected', 'url']
|
|
811
|
+
})
|
|
812
|
+
@Component({
|
|
813
|
+
selector: 'vega-sidenav-link',
|
|
814
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
815
|
+
template: '<ng-content></ng-content>',
|
|
816
|
+
inputs: ['icon', 'selected', 'url']
|
|
817
|
+
})
|
|
818
|
+
export class VegaSidenavLink {
|
|
819
|
+
protected el: HTMLElement;
|
|
820
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
821
|
+
c.detach();
|
|
822
|
+
this.el = r.nativeElement;
|
|
823
|
+
proxyOutputs(this, this.el, ['vegaClick']);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
export declare interface VegaStepper extends Components.VegaStepper {
|
|
829
|
+
/**
|
|
830
|
+
* event emitter used for notifying consumers the stepper value is changed
|
|
831
|
+
*/
|
|
832
|
+
vegaChange: EventEmitter<CustomEvent<number>>;
|
|
833
|
+
/**
|
|
834
|
+
* event emitter used for notifying consumers the validation result change event
|
|
835
|
+
*/
|
|
836
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
837
|
+
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
@ProxyCmp({
|
|
841
|
+
defineCustomElementFn: undefined,
|
|
842
|
+
inputs: ['disabled', 'formValidation', 'isValid', 'label', 'max', 'min', 'required', 'stepperId', 'value'],
|
|
843
|
+
methods: ['valid']
|
|
844
|
+
})
|
|
845
|
+
@Component({
|
|
846
|
+
selector: 'vega-stepper',
|
|
847
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
848
|
+
template: '<ng-content></ng-content>',
|
|
849
|
+
inputs: ['disabled', 'formValidation', 'isValid', 'label', 'max', 'min', 'required', 'stepperId', 'value']
|
|
850
|
+
})
|
|
851
|
+
export class VegaStepper {
|
|
852
|
+
protected el: HTMLElement;
|
|
853
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
854
|
+
c.detach();
|
|
855
|
+
this.el = r.nativeElement;
|
|
856
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate']);
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
export declare interface VegaTabGroup extends Components.VegaTabGroup {
|
|
862
|
+
/**
|
|
863
|
+
* event emitter used for notifying consumers the tab is clicked
|
|
864
|
+
*/
|
|
865
|
+
vegaClick: EventEmitter<CustomEvent<string>>;
|
|
866
|
+
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
@ProxyCmp({
|
|
870
|
+
defineCustomElementFn: undefined,
|
|
871
|
+
inputs: ['gap', 'positionRelativeTo', 'selectedTabDataTarget', 'showCloseButton', 'tabItems']
|
|
872
|
+
})
|
|
873
|
+
@Component({
|
|
874
|
+
selector: 'vega-tab-group',
|
|
875
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
876
|
+
template: '<ng-content></ng-content>',
|
|
877
|
+
inputs: ['gap', 'positionRelativeTo', 'selectedTabDataTarget', 'showCloseButton', 'tabItems']
|
|
878
|
+
})
|
|
879
|
+
export class VegaTabGroup {
|
|
880
|
+
protected el: HTMLElement;
|
|
881
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
882
|
+
c.detach();
|
|
883
|
+
this.el = r.nativeElement;
|
|
884
|
+
proxyOutputs(this, this.el, ['vegaClick']);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
import type { VegaTableChangePropType as IVegaTableVegaTableChangePropType } from '@heartlandone/vega/dist/types/components/vega-table/vega-table';
|
|
889
|
+
import type { VegaTableRowClickPropType as IVegaTableVegaTableRowClickPropType } from '@heartlandone/vega/dist/types/components/vega-table/vega-table';
|
|
890
|
+
export declare interface VegaTable extends Components.VegaTable {
|
|
891
|
+
/**
|
|
892
|
+
* Event emitter used for notifying consumers the vega-table change event
|
|
893
|
+
*/
|
|
894
|
+
vegaChange: EventEmitter<CustomEvent<IVegaTableVegaTableChangePropType>>;
|
|
895
|
+
/**
|
|
896
|
+
* Event emitter used for notifying consumers the vega-table row click event
|
|
897
|
+
*/
|
|
898
|
+
vegaRowClick: EventEmitter<CustomEvent<IVegaTableVegaTableRowClickPropType>>;
|
|
899
|
+
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
@ProxyCmp({
|
|
903
|
+
defineCustomElementFn: undefined,
|
|
904
|
+
inputs: ['columnDivider', 'columns', 'dataSource', 'density', 'paddingX', 'rowClickable', 'rowDivider', 'rowExpandable', 'rowSelection', 'showHeader', 'striped'],
|
|
905
|
+
methods: ['openExpandRow', 'closeExpandRow', 'closeAllExpandRow', 'toggleExpandRow', 'clearSelection', 'getSelection', 'setSelection']
|
|
906
|
+
})
|
|
907
|
+
@Component({
|
|
908
|
+
selector: 'vega-table',
|
|
909
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
910
|
+
template: '<ng-content></ng-content>',
|
|
911
|
+
inputs: ['columnDivider', 'columns', 'dataSource', 'density', 'paddingX', 'rowClickable', 'rowDivider', 'rowExpandable', 'rowSelection', 'showHeader', 'striped']
|
|
912
|
+
})
|
|
913
|
+
export class VegaTable {
|
|
914
|
+
protected el: HTMLElement;
|
|
915
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
916
|
+
c.detach();
|
|
917
|
+
this.el = r.nativeElement;
|
|
918
|
+
proxyOutputs(this, this.el, ['vegaChange', 'vegaRowClick']);
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
export declare interface VegaToggleSwitch extends Components.VegaToggleSwitch {
|
|
924
|
+
/**
|
|
925
|
+
* event emitter used for notifying consumers the toggle switch is changed
|
|
926
|
+
*/
|
|
927
|
+
vegaChange: EventEmitter<CustomEvent<boolean>>;
|
|
928
|
+
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
@ProxyCmp({
|
|
932
|
+
defineCustomElementFn: undefined,
|
|
933
|
+
inputs: ['checked', 'disabled', 'label', 'size']
|
|
934
|
+
})
|
|
935
|
+
@Component({
|
|
936
|
+
selector: 'vega-toggle-switch',
|
|
937
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
938
|
+
template: '<ng-content></ng-content>',
|
|
939
|
+
inputs: ['checked', 'disabled', 'label', 'size']
|
|
940
|
+
})
|
|
941
|
+
export class VegaToggleSwitch {
|
|
942
|
+
protected el: HTMLElement;
|
|
943
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
944
|
+
c.detach();
|
|
945
|
+
this.el = r.nativeElement;
|
|
946
|
+
proxyOutputs(this, this.el, ['vegaChange']);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
export declare interface VegaTooltip extends Components.VegaTooltip {}
|
|
952
|
+
|
|
953
|
+
@ProxyCmp({
|
|
954
|
+
defineCustomElementFn: undefined,
|
|
955
|
+
inputs: ['content', 'placement', 'positionRelativeTo', 'size', 'trigger']
|
|
956
|
+
})
|
|
957
|
+
@Component({
|
|
958
|
+
selector: 'vega-tooltip',
|
|
959
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
960
|
+
template: '<ng-content></ng-content>',
|
|
961
|
+
inputs: ['content', 'placement', 'positionRelativeTo', 'size', 'trigger']
|
|
962
|
+
})
|
|
963
|
+
export class VegaTooltip {
|
|
964
|
+
protected el: HTMLElement;
|
|
965
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
966
|
+
c.detach();
|
|
967
|
+
this.el = r.nativeElement;
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
export default [
|
|
972
|
+
VegaAccordion,
|
|
973
|
+
VegaAppFooter,
|
|
974
|
+
VegaBadge,
|
|
975
|
+
VegaButton,
|
|
976
|
+
VegaButtonCircle,
|
|
977
|
+
VegaButtonLink,
|
|
978
|
+
VegaCard,
|
|
979
|
+
VegaCarousel,
|
|
980
|
+
VegaCheckbox,
|
|
981
|
+
VegaCheckboxGroup,
|
|
982
|
+
VegaDatePicker,
|
|
983
|
+
VegaDropdown,
|
|
984
|
+
VegaFlex,
|
|
985
|
+
VegaFooter,
|
|
986
|
+
VegaForm,
|
|
987
|
+
VegaGrid,
|
|
988
|
+
VegaHeader,
|
|
989
|
+
VegaIcon,
|
|
990
|
+
VegaInput,
|
|
991
|
+
VegaInputSelect,
|
|
992
|
+
VegaItemToggle,
|
|
993
|
+
VegaModal,
|
|
994
|
+
VegaOption,
|
|
995
|
+
VegaPagination,
|
|
996
|
+
VegaProgressTracker,
|
|
997
|
+
VegaRadio,
|
|
998
|
+
VegaRadioGroup,
|
|
999
|
+
VegaSidenav,
|
|
1000
|
+
VegaSidenavGroup,
|
|
1001
|
+
VegaSidenavLink,
|
|
1002
|
+
VegaStepper,
|
|
1003
|
+
VegaTabGroup,
|
|
1004
|
+
VegaTable,
|
|
1005
|
+
VegaToggleSwitch,
|
|
1006
|
+
VegaTooltip,
|
|
1007
|
+
];
|