@ni/nimble-components 30.0.8 → 30.1.1

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.
Files changed (36) hide show
  1. package/dist/all-components-bundle.js +117 -85
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +98 -82
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/esm/combobox/index.js +4 -4
  6. package/dist/esm/combobox/index.js.map +1 -1
  7. package/dist/esm/combobox/styles.js +0 -4
  8. package/dist/esm/combobox/styles.js.map +1 -1
  9. package/dist/esm/combobox/template.js +13 -2
  10. package/dist/esm/combobox/template.js.map +1 -1
  11. package/dist/esm/combobox/testing/combobox.pageobject.d.ts +8 -0
  12. package/dist/esm/combobox/testing/combobox.pageobject.js +15 -0
  13. package/dist/esm/combobox/testing/combobox.pageobject.js.map +1 -1
  14. package/dist/esm/patterns/dropdown/styles.js +68 -51
  15. package/dist/esm/patterns/dropdown/styles.js.map +1 -1
  16. package/dist/esm/rich-text/mention-listbox/index.js +3 -0
  17. package/dist/esm/rich-text/mention-listbox/index.js.map +1 -1
  18. package/dist/esm/rich-text/mention-listbox/template.js +18 -3
  19. package/dist/esm/rich-text/mention-listbox/template.js.map +1 -1
  20. package/dist/esm/select/models/select-form-associated.js +1 -0
  21. package/dist/esm/select/models/select-form-associated.js.map +1 -1
  22. package/dist/esm/select/styles.js +2 -17
  23. package/dist/esm/select/styles.js.map +1 -1
  24. package/dist/esm/select/template.js +7 -6
  25. package/dist/esm/select/template.js.map +1 -1
  26. package/dist/esm/spinner/template.js +1 -0
  27. package/dist/esm/spinner/template.js.map +1 -1
  28. package/dist/esm/table/components/group-row/template.js +1 -0
  29. package/dist/esm/table/components/group-row/template.js.map +1 -1
  30. package/dist/esm/table-column/anchor/cell-view/template.js +1 -0
  31. package/dist/esm/table-column/anchor/cell-view/template.js.map +1 -1
  32. package/dist/esm/utilities/style/theme.js +1 -0
  33. package/dist/esm/utilities/style/theme.js.map +1 -1
  34. package/dist/esm/utilities/unit-format/scaled-unit-format/manually-translated-scaled-unit-format.js +1 -0
  35. package/dist/esm/utilities/unit-format/scaled-unit-format/manually-translated-scaled-unit-format.js.map +1 -1
  36. package/package.json +2 -2
@@ -3110,10 +3110,6 @@ const wg="nimble-icon-arrow-expander-down",xg="above",Cg="underline",kg="outline
3110
3110
  width: 0px;
3111
3111
  }
3112
3112
 
3113
- [part='start'] {
3114
- display: none;
3115
- }
3116
-
3117
3113
  .control {
3118
3114
  align-items: center;
3119
3115
  cursor: pointer;
@@ -3141,10 +3137,59 @@ const wg="nimble-icon-arrow-expander-down",xg="above",Cg="underline",kg="outline
3141
3137
  border-bottom-color: ${rl};
3142
3138
  }
3143
3139
 
