@heartlandone/vega-angular 2.0.0-preview-2 → 2.0.0-preview-4
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/stencil-generated/angular-component-lib/utils.mjs +3 -2
- package/dist/esm2020/lib/stencil-generated/components.mjs +13 -13
- package/dist/fesm2015/heartlandone-vega-angular.mjs +14 -14
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +14 -14
- package/dist/fesm2020/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/lib/stencil-generated/components.d.ts +29 -29
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/src/lib/stencil-generated/angular-component-lib/utils.ts +2 -1
- package/src/lib/stencil-generated/components.ts +33 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, HostListener, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { VegaEventManager, VegaEnvManager, FrameworkEnum
|
|
4
|
+
import { VegaEventManager, FeatureFlag, VegaEnvManager, FrameworkEnum } from '@heartlandone/vega';
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
7
|
import { defineCustomElements } from '@heartlandone/vega/loader';
|
|
@@ -120,7 +120,7 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
120
120
|
* We need to consider remove the componentOnReady
|
|
121
121
|
* https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/angular-output-target/angular-component-lib/utils.ts#L13
|
|
122
122
|
*/
|
|
123
|
-
if (this.el.classList.contains('hydrated') || shouldSkipComponentOnReady(this.el.tagName, item)) {
|
|
123
|
+
if (FeatureFlag.isEnabled('VEGA_FRAMEWORK.PREVENT_CALL_WATCH_METHOD_BEFORE_COMPONENT_LOAD') || this.el.classList.contains('hydrated') || shouldSkipComponentOnReady(this.el.tagName, item)) {
|
|
124
124
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
@@ -300,11 +300,11 @@ let VegaBox = class VegaBox {
|
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
302
|
VegaBox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaBox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
303
|
-
VegaBox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaBox, selector: "vega-box", inputs: { backgroundColor: "backgroundColor", borderColor: "borderColor", display: "display", margin: "margin", padding: "padding", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
303
|
+
VegaBox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaBox, selector: "vega-box", inputs: { backgroundColor: "backgroundColor", border: "border", borderColor: "borderColor", corners: "corners", display: "display", height: "height", margin: "margin", padding: "padding", responsiveClass: "responsiveClass", shadow: "shadow", width: "width" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
304
304
|
VegaBox = __decorate([
|
|
305
305
|
ProxyCmp({
|
|
306
306
|
defineCustomElementFn: undefined,
|
|
307
|
-
inputs: ['backgroundColor', 'borderColor', 'display', 'margin', 'padding', 'shadow']
|
|
307
|
+
inputs: ['backgroundColor', 'border', 'borderColor', 'corners', 'display', 'height', 'margin', 'padding', 'responsiveClass', 'shadow', 'width']
|
|
308
308
|
})
|
|
309
309
|
], VegaBox);
|
|
310
310
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaBox, decorators: [{
|
|
@@ -313,7 +313,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
313
313
|
selector: 'vega-box',
|
|
314
314
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
315
315
|
template: '<ng-content></ng-content>',
|
|
316
|
-
inputs: ['backgroundColor', 'borderColor', 'display', 'margin', 'padding', 'shadow']
|
|
316
|
+
inputs: ['backgroundColor', 'border', 'borderColor', 'corners', 'display', 'height', 'margin', 'padding', 'responsiveClass', 'shadow', 'width']
|
|
317
317
|
}]
|
|
318
318
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
319
319
|
let VegaBreadcrumb = class VegaBreadcrumb {
|
|
@@ -375,11 +375,11 @@ let VegaButtonCircle = class VegaButtonCircle {
|
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
377
|
VegaButtonCircle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaButtonCircle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
378
|
-
VegaButtonCircle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaButtonCircle, selector: "vega-button-circle", inputs: { danger: "danger", disabled: "disabled", icon: "icon", iconColor: "iconColor", label: "label", showTooltip: "showTooltip", size: "size", type: "type", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
378
|
+
VegaButtonCircle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaButtonCircle, selector: "vega-button-circle", inputs: { danger: "danger", disabled: "disabled", icon: "icon", iconColor: "iconColor", label: "label", showTooltip: "showTooltip", size: "size", tooltip: "tooltip", type: "type", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
379
379
|
VegaButtonCircle = __decorate([
|
|
380
380
|
ProxyCmp({
|
|
381
381
|
defineCustomElementFn: undefined,
|
|
382
|
-
inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'type', 'variant']
|
|
382
|
+
inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'tooltip', 'type', 'variant']
|
|
383
383
|
})
|
|
384
384
|
], VegaButtonCircle);
|
|
385
385
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaButtonCircle, decorators: [{
|
|
@@ -388,7 +388,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
388
388
|
selector: 'vega-button-circle',
|
|
389
389
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
390
390
|
template: '<ng-content></ng-content>',
|
|
391
|
-
inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'type', 'variant']
|
|
391
|
+
inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'tooltip', 'type', 'variant']
|
|
392
392
|
}]
|
|
393
393
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
394
394
|
let VegaButtonLink = class VegaButtonLink {
|
|
@@ -843,11 +843,11 @@ let VegaFlex = class VegaFlex {
|
|
|
843
843
|
}
|
|
844
844
|
};
|
|
845
845
|
VegaFlex.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaFlex, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
846
|
-
VegaFlex.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaFlex, selector: "vega-flex", inputs: { alignItems: "alignItems", direction: "direction", gap: "gap", justifyContent: "justifyContent", margin: "margin" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
846
|
+
VegaFlex.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaFlex, selector: "vega-flex", inputs: { alignItems: "alignItems", breakpoint: "breakpoint", direction: "direction", gap: "gap", justifyContent: "justifyContent", margin: "margin", useNativeFlex: "useNativeFlex" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
847
847
|
VegaFlex = __decorate([
|
|
848
848
|
ProxyCmp({
|
|
849
849
|
defineCustomElementFn: undefined,
|
|
850
|
-
inputs: ['alignItems', 'direction', 'gap', 'justifyContent', 'margin']
|
|
850
|
+
inputs: ['alignItems', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
|
|
851
851
|
})
|
|
852
852
|
], VegaFlex);
|
|
853
853
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaFlex, decorators: [{
|
|
@@ -856,7 +856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
856
856
|
selector: 'vega-flex',
|
|
857
857
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
858
858
|
template: '<ng-content></ng-content>',
|
|
859
|
-
inputs: ['alignItems', 'direction', 'gap', 'justifyContent', 'margin']
|
|
859
|
+
inputs: ['alignItems', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
|
|
860
860
|
}]
|
|
861
861
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
862
862
|
let VegaFont = class VegaFont {
|
|
@@ -1944,11 +1944,11 @@ let VegaTooltip = class VegaTooltip {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
};
|
|
1946
1946
|
VegaTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1947
|
-
VegaTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaTooltip, selector: "vega-tooltip", inputs: { alignment: "alignment", content: "content", maxWidth: "maxWidth", minWidth: "minWidth", placement: "placement", positionRelativeTo: "positionRelativeTo", size: "size", trigger: "trigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1947
|
+
VegaTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: VegaTooltip, selector: "vega-tooltip", inputs: { alignment: "alignment", content: "content", disableInteractive: "disableInteractive", maxWidth: "maxWidth", minWidth: "minWidth", placement: "placement", positionRelativeTo: "positionRelativeTo", size: "size", trigger: "trigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1948
1948
|
VegaTooltip = __decorate([
|
|
1949
1949
|
ProxyCmp({
|
|
1950
1950
|
defineCustomElementFn: undefined,
|
|
1951
|
-
inputs: ['alignment', 'content', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
|
|
1951
|
+
inputs: ['alignment', 'content', 'disableInteractive', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
|
|
1952
1952
|
})
|
|
1953
1953
|
], VegaTooltip);
|
|
1954
1954
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: VegaTooltip, decorators: [{
|
|
@@ -1957,7 +1957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
|
1957
1957
|
selector: 'vega-tooltip',
|
|
1958
1958
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1959
1959
|
template: '<ng-content></ng-content>',
|
|
1960
|
-
inputs: ['alignment', 'content', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
|
|
1960
|
+
inputs: ['alignment', 'content', 'disableInteractive', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'size', 'trigger']
|
|
1961
1961
|
}]
|
|
1962
1962
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1963
1963
|
let VegaTooltipContentBox = class VegaTooltipContentBox {
|