@wavemaker/app-ng-runtime 11.10.3-next.25128 → 11.10.3-rc.6079
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/basic/default/bundles/index.umd.js +68 -68
- package/components/basic/default/esm2022/anchor/anchor.component.mjs +18 -18
- package/components/basic/default/esm2022/icon/icon.component.mjs +13 -12
- package/components/basic/default/esm2022/iframe/iframe.component.mjs +10 -9
- package/components/basic/default/esm2022/spinner/spinner.component.mjs +21 -21
- package/components/basic/default/esm2022/video/video.component.mjs +15 -14
- package/components/basic/default/fesm2022/index.mjs +68 -68
- package/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/bundles/index.umd.js +17 -16
- package/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +8 -7
- package/components/basic/progress/fesm2022/index.mjs +9 -8
- package/components/basic/progress/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/bundles/index.umd.js +12 -11
- package/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +9 -8
- package/components/basic/rich-text-editor/fesm2022/index.mjs +8 -7
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +67 -63
- package/components/basic/search/esm2022/search.component.mjs +67 -63
- package/components/basic/search/esm2022/search.module.mjs +2 -2
- package/components/basic/search/fesm2022/index.mjs +67 -63
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +17 -17
- package/components/chart/esm2022/chart.component.mjs +18 -18
- package/components/chart/fesm2022/index.mjs +17 -17
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/bundles/index.umd.js +39 -39
- package/components/containers/panel/esm2022/panel.component.mjs +40 -40
- package/components/containers/panel/fesm2022/index.mjs +39 -39
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +29 -29
- package/components/containers/tabs/esm2022/tabs.component.mjs +30 -30
- package/components/containers/tabs/fesm2022/index.mjs +29 -29
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +49 -49
- package/components/containers/wizard/esm2022/wizard.component.mjs +50 -50
- package/components/containers/wizard/fesm2022/index.mjs +49 -49
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/data/card/bundles/index.umd.js +29 -29
- package/components/data/card/esm2022/card.component.mjs +30 -30
- package/components/data/card/fesm2022/index.mjs +29 -29
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/form/bundles/index.umd.js +96 -91
- package/components/data/form/esm2022/form.component.mjs +97 -92
- package/components/data/form/fesm2022/index.mjs +96 -91
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/list/bundles/index.umd.js +173 -171
- package/components/data/list/esm2022/list.component.mjs +173 -171
- package/components/data/list/esm2022/list.module.mjs +2 -2
- package/components/data/list/fesm2022/index.mjs +173 -171
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +32 -32
- package/components/data/pagination/esm2022/pagination.component.mjs +33 -33
- package/components/data/pagination/fesm2022/index.mjs +32 -32
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +38 -39
- package/components/data/table/esm2022/table.component.mjs +39 -40
- package/components/data/table/fesm2022/index.mjs +38 -39
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/bundles/index.umd.js +95 -66
- package/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +96 -67
- package/components/dialogs/default/fesm2022/index.mjs +95 -66
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/bundles/index.umd.js +7 -7
- package/components/dialogs/design-dialog/esm2022/dialog.component.mjs +8 -8
- package/components/dialogs/design-dialog/fesm2022/index.mjs +7 -7
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +25 -24
- package/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +16 -15
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +15 -14
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/bundles/index.umd.js +8 -8
- package/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +9 -9
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +8 -8
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/bundles/index.umd.js +21 -21
- package/components/input/chips/esm2022/chips.component.mjs +22 -22
- package/components/input/chips/fesm2022/index.mjs +21 -21
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/default/bundles/index.umd.js +209 -201
- package/components/input/default/esm2022/button/button.component.mjs +18 -18
- package/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +69 -68
- package/components/input/default/esm2022/radioset/radioset.component.mjs +69 -68
- package/components/input/default/esm2022/select/select.component.mjs +27 -21
- package/components/input/default/esm2022/switch/switch.component.mjs +24 -24
- package/components/input/default/esm2022/textarea/textarea.component.mjs +8 -8
- package/components/input/default/fesm2022/index.mjs +209 -201
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/bundles/index.umd.js +164 -171
- package/components/input/epoch/esm2022/date/date.component.mjs +15 -14
- package/components/input/epoch/esm2022/date-time/date-time-picker.component.mjs +59 -64
- package/components/input/epoch/esm2022/date-time/date-time.component.mjs +19 -18
- package/components/input/epoch/esm2022/picker/picker.component.mjs +25 -26
- package/components/input/epoch/esm2022/time/time.component.mjs +18 -17
- package/components/input/epoch/fesm2022/index.mjs +117 -124
- package/components/input/epoch/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +114 -111
- package/components/input/file-upload/esm2022/file-upload.component.mjs +115 -112
- package/components/input/file-upload/fesm2022/index.mjs +114 -111
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/bundles/index.umd.js +14 -14
- package/components/input/rating/esm2022/rating.component.mjs +15 -15
- package/components/input/rating/fesm2022/index.mjs +14 -14
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/bundles/index.umd.js +40 -39
- package/components/input/slider/esm2022/slider.component.mjs +11 -10
- package/components/input/slider/fesm2022/index.mjs +10 -9
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/bundles/index.umd.js +15 -16
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +16 -17
- package/components/navigation/breadcrumb/fesm2022/index.mjs +15 -16
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/bundles/index.umd.js +71 -69
- package/components/navigation/menu/esm2022/menu-dropdown/menu-dropdown.component.mjs +7 -7
- package/components/navigation/menu/esm2022/menu-dropdown-item/menu-dropdown-item.component.mjs +15 -15
- package/components/navigation/menu/esm2022/menu.component.mjs +26 -22
- package/components/navigation/menu/esm2022/menu.module.mjs +4 -4
- package/components/navigation/menu/esm2022/nav/nav.component.mjs +24 -26
- package/components/navigation/menu/fesm2022/index.mjs +71 -69
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/bundles/index.umd.js +12 -12
- package/components/navigation/navbar/esm2022/navbar.component.mjs +13 -13
- package/components/navigation/navbar/fesm2022/index.mjs +12 -12
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/basic/default/bundles/index.umd.js +111 -102
- package/mobile/components/basic/default/esm2022/file-browser/file-browser.component.mjs +40 -39
- package/mobile/components/basic/default/esm2022/network-info-toaster/network-info-toaster.component.mjs +44 -35
- package/mobile/components/basic/default/esm2022/process-manager/process-manager.component.mjs +28 -27
- package/mobile/components/basic/default/fesm2022/index.mjs +107 -98
- package/mobile/components/basic/default/fesm2022/index.mjs.map +1 -1
- package/mobile/components/containers/segmented-control/bundles/index.umd.js +16 -16
- package/mobile/components/containers/segmented-control/esm2022/segment-content/segment-content.component.mjs +9 -8
- package/mobile/components/containers/segmented-control/esm2022/segmented-control.component.mjs +10 -10
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs +16 -16
- package/mobile/components/containers/segmented-control/fesm2022/index.mjs.map +1 -1
- package/mobile/components/data/media-list/bundles/index.umd.js +28 -28
- package/mobile/components/data/media-list/esm2022/media-list.component.mjs +29 -29
- package/mobile/components/data/media-list/fesm2022/index.mjs +28 -28
- package/mobile/components/data/media-list/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/mobile-navbar/bundles/index.umd.js +29 -29
- package/mobile/components/page/mobile-navbar/esm2022/mobile-navbar.component.mjs +30 -30
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs +29 -29
- package/mobile/components/page/mobile-navbar/fesm2022/index.mjs.map +1 -1
- package/mobile/components/page/tab-bar/bundles/index.umd.js +28 -28
- package/mobile/components/page/tab-bar/esm2022/tabbar.component.mjs +29 -29
- package/mobile/components/page/tab-bar/fesm2022/index.mjs +28 -28
- package/mobile/components/page/tab-bar/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +215 -219
- package/runtime/base/esm2022/components/app-component/app.component.mjs +41 -38
- package/runtime/base/esm2022/components/app-spinner.component.mjs +21 -25
- package/runtime/base/esm2022/components/custom-toaster.component.mjs +16 -18
- package/runtime/base/fesm2022/index.mjs +95 -99
- package/runtime/base/fesm2022/index.mjs.map +1 -1
|
@@ -318,18 +318,18 @@
|
|
|
318
318
|
const _c6 = () => ({ standalone: true });
|
|
319
319
|
const _c7 = a0 => ({ "show-btn": a0 });
|
|
320
320
|
const _c8 = a0 => ({ "disabled": a0 });
|
|
321
|
-
function
|
|
322
|
-
i0__namespace.ɵɵelement(0, "img",
|
|
321
|
+
function SearchComponent_ng_template_0_a_0_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
322
|
+
i0__namespace.ɵɵelement(0, "img", 10);
|
|
323
323
|
} if (rf & 2) {
|
|
324
324
|
const model_r1 = i0__namespace.ɵɵnextContext(2).item;
|
|
325
325
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
326
326
|
i0__namespace.ɵɵstyleProp("width", ctx_r1.imagewidth);
|
|
327
327
|
i0__namespace.ɵɵproperty("src", model_r1.imgSrc, i0__namespace.ɵɵsanitizeUrl);
|
|
328
328
|
} }
|
|
329
|
-
function
|
|
329
|
+
function SearchComponent_ng_template_0_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
330
330
|
i0__namespace.ɵɵelementStart(0, "a");
|
|
331
|
-
i0__namespace.ɵɵtemplate(1,
|
|
332
|
-
i0__namespace.ɵɵelement(2, "span",
|
|
331
|
+
i0__namespace.ɵɵtemplate(1, SearchComponent_ng_template_0_a_0_img_1_Template, 1, 3, "img", 8);
|
|
332
|
+
i0__namespace.ɵɵelement(2, "span", 9);
|
|
333
333
|
i0__namespace.ɵɵelementEnd();
|
|
334
334
|
} if (rf & 2) {
|
|
335
335
|
const ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
@@ -338,13 +338,13 @@
|
|
|
338
338
|
const match_r5 = ctx_r2.match;
|
|
339
339
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
340
340
|
i0__namespace.ɵɵadvance();
|
|
341
|
-
i0__namespace.ɵɵ
|
|
341
|
+
i0__namespace.ɵɵproperty("ngIf", model_r1.imgSrc);
|
|
342
342
|
i0__namespace.ɵɵadvance();
|
|
343
343
|
i0__namespace.ɵɵproperty("title", model_r1.label)("innerHtml", ctx_r1.highlight(match_r5, query_r4) || model_r1.label, i0__namespace.ɵɵsanitizeHtml);
|
|
344
344
|
} }
|
|
345
|
-
function
|
|
346
|
-
i0__namespace.ɵɵelementStart(0, "a",
|
|
347
|
-
i0__namespace.ɵɵelement(1, "div",
|
|
345
|
+
function SearchComponent_ng_template_0_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
346
|
+
i0__namespace.ɵɵelementStart(0, "a", 11);
|
|
347
|
+
i0__namespace.ɵɵelement(1, "div", 12);
|
|
348
348
|
i0__namespace.ɵɵelementEnd();
|
|
349
349
|
} if (rf & 2) {
|
|
350
350
|
const match_r5 = i0__namespace.ɵɵnextContext().match;
|
|
@@ -352,15 +352,15 @@
|
|
|
352
352
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(3, _c3, ctx_r1.content))("wmItemTemplate", ctx_r1.content)("userComponentParams", match_r5.item);
|
|
353
353
|
} }
|
|
354
354
|
function SearchComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
355
|
-
i0__namespace.ɵɵtemplate(0,
|
|
355
|
+
i0__namespace.ɵɵtemplate(0, SearchComponent_ng_template_0_a_0_Template, 3, 3, "a", 6)(1, SearchComponent_ng_template_0_a_1_Template, 2, 5, "a", 7);
|
|
356
356
|
} if (rf & 2) {
|
|
357
357
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
358
|
-
i0__namespace.ɵɵ
|
|
358
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r1.content);
|
|
359
359
|
i0__namespace.ɵɵadvance();
|
|
360
|
-
i0__namespace.ɵɵ
|
|
360
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r1.content);
|
|
361
361
|
} }
|
|
362
|
-
function
|
|
363
|
-
i0__namespace.ɵɵelementStart(0, "h4",
|
|
362
|
+
function SearchComponent_ng_template_2_li_2_h4_2_Template(rf, ctx) { if (rf & 1) {
|
|
363
|
+
i0__namespace.ɵɵelementStart(0, "h4", 21);
|
|
364
364
|
i0__namespace.ɵɵtext(1);
|
|
365
365
|
i0__namespace.ɵɵelementEnd();
|
|
366
366
|
} if (rf & 2) {
|
|
@@ -368,47 +368,47 @@
|
|
|
368
368
|
i0__namespace.ɵɵadvance();
|
|
369
369
|
i0__namespace.ɵɵtextInterpolate(match_r7.value);
|
|
370
370
|
} }
|
|
371
|
-
function
|
|
372
|
-
i0__namespace.ɵɵelementContainer(0,
|
|
371
|
+
function SearchComponent_ng_template_2_li_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
372
|
+
i0__namespace.ɵɵelementContainer(0, 22);
|
|
373
373
|
} if (rf & 2) {
|
|
374
374
|
const ctx_r7 = i0__namespace.ɵɵnextContext();
|
|
375
375
|
const match_r7 = ctx_r7.$implicit;
|
|
376
|
-
const
|
|
376
|
+
const i_r9 = ctx_r7.index;
|
|
377
377
|
const ctx_r9 = i0__namespace.ɵɵnextContext();
|
|
378
378
|
const itemTemplate_r11 = ctx_r9.itemTemplate;
|
|
379
379
|
const query_r12 = ctx_r9.query;
|
|
380
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", itemTemplate_r11)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction4(2, _c5, match_r7.item,
|
|
380
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", itemTemplate_r11)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction4(2, _c5, match_r7.item, i_r9, match_r7, query_r12));
|
|
381
381
|
} }
|
|
382
|
-
function
|
|
382
|
+
function SearchComponent_ng_template_2_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
383
383
|
const _r6 = i0__namespace.ɵɵgetCurrentView();
|
|
384
|
-
i0__namespace.ɵɵelementStart(0, "li",
|
|
385
|
-
i0__namespace.ɵɵlistener("mouseenter", function
|
|
386
|
-
i0__namespace.ɵɵtemplate(2,
|
|
384
|
+
i0__namespace.ɵɵelementStart(0, "li", 18, 4);
|
|
385
|
+
i0__namespace.ɵɵlistener("mouseenter", function SearchComponent_ng_template_2_li_2_Template_li_mouseenter_0_listener() { const match_r7 = i0__namespace.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.typeaheadContainer.selectActive(match_r7)); })("click", function SearchComponent_ng_template_2_li_2_Template_li_click_0_listener($event) { const match_r7 = i0__namespace.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); match_r7 && !match_r7.isHeader() && ctx_r1.typeaheadContainer.selectMatch(match_r7, $event); ctx_r1.$typeaheadEvent = $event; return i0__namespace.ɵɵresetView(ctx_r1.notifySubscriber()); });
|
|
386
|
+
i0__namespace.ɵɵtemplate(2, SearchComponent_ng_template_2_li_2_h4_2_Template, 2, 1, "h4", 19)(3, SearchComponent_ng_template_2_li_2_ng_container_3_Template, 1, 7, "ng-container", 20);
|
|
387
387
|
i0__namespace.ɵɵelementEnd();
|
|
388
388
|
} if (rf & 2) {
|
|
389
389
|
const match_r7 = ctx.$implicit;
|
|
390
390
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
391
391
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(3, _c4, ctx_r1.typeaheadContainer && ctx_r1.typeaheadContainer.isActive(match_r7), match_r7 && match_r7.isHeader()));
|
|
392
392
|
i0__namespace.ɵɵadvance(2);
|
|
393
|
-
i0__namespace.ɵɵ
|
|
393
|
+
i0__namespace.ɵɵproperty("ngIf", match_r7.isHeader());
|
|
394
394
|
i0__namespace.ɵɵadvance();
|
|
395
|
-
i0__namespace.ɵɵ
|
|
395
|
+
i0__namespace.ɵɵproperty("ngIf", !match_r7.isHeader());
|
|
396
396
|
} }
|
|
397
397
|
function SearchComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
398
|
-
i0__namespace.ɵɵelementStart(0, "ul",
|
|
399
|
-
i0__namespace.ɵɵ
|
|
400
|
-
i0__namespace.ɵɵelementStart(
|
|
401
|
-
i0__namespace.ɵɵelement(
|
|
398
|
+
i0__namespace.ɵɵelementStart(0, "ul", 13, 3);
|
|
399
|
+
i0__namespace.ɵɵtemplate(2, SearchComponent_ng_template_2_li_2_Template, 4, 6, "li", 14);
|
|
400
|
+
i0__namespace.ɵɵelementStart(3, "div", 15);
|
|
401
|
+
i0__namespace.ɵɵelement(4, "span", 16);
|
|
402
402
|
i0__namespace.ɵɵelementEnd();
|
|
403
|
-
i0__namespace.ɵɵelementStart(
|
|
404
|
-
i0__namespace.ɵɵelement(
|
|
403
|
+
i0__namespace.ɵɵelementStart(5, "div", 15);
|
|
404
|
+
i0__namespace.ɵɵelement(6, "i", 17)(7, "span", 16);
|
|
405
405
|
i0__namespace.ɵɵelementEnd()();
|
|
406
406
|
} if (rf & 2) {
|
|
407
407
|
const matches_r13 = ctx.matches;
|
|
408
408
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
409
409
|
i0__namespace.ɵɵadvance(2);
|
|
410
|
-
i0__namespace.ɵɵ
|
|
411
|
-
i0__namespace.ɵɵadvance(
|
|
410
|
+
i0__namespace.ɵɵproperty("ngForOf", matches_r13);
|
|
411
|
+
i0__namespace.ɵɵadvance();
|
|
412
412
|
i0__namespace.ɵɵproperty("hidden", ctx_r1._loadingItems || !(ctx_r1.datacompletemsg && ctx_r1.dataProvider.isLastPage));
|
|
413
413
|
i0__namespace.ɵɵadvance();
|
|
414
414
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.datacompletemsg);
|
|
@@ -417,19 +417,22 @@
|
|
|
417
417
|
i0__namespace.ɵɵadvance(2);
|
|
418
418
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.loadingdatamsg);
|
|
419
419
|
} }
|
|
420
|
-
function
|
|
420
|
+
function SearchComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
421
421
|
const _r14 = i0__namespace.ɵɵgetCurrentView();
|
|
422
|
-
i0__namespace.ɵɵ
|
|
423
|
-
i0__namespace.ɵɵ
|
|
424
|
-
i0__namespace.ɵɵ
|
|
422
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
423
|
+
i0__namespace.ɵɵelementStart(1, "input", 23);
|
|
424
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function SearchComponent_ng_container_4_Template_input_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); i0__namespace.ɵɵtwoWayBindingSet(ctx_r1.query, $event) || (ctx_r1.query = $event); return i0__namespace.ɵɵresetView($event); });
|
|
425
|
+
i0__namespace.ɵɵlistener("input", function SearchComponent_ng_container_4_Template_input_input_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onInputChange($event)); })("keydown", function SearchComponent_ng_container_4_Template_input_keydown_1_listener() { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.listenQuery = true); })("keydown.enter", function SearchComponent_ng_container_4_Template_input_keydown_enter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1.$typeaheadEvent = $event; return i0__namespace.ɵɵresetView(ctx_r1.handleEnterEvent($event)); })("keydown.arrowdown", function SearchComponent_ng_container_4_Template_input_keydown_arrowdown_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.selectNext($event)); })("blur", function SearchComponent_ng_container_4_Template_input_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.invokeOnTouched($event)); })("click", function SearchComponent_ng_container_4_Template_input_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.handleFocus($event)); })("focus", function SearchComponent_ng_container_4_Template_input_focus_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1._unsubscribeDv = false; ctx_r1.listenQuery = true; ctx_r1.handleFocus($event); return i0__namespace.ɵɵresetView(ctx_r1.invokeOnFocus($event)); })("focusout", function SearchComponent_ng_container_4_Template_input_focusout_1_listener() { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onFocusOut()); })("typeaheadLoading", function SearchComponent_ng_container_4_Template_input_typeaheadLoading_1_listener() { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1._loadingItems); })("typeaheadOnSelect", function SearchComponent_ng_container_4_Template_input_typeaheadOnSelect_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.typeaheadOnSelect($event)); });
|
|
425
426
|
i0__namespace.ɵɵelementEnd();
|
|
426
|
-
i0__namespace.ɵɵelementStart(
|
|
427
|
-
i0__namespace.ɵɵlistener("click", function
|
|
427
|
+
i0__namespace.ɵɵelementStart(2, "i", 24);
|
|
428
|
+
i0__namespace.ɵɵlistener("click", function SearchComponent_ng_container_4_Template_i_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r14); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.clearSearch($event)); });
|
|
428
429
|
i0__namespace.ɵɵelementEnd();
|
|
430
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
429
431
|
} if (rf & 2) {
|
|
430
432
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
431
433
|
const customItemTemplate_r15 = i0__namespace.ɵɵreference(1);
|
|
432
434
|
const customListTemplate_r16 = i0__namespace.ɵɵreference(3);
|
|
435
|
+
i0__namespace.ɵɵadvance();
|
|
433
436
|
i0__namespace.ɵɵproperty("title", ctx_r1.query || "")("placeholder", ctx_r1.placeholder || "")("disabled", ctx_r1.disabled);
|
|
434
437
|
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx_r1.query);
|
|
435
438
|
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(23, _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)("dropup", ctx_r1.dropup)("tabindex", ctx_r1.tabindex);
|
|
@@ -437,13 +440,13 @@
|
|
|
437
440
|
i0__namespace.ɵɵadvance();
|
|
438
441
|
i0__namespace.ɵɵproperty("hidden", !ctx_r1.showClosebtn);
|
|
439
442
|
} }
|
|
440
|
-
function
|
|
441
|
-
i0__namespace.ɵɵelement(0, "span",
|
|
443
|
+
function SearchComponent_ng_template_5_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
444
|
+
i0__namespace.ɵɵelement(0, "span", 32);
|
|
442
445
|
} }
|
|
443
|
-
function
|
|
446
|
+
function SearchComponent_ng_template_5_span_11_Template(rf, ctx) { if (rf & 1) {
|
|
444
447
|
const _r18 = i0__namespace.ɵɵgetCurrentView();
|
|
445
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
446
|
-
i0__namespace.ɵɵlistener("click", function
|
|
448
|
+
i0__namespace.ɵɵelementStart(0, "span", 33)(1, "form")(2, "button", 34);
|
|
449
|
+
i0__namespace.ɵɵlistener("click", function SearchComponent_ng_template_5_span_11_Template_button_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r18); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onSearchSelect($event)); });
|
|
447
450
|
i0__namespace.ɵɵelement(3, "i");
|
|
448
451
|
i0__namespace.ɵɵelementEnd()()();
|
|
449
452
|
} if (rf & 2) {
|
|
@@ -454,29 +457,29 @@
|
|
|
454
457
|
i0__namespace.ɵɵadvance();
|
|
455
458
|
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r1.searchiconclass, "");
|
|
456
459
|
} }
|
|
457
|
-
function
|
|
460
|
+
function SearchComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
458
461
|
const _r17 = i0__namespace.ɵɵgetCurrentView();
|
|
459
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
460
|
-
i0__namespace.ɵɵlistener("click", function
|
|
462
|
+
i0__namespace.ɵɵelementStart(0, "button", 25);
|
|
463
|
+
i0__namespace.ɵɵlistener("click", function SearchComponent_ng_template_5_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.closeSearch()); });
|
|
461
464
|
i0__namespace.ɵɵelement(1, "i");
|
|
462
465
|
i0__namespace.ɵɵelementEnd();
|
|
463
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
466
|
+
i0__namespace.ɵɵelementStart(2, "span", 26);
|
|
464
467
|
i0__namespace.ɵɵtext(3, "Back button");
|
|
465
468
|
i0__namespace.ɵɵelementEnd();
|
|
466
|
-
i0__namespace.ɵɵelementStart(4, "input",
|
|
467
|
-
i0__namespace.ɵɵtwoWayListener("ngModelChange", function
|
|
468
|
-
i0__namespace.ɵɵlistener("input", function
|
|
469
|
+
i0__namespace.ɵɵelementStart(4, "input", 27);
|
|
470
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function SearchComponent_ng_template_5_Template_input_ngModelChange_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); i0__namespace.ɵɵtwoWayBindingSet(ctx_r1.query, $event) || (ctx_r1.query = $event); return i0__namespace.ɵɵresetView($event); });
|
|
471
|
+
i0__namespace.ɵɵlistener("input", function SearchComponent_ng_template_5_Template_input_input_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onInputChange($event)); })("keydown", function SearchComponent_ng_template_5_Template_input_keydown_4_listener() { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.listenQuery = true); })("keydown.enter", function SearchComponent_ng_template_5_Template_input_keydown_enter_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1.$typeaheadEvent = $event; return i0__namespace.ɵɵresetView(ctx_r1.handleEnterEvent($event)); })("keydown.arrowdown", function SearchComponent_ng_template_5_Template_input_keydown_arrowdown_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.selectNext($event)); })("blur", function SearchComponent_ng_template_5_Template_input_blur_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1.invokeOnTouched($event); return i0__namespace.ɵɵresetView(ctx_r1.onFocusOut()); })("click", function SearchComponent_ng_template_5_Template_input_click_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.handleFocus($event)); })("focus", function SearchComponent_ng_template_5_Template_input_focus_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); ctx_r1._unsubscribeDv = false; ctx_r1.listenQuery = true; ctx_r1.handleFocus($event); return i0__namespace.ɵɵresetView(ctx_r1.invokeOnFocus($event)); })("typeaheadLoading", function SearchComponent_ng_template_5_Template_input_typeaheadLoading_4_listener() { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1._loadingItems); })("typeaheadOnSelect", function SearchComponent_ng_template_5_Template_input_typeaheadOnSelect_4_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.typeaheadOnSelect($event)); });
|
|
469
472
|
i0__namespace.ɵɵelementEnd();
|
|
470
|
-
i0__namespace.ɵɵelement(5, "input",
|
|
471
|
-
i0__namespace.ɵɵtemplate(6,
|
|
472
|
-
i0__namespace.ɵɵelementStart(7, "button",
|
|
473
|
-
i0__namespace.ɵɵlistener("click", function
|
|
473
|
+
i0__namespace.ɵɵelement(5, "input", 28);
|
|
474
|
+
i0__namespace.ɵɵtemplate(6, SearchComponent_ng_template_5_span_6_Template, 1, 0, "span", 29);
|
|
475
|
+
i0__namespace.ɵɵelementStart(7, "button", 30);
|
|
476
|
+
i0__namespace.ɵɵlistener("click", function SearchComponent_ng_template_5_Template_button_click_7_listener($event) { i0__namespace.ɵɵrestoreView(_r17); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.clearSearch($event, true)); });
|
|
474
477
|
i0__namespace.ɵɵelement(8, "i");
|
|
475
478
|
i0__namespace.ɵɵelementEnd();
|
|
476
|
-
i0__namespace.ɵɵelementStart(9, "span",
|
|
479
|
+
i0__namespace.ɵɵelementStart(9, "span", 26);
|
|
477
480
|
i0__namespace.ɵɵtext(10, "Clear button");
|
|
478
481
|
i0__namespace.ɵɵelementEnd();
|
|
479
|
-
i0__namespace.ɵɵtemplate(11,
|
|
482
|
+
i0__namespace.ɵɵtemplate(11, SearchComponent_ng_template_5_span_11_Template, 4, 7, "span", 31);
|
|
480
483
|
} if (rf & 2) {
|
|
481
484
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
482
485
|
const customItemTemplate_r15 = i0__namespace.ɵɵreference(1);
|
|
@@ -489,13 +492,13 @@
|
|
|
489
492
|
i0__namespace.ɵɵproperty("ngModelOptions", i0__namespace.ɵɵpureFunction0(32, _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);
|
|
490
493
|
i0__namespace.ɵɵattribute("accesskey", ctx_r1.shortcutkey)("name", ctx_r1.name)("aria-label", ctx_r1.arialabel || "Search field");
|
|
491
494
|
i0__namespace.ɵɵadvance(2);
|
|
492
|
-
i0__namespace.ɵɵ
|
|
495
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r1._loadingItems);
|
|
493
496
|
i0__namespace.ɵɵadvance();
|
|
494
497
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(33, _c7, ctx_r1.isQueryEntered()));
|
|
495
498
|
i0__namespace.ɵɵadvance();
|
|
496
499
|
i0__namespace.ɵɵclassMapInterpolate1("app-icon ", ctx_r1.clearsearchiconclass, "");
|
|
497
500
|
i0__namespace.ɵɵadvance(3);
|
|
498
|
-
i0__namespace.ɵɵ
|
|
501
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r1.showsearchicon);
|
|
499
502
|
} }
|
|
500
503
|
const WIDGET_CONFIG = { widgetType: 'wm-search', hostClass: 'input-group' };
|
|
501
504
|
class SearchComponent extends input.DatasetAwareFormComponent {
|
|
@@ -1192,11 +1195,12 @@
|
|
|
1192
1195
|
i4.provideAs(SearchComponent, i2.NG_VALUE_ACCESSOR, true),
|
|
1193
1196
|
i4.provideAs(SearchComponent, i2.NG_VALIDATORS, true),
|
|
1194
1197
|
i4.provideAsWidgetRef(SearchComponent)
|
|
1195
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c2, decls:
|
|
1196
|
-
i0__namespace.ɵɵtemplate(0, SearchComponent_ng_template_0_Template, 2, 2, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor)(2, SearchComponent_ng_template_2_Template,
|
|
1198
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c2, decls: 7, vars: 2, consts: [["customItemTemplate", ""], ["customListTemplate", ""], ["searchTemplate", ""], ["ulElement", ""], ["liElements", ""], [4, "ngIf", "ngIfElse"], [4, "ngIf"], ["partialContainer", "", 3, "ngClass", "wmItemTemplate", "userComponentParams", 4, "ngIf"], ["alt", "Search", 3, "src", "width", 4, "ngIf"], [3, "title", "innerHtml"], ["alt", "Search", 3, "src"], ["partialContainer", "", 3, "ngClass", "wmItemTemplate", "userComponentParams"], ["partial-container-target", ""], ["scrollable", "", 1, "app-search", "dropdown-menu"], [3, "ngClass", "mouseenter", "click", 4, "ngFor", "ngForOf"], [1, "status", 3, "hidden"], [3, "textContent"], [1, "fa", "fa-circle-o-notch", "fa-spin"], [3, "mouseenter", "click", "ngClass"], ["class", "group-title", 4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], [1, "group-title"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["type", "text", "focus-target", "", "container", "body", "autocomplete", "off", "typeaheadOptionField", "label", 1, "app-textbox", "form-control", "list-of-objs", "app-search-input", 3, "ngModelChange", "input", "keydown", "keydown.enter", "keydown.arrowdown", "blur", "click", "focus", "focusout", "typeaheadLoading", "typeaheadOnSelect", "title", "placeholder", "disabled", "ngModel", "ngModelOptions", "readonly", "typeahead", "typeaheadWaitMs", "typeaheadItemTemplate", "optionsListTemplate", "typeaheadMinLength", "typeaheadOptionsLimit", "typeaheadGroupField", "typeaheadAsync", "typeaheadScrollable", "adaptivePosition", "typeaheadOptionsInScrollableView", "dropup", "tabindex"], [1, "btn-close", "wi", "wi-cancel", 3, "click", "hidden"], ["aria-hidden", "true", 1, "btn", "btn-icon", "form-control-feedback", "back-btn", 3, "click"], [1, "sr-only"], ["type", "text", "focus-target", "", "autocomplete", "off", "typeaheadOptionField", "label", 1, "app-textbox", "form-control", "list-of-objs", "app-search-input", 3, "ngModelChange", "input", "keydown", "keydown.enter", "keydown.arrowdown", "blur", "click", "focus", "typeaheadLoading", "typeaheadOnSelect", "title", "placeholder", "container", "disabled", "ngModel", "ngModelOptions", "readonly", "typeahead", "typeaheadWaitMs", "typeaheadItemTemplate", "optionsListTemplate", "typeaheadMinLength", "typeaheadOptionsLimit", "typeaheadGroupField", "typeaheadAsync", "typeaheadScrollable", "adaptivePosition", "typeaheadOptionsInScrollableView", "tabindex", "dropup"], ["ng-model", "proxyModel", "ng-required", "required", "tabindex", "-1", "aria-hidden", "true", 1, "model-holder"], ["aria-hidden", "true", "class", "fa fa-circle-o-notch fa-spin form-control-feedback", 4, "ngIf"], [1, "btn", "btn-icon", "form-control-feedback", "clear-btn", 3, "click", "ngClass"], ["class", "input-group-addon", 3, "ngClass", 4, "ngIf"], ["aria-hidden", "true", 1, "fa", "fa-circle-o-notch", "fa-spin", "form-control-feedback"], [1, "input-group-addon", 3, "ngClass"], ["title", "Search", "type", "submit", 1, "app-search-button", "btn", "btn-icon", 3, "click", "disabled"]], template: function SearchComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1199
|
+
i0__namespace.ɵɵtemplate(0, SearchComponent_ng_template_0_Template, 2, 2, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor)(2, SearchComponent_ng_template_2_Template, 8, 5, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor)(4, SearchComponent_ng_container_4_Template, 3, 24, "ng-container", 5)(5, SearchComponent_ng_template_5_Template, 12, 35, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor);
|
|
1197
1200
|
} if (rf & 2) {
|
|
1201
|
+
const searchTemplate_r19 = i0__namespace.ɵɵreference(6);
|
|
1198
1202
|
i0__namespace.ɵɵadvance(4);
|
|
1199
|
-
i0__namespace.ɵɵ
|
|
1203
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.navsearchbar)("ngIfElse", searchTemplate_r19);
|
|
1200
1204
|
} }, encapsulation: 2 }); }
|
|
1201
1205
|
}
|
|
1202
1206
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchComponent, [{
|
|
@@ -1205,7 +1209,7 @@
|
|
|
1205
1209
|
i4.provideAs(SearchComponent, i2.NG_VALUE_ACCESSOR, true),
|
|
1206
1210
|
i4.provideAs(SearchComponent, i2.NG_VALIDATORS, true),
|
|
1207
1211
|
i4.provideAsWidgetRef(SearchComponent)
|
|
1208
|
-
], template: "<ng-template #customItemTemplate let-model=\"item\" let-index=\"index\" let-query=\"query\" let-match=\"match\">\n
|
|
1212
|
+
], 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 [attr.accesskey]=\"shortcutkey\"\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)\"\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 <button class=\"btn btn-icon form-control-feedback back-btn\" aria-hidden=\"true\" (click)=\"closeSearch()\"><i class=\"app-icon {{backsearchiconclass}}\"></i></button>\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 [attr.accesskey]=\"shortcutkey\"\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 <button class=\"btn btn-icon form-control-feedback clear-btn\" [ngClass]=\"{'show-btn': isQueryEntered()}\" (click)=\"clearSearch($event, true)\"><i class=\"app-icon {{clearsearchiconclass}}\"></i></button>\n <span class=\"sr-only\">Clear button</span>\n <span *ngIf=\"showsearchicon\" [ngClass]=\"{'disabled': disabled}\" class=\"input-group-addon\">\n <form>\n <button title=\"Search\" [disabled]=\"disabled\" class=\"app-search-button btn btn-icon\" type=\"submit\"\n (click)=\"onSearchSelect($event)\">\n <i class=\"app-icon {{searchiconclass}}\"></i></button>\n </form>\n </span>\n</ng-template>\n" }]
|
|
1209
1213
|
}], () => [{ type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: undefined, decorators: [{
|
|
1210
1214
|
type: i0.Attribute,
|
|
1211
1215
|
args: ['datavalue.bind']
|
|
@@ -1291,7 +1295,7 @@
|
|
|
1291
1295
|
i3.TypeaheadModule,
|
|
1292
1296
|
i4.WmComponentsModule], exports: [SearchComponent,
|
|
1293
1297
|
ScrollableDirective] }); })();
|
|
1294
|
-
i0__namespace.ɵɵsetComponentScope(SearchComponent, [i1$1__namespace.NgClass, i1$1__namespace.NgTemplateOutlet, i2__namespace.ɵNgNoValidate, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.NgControlStatusGroup, i2__namespace.NgModel, i2__namespace.NgForm, i3__namespace.TypeaheadDirective, i4__namespace.ItemTemplateDirective, i4__namespace.PartialParamHandlerDirective, i4__namespace.PartialContainerDirective, i4__namespace.TextContentDirective, ScrollableDirective], []);
|
|
1298
|
+
i0__namespace.ɵɵsetComponentScope(SearchComponent, [i1$1__namespace.NgClass, i1$1__namespace.NgForOf, i1$1__namespace.NgIf, i1$1__namespace.NgTemplateOutlet, i2__namespace.ɵNgNoValidate, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.NgControlStatusGroup, i2__namespace.NgModel, i2__namespace.NgForm, i3__namespace.TypeaheadDirective, i4__namespace.ItemTemplateDirective, i4__namespace.PartialParamHandlerDirective, i4__namespace.PartialContainerDirective, i4__namespace.TextContentDirective, ScrollableDirective], []);
|
|
1295
1299
|
|
|
1296
1300
|
exports.ScrollableDirective = ScrollableDirective;
|
|
1297
1301
|
exports.SearchComponent = SearchComponent;
|