3140
+ [part='start'] {
3141
+ display: none;
3142
+ }
3143
+
3144
+ .selected-value {
3145
+ flex: auto;
3146
+ font-family: inherit;
3147
+ text-align: start;
3148
+ white-space: nowrap;
3149
+ text-overflow: ellipsis;
3150
+ overflow: hidden;
3151
+ padding: 0px;
3152
+ padding-left: ${Sl};
3153
+ }
3154
+
3155
+ .selected-value[disabled]::placeholder {
3156
+ color: ${Vc};
3157
+ }
3158
+
3159
+ .indicator {
3160
+ flex: none;
3161
+ margin-left: ${kl};
3162
+ padding-right: 8px;
3163
+ display: flex;
3164
+ justify-content: center;
3165
+ align-items: center;
3166
+ }
3167
+
3168
+ .indicator slot[name='indicator'] svg {
3169
+ width: ${$l};
3170
+ height: ${$l};
3171
+ fill: ${zc};
3172
+ }
3173
+
3174
+ :host([disabled]) .indicator slot[name='indicator'] svg {
3175
+ fill: ${Vc};
3176
+ }
3177
+
3178
+ [part='end'] {
3179
+ margin-inline-start: auto;
3180
+ }
3181
+
3182
+ :host([open][position='above']) .anchored-region {
3183
+ padding-bottom: ${kl};
3184
+ }
3185
+
3186
+ :host([open][position='below']) .anchored-region {
3187
+ padding-top: ${kl};
3188
+ }
3189
+
3144
3190
  .listbox {
3145
3191
  display: inline-flex;
3146
3192
  flex-direction: column;
3147
- overflow-y: auto;
3148
3193
  width: 100%;
3149
3194
  --ni-private-listbox-visible-option-count: 10.5;
3150
3195
  --ni-private-listbox-anchor-element-gap: ${kl};
@@ -3178,12 +3223,6 @@ const wg="nimble-icon-arrow-expander-down",xg="above",Cg="underline",kg="outline
3178
3223
  --ni-private-listbox-loading-indicator-height: ${xl};
3179
3224
  }
3180
3225
 
3181
- .listbox slot {
3182
- display: block;
3183
- background: transparent;
3184
- padding: var(--ni-private-listbox-padding);
3185
- }
3186
-
3187
3226
  :host([open][position='above']) .listbox {
3188
3227
  border-bottom-left-radius: 0;
3189
3228
  border-bottom-right-radius: 0;
@@ -3194,55 +3233,33 @@ const wg="nimble-icon-arrow-expander-down",xg="above",Cg="underline",kg="outline
3194
3233
  border-top-right-radius: 0;
3195
3234
  }
3196
3235
 
