import "core-js/modules/es.symbol.js";
import "core-js/modules/es.array.filter.js";
import "core-js/modules/es.array.for-each.js";
import "core-js/modules/es.array.push.js";
import "core-js/modules/es.object.define-properties.js";
import "core-js/modules/es.object.define-property.js";
import "core-js/modules/es.object.get-own-property-descriptor.js";
import "core-js/modules/es.object.get-own-property-descriptors.js";
import "core-js/modules/es.object.keys.js";
import "core-js/modules/es.object.to-string.js";
import "core-js/modules/esnext.iterator.constructor.js";
import "core-js/modules/esnext.iterator.filter.js";
import "core-js/modules/esnext.iterator.for-each.js";
import "core-js/modules/web.dom-collections.for-each.js";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
import { ShareSelectionWindow } from './index';
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
var meta = {
  title: 'Components/ShareSelectionWindow',
  tags: ['autodocs'],
  argTypes: {
    currentShareType: {
      control: {
        type: 'text'
      }
    },
    onChangeShareType: {
      action: 'onChangeShareType'
    },
    cards: {
      control: {
        type: 'object'
      }
    },
    applications: {
      control: {
        type: 'object'
      }
    },
    shareWithAudio: {
      control: {
        type: 'boolean'
      }
    },
    isFluent: {
      control: {
        type: 'boolean'
      }
    }
  }
};
export var Basic = {
  args: {
    currentShareType: 'basic',
    onChangeShareType: function onChangeShareType(type) {
      console.log(type);
    },
    screens: [{
      key: '1',
      title: '屏幕',
      content: '屏幕内容'
    }, {
      key: '2',
      title: '窗口',
      content: '窗口内容',
      active: true
    }, {
      key: '3',
      title: '白板',
      content: '白板内容'
    }, {
      key: '4',
      title: '文件',
      content: '文件内容'
    }, {
      key: '5',
      title: '视频',
      content: '视频内容'
    }],
    applications: [{
      key: '1',
      title: '应用1',
      content: '应用1内容'
    }, {
      key: '2',
      title: '应用2',
      content: '应用2内容'
    }, {
      key: '3',
      title: '应用3',
      content: '应用3内容'
    }],
    shareWithAudio: true,
    isFluent: true
  },
  render: function render(props) {
    return /*#__PURE__*/_jsxs(_Fragment, {
      children: ["\u7070\u8272\u8FB9\u6846\u662F\u4E3A\u4E86\u65B9\u4FBF\u67E5\u770B\u7EC4\u4EF6\u7684\u8FB9\u754C", /*#__PURE__*/_jsx("div", {
        style: {
          border: '1px solid #eee'
        },
        children: /*#__PURE__*/_jsx(ShareSelectionWindow, _objectSpread({}, props))
      })]
    });
  }
};
export default meta;