@wizishop/angular-components 0.0.139 → 0.0.140
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 +5001 -4735
- package/bundles/wizishop-angular-components.umd.js +81 -6
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +2 -2
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/breadcrumbs/breadcrumbs.component.js +17 -0
- package/esm2015/lib/components/breadcrumbs/breadcrumbs.dto.js +2 -0
- package/esm2015/lib/components/card-price/card-price.component.js +29 -0
- package/esm2015/lib/components/shared-components.module.js +10 -2
- package/esm2015/lib/components/text-area/text-area.component.js +4 -2
- package/esm2015/lib/components/wrapper-sidebar/wrapper-sidebar.component.js +19 -0
- package/esm2015/public-api.js +4 -1
- package/fesm2015/wizishop-angular-components.js +72 -3
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +7 -0
- package/lib/components/breadcrumbs/breadcrumbs.dto.d.ts +5 -0
- package/lib/components/card-price/card-price.component.d.ts +14 -0
- package/lib/components/text-area/text-area.component.d.ts +1 -0
- package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts +6 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
- package/wizishop-angular-components-0.0.140.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.139.tgz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@wizishop/ng-wizi-bulma'), require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-perfect-scrollbar'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/table'), require('@angular/animations'), require('ngx-chips'), require('@ngx-translate/core'), require('@angular/router')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@wizishop/angular-components', ['exports', '@wizishop/ng-wizi-bulma', '@angular/core', '@angular/common', '@angular/forms', 'ngx-perfect-scrollbar', 'rxjs', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/table', '@angular/animations', 'ngx-chips', '@ngx-translate/core', '@angular/router'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wizishop = global.wizishop || {}, global.wizishop['angular-components'] = {}), global['ng-wizi-bulma'], global.ng.core, global.ng.common, global.ng.forms, global['ngx-perfect-scrollbar'], global.rxjs, global.rxjs.operators, global.ng.cdk.overlay, global.ng.cdk.table, global.ng.animations, global['ngx-chips'], global['@ngx-translate/core'], global.ng.router));
|
|
5
|
-
}(this, (function (exports, i1$1, i0, common, forms, ngxPerfectScrollbar, rxjs, operators, i1, table, animations, ngxChips, core, router) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@wizishop/ng-wizi-bulma'), require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-perfect-scrollbar'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/table'), require('@angular/animations'), require('ngx-chips'), require('@ngx-translate/core'), require('@angular/router'), require('ngx-autosize')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@wizishop/angular-components', ['exports', '@wizishop/ng-wizi-bulma', '@angular/core', '@angular/common', '@angular/forms', 'ngx-perfect-scrollbar', 'rxjs', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/table', '@angular/animations', 'ngx-chips', '@ngx-translate/core', '@angular/router', 'ngx-autosize'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wizishop = global.wizishop || {}, global.wizishop['angular-components'] = {}), global['ng-wizi-bulma'], global.ng.core, global.ng.common, global.ng.forms, global['ngx-perfect-scrollbar'], global.rxjs, global.rxjs.operators, global.ng.cdk.overlay, global.ng.cdk.table, global.ng.animations, global['ngx-chips'], global['@ngx-translate/core'], global.ng.router, global.ngxAutosize));
|
|
5
|
+
}(this, (function (exports, i1$1, i0, common, forms, ngxPerfectScrollbar, rxjs, operators, i1, table, animations, ngxChips, core, router, ngxAutosize) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1991,6 +1991,7 @@
|
|
|
1991
1991
|
this.size = null;
|
|
1992
1992
|
this.min = null;
|
|
1993
1993
|
this.max = null;
|
|
1994
|
+
this.dynamicSize = false;
|
|
1994
1995
|
this.progressBar = false;
|
|
1995
1996
|
this.disabled = false;
|
|
1996
1997
|
this.id = 'wac-textarea__' +
|
|
@@ -2026,7 +2027,7 @@
|
|
|
2026
2027
|
TextAreaComponent.decorators = [
|
|
2027
2028
|
{ type: i0.Component, args: [{
|
|
2028
2029
|
selector: 'wac-text-area',
|
|
2029
|
-
template: "<div class=\"field wac-text-area\">\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 ></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",
|
|
2030
|
+
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",
|
|
2030
2031
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: TextAreaComponent, multi: true }]
|
|
2031
2032
|
},] }
|
|
2032
2033
|
];
|
|
@@ -2039,6 +2040,7 @@
|
|
|
2039
2040
|
size: [{ type: i0.Input }],
|
|
2040
2041
|
min: [{ type: i0.Input }],
|
|
2041
2042
|
max: [{ type: i0.Input }],
|
|
2043
|
+
dynamicSize: [{ type: i0.Input }],
|
|
2042
2044
|
progressBar: [{ type: i0.Input }]
|
|
2043
2045
|
};
|
|
2044
2046
|
|
|
@@ -4185,6 +4187,72 @@
|
|
|
4185
4187
|
},] }
|
|
4186
4188
|
];
|
|
4187
4189
|
|
|
4190
|
+
var WrapperSidebarComponent = /** @class */ (function () {
|
|
4191
|
+
function WrapperSidebarComponent() {
|
|
4192
|
+
this.reverse = false;
|
|
4193
|
+
}
|
|
4194
|
+
WrapperSidebarComponent.prototype.ngOnInit = function () {
|
|
4195
|
+
};
|
|
4196
|
+
return WrapperSidebarComponent;
|
|
4197
|
+
}());
|
|
4198
|
+
WrapperSidebarComponent.decorators = [
|
|
4199
|
+
{ type: i0.Component, args: [{
|
|
4200
|
+
selector: 'wac-wrapper-sidebar',
|
|
4201
|
+
template: "<div class=\"wac-wrapper-sidebar\" [ngClass]=\"{'reverse': reverse}\">\n <div class=\"wac-wrapper-sidebar__left\">\n <ng-content select=\"[sidebar]\"></ng-content>\n </div>\n <div class=\"wac-wrapper-sidebar__right\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</div>\n"
|
|
4202
|
+
},] }
|
|
4203
|
+
];
|
|
4204
|
+
WrapperSidebarComponent.ctorParameters = function () { return []; };
|
|
4205
|
+
WrapperSidebarComponent.propDecorators = {
|
|
4206
|
+
reverse: [{ type: i0.Input }]
|
|
4207
|
+
};
|
|
4208
|
+
|
|
4209
|
+
var BreadcrumbsComponent = /** @class */ (function () {
|
|
4210
|
+
function BreadcrumbsComponent() {
|
|
4211
|
+
}
|
|
4212
|
+
BreadcrumbsComponent.prototype.ngOnInit = function () {
|
|
4213
|
+
};
|
|
4214
|
+
return BreadcrumbsComponent;
|
|
4215
|
+
}());
|
|
4216
|
+
BreadcrumbsComponent.decorators = [
|
|
4217
|
+
{ type: i0.Component, args: [{
|
|
4218
|
+
selector: 'wac-breadcrumbs',
|
|
4219
|
+
template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid}\">{{ b.name }}</div>\n <i class=\"fas fa-chevron-right\"></i>\n </div>\n </div>\n</div>\n"
|
|
4220
|
+
},] }
|
|
4221
|
+
];
|
|
4222
|
+
BreadcrumbsComponent.ctorParameters = function () { return []; };
|
|
4223
|
+
BreadcrumbsComponent.propDecorators = {
|
|
4224
|
+
breadcrumbs: [{ type: i0.Input }]
|
|
4225
|
+
};
|
|
4226
|
+
|
|
4227
|
+
var CardPriceComponent = /** @class */ (function () {
|
|
4228
|
+
function CardPriceComponent() {
|
|
4229
|
+
this.click = new i0.EventEmitter();
|
|
4230
|
+
}
|
|
4231
|
+
CardPriceComponent.prototype.ngOnInit = function () {
|
|
4232
|
+
};
|
|
4233
|
+
CardPriceComponent.prototype.triggerClick = function () {
|
|
4234
|
+
this.click.emit(true);
|
|
4235
|
+
};
|
|
4236
|
+
return CardPriceComponent;
|
|
4237
|
+
}());
|
|
4238
|
+
CardPriceComponent.decorators = [
|
|
4239
|
+
{ type: i0.Component, args: [{
|
|
4240
|
+
selector: 'wac-card-price',
|
|
4241
|
+
template: "<div class=\"wac-card-price\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\">\n <wac-button [label]=\"btnLabel\" extraClasses=\"is-success\" (click)=\"triggerClick()\"></wac-button>\n </div>\n</div>\n"
|
|
4242
|
+
},] }
|
|
4243
|
+
];
|
|
4244
|
+
CardPriceComponent.ctorParameters = function () { return []; };
|
|
4245
|
+
CardPriceComponent.propDecorators = {
|
|
4246
|
+
amount: [{ type: i0.Input }],
|
|
4247
|
+
title: [{ type: i0.Input }],
|
|
4248
|
+
price: [{ type: i0.Input }],
|
|
4249
|
+
currency: [{ type: i0.Input }],
|
|
4250
|
+
priceWording: [{ type: i0.Input }],
|
|
4251
|
+
subtitle: [{ type: i0.Input }],
|
|
4252
|
+
btnLabel: [{ type: i0.Input }],
|
|
4253
|
+
click: [{ type: i0.Output }]
|
|
4254
|
+
};
|
|
4255
|
+
|
|
4188
4256
|
var components = [
|
|
4189
4257
|
TagComponent,
|
|
4190
4258
|
TabComponent,
|
|
@@ -4226,7 +4294,10 @@
|
|
|
4226
4294
|
WrapperBlocsComponent,
|
|
4227
4295
|
SnackbarComponent,
|
|
4228
4296
|
SearchComponent,
|
|
4229
|
-
SelectedListComponent
|
|
4297
|
+
SelectedListComponent,
|
|
4298
|
+
WrapperSidebarComponent,
|
|
4299
|
+
BreadcrumbsComponent,
|
|
4300
|
+
CardPriceComponent
|
|
4230
4301
|
];
|
|
4231
4302
|
var exportsFromModule = [
|
|
4232
4303
|
PaginationComponent,
|
|
@@ -4271,6 +4342,7 @@
|
|
|
4271
4342
|
ngxPerfectScrollbar.PerfectScrollbarModule,
|
|
4272
4343
|
AlertPopupModule,
|
|
4273
4344
|
router.RouterModule,
|
|
4345
|
+
ngxAutosize.AutosizeModule,
|
|
4274
4346
|
TreeModule
|
|
4275
4347
|
],
|
|
4276
4348
|
declarations: components,
|
|
@@ -4327,8 +4399,10 @@
|
|
|
4327
4399
|
exports.AutoHideDirective = AutoHideDirective;
|
|
4328
4400
|
exports.BackComponent = BackComponent;
|
|
4329
4401
|
exports.BlockComponent = BlockComponent;
|
|
4402
|
+
exports.BreadcrumbsComponent = BreadcrumbsComponent;
|
|
4330
4403
|
exports.ButtonComponent = ButtonComponent;
|
|
4331
4404
|
exports.CalendarComponent = CalendarComponent;
|
|
4405
|
+
exports.CardPriceComponent = CardPriceComponent;
|
|
4332
4406
|
exports.CheckBoxRow = CheckBoxRow;
|
|
4333
4407
|
exports.CheckboxComponent = CheckboxComponent;
|
|
4334
4408
|
exports.DebounceKeyupDirective = DebounceKeyupDirective;
|
|
@@ -4391,6 +4465,7 @@
|
|
|
4391
4465
|
exports.WiziComponentsModule = WiziComponentsModule;
|
|
4392
4466
|
exports.WrapperBlocsComponent = WrapperBlocsComponent;
|
|
4393
4467
|
exports.WrapperComponent = WrapperComponent;
|
|
4468
|
+
exports.WrapperSidebarComponent = WrapperSidebarComponent;
|
|
4394
4469
|
exports.WzEditInPlaceComponent = WzEditInPlaceComponent;
|
|
4395
4470
|
exports.ZindexToggleDirective = ZindexToggleDirective;
|
|
4396
4471
|
exports.ɵa = DomService;
|