3197
- :host([open][position='above']) .anchored-region {
3198
- padding-bottom: ${kl};
3236
+ .scrollable-region {
3237
+ overflow-y: auto;
3199
3238
  }
3200
3239
 
3201
- :host([open][position='below']) .anchored-region {
3202
- padding-top: ${kl};
3240
+ .listbox slot {
3241
+ display: block;
3242
+ background: transparent;
3243
+ padding: var(--ni-private-listbox-padding);
3203
3244
  }
3204
3245
 
3205
- .selected-value {
3206
- flex: auto;
3207
- font-family: inherit;
3208
- text-align: start;
3209
- white-space: nowrap;
3210
- text-overflow: ellipsis;
3211
- overflow: hidden;
3212
- padding: 0px;
3213
- padding-left: ${Sl};
3246
+ .listbox.empty slot {
3247
+ display: none;
3214
3248
  }
3215
3249
 
3216
- .selected-value[disabled]::placeholder {
3217
- color: ${Vc};
3250
+ ::slotted([role='option']),
3251
+ ::slotted(option) {
3252
+ flex: none;
3218
3253
  }
3219
3254
 
3220
- .indicator {
3221
- flex: none;
3222
- margin-left: ${kl};
3223
- padding-right: 8px;
3255
+ .no-results-label {
3256
+ color: ${Oc};
3257
+ height: ${xl};
3258
+ display: inline-flex;
3224
3259
  display: flex;
3225
- justify-content: center;
3260
+ flex: 1 0 auto;
3226
3261
  align-items: center;
3227
- }
3228
-
3229
- .indicator slot[name='indicator'] svg {
3230
- width: ${$l};
3231
- height: ${$l};
3232
- fill: ${zc};
3233
- }
3234
-
3235
- :host([disabled]) .indicator slot[name='indicator'] svg {
3236
- fill: ${Vc};
3237
- }
3238
-
3239
- [part='end'] {
3240
- margin-inline-start: auto;
3241
- }
3242
-
3243
- ::slotted([role='option']),
3244
- ::slotted(option) {
3245
- flex: none;
3262
+ padding: ${kl} ${Sl};
3246
3263
  }
3247
3264
  `.withBehaviors(lh(Cg,Mt`
3248
3265
  .control {
@@ -3378,10 +3395,6 @@ const wg="nimble-icon-arrow-expander-down",xg="above",Cg="underline",kg="outline
3378
3395
  :host([disabled]) .dropdown-icon {
3379
3396
  fill: ${Vc};
3380
3397
  }
3381
-
3382
- :host(:empty) .listbox {
3383
- display: none;
3384
- }
3385
3398
  `.withBehaviors(lh(Sg,Mt`
3386
3399
  :host([error-visible]) .control {
3387
3400
  border-bottom-width: ${Ml};
@@ -3400,7 +3413,7 @@ if(!e||e.disabled)return!1
3400
3413
  this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}toggleButtonClickHandler(t){t.stopImmediatePropagation()}toggleButtonChangeHandler(t){this.open=this.dropdownButton.checked,t.stopImmediatePropagation()}toggleButtonKeyDownHandler(t){switch(t.key){case Ea:case Ia:case Na:case Aa:return this.open=!0,this.stopPropagation(t),!1
3401
3414
  default:return!0}}filterOptions(){this.autocomplete&&this.autocomplete!==Qn||(this.filter="")
3402
3415
  const t=this.filter.toLowerCase()
3403
- this.filteredOptions=this._options.filter((e=>e.text.toLowerCase().startsWith(t))),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach((t=>{t.visuallyHidden=!this.filteredOptions.includes(t)})))
3416
+ this.filteredOptions=this._options.filter((e=>e.text.toLowerCase().startsWith(t)&&!e.hidden)),this.isAutocompleteList&&this._options.forEach((t=>{t.visuallyHidden=!this.filteredOptions.includes(t)}))
3404
3417
  const e=this.filteredOptions.filter((t=>!t.disabled))
3405
3418
  this.filteredOptions=e}inputHandler(t){return this.filter=this.control.value,this.filterOptions(),this.isAutocompleteInline||(this.selectedIndex=this.options.map((t=>t.text)).indexOf(this.control.value)),!t.inputType.includes("deleteContent")&&this.filter.length&&(this.isAutocompleteList&&!this.open&&(this.open=!0),this.isAutocompleteInline&&(this.filteredOptions.length?(this.selectedOptions=[this.filteredOptions[0]],this.selectedIndex=this.options.indexOf(this.firstSelectedOption),this.setInlineSelection()):this.selectedIndex=-1)),this.valueUpdatedByInput||(this.valueBeforeTextUpdate=this.value),this.valueUpdatedByInput=!0,this.value!==this.control.value&&this.focusAndScrollOptionIntoView(),this.value=this.control.value,!0}keydownHandler(t){if(t.ctrlKey||t.altKey)return!0
3406
3419
  switch(t.key){case Aa:this.syncValue(),this.isAutocompleteInline&&(this.filter=this.value),this.open=!1,this.clearSelectionRange(),this.emitChangeIfValueUpdated()
@@ -3423,7 +3436,7 @@ const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
3423
3436
  this.forcedPosition?this.position=this.positionAttribute:t.top>e?this.position=Wn:this.position=Gn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Wn?Math.trunc(t.top):Math.trunc(e)}focusAndScrollOptionIntoView(){this.open&&this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame((()=>{this.firstSelectedOption?.scrollIntoView({block:"nearest"})})))}openChanged(){this.open?(this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),b.queueUpdate((()=>this.focus()))):(this.ariaControls="",this.ariaExpanded="false"),this.dropdownButton&&(this.dropdownButton.checked=this.open)}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder??"")}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this._options.forEach((t=>{t.selected=e.includes(t)}))}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}regionChanged(t,e){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}controlWrapperChanged(t,e){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}ariaLabelChanged(t,e){this.updateInputAriaLabel()}updateValue(t){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?.text||this.control.value,this.control.value=this.value),t&&this.$emit("change")}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}clearSelectionRange(){const t=this.control.value.length
3424
3437
  this.control.setSelectionRange(t,t)}syncValue(){const t=this.selectedIndex>-1?this.firstSelectedOption?.text:this.control.value
3425
3438
  this.updateValue(this.value!==t)}updateInputAriaLabel(){const t=this.shadowRoot?.querySelector(".selected-value")
3426
- this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}t([ft],Og.prototype,"appearance",void 0),t([ft({attribute:"error-text"})],Og.prototype,"errorText",void 0),t([ft({attribute:"error-visible",mode:"boolean"})],Og.prototype,"errorVisible",void 0),t([ft({attribute:"autocomplete",mode:"fromView"})],Og.prototype,"autocomplete",void 0),t([ft({attribute:"position"})],Og.prototype,"positionAttribute",void 0),t([ft({attribute:"open",mode:"boolean"})],Og.prototype,"open",void 0),t([ft],Og.prototype,"placeholder",void 0),t([C],Og.prototype,"position",void 0),t([C],Og.prototype,"region",void 0),t([C],Og.prototype,"controlWrapper",void 0),t([C],Og.prototype,"control",void 0),t([C],Og.prototype,"listbox",void 0),t([C],Og.prototype,"dropdownButton",void 0),t([C],Og.prototype,"hasOverflow",void 0),t([C],Og.prototype,"availableViewportHeight",void 0)
3439
+ this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}t([ft],Og.prototype,"appearance",void 0),t([ft({attribute:"error-text"})],Og.prototype,"errorText",void 0),t([ft({attribute:"error-visible",mode:"boolean"})],Og.prototype,"errorVisible",void 0),t([ft({attribute:"autocomplete",mode:"fromView"})],Og.prototype,"autocomplete",void 0),t([ft({attribute:"position"})],Og.prototype,"positionAttribute",void 0),t([ft({attribute:"open",mode:"boolean"})],Og.prototype,"open",void 0),t([ft],Og.prototype,"placeholder",void 0),t([C],Og.prototype,"position",void 0),t([C],Og.prototype,"region",void 0),t([C],Og.prototype,"controlWrapper",void 0),t([C],Og.prototype,"control",void 0),t([C],Og.prototype,"listbox",void 0),t([C],Og.prototype,"dropdownButton",void 0),t([C],Og.prototype,"filteredOptions",void 0),t([C],Og.prototype,"hasOverflow",void 0),t([C],Og.prototype,"availableViewportHeight",void 0)
3427
3440
  const Rg=Og.compose({baseName:"combobox",baseClass:Tg,template:(t,e)=>Q`
3428
3441
  <template
3429
3442
  aria-disabled="${t=>t.ariaDisabled}"
@@ -3478,7 +3491,11 @@ const Rg=Og.compose({baseName:"combobox",baseClass:Tg,template:(t,e)=>Q`
3478
3491
  horizontal-scaling="anchor"
3479
3492
  ?hidden="${t=>!t.open}">
3480
3493
  <div
3481
- class="listbox"
3494
+ class="
3495
+ listbox
3496
+ scrollable-region
3497
+ ${t=>0===t.filteredOptions.length?"empty":""}
3498
+ "
3482
3499
  id="${t=>t.listboxId}"
3483
3500
  part="listbox"
3484
3501
  role="listbox"
@@ -3489,6 +3506,11 @@ const Rg=Og.compose({baseName:"combobox",baseClass:Tg,template:(t,e)=>Q`
3489
3506
  <slot name="option"
3490
3507
  ${ie({filter:t=>t instanceof HTMLElement&&qn.slottedOptionFilter(t),flatten:!0,property:"slottedOptions"})}
3491
3508
  ></slot>
3509
+ ${Gt((t=>0===t.filteredOptions.length),Q`
3510
+ <span class="no-results-label">
3511
+ ${t=>Km.getValueFor(t)}
3512
+ </span>
3513
+ `)}
3492
3514
  </div>
3493
3515
  </${Th}>
3494
3516
  </template>
@@ -7322,7 +7344,11 @@ const eI="nimble-toolbar",nI="Bold",iI="Italics",sI="Bulleted List",oI="Numbered
7322
7344
  horizontal-scaling="anchor"
7323
7345
  ?hidden="${t=>!t.open}">
7324
7346
  <div
7325
- class="listbox"
7347
+ class="
7348
+ listbox
7349
+ scrollable-region
7350
+ ${t=>0===t.filteredOptions.length?"empty":""}
7351
+ "
7326
7352
  part="listbox"
7327
7353
  role="listbox"
7328
7354
  @click="${(t,e)=>t.clickHandler(e.event)}"
@@ -7334,6 +7360,11 @@ const eI="nimble-toolbar",nI="Bold",iI="Italics",sI="Bulleted List",oI="Numbered
7334
7360
  ${ie({filter:t=>t instanceof HTMLElement&&qn.slottedOptionFilter(t),flatten:!0,property:"slottedOptions"})}
7335
7361
  >
7336
7362
  </slot>
7363
+ ${Gt((t=>0===t.filteredOptions.length),Q`
7364
+ <span class="no-results-label">
7365
+ ${t=>Km.getValueFor(t)}
7366
+ </span>
7367
+ `)}
7337
7368
  </div>
7338
7369
  </${Th}>
7339
7370
  </template>
@@ -7348,7 +7379,7 @@ this.filteredOptions=this._options.filter((e=>uI(e.text).includes(t)))}else this
7348
7379
  this._options.forEach((t=>{t.hidden=!this.filteredOptions.includes(t)})),this.filteredOptions.length?(this.selectedOptions=[this.filteredOptions[0]],this.selectedIndex=this.options.indexOf(this.firstSelectedOption)):(this.selectedOptions=[],this.selectedIndex=-1)}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.filterOptions()}clickHandler(t){const e=t.target.closest("option,[role=option]")
7349
7380
  if(!e||e.disabled)return!1
7350
7381
  const n={href:e.value,displayName:e.text}
7351
- return this.$emit("mention-selected",n),this.setOpen(!1),!0}anchorElementChanged(t,e){t&&this.anchorElementIntersectionObserver.unobserve(t),this.region&&this.anchorElement&&(this.region.anchorElement=this.anchorElement,this.region.update(),this.anchorElementIntersectionObserver.observe(e))}regionChanged(){this.regionNotifier&&this.regionNotifier.unsubscribe(this),this.regionNotifier=x.getNotifier(this.region),this.regionNotifier.subscribe(this)}handleChange(t,e){super.handleChange(t,e),"initialLayoutComplete"===e&&this.focusAndScrollOptionIntoView()}focusAndScrollOptionIntoView(){this.open&&this.firstSelectedOption&&requestAnimationFrame((()=>{this.firstSelectedOption?.scrollIntoView({block:"nearest"})}))}setOpen(t){this.open=t}}t([C],pI.prototype,"open",void 0),t([C],pI.prototype,"region",void 0),t([C],pI.prototype,"availableViewportHeight",void 0),t([C],pI.prototype,"anchorElement",void 0)
7382
+ return this.$emit("mention-selected",n),this.setOpen(!1),!0}anchorElementChanged(t,e){t&&this.anchorElementIntersectionObserver.unobserve(t),this.region&&this.anchorElement&&(this.region.anchorElement=this.anchorElement,this.region.update(),this.anchorElementIntersectionObserver.observe(e))}regionChanged(){this.regionNotifier&&this.regionNotifier.unsubscribe(this),this.regionNotifier=x.getNotifier(this.region),this.regionNotifier.subscribe(this)}handleChange(t,e){super.handleChange(t,e),"initialLayoutComplete"===e&&this.focusAndScrollOptionIntoView()}focusAndScrollOptionIntoView(){this.open&&this.firstSelectedOption&&requestAnimationFrame((()=>{this.firstSelectedOption?.scrollIntoView({block:"nearest"})}))}setOpen(t){this.open=t}}t([C],pI.prototype,"open",void 0),t([C],pI.prototype,"region",void 0),t([C],pI.prototype,"availableViewportHeight",void 0),t([C],pI.prototype,"filteredOptions",void 0),t([C],pI.prototype,"anchorElement",void 0)
7352
7383
  const fI=pI.compose({baseName:"rich-text-mention-listbox",template:hI,styles:dI})
7353
7384
  _i.getOrCreate().withPrefix("nimble").register(fI())
7354
7385
  const mI="nimble-rich-text-mention-listbox",gI=Q`
@@ -9046,10 +9077,6 @@ const UT=Mt`
9046
9077
  overflow-x: clip;
9047
9078
  }
9048
9079
 
9049
- .listbox.empty slot {
9050
- display: none;
9051
- }
9052
-
9053
9080
  .listbox.above {
9054
9081
  flex-flow: column-reverse;
9055
9082
  }
@@ -9087,7 +9114,8 @@ const UT=Mt`
9087
9114
  }
9088
9115
 
9089
9116
  .filter-icon {
9090
- padding-left: ${kl};
9117
+ flex-shrink: 0;
9118
+ margin-left: ${kl};
9091
9119
  ${hl.cssCustomProperty}: ${Oc};
9092
9120
  }
9093
9121
 
@@ -9109,10 +9137,6 @@ const UT=Mt`
9109
9137
  outline: 0px;
9110
9138
  }
9111
9139
 
9112
- .scrollable-region {
9113
- overflow: auto;
9114
- }
9115
-
9116
9140
  ::slotted([role='option']) {
9117
9141
  background-color: transparent;
9118
9142
  }
@@ -9129,14 +9153,6 @@ const UT=Mt`
9129
9153
  background-color: ${nl};
9130
9154
  }
9131
9155
 
9132
- .no-results-label {
9133
- color: ${Oc};
9134
- height: ${xl};
9135
- display: inline-flex;
9136
- align-items: center;
9137
- padding: ${kl} ${Sl};
9138
- }
9139
-
9140
9156
  .loading-container {
9141
9157
  padding-left: ${Sl};
9142
9158
  padding-right: ${Sl};
@@ -9515,7 +9531,7 @@ const iO=nO.compose({baseName:"select",baseClass:is,template:(t,e)=>Q`
9515
9531
  <div class="listbox-background">
9516
9532
  <div
9517
9533
  class="
9518
- listbox
9534
+ listbox
9519
9535
  ${t=>0===t.filteredOptions.length?"empty":""}
9520
9536
  ${t=>t.positionAttribute}
9521
9537
  "
@@ -9547,12 +9563,12 @@ const iO=nO.compose({baseName:"select",baseClass:is,template:(t,e)=>Q`
9547
9563
  name="option"
9548
9564
  ${ie({filter:t=>t instanceof HTMLElement&&(YT(t)||XT(t)),flatten:!0,property:"slottedOptions"})}
9549
9565
  ></slot>
9566
+ ${Gt((t=>t.filterMode!==Mg.none&&0===t.filteredOptions.length&&!t.loadingVisible),Q`
9567
+ <span class="no-results-label">
9568
+ ${t=>Km.getValueFor(t)}
9569
+ </span>
9570
+ `)}
9550
9571
  </div>
9551
- ${Gt((t=>t.filterMode!==Mg.none&&0===t.filteredOptions.length&&!t.loadingVisible),Q`
9552
- <span class="no-results-label ${t=>t.positionAttribute}">
9553
- ${t=>Km.getValueFor(t)}
9554
- </span>
9555
- `)}
9556
9572
  ${Gt((t=>t.loadingVisible),Q`
9557
9573
  <div class="loading-container ${t=>t.positionAttribute} ${t=>0===t.filteredOptions.length?"empty":""}"
9558
9574
  @click="${(t,e)=>t.ignoreClickHandler(e.event)}">