@wizishop/angular-components 15.1.4 → 15.1.6
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 +193 -178
- 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 +5 -5
- 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 +3 -3
- 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 +3 -3
- package/esm2020/lib/components/charging-bar/charging-bar.component.mjs +3 -3
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +12 -12
- 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 +5 -5
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.component.mjs +9 -9
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.directive.mjs +77 -9
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.mjs +9 -9
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +38 -9
- 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 +4 -4
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +6 -6
- package/esm2020/lib/components/radio/radio-group.directive.mjs +11 -11
- package/esm2020/lib/components/radio/radio.component.mjs +3 -3
- package/esm2020/lib/components/search/search.component.mjs +4 -4
- package/esm2020/lib/components/select/call-to-action.model.mjs +2 -0
- package/esm2020/lib/components/select/option/option-selection-handler.interface.mjs +2 -0
- package/esm2020/lib/components/select/option/option-selection-handler.token.mjs +3 -0
- package/esm2020/lib/components/select/option/option.component.mjs +28 -0
- package/esm2020/lib/components/select/option/select-option.directive.mjs +97 -0
- package/esm2020/lib/components/select/option-call-to-action/option-call-to-action.component.mjs +12 -0
- package/esm2020/lib/components/select/select/select.component.mjs +194 -0
- package/esm2020/lib/components/select/select/select.directive.mjs +164 -0
- package/esm2020/lib/components/select/select/value-change.service.mjs +190 -0
- package/esm2020/lib/components/select/select-items.dto.mjs +2 -0
- package/esm2020/lib/components/{selects → select}/select-search-trigger/select-search-trigger.component.mjs +4 -4
- package/esm2020/lib/components/select-in-text/select-in-text.component.mjs +103 -0
- package/esm2020/lib/components/selected-list/selected-list.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 +19 -18
- 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 +8 -5
- package/esm2020/lib/components/table/directives/checkBoxRow.directive.mjs +16 -19
- package/esm2020/lib/components/table/directives/column.directive.mjs +6 -8
- package/esm2020/lib/components/table/directives/columnHeader.directive.mjs +17 -23
- 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 +3 -3
- 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 +3 -3
- 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/copy-to-clipboard/copy-to-clipboard.directive.mjs +32 -0
- 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 +13 -12
- package/esm2020/lib/directives/zindex-toggle/zindex-toggle.directive.mjs +9 -9
- package/esm2020/lib/pipes/call-component-function.pipe.mjs +5 -4
- 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 +4 -4
- package/esm2020/lib/pipes/selected-list/are-all-options-selected.pipe.mjs +3 -3
- package/esm2020/lib/pipes/shared-pipes.module.mjs +12 -15
- 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 +3 -3
- package/esm2020/lib/services/multiple-selection.service.mjs +3 -3
- package/esm2020/lib/wizi-components.module.mjs +4 -4
- package/esm2020/public-api.mjs +13 -12
- package/fesm2015/wizishop-angular-components.mjs +638 -645
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +638 -645
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/alert-popup/alert-popup.component.d.ts +1 -1
- package/lib/components/back/back.component.d.ts +1 -1
- package/lib/components/block/block-title-legacy/block-title-legacy.component.d.ts +1 -1
- package/lib/components/block/block.component.d.ts +2 -2
- package/lib/components/block/separator/block-separator.component.d.ts +1 -1
- package/lib/components/block-with-checkbox/block-with-checkbox.component.d.ts +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/lib/components/button/button.component.d.ts +1 -1
- package/lib/components/calendar/calendar.component.d.ts +1 -1
- package/lib/components/card-price/card-price.component.d.ts +1 -1
- package/lib/components/charging-bar/charging-bar.component.d.ts +1 -1
- package/lib/components/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/common/label/label.component.d.ts +1 -1
- package/lib/components/common/placeholder/placeholder.component.d.ts +1 -1
- package/lib/components/confirm-delete/confirm-delete.component.d.ts +1 -1
- package/lib/components/content-with-buttons/content-with-buttons.component.d.ts +1 -1
- package/lib/components/delete/delete.component.d.ts +1 -1
- package/lib/components/draganddrop-list/draganddrop-list.component.d.ts +1 -1
- package/lib/components/dropdown/dropdown.component.d.ts +1 -1
- package/lib/components/edit-in-place/edit-in-place.component.d.ts +1 -1
- package/lib/components/expanded-panel/expanded-panel.component.d.ts +1 -1
- package/lib/components/expansion/accordion/accordion.component.d.ts +1 -1
- package/lib/components/expansion/expansion-panel/expansion-panel.component.d.ts +3 -3
- package/lib/components/expansion/expansion-panel/expansion-panel.directive.d.ts +21 -4
- package/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.d.ts +3 -3
- package/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.d.ts +14 -4
- package/lib/components/expansion/expansion.module.d.ts +1 -3
- package/lib/components/filters/filters.component.d.ts +1 -1
- package/lib/components/free-popin/free-popin.component.d.ts +1 -1
- package/lib/components/google-preview/google-preview.component.d.ts +1 -1
- package/lib/components/header-page/header-page.component.d.ts +1 -1
- package/lib/components/hn/h1/h1.component.d.ts +1 -1
- package/lib/components/hn/h2/h2.component.d.ts +1 -1
- package/lib/components/hn/h3/h3.component.d.ts +1 -1
- package/lib/components/hn/h4/h4.component.d.ts +1 -1
- package/lib/components/image/image.component.d.ts +1 -1
- package/lib/components/info/info.component.d.ts +1 -1
- package/lib/components/inputs/input/input.component.d.ts +1 -1
- package/lib/components/inputs/input-search/input-search.component.d.ts +1 -1
- 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/link/link.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/logo/logo.component.d.ts +1 -1
- package/lib/components/mosaic/mosaic.component.d.ts +5 -5
- package/lib/components/multiple-search/multiple-search.component.d.ts +1 -1
- package/lib/components/multiple-search-plus/multiple-search-plus.component.d.ts +1 -1
- package/lib/components/optional-disable-container/optional-disable-container.component.d.ts +1 -1
- package/lib/components/pagination/pagination.component.d.ts +1 -1
- package/lib/components/popin/popin.component.d.ts +1 -1
- package/lib/components/progress-bar/progress-bar.component.d.ts +1 -1
- package/lib/components/radio/radio-directive.d.ts +2 -2
- package/lib/components/radio/radio-group.directive.d.ts +3 -3
- package/lib/components/radio/radio.component.d.ts +1 -1
- package/lib/components/search/search.component.d.ts +1 -1
- package/lib/components/{selects → select}/call-to-action.model.d.ts +0 -0
- package/lib/components/{selects → select}/option/option-selection-handler.interface.d.ts +0 -0
- package/lib/components/{selects → select}/option/option-selection-handler.token.d.ts +0 -0
- package/lib/components/{selects → select}/option/option.component.d.ts +1 -1
- package/lib/components/{selects → select}/option/select-option.directive.d.ts +1 -1
- package/lib/components/{selects → select}/option-call-to-action/option-call-to-action.component.d.ts +1 -1
- package/lib/components/{selects → select}/select/select.component.d.ts +1 -2
- package/lib/components/{selects → select}/select/select.directive.d.ts +1 -1
- package/lib/components/{selects → select}/select/value-change.service.d.ts +0 -0
- package/lib/components/{selects → select}/select-items.dto.d.ts +0 -0
- package/lib/components/{selects → select}/select-search-trigger/select-search-trigger.component.d.ts +1 -1
- package/lib/components/{selects/select-in-text → select-in-text}/select-in-text.component.d.ts +3 -3
- package/lib/components/selected-list/selected-list.component.d.ts +1 -1
- package/lib/components/separator/separator.component.d.ts +1 -1
- package/lib/components/settings/settings.component.d.ts +1 -1
- package/lib/components/shared-components.module.d.ts +88 -88
- package/lib/components/snackbar/snackbar.component.d.ts +1 -1
- package/lib/components/state/state.component.d.ts +1 -1
- package/lib/components/summary/summary.component.d.ts +1 -1
- package/lib/components/switch/switch.component.d.ts +1 -1
- package/lib/components/tab/tab.component.d.ts +6 -2
- package/lib/components/table/directives/checkBoxRow.directive.d.ts +1 -1
- package/lib/components/table/directives/column.directive.d.ts +1 -1
- package/lib/components/table/directives/columnHeader.directive.d.ts +1 -1
- package/lib/components/table/directives/raw.directive.d.ts +1 -1
- package/lib/components/table/table.component.d.ts +1 -1
- package/lib/components/tag/tag.component.d.ts +1 -1
- package/lib/components/tag-label/tag-label.component.d.ts +1 -1
- package/lib/components/text/text.component.d.ts +1 -1
- package/lib/components/text-area/text-area.component.d.ts +1 -1
- package/lib/components/token-check/token-check.component.d.ts +1 -1
- package/lib/components/tooltip/tooltip.component.d.ts +1 -1
- package/lib/components/tree/tree.component.d.ts +1 -1
- package/lib/components/upload/upload.component.d.ts +1 -1
- package/lib/components/wrapper/wrapper.component.d.ts +1 -1
- package/lib/components/wrapper-blocs/wrapper-blocs.component.d.ts +1 -1
- package/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.d.ts +1 -1
- package/lib/components/wrapper-sidebar/wrapper-sidebar.component.d.ts +1 -1
- package/lib/directives/abstract-debounce/abstract-debounce.directive.d.ts +1 -1
- package/lib/directives/abstract-debounce/debounce-keyup.directive.d.ts +1 -1
- package/lib/directives/auto-hide/auto-hide.directive.d.ts +1 -1
- package/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.d.ts +12 -0
- package/lib/directives/keyboard-events/keypress-enter.directive.d.ts +1 -1
- package/lib/directives/keyboard-events/only-numbers.directive.d.ts +1 -1
- package/lib/directives/keyboard-events/two-digital-decimal-number.directive.d.ts +1 -1
- package/lib/directives/ng-var.directive.d.ts +1 -1
- package/lib/directives/shared-directives.module.d.ts +4 -3
- package/lib/directives/zindex-toggle/zindex-toggle.directive.d.ts +1 -1
- package/lib/pipes/call-component-function.pipe.d.ts +2 -2
- package/lib/pipes/select/select-filters.pipe.d.ts +1 -1
- package/lib/pipes/shared-pipes.module.d.ts +6 -6
- package/package.json +1 -1
- package/public-api.d.ts +12 -11
- package/wizishop-angular-components-15.1.6.tgz +0 -0
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel-base.mjs +0 -83
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header-base.mjs +0 -44
- package/esm2020/lib/components/selects/call-to-action.model.mjs +0 -2
- package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +0 -2
- package/esm2020/lib/components/selects/option/option-selection-handler.token.mjs +0 -3
- package/esm2020/lib/components/selects/option/option.component.mjs +0 -28
- package/esm2020/lib/components/selects/option/select-option.directive.mjs +0 -97
- package/esm2020/lib/components/selects/option-call-to-action/option-call-to-action.component.mjs +0 -12
- package/esm2020/lib/components/selects/select/select.component.mjs +0 -197
- package/esm2020/lib/components/selects/select/select.directive.mjs +0 -164
- package/esm2020/lib/components/selects/select/value-change.service.mjs +0 -190
- package/esm2020/lib/components/selects/select-in-text/select-in-text.component.mjs +0 -103
- package/esm2020/lib/components/selects/select-items.dto.mjs +0 -2
- package/lib/components/expansion/expansion-panel/expansion-panel-base.d.ts +0 -26
- package/lib/components/expansion/expansion-panel-header/expansion-panel-header-base.d.ts +0 -20
- package/wizishop-angular-components-15.1.4.tgz +0 -0
|
@@ -8,5 +8,5 @@ export declare class WrapperSidebarComponent {
|
|
|
8
8
|
transparentSidebar: boolean;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrapperSidebarComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrapperSidebarComponent, "wac-wrapper-sidebar", never, { "reverse": "reverse"; "hideBackground": "hideBackground"; "backgroundGrey": "backgroundGrey"; "backgroundWidth": "backgroundWidth"; "stickySidebar": "stickySidebar"; "transparentSidebar": "transparentSidebar"; }, {}, never, ["[sidebar]", "[content]"], false
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrapperSidebarComponent, "wac-wrapper-sidebar", never, { "reverse": "reverse"; "hideBackground": "hideBackground"; "backgroundGrey": "backgroundGrey"; "backgroundWidth": "backgroundWidth"; "stickySidebar": "stickySidebar"; "transparentSidebar": "transparentSidebar"; }, {}, never, ["[sidebar]", "[content]"], false>;
|
|
12
12
|
}
|
|
@@ -11,5 +11,5 @@ export declare class AbstractDebounceDirective implements OnDestroy {
|
|
|
11
11
|
emitChange(value: any): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDebounceDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDebounceDirective, "AbstractDebounceDirective", never, { "debounceTime": "debounceTime"; }, { "onEventChange": "onEventChange"; }, never, never, false
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDebounceDirective, "AbstractDebounceDirective", never, { "debounceTime": "debounceTime"; }, { "onEventChange": "onEventChange"; }, never, never, false>;
|
|
15
15
|
}
|
|
@@ -4,5 +4,5 @@ export declare class DebounceKeyupDirective extends AbstractDebounceDirective {
|
|
|
4
4
|
constructor();
|
|
5
5
|
onKeyUp(event: any): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DebounceKeyupDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DebounceKeyupDirective, "input[debounceKeyUp]", never, {}, {}, never, never, false
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DebounceKeyupDirective, "input[debounceKeyUp]", never, {}, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -13,5 +13,5 @@ export declare class AutoHideDirective implements AfterViewInit {
|
|
|
13
13
|
ngAfterViewInit(): void;
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoHideDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoHideDirective, "[wzAutoHide]", never, { "triggerElement": "triggerElement"; "forceOn": "forceOn"; }, { "clickOutside": "clickOutside"; }, never, never, false
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoHideDirective, "[wzAutoHide]", never, { "triggerElement": "triggerElement"; "forceOn": "forceOn"; }, { "clickOutside": "clickOutside"; }, never, never, false>;
|
|
17
17
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CopyToClipBoardDirective {
|
|
4
|
+
private element;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
cursor: string;
|
|
7
|
+
textCopy: EventEmitter<string>;
|
|
8
|
+
constructor(element: ElementRef);
|
|
9
|
+
copyToClipboard: (text: string) => void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipBoardDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CopyToClipBoardDirective, "[wacCopyToClipboard]", never, {}, { "textCopy": "textCopy"; }, never, never, true>;
|
|
12
|
+
}
|
|
@@ -6,5 +6,5 @@ export declare class KeypressEnterDirective {
|
|
|
6
6
|
keypressEnter: EventEmitter<boolean>;
|
|
7
7
|
constructor();
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeypressEnterDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KeypressEnterDirective, "[keypressEnter]", never, {}, { "keypressEnter": "keypressEnter"; }, never, never, false
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KeypressEnterDirective, "[keypressEnter]", never, {}, { "keypressEnter": "keypressEnter"; }, never, never, false>;
|
|
10
10
|
}
|
|
@@ -4,5 +4,5 @@ export declare class OnlyNumberDirective {
|
|
|
4
4
|
wacOnlyNumber: boolean;
|
|
5
5
|
onKeyDown(event: KeyboardEvent): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnlyNumberDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyNumberDirective, "[wacOnlyNumber]", never, { "wacOnlyNumber": "wacOnlyNumber"; }, {}, never, never, false
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyNumberDirective, "[wacOnlyNumber]", never, { "wacOnlyNumber": "wacOnlyNumber"; }, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -7,5 +7,5 @@ export declare class TwoDigitDecimalNumberDirective {
|
|
|
7
7
|
constructor(el: ElementRef);
|
|
8
8
|
onKeyDown(event: KeyboardEvent): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwoDigitDecimalNumberDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TwoDigitDecimalNumberDirective, "[wacTwoDigitDecimalNumber]", never, { "decimalSeparator": "decimalSeparator"; }, {}, never, never, false
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TwoDigitDecimalNumberDirective, "[wacTwoDigitDecimalNumber]", never, { "decimalSeparator": "decimalSeparator"; }, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -8,5 +8,5 @@ export declare class VarDirective {
|
|
|
8
8
|
private hasView;
|
|
9
9
|
constructor(templateRef: TemplateRef<any>, vcRef: ViewContainerRef);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<VarDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VarDirective, "[ngVar]", never, { "ngVar": "ngVar"; }, {}, never, never, false
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VarDirective, "[ngVar]", never, { "ngVar": "ngVar"; }, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -5,16 +5,17 @@ import * as i3 from "./auto-hide/auto-hide.directive";
|
|
|
5
5
|
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
|
-
import * as i7 from "../components/
|
|
9
|
-
import * as i8 from "../components/
|
|
8
|
+
import * as i7 from "../components/select/option/select-option.directive";
|
|
9
|
+
import * as i8 from "../components/select/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
12
|
import * as i11 from "../components/radio/radio-directive";
|
|
13
13
|
import * as i12 from "../components/radio/radio-group.directive";
|
|
14
14
|
import * as i13 from "@angular/common";
|
|
15
15
|
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "./copy-to-clipboard/copy-to-clipboard.directive";
|
|
16
17
|
export declare class SharedDirectives {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectives, never>;
|
|
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]>;
|
|
19
|
+
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 i15.CopyToClipBoardDirective], [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 i15.CopyToClipBoardDirective]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectives>;
|
|
20
21
|
}
|
|
@@ -12,5 +12,5 @@ export declare class ZindexToggleDirective implements OnInit, OnDestroy {
|
|
|
12
12
|
switchToggle(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZindexToggleDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ZindexToggleDirective, "[zIndexToggle]", never, { "isActive": "zIndexToggle"; }, { "onEventChange": "onEventChange"; }, never, never, false
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ZindexToggleDirective, "[zIndexToggle]", never, { "isActive": "zIndexToggle"; }, { "onEventChange": "onEventChange"; }, never, never, false>;
|
|
16
16
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
/**
|
|
4
4
|
* Typed mapping function.
|
|
5
5
|
*/
|
|
6
|
-
export type Mapper<T, G> = (item: T, ...args: any[]) => G;
|
|
6
|
+
export declare 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
|
|
@@ -14,5 +14,5 @@ export declare class CallComponentFunctionPipe implements PipeTransform {
|
|
|
14
14
|
*/
|
|
15
15
|
transform<T, G>(value: T, mapper: Mapper<T, G>, ...args: any[]): G;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CallComponentFunctionPipe, never>;
|
|
17
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CallComponentFunctionPipe, "wacFn",
|
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CallComponentFunctionPipe, "wacFn", true>;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { SelectItem } from '../../components/
|
|
2
|
+
import { SelectItem } from '../../components/select/select-items.dto';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SelectFiltersPipe implements PipeTransform {
|
|
5
5
|
transform(items: SelectItem[], filterName: string): any;
|
|
@@ -3,13 +3,13 @@ import * as i1 from "./tree/format-object-to-recursif-tree.pipe";
|
|
|
3
3
|
import * as i2 from "./tree/format-object-to-simple-tree.pipe";
|
|
4
4
|
import * as i3 from "./select/filter-options.pipe";
|
|
5
5
|
import * as i4 from "./find-option-selected-field.pipe";
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "
|
|
6
|
+
import * as i5 from "./select/select-filters.pipe";
|
|
7
|
+
import * as i6 from "./selected-list/are-all-options-selected.pipe";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "./call-component-function.pipe";
|
|
11
11
|
export declare class SharedPipes {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipes, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipes, [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.SelectFiltersPipe, typeof i6.AreAllOptionsSelectedPipe], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.CallComponentFunctionPipe], [typeof i1.FormatObjectToRecursifTreePipe, typeof i2.FormatObjectToSimpleTreePipe, typeof i3.FilterOptionsPipe, typeof i4.FindOptionSelectedPipe, typeof i5.SelectFiltersPipe, typeof i6.AreAllOptionsSelectedPipe, typeof i9.CallComponentFunctionPipe]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipes>;
|
|
15
15
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export * from './lib/components/hn/h1/h1.component';
|
|
|
26
26
|
export * from './lib/components/hn/h2/h2.component';
|
|
27
27
|
export * from './lib/components/hn/h3/h3.component';
|
|
28
28
|
export * from './lib/components/hn/h4/h4.component';
|
|
29
|
-
export * from './lib/components/
|
|
29
|
+
export * from './lib/components/select-in-text/select-in-text.component';
|
|
30
30
|
export * from './lib/components/text/text.component';
|
|
31
31
|
export * from './lib/components/text-area/text-area.component';
|
|
32
32
|
export * from './lib/components/pagination/pagination.component';
|
|
@@ -42,9 +42,10 @@ export * from './lib/components/inputs/input/input.component';
|
|
|
42
42
|
export * from './lib/components/tooltip/tooltip.component';
|
|
43
43
|
export * from './lib/components/checkbox/checkbox.component';
|
|
44
44
|
export * from './lib/components/loader/loader.component';
|
|
45
|
+
export * from './lib/components/loader/loader.module';
|
|
45
46
|
export * from './lib/components/progress-bar/progress-bar.component';
|
|
46
47
|
export * from './lib/components/upload/upload.component';
|
|
47
|
-
export * from './lib/components/
|
|
48
|
+
export * from './lib/components/select/select-items.dto';
|
|
48
49
|
export * from './lib/components/inputs/input-with-select/input-with-select.component';
|
|
49
50
|
export * from './lib/components/inputs/input-with-select/option-item.dto';
|
|
50
51
|
export * from './lib/components/multiple-search/multiple-search.component';
|
|
@@ -58,7 +59,7 @@ export * from './lib/directives/keyboard-events/only-numbers.directive';
|
|
|
58
59
|
export * from './lib/directives/ng-var.directive';
|
|
59
60
|
export * from './lib/utils/html-container.class';
|
|
60
61
|
export * from './lib/utils/uuid';
|
|
61
|
-
export * from './lib/components/
|
|
62
|
+
export * from './lib/components/select/call-to-action.model';
|
|
62
63
|
export * from './lib/components/table/shared/filters-table.service';
|
|
63
64
|
export * from './lib/components/table/shared/table-filters.model';
|
|
64
65
|
export * from './lib/components/popin/popin.component';
|
|
@@ -104,18 +105,19 @@ export * from './lib/pipes/selected-list/are-all-options-selected.pipe';
|
|
|
104
105
|
export * from './lib/pipes/find-option-selected-field.pipe';
|
|
105
106
|
export * from './lib/pipes/call-component-function.pipe';
|
|
106
107
|
export * from './lib/directives/keyboard-events/keypress-enter.directive';
|
|
108
|
+
export * from './lib/directives/copy-to-clipboard/copy-to-clipboard.directive';
|
|
107
109
|
export * from './lib/directives/keyboard-events/two-digital-decimal-number.directive';
|
|
108
110
|
export * from './lib/components/optional-disable-container/optional-disable-container.component';
|
|
109
111
|
export * from './lib/components/summary/summary.component';
|
|
110
|
-
export * from './lib/components/
|
|
111
|
-
export * from './lib/components/
|
|
112
|
-
export * from './lib/components/
|
|
113
|
-
export * from './lib/components/
|
|
114
|
-
export * from './lib/components/
|
|
112
|
+
export * from './lib/components/select/select/select.component';
|
|
113
|
+
export * from './lib/components/select/select/value-change.service';
|
|
114
|
+
export * from './lib/components/select/select/select.directive';
|
|
115
|
+
export * from './lib/components/select/option/option.component';
|
|
116
|
+
export * from './lib/components/select/option-call-to-action/option-call-to-action.component';
|
|
115
117
|
export * from './lib/components/common/placeholder/placeholder.component';
|
|
116
118
|
export * from './lib/components/common/label/label.component';
|
|
117
|
-
export * from './lib/components/
|
|
118
|
-
export * from './lib/components/
|
|
119
|
+
export * from './lib/components/select/option/select-option.directive';
|
|
120
|
+
export * from './lib/components/select/select-search-trigger/select-search-trigger.component';
|
|
119
121
|
export * from './lib/pipes/select/filter-options.pipe';
|
|
120
122
|
export * from './lib/components/expansion/expansion.module';
|
|
121
123
|
export * from './lib/components/expansion/accordion/accordion.component';
|
|
@@ -125,7 +127,6 @@ export * from './lib/components/expansion/expansion-panel-header/expansion-panel
|
|
|
125
127
|
export * from './lib/components/expansion/expansion-panel-header/expansion-panel-header.directive';
|
|
126
128
|
export * from './lib/components/expansion/expansion-panel/expansion-panel.component';
|
|
127
129
|
export * from './lib/components/expansion/expansion-panel/expansion-panel.directive';
|
|
128
|
-
export * from './lib/components/expansion/expansion-panel/expansion-panel-base';
|
|
129
130
|
export * from './lib/animations/show/show-from-bottom.animation';
|
|
130
131
|
export * from './lib/animations/show/show-from-top.animation';
|
|
131
132
|
export * from './lib/animations/show/show-from-left.animation';
|
|
Binary file
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ContentChild, Directive, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { EXPANSION_PANEL_HEADER } from '../expansion-panel-header/expansion-panel-header.token';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class ExpansionPanelBase {
|
|
5
|
-
set disabled(disabled) {
|
|
6
|
-
this._disabled = disabled;
|
|
7
|
-
if (this.header) {
|
|
8
|
-
this.header.disabled = disabled;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
get disabled() {
|
|
12
|
-
return this._disabled;
|
|
13
|
-
}
|
|
14
|
-
set hideToggle(hideToggle) {
|
|
15
|
-
this._hideToggle = hideToggle;
|
|
16
|
-
if (this.header) {
|
|
17
|
-
this.header.hideToggle = hideToggle;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
get hideToggle() {
|
|
21
|
-
return this._hideToggle;
|
|
22
|
-
}
|
|
23
|
-
set isExpanded(isExpanded) {
|
|
24
|
-
if (this.disabled) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
this._isExpanded = isExpanded;
|
|
28
|
-
if (this.header) {
|
|
29
|
-
this.header.isExpanded = isExpanded;
|
|
30
|
-
}
|
|
31
|
-
this.isExpandedChange.emit(isExpanded);
|
|
32
|
-
}
|
|
33
|
-
get isExpanded() {
|
|
34
|
-
return this._isExpanded;
|
|
35
|
-
}
|
|
36
|
-
constructor(changeDetectorRef) {
|
|
37
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
38
|
-
this._disabled = false;
|
|
39
|
-
this._hideToggle = false;
|
|
40
|
-
this._isExpanded = false;
|
|
41
|
-
this.isExpandedChange = new EventEmitter();
|
|
42
|
-
this.expandChange = new EventEmitter(); // used by the accordion component if exists
|
|
43
|
-
}
|
|
44
|
-
ngAfterViewInit() {
|
|
45
|
-
setTimeout(() => {
|
|
46
|
-
this.header.isExpanded = this.isExpanded;
|
|
47
|
-
this.header.hideToggle = this.hideToggle;
|
|
48
|
-
this.header.disabled = this.disabled;
|
|
49
|
-
this.header.close = () => this.close();
|
|
50
|
-
this.header.open = () => this.open();
|
|
51
|
-
this.header.toggle = () => this.toggle();
|
|
52
|
-
}, 0);
|
|
53
|
-
}
|
|
54
|
-
close() {
|
|
55
|
-
this.isExpanded = false;
|
|
56
|
-
this.expandChange.emit();
|
|
57
|
-
}
|
|
58
|
-
open() {
|
|
59
|
-
this.isExpanded = true;
|
|
60
|
-
this.expandChange.emit();
|
|
61
|
-
}
|
|
62
|
-
toggle() {
|
|
63
|
-
this.isExpanded = !this.isExpanded;
|
|
64
|
-
this.expandChange.emit();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
ExpansionPanelBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ExpansionPanelBase, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
68
|
-
ExpansionPanelBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ExpansionPanelBase, inputs: { disabled: "disabled", hideToggle: "hideToggle", isExpanded: "isExpanded" }, outputs: { isExpandedChange: "isExpandedChange" }, queries: [{ propertyName: "header", first: true, predicate: EXPANSION_PANEL_HEADER, descendants: true }], ngImport: i0 });
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ExpansionPanelBase, decorators: [{
|
|
70
|
-
type: Directive
|
|
71
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { header: [{
|
|
72
|
-
type: ContentChild,
|
|
73
|
-
args: [EXPANSION_PANEL_HEADER]
|
|
74
|
-
}], disabled: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], hideToggle: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], isExpanded: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], isExpandedChange: [{
|
|
81
|
-
type: Output
|
|
82
|
-
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5zaW9uLXBhbmVsLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2V4cGFuc2lvbi9leHBhbnNpb24tcGFuZWwvZXhwYW5zaW9uLXBhbmVsLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFvQyxZQUFZLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR3ZILE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHdEQUF3RCxDQUFDOztBQUdoRyxNQUFNLE9BQU8sa0JBQWtCO0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LmhlYWRlci50b2dnbGUgPSAoKSA9PiB0aGlzLnRvZ2dsZSgpO1xuICAgICAgfSwgMCk7XG4gICAgfVxuXG4gICAgY2xvc2UoKTogdm9pZCB7XG4gICAgICB0aGlzLmlzRXhwYW5kZWQgPSBmYWxzZTtcbiAgICAgIHRoaXMuZXhwYW5kQ2hhbmdlLmVtaXQoKTtcbiAgICB9XG4gICAgb3BlbigpOiB2b2lkIHtcbiAgICAgIHRoaXMuaXNFeHBhbmRlZCA9IHRydWU7XG4gICAgICB0aGlzLmV4cGFuZENoYW5nZS5lbWl0KCk7XG4gICAgfVxuICAgIHRvZ2dsZSgpOiB2b2lkIHtcbiAgICAgIHRoaXMuaXNFeHBhbmRlZCA9ICF0aGlzLmlzRXhwYW5kZWQ7XG4gICAgICB0aGlzLmV4cGFuZENoYW5nZS5lbWl0KCk7XG4gICAgfVxufSJdfQ==
|
package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header-base.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ExpansionPanelHeaderBase {
|
|
4
|
-
onClick() {
|
|
5
|
-
this.toggle();
|
|
6
|
-
}
|
|
7
|
-
constructor(changeDetectorRef) {
|
|
8
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
9
|
-
this.disabled = false;
|
|
10
|
-
this.disabledChange = new EventEmitter();
|
|
11
|
-
this.hideToggle = false;
|
|
12
|
-
this.hideToggleChange = new EventEmitter();
|
|
13
|
-
this.isExpanded = false;
|
|
14
|
-
this.isExpandedChange = new EventEmitter();
|
|
15
|
-
}
|
|
16
|
-
onToggle() {
|
|
17
|
-
if (this.disabled) {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
this.isExpanded = !this.isExpanded;
|
|
21
|
-
this.toggle();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
ExpansionPanelHeaderBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ExpansionPanelHeaderBase, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
ExpansionPanelHeaderBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: ExpansionPanelHeaderBase, inputs: { disabled: "disabled", hideToggle: "hideToggle", isExpanded: "isExpanded" }, outputs: { disabledChange: "disabledChange", hideToggleChange: "hideToggleChange", isExpandedChange: "isExpandedChange" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: ExpansionPanelHeaderBase, decorators: [{
|
|
27
|
-
type: Directive
|
|
28
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { onClick: [{
|
|
29
|
-
type: HostListener,
|
|
30
|
-
args: ['click']
|
|
31
|
-
}], disabled: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], disabledChange: [{
|
|
34
|
-
type: Output
|
|
35
|
-
}], hideToggle: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], hideToggleChange: [{
|
|
38
|
-
type: Output
|
|
39
|
-
}], isExpanded: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], isExpandedChange: [{
|
|
42
|
-
type: Output
|
|
43
|
-
}] } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5zaW9uLXBhbmVsLWhlYWRlci1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9leHBhbnNpb24vZXhwYW5zaW9uLXBhbmVsLWhlY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EZXRlY3RvclJlZikge1xuICAgIH1cblxuICAgIG9uVG9nZ2xlKCkge1xuICAgICAgaWYgKHRoaXMuZGlzYWJsZWQpIHtcbiAgICAgICAgcmV0dXJuO1xuICAgICAgfVxuICAgICAgdGhpcy5pc0V4cGFuZGVkID0gIXRoaXMuaXNFeHBhbmRlZDtcbiAgICAgIHRoaXMudG9nZ2xlKCk7XG4gICAgfVxuXG4gICAgLy8gV2lsbCBiZSB1c2VkIGJ5IHRoZSBwYXJlbnQgY29tcG9uZW50XG4gICAgY2xvc2U6ICgpID0+IHt9O1xuICAgIG9wZW46ICgpID0+IHt9O1xuICAgIHRvZ2dsZTogKCkgPT4ge307XG59Il19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsbC10by1hY3Rpb24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3NlbGVjdHMvY2FsbC10by1hY3Rpb24ubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgQ2FsbGxUb0FjdGlvbiB7XG4gICAgdmFsdWU/OiBhbnk7XG4gICAgbmFtZT86IHN0cmluZztcbiAgICBpY29uPzogc3RyaW5nO1xuICAgIGJvbGRUZXh0Pzogc3RyaW5nO1xufSJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uLXNlbGVjdGlvbi1oYW5kbGVyLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc2VsZWN0cy9vcHRpb24vb3B0aW9uLXNlbGVjdGlvbi1oYW5kbGVyLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRWxlbWVudFJlZiwgRXZlbnRFbWl0dGVyIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuZXhwb3J0IGludGVyZmFjZSBPcHRpb25TZWxlY3Rpb25IYW5kbGVyPFRPcHRpb25WYWx1ZT4ge1xuICAgIHZhbHVlOiBUT3B0aW9uVmFsdWU7XG4gICAgc2VsZWN0ZWQ6IGJvb2xlYW47XG4gICAgc2VsZWN0ZWRDaGFuZ2U6IEV2ZW50RW1pdHRlcjxib29sZWFuPjtcbiAgICBnZXRDb250ZW50UmVmKCk6IEVsZW1lbnRSZWY8YW55PjtcbiAgICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkO1xuICAgIHNldFNlbGVjdGVkKHNlbGVjdGVkOiBib29sZWFuKTogdm9pZDtcbiAgICBzZXRNdWx0aXBsZShtdWx0aXBsZTogYm9vbGVhbik6IHZvaWQ7XG59Il19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export const OPTION_SELECTION_HANDLER = new InjectionToken('OPTION_SELECTION_HANDLER');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uLXNlbGVjdGlvbi1oYW5kbGVyLnRva2VuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY3RzL29wdGlvbi9vcHRpb24tc2VsZWN0aW9uLWhhbmRsZXIudG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcvQyxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxJQUFJLGNBQWMsQ0FBOEIsMEJBQTBCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcbmltcG9ydCB7IE9wdGlvblNlbGVjdGlvbkhhbmRsZXIgfSBmcm9tIFwiLi9vcHRpb24tc2VsZWN0aW9uLWhhbmRsZXIuaW50ZXJmYWNlXCI7XG5cbmV4cG9ydCBjb25zdCBPUFRJT05fU0VMRUNUSU9OX0hBTkRMRVIgPSBuZXcgSW5qZWN0aW9uVG9rZW48T3B0aW9uU2VsZWN0aW9uSGFuZGxlcjxhbnk+PignT1BUSU9OX1NFTEVDVElPTl9IQU5ETEVSJyk7Il19
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { uuid } from '../../../utils/uuid';
|
|
3
|
-
import { OPTION_SELECTION_HANDLER } from './option-selection-handler.token';
|
|
4
|
-
import { SelectOptionDirective } from './select-option.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "../../checkbox/checkbox.component";
|
|
8
|
-
export class OptionComponent extends SelectOptionDirective {
|
|
9
|
-
constructor(contentRef, changeDetectorRef) {
|
|
10
|
-
super(contentRef, changeDetectorRef);
|
|
11
|
-
this.contentRef = contentRef;
|
|
12
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
13
|
-
this.checkBoxId = `wac-option-${uuid()}`;
|
|
14
|
-
}
|
|
15
|
-
getContentRef() {
|
|
16
|
-
return this.contentOption;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
OptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: OptionComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
OptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: OptionComponent, selector: "wac-option", providers: [{ provide: OPTION_SELECTION_HANDLER, useExisting: OptionComponent }], viewQueries: [{ propertyName: "contentOption", first: true, predicate: ["contentWrapper"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n [ngClass]=\"{ 'disabled': disabled }\"\n class=\"wac-option\"\n >\n <div [ngClass]=\"{ 'selected': !disabled && selected, 'disabled': disabled }\" #contentWrapper>\n <wac-checkbox *ngIf=\"multiple\" [id]=\"checkBoxId\" [value]=\"selected\"></wac-checkbox>\n <ng-content></ng-content>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CheckboxComponent, selector: "wac-checkbox", inputs: ["label", "value", "type", "alone", "checked", "hasInput", "inputPlaceholder", "id", "name", "whiteSpace", "disabled"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: OptionComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'wac-option', encapsulation: ViewEncapsulation.None, providers: [{ provide: OPTION_SELECTION_HANDLER, useExisting: OptionComponent }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [ngClass]=\"{ 'disabled': disabled }\"\n class=\"wac-option\"\n >\n <div [ngClass]=\"{ 'selected': !disabled && selected, 'disabled': disabled }\" #contentWrapper>\n <wac-checkbox *ngIf=\"multiple\" [id]=\"checkBoxId\" [value]=\"selected\"></wac-checkbox>\n <ng-content></ng-content>\n </div>\n</div>" }]
|
|
24
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { contentOption: [{
|
|
25
|
-
type: ViewChild,
|
|
26
|
-
args: ['contentWrapper']
|
|
27
|
-
}] } });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc2VsZWN0cy9vcHRpb24vb3B0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvc2VsZWN0cy9vcHRpb24vb3B0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBcUIsU0FBUyxFQUFjLFNBQVMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM5SCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDM0MsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDNUUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLEN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G4iLCI8ZGl2XG4gICAgW25nQ2xhc3NdPVwieyAnZGlzYWJsZWQnOiBkaXNhYmxlZCB9XCJcbiAgICBjbGFzcz1cIndhYy1vcHRpb25cIlxuICA+XG4gICAgPGRpdiBbbmdDbGFzc109XCJ7ICdzZWxlY3RlZCc6ICFkaXNhYmxlZCAmJiBzZWxlY3RlZCwgJ2Rpc2FibGVkJzogZGlzYWJsZWQgfVwiICNjb250ZW50V3JhcHBlcj5cbiAgICAgIDx3YWMtY2hlY2tib3ggKm5nSWY9XCJtdWx0aXBsZVwiIFtpZF09XCJjaGVja0JveElkXCIgW3ZhbHVlXT1cInNlbGVjdGVkXCI+PC93YWMtY2hlY2tib3g+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2Rpdj4iXX0=
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, HostBinding, HostListener, Input, Output } from '@angular/core';
|
|
2
|
-
import { OPTION_SELECTION_HANDLER } from './option-selection-handler.token';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
// todo create a select module and in the select-option.directive.ts
|
|
5
|
-
export class SelectOptionDirective {
|
|
6
|
-
onClick(event) {
|
|
7
|
-
this.onSelectOption();
|
|
8
|
-
if (this.onClickEventPreventDefault) {
|
|
9
|
-
event.preventDefault();
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
get isOptionSelected() {
|
|
13
|
-
return this.selected;
|
|
14
|
-
}
|
|
15
|
-
get isOptionDisabled() {
|
|
16
|
-
return this.disabled || this.disabledByParent;
|
|
17
|
-
}
|
|
18
|
-
get cursor() {
|
|
19
|
-
return this.disabled || this.disabledByParent ? 'not-allowed' : 'pointer';
|
|
20
|
-
}
|
|
21
|
-
constructor(contentRef, changeDetectorRef) {
|
|
22
|
-
this.contentRef = contentRef;
|
|
23
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
24
|
-
this.disabled = false;
|
|
25
|
-
this.disabledByParent = false;
|
|
26
|
-
this.selected = false;
|
|
27
|
-
this.onClickEventPreventDefault = true;
|
|
28
|
-
this.selectedChange = new EventEmitter();
|
|
29
|
-
this.multiple = false;
|
|
30
|
-
}
|
|
31
|
-
setSelected(selected) {
|
|
32
|
-
this.selected = selected;
|
|
33
|
-
this.changeDetectorRef.markForCheck();
|
|
34
|
-
}
|
|
35
|
-
onSelectOption() {
|
|
36
|
-
if (this.disabled || this.disabledByParent) {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
this.selected = this.multiple ? !this.selected : true; // If not multiple mode -> can not be unselected
|
|
40
|
-
this.selectedChange.emit(this.selected);
|
|
41
|
-
this.changeDetectorRef.markForCheck();
|
|
42
|
-
}
|
|
43
|
-
getValue() {
|
|
44
|
-
return this.value;
|
|
45
|
-
}
|
|
46
|
-
setValue(value) {
|
|
47
|
-
this.value = value;
|
|
48
|
-
this.changeDetectorRef.markForCheck();
|
|
49
|
-
}
|
|
50
|
-
isSelected() {
|
|
51
|
-
return this.selected;
|
|
52
|
-
}
|
|
53
|
-
getContentRef() {
|
|
54
|
-
return this.contentRef;
|
|
55
|
-
}
|
|
56
|
-
setDisabledState(isDisabled) {
|
|
57
|
-
this.disabledByParent = isDisabled;
|
|
58
|
-
this.changeDetectorRef.markForCheck();
|
|
59
|
-
}
|
|
60
|
-
setMultiple(multiple) {
|
|
61
|
-
this.multiple = multiple;
|
|
62
|
-
this.changeDetectorRef.markForCheck();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
SelectOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SelectOptionDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
-
SelectOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.1", type: SelectOptionDirective, selector: "[wacOption]", inputs: { disabled: "disabled", value: "value", selected: "selected", onClickEventPreventDefault: "onClickEventPreventDefault" }, outputs: { selectedChange: "selectedChange" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.wac-option-selected": "this.isOptionSelected", "class.wac-option-disabled": "this.isOptionDisabled", "style.cursor": "this.cursor" } }, providers: [{ provide: OPTION_SELECTION_HANDLER, useExisting: SelectOptionDirective }], exportAs: ["wacOption"], ngImport: i0 });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: SelectOptionDirective, decorators: [{
|
|
68
|
-
type: Directive,
|
|
69
|
-
args: [{
|
|
70
|
-
selector: '[wacOption]',
|
|
71
|
-
providers: [{ provide: OPTION_SELECTION_HANDLER, useExisting: SelectOptionDirective }],
|
|
72
|
-
exportAs: 'wacOption'
|
|
73
|
-
}]
|
|
74
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onClick: [{
|
|
75
|
-
type: HostListener,
|
|
76
|
-
args: ['click', ['$event']]
|
|
77
|
-
}], isOptionSelected: [{
|
|
78
|
-
type: HostBinding,
|
|
79
|
-
args: ['class.wac-option-selected']
|
|
80
|
-
}], isOptionDisabled: [{
|
|
81
|
-
type: HostBinding,
|
|
82
|
-
args: ['class.wac-option-disabled']
|
|
83
|
-
}], cursor: [{
|
|
84
|
-
type: HostBinding,
|
|
85
|
-
args: ['style.cursor']
|
|
86
|
-
}], disabled: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], value: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], selected: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], onClickEventPreventDefault: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], selectedChange: [{
|
|
95
|
-
type: Output
|
|
96
|
-
}] } });
|
|
97
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW9wdGlvbi5kaXJlY3Rpdm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ZShpc0Rpc2FibGVkOiBib29sZWFuKTogdm9pZCB7XG4gICAgdGhpcy5kaXNhYmxlZEJ5UGFyZW50ID0gaXNEaXNhYmxlZDtcbiAgICB0aGlzLmNoYW5nZURldGVjdG9yUmVmLm1hcmtGb3JDaGVjaygpO1xuICB9XG5cbiAgc2V0TXVsdGlwbGUobXVsdGlwbGU6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICB0aGlzLm11bHRpcGxlID0gbXVsdGlwbGU7XG4gICAgdGhpcy5jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgfVxufSJdfQ==
|
package/esm2020/lib/components/selects/option-call-to-action/option-call-to-action.component.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class OptionCallToActionComponent {
|
|
4
|
-
constructor() { }
|
|
5
|
-
}
|
|
6
|
-
OptionCallToActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: OptionCallToActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
OptionCallToActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: OptionCallToActionComponent, selector: "wac-option-call-to-action", ngImport: i0, template: "\n<div class=\"wac-option-call-to-action\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>\n\n" });
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: OptionCallToActionComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'wac-option-call-to-action', template: "\n<div class=\"wac-option-call-to-action\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>\n\n" }]
|
|
11
|
-
}], ctorParameters: function () { return []; } });
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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