@acorex/platform 19.2.7 → 19.2.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/common/lib/app/application.types.d.ts +8 -0
- package/common/lib/utils/index.d.ts +2 -0
- package/common/lib/utils/regional-util.service.d.ts +15 -0
- package/common/lib/utils/regional.types.d.ts +55 -0
- package/fesm2022/acorex-platform-common.mjs +4 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +35 -16
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +83 -23
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +27 -26
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +123 -63
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Bl9f4Rtk.mjs → acorex-platform-themes-default-entity-master-create-view.component-BK8BItxL.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BK8BItxL.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-B4aBmc5H.mjs → acorex-platform-themes-default-entity-master-single-view.component-BGUrwL2P.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BGUrwL2P.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-setting-page.component-CN2NCgUv.mjs +74 -0
- package/fesm2022/acorex-platform-themes-default-setting-page.component-CN2NCgUv.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-setting-view.component-CsCug3Vu.mjs +71 -0
- package/fesm2022/acorex-platform-themes-default-setting-view.component-CsCug3Vu.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +24 -14
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +10 -1
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-BiCinIok.mjs +274 -0
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-BiCinIok.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BBRVgZLu.mjs → acorex-platform-widgets-tabular-data-view-popup.component-BaslkAPS.mjs} +16 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-BaslkAPS.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +512 -342
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/datasource-provider.service.d.ts +3 -1
- package/layout/builder/lib/builder/widget-renderer.directive.d.ts +3 -0
- package/layout/builder/lib/builder/widget.types.d.ts +2 -0
- package/layout/designer/lib/property-viewer/widget-property-viewer.component.d.ts +2 -0
- package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +3 -0
- package/layout/entity/lib/entity-master-create.viewmodel.d.ts +3 -1
- package/layout/entity/lib/entity-master-single.viewmodel.d.ts +1 -1
- package/layout/entity/lib/entity.viewmodel.d.ts +1 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +0 -2
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget-edit.component.d.ts +0 -2
- package/layout/setting/lib/setting.viewmodel.d.ts +3 -0
- package/package.json +5 -5
- package/themes/default/lib/layouts/base/simple-page/simple-page.layout.d.ts +3 -0
- package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +3 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +3 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +3 -0
- package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +3 -0
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +6 -0
- package/themes/default/lib/layouts/root-layout/root-layout.module.d.ts +2 -1
- package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +3 -0
- package/themes/default/lib/pages/theme-palette-preview/theme-palette-preview.page.d.ts +3 -0
- package/themes/shared/lib/components/slots/theme-slot.component.d.ts +3 -0
- package/themes/shared/lib/setting.keys.d.ts +2 -1
- package/themes/shared/lib/theme.service.d.ts +3 -0
- package/widgets/lib/properties/data-source.props.d.ts +3 -0
- package/widgets/lib/properties/editors.props.d.ts +0 -1
- package/widgets/lib/properties/index.d.ts +1 -0
- package/widgets/lib/widgets/charts/bar-chart/bar-chart-widget-edit.component.d.ts +18 -3
- package/widgets/lib/widgets/charts/bar-chart/bar-chart.type.d.ts +20 -6
- package/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/color/color-box-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +0 -4
- package/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.d.ts +0 -4
- package/widgets/lib/widgets/editors/email/email-box-widget-edit.component.d.ts +0 -4
- package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/link/link-widget-edit.component.d.ts +0 -4
- package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.d.ts +0 -4
- package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +4 -3
- package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/tabular-data/tabular-data-edit-popup.component.d.ts +11 -3
- package/widgets/lib/widgets/editors/tabular-data/tabular-data-view-popup.component.d.ts +3 -1
- package/widgets/lib/widgets/editors/tabular-data/tabular-data-widget-edit.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/tabular-data/tabular-data-widget-view.component.d.ts +0 -2
- package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +0 -2
- package/widgets/lib/widgets/validations/base-validation/base-validation.d.ts +3 -2
- package/widgets/lib/widgets/validations/between-validation/between-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/callback-validation/callback-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/greater-than-validation/greater-than-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/less-than-validation/less-than-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/max-length-validation/max-length-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/min-length-validation/min-length-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/regular-expression-validation/regular-expression-validation-widget-edit.component.d.ts +1 -7
- package/widgets/lib/widgets/validations/required-validation/required-validation-widget-edit.component.d.ts +1 -7
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Bl9f4Rtk.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B4aBmc5H.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BERYnJnp.mjs +0 -74
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BERYnJnp.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-view.component-BagAWM4W.mjs +0 -71
- package/fesm2022/acorex-platform-themes-default-setting-view.component-BagAWM4W.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-D2-nHqYy.mjs +0 -144
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-D2-nHqYy.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-BBRVgZLu.mjs.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
2
2
|
import { AXValidationService } from '@acorex/core/validation';
|
|
3
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
4
3
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
5
4
|
import { Signal } from '@angular/core';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -18,9 +17,6 @@ export declare class AXPEmailBoxWidgetEditComponent extends AXPWidgetComponent<a
|
|
|
18
17
|
label?: string;
|
|
19
18
|
id: string;
|
|
20
19
|
}[]>;
|
|
21
|
-
private _validationRules;
|
|
22
|
-
get validationRules(): AXPValidationRules;
|
|
23
|
-
set validationRules(v: AXPValidationRules);
|
|
24
20
|
private getValueAsArrayOfObjects;
|
|
25
21
|
protected handleValueChange(e: AXValueChangedEvent, selectedIndex: number): void;
|
|
26
22
|
protected convertItem: (item: any, e: any) => any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
2
1
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent<string> {
|
|
@@ -6,7 +5,6 @@ export declare class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent<
|
|
|
6
5
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
7
6
|
protected clearButton: import("@angular/core").Signal<boolean>;
|
|
8
7
|
protected placeholder: import("@angular/core").Signal<string>;
|
|
9
|
-
protected validationRules: import("@angular/core").Signal<AXPValidationRules>;
|
|
10
8
|
private get __class();
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetEditComponent, never>;
|
|
12
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetEditComponent, "axp-large-text-box-widget", never, { "disabled": { "alias": "disabled"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AXDataSource, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
2
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
3
3
|
import { AXValidationService } from '@acorex/core/validation';
|
|
4
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
5
4
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
6
5
|
import { Signal } from '@angular/core';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
@@ -24,9 +23,6 @@ export declare class AXPLinkWidgetEditComponent extends AXPWidgetComponent<any>
|
|
|
24
23
|
icon?: string;
|
|
25
24
|
}[]>;
|
|
26
25
|
ngOnInit(): void;
|
|
27
|
-
private _validationRules;
|
|
28
|
-
get validationRules(): AXPValidationRules;
|
|
29
|
-
set validationRules(v: AXPValidationRules);
|
|
30
26
|
private getValueAsArrayOfObjects;
|
|
31
27
|
protected handleValueChange(e: AXValueChangedEvent, selectedIndex: number): void;
|
|
32
28
|
protected convertItem: (item: any, e: any) => any;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
3
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
3
|
import { Signal } from '@angular/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -12,7 +11,6 @@ export declare class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent<
|
|
|
12
11
|
protected maxValue: Signal<number>;
|
|
13
12
|
protected seprator: Signal<string>;
|
|
14
13
|
protected placeholder: Signal<string>;
|
|
15
|
-
protected validationRules: Signal<AXPValidationRules>;
|
|
16
14
|
protected internalValue: Signal<number[]>;
|
|
17
15
|
protected handleValueChange(e: AXValueChangedEvent, i: number): void;
|
|
18
16
|
protected addItem(): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
2
2
|
import { AXValidationService } from '@acorex/core/validation';
|
|
3
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
4
3
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
5
4
|
import { Signal } from '@angular/core';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -16,9 +15,6 @@ export declare class AXPPhoneBoxWidgetEditComponent extends AXPWidgetComponent<a
|
|
|
16
15
|
label?: string;
|
|
17
16
|
id: string;
|
|
18
17
|
}[]>;
|
|
19
|
-
private _validationRules;
|
|
20
|
-
get validationRules(): AXPValidationRules;
|
|
21
|
-
set validationRules(v: AXPValidationRules);
|
|
22
18
|
private getValueAsArrayOfObjects;
|
|
23
19
|
protected handleValueChange(e: AXValueChangedEvent, selectedIndex: number): void;
|
|
24
20
|
protected handleLabelChange(e: AXValueChangedEvent, selectedIndex: number): void;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
3
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class AXPRichTextWidgetEditComponent extends AXPWidgetComponent<any> {
|
|
6
5
|
protected placeholder: import("@angular/core").Signal<string>;
|
|
7
6
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
8
|
-
protected
|
|
7
|
+
protected minLineCount: import("@angular/core").Signal<number>;
|
|
8
|
+
protected maxLineCount: import("@angular/core").Signal<number>;
|
|
9
|
+
protected isFitLine: import("@angular/core").Signal<boolean>;
|
|
9
10
|
protected setWysiwyg(e: AXValueChangedEvent): void;
|
|
10
|
-
|
|
11
|
+
protected getLinePx(count: number): string;
|
|
11
12
|
private get __class();
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPRichTextWidgetEditComponent, never>;
|
|
13
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPRichTextWidgetEditComponent, "axp-rich-text-widget", never, {}, {}, never, never, true, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AXDataSourceFilterOption, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
3
2
|
import { AXPDataListWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
3
|
import { StrategyConfig } from '../../../widgets.config';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -7,7 +6,6 @@ export declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetCo
|
|
|
7
6
|
#private;
|
|
8
7
|
private selectbox;
|
|
9
8
|
protected widgetsConfigs: StrategyConfig;
|
|
10
|
-
protected validationRules: import("@angular/core").Signal<AXPValidationRules>;
|
|
11
9
|
protected multiple: import("@angular/core").Signal<boolean>;
|
|
12
10
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
13
11
|
protected placeholder: import("@angular/core").Signal<string>;
|
package/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AXDirection, AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
3
2
|
import { AXPDataListWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
@@ -9,7 +8,6 @@ export declare class AXPSelectionListWidgetEditComponent extends AXPDataListWidg
|
|
|
9
8
|
protected readonly: import("@angular/core").Signal<boolean>;
|
|
10
9
|
protected displayItems: import("@angular/core").WritableSignal<any[]>;
|
|
11
10
|
private ef;
|
|
12
|
-
protected validationRules: import("@angular/core").Signal<AXPValidationRules>;
|
|
13
11
|
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
14
12
|
private get __class();
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSelectionListWidgetEditComponent, never>;
|
|
@@ -1,18 +1,26 @@
|
|
|
1
|
+
import { AXDataSource } from '@acorex/components/common';
|
|
2
|
+
import { AXDataTableComponent, AXRowCommandItem, AXRowCommandItemClickEvent } from '@acorex/components/data-table';
|
|
3
|
+
import { AXFormComponent } from '@acorex/components/form';
|
|
1
4
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
2
5
|
import { AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
3
6
|
import { AXPTabularDataColumn } from './tabular-widget.types';
|
|
4
|
-
import { AXDataTableComponent } from '@acorex/components/data-table';
|
|
5
|
-
import { AXDataSource } from '@acorex/components/common';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class AXPTabularDataPopupComponent extends AXBasePageComponent {
|
|
8
9
|
context: any;
|
|
9
10
|
columns: AXPTabularDataColumn[];
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
defaultRowCount: number;
|
|
13
|
+
contextDiscard: any;
|
|
14
|
+
getCommandRowItems: AXRowCommandItem[];
|
|
15
|
+
protected ngOnInit(): void;
|
|
10
16
|
protected dataSource: AXDataSource<unknown>;
|
|
11
17
|
protected grid: import("@angular/core").Signal<AXDataTableComponent | undefined>;
|
|
12
18
|
handleContextChange(e: AXPLayoutContextChangeEvent): void;
|
|
13
|
-
|
|
19
|
+
onCloseDiscard(): void;
|
|
14
20
|
addRecord(): void;
|
|
15
21
|
handleSelectionChange(e: any): void;
|
|
22
|
+
protected handleRowCommandClick(e: AXRowCommandItemClickEvent): Promise<void>;
|
|
23
|
+
protected handleSaveClick(form: AXFormComponent): Promise<void>;
|
|
16
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabularDataPopupComponent, never>;
|
|
17
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabularDataPopupComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
18
26
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { AXDataSource } from '@acorex/components/common';
|
|
1
2
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
2
3
|
import { AXPTabularDataColumn } from './tabular-widget.types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AXPTabularDataPopupComponent extends AXBasePageComponent {
|
|
5
|
-
|
|
6
|
+
items: [];
|
|
6
7
|
columns: AXPTabularDataColumn[];
|
|
8
|
+
protected dataSource: AXDataSource<never>;
|
|
7
9
|
onClose(): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabularDataPopupComponent, never>;
|
|
9
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabularDataPopupComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -3,7 +3,7 @@ import { AXPTabularDataColumn } from './tabular-widget.types';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXPTabularDataEditorWidgetEditComponent extends AXPWidgetComponent<any> {
|
|
5
5
|
protected columns: import("@angular/core").Signal<AXPTabularDataColumn[]>;
|
|
6
|
-
protected
|
|
6
|
+
protected defaultRowCount: import("@angular/core").Signal<number>;
|
|
7
7
|
private popupService;
|
|
8
8
|
private platform;
|
|
9
9
|
protected openPopup(): Promise<void>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AXDataSource } from '@acorex/components/common';
|
|
2
1
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
2
|
import { AXPTabularDataColumn } from './tabular-widget.types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
@@ -6,7 +5,6 @@ export declare class AXPTabularDataEditorWidgetViewComponent extends AXPWidgetCo
|
|
|
6
5
|
private popupService;
|
|
7
6
|
private platform;
|
|
8
7
|
protected columns: AXPTabularDataColumn[];
|
|
9
|
-
protected dataSource: AXDataSource<unknown>;
|
|
10
8
|
protected openPopup(): Promise<void>;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTabularDataEditorWidgetViewComponent, never>;
|
|
12
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTabularDataEditorWidgetViewComponent, "axp-table-editor-widget", never, {}, {}, never, never, true, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
2
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
3
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
4
3
|
import { Signal } from '@angular/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
@@ -8,7 +7,6 @@ export declare class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent<an
|
|
|
8
7
|
protected hasClearButton: Signal<boolean>;
|
|
9
8
|
protected disabled: Signal<boolean>;
|
|
10
9
|
protected placeholder: Signal<string>;
|
|
11
|
-
protected validationRules: Signal<AXPValidationRules>;
|
|
12
10
|
protected internalValue: Signal<string[]>;
|
|
13
11
|
protected handleValueChange(e: AXValueChangedEvent, i: number): void;
|
|
14
12
|
protected addItem(): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export type AXPValidationWidgetTypes = 'requiredValidation' | 'regularExpressionValidation' | 'minLengthValidation' | 'maxLengthValidation' | 'lessThanValidation' | 'greaterThanValidation' | 'betweenValidation' | 'equalValidation' | 'callbackValidation';
|
|
2
|
-
export
|
|
2
|
+
export interface AXPWidgetValidation {
|
|
3
3
|
rule: string;
|
|
4
4
|
message: string;
|
|
5
5
|
title?: string;
|
|
6
6
|
options?: any;
|
|
7
7
|
placeholder: string;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
|
+
export declare const AXP_BASE_VALIDATION_INFORMATION: Record<AXPValidationWidgetTypes, AXPWidgetValidation>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPBetweenValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationLowerValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationUpperValue: import("@angular/core").WritableSignal<any>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPCallbackValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<string>;
|
|
17
11
|
protected validationText: import("@angular/core").WritableSignal<string>;
|
package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget-edit.component.d.ts
CHANGED
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPEqualValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPGreaterThanValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationInclusive: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPLessThanValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationInclusive: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPMaxLengthValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPMinLengthValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPRegularExpressionValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationValue: import("@angular/core").WritableSignal<any>;
|
|
17
11
|
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
@@ -5,13 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXPRequiredValidationWidgetEditComponent extends AXPWidgetComponent<AXPValidationRule | undefined> {
|
|
6
6
|
#private;
|
|
7
7
|
protected validationName: AXPValidationWidgetTypes;
|
|
8
|
-
protected validationInformation:
|
|
9
|
-
rule: string;
|
|
10
|
-
message: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
options?: any;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
};
|
|
8
|
+
protected validationInformation: import("../base-validation/base-validation").AXPWidgetValidation;
|
|
15
9
|
protected validationStatus: import("@angular/core").WritableSignal<boolean>;
|
|
16
10
|
protected validationText: import("@angular/core").WritableSignal<string>;
|
|
17
11
|
protected validationPlaceholder: string;
|
package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Bl9f4Rtk.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-themes-default-entity-master-create-view.component-Bl9f4Rtk.mjs","sources":["../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.ts","../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { AXValidationModule } from '@acorex/core/validation';\n\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPGridLayoutDirective } from '@acorex/platform/common';\nimport { AXPLayoutBuilderModule, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';\nimport { AXPEntityMasterCreateViewModel } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\n\n@Component({\n templateUrl: './entity-master-create-view.component.html',\n imports: [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXDecoratorModule,\n CommonModule,\n AXButtonModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXTooltipModule,\n AXValidationModule,\n AXLabelModule,\n AXDropdownModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n //\n AXPLayoutBuilderModule,\n AXPWidgetsModule,\n AXPGridLayoutDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntityMasterCreateViewComponent extends AXBasePageComponent {\n protected vm!: AXPEntityMasterCreateViewModel;\n\n protected workflow = inject(AXPWorkflowService);\n\n protected handleCloseClick() {\n this.close();\n }\n\n protected async handleBackClick() {\n //await this.vm.executeCommand('back');\n }\n\n protected async handleNextClick(form: AXFormComponent) {\n // const formResult = await form.validate();\n // if (formResult.result) {\n // await this.vm.executeCommand('next');\n // }\n }\n\n protected async handleSaveClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n try {\n const record = await this.vm.save();\n this.close({ save: true, recordId: record?.id, item: record, redirect: this.vm.redirect() });\n } catch (error) {\n console.log(error);\n }\n }\n }\n\n protected async handleSaveAndNewClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n try {\n const record = await this.vm.save();\n this.close({ save: true, recordId: record.id, redirect: false });\n await this.vm.createNewOne();\n } catch (error) {\n console.log(error);\n }\n }\n }\n\n protected async handleContextChange(e: AXPLayoutContextChangeEvent) {\n this.vm.context.set(e.data);\n }\n}\n","<div>\n <axp-widgets-container [context]=\"vm.context()\" (onContextChanged)=\"handleContextChange($event)\">\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4 ax-pb-8\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\n <!-- Begin Sections -->\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-col-span-12\">\n <ax-form #form>\n @if(vm.sections().length>1 && !section.description()) {\n <div class=\"ax-pb-4\">\n <span class=\"ax-font-bold ax-text-xl\">{{ section.title() | translate | async }}</span>\n @if(section.description()) {\n <p class=\"ax-text-sm ax-text-gray-500\">{{ section.description() }}</p>\n }\n </div>\n }\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.elements(); track $index) {\n <ax-form-field class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\"\n [class.ax-hidden]=\"widget.options()['visibility'] == false\">\n <ax-label class=\"ax-font-semibold ax-text-sm\" [required]=\"attr.isRequired()\">{{\n attr.title() | translate | async\n }}</ax-label>\n <ng-container axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'edit'\"\n #widget=\"widgetRenderer\"></ng-container>\n </ax-form-field>\n }\n </div>\n </ax-form>\n </div>\n }\n </div>\n <!-- Finish Sections -->\n </ax-form>\n </axp-widgets-container>\n <ax-footer>\n <ax-suffix>\n <ax-button look=\"solid\" [color]=\"'default'\" [text]=\"'cancel' | translate | async\" (onClick)=\"handleCloseClick()\">\n </ax-button>\n @if(vm.canCreateNewOne()) {\n <ax-dropdown-button [disabled]=\"vm.isInProgress()\" color=\"primary\" [text]=\"'save' | translate | async\"\n look=\"solid\" (onClick)=\"handleSaveClick(form)\">\n <ax-loading *ngIf=\"vm.isInProgress()\"></ax-loading>\n <ax-button-item-list>\n <ax-button-item [text]=\"('save' | translate | async) + ' ' + ('create-new' | translate | async)\"\n (onClick)=\"handleSaveAndNewClick(form)\">\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n }@else {\n <ax-button look=\"solid\" color=\"primary\" [text]=\"'save' | translate | async\" (onClick)=\"handleSaveClick(form)\">\n <ax-loading *ngIf=\"vm.isInProgress()\"></ax-loading>\n </ax-button>\n }\n </ax-suffix>\n </ax-footer>\n</div>"],"names":["i3","i5","i8","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDM,MAAO,kCAAmC,SAAQ,mBAAmB,CAAA;AAzB3E,IAAA,WAAA,GAAA;;AA4BY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC;AA6ChD;IA3CW,gBAAgB,GAAA;QACxB,IAAI,CAAC,KAAK,EAAE;;AAGJ,IAAA,MAAM,eAAe,GAAA;;;IAIrB,MAAM,eAAe,CAAC,IAAqB,EAAA;;;;;;IAO3C,MAAM,eAAe,CAAC,IAAqB,EAAA;AACnD,QAAA,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE;AACxC,QAAA,IAAI,UAAU,CAAC,MAAM,EAAE;AACrB,YAAA,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE;AACnC,gBAAA,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC;;YAC5F,OAAO,KAA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;wBACtB,gBAAgB;wBAChB,sBAAsB;qBACvB,EACgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mrFAAA,EAAA;;;;;"}
|
package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B4aBmc5H.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-themes-default-entity-master-single-view.component-B4aBmc5H.mjs","sources":["../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-single-view/overview/entity-single-overview.component.ts","../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-single-view/overview/entity-single-overview.component.html","../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.ts","../../../../libs/platform/themes/default/src/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.html"],"sourcesContent":["import { AXActionSheetModule } from '@acorex/components/action-sheet';\nimport { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDrawerModule } from '@acorex/components/drawer';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTabsModule, AXTabStripChangedEvent } from '@acorex/components/tabs';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPGridLayoutDirective } from '@acorex/platform/common';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPEntityMasterSingleViewModel } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { ActivatedRoute, RouterModule } from '@angular/router';\nimport { AXPEntityDetailListViewComponent } from '../../entity-detail-list-view/entity-detail-list-view.component';\n\n@Component({\n templateUrl: './entity-single-overview.component.html',\n selector: 'axp-entity-single-overview',\n imports: [\n CommonModule,\n RouterModule,\n AXDecoratorModule,\n AXDropdownModule,\n AXPopoverModule,\n AXFormModule,\n AXActionSheetModule,\n AXDrawerModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXButtonModule,\n AXBreadcrumbsModule,\n //\n AXPLayoutBuilderModule,\n AXPWidgetsModule,\n AXPGridLayoutDirective,\n AXPEntityDetailListViewComponent,\n //\n AXTranslationModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntitySingleOverviewComponent {\n private activeRoute = inject(ActivatedRoute);\n protected readonly vm = this.activeRoute.snapshot.data['vm'] as AXPEntityMasterSingleViewModel;\n\n protected selectedRelatedIEntityTabIndex = signal(0);\n\n handleActiveRelatedEntityChanged(e: AXTabStripChangedEvent) {\n this.selectedRelatedIEntityTabIndex.set(e.index);\n }\n}\n","<div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-card ax-mt-2\" [gridLayout]=\"section.layout()\">\n <ax-form #form>\n <axp-widgets-container [context]=\"vm.context()\">\n <div class=\"ax-card-header !ax-py-2 !ax-px-4\">\n <p>\n <span class=\"!ax-text-lg ax-font-semibold\">{{ section.title() | translate | async }}</span>\n <br />\n @if(section.description()) {\n <span class=\"ax-text-sm ax-font-normal ax-text-gray-500\">{{ section.description() }}</span>\n }\n </p>\n @if(section.editable()) {\n <ax-button class=\"ax-xs\" [color]=\"'default'\" [look]=\"'blank'\"\n (onClick)=\"vm.executeCommand('modify-entity-section', section)\">\n <ax-icon class=\"fa-solid fa-pen ax-text-gray-600\"> </ax-icon>\n </ax-button>\n }\n </div>\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.props(); track $index) {\n <div class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\"\n [class.ax-hidden]=\"widget.options()['visibility'] == false\">\n <div>\n <div>\n @if(attr.showLabel()) {\n <span class=\"ax-font-semibold\">{{ attr.title() | translate | async }}</span>\n }\n </div>\n </div>\n <div class=\"ax-text-neutral-500\">\n <ng-container axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'view'\"\n #widget=\"widgetRenderer\"></ng-container>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n </ax-form>\n </div>\n }\n</div>\n\n@if(vm.relatedEntities().length) {\n<ax-tabs [look]=\"'classic'\" class=\"ax-mt-4 ax-font-semibold\" #tab\n (onActiveTabChanged)=\"handleActiveRelatedEntityChanged($event)\">\n @for(e of vm.relatedEntities();track $index;let index= $index){\n <ax-tab-item [text]=\"(e.title() | translate | async)!\" [key]=\"index.toString()\"> </ax-tab-item>\n }\n</ax-tabs>\n@for(e of vm.relatedEntities();track $index;let index= $index){\n<div [class.ax-hidden]=\"$index != selectedRelatedIEntityTabIndex()\">\n <axp-entity-detail-list-view [viewModel]=\"e\"></axp-entity-detail-list-view>\n</div>\n} }","import { AXActionSheetModule } from '@acorex/components/action-sheet';\nimport { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDrawerModule } from '@acorex/components/drawer';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTabsModule, AXTabStripChangedEvent } from '@acorex/components/tabs';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPAuthModule } from '@acorex/platform/auth';\nimport { AXPStickyDirective } from '@acorex/platform/common';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPEntityMasterSingleViewModel } from '@acorex/platform/layout/entity';\nimport { AXPLayoutThemeService } from '@acorex/platform/themes/shared';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { ActivatedRoute, RouterModule } from '@angular/router';\nimport { AXPEntitySingleOverviewComponent } from './overview/entity-single-overview.component';\n\n@Component({\n templateUrl: './entity-master-single-view.component.html',\n imports: [\n CommonModule,\n RouterModule,\n AXDecoratorModule,\n AXDropdownModule,\n AXPopoverModule,\n AXFormModule,\n AXActionSheetModule,\n AXDrawerModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXButtonModule,\n AXBreadcrumbsModule,\n //\n AXPLayoutBuilderModule,\n AXPWidgetsModule,\n AXPStickyDirective,\n AXPEntitySingleOverviewComponent,\n // AXMCommentModule,\n AXPAuthModule,\n //\n AXTranslationModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntityMasterSingleViewComponent {\n private activeRoute = inject(ActivatedRoute);\n protected readonly vm = this.activeRoute.snapshot.data['vm'] as AXPEntityMasterSingleViewModel;\n //\n protected store = inject(AXPLayoutThemeService);\n\n protected selectedDetailTabIndex = signal('Overview');\n\n handleActiveDetailTabChanged(e: AXTabStripChangedEvent) {\n this.selectedDetailTabIndex.set(e.tab.key);\n }\n\n ngOnDestroy(): void {\n this.vm.destroy();\n }\n}\n","<ax-drawer-container>\n <!-- <ax-drawer #drawer location=\"start\" [collapsed]=\"!(isOpen | async)\" [mode]=\" (isSM | async) ? 'overlay' : 'push'\"\n *ngIf=\"loader.hasSections$ | async\" (collapsedChange)=\"handleCollapsedChange($event)\">\n <ax-content class=\"ax-border-e ax-p-6 ax-w-64\">\n <p class=\"ax-text-xl ax-font-bold ax-mb-6\">{{loader.sectionTitle}}</p>\n <ax-tabs look=\"with-line\" location=\"start\">\n @for(tab of (loader.sections$ | async); track tab.name)\n {\n <ax-tab-item [text]=\"tab.title\" [active]=\"isActive(tab)\" (onClick)=\"handleMenuClick($event,tab)\"\n [disabled]=\"editForm.context\">\n </ax-tab-item>\n }\n </ax-tabs>\n </ax-content>\n </ax-drawer> -->\n <ax-content #content class=\"ax-overflow-x-hidden\">\n <div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-lightest ax-border-b md:ax-border-0 md:ax-bg-default\">\n <div class=\"ax-flex ax-flex-col ax-pt-4 ax-sticky ax-top-0 ax-z-10 ax-transition-all\" #sticky=\"axpSticky\"\n [axpSticky]=\"'ax-bg-lightest ax-px-6 ax-py-3 -ax-mx-6 ax-shadow-xl'\" [stickyOffset]=\"30\"\n [stickyParent]=\"content.getHostElement()\">\n <!-------- Begin Toolbar -------->\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <!-------- Begin Title -------->\n <div class=\"ax-flex ax-gap-1 ax-items-center\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-transition\">\n <div class=\"ax-text-xl md:ax-text-2xl ax-font-bold\">{{ vm.title() }}</div>\n @if(vm.description()) {\n <div class=\"ax-text-sm ax-text-neutral-600\" [class.ax-hidden]=\"sticky.isSticky\">\n {{ vm.description() }}\n </div>\n }\n <ax-breadcrumbs class=\"child:ax-font-normal child:ax-text-neutral-400\"\n [class.ax-hidden]=\"store.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-solid fa-chevron-right ax-text-xs ax-mx-2\"></i>\n </ng-template>\n @for(b of vm.beardcrumbs();track $index;let last=$last) {\n <ax-breadcrumbs-item [active]=\"last\" [class.!ax-font-semibold]=\"last\"\n [class.!ax-text-neutral-600]=\"last\" [routerLink]=\"b.url\">\n @if(b.icon) {\n <i [class]=\"b.icon\"></i>\n }\n {{ b.title | translate | async }}\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </div>\n </div>\n <!-------- Finish Title -------->\n <!--------------------------------------------------------------->\n <!-- Begin Action Menu -->\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n @for(action of vm.primaryActions();track $index) {\n <ax-button [text]=\"(action.title | translate | async)!\" [color]=\"action.color\"\n (onClick)=\"vm.executeCommand(action.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"action.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button>\n } @if(vm.secondaryActions().length) {\n <ax-button [text]=\"store.isSmall() ? null : 'Actions'\" [color]=\"'default'\">\n <ax-prefix>\n <i class=\"fa-solid fa-ellipsis-vertical\"></i>\n </ax-prefix>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(action of vm.secondaryActions();track $index) {\n <ng-container>\n @if(action.separated) {\n <ax-divider></ax-divider>\n }\n <ax-button-item [text]=\"(action.title | translate | async)!\" [color]=\"action.color\"\n (onClick)=\"vm.executeCommand(action.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"action.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ng-container>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n }\n </div>\n <!-- Finish Action Menu -->\n </div>\n <!----- Finish Toolbar ----->\n <!--------------------------------------------------------------->\n <!-- Begin Sections -->\n <ax-tabs (onActiveTabChanged)=\"handleActiveDetailTabChanged($event)\" [look]=\"'classic'\"\n class=\"ax-mt-4 ax-font-semibold\" [class.ax-hidden]=\"sticky.isSticky\">\n <ax-tab-item [key]=\"'overview'\" [text]=\"('overview' | translate | async) ?? 'Overview'\"> </ax-tab-item>\n <ax-tab-item *feature=\"'entity-history'\" [key]=\"'history'\"\n [text]=\"('history' | translate | async) ?? 'History'\">\n </ax-tab-item>\n <ax-tab-item *feature=\"'entity-comment'\" [key]=\"'comments'\"\n [text]=\"('comments' | translate | async) ?? 'Comments'\">\n </ax-tab-item>\n </ax-tabs>\n </div>\n\n @switch (selectedDetailTabIndex()) { @case('history'){\n <div></div>\n } @case('comments'){\n <div></div>\n <!-- <axm-comment-list-view vm=\"vm\"></axm-comment-list-view> -->\n } @default {\n <axp-entity-single-over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EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA;;gBAEb,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIV,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBA5B9C,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;wBACf,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,YAAY;wBACZ,cAAc;wBACd,mBAAmB;;wBAEnB,sBAAsB;wBACtB,gBAAgB;wBAChB,kBAAkB;wBAClB,gCAAgC;;wBAEhC,aAAa;;wBAEb,mBAAmB;qBACpB,EACgB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,miLAAA,EAAA;;;;;"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/common';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
-
import { AXPSimplePageLayout } from './acorex-platform-themes-default.mjs';
|
|
6
|
-
import { AXPThemeLayoutBlockComponent, AXPThemeLayoutHeaderTemplateComponent, AXPThemeLayoutSideTemplateComponent, AXPThemeLayoutActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutFooterComponent } from '@acorex/platform/themes/shared';
|
|
7
|
-
import * as i7 from '@acorex/components/search-box';
|
|
8
|
-
import { AXSearchBoxModule } from '@acorex/components/search-box';
|
|
9
|
-
import * as i5 from '@acorex/components/decorators';
|
|
10
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
11
|
-
import { AXPSettingsViewModel } from '@acorex/platform/layout/setting';
|
|
12
|
-
import * as i2 from '@angular/forms';
|
|
13
|
-
import { FormsModule } from '@angular/forms';
|
|
14
|
-
import { AXTreeViewModule } from '@acorex/components/tree-view';
|
|
15
|
-
import * as i3 from '@angular/router';
|
|
16
|
-
import { RouterModule } from '@angular/router';
|
|
17
|
-
import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
|
|
18
|
-
import * as i6 from '@acorex/core/translation';
|
|
19
|
-
import { AXTranslationModule } from '@acorex/core/translation';
|
|
20
|
-
import * as i4 from '@acorex/components/button';
|
|
21
|
-
import { AXButtonModule } from '@acorex/components/button';
|
|
22
|
-
import * as i8 from '@acorex/components/tabs';
|
|
23
|
-
import { AXTabsModule } from '@acorex/components/tabs';
|
|
24
|
-
import { AXBadgeModule } from '@acorex/components/badge';
|
|
25
|
-
import * as i5$1 from '@acorex/components/loading';
|
|
26
|
-
import { AXLoadingModule } from '@acorex/components/loading';
|
|
27
|
-
import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
|
|
28
|
-
|
|
29
|
-
class AXPSettingPageComponent {
|
|
30
|
-
constructor() {
|
|
31
|
-
this.vm = inject(AXPSettingsViewModel);
|
|
32
|
-
}
|
|
33
|
-
handleSerach(e) {
|
|
34
|
-
this.vm.search(e.value);
|
|
35
|
-
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPSettingPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPSettingPageComponent, isStandalone: true, selector: "ng-component", providers: [AXPSettingsViewModel], ngImport: i0, template: "<axp-layout-simple-page *translate=\"let t\">\n @if(vm.showSide())\n {\n <axp-layout-side>\n <axp-layout-header>\n <axp-layout-title>{{t(vm.title(),{scope:'platform-management'}) | async}}</axp-layout-title>\n <axp-layout-toolbar>\n <ax-search-box [delayTime]=\"300\" [ngModel]=\"vm.searchExpression()\"\n (onValueChanged)=\"handleSerach($event)\"\n [placeholder]=\"t('settings.search',{scope:'platform-management'}) | async\">\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </axp-layout-toolbar>\n </axp-layout-header>\n <axp-layout-content>\n <ax-tabs [look]=\"'with-line-color'\" [location]=\"'end'\" [fitParent]=\"true\">\n @for (item of vm.loadedItems(); track $index) {\n <ax-tab-item [text]=\"item.title\" (onClick)=\"vm.handleSelectGroup(item)\"\n [active]=\"vm.activateGroup()==item.name && !vm.isSearching()\">\n <ax-prefix>\n <ax-icon icon=\"far ${{item.icon}}\"></ax-icon>\n </ax-prefix>\n </ax-tab-item>\n }\n </ax-tabs>\n </axp-layout-content>\n </axp-layout-side>\n }\n\n @if(vm.hasGroup())\n {\n <axp-layout-header>\n @let group=vm.groups()?.breadcrumb?.[(vm.groups()?.breadcrumb?.length??1)- 1];\n\n @if(!vm.showSide())\n {\n <axp-layout-nav-button>\n <ax-button class=\"ax-xs\" [look]=\"'blank'\" [color]=\"'default'\" (onClick)=\"vm.navigateUpLevel()\">\n <ax-icon icon=\"fa-solid fa-arrow-left\"></ax-icon>\n </ax-button>\n </axp-layout-nav-button>\n }\n\n <axp-layout-title>\n @if(!vm.isSearching())\n {\n {{ (group?.title ?? '') | translate | async }}\n }\n @else {\n {{ t('settings.search',{scope:'platform-management'}) | async }}\n }\n </axp-layout-title>\n\n @if(group?.description && !vm.isSearching() && vm.layout.isLarge())\n {\n <axp-layout-description>\n {{ group?.description }}\n </axp-layout-description>\n }\n <axp-layout-actions>\n @if((!vm.isSearching() || vm.searchResult().length >0))\n {\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('settings.restore-defaults',{scope:'platform-management'}) | async)!\"\n (onClick)=\"vm.resetToDefault();\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-rotate'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item [text]=\"(t('export') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-file-export'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n }\n\n </axp-layout-actions>\n </axp-layout-header>\n }\n @else\n {\n <axp-layout-header>\n <axp-layout-title>{{t(vm.title(),{scope:'platform-management'}) | async}}</axp-layout-title>\n <axp-layout-toolbar>\n <ax-search-box [delayTime]=\"300\" [ngModel]=\"vm.searchExpression()\" (onValueChanged)=\"handleSerach($event)\"\n class=\"ax-w-full\" [placeholder]=\"t('settings.search',{scope:'platform-management'}) | async\">\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </axp-layout-toolbar>\n </axp-layout-header>\n }\n\n <axp-layout-content id=\"ax-settings\">\n @if(vm.hasGroup() || vm.isSearching())\n {\n <router-outlet></router-outlet>\n }\n @else {\n <axp-layout-list>\n @for (item of vm.loadedItems(); track $index) {\n <axp-layout-list-item (click)=\"vm.handleSelectGroup(item)\">\n <axp-layout-prefix>\n <ax-icon icon=\"far ${{item.icon}}\" class=\"ax-text-gray-500\"></ax-icon>\n </axp-layout-prefix>\n <axp-layout-content>\n <a>{{item.title | translate | async}}</a>\n </axp-layout-content>\n <axp-layout-suffix>\n <ax-icon icon=\" far fa-chevron-right\" class=\"ax-text-gray-400\"></ax-icon>\n </axp-layout-suffix>\n </axp-layout-list-item>\n }\n </axp-layout-list>\n }\n </axp-layout-content>\n\n @if(vm.isDirty() )\n {\n <axp-layout-footer>\n <axp-layout-suffix>\n <ax-button [class.ax-sm]=\"vm.layout.isSmall()\" [disabled]=\"vm.isBusy()\" [text]=\"t('discard') | async\"\n (onClick)=\"vm.discard()\">\n @if(vm.isBusy())\n {\n <ax-loading></ax-loading>\n }\n </ax-button>\n\n <ax-button [class.ax-sm]=\"vm.layout.isSmall()\" [disabled]=\"vm.isBusy()\"\n [text]=\"((t(vm.layout.isSmall() ? 'Apply': 'Apply Changes')) | async)!\" (onClick)=\"vm.apply()\"\n [color]=\"'primary'\">\n @if(vm.isBusy())\n {\n <ax-loading></ax-loading>\n }\n </ax-button>\n </axp-layout-suffix>\n </axp-layout-footer>\n }\n</axp-layout-simple-page>", styles: [":host ax-tabs{--ax-comp-tabs-default-border-radius: 0}:host ax-tabs ax-tab-item{margin-top:0!important;margin-bottom:0!important;padding-top:.75rem!important;padding-bottom:.75rem!important;font-weight:600!important}:host #ax-settings{padding:1rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type:
|
|
38
|
-
//
|
|
39
|
-
AXSearchBoxModule }, { kind: "component", type: i7.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i5.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i5.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTreeViewModule }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i4.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i8.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i8.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i5$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "component", type:
|
|
40
|
-
//
|
|
41
|
-
AXPSimplePageLayout, selector: "axp-layout-simple-page" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-layout-content, axp-layout-header-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, " }, { kind: "component", type: AXPThemeLayoutHeaderTemplateComponent, selector: "axp-layout-header" }, { kind: "component", type: AXPThemeLayoutSideTemplateComponent, selector: "axp-layout-side" }, { kind: "component", type: AXPThemeLayoutActionsComponent, selector: "axp-layout-actions" }, { kind: "component", type: AXPThemeLayoutPageSecondaryActionsComponent, selector: "axp-layout-actions-secondary" }, { kind: "component", type: AXPThemeLayoutListComponent, selector: "axp-layout-list" }, { kind: "component", type: AXPThemeLayoutListItemComponent, selector: "axp-layout-list-item" }, { kind: "component", type: AXPThemeLayoutFooterComponent, selector: "axp-layout-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
42
|
-
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPSettingPageComponent, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{ standalone: true, imports: [
|
|
46
|
-
CommonModule,
|
|
47
|
-
FormsModule,
|
|
48
|
-
RouterModule,
|
|
49
|
-
//
|
|
50
|
-
AXSearchBoxModule,
|
|
51
|
-
AXDecoratorModule,
|
|
52
|
-
AXTreeViewModule,
|
|
53
|
-
AXBreadcrumbsModule,
|
|
54
|
-
AXTranslationModule,
|
|
55
|
-
AXButtonModule,
|
|
56
|
-
AXTabsModule,
|
|
57
|
-
AXBadgeModule,
|
|
58
|
-
AXLoadingModule,
|
|
59
|
-
AXDropdownButtonModule,
|
|
60
|
-
//
|
|
61
|
-
AXPSimplePageLayout,
|
|
62
|
-
AXPThemeLayoutBlockComponent,
|
|
63
|
-
AXPThemeLayoutHeaderTemplateComponent,
|
|
64
|
-
AXPThemeLayoutSideTemplateComponent,
|
|
65
|
-
AXPThemeLayoutActionsComponent,
|
|
66
|
-
AXPThemeLayoutPageSecondaryActionsComponent,
|
|
67
|
-
AXPThemeLayoutListComponent,
|
|
68
|
-
AXPThemeLayoutListItemComponent,
|
|
69
|
-
AXPThemeLayoutFooterComponent
|
|
70
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [AXPSettingsViewModel], template: "<axp-layout-simple-page *translate=\"let t\">\n @if(vm.showSide())\n {\n <axp-layout-side>\n <axp-layout-header>\n <axp-layout-title>{{t(vm.title(),{scope:'platform-management'}) | async}}</axp-layout-title>\n <axp-layout-toolbar>\n <ax-search-box [delayTime]=\"300\" [ngModel]=\"vm.searchExpression()\"\n (onValueChanged)=\"handleSerach($event)\"\n [placeholder]=\"t('settings.search',{scope:'platform-management'}) | async\">\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </axp-layout-toolbar>\n </axp-layout-header>\n <axp-layout-content>\n <ax-tabs [look]=\"'with-line-color'\" [location]=\"'end'\" [fitParent]=\"true\">\n @for (item of vm.loadedItems(); track $index) {\n <ax-tab-item [text]=\"item.title\" (onClick)=\"vm.handleSelectGroup(item)\"\n [active]=\"vm.activateGroup()==item.name && !vm.isSearching()\">\n <ax-prefix>\n <ax-icon icon=\"far ${{item.icon}}\"></ax-icon>\n </ax-prefix>\n </ax-tab-item>\n }\n </ax-tabs>\n </axp-layout-content>\n </axp-layout-side>\n }\n\n @if(vm.hasGroup())\n {\n <axp-layout-header>\n @let group=vm.groups()?.breadcrumb?.[(vm.groups()?.breadcrumb?.length??1)- 1];\n\n @if(!vm.showSide())\n {\n <axp-layout-nav-button>\n <ax-button class=\"ax-xs\" [look]=\"'blank'\" [color]=\"'default'\" (onClick)=\"vm.navigateUpLevel()\">\n <ax-icon icon=\"fa-solid fa-arrow-left\"></ax-icon>\n </ax-button>\n </axp-layout-nav-button>\n }\n\n <axp-layout-title>\n @if(!vm.isSearching())\n {\n {{ (group?.title ?? '') | translate | async }}\n }\n @else {\n {{ t('settings.search',{scope:'platform-management'}) | async }}\n }\n </axp-layout-title>\n\n @if(group?.description && !vm.isSearching() && vm.layout.isLarge())\n {\n <axp-layout-description>\n {{ group?.description }}\n </axp-layout-description>\n }\n <axp-layout-actions>\n @if((!vm.isSearching() || vm.searchResult().length >0))\n {\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('settings.restore-defaults',{scope:'platform-management'}) | async)!\"\n (onClick)=\"vm.resetToDefault();\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-rotate'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item [text]=\"(t('export') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-file-export'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n }\n\n </axp-layout-actions>\n </axp-layout-header>\n }\n @else\n {\n <axp-layout-header>\n <axp-layout-title>{{t(vm.title(),{scope:'platform-management'}) | async}}</axp-layout-title>\n <axp-layout-toolbar>\n <ax-search-box [delayTime]=\"300\" [ngModel]=\"vm.searchExpression()\" (onValueChanged)=\"handleSerach($event)\"\n class=\"ax-w-full\" [placeholder]=\"t('settings.search',{scope:'platform-management'}) | async\">\n <ax-clear-button></ax-clear-button>\n </ax-search-box>\n </axp-layout-toolbar>\n </axp-layout-header>\n }\n\n <axp-layout-content id=\"ax-settings\">\n @if(vm.hasGroup() || vm.isSearching())\n {\n <router-outlet></router-outlet>\n }\n @else {\n <axp-layout-list>\n @for (item of vm.loadedItems(); track $index) {\n <axp-layout-list-item (click)=\"vm.handleSelectGroup(item)\">\n <axp-layout-prefix>\n <ax-icon icon=\"far ${{item.icon}}\" class=\"ax-text-gray-500\"></ax-icon>\n </axp-layout-prefix>\n <axp-layout-content>\n <a>{{item.title | translate | async}}</a>\n </axp-layout-content>\n <axp-layout-suffix>\n <ax-icon icon=\" far fa-chevron-right\" class=\"ax-text-gray-400\"></ax-icon>\n </axp-layout-suffix>\n </axp-layout-list-item>\n }\n </axp-layout-list>\n }\n </axp-layout-content>\n\n @if(vm.isDirty() )\n {\n <axp-layout-footer>\n <axp-layout-suffix>\n <ax-button [class.ax-sm]=\"vm.layout.isSmall()\" [disabled]=\"vm.isBusy()\" [text]=\"t('discard') | async\"\n (onClick)=\"vm.discard()\">\n @if(vm.isBusy())\n {\n <ax-loading></ax-loading>\n }\n </ax-button>\n\n <ax-button [class.ax-sm]=\"vm.layout.isSmall()\" [disabled]=\"vm.isBusy()\"\n [text]=\"((t(vm.layout.isSmall() ? 'Apply': 'Apply Changes')) | async)!\" (onClick)=\"vm.apply()\"\n [color]=\"'primary'\">\n @if(vm.isBusy())\n {\n <ax-loading></ax-loading>\n }\n </ax-button>\n </axp-layout-suffix>\n </axp-layout-footer>\n }\n</axp-layout-simple-page>", styles: [":host ax-tabs{--ax-comp-tabs-default-border-radius: 0}:host ax-tabs ax-tab-item{margin-top:0!important;margin-bottom:0!important;padding-top:.75rem!important;padding-bottom:.75rem!important;font-weight:600!important}:host #ax-settings{padding:1rem}\n"] }]
|
|
71
|
-
}] });
|
|
72
|
-
|
|
73
|
-
export { AXPSettingPageComponent };
|
|
74
|
-
//# sourceMappingURL=acorex-platform-themes-default-setting-page.component-BERYnJnp.mjs.map
|