@wavemaker/app-ng-runtime 11.9.0-next.24940 → 11.9.0-next.24946

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.
Files changed (179) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +19 -19
  2. app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
  3. app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
  4. app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
  5. app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
  6. app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
  7. app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
  8. app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
  9. app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
  10. app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
  11. app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
  12. app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
  13. app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
  14. app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
  15. app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
  16. app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
  17. app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
  18. app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
  19. app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
  20. app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
  21. app-ng-runtime/build-task/fesm2022/index.mjs +19 -19
  22. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  23. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
  24. app-ng-runtime/components/basic/default/bundles/index.umd.js +15 -9
  25. app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
  26. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +3 -3
  27. app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
  28. app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
  29. app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +3 -4
  30. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
  31. app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
  32. app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +2 -1
  33. app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +2 -1
  34. app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
  35. app-ng-runtime/components/basic/default/fesm2022/index.mjs +15 -9
  36. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  37. app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
  38. app-ng-runtime/components/basic/progress/bundles/index.umd.js +6 -4
  39. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +3 -3
  40. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
  41. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +3 -3
  42. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
  43. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +6 -4
  44. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  45. app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
  46. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -0
  47. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +1 -0
  48. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
  49. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +1 -0
  50. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  51. app-ng-runtime/components/basic/search/bundles/index.umd.js +5 -4
  52. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +8 -8
  53. app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
  54. app-ng-runtime/components/basic/search/fesm2022/index.mjs +5 -4
  55. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  56. app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
  57. app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
  58. app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
  59. app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
  60. app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
  61. app-ng-runtime/components/input/color-picker/bundles/index.umd.js +3 -2
  62. app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
  63. app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +4 -4
  64. app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
  65. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +3 -2
  66. app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
  67. app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
  68. app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
  69. app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
  70. app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
  71. app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
  72. app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
  73. app-ng-runtime/components/input/default/bundles/index.umd.js +36 -25
  74. app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
  75. app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
  76. app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
  77. app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
  78. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +4 -4
  79. app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
  80. app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +4 -4
  81. app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +2 -1
  82. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +4 -4
  83. app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
  84. app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
  85. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
  86. app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
  87. app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
  88. app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
  89. app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
  90. app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
  91. app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
  92. app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
  93. app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
  94. app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
  95. app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
  96. app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
  97. app-ng-runtime/components/input/default/fesm2022/index.mjs +36 -25
  98. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  99. app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
  100. app-ng-runtime/components/input/default/select/select.component.d.ts +1 -0
  101. app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
  102. app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
  103. app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
  104. app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
  105. app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
  106. app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
  107. app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
  108. app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
  109. app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
  110. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
  111. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
  112. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
  113. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
  114. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
  115. app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
  116. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
  117. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  118. app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
  119. app-ng-runtime/components/input/file-upload/bundles/index.umd.js +13 -11
  120. app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +12 -12
  121. app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +3 -1
  122. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +13 -11
  123. app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
  124. app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +1 -0
  125. app-ng-runtime/components/input/slider/bundles/index.umd.js +3 -2
  126. app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +4 -4
  127. app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
  128. app-ng-runtime/components/input/slider/fesm2022/index.mjs +3 -2
  129. app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
  130. app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
  131. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +4 -3
  132. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +4 -4
  133. app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
  134. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +4 -3
  135. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  136. app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
  137. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +4 -3
  138. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +4 -4
  139. app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
  140. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +4 -3
  141. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  142. app-ng-runtime/components/navigation/popover/popover.component.d.ts +1 -0
  143. app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
  144. app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
  145. app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
  146. app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
  147. app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
  148. app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
  149. app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
  150. app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
  151. app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
  152. app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
  153. app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
  154. app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
  155. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
  156. app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
  157. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
  158. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  159. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
  160. app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
  161. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
  162. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  163. app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
  164. app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
  165. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
  166. app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
  167. app-ng-runtime/core/bundles/index.umd.js +1 -1
  168. app-ng-runtime/core/esm2022/utils/build-utils.mjs +2 -2
  169. app-ng-runtime/core/fesm2022/index.mjs +1 -1
  170. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  171. app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
  172. app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
  173. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
  174. app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
  175. app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
  176. app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
  177. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
  178. app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
  179. app-ng-runtime/package.json +1 -1
