<!--
 * Ag Grid 加载中蒙版自定义组件
  -->
<script setup lang="ts">
defineProps<{
  params: any;
}>();
</script>
<template>
  <div class="my-ag-grid-loading-overlay-component">
    <div class="my-ag-grid-loading-overlay-component-conten">
      <q-spinner-clock size="3em" style="color: var(--my-ag-grid-primary)" />
      <span>加载中...</span>
    </div>
  </div>
</template>

<style lang="scss">
.my-ag-grid-loading-overlay-component {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  .my-ag-grid-loading-overlay-component-conten {
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 50px);
    color: var(--my-ag-grid-primary);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    > span {
      margin-top: 5px;
    }
  }
}
</style>
