@wizishop/angular-components 0.0.130 → 0.0.133
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 +1679 -1375
- package/bundles/wizishop-angular-components.umd.js +4 -3
- 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/header-page/header-page.component.js +2 -2
- package/esm2015/lib/components/inputs/input-search/input-search.component.js +2 -2
- package/esm2015/lib/components/selects/select/select.component.js +3 -2
- package/fesm2015/wizishop-angular-components.js +4 -3
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.133.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.130.tgz +0 -0
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
var InputSearchComponent = /** @class */ (function () {
|
|
339
339
|
function InputSearchComponent() {
|
|
340
340
|
this.placeholder = '';
|
|
341
|
-
this.smallPadding = false;
|
|
341
|
+
this.smallPadding = false; // todo Try to be more flexible like changing type : export type PaddingConfig = "default" | "small" | "big" | "no-padding";
|
|
342
342
|
this.innerValue = '';
|
|
343
343
|
this.changeDebounced = new i0.EventEmitter(); // debounced
|
|
344
344
|
this.onTouchedCallback = function () { };
|
|
@@ -2093,7 +2093,7 @@
|
|
|
2093
2093
|
HeaderPageComponent.decorators = [
|
|
2094
2094
|
{ type: i0.Component, args: [{
|
|
2095
2095
|
selector: 'wac-header-page',
|
|
2096
|
-
template: "<div class=\"wac-header-page\">\n <div class=\"wac-header-page__maxWidth\">\n <div class=\"wac-header-page__maxWidth__top\">\n <div class=\"wac-header-page__maxWidth__top__left\">\n <a *ngIf=\"linkBack\" [routerLink]=\"linkBack\"><i class=\"fas fa-chevron-left\"></i></a>\n <wac-h1>{{ title }}<ng-content select=\"[role=header]\"></ng-content></wac-h1>\n </div>\n <div class=\"wac-header-page__maxWidth__top__right\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n"
|
|
2096
|
+
template: "<div class=\"wac-header-page\">\n <div class=\"wac-header-page__maxWidth\">\n <div class=\"wac-header-page__maxWidth__top\">\n <div class=\"wac-header-page__maxWidth__top__left\">\n <!-- TODO Hard to use when only want a button and not a router link -->\n <a *ngIf=\"linkBack\" [routerLink]=\"linkBack\"><i class=\"fas fa-chevron-left\"></i></a>\n <wac-h1>{{ title }}<ng-content select=\"[role=header]\"></ng-content></wac-h1>\n </div>\n <div class=\"wac-header-page__maxWidth__top__right\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n"
|
|
2097
2097
|
},] }
|
|
2098
2098
|
];
|
|
2099
2099
|
HeaderPageComponent.ctorParameters = function () { return []; };
|
|
@@ -3186,7 +3186,8 @@
|
|
|
3186
3186
|
var _this = this;
|
|
3187
3187
|
this.openCategories = true;
|
|
3188
3188
|
setTimeout(function () {
|
|
3189
|
-
|
|
3189
|
+
var _a;
|
|
3190
|
+
(_a = _this.searchElement.nativeElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
3190
3191
|
}, 0);
|
|
3191
3192
|
};
|
|
3192
3193
|
SelectComponent.prototype.unselectAll = function () {
|