Browse Source

Ng8

pull/362/head
Sebastian 7 years ago
parent
commit
8d8dcea518
  1. 18
      src/Squidex/app/app.routes.ts
  2. 2
      src/Squidex/app/features/api/pages/graphql/graphql-page.component.scss
  3. 2
      src/Squidex/app/features/api/pages/graphql/graphql-page.component.ts
  4. 2
      src/Squidex/app/features/apps/pages/apps-page.component.scss
  5. 2
      src/Squidex/app/features/apps/pages/news-dialog.component.scss
  6. 2
      src/Squidex/app/features/apps/pages/onboarding-dialog.component.scss
  7. 2
      src/Squidex/app/features/assets/pages/assets-page.component.scss
  8. 2
      src/Squidex/app/features/content/pages/content/content-history-page.component.scss
  9. 2
      src/Squidex/app/features/content/pages/content/content-page.component.ts
  10. 6
      src/Squidex/app/features/content/pages/contents/contents-page.component.scss
  11. 2
      src/Squidex/app/features/content/pages/contents/contents-page.component.ts
  12. 2
      src/Squidex/app/features/content/shared/array-item.component.scss
  13. 12
      src/Squidex/app/features/content/shared/contents-selector.component.scss
  14. 4
      src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss
  15. 8
      src/Squidex/app/features/rules/pages/rules/rule-element.component.scss
  16. 6
      src/Squidex/app/features/schemas/pages/schema/field-wizard.component.scss
  17. 2
      src/Squidex/app/features/schemas/pages/schema/field-wizard.component.ts
  18. 10
      src/Squidex/app/features/schemas/pages/schemas/schema-form.component.scss
  19. 2
      src/Squidex/app/features/settings/pages/roles/role.component.ts
  20. 4
      src/Squidex/app/framework/angular/forms/autocomplete.component.ts
  21. 2
      src/Squidex/app/framework/angular/forms/code-editor.component.scss
  22. 2
      src/Squidex/app/framework/angular/forms/code-editor.component.ts
  23. 2
      src/Squidex/app/framework/angular/forms/color-picker.component.scss
  24. 2
      src/Squidex/app/framework/angular/forms/date-time-editor.component.ts
  25. 2
      src/Squidex/app/framework/angular/forms/iframe-editor.component.ts
  26. 2
      src/Squidex/app/framework/angular/forms/json-editor.component.scss
  27. 2
      src/Squidex/app/framework/angular/forms/json-editor.component.ts
  28. 4
      src/Squidex/app/framework/angular/forms/tag-editor.component.ts
  29. 4
      src/Squidex/app/framework/angular/modals/modal-dialog.component.ts
  30. 2
      src/Squidex/app/framework/angular/modals/root-view.component.ts
  31. 2
      src/Squidex/app/framework/angular/panel.component.ts
  32. 5
      src/Squidex/app/shared/components/asset.component.scss
  33. 2
      src/Squidex/app/shared/components/assets-selector.component.scss
  34. 4
      src/Squidex/app/shared/components/geolocation-editor.component.ts
  35. 2
      src/Squidex/app/shared/components/history-list.component.scss
  36. 6
      src/Squidex/app/shared/components/markdown-editor.component.ts
  37. 2
      src/Squidex/app/shared/components/rich-editor.component.ts
  38. 2
      src/Squidex/app/shell/pages/internal/internal-area.component.scss
  39. 105
      src/Squidex/app/shims.ts
  40. 2
      src/Squidex/app/theme/_bootstrap.scss
  41. 2657
      src/Squidex/package-lock.json
  42. 52
      src/Squidex/package.json
  43. 1
      src/Squidex/tsconfig.json

18
src/Squidex/app/app.routes.ts

