"use strict";

exports.__esModule = true;
exports.OperateEnumType = void 0;
exports.getComCloseActiveList = getComCloseActiveList;
exports.getComOpenActiveList = getComOpenActiveList;
exports.getComSelectList = getComSelectList;
exports.getEncryptionOptionsList = getEncryptionOptionsList;
exports.getGroupAnimationOptionList = getGroupAnimationOptionList;
exports.getGroupCloseAnimationOptionList = getGroupCloseAnimationOptionList;
exports.getGroupTypeOptionList = getGroupTypeOptionList;
exports.getSaveDataBehaviorTypeList = getSaveDataBehaviorTypeList;
exports.getSaveLocalTypeList = getSaveLocalTypeList;
var _type = require("../../cGroupManage-setter/type");
var _locale = require("../../../../src/locale");
var _type2 = require("../type");
function getComSelectList() {
  return [{
    label: "Yes",
    value: 1
  }, {
    label: "No",
    value: 0
  }];
}
var OperateEnumType = exports.OperateEnumType = /*#__PURE__*/function (OperateEnumType) {
  OperateEnumType["Dialog"] = "dialog";
  OperateEnumType["ToLink"] = "toLink";
  OperateEnumType["Tip"] = "tip";
  OperateEnumType["Group"] = "group";
  OperateEnumType["Video"] = "Video";
  OperateEnumType["Telegram"] = "telegram";
  OperateEnumType["RotateWheel"] = "rotateWheel";
  OperateEnumType["Animation"] = "animation";
  OperateEnumType["Carousel"] = "carousel";
  return OperateEnumType;
}(OperateEnumType || {});
function getComOpenActiveList() {
  return [{
    label: (0, _locale.t)('setter.OperateEnumDialog'),
    value: OperateEnumType.Dialog
  }, {
    label: (0, _locale.t)('setter.OperateEnumToLink'),
    value: OperateEnumType.ToLink
  }, {
    label: (0, _locale.t)('setter.OperateEnumTip'),
    value: OperateEnumType.Tip
  }, {
    label: (0, _locale.t)('setter.OperateEnumGroup'),
    value: OperateEnumType.Group
  }, {
    label: (0, _locale.t)('setter.OperateEnumVideo'),
    value: OperateEnumType.Video
  }, {
    label: (0, _locale.t)('setter.OperateEnumTelegram'),
    value: OperateEnumType.Telegram
  }, {
    label: (0, _locale.t)('setter.OperateEnumRotateWheel'),
    value: OperateEnumType.RotateWheel
  }, {
    label: (0, _locale.t)('setter.OperateEnumAnimation'),
    value: OperateEnumType.Animation
  }, {
    label: (0, _locale.t)('setter.OperateEnumCarousel'),
    value: OperateEnumType.Carousel
  }];
}
function getComCloseActiveList() {
  return [{
    label: (0, _locale.t)('setter.OperateEnumDialog'),
    value: OperateEnumType.Dialog
  }, {
    label: (0, _locale.t)('setter.OperateEnumRotateWheel'),
    value: OperateEnumType.RotateWheel
  }, {
    label: (0, _locale.t)('setter.OperateEnumGroup'),
    value: OperateEnumType.Group
  }, {
    label: (0, _locale.t)('setter.OperateEnumAnimation'),
    value: OperateEnumType.Animation
  }, {
    label: (0, _locale.t)('setter.OperateEnumCarousel'),
    value: OperateEnumType.Carousel
  }];
}
function getSaveDataBehaviorTypeList() {
  return [{
    label: (0, _locale.t)('setter.saveTypeLocal'),
    value: _type2.StorageDataBType.Local
  }
  // {
  //     label: t('setter.saveTypeOnLine'),
  //     value: StorageDataBType.OnLine,
  // }
  ];
}
function getSaveLocalTypeList() {
  return [{
    label: (0, _locale.t)('setter.saveLocalLocalStorage'),
    value: _type2.StorageLocalType.LocalStorage
  }, {
    label: (0, _locale.t)('setter.saveLocalSessionStorage'),
    value: _type2.StorageLocalType.SessionStorage
  }];
}
function getGroupTypeOptionList() {
  return [{
    label: (0, _locale.t)('setter.groupSelectDefault'),
    value: _type.GroupDataSourceType["default"]
  }, {
    label: (0, _locale.t)('setter.groupSelectCustom'),
    value: _type.GroupDataSourceType.custom
  }];
}
function getGroupAnimationOptionList() {
  return [{
    label: (0, _locale.t)('setter.groupVariableSpeed'),
    value: _type2.GroupAnimationType.variableSpeed
  }, {
    label: (0, _locale.t)('setter.groupConstantSpeed'),
    value: _type2.GroupAnimationType.constantSpeed
  }];
}
function getGroupCloseAnimationOptionList() {
  return [{
    label: (0, _locale.t)('setter.groupImmediatelyOver'),
    value: _type2.GroupAnimationType.immediatelyOver
  }, {
    label: (0, _locale.t)('setter.groupSlowOver'),
    value: _type2.GroupAnimationType.slowOver
  }];
}
function getEncryptionOptionsList() {
  return [{
    label: (0, _locale.t)('setter.encryptionDefault'),
    value: 'default'
  }, {
    label: (0, _locale.t)('setter.encryptionMd5'),
    value: 'md5'
  }];
}