Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

xrm-alerts

zhaparoff43CDDL-1.01.0.12TypeScript support: included

Custom alerts and popup windows for Dynamics 365/CRM

CRM, XRM, Dynamics CRM, Dynamics 365, D365, Alerts

readme

XRM Alerts

Build Status Release Status npm

Was forked from original Alert.js (v2.1) by Paul Nieuwelaar to bundle it into single js file, with embedded styles and images.

Having one file simplifies deployment a lot. Also this allows to include the bundle as a dependency into lager bundles and easily publish it as NPM package.

Changes from original version:

  • Migrated to TypeScript
  • Type definitions added to use in other bundles
  • Styles and images bundled into output JS using Webpack
  • Some method parameters removed, due to bundling, some were reordered
  • NPM package published

WARNING: This version is NOT fully compatible with the original Alert.js, since it contains a bunch of breaking changes in the method signatures.

changelog

Changelog

1.0.12

  • Update readme due to build pipeline changes

1.0.11

  • Browser field removed from package.json due to issue with usage with Parcel

1.0.10

  • Dependencies updated

1.0.9

  • Default export returned back to fix the iife output

1.0.8

  • Minification turned off

1.0.7

  • AlertManager class added to library exports

1.0.6

  • Typo fix

1.0.5

  • Fixed issue with type declaration producing empty output declaration

1.0.4

  • Return type for getIFrameWindow extended to include getResponse method
  • Additional method added to get iFrame input

1.0.3

  • Few types added to the exported declaration
  • Named declaration replaced the default one

1.0.2

  • @wessberg/rollup-plugin-ts version rolled back due to some issues in build

1.0.1

  • Deprecated Xrm.Page.context replaced with Xrm.Utility.getGlobalContext() call
  • Dependencies updated

1.0.0

  • Initial version