@heartlandone/vega-angular 2.0.0-preview-2 → 2.0.0-preview-3

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.
@@ -95,7 +95,7 @@ export declare class VegaBox {
95
95
  protected el: HTMLElement;
96
96
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
97
97
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaBox, never>;
98
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaBox, "vega-box", never, { "backgroundColor": "backgroundColor"; "borderColor": "borderColor"; "display": "display"; "margin": "margin"; "padding": "padding"; "shadow": "shadow"; }, {}, never, ["*"]>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaBox, "vega-box", never, { "backgroundColor": "backgroundColor"; "border": "border"; "borderColor": "borderColor"; "corners": "corners"; "display": "display"; "height": "height"; "margin": "margin"; "padding": "padding"; "responsiveClass": "responsiveClass"; "shadow": "shadow"; "width": "width"; }, {}, never, ["*"]>;
99
99
  }
100
100
  export declare interface VegaBreadcrumb extends Components.VegaBreadcrumb {
101
101
  /**
@@ -146,7 +146,7 @@ export declare class VegaButtonCircle {
146
146
  protected el: HTMLElement;
147
147
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
148
148
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonCircle, never>;
149
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonCircle, "vega-button-circle", never, { "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconColor": "iconColor"; "label": "label"; "showTooltip": "showTooltip"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
149
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonCircle, "vega-button-circle", never, { "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconColor": "iconColor"; "label": "label"; "showTooltip": "showTooltip"; "size": "size"; "tooltip": "tooltip"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
150
150
  }
151
151
  export declare interface VegaButtonLink extends Components.VegaButtonLink {
152
152
  /**
@@ -1260,7 +1260,7 @@ export declare class VegaTooltip {
1260
1260
  protected el: HTMLElement;
1261
1261
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1262
1262
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaTooltip, never>;
1263
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaTooltip, "vega-tooltip", never, { "alignment": "alignment"; "content": "content"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "placement": "placement"; "positionRelativeTo": "positionRelativeTo"; "size": "size"; "trigger": "trigger"; }, {}, never, ["*"]>;
1263
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaTooltip, "vega-tooltip", never, { "alignment": "alignment"; "content": "content"; "disableInteractive": "disableInteractive"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "placement": "placement"; "positionRelativeTo": "positionRelativeTo"; "size": "size"; "trigger": "trigger"; }, {}, never, ["*"]>;
1264
1264
  }
1265
1265
  export declare interface VegaTooltipContentBox extends Components.VegaTooltipContentBox {
1266
1266
  }
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.0.0-preview-2",
4
+ "version": "2.0.0-preview-3",
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": "2.0.0-preview-2",
21
+ "@heartlandone/vega": "2.0.0-preview-3",
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": "2.0.0-preview-2",
4
+ "version": "2.0.0-preview-3",
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": "2.0.0-preview-2",
29
+ "@heartlandone/vega": "2.0.0-preview-3",
30
30
  "tslib": "^2.3.0",
31
31
  "@juggle/resize-observer": "^3.4.0"
32
32
  },
@@ -1,5 +1,6 @@
1
1
  /* eslint-disable */
2
2
  /* tslint:disable */
3
+ import { FeatureFlag } from '@heartlandone/vega';
3
4
  import { fromEvent } from 'rxjs';
4
5
 
5
6
  /**
@@ -41,7 +42,7 @@ export const proxyInputs = (Cmp: any, inputs: string[]) => {
41
42
  * We need to consider remove the componentOnReady
42
43
  * https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/angular-output-target/angular-component-lib/utils.ts#L13
43
44
  */
44
- if (this.el.classList.contains('hydrated') || shouldSkipComponentOnReady(this.el.tagName, item)) {
45
+ if (FeatureFlag.isEnabled('VEGA_FRAMEWORK.PREVENT_CALL_WATCH_METHOD_BEFORE_COMPONENT_LOAD') || this.el.classList.contains('hydrated') || shouldSkipComponentOnReady(this.el.tagName, item)) {
45
46
  this.z.runOutsideAngular(() => (this.el[item] = val));
46
47
  } else {
47
48
  this.el.componentOnReady().then(() => {
@@ -157,13 +157,13 @@ export declare interface VegaBox extends Components.VegaBox {}
157
157
 
158
158
  @ProxyCmp({
159
159
  defineCustomElementFn: undefined,
160
- inputs: ['backgroundColor', 'borderColor', 'display', 'margin', 'padding', 'shadow']
160
+ inputs: ['backgroundColor', 'border', 'borderColor', 'corners', 'display', 'height', 'margin', 'padding', 'responsiveClass', 'shadow', 'width']
161
161
  })
162
162
  @Component({
163
163
  selector: 'vega-box',
164
164
  changeDetection: ChangeDetectionStrategy.OnPush,
165
165
  template: '<ng-content></ng-content>',
166
- inputs: ['backgroundColor', 'borderColor', 'display', 'margin', 'padding', 'shadow']
166
+ inputs: ['backgroundColor', 'border', 'borderColor', 'corners', 'display', 'height', 'margin', 'padding', 'responsiveClass', 'shadow', 'width']
167
167
  })
168
168
  export class VegaBox {
169
169
  protected el: HTMLElement;
@@ -252,13 +252,13 @@ export declare interface VegaButtonCircle extends Components.VegaButtonCircle {
252
252
 
253
253
  @ProxyCmp({
254
254
  defineCustomElementFn: undefined,
255
- inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'type', 'variant']
255
+ inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'tooltip', 'type', 'variant']
256
256
  })
257
257
  @Component({
258
258
  selector: 'vega-button-circle',
259
259
  changeDetection: ChangeDetectionStrategy.OnPush,
260
260
  template: '<ng-content></ng-content>',
261
- inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'type', 'variant']
261
+ inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'tooltip', 'type', 'variant']
262
262
  })
263
263
  export class VegaButtonCircle {
264
264
  protected el: HTMLElement;
@@ -2240,13 +2240,13 @@ export declare interface VegaTooltip extends Components.VegaTooltip {}
2240
2240
 
2241
2241
  @ProxyCmp({
2242
2242
  defineCustomElementFn: undefined,
2243
- inputs: ['alignment', 'content', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
2243
+ inputs: ['alignment', 'content', 'disableInteractive', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
2244
2244
  })
2245
2245
  @Component({
2246
2246
  selector: 'vega-tooltip',
2247
2247
  changeDetection: ChangeDetectionStrategy.OnPush,
2248
2248
  template: '<ng-content></ng-content>',
2249
- inputs: ['alignment', 'content', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
2249
+ inputs: ['alignment', 'content', 'disableInteractive', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
2250
2250
  })
2251
2251
  export class VegaTooltip {
2252
2252
  protected el: HTMLElement;