@acorex/platform 19.2.3 → 19.2.5
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/common/lib/layout/menu/menu.types.d.ts +2 -1
- package/common/lib/search/search-definition.builder.d.ts +1 -1
- package/common/lib/search/search-definition.provider.d.ts +1 -0
- package/common/lib/search/search.types.d.ts +1 -0
- package/common/lib/utils/export-popup.d.ts +19 -0
- package/common/lib/utils/export.service.d.ts +21 -0
- package/common/lib/utils/index.d.ts +1 -1
- package/core/lib/types.d.ts +2 -2
- package/fesm2022/acorex-platform-common.mjs +248 -104
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +23 -7
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +8 -8
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +42 -67
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-search.mjs +10 -6
- package/fesm2022/acorex-platform-layout-search.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-setting.mjs +1 -1
- package/fesm2022/acorex-platform-layout-setting.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CgyBuwTc.mjs +108 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CgyBuwTc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-DarhCaO1.mjs → acorex-platform-themes-default-entity-master-list-view.component-Btza4YAZ.mjs} +6 -6
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-DarhCaO1.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-Btza4YAZ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-U8aBv1Ql.mjs +87 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-U8aBv1Ql.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-Bwgawuvl.mjs → acorex-platform-themes-default-entity-master-single-view.component-63iOyFsf.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-63iOyFsf.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-DZHRY0aM.mjs +129 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-DZHRY0aM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-setting-page.component-CGjDwlvq.mjs → acorex-platform-themes-default-setting-page.component-Cj83wZbs.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-setting-page.component-CGjDwlvq.mjs.map → acorex-platform-themes-default-setting-page.component-Cj83wZbs.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-setting-view.component-DK9j13yV.mjs → acorex-platform-themes-default-setting-view.component-Ypj7RgOU.mjs} +2 -2
- package/fesm2022/{acorex-platform-themes-default-setting-view.component-DK9j13yV.mjs.map → acorex-platform-themes-default-setting-view.component-Ypj7RgOU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-theme-palette-preview.page-Cet1sYXJ.mjs → acorex-platform-themes-default-theme-palette-preview.page-D994cHWW.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-D994cHWW.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +21 -21
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +11 -6
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-B53z9A_A.mjs → acorex-platform-widgets-button-widget-designer.component-2iWPztWW.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-B53z9A_A.mjs.map → acorex-platform-widgets-button-widget-designer.component-2iWPztWW.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CHDMlorX.mjs → acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CHDMlorX.mjs.map → acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +1236 -59
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/widget-groups.d.ts +2 -1
- package/layout/builder/lib/builder/widget-map.d.ts +9 -0
- package/layout/builder/lib/builder/widget.types.d.ts +1 -1
- package/layout/search/lib/search.viewmodel.d.ts +2 -1
- package/package.json +6 -6
- package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +2 -1
- package/themes/shared/lib/components/layout-elements/layout-blocks.component.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-header.component.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-list.component.d.ts +1 -1
- package/widgets/lib/properties/groups.d.ts +2 -1
- package/widgets/lib/properties/validation.props.d.ts +10 -0
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/filters/boolean-filter/boolean-filter-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/index.d.ts +9 -0
- package/widgets/lib/widgets/layout/advanced-grid/advanced-grid-widget-designer.component.d.ts +0 -1
- package/widgets/lib/widgets/validations/base-validation/base-validation.component.d.ts +13 -0
- package/widgets/lib/widgets/validations/base-validation/base-validation.d.ts +8 -0
- package/widgets/lib/widgets/validations/between-validation/between-validation-widget-edit.component.d.ts +25 -0
- package/widgets/lib/widgets/validations/between-validation/between-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/between-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/callback-validation/callback-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/callback-validation/callback-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/callback-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/equal-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/greater-than-validation/greater-than-validation-widget-edit.component.d.ts +24 -0
- package/widgets/lib/widgets/validations/greater-than-validation/greater-than-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/greater-than-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/less-than-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/less-than-validation/less-than-validation-widget-edit.component.d.ts +24 -0
- package/widgets/lib/widgets/validations/less-than-validation/less-than-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/max-length-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/max-length-validation/max-length-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/max-length-validation/max-length-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/min-length-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/min-length-validation/min-length-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/min-length-validation/min-length-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/regular-expression-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/regular-expression-validation/regular-expression-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/regular-expression-validation/regular-expression-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/required-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/required-validation/required-validation-widget-edit.component.d.ts +21 -0
- package/widgets/lib/widgets/validations/required-validation/required-validation-widget.config.d.ts +7 -0
- package/common/lib/utils/pdf.service.d.ts +0 -25
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Yq3pzh9K.mjs +0 -108
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Yq3pzh9K.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CPG4i72f.mjs +0 -87
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CPG4i72f.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bwgawuvl.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-search-popup.component-ChZHzvG4.mjs +0 -122
- package/fesm2022/acorex-platform-themes-default-search-popup.component-ChZHzvG4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-Cet1sYXJ.mjs.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AXPWidgetGroup } from './widget.types';
|
|
2
|
+
export declare const AXP_WIDGETS_LAYOUT_GROUP: AXPWidgetGroup;
|
|
2
3
|
export declare const AXP_WIDGETS_EDITOR_GROUP: AXPWidgetGroup;
|
|
3
4
|
export declare const AXP_WIDGETS_ACTION_GROUP: AXPWidgetGroup;
|
|
4
|
-
export declare const AXP_WIDGETS_LAYOUT_GROUP: AXPWidgetGroup;
|
|
5
5
|
export declare const AXP_WIDGETS_ADVANCE_GROUP: AXPWidgetGroup;
|
|
6
6
|
export declare const AXP_WIDGETS_FILTER_GROUP: AXPWidgetGroup;
|
|
7
|
+
export declare const AXP_WIDGETS_VALIDATION_GROUP: AXPWidgetGroup;
|
|
7
8
|
export declare const AXP_WIDGETS_GROUPS: AXPWidgetGroup[];
|
|
@@ -49,4 +49,13 @@ export interface AXPWidgetTypesMap {
|
|
|
49
49
|
gridOptions: 'grid-options';
|
|
50
50
|
advancedGridOptions: 'advanced-grid-options';
|
|
51
51
|
selectFilter: 'select-filter';
|
|
52
|
+
requiredValidation: 'required-validation';
|
|
53
|
+
regularExpressionValidation: 'regular-expression-validation';
|
|
54
|
+
minLengthValidation: 'min-length-validation';
|
|
55
|
+
maxLengthValidation: 'max-length-validation';
|
|
56
|
+
lessThanValidation: 'less-than-validation';
|
|
57
|
+
greaterThanValidation: 'greater-than-validation';
|
|
58
|
+
betweenValidation: 'between-validation';
|
|
59
|
+
equalValidation: 'equal-validation';
|
|
60
|
+
callbackValidation: 'callback-validation';
|
|
52
61
|
}
|
|
@@ -113,7 +113,7 @@ export interface AXPWidgetConfigComponents {
|
|
|
113
113
|
column?: AXPWidgetComponentConfig;
|
|
114
114
|
filter?: AXPWidgetComponentConfig;
|
|
115
115
|
}
|
|
116
|
-
export type AXPWidgetViewType = 'container' | 'editor' | 'action' | 'view' | 'filter';
|
|
116
|
+
export type AXPWidgetViewType = 'container' | 'editor' | 'action' | 'view' | 'filter' | 'validation';
|
|
117
117
|
export type AXPWidgetOptionsMap = {
|
|
118
118
|
container: {
|
|
119
119
|
canInsert: boolean;
|
|
@@ -14,7 +14,7 @@ export declare class AXPGlobalSearchViewModel {
|
|
|
14
14
|
isValid: import("@angular/core").Signal<boolean>;
|
|
15
15
|
isStart: import("@angular/core").Signal<boolean>;
|
|
16
16
|
isWelcome: import("@angular/core").Signal<boolean>;
|
|
17
|
-
private
|
|
17
|
+
private _recentItems;
|
|
18
18
|
private _pinnedItems;
|
|
19
19
|
pinnedItems: import("@angular/core").Signal<AXPSearchDisplayResult[]>;
|
|
20
20
|
recentItems: import("@angular/core").Signal<AXPSearchDisplayResult[]>;
|
|
@@ -28,6 +28,7 @@ export declare class AXPGlobalSearchViewModel {
|
|
|
28
28
|
isPinned(item: AXPSearchDisplayResult): boolean;
|
|
29
29
|
private updateSelectionHistory;
|
|
30
30
|
private getTopRecentItems;
|
|
31
|
+
clearRecentItems(): Promise<void>;
|
|
31
32
|
private loadSettings;
|
|
32
33
|
private saveSettings;
|
|
33
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=19.0.0",
|
|
6
6
|
"@angular/core": ">=19.0.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"memoizee": "^0.4.15",
|
|
18
18
|
"oidc-client-ts": "^3.0.1",
|
|
19
19
|
"jspdf": "^2.5.1",
|
|
20
|
-
"
|
|
20
|
+
"dom-to-image": "^2.6.0",
|
|
21
21
|
"signature_pad": "^4.1.7",
|
|
22
22
|
"@acorex/styles": ">=19.0.0",
|
|
23
23
|
"@acorex/core": ">=19.0.0",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"types": "./common/index.d.ts",
|
|
46
46
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
47
47
|
},
|
|
48
|
-
"./native": {
|
|
49
|
-
"types": "./native/index.d.ts",
|
|
50
|
-
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
51
|
-
},
|
|
52
48
|
"./core": {
|
|
53
49
|
"types": "./core/index.d.ts",
|
|
54
50
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
55
51
|
},
|
|
52
|
+
"./native": {
|
|
53
|
+
"types": "./native/index.d.ts",
|
|
54
|
+
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
55
|
+
},
|
|
56
56
|
"./widgets": {
|
|
57
57
|
"types": "./widgets/index.d.ts",
|
|
58
58
|
"default": "./fesm2022/acorex-platform-widgets.mjs"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXHtmlEvent, AXValueChangedEvent } from '@acorex/components/common';
|
|
1
|
+
import { AXClickEvent, AXHtmlEvent, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
2
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
3
3
|
import { AXPGlobalSearchViewModel } from '@acorex/platform/layout/search';
|
|
4
4
|
import { AXPSearchDisplayResult } from '@acorex/platform/common';
|
|
@@ -12,6 +12,7 @@ export declare class AXPGlobalSearchPopupComponent extends AXBasePageComponent {
|
|
|
12
12
|
handleTextChanged(e: AXValueChangedEvent<string>): Promise<void>;
|
|
13
13
|
protected ngOnInit(): void;
|
|
14
14
|
protected handleSearchKeyDown(e: AXHtmlEvent<KeyboardEvent>): void;
|
|
15
|
+
protected handleClearClick($event: AXClickEvent): void;
|
|
15
16
|
protected handleListKeyDown(e: KeyboardEvent): void;
|
|
16
17
|
protected handleItemKeyDown(e: KeyboardEvent, item: AXPSearchDisplayResult): void;
|
|
17
18
|
protected handlePinClick(e: Event, item: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class AXPThemeLayoutBlockComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeLayoutBlockComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutBlockComponent, " axp-layout-content, axp-layout-header-container, axp-layout-footer-container, axp-layout-side-container, axp-layout-sections, axp-layout-section-container, axp-layout-body, axp-layout-
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutBlockComponent, " axp-layout-content, axp-layout-header-container, axp-layout-footer-container, axp-layout-side-container, axp-layout-sections, axp-layout-section-container, axp-layout-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title, axp-layout-nav-button, axp-layout-description, axp-layout-toolbar, axp-layout-title-bar, axp-layout-breadcrumbs, axp-layout-list-action, ", never, {}, {}, never, ["*"], true, never>;
|
|
5
5
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AXPThemeLayoutHeaderTemplateComponent {
|
|
|
8
8
|
readonly breadcrumbs: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
9
9
|
readonly navButton: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeLayoutHeaderTemplateComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutHeaderTemplateComponent, "axp-layout-header", never, {}, {}, never, ["axp-layout-breadcrumbs", "axp-layout-toolbar", "axp-layout-actions", "axp-layout-description", "axp-layout-title", "axp-layout-nav-button"], true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutHeaderTemplateComponent, "axp-layout-header", never, {}, {}, never, ["axp-layout-breadcrumbs", "axp-layout-toolbar", "axp-layout-actions", "axp-layout-description", "axp-layout-title", "axp-layout-nav-button", "axp-layout-prefix", "axp-layout-suffix"], true, never>;
|
|
12
12
|
}
|
|
@@ -5,7 +5,7 @@ export declare class AXPThemeLayoutListComponent {
|
|
|
5
5
|
}
|
|
6
6
|
export declare class AXPThemeLayoutListItemsGroupComponent {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeLayoutListItemsGroupComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutListItemsGroupComponent, "axp-layout-list-group", never, {}, {}, never, ["axp-layout-list-item,axp-layout-title,ng-container"], true, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPThemeLayoutListItemsGroupComponent, "axp-layout-list-group", never, {}, {}, never, ["axp-layout-list-item, axp-layout-title, axp-layout-header ,ng-container"], true, never>;
|
|
9
9
|
}
|
|
10
10
|
export declare class AXPThemeLayoutListItemComponent {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPThemeLayoutListItemComponent, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AXPWidgetPropertyGroup } from
|
|
1
|
+
import { AXPWidgetPropertyGroup } from '@acorex/platform/layout/builder';
|
|
2
2
|
export declare const AXP_STYLING_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
3
3
|
export declare const AXP_DATA_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
4
4
|
export declare const AXP_BEHAVIOR_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
5
5
|
export declare const AXP_WIDGET_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
6
|
+
export declare const AXP_VALIDATION_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPWidgetProperty } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXP_REQUIRED_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
3
|
+
export declare const AXP_MIN_LENGTH_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
4
|
+
export declare const AXP_MAX_LENGTH_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
5
|
+
export declare const AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
6
|
+
export declare const AXP_LESS_THAN_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
7
|
+
export declare const AXP_GREATER_THAN_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
8
|
+
export declare const AXP_BETWEEN_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
9
|
+
export declare const AXP_EQUAL_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
10
|
+
export declare const AXP_CALLBACK_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
@@ -6,6 +6,7 @@ import { Signal } from '@angular/core';
|
|
|
6
6
|
import { AXPContactDataType } from './contact.type';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<string | string[] | AXPContactDataType | AXPContactDataType[] | undefined> {
|
|
9
|
+
#private;
|
|
9
10
|
protected type: Signal<"email" | "link" | "phone">;
|
|
10
11
|
protected labelList: Signal<string[]>;
|
|
11
12
|
protected hasLabel: Signal<boolean>;
|
|
@@ -10,6 +10,7 @@ export declare class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent<an
|
|
|
10
10
|
protected placeholder: Signal<string>;
|
|
11
11
|
protected validationRules: Signal<AXPValidationRules>;
|
|
12
12
|
protected internalValue: Signal<string[]>;
|
|
13
|
+
eff: import("@angular/core").EffectRef;
|
|
13
14
|
protected handleValueChange(e: AXValueChangedEvent, i: number): void;
|
|
14
15
|
protected addItem(): void;
|
|
15
16
|
protected deleteItem(i: number): void;
|
package/widgets/lib/widgets/filters/boolean-filter/boolean-filter-widget-edit.component.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare class AXPBooleanFilterWidgetEditComponent extends AXPWidgetCompon
|
|
|
7
7
|
protected value: import("@angular/core").Signal<any>;
|
|
8
8
|
protected trulyText: import("@angular/core").Signal<any>;
|
|
9
9
|
protected falsyText: import("@angular/core").Signal<any>;
|
|
10
|
+
protected negative: import("@angular/core").Signal<any>;
|
|
10
11
|
private readonly translateService;
|
|
11
12
|
protected items: {
|
|
12
13
|
text: string;
|
|
@@ -30,3 +30,12 @@ export * from './property-editors/grid-options';
|
|
|
30
30
|
export * from './property-editors/property-editor-helper';
|
|
31
31
|
export * from './property-editors/property-editor.type';
|
|
32
32
|
export * from './property-editors/spacing';
|
|
33
|
+
export * from './validations/between-validation';
|
|
34
|
+
export * from './validations/callback-validation';
|
|
35
|
+
export * from './validations/equal-validation';
|
|
36
|
+
export * from './validations/greater-than-validation';
|
|
37
|
+
export * from './validations/less-than-validation';
|
|
38
|
+
export * from './validations/max-length-validation';
|
|
39
|
+
export * from './validations/min-length-validation';
|
|
40
|
+
export * from './validations/regular-expression-validation';
|
|
41
|
+
export * from './validations/required-validation';
|
package/widgets/lib/widgets/layout/advanced-grid/advanced-grid-widget-designer.component.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export declare class AXPAdvancedGridWidgetDesignerComponent extends AXPWidgetCom
|
|
|
13
13
|
protected justify: import("@angular/core").Signal<"start" | "end" | "center" | "stretch">;
|
|
14
14
|
protected gap: import("@angular/core").Signal<string>;
|
|
15
15
|
protected cells: import("@angular/core").Signal<number>;
|
|
16
|
-
effect1: import("@angular/core").EffectRef;
|
|
17
16
|
effect2: import("@angular/core").EffectRef;
|
|
18
17
|
protected settled: import("@angular/core").Signal<number | false>;
|
|
19
18
|
protected handleDrawerSelect(e: {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AXPBaseValidationComponent {
|
|
3
|
+
#private;
|
|
4
|
+
validationStatus: import("@angular/core").ModelSignal<boolean>;
|
|
5
|
+
validationText: import("@angular/core").ModelSignal<string>;
|
|
6
|
+
validationTextPlaceholder: import("@angular/core").InputSignal<string>;
|
|
7
|
+
protected setValidationStatus(event: boolean): void;
|
|
8
|
+
protected setValidationText(event: string): void;
|
|
9
|
+
private isStatusChanged;
|
|
10
|
+
private endOfViewEl;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPBaseValidationComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPBaseValidationComponent, "axp-base-validation-component", never, { "validationStatus": { "alias": "validationStatus"; "required": false; "isSignal": true; }; "validationText": { "alias": "validationText"; "required": false; "isSignal": true; }; "validationTextPlaceholder": { "alias": "validationTextPlaceholder"; "required": false; "isSignal": true; }; }, { "validationStatus": "validationStatusChange"; "validationText": "validationTextChange"; }, never, [".if-valid", "*"], true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type AXPValidationWidgetTypes = 'requiredValidation' | 'regularExpressionValidation' | 'minLengthValidation' | 'maxLengthValidation' | 'lessThanValidation' | 'greaterThanValidation' | 'betweenValidation' | 'equalValidation' | 'callbackValidation';
|
|
2
|
+
export declare const AXP_BASE_VALIDATION_INFORMATION: Record<AXPValidationWidgetTypes, {
|
|
3
|
+
rule: string;
|
|
4
|
+
message: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
options?: any;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPBetweenValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationLowerValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationUpperValue: import("@angular/core").WritableSignal<any>;
|
|
18
|
+
protected validationInclusive: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
20
|
+
protected validationPlaceholder: string[];
|
|
21
|
+
ToggleRule(event: boolean): void;
|
|
22
|
+
setValidation(event: number, isLower?: boolean): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPBetweenValidationWidgetEditComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPBetweenValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
package/widgets/lib/widgets/validations/between-validation/between-validation-widget.config.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPBetweenExpressionValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
betweenValidation: 'between-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPCallbackValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<string>;
|
|
17
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
protected validationPlaceholder: string;
|
|
19
|
+
ToggleRule(event: boolean): void;
|
|
20
|
+
setValidation(event: string): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCallbackValidationWidgetEditComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPCallbackValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
package/widgets/lib/widgets/validations/callback-validation/callback-validation-widget.config.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPCallbackValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
callbackValidation: 'callback-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget-edit.component.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPEqualValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
protected validationPlaceholder: string;
|
|
19
|
+
ToggleRule(event: boolean): void;
|
|
20
|
+
setValidation(event: number): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPEqualValidationWidgetEditComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPEqualValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPGreaterThanValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationInclusive: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
19
|
+
protected validationPlaceholder: string;
|
|
20
|
+
ToggleRule(event: boolean): void;
|
|
21
|
+
setValidation(event: number): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPGreaterThanValidationWidgetEditComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPGreaterThanValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPGreaterThanExpressionValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
greaterThanValidation: 'greater-than-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPLessThanValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationInclusive: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
19
|
+
protected validationPlaceholder: string;
|
|
20
|
+
ToggleRule(event: boolean): void;
|
|
21
|
+
setValidation(event: number): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLessThanValidationWidgetEditComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLessThanValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
package/widgets/lib/widgets/validations/less-than-validation/less-than-validation-widget.config.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPLessThanExpressionValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
lessThanValidation: 'less-than-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPMaxLengthValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
protected validationPlaceholder: string;
|
|
19
|
+
ToggleRule(event: boolean): void;
|
|
20
|
+
setValidation(event: number): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMaxLengthValidationWidgetEditComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPMaxLengthValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPMaxLengthExpressionValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
maxLengthValidation: 'max-length-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPMinLengthValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
protected validationPlaceholder: string;
|
|
19
|
+
ToggleRule(event: boolean): void;
|
|
20
|
+
setValidation(event: number): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMinLengthValidationWidgetEditComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPMinLengthValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPMinLengthExpressionValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
minLengthValidation: 'min-length-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPRegularExpressionValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
18
|
+
protected validationPlaceholder: string;
|
|
19
|
+
protected ToggleRule(event: boolean): void;
|
|
20
|
+
protected setValidation(event: string): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRegularExpressionValidationWidgetEditComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPRegularExpressionValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPRegularExpressionValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
regularExpressionValidation: 'regular-expression-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { AXPValidationWidgetTypes } from '../base-validation/base-validation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXPRequiredValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
|
+
#private;
|
|
7
|
+
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
+
protected validationInformation: {
|
|
9
|
+
rule: string;
|
|
10
|
+
message: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
options?: any;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
17
|
+
protected validationPlaceholder: string;
|
|
18
|
+
protected ToggleRule(event: boolean): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRequiredValidationWidgetEditComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPRequiredValidationWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
package/widgets/lib/widgets/validations/required-validation/required-validation-widget.config.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
2
|
+
export declare const AXPRequiredValidationWidget: AXPWidgetConfig;
|
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
|
4
|
+
interface AXPWidgetTypesMap {
|
|
5
|
+
requiredValidation: 'required-validation';
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare enum AXPPdfPageSize {
|
|
3
|
-
A4 = "a4",
|
|
4
|
-
A5 = "a5",
|
|
5
|
-
Letter = "letter",
|
|
6
|
-
Legal = "legal",
|
|
7
|
-
Custom = "custom"
|
|
8
|
-
}
|
|
9
|
-
export declare class AXPPdfService {
|
|
10
|
-
private renderer;
|
|
11
|
-
generatePdfBlob(div: string | HTMLElement, options?: {
|
|
12
|
-
pageSize?: AXPPdfPageSize | {
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
-
}): Promise<string>;
|
|
17
|
-
printPdf(div: string | HTMLElement, options?: {
|
|
18
|
-
pageSize?: AXPPdfPageSize | {
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
};
|
|
22
|
-
}): Promise<void>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPdfService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPPdfService>;
|
|
25
|
-
}
|