@heartlandone/vega-angular 1.51.0 → 2.0.0-preview-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/dist/esm2020/lib/components-module.mjs +5 -5
- package/dist/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +2 -3
- package/dist/esm2020/lib/stencil-generated/components.mjs +451 -471
- package/dist/esm2020/lib/stencil-generated/text-value-accessor.mjs +7 -6
- package/dist/esm2020/lib/stencil-generated/value-accessor.mjs +11 -8
- package/dist/fesm2015/heartlandone-vega-angular.mjs +463 -480
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +463 -480
- package/dist/fesm2020/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/lib/components-module.d.ts +1 -1
- package/dist/lib/stencil-generated/components.d.ts +351 -141
- package/dist/lib/stencil-generated/text-value-accessor.d.ts +1 -1
- package/dist/lib/stencil-generated/value-accessor.d.ts +1 -1
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/src/lib/stencil-generated/angular-component-lib/utils.ts +1 -2
- package/src/lib/stencil-generated/components.ts +485 -298
- package/src/lib/stencil-generated/text-value-accessor.ts +3 -2
- package/src/lib/stencil-generated/value-accessor.ts +7 -4
- package/src/scripts/stencil-post-build-script.js +37 -11
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TextValueAccessor extends ValueAccessor {
|
|
5
5
|
constructor(el: ElementRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessor, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "vega-checkbox
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "vega-checkbox, vega-checkbox-group, vega-color-picker, vega-combo-box, vega-date-picker, vega-image-uploader, vega-input, vega-input-credit-card, vega-input-select, vega-radio-group, vega-stepper, vega-textarea, vega-time-picker", never, {}, {}, never>;
|
|
8
8
|
}
|
|
@@ -8,7 +8,7 @@ export declare class ValueAccessor implements ControlValueAccessor {
|
|
|
8
8
|
protected lastValue: any;
|
|
9
9
|
constructor(el: ElementRef);
|
|
10
10
|
writeValue(value: any): void;
|
|
11
|
-
handleChangeEvent(value: any): void;
|
|
11
|
+
handleChangeEvent(value: any, semantics: 'native' | 'vega'): void;
|
|
12
12
|
_handleBlurEvent(): void;
|
|
13
13
|
registerOnChange(fn: (value: any) => void): void;
|
|
14
14
|
registerOnTouched(fn: () => void): void;
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-angular",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0-preview-2",
|
|
5
5
|
"description": "Angular specific wrapper for @heartlandone/vega",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": ">=12.0.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@heartlandone/vega": "
|
|
21
|
+
"@heartlandone/vega": "2.0.0-preview-2",
|
|
22
22
|
"tslib": "^2.3.0",
|
|
23
23
|
"@juggle/resize-observer": "^3.4.0"
|
|
24
24
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-angular",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0-preview-2",
|
|
5
5
|
"description": "Angular specific wrapper for @heartlandone/vega",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": ">=12.0.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@heartlandone/vega": "
|
|
29
|
+
"@heartlandone/vega": "2.0.0-preview-2",
|
|
30
30
|
"tslib": "^2.3.0",
|
|
31
31
|
"@juggle/resize-observer": "^3.4.0"
|
|
32
32
|
},
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
import { FeatureFlag } from '@heartlandone/vega';
|
|
4
3
|
import { fromEvent } from 'rxjs';
|
|
5
4
|
|
|
6
5
|
/**
|
|
@@ -42,7 +41,7 @@ export const proxyInputs = (Cmp: any, inputs: string[]) => {
|
|
|
42
41
|
* We need to consider remove the componentOnReady
|
|
43
42
|
* https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/angular-output-target/angular-component-lib/utils.ts#L13
|
|
44
43
|
*/
|
|
45
|
-
if (
|
|
44
|
+
if (this.el.classList.contains('hydrated') || shouldSkipComponentOnReady(this.el.tagName, item)) {
|
|
46
45
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
47
46
|
} else {
|
|
48
47
|
this.el.componentOnReady().then(() => {
|