@wavemaker/app-ng-runtime 11.6.0-next.140456 → 11.6.0-next.140457
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.
- app-ng-runtime/build-task/bundles/index.umd.js +1 -1
- app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +1 -1
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
- app-ng-runtime/components/chart/esm2022/chart.utils.mjs +2 -2
- app-ng-runtime/components/chart/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +41 -24
- app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +31 -22
- app-ng-runtime/components/data/form/esm2022/form.component.mjs +22 -10
- app-ng-runtime/components/data/form/fesm2022/index.mjs +45 -24
- app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +3 -1
- app-ng-runtime/components/data/form/form.component.d.ts +2 -2
- app-ng-runtime/components/data/table/bundles/index.umd.js +6 -2
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +10 -7
- app-ng-runtime/components/data/table/fesm2022/index.mjs +6 -2
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +4 -4
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +6 -0
- app-ng-runtime/components/input/calendar/calendar.component.d.ts +1 -1
- app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +8 -2
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs +6 -0
- app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +52 -30
- app-ng-runtime/components/input/default/caption-position.directive.d.ts +1 -1
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +2 -2
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +60 -37
- app-ng-runtime/components/input/default/fesm2022/index.mjs +53 -31
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/select/select.component.d.ts +4 -1
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +11 -11
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +112 -87
- app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +100 -78
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +5 -5
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +6 -5
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -5
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +112 -87
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +15 -5
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +14 -6
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +3 -3
- app-ng-runtime/components/navigation/menu/esm2022/nav/nav.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +15 -5
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +3 -0
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +1 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +8 -8
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +11 -11
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +8 -8
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +2 -1
- app-ng-runtime/core/esm2022/utils/utils.mjs +4 -3
- app-ng-runtime/core/fesm2022/index.mjs +2 -1
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +4 -0
- app-ng-runtime/runtime/base/components/base-page.component.d.ts +2 -3
- app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +7 -4
- app-ng-runtime/runtime/base/fesm2022/index.mjs +5 -1
- app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +5 -2
- app-ng-runtime/variables/bundles/index.umd.js +13 -7
- app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +15 -9
- app-ng-runtime/variables/fesm2022/index.mjs +13 -7
- app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/variables/util/variable/variables.utils.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterContentInit, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { App, Viewport } from '@wm/core';
|
|
4
4
|
import { StylableComponent } from '@wm/components/base';
|
|
5
5
|
import { ListComponent } from '@wm/components/data/list';
|
|
6
6
|
import { FormComponent } from '../form.component';
|
|
@@ -69,6 +69,8 @@ export declare class FormFieldDirective extends StylableComponent implements OnI
|
|
|
69
69
|
private isFocused;
|
|
70
70
|
constructor(inj: Injector, form: FormComponent, fb: FormBuilder, viewport: Viewport, app: App, parentList: ListComponent, bindChipclass: string, binddataset: any, binddisplayexpression: string, binddisplaylabel: string, _widgetType: any, name: any, binddisplayimagesrc: String, key: any, isRange: any, pcDisplay: any, mobileDisplay: any, tabletDisplay: any, contexts: Array<any>);
|
|
71
71
|
_onFocusField($evt: any): void;
|
|
72
|
+
getActiveElement(): HTMLSelectElement | HTMLTextAreaElement | HTMLInputElement;
|
|
73
|
+
setAriaAttributes(): void;
|
|
72
74
|
_onBlurField($evt: any): void;
|
|
73
75
|
evaluateExpr(object: any, displayField: any, displayExpr: any): any;
|
|
74
76
|
getDisplayExpr(): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterContentInit, AfterViewInit, Injector, NgZone, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { App, DynamicComponentRefProvider
|
|
3
|
+
import { AbstractDialogService, App, DynamicComponentRefProvider } from '@wm/core';
|
|
4
4
|
import { PartialDirective, StylableComponent } from '@wm/components/base';
|
|
5
5
|
import { PrefabDirective } from '@wm/components/prefab';
|
|
6
6
|
import { ListComponent } from '@wm/components/data/list';
|
|
@@ -359,6 +359,7 @@
|
|
|
359
359
|
this.items = [];
|
|
360
360
|
this.rowActions = [];
|
|
361
361
|
this.shownavigation = false;
|
|
362
|
+
this.showFirstRow = false;
|
|
362
363
|
this.documentClickBind = noop;
|
|
363
364
|
this.prevFilterExpression = [];
|
|
364
365
|
this.fieldDefs = [];
|
|
@@ -525,7 +526,7 @@
|
|
|
525
526
|
});
|
|
526
527
|
},
|
|
527
528
|
// assigns the items on capture phase of the click handler.
|
|
528
|
-
assignSelectedItems: (row, e,
|
|
529
|
+
assignSelectedItems: (row, e, rowInfo) => {
|
|
529
530
|
this.ngZone.run(() => {
|
|
530
531
|
/*
|
|
531
532
|
* in case of single select, update the items with out changing the reference.
|
|
@@ -533,8 +534,11 @@
|
|
|
533
534
|
*/
|
|
534
535
|
if (this.multiselect) {
|
|
535
536
|
//Fix for [WMS-25110]: Add row to items list only if the row is selected
|
|
536
|
-
if (_.findIndex(this.items, row) === -1 && (
|
|
537
|
+
if (_.findIndex(this.items, row) === -1 && (rowInfo?._selected === undefined || rowInfo?._selected == true || (this.gridfirstrowselect && rowInfo?.rowId == 0 && !this.showFirstRow))) {
|
|
537
538
|
this.items.push(row);
|
|
539
|
+
if (rowInfo?.rowId == 0) {
|
|
540
|
+
this.showFirstRow = true;
|
|
541
|
+
}
|
|
538
542
|
}
|
|
539
543
|
}
|
|
540
544
|
else {
|