@ni/nimble-components 21.10.2 → 22.0.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.
@@ -2361,7 +2361,7 @@ const um="nimble-icon-info"
2361
2361
  dm("icon-triangle-filled",class extends cm{constructor(){super(Bf)}})
2362
2362
  const pm="nimble-icon-triangle-filled"
2363
2363
  dm("icon-xmark",class extends cm{constructor(){super(rm)}})
2364
- const fm="nimble-icon-xmark",mm={default:void 0,error:"error",warning:"warning",information:"information"},gm="Close",vm="Increment",bm="Decrement",ym="Error",wm="Warning",xm="Information",Cm="Search",km="No items found",Sm=ui.create({name:"popup-dismiss-label",cssCustomPropertyName:null}).withDefault(gm),$m=ui.create({name:"numeric-decrement-label",cssCustomPropertyName:null}).withDefault(bm),Mm=ui.create({name:"numeric-increment-label",cssCustomPropertyName:null}).withDefault(vm),_m=ui.create({name:"error-icon-label",cssCustomPropertyName:null}).withDefault(ym),Em=ui.create({name:"warning-icon-label",cssCustomPropertyName:null}).withDefault(wm),Im=ui.create({name:"information-icon-label",cssCustomPropertyName:null}).withDefault(xm),Dm=ui.create({name:"filter-search-label",cssCustomPropertyName:null}).withDefault(Cm),Am=ui.create({name:"filter-no-results-label",cssCustomPropertyName:null}).withDefault(km),Tm=Z`
2364
+ const fm="nimble-icon-xmark",mm={default:void 0,error:"error",warning:"warning",information:"information"},gm="Close",vm="Increment",bm="Decrement",ym="Error",wm="Warning",xm="Information",Cm="Search",km="No items found",Sm=ui.create({name:"popup-dismiss-label",cssCustomPropertyName:null}).withDefault(gm),$m=ui.create({name:"numeric-decrement-label",cssCustomPropertyName:null}).withDefault(bm),Mm=ui.create({name:"numeric-increment-label",cssCustomPropertyName:null}).withDefault(vm),_m=ui.create({name:"popup-icon-error-label",cssCustomPropertyName:null}).withDefault(ym),Em=ui.create({name:"popup-icon-warning-label",cssCustomPropertyName:null}).withDefault(wm),Im=ui.create({name:"popup-icon-information-label",cssCustomPropertyName:null}).withDefault(xm),Dm=ui.create({name:"filter-search-label",cssCustomPropertyName:null}).withDefault(Cm),Am=ui.create({name:"filter-no-results-label",cssCustomPropertyName:null}).withDefault(km),Tm=Z`
2365
2365
  <div class="container"
2366
2366
  role="status"
2367
2367
  aria-atomic="${t=>t.ariaAtomic}"
