@heartlandone/vega-angular 2.83.0 → 2.85.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/components.mjs +36 -9
- package/dist/esm2020/lib/stencil-generated/text-value-accessor.mjs +3 -3
- package/dist/esm2020/testing/index.mjs +10 -1
- package/dist/fesm2015/heartlandone-vega-angular-testing.mjs +9 -0
- package/dist/fesm2015/heartlandone-vega-angular-testing.mjs.map +1 -1
- package/dist/fesm2015/heartlandone-vega-angular.mjs +38 -12
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular-testing.mjs +9 -0
- package/dist/fesm2020/heartlandone-vega-angular-testing.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +38 -12
- 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 +41 -3
- package/dist/lib/stencil-generated/text-value-accessor.d.ts +1 -1
- package/dist/package.json +2 -2
- package/dist/testing/index.d.ts +13 -0
- package/package.json +2 -2
- package/src/lib/stencil-generated/components.ts +60 -6
- package/src/lib/stencil-generated/text-value-accessor.ts +1 -1
- package/src/scripts/stencil-post-build-script.js +2 -0
- package/testing/index.ts +13 -0
|
@@ -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.VegaBackdrop, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBrandLogo, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonGroup, typeof i1.VegaButtonGroupItem, typeof i1.VegaButtonLink, typeof i1.VegaCalendar, typeof i1.VegaCalendarEvent, typeof i1.VegaCalendarEventPreview, typeof i1.VegaCalendarEventSlot, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaCodeBlock, typeof i1.VegaColorPicker, typeof i1.VegaColorSwatch, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDivider, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFileUploader, typeof i1.VegaFlagIcon, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHint, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputNumeric, typeof i1.VegaInputPasscode, typeof i1.VegaInputPhoneNumber, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPaginationPageSelectorMobile, typeof i1.VegaPaginationPageSizeSelectorMobile, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaProgressTrackerStep, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaRichTextContent, typeof i1.VegaRichTextEditor, typeof i1.VegaRichTextEditorToolbarButton, typeof i1.VegaRichTextImageEditor, typeof i1.VegaRichTextLinkEditor, typeof i1.VegaRichTextTableProperties, typeof i1.VegaRichTextTableSelectionWidget, typeof i1.VegaRichTextTableSetting, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSelectionChip, typeof i1.VegaSelectionChipGroup, typeof i1.VegaSelectionTile, typeof i1.VegaSelectionTileGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaSignatureCapture, typeof i1.VegaSkeleton, typeof i1.VegaSlotContainer, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableFoot, typeof i1.VegaTableFootCell, typeof i1.VegaTableFootRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBackdrop, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBrandLogo, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonGroup, typeof i1.VegaButtonGroupItem, typeof i1.VegaButtonLink, typeof i1.VegaCalendar, typeof i1.VegaCalendarEvent, typeof i1.VegaCalendarEventPreview, typeof i1.VegaCalendarEventSlot, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaCodeBlock, typeof i1.VegaColorPicker, typeof i1.VegaColorSwatch, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDivider, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFileUploader, typeof i1.VegaFlagIcon, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHint, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputNumeric, typeof i1.VegaInputPasscode, typeof i1.VegaInputPhoneNumber, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPaginationPageSelectorMobile, typeof i1.VegaPaginationPageSizeSelectorMobile, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaProgressTrackerStep, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaRichTextContent, typeof i1.VegaRichTextEditor, typeof i1.VegaRichTextEditorToolbarButton, typeof i1.VegaRichTextImageEditor, typeof i1.VegaRichTextLinkEditor, typeof i1.VegaRichTextTableProperties, typeof i1.VegaRichTextTableSelectionWidget, typeof i1.VegaRichTextTableSetting, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSelectionChip, typeof i1.VegaSelectionChipGroup, typeof i1.VegaSelectionTile, typeof i1.VegaSelectionTileGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaSignatureCapture, typeof i1.VegaSkeleton, typeof i1.VegaSlotContainer, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableFoot, typeof i1.VegaTableFootCell, typeof i1.VegaTableFootRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, 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.VegaBackdrop, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBrandLogo, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonGroup, typeof i1.VegaButtonGroupItem, typeof i1.VegaButtonLink, typeof i1.VegaCalendar, typeof i1.VegaCalendarEvent, typeof i1.VegaCalendarEventPreview, typeof i1.VegaCalendarEventSlot, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaCodeBlock, typeof i1.VegaColorPicker, typeof i1.VegaColorSwatch, typeof i1.VegaColorSwatchPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDivider, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFileUploader, typeof i1.VegaFlagIcon, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHint, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputNumeric, typeof i1.VegaInputPasscode, typeof i1.VegaInputPhoneNumber, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPaginationPageSelectorMobile, typeof i1.VegaPaginationPageSizeSelectorMobile, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaProgressTrackerStep, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaRichTextContent, typeof i1.VegaRichTextEditor, typeof i1.VegaRichTextEditorToolbarButton, typeof i1.VegaRichTextImageEditor, typeof i1.VegaRichTextLinkEditor, typeof i1.VegaRichTextTableProperties, typeof i1.VegaRichTextTableSelectionWidget, typeof i1.VegaRichTextTableSetting, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSelectionChip, typeof i1.VegaSelectionChipGroup, typeof i1.VegaSelectionTile, typeof i1.VegaSelectionTileGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaSignatureCapture, typeof i1.VegaSkeleton, typeof i1.VegaSlotContainer, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableFoot, typeof i1.VegaTableFootCell, typeof i1.VegaTableFootRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBackdrop, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBrandLogo, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonGroup, typeof i1.VegaButtonGroupItem, typeof i1.VegaButtonLink, typeof i1.VegaCalendar, typeof i1.VegaCalendarEvent, typeof i1.VegaCalendarEventPreview, typeof i1.VegaCalendarEventSlot, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaCodeBlock, typeof i1.VegaColorPicker, typeof i1.VegaColorSwatch, typeof i1.VegaColorSwatchPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDivider, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFileUploader, typeof i1.VegaFlagIcon, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHint, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputNumeric, typeof i1.VegaInputPasscode, typeof i1.VegaInputPhoneNumber, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPaginationPageSelectorMobile, typeof i1.VegaPaginationPageSizeSelectorMobile, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaProgressTrackerStep, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaRichTextContent, typeof i1.VegaRichTextEditor, typeof i1.VegaRichTextEditorToolbarButton, typeof i1.VegaRichTextImageEditor, typeof i1.VegaRichTextLinkEditor, typeof i1.VegaRichTextTableProperties, typeof i1.VegaRichTextTableSelectionWidget, typeof i1.VegaRichTextTableSetting, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSelectionChip, typeof i1.VegaSelectionChipGroup, typeof i1.VegaSelectionTile, typeof i1.VegaSelectionTileGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaSignatureCapture, typeof i1.VegaSkeleton, typeof i1.VegaSlotContainer, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableFoot, typeof i1.VegaTableFootCell, typeof i1.VegaTableFootRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<VegaComponentModule>;
|
|
11
11
|
}
|
|
@@ -32,6 +32,7 @@ import type { VegaTableRowSelectProp as IVegaTableVegaTableRowSelectProp } from
|
|
|
32
32
|
import type { VegaTableSelectAllProp as IVegaTableVegaTableSelectAllProp } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
33
33
|
import type { VegaTableRowSelectEventDetail as IVegaTableVegaTableRowSelectEventDetail } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
34
34
|
import type { VegaTableRowSelectAllEventDetail as IVegaTableVegaTableRowSelectAllEventDetail } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
35
|
+
import type { DragDropEventPayload as IVegaTableDragDropEventPayload } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
35
36
|
import type { VegaTableHeadCellClickEvent as IVegaTableHeadCellVegaTableHeadCellClickEvent } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
36
37
|
import type { VegaTableRowClickEvent as IVegaTableRowVegaTableRowClickEvent } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
37
38
|
import type { VegaTableRowExpandEvent as IVegaTableRowVegaTableRowExpandEvent } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
@@ -90,6 +91,16 @@ export declare interface VegaAppHeaderButton extends Components.VegaAppHeaderBut
|
|
|
90
91
|
* An event emitter notifying the reset event in the dropdown. @eventSemantics namespace:native,@vegaVersion 2.73.0
|
|
91
92
|
*/
|
|
92
93
|
reset: EventEmitter<CustomEvent<string>>;
|
|
94
|
+
/**
|
|
95
|
+
* An event emitter notifying the search event in the dropdown,
|
|
96
|
+
but only if `useDefaultFilter` is set to `false`. @vegaVersion 2.84.0
|
|
97
|
+
*/
|
|
98
|
+
vegaSearch: EventEmitter<CustomEvent<string>>;
|
|
99
|
+
/**
|
|
100
|
+
* An event emitter notifying the search event in the dropdown,
|
|
101
|
+
but only if `useDefaultFilter` is set to `false`. @eventSemantics namespace:native,@vegaVersion 2.84.0
|
|
102
|
+
*/
|
|
103
|
+
dropdownSearch: EventEmitter<CustomEvent<string>>;
|
|
93
104
|
}
|
|
94
105
|
export declare class VegaAppHeaderButton {
|
|
95
106
|
protected z: NgZone;
|
|
@@ -493,6 +504,23 @@ export declare class VegaColorSwatch {
|
|
|
493
504
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaColorSwatch, never>;
|
|
494
505
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaColorSwatch, "vega-color-swatch", never, { "color": "color"; "disabled": "disabled"; "label": "label"; "selected": "selected"; "shape": "shape"; "size": "size"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
495
506
|
}
|
|
507
|
+
export declare interface VegaColorSwatchPicker extends Components.VegaColorSwatchPicker {
|
|
508
|
+
/**
|
|
509
|
+
* An event emitter notifying the change of the selected color value. @vegaVersion 2.84.0
|
|
510
|
+
*/
|
|
511
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
512
|
+
/**
|
|
513
|
+
* An event emitter notifying the change of the selected color value. @eventSemantics namespace:native,@vegaVersion 2.84.0
|
|
514
|
+
*/
|
|
515
|
+
change: EventEmitter<CustomEvent<string>>;
|
|
516
|
+
}
|
|
517
|
+
export declare class VegaColorSwatchPicker {
|
|
518
|
+
protected z: NgZone;
|
|
519
|
+
protected el: HTMLElement;
|
|
520
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
521
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaColorSwatchPicker, never>;
|
|
522
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaColorSwatchPicker, "vega-color-swatch-picker", never, { "autoValidation": "autoValidation"; "colors": "colors"; "disabled": "disabled"; "inputFormatter": "inputFormatter"; "inputPlaceholder": "inputPlaceholder"; "inputPrefixIcon": "inputPrefixIcon"; "isValid": "isValid"; "label": "label"; "required": "required"; "showClearButton": "showClearButton"; "showInput": "showInput"; "swatchGridColumns": "swatchGridColumns"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
|
|
523
|
+
}
|
|
496
524
|
export declare interface VegaComboBox extends Components.VegaComboBox {
|
|
497
525
|
/**
|
|
498
526
|
* An event emitter notifying changes in the items of the combo box value,
|
|
@@ -2051,13 +2079,23 @@ export declare interface VegaTable extends Components.VegaTable {
|
|
|
2051
2079
|
* An event emitter notifying before the selected change when select/deselect all rows @eventSemantics namespace:native,@vegaVersion 2.23.0
|
|
2052
2080
|
*/
|
|
2053
2081
|
rowSelectAll: EventEmitter<CustomEvent<IVegaTableVegaTableRowSelectAllEventDetail>>;
|
|
2082
|
+
/**
|
|
2083
|
+
* An event emitter notifying when a row is drag and drop,
|
|
2084
|
+
it include full lifecycle, like drag start, drag, drag enter, drag leave, drag over, drop and drag end. @vegaVersion 2.85.0
|
|
2085
|
+
*/
|
|
2086
|
+
vegaRowDragDrop: EventEmitter<CustomEvent<IVegaTableDragDropEventPayload>>;
|
|
2087
|
+
/**
|
|
2088
|
+
* An event emitter notifying when a row is drag and drop,
|
|
2089
|
+
it include full lifecycle, like drag start, drag, drag enter, drag leave, drag over, drop and drag end. @eventSemantics namespace:native,@vegaVersion 2.85.0
|
|
2090
|
+
*/
|
|
2091
|
+
rowDragDrop: EventEmitter<CustomEvent<IVegaTableDragDropEventPayload>>;
|
|
2054
2092
|
}
|
|
2055
2093
|
export declare class VegaTable {
|
|
2056
2094
|
protected z: NgZone;
|
|
2057
2095
|
protected el: HTMLElement;
|
|
2058
2096
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2059
2097
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTable, never>;
|
|
2060
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTable, "vega-table", never, { "columnDivider": "columnDivider"; "columns": "columns"; "dataSource": "dataSource"; "density": "density"; "emptyDescription": "emptyDescription"; "groupColumns": "groupColumns"; "paddingX": "paddingX"; "pagination": "pagination"; "rowClickable": "rowClickable"; "rowDivider": "rowDivider"; "rowExpandable": "rowExpandable"; "rowKey": "rowKey"; "rowSelection": "rowSelection"; "scrollConfig": "scrollConfig"; "showHeader": "showHeader"; "sortConfig": "sortConfig"; "striped": "striped"; }, {}, never, ["*"]>;
|
|
2098
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTable, "vega-table", never, { "columnDivider": "columnDivider"; "columns": "columns"; "dataSource": "dataSource"; "density": "density"; "emptyDescription": "emptyDescription"; "groupColumns": "groupColumns"; "paddingX": "paddingX"; "pagination": "pagination"; "rowClickable": "rowClickable"; "rowDivider": "rowDivider"; "rowDraggable": "rowDraggable"; "rowExpandable": "rowExpandable"; "rowKey": "rowKey"; "rowSelection": "rowSelection"; "scrollConfig": "scrollConfig"; "showHeader": "showHeader"; "sortConfig": "sortConfig"; "striped": "striped"; }, {}, never, ["*"]>;
|
|
2061
2099
|
}
|
|
2062
2100
|
export declare interface VegaTableBody extends Components.VegaTableBody {
|
|
2063
2101
|
}
|
|
@@ -2242,7 +2280,7 @@ export declare class VegaTimePicker {
|
|
|
2242
2280
|
protected el: HTMLElement;
|
|
2243
2281
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2244
2282
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaTimePicker, never>;
|
|
2245
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTimePicker, "vega-time-picker", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "increments": "increments"; "isValid": "isValid"; "label": "label"; "mode": "mode"; "placeholder": "placeholder"; "positionRelativeTo": "positionRelativeTo"; "readOnly": "readOnly"; "required": "required"; "size": "size"; "timeFormat": "timeFormat"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
|
|
2283
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaTimePicker, "vega-time-picker", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "increments": "increments"; "isValid": "isValid"; "label": "label"; "mode": "mode"; "placeholder": "placeholder"; "positionRelativeTo": "positionRelativeTo"; "readOnly": "readOnly"; "required": "required"; "showClearIcon": "showClearIcon"; "size": "size"; "timeFormat": "timeFormat"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
|
|
2246
2284
|
}
|
|
2247
2285
|
export declare interface VegaTimePickerDropdown extends Components.VegaTimePickerDropdown {
|
|
2248
2286
|
}
|
|
@@ -2297,5 +2335,5 @@ export declare class VegaVirtualScroll {
|
|
|
2297
2335
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
|
|
2298
2336
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "isLoading": "isLoading"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "viewportMaxHeight": "viewportMaxHeight"; "virtualizationThreshold": "virtualizationThreshold"; }, {}, never, ["*"]>;
|
|
2299
2337
|
}
|
|
2300
|
-
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBackdrop | typeof VegaBanner | typeof VegaBarChart | typeof VegaBox | typeof VegaBrandLogo | typeof VegaBreadcrumb | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonGroup | typeof VegaButtonGroupItem | typeof VegaButtonLink | typeof VegaCalendar | typeof VegaCalendarEvent | typeof VegaCalendarEventPreview | typeof VegaCalendarEventSlot | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaCodeBlock | typeof VegaColorPicker | typeof VegaColorSwatch | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDatePickerCalendar | typeof VegaDialog | typeof VegaDivider | typeof VegaDropdown | typeof VegaDropdownContentBox | typeof VegaDropdownGroup | typeof VegaDropdownItem | typeof VegaFieldError | typeof VegaFieldLabel | typeof VegaFileUploader | typeof VegaFlagIcon | typeof VegaFlex | typeof VegaFont | typeof VegaForm | typeof VegaGrid | typeof VegaHint | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputCreditCard | typeof VegaInputNumeric | typeof VegaInputPasscode | typeof VegaInputPhoneNumber | typeof VegaInputRange | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | typeof VegaLoaderWrapper | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaNavCard | typeof VegaPageNotification | typeof VegaPageNotificationList | typeof VegaPagination | typeof VegaPaginationPageSelectorMobile | typeof VegaPaginationPageSizeSelectorMobile | typeof VegaPieChart | typeof VegaPopover | typeof VegaPopoverContentBox | typeof VegaProgressTracker | typeof VegaProgressTrackerStep | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaRichTextContent | typeof VegaRichTextEditor | typeof VegaRichTextEditorToolbarButton | typeof VegaRichTextImageEditor | typeof VegaRichTextLinkEditor | typeof VegaRichTextTableProperties | typeof VegaRichTextTableSelectionWidget | typeof VegaRichTextTableSetting | typeof VegaSectionTitle | typeof VegaSegmentControl | typeof VegaSelectionChip | typeof VegaSelectionChipGroup | typeof VegaSelectionTile | typeof VegaSelectionTileGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaSignatureCapture | typeof VegaSkeleton | typeof VegaSlotContainer | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTabGroupPanel | typeof VegaTable | typeof VegaTableBody | typeof VegaTableCell | typeof VegaTableExpandRow | typeof VegaTableFoot | typeof VegaTableFootCell | typeof VegaTableFootRow | typeof VegaTableHead | typeof VegaTableHeadCell | typeof VegaTableHeadRow | typeof VegaTableRow | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaTimePickerDropdown | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaTooltipContentBox | typeof VegaVirtualScroll)[];
|
|
2338
|
+
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBackdrop | typeof VegaBanner | typeof VegaBarChart | typeof VegaBox | typeof VegaBrandLogo | typeof VegaBreadcrumb | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonGroup | typeof VegaButtonGroupItem | typeof VegaButtonLink | typeof VegaCalendar | typeof VegaCalendarEvent | typeof VegaCalendarEventPreview | typeof VegaCalendarEventSlot | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaCodeBlock | typeof VegaColorPicker | typeof VegaColorSwatch | typeof VegaColorSwatchPicker | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDatePickerCalendar | typeof VegaDialog | typeof VegaDivider | typeof VegaDropdown | typeof VegaDropdownContentBox | typeof VegaDropdownGroup | typeof VegaDropdownItem | typeof VegaFieldError | typeof VegaFieldLabel | typeof VegaFileUploader | typeof VegaFlagIcon | typeof VegaFlex | typeof VegaFont | typeof VegaForm | typeof VegaGrid | typeof VegaHint | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputCreditCard | typeof VegaInputNumeric | typeof VegaInputPasscode | typeof VegaInputPhoneNumber | typeof VegaInputRange | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | typeof VegaLoaderWrapper | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaNavCard | typeof VegaPageNotification | typeof VegaPageNotificationList | typeof VegaPagination | typeof VegaPaginationPageSelectorMobile | typeof VegaPaginationPageSizeSelectorMobile | typeof VegaPieChart | typeof VegaPopover | typeof VegaPopoverContentBox | typeof VegaProgressTracker | typeof VegaProgressTrackerStep | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaRichTextContent | typeof VegaRichTextEditor | typeof VegaRichTextEditorToolbarButton | typeof VegaRichTextImageEditor | typeof VegaRichTextLinkEditor | typeof VegaRichTextTableProperties | typeof VegaRichTextTableSelectionWidget | typeof VegaRichTextTableSetting | typeof VegaSectionTitle | typeof VegaSegmentControl | typeof VegaSelectionChip | typeof VegaSelectionChipGroup | typeof VegaSelectionTile | typeof VegaSelectionTileGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaSignatureCapture | typeof VegaSkeleton | typeof VegaSlotContainer | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTabGroupPanel | typeof VegaTable | typeof VegaTableBody | typeof VegaTableCell | typeof VegaTableExpandRow | typeof VegaTableFoot | typeof VegaTableFootCell | typeof VegaTableFootRow | typeof VegaTableHead | typeof VegaTableHeadCell | typeof VegaTableHeadRow | typeof VegaTableRow | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaTimePickerDropdown | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaTooltipContentBox | typeof VegaVirtualScroll)[];
|
|
2301
2339
|
export default _default;
|
|
@@ -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, vega-checkbox-group, vega-color-picker, vega-combo-box, vega-date-picker, vega-file-uploader, vega-image-uploader, vega-input, vega-input-credit-card, vega-input-numeric, vega-input-passcode, vega-input-phone-number, vega-input-range, vega-input-select, vega-radio-group, vega-rich-text-editor, vega-selection-chip-group, vega-selection-tile-group, vega-signature-capture, vega-stepper, vega-textarea, vega-time-picker, vega-toggle-switch", never, {}, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "vega-checkbox, vega-checkbox-group, vega-color-picker, vega-color-swatch-picker, vega-combo-box, vega-date-picker, vega-file-uploader, vega-image-uploader, vega-input, vega-input-credit-card, vega-input-numeric, vega-input-passcode, vega-input-phone-number, vega-input-range, vega-input-select, vega-radio-group, vega-rich-text-editor, vega-selection-chip-group, vega-selection-tile-group, vega-signature-capture, vega-stepper, vega-textarea, vega-time-picker, vega-toggle-switch", never, {}, {}, never>;
|
|
8
8
|
}
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-angular",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.84.0",
|
|
5
5
|
"description": "Angular specific wrapper for @heartlandone/vega",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"peerDependencies": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@heartlandone/vega": "2.
|
|
22
|
+
"@heartlandone/vega": "2.84.0",
|
|
23
23
|
"tslib": "^2.3.0",
|
|
24
24
|
"@juggle/resize-observer": "^3.4.0"
|
|
25
25
|
},
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
import type { RenderResult } from '@testing-library/angular';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated This utility is deprecated. Use `waitForVega` from `@heartlandone/vega-testing-library` directly.
|
|
4
|
+
* The `vega-testing-library` package supports Jest fake timers and does not require a `RenderResult` argument.
|
|
5
|
+
* Install it separately: `npm install @heartlandone/vega-testing-library`
|
|
6
|
+
*/
|
|
2
7
|
export declare function waitForVegaReady(renderResult: RenderResult<unknown, unknown>, delay?: number): Promise<RenderResult<unknown, unknown>>;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated This type is deprecated. Use `MockedResizeObserverController` from `@heartlandone/vega-testing-library` directly.
|
|
10
|
+
* Install it separately: `npm install @heartlandone/vega-testing-library`
|
|
11
|
+
*/
|
|
3
12
|
export declare type MockedResizeObserverController = {
|
|
4
13
|
hide: (selector: string, container?: HTMLElement) => void;
|
|
5
14
|
show: (selector: string, container?: HTMLElement) => void;
|
|
6
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated This function is deprecated. Use `mockResizeObserver` from `@heartlandone/vega-testing-library` directly.
|
|
18
|
+
* Install it separately: `npm install @heartlandone/vega-testing-library`
|
|
19
|
+
*/
|
|
7
20
|
export declare function mockResizeObserver(): MockedResizeObserverController;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heartlandone/vega-angular",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.85.0",
|
|
5
5
|
"description": "Angular specific wrapper for @heartlandone/vega",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"peerDependencies": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@heartlandone/vega": "2.
|
|
30
|
+
"@heartlandone/vega": "2.85.0",
|
|
31
31
|
"tslib": "^2.3.0",
|
|
32
32
|
"@juggle/resize-observer": "^3.4.0"
|
|
33
33
|
},
|
|
@@ -89,6 +89,16 @@ export declare interface VegaAppHeaderButton extends Components.VegaAppHeaderBut
|
|
|
89
89
|
* An event emitter notifying the reset event in the dropdown. @eventSemantics namespace:native,@vegaVersion 2.73.0
|
|
90
90
|
*/
|
|
91
91
|
reset: EventEmitter<CustomEvent<string>>;
|
|
92
|
+
/**
|
|
93
|
+
* An event emitter notifying the search event in the dropdown,
|
|
94
|
+
but only if `useDefaultFilter` is set to `false`. @vegaVersion 2.84.0
|
|
95
|
+
*/
|
|
96
|
+
vegaSearch: EventEmitter<CustomEvent<string>>;
|
|
97
|
+
/**
|
|
98
|
+
* An event emitter notifying the search event in the dropdown,
|
|
99
|
+
but only if `useDefaultFilter` is set to `false`. @eventSemantics namespace:native,@vegaVersion 2.84.0
|
|
100
|
+
*/
|
|
101
|
+
dropdownSearch: EventEmitter<CustomEvent<string>>;
|
|
92
102
|
|
|
93
103
|
}
|
|
94
104
|
|
|
@@ -107,7 +117,7 @@ export class VegaAppHeaderButton {
|
|
|
107
117
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
108
118
|
c.detach();
|
|
109
119
|
this.el = r.nativeElement;
|
|
110
|
-
proxyOutputs(this, this.el, ['vegaClick', 'click', 'vegaDropdownClick', 'dropdownClick', 'vegaReset', 'reset']);
|
|
120
|
+
proxyOutputs(this, this.el, ['vegaClick', 'click', 'vegaDropdownClick', 'dropdownClick', 'vegaReset', 'reset', 'vegaSearch', 'dropdownSearch']);
|
|
111
121
|
}
|
|
112
122
|
}
|
|
113
123
|
|
|
@@ -832,6 +842,38 @@ export class VegaColorSwatch {
|
|
|
832
842
|
}
|
|
833
843
|
|
|
834
844
|
|
|
845
|
+
export declare interface VegaColorSwatchPicker extends Components.VegaColorSwatchPicker {
|
|
846
|
+
/**
|
|
847
|
+
* An event emitter notifying the change of the selected color value. @vegaVersion 2.84.0
|
|
848
|
+
*/
|
|
849
|
+
vegaChange: EventEmitter<CustomEvent<string>>;
|
|
850
|
+
/**
|
|
851
|
+
* An event emitter notifying the change of the selected color value. @eventSemantics namespace:native,@vegaVersion 2.84.0
|
|
852
|
+
*/
|
|
853
|
+
change: EventEmitter<CustomEvent<string>>;
|
|
854
|
+
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
@ProxyCmp({
|
|
858
|
+
defineCustomElementFn: undefined,
|
|
859
|
+
inputs: ['autoValidation', 'colors', 'disabled', 'inputFormatter', 'inputPlaceholder', 'inputPrefixIcon', 'isValid', 'label', 'required', 'showClearButton', 'showInput', 'swatchGridColumns', 'validationRules', 'value']
|
|
860
|
+
})
|
|
861
|
+
@Component({
|
|
862
|
+
selector: 'vega-color-swatch-picker',
|
|
863
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
864
|
+
template: '<ng-content></ng-content>',
|
|
865
|
+
inputs: ['autoValidation', 'colors', 'disabled', 'inputFormatter', 'inputPlaceholder', 'inputPrefixIcon', 'isValid', 'label', 'required', 'showClearButton', 'showInput', 'swatchGridColumns', 'validationRules', 'value']
|
|
866
|
+
})
|
|
867
|
+
export class VegaColorSwatchPicker {
|
|
868
|
+
protected el: HTMLElement;
|
|
869
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
870
|
+
c.detach();
|
|
871
|
+
this.el = r.nativeElement;
|
|
872
|
+
proxyOutputs(this, this.el, ['vegaChange', 'change']);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
|
|
835
877
|
export declare interface VegaComboBox extends Components.VegaComboBox {
|
|
836
878
|
/**
|
|
837
879
|
* An event emitter notifying changes in the items of the combo box value,
|
|
@@ -3353,6 +3395,7 @@ import type { VegaTableRowSelectProp as IVegaTableVegaTableRowSelectProp } from
|
|
|
3353
3395
|
import type { VegaTableSelectAllProp as IVegaTableVegaTableSelectAllProp } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
3354
3396
|
import type { VegaTableRowSelectEventDetail as IVegaTableVegaTableRowSelectEventDetail } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
3355
3397
|
import type { VegaTableRowSelectAllEventDetail as IVegaTableVegaTableRowSelectAllEventDetail } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
3398
|
+
import type { DragDropEventPayload as IVegaTableDragDropEventPayload } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
3356
3399
|
export declare interface VegaTable extends Components.VegaTable {
|
|
3357
3400
|
/**
|
|
3358
3401
|
* An event emitter notifying changes in the table data. @vegaVersion 1.3.0
|
|
@@ -3416,26 +3459,36 @@ export declare interface VegaTable extends Components.VegaTable {
|
|
|
3416
3459
|
* An event emitter notifying before the selected change when select/deselect all rows @eventSemantics namespace:native,@vegaVersion 2.23.0
|
|
3417
3460
|
*/
|
|
3418
3461
|
rowSelectAll: EventEmitter<CustomEvent<IVegaTableVegaTableRowSelectAllEventDetail>>;
|
|
3462
|
+
/**
|
|
3463
|
+
* An event emitter notifying when a row is drag and drop,
|
|
3464
|
+
it include full lifecycle, like drag start, drag, drag enter, drag leave, drag over, drop and drag end. @vegaVersion 2.85.0
|
|
3465
|
+
*/
|
|
3466
|
+
vegaRowDragDrop: EventEmitter<CustomEvent<IVegaTableDragDropEventPayload>>;
|
|
3467
|
+
/**
|
|
3468
|
+
* An event emitter notifying when a row is drag and drop,
|
|
3469
|
+
it include full lifecycle, like drag start, drag, drag enter, drag leave, drag over, drop and drag end. @eventSemantics namespace:native,@vegaVersion 2.85.0
|
|
3470
|
+
*/
|
|
3471
|
+
rowDragDrop: EventEmitter<CustomEvent<IVegaTableDragDropEventPayload>>;
|
|
3419
3472
|
|
|
3420
3473
|
}
|
|
3421
3474
|
|
|
3422
3475
|
@ProxyCmp({
|
|
3423
3476
|
defineCustomElementFn: undefined,
|
|
3424
|
-
inputs: ['columnDivider', 'columns', 'dataSource', 'density', 'emptyDescription', 'groupColumns', 'paddingX', 'pagination', 'rowClickable', 'rowDivider', 'rowExpandable', 'rowKey', 'rowSelection', 'scrollConfig', 'showHeader', 'sortConfig', 'striped'],
|
|
3477
|
+
inputs: ['columnDivider', 'columns', 'dataSource', 'density', 'emptyDescription', 'groupColumns', 'paddingX', 'pagination', 'rowClickable', 'rowDivider', 'rowDraggable', 'rowExpandable', 'rowKey', 'rowSelection', 'scrollConfig', 'showHeader', 'sortConfig', 'striped'],
|
|
3425
3478
|
methods: ['openExpandRow', 'closeExpandRow', 'closeAllExpandRow', 'toggleExpandRow', 'clearSelection', 'getSelection', 'setSelection', 'startRowEditMode', 'stopRowEditMode', 'stopAllRowEditMode', 'getRowData', 'getRowsData', 'getFormRef', 'addNewRow', 'saveEditRow', 'saveAllEditRows', 'getEditingRowsKey', 'removeRow']
|
|
3426
3479
|
})
|
|
3427
3480
|
@Component({
|
|
3428
3481
|
selector: 'vega-table',
|
|
3429
3482
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3430
3483
|
template: '<ng-content></ng-content>',
|
|
3431
|
-
inputs: ['columnDivider', 'columns', 'dataSource', 'density', 'emptyDescription', 'groupColumns', 'paddingX', 'pagination', 'rowClickable', 'rowDivider', 'rowExpandable', 'rowKey', 'rowSelection', 'scrollConfig', 'showHeader', 'sortConfig', 'striped']
|
|
3484
|
+
inputs: ['columnDivider', 'columns', 'dataSource', 'density', 'emptyDescription', 'groupColumns', 'paddingX', 'pagination', 'rowClickable', 'rowDivider', 'rowDraggable', 'rowExpandable', 'rowKey', 'rowSelection', 'scrollConfig', 'showHeader', 'sortConfig', 'striped']
|
|
3432
3485
|
})
|
|
3433
3486
|
export class VegaTable {
|
|
3434
3487
|
protected el: HTMLElement;
|
|
3435
3488
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
3436
3489
|
c.detach();
|
|
3437
3490
|
this.el = r.nativeElement;
|
|
3438
|
-
proxyOutputs(this, this.el, ['vegaChange', 'change', 'vegaRowClick', 'rowClick', 'vegaRowExpand', 'rowExpand', 'vegaSelectChange', 'selectChange', 'vegaSelectAllChange', 'selectAllChange', 'vegaRowSelect', 'rowSelect', 'vegaRowSelectAll', 'rowSelectAll']);
|
|
3491
|
+
proxyOutputs(this, this.el, ['vegaChange', 'change', 'vegaRowClick', 'rowClick', 'vegaRowExpand', 'rowExpand', 'vegaSelectChange', 'selectChange', 'vegaSelectAllChange', 'selectAllChange', 'vegaRowSelect', 'rowSelect', 'vegaRowSelectAll', 'rowSelectAll', 'vegaRowDragDrop', 'rowDragDrop']);
|
|
3439
3492
|
}
|
|
3440
3493
|
}
|
|
3441
3494
|
|
|
@@ -3768,13 +3821,13 @@ export declare interface VegaTimePicker extends Components.VegaTimePicker {
|
|
|
3768
3821
|
|
|
3769
3822
|
@ProxyCmp({
|
|
3770
3823
|
defineCustomElementFn: undefined,
|
|
3771
|
-
inputs: ['autoValidation', 'disabled', 'increments', 'isValid', 'label', 'mode', 'placeholder', 'positionRelativeTo', 'readOnly', 'required', 'size', 'timeFormat', 'validationRules', 'value']
|
|
3824
|
+
inputs: ['autoValidation', 'disabled', 'increments', 'isValid', 'label', 'mode', 'placeholder', 'positionRelativeTo', 'readOnly', 'required', 'showClearIcon', 'size', 'timeFormat', 'validationRules', 'value']
|
|
3772
3825
|
})
|
|
3773
3826
|
@Component({
|
|
3774
3827
|
selector: 'vega-time-picker',
|
|
3775
3828
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3776
3829
|
template: '<ng-content></ng-content>',
|
|
3777
|
-
inputs: ['autoValidation', 'disabled', 'increments', 'isValid', 'label', 'mode', 'placeholder', 'positionRelativeTo', 'readOnly', 'required', 'size', 'timeFormat', 'validationRules', 'value']
|
|
3830
|
+
inputs: ['autoValidation', 'disabled', 'increments', 'isValid', 'label', 'mode', 'placeholder', 'positionRelativeTo', 'readOnly', 'required', 'showClearIcon', 'size', 'timeFormat', 'validationRules', 'value']
|
|
3778
3831
|
})
|
|
3779
3832
|
export class VegaTimePicker {
|
|
3780
3833
|
protected el: HTMLElement;
|
|
@@ -3927,6 +3980,7 @@ export default [
|
|
|
3927
3980
|
VegaCodeBlock,
|
|
3928
3981
|
VegaColorPicker,
|
|
3929
3982
|
VegaColorSwatch,
|
|
3983
|
+
VegaColorSwatchPicker,
|
|
3930
3984
|
VegaComboBox,
|
|
3931
3985
|
VegaCounterBadge,
|
|
3932
3986
|
VegaDatePicker,
|
|
@@ -5,7 +5,7 @@ import { ValueAccessor } from './value-accessor';
|
|
|
5
5
|
|
|
6
6
|
@Directive({
|
|
7
7
|
/* tslint:disable-next-line:directive-selector */
|
|
8
|
-
selector: 'vega-checkbox, vega-checkbox-group, vega-color-picker, vega-combo-box, vega-date-picker, vega-file-uploader, vega-image-uploader, vega-input, vega-input-credit-card, vega-input-numeric, vega-input-passcode, vega-input-phone-number, vega-input-range, vega-input-select, vega-radio-group, vega-rich-text-editor, vega-selection-chip-group, vega-selection-tile-group, vega-signature-capture, vega-stepper, vega-textarea, vega-time-picker, vega-toggle-switch',
|
|
8
|
+
selector: 'vega-checkbox, vega-checkbox-group, vega-color-picker, vega-color-swatch-picker, vega-combo-box, vega-date-picker, vega-file-uploader, vega-image-uploader, vega-input, vega-input-credit-card, vega-input-numeric, vega-input-passcode, vega-input-phone-number, vega-input-range, vega-input-select, vega-radio-group, vega-rich-text-editor, vega-selection-chip-group, vega-selection-tile-group, vega-signature-capture, vega-stepper, vega-textarea, vega-time-picker, vega-toggle-switch',
|
|
9
9
|
host: {
|
|
10
10
|
'(vegaChange)': "handleChangeEvent($event.currentTarget.value, 'vega')",
|
|
11
11
|
'(change)': "handleChangeEvent($event.currentTarget.value, 'native')"
|
|
@@ -33,6 +33,7 @@ function resolveEventPayloadImportPath(componentsContent) {
|
|
|
33
33
|
['VegaTableRowClickPropType', 'vega-table/interface'],
|
|
34
34
|
['VegaTableRowSelectProp', 'vega-table/interface'],
|
|
35
35
|
['VegaTableSelectAllProp', 'vega-table/interface'],
|
|
36
|
+
['VegaTableDragEndProp', 'vega-table/interface'],
|
|
36
37
|
['VegaFileOptional', 'vega-image-uploader/types'],
|
|
37
38
|
['SelectValueType', 'vega-input-select/types'],
|
|
38
39
|
['SelectType', 'vega-input-select/types'],
|
|
@@ -40,6 +41,7 @@ function resolveEventPayloadImportPath(componentsContent) {
|
|
|
40
41
|
['VegaTableHeadCellClickEvent', 'vega-table/interface'],
|
|
41
42
|
['VegaTableRowClickEvent', 'vega-table/interface'],
|
|
42
43
|
['VegaTableRowExpandEvent', 'vega-table/interface'],
|
|
44
|
+
['DragDropEventPayload', 'vega-table/interface'],
|
|
43
45
|
['VegaDropdownItemClickEvent', 'vega-dropdown/vega-dropdown-item/types'],
|
|
44
46
|
['VegaCalendarChangeEventType', 'vega-calendar/types'],
|
|
45
47
|
['VegaCalendarEventClickInfo', 'vega-calendar/types'],
|
package/testing/index.ts
CHANGED
|
@@ -4,6 +4,11 @@ import type { RenderResult } from '@testing-library/angular';
|
|
|
4
4
|
|
|
5
5
|
type Nullable<T> = T | undefined | null;
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated This utility is deprecated. Use `waitForVega` from `@heartlandone/vega-testing-library` directly.
|
|
9
|
+
* The `vega-testing-library` package supports Jest fake timers and does not require a `RenderResult` argument.
|
|
10
|
+
* Install it separately: `npm install @heartlandone/vega-testing-library`
|
|
11
|
+
*/
|
|
7
12
|
export async function waitForVegaReady(
|
|
8
13
|
renderResult: RenderResult<unknown, unknown>,
|
|
9
14
|
delay: number = 300,
|
|
@@ -21,11 +26,19 @@ export async function waitForVegaReady(
|
|
|
21
26
|
return renderResult;
|
|
22
27
|
}
|
|
23
28
|
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated This type is deprecated. Use `MockedResizeObserverController` from `@heartlandone/vega-testing-library` directly.
|
|
31
|
+
* Install it separately: `npm install @heartlandone/vega-testing-library`
|
|
32
|
+
*/
|
|
24
33
|
export type MockedResizeObserverController = {
|
|
25
34
|
hide: (selector: string, container?: HTMLElement) => void;
|
|
26
35
|
show: (selector: string, container?: HTMLElement) => void;
|
|
27
36
|
};
|
|
28
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated This function is deprecated. Use `mockResizeObserver` from `@heartlandone/vega-testing-library` directly.
|
|
40
|
+
* Install it separately: `npm install @heartlandone/vega-testing-library`
|
|
41
|
+
*/
|
|
29
42
|
export function mockResizeObserver(): MockedResizeObserverController {
|
|
30
43
|
type MockedResizeObserver = ResizeObserver & {
|
|
31
44
|
show: () => void;
|