Updating the package name for NPM. (#10)

This commit is contained in:
Matt Wilson 2018-05-02 16:47:09 -07:00 коммит произвёл GitHub
Родитель 71413e4015
Коммит d4f7808e9a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
100 изменённых файлов: 496 добавлений и 398 удалений

3
package-lock.json сгенерированный Normal file
Просмотреть файл

@ -0,0 +1,3 @@
{
"lockfileVersion": 1
}

Просмотреть файл

@ -21,9 +21,9 @@
],
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../node_modules/@msft-sme/shell/dist/angular/assets/sme-icons/css/sme-icons.css",
"../node_modules/@msft-sme/shell/dist/angular/assets/winstrap-tmp/css/winstrap.min.css",
"../node_modules/@msft-sme/shell/dist/angular/assets/winstrap-tmp/css/winstrap-optional.min.css",
"../node_modules/@microsoft/windows-admin-center-sdk/dist/angular/assets/sme-icons/css/sme-icons.css",
"../node_modules/@microsoft/windows-admin-center-sdk/dist/angular/assets/winstrap-tmp/css/winstrap.min.css",
"../node_modules/@microsoft/windows-admin-center-sdk/dist/angular/assets/winstrap-tmp/css/winstrap-optional.min.css",
"../node_modules/primeng/resources/primeng.min.css",
"../node_modules/primeng/resources/themes/bootstrap/theme.css"
],

Просмотреть файл

@ -313,10 +313,10 @@ The full TypeScript class for implementing a connection provider is below. Note
``` ts
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { Connection, ConnectionUtility } from '@msft-sme/shell/core';
import { EnvironmentModule } from '@msft-sme/shell/dist/core/manifest/environment-modules';
import { RpcUpdateData } from '@msft-sme/shell/dist/core/rpc/rpc-base';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { Connection, ConnectionUtility } from '@microsoft/windows-admin-center-sdk/core';
import { EnvironmentModule } from '@microsoft/windows-admin-center-sdk/dist/core/manifest/environment-modules';
import { RpcUpdateData } from '@microsoft/windows-admin-center-sdk/dist/core/rpc/rpc-base';
import { Strings } from '../../generated/strings';
@Component({
@ -402,7 +402,7 @@ Below is a full copy of a manifest.json file that includes a Connection Provider
``` json
{
"$schema": "../node_modules/@msft-sme/shell/dist/core/manifest/module-schema.json#",
"$schema": "../node_modules/@microsoft/windows-admin-center-sdk/dist/core/manifest/module-schema.json#",
"name": "msft.sme.solutionExample-extension",
"displayName": "resources:strings:displayName",
"description": "resources:strings:description",

Просмотреть файл

@ -98,7 +98,7 @@ import {
SplitViewModule,
SvgModule,
ToolHeaderModule
} from '@msft-sme/shell/core';
} from '@microsoft/windows-admin-center-sdk/core';
import { HelloComponent } from './hello.component';
import { routing } from './hello.routing';

Просмотреть файл

