@avakhula/ui 0.0.216 → 0.0.218
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 +15 -7
- package/dist/index.umd.cjs +21 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Sorting/Sorting.stories.js +10 -1
- package/src/components/Sorting/Sorting.vue +2 -1
- package/src/components/Sorting/sorting.scss +1 -0
- package/src/components/SplitButton/SplitButton.stories.js +1 -1
- package/src/components/SplitButton/SplitButton.vue +8 -1
- package/src/components/SplitButton/splitButton.scss +4 -0
package/dist/index.js
CHANGED
|
@@ -1268,6 +1268,12 @@ const Dl = {
|
|
|
1268
1268
|
methods: {
|
|
1269
1269
|
setActiveItem() {
|
|
1270
1270
|
this.mainButtonAttrs = this.$slots.default()[this.activeElemIdx].props, this.mainButtonAttrs && "href" in this.mainButtonAttrs ? this.isLink = !0 : this.isLink = !1, this.childList[this.activeElemIdx].classList.add("active"), this.content = this.childList[this.activeElemIdx].textContent;
|
|
1271
|
+
},
|
|
1272
|
+
onClickLink(t) {
|
|
1273
|
+
if (this.disabled) {
|
|
1274
|
+
t.preventDefault();
|
|
1275
|
+
return;
|
|
1276
|
+
}
|
|
1271
1277
|
}
|
|
1272
1278
|
},
|
|
1273
1279
|
computed: {
|
|
@@ -1289,9 +1295,11 @@ function ql(t, n, e, i, o, r) {
|
|
|
1289
1295
|
}, [
|
|
1290
1296
|
o.isLink ? (G(), ne("a", Et({
|
|
1291
1297
|
key: 1,
|
|
1292
|
-
disabled: e.disabled,
|
|
1293
|
-
|
|
1294
|
-
}, o.mainButtonAttrs
|
|
1298
|
+
class: ["split-button-main", { disabled: e.disabled }],
|
|
1299
|
+
disabled: e.disabled
|
|
1300
|
+
}, o.mainButtonAttrs, {
|
|
1301
|
+
onClick: n[0] || (n[0] = (...c) => r.onClickLink && r.onClickLink(...c))
|
|
1302
|
+
}), $e(o.content), 17, Rl)) : (G(), ne("button", Et({
|
|
1295
1303
|
key: 0,
|
|
1296
1304
|
disabled: e.disabled,
|
|
1297
1305
|
class: "split-button-main"
|
|
@@ -1953,12 +1961,12 @@ function gs(t, n, e, i, o, r) {
|
|
|
1953
1961
|
}, [
|
|
1954
1962
|
ae("div", null, [
|
|
1955
1963
|
De((G(), ne("button", {
|
|
1956
|
-
class: "sorting-label",
|
|
1964
|
+
class: ve(["sorting-label", { "sorting-label-active": o.isOpenToggleTip }]),
|
|
1957
1965
|
type: "button",
|
|
1958
|
-
onClick: n[0] || (n[0] = (h) => o.isOpenToggleTip = !
|
|
1966
|
+
onClick: n[0] || (n[0] = (h) => o.isOpenToggleTip = !o.isOpenToggleTip)
|
|
1959
1967
|
}, [
|
|
1960
1968
|
Ge($e(e.title), 1)
|
|
1961
|
-
])), [
|
|
1969
|
+
], 2)), [
|
|
1962
1970
|
[f, e.tooltipText, e.tooltipPosition]
|
|
1963
1971
|
]),
|
|
1964
1972
|
r.hasToggleTip ? (G(), ke(s, {
|
|
@@ -2009,7 +2017,7 @@ function gs(t, n, e, i, o, r) {
|
|
|
2009
2017
|
])
|
|
2010
2018
|
]);
|
|
2011
2019
|
}
|
|
2012
|
-
const l1 = /* @__PURE__ */ Ae(cs, [["render", gs], ["__scopeId", "data-v-
|
|
2020
|
+
const l1 = /* @__PURE__ */ Ae(cs, [["render", gs], ["__scopeId", "data-v-3039e16c"]]);
|
|
2013
2021
|
const ms = {
|
|
2014
2022
|
name: "IbBreadcrumbs",
|
|
2015
2023
|
props: {
|