New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pega/angular-sdk-overrides

Package Overview
Dependencies
Maintainers
16
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pega/angular-sdk-overrides - npm Package Compare versions

Comparing version 0.23.2 to 0.23.3

2

lib/field/rich-text/rich-text.component.ts

@@ -7,3 +7,3 @@ import { Component, OnInit, Input, forwardRef, OnDestroy } from '@angular/core';

import { ComponentMapperComponent } from '@pega/angular-sdk-components';
import handleEvent from '@pega/angular-sdk-components';
import { handleEvent } from '@pega/angular-sdk-components';
import { PConnFieldProps } from '@pega/angular-sdk-components';

@@ -10,0 +10,0 @@

@@ -152,20 +152,26 @@ import { Component, OnInit, Input, NgZone, forwardRef, OnDestroy } from '@angular/core';

// const uploadedFiles = [];
const arFiles: any = Array.from(files);
for (const file of files) {
attachmentUtils
.uploadAttachment(file, this.onUploadProgress, this.errorHandler, this.pConn$.getContextName())
.then((fileResponse: any) => {
if (fileResponse.type === 'File') {
(attachmentUtils.linkAttachmentsToCase(caseID, [fileResponse], 'File', this.pConn$.getContextName()) as Promise<any>)
.then(() => {
this.refreshAttachments();
})
.catch(console.error);
Promise.allSettled(
arFiles.map(file => attachmentUtils.uploadAttachment(file, this.onUploadProgress, this.errorHandler, this.pConn$.getContextName()))
)
.then((fileResponses: any) => {
const uploadedFiles: any = [];
fileResponses.forEach(fileResponse => {
if (fileResponse.status === 'fulfilled') {
uploadedFiles.push(fileResponse.value);
}
})
.catch(console.error);
}
});
if (uploadedFiles.length > 0) {
(attachmentUtils.linkAttachmentsToCase(caseID, uploadedFiles, 'File', this.pConn$.getContextName()) as Promise<any>)
.then(() => {
this.refreshAttachments();
})
.catch();
}
})
.catch();
this.arFileList$ = [];
this.lu_bLoading$ = false;
}

@@ -172,0 +178,0 @@

{
"name": "@pega/angular-sdk-overrides",
"version": "0.23.2",
"version": "0.23.3",
"description": "Angular SDK - Code for overriding components",

@@ -5,0 +5,0 @@ "scripts": {

# @pega/angular-sdk-overrides
This Node package comprises templates for standalone Angular components that are designed to be overridden by the Angular SDK.
This Node package comprises standalone Angular components that are designed to be overridden by the Angular SDK.
To create a project to use the Constellation Angular SDK, please use the **Angular SDK**. You can get started
with the Angular SDK using the information (including pointers to online documentation) at
[**Pega Community**](https://community.pega.com/marketplace/component/angular-sdk) and the Angular SDK code
on [**GitHub**](https://github.com/pegasystems/angular-sdk).
## Additional Resources
* [Constellaton Angular SDK on Pega Community](https://community.pega.com/marketplace/component/angular-sdk)
* [Constellation Angular SDK code](https://github.com/pegasystems/angular-sdk)
* [Constellation SDKs Documentation](https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/constellation-sdks.html)
* [Troubleshooting Constellation SDKs](https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/troubleshooting-constellation-sdks.html)
* [MediaCo sample application](https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/mediaco-sample-application.html)
* [Angular Material](https://v16.material.angular.io/)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc