{"version":3,"file":"index.mjs","sources":["../../src/confirmdialog/BaseConfirmDialog.vue","../../src/confirmdialog/ConfirmDialog.vue","../../src/confirmdialog/ConfirmDialog.vue?vue&type=template&id=93e3ca7c&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport ConfirmDialogStyle from 'primevue/confirmdialog/style';\n\nexport default {\n    name: 'BaseConfirmDialog',\n    extends: BaseComponent,\n    props: {\n        group: String,\n        breakpoints: {\n            type: Object,\n            default: null\n        },\n        draggable: {\n            type: Boolean,\n            default: true\n        }\n    },\n    style: ConfirmDialogStyle,\n    provide() {\n        return {\n            $pcConfirmDialog: this,\n            $parentInstance: this\n        };\n    }\n};\n</script>\n","<template>\n    <Dialog\n        v-model:visible=\"visible\"\n        role=\"alertdialog\"\n        :class=\"cx('root')\"\n        :modal=\"true\"\n        :header=\"header\"\n        :blockScroll=\"blockScroll\"\n        :position=\"position\"\n        :breakpoints=\"breakpoints\"\n        :closeOnEscape=\"closeOnEscape\"\n        :draggable=\"draggable\"\n        @update:visible=\"onHide\"\n        :pt=\"pt\"\n        :unstyled=\"unstyled\"\n    >\n        <template v-if=\"$slots.container\" #container=\"slotProps\">\n            <slot name=\"container\" :message=\"confirmation\" :closeCallback=\"slotProps.onclose\" :acceptCallback=\"accept\" :rejectCallback=\"reject\" />\n        </template>\n        <template v-if=\"!$slots.container\">\n            <template v-if=\"!$slots.message\">\n                <slot name=\"icon\">\n                    <component v-if=\"$slots.icon\" :is=\"$slots.icon\" :class=\"cx('icon')\" />\n                    <span v-else-if=\"confirmation.icon\" :class=\"[confirmation.icon, cx('icon')]\" v-bind=\"ptm('icon')\" />\n                </slot>\n                <span :class=\"cx('message')\" v-bind=\"ptm('message')\">{{ message }}</span>\n            </template>\n            <component v-else :is=\"$slots.message\" :message=\"confirmation\"></component>\n        </template>\n        <template v-if=\"!$slots.container\" #footer>\n            <Button\n                :class=\"[cx('pcRejectButton'), confirmation.rejectClass]\"\n                :autofocus=\"autoFocusReject\"\n                :unstyled=\"unstyled\"\n                :text=\"confirmation.rejectProps?.text || false\"\n                @click=\"reject()\"\n                v-bind=\"confirmation.rejectProps\"\n                :label=\"rejectLabel\"\n                :pt=\"ptm('pcRejectButton')\"\n            >\n                <template v-if=\"rejectIcon || $slots.rejecticon\" #icon=\"iconProps\">\n                    <slot name=\"rejecticon\">\n                        <span :class=\"[rejectIcon, iconProps.class]\" v-bind=\"ptm('pcRejectButton')['icon']\" data-pc-section=\"rejectbuttonicon\" />\n                    </slot>\n                </template>\n            </Button>\n            <Button :label=\"acceptLabel\" :class=\"[cx('pcAcceptButton'), confirmation.acceptClass]\" :autofocus=\"autoFocusAccept\" :unstyled=\"unstyled\" @click=\"accept()\" v-bind=\"confirmation.acceptProps\" :pt=\"ptm('pcAcceptButton')\">\n                <template v-if=\"acceptIcon || $slots.accepticon\" #icon=\"iconProps\">\n                    <slot name=\"accepticon\">\n                        <span :class=\"[acceptIcon, iconProps.class]\" v-bind=\"ptm('pcAcceptButton')['icon']\" data-pc-section=\"acceptbuttonicon\" />\n                    </slot>\n                </template>\n            </Button>\n        </template>\n    </Dialog>\n</template>\n\n<script>\nimport Button from 'primevue/button';\nimport ConfirmationEventBus from 'primevue/confirmationeventbus';\nimport Dialog from 'primevue/dialog';\nimport BaseConfirmDialog from './BaseConfirmDialog.vue';\n\nexport default {\n    name: 'ConfirmDialog',\n    extends: BaseConfirmDialog,\n    confirmListener: null,\n    closeListener: null,\n    data() {\n        return {\n            visible: false,\n            confirmation: null\n        };\n    },\n    mounted() {\n        this.confirmListener = (options) => {\n            if (!options) {\n                return;\n            }\n\n            if (options.group === this.group) {\n                this.confirmation = options;\n\n                if (this.confirmation.onShow) {\n                    this.confirmation.onShow();\n                }\n\n                this.visible = true;\n            }\n        };\n\n        this.closeListener = () => {\n            this.visible = false;\n            this.confirmation = null;\n        };\n\n        ConfirmationEventBus.on('confirm', this.confirmListener);\n        ConfirmationEventBus.on('close', this.closeListener);\n    },\n    beforeUnmount() {\n        ConfirmationEventBus.off('confirm', this.confirmListener);\n        ConfirmationEventBus.off('close', this.closeListener);\n    },\n    methods: {\n        accept() {\n            if (this.confirmation.accept) {\n                this.confirmation.accept();\n            }\n\n            this.visible = false;\n        },\n        reject() {\n            if (this.confirmation.reject) {\n                this.confirmation.reject();\n            }\n\n            this.visible = false;\n        },\n        onHide() {\n            if (this.confirmation.onHide) {\n                this.confirmation.onHide();\n            }\n\n            this.visible = false;\n        }\n    },\n    computed: {\n        header() {\n            return this.confirmation ? this.confirmation.header : null;\n        },\n        message() {\n            return this.confirmation ? this.confirmation.message : null;\n        },\n        blockScroll() {\n            return this.confirmation ? this.confirmation.blockScroll : true;\n        },\n        position() {\n            return this.confirmation ? this.confirmation.position : null;\n        },\n        acceptLabel() {\n            if (this.confirmation) {\n                const confirmation = this.confirmation;\n\n                return confirmation.acceptLabel || confirmation.acceptProps?.label || this.$primevue.config.locale.accept;\n            }\n\n            return this.$primevue.config.locale.accept;\n        },\n        rejectLabel() {\n            if (this.confirmation) {\n                const confirmation = this.confirmation;\n\n                return confirmation.rejectLabel || confirmation.rejectProps?.label || this.$primevue.config.locale.reject;\n            }\n\n            return this.$primevue.config.locale.reject;\n        },\n        acceptIcon() {\n            return this.confirmation ? this.confirmation.acceptIcon : this.confirmation?.acceptProps ? this.confirmation.acceptProps.icon : null;\n        },\n        rejectIcon() {\n            return this.confirmation ? this.confirmation.rejectIcon : this.confirmation?.rejectProps ? this.confirmation.rejectProps.icon : null;\n        },\n        autoFocusAccept() {\n            return this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;\n        },\n        autoFocusReject() {\n            return this.confirmation.defaultFocus === 'reject' ? true : false;\n        },\n        closeOnEscape() {\n            return this.confirmation ? this.confirmation.closeOnEscape : true;\n        }\n    },\n    components: {\n        Dialog,\n        Button\n    }\n};\n</script>\n","<template>\n    <Dialog\n        v-model:visible=\"visible\"\n        role=\"alertdialog\"\n        :class=\"cx('root')\"\n        :modal=\"true\"\n        :header=\"header\"\n        :blockScroll=\"blockScroll\"\n        :position=\"position\"\n        :breakpoints=\"breakpoints\"\n        :closeOnEscape=\"closeOnEscape\"\n        :draggable=\"draggable\"\n        @update:visible=\"onHide\"\n        :pt=\"pt\"\n        :unstyled=\"unstyled\"\n    >\n        <template v-if=\"$slots.container\" #container=\"slotProps\">\n            <slot name=\"container\" :message=\"confirmation\" :closeCallback=\"slotProps.onclose\" :acceptCallback=\"accept\" :rejectCallback=\"reject\" />\n        </template>\n        <template v-if=\"!$slots.container\">\n            <template v-if=\"!$slots.message\">\n                <slot name=\"icon\">\n                    <component v-if=\"$slots.icon\" :is=\"$slots.icon\" :class=\"cx('icon')\" />\n                    <span v-else-if=\"confirmation.icon\" :class=\"[confirmation.icon, cx('icon')]\" v-bind=\"ptm('icon')\" />\n                </slot>\n                <span :class=\"cx('message')\" v-bind=\"ptm('message')\">{{ message }}</span>\n            </template>\n            <component v-else :is=\"$slots.message\" :message=\"confirmation\"></component>\n        </template>\n        <template v-if=\"!$slots.container\" #footer>\n            <Button\n                :class=\"[cx('pcRejectButton'), confirmation.rejectClass]\"\n                :autofocus=\"autoFocusReject\"\n                :unstyled=\"unstyled\"\n                :text=\"confirmation.rejectProps?.text || false\"\n                @click=\"reject()\"\n                v-bind=\"confirmation.rejectProps\"\n                :label=\"rejectLabel\"\n                :pt=\"ptm('pcRejectButton')\"\n            >\n                <template v-if=\"rejectIcon || $slots.rejecticon\" #icon=\"iconProps\">\n                    <slot name=\"rejecticon\">\n                        <span :class=\"[rejectIcon, iconProps.class]\" v-bind=\"ptm('pcRejectButton')['icon']\" data-pc-section=\"rejectbuttonicon\" />\n                    </slot>\n                </template>\n            </Button>\n            <Button :label=\"acceptLabel\" :class=\"[cx('pcAcceptButton'), confirmation.acceptClass]\" :autofocus=\"autoFocusAccept\" :unstyled=\"unstyled\" @click=\"accept()\" v-bind=\"confirmation.acceptProps\" :pt=\"ptm('pcAcceptButton')\">\n                <template v-if=\"acceptIcon || $slots.accepticon\" #icon=\"iconProps\">\n                    <slot name=\"accepticon\">\n                        <span :class=\"[acceptIcon, iconProps.class]\" v-bind=\"ptm('pcAcceptButton')['icon']\" data-pc-section=\"acceptbuttonicon\" />\n                    </slot>\n                </template>\n            </Button>\n        </template>\n    </Dialog>\n</template>\n\n<script>\nimport Button from 'primevue/button';\nimport ConfirmationEventBus from 'primevue/confirmationeventbus';\nimport Dialog from 'primevue/dialog';\nimport BaseConfirmDialog from './BaseConfirmDialog.vue';\n\nexport default {\n    name: 'ConfirmDialog',\n    extends: BaseConfirmDialog,\n    confirmListener: null,\n    closeListener: null,\n    data() {\n        return {\n            visible: false,\n            confirmation: null\n        };\n    },\n    mounted() {\n        this.confirmListener = (options) => {\n            if (!options) {\n                return;\n            }\n\n            if (options.group === this.group) {\n                this.confirmation = options;\n\n                if (this.confirmation.onShow) {\n                    this.confirmation.onShow();\n                }\n\n                this.visible = true;\n            }\n        };\n\n        this.closeListener = () => {\n            this.visible = false;\n            this.confirmation = null;\n        };\n\n        ConfirmationEventBus.on('confirm', this.confirmListener);\n        ConfirmationEventBus.on('close', this.closeListener);\n    },\n    beforeUnmount() {\n        ConfirmationEventBus.off('confirm', this.confirmListener);\n        ConfirmationEventBus.off('close', this.closeListener);\n    },\n    methods: {\n        accept() {\n            if (this.confirmation.accept) {\n                this.confirmation.accept();\n            }\n\n            this.visible = false;\n        },\n        reject() {\n            if (this.confirmation.reject) {\n                this.confirmation.reject();\n            }\n\n            this.visible = false;\n        },\n        onHide() {\n            if (this.confirmation.onHide) {\n                this.confirmation.onHide();\n            }\n\n            this.visible = false;\n        }\n    },\n    computed: {\n        header() {\n            return this.confirmation ? this.confirmation.header : null;\n        },\n        message() {\n            return this.confirmation ? this.confirmation.message : null;\n        },\n        blockScroll() {\n            return this.confirmation ? this.confirmation.blockScroll : true;\n        },\n        position() {\n            return this.confirmation ? this.confirmation.position : null;\n        },\n        acceptLabel() {\n            if (this.confirmation) {\n                const confirmation = this.confirmation;\n\n                return confirmation.acceptLabel || confirmation.acceptProps?.label || this.$primevue.config.locale.accept;\n            }\n\n            return this.$primevue.config.locale.accept;\n        },\n        rejectLabel() {\n            if (this.confirmation) {\n                const confirmation = this.confirmation;\n\n                return confirmation.rejectLabel || confirmation.rejectProps?.label || this.$primevue.config.locale.reject;\n            }\n\n            return this.$primevue.config.locale.reject;\n        },\n        acceptIcon() {\n            return this.confirmation ? this.confirmation.acceptIcon : this.confirmation?.acceptProps ? this.confirmation.acceptProps.icon : null;\n        },\n        rejectIcon() {\n            return this.confirmation ? this.confirmation.rejectIcon : this.confirmation?.rejectProps ? this.confirmation.rejectProps.icon : null;\n        },\n        autoFocusAccept() {\n            return this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;\n        },\n        autoFocusReject() {\n            return this.confirmation.defaultFocus === 'reject' ? true : false;\n        },\n        closeOnEscape() {\n            return this.confirmation ? this.confirmation.closeOnEscape : true;\n        }\n    },\n    components: {\n        Dialog,\n        Button\n    }\n};\n</script>\n"],"names":["name","BaseComponent","props","group","String","breakpoints","type","Object","draggable","Boolean","style","ConfirmDialogStyle","provide","$pcConfirmDialog","$parentInstance","BaseConfirmDialog","confirmListener","closeListener","data","visible","confirmation","mounted","_this","options","onShow","ConfirmationEventBus","on","beforeUnmount","off","methods","accept","reject","onHide","computed","header","message","blockScroll","position","acceptLabel","_confirmation$acceptP","acceptProps","label","$primevue","config","locale","rejectLabel","_confirmation$rejectP","rejectProps","acceptIcon","_this$confirmation","icon","rejectIcon","_this$confirmation2","autoFocusAccept","defaultFocus","undefined","autoFocusReject","closeOnEscape","components","Dialog","Button","_createBlock","_component_Dialog","$data","$event","$options","role","_ctx","cx","modal","pt","unstyled","$slots","container","_createElementBlock","_Fragment","key","_renderSlot","_resolveDynamicComponent","_openBlock","_mergeProps","ptm","_createElementVNode","fn","_withCtx","slotProps","closeCallback","onclose","acceptCallback","rejectCallback","_$data$confirmation$r","_createVNode","_component_Button","rejectClass","autofocus","text","onCl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