'use strict';

require('../../../../utils/index.js');
require('./index.js');
var runtime = require('../../../../utils/props/runtime.js');
var apiComponent = require('./api-component.js');

"use strict";
const methods = [
  {
    label: "GET",
    value: "GET"
  },
  {
    label: "POST",
    value: "POST"
  },
  {
    label: "PUT",
    value: "PUT"
  },
  {
    label: "DELETE",
    value: "DELETE"
  }
];
const apiUrlProps = runtime.buildProps({
  value: {
    type: runtime.definePropType(Object),
    default: () => ({
      url: "",
      method: apiComponent.DEFAULT_METHOD,
      requestParams: [],
      headerParams: [],
      bodyParams: {
        type: "none",
        parameters: [],
        jsonSchema: [],
        description: ""
      }
    })
  }
});
const apiUrlEmits = {
  "update:value": (params) => !!params,
  change: (params) => !!params
};

exports.apiUrlEmits = apiUrlEmits;
exports.apiUrlProps = apiUrlProps;
exports.methods = methods;
//# sourceMappingURL=api-url.js.map
