@valtimo/components 13.50.0 → 13.51.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.
- package/fesm2022/valtimo-components.mjs +129 -73
- package/fesm2022/valtimo-components.mjs.map +1 -1
- package/lib/components/form-io/components/form-io-currency/currency.component.d.ts +15 -11
- package/lib/components/form-io/components/form-io-currency/currency.component.d.ts.map +1 -1
- package/lib/components/form-io/components/form-io-mail-preview/mail-preview.component.d.ts.map +1 -1
- package/lib/components/form-io/components/form-io-mail-preview/sanitize-email-html.d.ts +2 -0
- package/lib/components/form-io/components/form-io-mail-preview/sanitize-email-html.d.ts.map +1 -0
- package/package.json +3 -2
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy,
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
2
|
import { FormioCustomComponent } from '../../../../modules';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* Custom formio component for currency number.
|
|
7
6
|
*/
|
|
8
|
-
export declare class FormIoCurrencyComponent implements FormioCustomComponent<number>,
|
|
7
|
+
export declare class FormIoCurrencyComponent implements FormioCustomComponent<number>, AfterViewInit, OnChanges, OnDestroy {
|
|
9
8
|
currencyElement: ElementRef<HTMLInputElement>;
|
|
10
|
-
readonly currencyForm: FormGroup<{
|
|
11
|
-
currencyValue: FormControl<string>;
|
|
12
|
-
}>;
|
|
13
9
|
private _value;
|
|
14
10
|
get value(): number | null;
|
|
15
11
|
set value(value: number);
|
|
16
12
|
readonly valueChange: EventEmitter<number>;
|
|
13
|
+
private _disabled;
|
|
14
|
+
get disabled(): boolean;
|
|
17
15
|
set disabled(value: boolean);
|
|
18
16
|
readonly currencyLocale: string;
|
|
19
17
|
readonly currencyCurrency: string;
|
|
20
18
|
readonly allowEmptyValue: boolean;
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
19
|
+
private _autoNumeric;
|
|
20
|
+
private _rendering;
|
|
21
|
+
private readonly _rawValueModifiedListener;
|
|
26
22
|
ngAfterViewInit(): void;
|
|
27
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Derives the AutoNumeric formatting from the Intl formatting of the configured locale and
|
|
27
|
+
* currency, so the input renders amounts exactly as that locale writes them.
|
|
28
|
+
*/
|
|
29
|
+
private get autoNumericOptions();
|
|
30
|
+
private onRawValueModified;
|
|
28
31
|
private renderValue;
|
|
32
|
+
private withoutEmitting;
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormIoCurrencyComponent, never>;
|
|
30
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormIoCurrencyComponent, "valtimo-currency", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "currencyLocale": { "alias": "currencyLocale"; "required": false; }; "currencyCurrency": { "alias": "currencyCurrency"; "required": false; }; "allowEmptyValue": { "alias": "allowEmptyValue"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
31
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-currency/currency.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,
|
|
1
|
+
{"version":3,"file":"currency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-currency/currency.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EAET,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;;AAO1D;;GAEG;AACH,qBAKa,uBACX,YAAW,qBAAqB,CAAC,MAAM,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAE/C,eAAe,EAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE7E,OAAO,CAAC,MAAM,CAAuB;IAErC,IAAW,KAAK,IAAI,MAAM,GAAG,IAAI,CAEhC;IAED,IAAoB,KAAK,CAAC,KAAK,EAAE,MAAM,EAGtC;IAED,SAA0B,WAAW,uBAA8B;IAEnE,OAAO,CAAC,SAAS,CAAS;IAE1B,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED,IAAoB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAE1C;IAED,SAAyB,cAAc,EAAE,MAAM,CAAC;IAChD,SAAyB,gBAAgB,EAAE,MAAM,CAAC;IAClD,SAAyB,eAAe,EAAE,OAAO,CAAC;IAElD,OAAO,CAAC,YAAY,CAA4B;IAEhD,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAyC;IAE5E,eAAe,IAAI,IAAI;IASvB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAUzC,WAAW,IAAI,IAAI;IAa1B;;;OAGG;IACH,OAAO,KAAK,kBAAkB,GA2C7B;IAED,OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,WAAW;IAcnB,OAAO,CAAC,eAAe;yCAlJZ,uBAAuB;2CAAvB,uBAAuB;CA0JnC"}
|
package/lib/components/form-io/components/form-io-mail-preview/mail-preview.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-preview.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-mail-preview/mail-preview.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,YAAY,EAAE,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;;
|
|
1
|
+
{"version":3,"file":"mail-preview.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-mail-preview/mail-preview.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,YAAY,EAAE,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;;AAG1D,qBAMa,0BAA2B,YAAW,qBAAqB,CAAC,MAAM,CAAC;IAoBlE,OAAO,CAAC,QAAQ,CAAC,SAAS;IAnBtB,QAAQ,UAAS;IACjB,WAAW,SAAM;IACjC,SAA0B,WAAW,uBAA8B;IAE5D,SAAS,EAAE,QAAQ,CAAM;IAEhC,OAAO,CAAC,MAAM,CAAM;IAEpB,IAAoB,KAAK,CAAC,CAAC,EAAE,MAAM,EAKlC;IAED,IAAW,KAAK,IAAI,MAAM,CAEzB;gBAE4B,SAAS,EAAE,YAAY;yCApBzC,0BAA0B;2CAA1B,0BAA0B;CAqBtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitize-email-html.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-mail-preview/sanitize-email-html.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,KAAG,MACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valtimo/components",
|
|
3
3
|
"license": "EUPL-1.2",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.51.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "19.2.25",
|
|
7
7
|
"@angular/core": "19.2.25",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"@foxythemes/bootstrap-datetime-picker-bs4": "2.3.5",
|
|
12
12
|
"bpmn-js": "18.6.1",
|
|
13
13
|
"jquery": "3.7.1",
|
|
14
|
+
"dompurify": "3.4.14",
|
|
14
15
|
"moment": "2.30.1",
|
|
15
16
|
"heatmap.js-fixed": "2.0.2",
|
|
16
17
|
"@ngx-translate/core": "16.0.4",
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"deepmerge-ts": "7.1.5",
|
|
38
39
|
"@carbon/charts-angular": "1.23.6",
|
|
39
40
|
"@types/topojson": "3.2.6",
|
|
40
|
-
"
|
|
41
|
+
"autonumeric": "4.10.10",
|
|
41
42
|
"semver": "7.7.1",
|
|
42
43
|
"muuri": "0.9.5",
|
|
43
44
|
"ajv": "8.17.1",
|