import "../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
import "../../../../../node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.mjs";
import "../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.mjs";
import "../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.mjs";
import "../../../../../node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs";
import "../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseClone.mjs";
import "../../../../../node_modules/.pnpm/crypto-js@4.1.1/node_modules/crypto-js/index.mjs";
import "../../../../enums/pageEnum.mjs";
import "../../../../router/index.mjs";
import { animationsClass, getFilterStyle, getTransformStyle, getBlendModeStyle } from "../../../../utils/style.mjs";
import "../../../../../node_modules/.pnpm/vue3-lazyload@0.2.5-beta_a6dezdz3je235ci4e3tu4rayna/node_modules/vue3-lazyload/dist/vue3-lazyload.esm.mjs";
import "../../../../components/GoSkeleton/index.vue.mjs";
import "../../../../components/GoLoading/index.mjs";
import "../../../../settings/designSetting.mjs";
import { getComponentAttrStyle, getStatusStyle, getPreviewConfigStyle, getSizeStyle } from "../../utils/style.mjs";
import "../../utils/storage.mjs";
import "../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/addEventListener.mjs";
import "../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/animationFrame.mjs";
import "../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/childNodes.mjs";
import "../../../../../node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/querySelectorAll.mjs";
import "../../../../store/modules/designStore/designStore.mjs";
import "../../../../api/axios.mjs";
import "../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.mjs";
import "../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.mjs";
import { useLifeHandler } from "../../../../hooks/useLifeHandler.hook.mjs";
import "../../../../store/modules/langStore/langStore.mjs";
import { defineComponent, openBlock, createElementBlock, renderList, createBlock, mergeProps, toHandlers, resolveDynamicComponent, Fragment } from "../../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
import { normalizeClass, normalizeStyle } from "../../../../../node_modules/.pnpm/@vue_shared@3.3.4/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
import { unref } from "../../../../../node_modules/.pnpm/@vue_reactivity@3.3.4/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
const _sfc_main = /* @__PURE__ */ 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 openBlock(true), createElementBlock(Fragment, null, renderList(__props.groupData.groupList, (item) => {
        return openBlock(), createElementBlock("div", {
          class: normalizeClass(["chart-item", unref(animationsClass)(item.styles.animations)]),
          key: item.id,
          style: normalizeStyle({
            ...unref(getComponentAttrStyle)(item.attr, __props.groupIndex),
            ...unref(getFilterStyle)(item.styles),
            ...unref(getTransformStyle)(item.styles),
            ...unref(getStatusStyle)(item.status),
            ...unref(getPreviewConfigStyle)(item.preview),
            ...unref(getBlendModeStyle)(item.styles)
          })
        }, [
          (openBlock(), createBlock(resolveDynamicComponent(item.chartConfig.chartKey), mergeProps({
            id: item.id,
            chartConfig: item,
            themeSetting: __props.themeSetting,
            themeColor: __props.themeColor,
            style: { ...unref(getSizeStyle)(item.attr) }
          }, toHandlers(unref(useLifeHandler)(item))), null, 16, ["id", "chartConfig", "themeSetting", "themeColor", "style"]))
        ], 6);
      }), 128);
    };
  }
});
export {
  _sfc_main as default
};
