redmine-ui-kit 1.6.21 → 1.6.22
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/redmine-ui-kit.js
CHANGED
|
@@ -389,7 +389,9 @@ const Br = ["for"], Lr = { class: "rm-input-wrapper" }, Ir = ["id", "maxlength",
|
|
|
389
389
|
contentClass: { default: "" },
|
|
390
390
|
transitionName: { default: "" },
|
|
391
391
|
contentTransition: { default: "" },
|
|
392
|
-
rootAttributes: {}
|
|
392
|
+
rootAttributes: {},
|
|
393
|
+
appendTo: { default: "body" },
|
|
394
|
+
defer: { type: Boolean, default: !1 }
|
|
393
395
|
},
|
|
394
396
|
emits: ["close"],
|
|
395
397
|
setup(e, { emit: a }) {
|
|
@@ -397,7 +399,10 @@ const Br = ["for"], Lr = { class: "rm-input-wrapper" }, Ir = ["id", "maxlength",
|
|
|
397
399
|
function l() {
|
|
398
400
|
t.persistent || n("close");
|
|
399
401
|
}
|
|
400
|
-
return (r, o) => (p(), be(Ya, {
|
|
402
|
+
return (r, o) => (p(), be(Ya, {
|
|
403
|
+
to: r.appendTo,
|
|
404
|
+
defer: r.defer
|
|
405
|
+
}, [
|
|
401
406
|
Oe(rt, {
|
|
402
407
|
name: r.transitionName,
|
|
403
408
|
appear: ""
|
|
@@ -447,7 +452,7 @@ const Br = ["for"], Lr = { class: "rm-input-wrapper" }, Ir = ["id", "maxlength",
|
|
|
447
452
|
]),
|
|
448
453
|
_: 3
|
|
449
454
|
}, 8, ["name"])
|
|
450
|
-
]));
|
|
455
|
+
], 8, ["to", "defer"]));
|
|
451
456
|
}
|
|
452
457
|
}), jr = (e, a = 150) => {
|
|
453
458
|
let t;
|
|
@@ -521,7 +526,8 @@ const eo = { class: "rm-dropdown" }, to = /* @__PURE__ */ De({
|
|
|
521
526
|
contentClass: { default: "" },
|
|
522
527
|
closeImmediate: { type: Boolean, default: !1 },
|
|
523
528
|
active: { type: Boolean, default: !1 },
|
|
524
|
-
appendTo: { default: "body" }
|
|
529
|
+
appendTo: { default: "body" },
|
|
530
|
+
defer: { type: Boolean, default: !1 }
|
|
525
531
|
},
|
|
526
532
|
setup(e) {
|
|
527
533
|
const a = {
|
|
@@ -576,7 +582,10 @@ const eo = { class: "rm-dropdown" }, to = /* @__PURE__ */ De({
|
|
|
576
582
|
}, [
|
|
577
583
|
ne(h.$slots, "trigger")
|
|
578
584
|
], 512),
|
|
579
|
-
(p(), be(Ya, {
|
|
585
|
+
(p(), be(Ya, {
|
|
586
|
+
to: h.appendTo,
|
|
587
|
+
defer: h.defer
|
|
588
|
+
}, [
|
|
580
589
|
Oe(rt, { name: h.transition }, {
|
|
581
590
|
default: ve(() => [
|
|
582
591
|
l.value ? (p(), C("div", {
|
|
@@ -600,7 +609,7 @@ const eo = { class: "rm-dropdown" }, to = /* @__PURE__ */ De({
|
|
|
600
609
|
]),
|
|
601
610
|
_: 3
|
|
602
611
|
}, 8, ["name"])
|
|
603
|
-
], 8, ["to"]))
|
|
612
|
+
], 8, ["to", "defer"]))
|
|
604
613
|
])), [
|
|
605
614
|
[c(or), () => !h.manualClose && g()]
|
|
606
615
|
]);
|