@quidgest/ui 0.7.11 → 0.7.12

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/dist/ui.min.js CHANGED
@@ -188,7 +188,8 @@ c.value=null==(e=p.value)?void 0:e.getLastFocusableItemIndex()}()})))
188
188
  else if("Enter"===e.key){if(void 0===y.value)return
189
189
  w(y.value[a.itemValue])}else"Home"===e.key?c.value=null==(o=p.value)?void 0:o.getFirstFocusableItemIndex():"End"===e.key?c.value=null==(l=p.value)?void 0:l.getLastFocusableItemIndex():(/^[a-z]$/i.test(e.key)||"Backspace"===e.key)&&_()}function q(){var e,t
190
190
  if(void 0!==i.value){const t=v.value.findIndex((e=>e[a.itemValue]===i.value))
191
- c.value=-1===t?null==(e=p.value)?void 0:e.getFirstFocusableItemIndex():t}else c.value=null==(t=p.value)?void 0:t.getFirstFocusableItemIndex()}function $(e){var t,o,l;(null==(t=f.value)||!t.contains(e.relatedTarget))&&(null==(l=null==(o=u.value)?void 0:o.fieldRef)||!l.contains(e.relatedTarget))&&(C(),B())}function L(){var e,t
191
+ c.value=-1===t?null==(e=p.value)?void 0:e.getFirstFocusableItemIndex():t}else c.value=null==(t=p.value)?void 0:t.getFirstFocusableItemIndex()}function $(e){var t,o,l
192
+ null!=(t=f.value)&&t.contains(e.relatedTarget)||null!=(l=null==(o=u.value)?void 0:o.fieldRef)&&l.contains(e.relatedTarget)?(e.preventDefault(),e.stopPropagation()):(C(),B())}function L(){var e,t
192
193
  null==(t=null==(e=u.value)?void 0:e.inputRef)||t.focus()}function I(){n("show")}function z(){n("hide")}function D(e){var t
193
194
  const o=null==(t=p.value)?void 0:t.getItem(e)
194
195
  null==o||o.scrollIntoView({block:"nearest",inline:"start"})}return t.watch((()=>a.modelValue),(e=>{i.value=e,B()})),t.watch(c,(e=>{void 0!==e&&D(e)})),t.watch(s,(e=>{!e&&m.value?S():d.value&&"automatic"===a.selectionMode&&t.nextTick(q),n("update:inputValue",e)})),o({triggerEl:u}),(e,o)=>{var l,n