bge-ui 1.2.6 → 1.2.7
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/index.js +55 -49
- package/package.json +1 -1
- package/src/select/index.vue +5 -2
package/dist/index.js
CHANGED
|
@@ -273,7 +273,7 @@ const _hoisted_3$M = /* @__PURE__ */ createElementVNode("path", {
|
|
|
273
273
|
d: "M16 12.2751C15.3775 10.5459 13.1272 10.5753 11.9913 12.3642C10.8554 14.1531 9.15335 13.518 8 12.4104C8.31089 14.5023 10.0413 16.0335 12.056 15.9994C14.0707 15.9654 15.7533 14.3764 16 12.2751Z",
|
|
274
274
|
fill: "#0E4B9C"
|
|
275
275
|
}, null, -1);
|
|
276
|
-
const _hoisted_4$
|
|
276
|
+
const _hoisted_4$j = /* @__PURE__ */ createElementVNode("path", {
|
|
277
277
|
"fill-rule": "evenodd",
|
|
278
278
|
"clip-rule": "evenodd",
|
|
279
279
|
d: "M5.60285 6.01083C5.52985 6.03255 5.46811 6.08537 5.4317 6.15721L4.04126 8.76461C4.00306 8.83495 3.99227 8.91886 4.01128 8.99782C4.03029 9.07679 4.07754 9.14432 4.1426 9.18553L4.62138 9.48681C4.68659 9.52842 4.7646 9.53964 4.83759 9.51792C4.91058 9.4962 4.97233 9.44339 5.00873 9.37154L6.40027 6.76256C6.43848 6.69222 6.44927 6.60831 6.43026 6.52934C6.41125 6.45038 6.364 6.38285 6.29894 6.34164L5.81906 6.04195C5.75384 6.00034 5.67584 5.98911 5.60285 6.01083ZM7.0556 6.91746C6.98261 6.93918 6.92087 6.99199 6.88446 7.06384L5.49329 9.67123C5.45508 9.74157 5.44429 9.82548 5.4633 9.90444C5.48231 9.98341 5.52956 10.0509 5.59462 10.0921L6.07414 10.3918C6.13935 10.4334 6.21736 10.4447 6.29035 10.423C6.36334 10.4012 6.42509 10.3484 6.46149 10.2766L7.85303 7.66759C7.9316 7.52144 7.88631 7.33404 7.75169 7.24826L7.27181 6.94857C7.2066 6.90696 7.12859 6.89574 7.0556 6.91746ZM18.9905 14.63C19.027 14.5583 19.0887 14.5055 19.1617 14.4838C19.2346 14.4621 19.3126 14.4733 19.3779 14.5148L19.857 14.8145C19.9221 14.8557 19.9693 14.9232 19.9883 15.0022C20.0073 15.0811 19.9965 15.165 19.9583 15.2354L18.5675 17.8428C18.5311 17.9146 18.4694 17.9674 18.3964 17.9892C18.3234 18.0109 18.2454 17.9997 18.1802 17.9581L17.7003 17.6584C17.6352 17.6172 17.588 17.5496 17.569 17.4707C17.55 17.3917 17.5608 17.3078 17.599 17.2374L18.9905 14.63ZM17.7088 13.576C17.6359 13.5977 17.5741 13.6505 17.5376 13.7222L16.1465 16.3324C16.1082 16.4027 16.0974 16.4866 16.1163 16.5655C16.1353 16.6445 16.1824 16.712 16.2474 16.7533L16.7273 17.053C16.7925 17.0946 16.8705 17.1058 16.9435 17.0841C17.0165 17.0624 17.0783 17.0096 17.1147 16.9377L18.5062 14.3288C18.5444 14.2584 18.5552 14.1745 18.5362 14.0955C18.5172 14.0166 18.4699 13.949 18.4049 13.9078L17.925 13.607C17.8597 13.5655 17.7818 13.5543 17.7088 13.576ZM5.49292 14.3272C5.4541 14.2572 5.44301 14.1733 5.46215 14.0943C5.4813 14.0154 5.52906 13.9481 5.59462 13.9079L6.0745 13.6082C6.13997 13.5678 6.2176 13.5572 6.29026 13.5788C6.36292 13.6005 6.42466 13.6525 6.46186 13.7234L7.85303 16.3324C7.89236 16.4025 7.90378 16.4868 7.88468 16.5661C7.86558 16.6454 7.8176 16.713 7.7517 16.7533L7.27182 17.053C7.20634 17.0934 7.12872 17.104 7.05606 17.0823C6.9834 17.0607 6.92166 17.0087 6.88446 16.9378L5.49292 14.3272ZM4.00917 15.0015C3.98993 15.0809 4.00124 15.1652 4.04051 15.2354L5.43021 17.8444C5.46741 17.9153 5.52914 17.9673 5.60181 17.989C5.67447 18.0106 5.75209 18 5.81756 17.9596L6.29744 17.6599C6.36335 17.6196 6.41133 17.552 6.43043 17.4727C6.44952 17.3934 6.43811 17.3091 6.39878 17.239L5.00724 14.63C4.97004 14.5591 4.9083 14.5071 4.83564 14.4855C4.76298 14.4638 4.68536 14.4744 4.61989 14.5148L4.14258 14.8145C4.07655 14.8547 4.02841 14.9222 4.00917 15.0015ZM17.5995 6.76096C17.5601 6.69091 17.5487 6.6066 17.5678 6.52728C17.5869 6.44796 17.6349 6.3804 17.7008 6.34004L18.1807 6.04035C18.2462 5.99996 18.3238 5.98941 18.3964 6.01103C18.4691 6.03266 18.5308 6.08467 18.568 6.15562L19.9596 8.7646C19.9988 8.83479 20.0101 8.91922 19.9908 8.99856C19.9715 9.0779 19.9232 9.14536 19.8571 9.18552L19.3798 9.48521C19.3144 9.5256 19.2367 9.53615 19.1641 9.51453C19.0914 9.4929 19.0297 9.44089 18.9925 9.36994L17.5995 6.76096ZM16.1149 7.43391C16.0958 7.51323 16.1072 7.59754 16.1466 7.66759L17.5377 10.2766C17.5749 10.3475 17.6367 10.3995 17.7093 10.4212C17.782 10.4428 17.8596 10.4322 17.9251 10.3918L18.405 10.0921C18.4709 10.0519 18.519 9.98433 18.5382 9.905C18.5573 9.82567 18.546 9.74132 18.5067 9.67123L17.1151 7.06225C17.0779 6.9913 17.0162 6.93929 16.9435 6.91766C16.8709 6.89604 16.7932 6.90659 16.7278 6.94698L16.2479 7.24667C16.182 7.28703 16.134 7.35459 16.1149 7.43391Z",
|
|
@@ -283,7 +283,7 @@ const _hoisted_5$a = [
|
|
|
283
283
|
_hoisted_1$1O,
|
|
284
284
|
_hoisted_2$1y,
|
|
285
285
|
_hoisted_3$M,
|
|
286
|
-
_hoisted_4$
|
|
286
|
+
_hoisted_4$j
|
|
287
287
|
];
|
|
288
288
|
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
289
289
|
...{
|
|
@@ -364,7 +364,7 @@ const _hoisted_3$L = /* @__PURE__ */ createElementVNode("path", {
|
|
|
364
364
|
d: "M0 11C0.41001 4.8572 5.58792 0 11.9152 0C11.9435 0 11.9718 9.71228e-05 12 0.000291049V11H0Z",
|
|
365
365
|
fill: "#46467F"
|
|
366
366
|
}, null, -1);
|
|
367
|
-
const _hoisted_4$
|
|
367
|
+
const _hoisted_4$i = /* @__PURE__ */ createElementVNode("path", {
|
|
368
368
|
"fill-rule": "evenodd",
|
|
369
369
|
"clip-rule": "evenodd",
|
|
370
370
|
d: "M1 7.9145C1.04223 7.79705 1.08638 7.68046 1.13243 7.56476L1.30554 8.13136L1 7.9145ZM1.1936 7.41442C1.24208 7.29757 1.2925 7.18166 1.34481 7.06673L1.64704 7.07136L1.1936 7.41442ZM2.26322 5.42653C2.30063 5.37104 2.33851 5.31588 2.37688 5.26105L2.72651 5.25569L2.94499 4.61091L3.16346 5.25569L3.83888 5.26604L3.29848 5.67489L3.49744 6.32607L2.94499 5.93396L2.39253 6.32607L2.59149 5.67489L2.26322 5.42653ZM3.91334 3.48009C3.92052 3.47328 3.92771 3.46648 3.93492 3.45969L4.56276 3.45007L4.78124 2.80529L4.99971 3.45007L5.67513 3.46042L5.13473 3.86926L5.33369 4.52044L4.78124 4.12834L4.22878 4.52044L4.42774 3.86926L3.91334 3.48009ZM5.9737 1.91396C6.2099 1.77173 6.45164 1.63719 6.69853 1.5107L6.74396 1.64479L7.41938 1.65513L6.87898 2.06398L7.07794 2.71516L6.52549 2.32306L5.97303 2.71516L6.17199 2.06398L5.9737 1.91396ZM10.1061 2.37167L9.55365 2.77818L9.75261 2.10307L9.21221 1.67921L9.88763 1.66848L10.1061 1L10.3246 1.66848L11 1.67921L10.4596 2.10307L10.6586 2.77818L10.1061 2.37167ZM8.80936 4.12834L8.2569 4.52044L8.45586 3.86926L7.91546 3.46042L8.59088 3.45007L8.80936 2.80529L9.02783 3.45007L9.70325 3.46042L9.16285 3.86926L9.36181 4.52044L8.80936 4.12834ZM6.52546 5.93396L5.973 6.32607L6.17196 5.67489L5.63156 5.26604L6.30698 5.25569L6.52546 4.61091L6.74393 5.25569L7.41935 5.26604L6.87895 5.67489L7.07791 6.32607L6.52546 5.93396ZM10.1061 5.98258L9.55365 6.38909L9.75261 5.71398L9.21221 5.29011L9.88763 5.27939L10.1061 4.61091L10.3246 5.27939L11 5.29011L10.4596 5.71398L10.6586 6.38909L10.1061 5.98258ZM2.94495 9.54487L2.39249 9.93697L2.59145 9.2858L2.05105 8.87695L2.72648 8.8666L2.94495 8.22182L3.16342 8.8666L3.83885 8.87695L3.29845 9.2858L3.49741 9.93697L2.94495 9.54487ZM6.52546 9.54487L5.973 9.93697L6.17196 9.2858L5.63156 8.87695L6.30698 8.8666L6.52546 8.22182L6.74393 8.8666L7.41935 8.87695L6.87895 9.2858L7.07791 9.93697L6.52546 9.54487ZM10.1061 9.59349L9.55365 10L9.75261 9.32489L9.21221 8.90102L9.88763 8.8903L10.1061 8.22182L10.3246 8.8903L11 8.90102L10.4596 9.32489L10.6586 10L10.1061 9.59349ZM4.78129 7.73928L4.22883 8.13138L4.42779 7.4802L3.88739 7.07136L4.56281 7.06101L4.78129 6.41623L4.99976 7.06101L5.67518 7.07136L5.13479 7.4802L5.33375 8.13138L4.78129 7.73928ZM8.80936 7.73928L8.2569 8.13138L8.45586 7.4802L7.91546 7.07136L8.59088 7.06101L8.80936 6.41623L9.02783 7.06101L9.70325 7.07136L9.16285 7.4802L9.36181 8.13138L8.80936 7.73928Z",
|
|
@@ -374,7 +374,7 @@ const _hoisted_5$9 = [
|
|
|
374
374
|
_hoisted_1$1M,
|
|
375
375
|
_hoisted_2$1x,
|
|
376
376
|
_hoisted_3$L,
|
|
377
|
-
_hoisted_4$
|
|
377
|
+
_hoisted_4$i
|
|
378
378
|
];
|
|
379
379
|
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
380
380
|
...{
|
|
@@ -1678,7 +1678,7 @@ const _hoisted_3$x = /* @__PURE__ */ createElementVNode("path", {
|
|
|
1678
1678
|
d: "M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",
|
|
1679
1679
|
fill: "currentColor"
|
|
1680
1680
|
}, null, -1);
|
|
1681
|
-
const _hoisted_4$
|
|
1681
|
+
const _hoisted_4$h = [
|
|
1682
1682
|
_hoisted_1$1e,
|
|
1683
1683
|
_hoisted_2$11,
|
|
1684
1684
|
_hoisted_3$x
|
|
@@ -1707,7 +1707,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
1707
1707
|
viewBox: "0 0 24 24",
|
|
1708
1708
|
fill: "none",
|
|
1709
1709
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1710
|
-
}, _hoisted_4$
|
|
1710
|
+
}, _hoisted_4$h, 4);
|
|
1711
1711
|
};
|
|
1712
1712
|
}
|
|
1713
1713
|
});
|
|
@@ -1839,7 +1839,7 @@ const _hoisted_3$v = /* @__PURE__ */ createElementVNode("path", {
|
|
|
1839
1839
|
d: "M21 15H19V19H15V21H19C20.1046 21 21 20.1046 21 19V15Z",
|
|
1840
1840
|
fill: "currentColor"
|
|
1841
1841
|
}, null, -1);
|
|
1842
|
-
const _hoisted_4$
|
|
1842
|
+
const _hoisted_4$g = /* @__PURE__ */ createElementVNode("path", {
|
|
1843
1843
|
d: "M9 21V19H5V15H3V19C3 20.1046 3.89543 21 5 21H9Z",
|
|
1844
1844
|
fill: "currentColor"
|
|
1845
1845
|
}, null, -1);
|
|
@@ -1847,7 +1847,7 @@ const _hoisted_5$8 = [
|
|
|
1847
1847
|
_hoisted_1$1a,
|
|
1848
1848
|
_hoisted_2$Z,
|
|
1849
1849
|
_hoisted_3$v,
|
|
1850
|
-
_hoisted_4$
|
|
1850
|
+
_hoisted_4$g
|
|
1851
1851
|
];
|
|
1852
1852
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
1853
1853
|
...{
|
|
@@ -1891,7 +1891,7 @@ const _hoisted_3$u = /* @__PURE__ */ createElementVNode("path", {
|
|
|
1891
1891
|
d: "M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",
|
|
1892
1892
|
fill: "currentColor"
|
|
1893
1893
|
}, null, -1);
|
|
1894
|
-
const _hoisted_4$
|
|
1894
|
+
const _hoisted_4$f = [
|
|
1895
1895
|
_hoisted_1$19,
|
|
1896
1896
|
_hoisted_2$Y,
|
|
1897
1897
|
_hoisted_3$u
|
|
@@ -1920,7 +1920,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
1920
1920
|
viewBox: "0 0 24 24",
|
|
1921
1921
|
fill: "none",
|
|
1922
1922
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1923
|
-
}, _hoisted_4$
|
|
1923
|
+
}, _hoisted_4$f, 4);
|
|
1924
1924
|
};
|
|
1925
1925
|
}
|
|
1926
1926
|
});
|
|
@@ -2011,7 +2011,7 @@ const _hoisted_3$s = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2011
2011
|
d: "M22 19C22 18.4477 21.5523 18 21 18H3C2.44772 18 2 18.4477 2 19C2 19.5523 2.44772 20 3 20H21C21.5523 20 22 19.5523 22 19Z",
|
|
2012
2012
|
fill: "currentColor"
|
|
2013
2013
|
}, null, -1);
|
|
2014
|
-
const _hoisted_4$
|
|
2014
|
+
const _hoisted_4$e = [
|
|
2015
2015
|
_hoisted_1$16,
|
|
2016
2016
|
_hoisted_2$V,
|
|
2017
2017
|
_hoisted_3$s
|
|
@@ -2040,7 +2040,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
2040
2040
|
viewBox: "0 0 24 24",
|
|
2041
2041
|
fill: "none",
|
|
2042
2042
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2043
|
-
}, _hoisted_4$
|
|
2043
|
+
}, _hoisted_4$e, 4);
|
|
2044
2044
|
};
|
|
2045
2045
|
}
|
|
2046
2046
|
});
|
|
@@ -2167,7 +2167,7 @@ const _hoisted_3$r = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2167
2167
|
d: "M9.9375 12C9.9375 10.8954 10.8609 10 12 10C13.1391 10 14.0625 10.8954 14.0625 12C14.0625 13.1046 13.1391 14 12 14C10.8609 14 9.9375 13.1046 9.9375 12Z",
|
|
2168
2168
|
fill: "currentColor"
|
|
2169
2169
|
}, null, -1);
|
|
2170
|
-
const _hoisted_4$
|
|
2170
|
+
const _hoisted_4$d = [
|
|
2171
2171
|
_hoisted_1$12,
|
|
2172
2172
|
_hoisted_2$R,
|
|
2173
2173
|
_hoisted_3$r
|
|
@@ -2196,7 +2196,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2196
2196
|
viewBox: "0 0 24 24",
|
|
2197
2197
|
fill: "none",
|
|
2198
2198
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2199
|
-
}, _hoisted_4$
|
|
2199
|
+
}, _hoisted_4$d, 4);
|
|
2200
2200
|
};
|
|
2201
2201
|
}
|
|
2202
2202
|
});
|
|
@@ -2330,7 +2330,7 @@ const _hoisted_3$o = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2330
2330
|
d: "M8 11C8.82843 11 9.5 10.3284 9.5 9.49998C9.5 8.67156 8.82843 7.99998 8 7.99998C7.17157 7.99998 6.5 8.67156 6.5 9.49998C6.5 10.3284 7.17157 11 8 11Z",
|
|
2331
2331
|
fill: "currentColor"
|
|
2332
2332
|
}, null, -1);
|
|
2333
|
-
const _hoisted_4$
|
|
2333
|
+
const _hoisted_4$c = [
|
|
2334
2334
|
_hoisted_1$_,
|
|
2335
2335
|
_hoisted_2$O,
|
|
2336
2336
|
_hoisted_3$o
|
|
@@ -2359,7 +2359,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
2359
2359
|
viewBox: "0 0 24 24",
|
|
2360
2360
|
fill: "none",
|
|
2361
2361
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2362
|
-
}, _hoisted_4$
|
|
2362
|
+
}, _hoisted_4$c, 4);
|
|
2363
2363
|
};
|
|
2364
2364
|
}
|
|
2365
2365
|
});
|
|
@@ -2680,7 +2680,7 @@ const _hoisted_3$l = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2680
2680
|
fill: "currentColor",
|
|
2681
2681
|
"fill-opacity": "0.48"
|
|
2682
2682
|
}, null, -1);
|
|
2683
|
-
const _hoisted_4$
|
|
2683
|
+
const _hoisted_4$b = [
|
|
2684
2684
|
_hoisted_1$R,
|
|
2685
2685
|
_hoisted_2$F,
|
|
2686
2686
|
_hoisted_3$l
|
|
@@ -2709,7 +2709,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2709
2709
|
viewBox: "0 0 20 20",
|
|
2710
2710
|
fill: "none",
|
|
2711
2711
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2712
|
-
}, _hoisted_4$
|
|
2712
|
+
}, _hoisted_4$b, 4);
|
|
2713
2713
|
};
|
|
2714
2714
|
}
|
|
2715
2715
|
});
|
|
@@ -2794,7 +2794,7 @@ const _hoisted_3$k = /* @__PURE__ */ createElementVNode("path", {
|
|
|
2794
2794
|
d: "M10 16.75C9.44772 16.75 9 16.3023 9 15.75V12.25C9 11.6977 9.44772 11.25 10 11.25C10.5523 11.25 11 11.6977 11 12.25V15.75C11 16.3023 10.5523 16.75 10 16.75Z",
|
|
2795
2795
|
fill: "currentColor"
|
|
2796
2796
|
}, null, -1);
|
|
2797
|
-
const _hoisted_4$
|
|
2797
|
+
const _hoisted_4$a = /* @__PURE__ */ createElementVNode("path", {
|
|
2798
2798
|
"fill-rule": "evenodd",
|
|
2799
2799
|
"clip-rule": "evenodd",
|
|
2800
2800
|
d: "M20.5 6.25C21.0523 6.25 21.5 6.69772 21.5 7.25C21.5 7.80228 21.0523 8.25 20.5 8.25H19L19 19.75C19 20.8546 18.1046 21.75 17 21.75H7C5.89543 21.75 5 20.8546 5 19.75V8.25H3.5C2.94772 8.25 2.5 7.80228 2.5 7.25C2.5 6.69772 2.94771 6.25 3.5 6.25H20.5ZM7 19.75H17V8.25H7V19.75Z",
|
|
@@ -2804,7 +2804,7 @@ const _hoisted_5$7 = [
|
|
|
2804
2804
|
_hoisted_1$O,
|
|
2805
2805
|
_hoisted_2$D,
|
|
2806
2806
|
_hoisted_3$k,
|
|
2807
|
-
_hoisted_4$
|
|
2807
|
+
_hoisted_4$a
|
|
2808
2808
|
];
|
|
2809
2809
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
2810
2810
|
...{
|
|
@@ -3072,7 +3072,7 @@ const _hoisted_3$h = /* @__PURE__ */ createElementVNode("path", {
|
|
|
3072
3072
|
d: "M9.32892 16.1479C9.91715 15.3015 10.8942 14.75 12 14.75C13.1024 14.75 14.0769 15.2982 14.6657 16.1402C14.9031 16.4797 15.3707 16.5624 15.7101 16.325C16.0496 16.0877 16.1323 15.6201 15.895 15.2806C15.0375 14.0545 13.6128 13.25 12 13.25C10.3823 13.25 8.95375 14.0594 8.09718 15.2919C7.86079 15.632 7.94489 16.0994 8.28503 16.3358C8.62516 16.5722 9.09253 16.4881 9.32892 16.1479Z",
|
|
3073
3073
|
fill: "currentColor"
|
|
3074
3074
|
}, null, -1);
|
|
3075
|
-
const _hoisted_4$
|
|
3075
|
+
const _hoisted_4$9 = /* @__PURE__ */ createElementVNode("path", {
|
|
3076
3076
|
d: "M12 19C12.5523 19 13 18.5523 13 18C13 17.4477 12.5523 17 12 17C11.4477 17 11 17.4477 11 18C11 18.5523 11.4477 19 12 19Z",
|
|
3077
3077
|
fill: "currentColor"
|
|
3078
3078
|
}, null, -1);
|
|
@@ -3080,7 +3080,7 @@ const _hoisted_5$6 = [
|
|
|
3080
3080
|
_hoisted_1$H,
|
|
3081
3081
|
_hoisted_2$w,
|
|
3082
3082
|
_hoisted_3$h,
|
|
3083
|
-
_hoisted_4$
|
|
3083
|
+
_hoisted_4$9
|
|
3084
3084
|
];
|
|
3085
3085
|
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3086
3086
|
...{
|
|
@@ -3346,7 +3346,7 @@ const _hoisted_3$g = /* @__PURE__ */ createElementVNode("path", {
|
|
|
3346
3346
|
d: "M11.4794 13.8977V13.0114L13.5504 11.0938C13.7266 10.9233 13.8743 10.7699 13.9936 10.6335C14.1148 10.4972 14.2067 10.3636 14.2692 10.233C14.3317 10.1004 14.3629 9.95739 14.3629 9.80398C14.3629 9.63352 14.3241 9.48674 14.2465 9.36364C14.1688 9.23864 14.0627 9.14299 13.9283 9.0767C13.7938 9.00852 13.6413 8.97443 13.4709 8.97443C13.2929 8.97443 13.1376 9.01042 13.005 9.08239C12.8724 9.15436 12.7701 9.25758 12.6982 9.39205C12.6262 9.52652 12.5902 9.68655 12.5902 9.87216H11.4226C11.4226 9.49148 11.5088 9.16098 11.6811 8.88068C11.8535 8.60038 12.0949 8.38352 12.4055 8.23011C12.7162 8.0767 13.0741 8 13.4794 8C13.8961 8 14.2588 8.07386 14.5675 8.22159C14.8781 8.36742 15.1196 8.57008 15.2919 8.82955C15.4643 9.08902 15.5504 9.38636 15.5504 9.72159C15.5504 9.94129 15.5069 10.1581 15.4198 10.3722C15.3345 10.5862 15.1821 10.8239 14.9624 11.0852C14.7427 11.3447 14.433 11.6563 14.0334 12.0199L13.184 12.8523V12.892H15.6271V13.8977H11.4794Z",
|
|
3347
3347
|
fill: "currentColor"
|
|
3348
3348
|
}, null, -1);
|
|
3349
|
-
const _hoisted_4$
|
|
3349
|
+
const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("path", {
|
|
3350
3350
|
d: "M9.59659 13.8977V8.07955H8.44034L7 8.99148V10.0824L8.33239 9.24716H8.36648V13.8977H9.59659Z",
|
|
3351
3351
|
fill: "currentColor"
|
|
3352
3352
|
}, null, -1);
|
|
@@ -3354,7 +3354,7 @@ const _hoisted_5$5 = [
|
|
|
3354
3354
|
_hoisted_1$A,
|
|
3355
3355
|
_hoisted_2$p,
|
|
3356
3356
|
_hoisted_3$g,
|
|
3357
|
-
_hoisted_4$
|
|
3357
|
+
_hoisted_4$8
|
|
3358
3358
|
];
|
|
3359
3359
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
3360
3360
|
...{
|
|
@@ -3444,7 +3444,7 @@ const _hoisted_3$e = /* @__PURE__ */ createElementVNode("path", {
|
|
|
3444
3444
|
d: "M11.4697 22.0334L22.7834 10.7197L22.0763 10.0126L10.7626 21.3263L11.4697 22.0334Z",
|
|
3445
3445
|
fill: "currentColor"
|
|
3446
3446
|
}, null, -1);
|
|
3447
|
-
const _hoisted_4$
|
|
3447
|
+
const _hoisted_4$7 = [
|
|
3448
3448
|
_hoisted_1$y,
|
|
3449
3449
|
_hoisted_2$n,
|
|
3450
3450
|
_hoisted_3$e
|
|
@@ -3473,7 +3473,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
3473
3473
|
viewBox: "0 0 24 24",
|
|
3474
3474
|
fill: "none",
|
|
3475
3475
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3476
|
-
}, _hoisted_4$
|
|
3476
|
+
}, _hoisted_4$7, 4);
|
|
3477
3477
|
};
|
|
3478
3478
|
}
|
|
3479
3479
|
});
|
|
@@ -3493,7 +3493,7 @@ const _hoisted_3$d = /* @__PURE__ */ createElementVNode("path", {
|
|
|
3493
3493
|
d: "M22 10.5H2V9.5H22V10.5Z",
|
|
3494
3494
|
fill: "currentColor"
|
|
3495
3495
|
}, null, -1);
|
|
3496
|
-
const _hoisted_4$
|
|
3496
|
+
const _hoisted_4$6 = /* @__PURE__ */ createElementVNode("path", {
|
|
3497
3497
|
d: "M2 14.5H22V13.5H2V14.5Z",
|
|
3498
3498
|
fill: "currentColor"
|
|
3499
3499
|
}, null, -1);
|
|
@@ -3501,7 +3501,7 @@ const _hoisted_5$4 = [
|
|
|
3501
3501
|
_hoisted_1$x,
|
|
3502
3502
|
_hoisted_2$m,
|
|
3503
3503
|
_hoisted_3$d,
|
|
3504
|
-
_hoisted_4$
|
|
3504
|
+
_hoisted_4$6
|
|
3505
3505
|
];
|
|
3506
3506
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
3507
3507
|
...{
|
|
@@ -3650,7 +3650,7 @@ const _hoisted_3$c = /* @__PURE__ */ createElementVNode("path", {
|
|
|
3650
3650
|
d: "M9.5 17V11H10.5V17H9.5Z",
|
|
3651
3651
|
fill: "currentColor"
|
|
3652
3652
|
}, null, -1);
|
|
3653
|
-
const _hoisted_4$
|
|
3653
|
+
const _hoisted_4$5 = /* @__PURE__ */ createElementVNode("path", {
|
|
3654
3654
|
"fill-rule": "evenodd",
|
|
3655
3655
|
"clip-rule": "evenodd",
|
|
3656
3656
|
d: "M18.5 7.5H22V6.5H2V7.5H5.5V21.5H18.5V7.5ZM17.5 7.5H6.5V20.5H17.5V7.5Z",
|
|
@@ -3660,7 +3660,7 @@ const _hoisted_5$3 = [
|
|
|
3660
3660
|
_hoisted_1$t,
|
|
3661
3661
|
_hoisted_2$i,
|
|
3662
3662
|
_hoisted_3$c,
|
|
3663
|
-
_hoisted_4$
|
|
3663
|
+
_hoisted_4$5
|
|
3664
3664
|
];
|
|
3665
3665
|
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
3666
3666
|
...{
|
|
@@ -3907,7 +3907,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3907
3907
|
}
|
|
3908
3908
|
});
|
|
3909
3909
|
const _hoisted_1$m = /* @__PURE__ */ createStaticVNode('<path d="M10.886 2.06106C11.1496 2.03189 11.414 2.10864 11.6211 2.27442C11.8281 2.4402 11.9608 2.68144 11.99 2.94506C12.0192 3.20869 11.9424 3.47311 11.7766 3.68015C11.6109 3.88719 11.3696 4.01989 11.106 4.04906C9.07764 4.28141 7.21483 5.28037 5.899 6.8414C4.58316 8.40242 3.91385 10.4074 4.0281 12.4458C4.14236 14.4843 5.03153 16.4019 6.51357 17.8061C7.99561 19.2103 9.95838 19.9948 12 19.9991V21.9991C6.477 21.9991 2 17.5231 2 11.9991C2 6.89306 5.848 2.62106 10.886 2.06206V2.06106Z" fill="#161A1F"></path><path d="M16.322 4.03999C16.4737 3.82256 16.7056 3.67429 16.9667 3.62778C17.2277 3.58127 17.4965 3.64034 17.714 3.79199C19.0379 4.71254 20.1193 5.93994 20.8656 7.36931C21.612 8.79867 22.0012 10.3875 22 12C22 17.523 17.523 22 12 22V20C13.7035 20.0002 15.3626 19.4567 16.7358 18.4485C18.1089 17.4403 19.1244 16.0201 19.6343 14.3947C20.1442 12.7693 20.122 11.0235 19.5708 9.41164C19.0197 7.79975 17.9684 6.40588 16.57 5.43299C16.4622 5.35785 16.3703 5.2622 16.2994 5.15151C16.2286 5.04082 16.1803 4.91726 16.1573 4.78789C16.1343 4.65852 16.137 4.52588 16.1652 4.39755C16.1935 4.26922 16.2468 4.14772 16.322 4.03999Z" fill="url(#paint0_linear_16659_10771)"></path><defs><linearGradient id="paint0_linear_16659_10771" x1="12" y1="4" x2="12" y2="19.5" gradientUnits="userSpaceOnUse"><stop stop-color="#161A1F" stop-opacity="0"></stop><stop offset="1" stop-color="#161A1F"></stop></linearGradient></defs>', 3);
|
|
3910
|
-
const _hoisted_4$
|
|
3910
|
+
const _hoisted_4$4 = [
|
|
3911
3911
|
_hoisted_1$m
|
|
3912
3912
|
];
|
|
3913
3913
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
@@ -3935,7 +3935,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
3935
3935
|
viewBox: "0 0 24 24",
|
|
3936
3936
|
fill: "none",
|
|
3937
3937
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3938
|
-
}, _hoisted_4$
|
|
3938
|
+
}, _hoisted_4$4, 4);
|
|
3939
3939
|
};
|
|
3940
3940
|
}
|
|
3941
3941
|
});
|
|
@@ -6114,7 +6114,7 @@ const _hoisted_2$5 = {
|
|
|
6114
6114
|
class: "bge-input__prefix"
|
|
6115
6115
|
};
|
|
6116
6116
|
const _hoisted_3$4 = { class: "bge-input__prefix-inner" };
|
|
6117
|
-
const _hoisted_4$
|
|
6117
|
+
const _hoisted_4$3 = ["maxlength", "disabled", "readonly", "type", "placeholder"];
|
|
6118
6118
|
const _hoisted_5$2 = ["rows", "maxlength", "disabled", "readonly", "placeholder"];
|
|
6119
6119
|
const _hoisted_6$2 = { class: "bge-input__suffix-inner" };
|
|
6120
6120
|
const formItemContextKey$3 = "bge-form-item-context";
|
|
@@ -6217,7 +6217,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
6217
6217
|
onBlur: handleBlur,
|
|
6218
6218
|
onChange: handleChange,
|
|
6219
6219
|
onInput: handleInput
|
|
6220
|
-
}, null, 40, _hoisted_4$
|
|
6220
|
+
}, null, 40, _hoisted_4$3)), [
|
|
6221
6221
|
[vModelDynamic, input.value]
|
|
6222
6222
|
]) : withDirectives((openBlock(), createElementBlock("textarea", {
|
|
6223
6223
|
key: 2,
|
|
@@ -8754,7 +8754,7 @@ const _hoisted_3$2 = {
|
|
|
8754
8754
|
fill: "none",
|
|
8755
8755
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8756
8756
|
};
|
|
8757
|
-
const _hoisted_4$
|
|
8757
|
+
const _hoisted_4$2 = {
|
|
8758
8758
|
key: 0,
|
|
8759
8759
|
class: "border",
|
|
8760
8760
|
"fill-rule": "evenodd",
|
|
@@ -8887,7 +8887,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8887
8887
|
[vModelCheckbox, input.value]
|
|
8888
8888
|
]),
|
|
8889
8889
|
(openBlock(), createElementBlock("svg", _hoisted_3$2, [
|
|
8890
|
-
!input.value ? (openBlock(), createElementBlock("path", _hoisted_4$
|
|
8890
|
+
!input.value ? (openBlock(), createElementBlock("path", _hoisted_4$2)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
8891
8891
|
_hoisted_5$1,
|
|
8892
8892
|
_hoisted_6$1
|
|
8893
8893
|
], 64))
|
|
@@ -8913,7 +8913,7 @@ const _hoisted_3$1 = {
|
|
|
8913
8913
|
fill: "none",
|
|
8914
8914
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8915
8915
|
};
|
|
8916
|
-
const _hoisted_4 = {
|
|
8916
|
+
const _hoisted_4$1 = {
|
|
8917
8917
|
key: 0,
|
|
8918
8918
|
class: "border",
|
|
8919
8919
|
"fill-rule": "evenodd",
|
|
@@ -9025,7 +9025,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
9025
9025
|
[vModelCheckbox, input.value]
|
|
9026
9026
|
]),
|
|
9027
9027
|
(openBlock(), createElementBlock("svg", _hoisted_3$1, [
|
|
9028
|
-
!input.value ? (openBlock(), createElementBlock("path", _hoisted_4)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9028
|
+
!input.value ? (openBlock(), createElementBlock("path", _hoisted_4$1)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9029
9029
|
_hoisted_5,
|
|
9030
9030
|
_hoisted_6
|
|
9031
9031
|
], 64))
|
|
@@ -10695,9 +10695,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
10695
10695
|
};
|
|
10696
10696
|
}
|
|
10697
10697
|
});
|
|
10698
|
-
const _hoisted_1 = {
|
|
10699
|
-
|
|
10700
|
-
|
|
10698
|
+
const _hoisted_1 = {
|
|
10699
|
+
ref: "selectRef",
|
|
10700
|
+
class: "bge-select"
|
|
10701
|
+
};
|
|
10702
|
+
const _hoisted_2 = { class: "bge-select__inner" };
|
|
10703
|
+
const _hoisted_3 = { class: "bge-select__current" };
|
|
10704
|
+
const _hoisted_4 = {
|
|
10701
10705
|
key: 2,
|
|
10702
10706
|
class: "placeholder"
|
|
10703
10707
|
};
|
|
@@ -10731,6 +10735,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10731
10735
|
formItemContext && formItemContext.validate && formItemContext.validate().catch((err) => err);
|
|
10732
10736
|
tooltipRef.value.toggleTooltip();
|
|
10733
10737
|
}
|
|
10738
|
+
watch(() => {
|
|
10739
|
+
var _a;
|
|
10740
|
+
return (_a = tooltipRef.value) == null ? void 0 : _a.isOpened.value;
|
|
10741
|
+
}, (value) => {
|
|
10742
|
+
isFocus.value = value;
|
|
10743
|
+
});
|
|
10734
10744
|
const options = ref([]);
|
|
10735
10745
|
const optionsMap = computed(() => {
|
|
10736
10746
|
const result = {};
|
|
@@ -10750,11 +10760,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10750
10760
|
provide("bge-select-context", context);
|
|
10751
10761
|
const emits = __emit;
|
|
10752
10762
|
return (_ctx, _cache) => {
|
|
10753
|
-
return openBlock(), createElementBlock("div",
|
|
10754
|
-
ref: "selectRef",
|
|
10755
|
-
class: "bge-select",
|
|
10756
|
-
onClick: _cache[0] || (_cache[0] = ($event) => isFocus.value = !isFocus.value)
|
|
10757
|
-
}, [
|
|
10763
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
10758
10764
|
createVNode(_sfc_main$6, {
|
|
10759
10765
|
ref_key: "tooltipRef",
|
|
10760
10766
|
ref: tooltipRef,
|
|
@@ -10772,11 +10778,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10772
10778
|
createElementVNode("div", {
|
|
10773
10779
|
class: normalizeClass(["bge-select__wrapper", { focus: isFocus.value, disabled: __props.disabled }])
|
|
10774
10780
|
}, [
|
|
10775
|
-
createElementVNode("div",
|
|
10776
|
-
createElementVNode("div",
|
|
10781
|
+
createElementVNode("div", _hoisted_2, [
|
|
10782
|
+
createElementVNode("div", _hoisted_3, [
|
|
10777
10783
|
unref(labelSlot) ? renderSlot(_ctx.$slots, "label", { key: 0 }) : !!__props.modelValue ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
10778
10784
|
createTextVNode(toDisplayString(optionsMap.value[__props.modelValue]), 1)
|
|
10779
|
-
], 64)) : (openBlock(), createElementBlock("span",
|
|
10785
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.placeholder), 1))
|
|
10780
10786
|
]),
|
|
10781
10787
|
createVNode(_sfc_main$1M, { class: "arrow-down" })
|
|
10782
10788
|
])
|
package/package.json
CHANGED
package/src/select/index.vue
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<div
|
|
3
3
|
ref="selectRef"
|
|
4
4
|
class="bge-select"
|
|
5
|
-
@click="isFocus = !isFocus"
|
|
6
5
|
>
|
|
7
6
|
<ui-tooltip
|
|
8
7
|
ref="tooltipRef"
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
</template>
|
|
35
34
|
|
|
36
35
|
<script lang="ts" setup>
|
|
37
|
-
import { useSlots, ref, provide, reactive, computed, toRef, inject } from 'vue'
|
|
36
|
+
import { useSlots, ref, provide, reactive, computed, toRef, inject, watch } from 'vue'
|
|
38
37
|
import UiTooltip from '../tooltip/index.vue'
|
|
39
38
|
import MonoArrowDown from '../icons/MonoArrowDown.vue'
|
|
40
39
|
const isFocus = ref(false)
|
|
@@ -61,6 +60,10 @@ function changeValue(value: string|number) {
|
|
|
61
60
|
tooltipRef.value.toggleTooltip()
|
|
62
61
|
}
|
|
63
62
|
|
|
63
|
+
watch(() => (tooltipRef.value?.isOpened.value), (value: any) => {
|
|
64
|
+
isFocus.value = value
|
|
65
|
+
})
|
|
66
|
+
|
|
64
67
|
const options = ref<any>([])
|
|
65
68
|
const optionsMap: any = computed(() => {
|
|
66
69
|
const result: any = {}
|