@wavemaker/app-ng-runtime 11.11.4-rc.6173 → 11.11.5-rc.6185
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/components/base/bundles/index.umd.js +12 -7
- package/components/base/esm2022/widgets/common/base/base-field-validations.mjs +13 -8
- package/components/base/fesm2022/index.mjs +12 -7
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +20 -1
- package/components/data/form/esm2022/form-action/form-action.directive.mjs +5 -2
- package/components/data/form/esm2022/form-field/form-field.directive.mjs +2 -1
- package/components/data/form/esm2022/form.component.mjs +15 -1
- package/components/data/form/esm2022/form.props.mjs +2 -1
- package/components/data/form/fesm2022/index.mjs +20 -1
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/form.component.d.ts +1 -0
- package/components/data/list/bundles/index.umd.js +53 -10
- package/components/data/list/esm2022/list.component.mjs +51 -10
- package/components/data/list/esm2022/list.props.mjs +4 -2
- package/components/data/list/fesm2022/index.mjs +53 -10
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/list/list.component.d.ts +7 -0
- package/components/data/pagination/bundles/index.umd.js +502 -106
- package/components/data/pagination/esm2022/pagination.component.mjs +500 -105
- package/components/data/pagination/esm2022/pagination.props.mjs +4 -1
- package/components/data/pagination/fesm2022/index.mjs +502 -104
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/pagination.component.d.ts +21 -1
- package/components/data/table/bundles/index.umd.js +89 -11
- package/components/data/table/esm2022/table-column/table-column.directive.mjs +3 -2
- package/components/data/table/esm2022/table-column/table-column.props.mjs +2 -1
- package/components/data/table/esm2022/table.component.mjs +82 -12
- package/components/data/table/esm2022/table.props.mjs +7 -1
- package/components/data/table/fesm2022/index.mjs +90 -12
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/table-column/table-column.directive.d.ts +1 -0
- package/components/data/table/table.component.d.ts +17 -0
- package/components/input/epoch/base-date-time.component.d.ts +3 -1
- package/components/input/epoch/bundles/index.umd.js +123 -65
- package/components/input/epoch/esm2022/base-date-time.component.mjs +31 -20
- package/components/input/epoch/esm2022/date/date.component.mjs +5 -6
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +45 -22
- package/components/input/epoch/esm2022/date-time/date-time.props.mjs +3 -2
- package/components/input/epoch/esm2022/time/time.component.mjs +40 -14
- package/components/input/epoch/esm2022/time/time.props.mjs +3 -2
- package/components/input/epoch/fesm2022/index.mjs +118 -60
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/bundles/index.umd.js +107 -38
- package/components/input/slider/esm2022/slider.component.mjs +86 -18
- package/components/input/slider/esm2022/slider.props.mjs +5 -3
- package/components/input/slider/fesm2022/index.mjs +88 -19
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/slider.component.d.ts +5 -0
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/esm2022/oAuth.service.mjs +1 -1
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +84 -34
- package/runtime/base/components/app-component/app.component.d.ts +10 -3
- package/runtime/base/esm2022/components/app-component/app.component.mjs +85 -34
- package/runtime/base/esm2022/util/wm-route-reuse-strategy.mjs +2 -2
- package/runtime/base/fesm2022/index.mjs +85 -35
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/scripts/datatable/datatable.js +56 -10
|
@@ -84,6 +84,7 @@ export declare class FormComponent extends StylableComponent implements OnDestro
|
|
|
84
84
|
filterOnDefault: Function;
|
|
85
85
|
onMaxDefaultValueChange: Function;
|
|
86
86
|
numberOfFields: number;
|
|
87
|
+
readonly: boolean;
|
|
87
88
|
private _debouncedUpdateFieldSource;
|
|
88
89
|
private operationType;
|
|
89
90
|
private _isLayoutDialog;
|
|
@@ -66,7 +66,9 @@
|
|
|
66
66
|
['statehandler', { value: 'none', ...i1.PROP_STRING }],
|
|
67
67
|
['subheading', i1.PROP_STRING],
|
|
68
68
|
['tabindex', { value: 0, ...i1.PROP_NUMBER }],
|
|
69
|
-
['title', i1.PROP_STRING]
|
|
69
|
+
['title', i1.PROP_STRING],
|
|
70
|
+
['allowpagesizechange', { value: false, ...i1.PROP_BOOLEAN }],
|
|
71
|
+
['pagesizeoptions', { value: '5,10,20,50,100', ...i1.PROP_STRING }]
|
|
70
72
|
]));
|
|
71
73
|
};
|
|
72
74
|
|
|
@@ -428,7 +430,7 @@
|
|
|
428
430
|
i0__namespace.ɵɵelementEnd();
|
|
429
431
|
} if (rf & 2) {
|
|
430
432
|
const ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
431
|
-
i0__namespace.ɵɵproperty("hidden", !ctx_r0.showNavigation || ctx_r0.onDemandLoad && ctx_r0.dataNavigator.isDisableNext || ctx_r0.dataNavigator.dataSize <= ctx_r0.pagesize || !ctx_r0.dataNavigator.dataSize && !(ctx_r0.dataNavigator.datasource == null ? null : ctx_r0.dataNavigator.datasource.pagination == null ? null : ctx_r0.dataNavigator.datasource.pagination.next));
|
|
433
|
+
i0__namespace.ɵɵproperty("hidden", !ctx_r0.showNavigation || ctx_r0.onDemandLoad && ctx_r0.dataNavigator.isDisableNext || (ctx_r0.dataNavigator == null ? null : ctx_r0.dataNavigator.dataSize) <= ctx_r0.pagesize && !ctx_r0.allowpagesizechange || !ctx_r0.dataNavigator.dataSize && !(ctx_r0.dataNavigator.datasource == null ? null : ctx_r0.dataNavigator.datasource.pagination == null ? null : ctx_r0.dataNavigator.datasource.pagination.next));
|
|
432
434
|
i0__namespace.ɵɵadvance(2);
|
|
433
435
|
i0__namespace.ɵɵconditional(ctx_r0.onDemandLoad ? 2 : -1);
|
|
434
436
|
} }
|
|
@@ -440,6 +442,7 @@
|
|
|
440
442
|
let resolveFn = i2.noop;
|
|
441
443
|
const propsInitPromise = new Promise(res => resolveFn = res);
|
|
442
444
|
super(inj, WIDGET_CONFIG, explicitContext, propsInitPromise);
|
|
445
|
+
this.allowpagesizechange = false;
|
|
443
446
|
this.propsInitPromise = propsInitPromise;
|
|
444
447
|
this.promiseResolverFn = resolveFn;
|
|
445
448
|
i1.styler(this.nativeElement, this, i1.APPLY_STYLES_TYPE.SHELL);
|
|
@@ -547,6 +550,9 @@
|
|
|
547
550
|
return this.fieldDefs.findIndex((obj) => lodashEs.isEqual(obj, item));
|
|
548
551
|
}
|
|
549
552
|
}
|
|
553
|
+
getUpdatedPageSize() {
|
|
554
|
+
return this.updatedPageSize;
|
|
555
|
+
}
|
|
550
556
|
create() {
|
|
551
557
|
if (this._isDependent) {
|
|
552
558
|
this.triggerWMEvent('insert');
|
|
@@ -726,6 +732,9 @@
|
|
|
726
732
|
}
|
|
727
733
|
}
|
|
728
734
|
}
|
|
735
|
+
getActualPageSize() {
|
|
736
|
+
return this.actualPageSize || 20;
|
|
737
|
+
}
|
|
729
738
|
onPropertyChange(key, nv, ov) {
|
|
730
739
|
if (key === 'dataset') {
|
|
731
740
|
if (!nv && this.binddatasource && !this.datasource) {
|
|
@@ -734,6 +743,9 @@
|
|
|
734
743
|
this.onDataSetChange(nv);
|
|
735
744
|
}
|
|
736
745
|
else if (key === 'datasource') {
|
|
746
|
+
if (this.allowpagesizechange) {
|
|
747
|
+
this.datasource.maxResults = this.pagesize || this.datasource.maxResults;
|
|
748
|
+
}
|
|
737
749
|
if (this.dataset) {
|
|
738
750
|
this.onDataSetChange(this.dataset);
|
|
739
751
|
}
|
|
@@ -767,11 +779,8 @@
|
|
|
767
779
|
}
|
|
768
780
|
}
|
|
769
781
|
else if (key === 'pagesize') {
|
|
770
|
-
this.
|
|
771
|
-
|
|
772
|
-
};
|
|
773
|
-
this.dataNavigator.widget.maxResults = nv;
|
|
774
|
-
this.dataNavigator.maxResults = nv;
|
|
782
|
+
this.actualPageSize = nv; // maintain default page size to calculate pagesize options
|
|
783
|
+
this.setDefaultPageSize(nv);
|
|
775
784
|
}
|
|
776
785
|
else if (key === 'enablereorder') {
|
|
777
786
|
if (nv && this.$ulEle) {
|
|
@@ -784,10 +793,37 @@
|
|
|
784
793
|
this.$ulEle.sortable('disable');
|
|
785
794
|
}
|
|
786
795
|
}
|
|
796
|
+
else if (key === 'allowpagesizechange') {
|
|
797
|
+
this.allowpagesizechange = nv;
|
|
798
|
+
}
|
|
799
|
+
else if (key === 'pagesizeoptions') {
|
|
800
|
+
this.pagesizeoptions = nv;
|
|
801
|
+
this.setDefaultPageSize(nv);
|
|
802
|
+
}
|
|
787
803
|
else {
|
|
788
804
|
super.onPropertyChange(key, nv, ov);
|
|
789
805
|
}
|
|
790
806
|
}
|
|
807
|
+
setDefaultPageSize(nv) {
|
|
808
|
+
if (this.allowpagesizechange) {
|
|
809
|
+
const widgetState = this.statePersistence.getWidgetState(this);
|
|
810
|
+
if (lodashEs.get(widgetState, 'pagesize')) {
|
|
811
|
+
nv = lodashEs.get(widgetState, 'pagesize');
|
|
812
|
+
this.pagesize = nv; // updating the default pagesize to user selected pagesize
|
|
813
|
+
}
|
|
814
|
+
else if (this.pagesizeoptions) {
|
|
815
|
+
nv = this.pagesizeoptions?.split(',').map(Number).sort((a, b) => a - b)[0];
|
|
816
|
+
this.pagesize = nv;
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
this.updatedPageSize = nv;
|
|
820
|
+
this.dataNavigator.updatedPageSize = nv;
|
|
821
|
+
this.dataNavigator.options = {
|
|
822
|
+
maxResults: nv
|
|
823
|
+
};
|
|
824
|
+
this.dataNavigator.widget.maxResults = nv;
|
|
825
|
+
this.dataNavigator.maxResults = nv;
|
|
826
|
+
}
|
|
791
827
|
onItemClick(evt, $listItem) {
|
|
792
828
|
let selectCount;
|
|
793
829
|
if (!$listItem.disableItem) {
|
|
@@ -1135,8 +1171,15 @@
|
|
|
1135
1171
|
if (lodashEs.get(this.datasource, 'category') === 'wm.Variable' && this.getConfiguredState() !== 'none' && this._pageLoad) {
|
|
1136
1172
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
1137
1173
|
this._pageLoad = false;
|
|
1138
|
-
if (
|
|
1139
|
-
|
|
1174
|
+
if (this.allowpagesizechange) { // maintain updated page size in the statePersistence
|
|
1175
|
+
if (lodashEs.get(widgetState, 'pagination') || lodashEs.get(widgetState, 'pagesize')) {
|
|
1176
|
+
this.dataNavigator.pageChanged({ page: widgetState.pagination || 1, pagesize: widgetState.pagesize }, true);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
else {
|
|
1180
|
+
if (lodashEs.get(widgetState, 'pagination')) {
|
|
1181
|
+
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1182
|
+
}
|
|
1140
1183
|
}
|
|
1141
1184
|
if (lodashEs.get(widgetState, 'selectedItem')) {
|
|
1142
1185
|
this._selectedItemsExist = true;
|
|
@@ -1534,7 +1577,7 @@
|
|
|
1534
1577
|
type: i0.Component,
|
|
1535
1578
|
args: [{ standalone: true, imports: [i3.CommonModule, i1.WmComponentsModule, pagination.PaginationComponent, ListItemDirective], selector: 'div[wmList]', providers: [
|
|
1536
1579
|
i1.provideAsWidgetRef(ListComponent)
|
|
1537
|
-
], template: "@if (title || subheading || iconclass) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" aria-hidden=\"true\" [hidden]=\"!iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </h3>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n@if (navigation === 'Inline' && !noDataFound) {\n <div aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n}\n\n<div>\n @if (enablereorder) {\n <div id={{titleId}} class=\"sr-only\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n }\n\n @if (listItems && enablereorder && currentIndex) {\n <div aria-live=\"assertive\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n }\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n >\n @if (!groupby) {\n @for (item of fieldDefs; track item) {\n <li class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('falt_' + listItemRef.trackId, {item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n } @else {\n @for (groupObj of groupedData; track groupObj; let groupIndex = $index) {\n <li class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n @if (collapsible) {\n <i class=\"app-icon wi action wi-chevron-up\"></i>\n }\n @if (showcount) {\n <span class=\"label label-default\">{{groupObj.data.length}}</span>\n }\n </div>\n </h4>\n </li>\n <li class=\"list-group-container\">\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\">\n @for (item of groupObj.data; track trackByFn($index, item)) {\n <li [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('group_' + listItemRef.trackId, {item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n </ul>\n </li>\n </ul>\n </li>\n }\n }\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n@if (noDataFound && !variableInflight) {\n <div class=\"no-data-msg\" [textContent]=\"nodatamessage\"></div>\n}\n\n@if (variableInflight && !pulltorefresh) {\n <div class=\"loading-data-msg\">\n <span>\n <i class=\"app-icon panel-icon fa-spin\" aria-hidden=\"true\" [ngClass]=\"loadingicon\"></i>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n\n@if (navigation !== 'None') {\n <div class=\"panel-footer\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator
|
|
1580
|
+
], template: "@if (title || subheading || iconclass) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <i class=\"app-icon panel-icon {{iconclass}}\" aria-hidden=\"true\" [hidden]=\"!iconclass\"></i>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n </h3>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n@if (navigation === 'Inline' && !noDataFound) {\n <div aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n}\n\n<div>\n @if (enablereorder) {\n <div id={{titleId}} class=\"sr-only\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n }\n\n @if (listItems && enablereorder && currentIndex) {\n <div aria-live=\"assertive\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n }\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n >\n @if (!groupby) {\n @for (item of fieldDefs; track item) {\n <li class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('falt_' + listItemRef.trackId, {item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n } @else {\n @for (groupObj of groupedData; track groupObj; let groupIndex = $index) {\n <li class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n @if (collapsible) {\n <i class=\"app-icon wi action wi-chevron-up\"></i>\n }\n @if (showcount) {\n <span class=\"label label-default\">{{groupObj.data.length}}</span>\n }\n </div>\n </h4>\n </li>\n <li class=\"list-group-container\">\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\">\n @for (item of groupObj.data; track trackByFn($index, item)) {\n <li [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('group_' + listItemRef.trackId, {item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n </ul>\n </li>\n </ul>\n </li>\n }\n }\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n@if (noDataFound && !variableInflight) {\n <div class=\"no-data-msg\" [textContent]=\"nodatamessage\"></div>\n}\n\n@if (variableInflight && !pulltorefresh) {\n <div class=\"loading-data-msg\">\n <span>\n <i class=\"app-icon panel-icon fa-spin\" aria-hidden=\"true\" [ngClass]=\"loadingicon\"></i>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n\n@if (navigation !== 'None') {\n <div class=\"panel-footer\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator?.dataSize <= pagesize && !allowpagesizechange) || (!dataNavigator.dataSize && !dataNavigator.datasource?.pagination?.next)\">\n <nav wmPagination\n navigationalign.bind=\"navigationalign\"\n navigation.bind=\"navControls\"\n showrecordcount.bind=\"showrecordcount\"\n maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\"\n directionlinks.bind=\"directionlinks\"\n show.bind=\"!onDemandLoad\"\n paginationchange.event=\"beforePaginationChange($event, $index)\"\n ></nav>\n @if (onDemandLoad) {\n <a href=\"javascript:void(0);\"\n (click)=\"dataNavigator.navigatePage('next', $event)\"\n class=\"app-button btn btn-block\"\n [ngClass]=\"paginationclass\"\n [textContent]=\"ondemandmessage\"\n ></a>\n }\n </div>\n}\n\n<!--This template will be displayed when groupby is specified-->\n" }]
|
|
1538
1581
|
}], () => [{ type: i0__namespace.Injector }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace.ToDatePipe }, { type: i2__namespace.App }, { type: i2__namespace.AppDefaults }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
|
|
1539
1582
|
type: i0.Attribute,
|
|
1540
1583
|
args: ['itemclass.bind']
|