@globalpayments/vega-angular 2.13.0-backfill-beta.2 → 2.50.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.
@@ -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-image-uploader, vega-input, vega-input-credit-card, vega-input-range, vega-input-select, vega-radio-group, vega-selection-tile-group, vega-stepper, vega-textarea, vega-time-picker',
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-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')"
@@ -39,11 +39,30 @@ function resolveEventPayloadImportPath(componentsContent) {
39
39
  ['VegaBreadcrumbItemType', 'vega-breadcrumb/types'],
40
40
  ['VegaTableHeadCellClickEvent', 'vega-table/interface'],
41
41
  ['VegaTableRowClickEvent', 'vega-table/interface'],
42
+ ['VegaTableRowExpandEvent', 'vega-table/interface'],
42
43
  ['VegaDropdownItemClickEvent', 'vega-dropdown/vega-dropdown-item/types'],
44
+ ['VegaCalendarChangeEventType', 'vega-calendar/types'],
45
+ ['VegaCalendarEventClickInfo', 'vega-calendar/types'],
46
+ ['VegaCalendarDateClickInfo', 'vega-calendar/types'],
47
+ ['VegaCountryType', 'vega-input-phone-number/types'],
48
+ ['VegaBannerActionButtonType', 'vega-banner/types'],
49
+ ['VegaSignatureValue', 'vega-signature-capture/types'],
50
+ ['VegaTableRowSelectEventDetail', 'vega-table/interface'],
51
+ ['VegaTableRowSelectAllEventDetail', 'vega-table/interface'],
52
+ ['VegaTableRowExpandEventDetail', 'vega-table/interface'],
53
+ ['VegaFileUploaderFiles', 'vega-file-uploader/types'],
54
+ ['VegaFileUploaderFile', 'vega-file-uploader/types'],
55
+ ['VegaDropdownSearchTriggerEventDetail', 'vega-dropdown/types'],
56
+ ['VegaRTEContentBlock', 'vega-rich-text-editor/interface'],
57
+ ['VegaRichTextLinkEditorChangeDetail', 'vega-rich-text-editor/vega-rich-text-link-editor/types'],
58
+ ['VegaRichTextImageEditorChangeDetail', 'vega-rich-text-editor/vega-rich-text-image-editor/types'],
59
+ ['VegaRichTextEditorImage', 'vega-rich-text-editor/interface'],
60
+ ['VegaRTEContent', 'vega-rich-text-editor/dto/content-state'],
61
+ ['VegaCodeBlockValue', 'vega-code-block/types']
43
62
  ]);
44
63
 
45
64
  return componentsContent.replace(
46
- /(import type { (.*) as .* } from )'@heartlandone\/vega'/g,
65
+ /(import type { (.*) as .* } from )'@globalpayments\/vega'/g,
47
66
  function (matched, group1, group2) {
48
67
  const componentTypePath = EVENT_PAYLOAD_TYPE_TO_COMPONENT_TAG_MAP.get(group2);
49
68
  return `${group1}'@globalpayments/vega/dist/types/components/${componentTypePath}'`;
@@ -92,7 +111,7 @@ function addSemanticsParamToHandleChangeEvent(content) {
92
111
  }
93
112
 
94
113
  updateStencilGenerated(
95
- STENCIL_GENERATED_COMPONENTS_PATH,
114
+ STENCIL_GENERATED_COMPONENTS_PATH,
96
115
  [
97
116
  appendDefaultArrayExportInComponentsFile,
98
117
  resolveEventPayloadImportPath,
@@ -103,9 +122,9 @@ updateStencilGenerated(
103
122
  updateStencilGenerated(
104
123
  STENCIL_GENERATED_TEXT_VALUE_ACCESSOR_PATH,
105
124
  [
106
- addSemanticsParamToHandleChangeEvent,
125
+ addSemanticsParamToHandleChangeEvent
107
126
  ]
108
- )
127
+ );
109
128
 
110
129
  revertValueAccessorChangeByGit();
111
130
 
@@ -4,5 +4,5 @@
4
4
  "lib": {
5
5
  "entryFile": "./public-api.ts"
6
6
  },
7
- "allowedNonPeerDependencies": ["@testing-library/angular", "@heartlandone/vega"]
7
+ "allowedNonPeerDependencies": ["@testing-library/angular", "@globalpayments/vega"]
8
8
  }