@ -0,0 +1,277 @@ |
|||
# ABP Platform 5.0 Beta 1 Has Been Released |
|||
|
|||
Today, we are excited to release the [ABP Framework](https://abp.io/) and the [ABP Commercial](https://commercial.abp.io/) version **5.0 Beta 1**. This blog post introduces the new features and important changes in this new version. |
|||
|
|||
> **The planned release date for the [5.0.0 Release Candidate](https://github.com/abpframework/abp/milestone/51) version is November, 2021**. |
|||
|
|||
Please try the beta 1 version and provide feedback for a more stable ABP version 5.0! Thank you all. |
|||
|
|||
## Get Started with the 5.0 Beta 1 |
|||
|
|||
follow the steps below to try the version 5.0.0 beta 1 today; |
|||
|
|||
1) **Upgrade** the ABP CLI to the version `5.0.0-beta.1` using a command line terminal: |
|||
|
|||
````bash |
|||
dotnet tool update Volo.Abp.Cli -g --version 5.0.0-beta.1 |
|||
```` |
|||
|
|||
**or install** if you haven't installed before: |
|||
|
|||
````bash |
|||
dotnet tool install Volo.Abp.Cli -g --version 5.0.0-beta.1 |
|||
```` |
|||
|
|||
2) Create a **new application** with the `--preview` option: |
|||
|
|||
````bash |
|||
abp new BookStore --preview |
|||
```` |
|||
|
|||
See the [ABP CLI documentation](https://docs.abp.io/en/abp/latest/CLI) for all the available options. |
|||
|
|||
> You can also use the *Direct Download* tab on the [Get Started](https://abp.io/get-started) page by selecting the **Preview checkbox**. |
|||
|
|||
### Migration Notes & Breaking Changes |
|||
|
|||
This is a major version and there are some breaking changes and upgrade steps. Here, a list of important breaking changes in this version: |
|||
|
|||
* Upgraded to .NET 6.0-rc.1, so you need to move your solution to .NET 6.0 if you want to use the ABP 5.0. |
|||
* `IRepository` doesn't inherit from `IQueryable` anymore. It was already made obsolete in 4.2. |
|||
* Removed NGXS and states from the Angular UI. |
|||
* Removed gulp dependency from the MVC / Razor Pages UI in favor of `abp install-libs` command of ABP CLI. |
|||
|
|||
Please see the [migration document](https://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5_0) for all the details. You can also see all [the closed issues and pull request](https://github.com/abpframework/abp/releases/tag/5.0.0-beta.1) on GitHub. |
|||
|
|||
## What's new with Beta 1? |
|||
|
|||
In this section, I will introduce some major features released with beta 1. |
|||
|
|||
### Static (Generated) Client Proxies for C# and JavaScript |
|||
|
|||
Dynamic C# ([see](https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients)) and JavaScript ([see](https://docs.abp.io/en/abp/latest/UI/AspNetCore/Dynamic-JavaScript-Proxies)) client proxy system is one of the most loved features of the ABP Framework. It generates the proxy code on runtime and makes client-to-server calls a breeze. With ABP 5.0, we are providing an alternative approach: You can generate the client proxy code on development-time. |
|||
|
|||
Development-time client proxy generation has a performance advantage since it doesn't need to obtain the HTTP API definition on runtime. It also makes it easier to consume a (micro)service behind an API Gateway. With dynamic proxies, we should return a combined HTTP API definition from the API Gateway and need to add HTTP API layers of the microservices to the gateway. Static proxies removes this requirement. One disadvantage is that you should re-generate the client proxy code whenever you change your API endpoint definition. Yes, software development always has tradeoffs :) |
|||
|
|||
Working with static client proxy generation is simple with the ABP CLI. You first need to run the server application, open a command-line terminal, locate to the root folder of your client application, then run the `generate-proxy` command of the ABP CLI. |
|||
|
|||
#### Creating C# client proxies |
|||
|
|||
C# client proxies are useful to consume APIs from Blazor WebAssembly applications. It is also useful for microservice to microservice HTTP API calls. Notice that the client application need to have a reference to the application service contracts (typically, the `.Application.Contracts` project in your solution) in order to consume the services. |
|||
|
|||
**Example usage:** |
|||
|
|||
````bash |
|||
abp generate-proxy -t csharp -u https://localhost:44305 |
|||
```` |
|||
|
|||
`-t` indicates the client type, C# here. `-u` is the URL of the server application. It creates the proxies for the application (the app module) by default. You can specify the module name as `-m <module-name>` if you are building a modular system. The following figure shows the generated files: |
|||
|
|||
 |
|||
|
|||
Once the proxies are generated, you can inject and use the application service interfaces of these proxies, like `IProductAppService` in this example. Usage is same of the [dynamic C# client proxies](https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients). |
|||
|
|||
#### Creating JavaScript client proxies |
|||
|
|||
JavaScript proxies are useful to consume APIs from MVC / Razor Pages UI. It works on JQuery AJAX API, just like the [dynamic JavaScript proxies](https://docs.abp.io/en/abp/latest/UI/AspNetCore/Dynamic-JavaScript-Proxies). |
|||
|
|||
**Example usage:** |
|||
|
|||
````bash |
|||
abp generate-proxy -t js -u https://localhost:44305 |
|||
```` |
|||
|
|||
The following figure shows the generated file: |
|||
|
|||
 |
|||
|
|||
Then you can consume the server-side APIs from your JavaScript code just like the [dynamic JavaScript proxies](https://docs.abp.io/en/abp/latest/UI/AspNetCore/Dynamic-JavaScript-Proxies). |
|||
|
|||
#### Creating Angular client proxies |
|||
|
|||
Angular developers knows that the generate-proxy command was already available in ABP's previous versions to create client-side proxy services in the Angular UI. The same functionality continues to be available and already [documented here](https://docs.abp.io/en/abp/latest/UI/Angular/Service-Proxies). |
|||
|
|||
**Example usage:** |
|||
|
|||
````bash |
|||
abp generate-proxy -t ng -u https://localhost:44305 |
|||
```` |
|||
|
|||
### Transactional Outbox & Inbox for the Distributed Event Bus |
|||
|
|||
This was one of the most awaited features by distributed software developers. |
|||
|
|||
The [transactional outbox pattern](https://microservices.io/patterns/data/transactional-outbox.html) is used to publishing distributed events within the same transaction that manipulates the application database. Distributed events are saved into the database inside the same transaction with your data changes, then sent to the message broker (like RabbitMQ or Kafka) by a separate background worker with a re-try system. In this way, it ensures the consistency between your database state and the published events. |
|||
|
|||
The transactional inbox pattern, on the other hand, saves incoming events into database first, then executes the event handler in a transactional manner and removes the event from the inbox queue in the same transaction. It also ensures that the event is only executed one time by keeping the processed messages for a while and discarding the duplicate events received from the message broker. |
|||
|
|||
Enabling the inbox and outbox patterns requires a few manual steps for your application. We've created a simple [console application example](https://github.com/abpframework/abp/tree/dev/test/DistEvents), but I will also explain all the steps here. |
|||
|
|||
#### Pre-requirements |
|||
|
|||
First of all, you need to have EF Core or MongoDB installed into your solution. It should be already installed if you'd created a solution from the ABP startup template. |
|||
|
|||
#### Install the package |
|||
|
|||
Install the new [Volo.Abp.EventBus.Boxes](https://www.nuget.org/packages/Volo.Abp.EventBus.Boxes) NuGet package to your database layer (to `EntityFrameworkCore` or `MongoDB` project) or to the host application. Open a command-line terminal at the root directory of your database (or host) project and execute the following command: |
|||
|
|||
````csharp |
|||
abp add-package Volo.Abp.EventBus.Boxes |
|||
```` |
|||
|
|||
This will install the package and setup the ABP module dependency. |
|||
|
|||
#### Configure the DbContext |
|||
|
|||
Open your `DbContext` class, implement the `IHasEventInbox` and the `IHasEventOutbox` interfaces. You should end up by adding two `DbSet` properties into your `DbContext` class: |
|||
|
|||
````csharp |
|||
public DbSet<IncomingEventRecord> IncomingEvents { get; set; } |
|||
public DbSet<OutgoingEventRecord> OutgoingEvents { get; set; } |
|||
```` |
|||
|
|||
Add the following lines inside the `OnModelCreating` method of your `DbContext` class: |
|||
|
|||
````csharp |
|||
builder.ConfigureEventInbox(); |
|||
builder.ConfigureEventOutbox(); |
|||
```` |
|||
|
|||
It is similar for MongoDB; implement the `IHasEventInbox` and the `IHasEventOutbox` interfaces. There is no `Configure...` method for MongoDB. |
|||
|
|||
Now, we've added inbox/outbox related tables to our database schema. Now, for EF Core, use the standard `Add-Migration` and `Update-Database` commands to apply changes into your database (you can skip this step for MongoDB). If you want to use the command-line terminal, run the following commands in the root directory of the database integration project: |
|||
|
|||
````bash |
|||
dotnet ef migrations add "Added_Event_Boxes" |
|||
dotnet ef database update |
|||
```` |
|||
|
|||
#### Configure the distributed event bus options |
|||
|
|||
As the last step, write the following configuration code inside the `ConfigureServices` method of your module class: |
|||
|
|||
````csharp |
|||
Configure<AbpDistributedEventBusOptions>(options => |
|||
{ |
|||
options.Outboxes.Configure(config => |
|||
{ |
|||
config.UseDbContext<YourDbContext>(); |
|||
}); |
|||
|
|||
options.Inboxes.Configure(config => |
|||
{ |
|||
config.UseDbContext<YourDbContext>(); |
|||
}); |
|||
}); |
|||
```` |
|||
|
|||
Replace `YourDbContext` with your `DbContext` class. |
|||
|
|||
That's all. You can continue to publishing and consuming events just as before. See the [distributed event bus documentation](https://docs.abp.io/en/abp/latest/Distributed-Event-Bus) if you don't know how to use it. |
|||
|
|||
### Publishing events in transaction |
|||
|
|||
The previous feature (outbox & inbox) solves the transactional event publishing problem for distributed systems. This feature, publishing events in transaction, solves the problem of executing event handlers in the same transaction that the events are published in for non-distributed applications. With 5.0, all events (local or distributed) are handled in the same transaction. If any handler fails, the transaction is rolled back. If you don't want that, you should use try/catch and ignore the exception inside your event handler. |
|||
|
|||
Remember that if you don't install a real distributed event provider (like [RabbitMQ](https://docs.abp.io/en/abp/latest/Distributed-Event-Bus-RabbitMQ-Integration) or [Kafka](https://docs.abp.io/en/abp/latest/Distributed-Event-Bus-Kafka-Integration)), the [distributed events](https://docs.abp.io/en/abp/latest/Distributed-Event-Bus) are actually executed in-process, just like the [local events](https://docs.abp.io/en/abp/latest/Local-Event-Bus). So, with this development, all the events become transactional, even if your system is distributed or not. |
|||
|
|||
No action needed to take. It will just work by default. There is a [deprecation note](https://github.com/abpframework/abp/issues/9897) related to this change (some pre-defined events [will be removed](https://github.com/abpframework/abp/issues/9908) in the next major version since they are not needed anymore) |
|||
|
|||
### Inactivating a user |
|||
|
|||
The [Identity module](https://docs.abp.io/en/abp/latest/Modules/Identity) has a new feature to make a user active or inactive. Inactive users can not login to the system. In this way, you can disable a user account without deleting it. An *Active* checkbox is added to the user create/edit dialog to control it on the UI: |
|||
|
|||
 |
|||
|
|||
EF Core developers should add a new database migration since this brings a new field to the `AbpUsers` table. |
|||
|
|||
### Overriding email settings per tenant |
|||
|
|||
If you're building a multi-tenant application, it is now possible to override email sending settings per tenant. To make this possible, you should first enable that [feature](https://docs.abp.io/en/abp/latest/Features) to the tenant you want, by clicking the *Actions -> Features* for the tenant. |
|||
|
|||
 |
|||
|
|||
Enable the feature using the checkbox as shown in the following modal: |
|||
|
|||
 |
|||
|
|||
Then the tenant admin can open the email settings page under the Administration -> Settings menu (on development environment, logout, switch to the tenant and re-login with the tenant admin): |
|||
|
|||
 |
|||
|
|||
### Hangfire dashboard permission |
|||
|
|||
ABP allows to use Hangfire as the background job manager when you install the integration package [as documented](https://docs.abp.io/en/abp/5.0/Background-Jobs-Hangfire). Hangfire's dashboard is used to monitor and control the background job queues. Here, a screenshot from the dashboard: |
|||
|
|||
 |
|||
|
|||
Hangfire's dashboard is not authorized by default, so any user can navigate to the `/hangfire` URL and see/control the jobs. With the ABP version 5.0, we've added a built-in authorization implementation for the Hangfire dashboard. Instead of `app.UseHangfireDashboard();`, you can use the following middleware configuration: |
|||
|
|||
````csharp |
|||
app.UseHangfireDashboard("/hangfire", new DashboardOptions |
|||
{ |
|||
AsyncAuthorization = new[] { new AbpHangfireAuthorizationFilter() } |
|||
}); |
|||
```` |
|||
|
|||
In this way, only the authenticated users can see the dashboard. However, we suggest to set a permission name, so only the users with that permission can see the dashboard: |
|||
|
|||
````csharp |
|||
app.UseHangfireDashboard("/hangfire", new DashboardOptions |
|||
{ |
|||
AsyncAuthorization = new[] { |
|||
new AbpHangfireAuthorizationFilter("MyPermissionName") |
|||
} |
|||
}); |
|||
```` |
|||
|
|||
You can define the permission (`MyPermissionName` in this example) using the standard [permission system](https://docs.abp.io/en/abp/5.0/Authorization#permission-system). |
|||
|
|||
### Introducing AbpControllerBase |
|||
|
|||
ABP provides an `AbpController` class that you can inherit your MVC controllers from. It provides some pre-injected services to simplify your controllers. With v5.0, we are adding a second base controller class, `AbpControllerBase`, which is more proper to create API controllers (without view features). It is suggested to inherit from the `AbpControllerBase` class to create API controllers, instead of the `AbpController` class. |
|||
|
|||
**Example:** |
|||
|
|||
````csharp |
|||
[Route("api/products")] |
|||
public class ProductController : AbpControllerBase |
|||
{ |
|||
// TODO: ... |
|||
} |
|||
```` |
|||
|
|||
## Ongoing Works & Next Release |
|||
|
|||
We'd published important features and changes with this beta 1 release. However, there are still some major works in development. The most important work is the **Bootstrap 5 upgrade**. ABP 5.0 will work on Bootstrap 5, which is an important change for existing applications. We suggest to prepare for this change from now. |
|||
|
|||
The next release will be 5.0.0-beta.2. It will include the Bootstrap 5 upgrade. We don't plan make another big work for the version 5.0. After the beta.2, we will work on tests, feedbacks and documentation to prepare a stable final release. |
|||
|
|||
## Community News |
|||
|
|||
### ABP was on ASP.NET Community Startup! |
|||
|
|||
It was great for us to be invited to Microsoft's [ASP.NET Community Weekly Standup](https://dotnet.microsoft.com/live/community-standup) show, at September 28. There was a very high attention and that made us very happy. Thanks to the ABP Community and all the watchers :) If you've missed the talk, [you can watch it here](https://www.youtube.com/watch?v=vMWM-_ihjwM). |
|||
|
|||
### Upcoming ABP Book! |
|||
|
|||
I am currently authoring the first official book for the ABP Framework and it is on [pre-sale on Amazon](https://www.amazon.com/Mastering-ABP-Framework-maintainable-implementing-dp-1801079242/dp/1801079242) now. |
|||
|
|||
 |
|||
|
|||
This books is a complete guide to start working with the ABP Framework, explore the ABP features and concepts. It also contains chapters for DDD, modular application development and multi-tenancy to learn and practically work with the ABP architecture to build maintainable software solutions and create SaaS applications. The book will be based on ABP 5.0 and published in the beginning of 2022. You can [pre-order now](https://www.amazon.com/Mastering-ABP-Framework-maintainable-implementing-dp-1801079242/dp/1801079242)! |
|||
|
|||
### New ABP Community posts |
|||
|
|||
Here, the latest posts added to the [ABP community](https://community.abp.io/): |
|||
|
|||
* [Deploy ABP Framework .NET Core tiered application to docker swarm](https://community.abp.io/articles/deploy-abp-framework-dotnet-core-tiered-app-to-docker-swarm-kcrjbjec) |
|||
* [How to override localization strings of depending modules](https://community.abp.io/articles/how-to-override-localization-strings-of-depending-modules-ba1oy03l) |
|||
* [Centralized logging for .NET Core ABP microservices application using Seq](https://community.abp.io/articles/centralized-logging-for-.net-core-abp-microservices-app-using-seq-g1xe7e7y) |
|||
* [Extend Tenant management and add custom host to your ABP application](https://community.abp.io/articles/extend-tenant-management-and-add-custom-host-to-your-abp-app-lwmi9lr5) |
|||
|
|||
Thanks to the ABP Community for all the contents they have published. You can also post your ABP and .NET related (text or video) contents to the ABP Community. |
|||
|
|||
## Conclusion |
|||
|
|||
The ABP version 5.0 is coming with important changes (like .NET 6 and Bootstrap 5) and features. In this blog post, I summarized the news about that new version. Please try it and provide feedback by opening issues on [the GitHub repository](https://github.com/abpframework/abp). Thank you all! |
|||
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 28 KiB |
@ -0,0 +1,249 @@ |
|||
# Chart Component |
|||
|
|||
ABP Chart component exposed by `@abp/ng.components/chart.js` is based on [`charts.js`](https://www.chartjs.org/) v3+. You don't need to install the `chart.js` package. Since the `@abp/ng.components` is dependent on the `chart.js`, the package is already installed in your project. |
|||
|
|||
> Chart component loads `chart.js` script lazy. So it does not increase the bundle size. |
|||
|
|||
## How to Use |
|||
|
|||
First of all, need to import the `ChartModule` to your feature module as follows: |
|||
|
|||
```ts |
|||
// your-feature.module.ts |
|||
|
|||
import { ChartModule } from '@abp/ng.components/chart.js'; |
|||
import { ChartDemoComponent } from './chart-demo.component'; |
|||
|
|||
@NgModule({ |
|||
imports: [ |
|||
ChartModule, |
|||
// ... |
|||
], |
|||
declarations: [ChartDemoComponent], |
|||
// ... |
|||
}) |
|||
export class YourFeatureModule {} |
|||
``` |
|||
|
|||
Then, `abp-chart` component can be used. See an example: |
|||
|
|||
```ts |
|||
// chart-demo.component.ts |
|||
|
|||
import { Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
selector: 'app-chart-demo', |
|||
template: ` <abp-chart type="pie" [data]="data"></abp-chart> `, |
|||
}) |
|||
export class ChartDemoComponent { |
|||
data = { |
|||
labels: ['Data 1', 'Data 2', 'Data 3'], |
|||
datasets: [ |
|||
{ |
|||
label: 'Dataset 1', |
|||
data: [40, 15, 45], |
|||
backgroundColor: ['#ff7675', '#fdcb6e', '#0984e3'], |
|||
}, |
|||
], |
|||
}; |
|||
} |
|||
``` |
|||
|
|||
> **Important Note**: Changing the chart data without creating a new data instance does not trigger change detection. In order to chart to redraw itself, a new data object needs to be created. |
|||
|
|||
See the result: |
|||
|
|||
 |
|||
|
|||
## Examples |
|||
|
|||
### Doughnut |
|||
|
|||
```ts |
|||
import { Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
selector: 'app-chart-demo', |
|||
template: ` |
|||
<abp-chart |
|||
type="doughnut" |
|||
[data]="data" |
|||
[options]="options" |
|||
width="400px" |
|||
height="400px" |
|||
></abp-chart> |
|||
`, |
|||
}) |
|||
export class ChartDemoComponent { |
|||
data = { |
|||
labels: ['Data 1', 'Data 2', 'Data 3'], |
|||
datasets: [ |
|||
{ |
|||
label: 'Dataset 1', |
|||
data: [40, 15, 45], |
|||
backgroundColor: ['#a0e6c3', '#f0ea4c', '#5b9dc3'], |
|||
}, |
|||
], |
|||
}; |
|||
|
|||
options = { |
|||
plugins: { |
|||
title: { |
|||
display: true, |
|||
text: 'Doughnut Chart', |
|||
fontSize: 16, |
|||
}, |
|||
legend: { |
|||
position: 'bottom', |
|||
}, |
|||
}, |
|||
}; |
|||
} |
|||
``` |
|||
|
|||
Result: |
|||
|
|||
 |
|||
|
|||
### Bar |
|||
|
|||
```ts |
|||
import { Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
selector: 'app-chart-demo', |
|||
template: ` |
|||
<abp-chart |
|||
type="bar" |
|||
[data]="data" |
|||
width="400px" |
|||
height="400px" |
|||
></abp-chart> |
|||
`, |
|||
}) |
|||
export class ChartDemoComponent { |
|||
data = { |
|||
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], |
|||
datasets: [ |
|||
{ |
|||
label: 'First dataset', |
|||
backgroundColor: '#42A5F5', |
|||
data: [65, 59, 80, 81, 56, 55, 40], |
|||
}, |
|||
{ |
|||
label: 'Second dataset', |
|||
backgroundColor: '#FFA726', |
|||
data: [28, 48, 40, 19, 86, 27, 90], |
|||
}, |
|||
], |
|||
}; |
|||
} |
|||
``` |
|||
|
|||
Result: |
|||
|
|||
 |
|||
|
|||
### Radar |
|||
|
|||
```ts |
|||
import { Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
selector: 'app-chart-demo', |
|||
template: ` |
|||
<abp-chart |
|||
type="radar" |
|||
[data]="data" |
|||
width="400px" |
|||
height="400px" |
|||
></abp-chart> |
|||
|
|||
<button class="btn btn-primary-outline mt-4" (click)="addDataset()"> |
|||
Add dataset |
|||
</button> |
|||
`, |
|||
}) |
|||
export class ChartDemoComponent { |
|||
data = { |
|||
labels: [ |
|||
'January', |
|||
'February', |
|||
'March', |
|||
'April', |
|||
'May', |
|||
'June', |
|||
'July', |
|||
'August', |
|||
'September', |
|||
'October', |
|||
'November', |
|||
'December', |
|||
], |
|||
datasets: [ |
|||
{ |
|||
label: 'Dataset 1', |
|||
backgroundColor: 'rgba(179,181,198,0.2)', |
|||
borderColor: 'rgba(179,181,198,1)', |
|||
data: [65, 59, 90, 81, 56, 55, 40, 35, 82, 51, 62, 95], |
|||
}, |
|||
{ |
|||
label: 'Dataset 2', |
|||
backgroundColor: 'rgba(255,99,132,0.2)', |
|||
borderColor: 'rgba(255,99,132,1)', |
|||
data: [28, 48, 40, 58, 96, 27, 100, 44, 85, 77, 71, 39], |
|||
}, |
|||
], |
|||
}; |
|||
|
|||
addDataset() { |
|||
this.data = { |
|||
...this.data, |
|||
datasets: [ |
|||
...this.data.datasets, |
|||
{ |
|||
label: 'Dataset 3', |
|||
backgroundColor: 'rgba(54,162,235,0.2)', |
|||
borderColor: 'rgba(54, 162, 235, 1)', |
|||
data: [90, 95, 98, 91, 99, 96, 89, 95, 98, 93, 92, 90], |
|||
}, |
|||
], |
|||
}; |
|||
} |
|||
} |
|||
``` |
|||
|
|||
Result: |
|||
|
|||
 |
|||
|
|||
See the [`chart.js` samples](https://www.chartjs.org/docs/latest/samples) for more examples. |
|||
|
|||
## API |
|||
|
|||
### `abp-chart` |
|||
|
|||
#### Properties |
|||
|
|||
| Name | Description | Type | Default | |
|||
| --------------- | ---------------------------------------------------------------- | ----------------------- | ------- | |
|||
| `[type]` | Type of the chart. | `string` | null | |
|||
| `[data]` | Chart data to display | `any` | null | |
|||
| `[options]` | Chart options to customize | `any` | null | |
|||
| `[plugins]` | Chart plugins to customize behaviour | `any` | null | |
|||
| `[width]` | Witdh of the chart | `string` | null | |
|||
| `[height]` | Height of the chart | `string` | null | |
|||
| `[responsive]` | Whether the chart is responsive | `boolean` | true | |
|||
| `(dataSelect)` | A callback that executes when an element on the chart is clicked | `EventEmitter<any>` | - | |
|||
| `(initialized)` | A callback that executes when the chart is initialized | `EventEmitter<boolean>` | - | |
|||
|
|||
#### Methods |
|||
|
|||
| Name | Description | Parameters | |
|||
| ---------------- | ------------------------------------------------------------------- | ---------- | |
|||
| `refresh` | Redraws the chart | - | |
|||
| `reinit` | Destroys the chart then creates it again | - | |
|||
| `getBase64Image` | Returns a base 64 encoded string of the chart in it's current state | - | |
|||
| `generateLegend` | Returns an HTML string of a legend for the chart | - | |
|||
| `getCanvas` | Returns the canvas HTML element | - | |
|||
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 3.2 MiB |
@ -1,7 +1,7 @@ |
|||
<Button Color="@Color" Clicked="@Clicked" Disabled="@Disabled"> |
|||
@if (Icon != null) |
|||
{ |
|||
<Icon Name="IconName.Add" Class="me-1"></Icon> |
|||
<Icon Name="Icon" Class="me-1"></Icon> |
|||
} |
|||
@Text |
|||
</Button> |
|||
|
|||
@ -1,53 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
using Confluent.Kafka; |
|||
using Microsoft.Extensions.Logging; |
|||
using Microsoft.Extensions.Logging.Abstractions; |
|||
using Microsoft.Extensions.Options; |
|||
using Volo.Abp.Data; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.EventBus.Kafka |
|||
{ |
|||
public class KafkaEventErrorHandler : EventErrorHandlerBase, ISingletonDependency |
|||
{ |
|||
protected ILogger<KafkaEventErrorHandler> Logger { get; set; } |
|||
|
|||
public KafkaEventErrorHandler( |
|||
IOptions<AbpEventBusOptions> options) : base(options) |
|||
{ |
|||
Logger = NullLogger<KafkaEventErrorHandler>.Instance; |
|||
} |
|||
|
|||
protected override async Task RetryAsync(EventExecutionErrorContext context) |
|||
{ |
|||
if (Options.RetryStrategyOptions.IntervalMillisecond > 0) |
|||
{ |
|||
await Task.Delay(Options.RetryStrategyOptions.IntervalMillisecond); |
|||
} |
|||
|
|||
context.TryGetRetryAttempt(out var retryAttempt); |
|||
|
|||
await context.EventBus.As<KafkaDistributedEventBus>().PublishAsync( |
|||
context.EventType, |
|||
context.EventData, |
|||
context.GetProperty(HeadersKey).As<Headers>(), |
|||
new Dictionary<string, object> {{RetryAttemptKey, ++retryAttempt}}); |
|||
} |
|||
|
|||
protected override async Task MoveToDeadLetterAsync(EventExecutionErrorContext context) |
|||
{ |
|||
Logger.LogException( |
|||
context.Exceptions.Count == 1 ? context.Exceptions.First() : new AggregateException(context.Exceptions), |
|||
LogLevel.Error); |
|||
|
|||
await context.EventBus.As<KafkaDistributedEventBus>().PublishToDeadLetterAsync( |
|||
context.EventType, |
|||
context.EventData, |
|||
context.GetProperty(HeadersKey).As<Headers>(), |
|||
new Dictionary<string, object> {{"exceptions", context.Exceptions.Select(x => x.ToString()).ToList()}}); |
|||
} |
|||
} |
|||
} |
|||
@ -1,47 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
using Microsoft.Extensions.Options; |
|||
using RabbitMQ.Client; |
|||
using Volo.Abp.Data; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.EventBus.RabbitMq |
|||
{ |
|||
public class RabbitMqEventErrorHandler : EventErrorHandlerBase, ISingletonDependency |
|||
{ |
|||
public RabbitMqEventErrorHandler( |
|||
IOptions<AbpEventBusOptions> options) |
|||
: base(options) |
|||
{ |
|||
} |
|||
|
|||
protected override async Task RetryAsync(EventExecutionErrorContext context) |
|||
{ |
|||
if (Options.RetryStrategyOptions.IntervalMillisecond > 0) |
|||
{ |
|||
await Task.Delay(Options.RetryStrategyOptions.IntervalMillisecond); |
|||
} |
|||
|
|||
context.TryGetRetryAttempt(out var retryAttempt); |
|||
|
|||
await context.EventBus.As<RabbitMqDistributedEventBus>().PublishAsync( |
|||
context.EventType, |
|||
context.EventData, |
|||
context.GetProperty(HeadersKey).As<IBasicProperties>(), |
|||
new Dictionary<string, object> |
|||
{ |
|||
{RetryAttemptKey, ++retryAttempt}, |
|||
{"exceptions", context.Exceptions.Select(x => x.ToString()).ToList()} |
|||
}); |
|||
} |
|||
|
|||
protected override Task MoveToDeadLetterAsync(EventExecutionErrorContext context) |
|||
{ |
|||
ThrowOriginalExceptions(context); |
|||
|
|||
return Task.CompletedTask; |
|||
} |
|||
} |
|||
} |
|||
@ -1,32 +0,0 @@ |
|||
using System.Threading.Tasks; |
|||
using Microsoft.Extensions.Options; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.EventBus.Rebus |
|||
{ |
|||
/// <summary>
|
|||
/// Rebus will automatic retries and error handling: https://github.com/rebus-org/Rebus/wiki/Automatic-retries-and-error-handling
|
|||
/// </summary>
|
|||
public class RebusEventErrorHandler : EventErrorHandlerBase, ISingletonDependency |
|||
{ |
|||
public RebusEventErrorHandler( |
|||
IOptions<AbpEventBusOptions> options) |
|||
: base(options) |
|||
{ |
|||
} |
|||
|
|||
protected override Task RetryAsync(EventExecutionErrorContext context) |
|||
{ |
|||
ThrowOriginalExceptions(context); |
|||
|
|||
return Task.CompletedTask; |
|||
} |
|||
|
|||
protected override Task MoveToDeadLetterAsync(EventExecutionErrorContext context) |
|||
{ |
|||
ThrowOriginalExceptions(context); |
|||
|
|||
return Task.CompletedTask; |
|||
} |
|||
} |
|||
} |
|||
@ -1,22 +0,0 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Abp.EventBus |
|||
{ |
|||
public class AbpEventBusOptions |
|||
{ |
|||
public bool EnabledErrorHandle { get; set; } |
|||
|
|||
public Func<Type, bool> ErrorHandleSelector { get; set; } |
|||
|
|||
public string DeadLetterName { get; set; } |
|||
|
|||
public AbpEventBusRetryStrategyOptions RetryStrategyOptions { get; set; } |
|||
|
|||
public void UseRetryStrategy(Action<AbpEventBusRetryStrategyOptions> action = null) |
|||
{ |
|||
EnabledErrorHandle = true; |
|||
RetryStrategyOptions = new AbpEventBusRetryStrategyOptions(); |
|||
action?.Invoke(RetryStrategyOptions); |
|||
} |
|||
} |
|||
} |
|||
@ -1,9 +0,0 @@ |
|||
namespace Volo.Abp.EventBus |
|||
{ |
|||
public class AbpEventBusRetryStrategyOptions |
|||
{ |
|||
public int IntervalMillisecond { get; set; } = 3000; |
|||
|
|||
public int MaxRetryAttempts { get; set; } = 3; |
|||
} |
|||
} |
|||
@ -1,76 +0,0 @@ |
|||
using System; |
|||
using System.Threading.Tasks; |
|||
using Microsoft.Extensions.Options; |
|||
|
|||
namespace Volo.Abp.EventBus |
|||
{ |
|||
public abstract class EventErrorHandlerBase : IEventErrorHandler |
|||
{ |
|||
public const string HeadersKey = "headers"; |
|||
public const string RetryAttemptKey = "retryAttempt"; |
|||
|
|||
protected AbpEventBusOptions Options { get; } |
|||
|
|||
protected EventErrorHandlerBase(IOptions<AbpEventBusOptions> options) |
|||
{ |
|||
Options = options.Value; |
|||
} |
|||
|
|||
public virtual async Task HandleAsync(EventExecutionErrorContext context) |
|||
{ |
|||
if (!await ShouldHandleAsync(context)) |
|||
{ |
|||
ThrowOriginalExceptions(context); |
|||
} |
|||
|
|||
if (await ShouldRetryAsync(context)) |
|||
{ |
|||
await RetryAsync(context); |
|||
return; |
|||
} |
|||
|
|||
await MoveToDeadLetterAsync(context); |
|||
} |
|||
|
|||
protected abstract Task RetryAsync(EventExecutionErrorContext context); |
|||
|
|||
protected abstract Task MoveToDeadLetterAsync(EventExecutionErrorContext context); |
|||
|
|||
protected virtual Task<bool> ShouldHandleAsync(EventExecutionErrorContext context) |
|||
{ |
|||
if (!Options.EnabledErrorHandle) |
|||
{ |
|||
return Task.FromResult(false); |
|||
} |
|||
|
|||
return Task.FromResult(Options.ErrorHandleSelector == null || Options.ErrorHandleSelector.Invoke(context.EventType)); |
|||
} |
|||
|
|||
protected virtual Task<bool> ShouldRetryAsync(EventExecutionErrorContext context) |
|||
{ |
|||
if (Options.RetryStrategyOptions == null) |
|||
{ |
|||
return Task.FromResult(false); |
|||
} |
|||
|
|||
if (!context.TryGetRetryAttempt(out var retryAttempt)) |
|||
{ |
|||
return Task.FromResult(false); |
|||
} |
|||
|
|||
return Task.FromResult(Options.RetryStrategyOptions.MaxRetryAttempts > retryAttempt); |
|||
} |
|||
|
|||
protected virtual void ThrowOriginalExceptions(EventExecutionErrorContext context) |
|||
{ |
|||
if (context.Exceptions.Count == 1) |
|||
{ |
|||
context.Exceptions[0].ReThrow(); |
|||
} |
|||
|
|||
throw new AggregateException( |
|||
"More than one error has occurred while triggering the event: " + context.EventType, |
|||
context.Exceptions); |
|||
} |
|||
} |
|||
} |
|||
@ -1,38 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using Volo.Abp.Data; |
|||
using Volo.Abp.ObjectExtending; |
|||
|
|||
namespace Volo.Abp.EventBus |
|||
{ |
|||
public class EventExecutionErrorContext : ExtensibleObject |
|||
{ |
|||
public IReadOnlyList<Exception> Exceptions { get; } |
|||
|
|||
public object EventData { get; set; } |
|||
|
|||
public Type EventType { get; } |
|||
|
|||
public IEventBus EventBus { get; } |
|||
|
|||
public EventExecutionErrorContext(List<Exception> exceptions, Type eventType, IEventBus eventBus) |
|||
{ |
|||
Exceptions = exceptions; |
|||
EventType = eventType; |
|||
EventBus = eventBus; |
|||
} |
|||
|
|||
public bool TryGetRetryAttempt(out int retryAttempt) |
|||
{ |
|||
retryAttempt = 0; |
|||
if (!this.HasProperty(EventErrorHandlerBase.RetryAttemptKey)) |
|||
{ |
|||
return false; |
|||
} |
|||
|
|||
retryAttempt = this.GetProperty<int>(EventErrorHandlerBase.RetryAttemptKey); |
|||
return true; |
|||
|
|||
} |
|||
} |
|||
} |
|||
@ -1,9 +0,0 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.EventBus |
|||
{ |
|||
public interface IEventErrorHandler |
|||
{ |
|||
Task HandleAsync(EventExecutionErrorContext context); |
|||
} |
|||
} |
|||
@ -1,60 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Microsoft.Extensions.Options; |
|||
using Volo.Abp.Data; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.EventBus.Local |
|||
{ |
|||
[ExposeServices(typeof(LocalEventErrorHandler), typeof(IEventErrorHandler))] |
|||
public class LocalEventErrorHandler : EventErrorHandlerBase, ISingletonDependency |
|||
{ |
|||
protected Dictionary<Guid, int> RetryTracking { get; } |
|||
|
|||
public LocalEventErrorHandler( |
|||
IOptions<AbpEventBusOptions> options) |
|||
: base(options) |
|||
{ |
|||
RetryTracking = new Dictionary<Guid, int>(); |
|||
} |
|||
|
|||
protected override async Task RetryAsync(EventExecutionErrorContext context) |
|||
{ |
|||
if (Options.RetryStrategyOptions.IntervalMillisecond > 0) |
|||
{ |
|||
await Task.Delay(Options.RetryStrategyOptions.IntervalMillisecond); |
|||
} |
|||
|
|||
var messageId = context.GetProperty<Guid>(nameof(LocalEventMessage.MessageId)); |
|||
|
|||
context.TryGetRetryAttempt(out var retryAttempt); |
|||
RetryTracking[messageId] = ++retryAttempt; |
|||
|
|||
await context.EventBus.As<LocalEventBus>().PublishAsync(new LocalEventMessage(messageId, context.EventData, context.EventType)); |
|||
|
|||
RetryTracking.Remove(messageId); |
|||
} |
|||
|
|||
protected override Task MoveToDeadLetterAsync(EventExecutionErrorContext context) |
|||
{ |
|||
ThrowOriginalExceptions(context); |
|||
|
|||
return Task.CompletedTask; |
|||
} |
|||
|
|||
protected override async Task<bool> ShouldRetryAsync(EventExecutionErrorContext context) |
|||
{ |
|||
var messageId = context.GetProperty<Guid>(nameof(LocalEventMessage.MessageId)); |
|||
context.SetProperty(RetryAttemptKey, RetryTracking.GetOrDefault(messageId)); |
|||
|
|||
if (await base.ShouldRetryAsync(context)) |
|||
{ |
|||
return true; |
|||
} |
|||
|
|||
RetryTracking.Remove(messageId); |
|||
return false; |
|||
} |
|||
} |
|||
} |
|||
@ -1,72 +0,0 @@ |
|||
using System; |
|||
using System.Threading.Tasks; |
|||
using Shouldly; |
|||
using Xunit; |
|||
|
|||
namespace Volo.Abp.EventBus.Local |
|||
{ |
|||
public class EventBus_Exception_Handler_Tests : EventBusTestBase |
|||
{ |
|||
[Fact] |
|||
public async Task Should_Not_Handle_Exception() |
|||
{ |
|||
var retryAttempt = 0; |
|||
LocalEventBus.Subscribe<MySimpleEventData>(eventData => |
|||
{ |
|||
retryAttempt++; |
|||
throw new Exception("This exception is intentionally thrown!"); |
|||
}); |
|||
|
|||
var appException = await Assert.ThrowsAsync<Exception>(async () => |
|||
{ |
|||
await LocalEventBus.PublishAsync(new MySimpleEventData(1)); |
|||
}); |
|||
|
|||
retryAttempt.ShouldBe(1); |
|||
appException.Message.ShouldBe("This exception is intentionally thrown!"); |
|||
} |
|||
|
|||
[Fact] |
|||
public async Task Should_Handle_Exception() |
|||
{ |
|||
var retryAttempt = 0; |
|||
LocalEventBus.Subscribe<MyExceptionHandleEventData>(eventData => |
|||
{ |
|||
eventData.Value.ShouldBe(0); |
|||
retryAttempt++; |
|||
if (retryAttempt < 2) |
|||
{ |
|||
throw new Exception("This exception is intentionally thrown!"); |
|||
} |
|||
|
|||
return Task.CompletedTask; |
|||
|
|||
}); |
|||
|
|||
await LocalEventBus.PublishAsync(new MyExceptionHandleEventData(0)); |
|||
retryAttempt.ShouldBe(2); |
|||
} |
|||
|
|||
[Fact] |
|||
public async Task Should_Throw_Exception_After_Error_Handle() |
|||
{ |
|||
var retryAttempt = 0; |
|||
LocalEventBus.Subscribe<MyExceptionHandleEventData>(eventData => |
|||
{ |
|||
eventData.Value.ShouldBe(0); |
|||
|
|||
retryAttempt++; |
|||
|
|||
throw new Exception("This exception is intentionally thrown!"); |
|||
}); |
|||
|
|||
var appException = await Assert.ThrowsAsync<Exception>(async () => |
|||
{ |
|||
await LocalEventBus.PublishAsync(new MyExceptionHandleEventData(0)); |
|||
}); |
|||
|
|||
retryAttempt.ShouldBe(4); |
|||
appException.Message.ShouldBe("This exception is intentionally thrown!"); |
|||
} |
|||
} |
|||
} |
|||
@ -1,12 +0,0 @@ |
|||
namespace Volo.Abp.EventBus |
|||
{ |
|||
public class MyExceptionHandleEventData |
|||
{ |
|||
public int Value { get; set; } |
|||
|
|||
public MyExceptionHandleEventData(int value) |
|||
{ |
|||
Value = value; |
|||
} |
|||
} |
|||
} |
|||
@ -1,171 +0,0 @@ |
|||
/*! |
|||
* TOAST UI Editor : i18n |
|||
* @version 2.5.1 |
|||
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
|||
* @license MIT |
|||
*/ |
|||
(function webpackUniversalModuleDefinition(root, factory) { |
|||
if(typeof exports === 'object' && typeof module === 'object') |
|||
module.exports = factory(require("@toast-ui/editor")); |
|||
else if(typeof define === 'function' && define.amd) |
|||
define(["@toast-ui/editor"], factory); |
|||
else { |
|||
var a = typeof exports === 'object' ? factory(require("@toast-ui/editor")) : factory(root["toastui"]["Editor"]); |
|||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; |
|||
} |
|||
})(window, function(__WEBPACK_EXTERNAL_MODULE__0__) { |
|||
return /******/ (function(modules) { // webpackBootstrap
|
|||
/******/ // The module cache
|
|||
/******/ var installedModules = {}; |
|||
/******/ |
|||
/******/ // The require function
|
|||
/******/ function __webpack_require__(moduleId) { |
|||
/******/ |
|||
/******/ // Check if module is in cache
|
|||
/******/ if(installedModules[moduleId]) { |
|||
/******/ return installedModules[moduleId].exports; |
|||
/******/ } |
|||
/******/ // Create a new module (and put it into the cache)
|
|||
/******/ var module = installedModules[moduleId] = { |
|||
/******/ i: moduleId, |
|||
/******/ l: false, |
|||
/******/ exports: {} |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Execute the module function
|
|||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
|||
/******/ |
|||
/******/ // Flag the module as loaded
|
|||
/******/ module.l = true; |
|||
/******/ |
|||
/******/ // Return the exports of the module
|
|||
/******/ return module.exports; |
|||
/******/ } |
|||
/******/ |
|||
/******/ |
|||
/******/ // expose the modules object (__webpack_modules__)
|
|||
/******/ __webpack_require__.m = modules; |
|||
/******/ |
|||
/******/ // expose the module cache
|
|||
/******/ __webpack_require__.c = installedModules; |
|||
/******/ |
|||
/******/ // define getter function for harmony exports
|
|||
/******/ __webpack_require__.d = function(exports, name, getter) { |
|||
/******/ if(!__webpack_require__.o(exports, name)) { |
|||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
|||
/******/ } |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // define __esModule on exports
|
|||
/******/ __webpack_require__.r = function(exports) { |
|||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
|||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
|||
/******/ } |
|||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // create a fake namespace object
|
|||
/******/ // mode & 1: value is a module id, require it
|
|||
/******/ // mode & 2: merge all properties of value into the ns
|
|||
/******/ // mode & 4: return value when already ns object
|
|||
/******/ // mode & 8|1: behave like require
|
|||
/******/ __webpack_require__.t = function(value, mode) { |
|||
/******/ if(mode & 1) value = __webpack_require__(value); |
|||
/******/ if(mode & 8) return value; |
|||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
|||
/******/ var ns = Object.create(null); |
|||
/******/ __webpack_require__.r(ns); |
|||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
|||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
|||
/******/ return ns; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|||
/******/ __webpack_require__.n = function(module) { |
|||
/******/ var getter = module && module.__esModule ? |
|||
/******/ function getDefault() { return module['default']; } : |
|||
/******/ function getModuleExports() { return module; }; |
|||
/******/ __webpack_require__.d(getter, 'a', getter); |
|||
/******/ return getter; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Object.prototype.hasOwnProperty.call
|
|||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
|||
/******/ |
|||
/******/ // __webpack_public_path__
|
|||
/******/ __webpack_require__.p = ""; |
|||
/******/ |
|||
/******/ |
|||
/******/ // Load entry module and return exports
|
|||
/******/ return __webpack_require__(__webpack_require__.s = 1); |
|||
/******/ }) |
|||
/************************************************************************/ |
|||
/******/ ([ |
|||
/* 0 */ |
|||
/***/ (function(module, exports) { |
|||
|
|||
module.exports = __WEBPACK_EXTERNAL_MODULE__0__; |
|||
|
|||
/***/ }), |
|||
/* 1 */ |
|||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|||
|
|||
"use strict"; |
|||
__webpack_require__.r(__webpack_exports__); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_editor__WEBPACK_IMPORTED_MODULE_0__); |
|||
/** |
|||
* @fileoverview I18N for Arabic |
|||
* @author Amira Salah <amira.salah@itworx.com> |
|||
*/ |
|||
|
|||
_editor__WEBPACK_IMPORTED_MODULE_0___default.a.setLanguage('ar', { |
|||
Markdown: 'لغة ترميز', |
|||
WYSIWYG: 'ما تراه هو ما تحصل عليه', |
|||
Write: 'يكتب', |
|||
Preview: 'عرض مسبق', |
|||
Headings: 'العناوين', |
|||
Paragraph: 'فقرة', |
|||
Bold: 'خط عريض', |
|||
Italic: 'خط مائل', |
|||
Strike: 'إضراب', |
|||
Code: 'رمز', |
|||
Line: 'خط', |
|||
Blockquote: 'فقرة مقتبسة', |
|||
'Unordered list': 'قائمة غير مرتبة', |
|||
'Ordered list': 'قائمة مرتبة', |
|||
Task: 'مهمة', |
|||
Indent: 'المسافة البادئة', |
|||
Outdent: 'المسافة الخارجة', |
|||
'Insert link': 'أدخل الرابط', |
|||
'Insert CodeBlock': 'أدخل الكود', |
|||
'Insert table': 'أدخل جدول', |
|||
'Insert image': 'أدخل صورة', |
|||
Heading: 'عنوان', |
|||
'Image URL': 'رابط الصورة', |
|||
'Select image file': 'حدد ملف الصورة', |
|||
Description: 'وصف', |
|||
OK: 'موافقة', |
|||
More: 'أكثر', |
|||
Cancel: 'إلغاء', |
|||
File: 'ملف', |
|||
URL: 'رابط', |
|||
'Link text': 'نص الرابط', |
|||
'Add row': 'ضف سطر', |
|||
'Add col': 'ضف عمود', |
|||
'Remove row': 'حذف سطر', |
|||
'Remove col': 'حذف عمود', |
|||
'Align left': 'محاذاة اليسار', |
|||
'Align center': 'محاذاة الوسط', |
|||
'Align right': 'محاذاة اليمين', |
|||
'Remove table': 'حذف الجدول', |
|||
'Would you like to paste as table?': 'هل تريد اللصق كجدول', |
|||
'Text color': 'لون النص', |
|||
'Auto scroll enabled': 'التحريك التلقائي ممكّن', |
|||
'Auto scroll disabled': 'التحريك التلقائي معطّل', |
|||
'Choose language': 'اختر اللغة' |
|||
}); |
|||
|
|||
/***/ }) |
|||
/******/ ]); |
|||
}); |
|||
@ -1,172 +0,0 @@ |
|||
/*! |
|||
* TOAST UI Editor : i18n |
|||
* @version 2.5.1 |
|||
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
|||
* @license MIT |
|||
*/ |
|||
(function webpackUniversalModuleDefinition(root, factory) { |
|||
if(typeof exports === 'object' && typeof module === 'object') |
|||
module.exports = factory(require("@toast-ui/editor")); |
|||
else if(typeof define === 'function' && define.amd) |
|||
define(["@toast-ui/editor"], factory); |
|||
else { |
|||
var a = typeof exports === 'object' ? factory(require("@toast-ui/editor")) : factory(root["toastui"]["Editor"]); |
|||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; |
|||
} |
|||
})(window, function(__WEBPACK_EXTERNAL_MODULE__0__) { |
|||
return /******/ (function(modules) { // webpackBootstrap
|
|||
/******/ // The module cache
|
|||
/******/ var installedModules = {}; |
|||
/******/ |
|||
/******/ // The require function
|
|||
/******/ function __webpack_require__(moduleId) { |
|||
/******/ |
|||
/******/ // Check if module is in cache
|
|||
/******/ if(installedModules[moduleId]) { |
|||
/******/ return installedModules[moduleId].exports; |
|||
/******/ } |
|||
/******/ // Create a new module (and put it into the cache)
|
|||
/******/ var module = installedModules[moduleId] = { |
|||
/******/ i: moduleId, |
|||
/******/ l: false, |
|||
/******/ exports: {} |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Execute the module function
|
|||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
|||
/******/ |
|||
/******/ // Flag the module as loaded
|
|||
/******/ module.l = true; |
|||
/******/ |
|||
/******/ // Return the exports of the module
|
|||
/******/ return module.exports; |
|||
/******/ } |
|||
/******/ |
|||
/******/ |
|||
/******/ // expose the modules object (__webpack_modules__)
|
|||
/******/ __webpack_require__.m = modules; |
|||
/******/ |
|||
/******/ // expose the module cache
|
|||
/******/ __webpack_require__.c = installedModules; |
|||
/******/ |
|||
/******/ // define getter function for harmony exports
|
|||
/******/ __webpack_require__.d = function(exports, name, getter) { |
|||
/******/ if(!__webpack_require__.o(exports, name)) { |
|||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
|||
/******/ } |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // define __esModule on exports
|
|||
/******/ __webpack_require__.r = function(exports) { |
|||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
|||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
|||
/******/ } |
|||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // create a fake namespace object
|
|||
/******/ // mode & 1: value is a module id, require it
|
|||
/******/ // mode & 2: merge all properties of value into the ns
|
|||
/******/ // mode & 4: return value when already ns object
|
|||
/******/ // mode & 8|1: behave like require
|
|||
/******/ __webpack_require__.t = function(value, mode) { |
|||
/******/ if(mode & 1) value = __webpack_require__(value); |
|||
/******/ if(mode & 8) return value; |
|||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
|||
/******/ var ns = Object.create(null); |
|||
/******/ __webpack_require__.r(ns); |
|||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
|||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
|||
/******/ return ns; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|||
/******/ __webpack_require__.n = function(module) { |
|||
/******/ var getter = module && module.__esModule ? |
|||
/******/ function getDefault() { return module['default']; } : |
|||
/******/ function getModuleExports() { return module; }; |
|||
/******/ __webpack_require__.d(getter, 'a', getter); |
|||
/******/ return getter; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Object.prototype.hasOwnProperty.call
|
|||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
|||
/******/ |
|||
/******/ // __webpack_public_path__
|
|||
/******/ __webpack_require__.p = ""; |
|||
/******/ |
|||
/******/ |
|||
/******/ // Load entry module and return exports
|
|||
/******/ return __webpack_require__(__webpack_require__.s = 2); |
|||
/******/ }) |
|||
/************************************************************************/ |
|||
/******/ ([ |
|||
/* 0 */ |
|||
/***/ (function(module, exports) { |
|||
|
|||
module.exports = __WEBPACK_EXTERNAL_MODULE__0__; |
|||
|
|||
/***/ }), |
|||
/* 1 */, |
|||
/* 2 */ |
|||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|||
|
|||
"use strict"; |
|||
__webpack_require__.r(__webpack_exports__); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_editor__WEBPACK_IMPORTED_MODULE_0__); |
|||
/** |
|||
* @fileoverview I18N for Czech |
|||
* @author Dmitrij Tkačenko <dmitrij.tkacenko@scalesoft.cz> |
|||
*/ |
|||
|
|||
_editor__WEBPACK_IMPORTED_MODULE_0___default.a.setLanguage(['cs', 'cs-CZ'], { |
|||
Markdown: 'Markdown', |
|||
WYSIWYG: 'WYSIWYG', |
|||
Write: 'Napsat', |
|||
Preview: 'Náhled', |
|||
Headings: 'Nadpisy', |
|||
Paragraph: 'Odstavec', |
|||
Bold: 'Tučné', |
|||
Italic: 'Kurzíva', |
|||
Strike: 'Přeškrtnuté', |
|||
Code: 'Kód', |
|||
Line: 'Vodorovná čára', |
|||
Blockquote: 'Citace', |
|||
'Unordered list': 'Seznam s odrážkami', |
|||
'Ordered list': 'Číslovaný seznam', |
|||
Task: 'Úkol', |
|||
Indent: 'Zvětšit odsazení', |
|||
Outdent: 'Zmenšit odsazení', |
|||
'Insert link': 'Vložit odkaz', |
|||
'Insert CodeBlock': 'Vložit blok kódu', |
|||
'Insert table': 'Vložit tabulku', |
|||
'Insert image': 'Vložit obrázek', |
|||
Heading: 'Nadpis', |
|||
'Image URL': 'URL obrázku', |
|||
'Select image file': 'Vybrat obrázek', |
|||
Description: 'Popis', |
|||
OK: 'OK', |
|||
More: 'Více', |
|||
Cancel: 'Zrušit', |
|||
File: 'Soubor', |
|||
URL: 'URL', |
|||
'Link text': 'Text odkazu', |
|||
'Add row': 'Přidat řádek', |
|||
'Add col': 'Přidat sloupec', |
|||
'Remove row': 'Odebrat řádek', |
|||
'Remove col': 'Odebrat sloupec', |
|||
'Align left': 'Zarovnat vlevo', |
|||
'Align center': 'Zarovnat na střed', |
|||
'Align right': 'Zarovnat vpravo', |
|||
'Remove table': 'Odstranit tabulku', |
|||
'Would you like to paste as table?': 'Chcete vložit jako tabulku?', |
|||
'Text color': 'Barva textu', |
|||
'Auto scroll enabled': 'Automatické rolování zapnuto', |
|||
'Auto scroll disabled': 'Automatické rolování vypnuto', |
|||
'Choose language': 'Vybrat jazyk' |
|||
}); |
|||
|
|||
/***/ }) |
|||
/******/ ]); |
|||
}); |
|||
@ -1,173 +0,0 @@ |
|||
/*! |
|||
* TOAST UI Editor : i18n |
|||
* @version 2.5.1 |
|||
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
|||
* @license MIT |
|||
*/ |
|||
(function webpackUniversalModuleDefinition(root, factory) { |
|||
if(typeof exports === 'object' && typeof module === 'object') |
|||
module.exports = factory(require("@toast-ui/editor")); |
|||
else if(typeof define === 'function' && define.amd) |
|||
define(["@toast-ui/editor"], factory); |
|||
else { |
|||
var a = typeof exports === 'object' ? factory(require("@toast-ui/editor")) : factory(root["toastui"]["Editor"]); |
|||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; |
|||
} |
|||
})(window, function(__WEBPACK_EXTERNAL_MODULE__0__) { |
|||
return /******/ (function(modules) { // webpackBootstrap
|
|||
/******/ // The module cache
|
|||
/******/ var installedModules = {}; |
|||
/******/ |
|||
/******/ // The require function
|
|||
/******/ function __webpack_require__(moduleId) { |
|||
/******/ |
|||
/******/ // Check if module is in cache
|
|||
/******/ if(installedModules[moduleId]) { |
|||
/******/ return installedModules[moduleId].exports; |
|||
/******/ } |
|||
/******/ // Create a new module (and put it into the cache)
|
|||
/******/ var module = installedModules[moduleId] = { |
|||
/******/ i: moduleId, |
|||
/******/ l: false, |
|||
/******/ exports: {} |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Execute the module function
|
|||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
|||
/******/ |
|||
/******/ // Flag the module as loaded
|
|||
/******/ module.l = true; |
|||
/******/ |
|||
/******/ // Return the exports of the module
|
|||
/******/ return module.exports; |
|||
/******/ } |
|||
/******/ |
|||
/******/ |
|||
/******/ // expose the modules object (__webpack_modules__)
|
|||
/******/ __webpack_require__.m = modules; |
|||
/******/ |
|||
/******/ // expose the module cache
|
|||
/******/ __webpack_require__.c = installedModules; |
|||
/******/ |
|||
/******/ // define getter function for harmony exports
|
|||
/******/ __webpack_require__.d = function(exports, name, getter) { |
|||
/******/ if(!__webpack_require__.o(exports, name)) { |
|||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
|||
/******/ } |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // define __esModule on exports
|
|||
/******/ __webpack_require__.r = function(exports) { |
|||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
|||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
|||
/******/ } |
|||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // create a fake namespace object
|
|||
/******/ // mode & 1: value is a module id, require it
|
|||
/******/ // mode & 2: merge all properties of value into the ns
|
|||
/******/ // mode & 4: return value when already ns object
|
|||
/******/ // mode & 8|1: behave like require
|
|||
/******/ __webpack_require__.t = function(value, mode) { |
|||
/******/ if(mode & 1) value = __webpack_require__(value); |
|||
/******/ if(mode & 8) return value; |
|||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
|||
/******/ var ns = Object.create(null); |
|||
/******/ __webpack_require__.r(ns); |
|||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
|||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
|||
/******/ return ns; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|||
/******/ __webpack_require__.n = function(module) { |
|||
/******/ var getter = module && module.__esModule ? |
|||
/******/ function getDefault() { return module['default']; } : |
|||
/******/ function getModuleExports() { return module; }; |
|||
/******/ __webpack_require__.d(getter, 'a', getter); |
|||
/******/ return getter; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Object.prototype.hasOwnProperty.call
|
|||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
|||
/******/ |
|||
/******/ // __webpack_public_path__
|
|||
/******/ __webpack_require__.p = ""; |
|||
/******/ |
|||
/******/ |
|||
/******/ // Load entry module and return exports
|
|||
/******/ return __webpack_require__(__webpack_require__.s = 3); |
|||
/******/ }) |
|||
/************************************************************************/ |
|||
/******/ ([ |
|||
/* 0 */ |
|||
/***/ (function(module, exports) { |
|||
|
|||
module.exports = __WEBPACK_EXTERNAL_MODULE__0__; |
|||
|
|||
/***/ }), |
|||
/* 1 */, |
|||
/* 2 */, |
|||
/* 3 */ |
|||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|||
|
|||
"use strict"; |
|||
__webpack_require__.r(__webpack_exports__); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_editor__WEBPACK_IMPORTED_MODULE_0__); |
|||
/** |
|||
* @fileoverview I18N for German |
|||
* @author Jann-Niklas Kiepert <jannkiepert@vivaldi.net> |
|||
*/ |
|||
|
|||
_editor__WEBPACK_IMPORTED_MODULE_0___default.a.setLanguage(['de', 'de-DE'], { |
|||
Markdown: 'Markdown', |
|||
WYSIWYG: 'WYSIWYG', |
|||
Write: 'Verfassen', |
|||
Preview: 'Vorschau', |
|||
Headings: 'Überschriften', |
|||
Paragraph: 'Text', |
|||
Bold: 'Fett', |
|||
Italic: 'Kursiv', |
|||
Strike: 'Durchgestrichen', |
|||
Code: 'Code', |
|||
Line: 'Trennlinie', |
|||
Blockquote: 'Blocktext', |
|||
'Unordered list': 'Aufzählung', |
|||
'Ordered list': 'Nummerierte Aufzählung', |
|||
Task: 'Aufgabe', |
|||
Indent: 'Einrücken', |
|||
Outdent: 'Ausrücken', |
|||
'Insert link': 'Link einfügen', |
|||
'Insert CodeBlock': 'Codeblock einfügen', |
|||
'Insert table': 'Tabelle einfügen', |
|||
'Insert image': 'Grafik einfügen', |
|||
Heading: 'Titel', |
|||
'Image URL': 'Bild URL', |
|||
'Select image file': 'Grafik auswählen', |
|||
Description: 'Beschreibung', |
|||
OK: 'OK', |
|||
More: 'Mehr', |
|||
Cancel: 'Abbrechen', |
|||
File: 'Datei', |
|||
URL: 'URL', |
|||
'Link text': 'Anzuzeigender Text', |
|||
'Add row': 'Zeile hinzufügen', |
|||
'Add col': 'Spalte hinzufügen', |
|||
'Remove row': 'Zeile entfernen', |
|||
'Remove col': 'Spalte entfernen', |
|||
'Align left': 'Links ausrichten', |
|||
'Align center': 'Zentrieren', |
|||
'Align right': 'Rechts ausrichten', |
|||
'Remove table': 'Tabelle entfernen', |
|||
'Would you like to paste as table?': 'Möchten Sie eine Tabelle einfügen?', |
|||
'Text color': 'Textfarbe', |
|||
'Auto scroll enabled': 'Autoscrollen aktiviert', |
|||
'Auto scroll disabled': 'Autoscrollen deaktiviert', |
|||
'Choose language': 'Sprache auswählen' |
|||
}); |
|||
|
|||
/***/ }) |
|||
/******/ ]); |
|||
}); |
|||
@ -1,174 +0,0 @@ |
|||
/*! |
|||
* TOAST UI Editor : i18n |
|||
* @version 2.5.1 |
|||
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
|||
* @license MIT |
|||
*/ |
|||
(function webpackUniversalModuleDefinition(root, factory) { |
|||
if(typeof exports === 'object' && typeof module === 'object') |
|||
module.exports = factory(require("@toast-ui/editor")); |
|||
else if(typeof define === 'function' && define.amd) |
|||
define(["@toast-ui/editor"], factory); |
|||
else { |
|||
var a = typeof exports === 'object' ? factory(require("@toast-ui/editor")) : factory(root["toastui"]["Editor"]); |
|||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; |
|||
} |
|||
})(window, function(__WEBPACK_EXTERNAL_MODULE__0__) { |
|||
return /******/ (function(modules) { // webpackBootstrap
|
|||
/******/ // The module cache
|
|||
/******/ var installedModules = {}; |
|||
/******/ |
|||
/******/ // The require function
|
|||
/******/ function __webpack_require__(moduleId) { |
|||
/******/ |
|||
/******/ // Check if module is in cache
|
|||
/******/ if(installedModules[moduleId]) { |
|||
/******/ return installedModules[moduleId].exports; |
|||
/******/ } |
|||
/******/ // Create a new module (and put it into the cache)
|
|||
/******/ var module = installedModules[moduleId] = { |
|||
/******/ i: moduleId, |
|||
/******/ l: false, |
|||
/******/ exports: {} |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Execute the module function
|
|||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
|||
/******/ |
|||
/******/ // Flag the module as loaded
|
|||
/******/ module.l = true; |
|||
/******/ |
|||
/******/ // Return the exports of the module
|
|||
/******/ return module.exports; |
|||
/******/ } |
|||
/******/ |
|||
/******/ |
|||
/******/ // expose the modules object (__webpack_modules__)
|
|||
/******/ __webpack_require__.m = modules; |
|||
/******/ |
|||
/******/ // expose the module cache
|
|||
/******/ __webpack_require__.c = installedModules; |
|||
/******/ |
|||
/******/ // define getter function for harmony exports
|
|||
/******/ __webpack_require__.d = function(exports, name, getter) { |
|||
/******/ if(!__webpack_require__.o(exports, name)) { |
|||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
|||
/******/ } |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // define __esModule on exports
|
|||
/******/ __webpack_require__.r = function(exports) { |
|||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
|||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
|||
/******/ } |
|||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // create a fake namespace object
|
|||
/******/ // mode & 1: value is a module id, require it
|
|||
/******/ // mode & 2: merge all properties of value into the ns
|
|||
/******/ // mode & 4: return value when already ns object
|
|||
/******/ // mode & 8|1: behave like require
|
|||
/******/ __webpack_require__.t = function(value, mode) { |
|||
/******/ if(mode & 1) value = __webpack_require__(value); |
|||
/******/ if(mode & 8) return value; |
|||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
|||
/******/ var ns = Object.create(null); |
|||
/******/ __webpack_require__.r(ns); |
|||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
|||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
|||
/******/ return ns; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|||
/******/ __webpack_require__.n = function(module) { |
|||
/******/ var getter = module && module.__esModule ? |
|||
/******/ function getDefault() { return module['default']; } : |
|||
/******/ function getModuleExports() { return module; }; |
|||
/******/ __webpack_require__.d(getter, 'a', getter); |
|||
/******/ return getter; |
|||
/******/ }; |
|||
/******/ |
|||
/******/ // Object.prototype.hasOwnProperty.call
|
|||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
|||
/******/ |
|||
/******/ // __webpack_public_path__
|
|||
/******/ __webpack_require__.p = ""; |
|||
/******/ |
|||
/******/ |
|||
/******/ // Load entry module and return exports
|
|||
/******/ return __webpack_require__(__webpack_require__.s = 4); |
|||
/******/ }) |
|||
/************************************************************************/ |
|||
/******/ ([ |
|||
/* 0 */ |
|||
/***/ (function(module, exports) { |
|||
|
|||
module.exports = __WEBPACK_EXTERNAL_MODULE__0__; |
|||
|
|||
/***/ }), |
|||
/* 1 */, |
|||
/* 2 */, |
|||
/* 3 */, |
|||
/* 4 */ |
|||
/***/ (function(module, __webpack_exports__, __webpack_require__) { |
|||
|
|||
"use strict"; |
|||
__webpack_require__.r(__webpack_exports__); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); |
|||
/* harmony import */ var _editor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_editor__WEBPACK_IMPORTED_MODULE_0__); |
|||
/** |
|||
* @fileoverview I18N for Spanish |
|||
* @author Enrico Lamperti <oss@elamperti.com> |
|||
*/ |
|||
|
|||
_editor__WEBPACK_IMPORTED_MODULE_0___default.a.setLanguage(['es', 'es-ES'], { |
|||
Markdown: 'Markdown', |
|||
WYSIWYG: 'WYSIWYG', |
|||
Write: 'Escribir', |
|||
Preview: 'Vista previa', |
|||
Headings: 'Encabezados', |
|||
Paragraph: 'Párrafo', |
|||
Bold: 'Negrita', |
|||
Italic: 'Itálica', |
|||
Strike: 'Tachado', |
|||
Code: 'Código', |
|||
Line: 'Línea', |
|||
Blockquote: 'Cita', |
|||
'Unordered list': 'Lista desordenada', |
|||
'Ordered list': 'Lista ordenada', |
|||
Task: 'Tarea', |
|||
Indent: 'Sangría', |
|||
Outdent: 'Saliendo', |
|||
'Insert link': 'Insertar enlace', |
|||
'Insert CodeBlock': 'Insertar bloque de código', |
|||
'Insert table': 'Insertar tabla', |
|||
'Insert image': 'Insertar imagen', |
|||
Heading: 'Encabezado', |
|||
'Image URL': 'URL de la imagen', |
|||
'Select image file': 'Seleccionar archivo de imagen', |
|||
Description: 'Descripción', |
|||
OK: 'Aceptar', |
|||
More: 'Más', |
|||
Cancel: 'Cancelar', |
|||
File: 'Archivo', |
|||
URL: 'URL', |
|||
'Link text': 'Texto del enlace', |
|||
'Add row': 'Agregar fila', |
|||
'Add col': 'Agregar columna', |
|||
'Remove row': 'Eliminar fila', |
|||
'Remove col': 'Eliminar columna', |
|||
'Align left': 'Alinear a la izquierda', |
|||
'Align center': 'Centrar', |
|||
'Align right': 'Alinear a la derecha', |
|||
'Remove table': 'Eliminar tabla', |
|||
'Would you like to paste as table?': '¿Desea pegar como tabla?', |
|||
'Text color': 'Color del texto', |
|||
'Auto scroll enabled': 'Desplazamiento automático habilitado', |
|||
'Auto scroll disabled': 'Desplazamiento automático deshabilitado', |
|||
'Choose language': 'Elegir idioma' |
|||
}); |
|||
|
|||
/***/ }) |
|||
/******/ ]); |
|||
}); |
|||