"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js");
require("../../../../../node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.js");
require("../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js");
require("../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js");
require("../../../../../node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js");
require("../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseClone.js");
require("../../../../../node_modules/.pnpm/crypto-js@4.1.1/node_modules/crypto-js/index.js");
require("../../../../enums/pageEnum.js");
require("../../../../router/index.js");
const style = require("../../../../utils/style.js");
require("../../../../../node_modules/.pnpm/vue3-lazyload@0.2.5-beta_a6dezdz3je235ci4e3tu4rayna/node_modules/vue3-lazyload/dist/vue3-lazyload.esm.js");
require("../../../../components/GoSkeleton/index.vue.js");
require("../../../../components/GoLoading/index.js");
require("../../../../settings/designSetting.js");
const style$1 = require("../../utils/style.js");
require("../../utils/storage.js");
require("../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/addEventListener.js");
require("../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/animationFrame.js");
require("../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/childNodes.js");
require("../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/querySelectorAll.js");
require("../../../../store/modules/designStore/designStore.js");
require("../../../../api/axios.js");
require("../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js");
require("../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
const useLifeHandler_hook = require("../../../../hooks/useLifeHandler.hook.js");
require("../../../../store/modules/langStore/langStore.js");
const runtimeCore_esmBundler = require("../../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");
const shared_esmBundler = require("../../../../../node_modules/.pnpm/@vue_shared@3.3.4/node_modules/@vue/shared/dist/shared.esm-bundler.js");
const reactivity_esmBundler = require("../../../../../node_modules/.pnpm/@vue_reactivity@3.3.4/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");
const _sfc_main = /* @__PURE__ */ runtimeCore_esmBundler.defineComponent({
  __name: "index",
  props: {
    groupData: {
      type: Object,
      required: true
    },
    themeSetting: {
      type: Object,
      required: true
    },
    themeColor: {
      type: Object,
      required: true
    },
    groupIndex: {
      type: Number,
      required: true
    }
  },
  setup(__props) {
    return (_ctx, _cache) => {
      return runtimeCore_esmBundler.openBlock(true), runtimeCore_esmBundler.createElementBlock(runtimeCore_esmBundler.Fragment, null, runtimeCore_esmBundler.renderList(__props.groupData.groupList, (item) => {
        return runtimeCore_esmBundler.openBlock(), runtimeCore_esmBundler.createElementBlock("div", {
          class: shared_esmBundler.normalizeClass(["chart-item", reactivity_esmBundler.unref(style.animationsClass)(item.styles.animations)]),
          key: item.id,
          style: shared_esmBundler.normalizeStyle({
            ...reactivity_esmBundler.unref(style$1.getComponentAttrStyle)(item.attr, __props.groupIndex),
            ...reactivity_esmBundler.unref(style.getFilterStyle)(item.styles),
            ...reactivity_esmBundler.unref(style.getTransformStyle)(item.styles),
            ...reactivity_esmBundler.unref(style$1.getStatusStyle)(item.status),
            ...reactivity_esmBundler.unref(style$1.getPreviewConfigStyle)(item.preview),
            ...reactivity_esmBundler.unref(style.getBlendModeStyle)(item.styles)
          })
        }, [
          (runtimeCore_esmBundler.openBlock(), runtimeCore_esmBundler.createBlock(runtimeCore_esmBundler.resolveDynamicComponent(item.chartConfig.chartKey), runtimeCore_esmBundler.mergeProps({
            id: item.id,
            chartConfig: item,
            themeSetting: __props.themeSetting,
            themeColor: __props.themeColor,
            style: { ...reactivity_esmBundler.unref(style$1.getSizeStyle)(item.attr) }
          }, runtimeCore_esmBundler.toHandlers(reactivity_esmBundler.unref(useLifeHandler_hook.useLifeHandler)(item))), null, 16, ["id", "chartConfig", "themeSetting", "themeColor", "style"]))
        ], 6);
      }), 128);
    };
  }
});
exports.default = _sfc_main;
