@wizishop/angular-components 0.0.150 → 0.0.153
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 +2464 -2443
- package/bundles/wizishop-angular-components.umd.js +26 -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/breadcrumbs/breadcrumbs.component.js +1 -1
- package/esm2015/lib/components/shared-components.module.js +4 -2
- package/esm2015/lib/components/text-area/text-area.component.js +3 -2
- package/esm2015/lib/components/token-check/token-check.component.js +21 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/wizishop-angular-components.js +25 -3
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/lib/components/text-area/text-area.component.d.ts +1 -0
- package/lib/components/token-check/token-check.component.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/wizishop-angular-components-0.0.153.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.150.tgz +0 -0
|
@@ -2030,7 +2030,7 @@
|
|
|
2030
2030
|
TextAreaComponent.decorators = [
|
|
2031
2031
|
{ type: i0.Component, args: [{
|
|
2032
2032
|
selector: 'wac-text-area',
|
|
2033
|
-
template: "<div class=\"field wac-text-area\" [ngClass]=\"{'dynamic': dynamicSize}\">\n <div class=\"field-label is-normal has-text-left\">\n <label class=\"label has-text-weight-normal\" [innerHTML]=\"label\" [for]=\"id\"></label>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p class=\"control\" [ngClass]=\"{ 'has-icons-right': textError }\">\n <textarea\n class=\"textarea\"\n [id]=\"id\"\n [ngClass]=\"{ 'is-danger': textError, 'has-help-text': textInfo != '' || size }\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n [autosize]=\"dynamicSize\"\n [onlyGrow]=\"true\"\n ></textarea>\n\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n <span\n *ngIf=\"textInfo && (textError === null || textError === '')\"\n class=\"is-size-7 wac-text-area__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n <span *ngIf=\"textError\" class=\"is-size-7 wac-text-area__error has-text-danger\" [innerHtml]=\"textError\"></span>\n <span\n *ngIf=\"size && !progressBar\"\n class=\"is-size-7 wac-text-area__size\"\n [ngClass]=\"value && value.length > size ? 'has-text-danger' : ''\"\n >{{ value ? value.length : 0 }}/{{ size }}</span\n >\n </p>\n <wac-progress-bar *ngIf=\"progressBar && value\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2033
|
+
template: "<div class=\"field wac-text-area\" [ngClass]=\"{'dynamic': dynamicSize}\">\n <div class=\"field-label is-normal has-text-left\">\n <label class=\"label has-text-weight-normal\" [innerHTML]=\"label\" [for]=\"id\"></label>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p class=\"control\" [ngClass]=\"{ 'has-icons-right': textError }\">\n <textarea\n class=\"textarea\"\n [id]=\"id\"\n [ngClass]=\"{ 'is-danger': textError, 'has-help-text': textInfo != '' || size }\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n [autosize]=\"dynamicSize\"\n [onlyGrow]=\"true\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n ></textarea>\n\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n <span\n *ngIf=\"textInfo && (textError === null || textError === '')\"\n class=\"is-size-7 wac-text-area__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n <span *ngIf=\"textError\" class=\"is-size-7 wac-text-area__error has-text-danger\" [innerHtml]=\"textError\"></span>\n <span\n *ngIf=\"size && !progressBar\"\n class=\"is-size-7 wac-text-area__size\"\n [ngClass]=\"value && value.length > size ? 'has-text-danger' : ''\"\n >{{ value ? value.length : 0 }}/{{ size }}</span\n >\n </p>\n <wac-progress-bar *ngIf=\"progressBar && value\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2034
2034
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: TextAreaComponent, multi: true }]
|
|
2035
2035
|
},] }
|
|
2036
2036
|
];
|
|
@@ -2042,6 +2042,7 @@
|
|
|
2042
2042
|
textError: [{ type: i0.Input }],
|
|
2043
2043
|
size: [{ type: i0.Input }],
|
|
2044
2044
|
min: [{ type: i0.Input }],
|
|
2045
|
+
maxlength: [{ type: i0.Input }],
|
|
2045
2046
|
max: [{ type: i0.Input }],
|
|
2046
2047
|
dynamicSize: [{ type: i0.Input }],
|
|
2047
2048
|
progressBar: [{ type: i0.Input }]
|
|
@@ -4273,6 +4274,27 @@
|
|
|
4273
4274
|
click: [{ type: i0.Output }]
|
|
4274
4275
|
};
|
|
4275
4276
|
|
|
4277
|
+
var TokenCheckComponent = /** @class */ (function () {
|
|
4278
|
+
function TokenCheckComponent() {
|
|
4279
|
+
this.warning = false;
|
|
4280
|
+
}
|
|
4281
|
+
TokenCheckComponent.prototype.ngOnInit = function () {
|
|
4282
|
+
};
|
|
4283
|
+
return TokenCheckComponent;
|
|
4284
|
+
}());
|
|
4285
|
+
TokenCheckComponent.decorators = [
|
|
4286
|
+
{ type: i0.Component, args: [{
|
|
4287
|
+
selector: 'wac-token-check',
|
|
4288
|
+
template: "<div class=\"wac-token-check\">\n <span [innerHTML]=\"label\"></span> : <span [innerHTML]=\"value\" [ngClass]=\"{'warning': value > max}\"></span> / <strong [innerHTML]=\"max\"></strong>\n</div>\n"
|
|
4289
|
+
},] }
|
|
4290
|
+
];
|
|
4291
|
+
TokenCheckComponent.ctorParameters = function () { return []; };
|
|
4292
|
+
TokenCheckComponent.propDecorators = {
|
|
4293
|
+
label: [{ type: i0.Input }],
|
|
4294
|
+
value: [{ type: i0.Input }],
|
|
4295
|
+
max: [{ type: i0.Input }]
|
|
4296
|
+
};
|
|
4297
|
+
|
|
4276
4298
|
var components = [
|
|
4277
4299
|
TagComponent,
|
|
4278
4300
|
TabComponent,
|
|
@@ -4317,7 +4339,8 @@
|
|
|
4317
4339
|
SelectedListComponent,
|
|
4318
4340
|
WrapperSidebarComponent,
|
|
4319
4341
|
BreadcrumbsComponent,
|
|
4320
|
-
CardPriceComponent
|
|
4342
|
+
CardPriceComponent,
|
|
4343
|
+
TokenCheckComponent
|
|
4321
4344
|
];
|
|
4322
4345
|
var exportsFromModule = [
|
|
4323
4346
|
PaginationComponent,
|
|
@@ -4477,6 +4500,7 @@
|
|
|
4477
4500
|
exports.TagComponent = TagComponent;
|
|
4478
4501
|
exports.TextAreaComponent = TextAreaComponent;
|
|
4479
4502
|
exports.TextComponent = TextComponent;
|
|
4503
|
+
exports.TokenCheckComponent = TokenCheckComponent;
|
|
4480
4504
|
exports.TooltipComponent = TooltipComponent;
|
|
4481
4505
|
exports.TreeComponent = TreeComponent;
|
|
4482
4506
|
exports.TreeModule = TreeModule;
|