ngx-wapp-components 1.0.51 → 1.0.53
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/esm2020/lib/button/w-button/w-button.component.mjs +67 -0
- package/esm2020/lib/button/w-buttons-footer/w-buttons-footer.component.mjs +11 -0
- package/esm2020/lib/button/w-select-button/w-select-button.component.mjs +84 -0
- package/esm2020/lib/button/w-toggle-button/w-toggle-button.component.mjs +102 -0
- package/esm2020/lib/edit/w-edit-calendar/w-edit-calendar.component.mjs +104 -0
- package/esm2020/lib/edit/w-edit-checkbox/w-edit-checkbox.component.mjs +89 -0
- package/esm2020/lib/edit/w-edit-input-number/w-edit-input-number.component.mjs +130 -0
- package/esm2020/lib/edit/w-edit-input-text/w-edit-input-text.component.mjs +125 -0
- package/esm2020/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.mjs +108 -0
- package/esm2020/lib/edit/w-edit-multiselect/w-edit-multiselect.component.mjs +110 -0
- package/esm2020/lib/edit/w-edit-select/w-edit-select.component.mjs +115 -0
- package/esm2020/lib/edit/w-edit-toggle/w-edit-toggle.component.mjs +93 -0
- package/esm2020/lib/edit/w-edit-treeselect/w-edit-treeselect.component.mjs +107 -0
- package/esm2020/lib/file/w-image-cropper/w-image-cropper.component.mjs +236 -0
- package/esm2020/lib/file/w-image-file-uploader/w-image-file-uploader.component.mjs +409 -0
- package/esm2020/lib/file/w-preview-image/w-preview-image.component.mjs +20 -0
- package/esm2020/lib/icons/icons.mjs +115 -0
- package/esm2020/lib/icons/wapping-icons/w-icons.component.mjs +57 -0
- package/esm2020/lib/layout/w-body/w-body.component.mjs +18 -0
- package/esm2020/lib/layout/w-body-container/w-body-container.component.mjs +11 -0
- package/esm2020/lib/layout/w-body-grid/w-body-grid.component.mjs +11 -0
- package/esm2020/lib/layout/w-container/w-container.component.mjs +19 -0
- package/esm2020/lib/layout/w-footer/w-footer.component.mjs +27 -0
- package/esm2020/lib/layout/w-header-panel/w-header-panel.component.mjs +36 -0
- package/esm2020/lib/layout/w-navbar/w-navbar.component.mjs +44 -0
- package/esm2020/lib/layout/w-panel/w-panel.component.mjs +43 -0
- package/esm2020/lib/layout/w-panel-grid/w-panel-grid.component.mjs +11 -0
- package/esm2020/lib/layout/w-panel-title/w-panel-title.component.mjs +14 -0
- package/esm2020/lib/logos/logos.mjs +8 -0
- package/esm2020/lib/logos/wapping-logos/w-logos.component.mjs +53 -0
- package/esm2020/lib/maps/w-maps/w-maps.component.mjs +159 -0
- package/esm2020/lib/misc/w-filter-panel/w-filter-panel.component.mjs +378 -0
- package/esm2020/lib/misc/w-filter-panel/w-list-field/w-list-field.component.mjs +82 -0
- package/esm2020/lib/report/w-powerbi-report/w-powerbi-report.component.mjs +203 -0
- package/esm2020/lib/search/w-autocomplete-search/w-autocomplete-search.component.mjs +106 -0
- package/esm2020/lib/search/w-input-search/w-input-search.component.mjs +109 -0
- package/esm2020/lib/shared/enums/enum.mjs +14 -0
- package/esm2020/lib/shared/models/custom-button-config.model.mjs +2 -0
- package/esm2020/lib/shared/models/embed-config.model.mjs +2 -0
- package/esm2020/lib/shared/models/enums.model.mjs +64 -0
- package/esm2020/lib/shared/models/filter-panel/field.model.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/filter-field.models.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/filter-panel-translations.model.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/qb-filter-entity.model.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/qb-operators.model.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/qb-panel-filter.model.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/qb-panel-to-fields.model.mjs +2 -0
- package/esm2020/lib/shared/models/filter-panel/query-results.model.mjs +8 -0
- package/esm2020/lib/shared/models/filter.model.mjs +2 -0
- package/esm2020/lib/shared/models/image-b64.model.mjs +2 -0
- package/esm2020/lib/shared/models/lazy-element-query-request.model.mjs +2 -0
- package/esm2020/lib/shared/models/w-file-b64.model.mjs +2 -0
- package/esm2020/lib/shared/models/w-image-cropper-data.model.mjs +2 -0
- package/esm2020/lib/shared/models/w-image-file-uploader-config.model.mjs +2 -0
- package/esm2020/lib/shared/models/w-select-button-state.model.mjs +2 -0
- package/esm2020/lib/shared/models/w-tree-table.model.mjs +2 -0
- package/esm2020/lib/shared/models/wapp-table-lazy-loading.model.mjs +2 -0
- package/esm2020/lib/shared/models/wapp-table.model.mjs +2 -0
- package/esm2020/lib/shared/pipes/color-text.pipe.mjs +25 -0
- package/esm2020/lib/shared/service/api/api.service.mjs +52 -0
- package/esm2020/lib/shared/services/form-control.service.mjs +18 -0
- package/esm2020/lib/shared/services/modal.service.mjs +62 -0
- package/esm2020/lib/shared/services/tree.service.mjs +30 -0
- package/esm2020/lib/sidebar/w-sidebar/w-sidebar.component.mjs +50 -0
- package/esm2020/lib/tables/w-table/w-table.component.mjs +197 -0
- package/esm2020/lib/tables/w-table-lazy/w-table-lazy.component.mjs +237 -0
- package/esm2020/lib/tables/w-tree-table/w-tree-table.component.mjs +136 -0
- package/esm2020/lib/tabview/w-tabview/w-tabview.component.mjs +27 -0
- package/esm2020/lib/view/w-view-card-title-text/w-view-card-title-text.component.mjs +17 -0
- package/esm2020/lib/w-clipboard/w-clipboard.component.mjs +39 -0
- package/esm2020/lib/wapp-components.component.mjs +19 -0
- package/esm2020/lib/wapp-components.module.mjs +435 -0
- package/esm2020/lib/wapp-components.service.mjs +14 -0
- package/esm2020/ngx-wapp-components.mjs +5 -0
- package/esm2020/public-api.mjs +64 -0
- package/fesm2015/ngx-wapp-components.mjs +4529 -0
- package/fesm2015/ngx-wapp-components.mjs.map +1 -0
- package/fesm2020/ngx-wapp-components.mjs +4563 -0
- package/fesm2020/ngx-wapp-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/button/w-button/w-button.component.d.ts +23 -0
- package/lib/button/w-buttons-footer/w-buttons-footer.component.d.ts +5 -0
- package/lib/button/w-select-button/w-select-button.component.d.ts +27 -0
- package/lib/button/w-toggle-button/w-toggle-button.component.d.ts +32 -0
- package/lib/edit/w-edit-calendar/w-edit-calendar.component.d.ts +34 -0
- package/lib/edit/w-edit-checkbox/w-edit-checkbox.component.d.ts +27 -0
- package/lib/edit/w-edit-input-number/w-edit-input-number.component.d.ts +37 -0
- package/lib/edit/w-edit-input-text/w-edit-input-text.component.d.ts +36 -0
- package/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.d.ts +32 -0
- package/lib/edit/w-edit-multiselect/w-edit-multiselect.component.d.ts +35 -0
- package/lib/edit/w-edit-select/w-edit-select.component.d.ts +35 -0
- package/lib/edit/w-edit-toggle/w-edit-toggle.component.d.ts +28 -0
- package/lib/edit/w-edit-treeselect/w-edit-treeselect.component.d.ts +34 -0
- package/lib/file/w-image-cropper/w-image-cropper.component.d.ts +69 -0
- package/lib/file/w-image-file-uploader/w-image-file-uploader.component.d.ts +70 -0
- package/lib/file/w-preview-image/w-preview-image.component.d.ts +10 -0
- package/lib/icons/icons.d.ts +1 -0
- package/lib/icons/wapping-icons/w-icons.component.d.ts +15 -0
- package/lib/layout/w-body/w-body.component.d.ts +6 -0
- package/lib/layout/w-body-container/w-body-container.component.d.ts +5 -0
- package/lib/layout/w-body-grid/w-body-grid.component.d.ts +5 -0
- package/lib/layout/w-container/w-container.component.d.ts +5 -0
- package/lib/layout/w-footer/w-footer.component.d.ts +10 -0
- package/lib/layout/w-header-panel/w-header-panel.component.d.ts +15 -0
- package/lib/layout/w-navbar/w-navbar.component.d.ts +16 -0
- package/lib/layout/w-panel/w-panel.component.d.ts +11 -0
- package/lib/layout/w-panel-grid/w-panel-grid.component.d.ts +5 -0
- package/lib/layout/w-panel-title/w-panel-title.component.d.ts +6 -0
- package/lib/logos/logos.d.ts +1 -0
- package/lib/logos/wapping-logos/w-logos.component.d.ts +15 -0
- package/lib/maps/w-maps/w-maps.component.d.ts +34 -0
- package/lib/misc/w-filter-panel/w-filter-panel.component.d.ts +63 -0
- package/lib/misc/w-filter-panel/w-list-field/w-list-field.component.d.ts +25 -0
- package/lib/report/w-powerbi-report/w-powerbi-report.component.d.ts +42 -0
- package/lib/search/w-autocomplete-search/w-autocomplete-search.component.d.ts +29 -0
- package/lib/search/w-input-search/w-input-search.component.d.ts +33 -0
- package/lib/shared/enums/enum.d.ts +11 -0
- package/lib/shared/models/custom-button-config.model.d.ts +4 -0
- package/{src/lib/shared/models/embed-config.model.ts → lib/shared/models/embed-config.model.d.ts} +2 -2
- package/{src/lib/shared/models/enums.model.ts → lib/shared/models/enums.model.d.ts} +18 -22
- package/{src/lib/shared/models/filter-panel/field.model.ts → lib/shared/models/filter-panel/field.model.d.ts} +2 -20
- package/lib/shared/models/filter-panel/filter-field.models.d.ts +17 -0
- package/lib/shared/models/filter-panel/filter-panel-translations.model.d.ts +28 -0
- package/lib/shared/models/filter-panel/qb-filter-entity.model.d.ts +7 -0
- package/lib/shared/models/filter-panel/qb-operators.model.d.ts +4 -0
- package/lib/shared/models/filter-panel/qb-panel-filter.model.d.ts +13 -0
- package/lib/shared/models/filter-panel/qb-panel-to-fields.model.d.ts +11 -0
- package/lib/shared/models/filter-panel/query-results.model.d.ts +15 -0
- package/lib/shared/models/filter.model.d.ts +5 -0
- package/lib/shared/models/image-b64.model.d.ts +5 -0
- package/lib/shared/models/lazy-element-query-request.model.d.ts +8 -0
- package/lib/shared/models/w-file-b64.model.d.ts +6 -0
- package/lib/shared/models/w-image-cropper-data.model.d.ts +7 -0
- package/lib/shared/models/w-image-file-uploader-config.model.d.ts +23 -0
- package/lib/shared/models/w-select-button-state.model.d.ts +4 -0
- package/lib/shared/models/w-tree-table.model.d.ts +27 -0
- package/lib/shared/models/wapp-table-lazy-loading.model.d.ts +51 -0
- package/lib/shared/models/wapp-table.model.d.ts +54 -0
- package/lib/shared/pipes/color-text.pipe.d.ts +7 -0
- package/lib/shared/service/api/api.service.d.ts +12 -0
- package/lib/shared/services/form-control.service.d.ts +8 -0
- package/lib/shared/services/modal.service.d.ts +22 -0
- package/lib/shared/services/tree.service.d.ts +8 -0
- package/lib/sidebar/w-sidebar/w-sidebar.component.d.ts +17 -0
- package/lib/tables/w-table/w-table.component.d.ts +58 -0
- package/lib/tables/w-table-lazy/w-table-lazy.component.d.ts +58 -0
- package/lib/tables/w-tree-table/w-tree-table.component.d.ts +41 -0
- package/lib/tabview/w-tabview/w-tabview.component.d.ts +8 -0
- package/lib/view/w-view-card-title-text/w-view-card-title-text.component.d.ts +9 -0
- package/lib/w-clipboard/w-clipboard.component.d.ts +12 -0
- package/lib/wapp-components.component.d.ts +5 -0
- package/lib/wapp-components.module.d.ts +89 -0
- package/lib/wapp-components.service.d.ts +6 -0
- package/package.json +51 -42
- package/{src/public-api.ts → public-api.d.ts} +2 -13
- package/ng-package.json +0 -7
- package/src/lib/button/w-button/w-button.component.html +0 -85
- package/src/lib/button/w-button/w-button.component.scss +0 -218
- package/src/lib/button/w-button/w-button.component.spec.ts +0 -23
- package/src/lib/button/w-button/w-button.component.ts +0 -40
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.html +0 -3
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.scss +0 -11
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.spec.ts +0 -23
- package/src/lib/button/w-buttons-footer/w-buttons-footer.component.ts +0 -10
- package/src/lib/button/w-select-button/w-select-button.component.html +0 -29
- package/src/lib/button/w-select-button/w-select-button.component.scss +0 -65
- package/src/lib/button/w-select-button/w-select-button.component.spec.ts +0 -23
- package/src/lib/button/w-select-button/w-select-button.component.ts +0 -65
- package/src/lib/button/w-toggle-button/w-toggle-button.component.html +0 -33
- package/src/lib/button/w-toggle-button/w-toggle-button.component.scss +0 -112
- package/src/lib/button/w-toggle-button/w-toggle-button.component.spec.ts +0 -23
- package/src/lib/button/w-toggle-button/w-toggle-button.component.ts +0 -75
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.html +0 -37
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.scss +0 -59
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-calendar/w-edit-calendar.component.ts +0 -75
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.html +0 -55
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.scss +0 -72
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-checkbox/w-edit-checkbox.component.ts +0 -70
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.html +0 -60
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.scss +0 -260
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-input-number/w-edit-input-number.component.ts +0 -85
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.html +0 -59
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.scss +0 -247
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-input-text/w-edit-input-text.component.ts +0 -90
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.html +0 -92
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.scss +0 -234
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.ts +0 -71
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.html +0 -59
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.scss +0 -227
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-multiselect/w-edit-multiselect.component.ts +0 -81
- package/src/lib/edit/w-edit-select/w-edit-select.component.html +0 -56
- package/src/lib/edit/w-edit-select/w-edit-select.component.scss +0 -166
- package/src/lib/edit/w-edit-select/w-edit-select.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-select/w-edit-select.component.ts +0 -83
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.html +0 -55
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.scss +0 -55
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-toggle/w-edit-toggle.component.ts +0 -71
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.html +0 -58
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.scss +0 -176
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.spec.ts +0 -23
- package/src/lib/edit/w-edit-treeselect/w-edit-treeselect.component.ts +0 -80
- package/src/lib/file/w-image-cropper/w-image-cropper.component.html +0 -150
- package/src/lib/file/w-image-cropper/w-image-cropper.component.scss +0 -59
- package/src/lib/file/w-image-cropper/w-image-cropper.component.spec.ts +0 -23
- package/src/lib/file/w-image-cropper/w-image-cropper.component.ts +0 -259
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.html +0 -100
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.scss +0 -77
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.spec.ts +0 -23
- package/src/lib/file/w-image-file-uploader/w-image-file-uploader.component.ts +0 -388
- 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 +0 -5
- package/src/lib/file/w-preview-image/w-preview-image.component.spec.ts +0 -23
- package/src/lib/file/w-preview-image/w-preview-image.component.ts +0 -17
- package/src/lib/icons/icons.ts +0 -116
- package/src/lib/icons/wapping-icons/w-icons.component.ts +0 -52
- package/src/lib/layout/w-body/w-body.component.html +0 -3
- package/src/lib/layout/w-body/w-body.component.scss +0 -13
- package/src/lib/layout/w-body/w-body.component.spec.ts +0 -23
- package/src/lib/layout/w-body/w-body.component.ts +0 -10
- package/src/lib/layout/w-body-container/w-body-container.component.html +0 -3
- package/src/lib/layout/w-body-container/w-body-container.component.scss +0 -58
- package/src/lib/layout/w-body-container/w-body-container.component.spec.ts +0 -23
- package/src/lib/layout/w-body-container/w-body-container.component.ts +0 -10
- package/src/lib/layout/w-body-grid/w-body-grid.component.html +0 -3
- package/src/lib/layout/w-body-grid/w-body-grid.component.scss +0 -59
- package/src/lib/layout/w-body-grid/w-body-grid.component.spec.ts +0 -23
- package/src/lib/layout/w-body-grid/w-body-grid.component.ts +0 -10
- package/src/lib/layout/w-container/w-container.component.scss +0 -9
- package/src/lib/layout/w-container/w-container.component.ts +0 -14
- package/src/lib/layout/w-footer/w-footer.component.html +0 -11
- package/src/lib/layout/w-footer/w-footer.component.scss +0 -17
- package/src/lib/layout/w-footer/w-footer.component.spec.ts +0 -23
- package/src/lib/layout/w-footer/w-footer.component.ts +0 -19
- package/src/lib/layout/w-header-panel/w-header-panel.component.html +0 -9
- package/src/lib/layout/w-header-panel/w-header-panel.component.scss +0 -29
- package/src/lib/layout/w-header-panel/w-header-panel.component.spec.ts +0 -23
- package/src/lib/layout/w-header-panel/w-header-panel.component.ts +0 -27
- package/src/lib/layout/w-navbar/w-navbar.component.html +0 -26
- package/src/lib/layout/w-navbar/w-navbar.component.scss +0 -26
- package/src/lib/layout/w-navbar/w-navbar.component.spec.ts +0 -23
- package/src/lib/layout/w-navbar/w-navbar.component.ts +0 -48
- package/src/lib/layout/w-panel/w-panel.component.html +0 -6
- package/src/lib/layout/w-panel/w-panel.component.scss +0 -72
- package/src/lib/layout/w-panel/w-panel.component.spec.ts +0 -23
- package/src/lib/layout/w-panel/w-panel.component.ts +0 -13
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.html +0 -3
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.scss +0 -58
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.spec.ts +0 -23
- package/src/lib/layout/w-panel-grid/w-panel-grid.component.ts +0 -10
- package/src/lib/layout/w-panel-title/w-panel-title.component.html +0 -1
- package/src/lib/layout/w-panel-title/w-panel-title.component.scss +0 -6
- package/src/lib/layout/w-panel-title/w-panel-title.component.spec.ts +0 -23
- package/src/lib/layout/w-panel-title/w-panel-title.component.ts +0 -10
- package/src/lib/logos/logos.ts +0 -7
- package/src/lib/logos/wapping-logos/w-logos.component.ts +0 -47
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.html +0 -303
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.scss +0 -391
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.spec.ts +0 -23
- package/src/lib/misc/w-filter-panel/w-filter-panel.component.ts +0 -388
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.html +0 -21
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.scss +0 -65
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.spec.ts +0 -23
- package/src/lib/misc/w-filter-panel/w-list-field/w-list-field.component.ts +0 -73
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.css +0 -24
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.html +0 -52
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.spec.ts +0 -23
- package/src/lib/report/w-powerbi-report/w-powerbi-report.component.ts +0 -170
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.html +0 -92
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.scss +0 -142
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.spec.ts +0 -23
- package/src/lib/search/w-autocomplete-search/w-autocomplete-search.component.ts +0 -94
- package/src/lib/search/w-input-search/w-input-search.component.html +0 -130
- package/src/lib/search/w-input-search/w-input-search.component.scss +0 -158
- package/src/lib/search/w-input-search/w-input-search.component.spec.ts +0 -23
- package/src/lib/search/w-input-search/w-input-search.component.ts +0 -85
- package/src/lib/shared/enums/enum.ts +0 -12
- package/src/lib/shared/models/back-button-config.model.ts +0 -5
- package/src/lib/shared/models/custom-button-config.model.ts +0 -4
- package/src/lib/shared/models/filter-panel/filter-field.models.ts +0 -15
- package/src/lib/shared/models/filter-panel/filter-panel-translations.model.ts +0 -29
- package/src/lib/shared/models/filter-panel/qb-filter-entity.model.ts +0 -8
- package/src/lib/shared/models/filter-panel/qb-filter-field.model.ts +0 -12
- package/src/lib/shared/models/filter-panel/qb-operators.model.ts +0 -4
- package/src/lib/shared/models/filter-panel/qb-panel-filter.model.ts +0 -14
- package/src/lib/shared/models/filter-panel/qb-panel-to-fields.model.ts +0 -12
- package/src/lib/shared/models/filter-panel/query-results.model.ts +0 -17
- package/src/lib/shared/models/filter.model.ts +0 -5
- package/src/lib/shared/models/image-b64.model.ts +0 -5
- package/src/lib/shared/models/lazy-element-query-request.model.ts +0 -9
- package/src/lib/shared/models/w-file-b64.model.ts +0 -6
- package/src/lib/shared/models/w-image-cropper-data.model.ts +0 -7
- package/src/lib/shared/models/w-image-file-uploader-config.model.ts +0 -23
- package/src/lib/shared/models/w-select-button-state.model.ts +0 -4
- package/src/lib/shared/models/w-tree-table.model.ts +0 -30
- package/src/lib/shared/models/wapp-table-lazy-loading.model.ts +0 -53
- package/src/lib/shared/models/wapp-table.model.ts +0 -56
- package/src/lib/shared/pipes/color-text.pipe.ts +0 -20
- package/src/lib/shared/service/api/api.service.ts +0 -58
- package/src/lib/shared/services/form-control.service.spec.ts +0 -16
- package/src/lib/shared/services/form-control.service.ts +0 -15
- package/src/lib/shared/services/modal.service.spec.ts +0 -16
- package/src/lib/shared/services/modal.service.ts +0 -71
- package/src/lib/shared/services/tree.service.ts +0 -30
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.html +0 -11
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.scss +0 -69
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.spec.ts +0 -23
- package/src/lib/sidebar/w-sidebar/w-sidebar.component.ts +0 -36
- package/src/lib/tables/w-table/w-table.component.html +0 -230
- package/src/lib/tables/w-table/w-table.component.scss +0 -225
- package/src/lib/tables/w-table/w-table.component.spec.ts +0 -23
- package/src/lib/tables/w-table/w-table.component.ts +0 -188
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.html +0 -198
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.scss +0 -226
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.spec.ts +0 -23
- package/src/lib/tables/w-table-lazy/w-table-lazy.component.ts +0 -217
- package/src/lib/tables/w-tree-table/w-tree-table.component.html +0 -170
- package/src/lib/tables/w-tree-table/w-tree-table.component.scss +0 -221
- package/src/lib/tables/w-tree-table/w-tree-table.component.spec.ts +0 -23
- package/src/lib/tables/w-tree-table/w-tree-table.component.ts +0 -125
- package/src/lib/tabview/w-tabview/w-tabview.component.html +0 -72
- package/src/lib/tabview/w-tabview/w-tabview.component.scss +0 -34
- package/src/lib/tabview/w-tabview/w-tabview.component.spec.ts +0 -23
- package/src/lib/tabview/w-tabview/w-tabview.component.ts +0 -14
- package/src/lib/theme/theme.component.css +0 -0
- package/src/lib/theme/theme.component.html +0 -1
- package/src/lib/theme/theme.component.spec.ts +0 -23
- package/src/lib/theme/theme.component.ts +0 -10
- package/src/lib/view/wapp-view-card-title-text/wapp-view-card-title-text.component.css +0 -0
- package/src/lib/view/wapp-view-card-title-text/wapp-view-card-title-text.component.html +0 -1
- package/src/lib/view/wapp-view-card-title-text/wapp-view-card-title-text.component.spec.ts +0 -23
- package/src/lib/view/wapp-view-card-title-text/wapp-view-card-title-text.component.ts +0 -16
- package/src/lib/w-clipboard/w-clipboard.component.css +0 -13
- package/src/lib/w-clipboard/w-clipboard.component.html +0 -10
- package/src/lib/w-clipboard/w-clipboard.component.spec.ts +0 -23
- package/src/lib/w-clipboard/w-clipboard.component.ts +0 -32
- package/src/lib/wapp-components.component.spec.ts +0 -23
- package/src/lib/wapp-components.component.ts +0 -15
- package/src/lib/wapp-components.module.ts +0 -241
- package/src/lib/wapp-components.service.spec.ts +0 -16
- package/src/lib/wapp-components.service.ts +0 -9
- package/src/styles/_variables.scss +0 -427
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { ButtonType, SizeType } from '../../shared/enums/enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "primeng/button";
|
|
6
|
+
import * as i3 from "primeng/tooltip";
|
|
7
|
+
export class WButtonComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.type = "primary";
|
|
10
|
+
this.size = "medium";
|
|
11
|
+
this.icon = "";
|
|
12
|
+
this.tooltipPosition = "bottom";
|
|
13
|
+
this.tooltip = "";
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
this.loading = false;
|
|
16
|
+
this.onClick = new EventEmitter();
|
|
17
|
+
this.sizeType = SizeType;
|
|
18
|
+
this.buttonType = ButtonType;
|
|
19
|
+
}
|
|
20
|
+
ngOnInit() { }
|
|
21
|
+
onButtonClick(event) {
|
|
22
|
+
this.onClick.emit(event);
|
|
23
|
+
}
|
|
24
|
+
getIcon() {
|
|
25
|
+
return this.icon ? "pi " + this.icon : "";
|
|
26
|
+
}
|
|
27
|
+
getSizeName(value) {
|
|
28
|
+
return SizeType[value];
|
|
29
|
+
}
|
|
30
|
+
getButtonTypeName(value) {
|
|
31
|
+
return ButtonType[value];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
WButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
WButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WButtonComponent, selector: "w-button", inputs: { type: "type", label: "label", size: "size", icon: "icon", tooltipPosition: "tooltipPosition", tooltip: "tooltip", disabled: "disabled", loading: "loading" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ng-container *ngIf=\"type == getButtonTypeName(buttonType.primary); else buttonSecondary\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-small border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-medium border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-large border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n</ng-container>\r\n<ng-template #buttonSecondary>\r\n <ng-container *ngIf=\"type == getButtonTypeName(buttonType.secondary) || type == getButtonTypeName(buttonType.tertiary); else buttonText\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-small-tertiary' : 'w-button-small p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-medium-tertiary' : 'w-button-medium p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-large-tertiary' : 'w-button-large p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-container>\r\n <ng-template #buttonText>\r\n <p-button \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"p-button-text w-button-text-small\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{font-size:16px}.icon-large-size,:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{font-size:24px}.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,:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus,:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus,:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label{font-size:16px;line-height:16px;font-weight:700}.button-small-typography,:host ::ng-deep .w-button-small.p-button .p-button-label,:host ::ng-deep .p-button.w-button-text-small .p-button-label,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-label{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}:host ::ng-deep .w-button-small.p-button,:host ::ng-deep .p-button.w-button-text-small,:host ::ng-deep .p-button.w-button-small-tertiary{height:32px;padding:6px 14px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-small.p-button :hover,:host ::ng-deep .p-button.w-button-text-small :hover,:host ::ng-deep .p-button.w-button-small-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{margin-left:8px}:host ::ng-deep .w-button-small.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{outline:2px solid #d6f2ff;background-color:#1f5b72}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:12px 20px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin-left:12px}:host ::ng-deep .w-button-medium.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus{outline:2px solid #d6f2ff;background-color:#1f5b72}:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:16px 28px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin-left:16px}:host ::ng-deep .w-button-large.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus{outline:2px solid #d6f2ff;background-color:#1f5b72}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover,:host ::ng-deep .w-button-large.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:enabled:hover{border-radius:8px;border-width:2px;background-color:transparent;border-color:#00b2eb;color:#00b2eb}:host ::ng-deep .w-button-small.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:focus,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:focus,:host ::ng-deep .w-button-large.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:focus{border-color:#1f5b72;color:#1f5b72;background-color:transparent;outline:0px}:host ::ng-deep .w-button-small.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-medium.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-large.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-large-tertiary{background-color:transparent;color:#bdc1c6;border-color:#e8eaed}:host ::ng-deep .w-button-medium.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-small.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-large.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-large-tertiary{background:#e8eaed;color:#bdc1c6}:host ::ng-deep .w-button-small-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-small-tertiary .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-large-tertiary .p-button-icon{padding-left:0;margin-left:0}:host ::ng-deep .w-button-text-small.p-button{color:#2e3134;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#00b2eb;background:none;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:focus{background:none;border:none}:host ::ng-deep .w-button-small.p-button.p-button-text.p-disabled,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-small-tertiary,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-text-small{background:none;border:none;color:#bdc1c6}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WButtonComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'w-button', template: "<ng-container *ngIf=\"type == getButtonTypeName(buttonType.primary); else buttonSecondary\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-small border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-medium border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-large border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n</ng-container>\r\n<ng-template #buttonSecondary>\r\n <ng-container *ngIf=\"type == getButtonTypeName(buttonType.secondary) || type == getButtonTypeName(buttonType.tertiary); else buttonText\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-small-tertiary' : 'w-button-small p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-medium-tertiary' : 'w-button-medium p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-large-tertiary' : 'w-button-large p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-container>\r\n <ng-template #buttonText>\r\n <p-button \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"p-button-text w-button-text-small\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\" \r\n [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{font-size:16px}.icon-large-size,:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{font-size:24px}.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,:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus,:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus,:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label{font-size:16px;line-height:16px;font-weight:700}.button-small-typography,:host ::ng-deep .w-button-small.p-button .p-button-label,:host ::ng-deep .p-button.w-button-text-small .p-button-label,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-label{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}:host ::ng-deep .w-button-small.p-button,:host ::ng-deep .p-button.w-button-text-small,:host ::ng-deep .p-button.w-button-small-tertiary{height:32px;padding:6px 14px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-small.p-button :hover,:host ::ng-deep .p-button.w-button-text-small :hover,:host ::ng-deep .p-button.w-button-small-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{margin-left:8px}:host ::ng-deep .w-button-small.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{outline:2px solid #d6f2ff;background-color:#1f5b72}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:12px 20px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin-left:12px}:host ::ng-deep .w-button-medium.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus{outline:2px solid #d6f2ff;background-color:#1f5b72}:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:16px 28px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin-left:16px}:host ::ng-deep .w-button-large.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus{outline:2px solid #d6f2ff;background-color:#1f5b72}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover,:host ::ng-deep .w-button-large.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:enabled:hover{border-radius:8px;border-width:2px;background-color:transparent;border-color:#00b2eb;color:#00b2eb}:host ::ng-deep .w-button-small.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:focus,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:focus,:host ::ng-deep .w-button-large.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:focus{border-color:#1f5b72;color:#1f5b72;background-color:transparent;outline:0px}:host ::ng-deep .w-button-small.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-medium.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-large.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-large-tertiary{background-color:transparent;color:#bdc1c6;border-color:#e8eaed}:host ::ng-deep .w-button-medium.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-small.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-large.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-large-tertiary{background:#e8eaed;color:#bdc1c6}:host ::ng-deep .w-button-small-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-small-tertiary .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-large-tertiary .p-button-icon{padding-left:0;margin-left:0}:host ::ng-deep .w-button-text-small.p-button{color:#2e3134;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#00b2eb;background:none;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:focus{background:none;border:none}:host ::ng-deep .w-button-small.p-button.p-button-text.p-disabled,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-small-tertiary,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-text-small{background:none;border:none;color:#bdc1c6}\n"] }]
|
|
39
|
+
}], propDecorators: { type: [{
|
|
40
|
+
type: Input,
|
|
41
|
+
args: ['type']
|
|
42
|
+
}], label: [{
|
|
43
|
+
type: Input,
|
|
44
|
+
args: ['label']
|
|
45
|
+
}], size: [{
|
|
46
|
+
type: Input,
|
|
47
|
+
args: ['size']
|
|
48
|
+
}], icon: [{
|
|
49
|
+
type: Input,
|
|
50
|
+
args: ['icon']
|
|
51
|
+
}], tooltipPosition: [{
|
|
52
|
+
type: Input,
|
|
53
|
+
args: ['tooltipPosition']
|
|
54
|
+
}], tooltip: [{
|
|
55
|
+
type: Input,
|
|
56
|
+
args: ['tooltip']
|
|
57
|
+
}], disabled: [{
|
|
58
|
+
type: Input,
|
|
59
|
+
args: ['disabled']
|
|
60
|
+
}], loading: [{
|
|
61
|
+
type: Input,
|
|
62
|
+
args: ['loading']
|
|
63
|
+
}], onClick: [{
|
|
64
|
+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xuICAgICAgICAob25DbGljayk9XCJvbkJ1dHRvbkNsaWNrKCRldmVudClcIlxyXG4gICAgICAgIFtsb2FkaW5nXT1cImxvYWRpbmdcIiBcclxuICAgICAgICBbcFRvb2x0aXBdPVwidG9vbHRpcFwiIFxyXG4gICAgICAgIFt0b29sdGlwUG9zaXRpb25dPVwidG9vbHRpcFBvc2l0aW9uXCI+XHJcbiAgICA8L3AtYnV0dG9uPlxyXG48L25nLWNvbnRhaW5lcj5cclxuPG5nLXRlbXBsYXRlICNidXR0b25TZWNvbmRhcnk+XHJcbiAgICA8bmctY29udGFpbmVyICpuZ0lmPVwidHlwZSA9PSBnZXRCdXR0b25UeXBlTmFtZShidXR0b25UeXBlLnNlY29uZGFyeSkgfHwgdHlwZSA9PSBnZXRCdXR0b25UeXBlTmFtZShidXR0b25UeXBlLnRlcnRpYXJ5KTsgZWxzZSBidXR0b25UZXh0XCI+XHJcbiAgICAgICAgPHAtYnV0dG9uICpuZ0lmPVwic2l6ZSA9PSBnZXRTaXplTmFtZShzaXplVHlwZS5zbWFsbClcIiBcclxuICAgICAgICAgICAgbGFiZWw9XCJ7e2xhYmVsfX1cIiBcclxuICAgICAgICAgICAgW2ljb25dPVwiZ2V0SWNvbigpXCIgXHJcbiAgICAgICAgICAgIGljb25Qb3M9XCJyaWdodFwiIFxyXG4gICAgICAgICAgICBbc3R5bGVDbGFzc109XCIncC1idXR0b24tb3V0bGluZWQgJyArICh0eXBlID09IGdldEJ1dHRvblR5cGVOYW1lKGJ1dHRvblR5cGUudGVydGlhcnkpID8gJ3ctYnV0dG9uLXNtYWxsLXRlcnRpYXJ5JyA6ICd3LWJ1dHRvbi1zbWFsbCBwLWJ1dHRvbi1vdXRsaW5lZCcpXCJcclxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcclxuICAgICAgICAgICAgKG9uQ2xpY2spPVwib25CdXR0b25DbGljaygkZXZlbnQpXCJcclxuICAgICAgICAgICAgW2xvYWRpbmddPVwib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iZ2V0SWNvbigpXCIgXHJcbiAgICAgICAgICAgIGljb25Qb3M9XCJyaWdodFwiIFxyXG4gICAgICAgICAgICBbc3R5bGVDbGFzc109XCIncC1idXR0b24tb3V0bGluZWQgJyArICh0eXBlID09IGdldEJ1dHRvblR5cGVOYW1lKGJ1dHRvblR5cGUudGVydGlhcnkpID8gJ3ctYnV0dG9uLWxhcmdlLXRlcnRpYXJ5JyA6ICd3LWJ1dHRvbi1sYXJnZSBwLWJ1dHRvbi1vdXRsaW5lZCcpXCJcclxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcclxuICAgICAgICAgICAgKG9uQ2xpY2spPVwib25CdXR0b25DbGljaygkZXZlbnQpXCJcclxuICAgICAgICAgICAgW2xvYWRpbmddPVwibG9hZGluZ1wiIFxyXG4gICAgICAgICAgICBbcFRvb2x0aXBdPVwidG9vbHRpcFwiIFxyXG4gICAgICAgICAgICBbdG9vbHRpcFBvc2l0aW9uXT1cInRvb2x0aXBQb3NpdGlvblwiPlxyXG4gICAgICAgIDwvcC1idXR0b24+XHJcbiAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgIDxuZy10ZW1wbGF0ZSAjYnV0dG9uVGV4dD5cclxuICAgICAgICA8cC1idXR0b24gXHJcbiAgICAgICAgICAgIGxhYmVsPVwie3tsYWJlbH19XCIgXHJcbiAgICAgICAgICAgIFtpY29uXT1cImdldEljb24oKVwiIFxyXG4gICAgICAgICAgICBpY29uUG9zPVwicmlnaHRcIiBcclxuICAgICAgICAgICAgc3R5bGVDbGFzcz1cInAtYnV0dG9uLXRleHQgdy1idXR0b24tdGV4dC1zbWFsbFwiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgICAgICAgIChvbkNsaWNrKT1cIm9uQnV0dG9uQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgICAgIFtsb2FkaW5nXT1cImxvYWRpbmdcIiBcclxuICAgICAgICAgICAgW3BUb29sdGlwXT1cInRvb2x0aXBcIiBcclxuICAgICAgICAgICAgW3Rvb2x0aXBQb3NpdGlvbl09XCJ0b29sdGlwUG9zaXRpb25cIj5cclxuICAgICAgICA8L3AtYnV0dG9uPlxyXG4gICAgPC9uZy10ZW1wbGF0ZT5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|