@ -10,11 +10,11 @@ const argv = require('yargs').argv;
const runSequence = require('run-sequence');
const inlineNg2Template = require('gulp-inline-ng2-template');
const child_process = require('child_process');
const gulpPsCode = require('@msft-sme/shell/dist/tools/gulp-ps-code');
const gulpResJson = require('@msft-sme/shell/dist/tools/gulp-resjson');
const gulpSvgCode = require('@msft-sme/shell/dist/tools/gulp-svg-code');
const gulpMergeJsonInFolders = require('@msft-sme/shell/dist/tools/gulp-merge-json-in-folders');
const manifestResource = require('@msft-sme/shell/dist/tools/gulp-manifest-resource');
const gulpPsCode = require('@microsoft/windows-admin-center-sdk/dist/tools/gulp-ps-code');
const gulpResJson = require('@microsoft/windows-admin-center-sdk/dist/tools/gulp-resjson');
const gulpSvgCode = require('@microsoft/windows-admin-center-sdk/dist/tools/gulp-svg-code');
const gulpMergeJsonInFolders = require('@microsoft/windows-admin-center-sdk/dist/tools/gulp-merge-json-in-folders');
const manifestResource = require('@microsoft/windows-admin-center-sdk/dist/tools/gulp-manifest-resource');
const gulpLicense = require('./tools/gulp-license');
gulp.task('license', () => {
@ -71,7 +71,7 @@ gulp.task('generate-resjson-interface', () => {
});
gulp.task('merge-localized-json', () => {
return gulp.src('./node_modules/@msft-sme/**/dist/assets/strings')
return gulp.src(['./node_modules/@microsoft/windows-admin-center-sdk/dist/assets/strings', './node_modules/@msft-sme/**/dist/assets/strings'])
.pipe(gulpMergeJsonInFolders({ src: './src/assets/strings' }))
.pipe(gulp.dest('src/assets/strings'));
});

10
windows-admin-center-developer-tools/package-lock.json сгенерированный
Просмотреть файл

@ -261,10 +261,10 @@
"through2": "2.0.3"
}
},
"@msft-sme/shell": {
"version": "0.530.0",
"resolved": "https://microsoft.pkgs.visualstudio.com/_packaging/SME/npm/registry/@msft-sme/shell/-/shell-0.530.0.tgz",
"integrity": "sha1-PDsj8fFLF7qlsTWNbimO9ZfdHD0=",
"@microsoft/windows-admin-center-sdk": {
"version": "0.533.0",
"resolved": "https://registry.npmjs.org/@microsoft/windows-admin-center-sdk/-/windows-admin-center-sdk-0.533.0.tgz",
"integrity": "sha512-WdyFZ44CnVPr98J0q4Qbj0d+JFQV90axlnyOSiu7Se0uBYli7AKDCG061/oqvoWSpjfMXhUP6/Fnz+1kaZJSPg==",
"dev": true,
"requires": {
"@angular/animations": "5.1.2",
@ -286,7 +286,7 @@
"dependencies": {
"primeng": {
"version": "4.1.2",
"resolved": "https://microsoft.pkgs.visualstudio.com/_packaging/SME/npm/registry/primeng/-/primeng-4.1.2.tgz",
"resolved": "https://registry.npmjs.org/primeng/-/primeng-4.1.2.tgz",
"integrity": "sha1-00/BaO46mZ0ocguXwBo4XADeWcc=",
"dev": true,
"optional": true

Просмотреть файл

@ -12,7 +12,7 @@
"test": "ng test"
},
"peerDependencies": {
"@msft-sme/shell": "0.532.0",
"@microsoft/windows-admin-center-sdk": "0.533.0",
"@angular/animations": "5.1.2",
"@angular/common": "5.1.2",
"@angular/compiler": "5.1.2",
@ -42,7 +42,7 @@
"@angular/platform-browser": "5.1.2",
"@angular/platform-browser-dynamic": "5.1.2",
"@angular/router": "5.1.2",
"@msft-sme/shell": "0.530.0",
"@microsoft/windows-admin-center-sdk": "0.533.0",
"@types/chart.js": "0.0.8",
"@types/jasmine": "^2.5.54",
"@types/jasminewd2": "^2.0.3",

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NgModule } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { IdleComponent } from '@msft-sme/shell/angular';
import { IdleComponent } from '@microsoft/windows-admin-center-sdk/angular';
// These are the basic routes that are required in order to load an extension and make service calls.
const appRoutes: Routes = [

Просмотреть файл

@ -1,7 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { AppContextService, AuthorizationService, NavigationService } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { AppContextService, AuthorizationService, NavigationService } from '@microsoft/windows-admin-center-sdk/angular';
import { Observable } from 'rxjs';
@Component({

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { ErrorHandler, NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
@ -17,7 +18,7 @@ import {
ResourceService,
SmeStylesModule,
SvgModule
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService, DialogService } from '@msft-sme/shell/angular';
import { AppContextService, DialogService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-dev-guide',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { ErrorHandler, NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
@ -14,7 +15,7 @@ import {
PipesModule,
ResourceService,
SmeStylesModule
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { DevGuideRoutingModule } from './dev-guide-routing.module';
import { DevGuideComponent } from './dev-guide.component';
import { LandingModule } from './landing/landing.module';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService, DialogService } from '@msft-sme/shell/angular';
import { ClientNotification, ClientNotificationType, NodeConnection, NotificationState } from '@msft-sme/shell/core';
import { AppContextService, DialogService } from '@microsoft/windows-admin-center-sdk/angular';
import { ClientNotification, ClientNotificationType, NodeConnection, NotificationState } from '@microsoft/windows-admin-center-sdk/core';
@Component({
selector: 'sme-ng2-landing',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ChangeDetectorRef, Component, ViewChild } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ChangeDetectorRef, Component, ViewChild } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { Observable } from 'rxjs';
@ -12,8 +13,8 @@ import {
ActionItemErrorEventArgs,
ActionItemExecutedEventArgs,
AppContextService
} from '@msft-sme/shell/angular';
import { Logging, LogLevel } from '@msft-sme/shell/core';
} from '@microsoft/windows-admin-center-sdk/angular';
import { Logging, LogLevel } from '@microsoft/windows-admin-center-sdk/core';
import { ModelDrivenAction1, ModelDrivenAction2, ModelDrivenAction3, ModelDrivenActionWithError, MyModel } from './model-driven-action';
@Component({

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Observable, Subject } from 'rxjs';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ActionButton, ActionButtonAsync, ActionContainer } from '@msft-sme/shell/angular';
import { Observable, Subject } from 'rxjs';
import { ActionButton, ActionButtonAsync, ActionContainer } from '@microsoft/windows-admin-center-sdk/angular';
export interface MyModel {
disable1: boolean;

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { Alert, AlertBarService, AlertLink, AlertSeverity, AppContextService } from '@msft-sme/shell/angular';
import { Alert, AlertBarService, AlertLink, AlertSeverity, AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-alert-bar-example',

Просмотреть файл

@ -1,13 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import {
AppContextService,
BreadcrumbHeaderComponent,
BreadcrumbItem,
BreadcrumbSeparator
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-breadcrumb-header-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls',

Просмотреть файл

@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { DataTableModule } from 'primeng/primeng';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { ActionsExampleComponent } from './actions/actions-example.component';
import { ControlsComponent } from './controls.component';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ModuleWithProviders } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ModuleWithProviders } from '@angular/core';
import { RouterModule } from '@angular/router';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { ActionsExampleComponent } from './actions/actions-example.component';
import { ControlsComponent } from './controls.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, ViewChild } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, ViewChild } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { DataTableComponent, DataTableCustomSortEvent, DataTableLazyLoadEvent } from '@msft-sme/shell/angular';
import { DataTableComponent, DataTableCustomSortEvent, DataTableLazyLoadEvent } from '@microsoft/windows-admin-center-sdk/angular';
import { TestData } from './testData';
@Component({

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, Input } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, Input } from '@angular/core';
import { Subject } from 'rxjs/Subject';
@ -14,7 +15,7 @@ import {
DialogOptions,
DialogResult,
DialogService
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
/**
* The confirmation dialog options.

Просмотреть файл

@ -1,10 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, Input } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, Input } from '@angular/core';
import { Subject } from 'rxjs/Subject';
import { BaseDialogComponent, DialogOptions, DialogResult, DialogService } from '@msft-sme/shell/angular';
import { BaseDialogComponent, DialogOptions, DialogResult, DialogService } from '@microsoft/windows-admin-center-sdk/angular';
/**
* The confirmation dialog options.

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { Observable } from 'rxjs';
@ -16,7 +17,7 @@ import {
DialogService,
MessageDialogOptions,
MessageDialogResult
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { ExampleFullScreenDialogOptions, ExampleFullScreenDialogResult } from './dialog-example-full-screen-dialog.component';

Просмотреть файл

@ -1,8 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AfterViewInit, Component, ViewChild } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AfterViewInit, Component, ViewChild } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService, CapacityDoughnutChartComponent, CapacityDoughnutChartData, DoughnutChartData } from '@msft-sme/shell/angular';
import {
AppContextService, CapacityDoughnutChartComponent, CapacityDoughnutChartData, DoughnutChartData
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-doughnut-chart-example',

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-dropdown-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-error-example',

Просмотреть файл

@ -1,10 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { routing } from './form-controls.routing';
import { FormControlsComponent } from './form-controls.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CheckValidationEventArgs, ValidationAlerts, ValidationAlertSeverity } from '@msft-sme/shell/angular';
import { Component } from '@angular/core';
import { CheckValidationEventArgs, ValidationAlerts, ValidationAlertSeverity } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-control-input-soda-factory-example',

Просмотреть файл

@ -1,7 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ValidationAlertSeverity } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ValidationAlertSeverity } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-control-validation-alert-example',
templateUrl: './validation-alert-example.component.html'

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-guided-panel-example',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import {
AppContextService,
@ -9,7 +10,7 @@ import {
CapacityBarChartUpdateData,
CustomHorizontalBarChartData,
HorizontalBarChartComponent
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-horizontal-bar-chart-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-icons-example',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AfterViewInit, Component, ViewChild } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { AfterViewInit, Component, ViewChild } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import {
AppContextService,
@ -8,8 +9,8 @@ import {
LineChartData,
LineChartType,
TabbedLineChartGroupComponent
} from '@msft-sme/shell/angular';
import { Cim, QueryCache } from '@msft-sme/shell/core';
} from '@microsoft/windows-admin-center-sdk/angular';
import { Cim, QueryCache } from '@microsoft/windows-admin-center-sdk/core';
import { Observable, Subject, Subscription } from 'rxjs';
@Component({

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-loading-wheel-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-master-view-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
export interface MyObject {
name: string;

Просмотреть файл

@ -1,13 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit, QueryList } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit, QueryList } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import {
AppContextService,
HealthAlertSeverity,
PageAlert,
PageAlertBarComponent
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-page-alert-bar-example',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { NavigationExtras, Router } from '@angular/router';
@ -12,7 +13,7 @@ import {
CommonSettingsNavigationItem,
ConfirmationDialogOptions,
SettingsFormService
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-common-settings-combined-example',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { SettingsFormService } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { SettingsFormService } from '@microsoft/windows-admin-center-sdk/angular';
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';

Просмотреть файл

@ -1,12 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { Subscription } from 'rxjs/Subscription';
import { SettingsFormService } from '@msft-sme/shell/angular';
import { SettingsFormService } from '@microsoft/windows-admin-center-sdk/angular';
import { CommonSettingsIsolatedExamplePanelBaseComponent } from './common-settings-isolated-example-panel-base.component';

Просмотреть файл

@ -1,12 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { Subscription } from 'rxjs/Subscription';
import { SettingsFormService } from '@msft-sme/shell/angular';
import { SettingsFormService } from '@microsoft/windows-admin-center-sdk/angular';
import { CommonSettingsIsolatedExamplePanelBaseComponent } from './common-settings-isolated-example-panel-base.component';

Просмотреть файл

@ -1,12 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { Subscription } from 'rxjs/Subscription';
import { SettingsFormService } from '@msft-sme/shell/angular';
import { SettingsFormService } from '@microsoft/windows-admin-center-sdk/angular';
import { CommonSettingsIsolatedExamplePanelBaseComponent } from './common-settings-isolated-example-panel-base.component';

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';
@ -12,7 +13,7 @@ import {
FormControlContainerValidationMessages,
FormGroupValidationMessages,
SettingsFormService
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { Address, IsolatedSetting4FormData, IsolatedSettings4ServiceData } from './model/isolated-setting4-model';
@Component({

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { NavigationExtras, RouterStateSnapshot } from '@angular/router';
@ -8,7 +9,7 @@ import {
CommonSettingsComponentBase,
CommonSettingsNavigationItem,
ConfirmationDialogOptions
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-common-settings-isolated-example',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { BaseFormData } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { BaseFormData } from '@microsoft/windows-admin-center-sdk/angular';
export interface Address {
city: string;

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { SettingsFormService } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { SettingsFormService } from '@microsoft/windows-admin-center-sdk/angular';
import { Component } from '@angular/core';

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { NavigationExtras, RouterStateSnapshot } from '@angular/router';
@ -8,7 +9,7 @@ import {
CommonSettingsNavigationItem,
ConfirmationDialogOptions,
SingleSettingComponentBase
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { SingleSettingModel } from './single-setting-model';

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TreeNodeDataItem } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TreeNodeDataItem } from '@microsoft/windows-admin-center-sdk/angular';
/* tslint:disable */
export var TestData = <TreeNodeDataItem>{

Просмотреть файл

@ -1,7 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { TreeNodeDataItem } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { TreeNodeDataItem } from '@microsoft/windows-admin-center-sdk/angular';
import { TestData } from './testData';
@Component({

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { WizardStepComponent } from '@msft-sme/shell/angular';
import { WizardStepComponent } from '@microsoft/windows-admin-center-sdk/angular';
import { CharacterCreatorParams } from '../../models/character-creator-params';
import { Job } from '../../models/job';

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
@ -9,7 +10,7 @@ import { Subscription } from 'rxjs/Subscription';
import {
WizardStepComponent,
WizardStepValidation
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { CharacterCreatorParams } from '../../models/character-creator-params';
@Component({

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { WizardStepComponent } from '@msft-sme/shell/angular';
import { WizardStepComponent } from '@microsoft/windows-admin-center-sdk/angular';
import { CharacterCreatorParams } from '../../models/character-creator-params';
import { Spell } from '../../models/spell';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { WizardStepComponent } from '@msft-sme/shell/angular';
import { Component, OnInit } from '@angular/core';
import { WizardStepComponent } from '@microsoft/windows-admin-center-sdk/angular';
import { CharacterCreatorParams } from '../../models/character-creator-params';
import { Job } from '../../models/job';
import { Spell } from '../../models/spell';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { WizardModel } from '@msft-sme/shell/angular';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { WizardModel } from '@microsoft/windows-admin-center-sdk/angular';
import { Job } from './job';
import { Spell } from './spell';

Просмотреть файл

@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { Subscription } from 'rxjs/Subscription';
import { AppContextService, WizardComponent, WizardModel, WizardStep } from '@msft-sme/shell/angular';
import { AppContextService, WizardComponent, WizardModel, WizardStep } from '@microsoft/windows-admin-center-sdk/angular';
import { CharacterCreatorJobFormComponent } from './components/character-creator-job-form/character-creator-job-form.component';
import { CharacterCreatorNameFormComponent } from './components/character-creator-name-form/character-creator-name-form.component';
import { CharacterCreatorSpellFormComponent } from './components/character-creator-spell-form/character-creator-spell-form.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-boolean-converter-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-byte-unit-converter-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
export enum color {
Red = 0,

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-format-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-highlight-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-pipes',

Просмотреть файл

@ -1,10 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { BooleanConverterExampleComponent } from './boolean-converter/boolean-converter-example.component';
import { ByteUnitConverterExampleComponent } from './byte-unit-converter/byte-unit-converter-example.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-controls-yesno-converter-example',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-accessibility',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-behaviors',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-colors',

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { NavigationExtras, RouterStateSnapshot } from '@angular/router';
@ -8,7 +9,7 @@ import {
CommonSettingsComponentBase,
CommonSettingsNavigationItem,
ConfirmationDialogOptions
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-form-styles',

Просмотреть файл

@ -1,10 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { routing } from './form-styles.routing';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-icons',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-layers',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-layout',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-links',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-pivot',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-progress',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-schemes',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-shadows',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-spacing',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-styles',

Просмотреть файл

@ -1,10 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { routing } from './styles.routing';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ModuleWithProviders } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ModuleWithProviders } from '@angular/core';
import { RouterModule } from '@angular/router';
import * as ng2 from '@msft-sme/shell/angular';
import * as ng2 from '@microsoft/windows-admin-center-sdk/angular';
import { StylesComponent } from './styles.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-themes',

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
@Component({
selector: 'sme-ng2-typography',

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { Net } from '@msft-sme/shell/core';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { Net } from '@microsoft/windows-admin-center-sdk/core';
import { AjaxError, Subscription } from 'rxjs/Rx';
import { Strings } from '../../../generated/strings';
import { HelloService } from '../hello.service';

Просмотреть файл

@ -1,8 +1,10 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<div class="flex-layout stretch-absolute">
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<div class="flex-layout stretch-absolute">
<div class="fixed-flex-size flex-layout vertical tree-pane tool-pane">
<sme-tree-example class="full-height fixed-flex-size tree-pane relative border-right" (onSelectionChange)="onTreeSelectionChange($event)"></sme-tree-example>
</div>
@ -32,7 +34,7 @@
<br /><br /> In this example, we've loaded the data nodes from an external variable (defined in the testData.ts file):
<pre>
<code>
import {{ '{' }} TreeNodeDataItem {{ '}' }} from '@msft-sme/shell/angular';
import {{ '{' }} TreeNodeDataItem {{ '}' }} from '@microsoft/windows-admin-center-sdk/angular';
/* tslint:disable */
export var TestData = &lt;TreeNodeDataItem&gt;{{ '{' }}

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { NotificationState, WorkItemResult, WorkItemSubmitRequest } from '@msft-sme/shell/core';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { NotificationState, WorkItemResult, WorkItemSubmitRequest } from '@microsoft/windows-admin-center-sdk/core';
import { Observable, Subscription } from 'rxjs';
import { PowerShellScripts } from '../../../generated/powerShell-scripts';
import { Strings } from '../../../generated/strings';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { Logging, LogLevel } from '@msft-sme/shell/core';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { Logging, LogLevel } from '@microsoft/windows-admin-center-sdk/core';
import { AjaxError } from 'rxjs/observable/dom/AjaxObservable';
import { Subscription } from 'rxjs/Subscription';
import { PowerShellScripts } from '../../generated/powerShell-scripts';

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import {
@ -16,7 +17,7 @@ import {
SplitViewModule,
SvgModule,
ToolHeaderModule
} from '@msft-sme/shell/angular';
} from '@microsoft/windows-admin-center-sdk/angular';
import { HelloComponent } from './hello.component';
import { HelloRouting } from './hello.routing';
import { HelloService } from './hello.service';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NgModule } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { IdleComponent } from '@msft-sme/shell/angular';
import { IdleComponent } from '@microsoft/windows-admin-center-sdk/angular';
import { CimExampleComponent } from './cim-example/cim-example.component';
import { ControlExampleComponent } from './control-example/control-example.component';
import { DllExampleComponent } from './dll-example/dll-example.component';

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Injectable } from '@angular/core';
import { AppContextService, HttpService } from '@msft-sme/shell/angular';
import { Cim, Http, PowerShell, PowerShellSession } from '@msft-sme/shell/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Injectable } from '@angular/core';
import { AppContextService, HttpService } from '@microsoft/windows-admin-center-sdk/angular';
import { Cim, Http, PowerShell, PowerShellSession } from '@microsoft/windows-admin-center-sdk/core';
import { Observable } from 'rxjs';
import { PowerShellScripts } from '../../generated/powerShell-scripts';
import { Strings } from '../../generated/strings';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { NotificationState, WorkItemResult, WorkItemSubmitRequest } from '@msft-sme/shell/core';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { NotificationState, WorkItemResult, WorkItemSubmitRequest } from '@microsoft/windows-admin-center-sdk/core';
import { Observable, Subscription } from 'rxjs';
import { PowerShellScripts } from '../../../generated/powerShell-scripts';
import { Strings } from '../../../generated/strings';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { Net, PowerShellSession } from '@msft-sme/shell/core';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { Net, PowerShellSession } from '@microsoft/windows-admin-center-sdk/core';
import { AjaxError, Subscription } from 'rxjs/Rx';
import { Strings } from '../../../generated/strings';
import { HelloService } from '../hello.service';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { ActionsModule, AlertBarModule, SmeStylesModule, SvgModule, ToolHeaderModule } from '@msft-sme/shell/angular';
import { ActionsModule, AlertBarModule, SmeStylesModule, SvgModule, ToolHeaderModule } from '@microsoft/windows-admin-center-sdk/angular';
import { HelloService } from '../hello.service';
import { StyleGuideComponent } from './style-guide.component';
import { routing } from './style-guide.routing';

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TreeNodeDataItem } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TreeNodeDataItem } from '@microsoft/windows-admin-center-sdk/angular';
/* tslint:disable */
export var TestData = <TreeNodeDataItem>{

Просмотреть файл

@ -1,7 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
import { TreeNodeDataItem } from '@msft-sme/shell/angular';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
import { TreeNodeDataItem } from '@microsoft/windows-admin-center-sdk/angular';
import { expand } from 'rxjs/operator/expand';
import { Strings } from '../../../generated/strings';
import { TestData } from './testData';

Просмотреть файл

@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRouteSnapshot } from '@angular/router';
import { AppContextService } from '@msft-sme/shell/angular';
import { NotificationState, VersionedObject, WorkItemResult, WorkItemSubmitRequest } from '@msft-sme/shell/core';
import { AppContextService } from '@microsoft/windows-admin-center-sdk/angular';
import { NotificationState, VersionedObject, WorkItemResult, WorkItemSubmitRequest } from '@microsoft/windows-admin-center-sdk/core';
import { Observable, Subscription } from 'rxjs';
import { error } from 'util';
import { PowerShellScripts } from '../../../generated/powerShell-scripts';

Просмотреть файл

@ -1,10 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import './polyfills.ts';
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import './polyfills.ts';
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { CoreEnvironment } from '@msft-sme/shell/core';
import { CoreEnvironment } from '@microsoft/windows-admin-center-sdk/core';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

Просмотреть файл

@ -1,5 +1,5 @@
{
"$schema": "../node_modules/@msft-sme/shell/dist/core/manifest/module-schema.json#",
"$schema": "../node_modules/@microsoft/windows-admin-center-sdk/dist/core/manifest/module-schema.json#",
"name": "msft.sme.developer-tools",
"displayName": "resources:strings:displayName",
"description": "resources:strings:description",

Просмотреть файл

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/**
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
@ -61,7 +62,7 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
* APPLICATION IMPORTS
*/
// Server management tools specific polyfills
import '@msft-sme/shell/dist/core/polyfills';
import '@microsoft/windows-admin-center-sdk/dist/core/polyfills';
/**
* Date, currency, decimal and percent pipes.

Просмотреть файл

@ -1,8 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
require('./load-jsdom.helper');
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
require('./load-jsdom.helper');
require('./load-babel-require.helper');
require('rxjs');
require('@msft-sme/shell/dist/core/polyfills');
require('@microsoft/windows-admin-center-sdk/dist/core/polyfills');