ll-plus 2.9.16 → 2.9.17

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/index.full.mjs CHANGED
@@ -73448,26 +73448,6 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
73448
73448
  scrollPosition.value = "top";
73449
73449
  }
73450
73450
  };
73451
- const focusModal = () => {
73452
- currentClass.value = `modal-${(/* @__PURE__ */ new Date()).getTime()}`;
73453
- nextTick().then(() => {
73454
- const dom = document.querySelector(`.${currentClass.value}`);
73455
- if (dom) {
73456
- dom.focus();
73457
- }
73458
- });
73459
- };
73460
- watch(
73461
- () => props.open,
73462
- (val) => {
73463
- if (val) {
73464
- focusModal();
73465
- }
73466
- }
73467
- );
73468
- onMounted(() => {
73469
- focusModal();
73470
- });
73471
73451
  __expose({
73472
73452
  scrollTop
73473
73453
  });
@@ -73475,6 +73455,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
73475
73455
  return openBlock(), createBlock(unref(Modal$2), mergeProps(getBindValue.value, {
73476
73456
  ref_key: "modal",
73477
73457
  ref: modal,
73458
+ keyboard: _ctx.keyboard,
73478
73459
  open: _ctx.open,
73479
73460
  "wrap-class-name": `${unref(bem).b()} ${_ctx.wrapClassName} ${currentClass.value}`,
73480
73461
  onCancel: handleCancel,
@@ -73485,7 +73466,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
73485
73466
  createElementVNode(
73486
73467
  "span",
73487
73468
  null,
73488
- toDisplayString(props.title),
73469
+ toDisplayString(_ctx.title),
73489
73470
  1
73490
73471
  /* TEXT */
73491
73472
  )
@@ -73538,7 +73519,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
73538
73519
  ]),
73539
73520
  key: "0"
73540
73521
  } : void 0
73541
- ]), 1040, ["open", "wrap-class-name"]);
73522
+ ]), 1040, ["keyboard", "open", "wrap-class-name"]);
73542
73523
  };
73543
73524
  }
73544
73525
  });