@@ -33,6 +33,7 @@ const searchProps = new Map([
33
33
  ['dropup', PROP_BOOLEAN],
34
34
  ['groupby', PROP_STRING],
35
35
  ['hint', PROP_STRING],
36
+ ['arialabel', PROP_STRING],
36
37
  ['imagewidth', { value: '16px', ...PROP_STRING }],
37
38
  ['limit', PROP_NUMBER],
38
39
  ['loadingdatamsg', { value: 'Loading items...', ...PROP_STRING }],
@@ -419,7 +420,7 @@ function SearchComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
419
420
  i0.ɵɵproperty("title", ctx_r1.query || "")("placeholder", ctx_r1.placeholder || "")("disabled", ctx_r1.disabled);
420
421
  i0.ɵɵtwoWayProperty("ngModel", ctx_r1.query);
421
422
  i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(23, _c6))("readonly", ctx_r1.readonly)("disabled", ctx_r1.disabled)("typeahead", ctx_r1.typeaheadDataSource)("typeaheadWaitMs", ctx_r1.debouncetime)("typeaheadItemTemplate", customItemTemplate_r15)("optionsListTemplate", customListTemplate_r16)("typeaheadMinLength", ctx_r1.minchars)("typeaheadOptionsLimit", ctx_r1.limit)("typeaheadGroupField", ctx_r1.groupby ? "groupby" : null)("typeaheadAsync", true)("typeaheadScrollable", true)("adaptivePosition", true)("typeaheadOptionsInScrollableView", ctx_r1.optionslimitinscrollableview)("dropup", ctx_r1.dropup)("tabindex", ctx_r1.tabindex);
422
- i0.ɵɵattribute("name", ctx_r1.name)("aria-label", ctx_r1.hint || "Search field");
423
+ i0.ɵɵattribute("name", ctx_r1.name)("aria-label", ctx_r1.arialabel || "Search field");
423
424
  i0.ɵɵadvance();
424
425
  i0.ɵɵproperty("hidden", !ctx_r1.showClosebtn);
425
426
  } }
@@ -466,7 +467,7 @@ function SearchComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
466
467
  i0.ɵɵproperty("title", ctx_r1.query || "")("placeholder", ctx_r1.placeholder || "")("container", ctx_r1.containerTarget || ".wm-app")("disabled", ctx_r1.disabled);
467
468
  i0.ɵɵtwoWayProperty("ngModel", ctx_r1.query);
468
469
  i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(25, _c6))("readonly", ctx_r1.readonly)("typeahead", ctx_r1.typeaheadDataSource)("typeaheadWaitMs", ctx_r1.debouncetime)("typeaheadItemTemplate", customItemTemplate_r15)("optionsListTemplate", customListTemplate_r16)("typeaheadMinLength", ctx_r1.minchars)("typeaheadOptionsLimit", ctx_r1.limit)("typeaheadGroupField", ctx_r1.groupby ? "groupby" : null)("typeaheadAsync", true)("typeaheadScrollable", true)("adaptivePosition", true)("typeaheadOptionsInScrollableView", ctx_r1.optionslimitinscrollableview)("tabindex", ctx_r1.tabindex)("dropup", ctx_r1.dropup);
469
- i0.ɵɵattribute("name", ctx_r1.name)("aria-label", ctx_r1.hint || "Search field");
470
+ i0.ɵɵattribute("name", ctx_r1.name)("aria-label", ctx_r1.arialabel || "Search field");
470
471
  i0.ɵɵadvance(2);
471
472
  i0.ɵɵproperty("ngIf", ctx_r1._loadingItems);
472
473
  i0.ɵɵadvance();
