@univerjs/engine-render 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260110-48b77c8

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/lib/es/index.js CHANGED
@@ -42510,6 +42510,9 @@ class x3 extends a3 {
42510
42510
  H6.has(s) || (this[`_${s}`] = e[s]);
42511
42511
  }), this.makeDirty(!0), this);
42512
42512
  }
42513
+ getPropByKey(e) {
42514
+ return this[`_${String(e)}`];
42515
+ }
42513
42516
  toJson() {
42514
42517
  const e = {};
42515
42518
  return _y.forEach((a) => {
package/lib/index.js CHANGED
@@ -42510,6 +42510,9 @@ class x3 extends a3 {
42510
42510
  H6.has(s) || (this[`_${s}`] = e[s]);
42511
42511
  }), this.makeDirty(!0), this);
42512
42512
  }
42513
+ getPropByKey(e) {
42514
+ return this[`_${String(e)}`];
42515
+ }
42513
42516
  toJson() {
42514
42517
  const e = {};
42515
42518
  return _y.forEach((a) => {
@@ -110,6 +110,7 @@ export declare abstract class Shape<T extends IShapeProps> extends BaseObject {
110
110
  * @param props
111
111
  */
112
112
  setProps(props?: T): Shape<T>;
113
+ getPropByKey<K extends keyof T>(key: K): T[K];
113
114
  toJson(): {
114
115
  [x: string]: any;
115
116
  };