@alfresco/adf-core 8.4.0-20134968511 → 8.4.0-20227337374
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/adf-core.mjs +43 -27
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/icon/icon-alias-map.token.d.ts +19 -0
- package/lib/icon/icon-alias-map.type.d.ts +17 -0
- package/lib/icon/icon.component.d.ts +9 -3
- package/lib/icon/public-api.d.ts +2 -1
- package/package.json +3 -3
- package/lib/icon/icon.module.d.ts +0 -11
|
@@ -0,0 +1,19 @@
|
|
|
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 { InjectionToken } from '@angular/core';
|
|
18
|
+
import { IconAliasMap } from './icon-alias-map.type';
|
|
19
|
+
export declare const ICON_ALIAS_MAP_TOKEN: InjectionToken<IconAliasMap>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export type IconAliasMap = Record<string, string>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ThemePalette } from '@angular/material/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const DEFAULT_ICON_VALUE = "settings";
|
|
3
4
|
export declare class IconComponent {
|
|
5
|
+
private readonly ALIAS_MAP;
|
|
4
6
|
private _value;
|
|
5
|
-
private
|
|
7
|
+
private _isSvg;
|
|
6
8
|
/** Theme color palette for the component. */
|
|
7
9
|
color: ThemePalette;
|
|
8
10
|
/** Icon font set */
|
|
@@ -10,7 +12,11 @@ export declare class IconComponent {
|
|
|
10
12
|
get value(): string;
|
|
11
13
|
/** Icon value, which can be either a ligature name or a custom icon in the format `[namespace]:[name]`. */
|
|
12
14
|
set value(value: string);
|
|
13
|
-
get
|
|
15
|
+
get isSvg(): boolean;
|
|
16
|
+
/** Is icon of svg type */
|
|
17
|
+
set isSvg(isSvg: boolean);
|
|
18
|
+
private hasMappedAlias;
|
|
19
|
+
private isCustom;
|
|
14
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "adf-icon", never, { "color": { "alias": "color"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "adf-icon", never, { "color": { "alias": "color"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isSvg": { "alias": "isSvg"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
22
|
}
|
package/lib/icon/public-api.d.ts
CHANGED
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-20227337374",
|
|
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-20227337374",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.4.0-20227337374",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122"
|
|
70
70
|
},
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./icon.component";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated this Module is deprecated and should no longer be used.
|
|
5
|
-
* Consider importing components directly instead.
|
|
6
|
-
*/
|
|
7
|
-
export declare class IconModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, never, [typeof i1.IconComponent], [typeof i1.IconComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
|
|
11
|
-
}
|