ngx-wapp-components 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +7 -0
- package/package.json +46 -53
- package/src/lib/button/w-button/w-button.component.html +85 -0
- package/src/lib/button/w-button/w-button.component.scss +227 -0
- package/src/lib/button/w-button/w-button.component.spec.ts +23 -0
- package/src/lib/button/w-button/w-button.component.ts +40 -0
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.html +3 -0
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.scss +11 -0
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.spec.ts +23 -0
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.ts +10 -0
- package/src/lib/button/w-radio-button/w-radio-button.component.html +31 -0
- package/src/lib/button/w-radio-button/w-radio-button.component.scss +114 -0
- package/src/lib/button/w-radio-button/w-radio-button.component.spec.ts +23 -0
- package/src/lib/button/w-radio-button/w-radio-button.component.ts +73 -0
- package/src/lib/button/w-select-button/w-select-button.component.html +29 -0
- package/src/lib/button/w-select-button/w-select-button.component.scss +64 -0
- package/src/lib/button/w-select-button/w-select-button.component.spec.ts +23 -0
- package/src/lib/button/w-select-button/w-select-button.component.ts +65 -0
- package/src/lib/button/w-toggle-button/w-toggle-button.component.html +33 -0
- package/src/lib/button/w-toggle-button/w-toggle-button.component.scss +116 -0
- package/src/lib/button/w-toggle-button/w-toggle-button.component.spec.ts +23 -0
- package/src/lib/button/w-toggle-button/w-toggle-button.component.ts +75 -0
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.html +47 -0
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.scss +96 -0
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.ts +77 -0
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.html +55 -0
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.scss +127 -0
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.ts +70 -0
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.html +68 -0
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.scss +247 -0
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.ts +86 -0
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.html +65 -0
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.scss +220 -0
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.ts +91 -0
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.html +106 -0
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.scss +213 -0
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.ts +72 -0
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.html +73 -0
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.scss +330 -0
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.ts +83 -0
- package/src/lib/edit/w-edit-select/w-edit-select.component.html +70 -0
- package/src/lib/edit/w-edit-select/w-edit-select.component.scss +188 -0
- package/src/lib/edit/w-edit-select/w-edit-select.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-select/w-edit-select.component.ts +85 -0
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.html +55 -0
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.scss +86 -0
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.ts +71 -0
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.html +72 -0
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.scss +205 -0
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.spec.ts +23 -0
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.ts +81 -0
- package/src/lib/file/w-image-cropper/w-image-cropper.component.html +150 -0
- package/src/lib/file/w-image-cropper/w-image-cropper.component.scss +55 -0
- package/src/lib/file/w-image-cropper/w-image-cropper.component.spec.ts +23 -0
- package/src/lib/file/w-image-cropper/w-image-cropper.component.ts +259 -0
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.html +100 -0
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.scss +77 -0
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.spec.ts +23 -0
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.ts +388 -0
- package/src/lib/file/w-preview-image/w-preview-image.component.css +0 -0
- package/src/lib/file/w-preview-image/w-preview-image.component.html +5 -0
- package/src/lib/file/w-preview-image/w-preview-image.component.spec.ts +23 -0
- package/src/lib/file/w-preview-image/w-preview-image.component.ts +17 -0
- package/src/lib/icons/icons.ts +116 -0
- package/src/lib/icons/wapping-icons/w-icons.component.ts +52 -0
- package/src/lib/layout/w-body/w-body.component.html +3 -0
- package/src/lib/layout/w-body/w-body.component.scss +13 -0
- package/src/lib/layout/w-body/w-body.component.spec.ts +23 -0
- package/src/lib/layout/w-body/w-body.component.ts +10 -0
- package/src/lib/layout/w-body-container/w-body-container.component.html +3 -0
- package/src/lib/layout/w-body-container/w-body-container.component.scss +58 -0
- package/src/lib/layout/w-body-container/w-body-container.component.spec.ts +23 -0
- package/src/lib/layout/w-body-container/w-body-container.component.ts +10 -0
- package/src/lib/layout/w-body-grid/w-body-grid.component.html +3 -0
- package/src/lib/layout/w-body-grid/w-body-grid.component.scss +59 -0
- package/src/lib/layout/w-body-grid/w-body-grid.component.spec.ts +23 -0
- package/src/lib/layout/w-body-grid/w-body-grid.component.ts +10 -0
- package/src/lib/layout/w-container/w-container.component.scss +9 -0
- package/src/lib/layout/w-container/w-container.component.ts +14 -0
- package/src/lib/layout/w-footer/w-footer.component.html +11 -0
- package/src/lib/layout/w-footer/w-footer.component.scss +17 -0
- package/src/lib/layout/w-footer/w-footer.component.spec.ts +23 -0
- package/src/lib/layout/w-footer/w-footer.component.ts +19 -0
- package/src/lib/layout/w-header-panel/w-header-panel.component.html +9 -0
- package/src/lib/layout/w-header-panel/w-header-panel.component.scss +29 -0
- package/src/lib/layout/w-header-panel/w-header-panel.component.spec.ts +23 -0
- package/src/lib/layout/w-header-panel/w-header-panel.component.ts +27 -0
- package/src/lib/layout/w-navbar/w-navbar.component.html +26 -0
- package/src/lib/layout/w-navbar/w-navbar.component.scss +26 -0
- package/src/lib/layout/w-navbar/w-navbar.component.spec.ts +23 -0
- package/src/lib/layout/w-navbar/w-navbar.component.ts +48 -0
- package/src/lib/layout/w-panel/w-panel.component.html +14 -0
- package/src/lib/layout/w-panel/w-panel.component.scss +122 -0
- package/src/lib/layout/w-panel/w-panel.component.spec.ts +23 -0
- package/src/lib/layout/w-panel/w-panel.component.ts +47 -0
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.html +3 -0
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.scss +58 -0
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.spec.ts +23 -0
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.ts +10 -0
- package/src/lib/layout/w-panel-subtitle/w-panel-subtitle.component.html +1 -0
- package/src/lib/layout/w-panel-subtitle/w-panel-subtitle.component.scss +6 -0
- package/src/lib/layout/w-panel-subtitle/w-panel-subtitle.component.spec.ts +23 -0
- package/src/lib/layout/w-panel-subtitle/w-panel-subtitle.component.ts +11 -0
- package/src/lib/layout/w-panel-title/w-panel-title.component.html +1 -0
- package/src/lib/layout/w-panel-title/w-panel-title.component.scss +6 -0
- package/src/lib/layout/w-panel-title/w-panel-title.component.spec.ts +23 -0
- package/src/lib/layout/w-panel-title/w-panel-title.component.ts +11 -0
- package/src/lib/logos/logos.ts +7 -0
- package/src/lib/logos/wapping-logos/w-logos.component.ts +47 -0
- package/src/lib/maps/w-maps/w-maps.component.html +43 -0
- package/src/lib/maps/w-maps/w-maps.component.scss +163 -0
- package/src/lib/maps/w-maps/w-maps.component.spec.ts +23 -0
- package/src/lib/maps/w-maps/w-maps.component.ts +151 -0
- package/src/lib/misc/w-badge/w-badge.component.html +3 -0
- package/src/lib/misc/w-badge/w-badge.component.scss +162 -0
- package/src/lib/misc/w-badge/w-badge.component.spec.ts +23 -0
- package/src/lib/misc/w-badge/w-badge.component.ts +13 -0
- package/src/lib/misc/w-chip/w-chip.component.html +27 -0
- package/src/lib/misc/w-chip/w-chip.component.scss +38 -0
- package/src/lib/misc/w-chip/w-chip.component.spec.ts +23 -0
- package/src/lib/misc/w-chip/w-chip.component.ts +35 -0
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.html +312 -0
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.scss +356 -0
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.spec.ts +23 -0
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.ts +457 -0
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.html +21 -0
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.scss +64 -0
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.spec.ts +23 -0
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.ts +73 -0
- package/src/lib/misc/w-timeline/w-timeline.component.html +44 -0
- package/src/lib/misc/w-timeline/w-timeline.component.scss +61 -0
- package/src/lib/misc/w-timeline/w-timeline.component.spec.ts +23 -0
- package/src/lib/misc/w-timeline/w-timeline.component.ts +27 -0
- package/src/lib/misc/w-wizard/w-wizard.component.html +72 -0
- package/src/lib/misc/w-wizard/w-wizard.component.scss +31 -0
- package/src/lib/misc/w-wizard/w-wizard.component.spec.ts +23 -0
- package/src/lib/misc/w-wizard/w-wizard.component.ts +55 -0
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.css +18 -0
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.html +52 -0
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.spec.ts +23 -0
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.ts +175 -0
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.html +92 -0
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.scss +144 -0
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.spec.ts +23 -0
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.ts +94 -0
- package/src/lib/search/w-input-search/w-input-search.component.html +140 -0
- package/src/lib/search/w-input-search/w-input-search.component.scss +198 -0
- package/src/lib/search/w-input-search/w-input-search.component.spec.ts +23 -0
- package/src/lib/search/w-input-search/w-input-search.component.ts +86 -0
- package/src/lib/shared/components/w-address-field/w-address-field.component.html +11 -0
- package/src/lib/shared/components/w-address-field/w-address-field.component.scss +24 -0
- package/src/lib/shared/components/w-address-field/w-address-field.component.spec.ts +23 -0
- package/src/lib/shared/components/w-address-field/w-address-field.component.ts +266 -0
- package/src/lib/shared/enums/enum.ts +18 -0
- package/src/lib/shared/models/action-button-response.model.ts +4 -0
- package/src/lib/shared/models/action-button.model.ts +5 -0
- package/src/lib/shared/models/address-maps.model.ts +14 -0
- package/src/lib/shared/models/back-button-config.model.ts +5 -0
- package/{lib/shared/models/components-tenant-storage.model.d.ts → src/lib/shared/models/components-tenant-storage.model.ts} +3 -2
- package/src/lib/shared/models/custom-button-config.model.ts +4 -0
- package/src/lib/shared/models/customer-address.model.ts +16 -0
- package/{lib/shared/models/embed-config.model.d.ts → src/lib/shared/models/embed-config.model.ts} +2 -2
- package/{lib/shared/models/enums.model.d.ts → src/lib/shared/models/enums.model.ts} +30 -23
- package/{lib/shared/models/filter-panel/field.model.d.ts → src/lib/shared/models/filter-panel/field.model.ts} +20 -2
- package/src/lib/shared/models/filter-panel/filter-field.models.ts +15 -0
- package/src/lib/shared/models/filter-panel/filter-panel-translations.model.ts +29 -0
- package/src/lib/shared/models/filter-panel/gmarealevel1.model.ts +4 -0
- package/src/lib/shared/models/filter-panel/gmarealevel2.model.ts +4 -0
- package/src/lib/shared/models/filter-panel/gmcountry-model.ts +4 -0
- package/src/lib/shared/models/filter-panel/gmlocality.model.ts +4 -0
- package/src/lib/shared/models/filter-panel/gmpostalcode.model.ts +4 -0
- package/src/lib/shared/models/filter-panel/last-query.model.ts +6 -0
- package/src/lib/shared/models/filter-panel/qb-filter-entity.model.ts +8 -0
- package/src/lib/shared/models/filter-panel/qb-filter-field.model.ts +12 -0
- package/src/lib/shared/models/filter-panel/qb-operators.model.ts +4 -0
- package/src/lib/shared/models/filter-panel/qb-panel-filter.model.ts +14 -0
- package/src/lib/shared/models/filter-panel/qb-panel-to-fields.model.ts +12 -0
- package/src/lib/shared/models/filter-panel/query-results.model.ts +17 -0
- package/src/lib/shared/models/filter.model.ts +5 -0
- package/src/lib/shared/models/image-b64.model.ts +5 -0
- package/src/lib/shared/models/lazy-element-query-request.model.ts +9 -0
- package/src/lib/shared/models/stored-filter-panel-query.model.ts +6 -0
- package/src/lib/shared/models/w-file-b64.model.ts +6 -0
- package/src/lib/shared/models/w-image-cropper-data.model.ts +7 -0
- package/src/lib/shared/models/w-image-file-uploader-config.model.ts +23 -0
- package/src/lib/shared/models/w-select-button-state.model.ts +4 -0
- package/{lib/shared/models/w-timeline-event-item.model.d.ts → src/lib/shared/models/w-timeline-event-item.model.ts} +3 -2
- package/src/lib/shared/models/w-tree-table.model.ts +38 -0
- package/src/lib/shared/models/wapp-table-lazy-loading.model.ts +57 -0
- package/src/lib/shared/models/wapp-table.model.ts +60 -0
- package/src/lib/shared/pipes/color-text.pipe.ts +20 -0
- package/src/lib/shared/pipes/w-date.pipe.ts +42 -0
- package/src/lib/shared/pipes/w-summary.pipe.ts +11 -0
- package/src/lib/shared/service/api/api.service.ts +116 -0
- package/src/lib/shared/services/form-control.service.spec.ts +16 -0
- package/src/lib/shared/services/form-control.service.ts +15 -0
- package/src/lib/shared/services/modal.service.spec.ts +16 -0
- package/src/lib/shared/services/modal.service.ts +71 -0
- package/src/lib/shared/services/session-storage.service.spec.ts +16 -0
- package/src/lib/shared/services/session-storage.service.ts +49 -0
- package/src/lib/shared/services/tree.service.ts +30 -0
- package/src/lib/shared/skeletons/w-skeleton-edit/w-skeleton-edit.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-edit/w-skeleton-edit.component.html +26 -0
- package/src/lib/shared/skeletons/w-skeleton-edit/w-skeleton-edit.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-edit/w-skeleton-edit.component.ts +15 -0
- package/src/lib/shared/skeletons/w-skeleton-edit-product/w-skeleton-edit-product.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-edit-product/w-skeleton-edit-product.component.html +37 -0
- package/src/lib/shared/skeletons/w-skeleton-edit-product/w-skeleton-edit-product.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-edit-product/w-skeleton-edit-product.component.ts +10 -0
- package/src/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.html +3 -0
- package/src/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.ts +17 -0
- package/src/lib/shared/skeletons/w-skeleton-generic/w-skeleton-generic.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-generic/w-skeleton-generic.component.html +3 -0
- package/src/lib/shared/skeletons/w-skeleton-generic/w-skeleton-generic.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-generic/w-skeleton-generic.component.ts +10 -0
- package/src/lib/shared/skeletons/w-skeleton-iframe/w-skeleton-iframe.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-iframe/w-skeleton-iframe.component.html +3 -0
- package/src/lib/shared/skeletons/w-skeleton-iframe/w-skeleton-iframe.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-iframe/w-skeleton-iframe.component.ts +10 -0
- package/src/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.css +4 -0
- package/src/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.html +6 -0
- package/src/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.ts +13 -0
- package/src/lib/shared/skeletons/w-skeleton-list/w-skeleton-list.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-list/w-skeleton-list.component.html +12 -0
- package/src/lib/shared/skeletons/w-skeleton-list/w-skeleton-list.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-list/w-skeleton-list.component.ts +13 -0
- package/src/lib/shared/skeletons/w-skeleton-powerbi-report/w-skeleton-powerbi-report.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-powerbi-report/w-skeleton-powerbi-report.component.html +10 -0
- package/src/lib/shared/skeletons/w-skeleton-powerbi-report/w-skeleton-powerbi-report.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-powerbi-report/w-skeleton-powerbi-report.component.ts +10 -0
- package/src/lib/shared/skeletons/w-skeleton-profile-sidebar/w-skeleton-profile-sidebar.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-profile-sidebar/w-skeleton-profile-sidebar.component.html +14 -0
- package/src/lib/shared/skeletons/w-skeleton-profile-sidebar/w-skeleton-profile-sidebar.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-profile-sidebar/w-skeleton-profile-sidebar.component.ts +10 -0
- package/src/lib/shared/skeletons/w-skeleton-query-builder/w-skeleton-query-builder.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-query-builder/w-skeleton-query-builder.component.html +41 -0
- package/src/lib/shared/skeletons/w-skeleton-query-builder/w-skeleton-query-builder.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-query-builder/w-skeleton-query-builder.component.ts +13 -0
- package/src/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.html +8 -0
- package/src/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.scss +26 -0
- package/src/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.ts +14 -0
- package/src/lib/shared/skeletons/w-skeleton-timeline/w-skeleton-timeline.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-timeline/w-skeleton-timeline.component.html +11 -0
- package/src/lib/shared/skeletons/w-skeleton-timeline/w-skeleton-timeline.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-timeline/w-skeleton-timeline.component.ts +16 -0
- package/src/lib/shared/skeletons/w-skeleton-tree/w-skeleton-tree.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-tree/w-skeleton-tree.component.html +10 -0
- package/src/lib/shared/skeletons/w-skeleton-tree/w-skeleton-tree.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-tree/w-skeleton-tree.component.ts +18 -0
- package/src/lib/shared/skeletons/w-skeleton-user-profile-info-sidebar/w-skeleton-user-profile-info-sidebar.component.css +0 -0
- package/src/lib/shared/skeletons/w-skeleton-user-profile-info-sidebar/w-skeleton-user-profile-info-sidebar.component.html +55 -0
- package/src/lib/shared/skeletons/w-skeleton-user-profile-info-sidebar/w-skeleton-user-profile-info-sidebar.component.spec.ts +23 -0
- package/src/lib/shared/skeletons/w-skeleton-user-profile-info-sidebar/w-skeleton-user-profile-info-sidebar.component.ts +10 -0
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.html +26 -0
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.scss +89 -0
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.spec.ts +23 -0
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.ts +58 -0
- package/src/lib/tables/w-table/w-table.component.html +272 -0
- package/src/lib/tables/w-table/w-table.component.scss +323 -0
- package/src/lib/tables/w-table/w-table.component.spec.ts +23 -0
- package/src/lib/tables/w-table/w-table.component.ts +238 -0
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.html +253 -0
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.scss +295 -0
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.spec.ts +23 -0
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.ts +269 -0
- package/src/lib/tables/w-tree-table/w-tree-table.component.html +289 -0
- package/src/lib/tables/w-tree-table/w-tree-table.component.scss +283 -0
- package/src/lib/tables/w-tree-table/w-tree-table.component.spec.ts +23 -0
- package/src/lib/tables/w-tree-table/w-tree-table.component.ts +173 -0
- package/src/lib/tabview/w-tabview/w-tabview.component.html +72 -0
- package/src/lib/tabview/w-tabview/w-tabview.component.scss +39 -0
- package/src/lib/tabview/w-tabview/w-tabview.component.spec.ts +23 -0
- package/src/lib/tabview/w-tabview/w-tabview.component.ts +14 -0
- package/src/lib/theme/theme.component.css +0 -0
- package/src/lib/theme/theme.component.html +1 -0
- package/src/lib/theme/theme.component.spec.ts +23 -0
- package/src/lib/theme/theme.component.ts +10 -0
- package/src/lib/tree/w-tree/w-tree.component.html +50 -0
- package/src/lib/tree/w-tree/w-tree.component.scss +114 -0
- package/src/lib/tree/w-tree/w-tree.component.spec.ts +23 -0
- package/src/lib/tree/w-tree/w-tree.component.ts +84 -0
- package/src/lib/view/w-view-boolean/w-view-boolean.component.html +27 -0
- package/src/lib/view/w-view-boolean/w-view-boolean.component.scss +38 -0
- package/src/lib/view/w-view-boolean/w-view-boolean.component.spec.ts +23 -0
- package/src/lib/view/w-view-boolean/w-view-boolean.component.ts +31 -0
- package/src/lib/view/w-view-card-title-text/w-view-card-title-text.component.html +1 -0
- package/src/lib/view/w-view-card-title-text/w-view-card-title-text.component.scss +5 -0
- package/src/lib/view/w-view-card-title-text/w-view-card-title-text.component.spec.ts +23 -0
- package/src/lib/view/w-view-card-title-text/w-view-card-title-text.component.ts +16 -0
- package/src/lib/view/w-view-text/w-view-text.component.html +18 -0
- package/src/lib/view/w-view-text/w-view-text.component.scss +42 -0
- package/src/lib/view/w-view-text/w-view-text.component.spec.ts +23 -0
- package/src/lib/view/w-view-text/w-view-text.component.ts +12 -0
- package/src/lib/w-clipboard/w-clipboard.component.css +12 -0
- package/src/lib/w-clipboard/w-clipboard.component.html +10 -0
- package/src/lib/w-clipboard/w-clipboard.component.spec.ts +23 -0
- package/src/lib/w-clipboard/w-clipboard.component.ts +32 -0
- package/src/lib/wapp-components.component.spec.ts +23 -0
- package/src/lib/wapp-components.component.ts +15 -0
- package/src/lib/wapp-components.module.ts +337 -0
- package/src/lib/wapp-components.service.spec.ts +16 -0
- package/src/lib/wapp-components.service.ts +9 -0
- package/{public-api.d.ts → src/public-api.ts} +20 -6
- package/src/styles/_variables.scss +674 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2020/lib/button/w-button/w-button.component.mjs +0 -67
- package/esm2020/lib/button/w-buttons-footer/w-buttons-footer.component.mjs +0 -11
- package/esm2020/lib/button/w-radio-button/w-radio-button.component.mjs +0 -86
- package/esm2020/lib/button/w-select-button/w-select-button.component.mjs +0 -84
- package/esm2020/lib/button/w-toggle-button/w-toggle-button.component.mjs +0 -102
- package/esm2020/lib/edit/w-edit-calendar/w-edit-calendar.component.mjs +0 -119
- package/esm2020/lib/edit/w-edit-checkbox/w-edit-checkbox.component.mjs +0 -89
- package/esm2020/lib/edit/w-edit-input-number/w-edit-input-number.component.mjs +0 -134
- package/esm2020/lib/edit/w-edit-input-text/w-edit-input-text.component.mjs +0 -129
- package/esm2020/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.mjs +0 -112
- package/esm2020/lib/edit/w-edit-multiselect/w-edit-multiselect.component.mjs +0 -114
- package/esm2020/lib/edit/w-edit-select/w-edit-select.component.mjs +0 -119
- package/esm2020/lib/edit/w-edit-toggle/w-edit-toggle.component.mjs +0 -93
- package/esm2020/lib/edit/w-edit-treeselect/w-edit-treeselect.component.mjs +0 -111
- package/esm2020/lib/file/w-image-cropper/w-image-cropper.component.mjs +0 -236
- package/esm2020/lib/file/w-image-file-uploader/w-image-file-uploader.component.mjs +0 -409
- package/esm2020/lib/file/w-preview-image/w-preview-image.component.mjs +0 -20
- package/esm2020/lib/icons/icons.mjs +0 -115
- package/esm2020/lib/icons/wapping-icons/w-icons.component.mjs +0 -57
- package/esm2020/lib/layout/w-body/w-body.component.mjs +0 -18
- package/esm2020/lib/layout/w-body-container/w-body-container.component.mjs +0 -11
- package/esm2020/lib/layout/w-body-grid/w-body-grid.component.mjs +0 -11
- package/esm2020/lib/layout/w-container/w-container.component.mjs +0 -19
- package/esm2020/lib/layout/w-footer/w-footer.component.mjs +0 -27
- package/esm2020/lib/layout/w-header-panel/w-header-panel.component.mjs +0 -36
- package/esm2020/lib/layout/w-navbar/w-navbar.component.mjs +0 -44
- package/esm2020/lib/layout/w-panel/w-panel.component.mjs +0 -77
- package/esm2020/lib/layout/w-panel-grid/w-panel-grid.component.mjs +0 -11
- package/esm2020/lib/layout/w-panel-subtitle/w-panel-subtitle.component.mjs +0 -17
- package/esm2020/lib/layout/w-panel-title/w-panel-title.component.mjs +0 -17
- package/esm2020/lib/logos/logos.mjs +0 -8
- package/esm2020/lib/logos/wapping-logos/w-logos.component.mjs +0 -53
- package/esm2020/lib/maps/w-maps/w-maps.component.mjs +0 -161
- package/esm2020/lib/misc/w-badge/w-badge.component.mjs +0 -29
- package/esm2020/lib/misc/w-chip/w-chip.component.mjs +0 -67
- package/esm2020/lib/misc/w-filter-panel/w-filter-panel.component.mjs +0 -447
- package/esm2020/lib/misc/w-filter-panel/w-list-field/w-list-field.component.mjs +0 -82
- package/esm2020/lib/misc/w-timeline/w-timeline.component.mjs +0 -48
- package/esm2020/lib/misc/w-wizard/w-wizard.component.mjs +0 -87
- package/esm2020/lib/report/w-powerbi-report/w-powerbi-report.component.mjs +0 -206
- package/esm2020/lib/search/w-autocomplete-search/w-autocomplete-search.component.mjs +0 -106
- package/esm2020/lib/search/w-input-search/w-input-search.component.mjs +0 -113
- package/esm2020/lib/shared/components/w-address-field/w-address-field.component.mjs +0 -248
- package/esm2020/lib/shared/enums/enum.mjs +0 -20
- package/esm2020/lib/shared/models/action-button-response.model.mjs +0 -2
- package/esm2020/lib/shared/models/action-button.model.mjs +0 -2
- package/esm2020/lib/shared/models/components-tenant-storage.model.mjs +0 -2
- package/esm2020/lib/shared/models/custom-button-config.model.mjs +0 -2
- package/esm2020/lib/shared/models/customer-address.model.mjs +0 -2
- package/esm2020/lib/shared/models/embed-config.model.mjs +0 -2
- package/esm2020/lib/shared/models/enums.model.mjs +0 -90
- package/esm2020/lib/shared/models/filter-panel/field.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/filter-field.models.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/filter-panel-translations.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/gmarealevel1.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/gmarealevel2.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/gmcountry-model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/gmlocality.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/gmpostalcode.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/qb-filter-entity.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/qb-operators.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/qb-panel-filter.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/qb-panel-to-fields.model.mjs +0 -2
- package/esm2020/lib/shared/models/filter-panel/query-results.model.mjs +0 -8
- package/esm2020/lib/shared/models/filter.model.mjs +0 -2
- package/esm2020/lib/shared/models/image-b64.model.mjs +0 -2
- package/esm2020/lib/shared/models/lazy-element-query-request.model.mjs +0 -2
- package/esm2020/lib/shared/models/stored-filter-panel-query.model.mjs +0 -2
- package/esm2020/lib/shared/models/w-file-b64.model.mjs +0 -2
- package/esm2020/lib/shared/models/w-image-cropper-data.model.mjs +0 -2
- package/esm2020/lib/shared/models/w-image-file-uploader-config.model.mjs +0 -2
- package/esm2020/lib/shared/models/w-select-button-state.model.mjs +0 -2
- package/esm2020/lib/shared/models/w-timeline-event-item.model.mjs +0 -2
- package/esm2020/lib/shared/models/w-tree-table.model.mjs +0 -2
- package/esm2020/lib/shared/models/wapp-table-lazy-loading.model.mjs +0 -2
- package/esm2020/lib/shared/models/wapp-table.model.mjs +0 -2
- package/esm2020/lib/shared/pipes/color-text.pipe.mjs +0 -25
- package/esm2020/lib/shared/pipes/w-date.pipe.mjs +0 -44
- package/esm2020/lib/shared/pipes/w-summary.pipe.mjs +0 -16
- package/esm2020/lib/shared/service/api/api.service.mjs +0 -88
- package/esm2020/lib/shared/services/form-control.service.mjs +0 -18
- package/esm2020/lib/shared/services/modal.service.mjs +0 -62
- package/esm2020/lib/shared/services/session-storage.service.mjs +0 -46
- package/esm2020/lib/shared/services/tree.service.mjs +0 -30
- package/esm2020/lib/shared/skeletons/w-skeleton-edit/w-skeleton-edit.component.mjs +0 -26
- package/esm2020/lib/shared/skeletons/w-skeleton-edit-product/w-skeleton-edit-product.component.mjs +0 -17
- package/esm2020/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.mjs +0 -24
- package/esm2020/lib/shared/skeletons/w-skeleton-generic/w-skeleton-generic.component.mjs +0 -19
- package/esm2020/lib/shared/skeletons/w-skeleton-iframe/w-skeleton-iframe.component.mjs +0 -12
- package/esm2020/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.mjs +0 -30
- package/esm2020/lib/shared/skeletons/w-skeleton-list/w-skeleton-list.component.mjs +0 -27
- package/esm2020/lib/shared/skeletons/w-skeleton-powerbi-report/w-skeleton-powerbi-report.component.mjs +0 -12
- package/esm2020/lib/shared/skeletons/w-skeleton-profile-sidebar/w-skeleton-profile-sidebar.component.mjs +0 -12
- package/esm2020/lib/shared/skeletons/w-skeleton-query-builder/w-skeleton-query-builder.component.mjs +0 -26
- package/esm2020/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.mjs +0 -22
- package/esm2020/lib/shared/skeletons/w-skeleton-timeline/w-skeleton-timeline.component.mjs +0 -25
- package/esm2020/lib/shared/skeletons/w-skeleton-tree/w-skeleton-tree.component.mjs +0 -27
- package/esm2020/lib/shared/skeletons/w-skeleton-user-profile-info-sidebar/w-skeleton-user-profile-info-sidebar.component.mjs +0 -12
- package/esm2020/lib/sidebar/w-sidebar/w-sidebar.component.mjs +0 -83
- package/esm2020/lib/tables/w-table/w-table.component.mjs +0 -255
- package/esm2020/lib/tables/w-table-lazy/w-table-lazy.component.mjs +0 -292
- package/esm2020/lib/tables/w-tree-table/w-tree-table.component.mjs +0 -187
- package/esm2020/lib/tabview/w-tabview/w-tabview.component.mjs +0 -27
- package/esm2020/lib/tree/w-tree/w-tree.component.mjs +0 -149
- package/esm2020/lib/view/w-view-boolean/w-view-boolean.component.mjs +0 -60
- package/esm2020/lib/view/w-view-card-title-text/w-view-card-title-text.component.mjs +0 -17
- package/esm2020/lib/view/w-view-text/w-view-text.component.mjs +0 -24
- package/esm2020/lib/w-clipboard/w-clipboard.component.mjs +0 -39
- package/esm2020/lib/wapp-components.component.mjs +0 -19
- package/esm2020/lib/wapp-components.module.mjs +0 -603
- package/esm2020/lib/wapp-components.service.mjs +0 -14
- package/esm2020/ngx-wapp-components.mjs +0 -5
- package/esm2020/public-api.mjs +0 -94
- package/fesm2015/ngx-wapp-components.mjs +0 -6179
- package/fesm2015/ngx-wapp-components.mjs.map +0 -1
- package/fesm2020/ngx-wapp-components.mjs +0 -6191
- package/fesm2020/ngx-wapp-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/button/w-button/w-button.component.d.ts +0 -23
- package/lib/button/w-buttons-footer/w-buttons-footer.component.d.ts +0 -5
- package/lib/button/w-radio-button/w-radio-button.component.d.ts +0 -31
- package/lib/button/w-select-button/w-select-button.component.d.ts +0 -27
- package/lib/button/w-toggle-button/w-toggle-button.component.d.ts +0 -32
- package/lib/edit/w-edit-calendar/w-edit-calendar.component.d.ts +0 -38
- package/lib/edit/w-edit-checkbox/w-edit-checkbox.component.d.ts +0 -27
- package/lib/edit/w-edit-input-number/w-edit-input-number.component.d.ts +0 -38
- package/lib/edit/w-edit-input-text/w-edit-input-text.component.d.ts +0 -37
- package/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.d.ts +0 -33
- package/lib/edit/w-edit-multiselect/w-edit-multiselect.component.d.ts +0 -36
- package/lib/edit/w-edit-select/w-edit-select.component.d.ts +0 -36
- package/lib/edit/w-edit-toggle/w-edit-toggle.component.d.ts +0 -28
- package/lib/edit/w-edit-treeselect/w-edit-treeselect.component.d.ts +0 -35
- package/lib/file/w-image-cropper/w-image-cropper.component.d.ts +0 -69
- package/lib/file/w-image-file-uploader/w-image-file-uploader.component.d.ts +0 -70
- package/lib/file/w-preview-image/w-preview-image.component.d.ts +0 -10
- package/lib/icons/icons.d.ts +0 -1
- package/lib/icons/wapping-icons/w-icons.component.d.ts +0 -15
- package/lib/layout/w-body/w-body.component.d.ts +0 -6
- package/lib/layout/w-body-container/w-body-container.component.d.ts +0 -5
- package/lib/layout/w-body-grid/w-body-grid.component.d.ts +0 -5
- package/lib/layout/w-container/w-container.component.d.ts +0 -5
- package/lib/layout/w-footer/w-footer.component.d.ts +0 -10
- package/lib/layout/w-header-panel/w-header-panel.component.d.ts +0 -15
- package/lib/layout/w-navbar/w-navbar.component.d.ts +0 -16
- package/lib/layout/w-panel/w-panel.component.d.ts +0 -23
- package/lib/layout/w-panel-grid/w-panel-grid.component.d.ts +0 -5
- package/lib/layout/w-panel-subtitle/w-panel-subtitle.component.d.ts +0 -7
- package/lib/layout/w-panel-title/w-panel-title.component.d.ts +0 -7
- package/lib/logos/logos.d.ts +0 -1
- package/lib/logos/wapping-logos/w-logos.component.d.ts +0 -15
- package/lib/maps/w-maps/w-maps.component.d.ts +0 -38
- package/lib/misc/w-badge/w-badge.component.d.ts +0 -9
- package/lib/misc/w-chip/w-chip.component.d.ts +0 -22
- package/lib/misc/w-filter-panel/w-filter-panel.component.d.ts +0 -74
- package/lib/misc/w-filter-panel/w-list-field/w-list-field.component.d.ts +0 -25
- package/lib/misc/w-timeline/w-timeline.component.d.ts +0 -17
- package/lib/misc/w-wizard/w-wizard.component.d.ts +0 -31
- package/lib/report/w-powerbi-report/w-powerbi-report.component.d.ts +0 -40
- package/lib/search/w-autocomplete-search/w-autocomplete-search.component.d.ts +0 -29
- package/lib/search/w-input-search/w-input-search.component.d.ts +0 -34
- package/lib/shared/components/w-address-field/w-address-field.component.d.ts +0 -65
- package/lib/shared/enums/enum.d.ts +0 -16
- package/lib/shared/models/action-button-response.model.d.ts +0 -4
- package/lib/shared/models/action-button.model.d.ts +0 -5
- package/lib/shared/models/custom-button-config.model.d.ts +0 -4
- package/lib/shared/models/customer-address.model.d.ts +0 -16
- package/lib/shared/models/filter-panel/filter-field.models.d.ts +0 -17
- package/lib/shared/models/filter-panel/filter-panel-translations.model.d.ts +0 -29
- package/lib/shared/models/filter-panel/gmarealevel1.model.d.ts +0 -4
- package/lib/shared/models/filter-panel/gmarealevel2.model.d.ts +0 -4
- package/lib/shared/models/filter-panel/gmcountry-model.d.ts +0 -4
- package/lib/shared/models/filter-panel/gmlocality.model.d.ts +0 -4
- package/lib/shared/models/filter-panel/gmpostalcode.model.d.ts +0 -4
- package/lib/shared/models/filter-panel/qb-filter-entity.model.d.ts +0 -7
- package/lib/shared/models/filter-panel/qb-operators.model.d.ts +0 -4
- package/lib/shared/models/filter-panel/qb-panel-filter.model.d.ts +0 -13
- package/lib/shared/models/filter-panel/qb-panel-to-fields.model.d.ts +0 -11
- package/lib/shared/models/filter-panel/query-results.model.d.ts +0 -15
- package/lib/shared/models/filter.model.d.ts +0 -5
- package/lib/shared/models/image-b64.model.d.ts +0 -5
- package/lib/shared/models/lazy-element-query-request.model.d.ts +0 -8
- package/lib/shared/models/stored-filter-panel-query.model.d.ts +0 -6
- package/lib/shared/models/w-file-b64.model.d.ts +0 -6
- package/lib/shared/models/w-image-cropper-data.model.d.ts +0 -7
- package/lib/shared/models/w-image-file-uploader-config.model.d.ts +0 -23
- package/lib/shared/models/w-select-button-state.model.d.ts +0 -4
- package/lib/shared/models/w-tree-table.model.d.ts +0 -34
- package/lib/shared/models/wapp-table-lazy-loading.model.d.ts +0 -55
- package/lib/shared/models/wapp-table.model.d.ts +0 -58
- package/lib/shared/pipes/color-text.pipe.d.ts +0 -7
- package/lib/shared/pipes/w-date.pipe.d.ts +0 -8
- package/lib/shared/pipes/w-summary.pipe.d.ts +0 -7
- package/lib/shared/service/api/api.service.d.ts +0 -24
- package/lib/shared/services/form-control.service.d.ts +0 -8
- package/lib/shared/services/modal.service.d.ts +0 -22
- package/lib/shared/services/session-storage.service.d.ts +0 -14
- package/lib/shared/services/tree.service.d.ts +0 -8
- package/lib/shared/skeletons/w-skeleton-edit/w-skeleton-edit.component.d.ts +0 -8
- package/lib/shared/skeletons/w-skeleton-edit-product/w-skeleton-edit-product.component.d.ts +0 -5
- package/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.d.ts +0 -10
- package/lib/shared/skeletons/w-skeleton-generic/w-skeleton-generic.component.d.ts +0 -6
- package/lib/shared/skeletons/w-skeleton-iframe/w-skeleton-iframe.component.d.ts +0 -5
- package/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.d.ts +0 -9
- package/lib/shared/skeletons/w-skeleton-list/w-skeleton-list.component.d.ts +0 -7
- package/lib/shared/skeletons/w-skeleton-powerbi-report/w-skeleton-powerbi-report.component.d.ts +0 -5
- package/lib/shared/skeletons/w-skeleton-profile-sidebar/w-skeleton-profile-sidebar.component.d.ts +0 -5
- package/lib/shared/skeletons/w-skeleton-query-builder/w-skeleton-query-builder.component.d.ts +0 -8
- package/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.d.ts +0 -8
- package/lib/shared/skeletons/w-skeleton-timeline/w-skeleton-timeline.component.d.ts +0 -9
- package/lib/shared/skeletons/w-skeleton-tree/w-skeleton-tree.component.d.ts +0 -11
- package/lib/shared/skeletons/w-skeleton-user-profile-info-sidebar/w-skeleton-user-profile-info-sidebar.component.d.ts +0 -5
- package/lib/sidebar/w-sidebar/w-sidebar.component.d.ts +0 -25
- package/lib/tables/w-table/w-table.component.d.ts +0 -62
- package/lib/tables/w-table-lazy/w-table-lazy.component.d.ts +0 -61
- package/lib/tables/w-tree-table/w-tree-table.component.d.ts +0 -48
- package/lib/tabview/w-tabview/w-tabview.component.d.ts +0 -8
- package/lib/tree/w-tree/w-tree.component.d.ts +0 -40
- package/lib/view/w-view-boolean/w-view-boolean.component.d.ts +0 -19
- package/lib/view/w-view-card-title-text/w-view-card-title-text.component.d.ts +0 -9
- package/lib/view/w-view-text/w-view-text.component.d.ts +0 -8
- package/lib/w-clipboard/w-clipboard.component.d.ts +0 -12
- package/lib/wapp-components.component.d.ts +0 -5
- package/lib/wapp-components.module.d.ts +0 -120
- package/lib/wapp-components.service.d.ts +0 -6
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Component, Input, forwardRef } from "@angular/core";
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
3
|
-
import { DataTypeEnum, OperatorEnum } from "../../../shared/models/enums.model";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/forms";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
import * as i3 from "primeng/skeleton";
|
|
8
|
-
import * as i4 from "primeng/dropdown";
|
|
9
|
-
import * as i5 from "primeng/multiselect";
|
|
10
|
-
export class WListFieldComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.onlyDropdown = false;
|
|
13
|
-
this.dataType = DataTypeEnum;
|
|
14
|
-
this.onChange = () => { };
|
|
15
|
-
this.onTouched = () => { };
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
this.options = this.optionsReceived;
|
|
19
|
-
}
|
|
20
|
-
ngOnChanges(changes) {
|
|
21
|
-
if (this.onlyDropdown == true && (changes[this.optionsReceived] != undefined) && (changes[this.optionsReceived].currentValue[0] !== changes[this.optionsReceived].previousValue[0])) {
|
|
22
|
-
this.options = this.optionsReceived;
|
|
23
|
-
}
|
|
24
|
-
if (this.onlyDropdown == false) {
|
|
25
|
-
if (changes[this.operator]?.previousValue != undefined) {
|
|
26
|
-
this.optionSelected = null;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
onOptionSelected() {
|
|
31
|
-
this.onChange(this.optionSelected);
|
|
32
|
-
this.onTouched();
|
|
33
|
-
}
|
|
34
|
-
writeValue(value) {
|
|
35
|
-
this.optionSelected = value;
|
|
36
|
-
}
|
|
37
|
-
registerOnChange(fn) {
|
|
38
|
-
this.onChange = fn;
|
|
39
|
-
}
|
|
40
|
-
registerOnTouched(fn) {
|
|
41
|
-
this.onTouched = fn;
|
|
42
|
-
}
|
|
43
|
-
getDataType() {
|
|
44
|
-
if (this.operator == OperatorEnum.Equals || this.operator == OperatorEnum.NotEquals) {
|
|
45
|
-
return DataTypeEnum.Single;
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
return DataTypeEnum.Multi;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
WListFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WListFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
WListFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WListFieldComponent, selector: "w-list-field", inputs: { optionsReceived: ["options", "optionsReceived"], operator: "operator", placeholder: "placeholder", onlyDropdown: "onlyDropdown" }, providers: [
|
|
54
|
-
{
|
|
55
|
-
provide: NG_VALUE_ACCESSOR,
|
|
56
|
-
useExisting: forwardRef(() => WListFieldComponent),
|
|
57
|
-
multi: true
|
|
58
|
-
}
|
|
59
|
-
], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"options.length == 0; else optionsDataReady\" class=\"mx-2 w-list-field-skeleton-container p-dropdown p-component\"><p-skeleton width=\"8rem\" height=\"9px\"></p-skeleton></div>\r\n<ng-template #optionsDataReady>\r\n <p-multiSelect *ngIf=\"getDataType() == dataType.Multi\"\r\n appendTo=\"body\" \r\n [options]=\"options\" \r\n [(ngModel)]=\"optionSelected\" \r\n optionLabel=\"name\" \r\n optionValue=\"value\" \r\n [placeholder]=\"placeholder ?? 'Select an option'\"\r\n (onChange)=\"onOptionSelected()\">\r\n </p-multiSelect>\r\n <p-dropdown *ngIf=\"options && getDataType() == dataType.Single\"\r\n appendTo=\"body\" \r\n [options]=\"options\" \r\n [(ngModel)]=\"optionSelected\" \r\n optionLabel=\"name\" \r\n optionValue=\"value\" \r\n [placeholder]=\"placeholder ?? 'Select an option'\" \r\n (onChange)=\"onOptionSelected()\">\r\n </p-dropdown>\r\n</ng-template>", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .p-multiselect{max-width:140px}.w-list-field-skeleton-container{padding:14px}:host ::ng-deep .w-edit-select-input-small .p-dropdown{font-weight:600;border-width:1px;border-radius:8px;border-color:#e8eaed;height:32px;margin:4px}:host ::ng-deep .w-edit-select-input-small .p-dropdown:not(.p-disabled):hover{border:1px solid #1f5b72!important}:host ::ng-deep .w-edit-select-input-small .p-dropdown:not(.p-disabled).p-focus{box-shadow:0 0 8px #3c7e9a80;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-input-small .p-dropdown .p-placeholder{color:#9aa0a6}:host ::ng-deep .w-edit-select-input-small .p-inputtext{padding:6px 0 6px 12px}:host ::ng-deep .w-edit-select-input-small .p-dropdown .pi{font-size:.8rem}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel{padding:8px}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px;margin-bottom:4px;font-weight:600}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep .w-edit-select-input-small .p-disabled{background:#ffffff;opacity:1}:host ::ng-deep .w-edit-select-input-small .p-disabled .p-inputtext{color:#bdc1c6}::ng-deep .select-disabled .p-dropdown .p-dropdown-trigger{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "style", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: i5.MultiSelect, selector: "p-multiSelect", inputs: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove"] }] });
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WListFieldComponent, decorators: [{
|
|
61
|
-
type: Component,
|
|
62
|
-
args: [{ selector: 'w-list-field', providers: [
|
|
63
|
-
{
|
|
64
|
-
provide: NG_VALUE_ACCESSOR,
|
|
65
|
-
useExisting: forwardRef(() => WListFieldComponent),
|
|
66
|
-
multi: true
|
|
67
|
-
}
|
|
68
|
-
], template: "<div *ngIf=\"options.length == 0; else optionsDataReady\" class=\"mx-2 w-list-field-skeleton-container p-dropdown p-component\"><p-skeleton width=\"8rem\" height=\"9px\"></p-skeleton></div>\r\n<ng-template #optionsDataReady>\r\n <p-multiSelect *ngIf=\"getDataType() == dataType.Multi\"\r\n appendTo=\"body\" \r\n [options]=\"options\" \r\n [(ngModel)]=\"optionSelected\" \r\n optionLabel=\"name\" \r\n optionValue=\"value\" \r\n [placeholder]=\"placeholder ?? 'Select an option'\"\r\n (onChange)=\"onOptionSelected()\">\r\n </p-multiSelect>\r\n <p-dropdown *ngIf=\"options && getDataType() == dataType.Single\"\r\n appendTo=\"body\" \r\n [options]=\"options\" \r\n [(ngModel)]=\"optionSelected\" \r\n optionLabel=\"name\" \r\n optionValue=\"value\" \r\n [placeholder]=\"placeholder ?? 'Select an option'\" \r\n (onChange)=\"onOptionSelected()\">\r\n </p-dropdown>\r\n</ng-template>", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .p-multiselect{max-width:140px}.w-list-field-skeleton-container{padding:14px}:host ::ng-deep .w-edit-select-input-small .p-dropdown{font-weight:600;border-width:1px;border-radius:8px;border-color:#e8eaed;height:32px;margin:4px}:host ::ng-deep .w-edit-select-input-small .p-dropdown:not(.p-disabled):hover{border:1px solid #1f5b72!important}:host ::ng-deep .w-edit-select-input-small .p-dropdown:not(.p-disabled).p-focus{box-shadow:0 0 8px #3c7e9a80;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-input-small .p-dropdown .p-placeholder{color:#9aa0a6}:host ::ng-deep .w-edit-select-input-small .p-inputtext{padding:6px 0 6px 12px}:host ::ng-deep .w-edit-select-input-small .p-dropdown .pi{font-size:.8rem}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel{padding:8px}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px;margin-bottom:4px;font-weight:600}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-input-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep .w-edit-select-input-small .p-disabled{background:#ffffff;opacity:1}:host ::ng-deep .w-edit-select-input-small .p-disabled .p-inputtext{color:#bdc1c6}::ng-deep .select-disabled .p-dropdown .p-dropdown-trigger{display:none}\n"] }]
|
|
69
|
-
}], ctorParameters: function () { return []; }, propDecorators: { optionsReceived: [{
|
|
70
|
-
type: Input,
|
|
71
|
-
args: ['options']
|
|
72
|
-
}], operator: [{
|
|
73
|
-
type: Input,
|
|
74
|
-
args: ['operator']
|
|
75
|
-
}], placeholder: [{
|
|
76
|
-
type: Input,
|
|
77
|
-
args: ['placeholder']
|
|
78
|
-
}], onlyDropdown: [{
|
|
79
|
-
type: Input,
|
|
80
|
-
args: ['onlyDropdown']
|
|
81
|
-
}] } });
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidy1saXN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3dhcHAtY29tcG9uZW50cy9zcmMvbGliL21pc2Mvdy1maWx0ZXItcGFuZWwvdy1saXN0LWZpZWxkL3ctbGlzdC1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8u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FUeXBlLlNpbmdsZVwiXHJcbiAgICAgICAgYXBwZW5kVG89XCJib2R5XCIgXHJcbiAgICAgICAgW29wdGlvbnNdPVwib3B0aW9uc1wiIFxyXG4gICAgICAgIFsobmdNb2RlbCldPVwib3B0aW9uU2VsZWN0ZWRcIiBcclxuICAgICAgICBvcHRpb25MYWJlbD1cIm5hbWVcIiBcclxuICAgICAgICBvcHRpb25WYWx1ZT1cInZhbHVlXCIgXHJcbiAgICAgICAgW3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyID8/ICdTZWxlY3QgYW4gb3B0aW9uJ1wiIFxyXG4gICAgICAgIChvbkNoYW5nZSk9XCJvbk9wdGlvblNlbGVjdGVkKClcIj5cclxuICAgIDwvcC1kcm9wZG93bj5cclxuPC9uZy10ZW1wbGF0ZT4iXX0=
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "primeng/api";
|
|
5
|
-
import * as i3 from "primeng/timeline";
|
|
6
|
-
import * as i4 from "../../button/w-button/w-button.component";
|
|
7
|
-
import * as i5 from "../../layout/w-panel/w-panel.component";
|
|
8
|
-
export class WTimelineComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.panel = false;
|
|
11
|
-
this.align = "alternate";
|
|
12
|
-
this.reducedPanelMargin = false;
|
|
13
|
-
this.reducedEventPanelMargin = false;
|
|
14
|
-
this.buttonClick = new EventEmitter();
|
|
15
|
-
}
|
|
16
|
-
onButtonClick(event) {
|
|
17
|
-
if (event.button?.id)
|
|
18
|
-
this.buttonClick.emit({ id: event.button.id, element: event });
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
WTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
WTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WTimelineComponent, selector: "w-timeline", inputs: { events: "events", header: "header", panel: "panel", align: "align", reducedPanelMargin: "reducedPanelMargin", reducedEventPanelMargin: "reducedEventPanelMargin" }, outputs: { buttonClick: "buttonClick" }, ngImport: i0, template: "<div *ngIf=\"panel; else timeline\">\r\n <w-panel [title]=\"header\" [reduced]=\"reducedPanelMargin\">\r\n <div class=\"col-12\">\r\n <ng-container *ngTemplateOutlet=\"timeline\"></ng-container>\r\n </div>\r\n </w-panel>\r\n</div>\r\n\r\n<ng-template #timeline>\r\n <p-timeline [value]=\"events\" [align]=\"align\" styleClass=\"customized-timeline\" \r\n [class.w-timeline-non-alternate]=\"align != 'alternate'\">\r\n <ng-template pTemplate=\"marker\" let-event>\r\n <span *ngIf=\"event.color.includes('#'); else wappingColors\"\r\n class=\"flex w-2rem h-2rem align-items-center justify-content-center text-white border-circle z-1 shadow-1 shadow-2\"\r\n [style.backgroundColor]=\"event.color\">\r\n <i [ngClass]=\"'pi '+event.icon\"></i>\r\n </span>\r\n <ng-template #wappingColors>\r\n <span\r\n class=\"flex w-2rem h-2rem align-items-center justify-content-center text-white border-circle z-1 shadow-1 shadow-2\"\r\n [class]=\"'w-timeline-event color-'+event.color\">\r\n <i [ngClass]=\"'pi '+event.icon\" [class]=\"'w-timeline-event color-'+event.color\"></i>\r\n </span>\r\n </ng-template>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\" let-event>\r\n <w-panel [title]=\"event.status\" [subtitle]=\"event.date\" [reduced]=\"reducedEventPanelMargin\">\r\n <div class=\"col-12\">\r\n <img *ngIf=\"event.image\"\r\n [src]=\"event.image\"\r\n [alt]=\"event.name\" width=\"200\" class=\"shadow-2\" />\r\n <p> {{event.content}} </p>\r\n <div class=\"flex w-timeline-button\" [ngClass]=\"{'w-timeline-button-end':align == 'left', 'w-timeline-button-start':align == 'right'}\">\r\n <w-button *ngIf=\"event.button\" type=\"text\" \r\n [label]=\"event.button.label\" \r\n [icon]=\"event.button.icon!\"\r\n (onClick)=\"onButtonClick(event)\">\r\n </w-button>\r\n </div>\r\n </div>\r\n </w-panel>\r\n </ng-template>\r\n </p-timeline>\r\n</ng-template>", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n+1) .p-timeline-event-opposite{text-align:right;padding:0}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n+1) .p-timeline-event-content{text-align:left;padding:0 0 0 16px}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n+1) .p-timeline-event-content .w-timeline-button{justify-content:end}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n) .p-timeline-event-content{text-align:right;padding:0 16px 0 0}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n) .p-timeline-event-content .w-timeline-button{justify-content:start}::ng-deep .w-timeline-non-alternate .p-timeline-event-content{padding:0 1rem;margin-bottom:16px!important}.w-timeline-button-end{justify-content:end}.w-timeline-button-start{justify-content:start}.w-timeline-event.color-success{background-color:#46ff9b;color:#00db5d}.w-timeline-event.color-warn{background-color:#ffcd46;color:#eeae00}.w-timeline-event.color-info{background-color:#62c3ff;color:#009dfd}.w-timeline-event.color-error{background-color:#f55;color:#e50000}.w-timeline-event-icon-white{color:#fff}\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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Timeline, selector: "p-timeline", inputs: ["value", "style", "styleClass", "align", "layout"] }, { kind: "component", type: i4.WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "tooltipPosition", "tooltip", "disabled", "loading"], outputs: ["onClick"] }, { kind: "component", type: i5.WPanelComponent, selector: "w-panel", inputs: ["width", "title", "subtitle", "activeGrid", "reduced", "justifyContent", "activeOverflow", "heightOverflow", "maxHeightOverflow", "backgroundColor", "activeMenu", "menuOptions"] }] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WTimelineComponent, decorators: [{
|
|
24
|
-
type: Component,
|
|
25
|
-
args: [{ selector: 'w-timeline', template: "<div *ngIf=\"panel; else timeline\">\r\n <w-panel [title]=\"header\" [reduced]=\"reducedPanelMargin\">\r\n <div class=\"col-12\">\r\n <ng-container *ngTemplateOutlet=\"timeline\"></ng-container>\r\n </div>\r\n </w-panel>\r\n</div>\r\n\r\n<ng-template #timeline>\r\n <p-timeline [value]=\"events\" [align]=\"align\" styleClass=\"customized-timeline\" \r\n [class.w-timeline-non-alternate]=\"align != 'alternate'\">\r\n <ng-template pTemplate=\"marker\" let-event>\r\n <span *ngIf=\"event.color.includes('#'); else wappingColors\"\r\n class=\"flex w-2rem h-2rem align-items-center justify-content-center text-white border-circle z-1 shadow-1 shadow-2\"\r\n [style.backgroundColor]=\"event.color\">\r\n <i [ngClass]=\"'pi '+event.icon\"></i>\r\n </span>\r\n <ng-template #wappingColors>\r\n <span\r\n class=\"flex w-2rem h-2rem align-items-center justify-content-center text-white border-circle z-1 shadow-1 shadow-2\"\r\n [class]=\"'w-timeline-event color-'+event.color\">\r\n <i [ngClass]=\"'pi '+event.icon\" [class]=\"'w-timeline-event color-'+event.color\"></i>\r\n </span>\r\n </ng-template>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\" let-event>\r\n <w-panel [title]=\"event.status\" [subtitle]=\"event.date\" [reduced]=\"reducedEventPanelMargin\">\r\n <div class=\"col-12\">\r\n <img *ngIf=\"event.image\"\r\n [src]=\"event.image\"\r\n [alt]=\"event.name\" width=\"200\" class=\"shadow-2\" />\r\n <p> {{event.content}} </p>\r\n <div class=\"flex w-timeline-button\" [ngClass]=\"{'w-timeline-button-end':align == 'left', 'w-timeline-button-start':align == 'right'}\">\r\n <w-button *ngIf=\"event.button\" type=\"text\" \r\n [label]=\"event.button.label\" \r\n [icon]=\"event.button.icon!\"\r\n (onClick)=\"onButtonClick(event)\">\r\n </w-button>\r\n </div>\r\n </div>\r\n </w-panel>\r\n </ng-template>\r\n </p-timeline>\r\n</ng-template>", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n+1) .p-timeline-event-opposite{text-align:right;padding:0}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n+1) .p-timeline-event-content{text-align:left;padding:0 0 0 16px}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n+1) .p-timeline-event-content .w-timeline-button{justify-content:end}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n) .p-timeline-event-content{text-align:right;padding:0 16px 0 0}::ng-deep .p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(2n) .p-timeline-event-content .w-timeline-button{justify-content:start}::ng-deep .w-timeline-non-alternate .p-timeline-event-content{padding:0 1rem;margin-bottom:16px!important}.w-timeline-button-end{justify-content:end}.w-timeline-button-start{justify-content:start}.w-timeline-event.color-success{background-color:#46ff9b;color:#00db5d}.w-timeline-event.color-warn{background-color:#ffcd46;color:#eeae00}.w-timeline-event.color-info{background-color:#62c3ff;color:#009dfd}.w-timeline-event.color-error{background-color:#f55;color:#e50000}.w-timeline-event-icon-white{color:#fff}\n"] }]
|
|
26
|
-
}], ctorParameters: function () { return []; }, propDecorators: { events: [{
|
|
27
|
-
type: Input,
|
|
28
|
-
args: ['events']
|
|
29
|
-
}], header: [{
|
|
30
|
-
type: Input,
|
|
31
|
-
args: ['header']
|
|
32
|
-
}], panel: [{
|
|
33
|
-
type: Input,
|
|
34
|
-
args: ['panel']
|
|
35
|
-
}], align: [{
|
|
36
|
-
type: Input,
|
|
37
|
-
args: ['align']
|
|
38
|
-
}], reducedPanelMargin: [{
|
|
39
|
-
type: Input,
|
|
40
|
-
args: ['reducedPanelMargin']
|
|
41
|
-
}], reducedEventPanelMargin: [{
|
|
42
|
-
type: Input,
|
|
43
|
-
args: ['reducedEventPanelMargin']
|
|
44
|
-
}], buttonClick: [{
|
|
45
|
-
type: Output,
|
|
46
|
-
args: ['buttonClick']
|
|
47
|
-
}] } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidy10aW1lbGluZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93YXBwLWNvbXBvbmVudHMvc3JjL2xpYi9taXNjL3ctdGltZWxpbmUvdy10aW1lbGluZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93YXBwLWNvbXBvbmVudHMvc3JjL2xpYi9taXNjL3ctdGltZWxpbmUvdy10aW1lbGluZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7O0FBU3ZFLE1BQU0sT0FBTyxrQkFBa0I7SUFXN0I7UUFQZ0IsVUFBSyxHQUFZLEtBQUssQ0FBQztRQUN2QixVQUFLLEdBQVcsV0FBVyxDQUFDO1FBQ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QYW5lbE1hcmdpblwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC0xMlwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpbWcgKm5nSWY9XCJldmVudC5pbWFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtzcmNdPVwiZXZlbnQuaW1hZ2VcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBbYWx0XT1cImV2ZW50Lm5hbWVcIiB3aWR0aD1cIjIwMFwiIGNsYXNzPVwic2hhZG93LTJcIiAvPlxyXG4gICAgICAgICAgICAgICAgICAgIDxwPiB7e2V2ZW50LmNvbnRlbnR9fSA8L3A+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImZsZXggdy10aW1lbGluZS1idXR0b25cIiBbbmdDbGFzc109XCJ7J3ctdGltZWxpbmUtYnV0dG9uLWVuZCc6YWxpZ24gPT0gJ2xlZnQnLCAndy10aW1lbGluZS1idXR0b24tc3RhcnQnOmFsaWduID09ICdyaWdodCd9XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDx3LWJ1dHRvbiAqbmdJZj1cImV2ZW50LmJ1dHRvblwiIHR5cGU9XCJ0ZXh0XCIgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2xhYmVsXT1cImV2ZW50LmJ1dHRvbi5sYWJlbFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtpY29uXT1cImV2ZW50LmJ1dHRvbi5pY29uIVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG9uQ2xpY2spPVwib25CdXR0b25DbGljayhldmVudClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC93LWJ1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L3ctcGFuZWw+XHJcbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvcC10aW1lbGluZT5cclxuPC9uZy10ZW1wbGF0ZT4iXX0=
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { MessageService } from 'primeng/api';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "primeng/api";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "primeng/steps";
|
|
7
|
-
import * as i4 from "../../button/w-button/w-button.component";
|
|
8
|
-
import * as i5 from "../../layout/w-panel/w-panel.component";
|
|
9
|
-
export class WWizardComponent {
|
|
10
|
-
constructor(messageService) {
|
|
11
|
-
this.messageService = messageService;
|
|
12
|
-
this.activeIndex = 0;
|
|
13
|
-
this.nextBtnLabel = "Next";
|
|
14
|
-
this.previousBtnLabel = "Previous";
|
|
15
|
-
this.isReadOnly = true;
|
|
16
|
-
this.confirmButtonActivated = new EventEmitter();
|
|
17
|
-
this.secondaryConfirmButtonActivated = new EventEmitter();
|
|
18
|
-
this.activeIndexParent = new EventEmitter();
|
|
19
|
-
}
|
|
20
|
-
onActiveIndexChange(event) {
|
|
21
|
-
this.activeIndex = event;
|
|
22
|
-
}
|
|
23
|
-
nextPage() {
|
|
24
|
-
this.activeIndex++;
|
|
25
|
-
this.activeIndexParent.emit(this.activeIndex);
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
previousPage() {
|
|
29
|
-
this.activeIndex--;
|
|
30
|
-
this.activeIndexParent.emit(this.activeIndex);
|
|
31
|
-
}
|
|
32
|
-
confirm() {
|
|
33
|
-
this.confirmButtonActivated.emit(true);
|
|
34
|
-
}
|
|
35
|
-
secondaryConfirm() {
|
|
36
|
-
this.secondaryConfirmButtonActivated.emit(true);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
WWizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WWizardComponent, deps: [{ token: i1.MessageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
WWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WWizardComponent, selector: "w-wizard", inputs: { stepsItems: "stepsItems", stepsHeadings: "stepsHeadings", stepsSubheadings: "stepsSubheadings", nextBtnLabel: "nextBtnLabel", previousBtnLabel: "previousBtnLabel", confirmButtonLabel: "confirmButtonLabel", confirmButtonIcon: "confirmButtonIcon", secondaryConfirmButtonLabel: "secondaryConfirmButtonLabel", secondaryConfirmButtonIcon: "secondaryConfirmButtonIcon", isReadOnly: "isReadOnly", formGroup: "formGroup" }, outputs: { confirmButtonActivated: "confirmButtonActivated", secondaryConfirmButtonActivated: "secondaryConfirmButtonActivated", activeIndexParent: "activeIndexParent" }, providers: [MessageService], ngImport: i0, template: "<w-panel class=\"col-12\" [activeGrid]=\"false\">\r\n <p-steps [model]=\"stepsItems\" [activeIndex]=\"activeIndex\" (activeIndexChange)=\"onActiveIndexChange($event)\" [readonly]=\"isReadOnly\"></p-steps>\r\n</w-panel>\r\n\r\n<w-panel class=\"col-12\" [activeGrid]=\"false\">\r\n \r\n <div class=\"flex flex-column align-items-center sm:align-items-start w-wizard-headings\">\r\n <span *ngIf=\"stepsHeadings && stepsHeadings[activeIndex]\" class=\"w-wizard-heading\">\r\n {{stepsHeadings[activeIndex]}}\r\n </span>\r\n <span *ngIf=\"stepsSubheadings && stepsSubheadings[activeIndex]\" class=\"w-wizard-subheading\">\r\n {{stepsSubheadings[activeIndex]}}\r\n </span>\r\n </div>\r\n\r\n <ng-content *ngIf=\"activeIndex == 0\" select=\".step-1\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 1\" select=\".step-2\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 2\" select=\".step-3\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 3\" select=\".step-4\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 4\" select=\".step-5\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 5\" select=\".step-6\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 6\" select=\".step-7\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 7\" select=\".step-8\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 8\" select=\".step-9\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 9\" select=\".step-10\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 10\" select=\".step-11\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 11\" select=\".step-12\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 12\" select=\".step-13\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 13\" select=\".step-14\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 14\" select=\".step-15\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 15\" select=\".step-16\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 16\" select=\".step-17\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 17\" select=\".step-18\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 18\" select=\".step-19\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 19\" select=\".step-20\" class=\"w-wizard-body\"></ng-content>\r\n\r\n <div class=\"flex justify-content-between flex-wrap m-auto\">\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <w-button *ngIf=\"activeIndex != 0\" \r\n [icon]=\"'pi-arrow-left'\" \r\n type=\"secondary\" \r\n [label]=\"previousBtnLabel\" \r\n (onClick)=\"previousPage()\">\r\n </w-button>\r\n </div>\r\n <div *ngIf=\"!(stepsItems.length -1 == activeIndex); else confirmButtons\" class=\"flex align-items-center justify-content-center\">\r\n <w-button type=\"primary\"\r\n [icon]=\"'pi-arrow-right'\" \r\n [label]=\"nextBtnLabel\" \r\n (onClick)=\"nextPage()\">\r\n </w-button>\r\n </div>\r\n <ng-template #confirmButtons >\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <w-button *ngIf=\"secondaryConfirmButtonLabel\"\r\n type=\"secondary\"\r\n class=\"w-wizard-button-gap\"\r\n [icon]=\"'pi '+secondaryConfirmButtonIcon\"\r\n [label]=\"secondaryConfirmButtonLabel\" \r\n [disabled]=\"formGroup && !formGroup.valid\" \r\n (onClick)=\"secondaryConfirm()\">\r\n </w-button>\r\n <w-button type=\"primary\"\r\n [icon]=\"'pi '+confirmButtonIcon\"\r\n [label]=\"confirmButtonLabel\" \r\n [disabled]=\"formGroup && !formGroup.valid\" \r\n (onClick)=\"confirm()\">\r\n </w-button>\r\n </div>\r\n </ng-template>\r\n </div>\r\n</w-panel>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4,.w-wizard-heading{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-wizard-subheading,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,::ng-deep .p-steps .p-steps-item.p-highlight .p-steps-title,.w-wizard-body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-wizard-button-gap{margin-right:16px}.w-wizard-subheading{margin-top:16px}::ng-deep .p-steps .p-steps-item.p-highlight .p-steps-number{background:#e0f5fc;color:#003345}.w-wizard-headings{margin-bottom:16px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.Steps, selector: "p-steps", inputs: ["activeIndex", "model", "readonly", "style", "styleClass"], outputs: ["activeIndexChange"] }, { kind: "component", type: i4.WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "tooltipPosition", "tooltip", "disabled", "loading"], outputs: ["onClick"] }, { kind: "component", type: i5.WPanelComponent, selector: "w-panel", inputs: ["width", "title", "subtitle", "activeGrid", "reduced", "justifyContent", "activeOverflow", "heightOverflow", "maxHeightOverflow", "backgroundColor", "activeMenu", "menuOptions"] }] });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WWizardComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{ selector: 'w-wizard', providers: [MessageService], template: "<w-panel class=\"col-12\" [activeGrid]=\"false\">\r\n <p-steps [model]=\"stepsItems\" [activeIndex]=\"activeIndex\" (activeIndexChange)=\"onActiveIndexChange($event)\" [readonly]=\"isReadOnly\"></p-steps>\r\n</w-panel>\r\n\r\n<w-panel class=\"col-12\" [activeGrid]=\"false\">\r\n \r\n <div class=\"flex flex-column align-items-center sm:align-items-start w-wizard-headings\">\r\n <span *ngIf=\"stepsHeadings && stepsHeadings[activeIndex]\" class=\"w-wizard-heading\">\r\n {{stepsHeadings[activeIndex]}}\r\n </span>\r\n <span *ngIf=\"stepsSubheadings && stepsSubheadings[activeIndex]\" class=\"w-wizard-subheading\">\r\n {{stepsSubheadings[activeIndex]}}\r\n </span>\r\n </div>\r\n\r\n <ng-content *ngIf=\"activeIndex == 0\" select=\".step-1\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 1\" select=\".step-2\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 2\" select=\".step-3\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 3\" select=\".step-4\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 4\" select=\".step-5\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 5\" select=\".step-6\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 6\" select=\".step-7\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 7\" select=\".step-8\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 8\" select=\".step-9\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 9\" select=\".step-10\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 10\" select=\".step-11\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 11\" select=\".step-12\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 12\" select=\".step-13\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 13\" select=\".step-14\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 14\" select=\".step-15\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 15\" select=\".step-16\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 16\" select=\".step-17\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 17\" select=\".step-18\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 18\" select=\".step-19\" class=\"w-wizard-body\"></ng-content>\r\n <ng-content *ngIf=\"activeIndex == 19\" select=\".step-20\" class=\"w-wizard-body\"></ng-content>\r\n\r\n <div class=\"flex justify-content-between flex-wrap m-auto\">\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <w-button *ngIf=\"activeIndex != 0\" \r\n [icon]=\"'pi-arrow-left'\" \r\n type=\"secondary\" \r\n [label]=\"previousBtnLabel\" \r\n (onClick)=\"previousPage()\">\r\n </w-button>\r\n </div>\r\n <div *ngIf=\"!(stepsItems.length -1 == activeIndex); else confirmButtons\" class=\"flex align-items-center justify-content-center\">\r\n <w-button type=\"primary\"\r\n [icon]=\"'pi-arrow-right'\" \r\n [label]=\"nextBtnLabel\" \r\n (onClick)=\"nextPage()\">\r\n </w-button>\r\n </div>\r\n <ng-template #confirmButtons >\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <w-button *ngIf=\"secondaryConfirmButtonLabel\"\r\n type=\"secondary\"\r\n class=\"w-wizard-button-gap\"\r\n [icon]=\"'pi '+secondaryConfirmButtonIcon\"\r\n [label]=\"secondaryConfirmButtonLabel\" \r\n [disabled]=\"formGroup && !formGroup.valid\" \r\n (onClick)=\"secondaryConfirm()\">\r\n </w-button>\r\n <w-button type=\"primary\"\r\n [icon]=\"'pi '+confirmButtonIcon\"\r\n [label]=\"confirmButtonLabel\" \r\n [disabled]=\"formGroup && !formGroup.valid\" \r\n (onClick)=\"confirm()\">\r\n </w-button>\r\n </div>\r\n </ng-template>\r\n </div>\r\n</w-panel>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4,.w-wizard-heading{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-wizard-subheading,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,::ng-deep .p-steps .p-steps-item.p-highlight .p-steps-title,.w-wizard-body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-wizard-button-gap{margin-right:16px}.w-wizard-subheading{margin-top:16px}::ng-deep .p-steps .p-steps-item.p-highlight .p-steps-number{background:#e0f5fc;color:#003345}.w-wizard-headings{margin-bottom:16px}\n"] }]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i1.MessageService }]; }, propDecorators: { stepsItems: [{
|
|
45
|
-
type: Input,
|
|
46
|
-
args: ['stepsItems']
|
|
47
|
-
}], stepsHeadings: [{
|
|
48
|
-
type: Input,
|
|
49
|
-
args: ['stepsHeadings']
|
|
50
|
-
}], stepsSubheadings: [{
|
|
51
|
-
type: Input,
|
|
52
|
-
args: ['stepsSubheadings']
|
|
53
|
-
}], nextBtnLabel: [{
|
|
54
|
-
type: Input,
|
|
55
|
-
args: ['nextBtnLabel']
|
|
56
|
-
}], previousBtnLabel: [{
|
|
57
|
-
type: Input,
|
|
58
|
-
args: ['previousBtnLabel']
|
|
59
|
-
}], confirmButtonLabel: [{
|
|
60
|
-
type: Input,
|
|
61
|
-
args: ['confirmButtonLabel']
|
|
62
|
-
}], confirmButtonIcon: [{
|
|
63
|
-
type: Input,
|
|
64
|
-
args: ['confirmButtonIcon']
|
|
65
|
-
}], secondaryConfirmButtonLabel: [{
|
|
66
|
-
type: Input,
|
|
67
|
-
args: ['secondaryConfirmButtonLabel']
|
|
68
|
-
}], secondaryConfirmButtonIcon: [{
|
|
69
|
-
type: Input,
|
|
70
|
-
args: ['secondaryConfirmButtonIcon']
|
|
71
|
-
}], isReadOnly: [{
|
|
72
|
-
type: Input,
|
|
73
|
-
args: ['isReadOnly']
|
|
74
|
-
}], formGroup: [{
|
|
75
|
-
type: Input,
|
|
76
|
-
args: ['formGroup']
|
|
77
|
-
}], confirmButtonActivated: [{
|
|
78
|
-
type: Output,
|
|
79
|
-
args: ['confirmButtonActivated']
|
|
80
|
-
}], secondaryConfirmButtonActivated: [{
|
|
81
|
-
type: Output,
|
|
82
|
-
args: ['secondaryConfirmButtonActivated']
|
|
83
|
-
}], activeIndexParent: [{
|
|
84
|
-
type: Output,
|
|
85
|
-
args: ['activeIndexParent']
|
|
86
|
-
}] } });
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidy13aXphcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2FwcC1jb21wb25lbnRzL3NyYy9saWIvbWlzYy93LXdpemFyZC93LXdpemFyZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93YXBwLWNvbXBvbmVudHMvc3JjL2xpYi9taXNjL3ctd2l6YXJkL3ctd2l6YXJkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFF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3RpZnktY29udGVudC1jZW50ZXJcIj5cclxuICAgICAgICAgICAgPHctYnV0dG9uICpuZ0lmPVwiYWN0aXZlSW5kZXggIT0gMFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgW2ljb25dPVwiJ3BpLWFycm93LWxlZnQnXCIgXHJcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlPVwic2Vjb25kYXJ5XCIgXHJcbiAgICAgICAgICAgICAgICAgICAgICBbbGFiZWxdPVwicHJldmlvdXNCdG5MYWJlbFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgKG9uQ2xpY2spPVwicHJldmlvdXNQYWdlKClcIj5cclxuICAgICAgICAgICAgPC93LWJ1dHRvbj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8ZGl2ICpuZ0lmPVwiIShzdGVwc0l0ZW1zLmxlbmd0aCAtMSA9PSBhY3RpdmVJbmRleCk7IGVsc2UgY29uZmlybUJ1dHRvbnNcIiBjbGFzcz1cImZsZXggYWxpZ24taXRlbXMtY2VudGVyIGp1c3RpZnktY29udGVudC1jZW50ZXJcIj5cclxuICAgICAgICAgICAgPHctYnV0dG9uIHR5cGU9XCJwcmltYXJ5XCJcclxuICAgICAgICAgICAgICAgICAgICAgIFtpY29uXT1cIidwaS1hcnJvdy1yaWdodCdcIiBcclxuICAgICAgICAgICAgICAgICAgICAgIFtsYWJlbF09XCJuZXh0QnRuTGFiZWxcIiBcclxuICAgICAgICAgICAgICAgICAgICAgIChvbkNsaWNrKT1cIm5leHRQYWdlKClcIj5cclxuICAgICAgICAgICAgPC93LWJ1dHRvbj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8bmctdGVtcGxhdGUgI2NvbmZpcm1CdXR0b25zID5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImZsZXggYWxpZ24taXRlbXMtY2VudGVyIGp1c3RpZnktY29udGVudC1jZW50ZXJcIj5cclxuICAgICAgICAgICAgICAgIDx3LWJ1dHRvbiAqbmdJZj1cInNlY29uZGFyeUNvbmZpcm1CdXR0b25MYWJlbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cInNlY29uZGFyeVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJ3LXdpemFyZC1idXR0b24tZ2FwXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICBbaWNvbl09XCIncGkgJytzZWNvbmRhcnlDb25maXJtQnV0dG9uSWNvblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW2xhYmVsXT1cInNlY29uZGFyeUNvbmZpcm1CdXR0b25MYWJlbFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCJmb3JtR3JvdXAgJiYgIWZvcm1Hcm91cC52YWxpZFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIChvbkNsaWNrKT1cInNlY29uZGFyeUNvbmZpcm0oKVwiPlxyXG4gICAgICAgICAgICAgICAgPC93LWJ1dHRvbj5cclxuICAgICAgICAgICAgICAgIDx3LWJ1dHRvbiB0eXBlPVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFtpY29uXT1cIidwaSAnK2NvbmZpcm1CdXR0b25JY29uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW2xhYmVsXT1cImNvbmZpcm1CdXR0b25MYWJlbFwiIFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiZm9ybUdyb3VwICYmICFmb3JtR3JvdXAudmFsaWRcIiBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgKG9uQ2xpY2spPVwiY29uZmlybSgpXCI+XHJcbiAgICAgICAgICAgICAgICA8L3ctYnV0dG9uPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgPC9kaXY+XHJcbjwvdy1wYW5lbD5cclxuIl19
|