@wizishop/angular-components 0.0.257 → 0.0.258
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/bundles/wizishop-angular-components.umd.js +3 -1
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/content-with-buttons/content-with-buttons.component.js +4 -2
- package/fesm2015/wizishop-angular-components.js +3 -1
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/content-with-buttons/content-with-buttons.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.258.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.257.tgz +0 -0
|
@@ -5,6 +5,7 @@ export class ContentWithButtonsComponent {
|
|
|
5
5
|
this.iconTranslate = 'fa-regular fa-globe';
|
|
6
6
|
this.tooltipCopy = '';
|
|
7
7
|
this.tooltipTranslate = '';
|
|
8
|
+
this.tooltipLinkReport = '';
|
|
8
9
|
this.count = true;
|
|
9
10
|
this.countCharacterLabel = 'caractères';
|
|
10
11
|
this.countWordsLabel = 'mots';
|
|
@@ -37,7 +38,7 @@ export class ContentWithButtonsComponent {
|
|
|
37
38
|
ContentWithButtonsComponent.decorators = [
|
|
38
39
|
{ type: Component, args: [{
|
|
39
40
|
selector: 'wac-content-with-buttons',
|
|
40
|
-
template: "<div class=\"wac-content-with-buttons\">\n <div class=\"wac-content-with-buttons__text\">\n <div id=\"{{randomLabelName}}\">\n <ng-content></ng-content>\n </div>\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\n <span><wac-link (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\n </div>\n </div>\n <div class=\"wac-content-with-buttons__cta\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\" (click)=\"eventTranslate()\"></wac-button></div>\n </div>\n</div>\n"
|
|
41
|
+
template: "<div class=\"wac-content-with-buttons\">\n <div class=\"wac-content-with-buttons__text\">\n <div id=\"{{randomLabelName}}\">\n <ng-content></ng-content>\n </div>\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\n <span><wac-link [tooltipWidth]=\"600\" [tooltip]=\"tooltipLinkReport\" (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\n </div>\n </div>\n <div class=\"wac-content-with-buttons__cta\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\" (click)=\"eventTranslate()\"></wac-button></div>\n </div>\n</div>\n"
|
|
41
42
|
},] }
|
|
42
43
|
];
|
|
43
44
|
ContentWithButtonsComponent.propDecorators = {
|
|
@@ -45,6 +46,7 @@ ContentWithButtonsComponent.propDecorators = {
|
|
|
45
46
|
iconTranslate: [{ type: Input }],
|
|
46
47
|
tooltipCopy: [{ type: Input }],
|
|
47
48
|
tooltipTranslate: [{ type: Input }],
|
|
49
|
+
tooltipLinkReport: [{ type: Input }],
|
|
48
50
|
count: [{ type: Input }],
|
|
49
51
|
countCharacterLabel: [{ type: Input }],
|
|
50
52
|
countWordsLabel: [{ type: Input }],
|
|
@@ -53,4 +55,4 @@ ContentWithButtonsComponent.propDecorators = {
|
|
|
53
55
|
reportAction: [{ type: Output }],
|
|
54
56
|
translateAction: [{ type: Output }]
|
|
55
57
|
};
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC13aXRoLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb250ZW50LXdpdGgtYnV0dG9ucy9jb250ZW50LXdpdGgtYnV0dG9ucy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFrQyxTQUFTLEVBQWdCLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBTTVILE1BQU0sT0FBTywyQkFBMkI7SUFKeEM7UUFPRSxhQUFRLEdBQUcsb0JBQW9CLENBQUM7UUFHaEMsa0JBQWEsR0FBRyxxQkFBcUIsQ0FBQztRQUd0QyxnQkFBVyxHQUFHLEVBQUUsQ0FBQztRQUdqQixxQkFBZ0IsR0FBRyxFQUFFLENBQUM7UUFHdEIsc0JBQWlCLEdBQUcsRUFBRSxDQUFDO1FBR3ZCLFVBQUssR0FBRyxJQUFJLENBQUM7UUFHYix3QkFBbUIsR0FBRyxZQUFZLENBQUM7UU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ChbXj5dKyk+KS9naSwgJycpLnJlcGxhY2UoL1suLFxcLyMhJCVcXF4mXFwqOzp7fT1cXC1fYH4oKV0vZywgJycpO1xuICAgICAgdGhpcy5jb3VudENoYXJhY3RlciA9IGNvbnRlbnQudHJpbSgpLnNwbGl0KCcgJykuam9pbignJykubGVuZ3RoO1xuICAgICAgdGhpcy5jb3VudFdvcmRzID0gY29udGVudC50cmltKCkuc3BsaXQoJyAnKS5sZW5ndGg7XG4gICAgICB0aGlzLmNvdW50SXNSZWFkeSA9IHRydWU7XG4gICAgfSk7XG4gIH1cblxuICBldmVudENvcHkoKSB7XG4gICAgdGhpcy5jb3B5QWN0aW9uLmVtaXQodHJ1ZSk7XG4gIH1cblxuICBldmVudFRyYW5zbGF0ZSgpIHtcbiAgICB0aGlzLnRyYW5zbGF0ZUFjdGlvbi5lbWl0KHRydWUpO1xuICB9XG5cbiAgZXZlbnRSZXBvcnQoKSB7XG4gICAgdGhpcy5yZXBvcnRBY3Rpb24uZW1pdCh0cnVlKTtcbiAgfVxufVxuIl19
|
|
@@ -4035,6 +4035,7 @@ class ContentWithButtonsComponent {
|
|
|
4035
4035
|
this.iconTranslate = 'fa-regular fa-globe';
|
|
4036
4036
|
this.tooltipCopy = '';
|
|
4037
4037
|
this.tooltipTranslate = '';
|
|
4038
|
+
this.tooltipLinkReport = '';
|
|
4038
4039
|
this.count = true;
|
|
4039
4040
|
this.countCharacterLabel = 'caractères';
|
|
4040
4041
|
this.countWordsLabel = 'mots';
|
|
@@ -4067,7 +4068,7 @@ class ContentWithButtonsComponent {
|
|
|
4067
4068
|
ContentWithButtonsComponent.decorators = [
|
|
4068
4069
|
{ type: Component, args: [{
|
|
4069
4070
|
selector: 'wac-content-with-buttons',
|
|
4070
|
-
template: "<div class=\"wac-content-with-buttons\">\n <div class=\"wac-content-with-buttons__text\">\n <div id=\"{{randomLabelName}}\">\n <ng-content></ng-content>\n </div>\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\n <span><wac-link (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\n </div>\n </div>\n <div class=\"wac-content-with-buttons__cta\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\" (click)=\"eventTranslate()\"></wac-button></div>\n </div>\n</div>\n"
|
|
4071
|
+
template: "<div class=\"wac-content-with-buttons\">\n <div class=\"wac-content-with-buttons__text\">\n <div id=\"{{randomLabelName}}\">\n <ng-content></ng-content>\n </div>\n <div class=\"wac-content-with-buttons__text__count\" *ngIf=\"count && countIsReady\">\n <span>{{ countWords }} {{ countWordsLabel }} - {{ countCharacter }} {{ countCharacterLabel }}</span>\n <span><wac-link [tooltipWidth]=\"600\" [tooltip]=\"tooltipLinkReport\" (click)=\"$event.preventDefault();\" (mousedown)=\"$event.preventDefault();eventReport();\" fontSize=\"12px\">{{ reportLabel }}</wac-link></span>\n </div>\n </div>\n <div class=\"wac-content-with-buttons__cta\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\" [tooltip]=\"tooltipCopy\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconTranslate\" [tooltip]=\"tooltipTranslate\" [tooltipPosition]=\"'top-center'\" [tooltipOneline]=\"true\" (click)=\"eventTranslate()\"></wac-button></div>\n </div>\n</div>\n"
|
|
4071
4072
|
},] }
|
|
4072
4073
|
];
|
|
4073
4074
|
ContentWithButtonsComponent.propDecorators = {
|
|
@@ -4075,6 +4076,7 @@ ContentWithButtonsComponent.propDecorators = {
|
|
|
4075
4076
|
iconTranslate: [{ type: Input }],
|
|
4076
4077
|
tooltipCopy: [{ type: Input }],
|
|
4077
4078
|
tooltipTranslate: [{ type: Input }],
|
|
4079
|
+
tooltipLinkReport: [{ type: Input }],
|
|
4078
4080
|
count: [{ type: Input }],
|
|
4079
4081
|
countCharacterLabel: [{ type: Input }],
|
|
4080
4082
|
countWordsLabel: [{ type: Input }],
|