@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@wm/components/base'), require('lodash-es'), require('@angular/common/http'), require('@awesome-cordova-plugins/file/ngx'), require('@awesome-cordova-plugins/file-opener/ngx'), require('@wm/core'), require('@wm/mobile/core'), require('@angular/common'), require('@wm/components/basic/progress')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@wm/components/base', 'lodash-es', '@angular/common/http', '@awesome-cordova-plugins/file/ngx', '@awesome-cordova-plugins/file-opener/ngx', '@wm/core', '@wm/mobile/core', '@angular/common', '@wm/components/basic/progress'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.mobile = global.wm.mobile || {}, global.wm.mobile.components = global.wm.mobile.components || {}, global.wm.mobile.components.basic = {}), global.ng.core, global.wm.components.base, global._, global.ng.common.http, global.awesomeCordova.plugins, global.awesomeCordova.plugins, global.wm.core, global.wm.mobile.core, global.ng.common, global.wm.components.basic.progress));
|
|
5
|
-
})(this, (function (exports, i0, i5, lodashEs, i4, i2, i3, i1$1, i1,
|
|
5
|
+
})(this, (function (exports, i0, i5, lodashEs, i4, i2, i3, i1$1, i1, i3$1, i2$1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
29
29
|
var i1$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1$1);
|
|
30
30
|
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
31
|
-
var
|
|
31
|
+
var i3$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i3$1);
|
|
32
32
|
var i2$1__namespace = /*#__PURE__*/_interopNamespaceDefault(i2$1);
|
|
33
33
|
|
|
34
34
|
class AnchorDirective {
|
|
@@ -176,22 +176,22 @@
|
|
|
176
176
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(AppUpdateComponent, { className: "AppUpdateComponent", filePath: "app-update/app-update.component.ts", lineNumber: 20 }); })();
|
|
177
177
|
|
|
178
178
|
const _c0$2 = ["wmMobileFileBrowser", ""];
|
|
179
|
-
function
|
|
180
|
-
i0__namespace.ɵɵelement(0, "i",
|
|
179
|
+
function FileBrowserComponent_div_0_div_13_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
180
|
+
i0__namespace.ɵɵelement(0, "i", 22);
|
|
181
181
|
} }
|
|
182
|
-
function
|
|
182
|
+
function FileBrowserComponent_div_0_div_13_i_3_Template(rf, ctx) { if (rf & 1) {
|
|
183
183
|
i0__namespace.ɵɵelement(0, "i");
|
|
184
184
|
} if (rf & 2) {
|
|
185
185
|
const file_r4 = i0__namespace.ɵɵnextContext().$implicit;
|
|
186
186
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
187
187
|
i0__namespace.ɵɵclassMapInterpolate1("file-icon wi wi-file ", ctx_r1.getFileExtension(file_r4.name), "");
|
|
188
188
|
} }
|
|
189
|
-
function
|
|
189
|
+
function FileBrowserComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
190
190
|
const _r3 = i0__namespace.ɵɵgetCurrentView();
|
|
191
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
192
|
-
i0__namespace.ɵɵlistener("click", function
|
|
193
|
-
i0__namespace.ɵɵtemplate(2,
|
|
194
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
191
|
+
i0__namespace.ɵɵelementStart(0, "div", 17)(1, "div", 18);
|
|
192
|
+
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_div_13_Template_div_click_1_listener() { const file_r4 = i0__namespace.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onFileClick(file_r4)); });
|
|
193
|
+
i0__namespace.ɵɵtemplate(2, FileBrowserComponent_div_0_div_13_i_2_Template, 1, 0, "i", 19)(3, FileBrowserComponent_div_0_div_13_i_3_Template, 1, 3, "i", 20);
|
|
194
|
+
i0__namespace.ɵɵelementStart(4, "span", 21);
|
|
195
195
|
i0__namespace.ɵɵtext(5);
|
|
196
196
|
i0__namespace.ɵɵelementEnd()()();
|
|
197
197
|
} if (rf & 2) {
|
|
@@ -199,18 +199,18 @@
|
|
|
199
199
|
i0__namespace.ɵɵadvance();
|
|
200
200
|
i0__namespace.ɵɵclassProp("bg-primary", file_r4.isSelected);
|
|
201
201
|
i0__namespace.ɵɵadvance();
|
|
202
|
-
i0__namespace.ɵɵ
|
|
202
|
+
i0__namespace.ɵɵproperty("ngIf", !file_r4.isFile);
|
|
203
203
|
i0__namespace.ɵɵadvance();
|
|
204
|
-
i0__namespace.ɵɵ
|
|
204
|
+
i0__namespace.ɵɵproperty("ngIf", file_r4.isFile);
|
|
205
205
|
i0__namespace.ɵɵadvance(2);
|
|
206
206
|
i0__namespace.ɵɵtextInterpolate(file_r4.name);
|
|
207
207
|
} }
|
|
208
|
-
function
|
|
208
|
+
function FileBrowserComponent_div_0_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
209
209
|
const _r5 = i0__namespace.ɵɵgetCurrentView();
|
|
210
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
211
|
-
i0__namespace.ɵɵlistener("click", function
|
|
210
|
+
i0__namespace.ɵɵelementStart(0, "button", 23);
|
|
211
|
+
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_button_15_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.submit()); });
|
|
212
212
|
i0__namespace.ɵɵtext(1, " Done ");
|
|
213
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
213
|
+
i0__namespace.ɵɵelementStart(2, "span", 24);
|
|
214
214
|
i0__namespace.ɵɵtext(3);
|
|
215
215
|
i0__namespace.ɵɵelementEnd()();
|
|
216
216
|
} if (rf & 2) {
|
|
@@ -218,28 +218,28 @@
|
|
|
218
218
|
i0__namespace.ɵɵadvance(3);
|
|
219
219
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.selectedFiles.length);
|
|
220
220
|
} }
|
|
221
|
-
function
|
|
221
|
+
function FileBrowserComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
222
222
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
223
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
224
|
-
i0__namespace.ɵɵelement(1, "div",
|
|
225
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
226
|
-
i0__namespace.ɵɵlistener("click", function
|
|
227
|
-
i0__namespace.ɵɵelement(8, "i",
|
|
223
|
+
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
224
|
+
i0__namespace.ɵɵelement(1, "div", 2);
|
|
225
|
+
i0__namespace.ɵɵelementStart(2, "div", 3)(3, "div", 4)(4, "div", 5)(5, "div", 6)(6, "h4", 7)(7, "span", 8);
|
|
226
|
+
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_span_click_7_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onFileClick(ctx_r1.currentFolder.parent)); });
|
|
227
|
+
i0__namespace.ɵɵelement(8, "i", 9);
|
|
228
228
|
i0__namespace.ɵɵelementEnd();
|
|
229
229
|
i0__namespace.ɵɵtext(9);
|
|
230
230
|
i0__namespace.ɵɵelementEnd();
|
|
231
|
-
i0__namespace.ɵɵelementStart(10, "div",
|
|
232
|
-
i0__namespace.ɵɵlistener("click", function
|
|
233
|
-
i0__namespace.ɵɵelement(11, "i",
|
|
231
|
+
i0__namespace.ɵɵelementStart(10, "div", 10);
|
|
232
|
+
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_div_click_10_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.refreshFolder()); });
|
|
233
|
+
i0__namespace.ɵɵelement(11, "i", 11);
|
|
234
234
|
i0__namespace.ɵɵelementEnd()();
|
|
235
|
-
i0__namespace.ɵɵelementStart(12, "div",
|
|
236
|
-
i0__namespace.ɵɵ
|
|
235
|
+
i0__namespace.ɵɵelementStart(12, "div", 12);
|
|
236
|
+
i0__namespace.ɵɵtemplate(13, FileBrowserComponent_div_0_div_13_Template, 6, 5, "div", 13);
|
|
237
237
|
i0__namespace.ɵɵelementEnd();
|
|
238
|
-
i0__namespace.ɵɵelementStart(
|
|
239
|
-
i0__namespace.ɵɵtemplate(
|
|
240
|
-
i0__namespace.ɵɵelementStart(
|
|
241
|
-
i0__namespace.ɵɵlistener("click", function
|
|
242
|
-
i0__namespace.ɵɵtext(
|
|
238
|
+
i0__namespace.ɵɵelementStart(14, "div", 14);
|
|
239
|
+
i0__namespace.ɵɵtemplate(15, FileBrowserComponent_div_0_button_15_Template, 4, 1, "button", 15);
|
|
240
|
+
i0__namespace.ɵɵelementStart(16, "button", 16);
|
|
241
|
+
i0__namespace.ɵɵlistener("click", function FileBrowserComponent_div_0_Template_button_click_16_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.show = false); });
|
|
242
|
+
i0__namespace.ɵɵtext(17, "Close");
|
|
243
243
|
i0__namespace.ɵɵelementEnd()()()()()();
|
|
244
244
|
} if (rf & 2) {
|
|
245
245
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
@@ -252,9 +252,9 @@
|
|
|
252
252
|
i0__namespace.ɵɵadvance(2);
|
|
253
253
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.currentFolder.name, " ");
|
|
254
254
|
i0__namespace.ɵɵadvance(4);
|
|
255
|
-
i0__namespace.ɵɵ
|
|
256
|
-
i0__namespace.ɵɵadvance(
|
|
257
|
-
i0__namespace.ɵɵ
|
|
255
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r1.currentFolder.files);
|
|
256
|
+
i0__namespace.ɵɵadvance(2);
|
|
257
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r1.selectedFiles && ctx_r1.selectedFiles.length > 0);
|
|
258
258
|
} }
|
|
259
259
|
class FileBrowserComponent {
|
|
260
260
|
constructor(deviceService) {
|
|
@@ -385,15 +385,15 @@
|
|
|
385
385
|
file.isSelected = true;
|
|
386
386
|
}
|
|
387
387
|
static { this.ɵfac = function FileBrowserComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileBrowserComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.DeviceService)); }; }
|
|
388
|
-
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FileBrowserComponent, selectors: [["", "wmMobileFileBrowser", ""]], inputs: { fileTypeToSelect: "fileTypeToSelect", multiple: "multiple" }, outputs: { submitEmitter: "submit" }, attrs: _c0$2, decls: 1, vars: 1, consts: [[1, "app-file-browser"], [1, "modal-backdrop", "fade"], [1, "modal", "fade", 2, "display", "block"], [1, "modal-dialog"], [1, "modal-content"], [1, "modal-header", "clearfix"], [1, "modal-title", "pull-left"], [3, "click", "hidden"], [1, "wi", "wi-long-arrow-left"], [1, "selected-file-button", "pull-right", 3, "click"], [1, "wi", "wi-refresh"], [1, "modal-body"], [
|
|
389
|
-
i0__namespace.ɵɵtemplate(0,
|
|
388
|
+
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FileBrowserComponent, selectors: [["", "wmMobileFileBrowser", ""]], inputs: { fileTypeToSelect: "fileTypeToSelect", multiple: "multiple" }, outputs: { submitEmitter: "submit" }, attrs: _c0$2, decls: 1, vars: 1, consts: [["class", "app-file-browser", 4, "ngIf"], [1, "app-file-browser"], [1, "modal-backdrop", "fade"], [1, "modal", "fade", 2, "display", "block"], [1, "modal-dialog"], [1, "modal-content"], [1, "modal-header", "clearfix"], [1, "modal-title", "pull-left"], [3, "click", "hidden"], [1, "wi", "wi-long-arrow-left"], [1, "selected-file-button", "pull-right", 3, "click"], [1, "wi", "wi-refresh"], [1, "modal-body"], ["class", "file-info-box", 4, "ngFor", "ngForOf"], [1, "modal-footer"], ["type", "button", "class", "btn btn-primary", 3, "click", 4, "ngIf"], ["type", "button", 1, "btn", "btn-default", 3, "click"], [1, "file-info-box"], [1, "file-info", 3, "click"], ["class", "file-icon wi wi-folder", 4, "ngIf"], [3, "class", 4, "ngIf"], [1, "file-name"], [1, "file-icon", "wi", "wi-folder"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], [1, "badge", "badge-light"]], template: function FileBrowserComponent_Template(rf, ctx) { if (rf & 1) {
|
|
389
|
+
i0__namespace.ɵɵtemplate(0, FileBrowserComponent_div_0_Template, 18, 8, "div", 0);
|
|
390
390
|
} if (rf & 2) {
|
|
391
|
-
i0__namespace.ɵɵ
|
|
392
|
-
} }, encapsulation: 2 }); }
|
|
391
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.isVisible && ctx.currentFolder);
|
|
392
|
+
} }, dependencies: [i3$1__namespace.NgForOf, i3$1__namespace.NgIf], encapsulation: 2 }); }
|
|
393
393
|
}
|
|
394
394
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FileBrowserComponent, [{
|
|
395
395
|
type: i0.Component,
|
|
396
|
-
args: [{ selector: '[wmMobileFileBrowser]', template: "
|
|
396
|
+
args: [{ selector: '[wmMobileFileBrowser]', template: "<div class=\"app-file-browser\" *ngIf=\"isVisible && currentFolder\">\n <div class=\"modal-backdrop fade\" [class.in]=\"isVisible\"></div>\n <div class=\"modal fade\" style=\"display: block;\" [class.in]=\"isVisible\" >\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header clearfix\">\n <h4 class=\"modal-title pull-left\">\n <span (click)=\"onFileClick(currentFolder.parent)\" [hidden]=\"!!!currentFolder.parent\">\n <i class=\"wi wi-long-arrow-left\"></i>\n </span>\n {{currentFolder.name}}\n </h4>\n <div class=\"selected-file-button pull-right\" (click)=\"refreshFolder()\">\n <i class=\"wi wi-refresh\"></i>\n </div>\n </div>\n <div class=\"modal-body\">\n <div class=\"file-info-box\" *ngFor=\"let file of currentFolder.files\">\n <div class=\"file-info\" [class.bg-primary]=\"file.isSelected\" (click)=\"onFileClick(file)\">\n <i class=\"file-icon wi wi-folder\" *ngIf=\"!file.isFile\"></i>\n <i class=\"file-icon wi wi-file {{getFileExtension(file.name)}}\" *ngIf=\"file.isFile\"></i>\n <span class=\"file-name\">{{file.name}}</span>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"selectedFiles && selectedFiles.length > 0\" (click)=\"submit()\">\n Done <span class=\"badge badge-light\">{{selectedFiles.length}}</span>\n </button>\n <button type=\"button\" class=\"btn btn-default\" (click)=\"show = false;\">Close</button>\n </div>\n </div>\n </div>\n </div>\n</div>" }]
|
|
397
397
|
}], () => [{ type: i1__namespace.DeviceService }], { fileTypeToSelect: [{
|
|
398
398
|
type: i0.Input
|
|
399
399
|
}], multiple: [{
|
|
@@ -541,12 +541,12 @@
|
|
|
541
541
|
};
|
|
542
542
|
|
|
543
543
|
const _c0$1 = ["wmNetworkInfoToaster", ""];
|
|
544
|
-
function
|
|
544
|
+
function NetworkInfoToasterComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
545
545
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
546
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
547
|
-
i0__namespace.ɵɵelement(1, "label",
|
|
548
|
-
i0__namespace.ɵɵelementStart(2, "button",
|
|
549
|
-
i0__namespace.ɵɵlistener("click", function
|
|
546
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
547
|
+
i0__namespace.ɵɵelement(1, "label", 4);
|
|
548
|
+
i0__namespace.ɵɵelementStart(2, "button", 5);
|
|
549
|
+
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_1_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.hideMessage()); });
|
|
550
550
|
i0__namespace.ɵɵelementEnd()();
|
|
551
551
|
} if (rf & 2) {
|
|
552
552
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -555,12 +555,12 @@
|
|
|
555
555
|
i0__namespace.ɵɵadvance();
|
|
556
556
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
|
|
557
557
|
} }
|
|
558
|
-
function
|
|
558
|
+
function NetworkInfoToasterComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
559
559
|
const _r3 = i0__namespace.ɵɵgetCurrentView();
|
|
560
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
561
|
-
i0__namespace.ɵɵelement(1, "label",
|
|
562
|
-
i0__namespace.ɵɵelementStart(2, "button",
|
|
563
|
-
i0__namespace.ɵɵlistener("click", function
|
|
560
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
561
|
+
i0__namespace.ɵɵelement(1, "label", 4);
|
|
562
|
+
i0__namespace.ɵɵelementStart(2, "button", 5);
|
|
563
|
+
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_2_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.hideMessage()); });
|
|
564
564
|
i0__namespace.ɵɵelementEnd()();
|
|
565
565
|
} if (rf & 2) {
|
|
566
566
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -569,15 +569,15 @@
|
|
|
569
569
|
i0__namespace.ɵɵadvance();
|
|
570
570
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_HIDE_NETWORK_INFO);
|
|
571
571
|
} }
|
|
572
|
-
function
|
|
572
|
+
function NetworkInfoToasterComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
573
573
|
const _r4 = i0__namespace.ɵɵgetCurrentView();
|
|
574
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
575
|
-
i0__namespace.ɵɵelement(1, "label",
|
|
576
|
-
i0__namespace.ɵɵelementStart(2, "button",
|
|
577
|
-
i0__namespace.ɵɵlistener("click", function
|
|
574
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
575
|
+
i0__namespace.ɵɵelement(1, "label", 4);
|
|
576
|
+
i0__namespace.ɵɵelementStart(2, "button", 5);
|
|
577
|
+
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_3_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.hideMessage()); });
|
|
578
578
|
i0__namespace.ɵɵelementEnd();
|
|
579
|
-
i0__namespace.ɵɵelementStart(3, "button",
|
|
580
|
-
i0__namespace.ɵɵlistener("click", function
|
|
579
|
+
i0__namespace.ɵɵelementStart(3, "button", 6);
|
|
580
|
+
i0__namespace.ɵɵlistener("click", function NetworkInfoToasterComponent_div_0_div_3_Template_button_click_3_listener() { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.connect()); });
|
|
581
581
|
i0__namespace.ɵɵelementEnd()();
|
|
582
582
|
} if (rf & 2) {
|
|
583
583
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -588,33 +588,41 @@
|
|
|
588
588
|
i0__namespace.ɵɵadvance();
|
|
589
589
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.LABEL_CONNECT_TO_SERVICE);
|
|
590
590
|
} }
|
|
591
|
-
function
|
|
592
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
593
|
-
i0__namespace.ɵɵelement(1, "label",
|
|
591
|
+
function NetworkInfoToasterComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
592
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
593
|
+
i0__namespace.ɵɵelement(1, "label", 4);
|
|
594
594
|
i0__namespace.ɵɵelementEnd();
|
|
595
595
|
} if (rf & 2) {
|
|
596
596
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
597
597
|
i0__namespace.ɵɵadvance();
|
|
598
598
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_CONNECTING);
|
|
599
599
|
} }
|
|
600
|
-
function
|
|
601
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
602
|
-
i0__namespace.ɵɵelement(1, "label",
|
|
600
|
+
function NetworkInfoToasterComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
601
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
602
|
+
i0__namespace.ɵɵelement(1, "label", 4);
|
|
603
603
|
i0__namespace.ɵɵelementEnd();
|
|
604
604
|
} if (rf & 2) {
|
|
605
605
|
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
606
606
|
i0__namespace.ɵɵadvance();
|
|
607
607
|
i0__namespace.ɵɵproperty("textContent", ctx_r1.appLocale.MESSAGE_SERVICE_CONNECTED);
|
|
608
608
|
} }
|
|
609
|
-
function
|
|
610
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
611
|
-
i0__namespace.ɵɵtemplate(1,
|
|
609
|
+
function NetworkInfoToasterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
610
|
+
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
611
|
+
i0__namespace.ɵɵtemplate(1, NetworkInfoToasterComponent_div_0_div_1_Template, 3, 2, "div", 2)(2, NetworkInfoToasterComponent_div_0_div_2_Template, 3, 2, "div", 2)(3, NetworkInfoToasterComponent_div_0_div_3_Template, 4, 3, "div", 2)(4, NetworkInfoToasterComponent_div_0_div_4_Template, 2, 1, "div", 2)(5, NetworkInfoToasterComponent_div_0_div_5_Template, 2, 1, "div", 2);
|
|
612
612
|
i0__namespace.ɵɵelementEnd();
|
|
613
613
|
} if (rf & 2) {
|
|
614
|
-
let tmp_1_0;
|
|
615
614
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
615
|
+
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.networkState);
|
|
616
616
|
i0__namespace.ɵɵadvance();
|
|
617
|
-
i0__namespace.ɵɵ
|
|
617
|
+
i0__namespace.ɵɵproperty("ngSwitchCase", -3);
|
|
618
|
+
i0__namespace.ɵɵadvance();
|
|
619
|
+
i0__namespace.ɵɵproperty("ngSwitchCase", -2);
|
|
620
|
+
i0__namespace.ɵɵadvance();
|
|
621
|
+
i0__namespace.ɵɵproperty("ngSwitchCase", -1);
|
|
622
|
+
i0__namespace.ɵɵadvance();
|
|
623
|
+
i0__namespace.ɵɵproperty("ngSwitchCase", 0);
|
|
624
|
+
i0__namespace.ɵɵadvance();
|
|
625
|
+
i0__namespace.ɵɵproperty("ngSwitchCase", 1);
|
|
618
626
|
} }
|
|
619
627
|
const DEFAULT_CLS = 'network-info-toaster';
|
|
620
628
|
const WIDGET_CONFIG = { widgetType: 'wm-network-info-toaster', hostClass: DEFAULT_CLS };
|
|
@@ -686,17 +694,17 @@
|
|
|
686
694
|
static { this.ɵfac = function NetworkInfoToasterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NetworkInfoToasterComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.NetworkService), i0__namespace.ɵɵdirectiveInject(i1$1__namespace.App), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
687
695
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: NetworkInfoToasterComponent, selectors: [["", "wmNetworkInfoToaster", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
688
696
|
i5.provideAsWidgetRef(NetworkInfoToasterComponent)
|
|
689
|
-
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [[1, "network-info-toaster-content"], [1, "info"], [1, "message", 3, "textContent"], [1, "btn", "btn-default", "hide-btn", 3, "click", "textContent"], [1, "btn", "btn-primary", "connect-btn", 3, "click", "textContent"]], template: function NetworkInfoToasterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
690
|
-
i0__namespace.ɵɵtemplate(0,
|
|
697
|
+
]), i0__namespace.ɵɵInheritDefinitionFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [["class", "network-info-toaster-content", 3, "ngSwitch", 4, "ngIf"], [1, "network-info-toaster-content", 3, "ngSwitch"], ["class", "info", 4, "ngSwitchCase"], [1, "info"], [1, "message", 3, "textContent"], [1, "btn", "btn-default", "hide-btn", 3, "click", "textContent"], [1, "btn", "btn-primary", "connect-btn", 3, "click", "textContent"]], template: function NetworkInfoToasterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
698
|
+
i0__namespace.ɵɵtemplate(0, NetworkInfoToasterComponent_div_0_Template, 6, 6, "div", 0);
|
|
691
699
|
} if (rf & 2) {
|
|
692
|
-
i0__namespace.ɵɵ
|
|
693
|
-
} }, dependencies: [i5__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
700
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.showMessage);
|
|
701
|
+
} }, dependencies: [i3$1__namespace.NgIf, i3$1__namespace.NgSwitch, i3$1__namespace.NgSwitchCase, i5__namespace.TextContentDirective], encapsulation: 2 }); }
|
|
694
702
|
}
|
|
695
703
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NetworkInfoToasterComponent, [{
|
|
696
704
|
type: i0.Component,
|
|
697
705
|
args: [{ selector: '[wmNetworkInfoToaster]', providers: [
|
|
698
706
|
i5.provideAsWidgetRef(NetworkInfoToasterComponent)
|
|
699
|
-
], template: "
|
|
707
|
+
], template: "<div class=\"network-info-toaster-content\" [ngSwitch]=\"networkState\" *ngIf=\"showMessage\">\n <div class=\"info\" *ngSwitchCase=\"-3\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_NETWORK_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"-2\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_NOT_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"-1\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_AVAILABLE\"></label>\n <button class=\"btn btn-default hide-btn\" (click)=\"hideMessage()\" [textContent]=\"appLocale.LABEL_HIDE_NETWORK_INFO\"></button>\n <button class=\"btn btn-primary connect-btn\" (click)=\"connect()\" [textContent]=\"appLocale.LABEL_CONNECT_TO_SERVICE\"></button>\n </div>\n <div class=\"info\" *ngSwitchCase=\"0\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTING\"></label>\n </div>\n <div class=\"info\" *ngSwitchCase=\"1\">\n <label class=\"message\" [textContent]=\"appLocale.MESSAGE_SERVICE_CONNECTED\"></label>\n </div>\n</div>" }]
|
|
700
708
|
}], () => [{ type: i1__namespace.NetworkService }, { type: i1$1__namespace.App }, { type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
701
709
|
type: i0.Inject,
|
|
702
710
|
args: ['EXPLICIT_CONTEXT']
|
|
@@ -707,11 +715,11 @@
|
|
|
707
715
|
|
|
708
716
|
const _c0 = ["wmProcessManager", ""];
|
|
709
717
|
const _c1 = a0 => ({ instance: a0 });
|
|
710
|
-
function
|
|
711
|
-
function
|
|
718
|
+
function ProcessManagerComponent_ng_container_0_li_4_ng_template_8_Template(rf, ctx) { }
|
|
719
|
+
function ProcessManagerComponent_ng_container_0_li_4_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
712
720
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
713
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
714
|
-
i0__namespace.ɵɵlistener("click", function
|
|
721
|
+
i0__namespace.ɵɵelementStart(0, "button", 16);
|
|
722
|
+
i0__namespace.ɵɵlistener("click", function ProcessManagerComponent_ng_container_0_li_4_button_9_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r1); const instance_r2 = i0__namespace.ɵɵnextContext().$implicit; return i0__namespace.ɵɵresetView(instance_r2.onStop()); });
|
|
715
723
|
i0__namespace.ɵɵtext(1);
|
|
716
724
|
i0__namespace.ɵɵelementEnd();
|
|
717
725
|
} if (rf & 2) {
|
|
@@ -719,15 +727,15 @@
|
|
|
719
727
|
i0__namespace.ɵɵadvance();
|
|
720
728
|
i0__namespace.ɵɵtextInterpolate1(" ", instance_r2.stopButtonLabel, " ");
|
|
721
729
|
} }
|
|
722
|
-
function
|
|
723
|
-
i0__namespace.ɵɵelementStart(0, "li",
|
|
730
|
+
function ProcessManagerComponent_ng_container_0_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
731
|
+
i0__namespace.ɵɵelementStart(0, "li", 7)(1, "div", 8)(2, "div", 9)(3, "label", 10);
|
|
724
732
|
i0__namespace.ɵɵtext(4);
|
|
725
733
|
i0__namespace.ɵɵelementEnd()();
|
|
726
|
-
i0__namespace.ɵɵelementStart(5, "div",
|
|
734
|
+
i0__namespace.ɵɵelementStart(5, "div", 11)(6, "label", 12);
|
|
727
735
|
i0__namespace.ɵɵtext(7);
|
|
728
736
|
i0__namespace.ɵɵelementEnd()()();
|
|
729
|
-
i0__namespace.ɵɵtemplate(8,
|
|
730
|
-
i0__namespace.ɵɵelement(10, "div",
|
|
737
|
+
i0__namespace.ɵɵtemplate(8, ProcessManagerComponent_ng_container_0_li_4_ng_template_8_Template, 0, 0, "ng-template", 13)(9, ProcessManagerComponent_ng_container_0_li_4_button_9_Template, 2, 1, "button", 14);
|
|
738
|
+
i0__namespace.ɵɵelement(10, "div", 15);
|
|
731
739
|
i0__namespace.ɵɵelementEnd();
|
|
732
740
|
} if (rf & 2) {
|
|
733
741
|
const instance_r2 = ctx.$implicit;
|
|
@@ -740,10 +748,10 @@
|
|
|
740
748
|
i0__namespace.ɵɵadvance();
|
|
741
749
|
i0__namespace.ɵɵproperty("ngTemplateOutlet", progressTemplate_r3)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(5, _c1, instance_r2));
|
|
742
750
|
i0__namespace.ɵɵadvance();
|
|
743
|
-
i0__namespace.ɵɵ
|
|
751
|
+
i0__namespace.ɵɵproperty("ngIf", instance_r2.onStop);
|
|
744
752
|
} }
|
|
745
|
-
function
|
|
746
|
-
i0__namespace.ɵɵelementStart(0, "li",
|
|
753
|
+
function ProcessManagerComponent_ng_container_0_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
754
|
+
i0__namespace.ɵɵelementStart(0, "li", 7)(1, "label", 17);
|
|
747
755
|
i0__namespace.ɵɵtext(2);
|
|
748
756
|
i0__namespace.ɵɵelementEnd()();
|
|
749
757
|
} if (rf & 2) {
|
|
@@ -751,20 +759,21 @@
|
|
|
751
759
|
i0__namespace.ɵɵadvance(2);
|
|
752
760
|
i0__namespace.ɵɵtextInterpolate1(" (", ctx_r3.queue.length, ") queued ");
|
|
753
761
|
} }
|
|
754
|
-
function
|
|
755
|
-
i0__namespace.ɵɵ
|
|
756
|
-
i0__namespace.ɵɵ
|
|
757
|
-
i0__namespace.ɵɵtemplate(5,
|
|
762
|
+
function ProcessManagerComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
763
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
764
|
+
i0__namespace.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "ul", 4);
|
|
765
|
+
i0__namespace.ɵɵtemplate(4, ProcessManagerComponent_ng_container_0_li_4_Template, 11, 7, "li", 5)(5, ProcessManagerComponent_ng_container_0_li_5_Template, 3, 1, "li", 6);
|
|
758
766
|
i0__namespace.ɵɵelementEnd()()();
|
|
767
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
759
768
|
} if (rf & 2) {
|
|
760
769
|
const ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
761
|
-
i0__namespace.ɵɵadvance(
|
|
762
|
-
i0__namespace.ɵɵ
|
|
763
|
-
i0__namespace.ɵɵadvance(
|
|
764
|
-
i0__namespace.ɵɵ
|
|
770
|
+
i0__namespace.ɵɵadvance(4);
|
|
771
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.getVisibleInstances(ctx_r3.instances));
|
|
772
|
+
i0__namespace.ɵɵadvance();
|
|
773
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r3.queue.length > 0);
|
|
765
774
|
} }
|
|
766
775
|
function ProcessManagerComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
767
|
-
i0__namespace.ɵɵelement(0, "div",
|
|
776
|
+
i0__namespace.ɵɵelement(0, "div", 18);
|
|
768
777
|
} }
|
|
769
778
|
const MAX_PROCESS = 3;
|
|
770
779
|
class ProcessManagerComponent {
|
|
@@ -858,17 +867,17 @@
|
|
|
858
867
|
static { this.ɵfac = function ProcessManagerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProcessManagerComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); }; }
|
|
859
868
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: ProcessManagerComponent, selectors: [["", "wmProcessManager", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
860
869
|
i5.provideAsWidgetRef(ProcessManagerComponent)
|
|
861
|
-
])], attrs: _c0, decls: 3, vars: 1, consts: [["progressTemplate", ""], [1, "modal-dialog", "app-dialog"], [1, "modal-content"], [1, "instance-list", "list-unstyled"], [1, "instance-list-item"], [1, "row"], [1, "col-xs-8"], [1, "app-global-progress-bar-name", "h6"], [1, "col-xs-4", "app-global-progress-bar-progress-label-col"], [1, "app-global-progress-bar-progress-label", "h6"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [
|
|
862
|
-
i0__namespace.ɵɵtemplate(0,
|
|
870
|
+
])], attrs: _c0, decls: 3, vars: 1, consts: [["progressTemplate", ""], [4, "ngIf"], [1, "modal-dialog", "app-dialog"], [1, "modal-content"], [1, "instance-list", "list-unstyled"], ["class", "instance-list-item", 4, "ngFor", "ngForOf"], ["class", "instance-list-item", 4, "ngIf"], [1, "instance-list-item"], [1, "row"], [1, "col-xs-8"], [1, "app-global-progress-bar-name", "h6"], [1, "col-xs-4", "app-global-progress-bar-progress-label-col"], [1, "app-global-progress-bar-progress-label", "h6"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "btn btn-secondary pull-right stop-btn", 3, "click", 4, "ngIf"], [2, "clear", "both"], [1, "btn", "btn-secondary", "pull-right", "stop-btn", 3, "click"], [1, "global-progress-bar-ui-primary-label", "h6"], ["wmProgressBar", "", "minvalue.bind", "instance.min", "maxvalue.bind", "instance.max", "datavalue.bind", "instance.value"]], template: function ProcessManagerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
871
|
+
i0__namespace.ɵɵtemplate(0, ProcessManagerComponent_ng_container_0_Template, 6, 2, "ng-container", 1)(1, ProcessManagerComponent_ng_template_1_Template, 1, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
|
|
863
872
|
} if (rf & 2) {
|
|
864
|
-
i0__namespace.ɵɵ
|
|
865
|
-
} }, dependencies: [
|
|
873
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.instances.length > 0);
|
|
874
|
+
} }, dependencies: [i3$1__namespace.NgForOf, i3$1__namespace.NgIf, i3$1__namespace.NgTemplateOutlet, i2$1__namespace.ProgressBarComponent], encapsulation: 2 }); }
|
|
866
875
|
}
|
|
867
876
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ProcessManagerComponent, [{
|
|
868
877
|
type: i0.Component,
|
|
869
878
|
args: [{ selector: '[wmProcessManager]', providers: [
|
|
870
879
|
i5.provideAsWidgetRef(ProcessManagerComponent)
|
|
871
|
-
], template: "
|
|
880
|
+
], template: "<ng-container *ngIf=\"instances.length > 0\">\n <div class=\"modal-dialog app-dialog\">\n <div class=\"modal-content\">\n <ul class=\"instance-list list-unstyled\">\n <li *ngFor=\"let instance of getVisibleInstances(instances); index as i\" class=\"instance-list-item\">\n <div class=\"row\">\n <div class=\"col-xs-8\">\n <label class=\"app-global-progress-bar-name h6\">{{instance.name}}</label>\n </div>\n <div class=\"col-xs-4 app-global-progress-bar-progress-label-col\">\n <label class=\"app-global-progress-bar-progress-label h6\">\n {{instance.progressLabel}}</label>\n </div>\n </div>\n <ng-template [ngTemplateOutlet]=\"progressTemplate\" [ngTemplateOutletContext]=\"{instance: instance}\"></ng-template>\n <button class=\"btn btn-secondary pull-right stop-btn\" *ngIf=\"instance.onStop\" (click)=\"instance.onStop();\">\n {{instance.stopButtonLabel}}\n </button>\n <div style=\"clear: both;\"></div>\n </li>\n <li class=\"instance-list-item\" *ngIf=\"queue.length > 0\">\n <label class=\"global-progress-bar-ui-primary-label h6\">\n ({{queue.length}}) queued\n </label>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n<ng-template #progressTemplate let-instance=\"instance\">\n <div wmProgressBar minvalue.bind=\"instance.min\" maxvalue.bind=\"instance.max\" datavalue.bind=\"instance.value\"></div>\n</ng-template>" }]
|
|
872
881
|
}], () => [{ type: i0__namespace.ElementRef }], null); })();
|
|
873
882
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassDebugInfo(ProcessManagerComponent, { className: "ProcessManagerComponent", filePath: "process-manager/process-manager.component.ts", lineNumber: 33 }); })();
|
|
874
883
|
|
|
@@ -928,7 +937,7 @@
|
|
|
928
937
|
class BasicModule {
|
|
929
938
|
static { this.ɵfac = function BasicModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BasicModule)(); }; }
|
|
930
939
|
static { this.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: BasicModule }); }
|
|
931
|
-
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [
|
|
940
|
+
static { this.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [i3$1.CommonModule,
|
|
932
941
|
i2$1.ProgressModule,
|
|
933
942
|
i5.WmComponentsModule] }); }
|
|
934
943
|
}
|
|
@@ -936,7 +945,7 @@
|
|
|
936
945
|
type: i0.NgModule,
|
|
937
946
|
args: [{
|
|
938
947
|
imports: [
|
|
939
|
-
|
|
948
|
+
i3$1.CommonModule,
|
|
940
949
|
i2$1.ProgressModule,
|
|
941
950
|
i5.WmComponentsModule
|
|
942
951
|
],
|
|
@@ -949,7 +958,7 @@
|
|
|
949
958
|
FileBrowserComponent,
|
|
950
959
|
ImageCacheDirective,
|
|
951
960
|
NetworkInfoToasterComponent,
|
|
952
|
-
ProcessManagerComponent], imports: [
|
|
961
|
+
ProcessManagerComponent], imports: [i3$1.CommonModule,
|
|
953
962
|
i2$1.ProgressModule,
|
|
954
963
|
i5.WmComponentsModule], exports: [AnchorDirective,
|
|
955
964
|
AppUpdateComponent,
|