Browse Source

Slugify input.

pull/241/head
Sebastian Stehle 8 years ago
parent
commit
82ed3f7dfa
  1. BIN
      Fody.2.3.24.nupkg
  2. BIN
      libs/fody/2.3.24/fody.2.3.24.nupkg
  3. 1
      libs/fody/2.3.24/fody.2.3.24.nupkg.sha512
  4. 17
      libs/fody/2.3.24/fody.nuspec
  5. BIN
      libs/microsoft.orleans.orleanscodegenerator.build/2.0.0-beta1-fix/microsoft.orleans.orleanscodegenerator.build.2.0.0-beta1-fix.nupkg
  6. 1
      libs/microsoft.orleans.orleanscodegenerator.build/2.0.0-beta1-fix/microsoft.orleans.orleanscodegenerator.build.2.0.0-beta1-fix.nupkg.sha512
  7. 23
      libs/microsoft.orleans.orleanscodegenerator.build/2.0.0-beta1-fix/microsoft.orleans.orleanscodegenerator.build.nuspec
  8. BIN
      libs/orleansdashboard/2.0.0-beta3/orleansdashboard.2.0.0-beta3.nupkg
  9. 1
      libs/orleansdashboard/2.0.0-beta3/orleansdashboard.2.0.0-beta3.nupkg.sha512
  10. 25
      libs/orleansdashboard/2.0.0-beta3/orleansdashboard.nuspec
  11. 4
      src/Squidex.Domain.Apps.Core.Model/Schemas/NumberFieldProperties.cs
  12. 1
      src/Squidex.Domain.Apps.Core.Model/Schemas/StringFieldEditor.cs
  13. 4
      src/Squidex.Domain.Apps.Core.Model/Schemas/StringFieldProperties.cs
  14. 3
      src/Squidex/app/features/content/pages/content/content-field.component.html
  15. 7
      src/Squidex/app/features/schemas/pages/schema/types/string-ui.component.html
  16. 8
      src/Squidex/app/framework/angular/lowercase-input.directive.ts
  17. 67
      src/Squidex/app/framework/angular/slugify-input.directive.ts
  18. 1
      src/Squidex/app/framework/declarations.ts
  19. 3
      src/Squidex/app/framework/module.ts
  20. 4
      src/Squidex/app/theme/icomoon/demo-files/demo.css
  21. 684
      src/Squidex/app/theme/icomoon/demo.html
  22. BIN
      src/Squidex/app/theme/icomoon/fonts/icomoon.eot
  23. 2
      src/Squidex/app/theme/icomoon/fonts/icomoon.svg
  24. BIN
      src/Squidex/app/theme/icomoon/fonts/icomoon.ttf
  25. BIN
      src/Squidex/app/theme/icomoon/fonts/icomoon.woff
  26. 0
      src/Squidex/app/theme/icomoon/icons/action-Algolia.svg
  27. 57
      src/Squidex/app/theme/icomoon/icons/action-Fastly.svg
  28. 18
      src/Squidex/app/theme/icomoon/icons/control-Slug.svg
  29. 57
      src/Squidex/app/theme/icomoon/icons/fastly.svg
  30. 1590
      src/Squidex/app/theme/icomoon/selection.json
  31. 162
      src/Squidex/app/theme/icomoon/style.css
  32. 1
      src/Squidex/package.json

BIN
Fody.2.3.24.nupkg

Binary file not shown.

BIN
libs/fody/2.3.24/fody.2.3.24.nupkg

Binary file not shown.

1
libs/fody/2.3.24/fody.2.3.24.nupkg.sha512

@ -1 +0,0 @@
tTFEibLh222u4a7SJ+I4zCkfPRBRF4mHF446OSRQtILNZ2tH0Te/rSM7MCt1FzvLAy5KeNlZHfwdlS+AJZDa6w==

17
libs/fody/2.3.24/fody.nuspec

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Fody</id>
<version>2.3.24</version>
<authors>Simon Cropp</authors>
<owners>Simon Cropp</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<developmentDependency>true</developmentDependency>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<projectUrl>http://github.com/Fody/Fody</projectUrl>
<iconUrl>https://raw.github.com/Fody/Fody/master/package_icon.png</iconUrl>
<description>Extensible tool for weaving .net assemblies.</description>
<copyright></copyright>
<tags>ILWeaving, Fody, Cecil, AOP</tags>
</metadata>
</package>

