ninemoon-ui 0.0.15 → 0.0.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.
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
22
|
beforebgcolor: {
|
|
23
23
|
type: import("vue").PropType<string>;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
arrowshow: {
|
|
26
26
|
type: import("vue").PropType<boolean>;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
beforebgcolor: {
|
|
53
53
|
type: import("vue").PropType<string>;
|
|
54
54
|
};
|
|
55
|
-
|
|
55
|
+
arrowshow: {
|
|
56
56
|
type: import("vue").PropType<boolean>;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
61
61
|
}, {
|
|
62
62
|
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
63
63
|
trigger: "click" | "hover" | "native";
|
|
64
|
-
|
|
64
|
+
arrowshow: boolean;
|
|
65
65
|
}, {}>, {
|
|
66
66
|
reference?(_: {}): any;
|
|
67
67
|
default?(_: {}): any;
|
package/dist/index.d.ts
CHANGED
|
@@ -1539,7 +1539,7 @@ declare const LibPopover: {
|
|
|
1539
1539
|
$props: {
|
|
1540
1540
|
placement?: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright" | undefined;
|
|
1541
1541
|
trigger?: "click" | "hover" | "native" | undefined;
|
|
1542
|
-
|
|
1542
|
+
arrowshow?: boolean | undefined;
|
|
1543
1543
|
style?: unknown;
|
|
1544
1544
|
class?: unknown;
|
|
1545
1545
|
key?: string | number | symbol | undefined;
|
|
@@ -1628,7 +1628,7 @@ declare const LibPopover: {
|
|
|
1628
1628
|
beforebgcolor: {
|
|
1629
1629
|
type: import("vue").PropType<string>;
|
|
1630
1630
|
};
|
|
1631
|
-
|
|
1631
|
+
arrowshow: {
|
|
1632
1632
|
type: import("vue").PropType<boolean>;
|
|
1633
1633
|
default: boolean;
|
|
1634
1634
|
};
|
|
@@ -1639,7 +1639,7 @@ declare const LibPopover: {
|
|
|
1639
1639
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {
|
|
1640
1640
|
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
1641
1641
|
trigger: "click" | "hover" | "native";
|
|
1642
|
-
|
|
1642
|
+
arrowshow: boolean;
|
|
1643
1643
|
}, {}, string, {}> & {
|
|
1644
1644
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1645
1645
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1684,7 +1684,7 @@ declare const LibPopover: {
|
|
|
1684
1684
|
beforebgcolor: {
|
|
1685
1685
|
type: import("vue").PropType<string>;
|
|
1686
1686
|
};
|
|
1687
|
-
|
|
1687
|
+
arrowshow: {
|
|
1688
1688
|
type: import("vue").PropType<boolean>;
|
|
1689
1689
|
default: boolean;
|
|
1690
1690
|
};
|
|
@@ -1720,7 +1720,7 @@ declare const LibPopover: {
|
|
|
1720
1720
|
beforebgcolor: {
|
|
1721
1721
|
type: import("vue").PropType<string>;
|
|
1722
1722
|
};
|
|
1723
|
-
|
|
1723
|
+
arrowshow: {
|
|
1724
1724
|
type: import("vue").PropType<boolean>;
|
|
1725
1725
|
default: boolean;
|
|
1726
1726
|
};
|
|
@@ -1731,7 +1731,7 @@ declare const LibPopover: {
|
|
|
1731
1731
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {
|
|
1732
1732
|
placement: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
1733
1733
|
trigger: "click" | "hover" | "native";
|
|
1734
|
-
|
|
1734
|
+
arrowshow: boolean;
|
|
1735
1735
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1736
1736
|
$slots: {
|
|
1737
1737
|
reference?(_: {}): any;
|
package/dist/index.umd.js
CHANGED
|
@@ -1906,7 +1906,7 @@
|
|
|
1906
1906
|
break;
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
|
-
if (top - scrollTop < 0
|
|
1909
|
+
if (top - scrollTop < 0) {
|
|
1910
1910
|
switch (set == null ? void 0 : set.position) {
|
|
1911
1911
|
case "topmiddle":
|
|
1912
1912
|
case "topleft":
|
|
@@ -2657,7 +2657,6 @@
|
|
|
2657
2657
|
};
|
|
2658
2658
|
return (_ctx, _cache) => {
|
|
2659
2659
|
return vue.openBlock(), vue.createBlock(vue.unref(Pop), {
|
|
2660
|
-
vIF: false,
|
|
2661
2660
|
trigger: "native",
|
|
2662
2661
|
modelValue: showOption.value,
|
|
2663
2662
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showOption.value = $event),
|
|
@@ -4581,7 +4580,7 @@
|
|
|
4581
4580
|
beforeHidden: {},
|
|
4582
4581
|
modelValue: { type: Boolean },
|
|
4583
4582
|
beforebgcolor: {},
|
|
4584
|
-
|
|
4583
|
+
arrowshow: { type: Boolean, default: true }
|
|
4585
4584
|
},
|
|
4586
4585
|
emits: ["update:modelValue"],
|
|
4587
4586
|
setup(__props, { expose: __expose, emit: emitAct }) {
|
|
@@ -4783,10 +4782,7 @@
|
|
|
4783
4782
|
onMouseenter: vue.withModifiers(hovershowHandle, ["prevent"])
|
|
4784
4783
|
}, [
|
|
4785
4784
|
vue.renderSlot(_ctx.$slots, "reference"),
|
|
4786
|
-
(vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
4787
|
-
to: bindName.value,
|
|
4788
|
-
disabled: !trueFlag.value
|
|
4789
|
-
}, [
|
|
4785
|
+
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: bindName.value }, [
|
|
4790
4786
|
vue.createVNode(vue.Transition, { name: "opecity" }, {
|
|
4791
4787
|
default: vue.withCtx(() => [
|
|
4792
4788
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -4796,7 +4792,7 @@
|
|
|
4796
4792
|
style: vue.normalizeStyle({ width: widthNum.value, top: `${Top.value}px`, left: `${Left.value}px` })
|
|
4797
4793
|
}, [
|
|
4798
4794
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
4799
|
-
vue.
|
|
4795
|
+
_ctx.arrowshow ? (vue.openBlock(), vue.createBlock(arrowHandle, { key: 0 })) : vue.createCommentVNode("", true)
|
|
4800
4796
|
], 6)), [
|
|
4801
4797
|
[vue.vShow, trueFlag.value],
|
|
4802
4798
|
[vClickoutside, closeCenter]
|
|
@@ -4804,7 +4800,7 @@
|
|
|
4804
4800
|
]),
|
|
4805
4801
|
_: 3
|
|
4806
4802
|
})
|
|
4807
|
-
], 8, ["to"
|
|
4803
|
+
], 8, ["to"]))
|
|
4808
4804
|
], 40, _hoisted_1$7);
|
|
4809
4805
|
};
|
|
4810
4806
|
}
|
package/dist/js/index/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, nextTick, onUnmounted, openBlock, createElementBlock, withModifiers, renderSlot, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, normalizeClass, normalizeStyle, vShow, h } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, nextTick, onUnmounted, openBlock, createElementBlock, withModifiers, renderSlot, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, normalizeClass, normalizeStyle, createCommentVNode, vShow, h } from "vue";
|
|
2
2
|
import { c as createAndAppendElementWithId, u as usePotion, d as debounce } from "../index/index.js";
|
|
3
3
|
const _hoisted_1 = ["onMouseenter"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
beforeHidden: {},
|
|
12
12
|
modelValue: { type: Boolean },
|
|
13
13
|
beforebgcolor: {},
|
|
14
|
-
|
|
14
|
+
arrowshow: { type: Boolean, default: true }
|
|
15
15
|
},
|
|
16
16
|
emits: ["update:modelValue"],
|
|
17
17
|
setup(__props, { expose: __expose, emit: emitAct }) {
|
|
@@ -213,10 +213,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
213
213
|
onMouseenter: withModifiers(hovershowHandle, ["prevent"])
|
|
214
214
|
}, [
|
|
215
215
|
renderSlot(_ctx.$slots, "reference"),
|
|
216
|
-
(openBlock(), createBlock(Teleport, {
|
|
217
|
-
to: bindName.value,
|
|
218
|
-
disabled: !trueFlag.value
|
|
219
|
-
}, [
|
|
216
|
+
(openBlock(), createBlock(Teleport, { to: bindName.value }, [
|
|
220
217
|
createVNode(Transition, { name: "opecity" }, {
|
|
221
218
|
default: withCtx(() => [
|
|
222
219
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -226,7 +223,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
223
|
style: normalizeStyle({ width: widthNum.value, top: `${Top.value}px`, left: `${Left.value}px` })
|
|
227
224
|
}, [
|
|
228
225
|
renderSlot(_ctx.$slots, "default"),
|
|
229
|
-
|
|
226
|
+
_ctx.arrowshow ? (openBlock(), createBlock(arrowHandle, { key: 0 })) : createCommentVNode("", true)
|
|
230
227
|
], 6)), [
|
|
231
228
|
[vShow, trueFlag.value],
|
|
232
229
|
[vClickoutside, closeCenter]
|
|
@@ -234,7 +231,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
234
231
|
]),
|
|
235
232
|
_: 3
|
|
236
233
|
})
|
|
237
|
-
], 8, ["to"
|
|
234
|
+
], 8, ["to"]))
|
|
238
235
|
], 40, _hoisted_1);
|
|
239
236
|
};
|
|
240
237
|
}
|
package/dist/js/select/select.js
CHANGED
|
@@ -77,7 +77,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
};
|
|
78
78
|
return (_ctx, _cache) => {
|
|
79
79
|
return openBlock(), createBlock(unref(Pop), {
|
|
80
|
-
vIF: false,
|
|
81
80
|
trigger: "native",
|
|
82
81
|
modelValue: showOption.value,
|
|
83
82
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showOption.value = $event),
|