@wizishop/angular-components 0.0.257 → 0.0.259
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/angular-components.scss +6208 -6208
- package/bundles/wizishop-angular-components.umd.js +4 -2
- 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/esm2015/lib/components/switch/switch.component.js +2 -2
- package/fesm2015/wizishop-angular-components.js +4 -2
- 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.259.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.257.tgz +0 -0
|
@@ -2453,7 +2453,7 @@
|
|
|
2453
2453
|
SwitchComponent.decorators = [
|
|
2454
2454
|
{ type: i0.Component, args: [{
|
|
2455
2455
|
selector: 'wac-switch',
|
|
2456
|
-
template: "<div class=\"wac-switch\">\n <input type=\"checkbox\" [checked]=\"value\" (change)=\"changeValue($event)\" [id]=\"id\" [ngClass]=\"{ danger: danger }\" [disabled]=\"disabled\"/>\n <label [for]=\"id\" class=\"wac-switch__label\">\n <span class=\"wac-switch__label__text\">\n <ng-content></ng-content>\n <span\n *ngIf=\"textState\"\n [ngStyle]=\"{'whiteSpace': whiteSpace ? 'nowrap' :'normal'}\"\n >{{ textState }}\n <strong class=\"disable\" *ngIf=\"textStateDisable\">{{ textStateDisable }}</strong>\n <strong class=\"enable\" *ngIf=\"textStateEnable\">{{ textStateEnable }}</strong>\n {{ textStateAfter }}
|
|
2456
|
+
template: "<div class=\"wac-switch\">\n <input type=\"checkbox\" [checked]=\"value\" (change)=\"changeValue($event)\" [id]=\"id\" [ngClass]=\"{ danger: danger }\" [disabled]=\"disabled\"/>\n <label [for]=\"id\" class=\"wac-switch__label\">\n <span class=\"wac-switch__label__text\">\n <ng-content></ng-content>\n <span\n *ngIf=\"textState\"\n [ngStyle]=\"{'whiteSpace': whiteSpace ? 'nowrap' :'normal'}\"\n >{{ textState }}\n <strong class=\"disable\" *ngIf=\"textStateDisable\">{{ textStateDisable }}</strong>\n <strong class=\"enable\" *ngIf=\"textStateEnable\">{{ textStateEnable }}</strong>\n <ng-container *ngIf=\"textStateAfter\">{{ textStateAfter }}</ng-container>\n </span>\n </span>\n </label>\n</div>\n<div class=\"wac-show-input\" *ngIf=\"showInput && value\">\n <input [placeholder]=\"placholderInput\" type=\"text\" [(ngModel)]=\"valueInput\" (blur)=\"triggerInput()\" />\n</div>\n",
|
|
2457
2457
|
providers: [
|
|
2458
2458
|
{ provide: forms.NG_VALUE_ACCESSOR, useExisting: SwitchComponent, multi: true },
|
|
2459
2459
|
],
|
|
@@ -4561,6 +4561,7 @@
|
|
|
4561
4561
|
this.iconTranslate = 'fa-regular fa-globe';
|
|
4562
4562
|
this.tooltipCopy = '';
|
|
4563
4563
|
this.tooltipTranslate = '';
|
|
4564
|
+
this.tooltipLinkReport = '';
|
|
4564
4565
|
this.count = true;
|
|
4565
4566
|
this.countCharacterLabel = 'caractères';
|
|
4566
4567
|
this.countWordsLabel = 'mots';
|
|
@@ -4595,7 +4596,7 @@
|
|
|
4595
4596
|
ContentWithButtonsComponent.decorators = [
|
|
4596
4597
|
{ type: i0.Component, args: [{
|
|
4597
4598
|
selector: 'wac-content-with-buttons',
|
|
4598
|
-
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"
|
|
4599
|
+
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"
|
|
4599
4600
|
},] }
|
|
4600
4601
|
];
|
|
4601
4602
|
ContentWithButtonsComponent.propDecorators = {
|
|
@@ -4603,6 +4604,7 @@
|
|
|
4603
4604
|
iconTranslate: [{ type: i0.Input }],
|
|
4604
4605
|
tooltipCopy: [{ type: i0.Input }],
|
|
4605
4606
|
tooltipTranslate: [{ type: i0.Input }],
|
|
4607
|
+
tooltipLinkReport: [{ type: i0.Input }],
|
|
4606
4608
|
count: [{ type: i0.Input }],
|
|
4607
4609
|
countCharacterLabel: [{ type: i0.Input }],
|
|
4608
4610
|
countWordsLabel: [{ type: i0.Input }],
|