const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Bw8rS5U6.js","assets/BasicForm-dL_oCSPM.js","assets/Render.vue_vue_type_script_lang-DKUYY0Zw.js","assets/index-9PRMimni.js","assets/index-CZ_CrH4_.css","assets/SingleImageUpload-CNx4b9eC.js","assets/ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js","assets/componentSetting-DVhNDBTO.js","assets/ImageUpload-2O79x_Q-.css","assets/ImageUpload-DUsnro3W.js","assets/vuedraggable.umd-Co2xEC3p.js","assets/BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js","assets/BasicUpload-q2aOClOy.css","assets/tabsView-BXskTdVh.js","assets/BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js","assets/propTypes-CebMRUpe.js","assets/BasicForm-foIylFd_.css","assets/BasicSelect-C_uwzMkE.js","assets/BasicSelect.vue_vue_type_style_index_0_scoped_772d51cc_lang-Brp6PjEU.js","assets/BasicSelect-DteQK1Vf.css","assets/dictionary-BRse4lkf.js","assets/index-DkvzUEqh.js","assets/index-kKnqLkWM.js","assets/AutoComplete-Dv1Bqed4.js","assets/TreeSelect-BZh2DeCh.js","assets/useForm-CKmgcynv.js","assets/usePageCache-DluHn7Yy.js","assets/index-DvTmkVuR.js","assets/Table-0PViRYCf.js","assets/Table.vue_vue_type_style_index_0_scoped_7b9e6ece_lang-BoW2DV_e.js","assets/componentMap-CElCaWis.js","assets/format-DgF6KtHk.js","assets/omit-B2_8Y6O_.js","assets/_flatRest-DBrd2CHT.js","assets/flatten-DeoUZLdb.js","assets/Table-Dcnz4X4a.css","assets/print-CT_2hrjP.js","assets/basicModal.vue_vue_type_script_setup_true_lang-CsJydKhW.js","assets/basicModal.vue_vue_type_style_index_0_lang-8QZP7ApW.js","assets/basicModal-DbyYhys_.css","assets/useModal-CO65vga3.js","assets/useTimeout-BxFilWvD.js","assets/Flex-CTSf12gq.js"])))=>i.map(i=>d[i]);
import { V as J, bk as Q, cO as be, cq as Ie, fm as qe, d as Pe, u as Re, co as Ve, f as Se, e as De, r as l, gJ as xe, ay as Ce, ec as j, aw as ke, c as T, o as w, w as s, j as a, W as Te, l as o, ds as W, aA as we, k as Ne, H as Oe, D as G, aI as Be, p as V, A as y, B as Le, i as b, X as Ae, br as K, c_ as Ee, v as Me, __tla as __tla_0 } from "./index-9PRMimni.js";
import { B as Ue } from "./BasicForm-dL_oCSPM.js";
import { _ as Fe } from "./TableSelect.vue_vue_type_script_setup_true_lang-BAU5mgvB.js";
import { y as X, g as ze, s as $e, z as He, c as je } from "./template-rpthWlT9.js";
import { g as We } from "./planner-BebmniHR.js";
import { _ as Ge, __tla as __tla_1 } from "./Modal.vue_vue_type_script_setup_true_lang-Ub1dgidI.js";
import { v as Ke, __tla as __tla_2 } from "./schemas-DLHXnB0l.js";
import { f as Je } from "./hook-C9rOLWu_.js";
import { _ as Qe, __tla as __tla_3 } from "./rejectModal.vue_vue_type_script_setup_true_lang-Q5NB5e-6.js";
import { u as Xe } from "./useForm-CKmgcynv.js";
import "./Render.vue_vue_type_script_lang-DKUYY0Zw.js";
import "./SingleImageUpload-CNx4b9eC.js";
import "./ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js";
import "./componentSetting-DVhNDBTO.js";
import "./ImageUpload-DUsnro3W.js";
import "./vuedraggable.umd-Co2xEC3p.js";
import "./BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js";
import "./tabsView-BXskTdVh.js";
import "./BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js";
import "./propTypes-CebMRUpe.js";
import "./BasicSelect-C_uwzMkE.js";
import "./BasicSelect.vue_vue_type_style_index_0_scoped_772d51cc_lang-Brp6PjEU.js";
import "./dictionary-BRse4lkf.js";
import "./index-DkvzUEqh.js";
import "./index-kKnqLkWM.js";
import "./AutoComplete-Dv1Bqed4.js";
import "./TreeSelect-BZh2DeCh.js";
import "./props-CLtNejQT.js";
import "./Table-0PViRYCf.js";
import "./Table.vue_vue_type_style_index_0_scoped_7b9e6ece_lang-BoW2DV_e.js";
import "./componentMap-CElCaWis.js";
import "./format-DgF6KtHk.js";
import "./omit-B2_8Y6O_.js";
import "./_flatRest-DBrd2CHT.js";
import "./flatten-DeoUZLdb.js";
import "./print-CT_2hrjP.js";
import "./basicModal.vue_vue_type_script_setup_true_lang-CsJydKhW.js";
import "./basicModal.vue_vue_type_style_index_0_lang-8QZP7ApW.js";
import "./useModal-CO65vga3.js";
import "./useTimeout-BxFilWvD.js";
import "./usePageCache-DluHn7Yy.js";
import "./Flex-CTSf12gq.js";
import { __tla as __tla_4 } from "./index.vue_vue_type_style_index_0_scoped_b974e5ec_lang-_0QwzFKM.js";
import "./jobOrder-CGbsc7bp.js";
import "./has-CjqcrIOV.js";
import { __tla as __tla_5 } from "./index-8tHZJCCW.js";
import "./TimelineItem-Bkds7ZW8.js";
import "./schemas-BmKi-UM9.js";
let Qt;
let __tla = Promise.all([
    (()=>{
        try {
            return __tla_0;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_1;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_2;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_3;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_4;
        } catch  {}
    })(),
    (()=>{
        try {
            return __tla_5;
        } catch  {}
    })()
]).then(async ()=>{
    const Ye = Q(), { t: n } = J(), Ze = await X();
    function et(d) {
        return {
            addSchemas: [
                {
                    field: "shipName",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.shipName"),
                    component: "NInput",
                    componentProps: ()=>({
                            disabled: d?.readOnly
                        })
                },
                {
                    field: "visitPlace",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.placeOfVisit"),
                    component: "NInput",
                    slot: "visitPlace",
                    rules: [
                        {
                            required: !0,
                            message: n("hsqe.auditInspection.vesselInspection.shipVisitReport.placeOfListHint"),
                            trigger: [
                                "blur"
                            ]
                        }
                    ]
                },
                {
                    field: "purpose",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.purposeOfVisit"),
                    component: "NSelect",
                    componentProps: {
                        disabled: d?.readOnly || !1,
                        options: [
                            {
                                value: 1,
                                label: "常规",
                                labelEn: "Routine"
                            },
                            {
                                value: 2,
                                label: "修理",
                                labelEn: "Repair"
                            },
                            {
                                value: 3,
                                label: "协助外检",
                                labelEn: "Accompany 3rd party inspection"
                            },
                            {
                                value: 4,
                                label: "其他",
                                labelEn: "Other"
                            }
                        ],
                        "label-field": Ye.getLocale === "en" ? "labelEn" : "label"
                    },
                    rules: [
                        {
                            required: !0,
                            validator: (g, r)=>r != null,
                            message: n("hsqe.auditInspection.vesselInspection.shipVisitReport.purposeOfVisitHint"),
                            trigger: [
                                "blur",
                                "change"
                            ]
                        }
                    ]
                },
                {
                    field: "reportBy",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.reportingBy"),
                    component: "NInput",
                    slot: "reportBy",
                    componentProps: {
                        disabled: d?.readOnly || !1
                    }
                },
                {
                    field: "reportDate",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.reportDate"),
                    component: "NDatePicker",
                    componentProps: {
                        type: "date",
                        valueFormat: "yyyy-MM-dd",
                        disabled: !0
                    }
                },
                {
                    field: "visitDate",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.visitDate"),
                    component: "NDatePicker",
                    componentProps: {
                        type: "daterange",
                        valueFormat: "yyyy-MM-dd",
                        disabled: d?.readOnly || !1
                    },
                    rules: [
                        {
                            required: !0,
                            validator: (g, r)=>r != null,
                            message: n("hsqe.auditInspection.vesselInspection.shipVisitReport.visitDateHint"),
                            trigger: [
                                "blur",
                                "change"
                            ]
                        }
                    ]
                },
                {
                    field: "addendList",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.personsAttendingTheVisit"),
                    component: "NSelect",
                    slot: "addendList",
                    componentProps: ()=>({
                            disabled: d?.readOnly || !1,
                            multiple: !0,
                            options: Ze
                        })
                },
                {
                    field: "",
                    label: "",
                    slot: "block"
                },
                {
                    field: "prevailingConditions",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.prevailingConditions"),
                    component: "NCheckbox",
                    componentProps: {
                        disabled: d?.readOnly || !1,
                        options: [
                            {
                                value: "afloat",
                                label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.afloat")
                            },
                            {
                                value: "dryDock",
                                label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.dryDock")
                            },
                            {
                                value: "berth",
                                label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.berth")
                            },
                            {
                                value: "anchorage",
                                label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.anchorage")
                            },
                            {
                                value: "loading",
                                label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.loading")
                            },
                            {
                                value: "discharging",
                                label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.discharging")
                            }
                        ]
                    },
                    giProps: {
                        span: 4
                    },
                    rules: [
                        {
                            required: !0,
                            validator: (g, r)=>r != null,
                            message: n("hsqe.auditInspection.vesselInspection.shipVisitReport.prevailingConditionsHint"),
                            trigger: [
                                "blur",
                                "change"
                            ]
                        }
                    ]
                },
                {
                    field: "shipPhoto_Photo",
                    label: n("hsqe.auditInspection.vesselInspection.shipVisitReport.shipPhoto"),
                    component: "SingleImageUpload",
                    componentProps: ({ model: g })=>({
                            disabled: d?.readOnly || !1,
                            action: `${Ie().urlPrefix}/files`,
                            headers: {
                                timestamp: new Date().getTime(),
                                authorization: `${be.get(qe)}`
                            },
                            onUploadChange: (r, D)=>{
                                g.shipPhoto = D;
                            }
                        }),
                    giProps: {
                        span: 4
                    },
                    rules: [
                        {
                            required: !0,
                            validator: (g, r)=>r != null,
                            message: n("hsqe.auditInspection.vesselInspection.shipVisitReport.shipPhotoHint"),
                            trigger: [
                                "blur",
                                "change"
                            ]
                        }
                    ]
                }
            ]
        };
    }
    let tt;
    tt = Pe({
        __name: "add",
        setup (d) {
            const I = Re(), g = Ee(), r = Ve({
                storage: localStorage
            }), D = Q(), N = {
                shipParticulars: j(()=>K(()=>import("./index-Bw8rS5U6.js"), __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]))),
                certificateSMS: j(()=>K(()=>import("./index-DvTmkVuR.js"), __vite__mapDeps([27,28,3,4,29,10,2,30,15,31,32,33,34,35,36,37,38,39,40,7,41,26,13,42])))
            }, p = Se(), O = De(), { t: i } = J(), _ = l(!1), B = l([]), { templateCode: q, isTankerFunc: L } = Ke(), [Y, { submit: Z, getFieldsValue: A, setFieldsValue: E }] = Xe({
                schemas: B,
                labelWidth: "auto",
                layout: "horizontal",
                collapsed: !0,
                gridProps: {
                    cols: 5,
                    xGap: 15
                },
                showActionButtonGroup: !1
            }), ee = l(), te = l("shipParticulars"), S = l({}), se = {
                gridProps: {
                    cols: "2"
                },
                labelWidth: 80,
                submitButtonText: i("common.searchText"),
                showAdvancedButton: !1,
                schemas: [
                    {
                        field: "namePrefix",
                        component: "NInput",
                        label: i("hsqe.planner.modal.planPort")
                    }
                ]
            }, oe = [
                {
                    title: i("hsqe.planner.modal.port"),
                    key: "port"
                },
                {
                    title: i("hsqe.planner.modal.country"),
                    key: "country"
                }
            ], M = l(), x = l(""), ne = l(""), c = l(), P = l(r.get(xe, "")), U = l(""), F = l(), C = l(!1), z = l(), m = l(!1);
            Ce(()=>te.value, (t)=>{
                N[t] && (ee.value = N[t]);
            }, {
                immediate: !0
            });
            async function ie() {
                const t = await ze({
                    templateCode: q,
                    plannerId: x.value
                });
                c.value = t.list[0]?.uuid || null;
            }
            async function ae() {
                const t = await $e({
                    templateCode: q,
                    uuid: c.value
                }), e = l({
                    ...t,
                    prevailingConditions: []
                });
                e.value.afloat && e.value.prevailingConditions.push("afloat"), e.value.dryDock && e.value.prevailingConditions.push("dryDock"), e.value.berth && e.value.prevailingConditions.push("berth"), e.value.anchorage && e.value.prevailingConditions.push("anchorage"), e.value.loading && e.value.prevailingConditions.push("loading"), e.value.discharging && e.value.prevailingConditions.push("discharging"), e.value.shipName = D.getLocale === "en" ? t.shipNameEn : t.shipName, e.value.visitDate = [
                    t.visitStartDate,
                    t.visitEndDate
                ], P.value = e.value.reportBy;
                const u = e.value.addendList.map((h)=>String(h));
                E({
                    ...e.value,
                    addendList: u
                }), p.query.type == "view" && t.approveShow == 1 && t.approveStatus != 5 && (C.value = !0);
            }
            function le(t) {
                return We({
                    ...t,
                    ...o(S)
                });
            }
            async function re() {
                if (!await Z()) return !1;
                const e = A();
                if (e.reportDate < e.visitDate[0]) {
                    I.error(i("hsqe.auditInspection.vesselInspection.shipVisitReport.dataRuleHint"));
                    return;
                }
                return e.prevailingConditions.forEach((u)=>{
                    e[u] = 1;
                }), delete e.prevailingConditions, delete e.shipPhoto_Photo, c.value = await je({
                    template_code: q,
                    plannerId: x.value,
                    reportBy: P.value,
                    visitStartDate: e.visitDate[0],
                    visitEndDate: e.visitDate[1],
                    ...e
                }), I.success(i("common.saveSuccessText")), _.value = !0, !0;
            }
            async function pe() {
                try {
                    m.value = !0, await He({
                        comment: "pass",
                        busId: p.query.uuid,
                        moduleCode: L() ? q : "vesselInspect"
                    }), I.success(i("common.submitApproveText")), k(), m.value = !1;
                } catch  {
                    m.value = !1;
                }
            }
            async function ce() {
                z.value?.showModal();
            }
            function ue() {
                I.success(i("common.submitRejectText")), $(!0);
            }
            function de() {
                let t = L() ? q : "vesselInspect";
                F.value?.showModal(c.value, t);
            }
            function $(t) {
                if (t || _.value) {
                    k();
                    return;
                }
                g.info({
                    title: i("hsqe.auditInspection.back.title"),
                    content: i("hsqe.auditInspection.back.cont"),
                    positiveText: i("common.okText"),
                    negativeText: i("common.cancelText"),
                    onPositiveClick: async ()=>{
                        k();
                    }
                });
            }
            async function me() {
                !c.value && !await re() || O.push({
                    name: "Add_HSQE_AuditInspection_ReportList_VesselInspection_Detail",
                    query: {
                        uuid: c.value,
                        type: p.query.type,
                        sourcePath: p.query.sourcePath
                    }
                });
            }
            function k() {
                O.push({
                    name: p.query.sourcePath || "",
                    query: {
                        asyncComponent: "vesselInspection"
                    }
                });
            }
            return ke(async ()=>{
                if (M.value = await X(), c.value = p.query.uuid || null, x.value = p.query.id, ne.value = p.query.currentStatus, U.value = p.query.portName, c.value || await ie(), c.value) _.value = !0, ae();
                else {
                    const e = A();
                    e.visitPlace = U.value, e.reportDate = Je(new Date), E(e);
                }
                const t = et({
                    readOnly: _.value
                });
                B.value = t.addSchemas;
            }), (t, e)=>{
                const u = Le, h = Be, H = Oe, ve = Ne, ge = we, he = Fe, fe = Ue, _e = Te, ye = Ae;
                return w(), T(ye, null, {
                    default: s(()=>[
                            a(_e, {
                                bordered: !1,
                                class: "py-1 proCard",
                                size: "small",
                                segmented: {
                                    content: !0
                                },
                                "content-style": "padding: 20px 15px 0 15px;"
                            }, {
                                header: s(()=>[
                                        a(H, {
                                            align: "center"
                                        }, {
                                            default: s(()=>[
                                                    a(h, {
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                a(u, {
                                                                    loading: o(m),
                                                                    type: "text",
                                                                    class: "size-8",
                                                                    title: "Back",
                                                                    onClick: e[0] || (e[0] = (v)=>$(null))
                                                                }, {
                                                                    icon: s(()=>e[3] || (e[3] = [
                                                                            b("i", {
                                                                                class: "iconfont icon-a-shangyibu2 text-[16px]"
                                                                            }, null, -1)
                                                                        ])),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + y(o(i)("hsqe.auditInspection.vesselInspection.backList")), 1)
                                                            ]),
                                                        _: 1
                                                    }),
                                                    b("h1", null, y(o(i)("hsqe.auditInspection.vesselInspection.reportName")), 1)
                                                ]),
                                            _: 1
                                        })
                                    ]),
                                "header-extra": s(()=>[
                                        a(H, {
                                            align: "center"
                                        }, {
                                            default: s(()=>[
                                                    o(C) ? (w(), T(h, {
                                                        key: 0,
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                a(u, {
                                                                    loading: o(m),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: pe
                                                                }, {
                                                                    icon: s(()=>e[4] || (e[4] = [
                                                                            b("i", {
                                                                                class: "iconfont icon-Approve text-[28px]"
                                                                            }, null, -1)
                                                                        ])),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + y(o(i)("hsqe.auditInspection.vesselInspection.approve")), 1)
                                                            ]),
                                                        _: 1
                                                    })) : G("", !0),
                                                    o(C) ? (w(), T(h, {
                                                        key: 1,
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                a(u, {
                                                                    loading: o(m),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: ce
                                                                }, {
                                                                    icon: s(()=>e[5] || (e[5] = [
                                                                            b("i", {
                                                                                class: "iconfont icon-Returned"
                                                                            }, null, -1)
                                                                        ])),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + y(o(i)("hsqe.auditInspection.vesselInspection.reject")), 1)
                                                            ]),
                                                        _: 1
                                                    })) : G("", !0),
                                                    a(h, {
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                a(u, {
                                                                    loading: o(m),
                                                                    type: "primary",
                                                                    strong: "",
                                                                    bordered: "",
                                                                    secondary: "",
                                                                    class: "size-7",
                                                                    onClick: de
                                                                }, {
                                                                    icon: s(()=>e[6] || (e[6] = [
                                                                            b("i", {
                                                                                class: "iconfont icon-Log"
                                                                            }, null, -1)
                                                                        ])),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + y(o(i)("hsqe.auditInspection.vesselInspection.viewAuditLog")), 1)
                                                            ]),
                                                        _: 1
                                                    }),
                                                    a(h, {
                                                        trigger: "hover"
                                                    }, {
                                                        trigger: s(()=>[
                                                                a(u, {
                                                                    loading: o(m),
                                                                    type: "text",
                                                                    class: "size-8",
                                                                    onClick: me
                                                                }, {
                                                                    icon: s(()=>e[7] || (e[7] = [
                                                                            b("i", {
                                                                                class: "iconfont icon-a-shangyibu1 text-[16px]"
                                                                            }, null, -1)
                                                                        ])),
                                                                    _: 1
                                                                }, 8, [
                                                                    "loading"
                                                                ])
                                                            ]),
                                                        default: s(()=>[
                                                                V(" " + y(o(i)("hsqe.auditInspection.vesselInspection.next")), 1)
                                                            ]),
                                                        _: 1
                                                    })
                                                ]),
                                            _: 1
                                        })
                                    ]),
                                default: s(()=>[
                                        a(fe, {
                                            onRegister: o(Y)
                                        }, {
                                            reportBy: s(()=>[
                                                    a(ve, {
                                                        value: o(P),
                                                        "onUpdate:value": e[1] || (e[1] = (v)=>W(P) ? P.value = v : null),
                                                        type: "text",
                                                        disabled: !0
                                                    }, null, 8, [
                                                        "value"
                                                    ])
                                                ]),
                                            addendList: s(({ model: v, field: R })=>[
                                                    a(ge, {
                                                        value: v[R],
                                                        "onUpdate:value": (f)=>v[R] = f,
                                                        options: o(M),
                                                        disabled: o(_),
                                                        "max-tag-count": "responsive",
                                                        multiple: "",
                                                        filterable: ""
                                                    }, null, 8, [
                                                        "value",
                                                        "onUpdate:value",
                                                        "options",
                                                        "disabled"
                                                    ])
                                                ]),
                                            visitPlace: s(({ model: v, field: R })=>[
                                                    a(he, {
                                                        ref: "portTableSelectRef",
                                                        labelField: "port",
                                                        valueField: "id",
                                                        value: v[R],
                                                        "onUpdate:value": (f)=>v[R] = f,
                                                        formValues: o(S),
                                                        "onUpdate:formValues": e[2] || (e[2] = (f)=>W(S) ? S.value = f : null),
                                                        multiple: !1,
                                                        formProps: se,
                                                        disabled: o(_),
                                                        selectTitle: o(i)("hsqe.planner.modal.selectPort"),
                                                        tableProps: {
                                                            rowKey: (f)=>f.id,
                                                            request: le,
                                                            columns: oe,
                                                            pagination: {
                                                                simple: !0
                                                            }
                                                        },
                                                        class: "w-full"
                                                    }, null, 8, [
                                                        "value",
                                                        "onUpdate:value",
                                                        "formValues",
                                                        "disabled",
                                                        "selectTitle",
                                                        "tableProps"
                                                    ])
                                                ]),
                                            _: 1
                                        }, 8, [
                                            "onRegister"
                                        ])
                                    ]),
                                _: 1
                            }),
                            a(Ge, {
                                ref_key: "modalRef",
                                ref: F
                            }, null, 512),
                            a(Qe, {
                                ref_key: "rejectModalRef",
                                ref: z,
                                onSuccess: ue
                            }, null, 512)
                        ]),
                    _: 1
                });
            };
        }
    });
    Qt = Me(tt, [
        [
            "__scopeId",
            "data-v-b9aa4089"
        ]
    ]);
});
export { Qt as default, __tla };
