<template>
  <w-grid
    :title="$t('menu.developer.springboot.environment')"
    :checkbox-selection="false"
    :fetch-data-url="Environment.apiContextPath('/api/developer/springboot/environment')"
    :pageable="false"
    :toolbar-actions="['refresh', 'separator', 'view', 'separator', 'export']"
    :columns="[
      { width: 200, name: 'propertySourceName', label: $t('category') },
      { width: 400, name: 'propertyName', label: $t('name') },
      { width: '100%', name: 'value', label: $t('value') },
    ]"
    :viewer="{
      panel: {
        columnNum: 1,
        fields: [
          { name: 'propertySourceName', label: $t('category') },
          { name: 'propertyName', label: $t('name') },
          { name: 'value', label: $t('value') },
        ],
      },
    }"
  ></w-grid>
</template>
<script setup lang="ts">
import { Environment, Formater } from 'platform-core';
</script>
