@wizishop/angular-components 15.0.2 → 15.1.3
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 +316 -569
- package/esm2020/lib/components/alert/alert.component.mjs +3 -3
- package/esm2020/lib/components/alert-popup/alert-popup-module.mjs +4 -4
- package/esm2020/lib/components/alert-popup/alert-popup.component.mjs +3 -3
- package/esm2020/lib/components/alert-popup/alert-popup.service.mjs +3 -3
- package/esm2020/lib/components/back/back.component.mjs +3 -3
- package/esm2020/lib/components/block/block-title-legacy/block-title-legacy.component.mjs +3 -3
- package/esm2020/lib/components/block/block.component.mjs +7 -7
- package/esm2020/lib/components/block/separator/block-separator.component.mjs +3 -3
- package/esm2020/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +5 -5
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2020/lib/components/button/button.component.mjs +12 -12
- package/esm2020/lib/components/calendar/calendar.component.mjs +26 -26
- package/esm2020/lib/components/card-price/card-price.component.mjs +7 -5
- package/esm2020/lib/components/charging-bar/charging-bar.component.mjs +3 -3
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +15 -14
- package/esm2020/lib/components/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/lib/components/common/label/label.component.mjs +3 -3
- package/esm2020/lib/components/common/placeholder/placeholder.component.mjs +3 -3
- package/esm2020/lib/components/confirm-delete/confirm-delete.component.mjs +3 -3
- package/esm2020/lib/components/content-with-buttons/content-with-buttons.component.mjs +3 -3
- package/esm2020/lib/components/delete/delete.component.mjs +3 -3
- package/esm2020/lib/components/draganddrop-list/draganddrop-list.component.mjs +3 -3
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/lib/components/edit-in-place/edit-in-place.component.mjs +3 -3
- package/esm2020/lib/components/expanded-panel/expanded-panel.component.mjs +3 -3
- package/esm2020/lib/components/expansion/accordion/accordion.component.mjs +3 -3
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel-base.mjs +12 -12
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.component.mjs +7 -7
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.directive.mjs +3 -3
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header-base.mjs +7 -7
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.mjs +7 -7
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +3 -3
- package/esm2020/lib/components/expansion/expansion.module.mjs +4 -4
- package/esm2020/lib/components/filters/filters.component.mjs +3 -3
- package/esm2020/lib/components/free-popin/free-popin.component.mjs +3 -3
- package/esm2020/lib/components/google-preview/google-preview.component.mjs +3 -3
- package/esm2020/lib/components/header-page/header-page.component.mjs +21 -9
- package/esm2020/lib/components/hn/h1/h1.component.mjs +3 -3
- package/esm2020/lib/components/hn/h2/h2.component.mjs +3 -3
- package/esm2020/lib/components/hn/h3/h3.component.mjs +3 -3
- package/esm2020/lib/components/hn/h4/h4.component.mjs +3 -3
- package/esm2020/lib/components/image/image.component.mjs +3 -3
- package/esm2020/lib/components/info/info.component.mjs +3 -3
- package/esm2020/lib/components/inputs/input/input.component.mjs +3 -3
- package/esm2020/lib/components/inputs/input/input.module.mjs +4 -4
- package/esm2020/lib/components/inputs/input-search/input-search.component.mjs +3 -3
- package/esm2020/lib/components/inputs/input-search/input-search.module.mjs +4 -4
- package/esm2020/lib/components/inputs/input-with-select/input-with-select.component.mjs +5 -5
- package/esm2020/lib/components/link/link.component.mjs +9 -9
- package/esm2020/lib/components/loader/loader.component.mjs +3 -3
- package/esm2020/lib/components/loader/loader.module.mjs +4 -4
- package/esm2020/lib/components/logo/logo.component.mjs +3 -3
- package/esm2020/lib/components/mosaic/mosaic.component.mjs +3 -3
- package/esm2020/lib/components/multiple-search/multiple-search.component.mjs +3 -3
- package/esm2020/lib/components/multiple-search-plus/multiple-search-plus.component.mjs +3 -3
- package/esm2020/lib/components/optional-disable-container/optional-disable-container.component.mjs +3 -3
- package/esm2020/lib/components/pagination/pagination.component.mjs +7 -7
- package/esm2020/lib/components/pagination/pagination.module.mjs +4 -4
- package/esm2020/lib/components/pagination/pipes/array-pages.pipe.mjs +3 -3
- package/esm2020/lib/components/pagination/pipes/custom-text.pipe.mjs +3 -3
- package/esm2020/lib/components/pagination/pipes/is-last-page.pipe.mjs +3 -3
- package/esm2020/lib/components/popin/popin.component.mjs +5 -5
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/lib/components/radio/radio-directive.mjs +39 -0
- package/esm2020/lib/components/radio/radio-group.directive.mjs +34 -0
- package/esm2020/lib/components/radio/radio.component.mjs +3 -3
- package/esm2020/lib/components/search/search.component.mjs +3 -3
- package/esm2020/lib/components/selected-list/selected-list.component.mjs +3 -3
- package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +1 -1
- package/esm2020/lib/components/selects/option/option.component.mjs +8 -5
- package/esm2020/lib/components/selects/option/select-option.directive.mjs +18 -13
- package/esm2020/lib/components/selects/option-call-to-action/option-call-to-action.component.mjs +4 -4
- package/esm2020/lib/components/selects/select/select.component.mjs +197 -0
- package/esm2020/lib/components/selects/select/select.directive.mjs +164 -0
- package/esm2020/lib/components/selects/select/value-change.service.mjs +190 -0
- package/esm2020/lib/components/selects/select-in-text/select-in-text.component.mjs +11 -11
- package/esm2020/lib/components/selects/select-search-trigger/select-search-trigger.component.mjs +3 -3
- package/esm2020/lib/components/separator/separator.component.mjs +3 -3
- package/esm2020/lib/components/settings/settings.component.mjs +3 -3
- package/esm2020/lib/components/shared-components.module.mjs +9 -13
- package/esm2020/lib/components/snackbar/snackbar.component.mjs +3 -3
- package/esm2020/lib/components/state/state.component.mjs +3 -3
- package/esm2020/lib/components/summary/summary.component.mjs +8 -8
- package/esm2020/lib/components/switch/switch.component.mjs +3 -3
- package/esm2020/lib/components/tab/tab.component.mjs +3 -3
- package/esm2020/lib/components/table/directives/checkBoxRow.directive.mjs +13 -13
- package/esm2020/lib/components/table/directives/column.directive.mjs +3 -3
- package/esm2020/lib/components/table/directives/columnHeader.directive.mjs +11 -11
- package/esm2020/lib/components/table/directives/raw.directive.mjs +3 -3
- package/esm2020/lib/components/table/shared/filters-table.service.mjs +3 -3
- package/esm2020/lib/components/table/shared/table-checkbox-id.service.mjs +3 -3
- package/esm2020/lib/components/table/table.component.mjs +4 -4
- package/esm2020/lib/components/table/table.module.mjs +4 -4
- package/esm2020/lib/components/tag/tag.component.mjs +3 -3
- package/esm2020/lib/components/tag-label/tag-label.component.mjs +3 -3
- package/esm2020/lib/components/text/text.component.mjs +3 -3
- package/esm2020/lib/components/text-area/text-area.component.mjs +3 -3
- package/esm2020/lib/components/token-check/token-check.component.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/lib/components/tree/tree.component.mjs +11 -9
- package/esm2020/lib/components/tree/tree.dto.mjs +1 -1
- package/esm2020/lib/components/tree/tree.module.mjs +4 -4
- package/esm2020/lib/components/upload/upload.component.mjs +3 -3
- package/esm2020/lib/components/wrapper/wrapper.component.mjs +3 -3
- package/esm2020/lib/components/wrapper-blocs/wrapper-blocs.component.mjs +3 -3
- package/esm2020/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.mjs +3 -3
- package/esm2020/lib/components/wrapper-sidebar/wrapper-sidebar.component.mjs +3 -3
- package/esm2020/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +3 -3
- package/esm2020/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +3 -3
- package/esm2020/lib/directives/auto-hide/auto-hide.directive.mjs +3 -3
- package/esm2020/lib/directives/keyboard-events/keypress-enter.directive.mjs +8 -8
- package/esm2020/lib/directives/keyboard-events/only-numbers.directive.mjs +3 -3
- package/esm2020/lib/directives/keyboard-events/two-digital-decimal-number.directive.mjs +3 -3
- package/esm2020/lib/directives/ng-var.directive.mjs +12 -12
- package/esm2020/lib/directives/shared-directives.module.mjs +17 -9
- package/esm2020/lib/directives/zindex-toggle/zindex-toggle.directive.mjs +9 -9
- package/esm2020/lib/pipes/call-component-function.pipe.mjs +3 -3
- package/esm2020/lib/pipes/find-option-selected-field.pipe.mjs +3 -3
- package/esm2020/lib/pipes/select/filter-options.pipe.mjs +3 -3
- package/esm2020/lib/pipes/select/select-filters.pipe.mjs +3 -3
- package/esm2020/lib/pipes/selected-list/are-all-options-selected.pipe.mjs +3 -3
- package/esm2020/lib/pipes/shared-pipes.module.mjs +4 -4
- package/esm2020/lib/pipes/tree/format-object-to-recursif-tree.pipe.mjs +3 -3
- package/esm2020/lib/pipes/tree/format-object-to-simple-tree.pipe.mjs +3 -3
- package/esm2020/lib/services/dom.service.mjs +3 -3
- package/esm2020/lib/services/history.service.mjs +53 -0
- package/esm2020/lib/services/multiple-selection.service.mjs +3 -3
- package/esm2020/lib/utils/array.mjs +2 -0
- package/esm2020/lib/utils/uuid.mjs +8 -0
- package/esm2020/lib/wizi-components.module.mjs +4 -4
- package/esm2020/public-api.mjs +8 -5
- package/fesm2015/wizishop-angular-components.mjs +829 -748
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +828 -747
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/block/block.component.d.ts +1 -1
- package/lib/components/card-price/card-price.component.d.ts +2 -1
- package/lib/components/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/header-page/header-page.component.d.ts +8 -2
- package/lib/components/inputs/input-with-select/input-with-select.component.d.ts +1 -1
- package/lib/components/inputs/input-with-select/option-item.dto.d.ts +1 -1
- package/lib/components/mosaic/mosaic.component.d.ts +4 -4
- package/lib/components/radio/radio-directive.d.ts +12 -0
- package/lib/components/radio/radio-group.directive.d.ts +11 -0
- package/lib/components/selects/option/option-selection-handler.interface.d.ts +1 -0
- package/lib/components/selects/option/option.component.d.ts +1 -0
- package/lib/components/selects/option/select-option.directive.d.ts +3 -1
- package/lib/components/selects/{select-test → select}/select.component.d.ts +3 -3
- package/lib/components/selects/{select-test → select}/select.directive.d.ts +8 -5
- package/lib/components/selects/{select-test → select}/value-change.service.d.ts +15 -5
- package/lib/components/shared-components.module.d.ts +79 -80
- package/lib/components/tree/tree.component.d.ts +8 -7
- package/lib/components/tree/tree.dto.d.ts +1 -1
- package/lib/directives/shared-directives.module.d.ts +6 -4
- package/lib/pipes/call-component-function.pipe.d.ts +1 -1
- package/lib/services/history.service.d.ts +14 -0
- package/lib/utils/array.d.ts +1 -0
- package/lib/utils/uuid.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +7 -4
- package/wizishop-angular-components-15.1.3.tgz +0 -0
- package/esm2020/lib/components/selects/legacy-select/select.component.mjs +0 -133
- package/esm2020/lib/components/selects/select-test/select.component.mjs +0 -197
- package/esm2020/lib/components/selects/select-test/select.directive.mjs +0 -154
- package/esm2020/lib/components/selects/select-test/value-change.service.mjs +0 -144
- package/lib/components/selects/legacy-select/select.component.d.ts +0 -46
- package/wizishop-angular-components-15.0.2.tgz +0 -0
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef, QueryList, Renderer2 } from '@angular/core';
|
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { BlockSeparatorComponent } from './separator/block-separator.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type WacBlockConfig = Readonly<{
|
|
6
6
|
borderRadius?: string;
|
|
7
7
|
}>;
|
|
8
8
|
export declare class BlockComponent implements AfterViewInit {
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CardPriceComponent {
|
|
4
4
|
amount: string;
|
|
5
|
+
promo: string;
|
|
5
6
|
title: string;
|
|
6
7
|
selected: boolean;
|
|
7
8
|
btnLabelSelected: string;
|
|
@@ -23,5 +24,5 @@ export declare class CardPriceComponent {
|
|
|
23
24
|
triggerClick(): void;
|
|
24
25
|
removePackageTrigger(): void;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardPriceComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardPriceComponent, "wac-card-price", never, { "amount": "amount"; "title": "title"; "selected": "selected"; "btnLabelSelected": "btnLabelSelected"; "price": "price"; "currency": "currency"; "priceWording": "priceWording"; "subtitle": "subtitle"; "btnLabel": "btnLabel"; "packageSubtitle": "packageSubtitle"; "linkPackageLabel": "linkPackageLabel"; "disabled": "disabled"; "btnTextcolor": "btnTextcolor"; "extraClasses": "extraClasses"; "extraClassesSelected": "extraClassesSelected"; "hideButton": "hideButton"; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardPriceComponent, "wac-card-price", never, { "amount": "amount"; "promo": "promo"; "title": "title"; "selected": "selected"; "btnLabelSelected": "btnLabelSelected"; "price": "price"; "currency": "currency"; "priceWording": "priceWording"; "subtitle": "subtitle"; "btnLabel": "btnLabel"; "packageSubtitle": "packageSubtitle"; "linkPackageLabel": "linkPackageLabel"; "disabled": "disabled"; "btnTextcolor": "btnTextcolor"; "extraClasses": "extraClasses"; "extraClassesSelected": "extraClassesSelected"; "hideButton": "hideButton"; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, false, never>;
|
|
27
28
|
}
|
|
@@ -26,5 +26,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
26
26
|
onChange(value: any): void;
|
|
27
27
|
inputClick($event: any): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "wac-checkbox", never, { "label": "label"; "value": "value"; "type": "type"; "alone": "alone"; "checked": "checked"; "hasInput": "hasInput"; "inputPlaceholder": "inputPlaceholder"; "id": "id"; "name": "name"; "whiteSpace": "whiteSpace"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "wac-checkbox", never, { "label": "label"; "value": "value"; "type": "type"; "alone": "alone"; "checked": "checked"; "hasInput": "hasInput"; "inputPlaceholder": "inputPlaceholder"; "id": "id"; "name": "name"; "whiteSpace": "whiteSpace"; "disabled": "disabled"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { HistoryService } from '../../services/history.service';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class HeaderPageComponent {
|
|
5
|
+
private historyService;
|
|
6
|
+
private location;
|
|
3
7
|
title: string;
|
|
4
8
|
linkBack: string[];
|
|
5
9
|
withImg: boolean;
|
|
6
10
|
center: boolean;
|
|
7
|
-
|
|
11
|
+
useHistory: boolean;
|
|
12
|
+
constructor(historyService: HistoryService, location: Location);
|
|
13
|
+
back(): void;
|
|
8
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderPageComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderPageComponent, "wac-header-page", never, { "title": "title"; "linkBack": "linkBack"; "withImg": "withImg"; "center": "center"; }, {}, never, ["[role=header]", "[role=subtitle]", "*"], false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderPageComponent, "wac-header-page", never, { "title": "title"; "linkBack": "linkBack"; "withImg": "withImg"; "center": "center"; "useHistory": "useHistory"; }, {}, never, ["[role=header]", "[role=subtitle]", "*"], false, never>;
|
|
10
16
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class InputWithSelectComponent {
|
|
4
4
|
label: LabelComponent;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputWithSelectComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputWithSelectComponent, "wac-input-with-select", never, {}, {}, ["label"], ["wac-label, .wac-label", "input", "wac-select
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputWithSelectComponent, "wac-input-with-select", never, {}, {}, ["label"], ["wac-label, .wac-label", "input", "wac-select", "[text]"], false, never>;
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
export type ImageSource = string;
|
|
4
|
+
export type ImageAlt = string;
|
|
5
|
+
export type MosaicImage = {
|
|
6
6
|
src: ImageSource;
|
|
7
7
|
alt: ImageAlt;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type MosaicImages = Readonly<MosaicImage[]>;
|
|
10
10
|
export declare class MosaicComponent implements OnChanges {
|
|
11
11
|
imagesList: MosaicImages;
|
|
12
12
|
isLoading: boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { SelectOptionDirective } from '../selects/option/select-option.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RadioDirective<TOptionValue> extends SelectOptionDirective<TOptionValue> {
|
|
5
|
+
protected contentRef: ElementRef;
|
|
6
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
|
+
onClick(): void;
|
|
8
|
+
onSelectRadioOption(): void;
|
|
9
|
+
constructor(contentRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioDirective<any>, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioDirective<any>, "[wacRadio]", ["wacRadio"], {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SelectDirective } from '../selects/select/select.directive';
|
|
2
|
+
import { ValueChangeService } from '../selects/select/value-change.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RadioGroupDirective<TOptionValue> extends SelectDirective<TOptionValue> {
|
|
5
|
+
protected valueChangeService: ValueChangeService<TOptionValue>;
|
|
6
|
+
get multiple(): boolean;
|
|
7
|
+
set multiple(value: boolean);
|
|
8
|
+
constructor(valueChangeService: ValueChangeService<TOptionValue>);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupDirective<any>, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioGroupDirective<any>, "[wacRadioGroup]", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -5,6 +5,7 @@ export declare class OptionComponent<TOptionValue> extends SelectOptionDirective
|
|
|
5
5
|
protected contentRef: ElementRef;
|
|
6
6
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
7
|
contentOption: ElementRef;
|
|
8
|
+
checkBoxId: string;
|
|
8
9
|
constructor(contentRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
|
9
10
|
getContentRef(): ElementRef<any>;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent<any>, never>;
|
|
@@ -9,11 +9,12 @@ export declare class SelectOptionDirective<TOptionValue> implements OptionSelect
|
|
|
9
9
|
get isOptionDisabled(): boolean;
|
|
10
10
|
get cursor(): "not-allowed" | "pointer";
|
|
11
11
|
disabled: boolean;
|
|
12
|
-
|
|
12
|
+
protected disabledByParent: boolean;
|
|
13
13
|
value: TOptionValue;
|
|
14
14
|
selected: boolean;
|
|
15
15
|
onClickEventPreventDefault: boolean;
|
|
16
16
|
selectedChange: EventEmitter<boolean>;
|
|
17
|
+
multiple: boolean;
|
|
17
18
|
constructor(contentRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
|
18
19
|
setSelected(selected: boolean): void;
|
|
19
20
|
onSelectOption(): void;
|
|
@@ -22,6 +23,7 @@ export declare class SelectOptionDirective<TOptionValue> implements OptionSelect
|
|
|
22
23
|
isSelected(): boolean;
|
|
23
24
|
getContentRef(): ElementRef<any>;
|
|
24
25
|
setDisabledState(isDisabled: boolean): void;
|
|
26
|
+
setMultiple(multiple: boolean): void;
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionDirective<any>, never>;
|
|
26
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionDirective<any>, "[wacOption]", ["wacOption"], { "disabled": "disabled"; "value": "value"; "selected": "selected"; "onClickEventPreventDefault": "onClickEventPreventDefault"; }, { "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
27
29
|
}
|
|
@@ -5,7 +5,7 @@ import { SelectSearchTriggerComponent } from '../select-search-trigger/select-se
|
|
|
5
5
|
import { LabelComponent } from '../../common/label/label.component';
|
|
6
6
|
import { SelectDirective } from './select.directive';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class SelectComponent<TOptionValue> extends SelectDirective<TOptionValue> implements OnInit, OnDestroy {
|
|
9
9
|
protected valueChangeService: ValueChangeService<TOptionValue>;
|
|
10
10
|
role: string;
|
|
11
11
|
customSearchTrigger: SelectSearchTriggerComponent;
|
|
@@ -42,6 +42,6 @@ export declare class SelectTestComponent<TOptionValue> extends SelectDirective<T
|
|
|
42
42
|
onSelectTouch: (value: any) => void;
|
|
43
43
|
registerOnTouched(fn: any): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "wac-select", never, { "required": "required"; "keepPanelOpen": "keepPanelOpen"; "openPanel": "openPanel"; "enableSearch": "enableSearch"; }, { "openPanelChange": "openPanelChange"; }, ["customSearchTrigger", "label"], ["wac-label, .wac-label", "wac-select-search-trigger", "wac-placeholder,[role=placeholder]", "wac-option-call-to-action, wac-option, option, .option, [selectOption]"], false, never>;
|
|
47
47
|
}
|
|
@@ -11,10 +11,13 @@ export declare class SelectDirective<TOptionValue> implements OnInit, ControlVal
|
|
|
11
11
|
/** Handles all keydown events on the select. */
|
|
12
12
|
onKeydown(event: KeyboardEvent): void;
|
|
13
13
|
optionChildren: QueryList<OptionSelectionHandler<TOptionValue>>;
|
|
14
|
-
set value(value: TOptionValue);
|
|
15
|
-
get value(): TOptionValue;
|
|
16
|
-
_value: TOptionValue;
|
|
17
|
-
valueChange: EventEmitter<
|
|
14
|
+
set value(value: TOptionValue | TOptionValue[]);
|
|
15
|
+
get value(): TOptionValue | TOptionValue[];
|
|
16
|
+
_value: TOptionValue | TOptionValue[];
|
|
17
|
+
valueChange: EventEmitter<any>;
|
|
18
|
+
get multiple(): boolean;
|
|
19
|
+
set multiple(value: boolean);
|
|
20
|
+
private _multiple;
|
|
18
21
|
set disabled(disabled: boolean);
|
|
19
22
|
get disabled(): boolean;
|
|
20
23
|
_disabled: boolean;
|
|
@@ -35,5 +38,5 @@ export declare class SelectDirective<TOptionValue> implements OnInit, ControlVal
|
|
|
35
38
|
setDisabledState(isDisabled: boolean): void;
|
|
36
39
|
ngOnDestroy(): void;
|
|
37
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectDirective<any>, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective<any>, "[wacSelect]", ["wacSelect"], { "value": "value"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, { "valueChange": "valueChange"; }, ["optionChildren"], never, false, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective<any>, "[wacSelect]", ["wacSelect"], { "value": "value"; "multiple": "multiple"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, { "valueChange": "valueChange"; }, ["optionChildren"], never, false, never>;
|
|
39
42
|
}
|
|
@@ -4,9 +4,10 @@ import { OptionComponent } from '../option/option.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ValueChangeService<TOptionValue> implements OnDestroy {
|
|
6
6
|
private changeDetectorRef;
|
|
7
|
-
valueChange$: Subject<TOptionValue>;
|
|
8
|
-
set value(value: TOptionValue);
|
|
9
|
-
get value(): TOptionValue;
|
|
7
|
+
valueChange$: Subject<TOptionValue | TOptionValue[]>;
|
|
8
|
+
set value(value: TOptionValue | TOptionValue[]);
|
|
9
|
+
get value(): TOptionValue | TOptionValue[];
|
|
10
|
+
multiple: boolean;
|
|
10
11
|
private _value;
|
|
11
12
|
disabled: boolean;
|
|
12
13
|
optionChildren: QueryList<OptionComponent<TOptionValue>>;
|
|
@@ -15,21 +16,30 @@ export declare class ValueChangeService<TOptionValue> implements OnDestroy {
|
|
|
15
16
|
resetListeners$: Subject<void>;
|
|
16
17
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
17
18
|
handleSelectOptionsChange(optionChildren: QueryList<OptionComponent<TOptionValue>>, value: any): void;
|
|
18
|
-
assignValue(value:
|
|
19
|
+
assignValue(value: TOptionValue | TOptionValue[]): void;
|
|
19
20
|
handleValueChange(): void;
|
|
20
21
|
setDisabledState(isDisabled: boolean): void;
|
|
21
22
|
selectNextOption(): void;
|
|
22
23
|
selectPreviousOption(): void;
|
|
23
24
|
searchOptionByFirstLetter(letter: string): void;
|
|
25
|
+
setMultiple(value: boolean): void;
|
|
24
26
|
private indexOfMatchedOption;
|
|
25
27
|
private isNotNull;
|
|
26
28
|
private highestAndClosestIndex;
|
|
29
|
+
private handleMultipleSelection;
|
|
27
30
|
private handleInitialSelectedOption;
|
|
31
|
+
private mustUpdateValueWithInitialSelectedOptionValues;
|
|
28
32
|
private handleSelectedOptionsEvent;
|
|
29
33
|
private updateSelectPlaceholder;
|
|
30
|
-
private
|
|
34
|
+
private getSelectedOptionsContent;
|
|
35
|
+
private getSelectedOptionComponents;
|
|
36
|
+
private getSelectedOptionsValues;
|
|
31
37
|
private optionSelectedChangeListeners;
|
|
32
38
|
private changeSelectedOption;
|
|
39
|
+
/**
|
|
40
|
+
* May not work with objects values
|
|
41
|
+
*/
|
|
42
|
+
private isSelectedValue;
|
|
33
43
|
ngOnDestroy(): void;
|
|
34
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValueChangeService<any>, never>;
|
|
35
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<ValueChangeService<any>>;
|
|
@@ -27,87 +27,86 @@ import * as i25 from "./text/text.component";
|
|
|
27
27
|
import * as i26 from "./text-area/text-area.component";
|
|
28
28
|
import * as i27 from "./upload/upload.component";
|
|
29
29
|
import * as i28 from "./selects/select-in-text/select-in-text.component";
|
|
30
|
-
import * as i29 from "./
|
|
31
|
-
import * as i30 from "./multiple-search/multiple-search.component";
|
|
32
|
-
import * as i31 from "./
|
|
33
|
-
import * as i32 from "./
|
|
34
|
-
import * as i33 from "./popin/popin.component";
|
|
35
|
-
import * as i34 from "./
|
|
36
|
-
import * as i35 from "./block/block.component";
|
|
37
|
-
import * as i36 from "./
|
|
38
|
-
import * as i37 from "./
|
|
39
|
-
import * as i38 from "./
|
|
40
|
-
import * as i39 from "./
|
|
41
|
-
import * as i40 from "./
|
|
42
|
-
import * as i41 from "./
|
|
43
|
-
import * as i42 from "./
|
|
44
|
-
import * as i43 from "./
|
|
45
|
-
import * as i44 from "./selects/
|
|
46
|
-
import * as i45 from "./selects/option/option.component";
|
|
47
|
-
import * as i46 from "./
|
|
48
|
-
import * as i47 from "./common/
|
|
49
|
-
import * as i48 from "./
|
|
50
|
-
import * as i49 from "./
|
|
51
|
-
import * as i50 from "./
|
|
52
|
-
import * as i51 from "./
|
|
53
|
-
import * as i52 from "./
|
|
54
|
-
import * as i53 from "./
|
|
55
|
-
import * as i54 from "./
|
|
56
|
-
import * as i55 from "./
|
|
57
|
-
import * as i56 from "./
|
|
58
|
-
import * as i57 from "./
|
|
59
|
-
import * as i58 from "./
|
|
60
|
-
import * as i59 from "./
|
|
61
|
-
import * as i60 from "./
|
|
62
|
-
import * as i61 from "./
|
|
63
|
-
import * as i62 from "./
|
|
64
|
-
import * as i63 from "./
|
|
65
|
-
import * as i64 from "
|
|
66
|
-
import * as i65 from "@angular/
|
|
67
|
-
import * as i66 from "@
|
|
68
|
-
import * as i67 from "@
|
|
69
|
-
import * as i68 from "
|
|
70
|
-
import * as i69 from "../
|
|
71
|
-
import * as i70 from "
|
|
72
|
-
import * as i71 from "
|
|
73
|
-
import * as i72 from "
|
|
74
|
-
import * as i73 from "
|
|
75
|
-
import * as i74 from "./
|
|
76
|
-
import * as i75 from "./
|
|
77
|
-
import * as i76 from "./
|
|
78
|
-
import * as i77 from "./
|
|
79
|
-
import * as i78 from "./
|
|
80
|
-
import * as i79 from "./
|
|
81
|
-
import * as i80 from "./
|
|
82
|
-
import * as i81 from "
|
|
83
|
-
import * as i82 from "
|
|
84
|
-
import * as i83 from "
|
|
85
|
-
import * as i84 from "
|
|
86
|
-
import * as i85 from "ngx-
|
|
87
|
-
import * as i86 from "ngx-scrollbar";
|
|
88
|
-
import * as i87 from "
|
|
89
|
-
import * as i88 from "./
|
|
90
|
-
import * as i89 from "./
|
|
91
|
-
import * as i90 from "./
|
|
92
|
-
import * as i91 from "./table/
|
|
93
|
-
import * as i92 from "./table/directives/
|
|
94
|
-
import * as i93 from "./table/directives/
|
|
95
|
-
import * as i94 from "./table/directives/
|
|
96
|
-
import * as i95 from "./
|
|
97
|
-
import * as i96 from "./inputs/input
|
|
98
|
-
import * as i97 from "./
|
|
99
|
-
import * as i98 from "./
|
|
100
|
-
import * as i99 from "./
|
|
101
|
-
import * as i100 from "./
|
|
102
|
-
import * as i101 from "./
|
|
103
|
-
import * as i102 from "./
|
|
104
|
-
import * as i103 from "./expansion/expansion-panel/expansion-panel.component";
|
|
105
|
-
import * as i104 from "./expansion/
|
|
106
|
-
import * as i105 from "./expansion/
|
|
107
|
-
import * as i106 from "./expansion/expansion-panel/expansion-panel.directive";
|
|
108
|
-
import * as i107 from "./expansion/expansion-panel-header/expansion-panel-header.directive";
|
|
30
|
+
import * as i29 from "./multiple-search/multiple-search.component";
|
|
31
|
+
import * as i30 from "./multiple-search-plus/multiple-search-plus.component";
|
|
32
|
+
import * as i31 from "./inputs/input-with-select/input-with-select.component";
|
|
33
|
+
import * as i32 from "./popin/popin.component";
|
|
34
|
+
import * as i33 from "./free-popin/free-popin.component";
|
|
35
|
+
import * as i34 from "./block/block.component";
|
|
36
|
+
import * as i35 from "./block/block-title-legacy/block-title-legacy.component";
|
|
37
|
+
import * as i36 from "./wrapper/wrapper.component";
|
|
38
|
+
import * as i37 from "./filters/filters.component";
|
|
39
|
+
import * as i38 from "./wrapper-blocs/wrapper-blocs.component";
|
|
40
|
+
import * as i39 from "./snackbar/snackbar.component";
|
|
41
|
+
import * as i40 from "./search/search.component";
|
|
42
|
+
import * as i41 from "./selected-list/selected-list.component";
|
|
43
|
+
import * as i42 from "./optional-disable-container/optional-disable-container.component";
|
|
44
|
+
import * as i43 from "./selects/select/select.component";
|
|
45
|
+
import * as i44 from "./selects/option/option.component";
|
|
46
|
+
import * as i45 from "./selects/option-call-to-action/option-call-to-action.component";
|
|
47
|
+
import * as i46 from "./common/placeholder/placeholder.component";
|
|
48
|
+
import * as i47 from "./common/label/label.component";
|
|
49
|
+
import * as i48 from "./selects/select-search-trigger/select-search-trigger.component";
|
|
50
|
+
import * as i49 from "./wrapper-sidebar/wrapper-sidebar.component";
|
|
51
|
+
import * as i50 from "./breadcrumbs/breadcrumbs.component";
|
|
52
|
+
import * as i51 from "./card-price/card-price.component";
|
|
53
|
+
import * as i52 from "./token-check/token-check.component";
|
|
54
|
+
import * as i53 from "./block-with-checkbox/block-with-checkbox.component";
|
|
55
|
+
import * as i54 from "./confirm-delete/confirm-delete.component";
|
|
56
|
+
import * as i55 from "./mosaic/mosaic.component";
|
|
57
|
+
import * as i56 from "./content-with-buttons/content-with-buttons.component";
|
|
58
|
+
import * as i57 from "./wrapper-multiple-block/wrapper-multiple-block.component";
|
|
59
|
+
import * as i58 from "./draganddrop-list/draganddrop-list.component";
|
|
60
|
+
import * as i59 from "./block/separator/block-separator.component";
|
|
61
|
+
import * as i60 from "./summary/summary.component";
|
|
62
|
+
import * as i61 from "./google-preview/google-preview.component";
|
|
63
|
+
import * as i62 from "./charging-bar/charging-bar.component";
|
|
64
|
+
import * as i63 from "./expanded-panel/expanded-panel.component";
|
|
65
|
+
import * as i64 from "@angular/common";
|
|
66
|
+
import * as i65 from "@angular/forms";
|
|
67
|
+
import * as i66 from "@wizishop/ng-wizi-bulma";
|
|
68
|
+
import * as i67 from "@ngx-translate/core";
|
|
69
|
+
import * as i68 from "../directives/shared-directives.module";
|
|
70
|
+
import * as i69 from "../pipes/shared-pipes.module";
|
|
71
|
+
import * as i70 from "@angular/cdk/table";
|
|
72
|
+
import * as i71 from "ngx-chips";
|
|
73
|
+
import * as i72 from "@angular/cdk/drag-drop";
|
|
74
|
+
import * as i73 from "./pagination/pagination.module";
|
|
75
|
+
import * as i74 from "./table/table.module";
|
|
76
|
+
import * as i75 from "./inputs/input-search/input-search.module";
|
|
77
|
+
import * as i76 from "./tooltip/tooltip.module";
|
|
78
|
+
import * as i77 from "./checkbox/checkbox.module";
|
|
79
|
+
import * as i78 from "./inputs/input/input.module";
|
|
80
|
+
import * as i79 from "./loader/loader.module";
|
|
81
|
+
import * as i80 from "./progress-bar/progress-bar.module";
|
|
82
|
+
import * as i81 from "ngx-perfect-scrollbar";
|
|
83
|
+
import * as i82 from "./alert-popup/alert-popup-module";
|
|
84
|
+
import * as i83 from "@angular/router";
|
|
85
|
+
import * as i84 from "ngx-autosize";
|
|
86
|
+
import * as i85 from "ngx-scrollbar";
|
|
87
|
+
import * as i86 from "ngx-scrollbar/reached-event";
|
|
88
|
+
import * as i87 from "./tree/tree.module";
|
|
89
|
+
import * as i88 from "./expansion/expansion.module";
|
|
90
|
+
import * as i89 from "./pagination/pagination.component";
|
|
91
|
+
import * as i90 from "./table/table.component";
|
|
92
|
+
import * as i91 from "./table/directives/column.directive";
|
|
93
|
+
import * as i92 from "./table/directives/checkBoxRow.directive";
|
|
94
|
+
import * as i93 from "./table/directives/columnHeader.directive";
|
|
95
|
+
import * as i94 from "./table/directives/raw.directive";
|
|
96
|
+
import * as i95 from "./inputs/input-search/input-search.component";
|
|
97
|
+
import * as i96 from "./inputs/input/input.component";
|
|
98
|
+
import * as i97 from "./tooltip/tooltip.component";
|
|
99
|
+
import * as i98 from "./checkbox/checkbox.component";
|
|
100
|
+
import * as i99 from "./loader/loader.component";
|
|
101
|
+
import * as i100 from "./progress-bar/progress-bar.component";
|
|
102
|
+
import * as i101 from "./tree/tree.component";
|
|
103
|
+
import * as i102 from "./expansion/expansion-panel/expansion-panel.component";
|
|
104
|
+
import * as i103 from "./expansion/expansion-panel-header/expansion-panel-header.component";
|
|
105
|
+
import * as i104 from "./expansion/accordion/accordion.component";
|
|
106
|
+
import * as i105 from "./expansion/expansion-panel/expansion-panel.directive";
|
|
107
|
+
import * as i106 from "./expansion/expansion-panel-header/expansion-panel-header.directive";
|
|
109
108
|
export declare class SharedComponentsModule {
|
|
110
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
|
|
111
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof i1.TagComponent, typeof i2.TabComponent, typeof i3.ButtonComponent, typeof i4.InfoComponent, typeof i5.SettingsComponent, typeof i6.DeleteComponent, typeof i7.DropdownComponent, typeof i8.ImageComponent, typeof i9.BackComponent, typeof i10.SeparatorComponent, typeof i11.LogoComponent, typeof i12.RadioComponent, typeof i13.StateComponent, typeof i14.TagLabelComponent, typeof i15.CalendarComponent, typeof i16.WzEditInPlaceComponent, typeof i17.AlertComponent, typeof i18.HeaderPageComponent, typeof i19.SwitchComponent, typeof i20.LinkComponent, typeof i21.H1Component, typeof i22.H2Component, typeof i23.H3Component, typeof i24.H4Component, typeof i25.TextComponent, typeof i26.TextAreaComponent, typeof i27.UploadComponent, typeof i28.SelectInTextComponent, typeof i29.
|
|
110
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof i1.TagComponent, typeof i2.TabComponent, typeof i3.ButtonComponent, typeof i4.InfoComponent, typeof i5.SettingsComponent, typeof i6.DeleteComponent, typeof i7.DropdownComponent, typeof i8.ImageComponent, typeof i9.BackComponent, typeof i10.SeparatorComponent, typeof i11.LogoComponent, typeof i12.RadioComponent, typeof i13.StateComponent, typeof i14.TagLabelComponent, typeof i15.CalendarComponent, typeof i16.WzEditInPlaceComponent, typeof i17.AlertComponent, typeof i18.HeaderPageComponent, typeof i19.SwitchComponent, typeof i20.LinkComponent, typeof i21.H1Component, typeof i22.H2Component, typeof i23.H3Component, typeof i24.H4Component, typeof i25.TextComponent, typeof i26.TextAreaComponent, typeof i27.UploadComponent, typeof i28.SelectInTextComponent, typeof i29.MultipleSearchComponent, typeof i30.MultipleSearchPlusComponent, typeof i31.InputWithSelectComponent, typeof i32.PopinComponent, typeof i33.FreePopinComponent, typeof i34.BlockComponent, typeof i35.BlockTitleLegacyComponent, typeof i36.WrapperComponent, typeof i37.FiltersComponent, typeof i38.WrapperBlocsComponent, typeof i39.SnackbarComponent, typeof i40.SearchComponent, typeof i41.SelectedListComponent, typeof i42.OptionalDisableContainerComponent, typeof i43.SelectComponent, typeof i44.OptionComponent, typeof i45.OptionCallToActionComponent, typeof i46.PlaceholderComponent, typeof i47.LabelComponent, typeof i48.SelectSearchTriggerComponent, typeof i49.WrapperSidebarComponent, typeof i50.BreadcrumbsComponent, typeof i51.CardPriceComponent, typeof i52.TokenCheckComponent, typeof i53.BlockWithCheckboxComponent, typeof i54.ConfirmDeleteComponent, typeof i55.MosaicComponent, typeof i56.ContentWithButtonsComponent, typeof i57.WrapperMultipleBlockComponent, typeof i58.DraganddropListComponent, typeof i59.BlockSeparatorComponent, typeof i60.SummaryComponent, typeof i61.GooglePreviewComponent, typeof i58.DraganddropListComponent, typeof i62.ChargingBarComponent, typeof i63.ExpandedPanelComponent], [typeof i64.CommonModule, typeof i65.FormsModule, typeof i66.NwbAllModule, typeof i67.TranslateModule, typeof i65.ReactiveFormsModule, typeof i68.SharedDirectives, typeof i69.SharedPipes, typeof i70.CdkTableModule, typeof i71.TagInputModule, typeof i72.DragDropModule, typeof i73.PaginationModule, typeof i74.TableModule, typeof i75.InputSearchModule, typeof i76.TooltipModule, typeof i77.CheckboxModule, typeof i78.InputModule, typeof i79.LoaderModule, typeof i80.ProgressBarModule, typeof i81.PerfectScrollbarModule, typeof i82.AlertPopupModule, typeof i83.RouterModule, typeof i84.AutosizeModule, typeof i85.NgScrollbarModule, typeof i86.NgScrollbarReachedModule, typeof i87.TreeModule, typeof i88.ExpansionModule], [typeof i1.TagComponent, typeof i2.TabComponent, typeof i3.ButtonComponent, typeof i4.InfoComponent, typeof i5.SettingsComponent, typeof i6.DeleteComponent, typeof i7.DropdownComponent, typeof i8.ImageComponent, typeof i9.BackComponent, typeof i10.SeparatorComponent, typeof i11.LogoComponent, typeof i12.RadioComponent, typeof i13.StateComponent, typeof i14.TagLabelComponent, typeof i15.CalendarComponent, typeof i16.WzEditInPlaceComponent, typeof i17.AlertComponent, typeof i18.HeaderPageComponent, typeof i19.SwitchComponent, typeof i20.LinkComponent, typeof i21.H1Component, typeof i22.H2Component, typeof i23.H3Component, typeof i24.H4Component, typeof i25.TextComponent, typeof i26.TextAreaComponent, typeof i27.UploadComponent, typeof i28.SelectInTextComponent, typeof i29.MultipleSearchComponent, typeof i30.MultipleSearchPlusComponent, typeof i31.InputWithSelectComponent, typeof i32.PopinComponent, typeof i33.FreePopinComponent, typeof i34.BlockComponent, typeof i35.BlockTitleLegacyComponent, typeof i36.WrapperComponent, typeof i37.FiltersComponent, typeof i38.WrapperBlocsComponent, typeof i39.SnackbarComponent, typeof i40.SearchComponent, typeof i41.SelectedListComponent, typeof i42.OptionalDisableContainerComponent, typeof i43.SelectComponent, typeof i44.OptionComponent, typeof i45.OptionCallToActionComponent, typeof i46.PlaceholderComponent, typeof i47.LabelComponent, typeof i48.SelectSearchTriggerComponent, typeof i49.WrapperSidebarComponent, typeof i50.BreadcrumbsComponent, typeof i51.CardPriceComponent, typeof i52.TokenCheckComponent, typeof i53.BlockWithCheckboxComponent, typeof i54.ConfirmDeleteComponent, typeof i55.MosaicComponent, typeof i56.ContentWithButtonsComponent, typeof i57.WrapperMultipleBlockComponent, typeof i58.DraganddropListComponent, typeof i59.BlockSeparatorComponent, typeof i60.SummaryComponent, typeof i61.GooglePreviewComponent, typeof i58.DraganddropListComponent, typeof i62.ChargingBarComponent, typeof i63.ExpandedPanelComponent, typeof i89.PaginationComponent, typeof i90.TableComponent, typeof i91.TableColumn, typeof i92.CheckBoxRow, typeof i93.TableColumnHeader, typeof i94.TableRow, typeof i95.InputSearchComponent, typeof i96.InputComponent, typeof i97.TooltipComponent, typeof i98.CheckboxComponent, typeof i99.LoaderComponent, typeof i100.ProgressBarComponent, typeof i101.TreeComponent, typeof i102.ExpansionPanelComponent, typeof i103.ExpansionPanelHeaderComponent, typeof i104.AccordionComponent, typeof i105.ExpansionPanelDirective, typeof i106.ExpansionPanelHeaderDirective]>;
|
|
112
111
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
|
|
113
112
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { RecursifDto } from './tree.dto';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TreeComponent
|
|
4
|
+
export declare class TreeComponent<Tree extends RecursifDto<Tree>> {
|
|
5
|
+
constructor();
|
|
4
6
|
/**
|
|
5
7
|
*! items sould include RecursifDto interface
|
|
6
8
|
*/
|
|
7
|
-
items:
|
|
9
|
+
items: Tree[];
|
|
8
10
|
treeDepth: number;
|
|
9
11
|
optionTemplate: TemplateRef<any>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
static
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "wac-tree", never, { "items": "items"; "treeDepth": "treeDepth"; "optionTemplate": "optionTemplate"; }, {}, never, never, false, never>;
|
|
12
|
+
trackByFn: (index: number, item: Tree) => any;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeComponent<any>, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent<any>, "wac-tree", never, { "items": "items"; "treeDepth": "treeDepth"; "optionTemplate": "optionTemplate"; "trackByFn": "trackByFn"; }, {}, never, never, false, never>;
|
|
14
15
|
}
|
|
@@ -6,13 +6,15 @@ import * as i4 from "./zindex-toggle/zindex-toggle.directive";
|
|
|
6
6
|
import * as i5 from "./ng-var.directive";
|
|
7
7
|
import * as i6 from "./keyboard-events/keypress-enter.directive";
|
|
8
8
|
import * as i7 from "../components/selects/option/select-option.directive";
|
|
9
|
-
import * as i8 from "../components/selects/select
|
|
9
|
+
import * as i8 from "../components/selects/select/select.directive";
|
|
10
10
|
import * as i9 from "./keyboard-events/only-numbers.directive";
|
|
11
11
|
import * as i10 from "./keyboard-events/two-digital-decimal-number.directive";
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
12
|
+
import * as i11 from "../components/radio/radio-directive";
|
|
13
|
+
import * as i12 from "../components/radio/radio-group.directive";
|
|
14
|
+
import * as i13 from "@angular/common";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
14
16
|
export declare class SharedDirectives {
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectives, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectives, [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective], [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectives, [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective, typeof i11.RadioDirective, typeof i12.RadioGroupDirective], [typeof i13.CommonModule, typeof i14.FormsModule], [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective, typeof i11.RadioDirective, typeof i12.RadioGroupDirective]>;
|
|
17
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectives>;
|
|
18
20
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
/**
|
|
4
4
|
* Typed mapping function.
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type Mapper<T, G> = (item: T, ...args: any[]) => G;
|
|
7
7
|
export declare class CallComponentFunctionPipe implements PipeTransform {
|
|
8
8
|
/**
|
|
9
9
|
* Maps object to an arbitrary result through a plan-name function
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HistoryService {
|
|
4
|
+
private router;
|
|
5
|
+
private history;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
registerHistory(): void;
|
|
8
|
+
back(link: string[]): void;
|
|
9
|
+
redirect(link: string[]): void;
|
|
10
|
+
redirectToExternalLink(link: string[]): void;
|
|
11
|
+
redirectToInternalLink(link: string[]): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HistoryService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HistoryService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const compareArrays: <TItem>(a: TItem[], b: TItem[]) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const uuid: () => string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export * from './lib/components/back/back.component';
|
|
|
12
12
|
export * from './lib/components/separator/separator.component';
|
|
13
13
|
export * from './lib/components/logo/logo.component';
|
|
14
14
|
export * from './lib/components/radio/radio.component';
|
|
15
|
+
export * from './lib/components/radio/radio-directive';
|
|
16
|
+
export * from './lib/components/radio/radio-group.directive';
|
|
15
17
|
export * from './lib/components/state/state.component';
|
|
16
18
|
export * from './lib/components/tag-label/tag-label.component';
|
|
17
19
|
export * from './lib/components/calendar/calendar.component';
|
|
@@ -42,7 +44,6 @@ export * from './lib/components/checkbox/checkbox.component';
|
|
|
42
44
|
export * from './lib/components/loader/loader.component';
|
|
43
45
|
export * from './lib/components/progress-bar/progress-bar.component';
|
|
44
46
|
export * from './lib/components/upload/upload.component';
|
|
45
|
-
export * from './lib/components/selects/legacy-select/select.component';
|
|
46
47
|
export * from './lib/components/selects/select-items.dto';
|
|
47
48
|
export * from './lib/components/inputs/input-with-select/input-with-select.component';
|
|
48
49
|
export * from './lib/components/inputs/input-with-select/option-item.dto';
|
|
@@ -56,6 +57,7 @@ export * from './lib/directives/zindex-toggle/zindex-toggle.directive';
|
|
|
56
57
|
export * from './lib/directives/keyboard-events/only-numbers.directive';
|
|
57
58
|
export * from './lib/directives/ng-var.directive';
|
|
58
59
|
export * from './lib/utils/html-container.class';
|
|
60
|
+
export * from './lib/utils/uuid';
|
|
59
61
|
export * from './lib/components/selects/call-to-action.model';
|
|
60
62
|
export * from './lib/components/table/shared/filters-table.service';
|
|
61
63
|
export * from './lib/components/table/shared/table-filters.model';
|
|
@@ -105,9 +107,9 @@ export * from './lib/directives/keyboard-events/keypress-enter.directive';
|
|
|
105
107
|
export * from './lib/directives/keyboard-events/two-digital-decimal-number.directive';
|
|
106
108
|
export * from './lib/components/optional-disable-container/optional-disable-container.component';
|
|
107
109
|
export * from './lib/components/summary/summary.component';
|
|
108
|
-
export * from './lib/components/selects/select
|
|
109
|
-
export * from './lib/components/selects/select
|
|
110
|
-
export * from './lib/components/selects/select
|
|
110
|
+
export * from './lib/components/selects/select/select.component';
|
|
111
|
+
export * from './lib/components/selects/select/value-change.service';
|
|
112
|
+
export * from './lib/components/selects/select/select.directive';
|
|
111
113
|
export * from './lib/components/selects/option/option.component';
|
|
112
114
|
export * from './lib/components/selects/option-call-to-action/option-call-to-action.component';
|
|
113
115
|
export * from './lib/components/common/placeholder/placeholder.component';
|
|
@@ -136,3 +138,4 @@ export * from './lib/animations/list/animate-list-from-left.animation';
|
|
|
136
138
|
export * from './lib/animations/switch/switch-in-out.animation';
|
|
137
139
|
export * from './lib/animations/in-out/in-out-x.animation';
|
|
138
140
|
export * from './lib/animations/in-out/in-out-y.animation';
|
|
141
|
+
export * from './lib/services/history.service';
|
|
Binary file
|