import { _ as _export_sfc, d as defineNuxtComponent, g as APagination, O as ARolePermissionAssignments } from '../server.mjs';
import { useSSRContext, resolveComponent, mergeProps, withCtx, createVNode } from 'vue';
import { ssrRenderComponent } from 'vue/server-renderer';
import '../../nitro/node-server.mjs';
import 'node:http';
import 'node:https';
import 'fs';
import 'path';
import 'node:fs';
import 'node:url';
import 'unhead';
import '@unhead/shared';
import 'vue-router';
import '@ebec/http/core';
import 'hapic';
import '@hapic/oauth2';
import 'rapiq';
import '@hapic/vault';
import '@vuecs/navigation';
import 'change-case';
import '@vuecs/list-controls/core';
import 'smob';
import '@vuecs/list-controls';
import 'ilingo';
import '@vuelidate/validators';
import '@vuelidate/core';
import 'nanoid';
import '@vuecs/form-controls';
import '@vuecs/pagination';
import '@ucast/mongo2js';
import 'bootstrap-vue-next';
import '@vuecs/preset-bootstrap-v5';
import '@vuecs/preset-font-awesome';
import '@vuecs/countdown';
import '@vuecs/timeago';
import '@vuecs/form-controls/core';
import 'browser-storage-adapter';

const _sfc_main = defineNuxtComponent({
  components: {
    APagination,
    ARolePermissionAssignments
  },
  props: {
    entity: {
      type: Object,
      required: true
    }
  }
}, "$71pTUnWe3p");
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
  const _component_ARolePermissionAssignments = resolveComponent("ARolePermissionAssignments");
  const _component_APagination = resolveComponent("APagination");
  _push(ssrRenderComponent(_component_ARolePermissionAssignments, mergeProps({
    "entity-id": _ctx.entity.id
  }, _attrs), {
    footer: withCtx((props, _push2, _parent2, _scopeId) => {
      if (_push2) {
        _push2(ssrRenderComponent(_component_APagination, {
          busy: props.busy,
          meta: props.meta,
          load: props.load
        }, null, _parent2, _scopeId));
      } else {
        return [
          createVNode(_component_APagination, {
            busy: props.busy,
            meta: props.meta,
            load: props.load
          }, null, 8, ["busy", "meta", "load"])
        ];
      }
    }),
    _: 1
  }, _parent));
}
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/admin/roles/[id]/permissions.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const permissions = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);

export { permissions as default };
//# sourceMappingURL=permissions-CkaljBnu.mjs.map
