Skip to content

Commit

Permalink
version 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Jenicek committed Jan 17, 2022
1 parent 8654501 commit df5913e
Show file tree
Hide file tree
Showing 19 changed files with 146 additions and 134 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<p align="center">
<a href="https://npmcharts.com/compare/@costlydeveloper/ngx-awesome-popup?minimal=true"><img alt="Downloads per month" src="https://img.shields.io/npm/dm/@costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://www.npmjs.com/package/@costlydeveloper/ngx-awesome-popup"><img alt="NPM Version" src="https://img.shields.io/npm/v/@costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://david-dm.org/costlydeveloper/ngx-awesome-popup"><img alt="Dependencies" src="https://img.shields.io/david/costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://github.com/costlydeveloper/ngx-awesome-popup/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://github.com/costlydeveloper/ngx-awesome-popup/graphs/commit-activity"><img alt="Maintained" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" height="20"/></a>
<a href="https://costlydeveloper.github.io/ngx-awesome-popup/"><img alt="undefined" src="https://awesome.re/badge.svg" height="20"/></a>
Expand Down Expand Up @@ -40,3 +39,6 @@ Licensed under [MIT](https://opensource.org/licenses/MIT).
### Support us with a GitHub star!

<p align="center"><a href="https://github.com/costlydeveloper/ngx-awesome-popup#"><img src="https://raw.githubusercontent.com/costlydeveloper/ngx-awesome-popup/master/docs/assets/gh-star.png" alt="Star the repo"/></a></p>

<br/>
<p align="center"><a href="https://github.com/costlydeveloper/ngx-awesome-popup#"><img src="https://raw.githubusercontent.com/costlydeveloper/ngx-awesome-popup/master/docs/assets/backToTop.png" alt="Back to top" height="29"/></a></p>
4 changes: 0 additions & 4 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<p align="center">
<a href="https://npmcharts.com/compare/@costlydeveloper/ngx-awesome-popup?minimal=true"><img alt="Downloads per month" src="https://img.shields.io/npm/dm/@costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://www.npmjs.com/package/@costlydeveloper/ngx-awesome-popup"><img alt="NPM Version" src="https://img.shields.io/npm/v/@costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://david-dm.org/costlydeveloper/ngx-awesome-popup"><img alt="Dependencies" src="https://img.shields.io/david/costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://github.com/costlydeveloper/ngx-awesome-popup/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/costlydeveloper/ngx-awesome-popup.svg" height="20"/></a>
<a href="https://github.com/costlydeveloper/ngx-awesome-popup/graphs/commit-activity"><img alt="Maintained" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" height="20"/></a>
<a href="https://costlydeveloper.github.io/ngx-awesome-popup/"><img alt="undefined" src="https://awesome.re/badge.svg" height="20"/></a>
Expand Down Expand Up @@ -40,6 +39,3 @@ Licensed under [MIT](https://opensource.org/licenses/MIT).
### Support us with a GitHub star!

<p align="center"><a href="https://github.com/costlydeveloper/ngx-awesome-popup#"><img src="https://raw.githubusercontent.com/costlydeveloper/ngx-awesome-popup/master/docs/assets/gh-star.png" alt="Star the repo"/></a></p>

<br/>
<p align="center"><a href="https://github.com/costlydeveloper/ngx-awesome-popup#"><img src="https://raw.githubusercontent.com/costlydeveloper/ngx-awesome-popup/master/docs/assets/backToTop.png" alt="Back to top" height="29"/></a></p>

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions dist/fesm2015/costlydeveloper-ngx-awesome-popup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1860,11 +1860,16 @@ class WrapperAbstraction {
this.layoutHelper.getIconClasses(this.toastNotificationBelonging.toastCoreConfig.layoutType, this.toastNotificationBelonging.toastCoreConfig.iconStyleClass));
}
}
WrapperAbstraction.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: WrapperAbstraction, deps: [{ token: ToastNotificationBelonging }, { token: LayoutHelperService }], target: i0.ɵɵFactoryTarget.Directive });
WrapperAbstraction.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: WrapperAbstraction, deps: [{ token: 'toastNotificationBelonging' }, { token: LayoutHelperService }], target: i0.ɵɵFactoryTarget.Directive });
WrapperAbstraction.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.2", type: WrapperAbstraction, viewQueries: [{ propertyName: "elTextWrapper", first: true, predicate: ["elTextWrapper"], descendants: true }, { propertyName: "elTitleWrapper", first: true, predicate: ["elTitleWrapper"], descendants: true }, { propertyName: "elButtonWrapper", first: true, predicate: ["elButtonWrapper"], descendants: true }, { propertyName: "elButton", predicate: ["elButton"], descendants: true }], ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: WrapperAbstraction, decorators: [{
type: Directive
}], ctorParameters: function () { return [{ type: ToastNotificationBelonging }, { type: LayoutHelperService }]; }, propDecorators: { elTextWrapper: [{
}], ctorParameters: function () {
return [{ type: ToastNotificationBelonging, decorators: [{
type: Inject,
args: ['toastNotificationBelonging']
}] }, { type: LayoutHelperService }];
}, propDecorators: { elTextWrapper: [{
type: ViewChild,
args: ['elTextWrapper']
}], elTitleWrapper: [{
Expand Down
2 changes: 1 addition & 1 deletion dist/fesm2015/costlydeveloper-ngx-awesome-popup.mjs.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions dist/fesm2020/costlydeveloper-ngx-awesome-popup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1847,11 +1847,14 @@ class WrapperAbstraction {
this.layoutHelper.getIconClasses(this.toastNotificationBelonging.toastCoreConfig.layoutType, this.toastNotificationBelonging.toastCoreConfig.iconStyleClass));
}
}
WrapperAbstraction.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: WrapperAbstraction, deps: [{ token: ToastNotificationBelonging }, { token: LayoutHelperService }], target: i0.ɵɵFactoryTarget.Directive });
WrapperAbstraction.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: WrapperAbstraction, deps: [{ token: 'toastNotificationBelonging' }, { token: LayoutHelperService }], target: i0.ɵɵFactoryTarget.Directive });
WrapperAbstraction.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.2", type: WrapperAbstraction, viewQueries: [{ propertyName: "elTextWrapper", first: true, predicate: ["elTextWrapper"], descendants: true }, { propertyName: "elTitleWrapper", first: true, predicate: ["elTitleWrapper"], descendants: true }, { propertyName: "elButtonWrapper", first: true, predicate: ["elButtonWrapper"], descendants: true }, { propertyName: "elButton", predicate: ["elButton"], descendants: true }], ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: WrapperAbstraction, decorators: [{
type: Directive
}], ctorParameters: function () { return [{ type: ToastNotificationBelonging }, { type: LayoutHelperService }]; }, propDecorators: { elTextWrapper: [{
}], ctorParameters: function () { return [{ type: ToastNotificationBelonging, decorators: [{
type: Inject,
args: ['toastNotificationBelonging']
}] }, { type: LayoutHelperService }]; }, propDecorators: { elTextWrapper: [{
type: ViewChild,
args: ['elTextWrapper']
}], elTitleWrapper: [{
Expand Down
2 changes: 1 addition & 1 deletion dist/fesm2020/costlydeveloper-ngx-awesome-popup.mjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@costlydeveloper/ngx-awesome-popup",
"version": "3.1.1",
"version": "3.1.2",
"description": "The world's easiest, most powerful Angular dialog modal framework. It generates beautiful popups, dialogs, Confirm Boxes, Alert Boxes, Toast Notifications. Also gives the ability of opening dynamic components directly from typescript!",
"keywords": [
"front-end",
Expand Down Expand Up @@ -74,4 +74,4 @@
"dependencies": {
"tslib": "^2.3.0"
}
}
}

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/angular-wiki/Interface-IGlobalUserConfig.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Interface: IGlobalUserConfig

Each property of {@link ColorList} represent a string which represent a color in hex or rgb/rgba format.
Each property of the colorList represent a string which represent a color in hex or rgb/rgba format.
For available color types(properties) check [IColorTypes](#/documentation/interface-IColorTypes) interface.
Every color is optional, and it will reflect on dialog or button color types and its color contrast or variance.
* ```typescript
Expand Down
118 changes: 59 additions & 59 deletions docs/assets/angular-wiki/class-ConfirmBoxEvokeService.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Class: ConfirmBoxEvokeService

Global styles set in app.module.ts will affect the instance. See <a href="https://costlydeveloper.github.io/ngx-awesome-popup/#/documentation/class-ToastEvokeService">Global Config</a> setup.

```typescript
// Inject this service as Dependency Injection in a constructor like example below, and evoke the popup simply calling one of its methods.
// Inject this service as Dependency Injection in a constructor like example below,
// and evoke the popup simply calling one of its methods.

constructor(private confirmBoxEvokeService: ConfirmBoxEvokeService) {}

// evoke it anywhere, no need to unsubscribe, it has an auto unsubscribe.
// Type SUCCESS
this.confirmBoxEvokeService.success('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe();
this.confirmBoxEvokeService.success('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe(resp => console.log('resp', resp));
// Type INFO
this.confirmBoxEvokeService.info('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe();
this.confirmBoxEvokeService.info('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe(resp => console.log('resp', resp));
// Type WARNING
this.confirmBoxEvokeService.warning('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe();
this.confirmBoxEvokeService.warning('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe(resp => console.log('resp', resp));
// Type ERROR
this.confirmBoxEvokeService.danger('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe();
this.confirmBoxEvokeService.danger('I am title!', 'I am a message!', 'Confirm', 'Decline').subscribe(resp => console.log('resp', resp));
```

## Constructors
Expand All @@ -32,163 +32,163 @@ this.confirmBoxEvokeService.danger('I am title!', 'I am a message!', 'Confirm',

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### customFour

**customFour**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### customOne

**customOne**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### customThree

**customThree**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### customTwo

**customTwo**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### danger

**danger**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### info

**info**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### success

**success**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns

`Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

---
___

### warning

**warning**(`title`, `message`, `confirmLabel`, `declineLabel?`): `Observable`<[`IConfirmBoxPublicResponse`](#/documentation/interface-IConfirmBoxPublicResponse)\>

#### Parameters

| Name | Type |
| :-------------- | :------- |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| Name | Type |
| :------ | :------ |
| `title` | `string` |
| `message` | `string` |
| `confirmLabel` | `string` |
| `declineLabel?` | `string` |

#### Returns
Expand Down
Loading

0 comments on commit df5913e

Please sign in to comment.