@agorapulse/ui-components 13.2.1 → 13.2.2
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/agorapulse-ui-components-13.2.2.tgz +0 -0
- package/esm2020/src/lib/directives/multi-style-text.directive.mjs +54 -22
- package/fesm2015/agorapulse-ui-components.mjs +52 -20
- package/fesm2015/agorapulse-ui-components.mjs.map +1 -1
- package/fesm2020/agorapulse-ui-components.mjs +52 -20
- package/fesm2020/agorapulse-ui-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/directives/multi-style-text.directive.d.ts +5 -4
- package/agorapulse-ui-components-13.2.1.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Renderer2, ElementRef } from '@angular/core';
|
|
1
|
+
import { Renderer2, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
|
-
* This directive aims to parse simple string to extract some specific tags and to turn them into SPAN with styling classes attributes.
|
|
5
|
-
* The specific tags must this schema: <ng-container data-mst="STYLING-CLASSES>TEXT</ng-container>.
|
|
4
|
+
* This directive aims to parse simple string to extract some specific tags and to turn them into SPAN with styling classes attributes and optional event listening.
|
|
5
|
+
* The specific tags must this schema: <ng-container data-mst="STYLING-CLASSES">TEXT</ng-container>.
|
|
6
6
|
* Example: 'Lorem <ng-container data-mst="my-style">ipsum</ng-container> dolor sit amet'.
|
|
7
7
|
*/
|
|
8
8
|
export declare class MultiStyleTextDirective {
|
|
@@ -10,9 +10,10 @@ export declare class MultiStyleTextDirective {
|
|
|
10
10
|
private renderer;
|
|
11
11
|
private childrenCreated;
|
|
12
12
|
set multiStyleText(fullText: string);
|
|
13
|
+
partEvent: EventEmitter<string>;
|
|
13
14
|
constructor(elRef: ElementRef, renderer: Renderer2);
|
|
14
15
|
private static parse;
|
|
15
16
|
private static cutFirstGroup;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiStyleTextDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiStyleTextDirective, "[multiStyleText]", never, { "multiStyleText": "multiStyleText"; }, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MultiStyleTextDirective, "[multiStyleText]", never, { "multiStyleText": "multiStyleText"; }, { "partEvent": "partEvent"; }, never>;
|
|
18
19
|
}
|
|
Binary file
|