@heartlandone/vega-angular 1.44.1 → 1.45.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/dist/esm2020/lib/components-module.mjs +2 -2
- package/dist/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +28 -2
- package/dist/esm2020/lib/stencil-generated/components.mjs +40 -16
- package/dist/fesm2015/heartlandone-vega-angular.mjs +67 -18
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +67 -18
- 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 +14 -5
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/src/lib/stencil-generated/angular-component-lib/utils.ts +30 -1
- package/src/lib/stencil-generated/components.ts +31 -11
|
@@ -6,6 +6,6 @@ export declare class VegaComponentModule {
|
|
|
6
6
|
constructor();
|
|
7
7
|
useJuggleResizeObserver(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaComponentModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VegaComponentModule, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VegaComponentModule, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<VegaComponentModule>;
|
|
11
11
|
}
|
|
@@ -366,6 +366,15 @@ export declare class VegaDropdown {
|
|
|
366
366
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaDropdown, never>;
|
|
367
367
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdown, "vega-dropdown", never, { "alignment": "alignment"; "caseSensitive": "caseSensitive"; "dynamicOption": "dynamicOption"; "isLoading": "isLoading"; "itemDisplayRule": "itemDisplayRule"; "matchContainerHeight": "matchContainerHeight"; "matchTargetWidth": "matchTargetWidth"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "placement": "placement"; "positionRelativeTo": "positionRelativeTo"; "searchable": "searchable"; "selectType": "selectType"; "selectedSourceKey": "selectedSourceKey"; "size": "size"; "source": "source"; "translocation": "translocation"; "trigger": "trigger"; "useDefaultFilter": "useDefaultFilter"; }, {}, never, ["*"]>;
|
|
368
368
|
}
|
|
369
|
+
export declare interface VegaFieldError extends Components.VegaFieldError {
|
|
370
|
+
}
|
|
371
|
+
export declare class VegaFieldError {
|
|
372
|
+
protected z: NgZone;
|
|
373
|
+
protected el: HTMLElement;
|
|
374
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaFieldError, never>;
|
|
376
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaFieldError, "vega-field-error", never, { "message": "message"; }, {}, never, ["*"]>;
|
|
377
|
+
}
|
|
369
378
|
export declare interface VegaFieldLabel extends Components.VegaFieldLabel {
|
|
370
379
|
/**
|
|
371
380
|
* An event emitter notifying that the field label has been clicked.
|
|
@@ -888,7 +897,7 @@ export declare class VegaTableExpandRow {
|
|
|
888
897
|
protected el: HTMLElement;
|
|
889
898
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
890
899
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTableExpandRow, never>;
|
|
891
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableExpandRow, "vega-table-expand-row", never, { "
|
|
900
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableExpandRow, "vega-table-expand-row", never, { "rowKey": "rowKey"; }, {}, never, ["*"]>;
|
|
892
901
|
}
|
|
893
902
|
export declare interface VegaTableHead extends Components.VegaTableHead {
|
|
894
903
|
}
|
|
@@ -897,7 +906,7 @@ export declare class VegaTableHead {
|
|
|
897
906
|
protected el: HTMLElement;
|
|
898
907
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
899
908
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTableHead, never>;
|
|
900
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableHead, "vega-table-head", never, {
|
|
909
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableHead, "vega-table-head", never, {}, {}, never, ["*"]>;
|
|
901
910
|
}
|
|
902
911
|
export declare interface VegaTableHeadCell extends Components.VegaTableHeadCell {
|
|
903
912
|
/**
|
|
@@ -919,7 +928,7 @@ export declare class VegaTableHeadRow {
|
|
|
919
928
|
protected el: HTMLElement;
|
|
920
929
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
921
930
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTableHeadRow, never>;
|
|
922
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableHeadRow, "vega-table-head-row", never, { "
|
|
931
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableHeadRow, "vega-table-head-row", never, { "hideSelectAll": "hideSelectAll"; "selectAllDisabled": "selectAllDisabled"; }, {}, never, ["*"]>;
|
|
923
932
|
}
|
|
924
933
|
export declare interface VegaTableRow extends Components.VegaTableRow {
|
|
925
934
|
/**
|
|
@@ -932,7 +941,7 @@ export declare class VegaTableRow {
|
|
|
932
941
|
protected el: HTMLElement;
|
|
933
942
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
934
943
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTableRow, never>;
|
|
935
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableRow, "vega-table-row", never, { "
|
|
944
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTableRow, "vega-table-row", never, { "rowKey": "rowKey"; }, {}, never, ["*"]>;
|
|
936
945
|
}
|
|
937
946
|
export declare interface VegaText extends Components.VegaText {
|
|
938
947
|
}
|
|
@@ -1016,5 +1025,5 @@ export declare class VegaVirtualScroll {
|
|
|
1016
1025
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
|
|
1017
1026
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "thresholdOfWork": "thresholdOfWork"; "viewportMaxHeight": "viewportMaxHeight"; }, {}, never, ["*"]>;
|
|
1018
1027
|
}
|
|
1019
|
-
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBarChart | typeof VegaBox | typeof VegaBreadcrumb | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonLink | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaColorPicker | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDialog | typeof VegaDropdown | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFooter | typeof VegaForm | typeof VegaGrid | typeof VegaHeader | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputCreditCard | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaNavCard | typeof VegaOption | typeof VegaPageNotification | typeof VegaPagination | typeof VegaPieChart | typeof VegaPopover | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTabGroupPanel | typeof VegaTable | typeof VegaTableBody | typeof VegaTableCell | typeof VegaTableExpandRow | typeof VegaTableHead | typeof VegaTableHeadCell | typeof VegaTableHeadRow | typeof VegaTableRow | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
|
|
1028
|
+
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBarChart | typeof VegaBox | typeof VegaBreadcrumb | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonLink | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaColorPicker | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDialog | typeof VegaDropdown | typeof VegaFieldError | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFooter | typeof VegaForm | typeof VegaGrid | typeof VegaHeader | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputCreditCard | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaNavCard | typeof VegaOption | typeof VegaPageNotification | typeof VegaPagination | typeof VegaPieChart | typeof VegaPopover | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTabGroupPanel | typeof VegaTable | typeof VegaTableBody | typeof VegaTableCell | typeof VegaTableExpandRow | typeof VegaTableHead | typeof VegaTableHeadCell | typeof VegaTableHeadRow | typeof VegaTableRow | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
|
|
1020
1029
|
export default _default;
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-angular",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.44.
|
|
4
|
+
"version": "1.44.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": "1.44.
|
|
21
|
+
"@heartlandone/vega": "1.44.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": "1.
|
|
4
|
+
"version": "1.45.0",
|
|
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": "1.
|
|
29
|
+
"@heartlandone/vega": "1.45.0",
|
|
30
30
|
"tslib": "^2.3.0",
|
|
31
31
|
"@juggle/resize-observer": "^3.4.0"
|
|
32
32
|
},
|
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
import { fromEvent } from 'rxjs';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* ALL: all properties should skip the componentOnReady check
|
|
7
|
+
* Set<string>: only properties in the Set should skip the componentOnReady check
|
|
8
|
+
*/
|
|
9
|
+
const COMPONENT_ON_READY_IGNORE_MAP = new Map<string, Set<string> | 'ALL'>([
|
|
10
|
+
['VEGA-TABLE', 'ALL'],
|
|
11
|
+
['VEGA-TABLE-HEAD', 'ALL'],
|
|
12
|
+
['VEGA-TABLE-HEAD-ROW', 'ALL'],
|
|
13
|
+
['VEGA-TABLE-HEAD-CELL', 'ALL'],
|
|
14
|
+
['VEGA-TABLE-BODY', 'ALL'],
|
|
15
|
+
['VEGA-TABLE-ROW', 'ALL'],
|
|
16
|
+
['VEGA-TABLE-CELL', 'ALL'],
|
|
17
|
+
['VEGA-TABLE-EXPAND-ROW', 'ALL'],
|
|
18
|
+
]);
|
|
19
|
+
|
|
20
|
+
const shouldSkipComponentOnReady = (componentName: string, propName: string): boolean => {
|
|
21
|
+
const props: Set<string> | 'ALL' | undefined = COMPONENT_ON_READY_IGNORE_MAP.get(componentName);
|
|
22
|
+
|
|
23
|
+
if (!props) return false;
|
|
24
|
+
|
|
25
|
+
return props === 'ALL' || props.has(propName);
|
|
26
|
+
};
|
|
27
|
+
|
|
5
28
|
export const proxyInputs = (Cmp: any, inputs: string[]) => {
|
|
6
29
|
const Prototype = Cmp.prototype;
|
|
7
30
|
inputs.forEach(item => {
|
|
@@ -12,7 +35,13 @@ export const proxyInputs = (Cmp: any, inputs: string[]) => {
|
|
|
12
35
|
set(val: any) {
|
|
13
36
|
// Link issues: https://gethired.atlassian.net/browse/GHUI-331
|
|
14
37
|
// add a beforehand checking to make sure value is only set when component is loaded
|
|
15
|
-
|
|
38
|
+
/*
|
|
39
|
+
* Update(2023/10/28): The value should be set directly, so that the initial value can be get in componentWillLoad.
|
|
40
|
+
* Link issue https://gethired.atlassian.net/browse/VD-1810
|
|
41
|
+
* We need to consider remove the componentOnReady
|
|
42
|
+
* https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/angular-output-target/angular-component-lib/utils.ts#L13
|
|
43
|
+
*/
|
|
44
|
+
if (this.el.classList.contains('hydrated') || shouldSkipComponentOnReady(this.el.tagName, item)) {
|
|
16
45
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
17
46
|
} else {
|
|
18
47
|
this.el.componentOnReady().then(() => {
|
|
@@ -678,6 +678,27 @@ export class VegaDropdown {
|
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
|
|
681
|
+
export declare interface VegaFieldError extends Components.VegaFieldError {}
|
|
682
|
+
|
|
683
|
+
@ProxyCmp({
|
|
684
|
+
defineCustomElementFn: undefined,
|
|
685
|
+
inputs: ['message']
|
|
686
|
+
})
|
|
687
|
+
@Component({
|
|
688
|
+
selector: 'vega-field-error',
|
|
689
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
690
|
+
template: '<ng-content></ng-content>',
|
|
691
|
+
inputs: ['message']
|
|
692
|
+
})
|
|
693
|
+
export class VegaFieldError {
|
|
694
|
+
protected el: HTMLElement;
|
|
695
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
696
|
+
c.detach();
|
|
697
|
+
this.el = r.nativeElement;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
|
|
681
702
|
export declare interface VegaFieldLabel extends Components.VegaFieldLabel {
|
|
682
703
|
/**
|
|
683
704
|
* An event emitter notifying that the field label has been clicked.
|
|
@@ -869,7 +890,7 @@ export declare interface VegaImageUploader extends Components.VegaImageUploader
|
|
|
869
890
|
@ProxyCmp({
|
|
870
891
|
defineCustomElementFn: undefined,
|
|
871
892
|
inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value'],
|
|
872
|
-
methods: ['valid']
|
|
893
|
+
methods: ['valid', 'getContentURL']
|
|
873
894
|
})
|
|
874
895
|
@Component({
|
|
875
896
|
selector: 'vega-image-uploader',
|
|
@@ -1720,13 +1741,13 @@ export declare interface VegaTableExpandRow extends Components.VegaTableExpandRo
|
|
|
1720
1741
|
|
|
1721
1742
|
@ProxyCmp({
|
|
1722
1743
|
defineCustomElementFn: undefined,
|
|
1723
|
-
inputs: ['
|
|
1744
|
+
inputs: ['rowKey']
|
|
1724
1745
|
})
|
|
1725
1746
|
@Component({
|
|
1726
1747
|
selector: 'vega-table-expand-row',
|
|
1727
1748
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1728
1749
|
template: '<ng-content></ng-content>',
|
|
1729
|
-
inputs: ['
|
|
1750
|
+
inputs: ['rowKey']
|
|
1730
1751
|
})
|
|
1731
1752
|
export class VegaTableExpandRow {
|
|
1732
1753
|
protected el: HTMLElement;
|
|
@@ -1740,14 +1761,12 @@ export class VegaTableExpandRow {
|
|
|
1740
1761
|
export declare interface VegaTableHead extends Components.VegaTableHead {}
|
|
1741
1762
|
|
|
1742
1763
|
@ProxyCmp({
|
|
1743
|
-
defineCustomElementFn: undefined
|
|
1744
|
-
inputs: ['fixed']
|
|
1764
|
+
defineCustomElementFn: undefined
|
|
1745
1765
|
})
|
|
1746
1766
|
@Component({
|
|
1747
1767
|
selector: 'vega-table-head',
|
|
1748
1768
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1749
|
-
template: '<ng-content></ng-content>'
|
|
1750
|
-
inputs: ['fixed']
|
|
1769
|
+
template: '<ng-content></ng-content>'
|
|
1751
1770
|
})
|
|
1752
1771
|
export class VegaTableHead {
|
|
1753
1772
|
protected el: HTMLElement;
|
|
@@ -1790,13 +1809,13 @@ export declare interface VegaTableHeadRow extends Components.VegaTableHeadRow {}
|
|
|
1790
1809
|
|
|
1791
1810
|
@ProxyCmp({
|
|
1792
1811
|
defineCustomElementFn: undefined,
|
|
1793
|
-
inputs: ['
|
|
1812
|
+
inputs: ['hideSelectAll', 'selectAllDisabled']
|
|
1794
1813
|
})
|
|
1795
1814
|
@Component({
|
|
1796
1815
|
selector: 'vega-table-head-row',
|
|
1797
1816
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1798
1817
|
template: '<ng-content></ng-content>',
|
|
1799
|
-
inputs: ['
|
|
1818
|
+
inputs: ['hideSelectAll', 'selectAllDisabled']
|
|
1800
1819
|
})
|
|
1801
1820
|
export class VegaTableHeadRow {
|
|
1802
1821
|
protected el: HTMLElement;
|
|
@@ -1817,13 +1836,13 @@ export declare interface VegaTableRow extends Components.VegaTableRow {
|
|
|
1817
1836
|
|
|
1818
1837
|
@ProxyCmp({
|
|
1819
1838
|
defineCustomElementFn: undefined,
|
|
1820
|
-
inputs: ['
|
|
1839
|
+
inputs: ['rowKey']
|
|
1821
1840
|
})
|
|
1822
1841
|
@Component({
|
|
1823
1842
|
selector: 'vega-table-row',
|
|
1824
1843
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1825
1844
|
template: '<ng-content></ng-content>',
|
|
1826
|
-
inputs: ['
|
|
1845
|
+
inputs: ['rowKey']
|
|
1827
1846
|
})
|
|
1828
1847
|
export class VegaTableRow {
|
|
1829
1848
|
protected el: HTMLElement;
|
|
@@ -2023,6 +2042,7 @@ export default [
|
|
|
2023
2042
|
VegaDatePicker,
|
|
2024
2043
|
VegaDialog,
|
|
2025
2044
|
VegaDropdown,
|
|
2045
|
+
VegaFieldError,
|
|
2026
2046
|
VegaFieldLabel,
|
|
2027
2047
|
VegaFlex,
|
|
2028
2048
|
VegaFooter,
|