@next-core/brick-kit 2.105.1 → 2.106.0

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.
package/dist/index.esm.js CHANGED
@@ -6321,6 +6321,10 @@ class BrickNode {
6321
6321
  node.setAttribute("slot", brick.slotId);
6322
6322
  }
6323
6323
 
6324
+ if (brick.iid) {
6325
+ node.dataset.iid = brick.iid;
6326
+ }
6327
+
6324
6328
  setRealProperties(node, brick.properties);
6325
6329
  bindListeners(node, brick.events, brick.context);
6326
6330
 
@@ -8910,7 +8914,8 @@ class LocationContext {
8910
8914
  children: [],
8911
8915
  slotId,
8912
8916
  refForProxy: brickConf[symbolForRefForProxy],
8913
- tplContextId
8917
+ tplContextId,
8918
+ iid: brickConf.iid
8914
8919
  });
8915
8920
 
8916
8921
  if (brickConf[symbolForComputedPropsFromProxy]) {
@@ -11335,6 +11340,11 @@ var SingleBrickAsComponent = /*#__PURE__*/React.memo(function SingleBrickAsCompo
11335
11340
  var {
11336
11341
  [symbolForTplContextId]: tplContextId
11337
11342
  } = useBrick;
11343
+
11344
+ if (useBrick.iid) {
11345
+ element.dataset.iid = useBrick.iid;
11346
+ }
11347
+
11338
11348
  setRealProperties(element, brick.properties);
11339
11349
  unbindListeners(element);
11340
11350
 
@@ -11533,6 +11543,11 @@ var ForwardRefSingleBrickAsComponent = /*#__PURE__*/React.memo( /*#__PURE__*/for
11533
11543
  var {
11534
11544
  [symbolForTplContextId]: tplContextId
11535
11545
  } = useBrick;
11546
+
11547
+ if (useBrick.iid) {
11548
+ element.dataset.iid = useBrick.iid;
11549
+ }
11550
+
11536
11551
  setRealProperties(element, brick.properties);
11537
11552
  unbindListeners(element);
11538
11553