BIN
libs/microsoft.orleans.orleanscodegenerator.build/2.0.0-beta1-fix/microsoft.orleans.orleanscodegenerator.build.2.0.0-beta1-fix.nupkg

Binary file not shown.

1
libs/microsoft.orleans.orleanscodegenerator.build/2.0.0-beta1-fix/microsoft.orleans.orleanscodegenerator.build.2.0.0-beta1-fix.nupkg.sha512

@ -1 +0,0 @@
5W20j9jiNog4dHUEt+cCnePb8z6jFEMnkwO4XilajM7FCnen3KTnN/G8PAUGuQieSlTI9MRe0sRYcafLJl900w==

23
libs/microsoft.orleans.orleanscodegenerator.build/2.0.0-beta1-fix/microsoft.orleans.orleanscodegenerator.build.nuspec

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Microsoft.Orleans.OrleansCodeGenerator.Build</id>
<version>2.0.0-beta1-fix</version>
<title>Microsoft Orleans Build-time Code Generator</title>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<developmentDependency>true</developmentDependency>
<licenseUrl>https://github.com/dotnet/Orleans#license</licenseUrl>
<projectUrl>https://github.com/dotnet/Orleans</projectUrl>
<iconUrl>https://raw.githubusercontent.com/dotnet/orleans/gh-pages/assets/logo_128.png</iconUrl>
<description>Microsoft Orleans build-time code generator to install in all grain interface &amp; implementation projects.</description>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<tags>Orleans Cloud-Computing Actor-Model Actors Distributed-Systems C# .NET</tags>
<repository type="git" url="https://github.com/dotnet/Orleans" />
<dependencies>
<group targetFramework=".NETFramework4.6.1" />
<group targetFramework=".NETCoreApp2.0" />
</dependencies>
</metadata>
</package>

BIN
libs/orleansdashboard/2.0.0-beta3/orleansdashboard.2.0.0-beta3.nupkg

Binary file not shown.

1
libs/orleansdashboard/2.0.0-beta3/orleansdashboard.2.0.0-beta3.nupkg.sha512

@ -1 +0,0 @@
mBHlGWl+bNTPP463JBEB/dftmdZKQRD8X72F7lsTFqYWddW5Ytp1gbzChCxW0d/Pt71KLF6XrVmyecbFlNdFBA==

25
libs/orleansdashboard/2.0.0-beta3/orleansdashboard.nuspec

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>OrleansDashboard</id>
<version>2.0.0-beta3</version>
<authors>OrleansContrib</authors>
<owners>OrleansContrib</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>https://github.com/OrleansContrib/OrleansDashboard</projectUrl>
<iconUrl>http://dotnet.github.io/orleans/assets/logo.png</iconUrl>
<description>An admin dashboard for Microsoft Orleans</description>
<copyright>Copyright © 2017</copyright>
<tags>orleans dashboard metrics monitor</tags>
<repository url="https://github.com/OrleansContrib/OrleansDashboard" />
<dependencies>
<group targetFramework=".NETStandard2.0">
<dependency id="Microsoft.AspNetCore" version="2.0.1" exclude="Build,Analyzers" />
<dependency id="Microsoft.Orleans.Core" version="2.0.0-beta1" exclude="Build,Analyzers" />
<dependency id="Microsoft.Orleans.OrleansCodeGenerator.Build" version="2.0.0-beta1" exclude="Build,Analyzers" />
<dependency id="Microsoft.Orleans.OrleansRuntime" version="2.0.0-beta1" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
</package>

4
src/Squidex.Domain.Apps.Core.Model/Schemas/NumberFieldProperties.cs

@ -13,14 +13,14 @@ namespace Squidex.Domain.Apps.Core.Schemas
[TypeName(nameof(NumberField))]
public sealed class NumberFieldProperties : FieldProperties
{
public ImmutableList<double> AllowedValues { get; set; }
public double? MaxValue { get; set; }
public double? MinValue { get; set; }
public double? DefaultValue { get; set; }
public ImmutableList<double> AllowedValues { get; set; }
public NumberFieldEditor Editor { get; set; }
public override T Accept<T>(IFieldPropertiesVisitor<T> visitor)

1
src/Squidex.Domain.Apps.Core.Model/Schemas/StringFieldEditor.cs

@ -14,6 +14,7 @@ namespace Squidex.Domain.Apps.Core.Schemas
Dropdown,
Radio,
RichText,
Slug,
TextArea
}
}