@ -38,12 +38,12 @@ export const routes: Routes = [
children: [ children: [
{ {
path: '', path: '',
loadChildren: './features/apps/module#SqxFeatureAppsModule', loadChildren: () => import('./features/apps/module').then(m => m.SqxFeatureAppsModule),
canActivate: [UnsetAppGuard] canActivate: [UnsetAppGuard]
}, },
{ {
path: 'administration', path: 'administration',
loadChildren: './features/administration/module#SqxFeatureAdministrationModule', loadChildren: () => import('./features/administration/module').then(m => m.SqxFeatureAdministrationModule),
canActivate: [UnsetAppGuard] canActivate: [UnsetAppGuard]
}, },
{ {
@ -53,31 +53,31 @@ export const routes: Routes = [
children: [ children: [
{ {
path: '', path: '',
loadChildren: './features/dashboard/module#SqxFeatureDashboardModule' loadChildren: () => import('./features/dashboard/module').then(m => m.SqxFeatureDashboardModule)
}, },
{ {
path: 'content', path: 'content',
loadChildren: './features/content/module#SqxFeatureContentModule' loadChildren: () => import('./features/content/module').then(m => m.SqxFeatureContentModule)
}, },
{ {
path: 'schemas', path: 'schemas',
loadChildren: './features/schemas/module#SqxFeatureSchemasModule' loadChildren: () => import('./features/schemas/module').then(m => m.SqxFeatureSchemasModule)
}, },
{ {
path: 'assets', path: 'assets',
loadChildren: './features/assets/module#SqxFeatureAssetsModule' loadChildren: () => import('./features/assets/module').then(m => m.SqxFeatureAssetsModule)
}, },
{ {
path: 'rules', path: 'rules',
loadChildren: './features/rules/module#SqxFeatureRulesModule' loadChildren: () => import('./features/rules/module').then(m => m.SqxFeatureRulesModule)
}, },
{ {
path: 'settings', path: 'settings',
loadChildren: './features/settings/module#SqxFeatureSettingsModule' loadChildren: () => import('./features/settings/module').then(m => m.SqxFeatureSettingsModule)
}, },
{ {
path: 'api', path: 'api',
loadChildren: './features/api/module#SqxFeatureApiModule' loadChildren: () => import('./features/api/module').then(m => m.SqxFeatureApiModule)
} }
] ]
} }

2
src/Squidex/app/features/api/pages/graphql/graphql-page.component.scss

@ -1,7 +1,7 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ { ::ng-deep {
@import '~graphiql/graphiql'; @import '~graphiql/graphiql';
.graphiql-container { .graphiql-container {

2
src/Squidex/app/features/api/pages/graphql/graphql-page.component.ts

@ -22,7 +22,7 @@ import { AppsState, GraphQlService } from '@app/shared';
templateUrl: './graphql-page.component.html' templateUrl: './graphql-page.component.html'
}) })
export class GraphQLPageComponent implements AfterViewInit { export class GraphQLPageComponent implements AfterViewInit {
@ViewChild('graphiQLContainer') @ViewChild('graphiQLContainer', { static: false })
public graphiQLContainer: ElementRef; public graphiQLContainer: ElementRef;
constructor( constructor(

2
src/Squidex/app/features/apps/pages/apps-page.component.scss

@ -66,7 +66,7 @@
} }
&:hover { &:hover {
@include box-shadow(0, 3px, 16px, .2px); @include box-shadow(0, 3px, 16px, .2);
} }
&:focus { &:focus {

2
src/Squidex/app/features/apps/pages/news-dialog.component.scss

@ -1,7 +1,7 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ { ::ng-deep {
img { img {
@include box-shadow(0, 4px, 20px, .2); @include box-shadow(0, 4px, 20px, .2);
width: 80%; width: 80%;

2
src/Squidex/app/features/apps/pages/onboarding-dialog.component.scss

@ -19,7 +19,7 @@ p {
max-width: 489px; max-width: 489px;
} }
:host /deep/ .modal { ::ng-deep .modal {
&-content, &-content,
&-dialog { &-dialog {
min-height: $size-height; min-height: $size-height;

2
src/Squidex/app/features/assets/pages/assets-page.component.scss

@ -6,7 +6,7 @@
padding: 1rem; padding: 1rem;
} }
:host /deep/ { ::ng-deep {
.search { .search {
.form-control { .form-control {
@include border-radius-right; @include border-radius-right;

2
src/Squidex/app/features/content/pages/content/content-history-page.component.scss

@ -1,7 +1,7 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ { ::ng-deep {
.user-ref { .user-ref {
color: $color-title; color: $color-title;
} }

2
src/Squidex/app/features/content/pages/content/content-page.component.ts

@ -59,7 +59,7 @@ export class ContentPageComponent extends ResourceOwner implements CanComponentD
public language: AppLanguageDto; public language: AppLanguageDto;
public languages: ImmutableArray<AppLanguageDto>; public languages: ImmutableArray<AppLanguageDto>;
@ViewChild('dueTimeSelector') @ViewChild('dueTimeSelector', { static: false })
public dueTimeSelector: DueTimeSelectorComponent; public dueTimeSelector: DueTimeSelectorComponent;
constructor(apiUrl: ApiUrlConfig, authService: AuthService, constructor(apiUrl: ApiUrlConfig, authService: AuthService,

6
src/Squidex/app/features/content/pages/contents/contents-page.component.scss

@ -1,8 +1,10 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ .search-form { ::ng-deep {
display: block; .search-form {
display: block;
}
} }
.content { .content {

2
src/Squidex/app/features/content/pages/contents/contents-page.component.ts

@ -56,7 +56,7 @@ export class ContentsPageComponent extends ResourceOwner implements OnInit {
public isAllSelected = false; public isAllSelected = false;
@ViewChild('dueTimeSelector') @ViewChild('dueTimeSelector', { static: false })
public dueTimeSelector: DueTimeSelectorComponent; public dueTimeSelector: DueTimeSelectorComponent;
constructor( constructor(

2
src/Squidex/app/features/content/shared/array-item.component.scss

@ -1,7 +1,7 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ { ::ng-deep {
.ui-separator { .ui-separator {
border-color: $color-border !important; border-color: $color-border !important;
font-size: 1.2rem; font-size: 1.2rem;

12
src/Squidex/app/features/content/shared/contents-selector.component.scss

@ -1,10 +1,12 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ .modal-body { ::ng-deep {
background: $color-background; .modal-body {
} background: $color-background;
}
:host /deep/ .modal-tabs { .modal-tabs {
background: $color-dark-foreground; background: $color-dark-foreground;
}
} }

4
src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss

@ -19,7 +19,7 @@
} }
} }
:host /deep/ canvas { ::ng-deep canvas {
height: 12rem !important; height: 12rem !important;
margin-top: -1rem; margin-top: -1rem;
margin-bottom: 0; margin-bottom: 0;
@ -72,7 +72,7 @@
} }
&:hover { &:hover {
@include box-shadow(0, 3px, 16px, .2px); @include box-shadow(0, 3px, 16px, .2);
} }
&:focus { &:focus {

8
src/Squidex/app/features/rules/pages/rules/rule-element.component.scss

@ -82,7 +82,9 @@
display: inline-block; display: inline-block;
} }
/deep/ svg { ::ng-deep {
fill: $color-dark-foreground; svg {
display: block; fill: $color-dark-foreground;
display: block;
}
} }

6
src/Squidex/app/features/schemas/pages/schema/field-wizard.component.scss

@ -3,8 +3,10 @@
$icon-size: 4.5rem; $icon-size: 4.5rem;
:host /deep/ .table-items-row-details-tab { ::ng-deep {
padding: 1.5rem 1.75rem; .table-items-row-details-tab {
padding: 1.5rem 1.75rem;
}
} }
.form-group { .form-group {

2
src/Squidex/app/features/schemas/pages/schema/field-wizard.component.ts

@ -29,7 +29,7 @@ const DEFAULT_FIELD = { name: '', partitioning: 'invariant', properties: createP
templateUrl: './field-wizard.component.html' templateUrl: './field-wizard.component.html'
}) })
export class FieldWizardComponent implements OnInit { export class FieldWizardComponent implements OnInit {
@ViewChild('nameInput') @ViewChild('nameInput', { static: false })
public nameInput: ElementRef<HTMLElement>; public nameInput: ElementRef<HTMLElement>;
@Input() @Input()

10
src/Squidex/app/features/schemas/pages/schemas/schema-form.component.scss

@ -8,10 +8,12 @@ $icon-size: 4.5rem;
margin-left: -.5rem; margin-left: -.5rem;
} }
:host /deep/ .editor { ::ng-deep {
height: 15rem !important; .editor {
margin-bottom: .5rem; height: 15rem !important;
margin-top: 0; margin-bottom: .5rem;
margin-top: 0;
}
} }
.name-group { .name-group {

2
src/Squidex/app/features/settings/pages/roles/role.component.ts

@ -40,7 +40,7 @@ export class RoleComponent implements OnChanges {
@Input() @Input()
public allPermissions: AutocompleteSource; public allPermissions: AutocompleteSource;
@ViewChild('addInput') @ViewChild('addInput', { static: false })
public addPermissionInput: AutocompleteComponent; public addPermissionInput: AutocompleteComponent;
public isEditing = false; public isEditing = false;

4
src/Squidex/app/framework/angular/forms/autocomplete.component.ts

@ -52,10 +52,10 @@ export class AutocompleteComponent extends StatefulControlComponent<State, any[]
@Input() @Input()
public placeholder = ''; public placeholder = '';
@ContentChild(TemplateRef) @ContentChild(TemplateRef, { static: false })
public itemTemplate: TemplateRef<any>; public itemTemplate: TemplateRef<any>;
@ViewChild('input') @ViewChild('input', { static: false })
public inputControl: ElementRef<HTMLInputElement>; public inputControl: ElementRef<HTMLInputElement>;
public queryInput = new FormControl(); public queryInput = new FormControl();

2
src/Squidex/app/framework/angular/forms/code-editor.component.scss

@ -3,7 +3,7 @@
// sass-lint:disable class-name-format // sass-lint:disable class-name-format
:host /deep/ { ::ng-deep {
.ace_editor { .ace_editor {
background: $color-dark-foreground; background: $color-dark-foreground;
border: 1px solid $color-input; border: 1px solid $color-input;

2
src/Squidex/app/framework/angular/forms/code-editor.component.ts

@ -35,7 +35,7 @@ export class CodeEditorComponent extends ExternalControlComponent<string> implem
private value: string; private value: string;
private isDisabled = false; private isDisabled = false;
@ViewChild('editor') @ViewChild('editor', { static: false })
public editor: ElementRef; public editor: ElementRef;
@Input() @Input()

2
src/Squidex/app/framework/angular/forms/color-picker.component.scss

@ -1,7 +1,7 @@
@import '_mixins'; @import '_mixins';
@import '_vars'; @import '_vars';
:host /deep/ { ::ng-deep {
.color-picker { .color-picker {
& { & {
border-color: $color-border; border-color: $color-border;

2
src/Squidex/app/framework/angular/forms/date-time-editor.component.ts

@ -41,7 +41,7 @@ export class DateTimeEditorComponent extends StatefulControlComponent<{}, string
@Input() @Input()
public hideClear: boolean; public hideClear: boolean;
@ViewChild('dateInput') @ViewChild('dateInput', { static: false })
public dateInput: ElementRef; public dateInput: ElementRef;
public timeControl = new FormControl(); public timeControl = new FormControl();

2
src/Squidex/app/framework/angular/forms/iframe-editor.component.ts

@ -26,7 +26,7 @@ export class IFrameEditorComponent extends ExternalControlComponent<any> impleme
private isDisabled = false; private isDisabled = false;
private isInitialized = false; private isInitialized = false;
@ViewChild('iframe') @ViewChild('iframe', { static: false })
public iframe: ElementRef<HTMLIFrameElement>; public iframe: ElementRef<HTMLIFrameElement>;
@Input() @Input()

2
src/Squidex/app/framework/angular/forms/json-editor.component.scss

@ -3,7 +3,7 @@
// sass-lint:disable class-name-format // sass-lint:disable class-name-format
:host /deep/ { ::ng-deep {
.ace_editor { .ace_editor {
background: $color-dark-foreground; background: $color-dark-foreground;
border: 1px solid $color-input; border: 1px solid $color-input;

2
src/Squidex/app/framework/angular/forms/json-editor.component.ts

@ -32,7 +32,7 @@ export class JsonEditorComponent extends ExternalControlComponent<string> implem
private valueString: string; private valueString: string;
private isDisabled = false; private isDisabled = false;
@ViewChild('editor') @ViewChild('editor', { static: false })
public editor: ElementRef<HTMLDivElement>; public editor: ElementRef<HTMLDivElement>;
constructor(changeDetector: ChangeDetectorRef, constructor(changeDetector: ChangeDetectorRef,

4
src/Squidex/app/framework/angular/forms/tag-editor.component.ts

@ -93,10 +93,10 @@ interface State {
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class TagEditorComponent extends StatefulControlComponent<State, any[]> implements AfterViewInit, OnInit { export class TagEditorComponent extends StatefulControlComponent<State, any[]> implements AfterViewInit, OnInit {
@ViewChild('form') @ViewChild('form', { static: false })
public formElement: ElementRef<HTMLElement>; public formElement: ElementRef<HTMLElement>;
@ViewChild('input') @ViewChild('input', { static: false })
public inputElement: ElementRef<HTMLInputElement>; public inputElement: ElementRef<HTMLInputElement>;
@Input() @Input()

4
src/Squidex/app/framework/angular/modals/modal-dialog.component.ts

@ -51,10 +51,10 @@ export class ModalDialogComponent extends StatefulComponent<State> implements Af
@Output() @Output()
public close = new EventEmitter(); public close = new EventEmitter();
@ViewChild('tabsElement') @ViewChild('tabsElement', { static: false })
public tabsElement: ElementRef<ParentNode>; public tabsElement: ElementRef<ParentNode>;
@ViewChild('footerElement') @ViewChild('footerElement', { static: false })
public footerElement: ElementRef<ParentNode>; public footerElement: ElementRef<ParentNode>;
constructor(changeDetector: ChangeDetectorRef) { constructor(changeDetector: ChangeDetectorRef) {

2
src/Squidex/app/framework/angular/modals/root-view.component.ts

@ -14,6 +14,6 @@ import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class RootViewComponent { export class RootViewComponent {
@ViewChild('element', { read: ViewContainerRef }) @ViewChild('element', { read: ViewContainerRef, static: false })
public viewContainer: ViewContainerRef; public viewContainer: ViewContainerRef;
} }

2
src/Squidex/app/framework/angular/panel.component.ts

@ -64,7 +64,7 @@ export class PanelComponent implements AfterViewInit, OnDestroy, OnInit {
@Input() @Input()
public sidebarClass = ''; public sidebarClass = '';
@ViewChild('panel') @ViewChild('panel', { static: false })
public panel: ElementRef<HTMLElement>; public panel: ElementRef<HTMLElement>;
constructor( constructor(

5
src/Squidex/app/shared/components/asset.component.scss

@ -44,7 +44,7 @@ $list-height: 2.375rem;
padding: 0; padding: 0;
} }
:host /deep/ { ::ng-deep {
.form-control { .form-control {
&.disabled, &.disabled,
&:disabled { &:disabled {
@ -107,7 +107,8 @@ $list-height: 2.375rem;
background: $color-dark-black; background: $color-dark-black;
} }
&-name, &-info { &-name,
&-info {
@include truncate; @include truncate;
} }

2
src/Squidex/app/shared/components/assets-selector.component.scss

@ -1,7 +1,7 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ { ::ng-deep {
.search { .search {
.form-control { .form-control {
@include border-radius-right; @include border-radius-right;

4
src/Squidex/app/shared/components/geolocation-editor.component.ts

@ -64,10 +64,10 @@ export class GeolocationEditorComponent extends StatefulControlComponent<State,
] ]
}); });
@ViewChild('editor') @ViewChild('editor', { static: false })
public editor: ElementRef<HTMLElement>; public editor: ElementRef<HTMLElement>;
@ViewChild('searchBox') @ViewChild('searchBox', { static: false })
public searchBoxInput: ElementRef<HTMLInputElement>; public searchBoxInput: ElementRef<HTMLInputElement>;
constructor(changeDetector: ChangeDetectorRef, constructor(changeDetector: ChangeDetectorRef,

2
src/Squidex/app/shared/components/history-list.component.scss

@ -1,7 +1,7 @@
@import '_vars'; @import '_vars';
@import '_mixins'; @import '_mixins';
:host /deep/ { ::ng-deep {
.user-ref { .user-ref {
color: $color-title; color: $color-title;
} }

6
src/Squidex/app/shared/components/markdown-editor.component.ts

@ -40,13 +40,13 @@ export class MarkdownEditorComponent extends StatefulControlComponent<State, str
private value: string; private value: string;
private isDisabled = false; private isDisabled = false;
@ViewChild('editor') @ViewChild('editor', { static: false })
public editor: ElementRef; public editor: ElementRef;
@ViewChild('container') @ViewChild('container', { static: false })
public container: ElementRef; public container: ElementRef;
@ViewChild('inner') @ViewChild('inner', { static: false })
public inner: ElementRef; public inner: ElementRef;
public assetsDialog = new DialogModel(); public assetsDialog = new DialogModel();

2
src/Squidex/app/shared/components/rich-editor.component.ts

@ -46,7 +46,7 @@ export class RichEditorComponent extends StatefulControlComponent<any, string> i
private value: string; private value: string;
private isDisabled = false; private isDisabled = false;
@ViewChild('editor') @ViewChild('editor', { static: false })
public editor: ElementRef; public editor: ElementRef;
@Output() @Output()

2
src/Squidex/app/shell/pages/internal/internal-area.component.scss

@ -2,7 +2,7 @@
@import '_mixins'; @import '_mixins';
.navbar { .navbar {
@include box-shadow(0, 3px, 5px, .13px); @include box-shadow(0, 3px, 5px, .13);
display: block; display: block;
} }

105
src/Squidex/app/shims.ts

@ -5,20 +5,93 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/ */
import 'core-js/es6/array'; // ES2015 symbol capabilities
import 'core-js/es6/date'; import 'core-js/modules/es.symbol';
import 'core-js/es6/function';
import 'core-js/es6/map'; // ES2015 function capabilities
import 'core-js/es6/math'; import 'core-js/modules/es.function.bind';
import 'core-js/es6/number'; import 'core-js/modules/es.function.has-instance';
import 'core-js/es6/object'; import 'core-js/modules/es.function.name';
import 'core-js/es6/parse-float';
import 'core-js/es6/parse-int'; // ES2015 object capabilities
import 'core-js/es6/reflect'; import 'core-js/modules/es.object.assign';
import 'core-js/es6/regexp'; import 'core-js/modules/es.object.create';
import 'core-js/es6/set'; import 'core-js/modules/es.object.define-properties';
import 'core-js/es6/string'; import 'core-js/modules/es.object.define-property';
import 'core-js/es6/symbol'; import 'core-js/modules/es.object.freeze';
import 'core-js/modules/es.object.get-own-property-descriptor';
import 'core-js/es7/reflect'; import 'core-js/modules/es.object.get-own-property-names';
import 'core-js/modules/es.object.get-prototype-of';
import 'core-js/modules/es.object.is';
import 'core-js/modules/es.object.is-extensible';
import 'core-js/modules/es.object.is-frozen';
import 'core-js/modules/es.object.is-sealed';
import 'core-js/modules/es.object.keys';
import 'core-js/modules/es.object.prevent-extensions';
import 'core-js/modules/es.object.seal';
import 'core-js/modules/es.object.set-prototype-of';
import 'core-js/modules/es.object.to-string';
// ES2015 array capabilities
import 'core-js/modules/es.array.copy-within';
import 'core-js/modules/es.array.every';
import 'core-js/modules/es.array.fill';
import 'core-js/modules/es.array.filter';
import 'core-js/modules/es.array.find';
import 'core-js/modules/es.array.find-index';
import 'core-js/modules/es.array.for-each';
import 'core-js/modules/es.array.from';
import 'core-js/modules/es.array.index-of';
import 'core-js/modules/es.array.is-array';
import 'core-js/modules/es.array.iterator';
import 'core-js/modules/es.array.join';
import 'core-js/modules/es.array.last-index-of';
import 'core-js/modules/es.array.map';
import 'core-js/modules/es.array.of';
import 'core-js/modules/es.array.reduce';
import 'core-js/modules/es.array.reduce-right';
import 'core-js/modules/es.array.slice';
import 'core-js/modules/es.array.some';
import 'core-js/modules/es.array.sort';
// ES2015 string capabilities
import 'core-js/modules/es.string.anchor';
import 'core-js/modules/es.string.big';
import 'core-js/modules/es.string.blink';
import 'core-js/modules/es.string.bold';
import 'core-js/modules/es.string.code-point-at';
import 'core-js/modules/es.string.ends-with';
import 'core-js/modules/es.string.fixed';
import 'core-js/modules/es.string.fontcolor';
import 'core-js/modules/es.string.fontsize';
import 'core-js/modules/es.string.from-code-point';
import 'core-js/modules/es.string.includes';
import 'core-js/modules/es.string.italics';
import 'core-js/modules/es.string.iterator';
import 'core-js/modules/es.string.link';
import 'core-js/modules/es.string.raw';
import 'core-js/modules/es.string.repeat';
import 'core-js/modules/es.string.small';
import 'core-js/modules/es.string.starts-with';
import 'core-js/modules/es.string.strike';
import 'core-js/modules/es.string.sub';
import 'core-js/modules/es.string.sup';
import 'core-js/modules/es.string.trim';
import 'core-js/modules/es.parse-float';
import 'core-js/modules/es.parse-int';
import 'core-js/es/date';
import 'core-js/es/math';
import 'core-js/es/number';
import 'core-js/es/regexp';
import 'core-js/modules/es.map';
import 'core-js/modules/es.promise';
import 'core-js/modules/es.set';
import 'core-js/modules/es.weak-map';
import 'core-js/modules/web.dom-collections.iterator';
import 'core-js/proposals/reflect-metadata';
import 'zone.js/dist/zone'; import 'zone.js/dist/zone';

2
src/Squidex/app/theme/_bootstrap.scss

@ -162,7 +162,7 @@ a {
.dropdown-menu { .dropdown-menu {
// White dropdown menu without border and shadow. // White dropdown menu without border and shadow.
& { & {
@include box-shadow(0, 3px, 16px, .2px); @include box-shadow(0, 3px, 16px, .2);
border: 0; border: 0;
background: $panel-light-background; background: $panel-light-background;
} }

2657
src/Squidex/package-lock.json

File diff suppressed because it is too large

52
src/Squidex/package.json

@ -15,21 +15,21 @@
"build:clean": "rimraf wwwroot/build" "build:clean": "rimraf wwwroot/build"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "7.2.14", "@angular/animations": "8.0.0",
"@angular/common": "7.2.14", "@angular/common": "8.0.0",
"@angular/core": "7.2.14", "@angular/core": "8.0.0",
"@angular/forms": "7.2.14", "@angular/forms": "8.0.0",
"@angular/http": "7.2.14", "@angular/http": "7.2.15",
"@angular/platform-browser-dynamic": "7.2.14", "@angular/platform-browser-dynamic": "8.0.0",
"@angular/platform-browser": "7.2.14", "@angular/platform-browser": "8.0.0",
"@angular/platform-server": "7.2.14", "@angular/platform-server": "8.0.0",
"@angular/router": "7.2.14", "@angular/router": "8.0.0",
"angular2-chartjs": "0.5.1", "angular2-chartjs": "0.5.1",
"babel-polyfill": "6.26.0", "babel-polyfill": "6.26.0",
"bootstrap": "4.3.1", "bootstrap": "4.3.1",
"core-js": "2.6.3", "core-js": "3.1.3",
"graphiql": "0.13.0", "graphiql": "0.13.0",
"graphql": "14.2.1", "graphql": "14.3.1",
"marked": "0.6.2", "marked": "0.6.2",
"moment": "2.24.0", "moment": "2.24.0",
"mousetrap": "1.6.3", "mousetrap": "1.6.3",
@ -40,23 +40,23 @@
"progressbar.js": "1.0.1", "progressbar.js": "1.0.1",
"react-dom": "16.8.6", "react-dom": "16.8.6",
"react": "16.8.6", "react": "16.8.6",
"rxjs": "6.5.1", "rxjs": "6.5.2",
"slugify": "1.3.4", "slugify": "1.3.4",
"sortablejs": "1.9.0", "sortablejs": "1.9.0",
"tslib": "1.9.3", "tslib": "1.9.3",
"zone.js": "0.9.1" "zone.js": "0.9.1"
}, },
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "7.2.14", "@angular/compiler-cli": "8.0.0",
"@angular/compiler": "7.2.14", "@angular/compiler": "8.0.0",
"@ngtools/webpack": "7.3.8", "@ngtools/webpack": "8.0.1",
"@types/core-js": "2.5.0", "@types/core-js": "2.5.0",
"@types/jasmine": "3.3.12", "@types/jasmine": "3.3.13",
"@types/marked": "0.6.5", "@types/marked": "0.6.5",
"@types/mousetrap": "1.6", "@types/mousetrap": "1.6",
"@types/node": "12.0.0", "@types/node": "12.0.4",
"@types/react-dom": "16.8.4", "@types/react-dom": "16.8.4",
"@types/react": "16.8.16", "@types/react": "16.8.19",
"@types/sortablejs": "1.7.2", "@types/sortablejs": "1.7.2",
"angular-router-loader": "0.8.5", "angular-router-loader": "0.8.5",
"angular2-template-loader": "0.6.2", "angular2-template-loader": "0.6.2",
@ -82,7 +82,7 @@
"karma-sourcemap-loader": "0.3.7", "karma-sourcemap-loader": "0.3.7",
"karma-webpack": "3.0.5", "karma-webpack": "3.0.5",
"karma": "4.1.0", "karma": "4.1.0",
"mini-css-extract-plugin": "0.6.0", "mini-css-extract-plugin": "0.7.0",
"node-sass": "4.12.0", "node-sass": "4.12.0",
"optimize-css-assets-webpack-plugin": "5.0.1", "optimize-css-assets-webpack-plugin": "5.0.1",
"raw-loader": "1.0.0", "raw-loader": "1.0.0",
@ -91,17 +91,17 @@
"sass-lint": "1.13.1", "sass-lint": "1.13.1",
"sass-loader": "7.1.0", "sass-loader": "7.1.0",
"style-loader": "0.23.1", "style-loader": "0.23.1",
"ts-loader": "5.4.5", "ts-loader": "6.0.2",
"tsconfig-paths-webpack-plugin": "3.2.0", "tsconfig-paths-webpack-plugin": "3.2.0",
"tslint-webpack-plugin": "2.0.4", "tslint-webpack-plugin": "2.0.4",
"tslint": "5.16.0", "tslint": "5.17.0",
"typemoq": "2.1.0", "typemoq": "2.1.0",
"typescript": "3.2.4", "typescript": "3.4.3",
"uglifyjs-webpack-plugin": "2.1.2", "uglifyjs-webpack-plugin": "2.1.3",
"underscore": "1.9.1", "underscore": "1.9.1",
"webpack-cli": "3.3.1", "webpack-cli": "3.3.2",
"webpack-dev-server": "3.3.1", "webpack-dev-server": "3.5.1",
"webpack-merge": "4.2.1", "webpack-merge": "4.2.1",
"webpack": "4.30.0" "webpack": "4.32.2"
} }
} }

1
src/Squidex/tsconfig.json

@ -3,6 +3,7 @@
"baseUrl": ".", "baseUrl": ".",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"incremental": true,
"importHelpers": true, "importHelpers": true,
"lib": ["es6", "esnext", "dom"], "lib": ["es6", "esnext", "dom"],
"moduleResolution": "node", "moduleResolution": "node",

Loading…
Cancel
Save