@acorex/platform 21.0.0-next.3 → 21.0.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/index.d.ts +6 -6
- package/common/index.d.ts +10 -5
- package/core/index.d.ts +55 -315
- package/fesm2022/acorex-platform-auth.mjs +18 -22
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +62 -38
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +150 -246
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +3 -3
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +30 -60
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2 -32
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +12 -6
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +474 -1527
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/entity/index.d.ts +0 -9
- package/layout/widget-core/index.d.ts +0 -3
- package/package.json +9 -9
- package/workflow/index.d.ts +182 -817
|
@@ -22396,10 +22396,12 @@ class AXPTimeDurationWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
22396
22396
|
this.timeDurationFormatter = inject(AXTimeDurationFormatter);
|
|
22397
22397
|
this.from = this.options['from'].title;
|
|
22398
22398
|
this.to = this.options['to'].title;
|
|
22399
|
+
this.label = this.options['label'];
|
|
22400
|
+
this.maskDigits = this.options['maskDigits'];
|
|
22399
22401
|
this.internalValue = signal('', ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
|
|
22400
22402
|
}
|
|
22401
22403
|
async ngAfterViewInit() {
|
|
22402
|
-
this.internalValue.set(await this.timeDurationFormatter.millisecondsToMask(this.rawValue, this.from, this.to,
|
|
22404
|
+
this.internalValue.set(await this.timeDurationFormatter.millisecondsToMask(this.rawValue, this.from, this.to, this.label, this.maskDigits || '00:00:00:00:00:00:00:000', true));
|
|
22403
22405
|
}
|
|
22404
22406
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTimeDurationWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22405
22407
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPTimeDurationWidgetColumnComponent, isStandalone: true, selector: "axp-time-duration-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `{{ internalValue() }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -22428,6 +22430,7 @@ class AXPTimerDurationWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
22428
22430
|
this.to = computed(() => this.options()['to'].title, ...(ngDevMode ? [{ debugName: "to" }] : []));
|
|
22429
22431
|
this.minValue = computed(() => this.options()['minValue'], ...(ngDevMode ? [{ debugName: "minValue" }] : []));
|
|
22430
22432
|
this.maxValue = computed(() => this.options()['maxValue'], ...(ngDevMode ? [{ debugName: "maxValue" }] : []));
|
|
22433
|
+
this.maskDigits = computed(() => this.options()['maskDigits'], ...(ngDevMode ? [{ debugName: "maskDigits" }] : []));
|
|
22431
22434
|
this.label = computed(() => this.options()['label'] ?? false, ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
22432
22435
|
}
|
|
22433
22436
|
handleChangeValue(e) {
|
|
@@ -22444,6 +22447,7 @@ class AXPTimerDurationWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
22444
22447
|
[minValue]="minValue()"
|
|
22445
22448
|
[maxValue]="maxValue()"
|
|
22446
22449
|
[disabled]="disabled()"
|
|
22450
|
+
[maskDigits]="maskDigits()"
|
|
22447
22451
|
>
|
|
22448
22452
|
@for (validation of validationRules(); track $index) {
|
|
22449
22453
|
<ax-validation-rule
|
|
@@ -22467,6 +22471,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
22467
22471
|
[minValue]="minValue()"
|
|
22468
22472
|
[maxValue]="maxValue()"
|
|
22469
22473
|
[disabled]="disabled()"
|
|
22474
|
+
[maskDigits]="maskDigits()"
|
|
22470
22475
|
>
|
|
22471
22476
|
@for (validation of validationRules(); track $index) {
|
|
22472
22477
|
<ax-validation-rule
|
|
@@ -22494,7 +22499,8 @@ class AXPTimerDurationWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
22494
22499
|
this.from = computed(() => this.options()['from'].title, ...(ngDevMode ? [{ debugName: "from" }] : []));
|
|
22495
22500
|
this.to = computed(() => this.options()['to'].title, ...(ngDevMode ? [{ debugName: "to" }] : []));
|
|
22496
22501
|
this.label = computed(() => this.options()['label'] ?? false, ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
22497
|
-
this.
|
|
22502
|
+
this.maskDigits = computed(() => this.options()['maskDigits'], ...(ngDevMode ? [{ debugName: "maskDigits" }] : []));
|
|
22503
|
+
this.internalValue = computed(() => this.timeDurationFormatter.millisecondsToMask(this.getValue(), this.from(), this.to(), this.label(), this.maskDigits() || '00:00:00:00:00:00:00:000', true), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
|
|
22498
22504
|
}
|
|
22499
22505
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTimerDurationWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22500
22506
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPTimerDurationWidgetViewComponent, isStandalone: true, selector: "axp-time-duration-widget-view", usesInheritance: true, ngImport: i0, template: `<p class="ax-text-muted">{{ internalValue() | async }}</p>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -23727,12 +23733,12 @@ class AXPFormFieldWidgetViewComponent extends AXPGridItemBaseLayoutWidgetCompone
|
|
|
23727
23733
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPFormFieldWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
23728
23734
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPFormFieldWidgetViewComponent, isStandalone: true, selector: "axp-form-field-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
23729
23735
|
<ax-form-field>
|
|
23730
|
-
<div class="ax-flex ax-gap-1">
|
|
23736
|
+
<div class="ax-flex ax-gap-1 ax-items-center">
|
|
23731
23737
|
@if (showLabel()) {
|
|
23732
23738
|
<ax-label [required]="isRequired()">{{ label() | translate | async }}</ax-label>
|
|
23733
23739
|
}
|
|
23734
23740
|
@if (badge()) {
|
|
23735
|
-
<ax-badge [text]="badge()"></ax-badge>
|
|
23741
|
+
<ax-badge [text]="badge()" color="primary"></ax-badge>
|
|
23736
23742
|
}
|
|
23737
23743
|
</div>
|
|
23738
23744
|
@for (node of children(); track $index) {
|
|
@@ -23748,12 +23754,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
23748
23754
|
selector: 'axp-form-field-widget-view',
|
|
23749
23755
|
template: `
|
|
23750
23756
|
<ax-form-field>
|
|
23751
|
-
<div class="ax-flex ax-gap-1">
|
|
23757
|
+
<div class="ax-flex ax-gap-1 ax-items-center">
|
|
23752
23758
|
@if (showLabel()) {
|
|
23753
23759
|
<ax-label [required]="isRequired()">{{ label() | translate | async }}</ax-label>
|
|
23754
23760
|
}
|
|
23755
23761
|
@if (badge()) {
|
|
23756
|
-
<ax-badge [text]="badge()"></ax-badge>
|
|
23762
|
+
<ax-badge [text]="badge()" color="primary"></ax-badge>
|
|
23757
23763
|
}
|
|
23758
23764
|
</div>
|
|
23759
23765
|
@for (node of children(); track $index) {
|