@acorex/platform 18.0.8 → 18.0.9
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/esm2022/widgets/lib/editors/contact-widget/contact-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-edit.component.mjs +267 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-view.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/contact-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/contact-widget/popup-component.mjs +78 -0
- package/esm2022/widgets/lib/editors/large-text-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-column.component.mjs +23 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-edit.component.mjs +47 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-view.component.mjs +31 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/link-widget/link-widget-edit.component.mjs +114 -114
- package/esm2022/widgets/lib/editors/link-widget/link-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +10 -6
- package/esm2022/widgets/lib/widgets.module.mjs +7 -1
- package/fesm2022/acorex-platform-widgets.mjs +784 -155
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/package.json +7 -7
- package/widgets/lib/editors/contact-widget/contact-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-edit.component.d.ts +36 -0
- package/widgets/lib/editors/contact-widget/contact-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-view.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget.config.d.ts +2 -0
- package/widgets/lib/editors/contact-widget/index.d.ts +7 -0
- package/widgets/lib/editors/contact-widget/popup-component.d.ts +10 -0
- package/widgets/lib/editors/large-text-widget/index.d.ts +7 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-edit.component.d.ts +10 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-view.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget.config.d.ts +2 -0
- package/widgets/lib/editors/link-widget/link-widget-edit.component.d.ts +1 -8
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"esm": "./esm2022/common/acorex-platform-common.mjs",
|
|
52
52
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
53
53
|
},
|
|
54
|
-
"./layouts": {
|
|
55
|
-
"types": "./layouts/index.d.ts",
|
|
56
|
-
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
57
|
-
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
58
|
-
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
59
|
-
},
|
|
60
54
|
"./mocks": {
|
|
61
55
|
"types": "./mocks/index.d.ts",
|
|
62
56
|
"esm2022": "./esm2022/mocks/acorex-platform-mocks.mjs",
|
|
63
57
|
"esm": "./esm2022/mocks/acorex-platform-mocks.mjs",
|
|
64
58
|
"default": "./fesm2022/acorex-platform-mocks.mjs"
|
|
65
59
|
},
|
|
60
|
+
"./layouts": {
|
|
61
|
+
"types": "./layouts/index.d.ts",
|
|
62
|
+
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
63
|
+
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
64
|
+
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
65
|
+
},
|
|
66
66
|
"./native": {
|
|
67
67
|
"types": "./native/index.d.ts",
|
|
68
68
|
"esm2022": "./esm2022/native/acorex-platform-native.mjs",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPColumnWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPContactWidgetColumnComponent extends AXPColumnWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetColumnComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPContactWidgetDesignerComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetDesignerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AXDataSource, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
+
import { AXValidationService } from '@acorex/core/validation';
|
|
3
|
+
import { AXPValidationRules } from '@acorex/platform/common';
|
|
4
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
5
|
+
import { Signal } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AXPContactWidgetEditComponent extends AXPWidgetBase<any> {
|
|
8
|
+
protected widgetType: 'link' | 'phone' | 'email';
|
|
9
|
+
protected lableList: import("@angular/core").WritableSignal<string[]>;
|
|
10
|
+
protected multiple: boolean;
|
|
11
|
+
protected hasLable: boolean;
|
|
12
|
+
protected hasIcon: boolean;
|
|
13
|
+
private popup;
|
|
14
|
+
protected dataSource: AXDataSource<string | undefined>;
|
|
15
|
+
protected internalValue: Signal<AXPContactDataType[]>;
|
|
16
|
+
protected addItem(): void;
|
|
17
|
+
protected deleteItem(deletedIndex: number): void;
|
|
18
|
+
protected handleValueChange(e: AXValueChangedEvent, selectedIndex: number): Promise<void>;
|
|
19
|
+
protected generateClasses(element: 'value' | 'lable'): string | any;
|
|
20
|
+
protected validationService: AXValidationService;
|
|
21
|
+
private _validationRules;
|
|
22
|
+
get validationRules(): AXPValidationRules;
|
|
23
|
+
set validationRules(v: AXPValidationRules);
|
|
24
|
+
private valueToArray;
|
|
25
|
+
private itemToArray;
|
|
26
|
+
private emptyValue;
|
|
27
|
+
private chooseIcon;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetEditComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
interface AXPContactDataType {
|
|
32
|
+
value: string;
|
|
33
|
+
lable?: string;
|
|
34
|
+
icon?: string;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPContactWidgetFilterComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetFilterComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetFilterComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPContactWidgetPrintComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetPrintComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPContactWidgetViewComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetViewComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './contact-widget-view.component';
|
|
2
|
+
export * from './contact-widget-edit.component';
|
|
3
|
+
export * from './contact-widget-filter.component';
|
|
4
|
+
export * from './contact-widget-column.component';
|
|
5
|
+
export * from './contact-widget-print.component';
|
|
6
|
+
export * from './contact-widget-designer.component';
|
|
7
|
+
export * from './contact-widget.config';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXFormComponent } from '@acorex/components/form';
|
|
2
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class popupComponent extends AXBasePageComponent {
|
|
5
|
+
protected value: string;
|
|
6
|
+
constructor();
|
|
7
|
+
protected handleClose(form: AXFormComponent): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<popupComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<popupComponent, "popup-component", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './large-text-widget-view.component';
|
|
2
|
+
export * from './large-text-widget-edit.component';
|
|
3
|
+
export * from './large-text-widget-filter.component';
|
|
4
|
+
export * from './large-text-widget-column.component';
|
|
5
|
+
export * from './large-text-widget-print.component';
|
|
6
|
+
export * from './large-text-widget-designer.component';
|
|
7
|
+
export * from './large-text-widget.config';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPColumnWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetColumnComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPLargeTextWidgetDesignerComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetDesignerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetDesignerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPValidationRules } from '@acorex/platform/common';
|
|
2
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXPLargeTextWidgetEditComponent extends AXPWidgetBase<any> {
|
|
5
|
+
private _validationRules;
|
|
6
|
+
get validationRules(): AXPValidationRules;
|
|
7
|
+
set validationRules(v: AXPValidationRules);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetEditComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPLargeTextWidgetFilterComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetFilterComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetFilterComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPLargeTextWidgetPrintComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetPrintComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPLargeTextWidgetViewComponent extends AXPWidgetBase<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetViewComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -22,7 +22,6 @@ export declare class AXPLinkWidgetEditComponent extends AXPWidgetBase<any> {
|
|
|
22
22
|
label?: string;
|
|
23
23
|
title: string;
|
|
24
24
|
icon?: string;
|
|
25
|
-
protocol: 'http' | 'https' | 'related';
|
|
26
25
|
}[]>;
|
|
27
26
|
ngOnInit(): void;
|
|
28
27
|
private _validationRules;
|
|
@@ -33,13 +32,7 @@ export declare class AXPLinkWidgetEditComponent extends AXPWidgetBase<any> {
|
|
|
33
32
|
protected convertItem: (item: any, e: any) => any;
|
|
34
33
|
protected addItem(): void;
|
|
35
34
|
protected deleteItem(deletedIndex: number): void;
|
|
36
|
-
protected
|
|
37
|
-
rule: string;
|
|
38
|
-
result: boolean;
|
|
39
|
-
message: string;
|
|
40
|
-
value: string;
|
|
41
|
-
}>;
|
|
42
|
-
protected generateClasses(elementName: 'url' | 'title' | 'label'): Array<string>;
|
|
35
|
+
protected generateClasses(elementName: 'url' | 'title' | 'label', type?: 'single' | 'multiple'): Array<string>;
|
|
43
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLinkWidgetEditComponent, never>;
|
|
44
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLinkWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
45
38
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPColumnWidgetBase } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPRichTextWidgetColumnComponent extends
|
|
3
|
+
export declare class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetBase<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRichTextWidgetColumnComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPRichTextWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|