@mantic-ui/fomantic-ui-angular 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -0
- package/esm2020/lib/fomantic-ui-theme/fomantic-ui-theme.component.mjs +15 -0
- package/esm2020/lib/fomantic-ui.module.mjs +32 -0
- package/esm2020/mantic-ui-fomantic-ui-angular.mjs +5 -0
- package/esm2020/projects.mjs +3 -0
- package/fesm2015/mantic-ui-fomantic-ui-angular.mjs +51 -0
- package/fesm2015/mantic-ui-fomantic-ui-angular.mjs.map +1 -0
- package/fesm2020/mantic-ui-fomantic-ui-angular.mjs +51 -0
- package/fesm2020/mantic-ui-fomantic-ui-angular.mjs.map +1 -0
- package/lib/fomantic-ui-theme/fomantic-ui-theme.component.d.ts +7 -0
- package/lib/fomantic-ui.module.d.ts +9 -0
- package/mantic-ui-fomantic-ui-angular.d.ts +5 -0
- package/package.json +65 -0
- package/projects.d.ts +2 -0
package/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# mantic UI
|
|
2
|
+
|
|
3
|
+
| [Documentation](https://mantic-ui.ky-programming.de/semantic) | [Github Repository](https://github.com/KY-Programming/mantic-ui) | [Support](https://support.ky-programming.de/) |
|
|
4
|
+
|
|
5
|
+
[Fomantic UI](https://fomantic-ui.com/) theme for [mantic UI](https://www.npmjs.com/package/@mantic-ui/angular) Angular components
|
|
6
|
+
|
|
7
|
+
Requires [@mantic-ui/angular](https://www.npmjs.com/package/@mantic-ui/angular)
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
A common button with some styling
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
````
|
|
15
|
+
<m-button primary (click)="...">
|
|
16
|
+
Save
|
|
17
|
+
</m-button>
|
|
18
|
+
<m-button (click)="...">
|
|
19
|
+
Discard
|
|
20
|
+
</m-button>
|
|
21
|
+
````
|
|
22
|
+
|
|
23
|
+
## Getting Started with Fomantic UI Theme
|
|
24
|
+
Install base package for angular and Fomantic UI theme
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
npm i @mantic-ui/angular @mantic-ui/fomantic-ui-angular
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Import theme in AppModule
|
|
31
|
+
app.module.ts
|
|
32
|
+
```
|
|
33
|
+
import { FomanticUiModule } from '@mantic-ui/fomantic-ui-angular';
|
|
34
|
+
|
|
35
|
+
@NgModule({
|
|
36
|
+
imports: [
|
|
37
|
+
...
|
|
38
|
+
FomanticUiModule
|
|
39
|
+
]
|
|
40
|
+
})
|
|
41
|
+
export class AppModule { }
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Apply style in AppComponent
|
|
45
|
+
app.component.html
|
|
46
|
+
```
|
|
47
|
+
<m-fomantic-ui-theme>
|
|
48
|
+
<!-- Import common styles for site -->
|
|
49
|
+
<m-fomantic-ui-site></m-fomantic-ui-site>
|
|
50
|
+
<!-- Import reset to normalize values for CSS properties -->
|
|
51
|
+
<m-fomantic-ui-reset></m-fomantic-ui-reset>
|
|
52
|
+
<!-- Import local hosted lato font -->
|
|
53
|
+
<m-fomantic-ui-lato-local></m-fomantic-ui-lato-local>
|
|
54
|
+
</m-fomantic-ui-theme>
|
|
55
|
+
```
|
|
56
|
+
As alternative for <m-fomantic-ui-theme>, you can use a CDN
|
|
57
|
+
```
|
|
58
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.4.2/dist/fomantic.min.css">
|
|
59
|
+
```
|
|
60
|
+
Or install via [Fomantic Docs](https://fomantic-ui.com/introduction/getting-started.html)
|
|
61
|
+
|
|
62
|
+
### Configure package assets usage
|
|
63
|
+
angular.json
|
|
64
|
+
```
|
|
65
|
+
"projects": {
|
|
66
|
+
"<your-project-name>": {
|
|
67
|
+
"architect": {
|
|
68
|
+
"build": {
|
|
69
|
+
"options": {
|
|
70
|
+
"assets": [
|
|
71
|
+
// Copy all package assets to app asset folder on build
|
|
72
|
+
{
|
|
73
|
+
"glob": "**/*",
|
|
74
|
+
"input": "./node_modules/@mantic-ui/fomantic-ui-angular/assets",
|
|
75
|
+
"output": "/assets/"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Credits
|
|
86
|
+
Original css from [Fomantic UI](https://fomantic-ui.com/)
|
|
87
|
+
|
|
88
|
+
## Work-in-progress
|
|
89
|
+
Currently we are not yet done. So please do not expect a perfect framework
|
|
90
|
+
|
|
91
|
+
If you have a issue, look in our [issue tracker on github](https://github.com/KY-Programming/mantic-ui/issues)
|
|
92
|
+
|
|
93
|
+
To support us fork our [github repository](https://github.com/KY-Programming/mantic-ui)
|
|
94
|
+
|
|
95
|
+
[Direct contact](https://support.ky-programming.de/) (German, English) via [email](https://mail.support.ky-programming.de/), [WhatsApp](https://whatsapp.support.ky-programming.de/) or join our [Discord server](https://discord.mantic-ui.ky-programming.de/)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@mantic-ui/angular";
|
|
4
|
+
export class FomanticUiThemeComponent {
|
|
5
|
+
constructor(themeService) {
|
|
6
|
+
themeService.setVersion('2.7.0');
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
FomanticUiThemeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiThemeComponent, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
FomanticUiThemeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FomanticUiThemeComponent, selector: "m-fomantic-ui-theme", ngImport: i0, template: '', isInline: true, styles: ["@import\"../../assets/components/button.css\";@import\"../../assets/components/icon.css\";@import\"../../assets/components/divider.css\";@import\"../../assets/components/input.css\";@import\"../../assets/components/label.css\";@import\"../../assets/components/dropdown.css\";@import\"../../assets/components/menu.css\";@import\"../../assets/components/segment.css\";\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiThemeComponent, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{ selector: 'm-fomantic-ui-theme', template: '', encapsulation: ViewEncapsulation.None, styles: ["@import\"../../assets/components/button.css\";@import\"../../assets/components/icon.css\";@import\"../../assets/components/divider.css\";@import\"../../assets/components/input.css\";@import\"../../assets/components/label.css\";@import\"../../assets/components/dropdown.css\";@import\"../../assets/components/menu.css\";@import\"../../assets/components/segment.css\";\n"] }]
|
|
14
|
+
}], ctorParameters: function () { return [{ type: i1.ThemeService }]; } });
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9tYW50aWMtdWktdGhlbWUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZm9tYW50aWMtdWkvc3JjL2xpYi9mb21hbnRpYy11aS10aGVtZS9mb21hbnRpYy11aS10aGVtZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBUzdELE1BQU0sT0FBTyx3QkFBd0I7SUFDbkMsWUFDRSxZQUEwQjtRQUUxQixZQUFZLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ25DLENBQUM7O3FIQUxVLHdCQUF3Qjt5R0FBeEIsd0JBQXdCLDJEQUp6QixFQUFFOzJGQUlELHdCQUF3QjtrQkFOcEMsU0FBUzsrQkFDRSxxQkFBcUIsWUFDckIsRUFBRSxpQkFFRyxpQkFBaUIsQ0FBQyxJQUFJIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBUaGVtZVNlcnZpY2UgfSBmcm9tICdAbWFudGljLXVpL2FuZ3VsYXInO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdtLWZvbWFudGljLXVpLXRoZW1lJyxcclxuICB0ZW1wbGF0ZTogJycsXHJcbiAgc3R5bGVVcmxzOiBbJy4vZm9tYW50aWMtdWktdGhlbWUuY29tcG9uZW50LmNzcyddLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcclxufSlcclxuZXhwb3J0IGNsYXNzIEZvbWFudGljVWlUaGVtZUNvbXBvbmVudCB7XHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICB0aGVtZVNlcnZpY2U6IFRoZW1lU2VydmljZVxyXG4gICkge1xyXG4gICAgdGhlbWVTZXJ2aWNlLnNldFZlcnNpb24oJzIuNy4wJyk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { ManticUiModule } from '@mantic-ui/angular';
|
|
4
|
+
import { FomanticUiThemeComponent } from './fomantic-ui-theme/fomantic-ui-theme.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class FomanticUiModule {
|
|
7
|
+
}
|
|
8
|
+
FomanticUiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
FomanticUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, declarations: [FomanticUiThemeComponent], imports: [CommonModule,
|
|
10
|
+
ManticUiModule], exports: [ManticUiModule,
|
|
11
|
+
FomanticUiThemeComponent] });
|
|
12
|
+
FomanticUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, imports: [[
|
|
13
|
+
CommonModule,
|
|
14
|
+
ManticUiModule
|
|
15
|
+
], ManticUiModule] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, decorators: [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
declarations: [
|
|
20
|
+
FomanticUiThemeComponent
|
|
21
|
+
],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
ManticUiModule
|
|
25
|
+
],
|
|
26
|
+
exports: [
|
|
27
|
+
ManticUiModule,
|
|
28
|
+
FomanticUiThemeComponent
|
|
29
|
+
]
|
|
30
|
+
}]
|
|
31
|
+
}] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9tYW50aWMtdWkubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZm9tYW50aWMtdWkvc3JjL2xpYi9mb21hbnRpYy11aS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3BELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGlEQUFpRCxDQUFDOztBQWUzRixNQUFNLE9BQU8sZ0JBQWdCOzs2R0FBaEIsZ0JBQWdCOzhHQUFoQixnQkFBZ0IsaUJBWHpCLHdCQUF3QixhQUd4QixZQUFZO1FBQ1osY0FBYyxhQUdkLGNBQWM7UUFDZCx3QkFBd0I7OEdBR2YsZ0JBQWdCLFlBVGxCO1lBQ1AsWUFBWTtZQUNaLGNBQWM7U0FDZixFQUVDLGNBQWM7MkZBSUwsZ0JBQWdCO2tCQWI1QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWix3QkFBd0I7cUJBQ3pCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxZQUFZO3dCQUNaLGNBQWM7cUJBQ2Y7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLGNBQWM7d0JBQ2Qsd0JBQXdCO3FCQUN6QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XHJcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IE1hbnRpY1VpTW9kdWxlIH0gZnJvbSAnQG1hbnRpYy11aS9hbmd1bGFyJztcclxuaW1wb3J0IHsgRm9tYW50aWNVaVRoZW1lQ29tcG9uZW50IH0gZnJvbSAnLi9mb21hbnRpYy11aS10aGVtZS9mb21hbnRpYy11aS10aGVtZS5jb21wb25lbnQnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIEZvbWFudGljVWlUaGVtZUNvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgTWFudGljVWlNb2R1bGVcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIE1hbnRpY1VpTW9kdWxlLFxyXG4gICAgRm9tYW50aWNVaVRoZW1lQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9tYW50aWNVaU1vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './projects';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFudGljLXVpLWZvbWFudGljLXVpLWFuZ3VsYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9mb21hbnRpYy11aS9zcmMvbWFudGljLXVpLWZvbWFudGljLXVpLWFuZ3VsYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFlBQVksQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wcm9qZWN0cyc7XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './lib/fomantic-ui-theme/fomantic-ui-theme.component';
|
|
2
|
+
export * from './lib/fomantic-ui.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9mb21hbnRpYy11aS9zcmMvcHJvamVjdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxREFBcUQsQ0FBQztBQUNwRSxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvZm9tYW50aWMtdWktdGhlbWUvZm9tYW50aWMtdWktdGhlbWUuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZm9tYW50aWMtdWkubW9kdWxlJztcclxuIl19
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@mantic-ui/angular';
|
|
4
|
+
import { ManticUiModule } from '@mantic-ui/angular';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
class FomanticUiThemeComponent {
|
|
8
|
+
constructor(themeService) {
|
|
9
|
+
themeService.setVersion('2.7.0');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
FomanticUiThemeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiThemeComponent, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
FomanticUiThemeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FomanticUiThemeComponent, selector: "m-fomantic-ui-theme", ngImport: i0, template: '', isInline: true, styles: ["@import\"../../assets/components/button.css\";@import\"../../assets/components/icon.css\";@import\"../../assets/components/divider.css\";@import\"../../assets/components/input.css\";@import\"../../assets/components/label.css\";@import\"../../assets/components/dropdown.css\";@import\"../../assets/components/menu.css\";@import\"../../assets/components/segment.css\";\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiThemeComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{ selector: 'm-fomantic-ui-theme', template: '', encapsulation: ViewEncapsulation.None, styles: ["@import\"../../assets/components/button.css\";@import\"../../assets/components/icon.css\";@import\"../../assets/components/divider.css\";@import\"../../assets/components/input.css\";@import\"../../assets/components/label.css\";@import\"../../assets/components/dropdown.css\";@import\"../../assets/components/menu.css\";@import\"../../assets/components/segment.css\";\n"] }]
|
|
17
|
+
}], ctorParameters: function () { return [{ type: i1.ThemeService }]; } });
|
|
18
|
+
|
|
19
|
+
class FomanticUiModule {
|
|
20
|
+
}
|
|
21
|
+
FomanticUiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
FomanticUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, declarations: [FomanticUiThemeComponent], imports: [CommonModule,
|
|
23
|
+
ManticUiModule], exports: [ManticUiModule,
|
|
24
|
+
FomanticUiThemeComponent] });
|
|
25
|
+
FomanticUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, imports: [[
|
|
26
|
+
CommonModule,
|
|
27
|
+
ManticUiModule
|
|
28
|
+
], ManticUiModule] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, decorators: [{
|
|
30
|
+
type: NgModule,
|
|
31
|
+
args: [{
|
|
32
|
+
declarations: [
|
|
33
|
+
FomanticUiThemeComponent
|
|
34
|
+
],
|
|
35
|
+
imports: [
|
|
36
|
+
CommonModule,
|
|
37
|
+
ManticUiModule
|
|
38
|
+
],
|
|
39
|
+
exports: [
|
|
40
|
+
ManticUiModule,
|
|
41
|
+
FomanticUiThemeComponent
|
|
42
|
+
]
|
|
43
|
+
}]
|
|
44
|
+
}] });
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Generated bundle index. Do not edit.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
export { FomanticUiModule, FomanticUiThemeComponent };
|
|
51
|
+
//# sourceMappingURL=mantic-ui-fomantic-ui-angular.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mantic-ui-fomantic-ui-angular.mjs","sources":["../../../projects/fomantic-ui/src/lib/fomantic-ui-theme/fomantic-ui-theme.component.ts","../../../projects/fomantic-ui/src/lib/fomantic-ui.module.ts","../../../projects/fomantic-ui/src/mantic-ui-fomantic-ui-angular.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\r\nimport { ThemeService } from '@mantic-ui/angular';\r\n\r\n@Component({\r\n selector: 'm-fomantic-ui-theme',\r\n template: '',\r\n styleUrls: ['./fomantic-ui-theme.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class FomanticUiThemeComponent {\r\n constructor(\r\n themeService: ThemeService\r\n ) {\r\n themeService.setVersion('2.7.0');\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { ManticUiModule } from '@mantic-ui/angular';\r\nimport { FomanticUiThemeComponent } from './fomantic-ui-theme/fomantic-ui-theme.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n FomanticUiThemeComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ManticUiModule\r\n ],\r\n exports: [\r\n ManticUiModule,\r\n FomanticUiThemeComponent\r\n ]\r\n})\r\nexport class FomanticUiModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './projects';\n"],"names":[],"mappings":";;;;;;MASa,wBAAwB;IACnC,YACE,YAA0B;QAE1B,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;KAClC;;qHALU,wBAAwB;yGAAxB,wBAAwB,2DAJzB,EAAE;2FAID,wBAAwB;kBANpC,SAAS;+BACE,qBAAqB,YACrB,EAAE,iBAEG,iBAAiB,CAAC,IAAI;;;MCW1B,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,iBAXzB,wBAAwB,aAGxB,YAAY;QACZ,cAAc,aAGd,cAAc;QACd,wBAAwB;8GAGf,gBAAgB,YATlB;YACP,YAAY;YACZ,cAAc;SACf,EAEC,cAAc;2FAIL,gBAAgB;kBAb5B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,wBAAwB;qBACzB;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;qBACf;oBACD,OAAO,EAAE;wBACP,cAAc;wBACd,wBAAwB;qBACzB;iBACF;;;ACjBD;;;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@mantic-ui/angular';
|
|
4
|
+
import { ManticUiModule } from '@mantic-ui/angular';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
class FomanticUiThemeComponent {
|
|
8
|
+
constructor(themeService) {
|
|
9
|
+
themeService.setVersion('2.7.0');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
FomanticUiThemeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiThemeComponent, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
FomanticUiThemeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FomanticUiThemeComponent, selector: "m-fomantic-ui-theme", ngImport: i0, template: '', isInline: true, styles: ["@import\"../../assets/components/button.css\";@import\"../../assets/components/icon.css\";@import\"../../assets/components/divider.css\";@import\"../../assets/components/input.css\";@import\"../../assets/components/label.css\";@import\"../../assets/components/dropdown.css\";@import\"../../assets/components/menu.css\";@import\"../../assets/components/segment.css\";\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiThemeComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{ selector: 'm-fomantic-ui-theme', template: '', encapsulation: ViewEncapsulation.None, styles: ["@import\"../../assets/components/button.css\";@import\"../../assets/components/icon.css\";@import\"../../assets/components/divider.css\";@import\"../../assets/components/input.css\";@import\"../../assets/components/label.css\";@import\"../../assets/components/dropdown.css\";@import\"../../assets/components/menu.css\";@import\"../../assets/components/segment.css\";\n"] }]
|
|
17
|
+
}], ctorParameters: function () { return [{ type: i1.ThemeService }]; } });
|
|
18
|
+
|
|
19
|
+
class FomanticUiModule {
|
|
20
|
+
}
|
|
21
|
+
FomanticUiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
FomanticUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, declarations: [FomanticUiThemeComponent], imports: [CommonModule,
|
|
23
|
+
ManticUiModule], exports: [ManticUiModule,
|
|
24
|
+
FomanticUiThemeComponent] });
|
|
25
|
+
FomanticUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, imports: [[
|
|
26
|
+
CommonModule,
|
|
27
|
+
ManticUiModule
|
|
28
|
+
], ManticUiModule] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FomanticUiModule, decorators: [{
|
|
30
|
+
type: NgModule,
|
|
31
|
+
args: [{
|
|
32
|
+
declarations: [
|
|
33
|
+
FomanticUiThemeComponent
|
|
34
|
+
],
|
|
35
|
+
imports: [
|
|
36
|
+
CommonModule,
|
|
37
|
+
ManticUiModule
|
|
38
|
+
],
|
|
39
|
+
exports: [
|
|
40
|
+
ManticUiModule,
|
|
41
|
+
FomanticUiThemeComponent
|
|
42
|
+
]
|
|
43
|
+
}]
|
|
44
|
+
}] });
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Generated bundle index. Do not edit.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
export { FomanticUiModule, FomanticUiThemeComponent };
|
|
51
|
+
//# sourceMappingURL=mantic-ui-fomantic-ui-angular.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mantic-ui-fomantic-ui-angular.mjs","sources":["../../../projects/fomantic-ui/src/lib/fomantic-ui-theme/fomantic-ui-theme.component.ts","../../../projects/fomantic-ui/src/lib/fomantic-ui.module.ts","../../../projects/fomantic-ui/src/mantic-ui-fomantic-ui-angular.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\r\nimport { ThemeService } from '@mantic-ui/angular';\r\n\r\n@Component({\r\n selector: 'm-fomantic-ui-theme',\r\n template: '',\r\n styleUrls: ['./fomantic-ui-theme.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class FomanticUiThemeComponent {\r\n constructor(\r\n themeService: ThemeService\r\n ) {\r\n themeService.setVersion('2.7.0');\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { ManticUiModule } from '@mantic-ui/angular';\r\nimport { FomanticUiThemeComponent } from './fomantic-ui-theme/fomantic-ui-theme.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n FomanticUiThemeComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ManticUiModule\r\n ],\r\n exports: [\r\n ManticUiModule,\r\n FomanticUiThemeComponent\r\n ]\r\n})\r\nexport class FomanticUiModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './projects';\n"],"names":[],"mappings":";;;;;;MASa,wBAAwB;IACnC,YACE,YAA0B;QAE1B,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;KAClC;;qHALU,wBAAwB;yGAAxB,wBAAwB,2DAJzB,EAAE;2FAID,wBAAwB;kBANpC,SAAS;+BACE,qBAAqB,YACrB,EAAE,iBAEG,iBAAiB,CAAC,IAAI;;;MCW1B,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,iBAXzB,wBAAwB,aAGxB,YAAY;QACZ,cAAc,aAGd,cAAc;QACd,wBAAwB;8GAGf,gBAAgB,YATlB;YACP,YAAY;YACZ,cAAc;SACf,EAEC,cAAc;2FAIL,gBAAgB;kBAb5B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,wBAAwB;qBACzB;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;qBACf;oBACD,OAAO,EAAE;wBACP,cAAc;wBACd,wBAAwB;qBACzB;iBACF;;;ACjBD;;;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ThemeService } from '@mantic-ui/angular';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FomanticUiThemeComponent {
|
|
4
|
+
constructor(themeService: ThemeService);
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FomanticUiThemeComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FomanticUiThemeComponent, "m-fomantic-ui-theme", never, {}, {}, never, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./fomantic-ui-theme/fomantic-ui-theme.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@mantic-ui/angular";
|
|
5
|
+
export declare class FomanticUiModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FomanticUiModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FomanticUiModule, [typeof i1.FomanticUiThemeComponent], [typeof i2.CommonModule, typeof i3.ManticUiModule], [typeof i3.ManticUiModule, typeof i1.FomanticUiThemeComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FomanticUiModule>;
|
|
9
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mantic-ui/fomantic-ui-angular",
|
|
3
|
+
"version": "13.0.0",
|
|
4
|
+
"description": "Fomantic UI Angular theme for mantic UI. Requires @mantic-ui/angular",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"mantic-ui",
|
|
7
|
+
"mantic UI",
|
|
8
|
+
"Angular",
|
|
9
|
+
"Fomantic-UI",
|
|
10
|
+
"theme"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://mantic-ui.ky-programming.de/fomantic",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/KY-Programming/mantic-ui",
|
|
15
|
+
"email": "support@ky-programming.de"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": {
|
|
19
|
+
"name": "KY-Programming",
|
|
20
|
+
"email": "hi@ky-programming.de",
|
|
21
|
+
"url": "https://ky-programming.de"
|
|
22
|
+
},
|
|
23
|
+
"funding": [
|
|
24
|
+
{
|
|
25
|
+
"type": "patreon",
|
|
26
|
+
"url": "https://www.patreon.com/kylst"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "paypal",
|
|
30
|
+
"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VFPAP4MKV654A&source=url"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/KY-Programming/mantic-ui.git"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"@angular/common": "8 - 13",
|
|
39
|
+
"@angular/core": "8 - 13",
|
|
40
|
+
"@mantic-ui/angular": "~13.0.0"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"tslib": "^2.3.0"
|
|
44
|
+
},
|
|
45
|
+
"module": "fesm2015/mantic-ui-fomantic-ui-angular.mjs",
|
|
46
|
+
"es2020": "fesm2020/mantic-ui-fomantic-ui-angular.mjs",
|
|
47
|
+
"esm2020": "esm2020/mantic-ui-fomantic-ui-angular.mjs",
|
|
48
|
+
"fesm2020": "fesm2020/mantic-ui-fomantic-ui-angular.mjs",
|
|
49
|
+
"fesm2015": "fesm2015/mantic-ui-fomantic-ui-angular.mjs",
|
|
50
|
+
"typings": "mantic-ui-fomantic-ui-angular.d.ts",
|
|
51
|
+
"exports": {
|
|
52
|
+
"./package.json": {
|
|
53
|
+
"default": "./package.json"
|
|
54
|
+
},
|
|
55
|
+
".": {
|
|
56
|
+
"types": "./mantic-ui-fomantic-ui-angular.d.ts",
|
|
57
|
+
"esm2020": "./esm2020/mantic-ui-fomantic-ui-angular.mjs",
|
|
58
|
+
"es2020": "./fesm2020/mantic-ui-fomantic-ui-angular.mjs",
|
|
59
|
+
"es2015": "./fesm2015/mantic-ui-fomantic-ui-angular.mjs",
|
|
60
|
+
"node": "./fesm2015/mantic-ui-fomantic-ui-angular.mjs",
|
|
61
|
+
"default": "./fesm2020/mantic-ui-fomantic-ui-angular.mjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"sideEffects": false
|
|
65
|
+
}
|
package/projects.d.ts
ADDED