@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,467 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
+
import { Components } from '@heartlandone/vega';
|
|
3
|
+
import type { VegaTableChangePropType as IVegaTableVegaTableChangePropType } from '@heartlandone/vega/dist/types/components/vega-table/vega-table';
|
|
4
|
+
import type { VegaTableRowClickPropType as IVegaTableVegaTableRowClickPropType } from '@heartlandone/vega/dist/types/components/vega-table/vega-table';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare interface VegaAccordion extends Components.VegaAccordion {
|
|
7
|
+
/**
|
|
8
|
+
* expand event, it return a boolean.
|
|
9
|
+
*/
|
|
10
|
+
vegaExpand: EventEmitter<CustomEvent<boolean>>;
|
|
11
|
+
}
|
|
12
|
+
export declare class VegaAccordion {
|
|
13
|
+
protected z: NgZone;
|
|
14
|
+
protected el: HTMLElement;
|
|
15
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaAccordion, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaAccordion, "vega-accordion", never, { "accordionTitle": "accordionTitle"; "drawsBackground": "drawsBackground"; "expand": "expand"; "expandIconAlign": "expandIconAlign"; "groupId": "groupId"; "prefixIcon": "prefixIcon"; "showExpandIcon": "showExpandIcon"; }, {}, never, ["*"]>;
|
|
18
|
+
}
|
|
19
|
+
export declare interface VegaAppFooter extends Components.VegaAppFooter {
|
|
20
|
+
}
|
|
21
|
+
export declare class VegaAppFooter {
|
|
22
|
+
protected z: NgZone;
|
|
23
|
+
protected el: HTMLElement;
|
|
24
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaAppFooter, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaAppFooter, "vega-app-footer", never, { "privacyUrl": "privacyUrl"; "showDisclaimer": "showDisclaimer"; "tosUrl": "tosUrl"; }, {}, never, ["*"]>;
|
|
27
|
+
}
|
|
28
|
+
export declare interface VegaBadge extends Components.VegaBadge {
|
|
29
|
+
}
|
|
30
|
+
export declare class VegaBadge {
|
|
31
|
+
protected z: NgZone;
|
|
32
|
+
protected el: HTMLElement;
|
|
33
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaBadge, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaBadge, "vega-badge", never, { "bgColor": "bgColor"; "size": "size"; "text": "text"; "textColor": "textColor"; }, {}, never, ["*"]>;
|
|
36
|
+
}
|
|
37
|
+
export declare interface VegaButton extends Components.VegaButton {
|
|
38
|
+
/**
|
|
39
|
+
* event emitter used for notifying consumers the button is clicked
|
|
40
|
+
*/
|
|
41
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
42
|
+
}
|
|
43
|
+
export declare class VegaButton {
|
|
44
|
+
protected z: NgZone;
|
|
45
|
+
protected el: HTMLElement;
|
|
46
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaButton, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaButton, "vega-button", never, { "block": "block"; "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconAlign": "iconAlign"; "label": "label"; "size": "size"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
49
|
+
}
|
|
50
|
+
export declare interface VegaButtonCircle extends Components.VegaButtonCircle {
|
|
51
|
+
/**
|
|
52
|
+
* event emitter used for notifying consumers the button is clicked
|
|
53
|
+
*/
|
|
54
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
55
|
+
}
|
|
56
|
+
export declare class VegaButtonCircle {
|
|
57
|
+
protected z: NgZone;
|
|
58
|
+
protected el: HTMLElement;
|
|
59
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonCircle, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonCircle, "vega-button-circle", never, { "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "label": "label"; "size": "size"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
62
|
+
}
|
|
63
|
+
export declare interface VegaButtonLink extends Components.VegaButtonLink {
|
|
64
|
+
/**
|
|
65
|
+
* event emitter used for notifying consumers the click event
|
|
66
|
+
*/
|
|
67
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
68
|
+
}
|
|
69
|
+
export declare class VegaButtonLink {
|
|
70
|
+
protected z: NgZone;
|
|
71
|
+
protected el: HTMLElement;
|
|
72
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonLink, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonLink, "vega-button-link", never, { "danger": "danger"; "disabled": "disabled"; "eventful": "eventful"; "icon": "icon"; "iconAlign": "iconAlign"; "iconType": "iconType"; "label": "label"; "link": "link"; "size": "size"; }, {}, never, ["*"]>;
|
|
75
|
+
}
|
|
76
|
+
export declare interface VegaCard extends Components.VegaCard {
|
|
77
|
+
}
|
|
78
|
+
export declare class VegaCard {
|
|
79
|
+
protected z: NgZone;
|
|
80
|
+
protected el: HTMLElement;
|
|
81
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaCard, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaCard, "vega-card", never, { "backgroundColor": "backgroundColor"; "margin": "margin"; "padding": "padding"; "shadow": "shadow"; }, {}, never, ["*"]>;
|
|
84
|
+
}
|
|
85
|
+
export declare interface VegaCarousel extends Components.VegaCarousel {
|
|
86
|
+
/**
|
|
87
|
+
* event emitter used for notifying consumers the page update event and the page is 1 default.
|
|
88
|
+
*/
|
|
89
|
+
vegaPageUpdate: EventEmitter<CustomEvent<number>>;
|
|
90
|
+
}
|
|
91
|
+
export declare class VegaCarousel {
|
|
92
|
+
protected z: NgZone;
|
|
93
|
+
protected el: HTMLElement;
|
|
94
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaCarousel, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaCarousel, "vega-carousel", never, { "perPage": "perPage"; "showSlider": "showSlider"; "spacing": "spacing"; }, {}, never, ["*"]>;
|
|
97
|
+
}
|
|
98
|
+
export declare interface VegaCheckbox extends Components.VegaCheckbox {
|
|
99
|
+
/**
|
|
100
|
+
* The below method is e2e-test covered in @see {module :vega-checkbox-change}
|
|
101
|
+
*/
|
|
102
|
+
vegaChange: EventEmitter<CustomEvent<boolean>>;
|
|
103
|
+
}
|
|
104
|
+
export declare class VegaCheckbox {
|
|
105
|
+
protected z: NgZone;
|
|
106
|
+
protected el: HTMLElement;
|
|
107
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaCheckbox, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaCheckbox, "vega-checkbox", never, { "checked": "checked"; "disabled": "disabled"; "size": "size"; "value": "value"; }, {}, never, ["*"]>;
|
|
110
|
+
}
|
|
111
|
+
export declare interface VegaCheckboxGroup extends Components.VegaCheckboxGroup {
|
|
112
|
+
/**
|
|
113
|
+
* event emitter used for notifying consumers any of checkbox value change event
|
|
114
|
+
*/
|
|
115
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
116
|
+
/**
|
|
117
|
+
* event emitter used for notifying consumers the validation result change event
|
|
118
|
+
*/
|
|
119
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
120
|
+
}
|
|
121
|
+
export declare class VegaCheckboxGroup {
|
|
122
|
+
protected z: NgZone;
|
|
123
|
+
protected el: HTMLElement;
|
|
124
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaCheckboxGroup, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaCheckboxGroup, "vega-checkbox-group", never, { "disabled": "disabled"; "formValidation": "formValidation"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "required": "required"; "value": "value"; "vegaFlexProp": "vegaFlexProp"; }, {}, never, ["*"]>;
|
|
127
|
+
}
|
|
128
|
+
export declare interface VegaDatePicker extends Components.VegaDatePicker {
|
|
129
|
+
/**
|
|
130
|
+
* event emitter used for notifying consumers the date picker value change event
|
|
131
|
+
*/
|
|
132
|
+
vegaChange: EventEmitter<CustomEvent<string | string[]>>;
|
|
133
|
+
/**
|
|
134
|
+
* event emitter used for notifying consumers the validation result change event
|
|
135
|
+
*/
|
|
136
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
137
|
+
}
|
|
138
|
+
export declare class VegaDatePicker {
|
|
139
|
+
protected z: NgZone;
|
|
140
|
+
protected el: HTMLElement;
|
|
141
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaDatePicker, never>;
|
|
143
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDatePicker, "vega-date-picker", never, { "allowRepick": "allowRepick"; "autoValidation": "autoValidation"; "clearButton": "clearButton"; "disabled": "disabled"; "formValidation": "formValidation"; "format": "format"; "isValid": "isValid"; "label": "label"; "maxDate": "maxDate"; "minDate": "minDate"; "mode": "mode"; "placeholder": "placeholder"; "readOnly": "readOnly"; "required": "required"; "size": "size"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
|
|
144
|
+
}
|
|
145
|
+
export declare interface VegaDropdown extends Components.VegaDropdown {
|
|
146
|
+
/**
|
|
147
|
+
* event emitter used for notifying consumers which the dropdown item is clicked
|
|
148
|
+
*/
|
|
149
|
+
vegaClick: EventEmitter<CustomEvent<string>>;
|
|
150
|
+
/**
|
|
151
|
+
* event emitter used for notifying consumers the dropdown have show
|
|
152
|
+
*/
|
|
153
|
+
vegaShow: EventEmitter<CustomEvent<string>>;
|
|
154
|
+
/**
|
|
155
|
+
* event emitter used for notifying consumers the dropdown have hide
|
|
156
|
+
*/
|
|
157
|
+
vegaHide: EventEmitter<CustomEvent<string>>;
|
|
158
|
+
}
|
|
159
|
+
export declare class VegaDropdown {
|
|
160
|
+
protected z: NgZone;
|
|
161
|
+
protected el: HTMLElement;
|
|
162
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaDropdown, never>;
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdown, "vega-dropdown", never, { "matchContainerHeight": "matchContainerHeight"; "matchTargetWidth": "matchTargetWidth"; "maxHeight": "maxHeight"; "positionRelativeTo": "positionRelativeTo"; "searchable": "searchable"; "selectType": "selectType"; "selectedSourceKey": "selectedSourceKey"; "size": "size"; "source": "source"; "translocation": "translocation"; "trigger": "trigger"; }, {}, never, ["*"]>;
|
|
165
|
+
}
|
|
166
|
+
export declare interface VegaFlex extends Components.VegaFlex {
|
|
167
|
+
}
|
|
168
|
+
export declare class VegaFlex {
|
|
169
|
+
protected z: NgZone;
|
|
170
|
+
protected el: HTMLElement;
|
|
171
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaFlex, never>;
|
|
173
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaFlex, "vega-flex", never, { "alignItem": "alignItem"; "breakpoint": "breakpoint"; "direction": "direction"; "gap": "gap"; "justifyContent": "justifyContent"; "margin": "margin"; }, {}, never, ["*"]>;
|
|
174
|
+
}
|
|
175
|
+
export declare interface VegaFooter extends Components.VegaFooter {
|
|
176
|
+
}
|
|
177
|
+
export declare class VegaFooter {
|
|
178
|
+
protected z: NgZone;
|
|
179
|
+
protected el: HTMLElement;
|
|
180
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaFooter, never>;
|
|
182
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaFooter, "vega-footer", never, { "privacyUrl": "privacyUrl"; "tosUrl": "tosUrl"; }, {}, never, ["*"]>;
|
|
183
|
+
}
|
|
184
|
+
export declare interface VegaForm extends Components.VegaForm {
|
|
185
|
+
}
|
|
186
|
+
export declare class VegaForm {
|
|
187
|
+
protected z: NgZone;
|
|
188
|
+
protected el: HTMLElement;
|
|
189
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaForm, never>;
|
|
191
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaForm, "vega-form", never, { "isTouched": "isTouched"; "isValid": "isValid"; }, {}, never, ["*"]>;
|
|
192
|
+
}
|
|
193
|
+
export declare interface VegaGrid extends Components.VegaGrid {
|
|
194
|
+
}
|
|
195
|
+
export declare class VegaGrid {
|
|
196
|
+
protected z: NgZone;
|
|
197
|
+
protected el: HTMLElement;
|
|
198
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaGrid, never>;
|
|
200
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaGrid, "vega-grid", never, { "column": "column"; "gap": "gap"; "row": "row"; }, {}, never, ["*"]>;
|
|
201
|
+
}
|
|
202
|
+
export declare interface VegaHeader extends Components.VegaHeader {
|
|
203
|
+
}
|
|
204
|
+
export declare class VegaHeader {
|
|
205
|
+
protected z: NgZone;
|
|
206
|
+
protected el: HTMLElement;
|
|
207
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaHeader, never>;
|
|
209
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaHeader, "vega-header", never, {}, {}, never, ["*"]>;
|
|
210
|
+
}
|
|
211
|
+
export declare interface VegaIcon extends Components.VegaIcon {
|
|
212
|
+
}
|
|
213
|
+
export declare class VegaIcon {
|
|
214
|
+
protected z: NgZone;
|
|
215
|
+
protected el: HTMLElement;
|
|
216
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
217
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaIcon, never>;
|
|
218
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaIcon, "vega-icon", never, { "icon": "icon"; "size": "size"; }, {}, never, ["*"]>;
|
|
219
|
+
}
|
|
220
|
+
export declare interface VegaInput extends Components.VegaInput {
|
|
221
|
+
/**
|
|
222
|
+
* event emitter used for notifying consumers the value change event
|
|
223
|
+
*/
|
|
224
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
225
|
+
/**
|
|
226
|
+
* event emitter used for notifying consumers the validation result change event
|
|
227
|
+
*/
|
|
228
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
229
|
+
/**
|
|
230
|
+
* Event emitted when the inner input element is blurred
|
|
231
|
+
*/
|
|
232
|
+
vegaBlur: EventEmitter<CustomEvent<undefined>>;
|
|
233
|
+
}
|
|
234
|
+
export declare class VegaInput {
|
|
235
|
+
protected z: NgZone;
|
|
236
|
+
protected el: HTMLElement;
|
|
237
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaInput, never>;
|
|
239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaInput, "vega-input", never, { "autoValidation": "autoValidation"; "autocomplete": "autocomplete"; "disabled": "disabled"; "email": "email"; "formValidation": "formValidation"; "hint": "hint"; "inputId": "inputId"; "isValid": "isValid"; "label": "label"; "maskConfig": "maskConfig"; "max": "max"; "maxLength": "maxLength"; "min": "min"; "minLength": "minLength"; "placeholder": "placeholder"; "prefixIcon": "prefixIcon"; "required": "required"; "showClearIcon": "showClearIcon"; "size": "size"; "type": "type"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
|
|
240
|
+
}
|
|
241
|
+
export declare interface VegaInputSelect extends Components.VegaInputSelect {
|
|
242
|
+
/**
|
|
243
|
+
* event emitter used for notifying consumers the select value change event
|
|
244
|
+
*/
|
|
245
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
246
|
+
/**
|
|
247
|
+
* event emitter used for notifying consumers the validation result change event
|
|
248
|
+
*/
|
|
249
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
250
|
+
}
|
|
251
|
+
export declare class VegaInputSelect {
|
|
252
|
+
protected z: NgZone;
|
|
253
|
+
protected el: HTMLElement;
|
|
254
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaInputSelect, never>;
|
|
256
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaInputSelect, "vega-input-select", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "formValidation": "formValidation"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "placeholder": "placeholder"; "prefixIcon": "prefixIcon"; "required": "required"; "source": "source"; "validationRules": "validationRules"; "value": "value"; "vegaDropdownProps": "vegaDropdownProps"; }, {}, never, ["*"]>;
|
|
257
|
+
}
|
|
258
|
+
export declare interface VegaItemToggle extends Components.VegaItemToggle {
|
|
259
|
+
/**
|
|
260
|
+
* event emitter used for notifying consumers the item is toggled
|
|
261
|
+
*/
|
|
262
|
+
vegaToggleStatus: EventEmitter<CustomEvent<boolean>>;
|
|
263
|
+
}
|
|
264
|
+
export declare class VegaItemToggle {
|
|
265
|
+
protected z: NgZone;
|
|
266
|
+
protected el: HTMLElement;
|
|
267
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaItemToggle, never>;
|
|
269
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaItemToggle, "vega-item-toggle", never, { "isError": "isError"; "isToggled": "isToggled"; "itemToggleStatusMap": "itemToggleStatusMap"; }, {}, never, ["*"]>;
|
|
270
|
+
}
|
|
271
|
+
export declare interface VegaModal extends Components.VegaModal {
|
|
272
|
+
/**
|
|
273
|
+
* event emitter used for notifying consumers the modal is closed
|
|
274
|
+
*/
|
|
275
|
+
vegaClose: EventEmitter<CustomEvent<any>>;
|
|
276
|
+
/**
|
|
277
|
+
* event emitter used for notifying consumers the modal is opened
|
|
278
|
+
*/
|
|
279
|
+
vegaOpen: EventEmitter<CustomEvent<any>>;
|
|
280
|
+
}
|
|
281
|
+
export declare class VegaModal {
|
|
282
|
+
protected z: NgZone;
|
|
283
|
+
protected el: HTMLElement;
|
|
284
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
285
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaModal, never>;
|
|
286
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaModal, "vega-modal", never, { "animation": "animation"; "backdrop": "backdrop"; "backdropColor": "backdropColor"; "isVerticallyCenter": "isVerticallyCenter"; "modalTitle": "modalTitle"; "open": "open"; "showCloseButton": "showCloseButton"; "size": "size"; }, {}, never, ["*"]>;
|
|
287
|
+
}
|
|
288
|
+
export declare interface VegaOption extends Components.VegaOption {
|
|
289
|
+
}
|
|
290
|
+
export declare class VegaOption {
|
|
291
|
+
protected z: NgZone;
|
|
292
|
+
protected el: HTMLElement;
|
|
293
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
294
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaOption, never>;
|
|
295
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaOption, "vega-option", never, { "icon": "icon"; "label": "label"; "subLabel": "subLabel"; }, {}, never, ["*"]>;
|
|
296
|
+
}
|
|
297
|
+
export declare interface VegaPagination extends Components.VegaPagination {
|
|
298
|
+
/**
|
|
299
|
+
* event emitter used for notifying consumers the vega-pagination change event
|
|
300
|
+
*/
|
|
301
|
+
vegaChange: EventEmitter<CustomEvent<number>>;
|
|
302
|
+
}
|
|
303
|
+
export declare class VegaPagination {
|
|
304
|
+
protected z: NgZone;
|
|
305
|
+
protected el: HTMLElement;
|
|
306
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
307
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaPagination, never>;
|
|
308
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaPagination, "vega-pagination", never, { "current": "current"; "pageSize": "pageSize"; "total": "total"; }, {}, never, ["*"]>;
|
|
309
|
+
}
|
|
310
|
+
export declare interface VegaProgressTracker extends Components.VegaProgressTracker {
|
|
311
|
+
/**
|
|
312
|
+
* event emitter used for notifying consumers the progress is updated
|
|
313
|
+
*/
|
|
314
|
+
progressUpdated: EventEmitter<CustomEvent<any>>;
|
|
315
|
+
}
|
|
316
|
+
export declare class VegaProgressTracker {
|
|
317
|
+
protected z: NgZone;
|
|
318
|
+
protected el: HTMLElement;
|
|
319
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
320
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaProgressTracker, never>;
|
|
321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaProgressTracker, "vega-progress-tracker", never, { "breakpoint": "breakpoint"; "direction": "direction"; "headline": "headline"; "steps": "steps"; }, {}, never, ["*"]>;
|
|
322
|
+
}
|
|
323
|
+
export declare interface VegaRadio extends Components.VegaRadio {
|
|
324
|
+
/**
|
|
325
|
+
* event emitter used for notifying consumers the radio input is focused
|
|
326
|
+
*/
|
|
327
|
+
vegaFocus: EventEmitter<CustomEvent<any>>;
|
|
328
|
+
/**
|
|
329
|
+
* event emitter used for notifying consumers the radio input is blurred
|
|
330
|
+
*/
|
|
331
|
+
vegaBlur: EventEmitter<CustomEvent<any>>;
|
|
332
|
+
/**
|
|
333
|
+
* event emitter used for notifying consumers the check status of the radio input is changed
|
|
334
|
+
*/
|
|
335
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
336
|
+
}
|
|
337
|
+
export declare class VegaRadio {
|
|
338
|
+
protected z: NgZone;
|
|
339
|
+
protected el: HTMLElement;
|
|
340
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
341
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaRadio, never>;
|
|
342
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaRadio, "vega-radio", never, { "checked": "checked"; "disabled": "disabled"; "name": "name"; "value": "value"; }, {}, never, ["*"]>;
|
|
343
|
+
}
|
|
344
|
+
export declare interface VegaRadioGroup extends Components.VegaRadioGroup {
|
|
345
|
+
/**
|
|
346
|
+
* event emitter used for notifying consumers the checked radio button in group is changed
|
|
347
|
+
*/
|
|
348
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
349
|
+
/**
|
|
350
|
+
* event emitter used for notifying consumers the validation result change event
|
|
351
|
+
*/
|
|
352
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
353
|
+
}
|
|
354
|
+
export declare class VegaRadioGroup {
|
|
355
|
+
protected z: NgZone;
|
|
356
|
+
protected el: HTMLElement;
|
|
357
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
358
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaRadioGroup, never>;
|
|
359
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaRadioGroup, "vega-radio-group", never, { "formValidation": "formValidation"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "name": "name"; "required": "required"; "value": "value"; "vegaFlexProp": "vegaFlexProp"; }, {}, never, ["*"]>;
|
|
360
|
+
}
|
|
361
|
+
export declare interface VegaSidenav extends Components.VegaSidenav {
|
|
362
|
+
/**
|
|
363
|
+
* event emitter used for notifying consumers the nav menu close event
|
|
364
|
+
The below method is e2e-test covered in @see {module :vega-sidenav-toggle-and-vegaStateUpdate}
|
|
365
|
+
*/
|
|
366
|
+
vegaStateUpdate: EventEmitter<CustomEvent<string>>;
|
|
367
|
+
}
|
|
368
|
+
export declare class VegaSidenav {
|
|
369
|
+
protected z: NgZone;
|
|
370
|
+
protected el: HTMLElement;
|
|
371
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
372
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaSidenav, never>;
|
|
373
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaSidenav, "vega-sidenav", never, { "footnote": "footnote"; "headerConfig": "headerConfig"; "openByDefault": "openByDefault"; "source": "source"; }, {}, never, ["*"]>;
|
|
374
|
+
}
|
|
375
|
+
export declare interface VegaSidenavGroup extends Components.VegaSidenavGroup {
|
|
376
|
+
}
|
|
377
|
+
export declare class VegaSidenavGroup {
|
|
378
|
+
protected z: NgZone;
|
|
379
|
+
protected el: HTMLElement;
|
|
380
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
381
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaSidenavGroup, never>;
|
|
382
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaSidenavGroup, "vega-sidenav-group", never, { "icon": "icon"; "label": "label"; }, {}, never, ["*"]>;
|
|
383
|
+
}
|
|
384
|
+
export declare interface VegaSidenavLink extends Components.VegaSidenavLink {
|
|
385
|
+
/**
|
|
386
|
+
* The below method is e2e-test covered in @see {module :vega-sidenav-link-click-event}
|
|
387
|
+
*/
|
|
388
|
+
vegaClick: EventEmitter<CustomEvent<any>>;
|
|
389
|
+
}
|
|
390
|
+
export declare class VegaSidenavLink {
|
|
391
|
+
protected z: NgZone;
|
|
392
|
+
protected el: HTMLElement;
|
|
393
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
394
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaSidenavLink, never>;
|
|
395
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaSidenavLink, "vega-sidenav-link", never, { "icon": "icon"; "selected": "selected"; "url": "url"; }, {}, never, ["*"]>;
|
|
396
|
+
}
|
|
397
|
+
export declare interface VegaStepper extends Components.VegaStepper {
|
|
398
|
+
/**
|
|
399
|
+
* event emitter used for notifying consumers the stepper value is changed
|
|
400
|
+
*/
|
|
401
|
+
vegaChange: EventEmitter<CustomEvent<number>>;
|
|
402
|
+
/**
|
|
403
|
+
* event emitter used for notifying consumers the validation result change event
|
|
404
|
+
*/
|
|
405
|
+
vegaValidate: EventEmitter<CustomEvent<boolean>>;
|
|
406
|
+
}
|
|
407
|
+
export declare class VegaStepper {
|
|
408
|
+
protected z: NgZone;
|
|
409
|
+
protected el: HTMLElement;
|
|
410
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
411
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaStepper, never>;
|
|
412
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaStepper, "vega-stepper", never, { "disabled": "disabled"; "formValidation": "formValidation"; "isValid": "isValid"; "label": "label"; "max": "max"; "min": "min"; "required": "required"; "stepperId": "stepperId"; "value": "value"; }, {}, never, ["*"]>;
|
|
413
|
+
}
|
|
414
|
+
export declare interface VegaTabGroup extends Components.VegaTabGroup {
|
|
415
|
+
/**
|
|
416
|
+
* event emitter used for notifying consumers the tab is clicked
|
|
417
|
+
*/
|
|
418
|
+
vegaClick: EventEmitter<CustomEvent<string>>;
|
|
419
|
+
}
|
|
420
|
+
export declare class VegaTabGroup {
|
|
421
|
+
protected z: NgZone;
|
|
422
|
+
protected el: HTMLElement;
|
|
423
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
424
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTabGroup, never>;
|
|
425
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTabGroup, "vega-tab-group", never, { "gap": "gap"; "positionRelativeTo": "positionRelativeTo"; "selectedTabDataTarget": "selectedTabDataTarget"; "showCloseButton": "showCloseButton"; "tabItems": "tabItems"; }, {}, never, ["*"]>;
|
|
426
|
+
}
|
|
427
|
+
export declare interface VegaTable extends Components.VegaTable {
|
|
428
|
+
/**
|
|
429
|
+
* Event emitter used for notifying consumers the vega-table change event
|
|
430
|
+
*/
|
|
431
|
+
vegaChange: EventEmitter<CustomEvent<IVegaTableVegaTableChangePropType>>;
|
|
432
|
+
/**
|
|
433
|
+
* Event emitter used for notifying consumers the vega-table row click event
|
|
434
|
+
*/
|
|
435
|
+
vegaRowClick: EventEmitter<CustomEvent<IVegaTableVegaTableRowClickPropType>>;
|
|
436
|
+
}
|
|
437
|
+
export declare class VegaTable {
|
|
438
|
+
protected z: NgZone;
|
|
439
|
+
protected el: HTMLElement;
|
|
440
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
441
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTable, never>;
|
|
442
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTable, "vega-table", never, { "columnDivider": "columnDivider"; "columns": "columns"; "dataSource": "dataSource"; "density": "density"; "paddingX": "paddingX"; "rowClickable": "rowClickable"; "rowDivider": "rowDivider"; "rowExpandable": "rowExpandable"; "rowSelection": "rowSelection"; "showHeader": "showHeader"; "striped": "striped"; }, {}, never, ["*"]>;
|
|
443
|
+
}
|
|
444
|
+
export declare interface VegaToggleSwitch extends Components.VegaToggleSwitch {
|
|
445
|
+
/**
|
|
446
|
+
* event emitter used for notifying consumers the toggle switch is changed
|
|
447
|
+
*/
|
|
448
|
+
vegaChange: EventEmitter<CustomEvent<boolean>>;
|
|
449
|
+
}
|
|
450
|
+
export declare class VegaToggleSwitch {
|
|
451
|
+
protected z: NgZone;
|
|
452
|
+
protected el: HTMLElement;
|
|
453
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
454
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaToggleSwitch, never>;
|
|
455
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaToggleSwitch, "vega-toggle-switch", never, { "checked": "checked"; "disabled": "disabled"; "label": "label"; "size": "size"; }, {}, never, ["*"]>;
|
|
456
|
+
}
|
|
457
|
+
export declare interface VegaTooltip extends Components.VegaTooltip {
|
|
458
|
+
}
|
|
459
|
+
export declare class VegaTooltip {
|
|
460
|
+
protected z: NgZone;
|
|
461
|
+
protected el: HTMLElement;
|
|
462
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
463
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTooltip, never>;
|
|
464
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTooltip, "vega-tooltip", never, { "content": "content"; "placement": "placement"; "positionRelativeTo": "positionRelativeTo"; "size": "size"; "trigger": "trigger"; }, {}, never, ["*"]>;
|
|
465
|
+
}
|
|
466
|
+
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaBadge | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonLink | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaDatePicker | typeof VegaDropdown | typeof VegaFlex | typeof VegaFooter | typeof VegaForm | typeof VegaGrid | typeof VegaHeader | typeof VegaIcon | typeof VegaInput | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaModal | typeof VegaOption | typeof VegaPagination | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTable | typeof VegaToggleSwitch | typeof VegaTooltip)[];
|
|
467
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TextValueAccessor extends ValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessor, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "vega-input, vega-input-select", never, {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ValueAccessor implements ControlValueAccessor {
|
|
5
|
+
protected el: ElementRef;
|
|
6
|
+
private onChange;
|
|
7
|
+
private onTouched;
|
|
8
|
+
protected lastValue: any;
|
|
9
|
+
constructor(el: ElementRef);
|
|
10
|
+
writeValue(value: any): void;
|
|
11
|
+
handleChangeEvent(value: any): void;
|
|
12
|
+
_handleBlurEvent(): void;
|
|
13
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
14
|
+
registerOnTouched(fn: () => void): void;
|
|
15
|
+
setDisabledState(isDisabled: boolean): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, "vega-value-accessor", never, {}, {}, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@heartlandone/vega-angular",
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"description": "Angular specific wrapper for @heartlandone/vega",
|
|
6
|
+
"peerDependencies": {
|
|
7
|
+
"@angular/common": ">=12.0.0",
|
|
8
|
+
"@angular/core": ">=12.0.0"
|
|
9
|
+
},
|
|
10
|
+
"module": "fesm2015/heartlandone-vega-angular.mjs",
|
|
11
|
+
"es2020": "fesm2020/heartlandone-vega-angular.mjs",
|
|
12
|
+
"esm2020": "esm2020/heartlandone-vega-angular.mjs",
|
|
13
|
+
"fesm2020": "fesm2020/heartlandone-vega-angular.mjs",
|
|
14
|
+
"fesm2015": "fesm2015/heartlandone-vega-angular.mjs",
|
|
15
|
+
"typings": "heartlandone-vega-angular.d.ts",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://gitlab.com/heartland1/vega/tiger/vega-angular-workspace/projects/vega-angular"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@heartlandone/vega": "*",
|
|
22
|
+
"tslib": "^2.3.0"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"directory": "dist"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
"./package.json": {
|
|
29
|
+
"default": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./heartlandone-vega-angular.d.ts",
|
|
33
|
+
"esm2020": "./esm2020/heartlandone-vega-angular.mjs",
|
|
34
|
+
"es2020": "./fesm2020/heartlandone-vega-angular.mjs",
|
|
35
|
+
"es2015": "./fesm2015/heartlandone-vega-angular.mjs",
|
|
36
|
+
"node": "./fesm2015/heartlandone-vega-angular.mjs",
|
|
37
|
+
"default": "./fesm2020/heartlandone-vega-angular.mjs"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
package/karma.conf.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Karma configuration file, see link for more information
|
|
2
|
+
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
+
|
|
4
|
+
module.exports = function (config) {
|
|
5
|
+
config.set({
|
|
6
|
+
basePath: '',
|
|
7
|
+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
+
plugins: [
|
|
9
|
+
require('karma-jasmine'),
|
|
10
|
+
require('karma-chrome-launcher'),
|
|
11
|
+
require('karma-jasmine-html-reporter'),
|
|
12
|
+
require('karma-coverage'),
|
|
13
|
+
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
+
],
|
|
15
|
+
client: {
|
|
16
|
+
jasmine: {
|
|
17
|
+
// you can add configuration options for Jasmine here
|
|
18
|
+
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
+
// for example, you can disable the random execution with `random: false`
|
|
20
|
+
// or set a specific seed with `seed: 4321`
|
|
21
|
+
},
|
|
22
|
+
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
+
},
|
|
24
|
+
jasmineHtmlReporter: {
|
|
25
|
+
suppressAll: true // removes the duplicated traces
|
|
26
|
+
},
|
|
27
|
+
coverageReporter: {
|
|
28
|
+
dir: require('path').join(__dirname, '../../coverage/vega-angular'),
|
|
29
|
+
subdir: '.',
|
|
30
|
+
reporters: [
|
|
31
|
+
{ type: 'html' },
|
|
32
|
+
{ type: 'text-summary' }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
reporters: ['progress', 'kjhtml'],
|
|
36
|
+
port: 9876,
|
|
37
|
+
colors: true,
|
|
38
|
+
logLevel: config.LOG_INFO,
|
|
39
|
+
autoWatch: true,
|
|
40
|
+
browsers: ['Chrome'],
|
|
41
|
+
singleRun: false,
|
|
42
|
+
restartOnFileChange: true
|
|
43
|
+
});
|
|
44
|
+
};
|
package/ng-package.json
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@heartlandone/vega-angular",
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"description": "Angular specific wrapper for @heartlandone/vega",
|
|
6
|
+
"peerDependencies": {
|
|
7
|
+
"@angular/common": ">=12.0.0",
|
|
8
|
+
"@angular/core": ">=12.0.0"
|
|
9
|
+
},
|
|
10
|
+
"module": "./dist/fesm2015/heartlandone-vega-angular.mjs",
|
|
11
|
+
"es2020": "./dist/fesm2020/heartlandone-vega-angular.mjs",
|
|
12
|
+
"esm2020": "./dist/esm2020/heartlandone-vega-angular.mjs",
|
|
13
|
+
"fesm2020": "./dist/fesm2020/heartlandone-vega-angular.mjs",
|
|
14
|
+
"fesm2015": "./dist/fesm2015/heartlandone-vega-angular.mjs",
|
|
15
|
+
"typings": "./dist/heartlandone-vega-angular.d.ts",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"stencil-postbuild": "node ./src/scripts/stencil-post-build-script.js",
|
|
18
|
+
"release": "../../node_modules/@angular/cli/bin/ng.js build vega-angular",
|
|
19
|
+
"version": "npm run release",
|
|
20
|
+
"publish:patch": "npm version patch -m \"Publish $npm_package_name with version v%s.\" --tag-version-prefix=${npm_package_name}_v && git push --follow-tags && npm publish",
|
|
21
|
+
"publish:minor": "npm version minor -m \"Publish $npm_package_name with version v%s.\" --tag-version-prefix=${npm_package_name}_v && git push --follow-tags && npm publish",
|
|
22
|
+
"publish:major": "npm version major -m \"Publish $npm_package_name with version v%s.\" --tag-version-prefix=${npm_package_name}_v && git push --follow-tags && npm publish"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://gitlab.com/heartland1/vega/tiger/vega-angular-workspace/projects/vega-angular"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@heartlandone/vega": "*",
|
|
30
|
+
"tslib": "^2.3.0"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"directory": "dist"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {}
|
|
36
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { defineCustomElements } from '@heartlandone/vega/loader';
|
|
3
|
+
import VegaComponents from './stencil-generated/components';
|
|
4
|
+
import { TextValueAccessor } from './stencil-generated/text-value-accessor';
|
|
5
|
+
import { ValueAccessor } from './stencil-generated/value-accessor';
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
declarations: [...VegaComponents, TextValueAccessor, ValueAccessor],
|
|
9
|
+
imports: [],
|
|
10
|
+
exports: [...VegaComponents, TextValueAccessor, ValueAccessor],
|
|
11
|
+
})
|
|
12
|
+
export class VegaComponentModule {
|
|
13
|
+
constructor() {
|
|
14
|
+
defineCustomElements(window).then();
|
|
15
|
+
}
|
|
16
|
+
}
|