4
src/Squidex.Domain.Apps.Core.Model/Schemas/StringFieldProperties.cs

@ -13,6 +13,8 @@ namespace Squidex.Domain.Apps.Core.Schemas
[TypeName(nameof(StringField))]
public sealed class StringFieldProperties : FieldProperties
{
public ImmutableList<string> AllowedValues { get; set; }
public int? MinLength { get; set; }
public int? MaxLength { get; set; }
@ -23,8 +25,6 @@ namespace Squidex.Domain.Apps.Core.Schemas
public string PatternMessage { get; set; }
public ImmutableList<string> AllowedValues { get; set; }
public StringFieldEditor Editor { get; set; }
public override T Accept<T>(IFieldPropertiesVisitor<T> visitor)

3
src/Squidex/app/features/content/pages/content/content-field.component.html

@ -49,6 +49,9 @@
<div *ngSwitchCase="'Input'">
<input class="form-control" type="text" [formControlName]="partition" [placeholder]="field.properties.placeholder || ''">
</div>
<div *ngSwitchCase="'Slug'">
<input class="form-control" type="text" [formControlName]="partition" [placeholder]="field.properties.placeholder || ''" sqxSlugifyInput>
</div>
<div *ngSwitchCase="'TextArea'">
<textarea class="form-control" [formControlName]="partition" rows="5" [placeholder]="field.properties.placeholder || ''"></textarea>
</div>

7
src/Squidex/app/features/schemas/pages/schema/types/string-ui.component.html

@ -21,6 +21,13 @@
<span class="radio-label">Input</span>
</label>
<label class="btn btn-radio" [class.active]="editForm.controls.editor.value === 'Slug'">
<input type="radio" class="radio-input" formControlName="editor" value="Slug" />
<i class="icon-control-Slug"></i>
<span class="radio-label">Slug</span>
</label>
<label class="btn btn-radio" [class.active]="editForm.controls.editor.value === 'TextArea'">
<input type="radio" class="radio-input" formControlName="editor" value="TextArea" />

8
src/Squidex/app/framework/angular/lowercase-input.directive.ts

@ -30,7 +30,7 @@ export class LowerCaseInputDirective implements ControlValueAccessor {
@HostListener('input', ['$event.target.value'])
public onChange(value: any) {
const normalizedValue = (value == null ? '' : value.toString()).toLowerCase();
const normalizedValue = this.transform(value);
this.renderer.setElementProperty(this.element.nativeElement, 'value', normalizedValue);
this.callChange(normalizedValue);
@ -42,7 +42,7 @@ export class LowerCaseInputDirective implements ControlValueAccessor {
}
public writeValue(value: string) {
const normalizedValue = Types.isString(value) ? value.toLowerCase() : '';
const normalizedValue = this.transform(value);
this.renderer.setElementProperty(this.element.nativeElement, 'value', normalizedValue);
}
@ -58,4 +58,8 @@ export class LowerCaseInputDirective implements ControlValueAccessor {
public registerOnTouched(fn: any) {
this.callTouched = fn;
}
private transform(value: any): string {
return Types.isString(value) ? value.toLowerCase() : '';
}
}

67
src/Squidex/app/framework/angular/slugify-input.directive.ts

@ -0,0 +1,67 @@
/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { Directive, forwardRef, ElementRef, HostListener, Renderer } from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
import slugify from 'slugify';
import { Types } from './../utils/types';
export const SQX_SLUGIFY_INPUT_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SlugifyInputDirective), multi: true
};
@Directive({
selector: '[sqxSlugifyInput]',
providers: [SQX_SLUGIFY_INPUT_VALUE_ACCESSOR]
})
export class SlugifyInputDirective implements ControlValueAccessor {
private callChange = (v: any) => { /* NOOP */ };
private callTouched = () => { /* NOOP */ };
constructor(
private readonly element: ElementRef,
private readonly renderer: Renderer
) {
}
@HostListener('input', ['$event.target.value'])
public onChange(value: any) {
const normalizedValue = this.transform(value);
this.renderer.setElementProperty(this.element.nativeElement, 'value', normalizedValue);
this.callChange(normalizedValue);
}
@HostListener('blur')
public onTouched() {
this.callTouched();
}
public writeValue(value: string) {
const normalizedValue = this.transform(value);
this.renderer.setElementProperty(this.element.nativeElement, 'value', normalizedValue);
}
public setDisabledState(isDisabled: boolean): void {
this.renderer.setElementProperty(this.element.nativeElement, 'disabled', isDisabled);
}
public registerOnChange(fn: any) {
this.callChange = fn;
}
public registerOnTouched(fn: any) {
this.callTouched = fn;
}
private transform(value: any): string {
return Types.isString(value) ? slugify(value, { lower: true }) : '';
}
}

1
src/Squidex/app/framework/declarations.ts

@ -41,6 +41,7 @@ export * from './angular/router-utils';
export * from './angular/scroll-active.directive';
export * from './angular/shortcut.component';
export * from './angular/slider.component';
export * from './angular/slugify-input.directive';
export * from './angular/sorted.directive';
export * from './angular/stars.component';
export * from './angular/tag-editor.component';

3
src/Squidex/app/framework/module.ts

@ -62,6 +62,7 @@ import {
ShortDatePipe,
ShortTimePipe,
SliderComponent,
SlugifyInputDirective,
SortedDirective,
StarsComponent,
TagEditorComponent,
@ -121,6 +122,7 @@ import {
ShortDatePipe,
ShortTimePipe,
SliderComponent,
SlugifyInputDirective,
SortedDirective,
StarsComponent,
TagEditorComponent,
@ -170,6 +172,7 @@ import {
ShortDatePipe,
ShortTimePipe,
SliderComponent,
SlugifyInputDirective,
SortedDirective,
StarsComponent,
TagEditorComponent,

4
src/Squidex/app/theme/icomoon/demo-files/demo.css

@ -147,10 +147,10 @@ p {
font-size: 16px;
}
.fs1 {
font-size: 28px;
font-size: 32px;
}
.fs2 {
font-size: 32px;
font-size: 28px;
}
.fs3 {
font-size: 32px;

684
src/Squidex/app/theme/icomoon/demo.html

File diff suppressed because it is too large

BIN
src/Squidex/app/theme/icomoon/fonts/icomoon.eot

Binary file not shown.

2
src/Squidex/app/theme/icomoon/fonts/icomoon.svg

@ -85,6 +85,8 @@
<glyph unicode="&#xe94b;" glyph-name="orleans" d="M512 924.477l-424.96-242.8v-485.64l424.96-242.8 424.96 242.8v485.64l-424.96 242.8zM512 715.337l245.76-138.24v-276.48l-245.76-138.24-245.76 138.24v276.48l245.76 138.24z" />
<glyph unicode="&#xe94c;" glyph-name="action-Algolia" d="M512 933.053c-267.728 0-485.053-217.059-485.053-485.053s217.069-485.053 485.053-485.053c267.983 0 485.053 217.314 485.053 485.308s-217.069 484.797-485.053 484.797zM512 106.504c-188.747 0-341.745 152.988-341.745 341.752 0 188.745 152.998 341.733 341.745 341.733 188.765 0 341.745-152.988 341.745-341.733 0-188.763-152.98-341.752-341.745-341.752zM512 719.478v-254.585c0-7.443 7.957-12.405 14.654-8.939l225.774 117.231c5.042 2.659 6.844 8.986 3.96 13.901-46.936 82.204-133.855 138.576-234.205 142.298z" />
<glyph unicode="&#xe94d;" glyph-name="action-Slack" horiz-adv-x="951" d="M868 507.428c46.857 0 82.857-34.286 82.857-81.143 0-36.571-18.857-62.286-53.143-74.286l-98.286-33.714 32-95.429c2.857-8.571 4-17.714 4-26.857 0-45.143-36.571-82.857-81.714-82.857-36 0-68 22.286-79.429 56.571l-31.429 94.286-177.143-60.571 31.429-93.714c2.857-8.571 4.571-17.714 4.571-26.857 0-44.571-36.571-82.857-82.286-82.857-36 0-67.429 22.286-78.857 56.571l-31.429 93.143-87.429-30.286c-9.143-2.857-18.857-5.143-28.571-5.143-46.286 0-81.143 34.286-81.143 80.571 0 35.429 22.857 67.429 56.571 78.857l89.143 30.286-60 178.857-89.143-30.857c-9.143-2.857-18.286-4.571-27.429-4.571-45.714 0-81.143 34.857-81.143 80.571 0 35.429 22.857 67.429 56.571 78.857l89.714 30.286-30.286 90.857c-2.857 8.571-4.571 17.714-4.571 26.857 0 45.143 36.571 82.857 82.286 82.857 36 0 67.429-22.286 78.857-56.571l30.857-91.429 177.143 60-30.857 91.429c-2.857 8.571-4.571 17.714-4.571 26.857 0 45.143 37.143 82.857 82.286 82.857 36 0 68-22.857 79.429-56.571l30.286-92 92.571 31.429c8 2.286 16 3.429 24.571 3.429 44.571 0 82.857-33.143 82.857-78.857 0-35.429-27.429-65.143-59.429-76l-89.714-30.857 60-180.571 93.714 32c8.571 2.857 17.714 4.571 26.286 4.571zM414.286 357.714l177.143 60-60 180-177.143-61.143z" />
<glyph unicode="&#xe94e;" glyph-name="action-Fastly" horiz-adv-x="886" d="M341.758 929.668v-55.545h25.806v-83.195c-193.056-37.236-336.992-205.942-337.132-408.544v-0.016c0-229.687 184.814-415.885 412.793-415.885v0c227.979 0 412.793 186.198 412.793 415.885v0c-0.125 202.629-144.065 371.351-334.545 408.173l-2.587 0.416v83.165h25.809v55.545h-202.936zM454.729 590.311c102.973-5.539 185.923-86.823 194.885-189.491v-6.763h-23.479v-23.589h23.485v-6.447c-8.918-102.72-91.882-184.055-194.891-189.594v23.144h-23.444v-23.078c-104.989 6.154-188.976 91.042-194.458 196.868h23.297v23.589h-23.172c6.225 105.086 89.86 189.163 194.333 195.295v-23.195h23.444v23.261zM535.132 492.688l-78.775-73.035c-3.893 1.564-8.405 2.478-13.126 2.494h-0.006c-20.265 0-36.693-16.551-36.693-36.967v0c0-20.417 16.428-36.967 36.693-36.967v0c20.265 0 36.693 16.551 36.693 36.967v0c-0.010 3.753-0.574 7.37-1.613 10.776l0.069-0.262 71.128 80.156-14.369 16.838z" />
<glyph unicode="&#xe94f;" glyph-name="control-Slug" d="M512 960c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6h128v-870.4h-128c-15.36 0-25.6-10.24-25.6-25.6s10.24-25.6 25.6-25.6h307.2c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-128v870.4h128c15.36 0 25.6 10.24 25.6 25.6s-10.24 25.6-25.6 25.6h-307.2zM51.2 755.2c-28.16 0-51.2-23.040-51.2-51.2v-460.8c0-28.16 23.040-51.2 51.2-51.2h537.6v51.2h-512c-15.36 0-25.6 10.24-25.6 25.6v409.6c0 15.36 10.24 25.6 25.6 25.6h512v51.2h-537.6zM742.4 755.2v-51.2h204.8c15.36 0 25.6-10.24 25.6-25.6v-409.6c0-15.36-10.24-25.6-25.6-25.6h-204.8v-51.2h230.4c28.16 0 51.2 23.040 51.2 51.2v460.8c0 28.16-23.040 51.2-51.2 51.2h-230.4zM386.56 353.28c0-12.8-7.68-23.040-20.48-25.6-28.16-10.24-58.88-15.36-92.16-15.36-35.84 0-66.56 10.24-84.48 25.6s-25.6 38.4-25.6 66.56 10.24 51.2 25.6 66.56c17.92 17.92 46.080 23.040 84.48 23.040h69.12v38.4c0 35.84-25.6 53.76-64 53.76-23.040 0-46.080-7.68-69.12-20.48-2.56-2.56-5.12-2.56-10.24-2.56-10.24 0-20.48 7.68-20.48 20.48 0 7.68 2.56 12.8 10.24 17.92 30.72 20.48 61.44 25.6 92.16 25.6 56.32 0 104.96-30.72 104.96-92.16v-181.76zM345.6 458.24h-69.12c-61.44 0-69.12-28.16-69.12-53.76s7.68-56.32 69.12-56.32c23.040 0 46.080 2.56 69.12 10.24v99.84z" />
<glyph unicode="&#xe9ca;" glyph-name="earth" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512-0.002c-62.958 0-122.872 13.012-177.23 36.452l233.148 262.29c5.206 5.858 8.082 13.422 8.082 21.26v96c0 17.674-14.326 32-32 32-112.99 0-232.204 117.462-233.374 118.626-6 6.002-14.14 9.374-22.626 9.374h-128c-17.672 0-32-14.328-32-32v-192c0-12.122 6.848-23.202 17.69-28.622l110.31-55.156v-187.886c-116.052 80.956-192 215.432-192 367.664 0 68.714 15.49 133.806 43.138 192h116.862c8.488 0 16.626 3.372 22.628 9.372l128 128c6 6.002 9.372 14.14 9.372 22.628v77.412c40.562 12.074 83.518 18.588 128 18.588 70.406 0 137.004-16.26 196.282-45.2-4.144-3.502-8.176-7.164-12.046-11.036-36.266-36.264-56.236-84.478-56.236-135.764s19.97-99.5 56.236-135.764c36.434-36.432 85.218-56.264 135.634-56.26 3.166 0 6.342 0.080 9.518 0.236 13.814-51.802 38.752-186.656-8.404-372.334-0.444-1.744-0.696-3.488-0.842-5.224-81.324-83.080-194.7-134.656-320.142-134.656z" />
<glyph unicode="&#xf00a;" glyph-name="grid" d="M292.571 237.714v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM292.571 530.286v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM658.286 237.714v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM292.571 822.857v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM658.286 530.286v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM1024 237.714v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM658.286 822.857v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM1024 530.286v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857zM1024 822.857v-109.714c0-30.286-24.571-54.857-54.857-54.857h-182.857c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h182.857c30.286 0 54.857-24.571 54.857-54.857z" />
<glyph unicode="&#xf0c9;" glyph-name="list" horiz-adv-x="878" d="M877.714 182.857v-73.143c0-20-16.571-36.571-36.571-36.571h-804.571c-20 0-36.571 16.571-36.571 36.571v73.143c0 20 16.571 36.571 36.571 36.571h804.571c20 0 36.571-16.571 36.571-36.571zM877.714 475.428v-73.143c0-20-16.571-36.571-36.571-36.571h-804.571c-20 0-36.571 16.571-36.571 36.571v73.143c0 20 16.571 36.571 36.571 36.571h804.571c20 0 36.571-16.571 36.571-36.571zM877.714 768v-73.143c0-20-16.571-36.571-36.571-36.571h-804.571c-20 0-36.571 16.571-36.571 36.571v73.143c0 20 16.571 36.571 36.571 36.571h804.571c20 0 36.571-16.571 36.571-36.571z" />

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 71 KiB

BIN
src/Squidex/app/theme/icomoon/fonts/icomoon.ttf

Binary file not shown.

BIN
src/Squidex/app/theme/icomoon/fonts/icomoon.woff

Binary file not shown.

0
src/Squidex/app/theme/icomoon/icons/algolia.svg → src/Squidex/app/theme/icomoon/icons/action-Algolia.svg

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

57
src/Squidex/app/theme/icomoon/icons/action-Fastly.svg

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="580"
height="670"
viewBox="0 0 118.784 137.17078"
preserveAspectRatio="xMidYMid"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="fastly.svg">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview6"
showgrid="false"
inkscape:zoom="0.4608"
inkscape:cx="648.06052"
inkscape:cy="229.0692"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 45.8,4.0632 0,7.440515 3.4568,0 0,11.144452 A 55.296002,55.710164 0 0 0 4.096,77.37704 55.296002,55.710164 0 0 0 59.392,133.0872 55.296002,55.710164 0 0 0 114.688,77.37704 55.296002,55.710164 0 0 0 69.5272,22.644137 l 0,-11.140422 3.4572,0 0,-7.440515 -27.1844,0 z m 15.1332,45.45876 c 13.79377,0.74192 24.90548,11.6304 26.106,25.38349 l 0,0.90594 -3.1452,0 0,3.15989 3.146,0 0,0.86362 c -1.19466,13.75998 -12.30816,24.65528 -26.1068,25.39722 l 0,-3.10026 -3.1404,0 0,3.09139 C 43.72889,104.39888 32.47836,93.02768 31.744,78.85159 l 3.1208,0 0,-3.15988 -3.104,0 C 32.59463,61.61476 43.79813,50.35224 57.7928,49.53082 l 0,3.1071 3.1404,0 0,-3.11596 z m 10.7704,13.07722 -10.5524,9.78353 a 4.9152002,4.9520146 0 0 0 -1.7592,-0.33408 4.9152002,4.9520146 0 0 0 -4.9152,4.95201 4.9152002,4.9520146 0 0 0 4.9152,4.95201 4.9152002,4.9520146 0 0 0 4.9152,-4.95201 4.9152002,4.9520146 0 0 0 -0.2068,-1.40847 l 9.528,-10.73743 -1.9248,-2.25556 z"
id="path4138"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

18
src/Squidex/app/theme/icomoon/icons/control-Slug.svg

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="Layer_1" inkscape:version="0.91 r13725" sodipodi:docname="Input.svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 40 40"
style="enable-background:new 0 0 40 40;" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1" gridtolerance="10" guidetolerance="10" id="namedview11" inkscape:current-layer="Layer_1" inkscape:cx="20" inkscape:cy="20" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-height="480" inkscape:window-maximized="0" inkscape:window-width="742" inkscape:window-x="2227" inkscape:window-y="307" inkscape:zoom="5.9" objecttolerance="10" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<path id="path3" d="M20,0c-0.6,0-1,0.4-1,1s0.4,1,1,1h5v34h-5c-0.6,0-1,0.4-1,1s0.4,1,1,1h12c0.6,0,1-0.4,1-1s-0.4-1-1-1h-5V2h5
c0.6,0,1-0.4,1-1s-0.4-1-1-1H20z M2,8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h21v-2H3c-0.6,0-1-0.4-1-1V11c0-0.6,0.4-1,1-1h20V8H2z
M29,8v2h8c0.6,0,1,0.4,1,1v16c0,0.6-0.4,1-1,1h-8v2h9c1.1,0,2-0.9,2-2V10c0-1.1-0.9-2-2-2H29z"/>
<g>
<path d="M15.1,23.7c0,0.5-0.3,0.9-0.8,1c-1.1,0.4-2.3,0.6-3.6,0.6c-1.4,0-2.6-0.4-3.3-1c-0.7-0.6-1-1.5-1-2.6s0.4-2,1-2.6
c0.7-0.7,1.8-0.9,3.3-0.9h2.7v-1.5c0-1.4-1-2.1-2.5-2.1c-0.9,0-1.8,0.3-2.7,0.8c-0.1,0.1-0.2,0.1-0.4,0.1c-0.4,0-0.8-0.3-0.8-0.8
c0-0.3,0.1-0.5,0.4-0.7C8.6,13.2,9.8,13,11,13c2.2,0,4.1,1.2,4.1,3.6V23.7z M13.5,19.6h-2.7c-2.4,0-2.7,1.1-2.7,2.1
s0.3,2.2,2.7,2.2c0.9,0,1.8-0.1,2.7-0.4V19.6z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

57
src/Squidex/app/theme/icomoon/icons/fastly.svg

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="580"
height="670"
viewBox="0 0 118.784 137.17078"
preserveAspectRatio="xMidYMid"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="fastly.svg">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview6"
showgrid="false"
inkscape:zoom="0.4608"
inkscape:cx="648.06052"
inkscape:cy="229.0692"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 45.8,4.0632 0,7.440515 3.4568,0 0,11.144452 A 55.296002,55.710164 0 0 0 4.096,77.37704 55.296002,55.710164 0 0 0 59.392,133.0872 55.296002,55.710164 0 0 0 114.688,77.37704 55.296002,55.710164 0 0 0 69.5272,22.644137 l 0,-11.140422 3.4572,0 0,-7.440515 -27.1844,0 z m 15.1332,45.45876 c 13.79377,0.74192 24.90548,11.6304 26.106,25.38349 l 0,0.90594 -3.1452,0 0,3.15989 3.146,0 0,0.86362 c -1.19466,13.75998 -12.30816,24.65528 -26.1068,25.39722 l 0,-3.10026 -3.1404,0 0,3.09139 C 43.72889,104.39888 32.47836,93.02768 31.744,78.85159 l 3.1208,0 0,-3.15988 -3.104,0 C 32.59463,61.61476 43.79813,50.35224 57.7928,49.53082 l 0,3.1071 3.1404,0 0,-3.11596 z m 10.7704,13.07722 -10.5524,9.78353 a 4.9152002,4.9520146 0 0 0 -1.7592,-0.33408 4.9152002,4.9520146 0 0 0 -4.9152,4.95201 4.9152002,4.9520146 0 0 0 4.9152,4.95201 4.9152002,4.9520146 0 0 0 4.9152,-4.95201 4.9152002,4.9520146 0 0 0 -0.2068,-1.40847 l 9.528,-10.73743 -1.9248,-2.25556 z"
id="path4138"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

1590
src/Squidex/app/theme/icomoon/selection.json

File diff suppressed because it is too large

162
src/Squidex/app/theme/icomoon/style.css

@ -1,10 +1,10 @@
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?knmn0p');
src: url('fonts/icomoon.eot?knmn0p#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?knmn0p') format('truetype'),
url('fonts/icomoon.woff?knmn0p') format('woff'),
url('fonts/icomoon.svg?knmn0p#icomoon') format('svg');
src: url('fonts/icomoon.eot?dojoae');
src: url('fonts/icomoon.eot?dojoae#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?dojoae') format('truetype'),
url('fonts/icomoon.woff?dojoae') format('woff'),
url('fonts/icomoon.svg?dojoae#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
@ -24,80 +24,11 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-action-Slack:before {
content: "\e94d";
}
.icon-orleans:before {
content: "\e94b";
}
.icon-document-lock:before {
content: "\e949";
}
.icon-document-unpublish:before {
content: "\e93f";
}
.icon-angle-down:before {
content: "\e900";
}
.icon-angle-left:before {
content: "\e901";
}
.icon-angle-right:before {
content: "\e931";
}
.icon-angle-up:before {
content: "\e903";
}
.icon-api:before {
content: "\e945";
}
.icon-assets:before {
content: "\e948";
}
.icon-bug:before {
content: "\e93d";
}
.icon-caret-down:before {
content: "\e92c";
}
.icon-caret-left:before {
content: "\e92a";
}
.icon-caret-right:before {
content: "\e929";
}
.icon-caret-up:before {
content: "\e92b";
.icon-action-Fastly:before {
content: "\e94e";
}
.icon-contents:before {
content: "\e946";
}
.icon-trigger-ContentChanged:before {
content: "\e946";
}
.icon-control-Date:before {
content: "\e936";
}
.icon-control-DateTime:before {
content: "\e937";
}
.icon-control-Markdown:before {
content: "\e938";
}
.icon-grid:before {
content: "\f00a";
}
.icon-list:before {
content: "\f0c9";
}
.icon-user-o:before {
content: "\e932";
}
.icon-rules:before {
content: "\e947";
}
.icon-action-Webhook:before {
content: "\e947";
.icon-control-Slug:before {
content: "\e94f";
}
.icon-action-Algolia:before {
content: "\e94c";
@ -247,6 +178,81 @@
.icon-user:before {
content: "\e928";
}
.icon-action-Slack:before {
content: "\e94d";
}
.icon-orleans:before {
content: "\e94b";
}
.icon-document-lock:before {
content: "\e949";
}
.icon-document-unpublish:before {
content: "\e93f";
}
.icon-angle-down:before {
content: "\e900";
}
.icon-angle-left:before {
content: "\e901";
}
.icon-angle-right:before {
content: "\e931";
}
.icon-angle-up:before {
content: "\e903";
}
.icon-api:before {
content: "\e945";
}
.icon-assets:before {
content: "\e948";
}
.icon-bug:before {
content: "\e93d";
}
.icon-caret-down:before {
content: "\e92c";
}
.icon-caret-left:before {
content: "\e92a";
}
.icon-caret-right:before {
content: "\e929";
}
.icon-caret-up:before {
content: "\e92b";
}
.icon-contents:before {
content: "\e946";
}
.icon-trigger-ContentChanged:before {
content: "\e946";
}
.icon-control-Date:before {
content: "\e936";
}
.icon-control-DateTime:before {
content: "\e937";
}
.icon-control-Markdown:before {
content: "\e938";
}
.icon-grid:before {
content: "\f00a";
}
.icon-list:before {
content: "\f0c9";
}
.icon-user-o:before {
content: "\e932";
}
.icon-rules:before {
content: "\e947";
}
.icon-action-Webhook:before {
content: "\e947";
}
.icon-bin2:before {
content: "\e902";
}

1
src/Squidex/package.json

@ -38,6 +38,7 @@
"progressbar.js": "1.0.1",
"react": "16.2.0",
"react-dom": "16.2.0",
"slugify": "1.2.9",
"rxjs": "5.5.6",
"zone.js": "0.8.20"
},

Loading…
Cancel
Save