@next-core/brick-kit 2.154.8 → 2.154.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8604,8 +8604,9 @@
8604
8604
  var proxyCopy = _objectSpread__default["default"]({}, proxy);
8605
8605
 
8606
8606
  proxyBrick.proxy = proxyCopy;
8607
- proxyBrick.proxyRefs = new Map();
8608
- proxyBrick.stateNames = state === null || state === void 0 ? void 0 : state.map(item => item.name);
8607
+ proxyBrick.proxyRefs = new Map(); // Allow duplicated state names which maybe mutually exclusive.
8608
+
8609
+ proxyBrick.stateNames = state ? _.uniq(state.map(item => item.name)) : undefined;
8609
8610
  var refToBrickConf = collectRefsInTemplate(template); // Reversed proxies are used for expand storyboard before rendering page.
8610
8611
 
8611
8612
  var reversedProxies = {