@eui/components 14.0.15 → 14.0.16-snapshot-1675721483519
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/docs/dependencies.html +6 -8
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2020/eui-block-document/eui-block-document.component.mjs +2 -2
- package/esm2020/eui-timepicker/eui-timepicker.component.mjs +2 -2
- package/esm2020/legacy/ux-block-document/ux-block-document.component.mjs +2 -2
- package/esm2020/legacy/ux-dynamic-message-box/ux-dynamic-message-box.component.mjs +2 -2
- package/esm2020/legacy/ux-dynamic-modal/ux-dynamic-modal.component.mjs +3 -3
- package/esm2020/legacy/ux-message-box/ux-message-box.component.mjs +2 -2
- package/esm2020/legacy/ux-modal/ux-modal.component.mjs +2 -2
- package/esm2020/legacy/ux-timepicker/ux-timepicker.component.mjs +2 -2
- package/fesm2015/eui-components-eui-block-document.mjs +2 -2
- package/fesm2015/eui-components-eui-block-document.mjs.map +1 -1
- package/fesm2015/eui-components-eui-timepicker.mjs +2 -2
- package/fesm2015/eui-components-eui-timepicker.mjs.map +1 -1
- package/fesm2015/eui-components-legacy-ux-block-document.mjs +2 -2
- package/fesm2015/eui-components-legacy-ux-block-document.mjs.map +1 -1
- package/fesm2015/eui-components-legacy-ux-dynamic-message-box.mjs +2 -2
- package/fesm2015/eui-components-legacy-ux-dynamic-message-box.mjs.map +1 -1
- package/fesm2015/eui-components-legacy-ux-dynamic-modal.mjs +2 -2
- package/fesm2015/eui-components-legacy-ux-dynamic-modal.mjs.map +1 -1
- package/fesm2015/eui-components-legacy-ux-message-box.mjs +2 -2
- package/fesm2015/eui-components-legacy-ux-message-box.mjs.map +1 -1
- package/fesm2015/eui-components-legacy-ux-modal.mjs +2 -2
- package/fesm2015/eui-components-legacy-ux-modal.mjs.map +1 -1
- package/fesm2015/eui-components-legacy-ux-timepicker.mjs +2 -2
- package/fesm2015/eui-components-legacy-ux-timepicker.mjs.map +1 -1
- package/fesm2020/eui-components-eui-block-document.mjs +2 -2
- package/fesm2020/eui-components-eui-block-document.mjs.map +1 -1
- package/fesm2020/eui-components-eui-timepicker.mjs +2 -2
- package/fesm2020/eui-components-eui-timepicker.mjs.map +1 -1
- package/fesm2020/eui-components-legacy-ux-block-document.mjs +2 -2
- package/fesm2020/eui-components-legacy-ux-block-document.mjs.map +1 -1
- package/fesm2020/eui-components-legacy-ux-dynamic-message-box.mjs +2 -2
- package/fesm2020/eui-components-legacy-ux-dynamic-message-box.mjs.map +1 -1
- package/fesm2020/eui-components-legacy-ux-dynamic-modal.mjs +2 -2
- package/fesm2020/eui-components-legacy-ux-dynamic-modal.mjs.map +1 -1
- package/fesm2020/eui-components-legacy-ux-message-box.mjs +2 -2
- package/fesm2020/eui-components-legacy-ux-message-box.mjs.map +1 -1
- package/fesm2020/eui-components-legacy-ux-modal.mjs +2 -2
- package/fesm2020/eui-components-legacy-ux-modal.mjs.map +1 -1
- package/fesm2020/eui-components-legacy-ux-timepicker.mjs +2 -2
- package/fesm2020/eui-components-legacy-ux-timepicker.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -97,10 +97,10 @@ class UxDynamicMessageBoxComponent {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
/** @nocollapse */ UxDynamicMessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynamicMessageBoxComponent, deps: [{ token: i1$1.TranslateService }, { token: DYNAMIC_COMPONENT_CONFIG }, { token: i1.UxDynamicComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
100
|
-
/** @nocollapse */ UxDynamicMessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: UxDynamicMessageBoxComponent, selector: "ux-dynamic-message-box", inputs: { e2eAttr: "e2eAttr" }, viewQueries: [{ propertyName: "uxMessageBoxBody", first: true, predicate: ["uxmessageboxbody"], descendants: true }], ngImport: i0, template: '<div #uxmessageboxbody id="{{config.id}}" attr.data-e2e="{{ e2eAttr }}"></div>', isInline: true, styles: [".ux-message-box .ux-modal__header{padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-message-box .ux-modal__header-title{font-size:var(--eui-base-font-size-xl)}.ux-message-box .ux-modal__body{overflow:hidden}.ux-message-box .ux-modal__footer{background-color:var(--eui-base-color-grey-5);padding:var(--eui-base-spacing-s)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:first-child){margin-left:var(--eui-base-spacing-2xs)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:last-child){margin-right:var(--eui-base-spacing-2xs)}.ux-message-box .ux-message-box__body-icon:before{color:var(--eui-base-color-white);content:\"\";font-family:eui-icons,sans-serif;font-size:calc(3rem / var(--eui-base-scale-factor));left:var(--eui-base-spacing-xl);line-height:1;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:3.5rem}.ux-message-box .ux-message-box__body-content{margin-left:6rem}.ux-message-box--warning .ux-modal__content{border:1px solid var(--eui-base-color-warning-100)}.ux-message-box--warning .ux-modal__header-title{color:var(--eui-base-color-warning-110)}.ux-message-box--warning .ux-message-box__body-icon:before{color:var(--eui-base-color-warning-100);content:\"\\f071\"}.ux-message-box--danger .ux-modal__content{border:1px solid var(--eui-base-color-danger-100)}.ux-message-box--danger .ux-modal__header-title{color:var(--eui-base-color-danger-110)}.ux-message-box--danger .ux-message-box__body-icon:before{color:var(--eui-base-color-danger-100);content:\"\\f00d\"}.ux-message-box--success .ux-modal__content{border:1px solid var(--eui-base-color-success-100)}.ux-message-box--success .ux-modal__header-title{color:var(--eui-base-color-success-110)}.ux-message-box--success .ux-message-box__body-icon:before{color:var(--eui-base-color-success-100);content:\"\\f00c\"}.ux-message-box--info .ux-modal__content{border:1px solid var(--eui-base-color-info-100)}.ux-message-box--info .ux-modal__header-title{color:var(--eui-base-color-info-110)}.ux-message-box--info .ux-message-box__body-icon:before{color:var(--eui-base-color-info-100);content:\"\\e90e\"}.ux-message-box--question .ux-modal__content{border:1px solid var(--eui-base-color-primary-100)}.ux-message-box--question .ux-modal__header-title{color:var(--eui-base-color-primary-110)}.ux-message-box--question .ux-message-box__body-icon:before{color:var(--eui-base-color-primary-100);content:\"\\f128\"}.ux-modal .ux-modal.ux-message-box .ux-modal__dialog{max-width:33%}.ux-modal .ux-modal.ux-message-box .ux-modal__content{height:12.5rem}.ux-modal{
|
|
100
|
+
/** @nocollapse */ UxDynamicMessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: UxDynamicMessageBoxComponent, selector: "ux-dynamic-message-box", inputs: { e2eAttr: "e2eAttr" }, viewQueries: [{ propertyName: "uxMessageBoxBody", first: true, predicate: ["uxmessageboxbody"], descendants: true }], ngImport: i0, template: '<div #uxmessageboxbody id="{{config.id}}" attr.data-e2e="{{ e2eAttr }}"></div>', isInline: true, styles: [".ux-message-box .ux-modal__header{padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-message-box .ux-modal__header-title{font-size:var(--eui-base-font-size-xl)}.ux-message-box .ux-modal__body{overflow:hidden}.ux-message-box .ux-modal__footer{background-color:var(--eui-base-color-grey-5);padding:var(--eui-base-spacing-s)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:first-child){margin-left:var(--eui-base-spacing-2xs)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:last-child){margin-right:var(--eui-base-spacing-2xs)}.ux-message-box .ux-message-box__body-icon:before{color:var(--eui-base-color-white);content:\"\";font-family:eui-icons,sans-serif;font-size:calc(3rem / var(--eui-base-scale-factor));left:var(--eui-base-spacing-xl);line-height:1;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:3.5rem}.ux-message-box .ux-message-box__body-content{margin-left:6rem}.ux-message-box--warning .ux-modal__content{border:1px solid var(--eui-base-color-warning-100)}.ux-message-box--warning .ux-modal__header-title{color:var(--eui-base-color-warning-110)}.ux-message-box--warning .ux-message-box__body-icon:before{color:var(--eui-base-color-warning-100);content:\"\\f071\"}.ux-message-box--danger .ux-modal__content{border:1px solid var(--eui-base-color-danger-100)}.ux-message-box--danger .ux-modal__header-title{color:var(--eui-base-color-danger-110)}.ux-message-box--danger .ux-message-box__body-icon:before{color:var(--eui-base-color-danger-100);content:\"\\f00d\"}.ux-message-box--success .ux-modal__content{border:1px solid var(--eui-base-color-success-100)}.ux-message-box--success .ux-modal__header-title{color:var(--eui-base-color-success-110)}.ux-message-box--success .ux-message-box__body-icon:before{color:var(--eui-base-color-success-100);content:\"\\f00c\"}.ux-message-box--info .ux-modal__content{border:1px solid var(--eui-base-color-info-100)}.ux-message-box--info .ux-modal__header-title{color:var(--eui-base-color-info-110)}.ux-message-box--info .ux-message-box__body-icon:before{color:var(--eui-base-color-info-100);content:\"\\e90e\"}.ux-message-box--question .ux-modal__content{border:1px solid var(--eui-base-color-primary-100)}.ux-message-box--question .ux-modal__header-title{color:var(--eui-base-color-primary-110)}.ux-message-box--question .ux-message-box__body-icon:before{color:var(--eui-base-color-primary-100);content:\"\\f128\"}.ux-modal .ux-modal.ux-message-box .ux-modal__dialog{max-width:33%}.ux-modal .ux-modal.ux-message-box .ux-modal__content{height:12.5rem}.ux-modal{inset:0;outline:0;overflow:hidden;position:fixed;z-index:var(--eui-base-z-index-modal)}.ux-modal__content{background-clip:padding-box;background-color:var(--eui-base-color-white);border:1px solid var(--eui-base-color-grey-10);border-radius:var(--eui-base-border-radius);display:flex;flex-direction:column;max-height:100%;outline:0;overflow:auto;pointer-events:auto;position:relative;width:100%;box-shadow:var(--eui-base-shadow-24)}.ux-modal__dialog{display:flex;flex-direction:column;height:100vh;justify-content:center;margin:1.75rem auto;margin-bottom:0;margin-top:0;max-width:50%;pointer-events:none;position:relative;width:auto}.ux-modal__header{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-10);border-top-left-radius:var(--eui-border-radius-base);border-top-right-radius:var(--eui-border-radius-base);display:flex;justify-content:space-between;min-height:calc(4 * var(--eui-base-spacing-m));padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-modal--draggable .ux-modal__header{cursor:move}.ux-modal__header-title{font-size:var(--eui-base-font-size-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700}.ux-modal__body{flex:1 1 auto;overflow:auto;padding:var(--eui-base-spacing-m);position:relative}.ux-modal__body.ux-modal--no-padding{padding:0}.ux-modal__footer{background-color:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-10);justify-content:flex-end;padding:var(--eui-base-spacing-s);align-items:center;display:flex;width:100%}.ux-modal__footer--custom-alignment{display:block}.ux-modal__footer button:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.ux-modal__header-close{background-color:transparent;border:none;box-shadow:none;color:var(--eui-base-color-grey-25);font-size:var(--eui-base-font-size-2xl);margin-right:calc(-1 * var(--eui-base-spacing-s));outline:0;padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs)}.ux-modal__header-close:hover{color:var(--eui-base-color-text)}.ux-modal__header-close:active,.ux-modal__header-close:focus{outline:2px solid var(--eui-base-color-accessible-focus);outline-offset:-2px;-moz-outline-radius:var(--eui-base-border-radius);transition:outline .15s ease-in-out,border .15s ease-in-out}.ux-modal__header-close.disabled{display:none}uxmodalheader{display:flex;width:100%}.ux-modal--small .ux-modal__dialog{max-width:33%}.ux-modal--large .ux-modal__dialog{max-width:75%}.ux-modal--full-screen .ux-modal__content{height:98%;margin:1.5%;width:97%}.ux-modal--full-screen .ux-modal__dialog{height:100%;max-height:100%;max-width:100%;width:100%}.ux-modal--full-height{max-height:100%}.ux-modal--full-height .ux-modal__dialog{height:100%}.ux-modal--full-height .ux-modal__content{height:95%}.ux-modal--full-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.ux-modal--medium-height{max-height:100%}.ux-modal--medium-height .ux-modal__dialog{height:100%}.ux-modal--medium-height .ux-modal__content{height:50%}.ux-modal--medium-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-open .cdk-overlay-container{z-index:var(--eui-base-z-index-cdk-overlay-container)}.modal-backdrop{background-color:#00000080;height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .5s cubic-bezier(.25,.8,.25,1);width:100vw;z-index:var(--eui-base-z-index-modal-backdrop)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--eui-base-disabled-opacity)}@media screen and (max-width: 995px){.ux-modal__dialog,.ux-modal__dialog[style],.ux-modal--small .ux-modal__dialog,.ux-modal--big .ux-modal__dialog,.ux-modal--full-screen .ux-modal__dialog{margin-left:1.5%;max-width:100%!important;width:97%!important}}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
101
101
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynamicMessageBoxComponent, decorators: [{
|
|
102
102
|
type: Component,
|
|
103
|
-
args: [{ selector: 'ux-dynamic-message-box', template: '<div #uxmessageboxbody id="{{config.id}}" attr.data-e2e="{{ e2eAttr }}"></div>', encapsulation: ViewEncapsulation.None, styles: [".ux-message-box .ux-modal__header{padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-message-box .ux-modal__header-title{font-size:var(--eui-base-font-size-xl)}.ux-message-box .ux-modal__body{overflow:hidden}.ux-message-box .ux-modal__footer{background-color:var(--eui-base-color-grey-5);padding:var(--eui-base-spacing-s)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:first-child){margin-left:var(--eui-base-spacing-2xs)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:last-child){margin-right:var(--eui-base-spacing-2xs)}.ux-message-box .ux-message-box__body-icon:before{color:var(--eui-base-color-white);content:\"\";font-family:eui-icons,sans-serif;font-size:calc(3rem / var(--eui-base-scale-factor));left:var(--eui-base-spacing-xl);line-height:1;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:3.5rem}.ux-message-box .ux-message-box__body-content{margin-left:6rem}.ux-message-box--warning .ux-modal__content{border:1px solid var(--eui-base-color-warning-100)}.ux-message-box--warning .ux-modal__header-title{color:var(--eui-base-color-warning-110)}.ux-message-box--warning .ux-message-box__body-icon:before{color:var(--eui-base-color-warning-100);content:\"\\f071\"}.ux-message-box--danger .ux-modal__content{border:1px solid var(--eui-base-color-danger-100)}.ux-message-box--danger .ux-modal__header-title{color:var(--eui-base-color-danger-110)}.ux-message-box--danger .ux-message-box__body-icon:before{color:var(--eui-base-color-danger-100);content:\"\\f00d\"}.ux-message-box--success .ux-modal__content{border:1px solid var(--eui-base-color-success-100)}.ux-message-box--success .ux-modal__header-title{color:var(--eui-base-color-success-110)}.ux-message-box--success .ux-message-box__body-icon:before{color:var(--eui-base-color-success-100);content:\"\\f00c\"}.ux-message-box--info .ux-modal__content{border:1px solid var(--eui-base-color-info-100)}.ux-message-box--info .ux-modal__header-title{color:var(--eui-base-color-info-110)}.ux-message-box--info .ux-message-box__body-icon:before{color:var(--eui-base-color-info-100);content:\"\\e90e\"}.ux-message-box--question .ux-modal__content{border:1px solid var(--eui-base-color-primary-100)}.ux-message-box--question .ux-modal__header-title{color:var(--eui-base-color-primary-110)}.ux-message-box--question .ux-message-box__body-icon:before{color:var(--eui-base-color-primary-100);content:\"\\f128\"}.ux-modal .ux-modal.ux-message-box .ux-modal__dialog{max-width:33%}.ux-modal .ux-modal.ux-message-box .ux-modal__content{height:12.5rem}.ux-modal{
|
|
103
|
+
args: [{ selector: 'ux-dynamic-message-box', template: '<div #uxmessageboxbody id="{{config.id}}" attr.data-e2e="{{ e2eAttr }}"></div>', encapsulation: ViewEncapsulation.None, styles: [".ux-message-box .ux-modal__header{padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-message-box .ux-modal__header-title{font-size:var(--eui-base-font-size-xl)}.ux-message-box .ux-modal__body{overflow:hidden}.ux-message-box .ux-modal__footer{background-color:var(--eui-base-color-grey-5);padding:var(--eui-base-spacing-s)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:first-child){margin-left:var(--eui-base-spacing-2xs)}.ux-message-box .ux-modal__footer>uxmodalfooter>:not(:last-child){margin-right:var(--eui-base-spacing-2xs)}.ux-message-box .ux-message-box__body-icon:before{color:var(--eui-base-color-white);content:\"\";font-family:eui-icons,sans-serif;font-size:calc(3rem / var(--eui-base-scale-factor));left:var(--eui-base-spacing-xl);line-height:1;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:3.5rem}.ux-message-box .ux-message-box__body-content{margin-left:6rem}.ux-message-box--warning .ux-modal__content{border:1px solid var(--eui-base-color-warning-100)}.ux-message-box--warning .ux-modal__header-title{color:var(--eui-base-color-warning-110)}.ux-message-box--warning .ux-message-box__body-icon:before{color:var(--eui-base-color-warning-100);content:\"\\f071\"}.ux-message-box--danger .ux-modal__content{border:1px solid var(--eui-base-color-danger-100)}.ux-message-box--danger .ux-modal__header-title{color:var(--eui-base-color-danger-110)}.ux-message-box--danger .ux-message-box__body-icon:before{color:var(--eui-base-color-danger-100);content:\"\\f00d\"}.ux-message-box--success .ux-modal__content{border:1px solid var(--eui-base-color-success-100)}.ux-message-box--success .ux-modal__header-title{color:var(--eui-base-color-success-110)}.ux-message-box--success .ux-message-box__body-icon:before{color:var(--eui-base-color-success-100);content:\"\\f00c\"}.ux-message-box--info .ux-modal__content{border:1px solid var(--eui-base-color-info-100)}.ux-message-box--info .ux-modal__header-title{color:var(--eui-base-color-info-110)}.ux-message-box--info .ux-message-box__body-icon:before{color:var(--eui-base-color-info-100);content:\"\\e90e\"}.ux-message-box--question .ux-modal__content{border:1px solid var(--eui-base-color-primary-100)}.ux-message-box--question .ux-modal__header-title{color:var(--eui-base-color-primary-110)}.ux-message-box--question .ux-message-box__body-icon:before{color:var(--eui-base-color-primary-100);content:\"\\f128\"}.ux-modal .ux-modal.ux-message-box .ux-modal__dialog{max-width:33%}.ux-modal .ux-modal.ux-message-box .ux-modal__content{height:12.5rem}.ux-modal{inset:0;outline:0;overflow:hidden;position:fixed;z-index:var(--eui-base-z-index-modal)}.ux-modal__content{background-clip:padding-box;background-color:var(--eui-base-color-white);border:1px solid var(--eui-base-color-grey-10);border-radius:var(--eui-base-border-radius);display:flex;flex-direction:column;max-height:100%;outline:0;overflow:auto;pointer-events:auto;position:relative;width:100%;box-shadow:var(--eui-base-shadow-24)}.ux-modal__dialog{display:flex;flex-direction:column;height:100vh;justify-content:center;margin:1.75rem auto;margin-bottom:0;margin-top:0;max-width:50%;pointer-events:none;position:relative;width:auto}.ux-modal__header{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-10);border-top-left-radius:var(--eui-border-radius-base);border-top-right-radius:var(--eui-border-radius-base);display:flex;justify-content:space-between;min-height:calc(4 * var(--eui-base-spacing-m));padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-modal--draggable .ux-modal__header{cursor:move}.ux-modal__header-title{font-size:var(--eui-base-font-size-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700}.ux-modal__body{flex:1 1 auto;overflow:auto;padding:var(--eui-base-spacing-m);position:relative}.ux-modal__body.ux-modal--no-padding{padding:0}.ux-modal__footer{background-color:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-10);justify-content:flex-end;padding:var(--eui-base-spacing-s);align-items:center;display:flex;width:100%}.ux-modal__footer--custom-alignment{display:block}.ux-modal__footer button:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.ux-modal__header-close{background-color:transparent;border:none;box-shadow:none;color:var(--eui-base-color-grey-25);font-size:var(--eui-base-font-size-2xl);margin-right:calc(-1 * var(--eui-base-spacing-s));outline:0;padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs)}.ux-modal__header-close:hover{color:var(--eui-base-color-text)}.ux-modal__header-close:active,.ux-modal__header-close:focus{outline:2px solid var(--eui-base-color-accessible-focus);outline-offset:-2px;-moz-outline-radius:var(--eui-base-border-radius);transition:outline .15s ease-in-out,border .15s ease-in-out}.ux-modal__header-close.disabled{display:none}uxmodalheader{display:flex;width:100%}.ux-modal--small .ux-modal__dialog{max-width:33%}.ux-modal--large .ux-modal__dialog{max-width:75%}.ux-modal--full-screen .ux-modal__content{height:98%;margin:1.5%;width:97%}.ux-modal--full-screen .ux-modal__dialog{height:100%;max-height:100%;max-width:100%;width:100%}.ux-modal--full-height{max-height:100%}.ux-modal--full-height .ux-modal__dialog{height:100%}.ux-modal--full-height .ux-modal__content{height:95%}.ux-modal--full-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.ux-modal--medium-height{max-height:100%}.ux-modal--medium-height .ux-modal__dialog{height:100%}.ux-modal--medium-height .ux-modal__content{height:50%}.ux-modal--medium-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-open .cdk-overlay-container{z-index:var(--eui-base-z-index-cdk-overlay-container)}.modal-backdrop{background-color:#00000080;height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .5s cubic-bezier(.25,.8,.25,1);width:100vw;z-index:var(--eui-base-z-index-modal-backdrop)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--eui-base-disabled-opacity)}@media screen and (max-width: 995px){.ux-modal__dialog,.ux-modal__dialog[style],.ux-modal--small .ux-modal__dialog,.ux-modal--big .ux-modal__dialog,.ux-modal--full-screen .ux-modal__dialog{margin-left:1.5%;max-width:100%!important;width:97%!important}}\n"] }]
|
|
104
104
|
}], ctorParameters: function () {
|
|
105
105
|
return [{ type: i1$1.TranslateService }, { type: UxDynamicMessageBoxConfig, decorators: [{
|
|
106
106
|
type: Inject,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-components-legacy-ux-dynamic-message-box.mjs","sources":["../../legacy/ux-dynamic-message-box/ux-dynamic-message-box.service.ts","../../legacy/ux-dynamic-message-box/ux-dynamic-message-box.config.model.ts","../../legacy/ux-dynamic-message-box/ux-dynamic-message-box.component.ts","../../legacy/ux-dynamic-message-box/eui-components-legacy-ux-dynamic-message-box.ts"],"sourcesContent":["import { Injectable, ComponentRef } from '@angular/core';\nimport { DomPortalOutlet, ComponentPortal } from '@angular/cdk/portal';\n\nimport { UxDynamicMessageBoxConfig } from './ux-dynamic-message-box.config.model';\nimport { UxDynamicMessageBoxComponent } from './ux-dynamic-message-box.component';\nimport { UxDynamicComponentService } from '@eui/core';\n\n@Injectable()\nexport class UxDynamicMessageBoxService {\n\n private portalHost: DomPortalOutlet;\n private portal: ComponentPortal<any>;\n private openModalData: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n\n constructor(private uxDynamicComponentService: UxDynamicComponentService) {}\n\n openModal(config: UxDynamicMessageBoxConfig): any {\n document.body.classList.add('modal-open');\n\n this.openModalData = this.uxDynamicComponentService.add(UxDynamicMessageBoxComponent, null, config);\n return this.openModalData;\n }\n\n /**\n * Open a message-box dynamically (Add it to the DOM)\n */\n openMessageBox(config: UxDynamicMessageBoxConfig) {\n\n if (!(<UxDynamicMessageBoxConfig>config).onClose) {\n (<UxDynamicMessageBoxConfig>config).onClose = this.closeMessageBox.bind(this);\n }\n\n const { portalHost, portal } = this.uxDynamicComponentService.add(UxDynamicMessageBoxComponent, null, config);\n this.portalHost = portalHost;\n this.portal = portal;\n }\n\n /**\n * Close a message-box created dynamically (Remove it from the DOM)\n */\n closeMessageBox() {\n document.body.classList.remove('modal-open');\n this.uxDynamicComponentService.remove(this.portalHost);\n this.openModalData = null;\n this.portalHost = null;\n this.portal = null;\n }\n\n}\n","import { UxButtonConfig } from '@eui/components/legacy/ux-button';\n\nexport interface UxDynamicMessageBoxConfig {\n id?: string;\n titleLabel?: string;\n content?: string;\n styleClass?: string;\n typeClass?: string;\n messageBoxType?: string;\n acceptLabel?: string;\n dismissLabel?: string;\n isFooterCustomAlignment?: boolean;\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n}\n\nexport class UxDynamicMessageBoxConfig implements UxDynamicMessageBoxConfig {\n id?: string = 'messagebox_modal';\n titleLabel?: string;\n content?: string;\n styleClass?: string;\n typeClass?: string = 'warning';\n messageBoxType?: string = 'confirmation';\n acceptLabel?: string;\n dismissLabel?: string;\n isFooterCustomAlignment?: boolean = false;\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n\n onClick: (value) => any;\n onDismiss: () => any;\n onAccept: () => any;\n onClose?: (portalHostRef, portalRef) => any;\n\n constructor(values) {\n Object.assign(this, values);\n }\n}\n","import {\n AfterContentInit,\n Component,\n ComponentRef,\n ElementRef,\n Inject,\n Input,\n NgModule,\n OnDestroy,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ComponentPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { UxDynamicMessageBoxConfig } from './ux-dynamic-message-box.config.model';\nimport {\n UxDynamicModalComponent,\n UxDynamicModalComponentModule,\n UxDynamicModalConfig\n} from '@eui/components/legacy/ux-dynamic-modal';\nimport { DYNAMIC_COMPONENT_CONFIG, UxDynamicComponentService } from '@eui/core';\nimport { UxDynamicMessageBoxService } from './ux-dynamic-message-box.service';\n@Component({\n selector: 'ux-dynamic-message-box',\n template: '<div #uxmessageboxbody id=\"{{config.id}}\" attr.data-e2e=\"{{ e2eAttr }}\"></div>',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class UxDynamicMessageBoxComponent implements AfterContentInit, OnDestroy {\n\n @Input() e2eAttr: string = 'ux-dynamic-message-box';\n\n public stateClasses: string = '';\n public config: UxDynamicMessageBoxConfig;\n\n private injectedComponent: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n\n @ViewChild('uxmessageboxbody') private uxMessageBoxBody: ElementRef<HTMLDivElement>;\n\n constructor(\n private translateService: TranslateService,\n @Inject(DYNAMIC_COMPONENT_CONFIG) uxDynamicComponentConfig: UxDynamicMessageBoxConfig,\n private uxDynamicComponentService: UxDynamicComponentService,\n ) {\n this.config = uxDynamicComponentConfig;\n }\n\n ngAfterContentInit() {\n if (!this.config.acceptLabel) {\n this.translateService.get('eui.YES').subscribe((tr) => {\n this.config.acceptLabel = tr;\n });\n }\n\n if (!this.config.dismissLabel) {\n this.translateService.get('eui.NO').subscribe((tr) => {\n this.config.dismissLabel = tr;\n });\n }\n\n if (this.config.typeClass) {\n this.stateClasses += 'ux-message-box--' + this.config.typeClass + ' ';\n }\n\n // TODO: this code smell, on changeDetection issues avoid this trick\n setTimeout(() => {\n this.config = Object.assign({}, this.config, {\n isMessageBox: true,\n isShowCloseButton: false,\n isCloseModalOnEscape: false,\n isSizeSmall: true,\n styleClass: 'ux-message-box ' + this.stateClasses + ' ' + this.config.styleClass,\n });\n const modalConfig = new UxDynamicModalConfig(this.config);\n this.injectedComponent = this.uxDynamicComponentService.add(UxDynamicModalComponent, this.uxMessageBoxBody, modalConfig);\n }, 0);\n }\n\n ngOnDestroy() {\n if (this.injectedComponent) {\n this.uxDynamicComponentService.remove(this.injectedComponent.portalHost);\n }\n }\n}\n\n@NgModule({\n imports: [\n CommonModule,\n UxDynamicModalComponentModule,\n ],\n exports: [\n UxDynamicMessageBoxComponent,\n ],\n declarations: [\n UxDynamicMessageBoxComponent,\n ],\n providers: [\n UxDynamicMessageBoxService,\n UxDynamicComponentService\n ],\n entryComponents: [\n UxDynamicMessageBoxComponent,\n ],\n})\n\nexport class UxDynamicMessageBoxComponentModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;MAQa,0BAA0B,CAAA;AAUnC,IAAA,WAAA,CAAoB,yBAAoD,EAAA;AAApD,QAAA,I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mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kCAAkC,EAThC,SAAA,EAAA;QACP,0BAA0B;QAC1B,yBAAyB;KAC5B,EAAA,OAAA,EAAA,CAZG,YAAY;QACZ,6BAA6B,CAAA,EAAA,CAAA,CAAA;4FAiBxB,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBApB9C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,6BAA6B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,4BAA4B;AAC/B,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,4BAA4B;AAC/B,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,0BAA0B;wBAC1B,yBAAyB;AAC5B,qBAAA;AACD,oBAAA,eAAe,EAAE;wBACb,4BAA4B;AAC/B,qBAAA;iBACJ,CAAA;;;AC7GD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-components-legacy-ux-dynamic-message-box.mjs","sources":["../../legacy/ux-dynamic-message-box/ux-dynamic-message-box.service.ts","../../legacy/ux-dynamic-message-box/ux-dynamic-message-box.config.model.ts","../../legacy/ux-dynamic-message-box/ux-dynamic-message-box.component.ts","../../legacy/ux-dynamic-message-box/eui-components-legacy-ux-dynamic-message-box.ts"],"sourcesContent":["import { Injectable, ComponentRef } from '@angular/core';\nimport { DomPortalOutlet, ComponentPortal } from '@angular/cdk/portal';\n\nimport { UxDynamicMessageBoxConfig } from './ux-dynamic-message-box.config.model';\nimport { UxDynamicMessageBoxComponent } from './ux-dynamic-message-box.component';\nimport { UxDynamicComponentService } from '@eui/core';\n\n@Injectable()\nexport class UxDynamicMessageBoxService {\n\n private portalHost: DomPortalOutlet;\n private portal: ComponentPortal<any>;\n private openModalData: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n\n constructor(private uxDynamicComponentService: UxDynamicComponentService) {}\n\n openModal(config: UxDynamicMessageBoxConfig): any {\n document.body.classList.add('modal-open');\n\n this.openModalData = this.uxDynamicComponentService.add(UxDynamicMessageBoxComponent, null, config);\n return this.openModalData;\n }\n\n /**\n * Open a message-box dynamically (Add it to the DOM)\n */\n openMessageBox(config: UxDynamicMessageBoxConfig) {\n\n if (!(<UxDynamicMessageBoxConfig>config).onClose) {\n (<UxDynamicMessageBoxConfig>config).onClose = this.closeMessageBox.bind(this);\n }\n\n const { portalHost, portal } = this.uxDynamicComponentService.add(UxDynamicMessageBoxComponent, null, config);\n this.portalHost = portalHost;\n this.portal = portal;\n }\n\n /**\n * Close a message-box created dynamically (Remove it from the DOM)\n */\n closeMessageBox() {\n document.body.classList.remove('modal-open');\n this.uxDynamicComponentService.remove(this.portalHost);\n this.openModalData = null;\n this.portalHost = null;\n this.portal = null;\n }\n\n}\n","import { UxButtonConfig } from '@eui/components/legacy/ux-button';\n\nexport interface UxDynamicMessageBoxConfig {\n id?: string;\n titleLabel?: string;\n content?: string;\n styleClass?: string;\n typeClass?: string;\n messageBoxType?: string;\n acceptLabel?: string;\n dismissLabel?: string;\n isFooterCustomAlignment?: boolean;\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n}\n\nexport class UxDynamicMessageBoxConfig implements UxDynamicMessageBoxConfig {\n id?: string = 'messagebox_modal';\n titleLabel?: string;\n content?: string;\n styleClass?: string;\n typeClass?: string = 'warning';\n messageBoxType?: string = 'confirmation';\n acceptLabel?: string;\n dismissLabel?: string;\n isFooterCustomAlignment?: boolean = false;\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n\n onClick: (value) => any;\n onDismiss: () => any;\n onAccept: () => any;\n onClose?: (portalHostRef, portalRef) => any;\n\n constructor(values) {\n Object.assign(this, values);\n }\n}\n","import {\n AfterContentInit,\n Component,\n ComponentRef,\n ElementRef,\n Inject,\n Input,\n NgModule,\n OnDestroy,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ComponentPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { UxDynamicMessageBoxConfig } from './ux-dynamic-message-box.config.model';\nimport {\n UxDynamicModalComponent,\n UxDynamicModalComponentModule,\n UxDynamicModalConfig\n} from '@eui/components/legacy/ux-dynamic-modal';\nimport { DYNAMIC_COMPONENT_CONFIG, UxDynamicComponentService } from '@eui/core';\nimport { UxDynamicMessageBoxService } from './ux-dynamic-message-box.service';\n@Component({\n selector: 'ux-dynamic-message-box',\n template: '<div #uxmessageboxbody id=\"{{config.id}}\" attr.data-e2e=\"{{ e2eAttr }}\"></div>',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class UxDynamicMessageBoxComponent implements AfterContentInit, OnDestroy {\n\n @Input() e2eAttr: string = 'ux-dynamic-message-box';\n\n public stateClasses: string = '';\n public config: UxDynamicMessageBoxConfig;\n\n private injectedComponent: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n\n @ViewChild('uxmessageboxbody') private uxMessageBoxBody: ElementRef<HTMLDivElement>;\n\n constructor(\n private translateService: TranslateService,\n @Inject(DYNAMIC_COMPONENT_CONFIG) uxDynamicComponentConfig: UxDynamicMessageBoxConfig,\n private uxDynamicComponentService: UxDynamicComponentService,\n ) {\n this.config = uxDynamicComponentConfig;\n }\n\n ngAfterContentInit() {\n if (!this.config.acceptLabel) {\n this.translateService.get('eui.YES').subscribe((tr) => {\n this.config.acceptLabel = tr;\n });\n }\n\n if (!this.config.dismissLabel) {\n this.translateService.get('eui.NO').subscribe((tr) => {\n this.config.dismissLabel = tr;\n });\n }\n\n if (this.config.typeClass) {\n this.stateClasses += 'ux-message-box--' + this.config.typeClass + ' ';\n }\n\n // TODO: this code smell, on changeDetection issues avoid this trick\n setTimeout(() => {\n this.config = Object.assign({}, this.config, {\n isMessageBox: true,\n isShowCloseButton: false,\n isCloseModalOnEscape: false,\n isSizeSmall: true,\n styleClass: 'ux-message-box ' + this.stateClasses + ' ' + this.config.styleClass,\n });\n const modalConfig = new UxDynamicModalConfig(this.config);\n this.injectedComponent = this.uxDynamicComponentService.add(UxDynamicModalComponent, this.uxMessageBoxBody, modalConfig);\n }, 0);\n }\n\n ngOnDestroy() {\n if (this.injectedComponent) {\n this.uxDynamicComponentService.remove(this.injectedComponent.portalHost);\n }\n }\n}\n\n@NgModule({\n imports: [\n CommonModule,\n UxDynamicModalComponentModule,\n ],\n exports: [\n UxDynamicMessageBoxComponent,\n ],\n declarations: [\n UxDynamicMessageBoxComponent,\n ],\n providers: [\n UxDynamicMessageBoxService,\n UxDynamicComponentService\n ],\n entryComponents: [\n UxDynamicMessageBoxComponent,\n ],\n})\n\nexport class UxDynamicMessageBoxComponentModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;MAQa,0BAA0B,CAAA;AAUnC,IAAA,WAAA,CAAoB,yBAAoD,EAAA;AAApD,QAAA,IAAyB,CAAA,yBAAA,GAAzB,yBAAyB,CAA2B;AANhE,QAAA,IAAa,CAAA,aAAA,GAIjB,IAAI,CAAC;KAEmE;AAE5E,IAAA,SAAS,CAAC,MAAiC,EAAA;QACvC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAE1C,QAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,yBAAyB,CAAC,GAAG,CAAC,4BAA4B,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QACpG,OAAO,IAAI,CAAC,aAAa,CAAC;KAC7B;AAED;;AAEG;AACH,IAAA,cAAc,CAAC,MAAiC,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,4BAA4B;AAC/B,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,4BAA4B;AAC/B,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,0BAA0B;wBAC1B,yBAAyB;AAC5B,qBAAA;AACD,oBAAA,eAAe,EAAE;wBACb,4BAA4B;AAC/B,qBAAA;iBACJ,CAAA;;;AC7GD;;AAEG;;;;"}
|
|
@@ -215,10 +215,10 @@ class UxDynamicModalComponent {
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
/** @nocollapse */ UxDynamicModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynamicModalComponent, deps: [{ token: DYNAMIC_COMPONENT_CONFIG }, { token: i1.UxDynamicComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
218
|
-
/** @nocollapse */ UxDynamicModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: UxDynamicModalComponent, selector: "ux-dynamic-modal", inputs: { e2eAttr: "e2eAttr" }, queries: [{ propertyName: "customFooterContent", first: true, predicate: i0.forwardRef(function () { return UxDynamicModalFooterTagDirective; }), descendants: true }, { propertyName: "customHeaderContent", first: true, predicate: i0.forwardRef(function () { return UxDynamicModalHeaderTagDirective; }), descendants: true }, { propertyName: "customMessageBoxFooterContent", first: true, predicate: i0.forwardRef(function () { return UxDynamicMessageBoxFooterTagDirective; }), descendants: true }], viewQueries: [{ propertyName: "uxModalEl", first: true, predicate: ["modal"], descendants: true }, { propertyName: "uxModalBody", first: true, predicate: ["uxmodalbody"], descendants: true }, { propertyName: "vcCloseButton", first: true, predicate: ["closeButton"], descendants: true }], ngImport: i0, template: "<div id=\"{{config.id}}\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"true\" #modal\n class=\"modal ux-modal {{ config.styleClass }} {{ stateClasses }} eui-u-anim\"\n role=\"dialog\"\n [class.eui-u-anim--slideInDown]=\"!config.isMessageBox\"\n [class.eui-u-anim--flipInY]=\"config.isMessageBox\"\n [class.ux-modal--full-height]=\"config.isSizeFullHeight\"\n [class.ux-modal--medium-height]=\"config.isSizeMediumHeight\"\n [class.ux-modal--draggable]=\"config.isDraggable\"\n [class.eui-u-anim--fast]=\"!config.isMessageBox\"\n [class.eui-u-anim--medium]=\"config.isMessageBox\" \n (keydown)=\"closeModalOnEscape($event)\"\n tabIndex=\"-1\"\n [style.display]=\"'block'\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n\n <div class=\"modal-dialog ux-modal__dialog\" role=\"document\" [style.max-width]=\"config.customWidth\">\n <div class=\"modal-content ux-modal__content\" [class.ux-u-overflow-visible]=\"config.isOverflowVisible\" cdkDrag [cdkDragDisabled]=\"!config.isDraggable\">\n <div class=\"modal-header ux-modal__header\" cdkDragHandle>\n <ng-template [ngIf]=\"customHeaderContent\">\n <ng-content select=\"uxModalHeader\"></ng-content>\n </ng-template>\n <ng-template [ngIf]=\"!customHeaderContent\">\n <h5 class=\"modal-title ux-modal__header-title\">{{ config.titleLabel }}</h5>\n </ng-template>\n <button *ngIf=\"config.isShowCloseButton\" #closeButton\n type=\"button\"\n class=\"ux-modal__header-close\"\n data-dismiss=\"modal\"\n aria-label=\"Close\"\n (click)=\"close($event)\">\n <span class=\"eui-icon eui-icon-close-m\"></span>\n </button>\n </div>\n <div #uxmodalbody class=\"modal-body ux-modal__body {{ config.bodyStyleClass }}\"\n [class.ux-modal--no-padding]=\"config.hasNoBodyPadding\"\n [class.ux-u-overflow-visible]=\"config.isOverflowVisible\">\n <span [outerHTML]=\"config.content\" *ngIf=\"!config.isMessageBox\"></span>\n\n <div class=\"ux-message-box__body\" *ngIf=\"config.isMessageBox\">\n <div class=\"ux-message-box__body-icon\"></div>\n <div class=\"ux-message-box__body-content\">\n <span [outerHTML]=\"config.content\"></span>\n </div>\n </div>\n\n </div>\n\n <div *ngIf=\"config.isFooterVisible\" class=\"modal-footer ux-modal__footer {{ config.footerStyleClass }}\"\n [class.ux-modal__footer--custom-alignment]=\"config.customFooterContent\">\n\n <uxDynamicModalFooter *ngIf=\"config.customFooterContent && !config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicModalFooter>\n\n <uxDynamicMessageBoxFooter *ngIf=\"config.customFooterContent && config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicMessageBoxFooter>\n\n <ng-template [ngIf]=\"!config.customFooterContent\">\n <ng-template [ngIf]=\"!config.isMessageBox\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.dismissActionDisabled\"\n (click)=\"onDismissActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.dismissIconClass}}\"></span>\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.acceptActionDisabled\"\n (click)=\"onAcceptActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.acceptIconClass}}\"></span>\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n\n <ng-template [ngIf]=\"config.isMessageBox\">\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'confirmation'\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n (click)=\"onClick(false)\">\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n (click)=\"onClick(true)\">\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'ok'\">\n <button type=\"button\" class=\"ux-button ux-button--secondary\" (click)=\"onClick(true)\">OK</button>\n </ng-template>\n </ng-template>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n<div class=\"modal-backdrop show\" [style.display]=\"'block'\" (focus)=\"close($event)\"></div>\n", styles: [".ux-modal{bottom:0;left:0;outline:0;overflow:hidden;position:fixed;right:0;top:0;z-index:var(--eui-base-z-index-modal)}.ux-modal__content{background-clip:padding-box;background-color:var(--eui-base-color-white);border:1px solid var(--eui-base-color-grey-10);border-radius:var(--eui-base-border-radius);display:flex;flex-direction:column;max-height:100%;outline:0;overflow:auto;pointer-events:auto;position:relative;width:100%;box-shadow:var(--eui-base-shadow-24)}.ux-modal__dialog{display:flex;flex-direction:column;height:100vh;justify-content:center;margin:1.75rem auto;margin-bottom:0;margin-top:0;max-width:50%;pointer-events:none;position:relative;width:auto}.ux-modal__header{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-10);border-top-left-radius:var(--eui-border-radius-base);border-top-right-radius:var(--eui-border-radius-base);display:flex;justify-content:space-between;min-height:calc(4 * var(--eui-base-spacing-m));padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-modal--draggable .ux-modal__header{cursor:move}.ux-modal__header-title{font-size:var(--eui-base-font-size-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700}.ux-modal__body{flex:1 1 auto;overflow:auto;padding:var(--eui-base-spacing-m);position:relative}.ux-modal__body.ux-modal--no-padding{padding:0}.ux-modal__footer{background-color:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-10);justify-content:flex-end;padding:var(--eui-base-spacing-s);align-items:center;display:flex;width:100%}.ux-modal__footer--custom-alignment{display:block}.ux-modal__footer button:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.ux-modal__header-close{background-color:transparent;border:none;box-shadow:none;color:var(--eui-base-color-grey-25);font-size:var(--eui-base-font-size-2xl);margin-right:calc(-1 * var(--eui-base-spacing-s));outline:0;padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs)}.ux-modal__header-close:hover{color:var(--eui-base-color-text)}.ux-modal__header-close:active,.ux-modal__header-close:focus{outline:2px solid var(--eui-base-color-accessible-focus);outline-offset:-2px;-moz-outline-radius:var(--eui-base-border-radius);transition:outline .15s ease-in-out,border .15s ease-in-out}.ux-modal__header-close.disabled{display:none}uxmodalheader{display:flex;width:100%}.ux-modal--small .ux-modal__dialog{max-width:33%}.ux-modal--large .ux-modal__dialog{max-width:75%}.ux-modal--full-screen .ux-modal__content{height:98%;margin:1.5%;width:97%}.ux-modal--full-screen .ux-modal__dialog{height:100%;max-height:100%;max-width:100%;width:100%}.ux-modal--full-height{max-height:100%}.ux-modal--full-height .ux-modal__dialog{height:100%}.ux-modal--full-height .ux-modal__content{height:95%}.ux-modal--full-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.ux-modal--medium-height{max-height:100%}.ux-modal--medium-height .ux-modal__dialog{height:100%}.ux-modal--medium-height .ux-modal__content{height:50%}.ux-modal--medium-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-open .cdk-overlay-container{z-index:var(--eui-base-z-index-cdk-overlay-container)}.modal-backdrop{background-color:#00000080;height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .5s cubic-bezier(.25,.8,.25,1);width:100vw;z-index:var(--eui-base-z-index-modal-backdrop)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--eui-base-disabled-opacity)}@media screen and (max-width: 995px){.ux-modal__dialog,.ux-modal__dialog[style],.ux-modal--small .ux-modal__dialog,.ux-modal--big .ux-modal__dialog,.ux-modal--full-screen .ux-modal__dialog{margin-left:1.5%;max-width:100%!important;width:97%!important}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i2.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(function () { return i3.UxButtonComponent; }), selector: "ux-button", inputs: ["type", "styleClass", "typeClass", "iconClass", "isOutline", "isSecondary", "isSmall", "isLarge", "isBlock", "isFlat", "isLineWrap", "tabindex", "ariaLabel", "isDisabled", "e2eAttr"] }, { kind: "component", type: i0.forwardRef(function () { return i4.UxLayoutHorizontalComponent; }), selector: "ux-layout-horizontal", inputs: ["styleClass", "e2eAttr"] }, { kind: "directive", type: i0.forwardRef(function () { return i4.UxLayoutHorizontalLeftTagDirective; }), selector: "uxLayoutHorizontalLeft" }, { kind: "directive", type: i0.forwardRef(function () { return i4.UxLayoutHorizontalRightTagDirective; }), selector: "uxLayoutHorizontalRight" }, { kind: "directive", type: i0.forwardRef(function () { return i5.CdkTrapFocus; }), selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i0.forwardRef(function () { return i6.CdkDrag; }), selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i0.forwardRef(function () { return i6.CdkDragHandle; }), selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i0.forwardRef(function () { return UxDynamicModalFooterTagDirective; }), selector: "uxDynamicModalFooter" }, { kind: "directive", type: i0.forwardRef(function () { return UxDynamicMessageBoxFooterTagDirective; }), selector: "uxDynamicMessageBoxFooter" }], encapsulation: i0.ViewEncapsulation.None });
|
|
218
|
+
/** @nocollapse */ UxDynamicModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: UxDynamicModalComponent, selector: "ux-dynamic-modal", inputs: { e2eAttr: "e2eAttr" }, queries: [{ propertyName: "customFooterContent", first: true, predicate: i0.forwardRef(function () { return UxDynamicModalFooterTagDirective; }), descendants: true }, { propertyName: "customHeaderContent", first: true, predicate: i0.forwardRef(function () { return UxDynamicModalHeaderTagDirective; }), descendants: true }, { propertyName: "customMessageBoxFooterContent", first: true, predicate: i0.forwardRef(function () { return UxDynamicMessageBoxFooterTagDirective; }), descendants: true }], viewQueries: [{ propertyName: "uxModalEl", first: true, predicate: ["modal"], descendants: true }, { propertyName: "uxModalBody", first: true, predicate: ["uxmodalbody"], descendants: true }, { propertyName: "vcCloseButton", first: true, predicate: ["closeButton"], descendants: true }], ngImport: i0, template: "<div id=\"{{config.id}}\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"true\" #modal\n class=\"modal ux-modal {{ config.styleClass }} {{ stateClasses }} eui-u-anim\"\n role=\"dialog\"\n [class.eui-u-anim--slideInDown]=\"!config.isMessageBox\"\n [class.eui-u-anim--flipInY]=\"config.isMessageBox\"\n [class.ux-modal--full-height]=\"config.isSizeFullHeight\"\n [class.ux-modal--medium-height]=\"config.isSizeMediumHeight\"\n [class.ux-modal--draggable]=\"config.isDraggable\"\n [class.eui-u-anim--fast]=\"!config.isMessageBox\"\n [class.eui-u-anim--medium]=\"config.isMessageBox\" \n (keydown)=\"closeModalOnEscape($event)\"\n tabIndex=\"-1\"\n [style.display]=\"'block'\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n\n <div class=\"modal-dialog ux-modal__dialog\" role=\"document\" [style.max-width]=\"config.customWidth\">\n <div class=\"modal-content ux-modal__content\" [class.ux-u-overflow-visible]=\"config.isOverflowVisible\" cdkDrag [cdkDragDisabled]=\"!config.isDraggable\">\n <div class=\"modal-header ux-modal__header\" cdkDragHandle>\n <ng-template [ngIf]=\"customHeaderContent\">\n <ng-content select=\"uxModalHeader\"></ng-content>\n </ng-template>\n <ng-template [ngIf]=\"!customHeaderContent\">\n <h5 class=\"modal-title ux-modal__header-title\">{{ config.titleLabel }}</h5>\n </ng-template>\n <button *ngIf=\"config.isShowCloseButton\" #closeButton\n type=\"button\"\n class=\"ux-modal__header-close\"\n data-dismiss=\"modal\"\n aria-label=\"Close\"\n (click)=\"close($event)\">\n <span class=\"eui-icon eui-icon-close-m\"></span>\n </button>\n </div>\n <div #uxmodalbody class=\"modal-body ux-modal__body {{ config.bodyStyleClass }}\"\n [class.ux-modal--no-padding]=\"config.hasNoBodyPadding\"\n [class.ux-u-overflow-visible]=\"config.isOverflowVisible\">\n <span [outerHTML]=\"config.content\" *ngIf=\"!config.isMessageBox\"></span>\n\n <div class=\"ux-message-box__body\" *ngIf=\"config.isMessageBox\">\n <div class=\"ux-message-box__body-icon\"></div>\n <div class=\"ux-message-box__body-content\">\n <span [outerHTML]=\"config.content\"></span>\n </div>\n </div>\n\n </div>\n\n <div *ngIf=\"config.isFooterVisible\" class=\"modal-footer ux-modal__footer {{ config.footerStyleClass }}\"\n [class.ux-modal__footer--custom-alignment]=\"config.customFooterContent\">\n\n <uxDynamicModalFooter *ngIf=\"config.customFooterContent && !config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicModalFooter>\n\n <uxDynamicMessageBoxFooter *ngIf=\"config.customFooterContent && config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicMessageBoxFooter>\n\n <ng-template [ngIf]=\"!config.customFooterContent\">\n <ng-template [ngIf]=\"!config.isMessageBox\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.dismissActionDisabled\"\n (click)=\"onDismissActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.dismissIconClass}}\"></span>\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.acceptActionDisabled\"\n (click)=\"onAcceptActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.acceptIconClass}}\"></span>\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n\n <ng-template [ngIf]=\"config.isMessageBox\">\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'confirmation'\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n (click)=\"onClick(false)\">\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n (click)=\"onClick(true)\">\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'ok'\">\n <button type=\"button\" class=\"ux-button ux-button--secondary\" (click)=\"onClick(true)\">OK</button>\n </ng-template>\n </ng-template>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n<div class=\"modal-backdrop show\" [style.display]=\"'block'\" (focus)=\"close($event)\"></div>\n", styles: [".ux-modal{inset:0;outline:0;overflow:hidden;position:fixed;z-index:var(--eui-base-z-index-modal)}.ux-modal__content{background-clip:padding-box;background-color:var(--eui-base-color-white);border:1px solid var(--eui-base-color-grey-10);border-radius:var(--eui-base-border-radius);display:flex;flex-direction:column;max-height:100%;outline:0;overflow:auto;pointer-events:auto;position:relative;width:100%;box-shadow:var(--eui-base-shadow-24)}.ux-modal__dialog{display:flex;flex-direction:column;height:100vh;justify-content:center;margin:1.75rem auto;margin-bottom:0;margin-top:0;max-width:50%;pointer-events:none;position:relative;width:auto}.ux-modal__header{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-10);border-top-left-radius:var(--eui-border-radius-base);border-top-right-radius:var(--eui-border-radius-base);display:flex;justify-content:space-between;min-height:calc(4 * var(--eui-base-spacing-m));padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-modal--draggable .ux-modal__header{cursor:move}.ux-modal__header-title{font-size:var(--eui-base-font-size-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700}.ux-modal__body{flex:1 1 auto;overflow:auto;padding:var(--eui-base-spacing-m);position:relative}.ux-modal__body.ux-modal--no-padding{padding:0}.ux-modal__footer{background-color:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-10);justify-content:flex-end;padding:var(--eui-base-spacing-s);align-items:center;display:flex;width:100%}.ux-modal__footer--custom-alignment{display:block}.ux-modal__footer button:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.ux-modal__header-close{background-color:transparent;border:none;box-shadow:none;color:var(--eui-base-color-grey-25);font-size:var(--eui-base-font-size-2xl);margin-right:calc(-1 * var(--eui-base-spacing-s));outline:0;padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs)}.ux-modal__header-close:hover{color:var(--eui-base-color-text)}.ux-modal__header-close:active,.ux-modal__header-close:focus{outline:2px solid var(--eui-base-color-accessible-focus);outline-offset:-2px;-moz-outline-radius:var(--eui-base-border-radius);transition:outline .15s ease-in-out,border .15s ease-in-out}.ux-modal__header-close.disabled{display:none}uxmodalheader{display:flex;width:100%}.ux-modal--small .ux-modal__dialog{max-width:33%}.ux-modal--large .ux-modal__dialog{max-width:75%}.ux-modal--full-screen .ux-modal__content{height:98%;margin:1.5%;width:97%}.ux-modal--full-screen .ux-modal__dialog{height:100%;max-height:100%;max-width:100%;width:100%}.ux-modal--full-height{max-height:100%}.ux-modal--full-height .ux-modal__dialog{height:100%}.ux-modal--full-height .ux-modal__content{height:95%}.ux-modal--full-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.ux-modal--medium-height{max-height:100%}.ux-modal--medium-height .ux-modal__dialog{height:100%}.ux-modal--medium-height .ux-modal__content{height:50%}.ux-modal--medium-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-open .cdk-overlay-container{z-index:var(--eui-base-z-index-cdk-overlay-container)}.modal-backdrop{background-color:#00000080;height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .5s cubic-bezier(.25,.8,.25,1);width:100vw;z-index:var(--eui-base-z-index-modal-backdrop)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--eui-base-disabled-opacity)}@media screen and (max-width: 995px){.ux-modal__dialog,.ux-modal__dialog[style],.ux-modal--small .ux-modal__dialog,.ux-modal--big .ux-modal__dialog,.ux-modal--full-screen .ux-modal__dialog{margin-left:1.5%;max-width:100%!important;width:97%!important}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i2.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(function () { return i3.UxButtonComponent; }), selector: "ux-button", inputs: ["type", "styleClass", "typeClass", "iconClass", "isOutline", "isSecondary", "isSmall", "isLarge", "isBlock", "isFlat", "isLineWrap", "tabindex", "ariaLabel", "isDisabled", "e2eAttr"] }, { kind: "component", type: i0.forwardRef(function () { return i4.UxLayoutHorizontalComponent; }), selector: "ux-layout-horizontal", inputs: ["styleClass", "e2eAttr"] }, { kind: "directive", type: i0.forwardRef(function () { return i4.UxLayoutHorizontalLeftTagDirective; }), selector: "uxLayoutHorizontalLeft" }, { kind: "directive", type: i0.forwardRef(function () { return i4.UxLayoutHorizontalRightTagDirective; }), selector: "uxLayoutHorizontalRight" }, { kind: "directive", type: i0.forwardRef(function () { return i5.CdkTrapFocus; }), selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i0.forwardRef(function () { return i6.CdkDrag; }), selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i0.forwardRef(function () { return i6.CdkDragHandle; }), selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i0.forwardRef(function () { return UxDynamicModalFooterTagDirective; }), selector: "uxDynamicModalFooter" }, { kind: "directive", type: i0.forwardRef(function () { return UxDynamicMessageBoxFooterTagDirective; }), selector: "uxDynamicMessageBoxFooter" }], encapsulation: i0.ViewEncapsulation.None });
|
|
219
219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: UxDynamicModalComponent, decorators: [{
|
|
220
220
|
type: Component,
|
|
221
|
-
args: [{ selector: 'ux-dynamic-modal', encapsulation: ViewEncapsulation.None, template: "<div id=\"{{config.id}}\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"true\" #modal\n class=\"modal ux-modal {{ config.styleClass }} {{ stateClasses }} eui-u-anim\"\n role=\"dialog\"\n [class.eui-u-anim--slideInDown]=\"!config.isMessageBox\"\n [class.eui-u-anim--flipInY]=\"config.isMessageBox\"\n [class.ux-modal--full-height]=\"config.isSizeFullHeight\"\n [class.ux-modal--medium-height]=\"config.isSizeMediumHeight\"\n [class.ux-modal--draggable]=\"config.isDraggable\"\n [class.eui-u-anim--fast]=\"!config.isMessageBox\"\n [class.eui-u-anim--medium]=\"config.isMessageBox\" \n (keydown)=\"closeModalOnEscape($event)\"\n tabIndex=\"-1\"\n [style.display]=\"'block'\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n\n <div class=\"modal-dialog ux-modal__dialog\" role=\"document\" [style.max-width]=\"config.customWidth\">\n <div class=\"modal-content ux-modal__content\" [class.ux-u-overflow-visible]=\"config.isOverflowVisible\" cdkDrag [cdkDragDisabled]=\"!config.isDraggable\">\n <div class=\"modal-header ux-modal__header\" cdkDragHandle>\n <ng-template [ngIf]=\"customHeaderContent\">\n <ng-content select=\"uxModalHeader\"></ng-content>\n </ng-template>\n <ng-template [ngIf]=\"!customHeaderContent\">\n <h5 class=\"modal-title ux-modal__header-title\">{{ config.titleLabel }}</h5>\n </ng-template>\n <button *ngIf=\"config.isShowCloseButton\" #closeButton\n type=\"button\"\n class=\"ux-modal__header-close\"\n data-dismiss=\"modal\"\n aria-label=\"Close\"\n (click)=\"close($event)\">\n <span class=\"eui-icon eui-icon-close-m\"></span>\n </button>\n </div>\n <div #uxmodalbody class=\"modal-body ux-modal__body {{ config.bodyStyleClass }}\"\n [class.ux-modal--no-padding]=\"config.hasNoBodyPadding\"\n [class.ux-u-overflow-visible]=\"config.isOverflowVisible\">\n <span [outerHTML]=\"config.content\" *ngIf=\"!config.isMessageBox\"></span>\n\n <div class=\"ux-message-box__body\" *ngIf=\"config.isMessageBox\">\n <div class=\"ux-message-box__body-icon\"></div>\n <div class=\"ux-message-box__body-content\">\n <span [outerHTML]=\"config.content\"></span>\n </div>\n </div>\n\n </div>\n\n <div *ngIf=\"config.isFooterVisible\" class=\"modal-footer ux-modal__footer {{ config.footerStyleClass }}\"\n [class.ux-modal__footer--custom-alignment]=\"config.customFooterContent\">\n\n <uxDynamicModalFooter *ngIf=\"config.customFooterContent && !config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicModalFooter>\n\n <uxDynamicMessageBoxFooter *ngIf=\"config.customFooterContent && config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicMessageBoxFooter>\n\n <ng-template [ngIf]=\"!config.customFooterContent\">\n <ng-template [ngIf]=\"!config.isMessageBox\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.dismissActionDisabled\"\n (click)=\"onDismissActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.dismissIconClass}}\"></span>\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.acceptActionDisabled\"\n (click)=\"onAcceptActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.acceptIconClass}}\"></span>\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n\n <ng-template [ngIf]=\"config.isMessageBox\">\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'confirmation'\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n (click)=\"onClick(false)\">\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n (click)=\"onClick(true)\">\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'ok'\">\n <button type=\"button\" class=\"ux-button ux-button--secondary\" (click)=\"onClick(true)\">OK</button>\n </ng-template>\n </ng-template>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n<div class=\"modal-backdrop show\" [style.display]=\"'block'\" (focus)=\"close($event)\"></div>\n", styles: [".ux-modal{bottom:0;left:0;outline:0;overflow:hidden;position:fixed;right:0;top:0;z-index:var(--eui-base-z-index-modal)}.ux-modal__content{background-clip:padding-box;background-color:var(--eui-base-color-white);border:1px solid var(--eui-base-color-grey-10);border-radius:var(--eui-base-border-radius);display:flex;flex-direction:column;max-height:100%;outline:0;overflow:auto;pointer-events:auto;position:relative;width:100%;box-shadow:var(--eui-base-shadow-24)}.ux-modal__dialog{display:flex;flex-direction:column;height:100vh;justify-content:center;margin:1.75rem auto;margin-bottom:0;margin-top:0;max-width:50%;pointer-events:none;position:relative;width:auto}.ux-modal__header{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-10);border-top-left-radius:var(--eui-border-radius-base);border-top-right-radius:var(--eui-border-radius-base);display:flex;justify-content:space-between;min-height:calc(4 * var(--eui-base-spacing-m));padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-modal--draggable .ux-modal__header{cursor:move}.ux-modal__header-title{font-size:var(--eui-base-font-size-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700}.ux-modal__body{flex:1 1 auto;overflow:auto;padding:var(--eui-base-spacing-m);position:relative}.ux-modal__body.ux-modal--no-padding{padding:0}.ux-modal__footer{background-color:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-10);justify-content:flex-end;padding:var(--eui-base-spacing-s);align-items:center;display:flex;width:100%}.ux-modal__footer--custom-alignment{display:block}.ux-modal__footer button:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.ux-modal__header-close{background-color:transparent;border:none;box-shadow:none;color:var(--eui-base-color-grey-25);font-size:var(--eui-base-font-size-2xl);margin-right:calc(-1 * var(--eui-base-spacing-s));outline:0;padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs)}.ux-modal__header-close:hover{color:var(--eui-base-color-text)}.ux-modal__header-close:active,.ux-modal__header-close:focus{outline:2px solid var(--eui-base-color-accessible-focus);outline-offset:-2px;-moz-outline-radius:var(--eui-base-border-radius);transition:outline .15s ease-in-out,border .15s ease-in-out}.ux-modal__header-close.disabled{display:none}uxmodalheader{display:flex;width:100%}.ux-modal--small .ux-modal__dialog{max-width:33%}.ux-modal--large .ux-modal__dialog{max-width:75%}.ux-modal--full-screen .ux-modal__content{height:98%;margin:1.5%;width:97%}.ux-modal--full-screen .ux-modal__dialog{height:100%;max-height:100%;max-width:100%;width:100%}.ux-modal--full-height{max-height:100%}.ux-modal--full-height .ux-modal__dialog{height:100%}.ux-modal--full-height .ux-modal__content{height:95%}.ux-modal--full-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.ux-modal--medium-height{max-height:100%}.ux-modal--medium-height .ux-modal__dialog{height:100%}.ux-modal--medium-height .ux-modal__content{height:50%}.ux-modal--medium-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-open .cdk-overlay-container{z-index:var(--eui-base-z-index-cdk-overlay-container)}.modal-backdrop{background-color:#00000080;height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .5s cubic-bezier(.25,.8,.25,1);width:100vw;z-index:var(--eui-base-z-index-modal-backdrop)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--eui-base-disabled-opacity)}@media screen and (max-width: 995px){.ux-modal__dialog,.ux-modal__dialog[style],.ux-modal--small .ux-modal__dialog,.ux-modal--big .ux-modal__dialog,.ux-modal--full-screen .ux-modal__dialog{margin-left:1.5%;max-width:100%!important;width:97%!important}}\n"] }]
|
|
221
|
+
args: [{ selector: 'ux-dynamic-modal', encapsulation: ViewEncapsulation.None, template: "<div id=\"{{config.id}}\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"true\" #modal\n class=\"modal ux-modal {{ config.styleClass }} {{ stateClasses }} eui-u-anim\"\n role=\"dialog\"\n [class.eui-u-anim--slideInDown]=\"!config.isMessageBox\"\n [class.eui-u-anim--flipInY]=\"config.isMessageBox\"\n [class.ux-modal--full-height]=\"config.isSizeFullHeight\"\n [class.ux-modal--medium-height]=\"config.isSizeMediumHeight\"\n [class.ux-modal--draggable]=\"config.isDraggable\"\n [class.eui-u-anim--fast]=\"!config.isMessageBox\"\n [class.eui-u-anim--medium]=\"config.isMessageBox\" \n (keydown)=\"closeModalOnEscape($event)\"\n tabIndex=\"-1\"\n [style.display]=\"'block'\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n\n <div class=\"modal-dialog ux-modal__dialog\" role=\"document\" [style.max-width]=\"config.customWidth\">\n <div class=\"modal-content ux-modal__content\" [class.ux-u-overflow-visible]=\"config.isOverflowVisible\" cdkDrag [cdkDragDisabled]=\"!config.isDraggable\">\n <div class=\"modal-header ux-modal__header\" cdkDragHandle>\n <ng-template [ngIf]=\"customHeaderContent\">\n <ng-content select=\"uxModalHeader\"></ng-content>\n </ng-template>\n <ng-template [ngIf]=\"!customHeaderContent\">\n <h5 class=\"modal-title ux-modal__header-title\">{{ config.titleLabel }}</h5>\n </ng-template>\n <button *ngIf=\"config.isShowCloseButton\" #closeButton\n type=\"button\"\n class=\"ux-modal__header-close\"\n data-dismiss=\"modal\"\n aria-label=\"Close\"\n (click)=\"close($event)\">\n <span class=\"eui-icon eui-icon-close-m\"></span>\n </button>\n </div>\n <div #uxmodalbody class=\"modal-body ux-modal__body {{ config.bodyStyleClass }}\"\n [class.ux-modal--no-padding]=\"config.hasNoBodyPadding\"\n [class.ux-u-overflow-visible]=\"config.isOverflowVisible\">\n <span [outerHTML]=\"config.content\" *ngIf=\"!config.isMessageBox\"></span>\n\n <div class=\"ux-message-box__body\" *ngIf=\"config.isMessageBox\">\n <div class=\"ux-message-box__body-icon\"></div>\n <div class=\"ux-message-box__body-content\">\n <span [outerHTML]=\"config.content\"></span>\n </div>\n </div>\n\n </div>\n\n <div *ngIf=\"config.isFooterVisible\" class=\"modal-footer ux-modal__footer {{ config.footerStyleClass }}\"\n [class.ux-modal__footer--custom-alignment]=\"config.customFooterContent\">\n\n <uxDynamicModalFooter *ngIf=\"config.customFooterContent && !config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicModalFooter>\n\n <uxDynamicMessageBoxFooter *ngIf=\"config.customFooterContent && config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicMessageBoxFooter>\n\n <ng-template [ngIf]=\"!config.customFooterContent\">\n <ng-template [ngIf]=\"!config.isMessageBox\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.dismissActionDisabled\"\n (click)=\"onDismissActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.dismissIconClass}}\"></span>\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.acceptActionDisabled\"\n (click)=\"onAcceptActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.acceptIconClass}}\"></span>\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n\n <ng-template [ngIf]=\"config.isMessageBox\">\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'confirmation'\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n (click)=\"onClick(false)\">\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n (click)=\"onClick(true)\">\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'ok'\">\n <button type=\"button\" class=\"ux-button ux-button--secondary\" (click)=\"onClick(true)\">OK</button>\n </ng-template>\n </ng-template>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n<div class=\"modal-backdrop show\" [style.display]=\"'block'\" (focus)=\"close($event)\"></div>\n", styles: [".ux-modal{inset:0;outline:0;overflow:hidden;position:fixed;z-index:var(--eui-base-z-index-modal)}.ux-modal__content{background-clip:padding-box;background-color:var(--eui-base-color-white);border:1px solid var(--eui-base-color-grey-10);border-radius:var(--eui-base-border-radius);display:flex;flex-direction:column;max-height:100%;outline:0;overflow:auto;pointer-events:auto;position:relative;width:100%;box-shadow:var(--eui-base-shadow-24)}.ux-modal__dialog{display:flex;flex-direction:column;height:100vh;justify-content:center;margin:1.75rem auto;margin-bottom:0;margin-top:0;max-width:50%;pointer-events:none;position:relative;width:auto}.ux-modal__header{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-10);border-top-left-radius:var(--eui-border-radius-base);border-top-right-radius:var(--eui-border-radius-base);display:flex;justify-content:space-between;min-height:calc(4 * var(--eui-base-spacing-m));padding:var(--eui-base-spacing-s) var(--eui-base-spacing-m)}.ux-modal--draggable .ux-modal__header{cursor:move}.ux-modal__header-title{font-size:var(--eui-base-font-size-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-weight:700}.ux-modal__body{flex:1 1 auto;overflow:auto;padding:var(--eui-base-spacing-m);position:relative}.ux-modal__body.ux-modal--no-padding{padding:0}.ux-modal__footer{background-color:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-10);justify-content:flex-end;padding:var(--eui-base-spacing-s);align-items:center;display:flex;width:100%}.ux-modal__footer--custom-alignment{display:block}.ux-modal__footer button:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.ux-modal__header-close{background-color:transparent;border:none;box-shadow:none;color:var(--eui-base-color-grey-25);font-size:var(--eui-base-font-size-2xl);margin-right:calc(-1 * var(--eui-base-spacing-s));outline:0;padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs)}.ux-modal__header-close:hover{color:var(--eui-base-color-text)}.ux-modal__header-close:active,.ux-modal__header-close:focus{outline:2px solid var(--eui-base-color-accessible-focus);outline-offset:-2px;-moz-outline-radius:var(--eui-base-border-radius);transition:outline .15s ease-in-out,border .15s ease-in-out}.ux-modal__header-close.disabled{display:none}uxmodalheader{display:flex;width:100%}.ux-modal--small .ux-modal__dialog{max-width:33%}.ux-modal--large .ux-modal__dialog{max-width:75%}.ux-modal--full-screen .ux-modal__content{height:98%;margin:1.5%;width:97%}.ux-modal--full-screen .ux-modal__dialog{height:100%;max-height:100%;max-width:100%;width:100%}.ux-modal--full-height{max-height:100%}.ux-modal--full-height .ux-modal__dialog{height:100%}.ux-modal--full-height .ux-modal__content{height:95%}.ux-modal--full-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.ux-modal--medium-height{max-height:100%}.ux-modal--medium-height .ux-modal__dialog{height:100%}.ux-modal--medium-height .ux-modal__content{height:50%}.ux-modal--medium-height .ux-modal__body{overflow-x:hidden;overflow-y:scroll}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-open .cdk-overlay-container{z-index:var(--eui-base-z-index-cdk-overlay-container)}.modal-backdrop{background-color:#00000080;height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .5s cubic-bezier(.25,.8,.25,1);width:100vw;z-index:var(--eui-base-z-index-modal-backdrop)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--eui-base-disabled-opacity)}@media screen and (max-width: 995px){.ux-modal__dialog,.ux-modal__dialog[style],.ux-modal--small .ux-modal__dialog,.ux-modal--big .ux-modal__dialog,.ux-modal--full-screen .ux-modal__dialog{margin-left:1.5%;max-width:100%!important;width:97%!important}}\n"] }]
|
|
222
222
|
}], ctorParameters: function () {
|
|
223
223
|
return [{ type: UxDynamicModalConfig, decorators: [{
|
|
224
224
|
type: Inject,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-components-legacy-ux-dynamic-modal.mjs","sources":["../../legacy/ux-dynamic-modal/ux-dynamic-modal.config.model.ts","../../legacy/ux-dynamic-modal/ux-dynamic-modal.service.ts","../../legacy/ux-dynamic-modal/ux-dynamic-modal.component.ts","../../legacy/ux-dynamic-modal/ux-dynamic-modal.component.html","../../legacy/ux-dynamic-modal/eui-components-legacy-ux-dynamic-modal.ts"],"sourcesContent":["import { UxButtonConfig } from '@eui/components/legacy/ux-button';\n\nexport interface UxDynamicModalConfig {\n id: string;\n styleClass: string;\n titleLabel: string;\n dismissLabel: string;\n dismissDisabled: boolean;\n acceptLabel: string;\n acceptActionDisabled: boolean;\n dismissActionDisabled: boolean;\n isFooterVisible: boolean;\n isKeepBodyScroll: boolean;\n isSizeSmall: boolean;\n isSizeLarge: boolean;\n isSizeFullScreen: boolean;\n isSizeFullHeight: boolean;\n isSizeMediumHeight: boolean;\n isShowActionIcons: boolean;\n messageBoxType: string;\n acceptIconClass: string;\n dismissIconClass: string;\n hasNoBodyPadding: boolean;\n customWidth: string;\n isFooterCustomAlignment: boolean;\n isCloseModalOnEscape: boolean;\n isShowCloseButton: boolean;\n isMessageBox: boolean;\n isHandleCloseOnDismiss: boolean;\n isHandleCloseOnAccept: boolean;\n isHandleCloseOnClose: boolean;\n bodyStyleClass: string;\n footerStyleClass: string;\n isOverflowVisible: boolean;\n content: string;\n isDraggable: boolean;\n onAnimationEnd?: () => any;\n onClick?: (value) => any;\n bodyInjectedComponent: {\n component: any,\n config: any,\n };\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n onDismiss?: (portalHostRef, portalRef) => any;\n onAccept?: (portalHostRef, portalRef) => any;\n onClose?: (portalHostRef, portalRef) => any;\n}\n\nexport class UxDynamicModalConfig implements UxDynamicModalConfig {\n id: string = 'single_modal';\n styleClass: string;\n titleLabel: string;\n dismissLabel: string = 'Cancel';\n dismissDisabled: boolean = false;\n acceptLabel: string = 'OK';\n acceptActionDisabled: boolean = false;\n dismissActionDisabled: boolean = false;\n isFooterVisible: boolean = true;\n isKeepBodyScroll: boolean = false;\n isSizeSmall: boolean = false;\n isSizeLarge: boolean = false;\n isSizeFullScreen: boolean = false;\n isSizeFullHeight: boolean = false;\n isSizeMediumHeight: boolean = false;\n isShowActionIcons: boolean = false;\n messageBoxType: string = '';\n acceptIconClass: string = 'ux-icon ux-icon-check';\n dismissIconClass: string = 'ux-icon ux-icon-times';\n hasNoBodyPadding: boolean = false;\n customWidth: string;\n isFooterCustomAlignment: boolean = false;\n isCloseModalOnEscape: boolean = true;\n isShowCloseButton: boolean = true;\n isMessageBox: boolean = false;\n isHandleCloseOnDismiss: boolean = true;\n isHandleCloseOnAccept: boolean = true;\n isHandleCloseOnClose: boolean = true;\n bodyStyleClass: string;\n footerStyleClass: string;\n isOverflowVisible: boolean = false;\n content: string = '';\n isDraggable = false;\n bodyInjectedComponent: {\n component: any,\n config: any,\n };\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n\n onAnimationEnd?: () => any;\n onClick?: (value) => any;\n onDismiss?: (portalHostRef, portalRef) => any;\n onAccept?: (portalHostRef, portalRef) => any;\n onClose?: (portalHostRef, portalRef) => any;\n\n constructor(values) {\n Object.assign(this, values);\n }\n}\n","import { Injectable, ComponentRef } from '@angular/core';\nimport { DomPortalOutlet, Portal, ComponentPortal } from '@angular/cdk/portal';\n\nimport { UxDynamicComponentService } from '@eui/core';\nimport { UxDynamicModalConfig } from './ux-dynamic-modal.config.model';\nimport { UxDynamicModalComponent } from './ux-dynamic-modal.component';\n// import { UxDynamicMessageBoxComponent } from '../ux-dynamic-message-box/ux-dynamic-message-box.component';\n// import { UxDynamicMessageBoxConfig } from '../ux-dynamic-message-box/ux-dynamic-message-box.config.model';\n\n@Injectable()\nexport class UxDynamicModalService {\n\n private openModalData: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n\n /**\n * Constructor\n */\n constructor(private uxDynamicComponentService: UxDynamicComponentService) {}\n\n /**\n * Open a modal dynamically (Add it to the DOM)\n */\n openModal(config: UxDynamicModalConfig): any {\n // openModal(config: UxDynamicMessageBoxConfig | UxDynamicModalConfig): any {\n\n let component;\n\n document.body.classList.add('modal-open');\n\n if (config instanceof UxDynamicModalConfig) {\n if (!(<UxDynamicModalConfig>config).onClose) {\n (<UxDynamicModalConfig>config).onClose = this.closeModal.bind(this);\n }\n component = UxDynamicModalComponent;\n } else {\n throw new Error(`Config is not instance of 'UxDynamicModalConfig'`);\n }\n\n this.openModalData = this.uxDynamicComponentService.add(component, null, config);\n return this.openModalData;\n }\n\n /**\n * Close a modal created dynamically (Remove it from the DOM)\n */\n closeModal(portalHostRef: DomPortalOutlet, portalRef?: Portal<any>) {\n document.body.classList.remove('modal-open');\n this.uxDynamicComponentService.remove(portalHostRef);\n this.openModalData = null;\n }\n\n}\n","import {\n AfterContentInit,\n AfterViewInit,\n Component,\n ComponentRef,\n ContentChild,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n NgModule,\n OnDestroy,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DYNAMIC_COMPONENT_CONFIG, UxDynamicComponentService } from '@eui/core';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { fromEvent, Subscription } from 'rxjs';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\nimport { ComponentPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { UxDynamicModalConfig } from './ux-dynamic-modal.config.model';\nimport { UxButtonComponentModule, UxButtonConfig } from '@eui/components/legacy/ux-button';\nimport { UxLayoutHorizontalModule } from '@eui/components/legacy/layout';\nimport { UxDynamicModalService } from './ux-dynamic-modal.service';\n\n@Component({\n selector: 'ux-dynamic-modal',\n templateUrl: './ux-dynamic-modal.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class UxDynamicModalComponent implements AfterContentInit, AfterViewInit, OnDestroy {\n\n @Input() e2eAttr: string = 'ux-dynamic-modal';\n\n public stateClasses: string = '';\n public config: UxDynamicModalConfig;\n\n @ViewChild('modal') uxModalEl: ElementRef<HTMLDivElement>;\n @ViewChild('uxmodalbody') uxModalBody: ElementRef<HTMLDivElement>;\n @ViewChild('closeButton') vcCloseButton: ElementRef<HTMLButtonElement>;\n\n @ContentChild(forwardRef(() => UxDynamicModalFooterTagDirective))\n customFooterContent: QueryList<UxDynamicModalFooterTagDirective>;\n @ContentChild(forwardRef(() => UxDynamicModalHeaderTagDirective))\n customHeaderContent: QueryList<UxDynamicModalHeaderTagDirective>;\n @ContentChild(forwardRef(() => UxDynamicMessageBoxFooterTagDirective))\n customMessageBoxFooterContent: QueryList<UxDynamicMessageBoxFooterTagDirective>;\n\n private injectedComponent: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n animationEndSubscription: Subscription;\n\n constructor(\n @Inject(DYNAMIC_COMPONENT_CONFIG) uxDynamicComponentConfig: UxDynamicModalConfig,\n private uxDynamicComponentService: UxDynamicComponentService,\n ) {\n this.config = uxDynamicComponentConfig;\n }\n\n ngAfterContentInit() {\n\n if (this.config.isSizeSmall) {\n this.stateClasses = 'ux-modal--small';\n }\n\n if (this.config.isSizeLarge) {\n this.stateClasses = 'ux-modal--large';\n }\n\n if (this.config.isSizeFullScreen) {\n this.stateClasses = 'ux-modal--full-screen';\n }\n\n if (this.config.bodyInjectedComponent && this.config.bodyInjectedComponent.component) {\n setTimeout(() => {\n\n Object.assign(this.config.bodyInjectedComponent.config, {\n parent: {\n portalHostRef: this.config['portalHostRef'],\n portalRef: this.config['portalRef'],\n portalComponentInstanceRef: this.config['portalComponentInstanceRef'],\n }\n });\n\n this.injectedComponent = this.uxDynamicComponentService.add(this.config.bodyInjectedComponent.component,\n this.uxModalBody,\n this.config.bodyInjectedComponent.config);\n\n if (this.injectedComponent) {\n Object.assign(this.config, {\n child: {\n portalHostRef: this.injectedComponent['portalHost'],\n portalRef: this.injectedComponent['portal'],\n portalComponentInstanceRef: this.injectedComponent['portalComponentInstance'],\n }\n });\n }\n\n }, 0);\n }\n }\n\n ngAfterViewInit() {\n if (this.vcCloseButton) {\n this.vcCloseButton.nativeElement.focus();\n }\n\n const modalEl = this.uxModalEl.nativeElement;\n this.animationEndSubscription = fromEvent(modalEl, 'animationend').subscribe(() => {\n if (this.config.onAnimationEnd) {\n this.config.onAnimationEnd();\n }\n });\n }\n\n ngOnDestroy() {\n if (this.animationEndSubscription) {\n this.animationEndSubscription.unsubscribe();\n }\n\n if (this.injectedComponent) {\n this.uxDynamicComponentService.remove(this.injectedComponent.portalHost);\n }\n }\n\n /**\n * Close modal function\n */\n public close(event: Event) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n /**\n * Close modal on escape(key 27) press\n */\n public closeModalOnEscape(event: KeyboardEvent) {\n if (this.config.isCloseModalOnEscape) {\n // eslint-disable-next-line\n if (event.keyCode === 27) {\n this.close(event);\n }\n }\n }\n\n /**\n * Trigger by the message-box when user click on OK button\n */\n public onAcceptActionClick(event: any) {\n if (this.config.isHandleCloseOnAccept) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onAccept) {\n this.config.onAccept(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onClick) {\n this.config.onClick(true);\n }\n }\n\n /**\n * Trigger by the message-box when user click on NO button\n */\n public onDismissActionClick(event: any) {\n if (this.config.isHandleCloseOnDismiss) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onDismiss) {\n this.config.onDismiss(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onClick) {\n this.config.onClick(false);\n }\n }\n\n /**\n * Trigger by the message-box when user click on a custom buttons defined in the config\n */\n public customFooterButtonClick(button: UxButtonConfig) {\n button.onClick(this.config['portalHostRef'], this.config['portalRef'], this.config['portalComponentInstanceRef']);\n }\n\n /**\n * Trigger by the message-box when user click on NO or OK buttons\n */\n public onClick(value: boolean) {\n if (this.config.onClick) {\n this.config.onClick(value);\n }\n\n if (this.config.onClose) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n }\n}\n\n/* eslint-disable */\n@Directive({selector: 'uxDynamicModalBody'})\nexport class UxDynamicModalBodyTagDirective {\n}\n\n@Directive({selector: 'uxDynamicModalFooter'})\nexport class UxDynamicModalFooterTagDirective {\n}\n\n@Directive({selector: 'uxDynamicModalHeader'})\nexport class UxDynamicModalHeaderTagDirective {\n}\n\n@Directive({selector: 'uxDynamicMessageBoxFooter'})\nexport class UxDynamicMessageBoxFooterTagDirective {\n}\n/* eslint-enable */\n\n@NgModule({\n imports: [\n CommonModule,\n UxButtonComponentModule,\n UxLayoutHorizontalModule,\n A11yModule,\n DragDropModule,\n ],\n exports: [\n UxDynamicModalComponent,\n UxDynamicModalBodyTagDirective,\n UxDynamicModalFooterTagDirective,\n UxDynamicModalHeaderTagDirective,\n UxDynamicMessageBoxFooterTagDirective,\n ],\n declarations: [\n UxDynamicModalComponent,\n UxDynamicModalBodyTagDirective,\n UxDynamicModalFooterTagDirective,\n UxDynamicModalHeaderTagDirective,\n UxDynamicMessageBoxFooterTagDirective,\n ],\n entryComponents: [\n UxDynamicModalComponent,\n ],\n providers: [\n UxDynamicModalService,\n UxDynamicComponentService,\n ],\n})\n\nexport class UxDynamicModalComponentModule {\n}\n","<div id=\"{{config.id}}\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"true\" #modal\n class=\"modal ux-modal {{ config.styleClass }} {{ stateClasses }} eui-u-anim\"\n role=\"dialog\"\n [class.eui-u-anim--slideInDown]=\"!config.isMessageBox\"\n [class.eui-u-anim--flipInY]=\"config.isMessageBox\"\n [class.ux-modal--full-height]=\"config.isSizeFullHeight\"\n [class.ux-modal--medium-height]=\"config.isSizeMediumHeight\"\n [class.ux-modal--draggable]=\"config.isDraggable\"\n [class.eui-u-anim--fast]=\"!config.isMessageBox\"\n [class.eui-u-anim--medium]=\"config.isMessageBox\" \n (keydown)=\"closeModalOnEscape($event)\"\n tabIndex=\"-1\"\n [style.display]=\"'block'\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n\n <div class=\"modal-dialog ux-modal__dialog\" role=\"document\" [style.max-width]=\"config.customWidth\">\n <div class=\"modal-content ux-modal__content\" [class.ux-u-overflow-visible]=\"config.isOverflowVisible\" cdkDrag [cdkDragDisabled]=\"!config.isDraggable\">\n <div class=\"modal-header ux-modal__header\" cdkDragHandle>\n <ng-template [ngIf]=\"customHeaderContent\">\n <ng-content select=\"uxModalHeader\"></ng-content>\n </ng-template>\n <ng-template [ngIf]=\"!customHeaderContent\">\n <h5 class=\"modal-title ux-modal__header-title\">{{ config.titleLabel }}</h5>\n </ng-template>\n <button *ngIf=\"config.isShowCloseButton\" #closeButton\n type=\"button\"\n class=\"ux-modal__header-close\"\n data-dismiss=\"modal\"\n aria-label=\"Close\"\n (click)=\"close($event)\">\n <span class=\"eui-icon eui-icon-close-m\"></span>\n </button>\n </div>\n <div #uxmodalbody class=\"modal-body ux-modal__body {{ config.bodyStyleClass }}\"\n [class.ux-modal--no-padding]=\"config.hasNoBodyPadding\"\n [class.ux-u-overflow-visible]=\"config.isOverflowVisible\">\n <span [outerHTML]=\"config.content\" *ngIf=\"!config.isMessageBox\"></span>\n\n <div class=\"ux-message-box__body\" *ngIf=\"config.isMessageBox\">\n <div class=\"ux-message-box__body-icon\"></div>\n <div class=\"ux-message-box__body-content\">\n <span [outerHTML]=\"config.content\"></span>\n </div>\n </div>\n\n </div>\n\n <div *ngIf=\"config.isFooterVisible\" class=\"modal-footer ux-modal__footer {{ config.footerStyleClass }}\"\n [class.ux-modal__footer--custom-alignment]=\"config.customFooterContent\">\n\n <uxDynamicModalFooter *ngIf=\"config.customFooterContent && !config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicModalFooter>\n\n <uxDynamicMessageBoxFooter *ngIf=\"config.customFooterContent && config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicMessageBoxFooter>\n\n <ng-template [ngIf]=\"!config.customFooterContent\">\n <ng-template [ngIf]=\"!config.isMessageBox\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.dismissActionDisabled\"\n (click)=\"onDismissActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.dismissIconClass}}\"></span>\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.acceptActionDisabled\"\n (click)=\"onAcceptActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.acceptIconClass}}\"></span>\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n\n <ng-template [ngIf]=\"config.isMessageBox\">\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'confirmation'\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n (click)=\"onClick(false)\">\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n (click)=\"onClick(true)\">\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'ok'\">\n <button type=\"button\" class=\"ux-button ux-button--secondary\" (click)=\"onClick(true)\">OK</button>\n </ng-template>\n </ng-template>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n<div class=\"modal-backdrop show\" [style.display]=\"'block'\" (focus)=\"close($event)\"></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAuDa,oBAAoB,CAAA;AAqD7B,IAAA,WAAA,CAAY,MAAM,EAAA;AApDlB,QAAA,IAAE,CAAA,EAAA,GAAW,cAAc,CAAC;AAG5B,QAAA,IAAY,CAAA,YAAA,GAAW,QAAQ,CAAC;AAChC,QAAA,IAAe,CAAA,eAAA,GAAY,KAAK,CAAC;AACjC,QAAA,IAAW,CAAA,WAAA,GAAW,IAAI,CAAC;AAC3B,QAAA,IAAoB,CAAA,oBAAA,GAAY,KAAK,CAAC;AACtC,QAAA,IAAqB,CAAA,qBAAA,GAAY,KAAK,CAAC;AACvC,QAAA,IAAe,CAAA,eAAA,GAAY,IAAI,CAAC;AAChC,QAAA,IAAgB,CAAA,gBAAA,GAAY,KAAK,CAAC;AAClC,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK,CAAC;AAC7B,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK,CAAC;AAC7B,QAAA,IAAgB,CAAA,gBAAA,GAAY,KAAK,CAAC;AAClC,QAAA,IAAgB,CAAA,gBAAA,GAAY,KAAK,CAAC;AAClC,QAAA,IAAkB,CAAA,kBAAA,GAAY,KAAK,CAAC;AACpC,QAAA,IAAiB,CAAA,iBAAA,GAAY,KAAK,CAAC;AACnC,QAAA,IAAc,CAAA,cAAA,GAAW,EAAE,CAAC;AAC5B,QAAA,IAAe,CAAA,eAAA,GAAW,uBAAuB,CAAC;AAClD,QAAA,IAAgB,CAAA,gBAAA,GAAW,uBAAuB,CAAC;AACnD,QAAA,IAAgB,CAAA,gBAAA,GAAY,KAAK,CAAC;AAElC,QAAA,IAAuB,CAAA,uBAAA,GAAY,KAAK,CAAC;AACzC,QAAA,IAAoB,CAAA,oBAAA,GAAY,IAAI,CAAC;AACrC,QAAA,IAAiB,CAAA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BACL,YAAY;wBACZ,uBAAuB;wBACvB,wBAAwB;wBACxB,UAAU;wBACV,cAAc;AACjB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,uBAAuB;wBACvB,8BAA8B;wBAC9B,gCAAgC;wBAChC,gCAAgC;wBAChC,qCAAqC;AACxC,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,uBAAuB;wBACvB,8BAA8B;wBAC9B,gCAAgC;wBAChC,gCAAgC;wBAChC,qCAAqC;AACxC,qBAAA;AACD,oBAAA,eAAe,EAAE;wBACb,uBAAuB;AAC1B,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,qBAAqB;wBACrB,yBAAyB;AAC5B,qBAAA;iBACJ,CAAA;;;AE9PD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-components-legacy-ux-dynamic-modal.mjs","sources":["../../legacy/ux-dynamic-modal/ux-dynamic-modal.config.model.ts","../../legacy/ux-dynamic-modal/ux-dynamic-modal.service.ts","../../legacy/ux-dynamic-modal/ux-dynamic-modal.component.ts","../../legacy/ux-dynamic-modal/ux-dynamic-modal.component.html","../../legacy/ux-dynamic-modal/eui-components-legacy-ux-dynamic-modal.ts"],"sourcesContent":["import { UxButtonConfig } from '@eui/components/legacy/ux-button';\n\nexport interface UxDynamicModalConfig {\n id: string;\n styleClass: string;\n titleLabel: string;\n dismissLabel: string;\n dismissDisabled: boolean;\n acceptLabel: string;\n acceptActionDisabled: boolean;\n dismissActionDisabled: boolean;\n isFooterVisible: boolean;\n isKeepBodyScroll: boolean;\n isSizeSmall: boolean;\n isSizeLarge: boolean;\n isSizeFullScreen: boolean;\n isSizeFullHeight: boolean;\n isSizeMediumHeight: boolean;\n isShowActionIcons: boolean;\n messageBoxType: string;\n acceptIconClass: string;\n dismissIconClass: string;\n hasNoBodyPadding: boolean;\n customWidth: string;\n isFooterCustomAlignment: boolean;\n isCloseModalOnEscape: boolean;\n isShowCloseButton: boolean;\n isMessageBox: boolean;\n isHandleCloseOnDismiss: boolean;\n isHandleCloseOnAccept: boolean;\n isHandleCloseOnClose: boolean;\n bodyStyleClass: string;\n footerStyleClass: string;\n isOverflowVisible: boolean;\n content: string;\n isDraggable: boolean;\n onAnimationEnd?: () => any;\n onClick?: (value) => any;\n bodyInjectedComponent: {\n component: any,\n config: any,\n };\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n onDismiss?: (portalHostRef, portalRef) => any;\n onAccept?: (portalHostRef, portalRef) => any;\n onClose?: (portalHostRef, portalRef) => any;\n}\n\nexport class UxDynamicModalConfig implements UxDynamicModalConfig {\n id: string = 'single_modal';\n styleClass: string;\n titleLabel: string;\n dismissLabel: string = 'Cancel';\n dismissDisabled: boolean = false;\n acceptLabel: string = 'OK';\n acceptActionDisabled: boolean = false;\n dismissActionDisabled: boolean = false;\n isFooterVisible: boolean = true;\n isKeepBodyScroll: boolean = false;\n isSizeSmall: boolean = false;\n isSizeLarge: boolean = false;\n isSizeFullScreen: boolean = false;\n isSizeFullHeight: boolean = false;\n isSizeMediumHeight: boolean = false;\n isShowActionIcons: boolean = false;\n messageBoxType: string = '';\n acceptIconClass: string = 'ux-icon ux-icon-check';\n dismissIconClass: string = 'ux-icon ux-icon-times';\n hasNoBodyPadding: boolean = false;\n customWidth: string;\n isFooterCustomAlignment: boolean = false;\n isCloseModalOnEscape: boolean = true;\n isShowCloseButton: boolean = true;\n isMessageBox: boolean = false;\n isHandleCloseOnDismiss: boolean = true;\n isHandleCloseOnAccept: boolean = true;\n isHandleCloseOnClose: boolean = true;\n bodyStyleClass: string;\n footerStyleClass: string;\n isOverflowVisible: boolean = false;\n content: string = '';\n isDraggable = false;\n bodyInjectedComponent: {\n component: any,\n config: any,\n };\n customFooterContent?: {\n left?: {\n buttons: UxButtonConfig[]\n },\n right?: {\n buttons: UxButtonConfig[]\n },\n };\n\n onAnimationEnd?: () => any;\n onClick?: (value) => any;\n onDismiss?: (portalHostRef, portalRef) => any;\n onAccept?: (portalHostRef, portalRef) => any;\n onClose?: (portalHostRef, portalRef) => any;\n\n constructor(values) {\n Object.assign(this, values);\n }\n}\n","import { Injectable, ComponentRef } from '@angular/core';\nimport { DomPortalOutlet, Portal, ComponentPortal } from '@angular/cdk/portal';\n\nimport { UxDynamicComponentService } from '@eui/core';\nimport { UxDynamicModalConfig } from './ux-dynamic-modal.config.model';\nimport { UxDynamicModalComponent } from './ux-dynamic-modal.component';\n// import { UxDynamicMessageBoxComponent } from '../ux-dynamic-message-box/ux-dynamic-message-box.component';\n// import { UxDynamicMessageBoxConfig } from '../ux-dynamic-message-box/ux-dynamic-message-box.config.model';\n\n@Injectable()\nexport class UxDynamicModalService {\n\n private openModalData: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n\n /**\n * Constructor\n */\n constructor(private uxDynamicComponentService: UxDynamicComponentService) {}\n\n /**\n * Open a modal dynamically (Add it to the DOM)\n */\n openModal(config: UxDynamicModalConfig): any {\n // openModal(config: UxDynamicMessageBoxConfig | UxDynamicModalConfig): any {\n\n let component;\n\n document.body.classList.add('modal-open');\n\n if (config instanceof UxDynamicModalConfig) {\n if (!(<UxDynamicModalConfig>config).onClose) {\n (<UxDynamicModalConfig>config).onClose = this.closeModal.bind(this);\n }\n component = UxDynamicModalComponent;\n } else {\n throw new Error(`Config is not instance of 'UxDynamicModalConfig'`);\n }\n\n this.openModalData = this.uxDynamicComponentService.add(component, null, config);\n return this.openModalData;\n }\n\n /**\n * Close a modal created dynamically (Remove it from the DOM)\n */\n closeModal(portalHostRef: DomPortalOutlet, portalRef?: Portal<any>) {\n document.body.classList.remove('modal-open');\n this.uxDynamicComponentService.remove(portalHostRef);\n this.openModalData = null;\n }\n\n}\n","import {\n AfterContentInit,\n AfterViewInit,\n Component,\n ComponentRef,\n ContentChild,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n NgModule,\n OnDestroy,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DYNAMIC_COMPONENT_CONFIG, UxDynamicComponentService } from '@eui/core';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { fromEvent, Subscription } from 'rxjs';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\n\nimport { ComponentPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { UxDynamicModalConfig } from './ux-dynamic-modal.config.model';\nimport { UxButtonComponentModule, UxButtonConfig } from '@eui/components/legacy/ux-button';\nimport { UxLayoutHorizontalModule } from '@eui/components/legacy/layout';\nimport { UxDynamicModalService } from './ux-dynamic-modal.service';\n\n@Component({\n selector: 'ux-dynamic-modal',\n templateUrl: './ux-dynamic-modal.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class UxDynamicModalComponent implements AfterContentInit, AfterViewInit, OnDestroy {\n\n @Input() e2eAttr: string = 'ux-dynamic-modal';\n\n public stateClasses: string = '';\n public config: UxDynamicModalConfig;\n\n @ViewChild('modal') uxModalEl: ElementRef<HTMLDivElement>;\n @ViewChild('uxmodalbody') uxModalBody: ElementRef<HTMLDivElement>;\n @ViewChild('closeButton') vcCloseButton: ElementRef<HTMLButtonElement>;\n\n @ContentChild(forwardRef(() => UxDynamicModalFooterTagDirective))\n customFooterContent: QueryList<UxDynamicModalFooterTagDirective>;\n @ContentChild(forwardRef(() => UxDynamicModalHeaderTagDirective))\n customHeaderContent: QueryList<UxDynamicModalHeaderTagDirective>;\n @ContentChild(forwardRef(() => UxDynamicMessageBoxFooterTagDirective))\n customMessageBoxFooterContent: QueryList<UxDynamicMessageBoxFooterTagDirective>;\n\n private injectedComponent: {\n portalHost: DomPortalOutlet,\n portal: ComponentPortal<any>,\n portalComponentInstance: ComponentRef<any>,\n } = null;\n animationEndSubscription: Subscription;\n\n constructor(\n @Inject(DYNAMIC_COMPONENT_CONFIG) uxDynamicComponentConfig: UxDynamicModalConfig,\n private uxDynamicComponentService: UxDynamicComponentService,\n ) {\n this.config = uxDynamicComponentConfig;\n }\n\n ngAfterContentInit() {\n\n if (this.config.isSizeSmall) {\n this.stateClasses = 'ux-modal--small';\n }\n\n if (this.config.isSizeLarge) {\n this.stateClasses = 'ux-modal--large';\n }\n\n if (this.config.isSizeFullScreen) {\n this.stateClasses = 'ux-modal--full-screen';\n }\n\n if (this.config.bodyInjectedComponent && this.config.bodyInjectedComponent.component) {\n setTimeout(() => {\n\n Object.assign(this.config.bodyInjectedComponent.config, {\n parent: {\n portalHostRef: this.config['portalHostRef'],\n portalRef: this.config['portalRef'],\n portalComponentInstanceRef: this.config['portalComponentInstanceRef'],\n }\n });\n\n this.injectedComponent = this.uxDynamicComponentService.add(this.config.bodyInjectedComponent.component,\n this.uxModalBody,\n this.config.bodyInjectedComponent.config);\n\n if (this.injectedComponent) {\n Object.assign(this.config, {\n child: {\n portalHostRef: this.injectedComponent['portalHost'],\n portalRef: this.injectedComponent['portal'],\n portalComponentInstanceRef: this.injectedComponent['portalComponentInstance'],\n }\n });\n }\n\n }, 0);\n }\n }\n\n ngAfterViewInit() {\n if (this.vcCloseButton) {\n this.vcCloseButton.nativeElement.focus();\n }\n\n const modalEl = this.uxModalEl.nativeElement;\n this.animationEndSubscription = fromEvent(modalEl, 'animationend').subscribe(() => {\n if (this.config.onAnimationEnd) {\n this.config.onAnimationEnd();\n }\n });\n }\n\n ngOnDestroy() {\n if (this.animationEndSubscription) {\n this.animationEndSubscription.unsubscribe();\n }\n\n if (this.injectedComponent) {\n this.uxDynamicComponentService.remove(this.injectedComponent.portalHost);\n }\n }\n\n /**\n * Close modal function\n */\n public close(event: Event) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n /**\n * Close modal on escape(key 27) press\n */\n public closeModalOnEscape(event: KeyboardEvent) {\n if (this.config.isCloseModalOnEscape) {\n // eslint-disable-next-line\n if (event.keyCode === 27) {\n this.close(event);\n }\n }\n }\n\n /**\n * Trigger by the message-box when user click on OK button\n */\n public onAcceptActionClick(event: any) {\n if (this.config.isHandleCloseOnAccept) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onAccept) {\n this.config.onAccept(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onClick) {\n this.config.onClick(true);\n }\n }\n\n /**\n * Trigger by the message-box when user click on NO button\n */\n public onDismissActionClick(event: any) {\n if (this.config.isHandleCloseOnDismiss) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onDismiss) {\n this.config.onDismiss(this.config['portalHostRef'], this.config['portalRef']);\n }\n\n if (this.config.onClick) {\n this.config.onClick(false);\n }\n }\n\n /**\n * Trigger by the message-box when user click on a custom buttons defined in the config\n */\n public customFooterButtonClick(button: UxButtonConfig) {\n button.onClick(this.config['portalHostRef'], this.config['portalRef'], this.config['portalComponentInstanceRef']);\n }\n\n /**\n * Trigger by the message-box when user click on NO or OK buttons\n */\n public onClick(value: boolean) {\n if (this.config.onClick) {\n this.config.onClick(value);\n }\n\n if (this.config.onClose) {\n this.config.onClose(this.config['portalHostRef'], this.config['portalRef']);\n }\n }\n}\n\n/* eslint-disable */\n@Directive({selector: 'uxDynamicModalBody'})\nexport class UxDynamicModalBodyTagDirective {\n}\n\n@Directive({selector: 'uxDynamicModalFooter'})\nexport class UxDynamicModalFooterTagDirective {\n}\n\n@Directive({selector: 'uxDynamicModalHeader'})\nexport class UxDynamicModalHeaderTagDirective {\n}\n\n@Directive({selector: 'uxDynamicMessageBoxFooter'})\nexport class UxDynamicMessageBoxFooterTagDirective {\n}\n/* eslint-enable */\n\n@NgModule({\n imports: [\n CommonModule,\n UxButtonComponentModule,\n UxLayoutHorizontalModule,\n A11yModule,\n DragDropModule,\n ],\n exports: [\n UxDynamicModalComponent,\n UxDynamicModalBodyTagDirective,\n UxDynamicModalFooterTagDirective,\n UxDynamicModalHeaderTagDirective,\n UxDynamicMessageBoxFooterTagDirective,\n ],\n declarations: [\n UxDynamicModalComponent,\n UxDynamicModalBodyTagDirective,\n UxDynamicModalFooterTagDirective,\n UxDynamicModalHeaderTagDirective,\n UxDynamicMessageBoxFooterTagDirective,\n ],\n entryComponents: [\n UxDynamicModalComponent,\n ],\n providers: [\n UxDynamicModalService,\n UxDynamicComponentService,\n ],\n})\n\nexport class UxDynamicModalComponentModule {\n}\n","<div id=\"{{config.id}}\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"true\" #modal\n class=\"modal ux-modal {{ config.styleClass }} {{ stateClasses }} eui-u-anim\"\n role=\"dialog\"\n [class.eui-u-anim--slideInDown]=\"!config.isMessageBox\"\n [class.eui-u-anim--flipInY]=\"config.isMessageBox\"\n [class.ux-modal--full-height]=\"config.isSizeFullHeight\"\n [class.ux-modal--medium-height]=\"config.isSizeMediumHeight\"\n [class.ux-modal--draggable]=\"config.isDraggable\"\n [class.eui-u-anim--fast]=\"!config.isMessageBox\"\n [class.eui-u-anim--medium]=\"config.isMessageBox\" \n (keydown)=\"closeModalOnEscape($event)\"\n tabIndex=\"-1\"\n [style.display]=\"'block'\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n\n <div class=\"modal-dialog ux-modal__dialog\" role=\"document\" [style.max-width]=\"config.customWidth\">\n <div class=\"modal-content ux-modal__content\" [class.ux-u-overflow-visible]=\"config.isOverflowVisible\" cdkDrag [cdkDragDisabled]=\"!config.isDraggable\">\n <div class=\"modal-header ux-modal__header\" cdkDragHandle>\n <ng-template [ngIf]=\"customHeaderContent\">\n <ng-content select=\"uxModalHeader\"></ng-content>\n </ng-template>\n <ng-template [ngIf]=\"!customHeaderContent\">\n <h5 class=\"modal-title ux-modal__header-title\">{{ config.titleLabel }}</h5>\n </ng-template>\n <button *ngIf=\"config.isShowCloseButton\" #closeButton\n type=\"button\"\n class=\"ux-modal__header-close\"\n data-dismiss=\"modal\"\n aria-label=\"Close\"\n (click)=\"close($event)\">\n <span class=\"eui-icon eui-icon-close-m\"></span>\n </button>\n </div>\n <div #uxmodalbody class=\"modal-body ux-modal__body {{ config.bodyStyleClass }}\"\n [class.ux-modal--no-padding]=\"config.hasNoBodyPadding\"\n [class.ux-u-overflow-visible]=\"config.isOverflowVisible\">\n <span [outerHTML]=\"config.content\" *ngIf=\"!config.isMessageBox\"></span>\n\n <div class=\"ux-message-box__body\" *ngIf=\"config.isMessageBox\">\n <div class=\"ux-message-box__body-icon\"></div>\n <div class=\"ux-message-box__body-content\">\n <span [outerHTML]=\"config.content\"></span>\n </div>\n </div>\n\n </div>\n\n <div *ngIf=\"config.isFooterVisible\" class=\"modal-footer ux-modal__footer {{ config.footerStyleClass }}\"\n [class.ux-modal__footer--custom-alignment]=\"config.customFooterContent\">\n\n <uxDynamicModalFooter *ngIf=\"config.customFooterContent && !config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicModalFooter>\n\n <uxDynamicMessageBoxFooter *ngIf=\"config.customFooterContent && config.isMessageBox\">\n <ux-layout-horizontal>\n <uxLayoutHorizontalLeft *ngIf=\"config.customFooterContent.left\">\n <ux-button *ngFor=\"let button of config.customFooterContent.left.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalLeft>\n <uxLayoutHorizontalRight *ngIf=\"config.customFooterContent.right\">\n <ux-button *ngFor=\"let button of config.customFooterContent.right.buttons\"\n type=\"{{ button.type }}\"\n styleClass=\"{{ button.styleClass }}\"\n typeClass=\"{{ button.typeClass }}\"\n iconClass=\"{{ button.iconClass }}\"\n [isOutline]=\"button.isOutline\"\n [isSecondary]=\"button.isSecondary\"\n [isSmall]=\"button.isSmall\"\n [isLarge]=\"button.isLarge\"\n [isBlock]=\"button.isBlock\"\n [isFlat]=\"button.isFlat\"\n [isDisabled]=\"button.isDisabled\"\n (click)=\"customFooterButtonClick(button)\">{{ button.label }}</ux-button>\n </uxLayoutHorizontalRight>\n </ux-layout-horizontal>\n </uxDynamicMessageBoxFooter>\n\n <ng-template [ngIf]=\"!config.customFooterContent\">\n <ng-template [ngIf]=\"!config.isMessageBox\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.dismissActionDisabled\"\n (click)=\"onDismissActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.dismissIconClass}}\"></span>\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n [class.ux-button--with-label]=\"config.isShowActionIcons\"\n [disabled]=\"config.acceptActionDisabled\"\n (click)=\"onAcceptActionClick($event)\">\n <span *ngIf=\"config.isShowActionIcons\" class=\"ux-button__icon {{config.acceptIconClass}}\"></span>\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n\n <ng-template [ngIf]=\"config.isMessageBox\">\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'confirmation'\">\n <button type=\"button\"\n class=\"ux-button ux-button--secondary\"\n (click)=\"onClick(false)\">\n {{ config.dismissLabel }}\n </button>\n <button type=\"button\"\n class=\"ux-button ux-button--primary\"\n (click)=\"onClick(true)\">\n {{ config.acceptLabel }}\n </button>\n </ng-template>\n <ng-template [ngIf]=\"config.messageBoxType && config.messageBoxType === 'ok'\">\n <button type=\"button\" class=\"ux-button ux-button--secondary\" (click)=\"onClick(true)\">OK</button>\n </ng-template>\n </ng-template>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n<div class=\"modal-backdrop show\" [style.display]=\"'block'\" (focus)=\"close($event)\"></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAuDa,oBAAoB,CAAA;AAqD7B,IAAA,WAAA,CAAY,MAAM,EAAA;AApDlB,QAAA,IAAE,CAAA,EAAA,GAAW,cAAc,CAAC;AAG5B,QAAA,IAAY,CAAA,YAAA,GAAW,QAAQ,CAAC;AAChC,QAAA,IAAe,CAAA,eAAA,GAAY,KAAK,CAAC;AACjC,QAAA,IAAW,CAAA,WAAA,GAAW,IAAI,CAAC;AAC3B,QAAA,IAAoB,CAAA,oBAAA,GAAY,KAAK,CAAC;AACtC,QAAA,IAAqB,CA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