@wizishop/angular-components 15.1.112 → 18.2.0
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 +1717 -1719
- 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/esm2022/lib/components/ai-express/ai-express.component.mjs +83 -0
- 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 +444 -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/{esm2020 → esm2022}/lib/components/text-area/text-area.component.mjs +4 -4
- 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 +888 -884
- 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 +1 -1
- 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-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 +26 -32
- package/esm2020/lib/components/ai-express/ai-express.component.mjs +0 -83
- 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 -81
- 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 -97
- 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/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 -7023
- package/fesm2015/wizishop-angular-components.mjs.map +0 -1
- package/fesm2020/wizishop-angular-components.mjs.map +0 -1
- package/wizishop-angular-components-15.1.112.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
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { Component, Input, EventEmitter, Output, ChangeDetectionStrategy, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { opacityAnimation } from '../../animations/show/opacity.animation';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "@wizishop/ng-wizi-bulma";
|
|
9
|
+
import * as i4 from "../../directives/auto-hide/auto-hide.directive";
|
|
10
|
+
import * as i5 from "../../directives/zindex-toggle/zindex-toggle.directive";
|
|
11
|
+
import * as i6 from "../../directives/keyboard-events/only-numbers.directive";
|
|
12
|
+
import * as i7 from "../optional-disable-container/optional-disable-container.component";
|
|
13
|
+
import * as i8 from "@ngx-translate/core";
|
|
14
|
+
export class CalendarComponent {
|
|
15
|
+
set options(options) {
|
|
16
|
+
this._options = options;
|
|
17
|
+
if (this.isBulmaDatePickerExists()) {
|
|
18
|
+
this.updateBulmaDatePickerOptions(options);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
get options() {
|
|
22
|
+
return this._options;
|
|
23
|
+
}
|
|
24
|
+
set dateSelected(dateSelected) {
|
|
25
|
+
if (this.disabled) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
this._dateSelected = new Date(dateSelected); // trigger change detection for pure pipe
|
|
29
|
+
}
|
|
30
|
+
get dateSelected() {
|
|
31
|
+
return this._dateSelected;
|
|
32
|
+
}
|
|
33
|
+
set calendarMinutes(calendarMinutes) {
|
|
34
|
+
if (!this.dateSelected) {
|
|
35
|
+
this.dateSelected = new Date();
|
|
36
|
+
}
|
|
37
|
+
const minutes = this.formatTime(calendarMinutes, 0, 59);
|
|
38
|
+
this.dateSelected.setMinutes(minutes);
|
|
39
|
+
this.dateSelected = this.dateSelected; // trigger change detection
|
|
40
|
+
this.minutes.nativeElement.value = this.datePipe.transform(this.dateSelected, 'mm'); // force to update the input value
|
|
41
|
+
this.triggerDateSelectedChange();
|
|
42
|
+
}
|
|
43
|
+
get calendarMinutes() {
|
|
44
|
+
return this.datePipe.transform(this.dateSelected ?? new Date(), 'mm');
|
|
45
|
+
}
|
|
46
|
+
set calendarHours(calendarHours) {
|
|
47
|
+
if (!this.dateSelected) {
|
|
48
|
+
this.dateSelected = new Date();
|
|
49
|
+
}
|
|
50
|
+
const hours = this.formatTime(calendarHours, 0, 23);
|
|
51
|
+
this.dateSelected.setHours(hours);
|
|
52
|
+
this.dateSelected = this.dateSelected; // trigger change detection
|
|
53
|
+
this.hours.nativeElement.value = this.datePipe.transform(this.dateSelected, 'HH'); // force to update the input value
|
|
54
|
+
this.triggerDateSelectedChange();
|
|
55
|
+
}
|
|
56
|
+
get calendarHours() {
|
|
57
|
+
return this.datePipe.transform(this.dateSelected ?? new Date(), 'HH');
|
|
58
|
+
}
|
|
59
|
+
constructor(datePipe) {
|
|
60
|
+
this.datePipe = datePipe;
|
|
61
|
+
this.boldLabel = false; // todo remove when label will be a ng-content
|
|
62
|
+
this.type = 'input';
|
|
63
|
+
this._options = {
|
|
64
|
+
displayMode: 'inline',
|
|
65
|
+
showHeader: false,
|
|
66
|
+
showFooter: true,
|
|
67
|
+
};
|
|
68
|
+
this.position = 'bottom';
|
|
69
|
+
this.dateSelectedChange = new EventEmitter();
|
|
70
|
+
this.typeDate = 'datetime-local';
|
|
71
|
+
this.noMargin = false;
|
|
72
|
+
this.disabled = false;
|
|
73
|
+
this.changeData = new EventEmitter();
|
|
74
|
+
this.open = false;
|
|
75
|
+
this.startLabel = '';
|
|
76
|
+
this.endLabel = '';
|
|
77
|
+
// ControlValueAccessor methods
|
|
78
|
+
this.onChange = () => { };
|
|
79
|
+
this.onTouch = () => { };
|
|
80
|
+
}
|
|
81
|
+
ngOnChanges(changes) {
|
|
82
|
+
if (changes.label || changes.type) {
|
|
83
|
+
this.setCalendarLabel();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
onChangeDate(selectedDates) {
|
|
87
|
+
if (this.disabled) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (!this.dateSelected) {
|
|
91
|
+
this.dateSelected = new Date();
|
|
92
|
+
}
|
|
93
|
+
selectedDates.startDate.setHours(this.dateSelected.getHours());
|
|
94
|
+
selectedDates.startDate.setMinutes(this.dateSelected.getMinutes());
|
|
95
|
+
this.dateSelected = selectedDates.startDate;
|
|
96
|
+
this.triggerDateSelectedChange();
|
|
97
|
+
}
|
|
98
|
+
triggerDateSelectedChange() {
|
|
99
|
+
this.onChange(this.dateSelected);
|
|
100
|
+
this.dateSelectedChange.emit(this.dateSelected);
|
|
101
|
+
this.triggerChange({
|
|
102
|
+
startDate: this.dateSelected,
|
|
103
|
+
endDate: this.dateSelected
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
triggerChange(event) {
|
|
107
|
+
this.changeData.emit(event);
|
|
108
|
+
}
|
|
109
|
+
openCalendar(value = null) {
|
|
110
|
+
if (this.disabled) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
if (value === 'close') {
|
|
114
|
+
if (this.open) {
|
|
115
|
+
this.open = false;
|
|
116
|
+
this.onTouch();
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
this.open = !this.open;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
setCalendarLabel() {
|
|
124
|
+
if (this.type === 'edit' && this.label) {
|
|
125
|
+
const splitLabel = this.label.split('{x}');
|
|
126
|
+
if (splitLabel.length > 1) {
|
|
127
|
+
this.startLabel = splitLabel[0];
|
|
128
|
+
this.endLabel = splitLabel[1];
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
this.startLabel = this.label;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
incrementMinutes($event) {
|
|
136
|
+
this.calendarMinutes = parseInt(this.calendarMinutes, 10) + 1 + '';
|
|
137
|
+
$event.preventDefault();
|
|
138
|
+
}
|
|
139
|
+
decrementsMinutes($event) {
|
|
140
|
+
this.calendarMinutes = parseInt(this.calendarMinutes, 10) - 1 + '';
|
|
141
|
+
$event.preventDefault();
|
|
142
|
+
}
|
|
143
|
+
incrementHours($event) {
|
|
144
|
+
this.calendarHours = parseInt(this.calendarHours, 10) + 1 + '';
|
|
145
|
+
$event.preventDefault();
|
|
146
|
+
}
|
|
147
|
+
decrementHours($event) {
|
|
148
|
+
this.calendarHours = parseInt(this.calendarHours, 10) - 1 + '';
|
|
149
|
+
$event.preventDefault();
|
|
150
|
+
}
|
|
151
|
+
/*
|
|
152
|
+
Ensure that the input value is a number and that it is between min and max
|
|
153
|
+
*/
|
|
154
|
+
formatTime(time, min = 0, max = 59) {
|
|
155
|
+
let timeNumber = typeof time === 'string' ? parseInt(time, 10) : time;
|
|
156
|
+
timeNumber = timeNumber > max ? min : timeNumber;
|
|
157
|
+
timeNumber = timeNumber < min ? max : timeNumber;
|
|
158
|
+
timeNumber = parseInt(('' + timeNumber).slice(-2)); // keeps only the last 2 digits
|
|
159
|
+
return timeNumber;
|
|
160
|
+
}
|
|
161
|
+
updateBulmaDatePickerOptions(options) {
|
|
162
|
+
const bulmaCalendarDatePicker = this.datePicker['bulmaCalendar'].datePicker;
|
|
163
|
+
bulmaCalendarDatePicker.min = options.minDate;
|
|
164
|
+
bulmaCalendarDatePicker.max = options.maxDate;
|
|
165
|
+
bulmaCalendarDatePicker.refresh();
|
|
166
|
+
}
|
|
167
|
+
isBulmaDatePickerExists() {
|
|
168
|
+
return this.datePicker && this.datePicker['bulmaCalendar'] && this.datePicker['bulmaCalendar'].datePicker;
|
|
169
|
+
}
|
|
170
|
+
writeValue(date) {
|
|
171
|
+
if (!date) {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
this.dateSelected = date;
|
|
175
|
+
}
|
|
176
|
+
registerOnChange(fn) {
|
|
177
|
+
this.onChange = fn;
|
|
178
|
+
}
|
|
179
|
+
registerOnTouched(fn) {
|
|
180
|
+
this.onTouch = fn;
|
|
181
|
+
}
|
|
182
|
+
setDisabledState(isDisabled) {
|
|
183
|
+
this.disabled = isDisabled;
|
|
184
|
+
}
|
|
185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.DatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: CalendarComponent, selector: "wac-calendar", inputs: { label: "label", boldLabel: "boldLabel", type: "type", options: "options", position: "position", dateSelected: "dateSelected", typeDate: "typeDate", noMargin: "noMargin", disabled: "disabled" }, outputs: { dateSelectedChange: "dateSelectedChange", changeData: "changeData" }, providers: [
|
|
187
|
+
{
|
|
188
|
+
provide: NG_VALUE_ACCESSOR,
|
|
189
|
+
useExisting: CalendarComponent,
|
|
190
|
+
multi: true
|
|
191
|
+
},
|
|
192
|
+
DatePipe
|
|
193
|
+
], viewQueries: [{ propertyName: "minutes", first: true, predicate: ["minutes"], descendants: true }, { propertyName: "hours", first: true, predicate: ["hours"], descendants: true }, { propertyName: "datePicker", first: true, predicate: ["datePicker"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\r\n class=\"wac-calendar\"\r\n [ngClass]=\"{\r\n 'wac-calendar--input': type === 'input',\r\n 'wac-calendar--onlyDate': typeDate === 'date',\r\n 'wac-calendar--edit': type === 'edit',\r\n 'wac-calendar--select': type === 'select',\r\n 'wac-calendar--no-margin': noMargin,\r\n 'wac-calendar--open': open\r\n }\"\r\n [zIndexToggle]=\"open\"\r\n>\r\n <p [class]=\"'wac-calendar__label' + (boldLabel ? ' bold' : '')\" *ngIf=\"label && (type === 'input' || type === 'select')\" (click)=\"openCalendar()\">{{ label }}</p>\r\n <p class=\"wac-calendar__startLabel\" *ngIf=\"type === 'edit'\">{{ startLabel }}</p>\r\n <wac-optional-disable-container [disabled]=\"disabled\">\r\n <div class=\"wac-calendar__autoHide\" wzAutoHide (clickOutside)=\"openCalendar('close')\">\r\n <div class=\"wac-calendar__wrapper\">\r\n <div class=\"wac-calendar__wrapper__input\" *ngIf=\"type === 'input'\" (click)=\"openCalendar()\">\r\n <div class=\"wac-calendar__wrapper__input__icon\">\r\n <i class=\"far fa-calendar-alt\"></i>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__input__date\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy'}}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/mm/yyyy' | translate }}</span>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__input__time\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'HH:mm' }}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.HH:mm' | translate }}</span>\r\n </div>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__editInPlace\" *ngIf=\"type === 'edit'\" (click)=\"openCalendar()\">\r\n <div class=\"wac-calendar__wrapper__editInPlace__icon\">\r\n <i class=\"fal fa-calendar-alt\"></i>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__editInPlace__date\">\r\n <div class=\"wac-calendar__wrapper__input__time\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__select\" *ngIf=\"type === 'select'\" (click)=\"openCalendar()\">\r\n <div class=\"wac-calendar__wrapper__select__icon\">\r\n <i class=\"fal fa-calendar-alt\"></i>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__select__date\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"wac-calendar__absolute\"\r\n [ngClass]=\"{\r\n top: position === 'top',\r\n bottom: position === 'bottom',\r\n left: position === 'left',\r\n right: position === 'right',\r\n 'right-top': position === 'right-top',\r\n 'right-bottom': position === 'right-bottom',\r\n 'left-top': position === 'left-top',\r\n 'left-bottom': position === 'left-bottom',\r\n 'with-time': typeDate === 'datetime-local' || typeDate === 'datetime'\r\n }\"\r\n >\r\n <nwb-date-picker #datePicker (change)=\"onChangeDate($event)\" [options]=\"options\">\r\n <input [nwbDatepickerStart]=\"datePicker\" type=\"text\" [nwbDateType]=\"'date'\" [value]=\"dateSelected?.toISOString()\" />\r\n </nwb-date-picker>\r\n <div class=\"wac-calendar__absolute__time\" *ngIf=\"typeDate === 'datetime-local' || typeDate === 'datetime'\">\r\n <div class=\"wac-calendar__absolute__time__wrapper\">\r\n <div class=\"wac-calendar__absolute__time__wrapper__hours\">\r\n <div class=\"wac-calendar__absolute__time__wrapper__hours__left\">\r\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"incrementHours($event)\">\r\n <i class=\"fas fa-plus\"></i>\r\n </button>\r\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"decrementHours($event)\">\r\n <i class=\"fas fa-minus\"></i>\r\n </button>\r\n </div>\r\n <div class=\"wac-calendar__absolute__time__wrapper__hours__right\">\r\n <input #hours type=\"text\" [(ngModel)]=\"calendarHours\" [wacOnlyNumber]=\"true\"/>\r\n </div>\r\n </div>\r\n <div class=\"wac-calendar__absolute__time__wrapper__minutes\">\r\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__left\">\r\n <input #minutes type=\"text\" [(ngModel)]=\"calendarMinutes\" [wacOnlyNumber]=\"true\"/>\r\n </div>\r\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__right\">\r\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"incrementMinutes($event)\">\r\n <i class=\"fas fa-plus\"></i>\r\n </button>\r\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"decrementsMinutes($event)\">\r\n <i class=\"fas fa-minus\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </wac-optional-disable-container>\r\n <p class=\"wac-calendar__endLabel\" *ngIf=\"type === 'edit'\">{{ endLabel }}</p>\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"] }, { 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: "component", type: i3.NwbDatePickerComponent, selector: "nwb-date-picker", inputs: ["options"], outputs: ["change", "clear"] }, { kind: "directive", type: i3.NwbDatePickerInputStartDirective, selector: "input[nwbDatepickerStart]", inputs: ["nwbDatepickerStart"] }, { kind: "directive", type: i3.NwbDatePickerInputDateTypeDirective, selector: "input[nwbDateType]", inputs: ["nwbDateType"] }, { kind: "directive", type: i4.AutoHideDirective, selector: "[wzAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "directive", type: i5.ZindexToggleDirective, selector: "[zIndexToggle]", inputs: ["zIndexToggle"], outputs: ["onEventChange"] }, { kind: "directive", type: i6.OnlyNumberDirective, selector: "[wacOnlyNumber]", inputs: ["wacOnlyNumber"] }, { kind: "component", type: i7.OptionalDisableContainerComponent, selector: "wac-optional-disable-container", inputs: ["disabled"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }], animations: [opacityAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
194
|
+
}
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
196
|
+
type: Component,
|
|
197
|
+
args: [{ selector: 'wac-calendar', providers: [
|
|
198
|
+
{
|
|
199
|
+
provide: NG_VALUE_ACCESSOR,
|
|
200
|
+
useExisting: CalendarComponent,
|
|
201
|
+
multi: true
|
|
202
|
+
},
|
|
203
|
+
DatePipe
|
|
204
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [opacityAnimation], template: "<div\r\n class=\"wac-calendar\"\r\n [ngClass]=\"{\r\n 'wac-calendar--input': type === 'input',\r\n 'wac-calendar--onlyDate': typeDate === 'date',\r\n 'wac-calendar--edit': type === 'edit',\r\n 'wac-calendar--select': type === 'select',\r\n 'wac-calendar--no-margin': noMargin,\r\n 'wac-calendar--open': open\r\n }\"\r\n [zIndexToggle]=\"open\"\r\n>\r\n <p [class]=\"'wac-calendar__label' + (boldLabel ? ' bold' : '')\" *ngIf=\"label && (type === 'input' || type === 'select')\" (click)=\"openCalendar()\">{{ label }}</p>\r\n <p class=\"wac-calendar__startLabel\" *ngIf=\"type === 'edit'\">{{ startLabel }}</p>\r\n <wac-optional-disable-container [disabled]=\"disabled\">\r\n <div class=\"wac-calendar__autoHide\" wzAutoHide (clickOutside)=\"openCalendar('close')\">\r\n <div class=\"wac-calendar__wrapper\">\r\n <div class=\"wac-calendar__wrapper__input\" *ngIf=\"type === 'input'\" (click)=\"openCalendar()\">\r\n <div class=\"wac-calendar__wrapper__input__icon\">\r\n <i class=\"far fa-calendar-alt\"></i>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__input__date\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy'}}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/mm/yyyy' | translate }}</span>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__input__time\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'HH:mm' }}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.HH:mm' | translate }}</span>\r\n </div>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__editInPlace\" *ngIf=\"type === 'edit'\" (click)=\"openCalendar()\">\r\n <div class=\"wac-calendar__wrapper__editInPlace__icon\">\r\n <i class=\"fal fa-calendar-alt\"></i>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__editInPlace__date\">\r\n <div class=\"wac-calendar__wrapper__input__time\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__select\" *ngIf=\"type === 'select'\" (click)=\"openCalendar()\">\r\n <div class=\"wac-calendar__wrapper__select__icon\">\r\n <i class=\"fal fa-calendar-alt\"></i>\r\n </div>\r\n <div class=\"wac-calendar__wrapper__select__date\">\r\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\r\n <span class=\"placeholder-date\" *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"wac-calendar__absolute\"\r\n [ngClass]=\"{\r\n top: position === 'top',\r\n bottom: position === 'bottom',\r\n left: position === 'left',\r\n right: position === 'right',\r\n 'right-top': position === 'right-top',\r\n 'right-bottom': position === 'right-bottom',\r\n 'left-top': position === 'left-top',\r\n 'left-bottom': position === 'left-bottom',\r\n 'with-time': typeDate === 'datetime-local' || typeDate === 'datetime'\r\n }\"\r\n >\r\n <nwb-date-picker #datePicker (change)=\"onChangeDate($event)\" [options]=\"options\">\r\n <input [nwbDatepickerStart]=\"datePicker\" type=\"text\" [nwbDateType]=\"'date'\" [value]=\"dateSelected?.toISOString()\" />\r\n </nwb-date-picker>\r\n <div class=\"wac-calendar__absolute__time\" *ngIf=\"typeDate === 'datetime-local' || typeDate === 'datetime'\">\r\n <div class=\"wac-calendar__absolute__time__wrapper\">\r\n <div class=\"wac-calendar__absolute__time__wrapper__hours\">\r\n <div class=\"wac-calendar__absolute__time__wrapper__hours__left\">\r\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"incrementHours($event)\">\r\n <i class=\"fas fa-plus\"></i>\r\n </button>\r\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"decrementHours($event)\">\r\n <i class=\"fas fa-minus\"></i>\r\n </button>\r\n </div>\r\n <div class=\"wac-calendar__absolute__time__wrapper__hours__right\">\r\n <input #hours type=\"text\" [(ngModel)]=\"calendarHours\" [wacOnlyNumber]=\"true\"/>\r\n </div>\r\n </div>\r\n <div class=\"wac-calendar__absolute__time__wrapper__minutes\">\r\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__left\">\r\n <input #minutes type=\"text\" [(ngModel)]=\"calendarMinutes\" [wacOnlyNumber]=\"true\"/>\r\n </div>\r\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__right\">\r\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"incrementMinutes($event)\">\r\n <i class=\"fas fa-plus\"></i>\r\n </button>\r\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"decrementsMinutes($event)\">\r\n <i class=\"fas fa-minus\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </wac-optional-disable-container>\r\n <p class=\"wac-calendar__endLabel\" *ngIf=\"type === 'edit'\">{{ endLabel }}</p>\r\n</div>\r\n" }]
|
|
205
|
+
}], ctorParameters: () => [{ type: i1.DatePipe }], propDecorators: { minutes: [{
|
|
206
|
+
type: ViewChild,
|
|
207
|
+
args: ['minutes']
|
|
208
|
+
}], hours: [{
|
|
209
|
+
type: ViewChild,
|
|
210
|
+
args: ['hours']
|
|
211
|
+
}], datePicker: [{
|
|
212
|
+
type: ViewChild,
|
|
213
|
+
args: ['datePicker']
|
|
214
|
+
}], label: [{
|
|
215
|
+
type: Input
|
|
216
|
+
}], boldLabel: [{
|
|
217
|
+
type: Input
|
|
218
|
+
}], type: [{
|
|
219
|
+
type: Input
|
|
220
|
+
}], options: [{
|
|
221
|
+
type: Input
|
|
222
|
+
}], position: [{
|
|
223
|
+
type: Input
|
|
224
|
+
}], dateSelected: [{
|
|
225
|
+
type: Input
|
|
226
|
+
}], dateSelectedChange: [{
|
|
227
|
+
type: Output
|
|
228
|
+
}], typeDate: [{
|
|
229
|
+
type: Input
|
|
230
|
+
}], noMargin: [{
|
|
231
|
+
type: Input
|
|
232
|
+
}], disabled: [{
|
|
233
|
+
type: Input
|
|
234
|
+
}], changeData: [{
|
|
235
|
+
type: Output
|
|
236
|
+
}] } });
|
|
237
|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vbj5cclxuICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwid2FjLWNhbGVuZGFyX19hYnNvbHV0ZV9fdGltZV9fd3JhcHBlcl9faG91cnNfX3JpZ2h0XCI+XHJcbiAgICAgICAgICAgICAgICA8aW5wdXQgI2hvdXJzIHR5cGU9XCJ0ZXh0XCIgWyhuZ01vZGVsKV09XCJjYWxlbmRhckhvdXJzXCIgW3dhY09ubHlOdW1iZXJdPVwidHJ1ZVwiLz5cclxuICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ3YWMtY2FsZW5kYXJfX2Fic29sdXRlX190aW1lX193cmFwcGVyX19taW51dGVzXCI+XHJcbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIndhYy1jYWxlbmRhcl9fYWJzb2x1dGVfX3RpbWVfX3dyYXBwZXJfX21pbnV0ZXNfX2xlZnRcIj5cclxuICAgICAgICAgICAgICAgIDxpbnB1dCAjbWludXRlcyB0eXBlPVwidGV4dFwiIFsobmdNb2RlbCldPVwiY2FsZW5kYXJNaW51dGVzXCIgW3dhY09ubHlOdW1iZXJdPVwidHJ1ZVwiLz5cclxuICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwid2FjLWNhbGVuZGFyX19hYnNvbHV0ZV9fdGltZV9fd3JhcHBlcl9fbWludXRlc19fcmlnaHRcIj5cclxuICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJ3YWMtY2FsZW5kYXJfX2Fic29sdXRlX190aW1lX193cmFwcGVyX19taW51dGVzX19idG5cIiAoY2xpY2spPVwiaW5jcmVtZW50TWludXRlcygkZXZlbnQpXCI+XHJcbiAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmFzIGZhLXBsdXNcIj48L2k+XHJcbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJ3YWMtY2FsZW5kYXJfX2Fic29sdXRlX190aW1lX193cmFwcGVyX19taW51dGVzX19idG5cIiAoY2xpY2spPVwiZGVjcmVtZW50c01pbnV0ZXMoJGV2ZW50KVwiPlxyXG4gICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhcyBmYS1taW51c1wiPjwvaT5cclxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvd2FjLW9wdGlvbmFsLWRpc2FibGUtY29udGFpbmVyPlxyXG4gIDxwIGNsYXNzPVwid2FjLWNhbGVuZGFyX19lbmRMYWJlbFwiICpuZ0lmPVwidHlwZSA9PT0gJ2VkaXQnXCI+e3sgZW5kTGFiZWwgfX08L3A+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -22,13 +22,13 @@ export class CardPriceComponent {
|
|
|
22
22
|
removePackageTrigger() {
|
|
23
23
|
this.cancel.emit(true);
|
|
24
24
|
}
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CardPriceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: CardPriceComponent, selector: "wac-card-price", inputs: { amount: "amount", promo: "promo", title: "title", selected: "selected", btnLabelSelected: "btnLabelSelected", price: "price", currency: "currency", priceWording: "priceWording", subtitle: "subtitle", btnLabel: "btnLabel", packageSubtitle: "packageSubtitle", linkPackageLabel: "linkPackageLabel", listFeatures: "listFeatures", disabled: "disabled", btnTextcolor: "btnTextcolor", extraClasses: "extraClasses", extraClassesSelected: "extraClassesSelected", hideButton: "hideButton", darkMode: "darkMode", isEvolup: "isEvolup" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected, 'is-evolup': isEvolup, 'is-dark': darkMode}\">\r\n <div class=\"promo\" *ngIf=\"promo\">\r\n <p [innerHTML]=\"promo\"></p>\r\n </div>\r\n <strong>{{amount}} <span>{{title}}</span></strong>\r\n <div class=\"price\">\r\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\" [innerHTML]=\"priceWording\"></span>\r\n </div>\r\n <div class=\"subtitle\">{{subtitle}}</div>\r\n <div class=\"list-features\" *ngIf=\"listFeatures\">\r\n <div *ngFor=\"let feat of listFeatures;\" class=\"list-features__item\"><span>{{feat}}</span></div>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\r\n </div>\r\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\r\n <div class=\"link-bottom\" *ngIf=\"linkPackageLabel\">\r\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "wac-button", inputs: ["extraClasses", "label", "icon", "isLoadingSvg", "iconNext", "textcolor", "colorIcon", "widthAuto", "contentHorizontalPosition", "iconFontSize", "hasLoader", "disabled", "whiteSpaceNowrap", "opacity", "animation", "animationRight", "animationText", "confirmDelete", "confirmDeleteText", "coin", "tooltip", "tooltipWidth", "borderColor", "noPadding", "tooltipPosition", "tooltipOneline", "confirmDeletePosition", "isLoading"], outputs: ["click", "isLoadingChange"] }, { kind: "component", type: i3.LinkComponent, selector: "wac-link", inputs: ["href", "tooltip", "tooltipWidth", "target", "id", "class", "fontSize"] }] }); }
|
|
25
27
|
}
|
|
26
|
-
|
|
27
|
-
CardPriceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: CardPriceComponent, selector: "wac-card-price", inputs: { amount: "amount", promo: "promo", title: "title", selected: "selected", btnLabelSelected: "btnLabelSelected", price: "price", currency: "currency", priceWording: "priceWording", subtitle: "subtitle", btnLabel: "btnLabel", packageSubtitle: "packageSubtitle", linkPackageLabel: "linkPackageLabel", listFeatures: "listFeatures", disabled: "disabled", btnTextcolor: "btnTextcolor", extraClasses: "extraClasses", extraClassesSelected: "extraClassesSelected", hideButton: "hideButton", darkMode: "darkMode", isEvolup: "isEvolup" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected, 'is-evolup': isEvolup, 'is-dark': darkMode}\">\r\n <div class=\"promo\" *ngIf=\"promo\">\r\n <p [innerHTML]=\"promo\"></p>\r\n </div>\r\n <strong>{{amount}} <span>{{title}}</span></strong>\r\n <div class=\"price\">\r\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\" [innerHTML]=\"priceWording\"></span>\r\n </div>\r\n <div class=\"subtitle\">{{subtitle}}</div>\r\n <div class=\"list-features\" *ngIf=\"listFeatures\">\r\n <div *ngFor=\"let feat of listFeatures;\" class=\"list-features__item\"><span>{{feat}}</span></div>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\r\n </div>\r\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\r\n <div class=\"link-bottom\" *ngIf=\"linkPackageLabel\">\r\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "wac-button", inputs: ["extraClasses", "label", "icon", "isLoadingSvg", "iconNext", "textcolor", "colorIcon", "widthAuto", "contentHorizontalPosition", "iconFontSize", "hasLoader", "disabled", "whiteSpaceNowrap", "opacity", "animation", "animationRight", "animationText", "confirmDelete", "confirmDeleteText", "coin", "tooltip", "tooltipWidth", "borderColor", "noPadding", "tooltipPosition", "tooltipOneline", "confirmDeletePosition", "isLoading"], outputs: ["click", "isLoadingChange"] }, { kind: "component", type: i3.LinkComponent, selector: "wac-link", inputs: ["href", "tooltip", "tooltipWidth", "target", "id", "class", "fontSize"] }] });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CardPriceComponent, decorators: [{
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CardPriceComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{ selector: 'wac-card-price', template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected, 'is-evolup': isEvolup, 'is-dark': darkMode}\">\r\n <div class=\"promo\" *ngIf=\"promo\">\r\n <p [innerHTML]=\"promo\"></p>\r\n </div>\r\n <strong>{{amount}} <span>{{title}}</span></strong>\r\n <div class=\"price\">\r\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\" [innerHTML]=\"priceWording\"></span>\r\n </div>\r\n <div class=\"subtitle\">{{subtitle}}</div>\r\n <div class=\"list-features\" *ngIf=\"listFeatures\">\r\n <div *ngFor=\"let feat of listFeatures;\" class=\"list-features__item\"><span>{{feat}}</span></div>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\r\n </div>\r\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\r\n <wac-button [noPadding]=\"true\" [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\r\n </div>\r\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\r\n <div class=\"link-bottom\" *ngIf=\"linkPackageLabel\">\r\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\r\n </div>\r\n</div>\r\n" }]
|
|
31
|
-
}], ctorParameters:
|
|
31
|
+
}], ctorParameters: () => [], propDecorators: { amount: [{
|
|
32
32
|
type: Input
|
|
33
33
|
}], promo: [{
|
|
34
34
|
type: Input
|
|
@@ -73,4 +73,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
73
73
|
}], cancel: [{
|
|
74
74
|
type: Output
|
|
75
75
|
}] } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1wcmljZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmQtcHJpY2UvY2FyZC1wcmljZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhcmQtcHJpY2UvY2FyZC1wcmljZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDOzs7OztBQU03RSxNQUFNLE9BQU8sa0JBQWtCO0lBa0U3QjtRQXREQSxhQUFRLEdBQUcsS0FBSyxDQUFDO1FBOEJqQixhQUFRLEdBQVksS0FBSyxDQUFDO1FBRzFCLGlCQUFZLEdBQUcsU0FBUyxDQUFDO1FBR3pCLGlCQUFZLEdBQUcsWUFBWSxDQUFDO1FBRzVCLHlCQUFvQixHQUFHLHdCQUF3QixDQUFDO1FBR2hELGVBQVUsR0FBRyxLQUFLLENBQUM7UUFHbkIsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUdqQix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yXG4gIDwvZGl2PlxyXG4gIDxkaXYgY2xhc3M9XCJjdGFcIiAqbmdJZj1cInNlbGVjdGVkICYmICFoaWRlQnV0dG9uXCI+XHJcbiAgICA8d2FjLWJ1dHRvbiBbbm9QYWRkaW5nXT1cInRydWVcIiBbaWNvbl09XCInZmEtc29saWQgZmEtY2hlY2snXCIgW2xhYmVsXT1cImJ0bkxhYmVsU2VsZWN0ZWRcIiBbZXh0cmFDbGFzc2VzXT1cImV4dHJhQ2xhc3Nlc1NlbGVjdGVkXCIgW3doaXRlU3BhY2VOb3dyYXBdPVwidHJ1ZVwiPjwvd2FjLWJ1dHRvbj5cclxuICA8L2Rpdj5cclxuICA8ZGl2IGNsYXNzPVwicGFja2FnZS1zdWJ0aXRsZVwiICpuZ0lmPVwic2VsZWN0ZWRcIj57e3BhY2thZ2VTdWJ0aXRsZX19PC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cImxpbmstYm90dG9tXCIgKm5nSWY9XCJsaW5rUGFja2FnZUxhYmVsXCI+XHJcbiAgICA8d2FjLWxpbmsgKGNsaWNrKT1cInJlbW92ZVBhY2thZ2VUcmlnZ2VyKClcIj57e2xpbmtQYWNrYWdlTGFiZWx9fTwvd2FjLWxpbms+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -7,13 +7,13 @@ export class ChargingBarComponent {
|
|
|
7
7
|
}
|
|
8
8
|
ngOnInit() {
|
|
9
9
|
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ChargingBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ChargingBarComponent, selector: "wac-charging-bar", inputs: { value: "value" }, ngImport: i0, template: "<div class=\"wac-charging-bar\">\r\n <div class=\"wac-charging-bar__wrapLine\">\r\n <div class=\"wac-charging-bar__wrapLine__line\">\r\n <div class=\"wac-charging-bar__wrapLine__line__width\" [ngClass]=\"{'complete': value === 100}\" [ngStyle]=\"{'max-width': value + '%'}\"></div>\r\n </div>\r\n </div>\r\n <div class=\"wac-charging-bar__number\" [innerHTML]=\"value + '%'\"></div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
ChargingBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ChargingBarComponent, selector: "wac-charging-bar", inputs: { value: "value" }, ngImport: i0, template: "<div class=\"wac-charging-bar\">\r\n <div class=\"wac-charging-bar__wrapLine\">\r\n <div class=\"wac-charging-bar__wrapLine__line\">\r\n <div class=\"wac-charging-bar__wrapLine__line__width\" [ngClass]=\"{'complete': value === 100}\" [ngStyle]=\"{'max-width': value + '%'}\"></div>\r\n </div>\r\n </div>\r\n <div class=\"wac-charging-bar__number\" [innerHTML]=\"value + '%'\"></div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChargingBarComponent, decorators: [{
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ChargingBarComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'wac-charging-bar', template: "<div class=\"wac-charging-bar\">\r\n <div class=\"wac-charging-bar__wrapLine\">\r\n <div class=\"wac-charging-bar__wrapLine__line\">\r\n <div class=\"wac-charging-bar__wrapLine__line__width\" [ngClass]=\"{'complete': value === 100}\" [ngStyle]=\"{'max-width': value + '%'}\"></div>\r\n </div>\r\n </div>\r\n <div class=\"wac-charging-bar__number\" [innerHTML]=\"value + '%'\"></div>\r\n</div>\r\n" }]
|
|
16
|
-
}], ctorParameters:
|
|
16
|
+
}], ctorParameters: () => [], propDecorators: { value: [{
|
|
17
17
|
type: Input
|
|
18
18
|
}] } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcmdpbmctYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2hhcmdpbmctYmFyL2NoYXJnaW5nLWJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NoYXJnaW5nLWJhci9jaGFyZ2luZy1iYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7OztBQU12RCxNQUFNLE9BQU8sb0JBQW9CO0lBSy9CO1FBRkEsVUFBSyxHQUFHLENBQUMsQ0FBQztJQUVNLENBQUM7SUFFakIsUUFBUTtJQUNSLENBQUM7OEdBUlUsb0JBQW9CO2tHQUFwQixvQkFBb0Isb0ZDTmpDLDRaQVFBOzsyRkRGYSxvQkFBb0I7a0JBSmhDLFNBQVM7K0JBQ0Usa0JBQWtCO3dEQU01QixLQUFLO3NCQURKLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmV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}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: CheckboxComponent, selector: "wac-checkbox", inputs: { label: "label", value: "value", type: "type", alone: "alone", checked: "checked", hasInput: "hasInput", inputPlaceholder: "inputPlaceholder", id: "id", name: "name", whiteSpace: "whiteSpace", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], ngImport: i0, template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'disable-wt' : !whiteSpace, alone: alone }\">\r\n <div class=\"wac-field-checkbox__row\">\r\n <!-- TODO handle radio styles -->\r\n <input\r\n [type]=\"type\"\r\n [id]=\"id\"\r\n [class]=\"'is-checkradio' + (value ? ' checked' : '')\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [checked]=\"value\"\r\n (change)=\"value = !value\"\r\n />\r\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\r\n </div>\r\n <input\r\n *ngIf=\"hasInput && checked\"\r\n [@inOutYAnimation]\r\n type=\"text\"\r\n [placeholder]=\"inputPlaceholder\"\r\n (click)=\"inputClick($event)\"\r\n />\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"] }], animations: [inOutY], encapsulation: i0.ViewEncapsulation.None }); }
|
|
47
49
|
}
|
|
48
|
-
|
|
49
|
-
CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: CheckboxComponent, selector: "wac-checkbox", inputs: { label: "label", value: "value", type: "type", alone: "alone", checked: "checked", hasInput: "hasInput", inputPlaceholder: "inputPlaceholder", id: "id", name: "name", whiteSpace: "whiteSpace", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], ngImport: i0, template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'disable-wt' : !whiteSpace, alone: alone }\">\r\n <div class=\"wac-field-checkbox__row\">\r\n <!-- TODO handle radio styles -->\r\n <input\r\n [type]=\"type\"\r\n [id]=\"id\"\r\n [class]=\"'is-checkradio' + (value ? ' checked' : '')\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [checked]=\"value\"\r\n (change)=\"value = !value\"\r\n />\r\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\r\n </div>\r\n <input\r\n *ngIf=\"hasInput && checked\"\r\n [@inOutYAnimation]\r\n type=\"text\"\r\n [placeholder]=\"inputPlaceholder\"\r\n (click)=\"inputClick($event)\"\r\n />\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"] }], animations: [inOutY], encapsulation: i0.ViewEncapsulation.None });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: 'wac-checkbox', providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }], animations: [inOutY], encapsulation: ViewEncapsulation.None, template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'disable-wt' : !whiteSpace, alone: alone }\">\r\n <div class=\"wac-field-checkbox__row\">\r\n <!-- TODO handle radio styles -->\r\n <input\r\n [type]=\"type\"\r\n [id]=\"id\"\r\n [class]=\"'is-checkradio' + (value ? ' checked' : '')\"\r\n [name]=\"name\"\r\n [disabled]=\"disabled\"\r\n [checked]=\"value\"\r\n (change)=\"value = !value\"\r\n />\r\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\r\n </div>\r\n <input\r\n *ngIf=\"hasInput && checked\"\r\n [@inOutYAnimation]\r\n type=\"text\"\r\n [placeholder]=\"inputPlaceholder\"\r\n (click)=\"inputClick($event)\"\r\n />\r\n</div>\r\n" }]
|
|
53
|
-
}], ctorParameters:
|
|
53
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
54
54
|
type: Input
|
|
55
55
|
}], value: [{
|
|
56
56
|
type: Input
|
|
@@ -75,4 +75,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
75
75
|
}], valueChange: [{
|
|
76
76
|
type: Output
|
|
77
77
|
}] } });
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jaGVja2JveC9jaGVja2JveC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NoZWNrYm94L2NoZWNrYm94LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFB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hhbmRsZSByYWRpbyBzdHlsZXMgLS0+XHJcbiAgICA8aW5wdXRcclxuICAgICAgW3R5cGVdPVwidHlwZVwiXHJcbiAgICAgIFtpZF09XCJpZFwiXHJcbiAgICAgIFtjbGFzc109XCInaXMtY2hlY2tyYWRpbycgKyAodmFsdWUgPyAnIGNoZWNrZWQnIDogJycpXCJcclxuICAgICAgW25hbWVdPVwibmFtZVwiXHJcbiAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgIFtjaGVja2VkXT1cInZhbHVlXCJcclxuICAgICAgKGNoYW5nZSk9XCJ2YWx1ZSA9ICF2YWx1ZVwiXHJcbiAgICAvPlxyXG4gICAgPGxhYmVsIFthdHRyLmZvcl09XCJpZFwiPjxzcGFuIFtpbm5lckhUTUxdPVwibGFiZWxcIj48L3NwYW4+PC9sYWJlbD5cclxuICA8L2Rpdj5cclxuICA8aW5wdXRcclxuICAgICpuZ0lmPVwiaGFzSW5wdXQgJiYgY2hlY2tlZFwiXHJcbiAgICBbQGluT3V0WUFuaW1hdGlvbl1cclxuICAgIHR5cGU9XCJ0ZXh0XCJcclxuICAgIFtwbGFjZWhvbGRlcl09XCJpbnB1dFBsYWNlaG9sZGVyXCJcclxuICAgIChjbGljayk9XCJpbnB1dENsaWNrKCRldmVudClcIlxyXG4gIC8+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -4,13 +4,13 @@ import { FormsModule } from '@angular/forms';
|
|
|
4
4
|
import { CheckboxComponent } from './checkbox.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class CheckboxModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule,
|
|
9
|
+
FormsModule], exports: [CheckboxComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, imports: [CommonModule,
|
|
11
|
+
FormsModule] }); }
|
|
7
12
|
}
|
|
8
|
-
|
|
9
|
-
CheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule,
|
|
10
|
-
FormsModule], exports: [CheckboxComponent] });
|
|
11
|
-
CheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CheckboxModule, imports: [CommonModule,
|
|
12
|
-
FormsModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: CheckboxModule, decorators: [{
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CheckboxModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
imports: [
|
|
@@ -22,4 +22,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
22
22
|
providers: [],
|
|
23
23
|
}]
|
|
24
24
|
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jaGVja2JveC9jaGVja2JveC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtY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lbnRdLFxuICAgIGRlY2xhcmF0aW9uczogW0NoZWNrYm94Q29tcG9uZW50XSxcbiAgICBwcm92aWRlcnM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBDaGVja2JveE1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class ColumnComponent {
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ColumnComponent, selector: "wac-column", ngImport: i0, template: "<p>column works!</p>\r\n" }); }
|
|
4
6
|
}
|
|
5
|
-
|
|
6
|
-
ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ColumnComponent, selector: "wac-column", ngImport: i0, template: "<p>column works!</p>\r\n" });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
8
8
|
type: Component,
|
|
9
9
|
args: [{ selector: 'wac-column', template: "<p>column works!</p>\r\n" }]
|
|
10
10
|
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY29sdW1uL2NvbHVtbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NvbHVtbi9jb2x1bW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLGVBQWU7OEdBQWYsZUFBZTtrR0FBZixlQUFlLGtEQ041QiwwQkFDQTs7MkZES2EsZUFBZTtrQkFKM0IsU0FBUzsrQkFDRSxZQUFZIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3dhYy1jb2x1bW4nLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi9jb2x1bW4uY29tcG9uZW50Lmh0bWwnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ29sdW1uQ29tcG9uZW50IHtcclxuXHJcbn1cclxuIiwiPHA+Y29sdW1uIHdvcmtzITwvcD5cclxuIl19
|
|
@@ -4,13 +4,13 @@ export class LabelComponent {
|
|
|
4
4
|
constructor() { }
|
|
5
5
|
ngOnInit() {
|
|
6
6
|
}
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: LabelComponent, selector: "wac-label", host: { classAttribute: "wac-label" }, ngImport: i0, template: "<ng-content></ng-content>" }); }
|
|
7
9
|
}
|
|
8
|
-
|
|
9
|
-
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: LabelComponent, selector: "wac-label", host: { classAttribute: "wac-label" }, ngImport: i0, template: "<ng-content></ng-content>" });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LabelComponent, decorators: [{
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: LabelComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{ selector: 'wac-label', host: {
|
|
13
13
|
'class': 'wac-label'
|
|
14
14
|
}, template: "<ng-content></ng-content>" }]
|
|
15
|
-
}], ctorParameters:
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
}], ctorParameters: () => [] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vbGFiZWwvbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vbGFiZWwvbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBUyxNQUFNLGVBQWUsQ0FBQzs7QUFTaEQsTUFBTSxPQUFPLGNBQWM7SUFFekIsZ0JBQWUsQ0FBQztJQUVoQixRQUFRO0lBQ1IsQ0FBQzs4R0FMVSxjQUFjO2tHQUFkLGNBQWMsd0ZDVDNCLDJCQUF5Qjs7MkZEU1osY0FBYztrQkFQMUIsU0FBUzsrQkFDRSxXQUFXLFFBRWY7d0JBQ0osT0FBTyxFQUFFLFdBQVc7cUJBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnQsIE9uSW5pdH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3dhYy1sYWJlbCcsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2xhYmVsLmNvbXBvbmVudC5odG1sJyxcclxuICBob3N0OiB7XHJcbiAgICAnY2xhc3MnOiAnd2FjLWxhYmVsJ1xyXG4gIH1cclxufSlcclxuZXhwb3J0IGNsYXNzIExhYmVsQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7fVxyXG5cclxuICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICB9XHJcblxyXG59XHJcbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD4iXX0=
|
|
@@ -4,13 +4,13 @@ export class PlaceholderComponent {
|
|
|
4
4
|
constructor() { }
|
|
5
5
|
ngOnInit() {
|
|
6
6
|
}
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: PlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: PlaceholderComponent, selector: "wac-placeholder", host: { classAttribute: "wac-placeholder" }, ngImport: i0, template: "<ng-content></ng-content>" }); }
|
|
7
9
|
}
|
|
8
|
-
|
|
9
|
-
PlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: PlaceholderComponent, selector: "wac-placeholder", host: { classAttribute: "wac-placeholder" }, ngImport: i0, template: "<ng-content></ng-content>" });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: PlaceholderComponent, decorators: [{
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: PlaceholderComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{ selector: 'wac-placeholder', host: {
|
|
13
13
|
'class': 'wac-placeholder'
|
|
14
14
|
}, template: "<ng-content></ng-content>" }]
|
|
15
|
-
}], ctorParameters:
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
}], ctorParameters: () => [] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhY2Vob2xkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vcGxhY2Vob2xkZXIvcGxhY2Vob2xkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jb21tb24vcGxhY2Vob2xkZXIvcGxhY2Vob2xkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBaUMsTUFBTSxlQUFlLENBQUM7O0FBU3hFLE1BQU0sT0FBTyxvQkFBb0I7SUFFL0IsZ0JBQWUsQ0FBQztJQUVoQixRQUFRO0lBQ1IsQ0FBQzs4R0FMVSxvQkFBb0I7a0dBQXBCLG9CQUFvQixvR0NUakMsMkJBQXlCOzsyRkRTWixvQkFBb0I7a0JBUGhDLFNBQVM7K0JBQ0Us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