@microsoft/windows-admin-center-sdk 2.298.1 → 2.301.0
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/angular/assets/strings/cs-CZ/strings.json +1 -1
- package/angular/assets/strings/de-DE/strings.json +1 -1
- package/angular/assets/strings/es-ES/strings.json +1 -1
- package/angular/assets/strings/fr-FR/strings.json +1 -1
- package/angular/assets/strings/hu-HU/strings.json +1 -1
- package/angular/assets/strings/it-IT/strings.json +1 -1
- package/angular/assets/strings/ja-JP/strings.json +1 -1
- package/angular/assets/strings/ko-KR/strings.json +1 -1
- package/angular/assets/strings/nl-NL/strings.json +1 -1
- package/angular/assets/strings/pl-PL/strings.json +1 -1
- package/angular/assets/strings/pt-BR/strings.json +1 -1
- package/angular/assets/strings/pt-PT/strings.json +1 -1
- package/angular/assets/strings/ru-RU/strings.json +1 -1
- package/angular/assets/strings/strings.json +1 -1
- package/angular/assets/strings/sv-SE/strings.json +1 -1
- package/angular/assets/strings/tr-TR/strings.json +1 -1
- package/angular/assets/strings/zh-CN/strings.json +1 -1
- package/angular/assets/strings/zh-TW/strings.json +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js +239 -568
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.js.map +1 -1
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js +2 -2
- package/angular/bundles/microsoft-windows-admin-center-sdk-angular.umd.min.js.map +1 -1
- package/angular/esm2015/src/controls/actions/containers/action-bar/action-bar.component.js +2 -7
- package/angular/esm2015/src/controls/alert-bar/alert-bar.component.js +5 -5
- package/angular/esm2015/src/controls/common/base.component.js +1 -8
- package/angular/esm2015/src/controls/data-table/data-table.component.js +9 -39
- package/angular/esm2015/src/controls/form/form-field/checklist/checklist-form-field.component.js +8 -11
- package/angular/esm2015/src/controls/form/form-field/combobox/combobox-form-field.component.js +9 -8
- package/angular/esm2015/src/controls/form/form-field/file/file-form-field.component.js +2 -14
- package/angular/esm2015/src/controls/form/form-field/form-field.component.js +2 -9
- package/angular/esm2015/src/controls/layout/layout-definition.component.js +2 -9
- package/angular/esm2015/src/controls/layout/layout.component.js +2 -11
- package/angular/esm2015/src/controls/master-view/master-view.component.js +5 -32
- package/angular/esm2015/src/controls/page-alert-bar/models/index.js +1 -1
- package/angular/esm2015/src/controls/pivot/pivot-tab.component.js +1 -1
- package/angular/esm2015/src/controls/pivot/pivot.component.js +4 -21
- package/angular/esm2015/src/controls/property-grid/property-grid-item.component.js +2 -50
- package/angular/esm2015/src/controls/property-grid/property-grid.component.js +60 -73
- package/angular/esm2015/src/controls/property-grid/property-grid.module.js +1 -5
- package/angular/esm2015/src/controls/settings/common-settings/common-settings.component.js +70 -151
- package/angular/esm2015/src/controls/settings/settings.component.js +8 -48
- package/angular/esm2015/src/controls/settings/settings.module.js +9 -21
- package/angular/esm2015/src/controls/wizard/wizard.component.js +65 -55
- package/angular/esm2015/src/generated/strings.js +1 -1
- package/angular/esm2015/src/service/app-context.service.js +1 -3
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js +239 -545
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.js.map +1 -1
- package/angular/package.json +0 -2
- package/angular/src/controls/common/base.component.d.ts +0 -5
- package/angular/src/controls/data-table/data-table.component.d.ts +0 -15
- package/angular/src/controls/form/form-field/checklist/checklist-form-field.component.d.ts +0 -1
- package/angular/src/controls/form/form-field/file/file-form-field.component.d.ts +0 -4
- package/angular/src/controls/layout/layout-definition.component.d.ts +1 -6
- package/angular/src/controls/master-view/master-view.component.d.ts +2 -118
- package/angular/src/controls/page-alert-bar/models/index.d.ts +1 -1
- package/angular/src/controls/pivot/pivot-tab.component.d.ts +1 -0
- package/angular/src/controls/pivot/pivot.component.d.ts +0 -7
- package/angular/src/controls/property-grid/property-grid-item.component.d.ts +3 -53
- package/angular/src/controls/property-grid/property-grid.component.d.ts +2 -1
- package/angular/src/controls/property-grid/property-grid.module.d.ts +3 -4
- package/angular/src/controls/settings/common-settings/common-settings.component.d.ts +1 -32
- package/angular/src/controls/settings/settings.component.d.ts +1 -18
- package/angular/src/controls/settings/settings.module.d.ts +1 -3
- package/angular/src/generated/strings.d.ts +0 -3
- package/core/base/environment.d.ts +0 -10
- package/core/base/environment.js.map +1 -1
- package/core/data/gateway-connection.d.ts +0 -34
- package/core/data/gateway-connection.js +2 -59
- package/core/data/gateway-connection.js.map +1 -1
- package/core/data/node-connection.d.ts +0 -4
- package/core/data/node-connection.js.map +1 -1
- package/core/data/powershell.d.ts +0 -4
- package/core/data/powershell.js +0 -1
- package/core/data/powershell.js.map +1 -1
- package/core/diagnostics/sme-web-telemetry-models.d.ts +3 -20
- package/core/diagnostics/sme-web-telemetry-models.js +2 -6
- package/core/diagnostics/sme-web-telemetry-models.js.map +1 -1
- package/core/diagnostics/sme-web-telemetry.d.ts +1 -13
- package/core/diagnostics/sme-web-telemetry.js +11 -51
- package/core/diagnostics/sme-web-telemetry.js.map +1 -1
- package/core/generated/powershell-scripts.d.ts +0 -4
- package/core/generated/powershell-scripts.js +0 -4
- package/core/generated/powershell-scripts.js.map +1 -1
- package/core/index.d.ts +0 -2
- package/core/index.js +0 -1
- package/core/index.js.map +1 -1
- package/core/manifest/environment-modules.js +0 -10
- package/core/manifest/environment-modules.js.map +1 -1
- package/core/notification/powershell-notification.js +1 -1
- package/core/notification/powershell-notification.js.map +1 -1
- package/core/performance/performance-tracker.d.ts +0 -67
- package/core/performance/performance-tracker.js +4 -211
- package/core/performance/performance-tracker.js.map +1 -1
- package/core/rpc/credssp/rpc-credssp-model.d.ts +2 -27
- package/core/rpc/credssp/rpc-credssp-model.js +0 -10
- package/core/rpc/credssp/rpc-credssp-model.js.map +1 -1
- package/core/security/credssp-manager.d.ts +1 -15
- package/core/security/credssp-manager.js +0 -28
- package/core/security/credssp-manager.js.map +1 -1
- package/core/shared/gateway-inventory/gateway-inventory.d.ts +0 -10
- package/core/shared/gateway-inventory/gateway-inventory.js +0 -11
- package/core/shared/gateway-inventory/gateway-inventory.js.map +1 -1
- package/e2e/assets/strings/cs-CZ/strings.json +1 -1
- package/e2e/assets/strings/de-DE/strings.json +1 -1
- package/e2e/assets/strings/es-ES/strings.json +1 -1
- package/e2e/assets/strings/fr-FR/strings.json +1 -1
- package/e2e/assets/strings/hu-HU/strings.json +1 -1
- package/e2e/assets/strings/it-IT/strings.json +1 -1
- package/e2e/assets/strings/ja-JP/strings.json +1 -1
- package/e2e/assets/strings/ko-KR/strings.json +1 -1
- package/e2e/assets/strings/nl-NL/strings.json +1 -1
- package/e2e/assets/strings/pl-PL/strings.json +1 -1
- package/e2e/assets/strings/pt-BR/strings.json +1 -1
- package/e2e/assets/strings/pt-PT/strings.json +1 -1
- package/e2e/assets/strings/ru-RU/strings.json +1 -1
- package/e2e/assets/strings/strings.json +1 -1
- package/e2e/assets/strings/sv-SE/strings.json +1 -1
- package/e2e/assets/strings/tr-TR/strings.json +1 -1
- package/e2e/assets/strings/zh-CN/strings.json +1 -1
- package/e2e/assets/strings/zh-TW/strings.json +1 -1
- package/package.json +3 -5
- package/styles/css/main.css +1 -1
- package/tools/module-template/gulpfile.ts/index.ts +1 -1
- package/tools/package-lock.json +975 -14946
- package/tools/wac-cli/src/create/main.d.ts +3 -6
- package/tools/wac-cli/src/create/main.js +35 -87
- package/tools/wac-cli/src/create/main.js.map +1 -1
- package/tools/wac-cli/src/index.js +2 -2
- package/tools/wac-cli/src/index.js.map +1 -1
- package/tools/wac-cli/templates/{solution/manifest.json → manifest/solution-manifest.json} +0 -19
- package/tools/wac-cli/templates/{wac-template/src/manifest.json → manifest/tool-manifest.json} +0 -0
- package/tools/wac-cli/templates/wac-template/angular.json +2 -2
- package/tools/wac-cli/templates/wac-template/gulpfile.ts/config-data.ts +1 -1
- package/tools/wac-cli/templates/wac-template/package.json +8 -0
- package/tools/wac-cli/templates/wac-template/src/app/app-routing.module.ts +1 -1
- package/tools/wac-cli/templates/wac-template/src/main.ts +0 -2
- package/tools/wac-cli/templates/wac-template/src/polyfills.ts +1 -1
- package/tools/wac-cli/templates/wac-template/src/test.ts +2 -2
- package/core/data/gateway-status.d.ts +0 -24
- package/core/data/gateway-status.js +0 -3
- package/core/data/gateway-status.js.map +0 -1
- package/core/data/wdac-operations.d.ts +0 -123
- package/core/data/wdac-operations.js +0 -144
- package/core/data/wdac-operations.js.map +0 -1
- package/tools/wac-cli/templates/internal/npmrc.txt +0 -6
- package/tools/wac-cli/templates/internal/package.json +0 -101
- package/tools/wac-cli/templates/solution/strings.resjson +0 -16
- package/tools/wac-cli/templates/wac-template/src/version.ts +0 -3
- package/tools/wac-cli/templates/wac-template/version.json +0 -5
package/angular/package.json
CHANGED
|
@@ -64,11 +64,6 @@ export declare abstract class BaseComponent<TResourceStrings> extends NgLifecycl
|
|
|
64
64
|
* Derived classes are always expected to call super.getInitialHostClasses() when overriding
|
|
65
65
|
*/
|
|
66
66
|
protected getInitialHostClasses(): string[];
|
|
67
|
-
/**
|
|
68
|
-
* Shortcut to get an attribute on the host element
|
|
69
|
-
* @param name The name of the attribute
|
|
70
|
-
*/
|
|
71
|
-
protected getAttribute(name: string): string;
|
|
72
67
|
/**
|
|
73
68
|
* Shortcut to set an attribute on the host element
|
|
74
69
|
* @param name The name of the attribute
|
|
@@ -456,16 +456,6 @@ export declare class DataTableComponent extends CoreBaseComponent implements OnI
|
|
|
456
456
|
private getIsFocusingOutFromLastFormField;
|
|
457
457
|
handleRenderedItemRowFocusOut(renderedItem: DataTableRenderedItem): void;
|
|
458
458
|
shouldShowEditRow(renderedItem: DataTableRenderedItem): boolean;
|
|
459
|
-
/**
|
|
460
|
-
* Retrieves the text that should be associated with the aria-label for column sort order (if sortable).
|
|
461
|
-
* This label is utilized by screen readers for accessibility.
|
|
462
|
-
* If the current sort order is Ascending, the label will indicate a button icon is present to Descend order.
|
|
463
|
-
* If the current sort order is Descending, the label will indicate a button icon is present to Ascend order.
|
|
464
|
-
* If the current sort order is None, the label is null, and the screen reader will not read anything.
|
|
465
|
-
* @param column the table column
|
|
466
|
-
* @returns the text for the aria-label on the sort icon
|
|
467
|
-
*/
|
|
468
|
-
getSortLabel(column: DataTableColumnComponent): string;
|
|
469
459
|
/**
|
|
470
460
|
* It implements the AfterViewInit interface.
|
|
471
461
|
*/
|
|
@@ -651,11 +641,6 @@ export declare class DataTableComponent extends CoreBaseComponent implements OnI
|
|
|
651
641
|
private processColumnsMain;
|
|
652
642
|
private processActualColumns;
|
|
653
643
|
processColumnsByOrder(order: Array<string>): void;
|
|
654
|
-
/**
|
|
655
|
-
* Get the number of filtered items (if any) within the dataTable.
|
|
656
|
-
* @returns number of dataTable filtered items, zero if none.
|
|
657
|
-
*/
|
|
658
|
-
getNumberOfFilteredItems(): number;
|
|
659
644
|
/**
|
|
660
645
|
* This function is added from upgrading data table to support editable data table
|
|
661
646
|
* The idea is to use the data table's header width to be applied on the data table body columns.
|
|
@@ -53,7 +53,6 @@ export declare class ChecklistFormFieldComponent<TValue> extends SmeInternalOpti
|
|
|
53
53
|
* id values will be assigned be the @see BaseComponent super class.
|
|
54
54
|
*/
|
|
55
55
|
protected createIdBag(): MsftSme.StringMap<string>;
|
|
56
|
-
formatDataUtaId(option: string): string;
|
|
57
56
|
getCheckboxCount(index?: number): string;
|
|
58
57
|
/**
|
|
59
58
|
* Performs validation that is internal to this control
|
|
@@ -41,10 +41,6 @@ export declare class FileFormFieldComponent extends SmeInternalFormFieldComponen
|
|
|
41
41
|
* gets the file count label
|
|
42
42
|
*/
|
|
43
43
|
get fileCountLabel(): string;
|
|
44
|
-
/**
|
|
45
|
-
* gets aria-label text
|
|
46
|
-
*/
|
|
47
|
-
get ariaLabelText(): string;
|
|
48
44
|
/**
|
|
49
45
|
* Indicates if there are any files selected
|
|
50
46
|
*/
|
|
@@ -3,11 +3,6 @@ export declare class LayoutDefinitionComponent {
|
|
|
3
3
|
until: number;
|
|
4
4
|
columns: number;
|
|
5
5
|
name: string;
|
|
6
|
-
/**
|
|
7
|
-
* Setting addBottomPadding to True will add bottom padding to all layout-items,
|
|
8
|
-
* otherwise does NOT add bottom padding to any layout-items.
|
|
9
|
-
*/
|
|
10
|
-
addBottomPadding: boolean;
|
|
11
6
|
static ɵfac: i0.ɵɵFactoryDef<LayoutDefinitionComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDefWithMeta<LayoutDefinitionComponent, "sme-layout-definition", never, { "until": "until"; "columns": "columns"; "name": "name";
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<LayoutDefinitionComponent, "sme-layout-definition", never, { "until": "until"; "columns": "columns"; "name": "name"; }, {}, never, never>;
|
|
13
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, Injector, NgZone,
|
|
1
|
+
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, Injector, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActionBarComponent } from '../actions/containers/action-bar/action-bar.component';
|
|
3
3
|
import { CoreBaseComponent } from '../common/base.component';
|
|
4
4
|
import { DataTableComponent, TreeTableComponent } from '../data-table/data-table.component';
|
|
@@ -6,7 +6,7 @@ import { SearchFormFieldComponent } from '../form/form-field/search/search-form-
|
|
|
6
6
|
import { PivotComponent } from '../pivot/pivot.component';
|
|
7
7
|
import { SplitViewComponent } from '../split-view/split-view.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MasterViewComponent extends CoreBaseComponent implements AfterViewInit, DoCheck,
|
|
9
|
+
export declare class MasterViewComponent extends CoreBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
10
10
|
private ngZone;
|
|
11
11
|
private splitView;
|
|
12
12
|
private pivotComponent;
|
|
@@ -42,117 +42,6 @@ export declare class MasterViewComponent extends CoreBaseComponent implements Af
|
|
|
42
42
|
title: string;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
commonStrings: {
|
|
46
|
-
add: string;
|
|
47
|
-
apply: string;
|
|
48
|
-
back: string;
|
|
49
|
-
skip: string;
|
|
50
|
-
cancel: string;
|
|
51
|
-
close: string;
|
|
52
|
-
clear: string;
|
|
53
|
-
continue: string;
|
|
54
|
-
details: string;
|
|
55
|
-
disable: string;
|
|
56
|
-
disabled: string;
|
|
57
|
-
discard: string;
|
|
58
|
-
discarded: string;
|
|
59
|
-
enable: string;
|
|
60
|
-
enabled: string;
|
|
61
|
-
exit: string;
|
|
62
|
-
failed: string;
|
|
63
|
-
failure: string;
|
|
64
|
-
finish: string;
|
|
65
|
-
free: string;
|
|
66
|
-
inProgress: string;
|
|
67
|
-
message: string;
|
|
68
|
-
next: string;
|
|
69
|
-
no: string;
|
|
70
|
-
remove: string;
|
|
71
|
-
save: string;
|
|
72
|
-
search: string;
|
|
73
|
-
succeeded: string;
|
|
74
|
-
success: string;
|
|
75
|
-
submit: string;
|
|
76
|
-
total: string;
|
|
77
|
-
used: string;
|
|
78
|
-
yes: string;
|
|
79
|
-
more: string;
|
|
80
|
-
actions: string;
|
|
81
|
-
expand: string;
|
|
82
|
-
collapse: string;
|
|
83
|
-
on: string;
|
|
84
|
-
off: string;
|
|
85
|
-
reset: string;
|
|
86
|
-
none: string;
|
|
87
|
-
OK: {
|
|
88
|
-
affirmative: string;
|
|
89
|
-
state: string;
|
|
90
|
-
};
|
|
91
|
-
Capacity: {
|
|
92
|
-
criticalState: string;
|
|
93
|
-
warningState: string;
|
|
94
|
-
normalState: string;
|
|
95
|
-
};
|
|
96
|
-
Form: {
|
|
97
|
-
Validation: {
|
|
98
|
-
required: string;
|
|
99
|
-
UnknownFieldName: string;
|
|
100
|
-
IllegalNumber: string;
|
|
101
|
-
AlertTypes: {
|
|
102
|
-
error: string;
|
|
103
|
-
warn: string;
|
|
104
|
-
info: string;
|
|
105
|
-
success: string;
|
|
106
|
-
pending: string;
|
|
107
|
-
};
|
|
108
|
-
Min: {
|
|
109
|
-
format: string;
|
|
110
|
-
};
|
|
111
|
-
Max: {
|
|
112
|
-
format: string;
|
|
113
|
-
};
|
|
114
|
-
Required: {
|
|
115
|
-
format: string;
|
|
116
|
-
};
|
|
117
|
-
Email: {
|
|
118
|
-
format: string;
|
|
119
|
-
};
|
|
120
|
-
MinLength: {
|
|
121
|
-
format: string;
|
|
122
|
-
};
|
|
123
|
-
MaxLength: {
|
|
124
|
-
format: string;
|
|
125
|
-
};
|
|
126
|
-
Pattern: {
|
|
127
|
-
format: string;
|
|
128
|
-
};
|
|
129
|
-
Capslock: {
|
|
130
|
-
message: string;
|
|
131
|
-
};
|
|
132
|
-
isNumber: {
|
|
133
|
-
format: string;
|
|
134
|
-
};
|
|
135
|
-
MachineName: {
|
|
136
|
-
invalidCharacters: string;
|
|
137
|
-
invalidCharactersWithSpace: string;
|
|
138
|
-
whitespaceWillBeTrimmed: string;
|
|
139
|
-
noStartWithPeriod: string;
|
|
140
|
-
};
|
|
141
|
-
MatchField: {
|
|
142
|
-
noMatch: string;
|
|
143
|
-
};
|
|
144
|
-
Pending: {
|
|
145
|
-
message: string;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
Loading: {
|
|
149
|
-
message: string;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
InfoBubble: {
|
|
153
|
-
title: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
45
|
searchElement: SearchFormFieldComponent;
|
|
157
46
|
actionBarComponent: ActionBarComponent;
|
|
158
47
|
containerElement: ElementRef;
|
|
@@ -205,7 +94,6 @@ export declare class MasterViewComponent extends CoreBaseComponent implements Af
|
|
|
205
94
|
*/
|
|
206
95
|
ngAfterViewInit(): void;
|
|
207
96
|
ngOnInit(): void;
|
|
208
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
209
97
|
ngOnDestroy(): void;
|
|
210
98
|
updateLayout(): void;
|
|
211
99
|
ngDoCheck(): void;
|
|
@@ -219,10 +107,6 @@ export declare class MasterViewComponent extends CoreBaseComponent implements Af
|
|
|
219
107
|
* Update the action bar
|
|
220
108
|
*/
|
|
221
109
|
updateActionBar(): void;
|
|
222
|
-
/**
|
|
223
|
-
* Handles clicking on the refresh button
|
|
224
|
-
*/
|
|
225
|
-
refreshButtonClicked(): void;
|
|
226
110
|
private handleDetailPaneExpanding;
|
|
227
111
|
private ensureDataItemIsInViewport;
|
|
228
112
|
private setupDataTableAccessibility;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PageAlert, HealthAlertSeverity } from './page-alert';
|
|
@@ -96,10 +96,6 @@ export declare class PivotComponent extends CoreBaseComponent implements Layout,
|
|
|
96
96
|
* @param tab The tab to compare with
|
|
97
97
|
*/
|
|
98
98
|
isSelected(tab: PivotTabComponent): boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Force refresh for the pivot tabs.
|
|
101
|
-
*/
|
|
102
|
-
refresh(shouldEmit?: boolean): void;
|
|
103
99
|
/**
|
|
104
100
|
* Selects a tab
|
|
105
101
|
* @param tab The tab to select
|
|
@@ -117,9 +113,6 @@ export declare class PivotComponent extends CoreBaseComponent implements Layout,
|
|
|
117
113
|
* Gets the initial host classes to be applied to this element
|
|
118
114
|
*/
|
|
119
115
|
protected getInitialHostClasses(): string[];
|
|
120
|
-
/**
|
|
121
|
-
* Main rendering functionality for the pivot tab
|
|
122
|
-
*/
|
|
123
116
|
private updatePivotTabs;
|
|
124
117
|
static ɵfac: i0.ɵɵFactoryDef<PivotComponent, [null, { optional: true; skipSelf: true; }]>;
|
|
125
118
|
static ɵcmp: i0.ɵɵComponentDefWithMeta<PivotComponent, "sme-pivot", never, { "selection": "selection"; "switchTabByShowHide": "switchTabByShowHide"; "headerText": "headerText"; "alignHeader": "alignHeader"; "alignTabs": "alignTabs"; "noLeftPadding": "noLeftPadding"; "disabled": "disabled"; }, { "selectionChange": "selectionChange"; "layoutChanged": "layoutChanged"; }, ["tabs", "visibleTabsQL"], never>;
|
|
@@ -1,69 +1,19 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { StatusIconType } from '../icon/layered-icon/status/status-icon.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PropertyGridItemComponent
|
|
5
|
-
/**
|
|
6
|
-
* The internal value/context for the property grid item.
|
|
7
|
-
*/
|
|
8
|
-
private internalValue;
|
|
9
|
-
/**
|
|
10
|
-
* The label for the property grid item.
|
|
11
|
-
*/
|
|
3
|
+
export declare class PropertyGridItemComponent {
|
|
12
4
|
label: string;
|
|
13
|
-
|
|
14
|
-
* The setter for value/context.
|
|
15
|
-
*/
|
|
16
|
-
set value(input: any);
|
|
17
|
-
/**
|
|
18
|
-
* The getter for value/context.
|
|
19
|
-
*/
|
|
20
|
-
get value(): any;
|
|
21
|
-
/**
|
|
22
|
-
* It indicates the action for the property grid item.
|
|
23
|
-
*/
|
|
5
|
+
value: any;
|
|
24
6
|
action: MsftSme.Action1<PropertyGridItemComponent>;
|
|
25
|
-
/**
|
|
26
|
-
* The link for the property grid item.
|
|
27
|
-
*/
|
|
28
7
|
link: string;
|
|
29
|
-
/**
|
|
30
|
-
* The tooltip for the property grid item.
|
|
31
|
-
*/
|
|
32
8
|
tooltip: string;
|
|
33
|
-
/**
|
|
34
|
-
* It indicates whether the property grid item is external link.
|
|
35
|
-
*/
|
|
36
9
|
isExternalLink: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* The icon class for the property grid item.
|
|
39
|
-
*/
|
|
40
10
|
iconClass: string;
|
|
41
|
-
/**
|
|
42
|
-
* The status for the property grid item.
|
|
43
|
-
*/
|
|
44
11
|
status: StatusIconType.Bindable;
|
|
45
|
-
/**
|
|
46
|
-
* It indicates the column span for the layout.
|
|
47
|
-
*/
|
|
48
12
|
columnSpan: number;
|
|
49
|
-
/**
|
|
50
|
-
* It indicates the rendering of loading wheel when data unloaded.
|
|
51
|
-
*/
|
|
52
|
-
isAsync: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* It indicates whether the property grid is loading.
|
|
55
|
-
* This parameter has to have isAsync set to true to use.
|
|
56
|
-
*/
|
|
57
|
-
loading: boolean;
|
|
58
13
|
/**
|
|
59
14
|
* Gets the status class to apply to this components value section
|
|
60
15
|
*/
|
|
61
16
|
get statusClass(): string;
|
|
62
|
-
ngOnInit(): void;
|
|
63
|
-
/**
|
|
64
|
-
* Give the ability to reset loading.
|
|
65
|
-
*/
|
|
66
|
-
resetLoading(): void;
|
|
67
17
|
static ɵfac: i0.ɵɵFactoryDef<PropertyGridItemComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDefWithMeta<PropertyGridItemComponent, "sme-property-grid-item", never, { "label": "label"; "value": "value"; "action": "action"; "link": "link"; "tooltip": "tooltip"; "isExternalLink": "isExternalLink"; "iconClass": "iconClass"; "status": "status"; "columnSpan": "columnSpan";
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<PropertyGridItemComponent, "sme-property-grid-item", never, { "label": "label"; "value": "value"; "action": "action"; "link": "link"; "tooltip": "tooltip"; "isExternalLink": "isExternalLink"; "iconClass": "iconClass"; "status": "status"; "columnSpan": "columnSpan"; }, {}, never, never>;
|
|
69
19
|
}
|
|
@@ -56,13 +56,14 @@ export declare class PropertyGridComponent extends CoreBaseComponent implements
|
|
|
56
56
|
*/
|
|
57
57
|
protected get logSourceName(): string;
|
|
58
58
|
/**
|
|
59
|
-
* The
|
|
59
|
+
* The source name to use for logging
|
|
60
60
|
*/
|
|
61
61
|
orientation: PropertyGridOrientation;
|
|
62
62
|
/**
|
|
63
63
|
* Implementation of the Layout interface
|
|
64
64
|
*/
|
|
65
65
|
layoutChanged: EventEmitter<void>;
|
|
66
|
+
private changeDetector;
|
|
66
67
|
constructor(injector: Injector, layout: Layout);
|
|
67
68
|
stringifyValue(value: any): any;
|
|
68
69
|
getTemplate(item: PropertyGridItemComponent): TemplateRef<PropertyGridItemComponent>;
|
|
@@ -4,11 +4,10 @@ import * as i2 from "./property-grid-item.component";
|
|
|
4
4
|
import * as i3 from "@angular/router";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "../layout/layout.module";
|
|
7
|
-
import * as i6 from "../
|
|
8
|
-
import * as i7 from "../
|
|
9
|
-
import * as i8 from "../tooltip/tooltip.module";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
8
|
+
import * as i7 from "../tooltip/tooltip.module";
|
|
10
9
|
export declare class PropertyGridModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDef<PropertyGridModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PropertyGridModule, [typeof i1.PropertyGridComponent, typeof i2.PropertyGridItemComponent], [typeof i3.RouterModule, typeof i4.CommonModule, typeof i5.LayoutModule, typeof i6.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PropertyGridModule, [typeof i1.PropertyGridComponent, typeof i2.PropertyGridItemComponent], [typeof i3.RouterModule, typeof i4.CommonModule, typeof i5.LayoutModule, typeof i6.IconModule, typeof i7.TooltipModule], [typeof i1.PropertyGridComponent, typeof i2.PropertyGridItemComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDef<PropertyGridModule>;
|
|
14
13
|
}
|
|
@@ -6,7 +6,6 @@ import { Observable } from 'rxjs';
|
|
|
6
6
|
import { AppContextService } from '../../../service/app-context.service';
|
|
7
7
|
import { RpcShellService } from '../../../service/rpc-shell.service';
|
|
8
8
|
import { CoreBaseComponent } from '../../common/base.component';
|
|
9
|
-
import { SearchFormFieldComponent } from '../../form';
|
|
10
9
|
import { CanComponentDeactivate } from '../settings-can-deactivate-guard.service';
|
|
11
10
|
import { SettingsFormService } from '../settings-form.service';
|
|
12
11
|
import { SettingsComponent } from '../settings.component';
|
|
@@ -34,13 +33,6 @@ export declare class CommonSettingsComponent extends CoreBaseComponent implement
|
|
|
34
33
|
groupTools: GroupToolsMenu[];
|
|
35
34
|
layers: RpcDialogOverlayData[];
|
|
36
35
|
selectedSetting: CommonSettingsNavigationItem;
|
|
37
|
-
/**
|
|
38
|
-
* Search box related variables
|
|
39
|
-
*/
|
|
40
|
-
filter: string;
|
|
41
|
-
searchTitle: string;
|
|
42
|
-
filteredSettings: CommonSettingsNavigationItem[];
|
|
43
|
-
searchTextBox: SearchFormFieldComponent;
|
|
44
36
|
settingsTitle: string;
|
|
45
37
|
settings: CommonSettingsNavigationItem[];
|
|
46
38
|
showHeader: boolean;
|
|
@@ -50,13 +42,6 @@ export declare class CommonSettingsComponent extends CoreBaseComponent implement
|
|
|
50
42
|
commands: any[];
|
|
51
43
|
extras?: NavigationExtras;
|
|
52
44
|
};
|
|
53
|
-
/**
|
|
54
|
-
* Controls whether the tab list showing the Settings items is scrollable or not
|
|
55
|
-
* Default to true. Allowing separate scroll bar for the navbar and the selected Settings.
|
|
56
|
-
* Set to false for backward compatibility and use previous behavior where there is
|
|
57
|
-
* only 1 single scroll bar for both navbar and content of the selected Settings item.
|
|
58
|
-
*/
|
|
59
|
-
scrollableSecondaryNav: boolean;
|
|
60
45
|
settingsComponent: SettingsComponent;
|
|
61
46
|
private latestForm;
|
|
62
47
|
private latestPristineFormValue;
|
|
@@ -98,22 +83,6 @@ export declare class CommonSettingsComponent extends CoreBaseComponent implement
|
|
|
98
83
|
* @param formControl The form control to get the value from
|
|
99
84
|
*/
|
|
100
85
|
private getRawValueRecursive;
|
|
101
|
-
/**
|
|
102
|
-
* Update this.selectedSetting to the newly selected Settings item when user navigate to a new Settings item
|
|
103
|
-
* Also call the child component this.settingsComponent to update the settingsTitle to reflect the title
|
|
104
|
-
* of the newly selected Settings item
|
|
105
|
-
*
|
|
106
|
-
* @param newSetting The newly selected Settings item
|
|
107
|
-
*/
|
|
108
|
-
onSmeRouterLinkActivated(newSetting: CommonSettingsNavigationItem): void;
|
|
109
|
-
/**
|
|
110
|
-
* Callback function for the search field
|
|
111
|
-
*/
|
|
112
|
-
onSearch(): void;
|
|
113
|
-
/**
|
|
114
|
-
* Filter out the settings Item based on this.filter string and match the title of Settings Items
|
|
115
|
-
*/
|
|
116
|
-
private filterSetting;
|
|
117
86
|
static ɵfac: i0.ɵɵFactoryDef<CommonSettingsComponent, never>;
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDefWithMeta<CommonSettingsComponent, "sme-common-settings", never, { "settingsTitle": "settingsTitle"; "settings": "settings"; "showHeader": "showHeader"; "hackShowOverlay": "hackShowOverlay"; "hackToolHeader": "hackToolHeader"; "backRoute": "backRoute";
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CommonSettingsComponent, "sme-common-settings", never, { "settingsTitle": "settingsTitle"; "settings": "settings"; "showHeader": "showHeader"; "hackShowOverlay": "hackShowOverlay"; "hackToolHeader": "hackToolHeader"; "backRoute": "backRoute"; }, {}, never, ["*"]>;
|
|
119
88
|
}
|
|
@@ -42,10 +42,6 @@ export declare class SettingsComponent extends CoreBaseComponent implements OnIn
|
|
|
42
42
|
allForms: FormGroup[];
|
|
43
43
|
addPadding: boolean;
|
|
44
44
|
private autoFocus;
|
|
45
|
-
/**
|
|
46
|
-
* Separator used in sticky header on top of Settings page
|
|
47
|
-
*/
|
|
48
|
-
readonly headerSeparator = "|";
|
|
49
45
|
/**
|
|
50
46
|
* @deprecated Add your own custom back button in the form
|
|
51
47
|
*/
|
|
@@ -54,15 +50,6 @@ export declare class SettingsComponent extends CoreBaseComponent implements OnIn
|
|
|
54
50
|
extras?: NavigationExtras;
|
|
55
51
|
};
|
|
56
52
|
settingsTitle: string;
|
|
57
|
-
/**
|
|
58
|
-
* Store the currently selected settings title
|
|
59
|
-
*/
|
|
60
|
-
selectedSettingsTitle: string;
|
|
61
|
-
/**
|
|
62
|
-
* Store the concatenation of settingsTitle, headerSeparator & selectedSettingsTitle
|
|
63
|
-
* Used for tool tip when hover over header
|
|
64
|
-
*/
|
|
65
|
-
fullSettingsTitle: string;
|
|
66
53
|
private layoutComponent;
|
|
67
54
|
settingsForms: SettingsFormService;
|
|
68
55
|
dialogService: DialogService;
|
|
@@ -80,10 +67,6 @@ export declare class SettingsComponent extends CoreBaseComponent implements OnIn
|
|
|
80
67
|
*/
|
|
81
68
|
protected getInitialHostClasses(): string[];
|
|
82
69
|
isPaddingRequired(): boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Update this.settingsTitle (header of the setting page) to newly selected setting item
|
|
85
|
-
*/
|
|
86
|
-
updateSelectedSettingTitle(newSelectedSettingTitle: string): void;
|
|
87
70
|
static ɵfac: i0.ɵɵFactoryDef<SettingsComponent, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDefWithMeta<SettingsComponent, "sme-settings", never, { "backRoute": "backRoute"; "settingsTitle": "settingsTitle";
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<SettingsComponent, "sme-settings", never, { "backRoute": "backRoute"; "settingsTitle": "settingsTitle"; }, {}, never, ["sme-settings-navigation", "sme-settings-header", "sme-settings-content", "sme-settings-footer"]>;
|
|
89
72
|
}
|
|
@@ -13,10 +13,8 @@ import * as i11 from "@angular/common";
|
|
|
13
13
|
import * as i12 from "../header/header.module";
|
|
14
14
|
import * as i13 from "../layout/layout.module";
|
|
15
15
|
import * as i14 from "../tooltip/tooltip.module";
|
|
16
|
-
import * as i15 from "@angular/forms";
|
|
17
|
-
import * as i16 from "../form/forms.module";
|
|
18
16
|
export declare class SettingsModule {
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDef<SettingsModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<SettingsModule, [typeof i1.SettingsComponent, typeof i2.SettingsFormDirective, typeof i3.SettingsFooterComponent, typeof i4.SettingsHeaderComponent, typeof i5.SettingsContentComponent, typeof i6.SettingsPageComponent, typeof i7.SettingsNavigationComponent, typeof i8.CommonSettingsComponent], [typeof i9.SmeRouterModule, typeof i10.RouterModule, typeof i11.CommonModule, typeof i12.HeaderModule, typeof i13.LayoutModule, typeof i14.TooltipModule
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDefWithMeta<SettingsModule, [typeof i1.SettingsComponent, typeof i2.SettingsFormDirective, typeof i3.SettingsFooterComponent, typeof i4.SettingsHeaderComponent, typeof i5.SettingsContentComponent, typeof i6.SettingsPageComponent, typeof i7.SettingsNavigationComponent, typeof i8.CommonSettingsComponent], [typeof i9.SmeRouterModule, typeof i10.RouterModule, typeof i11.CommonModule, typeof i12.HeaderModule, typeof i13.LayoutModule, typeof i14.TooltipModule], [typeof i1.SettingsComponent, typeof i2.SettingsFormDirective, typeof i3.SettingsFooterComponent, typeof i4.SettingsHeaderComponent, typeof i5.SettingsContentComponent, typeof i6.SettingsPageComponent, typeof i7.SettingsNavigationComponent, typeof i8.CommonSettingsComponent]>;
|
|
21
19
|
static ɵinj: i0.ɵɵInjectorDef<SettingsModule>;
|
|
22
20
|
}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
export interface Strings {
|
|
6
6
|
MsftSmeShell: {
|
|
7
7
|
Angular: {
|
|
8
|
-
searchPlaceHolder: string;
|
|
9
8
|
Banner: {
|
|
10
9
|
DismissalDialog: {
|
|
11
10
|
footnote: string;
|
|
@@ -382,8 +381,6 @@ export interface Strings {
|
|
|
382
381
|
Aria: {
|
|
383
382
|
Label: {
|
|
384
383
|
rowSelection: string;
|
|
385
|
-
ascendSortOrderButton: string;
|
|
386
|
-
descendSortOrderButton: string;
|
|
387
384
|
};
|
|
388
385
|
};
|
|
389
386
|
};
|
|
@@ -113,16 +113,6 @@ declare namespace MsftSme {
|
|
|
113
113
|
sourceLibraryCdnLink?: string;
|
|
114
114
|
sourceLibraryCdnIntegrityHash?: string;
|
|
115
115
|
};
|
|
116
|
-
extensionsAutoUpdate?: {
|
|
117
|
-
enable?: boolean;
|
|
118
|
-
showAlert?: boolean;
|
|
119
|
-
};
|
|
120
|
-
gatewayAutoUpdate?: {
|
|
121
|
-
enable?: boolean;
|
|
122
|
-
};
|
|
123
|
-
whatsNew?: {
|
|
124
|
-
showDialog?: boolean;
|
|
125
|
-
};
|
|
126
116
|
appBar?: {
|
|
127
117
|
hide?: boolean;
|
|
128
118
|
title?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/core/base/environment.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CAsWhB;AAtWD,WAAU,OAAO;IACb,YAAY,CAAC;AAqWjB,CAAC,EAtWS,OAAO,KAAP,OAAO,QAsWhB","file":"environment.js","sourcesContent":["namespace MsftSme {\r\n 'use strict';\r\n export interface MsftSmeInit {\r\n entryPointType?: string;\r\n entryPointName?: string;\r\n mode: number;\r\n moduleName?: string;\r\n moduleVersion?: string;\r\n shellOrigin?: string;\r\n isProduction?: boolean;\r\n sessionId?: string;\r\n logLevel?: number;\r\n powerShellModuleName?: string;\r\n websocket?: boolean;\r\n powerShellEndpoint?: string;\r\n powerShellPrefix?: string;\r\n sessionExpiration: number;\r\n performanceProfile: boolean;\r\n experiments?: string[];\r\n developerGuide: boolean;\r\n connectivityLevel: string;\r\n isShell: boolean;\r\n shellVersion: string;\r\n }\r\n\r\n export interface MsftSmeEnvironment {\r\n name: string;\r\n displayName: string;\r\n origin: string;\r\n signature: string;\r\n shell: {\r\n name: string;\r\n origin: string;\r\n };\r\n resources: any[];\r\n entryPoints: any[];\r\n modules: any[];\r\n configuration: EnvironmentConfiguration;\r\n version: string;\r\n loadPath?: string;\r\n }\r\n\r\n export interface MsftSmeAssets {\r\n css: string[];\r\n js: string[];\r\n }\r\n\r\n export interface MsftSmeExternalLibraries {\r\n // mapping of supported library versions to there library locations.\r\n // Caution. New library versions will almost always have a minimal\r\n // time where older versions must still be supported. (generally 2 GA releases)\r\n monaco: {\r\n '0.17.1': string;\r\n };\r\n jsll: {\r\n '4.2.18': string;\r\n };\r\n }\r\n\r\n /**\r\n * Defines a mapping of an assets versions to its relative module paths\r\n */\r\n export interface MsftSmeVersionedAsset extends MsftSme.StringMap<string> { }\r\n\r\n /**\r\n * Defines a mapping of an asset name to its versioned paths\r\n */\r\n export interface MsftSmeModuleAssets extends MsftSme.StringMap<MsftSmeVersionedAsset> { }\r\n\r\n /**\r\n * Defines a mapping of an modules names to its shared asset collection\r\n */\r\n export interface MsftSmeSharedAssets extends MsftSme.StringMap<MsftSmeModuleAssets> { }\r\n\r\n export interface MsftSmeResources {\r\n localeId: string;\r\n localeRegionalId: string;\r\n strings: any;\r\n theme: string;\r\n assets: MsftSmeAssets;\r\n moduleAssets: MsftSmeSharedAssets;\r\n accessibilityMode: boolean;\r\n lib: MsftSmeExternalLibraries;\r\n }\r\n\r\n export interface EnvironmentConfiguration {\r\n gateway?: {\r\n disabled?: boolean\r\n };\r\n signOn?: {\r\n signedHttpRequestToken?: {\r\n jwt: string,\r\n username: string,\r\n }\r\n };\r\n application?: {\r\n theme?: 'light' | 'dark';\r\n locale?: string;\r\n };\r\n nodes?: {\r\n defaultCredentials?: {\r\n username: string,\r\n password: string\r\n encryptedWith?: 'jwk' | string\r\n }\r\n };\r\n notifications?: {\r\n redirectToHostWindow?: boolean\r\n };\r\n tools?: {\r\n hide?: boolean\r\n };\r\n connections?: {\r\n type?: 'standard' | 'server' | 'cluster',\r\n name?: string,\r\n nodeFqdns?: string[],\r\n header?: {\r\n hide?: boolean\r\n }\r\n };\r\n telemetry?: {\r\n sourceLibraryCdnLink?: string,\r\n sourceLibraryCdnIntegrityHash?: string\r\n };\r\n extensionsAutoUpdate?: {\r\n enable?: boolean,\r\n showAlert?: boolean\r\n };\r\n gatewayAutoUpdate?: {\r\n enable?: boolean\r\n };\r\n whatsNew?: {\r\n showDialog?: boolean\r\n };\r\n appBar?: {\r\n hide?: boolean\r\n title?: {\r\n hide?: boolean,\r\n value?: string,\r\n disableNavigation?: boolean\r\n },\r\n solution?: {\r\n default?: string,\r\n hide: boolean,\r\n hideDropdown: boolean\r\n },\r\n navigation?: {\r\n allowHistory: boolean,\r\n allowRefresh: boolean,\r\n allowUrlInput: boolean,\r\n allowHome: boolean\r\n },\r\n urlField?: {\r\n hideSolutionUrl: boolean\r\n },\r\n rightMenu?: {\r\n showScripts: boolean,\r\n showSettings: boolean,\r\n showAbout: boolean,\r\n showWindowControls: boolean,\r\n showShareLink: boolean\r\n },\r\n aboutDialog?: {\r\n showFeedback: boolean,\r\n feedbackLink: string,\r\n showDocumentation: boolean,\r\n documentationLink: string,\r\n releaseNotesLink: string,\r\n seeMoreReleaseDetailsLink: string,\r\n showLicense: boolean,\r\n showScriptsUseRights: boolean,\r\n showLicenseExtensions: boolean,\r\n showPrivacyStatement: boolean,\r\n privacyLink: string,\r\n showSupportPolicy: boolean,\r\n supportLink: string,\r\n showThirdPartyNotice: boolean,\r\n showShortcuts: boolean,\r\n openLinkWithoutHref: boolean\r\n },\r\n overview?: {\r\n gatewayStatusUpdateLink: string,\r\n updateLearnMoreLink: string\r\n }\r\n };\r\n settings?: {\r\n account?: {\r\n show: boolean\r\n },\r\n personalization?: {\r\n show: boolean\r\n },\r\n diagnostic?: {\r\n show: boolean\r\n },\r\n language?: {\r\n show: boolean\r\n },\r\n notification?: {\r\n show: boolean\r\n },\r\n extension?: {\r\n show: boolean\r\n },\r\n azure?: {\r\n show: boolean\r\n },\r\n access?: {\r\n show: boolean\r\n },\r\n sharedConnections?: {\r\n show: boolean\r\n },\r\n connectivity?: {\r\n show: boolean\r\n },\r\n general?: {\r\n show: boolean\r\n };\r\n updates?: {\r\n show: boolean\r\n }\r\n extensionUpdates?: {\r\n show: boolean\r\n }\r\n performance?: {\r\n show: boolean\r\n },\r\n advanced?: {\r\n show: boolean\r\n },\r\n proxy?: {\r\n show: boolean\r\n }\r\n };\r\n }\r\n\r\n /**\r\n * Electron Renderer\r\n * @see http://electron.atom.io/docs/api/ipc-renderer\r\n */\r\n export interface MsftSmeElectronIpcRenderer {\r\n on(channel: string, listener: Function): this;\r\n once(channel: string, listener: Function): this;\r\n removeAllListeners(channel: string): this;\r\n removeListener(channel: string, listener: Function): this;\r\n send(channel: string, ...args: any[]): void;\r\n sendSync(channel: string, ...args: any[]): any;\r\n sendTo(webContentsId: number, channel: string, ...args: any[]): void;\r\n sendToHost(channel: string, ...args: any[]): void;\r\n }\r\n\r\n /**\r\n * Electron Remote\r\n * @see http://electron.atom.io/docs/api/remote\r\n */\r\n export interface MsftSmeElectronRemote {\r\n getCurrentWindow(): {\r\n close(): void,\r\n minimize(): void,\r\n maximize(): void,\r\n unmaximize(): void,\r\n isMaximized(): boolean,\r\n };\r\n }\r\n\r\n export interface MsftSmeElectron {\r\n ipcRenderer: MsftSmeElectronIpcRenderer;\r\n remote: MsftSmeElectronRemote;\r\n }\r\n\r\n export interface MsftSmeHost {\r\n isElectron: boolean;\r\n isWeb: boolean;\r\n electron?: MsftSmeElectron;\r\n }\r\n\r\n export interface MsftSmeWindowContext {\r\n Init: MsftSmeInit;\r\n Environment: MsftSmeEnvironment;\r\n Resources: MsftSmeResources;\r\n Host: MsftSmeHost;\r\n }\r\n\r\n export interface SMEWindow extends Window {\r\n MsftSme: MsftSmeWindowContext;\r\n }\r\n\r\n export interface MessageEventListener extends EventListener {\r\n (evt: MessageEvent): void;\r\n }\r\n\r\n // The following focus is available on HTMLElement, however, focus is available on Element\r\n export interface Element {\r\n focus(): void;\r\n }\r\n\r\n export interface StringMap<T> {\r\n [key: string]: T;\r\n }\r\n\r\n export interface NumberMap<T> {\r\n [key: number]: T;\r\n length?: number;\r\n }\r\n\r\n export interface NameValue<N, T> {\r\n name: N;\r\n value: T;\r\n }\r\n\r\n export type Action = () => void;\r\n\r\n export type Action1<T> = (arg: T) => void;\r\n\r\n export type Action2<T1, T2> = (arg1: T1, arg2: T2) => void;\r\n\r\n export type Action3<T1, T2, T3> = (arg1: T1, arg2: T2, arg3: T3) => void;\r\n\r\n export type Func<R> = () => R;\r\n\r\n export type Func1<T, R> = (arg: T) => R;\r\n\r\n export type Func2<T1, T2, R> = (arg1: T1, arg2: T2) => R;\r\n\r\n export type Primitive = number | string | Date | boolean;\r\n\r\n export interface StringMapPrimitive extends StringMap<StringMapRecursive | Primitive | Array<Primitive | StringMapRecursive>> { }\r\n\r\n export type StringMapRecursive = StringMapPrimitive;\r\n\r\n // tslint:disable-next-line:no-empty-interface\r\n export interface Obsolete { }\r\n\r\n ////////////////////////////////////////\r\n /// BEGIN: IE11 ECMAScript Extensions\r\n ////////////////////////////////////////\r\n\r\n // tslint:disable-next-line:no-empty-interface\r\n export interface CollatorOptions extends Intl.CollatorOptions {\r\n }\r\n\r\n export interface Map<K, V> {\r\n delete(key: K): boolean;\r\n get(key: K): V;\r\n has(key: K): boolean;\r\n set(key: K, value: V): void;\r\n clear(): void;\r\n forEach(callbackfn: (value: V, index: K, map: Map<K, V>) => void, thisArg?: any): void;\r\n }\r\n\r\n ////////////////////////////////////////\r\n /// END: IE11 ECMAScript Extensions\r\n ////////////////////////////////////////\r\n\r\n export interface RandomSource {\r\n getRandomValues(array: ArrayBufferView): ArrayBufferView;\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../packages/core/base/environment.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CA4VhB;AA5VD,WAAU,OAAO;IACb,YAAY,CAAC;AA2VjB,CAAC,EA5VS,OAAO,KAAP,OAAO,QA4VhB","file":"environment.js","sourcesContent":["namespace MsftSme {\r\n 'use strict';\r\n export interface MsftSmeInit {\r\n entryPointType?: string;\r\n entryPointName?: string;\r\n mode: number;\r\n moduleName?: string;\r\n moduleVersion?: string;\r\n shellOrigin?: string;\r\n isProduction?: boolean;\r\n sessionId?: string;\r\n logLevel?: number;\r\n powerShellModuleName?: string;\r\n websocket?: boolean;\r\n powerShellEndpoint?: string;\r\n powerShellPrefix?: string;\r\n sessionExpiration: number;\r\n performanceProfile: boolean;\r\n experiments?: string[];\r\n developerGuide: boolean;\r\n connectivityLevel: string;\r\n isShell: boolean;\r\n shellVersion: string;\r\n }\r\n\r\n export interface MsftSmeEnvironment {\r\n name: string;\r\n displayName: string;\r\n origin: string;\r\n signature: string;\r\n shell: {\r\n name: string;\r\n origin: string;\r\n };\r\n resources: any[];\r\n entryPoints: any[];\r\n modules: any[];\r\n configuration: EnvironmentConfiguration;\r\n version: string;\r\n loadPath?: string;\r\n }\r\n\r\n export interface MsftSmeAssets {\r\n css: string[];\r\n js: string[];\r\n }\r\n\r\n export interface MsftSmeExternalLibraries {\r\n // mapping of supported library versions to there library locations.\r\n // Caution. New library versions will almost always have a minimal\r\n // time where older versions must still be supported. (generally 2 GA releases)\r\n monaco: {\r\n '0.17.1': string;\r\n };\r\n jsll: {\r\n '4.2.18': string;\r\n };\r\n }\r\n\r\n /**\r\n * Defines a mapping of an assets versions to its relative module paths\r\n */\r\n export interface MsftSmeVersionedAsset extends MsftSme.StringMap<string> { }\r\n\r\n /**\r\n * Defines a mapping of an asset name to its versioned paths\r\n */\r\n export interface MsftSmeModuleAssets extends MsftSme.StringMap<MsftSmeVersionedAsset> { }\r\n\r\n /**\r\n * Defines a mapping of an modules names to its shared asset collection\r\n */\r\n export interface MsftSmeSharedAssets extends MsftSme.StringMap<MsftSmeModuleAssets> { }\r\n\r\n export interface MsftSmeResources {\r\n localeId: string;\r\n localeRegionalId: string;\r\n strings: any;\r\n theme: string;\r\n assets: MsftSmeAssets;\r\n moduleAssets: MsftSmeSharedAssets;\r\n accessibilityMode: boolean;\r\n lib: MsftSmeExternalLibraries;\r\n }\r\n\r\n export interface EnvironmentConfiguration {\r\n gateway?: {\r\n disabled?: boolean\r\n };\r\n signOn?: {\r\n signedHttpRequestToken?: {\r\n jwt: string,\r\n username: string,\r\n }\r\n };\r\n application?: {\r\n theme?: 'light' | 'dark';\r\n locale?: string;\r\n };\r\n nodes?: {\r\n defaultCredentials?: {\r\n username: string,\r\n password: string\r\n encryptedWith?: 'jwk' | string\r\n }\r\n };\r\n notifications?: {\r\n redirectToHostWindow?: boolean\r\n };\r\n tools?: {\r\n hide?: boolean\r\n };\r\n connections?: {\r\n type?: 'standard' | 'server' | 'cluster',\r\n name?: string,\r\n nodeFqdns?: string[],\r\n header?: {\r\n hide?: boolean\r\n }\r\n };\r\n telemetry?: {\r\n sourceLibraryCdnLink?: string,\r\n sourceLibraryCdnIntegrityHash?: string\r\n };\r\n appBar?: {\r\n hide?: boolean\r\n title?: {\r\n hide?: boolean,\r\n value?: string,\r\n disableNavigation?: boolean\r\n },\r\n solution?: {\r\n default?: string,\r\n hide: boolean,\r\n hideDropdown: boolean\r\n },\r\n navigation?: {\r\n allowHistory: boolean,\r\n allowRefresh: boolean,\r\n allowUrlInput: boolean,\r\n allowHome: boolean\r\n },\r\n urlField?: {\r\n hideSolutionUrl: boolean\r\n },\r\n rightMenu?: {\r\n showScripts: boolean,\r\n showSettings: boolean,\r\n showAbout: boolean,\r\n showWindowControls: boolean,\r\n showShareLink: boolean\r\n },\r\n aboutDialog?: {\r\n showFeedback: boolean,\r\n feedbackLink: string,\r\n showDocumentation: boolean,\r\n documentationLink: string,\r\n releaseNotesLink: string,\r\n seeMoreReleaseDetailsLink: string,\r\n showLicense: boolean,\r\n showScriptsUseRights: boolean,\r\n showLicenseExtensions: boolean,\r\n showPrivacyStatement: boolean,\r\n privacyLink: string,\r\n showSupportPolicy: boolean,\r\n supportLink: string,\r\n showThirdPartyNotice: boolean,\r\n showShortcuts: boolean,\r\n openLinkWithoutHref: boolean\r\n },\r\n overview?: {\r\n gatewayStatusUpdateLink: string,\r\n updateLearnMoreLink: string\r\n }\r\n };\r\n settings?: {\r\n account?: {\r\n show: boolean\r\n },\r\n personalization?: {\r\n show: boolean\r\n },\r\n diagnostic?: {\r\n show: boolean\r\n },\r\n language?: {\r\n show: boolean\r\n },\r\n notification?: {\r\n show: boolean\r\n },\r\n extension?: {\r\n show: boolean\r\n },\r\n azure?: {\r\n show: boolean\r\n },\r\n access?: {\r\n show: boolean\r\n },\r\n sharedConnections?: {\r\n show: boolean\r\n },\r\n connectivity?: {\r\n show: boolean\r\n },\r\n general?: {\r\n show: boolean\r\n };\r\n updates?: {\r\n show: boolean\r\n }\r\n extensionUpdates?: {\r\n show: boolean\r\n }\r\n performance?: {\r\n show: boolean\r\n },\r\n advanced?: {\r\n show: boolean\r\n },\r\n proxy?: {\r\n show: boolean\r\n }\r\n };\r\n }\r\n\r\n /**\r\n * Electron Renderer\r\n * @see http://electron.atom.io/docs/api/ipc-renderer\r\n */\r\n export interface MsftSmeElectronIpcRenderer {\r\n on(channel: string, listener: Function): this;\r\n once(channel: string, listener: Function): this;\r\n removeAllListeners(channel: string): this;\r\n removeListener(channel: string, listener: Function): this;\r\n send(channel: string, ...args: any[]): void;\r\n sendSync(channel: string, ...args: any[]): any;\r\n sendTo(webContentsId: number, channel: string, ...args: any[]): void;\r\n sendToHost(channel: string, ...args: any[]): void;\r\n }\r\n\r\n /**\r\n * Electron Remote\r\n * @see http://electron.atom.io/docs/api/remote\r\n */\r\n export interface MsftSmeElectronRemote {\r\n getCurrentWindow(): {\r\n close(): void,\r\n minimize(): void,\r\n maximize(): void,\r\n unmaximize(): void,\r\n isMaximized(): boolean,\r\n };\r\n }\r\n\r\n export interface MsftSmeElectron {\r\n ipcRenderer: MsftSmeElectronIpcRenderer;\r\n remote: MsftSmeElectronRemote;\r\n }\r\n\r\n export interface MsftSmeHost {\r\n isElectron: boolean;\r\n isWeb: boolean;\r\n electron?: MsftSmeElectron;\r\n }\r\n\r\n export interface MsftSmeWindowContext {\r\n Init: MsftSmeInit;\r\n Environment: MsftSmeEnvironment;\r\n Resources: MsftSmeResources;\r\n Host: MsftSmeHost;\r\n }\r\n\r\n export interface SMEWindow extends Window {\r\n MsftSme: MsftSmeWindowContext;\r\n }\r\n\r\n export interface MessageEventListener extends EventListener {\r\n (evt: MessageEvent): void;\r\n }\r\n\r\n // The following focus is available on HTMLElement, however, focus is available on Element\r\n export interface Element {\r\n focus(): void;\r\n }\r\n\r\n export interface StringMap<T> {\r\n [key: string]: T;\r\n }\r\n\r\n export interface NumberMap<T> {\r\n [key: number]: T;\r\n length?: number;\r\n }\r\n\r\n export interface NameValue<N, T> {\r\n name: N;\r\n value: T;\r\n }\r\n\r\n export type Action = () => void;\r\n\r\n export type Action1<T> = (arg: T) => void;\r\n\r\n export type Action2<T1, T2> = (arg1: T1, arg2: T2) => void;\r\n\r\n export type Action3<T1, T2, T3> = (arg1: T1, arg2: T2, arg3: T3) => void;\r\n\r\n export type Func<R> = () => R;\r\n\r\n export type Func1<T, R> = (arg: T) => R;\r\n\r\n export type Func2<T1, T2, R> = (arg1: T1, arg2: T2) => R;\r\n\r\n export type Primitive = number | string | Date | boolean;\r\n\r\n export interface StringMapPrimitive extends StringMap<StringMapRecursive | Primitive | Array<Primitive | StringMapRecursive>> { }\r\n\r\n export type StringMapRecursive = StringMapPrimitive;\r\n\r\n // tslint:disable-next-line:no-empty-interface\r\n export interface Obsolete { }\r\n\r\n ////////////////////////////////////////\r\n /// BEGIN: IE11 ECMAScript Extensions\r\n ////////////////////////////////////////\r\n\r\n // tslint:disable-next-line:no-empty-interface\r\n export interface CollatorOptions extends Intl.CollatorOptions {\r\n }\r\n\r\n export interface Map<K, V> {\r\n delete(key: K): boolean;\r\n get(key: K): V;\r\n has(key: K): boolean;\r\n set(key: K, value: V): void;\r\n clear(): void;\r\n forEach(callbackfn: (value: V, index: K, map: Map<K, V>) => void, thisArg?: any): void;\r\n }\r\n\r\n ////////////////////////////////////////\r\n /// END: IE11 ECMAScript Extensions\r\n ////////////////////////////////////////\r\n\r\n export interface RandomSource {\r\n getRandomValues(array: ArrayBufferView): ArrayBufferView;\r\n }\r\n}\r\n"]}
|
|
@@ -90,22 +90,6 @@ export declare class GatewayConnection extends RpcServiceForwarder {
|
|
|
90
90
|
http: Http;
|
|
91
91
|
private authorizationManager;
|
|
92
92
|
private static rpcCommands;
|
|
93
|
-
/**
|
|
94
|
-
* The IPv4 address for localhost
|
|
95
|
-
*/
|
|
96
|
-
private readonly localhostIpV4;
|
|
97
|
-
/**
|
|
98
|
-
* The IPv6 address for localhost
|
|
99
|
-
*/
|
|
100
|
-
private readonly localhostIpV6;
|
|
101
|
-
/**
|
|
102
|
-
* The localhost name
|
|
103
|
-
*/
|
|
104
|
-
private readonly localhost;
|
|
105
|
-
/**
|
|
106
|
-
* Time interval to check for internalGatewayStatus refresh.
|
|
107
|
-
*/
|
|
108
|
-
private readonly lastUpdatedInternalGatewayStatusInterval;
|
|
109
93
|
/**
|
|
110
94
|
* internally maintained gateway URL.
|
|
111
95
|
*/
|
|
@@ -118,14 +102,6 @@ export declare class GatewayConnection extends RpcServiceForwarder {
|
|
|
118
102
|
* gatewayUrl param is specified.
|
|
119
103
|
*/
|
|
120
104
|
private internalGatewayUrlSpecified;
|
|
121
|
-
/**
|
|
122
|
-
* Last time internal gateway status was updated in milliseconds
|
|
123
|
-
*/
|
|
124
|
-
private lastUpdatedInternalGatewayStatus;
|
|
125
|
-
/**
|
|
126
|
-
* Internally maintained gateway status.
|
|
127
|
-
*/
|
|
128
|
-
private internalGatewayStatus;
|
|
129
105
|
/**
|
|
130
106
|
* The replay subject for gateway url to settle.
|
|
131
107
|
*/
|
|
@@ -174,10 +150,6 @@ export declare class GatewayConnection extends RpcServiceForwarder {
|
|
|
174
150
|
* Gets the gateway node name to make a CIM/PowerShell query to the gateway node.
|
|
175
151
|
*/
|
|
176
152
|
get gatewayName(): string;
|
|
177
|
-
/**
|
|
178
|
-
* Gets gateway status from cache or sets cache if it doesn't exist.
|
|
179
|
-
*/
|
|
180
|
-
private get gatewayStatus();
|
|
181
153
|
/**
|
|
182
154
|
* Initializes a new instance of the Gateway class.
|
|
183
155
|
*
|
|
@@ -295,12 +267,6 @@ export declare class GatewayConnection extends RpcServiceForwarder {
|
|
|
295
267
|
completed: boolean;
|
|
296
268
|
id: string;
|
|
297
269
|
}>;
|
|
298
|
-
/**
|
|
299
|
-
* Gets gateway machine if found in list of given nodes
|
|
300
|
-
* @param nodes Node names or IPs to check
|
|
301
|
-
* @returns Node name of gateway if found, null otherwise
|
|
302
|
-
*/
|
|
303
|
-
getGateway(nodes: string[]): Observable<string>;
|
|
304
270
|
/**
|
|
305
271
|
* Check gateway condition.
|
|
306
272
|
*/
|