@mescius/wijmo.react.grid.detail 5.20252.43-nightly.d20251106.t173048 → 5.20252.43-nightly.d20251112.t011705

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251106.t173048
3
+ * Wijmo Library 5.20252.43-nightly.d20251112.t011705
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcGridDetail=__importStar(require("@mescius/wijmo.grid.detail"));exports.FlexGridDetailMeta={inputs:["detailVisibilityMode","isAnimated","keyActionEnter","maxHeight","rowHasDetail","template"],events:[]};const lastDetailContextKey="$_templateFnLastCtx";exports.FlexGridDetail=wijmo_react_base_1.wjForwardRef((function(e,t){const i=wijmo_react_base_1.useWjComponentChildBase({ref:t,properties:exports.FlexGridDetailMeta.inputs,events:exports.FlexGridDetailMeta.events,props:e,constructor:DirectiveFlexGridDetail,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},i)}));class DirectiveFlexGridDetail extends wjcGridDetail.FlexGridDetailProvider{constructor(e,t){super(e,t);this.renderedCellsCache=[];this._createDetailCellFn=e=>{const t={row:e,item:e.dataItem,provider:this},i=this._templateFn;if(!i)return;const r=document.createElement("div"),a=i(t);r[lastDetailContextKey]=t;wijmo_react_base_1.selectiveDomRender(a,r);this.renderedCellsCache.push(r);return r};this._disposeDetailCellFn=e=>{const t=e.detail;wijmo_react_base_1.selectiveDomUnmount(t);let i=-1;for(let e=0;e<this.renderedCellsCache.length;e++)if(this.renderedCellsCache[e]==t){i=e;break}i>-1&&this.renderedCellsCache.splice(i,1)}}get template(){return this._templateFn}set template(e){this._templateFn!=e&&(this._templateFn=wjcCore.asFunction(e,!0))}initialize(e){wjcCore.copy(this,e,!1);this.updateTemplate()}updateTemplate(){if(this._templateFn)for(let e of this.renderedCellsCache){const t=e[lastDetailContextKey];wijmo_react_base_1.selectiveDomRender(this._templateFn(t),e,!0)}}}exports.DirectiveFlexGridDetail=DirectiveFlexGridDetail;
14
+ "use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcGridDetail=__importStar(require("@mescius/wijmo.grid.detail"));exports.FlexGridDetailMeta={inputs:["detailVisibilityMode","isAnimated","keyActionEnter","maxHeight","rowHasDetail","template"],events:[]};const lastDetailContextKey="$_templateFnLastCtx";exports.FlexGridDetail=wijmo_react_base_1.wjForwardRef((function(e,t){const i=wijmo_react_base_1.useWjComponentChildBase({ref:t,properties:exports.FlexGridDetailMeta.inputs,events:exports.FlexGridDetailMeta.events,props:e,constructor:DirectiveFlexGridDetail,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},i)}));class DirectiveFlexGridDetail extends wjcGridDetail.FlexGridDetailProvider{constructor(e,t){super(e,t);this.renderedCellsCache=[];this._createDetailCellFn=e=>{const t={row:e,item:e.dataItem,provider:this},i=this._templateFn;if(!i)return;const r=document.createElement("div"),a=i(t);r.$_templateFnLastCtx=t;wijmo_react_base_1.selectiveDomRender(a,r);this.renderedCellsCache.push(r);return r};this._disposeDetailCellFn=e=>{const t=e.detail;wijmo_react_base_1.selectiveDomUnmount(t);let i=-1;for(let e=0;e<this.renderedCellsCache.length;e++)if(this.renderedCellsCache[e]==t){i=e;break}i>-1&&this.renderedCellsCache.splice(i,1)}}get template(){return this._templateFn}set template(e){this._templateFn!=e&&(this._templateFn=wjcCore.asFunction(e,!0))}initialize(e){wjcCore.copy(this,e,!1);this.updateTemplate()}updateTemplate(){if(this._templateFn)for(let e of this.renderedCellsCache){const t=e.$_templateFnLastCtx;wijmo_react_base_1.selectiveDomRender(this._templateFn(t),e,!0)}}}exports.DirectiveFlexGridDetail=DirectiveFlexGridDetail;
package/es2015-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251106.t173048
3
+ * Wijmo Library 5.20252.43-nightly.d20251112.t011705
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- import{selectiveDomRender,selectiveDomUnmount,useWjComponentChildBase,wjForwardRef}from"@mescius/wijmo.react.base";import*as wjcCore from"@mescius/wijmo";import*as wjcGridDetail from"@mescius/wijmo.grid.detail";export const FlexGridDetailMeta={inputs:["detailVisibilityMode","isAnimated","keyActionEnter","maxHeight","rowHasDetail","template"],events:[]};const lastDetailContextKey="$_templateFnLastCtx";export const FlexGridDetail=wjForwardRef((function(e,t){const i=useWjComponentChildBase({ref:t,properties:FlexGridDetailMeta.inputs,events:FlexGridDetailMeta.events,props:e,constructor:DirectiveFlexGridDetail,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},i)}));export class DirectiveFlexGridDetail extends wjcGridDetail.FlexGridDetailProvider{constructor(e,t){super(e,t);this.renderedCellsCache=[];this._createDetailCellFn=e=>{const t={row:e,item:e.dataItem,provider:this},i=this._templateFn;if(!i)return;const r=document.createElement("div"),s=i(t);r[lastDetailContextKey]=t;selectiveDomRender(s,r);this.renderedCellsCache.push(r);return r};this._disposeDetailCellFn=e=>{const t=e.detail;selectiveDomUnmount(t);let i=-1;for(let e=0;e<this.renderedCellsCache.length;e++)if(this.renderedCellsCache[e]==t){i=e;break}i>-1&&this.renderedCellsCache.splice(i,1)}}get template(){return this._templateFn}set template(e){this._templateFn!=e&&(this._templateFn=wjcCore.asFunction(e,!0))}initialize(e){wjcCore.copy(this,e,!1);this.updateTemplate()}updateTemplate(){if(this._templateFn)for(let e of this.renderedCellsCache){const t=e[lastDetailContextKey];selectiveDomRender(this._templateFn(t),e,!0)}}}
14
+ import{selectiveDomRender,selectiveDomUnmount,useWjComponentChildBase,wjForwardRef}from"@mescius/wijmo.react.base";import*as wjcCore from"@mescius/wijmo";import*as wjcGridDetail from"@mescius/wijmo.grid.detail";export const FlexGridDetailMeta={inputs:["detailVisibilityMode","isAnimated","keyActionEnter","maxHeight","rowHasDetail","template"],events:[]};const lastDetailContextKey="$_templateFnLastCtx";export const FlexGridDetail=wjForwardRef((function(e,t){const i=useWjComponentChildBase({ref:t,properties:FlexGridDetailMeta.inputs,events:FlexGridDetailMeta.events,props:e,constructor:DirectiveFlexGridDetail,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},i)}));export class DirectiveFlexGridDetail extends wjcGridDetail.FlexGridDetailProvider{constructor(e,t){super(e,t);this.renderedCellsCache=[];this._createDetailCellFn=e=>{const t={row:e,item:e.dataItem,provider:this},i=this._templateFn;if(!i)return;const r=document.createElement("div"),s=i(t);r.$_templateFnLastCtx=t;selectiveDomRender(s,r);this.renderedCellsCache.push(r);return r};this._disposeDetailCellFn=e=>{const t=e.detail;selectiveDomUnmount(t);let i=-1;for(let e=0;e<this.renderedCellsCache.length;e++)if(this.renderedCellsCache[e]==t){i=e;break}i>-1&&this.renderedCellsCache.splice(i,1)}}get template(){return this._templateFn}set template(e){this._templateFn!=e&&(this._templateFn=wjcCore.asFunction(e,!0))}initialize(e){wjcCore.copy(this,e,!1);this.updateTemplate()}updateTemplate(){if(this._templateFn)for(let e of this.renderedCellsCache){const t=e.$_templateFnLastCtx;selectiveDomRender(this._templateFn(t),e,!0)}}}
package/es5-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251106.t173048
3
+ * Wijmo Library 5.20252.43-nightly.d20251112.t011705
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251106.t173048
3
+ * Wijmo Library 5.20252.43-nightly.d20251112.t011705
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.43-nightly.d20251106.t173048
3
+ * Wijmo Library 5.20252.43-nightly.d20251112.t011705
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@mescius/wijmo.react.grid.detail",
3
- "version": "5.20252.43-nightly.d20251106.t173048",
3
+ "version": "5.20252.43-nightly.d20251112.t011705",
4
4
  "description": "UI library for pure JS, Angular, React, Vue and more...",
5
5
  "author": "MESCIUS inc",
6
6
  "license": "Commercial",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "dependencies": {
10
- "@mescius/wijmo": "5.20252.43-nightly.d20251106.t173048",
11
- "@mescius/wijmo.grid.detail": "5.20252.43-nightly.d20251106.t173048",
12
- "@mescius/wijmo.grid": "5.20252.43-nightly.d20251106.t173048",
13
- "@mescius/wijmo.react.base": "5.20252.43-nightly.d20251106.t173048"
10
+ "@mescius/wijmo": "5.20252.43-nightly.d20251112.t011705",
11
+ "@mescius/wijmo.grid.detail": "5.20252.43-nightly.d20251112.t011705",
12
+ "@mescius/wijmo.grid": "5.20252.43-nightly.d20251112.t011705",
13
+ "@mescius/wijmo.react.base": "5.20252.43-nightly.d20251112.t011705"
14
14
  },
15
15
  "homepage": "https://developer.mescius.com/wijmo",
16
16
  "bugs": {