@@ -3929,8 +3929,8 @@ dm("icon-xmark-check",class extends cm{constructor(){super(sm)}})
3929
3929
  class Ng extends Le{constructor(){super(...arguments),this.propertyNotifier=m.getNotifier(this)}connectedCallback(){super.connectedCallback(),this.initializeThemeProvider(),this.propertyNotifier.subscribe(this)}disconnectedCallback(){if(super.disconnectedCallback(),this.propertyNotifier.unsubscribe(this),this.themeProvider){for(const t of Object.values(this.supportedLabels))t.deleteValueFor(this.themeProvider)
3930
3930
  this.themeProvider=void 0}}handleChange(t,e){if(this.supportedLabels[e]){const t=this.supportedLabels[e],n=this[e]
3931
3931
  this.themeProvider&&(null==n?t.deleteValueFor(this.themeProvider):t.setValueFor(this.themeProvider,n))}}initializeThemeProvider(){if(this.themeProvider=this.closest("nimble-theme-provider")??void 0,this.themeProvider)for(const[t,e]of Object.entries(this.supportedLabels)){const n=this[t]
3932
- null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n)}}}const Pg={popupDismiss:Sm,numericDecrement:$m,numericIncrement:Mm,errorIcon:_m,warningIcon:Em,informationIcon:Im,filterSearch:Dm,filterNoResults:Am}
3933
- class Lg extends Ng{constructor(){super(...arguments),this.supportedLabels=Pg}}t([st({attribute:"popup-dismiss"})],Lg.prototype,"popupDismiss",void 0),t([st({attribute:"numeric-decrement"})],Lg.prototype,"numericDecrement",void 0),t([st({attribute:"numeric-increment"})],Lg.prototype,"numericIncrement",void 0),t([st({attribute:"error-icon"})],Lg.prototype,"errorIcon",void 0),t([st({attribute:"warning-icon"})],Lg.prototype,"warningIcon",void 0),t([st({attribute:"information-icon"})],Lg.prototype,"informationIcon",void 0),t([st({attribute:"filter-search"})],Lg.prototype,"filterSearch",void 0),t([st({attribute:"filter-no-results"})],Lg.prototype,"filterNoResults",void 0)
3932
+ null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n)}}}const Pg={popupDismiss:Sm,numericDecrement:$m,numericIncrement:Mm,popupIconError:_m,popupIconWarning:Em,popupIconInformation:Im,filterSearch:Dm,filterNoResults:Am}
3933
+ class Lg extends Ng{constructor(){super(...arguments),this.supportedLabels=Pg}}t([st({attribute:"popup-dismiss"})],Lg.prototype,"popupDismiss",void 0),t([st({attribute:"numeric-decrement"})],Lg.prototype,"numericDecrement",void 0),t([st({attribute:"numeric-increment"})],Lg.prototype,"numericIncrement",void 0),t([st({attribute:"popup-icon-error"})],Lg.prototype,"popupIconError",void 0),t([st({attribute:"popup-icon-warning"})],Lg.prototype,"popupIconWarning",void 0),t([st({attribute:"popup-icon-information"})],Lg.prototype,"popupIconInformation",void 0),t([st({attribute:"filter-search"})],Lg.prototype,"filterSearch",void 0),t([st({attribute:"filter-no-results"})],Lg.prototype,"filterNoResults",void 0)
3934
3934
  const zg=Lg.compose({baseName:"label-provider-core"})
3935
3935
  bi.getOrCreate().withPrefix("nimble").register(zg())
3936
3936
  const Vg="Collapse group",Hg="Expand group",Bg="Collapse row",qg="Expand row",Ug="Collapse all",jg="Options",Wg="Grouped",Zg="Sorted ascending",Gg="Sorted descending",Kg="Select all rows",Jg="Select all rows in group",Xg="Select row",Yg="Row operations",Qg="Loading",tv=ui.create({name:"table-group-collapse-label",cssCustomPropertyName:null}).withDefault(Vg),ev=ui.create({name:"table-group-expand-label",cssCustomPropertyName:null}).withDefault(Hg),nv=ui.create({name:"table-row-collapse-label",cssCustomPropertyName:null}).withDefault(Bg),iv=ui.create({name:"table-row-expand-label",cssCustomPropertyName:null}).withDefault(qg),ov=ui.create({name:"table-collapse-all-label",cssCustomPropertyName:null}).withDefault(Ug),rv=ui.create({name:"table-cell-action-menu-label",cssCustomPropertyName:null}).withDefault(jg),sv=ui.create({name:"table-column-header-grouped-label",cssCustomPropertyName:null}).withDefault(Wg),av=ui.create({name:"table-column-header-sorted-ascending-label",cssCustomPropertyName:null}).withDefault(Zg),lv=ui.create({name:"table-column-header-sorted-descending-label",cssCustomPropertyName:null}).withDefault(Gg),cv=ui.create({name:"table-select-all-label",cssCustomPropertyName:null}).withDefault(Kg),dv=ui.create({name:"table-group-select-all-label",cssCustomPropertyName:null}).withDefault(Jg),hv=ui.create({name:"table-row-select-label",cssCustomPropertyName:null}).withDefault(Xg),uv=ui.create({name:"table-row-operation-column-label",cssCustomPropertyName:null}).withDefault(Yg),pv=ui.create({name:"table-row-loading-label",cssCustomPropertyName:null}).withDefault(Qg),fv={groupCollapse:tv,groupExpand:ev,rowCollapse:nv,rowExpand:iv,collapseAll:ov,cellActionMenu:rv,columnHeaderGrouped:sv,columnHeaderSortedAscending:av,columnHeaderSortedDescending:lv,selectAll:cv,groupSelectAll:dv,rowSelect:hv,rowOperationColumn:uv,rowLoading:pv}