@wizishop/angular-components 15.1.114 → 18.2.0-beta
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/README.md +87 -87
- package/angular-components.scss +1679 -1681
- package/assets/images/upload/icon_picture.svg +11 -11
- package/{esm2020 → esm2022}/lib/animations/in-out/in-out-x.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/in-out/in-out-y.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/list/animate-list-from-bottom.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/list/animate-list-from-left.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/list/animate-list-from-right.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/list/animate-list-from-top.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/show/show-from-bottom.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/show/show-from-left.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/show/show-from-right.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/show/show-from-top.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/animations/switch/switch-in-out.animation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/ai-express/ai-express.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/alert/alert.component.mjs +5 -5
- package/esm2022/lib/components/alert-popup/alert-popup-module.mjs +20 -0
- package/esm2022/lib/components/alert-popup/alert-popup.component.mjs +41 -0
- package/{esm2020 → esm2022}/lib/components/alert-popup/alert-popup.service.mjs +5 -5
- package/esm2022/lib/components/back/back.component.mjs +12 -0
- package/{esm2020 → esm2022}/lib/components/block/block-title-legacy/block-title-legacy.component.mjs +5 -5
- package/esm2022/lib/components/block/block.component.mjs +124 -0
- package/{esm2020 → esm2022}/lib/components/block/separator/block-separator.component.mjs +5 -5
- package/esm2022/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +46 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.component.mjs +5 -5
- package/esm2022/lib/components/button/button.component.mjs +200 -0
- package/esm2022/lib/components/calendar/calendar.component.mjs +237 -0
- package/{esm2020 → esm2022}/lib/components/card-price/card-price.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/charging-bar/charging-bar.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/checkbox/checkbox.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/checkbox/checkbox.module.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/column/column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/common/label/label.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/common/placeholder/placeholder.component.mjs +5 -5
- package/esm2022/lib/components/confirm-delete/confirm-delete.component.mjs +64 -0
- package/{esm2020 → esm2022}/lib/components/content-with-buttons/content-with-buttons.component.mjs +4 -4
- package/esm2022/lib/components/delete/delete.component.mjs +12 -0
- package/esm2022/lib/components/draganddrop-list/draganddrop-list.component.mjs +61 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +26 -0
- package/esm2022/lib/components/edit-in-place/edit-in-place.component.mjs +202 -0
- package/{esm2020 → esm2022}/lib/components/expanded-panel/expanded-panel.component.mjs +5 -5
- package/esm2022/lib/components/expansion/accordion/accordion.component.mjs +74 -0
- package/{esm2020 → esm2022}/lib/components/expansion/expansion-panel/expansion-panel.component.mjs +5 -5
- package/esm2022/lib/components/expansion/expansion-panel/expansion-panel.directive.mjs +88 -0
- package/{esm2020 → esm2022}/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.mjs +5 -5
- package/esm2022/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +49 -0
- package/{esm2020 → esm2022}/lib/components/expansion/expansion.module.mjs +11 -11
- package/{esm2020 → esm2022}/lib/components/filters/filter-item.dto.mjs +1 -1
- package/esm2022/lib/components/filters/filters.component.mjs +41 -0
- package/esm2022/lib/components/free-popin/free-popin.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/components/google-preview/google-preview.component.mjs +5 -5
- package/esm2022/lib/components/header-page/header-page.component.mjs +42 -0
- package/{esm2020 → esm2022}/lib/components/hn/h1/h1.component.mjs +5 -5
- package/esm2022/lib/components/hn/h2/h2.component.mjs +13 -0
- package/esm2022/lib/components/hn/h3/h3.component.mjs +18 -0
- package/esm2022/lib/components/hn/h4/h4.component.mjs +18 -0
- package/esm2022/lib/components/image/image.component.mjs +17 -0
- package/esm2022/lib/components/info/info.component.mjs +12 -0
- package/esm2022/lib/components/inputs/input/input.component.mjs +184 -0
- package/esm2022/lib/components/inputs/input-search/input-search.component.mjs +65 -0
- package/{esm2020 → esm2022}/lib/components/inputs/input-with-select/input-with-select.component.mjs +4 -4
- package/esm2022/lib/components/link/link.component.mjs +57 -0
- package/{esm2020 → esm2022}/lib/components/loader/loader.component.mjs +4 -4
- package/esm2022/lib/components/logo/logo.component.mjs +20 -0
- package/esm2022/lib/components/mosaic/mosaic.component.mjs +81 -0
- package/esm2022/lib/components/multiple-search/multiple-search.component.mjs +115 -0
- package/esm2022/lib/components/multiple-search-plus/multiple-search-plus.component.mjs +97 -0
- package/{esm2020 → esm2022}/lib/components/multiple-search-plus/shared/multiple-search-plus-option.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/multiple-search-plus/shared/multiple-search-plus-results.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/optional-disable-container/optional-disable-container.component.mjs +5 -5
- package/esm2022/lib/components/pagination/pagination.component.mjs +50 -0
- package/esm2022/lib/components/pagination/pagination.module.mjs +33 -0
- package/esm2022/lib/components/pagination/pipes/array-pages.pipe.mjs +28 -0
- package/esm2022/lib/components/pagination/pipes/custom-text.pipe.mjs +34 -0
- package/esm2022/lib/components/pagination/pipes/is-last-page.pipe.mjs +25 -0
- package/esm2022/lib/components/popin/popin.component.mjs +73 -0
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +75 -0
- package/{esm2020 → esm2022}/lib/components/radio/option/option.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/radio/radio-group.directive.mjs +8 -8
- package/esm2022/lib/components/radio/radio.component.mjs +38 -0
- package/{esm2020 → esm2022}/lib/components/radio-legacy/radio-directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/radio-legacy/radio-group.directive.mjs +8 -8
- package/esm2022/lib/components/radio-legacy/radio.component.mjs +58 -0
- package/esm2022/lib/components/row/row.component.mjs +144 -0
- package/esm2022/lib/components/search/search.component.mjs +86 -0
- package/{esm2020 → esm2022}/lib/components/search/shared/search-option.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/select/option/option.component.mjs +5 -5
- package/esm2022/lib/components/select/option/select-option.directive.mjs +98 -0
- package/{esm2020 → esm2022}/lib/components/select/option-call-to-action/option-call-to-action.component.mjs +5 -5
- package/esm2022/lib/components/select/select/select.component.mjs +198 -0
- package/esm2022/lib/components/select/select/select.directive.mjs +175 -0
- package/esm2022/lib/components/select/select/value-change.service.mjs +190 -0
- package/{esm2020 → esm2022}/lib/components/select/select-search-trigger/select-search-trigger.component.mjs +5 -5
- package/esm2022/lib/components/select-in-text/select-in-text.component.mjs +103 -0
- package/esm2022/lib/components/selected-list/selected-list.component.mjs +62 -0
- package/{esm2020 → esm2022}/lib/components/selected-list/shared/selected-list-option.model.mjs +1 -1
- package/esm2022/lib/components/separator/separator.component.mjs +17 -0
- package/esm2022/lib/components/settings/settings.component.mjs +12 -0
- package/esm2022/lib/components/shared-components.module.mjs +443 -0
- package/esm2022/lib/components/snackbar/snackbar.component.mjs +85 -0
- package/esm2022/lib/components/state/state.component.mjs +16 -0
- package/esm2022/lib/components/summary/summary.component.mjs +41 -0
- package/esm2022/lib/components/switch/switch.component.mjs +89 -0
- package/esm2022/lib/components/table/directives/checkBoxRow.directive.mjs +92 -0
- package/esm2022/lib/components/table/directives/column.directive.mjs +42 -0
- package/esm2022/lib/components/table/directives/columnHeader.directive.mjs +199 -0
- package/{esm2020 → esm2022}/lib/components/table/directives/raw.directive.mjs +6 -6
- package/esm2022/lib/components/table/shared/filters-table.service.mjs +68 -0
- package/esm2022/lib/components/table/shared/table-checkbox-id.service.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/table/shared/table-filters-group.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/table/shared/table-filters.model.mjs +1 -1
- package/esm2022/lib/components/table/table.component.mjs +146 -0
- package/{esm2020 → esm2022}/lib/components/table/table.module.mjs +15 -15
- package/{esm2020 → esm2022}/lib/components/tabs/tab/tab.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/tabs/tab-body/tab-body.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/tabs/tab-body/tab-body.directive.mjs +6 -6
- package/esm2022/lib/components/tabs/tabs.component.mjs +99 -0
- package/{esm2020 → esm2022}/lib/components/tag/tag.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/tag-dropdown/tag-dropdown.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/tag-label/tag-label.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/text/text.component.mjs +5 -5
- package/esm2022/lib/components/text-area/text-area.component.mjs +99 -0
- package/{esm2020 → esm2022}/lib/components/token-check/token-check.component.mjs +5 -5
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.module.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/tree/tree.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/tree/tree.module.mjs +9 -9
- package/esm2022/lib/components/upload/upload.component.mjs +36 -0
- package/esm2022/lib/components/wrapper/wrapper.component.mjs +18 -0
- package/esm2022/lib/components/wrapper-blocs/wrapper-blocs.component.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/wrapper-sidebar/wrapper-sidebar.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +5 -5
- package/esm2022/lib/directives/auto-hide/auto-hide.directive.mjs +50 -0
- package/{esm2020 → esm2022}/lib/directives/copy-to-clipboard/copy-to-clipboard.directive.mjs +5 -5
- package/esm2022/lib/directives/keyboard-events/keypress-enter.directive.mjs +25 -0
- package/esm2022/lib/directives/keyboard-events/only-numbers.directive.mjs +45 -0
- package/esm2022/lib/directives/keyboard-events/two-digital-decimal-number.directive.mjs +36 -0
- package/esm2022/lib/directives/ng-var.directive.mjs +32 -0
- package/{esm2020 → esm2022}/lib/directives/scroll-to/scroll-to.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/directives/shared-directives.module.mjs +27 -27
- package/{esm2020 → esm2022}/lib/directives/watch-dom-tree/watch-dom-tree.directive.mjs +5 -5
- package/esm2022/lib/directives/zindex-toggle/zindex-toggle.directive.mjs +44 -0
- package/{esm2020 → esm2022}/lib/pipes/call-component-function.pipe.mjs +4 -4
- package/esm2022/lib/pipes/find-option-selected-field.pipe.mjs +29 -0
- package/{esm2020 → esm2022}/lib/pipes/select/filter-options.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/select/select-filters.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/selected-list/are-all-options-selected.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/shared-pipes.module.mjs +13 -13
- package/esm2022/lib/pipes/tree/format-object-to-recursif-tree.pipe.mjs +41 -0
- package/esm2022/lib/pipes/tree/format-object-to-simple-tree.pipe.mjs +49 -0
- package/esm2022/lib/services/dom.service.mjs +59 -0
- package/esm2022/lib/services/history.service.mjs +53 -0
- package/esm2022/lib/services/multiple-selection.service.mjs +62 -0
- package/esm2022/lib/utils/html-container.class.mjs +30 -0
- package/{esm2020 → esm2022}/lib/utils/slection-item.interface.mjs +1 -1
- package/esm2022/lib/utils/uuid.mjs +8 -0
- package/esm2022/lib/wizi-components.module.mjs +34 -0
- package/{fesm2020 → fesm2022}/wizishop-angular-components.mjs +900 -903
- package/fesm2022/wizishop-angular-components.mjs.map +1 -0
- package/lib/components/ai-express/ai-express.component.d.ts +1 -1
- package/lib/components/alert/alert.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 +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/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/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.directive.d.ts +1 -1
- package/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.d.ts +1 -1
- 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/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/inputs/input/input.component.d.ts +1 -1
- package/lib/components/inputs/input-search/input-search.component.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 +3 -3
- 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 -2
- 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-legacy/radio.component.d.ts +1 -1
- package/lib/components/row/row.component.d.ts +1 -1
- package/lib/components/search/search.component.d.ts +1 -1
- package/lib/components/select/option/select-option.directive.d.ts +1 -1
- package/lib/components/select/select/select.component.d.ts +1 -1
- package/lib/components/select/select/select.directive.d.ts +1 -1
- package/lib/components/select/select-search-trigger/select-search-trigger.component.d.ts +1 -1
- package/lib/components/select-in-text/select-in-text.component.d.ts +1 -1
- 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/shared-components.module.d.ts +34 -35
- 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/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/table.component.d.ts +1 -1
- package/lib/components/tabs/tab/tab.component.d.ts +1 -1
- package/lib/components/tabs/tab-body/tab-body.component.d.ts +1 -1
- package/lib/components/tabs/tabs.component.d.ts +1 -1
- package/lib/components/tag/tag.component.d.ts +1 -1
- package/lib/components/tag-dropdown/tag-dropdown.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-sidebar/wrapper-sidebar.component.d.ts +1 -1
- package/lib/directives/abstract-debounce/abstract-debounce.directive.d.ts +1 -1
- package/lib/directives/auto-hide/auto-hide.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/scroll-to/scroll-to.directive.d.ts +1 -1
- package/lib/directives/zindex-toggle/zindex-toggle.directive.d.ts +1 -1
- package/package.json +31 -35
- package/esm2020/lib/components/alert-popup/alert-popup-module.mjs +0 -21
- package/esm2020/lib/components/alert-popup/alert-popup.component.mjs +0 -41
- package/esm2020/lib/components/back/back.component.mjs +0 -12
- package/esm2020/lib/components/block/block.component.mjs +0 -124
- package/esm2020/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +0 -46
- package/esm2020/lib/components/button/button.component.mjs +0 -200
- package/esm2020/lib/components/calendar/calendar.component.mjs +0 -237
- package/esm2020/lib/components/confirm-delete/confirm-delete.component.mjs +0 -64
- package/esm2020/lib/components/delete/delete.component.mjs +0 -12
- package/esm2020/lib/components/draganddrop-list/draganddrop-list.component.mjs +0 -61
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -26
- package/esm2020/lib/components/edit-in-place/edit-in-place.component.mjs +0 -202
- package/esm2020/lib/components/expansion/accordion/accordion.component.mjs +0 -74
- package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.directive.mjs +0 -88
- package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +0 -49
- package/esm2020/lib/components/filters/filters.component.mjs +0 -41
- package/esm2020/lib/components/free-popin/free-popin.component.mjs +0 -66
- package/esm2020/lib/components/header-page/header-page.component.mjs +0 -42
- package/esm2020/lib/components/hn/h2/h2.component.mjs +0 -13
- package/esm2020/lib/components/hn/h3/h3.component.mjs +0 -18
- package/esm2020/lib/components/hn/h4/h4.component.mjs +0 -18
- package/esm2020/lib/components/image/image.component.mjs +0 -17
- package/esm2020/lib/components/info/info.component.mjs +0 -12
- package/esm2020/lib/components/inputs/input/input.component.mjs +0 -184
- package/esm2020/lib/components/inputs/input-search/input-search.component.mjs +0 -65
- package/esm2020/lib/components/link/link.component.mjs +0 -57
- package/esm2020/lib/components/logo/logo.component.mjs +0 -20
- package/esm2020/lib/components/mosaic/mosaic.component.mjs +0 -84
- package/esm2020/lib/components/multiple-search/multiple-search.component.mjs +0 -115
- package/esm2020/lib/components/multiple-search-plus/multiple-search-plus.component.mjs +0 -100
- package/esm2020/lib/components/pagination/pagination.component.mjs +0 -50
- package/esm2020/lib/components/pagination/pagination.module.mjs +0 -33
- package/esm2020/lib/components/pagination/pipes/array-pages.pipe.mjs +0 -28
- package/esm2020/lib/components/pagination/pipes/custom-text.pipe.mjs +0 -34
- package/esm2020/lib/components/pagination/pipes/is-last-page.pipe.mjs +0 -25
- package/esm2020/lib/components/popin/popin.component.mjs +0 -73
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +0 -75
- package/esm2020/lib/components/radio/radio.component.mjs +0 -38
- package/esm2020/lib/components/radio-legacy/radio.component.mjs +0 -58
- package/esm2020/lib/components/row/row.component.mjs +0 -144
- package/esm2020/lib/components/search/search.component.mjs +0 -86
- package/esm2020/lib/components/select/option/select-option.directive.mjs +0 -98
- package/esm2020/lib/components/select/select/select.component.mjs +0 -198
- package/esm2020/lib/components/select/select/select.directive.mjs +0 -175
- package/esm2020/lib/components/select/select/value-change.service.mjs +0 -190
- package/esm2020/lib/components/select-in-text/select-in-text.component.mjs +0 -103
- package/esm2020/lib/components/selected-list/selected-list.component.mjs +0 -62
- package/esm2020/lib/components/separator/separator.component.mjs +0 -17
- package/esm2020/lib/components/settings/settings.component.mjs +0 -12
- package/esm2020/lib/components/shared-components.module.mjs +0 -438
- package/esm2020/lib/components/snackbar/snackbar.component.mjs +0 -85
- package/esm2020/lib/components/state/state.component.mjs +0 -16
- package/esm2020/lib/components/summary/summary.component.mjs +0 -41
- package/esm2020/lib/components/switch/switch.component.mjs +0 -89
- package/esm2020/lib/components/table/directives/checkBoxRow.directive.mjs +0 -92
- package/esm2020/lib/components/table/directives/column.directive.mjs +0 -42
- package/esm2020/lib/components/table/directives/columnHeader.directive.mjs +0 -199
- package/esm2020/lib/components/table/shared/filters-table.service.mjs +0 -68
- package/esm2020/lib/components/table/shared/table-checkbox-id.service.mjs +0 -20
- package/esm2020/lib/components/table/table.component.mjs +0 -146
- package/esm2020/lib/components/tabs/tabs.component.mjs +0 -99
- package/esm2020/lib/components/text-area/text-area.component.mjs +0 -99
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -30
- package/esm2020/lib/components/upload/upload.component.mjs +0 -36
- package/esm2020/lib/components/wrapper/wrapper.component.mjs +0 -18
- package/esm2020/lib/components/wrapper-blocs/wrapper-blocs.component.mjs +0 -19
- package/esm2020/lib/directives/auto-hide/auto-hide.directive.mjs +0 -50
- package/esm2020/lib/directives/keyboard-events/keypress-enter.directive.mjs +0 -25
- package/esm2020/lib/directives/keyboard-events/only-numbers.directive.mjs +0 -45
- package/esm2020/lib/directives/keyboard-events/two-digital-decimal-number.directive.mjs +0 -36
- package/esm2020/lib/directives/ng-var.directive.mjs +0 -32
- package/esm2020/lib/directives/zindex-toggle/zindex-toggle.directive.mjs +0 -44
- package/esm2020/lib/pipes/find-option-selected-field.pipe.mjs +0 -29
- package/esm2020/lib/pipes/tree/format-object-to-recursif-tree.pipe.mjs +0 -41
- package/esm2020/lib/pipes/tree/format-object-to-simple-tree.pipe.mjs +0 -49
- package/esm2020/lib/services/dom.service.mjs +0 -59
- package/esm2020/lib/services/history.service.mjs +0 -53
- package/esm2020/lib/services/multiple-selection.service.mjs +0 -62
- package/esm2020/lib/utils/html-container.class.mjs +0 -30
- package/esm2020/lib/utils/uuid.mjs +0 -8
- package/esm2020/lib/wizi-components.module.mjs +0 -34
- package/fesm2015/wizishop-angular-components.mjs +0 -7029
- package/fesm2015/wizishop-angular-components.mjs.map +0 -1
- package/fesm2020/wizishop-angular-components.mjs.map +0 -1
- package/wizishop-angular-components-15.1.114.tgz +0 -0
- /package/{esm2020 → esm2022}/lib/animations/show/opacity.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/expansion/accordion/accordion-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/expansion/accordion/accordion-item.token.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/expansion/expansion-panel-header/expansion-panel-header.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/expansion/expansion-panel-header/expansion-panel-header.token.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/inputs/input-with-select/option-item.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/select/call-to-action.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/select/option/option-selection-handler.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/select/option/option-selection-handler.token.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/select/select-items.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/table/shared/distinct-until-table-filters-changed.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tree/tree.dto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils/array.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/wizishop-angular-components.mjs +0 -0
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../services/history.service";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../hn/h1/h1.component";
|
|
6
|
-
export class HeaderPageComponent {
|
|
7
|
-
constructor(historyService, location) {
|
|
8
|
-
this.historyService = historyService;
|
|
9
|
-
this.location = location;
|
|
10
|
-
this.withImg = false;
|
|
11
|
-
this.center = false;
|
|
12
|
-
this.useHistory = false;
|
|
13
|
-
}
|
|
14
|
-
back() {
|
|
15
|
-
if (this.useHistory && !this.linkBack) {
|
|
16
|
-
window.history.back();
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
else if (!this.useHistory) {
|
|
20
|
-
this.historyService.redirect(this.linkBack);
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
this.historyService.back(this.linkBack);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
HeaderPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderPageComponent, deps: [{ token: i1.HistoryService }, { token: i2.Location }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
-
HeaderPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: HeaderPageComponent, selector: "wac-header-page", inputs: { title: "title", linkBack: "linkBack", withImg: "withImg", center: "center", useHistory: "useHistory" }, ngImport: i0, template: "<div class=\"wac-header-page\">\r\n <div class=\"wac-header-page__maxWidth\">\r\n <div class=\"wac-header-page__maxWidth__top\" [ngClass]=\"{'center':center}\">\r\n <div class=\"wac-header-page__maxWidth__top__left\" [ngClass]=\"{'fullsize':center}\">\r\n <div class=\"wac-header-page__maxWidth__top__left__nowrap\">\r\n <a *ngIf=\"linkBack || useHistory\" (click)=\"back()\"><i class=\"fas fa-chevron-left\"></i></a>\r\n <wac-h1 [center]=\"center\" [withImg]=\"withImg\">{{ title }}<ng-content select=\"[role=header]\"></ng-content></wac-h1>\r\n </div>\r\n <p class=\"subtitle\"><ng-content select=\"[role=subtitle]\"></ng-content></p>\r\n </div>\r\n <div class=\"wac-header-page__maxWidth__top__right\" *ngIf=\"!center\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.H1Component, selector: "wac-h1", inputs: ["annotation", "withImg", "center", "color"] }] });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: HeaderPageComponent, decorators: [{
|
|
29
|
-
type: Component,
|
|
30
|
-
args: [{ selector: 'wac-header-page', template: "<div class=\"wac-header-page\">\r\n <div class=\"wac-header-page__maxWidth\">\r\n <div class=\"wac-header-page__maxWidth__top\" [ngClass]=\"{'center':center}\">\r\n <div class=\"wac-header-page__maxWidth__top__left\" [ngClass]=\"{'fullsize':center}\">\r\n <div class=\"wac-header-page__maxWidth__top__left__nowrap\">\r\n <a *ngIf=\"linkBack || useHistory\" (click)=\"back()\"><i class=\"fas fa-chevron-left\"></i></a>\r\n <wac-h1 [center]=\"center\" [withImg]=\"withImg\">{{ title }}<ng-content select=\"[role=header]\"></ng-content></wac-h1>\r\n </div>\r\n <p class=\"subtitle\"><ng-content select=\"[role=subtitle]\"></ng-content></p>\r\n </div>\r\n <div class=\"wac-header-page__maxWidth__top__right\" *ngIf=\"!center\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
31
|
-
}], ctorParameters: function () { return [{ type: i1.HistoryService }, { type: i2.Location }]; }, propDecorators: { title: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], linkBack: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], withImg: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], center: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], useHistory: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLXBhZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9oZWFkZXItcGFnZS9oZWFkZXItcGFnZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2hlYWRlci1wYWdlL2hlYWRlci1wYWdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQU1qRCxNQUFNLE9BQU8sbUJBQW1CO0lBWTlCLFlBQW9CLGNBQThCLEVBQVUsUUFBa0I7UUFBMUQsbUJBQWMsR0FBZCxjQUFjLENBQWdCO1FBQVUsYUFBUSxHQUFSLFFBQVEsQ0FBVTtRQU45RSxZQUFPLEdBQUcsS0FBSyxDQUFDO1FBRWhCLFdBQU0sR0FBRyxLQUFLLENBQUM7UUFFZixlQUFVLEdBQUcsS0FBSyxDQUFDO0lBRThELENBQUM7SUFDbEYsSUFBSTtRQUNGLElBQUksSUFBSSxDQUFDLFVBQVUsSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLEVBQUU7WUFDckMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxJQ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oX190b3BfX2xlZnRfX25vd3JhcFwiPlxyXG4gICAgICAgICAgPGEgKm5nSWY9XCJsaW5rQmFjayB8fCB1c2VIaXN0b3J5XCIgKGNsaWNrKT1cImJhY2soKVwiPjxpIGNsYXNzPVwiZmFzIGZhLWNoZXZyb24tbGVmdFwiPjwvaT48L2E+XHJcbiAgICAgICAgICA8d2FjLWgxIFtjZW50ZXJdPVwiY2VudGVyXCIgW3dpdGhJbWddPVwid2l0aEltZ1wiPnt7IHRpdGxlIH19PG5nLWNvbnRlbnQgc2VsZWN0PVwiW3JvbGU9aGVhZGVyXVwiPjwvbmctY29udGVudD48L3dhYy1oMT5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8cCBjbGFzcz1cInN1YnRpdGxlXCI+PG5nLWNvbnRlbnQgc2VsZWN0PVwiW3JvbGU9c3VidGl0bGVdXCI+PC9uZy1jb250ZW50PjwvcD5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJ3YWMtaGVhZGVyLXBhZ2VfX21heFdpZHRoX190b3BfX3JpZ2h0XCIgKm5nSWY9XCIhY2VudGVyXCI+XHJcbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class H2Component {
|
|
4
|
-
constructor() { }
|
|
5
|
-
ngOnInit() { }
|
|
6
|
-
}
|
|
7
|
-
H2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: H2Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
H2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: H2Component, selector: "wac-h2", ngImport: i0, template: "<h2 class=\"wac-h2\"><ng-content></ng-content></h2>\r\n" });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: H2Component, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'wac-h2', template: "<h2 class=\"wac-h2\"><ng-content></ng-content></h2>\r\n" }]
|
|
12
|
-
}], ctorParameters: function () { return []; } });
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaDIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9obi9oMi9oMi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2huL2gyL2gyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7O0FBT2xELE1BQU0sT0FBTyxXQUFXO0lBQ3RCLGdCQUFlLENBQUM7SUFFaEIsUUFBUSxLQUFVLENBQUM7O3dHQUhSLFdBQVc7NEZBQVgsV0FBVyw4Q0NQeEIseURBQ0E7MkZETWEsV0FBVztrQkFKdkIsU0FBUzsrQkFDRSxRQUFRIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3dhYy1oMicsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2gyLmNvbXBvbmVudC5odG1sJ1xyXG59KVxyXG5leHBvcnQgY2xhc3MgSDJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG4gIGNvbnN0cnVjdG9yKCkge31cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7fVxyXG59XHJcbiIsIjxoMiBjbGFzcz1cIndhYy1oMlwiPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L2gyPlxyXG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class H3Component {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.grey = false;
|
|
7
|
-
}
|
|
8
|
-
ngOnInit() { }
|
|
9
|
-
}
|
|
10
|
-
H3Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: H3Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
H3Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: H3Component, selector: "wac-h3", inputs: { grey: "grey" }, ngImport: i0, template: "<h3 class=\"wac-h3\" [ngClass]=\"{ grey: grey }\"><ng-content></ng-content></h3>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: H3Component, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'wac-h3', template: "<h3 class=\"wac-h3\" [ngClass]=\"{ grey: grey }\"><ng-content></ng-content></h3>\r\n" }]
|
|
15
|
-
}], ctorParameters: function () { return []; }, propDecorators: { grey: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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PGgzIGNsYXNzPVwid2FjLWgzXCIgW25nQ2xhc3NdPVwieyBncmV5OiBncmV5IH1cIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9oMz5cclxuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class H4Component {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.grey = false;
|
|
7
|
-
}
|
|
8
|
-
ngOnInit() { }
|
|
9
|
-
}
|
|
10
|
-
H4Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: H4Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
H4Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: H4Component, selector: "wac-h4", inputs: { grey: "grey" }, ngImport: i0, template: "<h4 class=\"wac-h4\" [ngClass]=\"{ grey: grey }\"><ng-content></ng-content></h4>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: H4Component, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'wac-h4', template: "<h4 class=\"wac-h4\" [ngClass]=\"{ grey: grey }\"><ng-content></ng-content></h4>\r\n" }]
|
|
15
|
-
}], ctorParameters: function () { return []; }, propDecorators: { grey: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaDQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1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0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class ImageComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.src = '';
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
ImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
ImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ImageComponent, selector: "wac-image", inputs: { src: "src" }, ngImport: i0, template: "<div class=\"wac-image\">\r\n <div class=\"wac-image__wrapper\" [ngClass]=\"src === '' ? 'empty' : ''\" [style.background-image]=\"'url(' + src + ')'\">\r\n <i class=\"fal fa-images\" *ngIf=\"src === ''\"></i>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ImageComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{ selector: 'wac-image', template: "<div class=\"wac-image\">\r\n <div class=\"wac-image__wrapper\" [ngClass]=\"src === '' ? 'empty' : ''\" [style.background-image]=\"'url(' + src + ')'\">\r\n <i class=\"fal fa-images\" *ngIf=\"src === ''\"></i>\r\n </div>\r\n</div>\r\n" }]
|
|
14
|
-
}], ctorParameters: function () { return []; }, propDecorators: { src: [{
|
|
15
|
-
type: Input
|
|
16
|
-
}] } });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuY29tcG9uZW50L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lbXB0eScgOiAnJ1wiIFtzdHlsZS5iYWNrZ3JvdW5kLWltYWdlXT1cIid1cmwoJyArIHNyYyArICcpJ1wiPlxyXG4gICAgPGkgY2xhc3M9XCJmYWwgZmEtaW1hZ2VzXCIgKm5nSWY9XCJzcmMgPT09ICcnXCI+PC9pPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class InfoComponent {
|
|
4
|
-
constructor() { }
|
|
5
|
-
}
|
|
6
|
-
InfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
InfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: InfoComponent, selector: "wac-info", ngImport: i0, template: "<div class=\"wac-info\">\r\n <div class=\"wac-info__wrapper\">\r\n <i class=\"fas fa-info-circle\"></i>\r\n <div class=\"wac-info__wrapper__sublevel\">\r\n <div class=\"wac-info__wrapper__sublevel__container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" });
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InfoComponent, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'wac-info', template: "<div class=\"wac-info\">\r\n <div class=\"wac-info__wrapper\">\r\n <i class=\"fas fa-info-circle\"></i>\r\n <div class=\"wac-info__wrapper__sublevel\">\r\n <div class=\"wac-info__wrapper__sublevel__container\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
11
|
-
}], ctorParameters: function () { return []; } });
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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gICAgPGRpdiBjbGFzcz1cIndhYy1pbmZvX193cmFwcGVyX19zdWJsZXZlbF9fY29udGFpbmVyXCI+XHJcbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
|
-
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { TooltipModule } from '../../tooltip/tooltip.module';
|
|
5
|
-
import { SharedDirectives } from '../../../directives/shared-directives.module';
|
|
6
|
-
import { ProgressBarComponent } from '../../progress-bar/progress-bar.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
import * as i2 from "@angular/forms";
|
|
10
|
-
import * as i3 from "../../tooltip/tooltip.component";
|
|
11
|
-
export class InputComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.label = '';
|
|
14
|
-
this.value = '';
|
|
15
|
-
this.type = 'text';
|
|
16
|
-
this.placeholder = ''; // todo could be handle with ng-content
|
|
17
|
-
this.textInfo = null; // todo should be handle with ng-content
|
|
18
|
-
this.textError = null; // todo should be handle with ng-content
|
|
19
|
-
this.size = null;
|
|
20
|
-
this.isNumber = null;
|
|
21
|
-
this.withoutBlock = false;
|
|
22
|
-
this.icon = '';
|
|
23
|
-
this.big = false;
|
|
24
|
-
this.medium = false;
|
|
25
|
-
this.boldLabel = 'false'; // todo refacto to boolean
|
|
26
|
-
this.min = null;
|
|
27
|
-
this.max = null;
|
|
28
|
-
this.disableMargin = false;
|
|
29
|
-
this.textPrepend = null; // todo should be handle with ng-content
|
|
30
|
-
this.textAppend = null; // todo should be handle with ng-content
|
|
31
|
-
this.progressBar = false;
|
|
32
|
-
this.extraClasses = '';
|
|
33
|
-
this.keyPreventDefault = [];
|
|
34
|
-
this.showTooltip = false;
|
|
35
|
-
this.textTooltip = '';
|
|
36
|
-
this.iconTooltip = '';
|
|
37
|
-
this.urlTooltip = '';
|
|
38
|
-
this.linkTooltip = '';
|
|
39
|
-
this.padding = false;
|
|
40
|
-
this.disabled = false;
|
|
41
|
-
this.indication = ''; // todo should be handle with ng-content
|
|
42
|
-
this.success = false;
|
|
43
|
-
this.error = false;
|
|
44
|
-
this.indicationLeft = false;
|
|
45
|
-
this.keypressEnter = new EventEmitter();
|
|
46
|
-
this.blurred = new EventEmitter();
|
|
47
|
-
this.KEYPRESS_ENTER = "Enter";
|
|
48
|
-
this.id = 'wz-input_' +
|
|
49
|
-
Math.random()
|
|
50
|
-
.toString(36)
|
|
51
|
-
.substr(2, 9);
|
|
52
|
-
this._onChange = (value) => { };
|
|
53
|
-
this._onTouched = () => { };
|
|
54
|
-
}
|
|
55
|
-
registerOnChange(fn) {
|
|
56
|
-
this._onChange = fn;
|
|
57
|
-
}
|
|
58
|
-
registerOnTouched(fn) {
|
|
59
|
-
this._onTouched = fn;
|
|
60
|
-
}
|
|
61
|
-
setDisabledState(isDisabled) {
|
|
62
|
-
this.disabled = isDisabled;
|
|
63
|
-
}
|
|
64
|
-
writeValue(obj) {
|
|
65
|
-
this.value = obj;
|
|
66
|
-
}
|
|
67
|
-
onChange(value) {
|
|
68
|
-
if (this._onChange) {
|
|
69
|
-
this._onChange(value);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
onBlur() {
|
|
73
|
-
if (this._onTouched) {
|
|
74
|
-
this._onTouched();
|
|
75
|
-
}
|
|
76
|
-
this.blurred.next();
|
|
77
|
-
}
|
|
78
|
-
checkNumberValue(value) {
|
|
79
|
-
if (this.min && this.min > value) {
|
|
80
|
-
this.value = this.min;
|
|
81
|
-
}
|
|
82
|
-
if (this.max && this.max < value) {
|
|
83
|
-
this.value = this.max;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
onFocusOut() {
|
|
87
|
-
if (this.type === 'number') {
|
|
88
|
-
this.checkNumberValue(this.value);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
keyPress(event) {
|
|
92
|
-
if (this.keyPreventDefault.includes(event.key)) {
|
|
93
|
-
event.preventDefault();
|
|
94
|
-
}
|
|
95
|
-
if (event.key === this.KEYPRESS_ENTER) {
|
|
96
|
-
this.keypressEnter.next(true);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
InputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
-
InputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: InputComponent, isStandalone: true, selector: "wac-input", inputs: { label: "label", value: "value", type: "type", placeholder: "placeholder", textInfo: "textInfo", textError: "textError", size: "size", isNumber: "isNumber", withoutBlock: "withoutBlock", icon: "icon", big: "big", medium: "medium", boldLabel: "boldLabel", min: "min", max: "max", disableMargin: "disableMargin", textPrepend: "textPrepend", textAppend: "textAppend", progressBar: "progressBar", extraClasses: "extraClasses", keyPreventDefault: "keyPreventDefault", showTooltip: "showTooltip", textTooltip: "textTooltip", iconTooltip: "iconTooltip", urlTooltip: "urlTooltip", linkTooltip: "linkTooltip", padding: "padding", disabled: "disabled", indication: "indication", success: "success", error: "error", maxlength: "maxlength", minlength: "minlength", indicationLeft: "indicationLeft" }, outputs: { keypressEnter: "keypressEnter", blurred: "blurred" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: InputComponent, multi: true }], ngImport: i0, template: "<div\r\n class=\"field wac-input\"\r\n [ngClass]=\"{ 'has-no-block': withoutBlock, 'is-big': big, 'is-medium': medium, 'with-padding': padding, 'indication-left': indicationLeft, 'with-progress-bar': progressBar }\"\r\n>\r\n <div class=\"field-label is-normal has-text-left\" *ngIf=\"!withoutBlock\">\r\n <label\r\n [ngClass]=\"[boldLabel === 'true' ? 'label has-text-weight-bold' : 'label has-text-weight-normal', showTooltip ? 'label-inline' : '', size && !progressBar ? 'has-padding-right-mobile' : '']\"\r\n [innerHTML]=\"label\"\r\n [for]=\"id\"\r\n ></label>\r\n <wac-tooltip\r\n *ngIf=\"showTooltip\"\r\n [tooltipIcon]=\"iconTooltip\"\r\n [tooltipText]=\"textTooltip\"\r\n [tooltipLink]=\"linkTooltip\"\r\n [tooltipUrl]=\"urlTooltip\"\r\n ></wac-tooltip>\r\n <!-- Size -->\r\n <span *ngIf=\"size && !progressBar\" class=\"is-size-7 wac-input__size\">\r\n <strong>{{ !value ? 0 : value.toString().length }}</strong> / {{ size }}\r\n </span>\r\n </div>\r\n <div class=\"field-body\">\r\n <div class=\"field\">\r\n <p\r\n class=\"control\"\r\n [ngClass]=\"{ 'has-icons-right': textError || success || error, 'has-icons-left': icon !== '', 'has-input-group': textAppend || textPrepend }\"\r\n >\r\n <!-- Text Prepend -->\r\n <span *ngIf=\"textPrepend\" class=\"has-input-group\">\r\n <span class=\"has-input-group-text prepend\">{{ textPrepend }}</span>\r\n <span *ngIf=\"icon !== ''\" class=\"icon is-small is-left\">\r\n <i [class]=\"icon\"></i>\r\n </span>\r\n </span>\r\n\r\n <!-- Input -->\r\n <input\r\n [class]=\"'input ' + extraClasses\"\r\n [id]=\"id\"\r\n [ngClass]=\"{\r\n 'is-danger': (textError || error) && !disabled,\r\n 'is-empty': value === '',\r\n 'is-large': big,\r\n 'is-number': isNumber,\r\n 'remove-margin': disableMargin,\r\n 'text-append': textAppend\r\n }\"\r\n [type]=\"type\"\r\n [placeholder]=\"placeholder\"\r\n [attr.size]=\"size\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"onChange($event)\"\r\n (blur)=\"onBlur()\"\r\n [disabled]=\"disabled\"\r\n (focusout)=\"onFocusOut()\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [maxlength]=\"maxlength ? maxlength : 524288\"\r\n [minlength]=\"minlength ? minlength : 0\"\r\n (keypress)=\"keyPress($event)\"\r\n />\r\n\r\n <!-- Indication at the end of the input -->\r\n <span class=\"indication\" *ngIf=\"indication\" [ngClass]=\"{'reverse': indicationLeft}\">\r\n <span [innerHTML]=\"indication\"></span>\r\n </span>\r\n\r\n <!-- Text Append -->\r\n <span *ngIf=\"textAppend && !indicationLeft\" class=\"has-input-group\">\r\n <span class=\"has-input-group-text append\">{{ textAppend }}</span>\r\n <!-- error if text append not empty -->\r\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\r\n <i class=\"fal fa-times has-text-danger\"></i>\r\n </span>\r\n </span>\r\n\r\n <!-- Icon Left -->\r\n <span *ngIf=\"icon !== '' && !textPrepend && !indicationLeft\" class=\"icon is-small is-left\">\r\n <i [class]=\"icon\"></i>\r\n </span>\r\n\r\n <!-- Icon error if textAppend empty -->\r\n <span *ngIf=\"(textError || error) && !textAppend && !indicationLeft && !disabled\" class=\"icon is-small is-right\">\r\n <i class=\"fal fa-times has-text-danger\"></i>\r\n </span>\r\n\r\n <!-- Icon success -->\r\n <span *ngIf=\"success && !disabled\" class=\"icon is-small is-right\">\r\n <i class=\"fas fa-check has-text-success\"></i>\r\n </span>\r\n\r\n <!-- Text Info -->\r\n <span\r\n *ngIf=\"textInfo && (textError === null || textError === '') && !progressBar && !indicationLeft\"\r\n class=\"is-size-7 wac-input__info text-info\"\r\n [innerHtml]=\"textInfo\"\r\n ></span>\r\n\r\n <!-- Text Error -->\r\n <span *ngIf=\"textError && !progressBar && !indicationLeft\" class=\"is-size-7 wac-input__error has-text-danger\" [innerHtml]=\"textError\"></span>\r\n </p>\r\n\r\n <!-- Progress Bar -->\r\n <wac-progress-bar *ngIf=\"progressBar && !indicationLeft\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedDirectives }, { kind: "ngmodule", type: TooltipModule }, { kind: "component", type: i3.TooltipComponent, selector: "wac-tooltip", inputs: ["tooltipIcon", "tooltipText", "tooltipLink", "tooltipUrl"] }, { kind: "component", type: ProgressBarComponent, selector: "wac-progress-bar", inputs: ["valueLength", "min", "max"] }] });
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InputComponent, decorators: [{
|
|
103
|
-
type: Component,
|
|
104
|
-
args: [{ selector: 'wac-input', standalone: true, imports: [
|
|
105
|
-
CommonModule,
|
|
106
|
-
FormsModule,
|
|
107
|
-
SharedDirectives,
|
|
108
|
-
TooltipModule,
|
|
109
|
-
ProgressBarComponent
|
|
110
|
-
], providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: InputComponent, multi: true }], template: "<div\r\n class=\"field wac-input\"\r\n [ngClass]=\"{ 'has-no-block': withoutBlock, 'is-big': big, 'is-medium': medium, 'with-padding': padding, 'indication-left': indicationLeft, 'with-progress-bar': progressBar }\"\r\n>\r\n <div class=\"field-label is-normal has-text-left\" *ngIf=\"!withoutBlock\">\r\n <label\r\n [ngClass]=\"[boldLabel === 'true' ? 'label has-text-weight-bold' : 'label has-text-weight-normal', showTooltip ? 'label-inline' : '', size && !progressBar ? 'has-padding-right-mobile' : '']\"\r\n [innerHTML]=\"label\"\r\n [for]=\"id\"\r\n ></label>\r\n <wac-tooltip\r\n *ngIf=\"showTooltip\"\r\n [tooltipIcon]=\"iconTooltip\"\r\n [tooltipText]=\"textTooltip\"\r\n [tooltipLink]=\"linkTooltip\"\r\n [tooltipUrl]=\"urlTooltip\"\r\n ></wac-tooltip>\r\n <!-- Size -->\r\n <span *ngIf=\"size && !progressBar\" class=\"is-size-7 wac-input__size\">\r\n <strong>{{ !value ? 0 : value.toString().length }}</strong> / {{ size }}\r\n </span>\r\n </div>\r\n <div class=\"field-body\">\r\n <div class=\"field\">\r\n <p\r\n class=\"control\"\r\n [ngClass]=\"{ 'has-icons-right': textError || success || error, 'has-icons-left': icon !== '', 'has-input-group': textAppend || textPrepend }\"\r\n >\r\n <!-- Text Prepend -->\r\n <span *ngIf=\"textPrepend\" class=\"has-input-group\">\r\n <span class=\"has-input-group-text prepend\">{{ textPrepend }}</span>\r\n <span *ngIf=\"icon !== ''\" class=\"icon is-small is-left\">\r\n <i [class]=\"icon\"></i>\r\n </span>\r\n </span>\r\n\r\n <!-- Input -->\r\n <input\r\n [class]=\"'input ' + extraClasses\"\r\n [id]=\"id\"\r\n [ngClass]=\"{\r\n 'is-danger': (textError || error) && !disabled,\r\n 'is-empty': value === '',\r\n 'is-large': big,\r\n 'is-number': isNumber,\r\n 'remove-margin': disableMargin,\r\n 'text-append': textAppend\r\n }\"\r\n [type]=\"type\"\r\n [placeholder]=\"placeholder\"\r\n [attr.size]=\"size\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"onChange($event)\"\r\n (blur)=\"onBlur()\"\r\n [disabled]=\"disabled\"\r\n (focusout)=\"onFocusOut()\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [maxlength]=\"maxlength ? maxlength : 524288\"\r\n [minlength]=\"minlength ? minlength : 0\"\r\n (keypress)=\"keyPress($event)\"\r\n />\r\n\r\n <!-- Indication at the end of the input -->\r\n <span class=\"indication\" *ngIf=\"indication\" [ngClass]=\"{'reverse': indicationLeft}\">\r\n <span [innerHTML]=\"indication\"></span>\r\n </span>\r\n\r\n <!-- Text Append -->\r\n <span *ngIf=\"textAppend && !indicationLeft\" class=\"has-input-group\">\r\n <span class=\"has-input-group-text append\">{{ textAppend }}</span>\r\n <!-- error if text append not empty -->\r\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\r\n <i class=\"fal fa-times has-text-danger\"></i>\r\n </span>\r\n </span>\r\n\r\n <!-- Icon Left -->\r\n <span *ngIf=\"icon !== '' && !textPrepend && !indicationLeft\" class=\"icon is-small is-left\">\r\n <i [class]=\"icon\"></i>\r\n </span>\r\n\r\n <!-- Icon error if textAppend empty -->\r\n <span *ngIf=\"(textError || error) && !textAppend && !indicationLeft && !disabled\" class=\"icon is-small is-right\">\r\n <i class=\"fal fa-times has-text-danger\"></i>\r\n </span>\r\n\r\n <!-- Icon success -->\r\n <span *ngIf=\"success && !disabled\" class=\"icon is-small is-right\">\r\n <i class=\"fas fa-check has-text-success\"></i>\r\n </span>\r\n\r\n <!-- Text Info -->\r\n <span\r\n *ngIf=\"textInfo && (textError === null || textError === '') && !progressBar && !indicationLeft\"\r\n class=\"is-size-7 wac-input__info text-info\"\r\n [innerHtml]=\"textInfo\"\r\n ></span>\r\n\r\n <!-- Text Error -->\r\n <span *ngIf=\"textError && !progressBar && !indicationLeft\" class=\"is-size-7 wac-input__error has-text-danger\" [innerHtml]=\"textError\"></span>\r\n </p>\r\n\r\n <!-- Progress Bar -->\r\n <wac-progress-bar *ngIf=\"progressBar && !indicationLeft\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
111
|
-
}], propDecorators: { label: [{
|
|
112
|
-
type: Input
|
|
113
|
-
}], value: [{
|
|
114
|
-
type: Input
|
|
115
|
-
}], type: [{
|
|
116
|
-
type: Input
|
|
117
|
-
}], placeholder: [{
|
|
118
|
-
type: Input
|
|
119
|
-
}], textInfo: [{
|
|
120
|
-
type: Input
|
|
121
|
-
}], textError: [{
|
|
122
|
-
type: Input
|
|
123
|
-
}], size: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], isNumber: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], withoutBlock: [{
|
|
128
|
-
type: Input
|
|
129
|
-
}], icon: [{
|
|
130
|
-
type: Input
|
|
131
|
-
}], big: [{
|
|
132
|
-
type: Input
|
|
133
|
-
}], medium: [{
|
|
134
|
-
type: Input
|
|
135
|
-
}], boldLabel: [{
|
|
136
|
-
type: Input
|
|
137
|
-
}], min: [{
|
|
138
|
-
type: Input
|
|
139
|
-
}], max: [{
|
|
140
|
-
type: Input
|
|
141
|
-
}], disableMargin: [{
|
|
142
|
-
type: Input
|
|
143
|
-
}], textPrepend: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], textAppend: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], progressBar: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], extraClasses: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], keyPreventDefault: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], showTooltip: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], textTooltip: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], iconTooltip: [{
|
|
158
|
-
type: Input
|
|
159
|
-
}], urlTooltip: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}], linkTooltip: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], padding: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], disabled: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], indication: [{
|
|
168
|
-
type: Input
|
|
169
|
-
}], success: [{
|
|
170
|
-
type: Input
|
|
171
|
-
}], error: [{
|
|
172
|
-
type: Input
|
|
173
|
-
}], maxlength: [{
|
|
174
|
-
type: Input
|
|
175
|
-
}], minlength: [{
|
|
176
|
-
type: Input
|
|
177
|
-
}], indicationLeft: [{
|
|
178
|
-
type: Input
|
|
179
|
-
}], keypressEnter: [{
|
|
180
|
-
type: Output
|
|
181
|
-
}], blurred: [{
|
|
182
|
-
type: Output
|
|
183
|
-
}] } });
|
|
184
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvaW5wdXQvaW5wdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvaW5wdXQvaW5wdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkUsT0FBTyxFQUF3QixXQUFXLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sOEN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QcmVwZW5kIC0tPlxyXG4gICAgICAgIDxzcGFuICpuZ0lmPVwidGV4dFByZXBlbmRcIiBjbGFzcz1cImhhcy1pbnB1dC1ncm91cFwiPlxyXG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJoYXMtaW5wdXQtZ3JvdXAtdGV4dCBwcmVwZW5kXCI+e3sgdGV4dFByZXBlbmQgfX08L3NwYW4+XHJcbiAgICAgICAgICA8c3BhbiAqbmdJZj1cImljb24gIT09ICcnXCIgY2xhc3M9XCJpY29uIGlzLXNtYWxsIGlzLWxlZnRcIj5cclxuICAgICAgICAgICAgPGkgW2NsYXNzXT1cImljb25cIj48L2k+XHJcbiAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgPC9zcGFuPlxyXG5cclxuICAgICAgICA8IS0tIElucHV0IC0tPlxyXG4gICAgICAgIDxpbnB1dFxyXG4gICAgICAgICAgW2NsYXNzXT1cIidpbnB1dCAnICsgZXh0cmFDbGFzc2VzXCJcclxuICAgICAgICAgIFtpZF09XCJpZFwiXHJcbiAgICAgICAgICBbbmdDbGFzc109XCJ7XHJcbiAgICAgICAgICAgICdpcy1kYW5nZXInOiAodGV4dEVycm9yIHx8IGVycm9yKSAmJiAhZGlzYWJsZWQsXHJcbiAgICAgICAgICAgICdpcy1lbXB0eSc6IHZhbHVlID09PSAnJyxcclxuICAgICAgICAgICAgJ2lzLWxhcmdlJzogYmlnLFxyXG4gICAgICAgICAgICAnaXMtbnVtYmVyJzogaXNOdW1iZXIsXHJcbiAgICAgICAgICAgICdyZW1vdmUtbWFyZ2luJzogZGlzYWJsZU1hcmdpbixcclxuICAgICAgICAgICAgJ3RleHQtYXBwZW5kJzogdGV4dEFwcGVuZFxyXG4gICAgICAgICAgfVwiXHJcbiAgICAgICAgICBbdHlwZV09XCJ0eXBlXCJcclxuICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXHJcbiAgICAgICAgICBbYXR0ci5zaXplXT1cInNpemVcIlx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@@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
|
-
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { SharedDirectives } from '../../../directives/shared-directives.module';
|
|
5
|
-
import { InputComponent } from '../input/input.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
import * as i2 from "@angular/forms";
|
|
9
|
-
import * as i3 from "../../../directives/abstract-debounce/debounce-keyup.directive";
|
|
10
|
-
export class InputSearchComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.placeholder = '';
|
|
13
|
-
this.withoutgrey = false;
|
|
14
|
-
this.smallPadding = false; // todo Try to be more flexible like changing type : export type PaddingConfig = "default" | "small" | "big" | "no-padding";
|
|
15
|
-
this.innerValue = '';
|
|
16
|
-
this.changeDebounced = new EventEmitter(); // debounced
|
|
17
|
-
this.onTouchedCallback = () => { };
|
|
18
|
-
this.onChangeCallback = () => { };
|
|
19
|
-
}
|
|
20
|
-
get value() {
|
|
21
|
-
return this.innerValue;
|
|
22
|
-
}
|
|
23
|
-
set value(v) {
|
|
24
|
-
if (v !== this.innerValue) {
|
|
25
|
-
this.innerValue = v;
|
|
26
|
-
this.onChangeCallback(v);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
writeValue(value) {
|
|
30
|
-
if (value !== this.innerValue) {
|
|
31
|
-
this.innerValue = value;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
registerOnChange(fn) {
|
|
35
|
-
this.onChangeCallback = fn;
|
|
36
|
-
}
|
|
37
|
-
registerOnTouched(fn) {
|
|
38
|
-
this.onTouchedCallback = fn;
|
|
39
|
-
}
|
|
40
|
-
handleDebouncedKeyUp() {
|
|
41
|
-
this.changeDebounced.emit(this.value);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
InputSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InputSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
-
InputSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: InputSearchComponent, isStandalone: true, selector: "wac-input-search", inputs: { placeholder: "placeholder", withoutgrey: "withoutgrey", smallPadding: "smallPadding", id: "id" }, outputs: { changeDebounced: "changeDebounced" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: InputSearchComponent, multi: true }], ngImport: i0, template: "<div class=\"wac-field-input-search\" [ngClass]=\"{'small-padding' : smallPadding, 'no-grey': withoutgrey}\">\r\n <p class=\"control has-icons-left has-icons-right\">\r\n <input\r\n [placeholder]=\"placeholder\"\r\n value=\"\"\r\n class=\"input\"\r\n type=\"text\"\r\n [attr.id]=\"id\"\r\n [(ngModel)]=\"value\"\r\n debounceKeyUp\r\n [debounceTime]=\"1000\"\r\n (onEventChange)=\"handleDebouncedKeyUp()\"\r\n />\r\n <i class=\"icon fal fa-search\"></i>\r\n </p>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedDirectives }, { kind: "directive", type: i3.DebounceKeyupDirective, selector: "input[debounceKeyUp]" }] });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: InputSearchComponent, decorators: [{
|
|
47
|
-
type: Component,
|
|
48
|
-
args: [{ selector: 'wac-input-search', standalone: true, imports: [
|
|
49
|
-
CommonModule,
|
|
50
|
-
FormsModule,
|
|
51
|
-
InputComponent,
|
|
52
|
-
SharedDirectives
|
|
53
|
-
], providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: InputSearchComponent, multi: true }], template: "<div class=\"wac-field-input-search\" [ngClass]=\"{'small-padding' : smallPadding, 'no-grey': withoutgrey}\">\r\n <p class=\"control has-icons-left has-icons-right\">\r\n <input\r\n [placeholder]=\"placeholder\"\r\n value=\"\"\r\n class=\"input\"\r\n type=\"text\"\r\n [attr.id]=\"id\"\r\n [(ngModel)]=\"value\"\r\n debounceKeyUp\r\n [debounceTime]=\"1000\"\r\n (onEventChange)=\"handleDebouncedKeyUp()\"\r\n />\r\n <i class=\"icon fal fa-search\"></i>\r\n </p>\r\n</div>\r\n" }]
|
|
54
|
-
}], propDecorators: { placeholder: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], withoutgrey: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], smallPadding: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], id: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], changeDebounced: [{
|
|
63
|
-
type: Output
|
|
64
|
-
}] } });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL2lucHV0LXNlYXJjaC9pbnB1dC1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4v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BcclxuICAgICAgW2RlYm91bmNlVGltZV09XCIxMDAwXCJcclxuICAgICAgKG9uRXZlbnRDaGFuZ2UpPVwiaGFuZGxlRGVib3VuY2VkS2V5VXAoKVwiXHJcbiAgICAvPlxyXG4gICAgPGkgY2xhc3M9XCJpY29uIGZhbCBmYS1zZWFyY2hcIj48L2k+XHJcbiAgPC9wPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Component, Input, ViewChild } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class LinkComponent {
|
|
5
|
-
set href(link) {
|
|
6
|
-
this._link = link;
|
|
7
|
-
this.setAttributesLink();
|
|
8
|
-
}
|
|
9
|
-
get href() {
|
|
10
|
-
return this._link;
|
|
11
|
-
}
|
|
12
|
-
constructor(renderer2) {
|
|
13
|
-
this.renderer2 = renderer2;
|
|
14
|
-
this.target = '_self';
|
|
15
|
-
this.fontSize = '14px';
|
|
16
|
-
}
|
|
17
|
-
ngAfterViewInit() {
|
|
18
|
-
this.setAttributesLink();
|
|
19
|
-
}
|
|
20
|
-
setAttributesLink() {
|
|
21
|
-
if (!this.linkComponent) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if (this.href) {
|
|
25
|
-
this.renderer2.setAttribute(this.linkComponent.nativeElement, "href", this.href);
|
|
26
|
-
this.renderer2.setAttribute(this.linkComponent.nativeElement, "target", this.target);
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
this.renderer2.removeAttribute(this.linkComponent.nativeElement, "href");
|
|
30
|
-
this.renderer2.removeAttribute(this.linkComponent.nativeElement, "target");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
LinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LinkComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
LinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: LinkComponent, selector: "wac-link", inputs: { href: "href", tooltip: "tooltip", tooltipWidth: "tooltipWidth", target: "target", id: "id", class: "class", fontSize: "fontSize" }, viewQueries: [{ propertyName: "linkComponent", first: true, predicate: ["linkComponent"], descendants: true }], ngImport: i0, template: "<a #linkComponent class=\"wac-link\" [style.fontSize]=\"fontSize\" [ngClass]=\"{ class: class }\" [id]=\"{ id: id }\">\r\n <ng-content></ng-content>\r\n <span class=\"wac-link__tooltip\" [ngStyle]=\"{'min-width': tooltipWidth + 'px'}\" *ngIf=\"tooltip\" [innerHTML]=\"tooltip\"></span>\r\n</a>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LinkComponent, decorators: [{
|
|
37
|
-
type: Component,
|
|
38
|
-
args: [{ selector: 'wac-link', template: "<a #linkComponent class=\"wac-link\" [style.fontSize]=\"fontSize\" [ngClass]=\"{ class: class }\" [id]=\"{ id: id }\">\r\n <ng-content></ng-content>\r\n <span class=\"wac-link__tooltip\" [ngStyle]=\"{'min-width': tooltipWidth + 'px'}\" *ngIf=\"tooltip\" [innerHTML]=\"tooltip\"></span>\r\n</a>\r\n" }]
|
|
39
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { href: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], tooltip: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], tooltipWidth: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], target: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], id: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], class: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], fontSize: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], linkComponent: [{
|
|
54
|
-
type: ViewChild,
|
|
55
|
-
args: ['linkComponent']
|
|
56
|
-
}] } });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2xpbmsvbGluay5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2xpbmsvbGluay5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFNBQVMsRUFBYyxLQUFLLEVBQWEsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFNbEcsTUFBTSxPQUFPLGFBQWE7SUFJeEIsSUFBYSxJQUFJLENBQUMsSUFBYTtRQUM3QixJQUFJLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQztRQUNsQixJQUFJLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztJQUMzQixDQUFDO0lBRUQsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFZRCxZQUFvQixTQUFvQjtRQUFwQixjQUFTLEdBQVQsU0FBUyxDQUFXO1FBUi9CLFdBQU0sR0FBNEMsT0FBTyxDQUFDO1FBRzFELGFBQVEsR0FBRyxNQUFNLENBQUM7SUFLZ0IsQ0FBQztJQUU1Qyxl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