import '../../../utils/index.mjs';
import { buildProps, definePropType } from '../../../utils/props/runtime.mjs';

"use strict";
const tagGroupProps = buildProps({
  value: {
    type: definePropType(Array),
    default: []
  },
  options: {
    type: definePropType(Array),
    default: []
  },
  disabled: {
    type: Boolean,
    default: false
  },
  isGray: {
    type: Boolean,
    default: true
  },
  // 尺寸
  size: {
    type: String
  },
  listLoading: {
    type: Boolean,
    default: false
  },
  virtual: {
    type: Boolean,
    default: false
  },
  // 允许添加新标签
  allowCreate: {
    type: Boolean,
    default: false
  },
  // 最大标签数
  maxTagCount: {
    type: Number,
    default: 0
  },
  // 标签排序方式
  sortBy: {
    type: definePropType(String),
    default: "addOrder"
  },
  triggerDistance: {
    type: Number,
    default: 50
  },
  filter: {
    type: definePropType(
      Function
    ),
    default: void 0
  },
  placeholder: {
    type: String,
    default: "\u8F93\u5165\u540E\u56DE\u8F66\u65B0\u5EFA"
  },
  emptyText: {
    type: String,
    default: "\u672A\u627E\u5230\u5339\u914D\u7684\u6807\u7B7E"
  },
  overflowDisplay: {
    type: definePropType(String),
    default: "collapse"
  },
  collapseThreshold: {
    type: Number,
    default: 0
  },
  addText: {
    type: String,
    default: ""
  },
  addIcon: {
    type: String,
    default: "icon-add"
  }
});
const tagGroupEmits = {
  "update:value": (value) => !!value,
  "update:options": (value) => !!value,
  change: (value) => !!value,
  "scroll-bottom": () => true,
  input: (value) => !!value
};

export { tagGroupEmits, tagGroupProps };
//# sourceMappingURL=tag-group.mjs.map
