@wizishop/angular-components 15.1.12 → 15.1.15
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 +50 -50
- package/esm2020/lib/components/block/block.component.mjs +4 -3
- package/esm2020/lib/components/loader/loader.component.mjs +4 -3
- package/esm2020/lib/components/select/select/select.directive.mjs +5 -7
- package/esm2020/lib/components/shared-components.module.mjs +10 -11
- package/esm2020/lib/components/table/table.module.mjs +5 -5
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/wizishop-angular-components.mjs +21 -43
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +21 -43
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/block/block.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/shared-components.module.d.ts +64 -65
- package/lib/components/table/table.module.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/wizishop-angular-components-15.1.15.tgz +0 -0
- package/esm2020/lib/components/loader/loader.module.mjs +0 -25
- package/lib/components/loader/loader.module.d.ts +0 -9
- package/wizishop-angular-components-15.1.12.tgz +0 -0
|
@@ -11,7 +11,7 @@ import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
|
|
|
11
11
|
import { Subject, merge, takeUntil as takeUntil$1, startWith, fromEvent, ReplaySubject, interval, map as map$1 } from 'rxjs';
|
|
12
12
|
import { takeUntil, debounceTime, distinctUntilChanged, tap, filter, map, takeWhile } from 'rxjs/operators';
|
|
13
13
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
14
|
-
import { TAB, DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, ENTER, hasModifierKey, ESCAPE } from '@angular/cdk/keycodes';
|
|
14
|
+
import { TAB, DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, A, Z, ZERO, NINE, ENTER, hasModifierKey, ESCAPE } from '@angular/cdk/keycodes';
|
|
15
15
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
16
16
|
import { trigger, transition, style, animate, state, animation, query, stagger } from '@angular/animations';
|
|
17
17
|
import { TagInputModule } from 'ngx-chips';
|
|
@@ -35,10 +35,10 @@ class LoaderComponent {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: LoaderComponent, selector: "wac-loader", inputs: { text: "text", small: "small" }, ngImport: i0, template: "<div class=\"wac-loader\" [ngClass]=\"{ 'is-small': small }\">\n <div class=\"loader loader1\">\n <div>\n <div>\n <div>\n <div>\n <div>\n <div></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <p class=\"is-textcentered\" *ngIf=\"text
|
|
38
|
+
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: LoaderComponent, isStandalone: true, selector: "wac-loader", inputs: { text: "text", small: "small" }, ngImport: i0, template: "<div class=\"wac-loader\" [ngClass]=\"{ 'is-small': small }\">\n <div class=\"loader loader1\">\n <div>\n <div>\n <div>\n <div>\n <div>\n <div></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <p class=\"is-textcentered\" *ngIf=\"!!text\" [innerHTML]=\"text\"></p>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
|
-
args: [{ selector: 'wac-loader', encapsulation: ViewEncapsulation.None, template: "<div class=\"wac-loader\" [ngClass]=\"{ 'is-small': small }\">\n <div class=\"loader loader1\">\n <div>\n <div>\n <div>\n <div>\n <div>\n <div></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <p class=\"is-textcentered\" *ngIf=\"text
|
|
41
|
+
args: [{ selector: 'wac-loader', encapsulation: ViewEncapsulation.None, standalone: true, imports: [CommonModule], template: "<div class=\"wac-loader\" [ngClass]=\"{ 'is-small': small }\">\n <div class=\"loader loader1\">\n <div>\n <div>\n <div>\n <div>\n <div>\n <div></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <p class=\"is-textcentered\" *ngIf=\"!!text\" [innerHTML]=\"text\"></p>\n</div>\n" }]
|
|
42
42
|
}], propDecorators: { text: [{
|
|
43
43
|
type: Input
|
|
44
44
|
}], small: [{
|
|
@@ -705,7 +705,7 @@ class SelectDirective {
|
|
|
705
705
|
keyCode === UP_ARROW ||
|
|
706
706
|
keyCode === LEFT_ARROW ||
|
|
707
707
|
keyCode === RIGHT_ARROW;
|
|
708
|
-
|
|
708
|
+
const isTyping = (keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE);
|
|
709
709
|
if (isArrowKey) {
|
|
710
710
|
event.preventDefault(); // prevents the page from scrolling
|
|
711
711
|
// select the next option on arrow key down
|
|
@@ -716,12 +716,10 @@ class SelectDirective {
|
|
|
716
716
|
this.valueChangeService.selectPreviousOption();
|
|
717
717
|
return;
|
|
718
718
|
}
|
|
719
|
-
/*
|
|
720
719
|
if (isTyping) {
|
|
721
|
-
|
|
722
|
-
|
|
720
|
+
this.valueChangeService.searchOptionByFirstLetter(event.key);
|
|
721
|
+
return;
|
|
723
722
|
}
|
|
724
|
-
*/
|
|
725
723
|
}
|
|
726
724
|
writeValue(value) {
|
|
727
725
|
if (typeof value === 'undefined') {
|
|
@@ -3331,26 +3329,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
3331
3329
|
}]
|
|
3332
3330
|
}] });
|
|
3333
3331
|
|
|
3334
|
-
class LoaderModule {
|
|
3335
|
-
}
|
|
3336
|
-
LoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3337
|
-
LoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: LoaderModule, declarations: [LoaderComponent], imports: [CommonModule,
|
|
3338
|
-
FormsModule], exports: [LoaderComponent] });
|
|
3339
|
-
LoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderModule, imports: [CommonModule,
|
|
3340
|
-
FormsModule] });
|
|
3341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: LoaderModule, decorators: [{
|
|
3342
|
-
type: NgModule,
|
|
3343
|
-
args: [{
|
|
3344
|
-
imports: [
|
|
3345
|
-
CommonModule,
|
|
3346
|
-
FormsModule,
|
|
3347
|
-
],
|
|
3348
|
-
exports: [LoaderComponent],
|
|
3349
|
-
declarations: [LoaderComponent],
|
|
3350
|
-
providers: [],
|
|
3351
|
-
}]
|
|
3352
|
-
}] });
|
|
3353
|
-
|
|
3354
3332
|
class TableColumn {
|
|
3355
3333
|
constructor(currentCell, renderer, document) {
|
|
3356
3334
|
this.currentCell = currentCell;
|
|
@@ -3590,13 +3568,13 @@ TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15
|
|
|
3590
3568
|
TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.1", ngImport: i0, type: TableModule, declarations: [TableComponent, TableColumn, CheckBoxRow, TableColumnHeader, TableRow], imports: [CommonModule,
|
|
3591
3569
|
FormsModule,
|
|
3592
3570
|
InputSearchModule,
|
|
3593
|
-
|
|
3571
|
+
LoaderComponent,
|
|
3594
3572
|
CheckboxModule,
|
|
3595
3573
|
PaginationModule], exports: [TableComponent, TableColumn, CheckBoxRow, TableColumnHeader, TableRow] });
|
|
3596
3574
|
TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TableModule, imports: [CommonModule,
|
|
3597
3575
|
FormsModule,
|
|
3598
3576
|
InputSearchModule,
|
|
3599
|
-
|
|
3577
|
+
LoaderComponent,
|
|
3600
3578
|
CheckboxModule,
|
|
3601
3579
|
PaginationModule] });
|
|
3602
3580
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TableModule, decorators: [{
|
|
@@ -3606,7 +3584,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
3606
3584
|
CommonModule,
|
|
3607
3585
|
FormsModule,
|
|
3608
3586
|
InputSearchModule,
|
|
3609
|
-
|
|
3587
|
+
LoaderComponent,
|
|
3610
3588
|
CheckboxModule,
|
|
3611
3589
|
PaginationModule
|
|
3612
3590
|
],
|
|
@@ -4219,10 +4197,10 @@ class BlockComponent {
|
|
|
4219
4197
|
}
|
|
4220
4198
|
}
|
|
4221
4199
|
BlockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: BlockComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4222
|
-
BlockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: BlockComponent, selector: "wac-block", inputs: { config: "config" }, host: { properties: { "style": "this.borderRadius" } }, queries: [{ propertyName: "blockSeparators", predicate: BlockSeparatorComponent }], ngImport: i0, template: "<ng-content></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4200
|
+
BlockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: BlockComponent, isStandalone: true, selector: "wac-block", inputs: { config: "config" }, host: { properties: { "style": "this.borderRadius" } }, queries: [{ propertyName: "blockSeparators", predicate: BlockSeparatorComponent }], ngImport: i0, template: "<ng-content></ng-content>", dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4223
4201
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: BlockComponent, decorators: [{
|
|
4224
4202
|
type: Component,
|
|
4225
|
-
args: [{ selector: 'wac-block', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>" }]
|
|
4203
|
+
args: [{ selector: 'wac-block', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<ng-content></ng-content>" }]
|
|
4226
4204
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { blockSeparators: [{
|
|
4227
4205
|
type: ContentChildren,
|
|
4228
4206
|
args: [BlockSeparatorComponent]
|
|
@@ -5996,7 +5974,6 @@ const components = [
|
|
|
5996
5974
|
InputWithSelectComponent,
|
|
5997
5975
|
PopinComponent,
|
|
5998
5976
|
FreePopinComponent,
|
|
5999
|
-
BlockComponent,
|
|
6000
5977
|
BlockTitleLegacyComponent,
|
|
6001
5978
|
WrapperComponent,
|
|
6002
5979
|
FiltersComponent,
|
|
@@ -6045,7 +6022,9 @@ const exportsFromModule = [
|
|
|
6045
6022
|
];
|
|
6046
6023
|
const standaloneComponents = [
|
|
6047
6024
|
TabComponent,
|
|
6048
|
-
SnackbarComponent
|
|
6025
|
+
SnackbarComponent,
|
|
6026
|
+
BlockComponent,
|
|
6027
|
+
LoaderComponent,
|
|
6049
6028
|
];
|
|
6050
6029
|
class SharedComponentsModule {
|
|
6051
6030
|
}
|
|
@@ -6082,7 +6061,6 @@ SharedComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
6082
6061
|
InputWithSelectComponent,
|
|
6083
6062
|
PopinComponent,
|
|
6084
6063
|
FreePopinComponent,
|
|
6085
|
-
BlockComponent,
|
|
6086
6064
|
BlockTitleLegacyComponent,
|
|
6087
6065
|
WrapperComponent,
|
|
6088
6066
|
FiltersComponent,
|
|
@@ -6125,7 +6103,6 @@ SharedComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
6125
6103
|
TooltipModule,
|
|
6126
6104
|
CheckboxModule,
|
|
6127
6105
|
InputModule,
|
|
6128
|
-
LoaderModule,
|
|
6129
6106
|
ProgressBarModule,
|
|
6130
6107
|
PerfectScrollbarModule,
|
|
6131
6108
|
AlertPopupModule,
|
|
@@ -6135,7 +6112,9 @@ SharedComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
6135
6112
|
NgScrollbarReachedModule,
|
|
6136
6113
|
TreeModule,
|
|
6137
6114
|
ExpansionModule, TabComponent,
|
|
6138
|
-
SnackbarComponent
|
|
6115
|
+
SnackbarComponent,
|
|
6116
|
+
BlockComponent,
|
|
6117
|
+
LoaderComponent], exports: [TagComponent,
|
|
6139
6118
|
ButtonComponent,
|
|
6140
6119
|
InfoComponent,
|
|
6141
6120
|
SettingsComponent,
|
|
@@ -6167,7 +6146,6 @@ SharedComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
6167
6146
|
InputWithSelectComponent,
|
|
6168
6147
|
PopinComponent,
|
|
6169
6148
|
FreePopinComponent,
|
|
6170
|
-
BlockComponent,
|
|
6171
6149
|
BlockTitleLegacyComponent,
|
|
6172
6150
|
WrapperComponent,
|
|
6173
6151
|
FiltersComponent,
|
|
@@ -6209,7 +6187,9 @@ SharedComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
6209
6187
|
LoaderComponent,
|
|
6210
6188
|
ProgressBarComponent,
|
|
6211
6189
|
TreeComponent, ExpansionPanelComponent, ExpansionPanelHeaderComponent, AccordionComponent, ExpansionPanelDirective, ExpansionPanelHeaderDirective, TabComponent,
|
|
6212
|
-
SnackbarComponent
|
|
6190
|
+
SnackbarComponent,
|
|
6191
|
+
BlockComponent,
|
|
6192
|
+
LoaderComponent] });
|
|
6213
6193
|
SharedComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SharedComponentsModule, imports: [CommonModule,
|
|
6214
6194
|
FormsModule,
|
|
6215
6195
|
NwbAllModule,
|
|
@@ -6226,7 +6206,6 @@ SharedComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
6226
6206
|
TooltipModule,
|
|
6227
6207
|
CheckboxModule,
|
|
6228
6208
|
InputModule,
|
|
6229
|
-
LoaderModule,
|
|
6230
6209
|
ProgressBarModule,
|
|
6231
6210
|
PerfectScrollbarModule,
|
|
6232
6211
|
AlertPopupModule,
|
|
@@ -6256,7 +6235,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
6256
6235
|
TooltipModule,
|
|
6257
6236
|
CheckboxModule,
|
|
6258
6237
|
InputModule,
|
|
6259
|
-
LoaderModule,
|
|
6260
6238
|
ProgressBarModule,
|
|
6261
6239
|
PerfectScrollbarModule,
|
|
6262
6240
|
AlertPopupModule,
|
|
@@ -6444,5 +6422,5 @@ const switchInOut = trigger('switchInOut', [
|
|
|
6444
6422
|
* Generated bundle index. Do not edit.
|
|
6445
6423
|
*/
|
|
6446
6424
|
|
|
6447
|
-
export { ACCORDION_ITEM, AbstractDebounceDirective, AccordionComponent, AlertComponent, AlertPopupComponent, AlertPopupModule, AlertPopupService, AreAllOptionsSelectedPipe, AutoHideDirective, BackComponent, BlockComponent, BlockSeparatorComponent, BlockTitleLegacyComponent, BlockWithCheckboxComponent, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CallComponentFunctionPipe, CardPriceComponent, ChargingBarComponent, CheckBoxRow, CheckboxComponent, ConfirmDeleteComponent, ContentWithButtonsComponent, CopyToClipBoardDirective, DebounceKeyupDirective, DeleteComponent, DraganddropListComponent, DropdownComponent, EXPANSION_PANEL_HEADER, ExpandedPanelComponent, ExpansionExport, ExpansionModule, ExpansionPanelComponent, ExpansionPanelDirective, ExpansionPanelHeaderComponent, ExpansionPanelHeaderDirective, FilterOptionsPipe, FiltersComponent, FiltersTableService, FindOptionSelectedPipe, FormatObjectToRecursifTreePipe, FormatObjectToSimpleTreePipe, FreePopinComponent, GooglePreviewComponent, H1Component, H2Component, H3Component, H4Component, HeaderPageComponent, HistoryService, HtmlContainer, ImageComponent, InfoComponent, InputComponent, InputSearchComponent, InputWithSelectComponent, KeypressEnterDirective, LabelComponent, LinkComponent, LoaderComponent,
|
|
6425
|
+
export { ACCORDION_ITEM, AbstractDebounceDirective, AccordionComponent, AlertComponent, AlertPopupComponent, AlertPopupModule, AlertPopupService, AreAllOptionsSelectedPipe, AutoHideDirective, BackComponent, BlockComponent, BlockSeparatorComponent, BlockTitleLegacyComponent, BlockWithCheckboxComponent, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CallComponentFunctionPipe, CardPriceComponent, ChargingBarComponent, CheckBoxRow, CheckboxComponent, ConfirmDeleteComponent, ContentWithButtonsComponent, CopyToClipBoardDirective, DebounceKeyupDirective, DeleteComponent, DraganddropListComponent, DropdownComponent, EXPANSION_PANEL_HEADER, ExpandedPanelComponent, ExpansionExport, ExpansionModule, ExpansionPanelComponent, ExpansionPanelDirective, ExpansionPanelHeaderComponent, ExpansionPanelHeaderDirective, FilterOptionsPipe, FiltersComponent, FiltersTableService, FindOptionSelectedPipe, FormatObjectToRecursifTreePipe, FormatObjectToSimpleTreePipe, FreePopinComponent, GooglePreviewComponent, H1Component, H2Component, H3Component, H4Component, HeaderPageComponent, HistoryService, HtmlContainer, ImageComponent, InfoComponent, InputComponent, InputSearchComponent, InputWithSelectComponent, KeypressEnterDirective, LabelComponent, LinkComponent, LoaderComponent, LogoComponent, MosaicComponent, MultipleSearchComponent, MultipleSearchPlusComponent, OnlyNumberDirective, OptionCallToActionComponent, OptionComponent, OptionalDisableContainerComponent, PaginationComponent, PlaceholderComponent, PopinComponent, ProgressBarComponent, RadioComponent, RadioDirective, RadioGroupDirective, ScrollToDirective, SearchComponent, SelectComponent, SelectDirective, SelectFiltersPipe, SelectInTextComponent, SelectOptionDirective, SelectSearchTriggerComponent, SelectedListComponent, SeparatorComponent, SettingsComponent, SharedComponentsModule, SharedDirectives, SharedPipes, SnackbarComponent, StateComponent, SummaryComponent, SwitchComponent, TabComponent, TableColumn, TableColumnHeader, TableComponent, TableFiltersGroup, TableRow, TagComponent, TagLabelComponent, TextAreaComponent, TextComponent, TokenCheckComponent, TooltipComponent, TreeComponent, TreeModule, TwoDigitDecimalNumberDirective, UploadComponent, ValueChangeService, VarDirective, WiziComponentsModule, WrapperBlocsComponent, WrapperComponent, WrapperMultipleBlockComponent, WrapperSidebarComponent, WzEditInPlaceComponent, ZindexToggleDirective, animateListFromBottom, animateListFromLeft, animateListFromRight, animateListFromTop, inOutX, inOutY, opacityAnimation, showFromBottom, showFromLeft, showFromRight, showFromTop, switchInOut, uuid };
|
|
6448
6426
|
//# sourceMappingURL=wizishop-angular-components.mjs.map
|