/**
 * ldesign v0.4.2
 * (c) 2023 ldesign
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
var hooks_useConfig = require('../../hooks/useConfig.js');
var calendar_const = require('../const.js');
require('../../config-provider/useConfig.js');
require('lodash/cloneDeep');
require('lodash/isFunction');
require('lodash/isString');
require('../../config-provider/context.js');
require('lodash/mergeWith');
require('lodash/merge');
require('lodash/isArray');
require('../../_common/js/global-config/default-config.js');
require('../../_common/js/global-config/locale/zh_CN.js');
require('@babel/runtime/helpers/typeof');
require('../../_chunks/dep-7f0559c3.js');
require('dayjs');

function useCalendarClass(props, state) {
  var prefixClass = hooks_useConfig.usePrefixClass(calendar_const.COMPONENT_NAME);
  var body = vue.computed(function () {
    return ["".concat(prefixClass.value), "".concat(prefixClass.value, "--").concat(props.theme)];
  });
  var panel = vue.computed(function () {
    return ["".concat(prefixClass.value, "__panel"), "".concat(prefixClass.value, "__panel--").concat(state.curSelectedMode)];
  });
  var control = vue.computed(function () {
    return ["".concat(prefixClass.value, "__control")];
  });
  var title = vue.computed(function () {
    return ["".concat(prefixClass.value, "__title")];
  });
  var controlSection = vue.computed(function () {
    return ["".concat(prefixClass.value, "__control-section")];
  });
  var controlSectionCell = vue.computed(function () {
    return ["".concat(prefixClass.value, "__control-section-cell")];
  });
  var controlTag = vue.computed(function () {
    return ["".concat(prefixClass.value, "__control-tag")];
  });
  var table = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table")];
  });
  var tableHead = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-head")];
  });
  var tableHeadRow = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-head-row")];
  });
  var tableHeadCell = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-head-cell")];
  });
  var tableBody = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-body")];
  });
  var tableBodyRow = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-body-row")];
  });
  return {
    body: body,
    panel: panel,
    control: control,
    title: title,
    controlSection: controlSection,
    controlSectionCell: controlSectionCell,
    controlTag: controlTag,
    table: table,
    tableHead: tableHead,
    tableHeadRow: tableHeadRow,
    tableHeadCell: tableHeadCell,
    tableBody: tableBody,
    tableBodyRow: tableBodyRow
  };
}
function useCalendarCellClass() {
  var prefixClass = hooks_useConfig.usePrefixClass(calendar_const.COMPONENT_NAME);
  var tableBodyCell = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-body-cell")];
  });
  var tableBodyCell4Now = vue.computed(function () {
    return "".concat(prefixClass.value, "__table-body-cell--now");
  });
  var tableBodyCellDisplay = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-body-cell-display")];
  });
  var tableBodyCellCsontent = vue.computed(function () {
    return ["".concat(prefixClass.value, "__table-body-cell-content")];
  });
  return {
    tableBodyCell: tableBodyCell,
    tableBodyCell4Now: tableBodyCell4Now,
    tableBodyCellDisplay: tableBodyCellDisplay,
    tableBodyCellCsontent: tableBodyCellCsontent
  };
}

exports.useCalendarCellClass = useCalendarCellClass;
exports.useCalendarClass = useCalendarClass;
//# sourceMappingURL=useCalendarClass.js.map
