@alfresco/adf-core 8.4.0-18836740311 → 8.4.0-18876786165
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,20 +1,54 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { CurrencyPipe } from '@angular/common';
|
|
1
18
|
import { OnInit, InjectionToken } from '@angular/core';
|
|
2
19
|
import { FormService } from '../../../services/form.service';
|
|
3
20
|
import { WidgetComponent } from '../widget.component';
|
|
21
|
+
import { Observable } from 'rxjs';
|
|
4
22
|
import * as i0 from "@angular/core";
|
|
5
23
|
export interface AmountWidgetSettings {
|
|
6
24
|
showReadonlyPlaceholder: boolean;
|
|
25
|
+
enableDisplayBasedOnLocale: boolean;
|
|
7
26
|
}
|
|
8
|
-
export declare const ADF_AMOUNT_SETTINGS: InjectionToken<AmountWidgetSettings
|
|
27
|
+
export declare const ADF_AMOUNT_SETTINGS: InjectionToken<AmountWidgetSettings | Observable<AmountWidgetSettings>>;
|
|
9
28
|
export declare class AmountWidgetComponent extends WidgetComponent implements OnInit {
|
|
10
29
|
formService: FormService;
|
|
11
|
-
private
|
|
30
|
+
private currencyPipe;
|
|
12
31
|
static DEFAULT_CURRENCY: string;
|
|
13
32
|
private showPlaceholder;
|
|
33
|
+
amountWidgetValue: string;
|
|
14
34
|
currency: string;
|
|
35
|
+
currencyDisplay: string | boolean;
|
|
36
|
+
decimalProperty: string;
|
|
37
|
+
enableDisplayBasedOnLocale: boolean;
|
|
38
|
+
locale: string;
|
|
39
|
+
notShowDecimalDigits: string;
|
|
40
|
+
showDecimalDigits: string;
|
|
41
|
+
showReadonlyPlaceholder: boolean;
|
|
42
|
+
valueAsNumber: number;
|
|
15
43
|
get placeholder(): string;
|
|
16
|
-
constructor(formService: FormService, settings: AmountWidgetSettings);
|
|
44
|
+
constructor(formService: FormService, settings: Observable<AmountWidgetSettings> | AmountWidgetSettings, currencyPipe: CurrencyPipe);
|
|
17
45
|
ngOnInit(): void;
|
|
18
|
-
|
|
46
|
+
amountWidgetOnBlur(): void;
|
|
47
|
+
amountWidgetOnFocus(): void;
|
|
48
|
+
getLocale(): string;
|
|
49
|
+
onFieldChangedAmountWidget(): void;
|
|
50
|
+
setInitialValues(): void;
|
|
51
|
+
updateSettingsBasedProperties(data: AmountWidgetSettings): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmountWidgetComponent, [null, { optional: true; }, null]>;
|
|
19
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<AmountWidgetComponent, "amount-widget", never, {}, {}, never, never, true, never>;
|
|
20
54
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-core",
|
|
3
3
|
"description": "Alfresco ADF core",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-18876786165",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@angular/router": ">=16.0.0",
|
|
64
64
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
65
65
|
"@ngx-translate/core": ">=16.0.0",
|
|
66
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
67
|
-
"@alfresco/adf-extensions": ">=8.4.0-
|
|
66
|
+
"@alfresco/js-api": ">=9.4.0-18876786165",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.4.0-18876786165",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122"
|
|
70
70
|
},
|