lituix 0.1.2 → 0.1.4

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/components.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "Generated by scripts/generate-llm-docs.mjs from source. Do not edit by hand; run pnpm docs:llm.",
3
3
  "package": "lituix",
4
- "version": "0.1.2",
4
+ "version": "0.1.4",
5
5
  "generatedFrom": {
6
6
  "components": "src/components",
7
7
  "stories": "stories"
@@ -7056,7 +7056,7 @@
7056
7056
  {
7057
7057
  "name": "placement",
7058
7058
  "attribute": "placement",
7059
- "type": "| \"top\"\n | \"top-start\"\n | \"top-end\"\n | \"right\"\n | \"right-start\"\n | \"right-end\"\n | \"bottom\"\n | \"bottom-start\"\n | \"bottom-end\"\n | \"left\"\n | \"left-start\"\n | \"left-end\"",
7059
+ "type": "| \"top\"\r\n | \"top-start\"\r\n | \"top-end\"\r\n | \"right\"\r\n | \"right-start\"\r\n | \"right-end\"\r\n | \"bottom\"\r\n | \"bottom-start\"\r\n | \"bottom-end\"\r\n | \"left\"\r\n | \"left-start\"\r\n | \"left-end\"",
7060
7060
  "reflects": true
7061
7061
  },
7062
7062
  {
@@ -228,6 +228,12 @@ export declare class LuiForm extends LitElement {
228
228
  private _ensureControllerInitialized;
229
229
  private _isGroupInline;
230
230
  private _getFieldCondition;
231
+ /**
232
+ * 该字段是否会渲染出内容。用于栅格布局下跳过隐藏字段,
233
+ * 避免生成空的 <lui-col> 占位。group/array/button 自行处理可见性,
234
+ * 这里只判断走普通字段分支的情况。
235
+ */
236
+ private _isFieldRenderable;
231
237
  private _renderField;
232
238
  private _renderButtonField;
233
239
  private _renderGroup;
@@ -1 +1 @@
1
- {"version":3,"file":"lui-form.d.ts","sourceRoot":"","sources":["../../src/components/lui-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAW,MAAM,KAAK,CAAC;AAKrD,OAAO,KAAK,EACV,qBAAqB,EAC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AAO,CAAC,MAAM,CAAC,SAAS,CAUrB;IAEH,OAAO,CAAC,MAAM,CAAC,SAAS,CAAuC;IAE/D,OAAO,CAAC,WAAW;IAkCnB,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,cAAc;IAwPtB,OAAO,CAAC,aAAa;IAuDrB,OAAO,CAAC,aAAa;IAqDrB,MAAM;;;CAoCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
@@ -36,6 +36,7 @@ export declare class LuiPagination extends LitElement {
36
36
  private _resizeObserver?;
37
37
  private _layoutFrame;
38
38
  private _indicatorFrame;
39
+ private _indicatorSettled;
39
40
  private _observedParent?;
40
41
  private _disposeLocaleChange?;
41
42
  private _explicitAttrs;
@@ -1 +1 @@
1
- {"version":3,"file":"lui-pagination.d.ts","sourceRoot":"","sources":["../../src/components/lui-pagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1E,OAAO,EAAgD,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,YAAY,CAAC;AAEpB,OAAO,cAAc,CAAC;AAEtB,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvE,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAWD,qBACa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,MAAM,4BAuPX;IAGF,OAAO,SAAK;IAGZ,KAAK,SAAK;IAGV,QAAQ,SAAM;IAGd,UAAU,SAAK;IAGf,IAAI,EAAE,cAAc,CAAQ;IAG5B,WAAW,UAAS;IAGpB,SAAS,UAAS;IAGlB,UAAU,UAAS;IAGn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,OAAO,CAAC,WAAW;IAiBnB,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,YAAY;IAcpB,OAAO,CAAC,WAAW;IAwBnB,OAAO,CAAC,cAAc,CAGpB;IAEF,OAAO,CAAC,iBAAiB,CAGvB;IAEF,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAO,CAAC,gBAAgB,CAKtB;IAEF,OAAO,CAAC,YAAY;IA+EpB,MAAM;CAyDP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,aAAa,CAAC;KACjC;CACF"}
@@ -3308,7 +3308,7 @@
3308
3308
  padding: 0 38px 0 14px;
3309
3309
  font-size: var(--lui-font-size);
3310
3310
  }
3311
- `],s([h({reflect:!0})],je.prototype,"value",2),s([h({attribute:!1})],je.prototype,"source",2),s([h({reflect:!0,attribute:"label-key"})],je.prototype,"labelKey",2),s([h({reflect:!0,attribute:"value-key"})],je.prototype,"valueKey",2),s([h({reflect:!0,attribute:"disabled-key"})],je.prototype,"disabledKey",2),s([h({reflect:!0,attribute:"group-key"})],je.prototype,"groupKey",2),s([h({attribute:!1})],je.prototype,"renderOption",2),s([h({attribute:!1})],je.prototype,"renderTag",2),s([h({type:Boolean,attribute:"virtualized",reflect:!0})],je.prototype,"virtualized",2),s([h({type:Number,attribute:"virtual-threshold"})],je.prototype,"virtualThreshold",2),s([h({reflect:!0})],je.prototype,"placeholder",2),s([h({type:Boolean,reflect:!0})],je.prototype,"disabled",2),s([h({type:Boolean,reflect:!0})],je.prototype,"noborder",2),s([h({type:Boolean,reflect:!0})],je.prototype,"multiple",2),s([h({type:Boolean,reflect:!0})],je.prototype,"searchable",2),s([h({type:Boolean,reflect:!0})],je.prototype,"clearable",2),s([h({reflect:!0,attribute:"search-placeholder"})],je.prototype,"searchPlaceholder",2),s([h({reflect:!0,attribute:"empty-text"})],je.prototype,"emptyText",2),s([h({type:Boolean,reflect:!0})],je.prototype,"open",2),s([h({reflect:!0})],je.prototype,"placement",2),s([h({reflect:!0})],je.prototype,"size",2),s([h({type:Boolean,attribute:"close-on-select"})],je.prototype,"closeOnSelect",2),s([h({reflect:!0,attribute:"multiple-display"})],je.prototype,"multipleDisplay",2),s([h()],je.prototype,"locale",2),s([h({attribute:!1})],je.prototype,"translations",2),s([h({attribute:"max-tag-count",converter:{fromAttribute(e){if(e==null||e==="")return;if(e==="responsive"||e==="auto")return e;let t=Number(e);return Number.isFinite(t)?t:void 0},toAttribute(e){return e==null?null:String(e)}}})],je.prototype,"maxTagCount",2),s([h({attribute:!1})],je.prototype,"values",2),s([Y()],je.prototype,"_displayLabel",2),s([Y()],je.prototype,"_currentOptionValue",2),s([Y()],je.prototype,"_searchKeyword",2),s([Y()],je.prototype,"_responsiveMaxTagCount",2),s([G('[part~="trigger"]')],je.prototype,"_triggerNode",2),s([G('[part="value-wrap"]')],je.prototype,"_valueWrapNode",2),s([G('[part~="panel"]')],je.prototype,"_panelNode",2),s([G('[part="search-input"]')],je.prototype,"_searchInputNode",2),je=s([N("lui-select")],je);var tt=class extends L{constructor(){super(...arguments);this.current=1;this.total=0;this.pageSize=10;this.maxVisible=7;this.size="md";this.showSummary=!1;this.showTotal=!1;this.showJumper=!1;this.showSizeChanger=!1;this.showFirstLast=!1;this.hideOnSinglePage=!1;this.simple=!1;this.compact=!1;this.responsive=!1;this.pageSizeOptions=[10,20,50,100];this.selectProps={};this._jumperValue="";this._responsiveMode="normal";this._layoutFrame=0;this._indicatorFrame=0;this._explicitAttrs=new Set;this._onJumperInput=e=>{e.stopPropagation(),this._jumperValue=e.target.value};this._onPageSizeChange=e=>{e.stopPropagation(),this._setPageSize(Number(e.detail?.value))};this._commitJumper=()=>{let e=Number(this._jumperValue);Number.isFinite(e)&&(this._setPage(e,"jumper"),this._jumperValue="")};this._onJumperKeydown=e=>{e.key==="Enter"&&(e.preventDefault(),this._commitJumper())}}willUpdate(e){let t=re(this,"pagination");this._explicitAttrs.size||(this._explicitAttrs=new Set(this.getAttributeNames())),!this._explicitAttrs.has("size")&&typeof t.size=="string"&&this.size!==t.size&&(this.size=t.size),!this._explicitAttrs.has("compact")&&typeof t.compact=="boolean"&&this.compact!==t.compact&&(this.compact=t.compact)}updated(e){let t=re(this,"pagination");Se(this._sizeSelect,{...t.selectProps??{},...this.selectProps??{}}),this.parentElement&&this.parentElement!==this._observedParent&&(this._observedParent&&this._resizeObserver?.unobserve(this._observedParent),this._observedParent=this.parentElement,this._resizeObserver?.observe(this.parentElement)),(e.has("responsive")||e.has("size")||e.has("showTotal")||e.has("showSummary")||e.has("showJumper")||e.has("showSizeChanger")||e.has("showFirstLast")||e.has("simple")||e.has("compact")||e.has("current")||e.has("total")||e.has("pageSize")||e.has("maxVisible"))&&this._scheduleResponsiveLayout(),this._schedulePageIndicatorLayout()}connectedCallback(){super.connectedCallback(),this._explicitAttrs=new Set(this.getAttributeNames()),this._disposeLocaleChange=Ie(()=>this.requestUpdate()),this._resizeObserver=new ResizeObserver(()=>this._scheduleResponsiveLayout())}firstUpdated(){this._resizeObserver?.observe(this),this.parentElement&&(this._observedParent=this.parentElement,this._resizeObserver?.observe(this.parentElement)),this._scheduleResponsiveLayout()}disconnectedCallback(){super.disconnectedCallback(),this._disposeLocaleChange?.(),this._resizeObserver?.disconnect(),this._layoutFrame&&cancelAnimationFrame(this._layoutFrame),this._indicatorFrame&&cancelAnimationFrame(this._indicatorFrame)}_t(e,t,i){let n=lt(this,this.locale,this.translations);return Me(_e(n.locale,n.translations),e,t,i)}get _pageSize(){let e=Number(this.pageSize);return Number.isFinite(e)&&e>0?Math.floor(e):10}get _pageCount(){let e=Number(this.total);return Math.max(1,Math.ceil((Number.isFinite(e)?e:0)/this._pageSize))}get _current(){let e=Number(this.current);return Math.min(this._pageCount,Math.max(1,Number.isFinite(e)?Math.floor(e):1))}_scheduleResponsiveLayout(){this._layoutFrame&&cancelAnimationFrame(this._layoutFrame),this._indicatorFrame&&cancelAnimationFrame(this._indicatorFrame),this._layoutFrame=requestAnimationFrame(()=>{this._layoutFrame=0,this._updateResponsiveMode(),this._schedulePageIndicatorLayout()})}_schedulePageIndicatorLayout(){this._indicatorFrame&&cancelAnimationFrame(this._indicatorFrame),this._indicatorFrame=requestAnimationFrame(()=>{this._indicatorFrame=0,this._updatePageIndicator()})}_updatePageIndicator(){let e=this._pagerNode;if(!e||this._effectiveSimple){e?.style.setProperty("--lui-pagination-indicator-opacity","0");return}let t=e.querySelector(`button.page[data-page="${this._current}"]`);if(!t){e.style.setProperty("--lui-pagination-indicator-opacity","0");return}let i=e.getBoundingClientRect(),n=t.getBoundingClientRect();e.style.setProperty("--lui-pagination-indicator-x",`${n.left-i.left+e.scrollLeft}px`),e.style.setProperty("--lui-pagination-indicator-y",`${n.top-i.top+e.scrollTop}px`),e.style.setProperty("--lui-pagination-indicator-width",`${n.width}px`),e.style.setProperty("--lui-pagination-indicator-height",`${n.height}px`),e.style.setProperty("--lui-pagination-indicator-opacity","1")}_getResponsiveAvailableWidth(){let e=Math.floor(this.clientWidth||this.getBoundingClientRect().width||0);if(e>0)return e;let t=this.parentElement;return t?Math.floor(t.clientWidth||t.getBoundingClientRect().width||0):0}_updateResponsiveMode(){if(!this.responsive){this._responsiveMode!=="normal"&&(this._responsiveMode="normal"),this.dataset.responsiveMode="normal";return}let e=Math.floor(this._getResponsiveAvailableWidth()),t=e>0&&e<360?"simple":e>0&&e<860?"compact":"normal";this.dataset.responsiveMode=t,t!==this._responsiveMode&&(this._responsiveMode=t)}get _effectiveSimple(){return this.simple||this.responsive&&this._responsiveMode==="simple"}get _effectiveMaxVisible(){return this.responsive?this._responsiveMode==="simple"?1:this._responsiveMode==="compact"?Math.min(this.maxVisible||5,5):this.maxVisible:this.maxVisible}get _showAuxiliaryControls(){return!this.responsive||this._responsiveMode==="normal"}get _showCompactSizeChanger(){return!this.responsive||this._responsiveMode==="normal"}get _normalizedPageSizeOptions(){let e=new Set,t=i=>{let n=Number(i);Number.isFinite(n)&&n>0&&e.add(Math.floor(n))};return this.pageSizeOptions.forEach(t),t(this._pageSize),[...e].sort((i,n)=>i-n)}_emitChange(e,t){this.dispatchEvent(new CustomEvent("change",{detail:{page:e,current:e,pageSize:this._pageSize,total:Number.isFinite(Number(this.total))?Number(this.total):0,pageCount:this._pageCount,action:t},bubbles:!0,composed:!0}))}_setPage(e,t){let i=Math.min(this._pageCount,Math.max(1,e));i!==this._current&&(this.current=i,this._emitChange(i,t))}_setPageSize(e){if(!Number.isFinite(e))return;let t=Math.max(1,Math.floor(e));if(t===this.pageSize)return;let i=(this._current-1)*this._pageSize;this.pageSize=t;let n=Math.floor(i/t)+1;this.current=Math.min(Math.max(1,n),Math.max(1,Math.ceil(this.total/t))),this._emitChange(this.current,"page-size")}_buildPages(e=this.maxVisible){let t=this._pageCount,i=this._current,n=Math.max(5,e||7);if(t<=n)return Array.from({length:t},(m,v)=>v+1);let a=[1],l=n-2,d=Math.max(2,i-Math.floor(l/2)),p=d+l-1;p>=t&&(p=t-1,d=p-l+1),d>2&&a.push("ellipsis");for(let m=d;m<=p;m+=1)a.push(m);return p<t-1&&a.push("ellipsis"),a.push(t),a}_renderPager(){let e=this._current,t=this._pageCount,i=this._effectiveSimple,n=this.showFirstLast&&this._showAuxiliaryControls&&!i;return b`
3311
+ `],s([h({reflect:!0})],je.prototype,"value",2),s([h({attribute:!1})],je.prototype,"source",2),s([h({reflect:!0,attribute:"label-key"})],je.prototype,"labelKey",2),s([h({reflect:!0,attribute:"value-key"})],je.prototype,"valueKey",2),s([h({reflect:!0,attribute:"disabled-key"})],je.prototype,"disabledKey",2),s([h({reflect:!0,attribute:"group-key"})],je.prototype,"groupKey",2),s([h({attribute:!1})],je.prototype,"renderOption",2),s([h({attribute:!1})],je.prototype,"renderTag",2),s([h({type:Boolean,attribute:"virtualized",reflect:!0})],je.prototype,"virtualized",2),s([h({type:Number,attribute:"virtual-threshold"})],je.prototype,"virtualThreshold",2),s([h({reflect:!0})],je.prototype,"placeholder",2),s([h({type:Boolean,reflect:!0})],je.prototype,"disabled",2),s([h({type:Boolean,reflect:!0})],je.prototype,"noborder",2),s([h({type:Boolean,reflect:!0})],je.prototype,"multiple",2),s([h({type:Boolean,reflect:!0})],je.prototype,"searchable",2),s([h({type:Boolean,reflect:!0})],je.prototype,"clearable",2),s([h({reflect:!0,attribute:"search-placeholder"})],je.prototype,"searchPlaceholder",2),s([h({reflect:!0,attribute:"empty-text"})],je.prototype,"emptyText",2),s([h({type:Boolean,reflect:!0})],je.prototype,"open",2),s([h({reflect:!0})],je.prototype,"placement",2),s([h({reflect:!0})],je.prototype,"size",2),s([h({type:Boolean,attribute:"close-on-select"})],je.prototype,"closeOnSelect",2),s([h({reflect:!0,attribute:"multiple-display"})],je.prototype,"multipleDisplay",2),s([h()],je.prototype,"locale",2),s([h({attribute:!1})],je.prototype,"translations",2),s([h({attribute:"max-tag-count",converter:{fromAttribute(e){if(e==null||e==="")return;if(e==="responsive"||e==="auto")return e;let t=Number(e);return Number.isFinite(t)?t:void 0},toAttribute(e){return e==null?null:String(e)}}})],je.prototype,"maxTagCount",2),s([h({attribute:!1})],je.prototype,"values",2),s([Y()],je.prototype,"_displayLabel",2),s([Y()],je.prototype,"_currentOptionValue",2),s([Y()],je.prototype,"_searchKeyword",2),s([Y()],je.prototype,"_responsiveMaxTagCount",2),s([G('[part~="trigger"]')],je.prototype,"_triggerNode",2),s([G('[part="value-wrap"]')],je.prototype,"_valueWrapNode",2),s([G('[part~="panel"]')],je.prototype,"_panelNode",2),s([G('[part="search-input"]')],je.prototype,"_searchInputNode",2),je=s([N("lui-select")],je);var tt=class extends L{constructor(){super(...arguments);this.current=1;this.total=0;this.pageSize=10;this.maxVisible=7;this.size="md";this.showSummary=!1;this.showTotal=!1;this.showJumper=!1;this.showSizeChanger=!1;this.showFirstLast=!1;this.hideOnSinglePage=!1;this.simple=!1;this.compact=!1;this.responsive=!1;this.pageSizeOptions=[10,20,50,100];this.selectProps={};this._jumperValue="";this._responsiveMode="normal";this._layoutFrame=0;this._indicatorFrame=0;this._indicatorSettled=!1;this._explicitAttrs=new Set;this._onJumperInput=e=>{e.stopPropagation(),this._jumperValue=e.target.value};this._onPageSizeChange=e=>{e.stopPropagation(),this._setPageSize(Number(e.detail?.value))};this._commitJumper=()=>{let e=Number(this._jumperValue);Number.isFinite(e)&&(this._setPage(e,"jumper"),this._jumperValue="")};this._onJumperKeydown=e=>{e.key==="Enter"&&(e.preventDefault(),this._commitJumper())}}willUpdate(e){let t=re(this,"pagination");this._explicitAttrs.size||(this._explicitAttrs=new Set(this.getAttributeNames())),!this._explicitAttrs.has("size")&&typeof t.size=="string"&&this.size!==t.size&&(this.size=t.size),!this._explicitAttrs.has("compact")&&typeof t.compact=="boolean"&&this.compact!==t.compact&&(this.compact=t.compact)}updated(e){let t=re(this,"pagination");Se(this._sizeSelect,{...t.selectProps??{},...this.selectProps??{}}),this.parentElement&&this.parentElement!==this._observedParent&&(this._observedParent&&this._resizeObserver?.unobserve(this._observedParent),this._observedParent=this.parentElement,this._resizeObserver?.observe(this.parentElement)),(e.has("responsive")||e.has("size")||e.has("showTotal")||e.has("showSummary")||e.has("showJumper")||e.has("showSizeChanger")||e.has("showFirstLast")||e.has("simple")||e.has("compact")||e.has("current")||e.has("total")||e.has("pageSize")||e.has("maxVisible"))&&this._scheduleResponsiveLayout(),this._schedulePageIndicatorLayout()}connectedCallback(){super.connectedCallback(),this._explicitAttrs=new Set(this.getAttributeNames()),this._disposeLocaleChange=Ie(()=>this.requestUpdate()),this._resizeObserver=new ResizeObserver(()=>this._scheduleResponsiveLayout())}firstUpdated(){this._resizeObserver?.observe(this),this.parentElement&&(this._observedParent=this.parentElement,this._resizeObserver?.observe(this.parentElement)),this._scheduleResponsiveLayout()}disconnectedCallback(){super.disconnectedCallback(),this._disposeLocaleChange?.(),this._resizeObserver?.disconnect(),this._layoutFrame&&cancelAnimationFrame(this._layoutFrame),this._indicatorFrame&&cancelAnimationFrame(this._indicatorFrame)}_t(e,t,i){let n=lt(this,this.locale,this.translations);return Me(_e(n.locale,n.translations),e,t,i)}get _pageSize(){let e=Number(this.pageSize);return Number.isFinite(e)&&e>0?Math.floor(e):10}get _pageCount(){let e=Number(this.total);return Math.max(1,Math.ceil((Number.isFinite(e)?e:0)/this._pageSize))}get _current(){let e=Number(this.current);return Math.min(this._pageCount,Math.max(1,Number.isFinite(e)?Math.floor(e):1))}_scheduleResponsiveLayout(){this._layoutFrame&&cancelAnimationFrame(this._layoutFrame),this._indicatorFrame&&cancelAnimationFrame(this._indicatorFrame),this._layoutFrame=requestAnimationFrame(()=>{this._layoutFrame=0,this._updateResponsiveMode(),this._schedulePageIndicatorLayout()})}_schedulePageIndicatorLayout(){this._indicatorFrame&&cancelAnimationFrame(this._indicatorFrame),this._indicatorFrame=requestAnimationFrame(()=>{this._indicatorFrame=0,this._updatePageIndicator()})}_updatePageIndicator(){let e=this._pagerNode;if(!e||this._effectiveSimple){e?.style.setProperty("--lui-pagination-indicator-opacity","0"),this._indicatorSettled=!1;return}let t=e.querySelector(`button.page[data-page="${this._current}"]`);if(!t){e.style.setProperty("--lui-pagination-indicator-opacity","0"),this._indicatorSettled=!1;return}let i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),a=!this._indicatorSettled;a&&e.setAttribute("data-indicator-still",""),e.style.setProperty("--lui-pagination-indicator-x",`${n.left-i.left+e.scrollLeft}px`),e.style.setProperty("--lui-pagination-indicator-y",`${n.top-i.top+e.scrollTop}px`),e.style.setProperty("--lui-pagination-indicator-width",`${n.width}px`),e.style.setProperty("--lui-pagination-indicator-height",`${n.height}px`),e.style.setProperty("--lui-pagination-indicator-opacity","1"),a?requestAnimationFrame(()=>{e.removeAttribute("data-indicator-still"),this._indicatorSettled=!0}):this._indicatorSettled=!0}_getResponsiveAvailableWidth(){let e=Math.floor(this.clientWidth||this.getBoundingClientRect().width||0);if(e>0)return e;let t=this.parentElement;return t?Math.floor(t.clientWidth||t.getBoundingClientRect().width||0):0}_updateResponsiveMode(){if(!this.responsive){this._responsiveMode!=="normal"&&(this._responsiveMode="normal"),this.dataset.responsiveMode="normal";return}let e=Math.floor(this._getResponsiveAvailableWidth()),t=e>0&&e<360?"simple":e>0&&e<860?"compact":"normal";this.dataset.responsiveMode=t,t!==this._responsiveMode&&(this._responsiveMode=t,this._indicatorSettled=!1)}get _effectiveSimple(){return this.simple||this.responsive&&this._responsiveMode==="simple"}get _effectiveMaxVisible(){return this.responsive?this._responsiveMode==="simple"?1:this._responsiveMode==="compact"?Math.min(this.maxVisible||5,5):this.maxVisible:this.maxVisible}get _showAuxiliaryControls(){return!this.responsive||this._responsiveMode==="normal"}get _showCompactSizeChanger(){return!this.responsive||this._responsiveMode==="normal"}get _normalizedPageSizeOptions(){let e=new Set,t=i=>{let n=Number(i);Number.isFinite(n)&&n>0&&e.add(Math.floor(n))};return this.pageSizeOptions.forEach(t),t(this._pageSize),[...e].sort((i,n)=>i-n)}_emitChange(e,t){this.dispatchEvent(new CustomEvent("change",{detail:{page:e,current:e,pageSize:this._pageSize,total:Number.isFinite(Number(this.total))?Number(this.total):0,pageCount:this._pageCount,action:t},bubbles:!0,composed:!0}))}_setPage(e,t){let i=Math.min(this._pageCount,Math.max(1,e));i!==this._current&&(this.current=i,this._emitChange(i,t))}_setPageSize(e){if(!Number.isFinite(e))return;let t=Math.max(1,Math.floor(e));if(t===this.pageSize)return;let i=(this._current-1)*this._pageSize;this.pageSize=t;let n=Math.floor(i/t)+1;this.current=Math.min(Math.max(1,n),Math.max(1,Math.ceil(this.total/t))),this._emitChange(this.current,"page-size")}_buildPages(e=this.maxVisible){let t=this._pageCount,i=this._current,n=Math.max(5,e||7);if(t<=n)return Array.from({length:t},(m,v)=>v+1);let a=[1],l=n-2,d=Math.max(2,i-Math.floor(l/2)),p=d+l-1;p>=t&&(p=t-1,d=p-l+1),d>2&&a.push("ellipsis");for(let m=d;m<=p;m+=1)a.push(m);return p<t-1&&a.push("ellipsis"),a.push(t),a}_renderPager(){let e=this._current,t=this._pageCount,i=this._effectiveSimple,n=this.showFirstLast&&this._showAuxiliaryControls&&!i;return b`
3312
3312
  <div class="pager" part="pager" aria-label=${this._t("pagination.label","Pagination")}>
3313
3313
  <span class="page-indicator" part="page-indicator" aria-hidden="true"></span>
3314
3314
  ${n?b`
@@ -3532,6 +3532,9 @@
3532
3532
  will-change: transform, width, height;
3533
3533
  z-index: 0;
3534
3534
  }
3535
+ [data-indicator-still] .page-indicator {
3536
+ transition: none;
3537
+ }
3535
3538
  .ellipsis {
3536
3539
  color: var(--lui-color-fg-subtle);
3537
3540
  padding: 0 2px;
@@ -11407,7 +11410,7 @@
11407
11410
  --lui-form-item-control-height: var(--lui-control-height-lg, 44px);
11408
11411
  --lui-form-item-gap: 6px;
11409
11412
  }
11410
- `],s([h()],qt.prototype,"label",2),s([h({type:Boolean})],qt.prototype,"required",2),s([h()],qt.prototype,"description",2),s([h()],qt.prototype,"help",2),s([h()],qt.prototype,"extra",2),s([h()],qt.prototype,"tooltip",2),s([h({attribute:!1})],qt.prototype,"errors",2),s([h({type:Boolean,reflect:!0})],qt.prototype,"invalid",2),s([h({type:Boolean,attribute:"hidden-label"})],qt.prototype,"hiddenLabel",2),s([h({type:Boolean,reflect:!0})],qt.prototype,"inline",2),s([h({reflect:!0})],qt.prototype,"size",2),s([h({reflect:!0,attribute:"label-placement"})],qt.prototype,"labelPlacement",2),s([h({attribute:"label-width"})],qt.prototype,"labelWidth",2),qt=s([N("lui-form-item")],qt);function Du(o,r){if(!o||!r)return;let e=o;for(let[t,i]of Object.entries(r))i!=null&&(t==="style"&&typeof i=="string"?o.setAttribute("style",i):typeof i=="boolean"?i?o.setAttribute(t,""):o.removeAttribute(t):e[t]=i)}var gs=new Map;function l2(o,r){return gs.set(o,r),()=>{gs.get(o)===r&&gs.delete(o)}}function c2(o){gs.delete(o)}function Ru(o){let r={};for(let e of o)e.type==="group"&&e.fields?Object.assign(r,Ru(e.fields)):e.type==="array"?r[e.name]=e.defaultValue!==void 0?e.defaultValue:[]:r[e.name]=e.defaultValue!==void 0?e.defaultValue:e.type==="switch"||e.type==="checkbox"?!1:e.type==="checkbox-group"?[]:e.type==="number"||e.type==="slider"?0:(e.type==="date"||e.type==="time"||e.type==="datetime","");return r}function hc(o,r){return r.split(/[.[\]]/).filter(Boolean).reduce((e,t)=>e?.[t],o)}function Ob(o,r){if(!o)return{visible:!0,disabled:!1,required:!1};let e=Array.isArray(o.when)?o.when:[o.when],t=!1;for(let n of e){let a=hc(r,n);if(o.is!==void 0?t=a===o.is:o.isNot!==void 0?t=a!==o.isNot:o.contains!==void 0?t=Array.isArray(a)&&a.includes(o.contains):o.pattern!==void 0?t=new RegExp(o.pattern).test(String(a??"")):t=!!a,t)break}let i=t?o.then??{visible:!0}:o.else??{visible:!1};return{visible:i.visible??!0,disabled:i.disabled??!1,required:i.required??!1}}function Hb(o){let e={...o.validators??{}};o.validator&&(e.onSubmit=e.onSubmit??o.validator);let t=i=>{if(i!=null)return an(i)?n=>_o.validate({value:n.value,validationSource:"field"},i)??void 0:i};return e.onChange=t(e.onChange),e.onSubmit=t(e.onSubmit),Object.keys(e).length?e:void 0}function sn(o,r={}){if(o==null)return[];if(typeof o=="string")return o?[o]:[];if(typeof o=="number"||typeof o=="boolean")return[String(o)];if(o instanceof Error)return o.message?[o.message]:[String(o)];if(Array.isArray(o))return Array.from(new Set(o.flatMap(e=>sn(e,r))));if(typeof o=="object"){let e=o,t=[];return typeof e.message=="string"&&e.message&&t.push(e.message),"form"in e&&t.push(...sn(e.form,r)),r.includeFieldErrors&&"fields"in e&&t.push(...sn(e.fields,r)),Array.from(new Set(t))}return[]}function Un(o){return o==null||o===!1?!1:typeof o=="string"?o.length>0:typeof o=="number"||typeof o=="boolean"||o instanceof Error?!0:Array.isArray(o)?o.some(Un):typeof o=="object"?Object.values(o).some(Un):!1}function Db(o,r){let e=o.successMessage;return typeof e=="function"?e(r):e??"\u63D0\u4EA4\u6210\u529F"}var Oe,Pt=class extends L{constructor(){super(...arguments);this.schema=null;this.showActions=!0;this.size="md";this.labelPlacement="top";this.labelWidth="120px";this._currentStep=0;this._isStepPending=!1;this._submitErrorMessages=[];this._submitSuccessMessage="";Lh(this,Oe);this._explicitAttrs=new Set;this._collapsedArrayItems=new Set;this._initializedSchema=null}connectedCallback(){super.connectedCallback(),this._explicitAttrs=new Set(this.getAttributeNames()),this._ensureControllerInitialized()}submit(){this._ensureControllerInitialized(),this._submitForm()}_dispatchValidate(e){Re(this,Oe)&&this.dispatchEvent(new CustomEvent("validate",{detail:{valid:e,errors:Re(this,Oe).api.getAllErrors(),values:this.getValues()},bubbles:!0,composed:!0}))}getValues(){return this._ensureControllerInitialized(),{...Re(this,Oe)?.api.state.values??{}}}setValues(e,t={}){if(this._ensureControllerInitialized(),!!Re(this,Oe)){for(let[i,n]of Object.entries(e))Re(this,Oe).api.setFieldValue(i,n,{dontUpdateMeta:!t.touch});this._emitFormChange("setValues",void 0,void 0,this.getValues())}}getValue(e){return hc(this.getValues(),e)}setValue(e,t,i={}){this._ensureControllerInitialized(),Re(this,Oe)&&(Re(this,Oe).api.setFieldValue(e,t,{dontUpdateMeta:!i.touch}),this._emitFormChange("setValue",e,t,this.getValues()))}async validate(){if(this._ensureControllerInitialized(),!Re(this,Oe)||!this.schema)return!0;this._clearSubmissionFeedback();let e=this.schema.steps?this.schema.steps.flatMap(l=>l.fields):this.schema.fields??[],t=Array.from(new Set(this._collectVisibleFieldNames(e)));this._markFieldsTouched(t);let i=await Promise.all(t.map(l=>Re(this,Oe).api.validateField(l,"submit"))),n=await Re(this,Oe).api.validate("submit"),a=!i.some(Un)&&!this._hasFieldErrors(t)&&!Un(n)&&this._getFormErrorMessages(Re(this,Oe)).length===0;return this._dispatchValidate(a),this.requestUpdate(),a}clearValidate(e){if(this._ensureControllerInitialized(),!Re(this,Oe)||!this.schema)return;this._clearSubmissionFeedback();let t=this.schema.steps?this.schema.steps.flatMap(n=>n.fields):this.schema.fields??[],i=e?.length?e:Array.from(new Set(this._collectVisibleFieldNames(t)));for(let n of i)Re(this,Oe).api.setFieldMeta(n,a=>({...a,isValidating:!1,isTouched:!1,isBlurred:!1,isValid:!0,errors:[],errorMap:{},errorSourceMap:{}}));this.requestUpdate()}_clearSubmissionFeedback(){(this._submitErrorMessages.length||this._submitSuccessMessage)&&(this._submitErrorMessages=[],this._submitSuccessMessage="")}async _submitForm(){if(!Re(this,Oe)||!this.schema)return;if(this._clearSubmissionFeedback(),!await this.validate()){this._scrollToFirstError(),this.requestUpdate();return}await Re(this,Oe).api.handleSubmit(),this.requestUpdate()}reset(e){this._ensureControllerInitialized(),this._clearSubmissionFeedback(),Re(this,Oe)?.api.reset(e),this._collapsedArrayItems.clear(),this._emitFormChange("reset",void 0,void 0,Re(this,Oe)?.api.state.values??{})}_emitFormChange(e,t,i,n=this.getValues()){this.dispatchEvent(new CustomEvent("change",{detail:{reason:e,name:t,value:i,values:n},bubbles:!0,composed:!0}))}_emitFieldChange(e,t,i){let n=this.getValues();this._emitFormChange("field",e.name,t,n)}focusField(e){let i=this._fieldElement(e)?.querySelector("lui-input,lui-textarea,lui-select,lui-input-number,lui-datepicker,lui-color-picker,lui-input-opt,lui-checkbox,lui-switch,lui-radio,button,input,textarea,select");return i?.focus?.(),!!i}scrollToField(e,t={block:"center",behavior:"smooth"}){let i=this._fieldElement(e);return i?.scrollIntoView(t),!!i}_fieldElement(e){return this.renderRoot.querySelector(`[data-field-name="${CSS.escape(e)}"]`)}_findFieldDef(e){let t=e.replace(/\[\d+\]/g,""),i=this.schema?.steps?this.schema.steps.flatMap(a=>a.fields):this.schema?.fields??[],n=a=>{for(let l of a){if(l.name===e||l.name===t||t.endsWith(`.${l.name}`))return l;if(l.fields){let d=n(l.fields);if(d)return d}}};return n(i)}_firstErrorFieldName(){if(!Re(this,Oe)||!this.schema)return;let e=this.schema.steps?this.schema.steps.flatMap(i=>i.fields):this.schema.fields??[];return Array.from(new Set(this._collectVisibleFieldNames(e))).find(i=>(Re(this,Oe).api.getFieldMeta(i)?.errors?.length??0)>0)}_scrollToFirstError(){let e=this._firstErrorFieldName();e&&requestAnimationFrame(()=>{this.scrollToField(e),this.focusField(e)})}_effectiveSize(e){return e?.size??this.schema?.size??this.size}_effectiveLabelPlacement(e){return e?.labelPlacement??this.schema?.labelPlacement??this.labelPlacement}_normalizedLabelPlacement(e){let t=this._effectiveLabelPlacement(e);return t==="left"||t==="horizontal"?"left":"top"}_effectiveLabelWidth(e){return St(e?.labelWidth??this.schema?.labelWidth??this.labelWidth)||"120px"}_effectiveValidateTrigger(e){return e?.validateTrigger??this.schema?.validateTrigger??"change"}_fieldClass(e){return`field ${this._normalizedLabelPlacement(e)}`}_fieldStyle(e){return`--lui-form-label-width:${this._effectiveLabelWidth(e)}`}willUpdate(){this._ensureControllerInitialized();let e=re(this,"form");!this._explicitAttrs.has("size")&&typeof e.size=="string"&&this.size!==e.size&&(this.size=e.size),!this._explicitAttrs.has("label-placement")&&typeof e.labelPlacement=="string"&&this.labelPlacement!==e.labelPlacement&&(this.labelPlacement=e.labelPlacement),!this._explicitAttrs.has("label-width")&&(typeof e.labelWidth=="string"||typeof e.labelWidth=="number")&&this.labelWidth!==e.labelWidth&&(this.labelWidth=e.labelWidth),!this._explicitAttrs.has("show-actions")&&typeof e.showActions=="boolean"&&this.showActions!==e.showActions&&(this.showActions=e.showActions)}updated(e){super.updated(e),e.has("schema")&&this.schema&&(this._currentStep=0,this._clearSubmissionFeedback(),this._initializedSchema!==this.schema&&(this._initForm(),this.requestUpdate()))}_initForm(){if(!this.schema)return;let e=this.schema.steps?this.schema.steps.flatMap(n=>n.fields):this.schema.fields??[],t={...Ru(e),...this.schema.defaultValues},i={...this.schema.validators??{}};this.schema.validator&&(i.onSubmit=i.onSubmit??this.schema.validator),Nh(this,Oe,new cs(this,{defaultValues:t,validators:i,validationLogic:this.schema.validationLogic,onSubmit:async({value:n})=>{this._clearSubmissionFeedback(),this.dispatchEvent(new CustomEvent("submit",{detail:{value:n},bubbles:!0,composed:!0}));try{typeof this.schema.onSubmit=="function"&&await this.schema.onSubmit(n),this._submitSuccessMessage=Db(this.schema,n)}catch(a){let l=sn(a);throw this._submitErrorMessages=l.length?l:["\u63D0\u4EA4\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"],this._submitSuccessMessage="",a}},onSubmitInvalid:()=>{this._submitSuccessMessage="",this._dispatchValidate(!1),this._scrollToFirstError()}})),this._initializedSchema=this.schema}_ensureControllerInitialized(){Re(this,Oe)&&this._initializedSchema===this.schema||this.schema&&this._initForm()}_isGroupInline(e){return e.length>1&&e.every(t=>t.type!=="textarea"&&t.type!=="array"&&t.type!=="slider"&&t.type!=="date"&&t.type!=="time"&&t.type!=="datetime"&&t.type!=="file")}_getFieldCondition(e){let t=Re(this,Oe)?.api?.state?.values??{},i=Ob(e.condition,t);return{visible:!e.hidden&&i.visible,disabled:(this.schema?.disabled??!1)||(e.disabled??!1)||i.disabled,readonly:(this.schema?.readonly??!1)||(e.readonly??!1),required:(e.required??!1)||i.required}}_renderField(e,t,i=!1,n=!1){if(e.type==="group"&&e.fields)return this._renderGroup(e,t,i,n);if(e.type==="array")return this._renderArrayField(e,t,i,n);if(e.type==="button")return this._renderButtonField(e,i);let a=this._getFieldCondition(e);if(!a.visible)return _;let l={name:e.name},d={...e,required:a.required},p=Hb(d);return p&&(l.validators=p),t.field(l,m=>{let v=sn(m.state.meta.errors||[],{includeFieldErrors:!0}),k=m.state.meta.isTouched||Re(this,Oe).api.state.submissionAttempts>0,w=k&&v.length>0,E=ie=>{let ue=m.state.value;this._clearSubmissionFeedback(),m.handleChange(ie),this._effectiveValidateTrigger(d)==="change"&&m.validate?.("change"),this._emitFieldChange(d,ie,ue)},S={field:d,value:m.state.value,errors:v,disabled:a.disabled||i,readonly:a.readonly||n,required:!!d.required,touched:k,invalid:v.length>0,formValues:Re(this,Oe).api.state.values,fieldApi:m,blur:()=>m.handleBlur(),clearFeedback:()=>this._clearSubmissionFeedback(),handleChange:E,submit:()=>void this._submitForm(),reset:()=>this.reset()},P=this._withProps(d,this._renderControl(d,m,a.disabled||i,a.readonly||n,S)),j=d.hiddenLabel?"":d.label??"",I=b`
11413
+ `],s([h()],qt.prototype,"label",2),s([h({type:Boolean})],qt.prototype,"required",2),s([h()],qt.prototype,"description",2),s([h()],qt.prototype,"help",2),s([h()],qt.prototype,"extra",2),s([h()],qt.prototype,"tooltip",2),s([h({attribute:!1})],qt.prototype,"errors",2),s([h({type:Boolean,reflect:!0})],qt.prototype,"invalid",2),s([h({type:Boolean,attribute:"hidden-label"})],qt.prototype,"hiddenLabel",2),s([h({type:Boolean,reflect:!0})],qt.prototype,"inline",2),s([h({reflect:!0})],qt.prototype,"size",2),s([h({reflect:!0,attribute:"label-placement"})],qt.prototype,"labelPlacement",2),s([h({attribute:"label-width"})],qt.prototype,"labelWidth",2),qt=s([N("lui-form-item")],qt);function Du(o,r){if(!o||!r)return;let e=o;for(let[t,i]of Object.entries(r))i!=null&&(t==="style"&&typeof i=="string"?o.setAttribute("style",i):typeof i=="boolean"?i?o.setAttribute(t,""):o.removeAttribute(t):e[t]=i)}var gs=new Map;function l2(o,r){return gs.set(o,r),()=>{gs.get(o)===r&&gs.delete(o)}}function c2(o){gs.delete(o)}function Ru(o){let r={};for(let e of o)e.type==="group"&&e.fields?Object.assign(r,Ru(e.fields)):e.type==="array"?r[e.name]=e.defaultValue!==void 0?e.defaultValue:[]:r[e.name]=e.defaultValue!==void 0?e.defaultValue:e.type==="switch"||e.type==="checkbox"?!1:e.type==="checkbox-group"?[]:e.type==="number"||e.type==="slider"?0:(e.type==="date"||e.type==="time"||e.type==="datetime","");return r}function hc(o,r){return r.split(/[.[\]]/).filter(Boolean).reduce((e,t)=>e?.[t],o)}function Ob(o,r){if(!o)return{visible:!0,disabled:!1,required:!1};let e=Array.isArray(o.when)?o.when:[o.when],t=!1;for(let n of e){let a=hc(r,n);if(o.is!==void 0?t=a===o.is:o.isNot!==void 0?t=a!==o.isNot:o.contains!==void 0?t=Array.isArray(a)&&a.includes(o.contains):o.pattern!==void 0?t=new RegExp(o.pattern).test(String(a??"")):t=!!a,t)break}let i=t?o.then??{visible:!0}:o.else??{visible:!1};return{visible:i.visible??!0,disabled:i.disabled??!1,required:i.required??!1}}function Hb(o){let e={...o.validators??{}};o.validator&&(e.onSubmit=e.onSubmit??o.validator);let t=i=>{if(i!=null)return an(i)?n=>_o.validate({value:n.value,validationSource:"field"},i)??void 0:i};return e.onChange=t(e.onChange),e.onSubmit=t(e.onSubmit),Object.keys(e).length?e:void 0}function sn(o,r={}){if(o==null)return[];if(typeof o=="string")return o?[o]:[];if(typeof o=="number"||typeof o=="boolean")return[String(o)];if(o instanceof Error)return o.message?[o.message]:[String(o)];if(Array.isArray(o))return Array.from(new Set(o.flatMap(e=>sn(e,r))));if(typeof o=="object"){let e=o,t=[];return typeof e.message=="string"&&e.message&&t.push(e.message),"form"in e&&t.push(...sn(e.form,r)),r.includeFieldErrors&&"fields"in e&&t.push(...sn(e.fields,r)),Array.from(new Set(t))}return[]}function Un(o){return o==null||o===!1?!1:typeof o=="string"?o.length>0:typeof o=="number"||typeof o=="boolean"||o instanceof Error?!0:Array.isArray(o)?o.some(Un):typeof o=="object"?Object.values(o).some(Un):!1}function Db(o,r){let e=o.successMessage;return typeof e=="function"?e(r):e??"\u63D0\u4EA4\u6210\u529F"}var Oe,Pt=class extends L{constructor(){super(...arguments);this.schema=null;this.showActions=!0;this.size="md";this.labelPlacement="top";this.labelWidth="120px";this._currentStep=0;this._isStepPending=!1;this._submitErrorMessages=[];this._submitSuccessMessage="";Lh(this,Oe);this._explicitAttrs=new Set;this._collapsedArrayItems=new Set;this._initializedSchema=null}connectedCallback(){super.connectedCallback(),this._explicitAttrs=new Set(this.getAttributeNames()),this._ensureControllerInitialized()}submit(){this._ensureControllerInitialized(),this._submitForm()}_dispatchValidate(e){Re(this,Oe)&&this.dispatchEvent(new CustomEvent("validate",{detail:{valid:e,errors:Re(this,Oe).api.getAllErrors(),values:this.getValues()},bubbles:!0,composed:!0}))}getValues(){return this._ensureControllerInitialized(),{...Re(this,Oe)?.api.state.values??{}}}setValues(e,t={}){if(this._ensureControllerInitialized(),!!Re(this,Oe)){for(let[i,n]of Object.entries(e))Re(this,Oe).api.setFieldValue(i,n,{dontUpdateMeta:!t.touch});this._emitFormChange("setValues",void 0,void 0,this.getValues())}}getValue(e){return hc(this.getValues(),e)}setValue(e,t,i={}){this._ensureControllerInitialized(),Re(this,Oe)&&(Re(this,Oe).api.setFieldValue(e,t,{dontUpdateMeta:!i.touch}),this._emitFormChange("setValue",e,t,this.getValues()))}async validate(){if(this._ensureControllerInitialized(),!Re(this,Oe)||!this.schema)return!0;this._clearSubmissionFeedback();let e=this.schema.steps?this.schema.steps.flatMap(l=>l.fields):this.schema.fields??[],t=Array.from(new Set(this._collectVisibleFieldNames(e)));this._markFieldsTouched(t);let i=await Promise.all(t.map(l=>Re(this,Oe).api.validateField(l,"submit"))),n=await Re(this,Oe).api.validate("submit"),a=!i.some(Un)&&!this._hasFieldErrors(t)&&!Un(n)&&this._getFormErrorMessages(Re(this,Oe)).length===0;return this._dispatchValidate(a),this.requestUpdate(),a}clearValidate(e){if(this._ensureControllerInitialized(),!Re(this,Oe)||!this.schema)return;this._clearSubmissionFeedback();let t=this.schema.steps?this.schema.steps.flatMap(n=>n.fields):this.schema.fields??[],i=e?.length?e:Array.from(new Set(this._collectVisibleFieldNames(t)));for(let n of i)Re(this,Oe).api.setFieldMeta(n,a=>({...a,isValidating:!1,isTouched:!1,isBlurred:!1,isValid:!0,errors:[],errorMap:{},errorSourceMap:{}}));this.requestUpdate()}_clearSubmissionFeedback(){(this._submitErrorMessages.length||this._submitSuccessMessage)&&(this._submitErrorMessages=[],this._submitSuccessMessage="")}async _submitForm(){if(!Re(this,Oe)||!this.schema)return;if(this._clearSubmissionFeedback(),!await this.validate()){this._scrollToFirstError(),this.requestUpdate();return}await Re(this,Oe).api.handleSubmit(),this.requestUpdate()}reset(e){this._ensureControllerInitialized(),this._clearSubmissionFeedback(),Re(this,Oe)?.api.reset(e),this._collapsedArrayItems.clear(),this._emitFormChange("reset",void 0,void 0,Re(this,Oe)?.api.state.values??{})}_emitFormChange(e,t,i,n=this.getValues()){this.dispatchEvent(new CustomEvent("change",{detail:{reason:e,name:t,value:i,values:n},bubbles:!0,composed:!0}))}_emitFieldChange(e,t,i){let n=this.getValues();this._emitFormChange("field",e.name,t,n)}focusField(e){let i=this._fieldElement(e)?.querySelector("lui-input,lui-textarea,lui-select,lui-input-number,lui-datepicker,lui-color-picker,lui-input-opt,lui-checkbox,lui-switch,lui-radio,button,input,textarea,select");return i?.focus?.(),!!i}scrollToField(e,t={block:"center",behavior:"smooth"}){let i=this._fieldElement(e);return i?.scrollIntoView(t),!!i}_fieldElement(e){return this.renderRoot.querySelector(`[data-field-name="${CSS.escape(e)}"]`)}_findFieldDef(e){let t=e.replace(/\[\d+\]/g,""),i=this.schema?.steps?this.schema.steps.flatMap(a=>a.fields):this.schema?.fields??[],n=a=>{for(let l of a){if(l.name===e||l.name===t||t.endsWith(`.${l.name}`))return l;if(l.fields){let d=n(l.fields);if(d)return d}}};return n(i)}_firstErrorFieldName(){if(!Re(this,Oe)||!this.schema)return;let e=this.schema.steps?this.schema.steps.flatMap(i=>i.fields):this.schema.fields??[];return Array.from(new Set(this._collectVisibleFieldNames(e))).find(i=>(Re(this,Oe).api.getFieldMeta(i)?.errors?.length??0)>0)}_scrollToFirstError(){let e=this._firstErrorFieldName();e&&requestAnimationFrame(()=>{this.scrollToField(e),this.focusField(e)})}_effectiveSize(e){return e?.size??this.schema?.size??this.size}_effectiveLabelPlacement(e){return e?.labelPlacement??this.schema?.labelPlacement??this.labelPlacement}_normalizedLabelPlacement(e){let t=this._effectiveLabelPlacement(e);return t==="left"||t==="horizontal"?"left":"top"}_effectiveLabelWidth(e){return St(e?.labelWidth??this.schema?.labelWidth??this.labelWidth)||"120px"}_effectiveValidateTrigger(e){return e?.validateTrigger??this.schema?.validateTrigger??"change"}_fieldClass(e){return`field ${this._normalizedLabelPlacement(e)}`}_fieldStyle(e){return`--lui-form-label-width:${this._effectiveLabelWidth(e)}`}willUpdate(){this._ensureControllerInitialized();let e=re(this,"form");!this._explicitAttrs.has("size")&&typeof e.size=="string"&&this.size!==e.size&&(this.size=e.size),!this._explicitAttrs.has("label-placement")&&typeof e.labelPlacement=="string"&&this.labelPlacement!==e.labelPlacement&&(this.labelPlacement=e.labelPlacement),!this._explicitAttrs.has("label-width")&&(typeof e.labelWidth=="string"||typeof e.labelWidth=="number")&&this.labelWidth!==e.labelWidth&&(this.labelWidth=e.labelWidth),!this._explicitAttrs.has("show-actions")&&typeof e.showActions=="boolean"&&this.showActions!==e.showActions&&(this.showActions=e.showActions)}updated(e){super.updated(e),e.has("schema")&&this.schema&&(this._currentStep=0,this._clearSubmissionFeedback(),this._initializedSchema!==this.schema&&(this._initForm(),this.requestUpdate()))}_initForm(){if(!this.schema)return;let e=this.schema.steps?this.schema.steps.flatMap(n=>n.fields):this.schema.fields??[],t={...Ru(e),...this.schema.defaultValues},i={...this.schema.validators??{}};this.schema.validator&&(i.onSubmit=i.onSubmit??this.schema.validator),Nh(this,Oe,new cs(this,{defaultValues:t,validators:i,validationLogic:this.schema.validationLogic,onSubmit:async({value:n})=>{this._clearSubmissionFeedback(),this.dispatchEvent(new CustomEvent("submit",{detail:{value:n},bubbles:!0,composed:!0}));try{typeof this.schema.onSubmit=="function"&&await this.schema.onSubmit(n),this._submitSuccessMessage=Db(this.schema,n)}catch(a){let l=sn(a);throw this._submitErrorMessages=l.length?l:["\u63D0\u4EA4\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"],this._submitSuccessMessage="",a}},onSubmitInvalid:()=>{this._submitSuccessMessage="",this._dispatchValidate(!1),this._scrollToFirstError()}})),this._initializedSchema=this.schema}_ensureControllerInitialized(){Re(this,Oe)&&this._initializedSchema===this.schema||this.schema&&this._initForm()}_isGroupInline(e){return e.length>1&&e.every(t=>t.type!=="textarea"&&t.type!=="array"&&t.type!=="slider"&&t.type!=="date"&&t.type!=="time"&&t.type!=="datetime"&&t.type!=="file")}_getFieldCondition(e){let t=Re(this,Oe)?.api?.state?.values??{},i=Ob(e.condition,t);return{visible:!e.hidden&&i.visible,disabled:(this.schema?.disabled??!1)||(e.disabled??!1)||i.disabled,readonly:(this.schema?.readonly??!1)||(e.readonly??!1),required:(e.required??!1)||i.required}}_isFieldRenderable(e){return e.type==="group"||e.type==="array"||e.type==="button"?!0:this._getFieldCondition(e).visible}_renderField(e,t,i=!1,n=!1){if(e.type==="group"&&e.fields)return this._renderGroup(e,t,i,n);if(e.type==="array")return this._renderArrayField(e,t,i,n);if(e.type==="button")return this._renderButtonField(e,i);let a=this._getFieldCondition(e);if(!a.visible)return _;let l={name:e.name},d={...e,required:a.required},p=Hb(d);return p&&(l.validators=p),t.field(l,m=>{let v=sn(m.state.meta.errors||[],{includeFieldErrors:!0}),k=m.state.meta.isTouched||Re(this,Oe).api.state.submissionAttempts>0,w=k&&v.length>0,E=ie=>{let ue=m.state.value;this._clearSubmissionFeedback(),m.handleChange(ie),this._effectiveValidateTrigger(d)==="change"&&m.validate?.("change"),this._emitFieldChange(d,ie,ue)},S={field:d,value:m.state.value,errors:v,disabled:a.disabled||i,readonly:a.readonly||n,required:!!d.required,touched:k,invalid:v.length>0,formValues:Re(this,Oe).api.state.values,fieldApi:m,blur:()=>m.handleBlur(),clearFeedback:()=>this._clearSubmissionFeedback(),handleChange:E,submit:()=>void this._submitForm(),reset:()=>this.reset()},P=this._withProps(d,this._renderControl(d,m,a.disabled||i,a.readonly||n,S)),j=d.hiddenLabel?"":d.label??"",I=b`
11411
11414
  <lui-form-item
11412
11415
  data-field-name=${d.name}
11413
11416
  .label=${j}
@@ -11655,27 +11658,27 @@
11655
11658
  type=${e.type}
11656
11659
  @input=${m}
11657
11660
  @blur=${v}
11658
- ></lui-input>`}}_renderFields(e,t){return!!this.schema?.gutter||!!this.schema?.align||!!this.schema?.justify||!!this.schema?.nowrap||e.some(n=>n.span!=null||n.xs!=null||n.sm!=null||n.md!=null||n.lg!=null||n.xl!=null||n.offset!=null||n.order!=null)?b`
11661
+ ></lui-input>`}}_renderFields(e,t){if(!(!!this.schema?.gutter||!!this.schema?.align||!!this.schema?.justify||!!this.schema?.nowrap||e.some(a=>a.span!=null||a.xs!=null||a.sm!=null||a.md!=null||a.lg!=null||a.xl!=null||a.offset!=null||a.order!=null)))return e.map(a=>this._renderField(a,t));let n=e.filter(a=>this._isFieldRenderable(a));return b`
11659
11662
  <lui-row
11660
11663
  .gutter=${this.schema?.gutter??[12,12]}
11661
11664
  .align=${this.schema?.align??"top"}
11662
11665
  .justify=${this.schema?.justify??"start"}
11663
11666
  .nowrap=${this.schema?.nowrap??!1}
11664
11667
  >
11665
- ${e.map(n=>b`<lui-col
11666
- .span=${n.span}
11667
- .xs=${n.xs}
11668
- .sm=${n.sm}
11669
- .md=${n.md}
11670
- .lg=${n.lg}
11671
- .xl=${n.xl}
11672
- .offset=${n.offset}
11673
- .colOrder=${n.order}
11668
+ ${n.map(a=>b`<lui-col
11669
+ .span=${a.span}
11670
+ .xs=${a.xs}
11671
+ .sm=${a.sm}
11672
+ .md=${a.md}
11673
+ .lg=${a.lg}
11674
+ .xl=${a.xl}
11675
+ .offset=${a.offset}
11676
+ .colOrder=${a.order}
11674
11677
  >
11675
- ${this._renderField(n,t)}
11678
+ ${this._renderField(a,t)}
11676
11679
  </lui-col>`)}
11677
11680
  </lui-row>
11678
- `:e.map(n=>this._renderField(n,t))}_renderWizard(e){let t=this.schema.steps,i=t[this._currentStep];if(!i)return _;let n=this._currentStep===0,a=this._currentStep===t.length-1,l=e.api.state.isSubmitting||this._isStepPending;return b`
11681
+ `}_renderWizard(e){let t=this.schema.steps,i=t[this._currentStep];if(!i)return _;let n=this._currentStep===0,a=this._currentStep===t.length-1,l=e.api.state.isSubmitting||this._isStepPending;return b`
11679
11682
  <div class="wizard-steps">
11680
11683
  ${t.map((d,p)=>b`
11681
11684
  <div