bpm-core 0.0.147 → 0.0.148
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/README.md +13 -1
- package/fesm2022/bpm-core.mjs +209 -38
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/shared-components/dialogs/submit-dialog/submit-dialog.component.d.ts +0 -1
- package/lib/components/shared-components/form-field/info-item/info-item.component.d.ts +0 -1
- package/lib/components/shared-components/form-field/search-employee/search-employee.component.d.ts +0 -1
- package/lib/components/shared-components/form-field/shared-imports.d.ts +1 -1
- package/lib/constants/constants.d.ts +1 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/placeholder.d.ts +2 -0
- package/lib/constants/regex.d.ts +1 -0
- package/lib/enums/cache-props.enum.d.ts +3 -0
- package/lib/pipes/extract-email-from-profile-image.pipe.d.ts +7 -0
- package/lib/services/cache.service.d.ts +12 -0
- package/lib/shared/image-optimization/directives/profile-image-by-email.directive.d.ts +30 -0
- package/lib/shared/image-optimization/index.d.ts +1 -0
- package/lib/shared/image-optimization/services/email-util.d.ts +4 -0
- package/lib/shared/image-optimization/services/profile-img.service.d.ts +15 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/225.6a4c9553019f62bc.js +0 -1
- package/3rdpartylicenses.txt +0 -627
- package/74.b58a969479dc2b91.js +0 -1
- package/909.7e353111980d7c37.js +0 -1
- package/flags.b2133e947e8c730e.webp +0 -0
- package/flags@2x.9e947ca1fe95c31b.webp +0 -0
- package/globe.98e105ca81b63f37.webp +0 -0
- package/globe@2x.974df6f829af5e5b.webp +0 -0
- package/index.html +0 -13
- package/main.9b4b52e1ff7e4198.js +0 -1
- package/polyfills.5d97dd2ab1a79a0a.js +0 -1
- package/runtime.ae137a8508f4ee91.js +0 -1
- package/scripts.85f7523a59377d77.js +0 -1
- package/styles.3accdfa44b591291.css +0 -1
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
## Table of Contents
|
|
9
9
|
|
|
10
10
|
- [Recently Added Features](#recently-added-features)
|
|
11
|
+
- [Load profile image directive](#load-profile-image-directive)
|
|
11
12
|
- [BPM Core CLI](#bpm-core-cli)
|
|
12
13
|
- [Input Mapping and Filtering](#input-mapping-and-filtering)
|
|
13
14
|
- [Time Picker](#time-picker)
|
|
@@ -17,7 +18,18 @@
|
|
|
17
18
|
---
|
|
18
19
|
|
|
19
20
|
## Recently Added Features
|
|
20
|
-
|
|
21
|
+
- ### [Load profile image directive](#load-profile-image-directive)
|
|
22
|
+
This directive loads and caches a profile image based on the provided email address. It automatically updates the `src` of an `img` element or the `image` property of a `ds-avatar` element with the loaded Base64 image.
|
|
23
|
+
* Example usage:
|
|
24
|
+
```ts
|
|
25
|
+
// First, import the directive and add it to your component imports
|
|
26
|
+
import { ProfileImageByEmailDirective } from 'bpm-core';
|
|
27
|
+
|
|
28
|
+
// Then, use it in your template with img element
|
|
29
|
+
<img [profileImageByEmail]="'user@example.com'" />
|
|
30
|
+
// or with ds-avatar element
|
|
31
|
+
<ds-avatar [profileImageByEmail]="'user@example.com'"></ds-avatar>
|
|
32
|
+
```
|
|
21
33
|
- ### [BPM Core CLI](#bpm-core-cli)
|
|
22
34
|
A command-line interface tool that provides helper scripts to speed up common tasks.
|
|
23
35
|
|