@acorex/platform 20.4.2 → 20.5.0-next.0
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/index.d.ts +1 -1
- package/core/index.d.ts +405 -193
- package/fesm2022/acorex-platform-common.mjs +2 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +638 -244
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +614 -31
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +14 -386
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +51 -47
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +1182 -305
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +6 -1
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +676 -271
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/layout/components/index.d.ts +245 -3
- package/layout/entity/index.d.ts +1 -59
- package/layout/widgets/index.d.ts +237 -3
- package/package.json +5 -5
- package/themes/default/index.d.ts +1 -0
|
@@ -20,9 +20,9 @@ import { AXDataSource } from '@acorex/cdk/common';
|
|
|
20
20
|
import { AXFormatService } from '@acorex/core/format';
|
|
21
21
|
import * as i4$1 from '@acorex/platform/common';
|
|
22
22
|
import { AXPFilterOperatorMiddlewareService, AXPEntityCommandScope, getEntityInfo, AXPSettingService, AXPRefreshEvent, AXPReloadEvent, AXPCommonSettings, AXPCleanNestedFilters, AXPWorkflowNavigateAction, AXPToastAction, AXP_SEARCH_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
23
|
-
import * as i1$
|
|
23
|
+
import * as i1$1 from '@acorex/platform/core';
|
|
24
24
|
import { resolveActionLook, AXPExpressionEvaluatorService, AXPDistributedEventListenerService, AXPBroadcastEventService, AXPPlatformScope, getChangedPaths, extractValue, setSmart, AXPSystemActionType } from '@acorex/platform/core';
|
|
25
|
-
import * as i2$
|
|
25
|
+
import * as i2$3 from '@acorex/platform/workflow';
|
|
26
26
|
import { AXPWorkflowService, ofType, createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
|
27
27
|
import { AXPLayoutThemeService } from '@acorex/platform/themes/shared';
|
|
28
28
|
import { Subject, takeUntil } from 'rxjs';
|
|
@@ -36,19 +36,18 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
|
36
36
|
import * as i4$2 from '@acorex/components/dropdown';
|
|
37
37
|
import { AXDropdownModule } from '@acorex/components/dropdown';
|
|
38
38
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY, AXP_ALLOW_CLEAR_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_ALLOW_MULTIPLE_PROPERTY, AXPFileUploaderWidgetService } from '@acorex/platform/layout/widgets';
|
|
39
|
-
import * as i1
|
|
39
|
+
import * as i1 from '@angular/forms';
|
|
40
40
|
import { FormsModule } from '@angular/forms';
|
|
41
41
|
import * as i5$1 from '@acorex/components/form';
|
|
42
42
|
import { AXFormModule } from '@acorex/components/form';
|
|
43
43
|
import * as i7 from '@acorex/components/select-box';
|
|
44
44
|
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
|
45
|
-
import * as i2$
|
|
45
|
+
import * as i2$2 from '@acorex/components/text-box';
|
|
46
46
|
import { AXTextBoxModule, AXTextBoxComponent } from '@acorex/components/text-box';
|
|
47
47
|
import { AXValidationModule } from '@acorex/core/validation';
|
|
48
|
-
import * as
|
|
48
|
+
import * as i2$1 from '@acorex/components/badge';
|
|
49
49
|
import { AXBadgeModule } from '@acorex/components/badge';
|
|
50
|
-
import
|
|
51
|
-
import { AXSearchBoxComponent, AXSearchBoxModule } from '@acorex/components/search-box';
|
|
50
|
+
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
|
52
51
|
import * as i6$1 from '@acorex/components/tag-box';
|
|
53
52
|
import { AXTagBoxComponent, AXTagBoxModule } from '@acorex/components/tag-box';
|
|
54
53
|
import { AXPDataSelectorService, AXPWidgetPropertyViewerComponent } from '@acorex/platform/layout/components';
|
|
@@ -5657,7 +5656,7 @@ class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
5657
5656
|
<span class="ax-text-muted">---</span>
|
|
5658
5657
|
}
|
|
5659
5658
|
}
|
|
5660
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type:
|
|
5659
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5661
5660
|
}
|
|
5662
5661
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLookupWidgetViewComponent, decorators: [{
|
|
5663
5662
|
type: Component,
|
|
@@ -6213,9 +6212,9 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6213
6212
|
</ax-tag-box>
|
|
6214
6213
|
}
|
|
6215
6214
|
}
|
|
6216
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1
|
|
6215
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
|
|
6217
6216
|
//
|
|
6218
|
-
AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$2.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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXTagBoxModule }, { kind: "component", type: i6$1.AXTagBoxComponent, selector: "ax-tag-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "allowNull", "type", "look", "addOnComma", "addOnEnter", "valueField", "textField", "readonlyField", "allowDuplicateValues"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i7.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "component", type: AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6217
|
+
AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$2.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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXTagBoxModule }, { kind: "component", type: i6$1.AXTagBoxComponent, selector: "ax-tag-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "allowNull", "type", "look", "addOnComma", "addOnEnter", "valueField", "textField", "readonlyField", "allowDuplicateValues", "tagTemplate"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onTagClick", "onTagDblClick", "onTagContextMenu"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i7.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "itemHeight", "maxVisibleItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "component", type: AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6219
6218
|
}
|
|
6220
6219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLookupWidgetEditComponent, decorators: [{
|
|
6221
6220
|
type: Component,
|
|
@@ -6480,375 +6479,6 @@ const AXPLookupWidget = {
|
|
|
6480
6479
|
},
|
|
6481
6480
|
};
|
|
6482
6481
|
|
|
6483
|
-
class AXPTagableBoxWidgetColumnComponent extends AXPValueWidgetComponent {
|
|
6484
|
-
constructor() {
|
|
6485
|
-
super(...arguments);
|
|
6486
|
-
this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
|
|
6487
|
-
this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
6488
|
-
// ویژگیهای مرتبط با SelectBox
|
|
6489
|
-
this.useSelectBox = computed(() => this.options()['useSelectBox'], ...(ngDevMode ? [{ debugName: "useSelectBox" }] : []));
|
|
6490
|
-
this.textField = computed(() => this.options()['textField'] ?? 'title', ...(ngDevMode ? [{ debugName: "textField" }] : []));
|
|
6491
|
-
// استخراج دادهها برای نمایش
|
|
6492
|
-
this.getData = computed(() => {
|
|
6493
|
-
if (!this.useSelectBox()) {
|
|
6494
|
-
return [];
|
|
6495
|
-
}
|
|
6496
|
-
const value = this.getValue();
|
|
6497
|
-
if (!value) {
|
|
6498
|
-
return [];
|
|
6499
|
-
}
|
|
6500
|
-
return Array.isArray(value) ? value : [value];
|
|
6501
|
-
}, ...(ngDevMode ? [{ debugName: "getData" }] : []));
|
|
6502
|
-
}
|
|
6503
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6504
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPTagableBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
6505
|
-
<div class="ax-flex ax-gap-1 ax-flex-wrap">
|
|
6506
|
-
@if (useSelectBox() && getData().length > 0) { @for (item of getData(); track $index) {
|
|
6507
|
-
<ax-badge [look]="'twotone'" [text]="item[textField()]" color="primary"></ax-badge>
|
|
6508
|
-
} } @else { @if(multiple()) { @for (item of internalValue(); track $index) {
|
|
6509
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-inline-block">{{ item }}</span>
|
|
6510
|
-
} } @else {
|
|
6511
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-inline-block">{{ internalValue()[0] }}</span>
|
|
6512
|
-
} }
|
|
6513
|
-
</div>
|
|
6514
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6515
|
-
}
|
|
6516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetColumnComponent, decorators: [{
|
|
6517
|
-
type: Component,
|
|
6518
|
-
args: [{
|
|
6519
|
-
template: `
|
|
6520
|
-
<div class="ax-flex ax-gap-1 ax-flex-wrap">
|
|
6521
|
-
@if (useSelectBox() && getData().length > 0) { @for (item of getData(); track $index) {
|
|
6522
|
-
<ax-badge [look]="'twotone'" [text]="item[textField()]" color="primary"></ax-badge>
|
|
6523
|
-
} } @else { @if(multiple()) { @for (item of internalValue(); track $index) {
|
|
6524
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-inline-block">{{ item }}</span>
|
|
6525
|
-
} } @else {
|
|
6526
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-inline-block">{{ internalValue()[0] }}</span>
|
|
6527
|
-
} }
|
|
6528
|
-
</div>
|
|
6529
|
-
`,
|
|
6530
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6531
|
-
imports: [AXBadgeModule],
|
|
6532
|
-
inputs: [],
|
|
6533
|
-
}]
|
|
6534
|
-
}] });
|
|
6535
|
-
|
|
6536
|
-
var tagableBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
6537
|
-
__proto__: null,
|
|
6538
|
-
AXPTagableBoxWidgetColumnComponent: AXPTagableBoxWidgetColumnComponent
|
|
6539
|
-
});
|
|
6540
|
-
|
|
6541
|
-
class AXPTagableBoxWidgetEditComponent extends AXPValueWidgetComponent {
|
|
6542
|
-
constructor() {
|
|
6543
|
-
super(...arguments);
|
|
6544
|
-
this.entityResolver = inject(AXPEntityResolver);
|
|
6545
|
-
this.hasClearButton = computed(() => this.options()['hasClearButton'], ...(ngDevMode ? [{ debugName: "hasClearButton" }] : []));
|
|
6546
|
-
this.disabled = computed(() => this.options()['disabled'], ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
6547
|
-
this.placeholder = computed(() => this.options()['placeholder'], ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
6548
|
-
// پارامترهای SelectBox
|
|
6549
|
-
this.moduleName = computed(() => this.options()['module'], ...(ngDevMode ? [{ debugName: "moduleName" }] : []));
|
|
6550
|
-
this.entityName = computed(() => this.options()['entity'], ...(ngDevMode ? [{ debugName: "entityName" }] : []));
|
|
6551
|
-
this.allowSearch = computed(() => this.options()['allowSearch'], ...(ngDevMode ? [{ debugName: "allowSearch" }] : []));
|
|
6552
|
-
// منبع داده برای SelectBox
|
|
6553
|
-
this._dataSource = new AXDataSource({
|
|
6554
|
-
load: async (e) => {
|
|
6555
|
-
const entity = await this.entityResolver.get(this.moduleName(), this.entityName());
|
|
6556
|
-
const func = entity?.queries.list?.execute;
|
|
6557
|
-
const result = await func(e);
|
|
6558
|
-
console.log(result);
|
|
6559
|
-
return {
|
|
6560
|
-
items: result?.items || [],
|
|
6561
|
-
total: result?.total || 0,
|
|
6562
|
-
};
|
|
6563
|
-
},
|
|
6564
|
-
pageSize: 10,
|
|
6565
|
-
});
|
|
6566
|
-
}
|
|
6567
|
-
handleSelectValueChange(e) {
|
|
6568
|
-
if (e.isUserInteraction) {
|
|
6569
|
-
this.setValue(e.value);
|
|
6570
|
-
}
|
|
6571
|
-
}
|
|
6572
|
-
addItem() { }
|
|
6573
|
-
get __class() {
|
|
6574
|
-
const cls = {};
|
|
6575
|
-
cls[`ax-block`] = true;
|
|
6576
|
-
cls[`ax-flex-1`] = true;
|
|
6577
|
-
return cls;
|
|
6578
|
-
}
|
|
6579
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6580
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPTagableBoxWidgetEditComponent, isStandalone: true, selector: "axp-tagable-box-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
6581
|
-
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
6582
|
-
<!-- نمایش Select Box با دکمه اضافه کردن آیتم -->
|
|
6583
|
-
<ax-select-box
|
|
6584
|
-
class="ax-col-span-12"
|
|
6585
|
-
[placeholder]="placeholder()"
|
|
6586
|
-
[dataSource]="_dataSource"
|
|
6587
|
-
[ngModel]="getValue()"
|
|
6588
|
-
[valueField]="'name'"
|
|
6589
|
-
[textField]="'title'"
|
|
6590
|
-
[multiple]="true"
|
|
6591
|
-
(onValueChanged)="handleSelectValueChange($event)"
|
|
6592
|
-
>
|
|
6593
|
-
@if (allowSearch()) {
|
|
6594
|
-
<ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
|
|
6595
|
-
}
|
|
6596
|
-
@if (hasClearButton()) {
|
|
6597
|
-
<ax-clear-button></ax-clear-button>
|
|
6598
|
-
}
|
|
6599
|
-
@for (validation of validationRules(); track $index) {
|
|
6600
|
-
<ax-validation-rule
|
|
6601
|
-
[rule]="validation.rule"
|
|
6602
|
-
[message]="validation.options?.message"
|
|
6603
|
-
[options]="validation.options"
|
|
6604
|
-
></ax-validation-rule>
|
|
6605
|
-
}
|
|
6606
|
-
</ax-select-box>
|
|
6607
|
-
<ax-button
|
|
6608
|
-
[text]="'افزودن آیتم جدید'"
|
|
6609
|
-
look="twotone"
|
|
6610
|
-
[disabled]="disabled()"
|
|
6611
|
-
(onClick)="addItem()"
|
|
6612
|
-
class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
|
|
6613
|
-
>
|
|
6614
|
-
<ax-prefix>
|
|
6615
|
-
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
6616
|
-
</ax-prefix>
|
|
6617
|
-
</ax-button>
|
|
6618
|
-
</div>
|
|
6619
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$2.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: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i7.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i6$2.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6620
|
-
}
|
|
6621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetEditComponent, decorators: [{
|
|
6622
|
-
type: Component,
|
|
6623
|
-
args: [{
|
|
6624
|
-
selector: 'axp-tagable-box-widget',
|
|
6625
|
-
template: `
|
|
6626
|
-
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
6627
|
-
<!-- نمایش Select Box با دکمه اضافه کردن آیتم -->
|
|
6628
|
-
<ax-select-box
|
|
6629
|
-
class="ax-col-span-12"
|
|
6630
|
-
[placeholder]="placeholder()"
|
|
6631
|
-
[dataSource]="_dataSource"
|
|
6632
|
-
[ngModel]="getValue()"
|
|
6633
|
-
[valueField]="'name'"
|
|
6634
|
-
[textField]="'title'"
|
|
6635
|
-
[multiple]="true"
|
|
6636
|
-
(onValueChanged)="handleSelectValueChange($event)"
|
|
6637
|
-
>
|
|
6638
|
-
@if (allowSearch()) {
|
|
6639
|
-
<ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
|
|
6640
|
-
}
|
|
6641
|
-
@if (hasClearButton()) {
|
|
6642
|
-
<ax-clear-button></ax-clear-button>
|
|
6643
|
-
}
|
|
6644
|
-
@for (validation of validationRules(); track $index) {
|
|
6645
|
-
<ax-validation-rule
|
|
6646
|
-
[rule]="validation.rule"
|
|
6647
|
-
[message]="validation.options?.message"
|
|
6648
|
-
[options]="validation.options"
|
|
6649
|
-
></ax-validation-rule>
|
|
6650
|
-
}
|
|
6651
|
-
</ax-select-box>
|
|
6652
|
-
<ax-button
|
|
6653
|
-
[text]="'افزودن آیتم جدید'"
|
|
6654
|
-
look="twotone"
|
|
6655
|
-
[disabled]="disabled()"
|
|
6656
|
-
(onClick)="addItem()"
|
|
6657
|
-
class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
|
|
6658
|
-
>
|
|
6659
|
-
<ax-prefix>
|
|
6660
|
-
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
6661
|
-
</ax-prefix>
|
|
6662
|
-
</ax-button>
|
|
6663
|
-
</div>
|
|
6664
|
-
`,
|
|
6665
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6666
|
-
imports: [
|
|
6667
|
-
AXTextBoxModule,
|
|
6668
|
-
FormsModule,
|
|
6669
|
-
AXFormModule,
|
|
6670
|
-
AXDecoratorModule,
|
|
6671
|
-
AXValidationModule,
|
|
6672
|
-
AXButtonModule,
|
|
6673
|
-
AXSelectBoxModule,
|
|
6674
|
-
AXSearchBoxModule
|
|
6675
|
-
],
|
|
6676
|
-
inputs: [],
|
|
6677
|
-
}]
|
|
6678
|
-
}], propDecorators: { __class: [{
|
|
6679
|
-
type: HostBinding,
|
|
6680
|
-
args: ['class']
|
|
6681
|
-
}] } });
|
|
6682
|
-
|
|
6683
|
-
var tagableBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
6684
|
-
__proto__: null,
|
|
6685
|
-
AXPTagableBoxWidgetEditComponent: AXPTagableBoxWidgetEditComponent
|
|
6686
|
-
});
|
|
6687
|
-
|
|
6688
|
-
class AXPTagableBoxWidgetFilterComponent extends AXPValueWidgetComponent {
|
|
6689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6690
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: AXPTagableBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6691
|
-
}
|
|
6692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetFilterComponent, decorators: [{
|
|
6693
|
-
type: Component,
|
|
6694
|
-
args: [{
|
|
6695
|
-
template: ``,
|
|
6696
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6697
|
-
imports: [FormsModule],
|
|
6698
|
-
inputs: [],
|
|
6699
|
-
}]
|
|
6700
|
-
}] });
|
|
6701
|
-
|
|
6702
|
-
var tagableBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
|
6703
|
-
__proto__: null,
|
|
6704
|
-
AXPTagableBoxWidgetFilterComponent: AXPTagableBoxWidgetFilterComponent
|
|
6705
|
-
});
|
|
6706
|
-
|
|
6707
|
-
class AXPTagableBoxWidgetPrintComponent extends AXPValueWidgetComponent {
|
|
6708
|
-
constructor() {
|
|
6709
|
-
super(...arguments);
|
|
6710
|
-
this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
|
|
6711
|
-
this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
6712
|
-
// ویژگیهای مرتبط با SelectBox
|
|
6713
|
-
this.useSelectBox = computed(() => this.options()['useSelectBox'], ...(ngDevMode ? [{ debugName: "useSelectBox" }] : []));
|
|
6714
|
-
this.textField = computed(() => this.options()['textField'] ?? 'title', ...(ngDevMode ? [{ debugName: "textField" }] : []));
|
|
6715
|
-
// استخراج دادهها برای نمایش
|
|
6716
|
-
this.getData = computed(() => {
|
|
6717
|
-
if (!this.useSelectBox()) {
|
|
6718
|
-
return [];
|
|
6719
|
-
}
|
|
6720
|
-
const value = this.getValue();
|
|
6721
|
-
if (!value) {
|
|
6722
|
-
return [];
|
|
6723
|
-
}
|
|
6724
|
-
return Array.isArray(value) ? value : [value];
|
|
6725
|
-
}, ...(ngDevMode ? [{ debugName: "getData" }] : []));
|
|
6726
|
-
}
|
|
6727
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6728
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPTagableBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
6729
|
-
<div>
|
|
6730
|
-
@if (useSelectBox() && getData().length > 0) { @for (item of getData(); track $index) {
|
|
6731
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-mr-2 ax-mb-2 ax-inline-block">{{
|
|
6732
|
-
item[textField()]
|
|
6733
|
-
}}</span>
|
|
6734
|
-
} } @else { @if(multiple()) { @for (item of internalValue(); track $index) {
|
|
6735
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-mr-2 ax-mb-2 ax-inline-block">{{ item }}</span>
|
|
6736
|
-
} } @else {
|
|
6737
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-mr-2 ax-mb-2 ax-inline-block">{{
|
|
6738
|
-
internalValue()[0]
|
|
6739
|
-
}}</span>
|
|
6740
|
-
} }
|
|
6741
|
-
</div>
|
|
6742
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6743
|
-
}
|
|
6744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetPrintComponent, decorators: [{
|
|
6745
|
-
type: Component,
|
|
6746
|
-
args: [{
|
|
6747
|
-
template: `
|
|
6748
|
-
<div>
|
|
6749
|
-
@if (useSelectBox() && getData().length > 0) { @for (item of getData(); track $index) {
|
|
6750
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-mr-2 ax-mb-2 ax-inline-block">{{
|
|
6751
|
-
item[textField()]
|
|
6752
|
-
}}</span>
|
|
6753
|
-
} } @else { @if(multiple()) { @for (item of internalValue(); track $index) {
|
|
6754
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-mr-2 ax-mb-2 ax-inline-block">{{ item }}</span>
|
|
6755
|
-
} } @else {
|
|
6756
|
-
<span class="ax-bg-slate-100 ax-px-2 ax-py-1 ax-rounded ax-mr-2 ax-mb-2 ax-inline-block">{{
|
|
6757
|
-
internalValue()[0]
|
|
6758
|
-
}}</span>
|
|
6759
|
-
} }
|
|
6760
|
-
</div>
|
|
6761
|
-
`,
|
|
6762
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6763
|
-
imports: [],
|
|
6764
|
-
inputs: [],
|
|
6765
|
-
}]
|
|
6766
|
-
}] });
|
|
6767
|
-
|
|
6768
|
-
var tagableBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
6769
|
-
__proto__: null,
|
|
6770
|
-
AXPTagableBoxWidgetPrintComponent: AXPTagableBoxWidgetPrintComponent
|
|
6771
|
-
});
|
|
6772
|
-
|
|
6773
|
-
class AXPTagableBoxWidgetViewComponent extends AXPValueWidgetComponent {
|
|
6774
|
-
constructor() {
|
|
6775
|
-
super(...arguments);
|
|
6776
|
-
this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
|
|
6777
|
-
this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
6778
|
-
// ویژگیهای مرتبط با SelectBox
|
|
6779
|
-
this.useSelectBox = computed(() => this.options()['useSelectBox'], ...(ngDevMode ? [{ debugName: "useSelectBox" }] : []));
|
|
6780
|
-
this.textField = computed(() => this.options()['textField'] ?? 'title', ...(ngDevMode ? [{ debugName: "textField" }] : []));
|
|
6781
|
-
// استخراج دادهها برای نمایش
|
|
6782
|
-
this.getData = computed(() => {
|
|
6783
|
-
if (!this.useSelectBox()) {
|
|
6784
|
-
return [];
|
|
6785
|
-
}
|
|
6786
|
-
const value = this.getValue();
|
|
6787
|
-
if (!value) {
|
|
6788
|
-
return [];
|
|
6789
|
-
}
|
|
6790
|
-
return Array.isArray(value) ? value : [value];
|
|
6791
|
-
}, ...(ngDevMode ? [{ debugName: "getData" }] : []));
|
|
6792
|
-
}
|
|
6793
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6794
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPTagableBoxWidgetViewComponent, isStandalone: true, selector: "axp-tagable-box-widget", usesInheritance: true, ngImport: i0, template: `
|
|
6795
|
-
@for (item of internalValue(); track $index) {
|
|
6796
|
-
<ax-badge [look]="'twotone'" [text]="item" color="primary"></ax-badge>
|
|
6797
|
-
}
|
|
6798
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6799
|
-
}
|
|
6800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPTagableBoxWidgetViewComponent, decorators: [{
|
|
6801
|
-
type: Component,
|
|
6802
|
-
args: [{
|
|
6803
|
-
selector: 'axp-tagable-box-widget',
|
|
6804
|
-
template: `
|
|
6805
|
-
@for (item of internalValue(); track $index) {
|
|
6806
|
-
<ax-badge [look]="'twotone'" [text]="item" color="primary"></ax-badge>
|
|
6807
|
-
}
|
|
6808
|
-
`,
|
|
6809
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6810
|
-
imports: [AXBadgeModule],
|
|
6811
|
-
inputs: [],
|
|
6812
|
-
}]
|
|
6813
|
-
}] });
|
|
6814
|
-
|
|
6815
|
-
var tagableBoxWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
6816
|
-
__proto__: null,
|
|
6817
|
-
AXPTagableBoxWidgetViewComponent: AXPTagableBoxWidgetViewComponent
|
|
6818
|
-
});
|
|
6819
|
-
|
|
6820
|
-
const AXPTagableBoxWidget = {
|
|
6821
|
-
name: 'tagable-editor',
|
|
6822
|
-
title: 'Tagable Box',
|
|
6823
|
-
icon: 'fa-light fa-tags',
|
|
6824
|
-
description: 'Inputs text with tags',
|
|
6825
|
-
categories: AXP_WIDGETS_EDITOR_CATEGORY,
|
|
6826
|
-
type: 'editor',
|
|
6827
|
-
groups: [AXPWidgetGroupEnum.EntityWidget],
|
|
6828
|
-
defaultFilterWidgetName: 'string-filter',
|
|
6829
|
-
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY],
|
|
6830
|
-
components: {
|
|
6831
|
-
view: {
|
|
6832
|
-
component: () => Promise.resolve().then(function () { return tagableBoxWidgetView_component; }).then((c) => c.AXPTagableBoxWidgetViewComponent),
|
|
6833
|
-
},
|
|
6834
|
-
edit: {
|
|
6835
|
-
component: () => Promise.resolve().then(function () { return tagableBoxWidgetEdit_component; }).then((c) => c.AXPTagableBoxWidgetEditComponent),
|
|
6836
|
-
},
|
|
6837
|
-
filter: {
|
|
6838
|
-
component: () => Promise.resolve().then(function () { return tagableBoxWidgetFilter_component; }).then((c) => c.AXPTagableBoxWidgetFilterComponent),
|
|
6839
|
-
},
|
|
6840
|
-
column: {
|
|
6841
|
-
component: () => Promise.resolve().then(function () { return tagableBoxWidgetColumn_component; }).then((c) => c.AXPTagableBoxWidgetColumnComponent),
|
|
6842
|
-
},
|
|
6843
|
-
print: {
|
|
6844
|
-
component: () => Promise.resolve().then(function () { return tagableBoxWidgetPrint_component; }).then((c) => c.AXPTagableBoxWidgetPrintComponent),
|
|
6845
|
-
},
|
|
6846
|
-
designer: {
|
|
6847
|
-
component: () => Promise.resolve().then(function () { return tagableBoxWidgetEdit_component; }).then((c) => c.AXPTagableBoxWidgetEditComponent),
|
|
6848
|
-
},
|
|
6849
|
-
},
|
|
6850
|
-
};
|
|
6851
|
-
|
|
6852
6482
|
class AXPWidgetSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
|
6853
6483
|
constructor() {
|
|
6854
6484
|
super(...arguments);
|
|
@@ -6913,7 +6543,7 @@ class AXPWidgetSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6913
6543
|
<axp-widget-property-viewer [widget]="selectedWidgetNode()!" (onChanged)="handleChangeWidget($event)">
|
|
6914
6544
|
</axp-widget-property-viewer>
|
|
6915
6545
|
}
|
|
6916
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1
|
|
6546
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2$2.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.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: AXLoadingModule }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "component", type: AXPWidgetPropertyViewerComponent, selector: "axp-widget-property-viewer", inputs: ["widget", "mode"], outputs: ["onChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6917
6547
|
}
|
|
6918
6548
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWidgetSelectorWidgetEditComponent, decorators: [{
|
|
6919
6549
|
type: Component,
|
|
@@ -7432,8 +7062,8 @@ class AXPEntityModule {
|
|
|
7432
7062
|
},
|
|
7433
7063
|
});
|
|
7434
7064
|
}
|
|
7435
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPEntityModule, deps: [{ token: i1$
|
|
7436
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPEntityModule, imports: [RouterModule, i2$
|
|
7065
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPEntityModule, deps: [{ token: i1$1.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7066
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPEntityModule, imports: [RouterModule, i2$3.AXPWorkflowModule, i3$1.AXPWidgetCoreModule] }); }
|
|
7437
7067
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPEntityModule, providers: [
|
|
7438
7068
|
{
|
|
7439
7069
|
provide: ROUTES,
|
|
@@ -7504,7 +7134,6 @@ class AXPEntityModule {
|
|
|
7504
7134
|
AXPLookupWidget,
|
|
7505
7135
|
AXPLookupFilterWidget,
|
|
7506
7136
|
AXPWidgetSelectorWidget,
|
|
7507
|
-
AXPTagableBoxWidget,
|
|
7508
7137
|
AXPEntityListWidget,
|
|
7509
7138
|
AXPEntityReferenceWidget,
|
|
7510
7139
|
],
|
|
@@ -7547,7 +7176,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
7547
7176
|
AXPLookupWidget,
|
|
7548
7177
|
AXPLookupFilterWidget,
|
|
7549
7178
|
AXPWidgetSelectorWidget,
|
|
7550
|
-
AXPTagableBoxWidget,
|
|
7551
7179
|
AXPEntityListWidget,
|
|
7552
7180
|
AXPEntityReferenceWidget,
|
|
7553
7181
|
],
|
|
@@ -7594,7 +7222,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
7594
7222
|
]),
|
|
7595
7223
|
],
|
|
7596
7224
|
}]
|
|
7597
|
-
}], ctorParameters: () => [{ type: i1$
|
|
7225
|
+
}], ctorParameters: () => [{ type: i1$1.AXPAppStartUpService }, { type: i0.Injector }] });
|
|
7598
7226
|
|
|
7599
7227
|
const eventDispatchMiddleware = {
|
|
7600
7228
|
target: { ops: ['create', 'update', 'delete'], order: 90 },
|
|
@@ -8295,5 +7923,5 @@ function detectEntityChanges(oldObj, newObj) {
|
|
|
8295
7923
|
* Generated bundle index. Do not edit.
|
|
8296
7924
|
*/
|
|
8297
7925
|
|
|
8298
|
-
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntityApplyUpdatesAction, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityDynamicDialogService, AXPEntityEventDispatcherService, AXPEntityListTableService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityReferenceWidget, AXPEntityReferenceWidgetColumnComponent, AXPEntityReferenceWidgetDesignerComponent, AXPEntityReferenceWidgetEditComponent, AXPEntityReferenceWidgetPrintComponent, AXPEntityReferenceWidgetViewComponent, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupFilterWidget, AXPLookupFilterWidgetEditComponent, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow,
|
|
7926
|
+
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntityApplyUpdatesAction, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityDynamicDialogService, AXPEntityEventDispatcherService, AXPEntityListTableService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityReferenceWidget, AXPEntityReferenceWidgetColumnComponent, AXPEntityReferenceWidgetDesignerComponent, AXPEntityReferenceWidgetEditComponent, AXPEntityReferenceWidgetPrintComponent, AXPEntityReferenceWidgetViewComponent, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupFilterWidget, AXPLookupFilterWidgetEditComponent, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPWidgetSelectorWidget, AXPWidgetSelectorWidgetEditComponent, AXPWidgetSelectorWidgetViewComponent, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, DEFAULT_COLUMN_WIDTHS, actionExists, columnWidthMiddlewareFactory, columnWidthMiddlewareProvider, createColumnWidthMiddlewareProvider, createModifierContext, detectEntityChanges, ensureListActions, entityDetailsCreateActions, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, isAXPMiddlewareAbortError };
|
|
8299
7927
|
//# sourceMappingURL=acorex-platform-layout-entity.mjs.map
|