@wizishop/angular-components 15.1.7 → 15.1.9
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 +10 -11
- package/esm2020/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +3 -4
- package/esm2020/lib/directives/scroll-to/scroll-to.directive.mjs +23 -0
- package/esm2020/lib/directives/shared-directives.module.mjs +6 -5
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/wizishop-angular-components.mjs +27 -8
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +27 -8
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +2 -3
- package/lib/directives/scroll-to/scroll-to.directive.d.ts +7 -0
- package/lib/directives/shared-directives.module.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/wizishop-angular-components-15.1.9.tgz +0 -0
- package/wizishop-angular-components-15.1.7.tgz +0 -0
|
@@ -936,6 +936,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
936
936
|
type: Output
|
|
937
937
|
}] } });
|
|
938
938
|
|
|
939
|
+
class ScrollToDirective {
|
|
940
|
+
onClick() {
|
|
941
|
+
const element = document.getElementById(this.elementId);
|
|
942
|
+
element?.scrollIntoView({ behavior: "smooth", block: "start", inline: "nearest" });
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
ScrollToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
946
|
+
ScrollToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ScrollToDirective, isStandalone: true, selector: "[wacScrollTo]", inputs: { elementId: "elementId" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ScrollToDirective, decorators: [{
|
|
948
|
+
type: Directive,
|
|
949
|
+
args: [{
|
|
950
|
+
selector: '[wacScrollTo]',
|
|
951
|
+
standalone: true,
|
|
952
|
+
}]
|
|
953
|
+
}], propDecorators: { elementId: [{
|
|
954
|
+
type: Input
|
|
955
|
+
}], onClick: [{
|
|
956
|
+
type: HostListener,
|
|
957
|
+
args: ['click']
|
|
958
|
+
}] } });
|
|
959
|
+
|
|
939
960
|
const directives$2 = [
|
|
940
961
|
DebounceKeyupDirective,
|
|
941
962
|
AbstractDebounceDirective,
|
|
@@ -964,7 +985,7 @@ SharedDirectives.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
964
985
|
OnlyNumberDirective,
|
|
965
986
|
TwoDigitDecimalNumberDirective,
|
|
966
987
|
RadioDirective,
|
|
967
|
-
RadioGroupDirective], imports: [CommonModule, FormsModule, CopyToClipBoardDirective], exports: [DebounceKeyupDirective,
|
|
988
|
+
RadioGroupDirective], imports: [CommonModule, FormsModule, CopyToClipBoardDirective, ScrollToDirective], exports: [DebounceKeyupDirective,
|
|
968
989
|
AbstractDebounceDirective,
|
|
969
990
|
AutoHideDirective,
|
|
970
991
|
ZindexToggleDirective,
|
|
@@ -975,14 +996,14 @@ SharedDirectives.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
975
996
|
OnlyNumberDirective,
|
|
976
997
|
TwoDigitDecimalNumberDirective,
|
|
977
998
|
RadioDirective,
|
|
978
|
-
RadioGroupDirective, CopyToClipBoardDirective] });
|
|
999
|
+
RadioGroupDirective, CopyToClipBoardDirective, ScrollToDirective] });
|
|
979
1000
|
SharedDirectives.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SharedDirectives, imports: [CommonModule, FormsModule] });
|
|
980
1001
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SharedDirectives, decorators: [{
|
|
981
1002
|
type: NgModule,
|
|
982
1003
|
args: [{
|
|
983
|
-
imports: [CommonModule, FormsModule, CopyToClipBoardDirective],
|
|
1004
|
+
imports: [CommonModule, FormsModule, CopyToClipBoardDirective, ScrollToDirective],
|
|
984
1005
|
declarations: directives$2,
|
|
985
|
-
exports: [...directives$2, CopyToClipBoardDirective]
|
|
1006
|
+
exports: [...directives$2, CopyToClipBoardDirective, ScrollToDirective]
|
|
986
1007
|
}]
|
|
987
1008
|
}] });
|
|
988
1009
|
|
|
@@ -5230,13 +5251,11 @@ class BlockWithCheckboxComponent {
|
|
|
5230
5251
|
this.selected = false;
|
|
5231
5252
|
this.disabled = false;
|
|
5232
5253
|
this.checkboxAction = new EventEmitter();
|
|
5254
|
+
this.randomLabelName = uuid();
|
|
5233
5255
|
this.nameRadio = 'wacBlockCheckboxRadio';
|
|
5234
5256
|
this.isFirst = false;
|
|
5235
5257
|
this.opacity = '.45';
|
|
5236
5258
|
}
|
|
5237
|
-
ngOnInit() {
|
|
5238
|
-
this.randomLabelName = 'radioBlock' + Math.random() * (900 - 700) + 700;
|
|
5239
|
-
}
|
|
5240
5259
|
eventSelected(event) {
|
|
5241
5260
|
if (!this.disabled) {
|
|
5242
5261
|
this.selected = event.target.checked;
|
|
@@ -6416,5 +6435,5 @@ const switchInOut = trigger('switchInOut', [
|
|
|
6416
6435
|
* Generated bundle index. Do not edit.
|
|
6417
6436
|
*/
|
|
6418
6437
|
|
|
6419
|
-
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, LoaderModule, LogoComponent, MosaicComponent, MultipleSearchComponent, MultipleSearchPlusComponent, OnlyNumberDirective, OptionCallToActionComponent, OptionComponent, OptionalDisableContainerComponent, PaginationComponent, PlaceholderComponent, PopinComponent, ProgressBarComponent, RadioComponent, RadioDirective, RadioGroupDirective, 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 };
|
|
6438
|
+
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, LoaderModule, 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 };
|
|
6420
6439
|
//# sourceMappingURL=wizishop-angular-components.mjs.map
|