@@ -1177,7 +1178,7 @@ class SearchComponent extends DatasetAwareFormComponent {
1177
1178
  provideAs(SearchComponent, NG_VALUE_ACCESSOR, true),
1178
1179
  provideAs(SearchComponent, NG_VALIDATORS, true),
1179
1180
  provideAsWidgetRef(SearchComponent)
1180
- ], template: "<ng-template #customItemTemplate let-model=\"item\" let-index=\"index\" let-query=\"query\" let-match=\"match\">\n <!-- Default item template -->\n <a *ngIf=\"!content\">\n <img *ngIf=\"model.imgSrc\" [src]=\"model.imgSrc\" alt=\"Search\" [style.width]=\"imagewidth\">\n <span [title]=\"model.label\" [innerHtml]=\"highlight(match, query) || model.label\"></span>\n </a>\n <!-- Custom partial template -->\n <a *ngIf=\"content\" [ngClass]=\"{customTemplate: content}\" partialContainer [wmItemTemplate]=\"content\" [userComponentParams]=\"match.item\">\n <div partial-container-target></div>\n </a>\n</ng-template>\n\n<ng-template #customListTemplate let-matches=\"matches\" let-itemTemplate=\"itemTemplate\" let-query=\"query\">\n <ul #ulElement class=\"app-search dropdown-menu\" scrollable>\n <li #liElements *ngFor=\"let match of matches; let i = index;\" [ngClass]=\"{active: typeaheadContainer && typeaheadContainer.isActive(match), 'list-group-header': match && match.isHeader()}\"\n (mouseenter)=\"typeaheadContainer.selectActive(match);\"\n (click)=\"match && !match.isHeader() && typeaheadContainer.selectMatch(match, $event); $typeaheadEvent = $event; notifySubscriber();\">\n <!-- itemTemplate comes from the <input> -->\n <h4 *ngIf=\"match.isHeader()\" class=\"group-title\">{{match.value}}</h4>\n <ng-container *ngIf=\"!match.isHeader()\" [ngTemplateOutlet]=\"itemTemplate\"\n [ngTemplateOutletContext]=\"{item: match.item, index: i, match: match, query: query}\">\n </ng-container>\n </li>\n <div class=\"status\" [hidden]=\"_loadingItems || !(datacompletemsg && dataProvider.isLastPage)\">\n <span [textContent]=\"datacompletemsg\"></span>\n </div>\n <div class=\"status\" [hidden]=\"!_loadingItems\">\n <i class=\"fa fa-circle-o-notch fa-spin\"></i>\n <span [textContent]=\"loadingdatamsg\"></span>\n </div>\n </ul>\n</ng-template>\n\n<!--This template is for search inside mobile navbar.-->\n<ng-container *ngIf=\"navsearchbar; else searchTemplate\">\n <input [title]=\"query || ''\" type=\"text\" class=\"app-textbox form-control list-of-objs app-search-input\" [placeholder]=\"placeholder || ''\"\n focus-target\n container=\"body\"\n [disabled]=\"disabled\"\n autocomplete=\"off\"\n [(ngModel)]=\"query\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [typeahead]=\"typeaheadDataSource\"\n [typeaheadWaitMs]=\"debouncetime\"\n [typeaheadItemTemplate]=\"customItemTemplate\"\n [optionsListTemplate]=\"customListTemplate\"\n (input)=\"onInputChange($event)\"\n (keydown)=\"listenQuery = true\"\n (keydown.enter)=\"$typeaheadEvent = $event;handleEnterEvent($event)\"\n (keydown.arrowdown)=\"selectNext($event)\"\n (blur)=\"invokeOnTouched($event)\"\n (click)=\"handleFocus($event);\"\n (focus)=\"_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event);\"\n (focusout)=\"onFocusOut()\"\n [typeaheadMinLength]=\"minchars\"\n [typeaheadOptionsLimit]=\"limit\"\n (typeaheadLoading)=\"_loadingItems\"\n (typeaheadOnSelect)=\"typeaheadOnSelect($event)\"\n typeaheadOptionField=\"label\"\n [typeaheadGroupField]=\"groupby ? 'groupby' : null\"\n [typeaheadAsync]=\"true\"\n [typeaheadScrollable]=\"true\"\n [adaptivePosition]=\"true\"\n [typeaheadOptionsInScrollableView]=\"optionslimitinscrollableview\"\n [dropup]=\"dropup\"\n [tabindex]=\"tabindex\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint || 'Search field'\"/>\n <i class=\"btn-close wi wi-cancel\" [hidden]=\"!showClosebtn\" (click)=\"clearSearch($event);\"></i>\n</ng-container>\n<!--This template is for both web and fullscreen mode in mobile.-->\n<ng-template #searchTemplate>\n <span class=\"wi wi-arrow-left form-control-feedback back-btn\" aria-hidden=\"true\" (click)=\"closeSearch()\"></span>\n <span class=\"sr-only\">Back button</span>\n <input [title]=\"query || ''\" type=\"text\" class=\"app-textbox form-control list-of-objs app-search-input\" [placeholder]=\"placeholder || ''\"\n focus-target\n [container]=\"containerTarget || '.wm-app'\"\n [disabled]=\"disabled\"\n autocomplete=\"off\"\n [(ngModel)]=\"query\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [typeahead]=\"typeaheadDataSource\"\n [typeaheadWaitMs]=\"debouncetime\"\n [typeaheadItemTemplate]=\"customItemTemplate\"\n [optionsListTemplate]=\"customListTemplate\"\n (input)=\"onInputChange($event)\"\n (keydown)=\"listenQuery = true\"\n (keydown.enter)=\"$typeaheadEvent = $event;handleEnterEvent($event)\"\n (keydown.arrowdown)=\"selectNext($event)\"\n (blur)=\"invokeOnTouched($event); onFocusOut()\"\n (click)=\"handleFocus($event);\"\n (focus)=\"_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event)\"\n [typeaheadMinLength]=\"minchars\"\n [typeaheadOptionsLimit]=\"limit\"\n (typeaheadLoading)=\"_loadingItems\"\n (typeaheadOnSelect)=\"typeaheadOnSelect($event)\"\n typeaheadOptionField=\"label\"\n [typeaheadGroupField]=\"groupby ? 'groupby' : null\"\n [typeaheadAsync]=\"true\"\n [typeaheadScrollable]=\"true\"\n [adaptivePosition]=\"true\"\n [typeaheadOptionsInScrollableView]=\"optionslimitinscrollableview\"\n [tabindex]=\"tabindex\"\n [dropup]=\"dropup\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"hint || 'Search field'\">\n <input class=\"model-holder\" ng-model=\"proxyModel\" ng-required=\"required\" tabindex=\"-1\" aria-hidden=\"true\">\n <span *ngIf=\"_loadingItems\" aria-hidden=\"true\" class=\"fa fa-circle-o-notch fa-spin form-control-feedback\"></span>\n <span class=\"wi wi-close form-control-feedback clear-btn\" [ngClass]=\"{'show-btn': isQueryEntered()}\" (click)=\"clearSearch($event, true)\"></span>\n <span class=\"sr-only\">Clear button</span>\n <span *ngIf=\"showsearchicon\" class=\"input-group-addon\" aria-label=\"search icon\" [ngClass]=\"{'disabled': disabled}\">\n <form>\n <button title=\"Search\" [disabled]=\"disabled\" class=\"app-search-button wm-sl-l sl-search\" type=\"submit\"\n (click)=\"onSearchSelect($event)\"></button>\n </form>\n </span>\n</ng-template>\n" }]
1181
+ ], template: "<ng-template #customItemTemplate let-model=\"item\" let-index=\"index\" let-query=\"query\" let-match=\"match\">\n <!-- Default item template -->\n <a *ngIf=\"!content\">\n <img *ngIf=\"model.imgSrc\" [src]=\"model.imgSrc\" alt=\"Search\" [style.width]=\"imagewidth\">\n <span [title]=\"model.label\" [innerHtml]=\"highlight(match, query) || model.label\"></span>\n </a>\n <!-- Custom partial template -->\n <a *ngIf=\"content\" [ngClass]=\"{customTemplate: content}\" partialContainer [wmItemTemplate]=\"content\" [userComponentParams]=\"match.item\">\n <div partial-container-target></div>\n </a>\n</ng-template>\n\n<ng-template #customListTemplate let-matches=\"matches\" let-itemTemplate=\"itemTemplate\" let-query=\"query\">\n <ul #ulElement class=\"app-search dropdown-menu\" scrollable>\n <li #liElements *ngFor=\"let match of matches; let i = index;\" [ngClass]=\"{active: typeaheadContainer && typeaheadContainer.isActive(match), 'list-group-header': match && match.isHeader()}\"\n (mouseenter)=\"typeaheadContainer.selectActive(match);\"\n (click)=\"match && !match.isHeader() && typeaheadContainer.selectMatch(match, $event); $typeaheadEvent = $event; notifySubscriber();\">\n <!-- itemTemplate comes from the <input> -->\n <h4 *ngIf=\"match.isHeader()\" class=\"group-title\">{{match.value}}</h4>\n <ng-container *ngIf=\"!match.isHeader()\" [ngTemplateOutlet]=\"itemTemplate\"\n [ngTemplateOutletContext]=\"{item: match.item, index: i, match: match, query: query}\">\n </ng-container>\n </li>\n <div class=\"status\" [hidden]=\"_loadingItems || !(datacompletemsg && dataProvider.isLastPage)\">\n <span [textContent]=\"datacompletemsg\"></span>\n </div>\n <div class=\"status\" [hidden]=\"!_loadingItems\">\n <i class=\"fa fa-circle-o-notch fa-spin\"></i>\n <span [textContent]=\"loadingdatamsg\"></span>\n </div>\n </ul>\n</ng-template>\n\n<!--This template is for search inside mobile navbar.-->\n<ng-container *ngIf=\"navsearchbar; else searchTemplate\">\n <input [title]=\"query || ''\" type=\"text\" class=\"app-textbox form-control list-of-objs app-search-input\" [placeholder]=\"placeholder || ''\"\n focus-target\n container=\"body\"\n [disabled]=\"disabled\"\n autocomplete=\"off\"\n [(ngModel)]=\"query\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [typeahead]=\"typeaheadDataSource\"\n [typeaheadWaitMs]=\"debouncetime\"\n [typeaheadItemTemplate]=\"customItemTemplate\"\n [optionsListTemplate]=\"customListTemplate\"\n (input)=\"onInputChange($event)\"\n (keydown)=\"listenQuery = true\"\n (keydown.enter)=\"$typeaheadEvent = $event;handleEnterEvent($event)\"\n (keydown.arrowdown)=\"selectNext($event)\"\n (blur)=\"invokeOnTouched($event)\"\n (click)=\"handleFocus($event);\"\n (focus)=\"_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event);\"\n (focusout)=\"onFocusOut()\"\n [typeaheadMinLength]=\"minchars\"\n [typeaheadOptionsLimit]=\"limit\"\n (typeaheadLoading)=\"_loadingItems\"\n (typeaheadOnSelect)=\"typeaheadOnSelect($event)\"\n typeaheadOptionField=\"label\"\n [typeaheadGroupField]=\"groupby ? 'groupby' : null\"\n [typeaheadAsync]=\"true\"\n [typeaheadScrollable]=\"true\"\n [adaptivePosition]=\"true\"\n [typeaheadOptionsInScrollableView]=\"optionslimitinscrollableview\"\n [dropup]=\"dropup\"\n [tabindex]=\"tabindex\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel || 'Search field'\"/>\n <i class=\"btn-close wi wi-cancel\" [hidden]=\"!showClosebtn\" (click)=\"clearSearch($event);\"></i>\n</ng-container>\n<!--This template is for both web and fullscreen mode in mobile.-->\n<ng-template #searchTemplate>\n <span class=\"wi wi-arrow-left form-control-feedback back-btn\" aria-hidden=\"true\" (click)=\"closeSearch()\"></span>\n <span class=\"sr-only\">Back button</span>\n <input [title]=\"query || ''\" type=\"text\" class=\"app-textbox form-control list-of-objs app-search-input\" [placeholder]=\"placeholder || ''\"\n focus-target\n [container]=\"containerTarget || '.wm-app'\"\n [disabled]=\"disabled\"\n autocomplete=\"off\"\n [(ngModel)]=\"query\"\n [ngModelOptions]=\"{standalone: true}\"\n [readonly]=\"readonly\"\n [typeahead]=\"typeaheadDataSource\"\n [typeaheadWaitMs]=\"debouncetime\"\n [typeaheadItemTemplate]=\"customItemTemplate\"\n [optionsListTemplate]=\"customListTemplate\"\n (input)=\"onInputChange($event)\"\n (keydown)=\"listenQuery = true\"\n (keydown.enter)=\"$typeaheadEvent = $event;handleEnterEvent($event)\"\n (keydown.arrowdown)=\"selectNext($event)\"\n (blur)=\"invokeOnTouched($event); onFocusOut()\"\n (click)=\"handleFocus($event);\"\n (focus)=\"_unsubscribeDv = false; listenQuery = true; handleFocus($event); invokeOnFocus($event)\"\n [typeaheadMinLength]=\"minchars\"\n [typeaheadOptionsLimit]=\"limit\"\n (typeaheadLoading)=\"_loadingItems\"\n (typeaheadOnSelect)=\"typeaheadOnSelect($event)\"\n typeaheadOptionField=\"label\"\n [typeaheadGroupField]=\"groupby ? 'groupby' : null\"\n [typeaheadAsync]=\"true\"\n [typeaheadScrollable]=\"true\"\n [adaptivePosition]=\"true\"\n [typeaheadOptionsInScrollableView]=\"optionslimitinscrollableview\"\n [tabindex]=\"tabindex\"\n [dropup]=\"dropup\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"arialabel || 'Search field'\">\n <input class=\"model-holder\" ng-model=\"proxyModel\" ng-required=\"required\" tabindex=\"-1\" aria-hidden=\"true\">\n <span *ngIf=\"_loadingItems\" aria-hidden=\"true\" class=\"fa fa-circle-o-notch fa-spin form-control-feedback\"></span>\n <span class=\"wi wi-close form-control-feedback clear-btn\" [ngClass]=\"{'show-btn': isQueryEntered()}\" (click)=\"clearSearch($event, true)\"></span>\n <span class=\"sr-only\">Clear button</span>\n <span *ngIf=\"showsearchicon\" class=\"input-group-addon\" aria-label=\"search icon\" [ngClass]=\"{'disabled': disabled}\">\n <form>\n <button title=\"Search\" [disabled]=\"disabled\" class=\"app-search-button wm-sl-l sl-search\" type=\"submit\"\n (click)=\"onSearchSelect($event)\"></button>\n </form>\n </span>\n</ng-template>\n" }]
1181
1182
  }], () => [{ type: i0.Injector }, { type: i1.App }, { type: undefined, decorators: [{
1182
1183
  type: Attribute,
1183
1184
  args: ['datavalue.bind']
@@ -1199,7 +1200,7 @@ class SearchComponent extends DatasetAwareFormComponent {
1199
1200
  type: ViewChildren,
1200
1201
  args: ['liElements']
1201
1202
  }] }); })();
1202
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchComponent, { className: "SearchComponent", filePath: "search.component.ts", lineNumber: 61 }); })();
1203
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchComponent, { className: "SearchComponent", filePath: "search.component.ts", lineNumber: 65 }); })();
1203
1204
 
1204
1205
  class ScrollableDirective {
1205
1206
  constructor(inj, searchRef) {