const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_index = require("../Divider/index.js");
const require_index$1 = require("./components/collapsibleList/index.js");
const require_utils = require("./components/collapsibleList/utils.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
require("./index.less");
//#region src/components/productCard/components/Packages/index.tsx
const prefix = "pisell-lowcode-";
const Packages = ({ item, isShowPackageNote }) => {
	const bundle = (item === null || item === void 0 ? void 0 : item.bundle) || [];
	return (bundle === null || bundle === void 0 ? void 0 : bundle.length) > 0 ? /* @__PURE__ */ react.default.createElement(react.default.Fragment, null, /* @__PURE__ */ react.default.createElement(require_index.default, null), /* @__PURE__ */ react.default.createElement("div", { className: `${prefix}product-packages-wrap` }, /* @__PURE__ */ react.default.createElement("div", { className: `${prefix}product-packages-title` }, _pisell_utils.locales.getText("pisell2.product.card.items.package")), /* @__PURE__ */ react.default.createElement(require_index$1.default, {
		list: bundle || [],
		renderItem: (items) => require_utils.renderBundles(require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, items), {}, { symbol: item === null || item === void 0 ? void 0 : item.symbol }), false, isShowPackageNote)
	}))) : null;
};
//#endregion
exports.default = Packages;
