@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.
@@ -1,31 +1,35 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
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>, OnInit, AfterViewInit, OnChanges, OnDestroy {
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 _currencyInstance;
22
- private readonly _subscriptions;
23
- private get maskOpts();
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,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAC,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;;AAI1D;;GAEG;AACH,qBAKa,uBACX,YAAW,qBAAqB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAEvD,eAAe,EAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE7E,SAAgB,YAAY;;OAEzB;IAEH,OAAO,CAAC,MAAM,CAAuB;IAErC,IAAW,KAAK,IAAI,MAAM,GAAG,IAAI,CAEhC;IAED,IAAoB,KAAK,CAAC,KAAK,EAAE,MAAM,EAUtC;IAED,SAA0B,WAAW,uBAA8B;IAEnE,IAAoB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAM1C;IAED,SAAyB,cAAc,EAAE,MAAM,CAAC;IAChD,SAAyB,gBAAgB,EAAE,MAAM,CAAC;IAClD,SAAyB,eAAe,EAAE,OAAO,CAAC;IAElD,OAAO,CAAC,iBAAiB,CAAY;IAErC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAGrD,OAAO,KAAK,QAAQ,GAUnB;IAEM,QAAQ,IAAI,IAAI;IAqBhB,WAAW,IAAI,IAAI;IAInB,eAAe,IAAI,IAAI;IAYvB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAsBhD,OAAO,CAAC,WAAW;yCArHR,uBAAuB;2CAAvB,uBAAuB;CA8HnC"}
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"}
@@ -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;;AAE1D,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"}
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,2 @@
1
+ export declare const sanitizeEmailHtml: (html: string) => string;
2
+ //# sourceMappingURL=sanitize-email-html.d.ts.map
@@ -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.50.0",
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
- "@tadashi/currency": "3.4.0",
41
+ "autonumeric": "4.10.10",
41
42
  "semver": "7.7.1",
42
43
  "muuri": "0.9.5",
43
44
  "ajv": "8.17.1",