@shtabapp/ui-kit 1.28.0 → 1.30.0
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/CHANGELOG.md +12 -0
- package/dist/SAvatar-BS9Lu2eL.js +249 -0
- package/dist/SAvatar-BXABKIV0.cjs +1 -0
- package/dist/{SAvatarGroup-Cc4sBQjA.cjs → SAvatarGroup-CMa9KhUZ.cjs} +1 -1
- package/dist/{SAvatarGroup-Buja-Gw9.js → SAvatarGroup-wkXHy_tK.js} +1 -1
- package/dist/SBadge-BDxQJh6c.js +83 -0
- package/dist/SBadge-d1GOPFP-.cjs +1 -0
- package/dist/SButton-C-z_q5CG.cjs +1 -0
- package/dist/SButton-DnU_XZ1C.js +223 -0
- package/dist/{SInput-Bno-hQ-b.cjs → SInput-DYS84eMS.cjs} +1 -1
- package/dist/{SInput-W2257ZAC.js → SInput-iNlzBX5m.js} +1 -1
- package/dist/{SList-D-J6fBrQ.cjs → SList-CU2Sy9Md.cjs} +1 -1
- package/dist/{SList-9BpZD3aT.js → SList-C_S9ej45.js} +2 -2
- package/dist/{SListItem-BAWj5_pk.js → SListItem-BD7wvCNe.js} +11 -11
- package/dist/{SListItem-4OTUkahk.cjs → SListItem-BDkldLVt.cjs} +1 -1
- package/dist/{SSelect-DADK22v2.cjs → SSelect-CTxBjl2J.cjs} +1 -1
- package/dist/{SSelect-DFkWwUc1.js → SSelect-MzZwivEY.js} +70 -70
- package/dist/{STabs-DLFs7km7.cjs → STabs-C6QQnCZd.cjs} +1 -1
- package/dist/{STabs-Cfv9NIJe.js → STabs-Ce7tHq8T.js} +10 -10
- package/dist/{STag-ZPesEPB4.js → STag-CYoj7L-p.js} +8 -8
- package/dist/{STag-DlVk53Cn.cjs → STag-DVrSWByQ.cjs} +1 -1
- package/dist/{STagGroup-C3-hAyGi.js → STagGroup-B2-_OG3R.js} +1 -1
- package/dist/{STagGroup-C4qL3p57.cjs → STagGroup-BMyuxfVX.cjs} +1 -1
- package/dist/components/SAvatar/SAvatar.types.d.ts +2 -0
- package/dist/components/SAvatar/SAvatar.types.d.ts.map +1 -1
- package/dist/components/SAvatar/SAvatar.vue.d.ts.map +1 -1
- package/dist/components/SAvatar/utils/useAvatarBadge.d.ts +13 -0
- package/dist/components/SAvatar/utils/useAvatarBadge.d.ts.map +1 -0
- package/dist/components/SBadge/SBadge.types.d.ts +15 -0
- package/dist/components/SBadge/SBadge.types.d.ts.map +1 -1
- package/dist/components/SBadge/SBadge.vue.d.ts.map +1 -1
- package/dist/components/SBadge/index.d.ts +1 -1
- package/dist/components/SBadge/index.d.ts.map +1 -1
- package/dist/components/SButton/SButton.types.d.ts +7 -0
- package/dist/components/SButton/SButton.types.d.ts.map +1 -1
- package/dist/components/SButton/SButton.vue.d.ts.map +1 -1
- package/dist/components/SButton/utils/useButtonBadge.d.ts +21 -0
- package/dist/components/SButton/utils/useButtonBadge.d.ts.map +1 -0
- package/dist/components/SList/utils/resolveListItemFields.d.ts +1 -1
- package/dist/components/SList/utils/resolveListItemFields.d.ts.map +1 -1
- package/dist/entries/avatar-group.cjs +1 -1
- package/dist/entries/avatar-group.js +1 -1
- package/dist/entries/avatar.cjs +1 -1
- package/dist/entries/avatar.js +1 -1
- package/dist/entries/badge.cjs +1 -1
- package/dist/entries/badge.js +1 -1
- package/dist/entries/button.cjs +1 -1
- package/dist/entries/button.js +1 -1
- package/dist/entries/input.cjs +1 -1
- package/dist/entries/input.js +1 -1
- package/dist/entries/list-item.cjs +1 -1
- package/dist/entries/list-item.js +1 -1
- package/dist/entries/list.cjs +1 -1
- package/dist/entries/list.js +1 -1
- package/dist/entries/select.cjs +1 -1
- package/dist/entries/select.js +1 -1
- package/dist/entries/tabs.cjs +1 -1
- package/dist/entries/tabs.js +1 -1
- package/dist/entries/tag-group.cjs +1 -1
- package/dist/entries/tag-group.js +2 -2
- package/dist/entries/tag.cjs +1 -1
- package/dist/entries/tag.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +24 -24
- package/dist/uikit-components.css +1 -1
- package/package.json +3 -3
- package/dist/SAvatar-CRq0LG8U.cjs +0 -1
- package/dist/SAvatar-kB6E-fX6.js +0 -187
- package/dist/SBadge-BQFJFZtw.cjs +0 -1
- package/dist/SBadge-CcCknHTw.js +0 -43
- package/dist/SButton-CHxE2l-X.cjs +0 -1
- package/dist/SButton-D5yFE3W2.js +0 -156
- package/dist/components/SAvatar/SAvatarBadge.vue.d.ts +0 -5
- package/dist/components/SAvatar/SAvatarBadge.vue.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./SButton.types-CpdHQtyx.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { t as r } from "./SButton-DnU_XZ1C.js";
|
|
3
|
+
import { i, n as a, o, r as s } from "./useSelectionGroup-cKj38lEN.js";
|
|
4
4
|
import { i as c, n as l, r as u } from "./STab-DXGKWtFI.js";
|
|
5
5
|
import { computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeModels as _, nextTick as v, normalizeClass as y, normalizeStyle as b, openBlock as x, provide as S, ref as C, renderSlot as w, toValue as T, unref as E, useModel as D, useTemplateRef as O, watch as k } from "vue";
|
|
6
6
|
import { useResizeObserver as A, useScroll as j } from "@vueuse/core";
|
|
@@ -89,18 +89,18 @@ var M = ".s-ui-tab[aria-selected=\"true\"]", N = ({ trackEl: e, selectedValue: t
|
|
|
89
89
|
let _ = D(u, "modelValue"), v = g, C = O("tabsBodyRef"), T = O("tabsTrackRef"), { arrivedState: k } = j(C, {
|
|
90
90
|
throttle: 100,
|
|
91
91
|
offset: { right: 1 }
|
|
92
|
-
}), A =
|
|
92
|
+
}), A = o({
|
|
93
93
|
modelValue: () => _.value,
|
|
94
94
|
onUpdateModelValue: (e) => {
|
|
95
|
-
|
|
95
|
+
i(e) && (_.value = e);
|
|
96
96
|
},
|
|
97
|
-
mode:
|
|
97
|
+
mode: a.SINGLE,
|
|
98
98
|
mandatory: () => u.mandatory,
|
|
99
|
-
orientation:
|
|
99
|
+
orientation: s.HORIZONTAL,
|
|
100
100
|
loop: () => u.loop
|
|
101
101
|
});
|
|
102
102
|
S(c, {
|
|
103
|
-
mode: () =>
|
|
103
|
+
mode: () => a.SINGLE,
|
|
104
104
|
isSelected: A.isSelected,
|
|
105
105
|
selectItem: A.toggle,
|
|
106
106
|
registerItem: A.registerItem,
|
|
@@ -122,7 +122,7 @@ var M = ".s-ui-tab[aria-selected=\"true\"]", N = ({ trackEl: e, selectedValue: t
|
|
|
122
122
|
]), B = () => {
|
|
123
123
|
u.disabled || v("add");
|
|
124
124
|
};
|
|
125
|
-
return (
|
|
125
|
+
return (i, a) => (x(), p("div", {
|
|
126
126
|
class: y(["s-ui-tabs", z.value]),
|
|
127
127
|
role: "tablist",
|
|
128
128
|
"aria-orientation": "horizontal",
|
|
@@ -140,11 +140,11 @@ var M = ".s-ui-tab[aria-selected=\"true\"]", N = ({ trackEl: e, selectedValue: t
|
|
|
140
140
|
class: y(["s-ui-tabs__indicator", { "s-ui-tabs__indicator--billing": E(L) }]),
|
|
141
141
|
style: b(E(I)),
|
|
142
142
|
"aria-hidden": "true"
|
|
143
|
-
}, null, 6)) : f("", !0), w(
|
|
143
|
+
}, null, 6)) : f("", !0), w(i.$slots, "default")], 512)], 512), u.addable ? (x(), p("span", {
|
|
144
144
|
key: 0,
|
|
145
145
|
class: y(["s-ui-tabs__fade", { "s-ui-tabs__fade--visible": R.value }]),
|
|
146
146
|
"aria-hidden": "true"
|
|
147
|
-
}, null, 2)) : f("", !0)]), u.addable ? w(
|
|
147
|
+
}, null, 2)) : f("", !0)]), u.addable ? w(i.$slots, "add", { key: 0 }, () => [h(E(r), {
|
|
148
148
|
class: "s-ui-tabs__add",
|
|
149
149
|
icon: "plus",
|
|
150
150
|
appearance: E(n).BARE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./SButton.types-CpdHQtyx.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as o } from "./
|
|
2
|
+
import { t as r } from "./SButton-DnU_XZ1C.js";
|
|
3
|
+
import { n as i, r as a, t as o } from "./useLink-Com5VhOk.js";
|
|
4
4
|
import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeModels as m, mergeProps as h, openBlock as g, resolveDynamicComponent as _, toDisplayString as v, unref as y, useAttrs as b, useModel as x, withCtx as S, withModifiers as C } from "vue";
|
|
5
5
|
//#region src/components/STag/STag.types.ts
|
|
6
6
|
var w = /* @__PURE__ */ function(e) {
|
|
@@ -47,15 +47,15 @@ var w = /* @__PURE__ */ function(e) {
|
|
|
47
47
|
}),
|
|
48
48
|
emits: /*@__PURE__*/ m(["close"], ["update:modelValue"]),
|
|
49
49
|
setup(p, { emit: m }) {
|
|
50
|
-
let w = b(), T = x(p, "modelValue"), M = m, N =
|
|
50
|
+
let w = b(), T = x(p, "modelValue"), M = m, N = o(() => p.link, () => p.exact, () => p.replace), P = N.linkPresentation, F = s(() => {
|
|
51
51
|
let e = P.value;
|
|
52
52
|
return e.mode === "none" ? "span" : e.rootTag;
|
|
53
|
-
}), I = s(() =>
|
|
53
|
+
}), I = s(() => i(P.value, { replace: p.replace })), L = s(() => ({
|
|
54
54
|
...I.value,
|
|
55
55
|
...w
|
|
56
56
|
})), R = s(() => N.isRouterLink.value ? N.isActive.value : p.selected), z = s(() => p.closable && !p.short), B = s(() => {
|
|
57
57
|
if (p.disabled) return -1;
|
|
58
|
-
if (!
|
|
58
|
+
if (!a(p.link)) return z.value ? 0 : -1;
|
|
59
59
|
}), V = s(() => [
|
|
60
60
|
D(p.color),
|
|
61
61
|
`s-ui-tag--size-${p.size}`,
|
|
@@ -63,7 +63,7 @@ var w = /* @__PURE__ */ function(e) {
|
|
|
63
63
|
"s-ui-tag--short": p.short,
|
|
64
64
|
"s-ui-tag--disabled": p.disabled,
|
|
65
65
|
"s-ui-tag--selected": R.value,
|
|
66
|
-
"s-ui-tag--link":
|
|
66
|
+
"s-ui-tag--link": a(p.link)
|
|
67
67
|
}
|
|
68
68
|
]), H = s(() => {
|
|
69
69
|
if (E(p.color)) return O(p.color);
|
|
@@ -85,13 +85,13 @@ var w = /* @__PURE__ */ function(e) {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
return (
|
|
88
|
+
return (i, a) => (g(), c(_(F.value), h({
|
|
89
89
|
class: ["s-ui-tag", V.value],
|
|
90
90
|
style: H.value,
|
|
91
91
|
tabindex: B.value,
|
|
92
92
|
"aria-disabled": p.disabled ? !0 : void 0
|
|
93
93
|
}, L.value, { onKeydown: q }), {
|
|
94
|
-
default: S(() => [d("span", k, v(U.value), 1), z.value ? (g(), u("span", A, [d("span", j, [f(y(
|
|
94
|
+
default: S(() => [d("span", k, v(U.value), 1), z.value ? (g(), u("span", A, [d("span", j, [f(y(r), {
|
|
95
95
|
appearance: y(n).BARE,
|
|
96
96
|
variant: y(t).NEUTRAL,
|
|
97
97
|
size: y(e).SMALL,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./SButton.types-UKroD-ev.cjs"),t=require("./
|
|
1
|
+
const e=require("./SButton.types-UKroD-ev.cjs"),t=require("./SButton-C-z_q5CG.cjs"),n=require("./useLink-1LLWpdDZ.cjs");let r=require("vue");var i=function(e){return e.RED_ORANGE=`red-orange`,e.ORANGE=`orange`,e.YELLOW=`yellow`,e.GREEN=`green`,e.TEAL=`teal`,e.CYAN=`cyan`,e.BLUE=`blue`,e.INDIGO=`indigo`,e.VIOLET=`violet`,e.MAGENTA=`magenta`,e.PINK=`pink`,e.GRAY=`gray`,e.RED=`red`,e.WHITE_BORDER=`white-border`,e.BILLING=`billing`,e.BILLING_LIGHT=`billing-light`,e}({}),a=function(e){return e.SMALL=`small`,e.MEDIUM=`medium`,e}({}),o=e=>e.startsWith(`#`)||e.startsWith(`var(--`),s=e=>o(e)?`s-ui-tag--color-custom`:`s-ui-tag--color-${e}`,c=e=>({"--s-ui-tag-bg":e}),l={class:`s-ui-tag__content s-ui-typography-body-12-regular`},u={key:0,class:`s-ui-tag__actions`},d={class:`s-ui-tag__action-close`},f=(0,r.defineComponent)({inheritAttrs:!1,__name:`STag`,props:(0,r.mergeModels)({color:{default:()=>i.RED_ORANGE},size:{default:()=>a.MEDIUM},short:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},link:{},exact:{type:Boolean,default:!1},replace:{type:Boolean,default:!1}},{modelValue:{default:``},modelModifiers:{}}),emits:(0,r.mergeModels)([`close`],[`update:modelValue`]),setup(i,{emit:a}){let f=(0,r.useAttrs)(),p=(0,r.useModel)(i,`modelValue`),m=a,h=n.t(()=>i.link,()=>i.exact,()=>i.replace),g=h.linkPresentation,_=(0,r.computed)(()=>{let e=g.value;return e.mode===`none`?`span`:e.rootTag}),v=(0,r.computed)(()=>n.n(g.value,{replace:i.replace})),y=(0,r.computed)(()=>({...v.value,...f})),b=(0,r.computed)(()=>h.isRouterLink.value?h.isActive.value:i.selected),x=(0,r.computed)(()=>i.closable&&!i.short),S=(0,r.computed)(()=>{if(i.disabled)return-1;if(!n.r(i.link))return x.value?0:-1}),C=(0,r.computed)(()=>[s(i.color),`s-ui-tag--size-${i.size}`,{"s-ui-tag--short":i.short,"s-ui-tag--disabled":i.disabled,"s-ui-tag--selected":b.value,"s-ui-tag--link":n.r(i.link)}]),w=(0,r.computed)(()=>{if(o(i.color))return c(i.color)}),T=(0,r.computed)(()=>i.short?p.value.slice(0,1):p.value),E=()=>{m(`close`)},D=[`Enter`,` `,`Spacebar`],O=[`Delete`,`Backspace`],k=e=>{if(!i.disabled){if(h.isRouterLink.value&&D.includes(e.key)){e.preventDefault(),h.navigate();return}if(e.target===e.currentTarget&&O.includes(e.key)){if(!x.value)return;e.preventDefault(),m(`close`)}}};return(n,a)=>((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(_.value),(0,r.mergeProps)({class:[`s-ui-tag`,C.value],style:w.value,tabindex:S.value,"aria-disabled":i.disabled?!0:void 0},y.value,{onKeydown:k}),{default:(0,r.withCtx)(()=>[(0,r.createElementVNode)(`span`,l,(0,r.toDisplayString)(T.value),1),x.value?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,u,[(0,r.createElementVNode)(`span`,d,[(0,r.createVNode)((0,r.unref)(t.t),{appearance:(0,r.unref)(e.t).BARE,variant:(0,r.unref)(e.r).NEUTRAL,size:(0,r.unref)(e.n).SMALL,disabled:i.disabled,tabindex:-1,icon:`closeMini`,onClick:(0,r.withModifiers)(E,[`stop`])},null,8,[`appearance`,`variant`,`size`,`disabled`])])])):(0,r.createCommentVNode)(``,!0)]),_:1},16,[`class`,`style`,`tabindex`,`aria-disabled`]))}});Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./SOverflowGroup-CVSon6Eg.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "./STag-
|
|
2
|
+
import { n as t, r as n, t as r } from "./STag-CYoj7L-p.js";
|
|
3
3
|
import { cloneVNode as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, renderSlot as l, unref as u, withCtx as d } from "vue";
|
|
4
4
|
//#region src/components/STagGroup/utils/applyTagGroupItemProps.ts
|
|
5
5
|
var f = (e, { size: t, short: n }) => e.type === r ? i(e, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./SOverflowGroup-DyVUzkNu.cjs"),t=require("./STag-
|
|
1
|
+
const e=require("./SOverflowGroup-DyVUzkNu.cjs"),t=require("./STag-DVrSWByQ.cjs");let n=require("vue");var r=(e,{size:r,short:i})=>e.type===t.t?(0,n.cloneVNode)(e,{size:r,short:i,...i?{closable:!1}:{}}):e,i=(0,n.defineComponent)({__name:`STagGroup`,props:{maxVisible:{},size:{default:()=>t.r.SMALL},short:{type:Boolean,default:!0}},setup(i){let a=e=>r(e,{size:i.size,short:i.short});return(r,o)=>((0,n.openBlock)(),(0,n.createBlock)(e.t,{class:`s-ui-tag-group`,role:`group`,"cluster-class":`s-ui-tag-group__cluster`,"max-visible":i.maxVisible,"map-vnode":a},{overflow:(0,n.withCtx)(({overflowLabel:e})=>[(0,n.createVNode)((0,n.unref)(t.t),{color:(0,n.unref)(t.n).WHITE_BORDER,size:i.size,short:!1,"model-value":e},null,8,[`color`,`size`,`model-value`])]),default:(0,n.withCtx)(()=>[(0,n.renderSlot)(r.$slots,`default`)]),_:3},8,[`max-visible`]))}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
|
@@ -61,6 +61,8 @@ export interface ISAvatarProps {
|
|
|
61
61
|
bordered?: boolean;
|
|
62
62
|
/** Фоновый цвет или `#hex` для инициалов. */
|
|
63
63
|
color?: TSAvatarColorValue;
|
|
64
|
+
/** Счётчик в правом верхнем углу. */
|
|
65
|
+
counter?: number;
|
|
64
66
|
/** Приглушает аватар. */
|
|
65
67
|
disabled?: boolean;
|
|
66
68
|
/** Иконка из набора `SIcon`, если нет изображения. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SAvatar.types.d.ts","sourceRoot":"","sources":["../../../src/components/SAvatar/SAvatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,oBAAY,YAAY;IACtB,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;CACf;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,oBAAY,sBAAsB;IAChC,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,oBAAY,iBAAiB;IAC3B,KAAK,MAAM;IACX,MAAM,MAAM;IACZ,KAAK,MAAM;CACZ;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,MAAM,EAAE,CAAA;AAE3C,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,gBAAgB,CAAA;AAEjE,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,EAAE,iBAAiB,CAAA;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,2CAA2C;IAC3C,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAC1B,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,iCAAiC;IACjC,cAAc,CAAC,EAAE,sBAAsB,CAAA;IACvC,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sBAAsB;IACtB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,uBAAuB;IACvB,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SAvatar.types.d.ts","sourceRoot":"","sources":["../../../src/components/SAvatar/SAvatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,oBAAY,YAAY;IACtB,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;CACf;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,oBAAY,sBAAsB;IAChC,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,oBAAY,iBAAiB;IAC3B,KAAK,MAAM;IACX,MAAM,MAAM;IACZ,KAAK,MAAM;CACZ;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,MAAM,EAAE,CAAA;AAE3C,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,gBAAgB,CAAA;AAEjE,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,EAAE,iBAAiB,CAAA;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,2CAA2C;IAC3C,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAC1B,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,iCAAiC;IACjC,cAAc,CAAC,EAAE,sBAAsB,CAAA;IACvC,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sBAAsB;IACtB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,uBAAuB;IACvB,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SAvatar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SAvatar/SAvatar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SAvatar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SAvatar/SAvatar.vue"],"names":[],"mappings":"AAqPA,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAA;AAsSxB,QAAA,MAAM,YAAY,sSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { type ISBadgeProps } from '../../SBadge';
|
|
3
|
+
import { ESAvatarBadge, ESAvatarSize } from '../SAvatar.types';
|
|
4
|
+
interface IUseAvatarBadgeOptions {
|
|
5
|
+
badge: MaybeRefOrGetter<ESAvatarBadge | undefined>;
|
|
6
|
+
counter: MaybeRefOrGetter<number | undefined>;
|
|
7
|
+
size: MaybeRefOrGetter<ESAvatarSize>;
|
|
8
|
+
}
|
|
9
|
+
export declare const useAvatarBadge: ({ badge, counter, size }: IUseAvatarBadgeOptions) => {
|
|
10
|
+
avatarBadgeItemsProps: import("vue").ComputedRef<ISBadgeProps[]>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=useAvatarBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAvatarBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/SAvatar/utils/useAvatarBadge.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE9D,OAAO,EAA+C,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAE7F,OAAO,EAAE,aAAa,EAAqB,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEjF,UAAU,sBAAsB;IAC9B,KAAK,EAAE,gBAAgB,CAAC,aAAa,GAAG,SAAS,CAAC,CAAA;IAClD,OAAO,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,IAAI,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAA;CACrC;AA+GD,eAAO,MAAM,cAAc,GAAI,0BAA0B,sBAAsB;;CAyE9E,CAAA"}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import type { SBadge } from '.';
|
|
2
|
+
import type { TSIconName } from '@shtabapp/ui-kit-primitives';
|
|
2
3
|
export declare enum ESBadgeColor {
|
|
3
4
|
DANGER = "danger",
|
|
4
5
|
MAIN = "main",
|
|
6
|
+
SUCCESS = "success",
|
|
7
|
+
WARNING = "warning",
|
|
5
8
|
GRAY = "gray",
|
|
6
9
|
WHITE = "white",
|
|
10
|
+
BILLING = "billing",
|
|
7
11
|
DISABLED = "disabled"
|
|
8
12
|
}
|
|
13
|
+
export declare enum ESBadgeSize {
|
|
14
|
+
SMALL = "s",
|
|
15
|
+
MEDIUM = "m",
|
|
16
|
+
LARGE = "l"
|
|
17
|
+
}
|
|
9
18
|
export declare enum ESBadgePlacement {
|
|
10
19
|
TOP_END = "top-end",
|
|
11
20
|
TOP_START = "top-start",
|
|
@@ -13,6 +22,8 @@ export declare enum ESBadgePlacement {
|
|
|
13
22
|
BOTTOM_START = "bottom-start"
|
|
14
23
|
}
|
|
15
24
|
export interface ISBadgeProps {
|
|
25
|
+
/** Абсолютное позиционирование внутри relative-предка без default slot. */
|
|
26
|
+
anchored?: boolean;
|
|
16
27
|
/** Цветовая роль бейджа. */
|
|
17
28
|
color?: ESBadgeColor;
|
|
18
29
|
/** Число в бейдже; при `max` показывается «N+». */
|
|
@@ -21,6 +32,10 @@ export interface ISBadgeProps {
|
|
|
21
32
|
max?: number;
|
|
22
33
|
/** Текстовая подпись вместо числа. */
|
|
23
34
|
label?: string;
|
|
35
|
+
/** Иконка внутри круглого бейджа. Если передана, счётчик не отображается. */
|
|
36
|
+
icon?: TSIconName;
|
|
37
|
+
/** Размер бейджа; для счётчика влияет на минимальную высоту при явной передаче. */
|
|
38
|
+
size?: ESBadgeSize;
|
|
24
39
|
/** Угол привязки к обёртке. */
|
|
25
40
|
placement?: ESBadgePlacement;
|
|
26
41
|
/** Смещение по горизонтали от угла. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SBadge.types.d.ts","sourceRoot":"","sources":["../../../src/components/SBadge/SBadge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,CAAA;
|
|
1
|
+
{"version":3,"file":"SBadge.types.d.ts","sourceRoot":"","sources":["../../../src/components/SBadge/SBadge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,CAAA;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,oBAAY,WAAW;IACrB,KAAK,MAAM;IACX,MAAM,MAAM;IACZ,KAAK,MAAM;CACZ;AAED,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6EAA6E;IAC7E,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,mFAAmF;IACnF,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SBadge/SBadge.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SBadge/SBadge.vue"],"names":[],"mappings":"AAyIA,OAAO,EAA+C,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AA8M/F,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,oSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as SBadge } from './SBadge.vue';
|
|
2
2
|
export type { ISBadgeProps, TSBadgeInstance } from './SBadge.types';
|
|
3
|
-
export { ESBadgeColor, ESBadgePlacement } from './SBadge.types';
|
|
3
|
+
export { ESBadgeColor, ESBadgePlacement, ESBadgeSize } from './SBadge.types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SBadge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SBadge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAChD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TSIconName } from '@shtabapp/ui-kit-primitives';
|
|
2
2
|
import type { SButton } from '.';
|
|
3
|
+
import type { ESBadgeColor } from '../SBadge';
|
|
3
4
|
import type { RouteLocationRaw } from 'vue-router';
|
|
4
5
|
export declare enum EButtonAppearance {
|
|
5
6
|
MAJOR = "major",
|
|
@@ -27,6 +28,10 @@ export interface ISButtonProps {
|
|
|
27
28
|
* @default major
|
|
28
29
|
*/
|
|
29
30
|
appearance?: EButtonAppearance;
|
|
31
|
+
/** Цветовая роль бейджа-счётчика или индикатора. */
|
|
32
|
+
badgeColor?: ESBadgeColor;
|
|
33
|
+
/** Число во внешнем бейдже в правом верхнем углу. */
|
|
34
|
+
counter?: number;
|
|
30
35
|
/** Отключает взаимодействие и приглушает контрол. */
|
|
31
36
|
disabled?: boolean;
|
|
32
37
|
/** Одна иконка по центру; при задании скрывает содержимое слота подписи. */
|
|
@@ -35,6 +40,8 @@ export interface ISButtonProps {
|
|
|
35
40
|
iconLeft?: TSIconName;
|
|
36
41
|
/** Иконка после подписи. */
|
|
37
42
|
iconRight?: TSIconName;
|
|
43
|
+
/** Показывает внутренний индикатор в правом верхнем углу, если не передан `counter`. */
|
|
44
|
+
indicator?: boolean;
|
|
38
45
|
/** Показывает спиннер поверх и блокирует клики. */
|
|
39
46
|
loading?: boolean;
|
|
40
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/SButton/SButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAA;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AAED,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,mDAAmD;IACnD,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAA;IAChC,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/SButton/SButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAA;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AAED,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAA;AAE3C,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,oDAAoD;IACpD,UAAU,CAAC,EAAE,YAAY,CAAA;IACzB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,wFAAwF;IACxF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,mDAAmD;IACnD,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAA;IAChC,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SButton/SButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SButton/SButton.vue"],"names":[],"mappings":"AAqSA,OAAO,EAAkD,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAuXpG,QAAA,IAAuB,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU,sSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { ESBadgeColor, ESBadgePlacement, ESBadgeSize } from '../../SBadge';
|
|
3
|
+
import { EButtonSize } from '../SButton.types';
|
|
4
|
+
interface IUseButtonBadgeOptions {
|
|
5
|
+
badgeColor: MaybeRefOrGetter<ESBadgeColor | undefined>;
|
|
6
|
+
counter: MaybeRefOrGetter<number | undefined>;
|
|
7
|
+
indicator: MaybeRefOrGetter<boolean | undefined>;
|
|
8
|
+
size: MaybeRefOrGetter<EButtonSize>;
|
|
9
|
+
}
|
|
10
|
+
export declare const useButtonBadge: ({ badgeColor, counter, indicator, size, }: IUseButtonBadgeOptions) => {
|
|
11
|
+
buttonBadgeProps: import("vue").ComputedRef<{
|
|
12
|
+
anchored: true;
|
|
13
|
+
color: ESBadgeColor;
|
|
14
|
+
offsetX: number;
|
|
15
|
+
offsetY: number;
|
|
16
|
+
placement: ESBadgePlacement.TOP_END;
|
|
17
|
+
size: ESBadgeSize;
|
|
18
|
+
} | undefined>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=useButtonBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useButtonBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/SButton/utils/useButtonBadge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE9D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAqB,MAAM,cAAc,CAAA;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,UAAU,sBAAsB;IAC9B,UAAU,EAAE,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC,CAAA;IACtD,OAAO,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,SAAS,EAAE,gBAAgB,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IAChD,IAAI,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;CACpC;AA0ED,eAAO,MAAM,cAAc,GAAI,2CAK5B,sBAAsB;;;;;;;;;CAkBxB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const resolveListItemStringField: (item: Record<string, unknown>, fieldKey: string) => string | undefined;
|
|
2
2
|
export declare const resolveListItemBooleanField: (item: Record<string, unknown>, fieldKey: string) => boolean;
|
|
3
|
-
export declare const resolveListItemIconField: (item: Record<string, unknown>, fieldKey: string) => "
|
|
3
|
+
export declare const resolveListItemIconField: (item: Record<string, unknown>, fieldKey: string) => "aboveTask" | "activity" | "activityNewYear" | "aiBlob" | "alertCircle" | "alignCenter" | "alignLeft" | "alignRight" | "allInOne" | "apple" | "applications" | "archive" | "archiveArrowUp" | "arrowCollapse" | "arrowDown" | "arrowExpand" | "arrowLeft" | "arrowLeftRight" | "arrowRight" | "arrowRightUpSquare" | "arrowSwapHorisontal" | "arrowSwapVertical" | "arrowUp" | "attach" | "back" | "ball" | "bell" | "bellCheck" | "bellOff" | "bellOffFill" | "bill" | "board" | "book" | "bookOpen" | "bow" | "box" | "brain" | "brainMagic" | "burger" | "butler" | "button" | "calculator" | "calendar" | "calendarCheck" | "calendarEdit" | "calendarMove" | "calendarOff" | "camera" | "car" | "card" | "cardMagic" | "cardPlus" | "case" | "casePlus" | "cash" | "catalog" | "chain" | "chainBreak" | "changePoll" | "chartLine" | "chartPie" | "check" | "checkBold" | "checkCircle" | "checklist" | "checkMini" | "checkMultiple" | "checkOff" | "checkSquare" | "checkSquareMultiple" | "chevronDown" | "chevronLeft" | "chevronMiniDown" | "chevronMiniExpand" | "chevronMiniLeft" | "chevronMiniNarrow" | "chevronMiniRight" | "chevronMiniUp" | "chevronRight" | "chevronUp" | "circleMiniFill" | "close" | "closeCircle" | "closeMini" | "closeSquare" | "cloudCheck" | "cloudOff" | "coins" | "column" | "comment" | "commentMultiple" | "commentRoundFill" | "commentWrite" | "community" | "contract" | "control" | "controlFill" | "copy" | "cover" | "creator" | "currencyDollar" | "currencyEur" | "currencyRub" | "dangerCircleFill" | "database" | "description" | "descriptionCheck" | "descriptionMagic" | "directInward" | "directOutward" | "dislike" | "doc" | "dog" | "download" | "dragAndDrop" | "dropdown" | "edit" | "editMagic" | "editProject" | "email" | "emojiconHappy" | "emoticonLaugh" | "enter" | "envelope" | "eraser" | "event" | "expert" | "eye" | "eyeOff" | "feed" | "fieldPlus" | "filter" | "fireFill" | "flag" | "folder" | "folderOpen" | "fork" | "formatBoldFill" | "formatCallout" | "formatCode" | "formatColorFill" | "formatColumn" | "formatEmbed" | "formatFormula" | "formatFullscreen" | "formatH1" | "formatH2" | "formatH3" | "formatHidden" | "formatItalic" | "formatListBulleted" | "formatListNumbered" | "formatListQuote" | "formatParagraph" | "formatStrikethrough" | "formatText" | "formatTextClean" | "formatUnderline" | "forMe" | "fullscreen" | "gant" | "gift" | "goal" | "goalNewYear" | "graph" | "group" | "hand" | "hashtag" | "heart" | "heartFill" | "history" | "home" | "homeFill" | "homeNewYear" | "hourglassFill50" | "inbox" | "inboxFill" | "infinity" | "infoCircle" | "integrations" | "key" | "lamp" | "lightning" | "lightningFill" | "like" | "link" | "list" | "load" | "lock" | "lockOpen" | "magnifier" | "map" | "mark" | "marker" | "matrix" | "menu" | "menuSidebarLeft" | "menuSidebarRight" | "merge" | "microphone" | "microphoneFill" | "milestone" | "milestoneCheck" | "minus" | "minusMini" | "modal" | "moon" | "more" | "moveTo" | "music" | "noteDownload" | "page" | "palette" | "pauseFill" | "payCardFill" | "payCardPlusFill" | "pdf" | "percent" | "person" | "personal" | "personArrowDown" | "personMultiple" | "personPlus" | "personTie" | "phone" | "pic" | "picMultiple" | "picUnderlined" | "pin" | "pinFill" | "pinOff" | "pipette" | "placeholder" | "play" | "playFill" | "plus" | "poll" | "presentation" | "price" | "priority" | "progress" | "progressCircle0" | "progressCircle100" | "progressCircle25" | "progressCircle50" | "progressCircle75" | "progressCircleDotted" | "project" | "questionCircle" | "questionCircleFill" | "quote" | "reactions" | "refresh" | "repeat" | "reply" | "reports" | "restore" | "return" | "review" | "robotHappy" | "robotSad" | "rocket" | "route" | "row" | "sample" | "save" | "scheduled" | "scrum" | "search" | "searchPlus" | "sendFill" | "settingNewYear" | "settings" | "share" | "shevronDobbleLeft" | "shevronDobbleMiniLeft" | "shevronDobbleMiniRight" | "shevronDobbleRight" | "shtab" | "sidebar" | "snowmenNewYear" | "sortAlphabeticalAscending" | "sortAlphabeticalDescending" | "sortAscending" | "sortDescending" | "split" | "splitHorisontal" | "splitVertical" | "squareMiniFill" | "stack" | "stageFill" | "star" | "starFill" | "statusFill" | "stopFill" | "stopwatch" | "subitem" | "subtask" | "successCircleFill" | "summary" | "sun" | "sunglasses" | "sunset" | "symbolEqual" | "symbolGreaterThan" | "symbolGreaterThanOrEqual" | "symbolLessThan" | "symbolLessThanOrEqual" | "symbols" | "tableCellsFill" | "tableColumnPlusLeft" | "tableColumnPlusRight" | "tableHead" | "tableHeadFill" | "tableMultiple" | "tablePlus" | "tableRowPlusBottom" | "tableSide" | "tableSideFill" | "taboo" | "tabooBold" | "tag" | "tagFill" | "tariff" | "team" | "telegramFill" | "telescope" | "text" | "tile" | "time" | "timeline" | "timer" | "transcription" | "transition" | "trash" | "tune" | "unpin" | "value07x" | "value15x" | "value1x" | "value2x" | "video" | "vkFill" | "voice" | "wallet" | "web" | "weight" | "wifiOff" | "youTubeFill" | "zip" | undefined;
|
|
4
4
|
//# sourceMappingURL=resolveListItemFields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveListItemFields.d.ts","sourceRoot":"","sources":["../../../../src/components/SList/utils/resolveListItemFields.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,MAAM,uBAQzF,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,MAAM,YAQ1F,CAAA;AAMD,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,MAAM,
|
|
1
|
+
{"version":3,"file":"resolveListItemFields.d.ts","sourceRoot":"","sources":["../../../../src/components/SList/utils/resolveListItemFields.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,MAAM,uBAQzF,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,MAAM,YAQ1F,CAAA;AAMD,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,MAAM,g3JAQvF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatarGroup-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatarGroup-CMa9KhUZ.cjs");exports.ESAvatarGroupSize=e.n,exports.SAvatarGroup=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SAvatarGroup-
|
|
1
|
+
import { n as e, t } from "../SAvatarGroup-wkXHy_tK.js";
|
|
2
2
|
export { e as ESAvatarGroupSize, t as SAvatarGroup };
|
package/dist/entries/avatar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatar-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SAvatar-BXABKIV0.cjs");exports.ESAvatarBadge=e.n,exports.ESAvatarColor=e.r,exports.ESAvatarIconBackground=e.i,exports.ESAvatarShape=e.a,exports.ESAvatarSize=e.o,exports.SAvatar=e.t;
|
package/dist/entries/avatar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../SAvatar-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../SAvatar-BS9Lu2eL.js";
|
|
2
2
|
export { n as ESAvatarBadge, i as ESAvatarColor, t as ESAvatarIconBackground, e as ESAvatarShape, r as ESAvatarSize, a as SAvatar };
|
package/dist/entries/badge.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SBadge-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SBadge-d1GOPFP-.cjs");exports.ESBadgeColor=e.n,exports.ESBadgePlacement=e.r,exports.SBadge=e.t;
|
package/dist/entries/badge.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../SBadge-
|
|
1
|
+
import { n as e, r as t, t as n } from "../SBadge-BDxQJh6c.js";
|
|
2
2
|
export { e as ESBadgeColor, t as ESBadgePlacement, n as SBadge };
|
package/dist/entries/button.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SButton.types-UKroD-ev.cjs"),t=require("../SButton-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SButton.types-UKroD-ev.cjs"),t=require("../SButton-C-z_q5CG.cjs");exports.EButtonAppearance=e.t,exports.EButtonSize=e.n,exports.EButtonVariant=e.r,exports.SButton=t.t;
|
package/dist/entries/button.js
CHANGED
package/dist/entries/input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SInput-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SInput-DYS84eMS.cjs");exports.ESInputCustomize=e.n,exports.SInput=e.t;
|
package/dist/entries/input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SInput-
|
|
1
|
+
import { n as e, t } from "../SInput-iNlzBX5m.js";
|
|
2
2
|
export { e as ESInputCustomize, t as SInput };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SListItem-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SListItem-BDkldLVt.cjs");exports.ESListItemVariant=e.n,exports.SListItem=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SListItem-
|
|
1
|
+
import { n as e, t } from "../SListItem-BD7wvCNe.js";
|
|
2
2
|
export { e as ESListItemVariant, t as SListItem };
|
package/dist/entries/list.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SList-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SList-CU2Sy9Md.cjs");exports.ESListGap=e.a,exports.SList=e.t;
|
package/dist/entries/list.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, t } from "../SList-
|
|
1
|
+
import { a as e, t } from "../SList-C_S9ej45.js";
|
|
2
2
|
export { e as ESListGap, t as SList };
|
package/dist/entries/select.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSelect-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../SSelect-CTxBjl2J.cjs");exports.ESSelectSearchable=e.n,exports.SSelect=e.t;
|
package/dist/entries/select.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../SSelect-
|
|
1
|
+
import { n as e, t } from "../SSelect-MzZwivEY.js";
|
|
2
2
|
export { e as ESSelectSearchable, t as SSelect };
|
package/dist/entries/tabs.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STab-C8RXx0lW.cjs"),t=require("../STabs-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STab-C8RXx0lW.cjs"),t=require("../STabs-C6QQnCZd.cjs");exports.ESTabAppearance=e.n,exports.ESTabSize=e.r,exports.STab=e.t,exports.STabs=t.t;
|
package/dist/entries/tabs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STag-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STag-DVrSWByQ.cjs"),t=require("../STagGroup-BMyuxfVX.cjs");exports.ESTagColor=e.n,exports.ESTagSize=e.r,exports.STagGroup=t.t;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as e, r as t } from "../STag-
|
|
2
|
-
import { t as n } from "../STagGroup-
|
|
1
|
+
import { n as e, r as t } from "../STag-CYoj7L-p.js";
|
|
2
|
+
import { t as n } from "../STagGroup-B2-_OG3R.js";
|
|
3
3
|
export { e as ESTagColor, t as ESTagSize, n as STagGroup };
|
package/dist/entries/tag.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STag-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../STag-DVrSWByQ.cjs");exports.ESTagColor=e.n,exports.ESTagSize=e.r,exports.STag=e.t;
|
package/dist/entries/tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../STag-
|
|
1
|
+
import { n as e, r as t, t as n } from "../STag-CYoj7L-p.js";
|
|
2
2
|
export { e as ESTagColor, t as ESTagSize, n as STag };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SAvatar-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./SBadge-d1GOPFP-.cjs"),t=require("./SAvatar-BXABKIV0.cjs"),n=require("./SAvatarGroup-CMa9KhUZ.cjs"),r=require("./SButton.types-UKroD-ev.cjs"),i=require("./SButton-C-z_q5CG.cjs"),a=require("./useSelectionGroup-TaektE-I.cjs"),o=require("./useSelectLink-DDdMmsJB.cjs"),s=require("./SButtonGroup-BPy2YaEP.cjs"),c=require("./SCheckbox-CYy7tfoS.cjs"),l=require("./SCard-BR2R5VQd.cjs"),u=require("./SSegmentControl-Dz-d3Y9v.cjs"),d=require("./STab-C8RXx0lW.cjs"),f=require("./STabs-C6QQnCZd.cjs"),p=require("./useFloatingOverlay-Cwg2MWyD.cjs"),m=require("./STag-DVrSWByQ.cjs"),h=require("./STagGroup-BMyuxfVX.cjs"),g=require("./SChip-DoFL5c6-.cjs"),_=require("./SRadio-Ca-1D4q6.cjs"),v=require("./SToggle-DxSm1RNz.cjs"),y=require("./SInlineMessage-gjkMiE-W.cjs"),b=require("./SLabel-CTiOAAOu.cjs"),x=require("./SInput-DYS84eMS.cjs"),S=require("./SInlineInput-6LglCWSn.cjs"),C=require("./SDropdown-B6b7IDjp.cjs"),w=require("./SList-CU2Sy9Md.cjs"),T=require("./SListItem-BDkldLVt.cjs"),E=require("./SSelect-CTxBjl2J.cjs"),D=require("./STextarea-BJWrc9t1.cjs"),O=require("./SChartLine-C_16iDsx.cjs"),k=require("./SChartStackedArea-ByOgW4Mi.cjs"),A=require("./SChartStackedBar-CbOLEjHH.cjs"),j=require("./SChartHorizontalBar-CLXp8bvq.cjs"),M=require("./SChartPie-BdKc6EbI.cjs");exports.EButtonAppearance=r.t,exports.EButtonGroupLayout=s.n,exports.EButtonSize=r.n,exports.ESSegmentControlSize=r.n,exports.EButtonVariant=r.r,exports.EConnectedPositionStrategy=p.r,exports.ESAvatarBadge=t.n,exports.ESAvatarColor=t.r,exports.ESAvatarGroupSize=n.n,exports.ESAvatarIconBackground=t.i,exports.ESAvatarShape=t.a,exports.ESAvatarSize=t.o,exports.ESBadgeColor=e.n,exports.ESBadgePlacement=e.r,exports.ESCardLayout=l.n,exports.ESCheckboxColor=c.n,exports.ESCheckboxSize=c.r,exports.ESChipColor=g.n,exports.ESChipSize=g.r,exports.ESDropdownPlacement=p.i,exports.ESInlineInputAppearance=S.n,exports.ESInlineMessageValidationStatus=y.n,exports.ESInputCustomize=x.n,exports.ESLabelSize=b.n,exports.ESLabelVariant=b.r,exports.ESListGap=w.a,exports.ESListItemVariant=T.n,exports.ESRadioLabelPlacement=_.n,exports.ESSelectSearchable=E.n,exports.ESTabAppearance=d.n,exports.ESTabSize=d.r,exports.ESTagColor=m.n,exports.ESTagSize=m.r,exports.ESToggleSize=v.n,exports.ESelectionFocusMode=a.t,exports.ESelectionMode=a.n,exports.ESelectionOrientation=a.r,exports.SAvatar=t.t,exports.SAvatarGroup=n.t,exports.SBadge=e.t,exports.SButton=i.t,exports.SButtonGroup=s.t,exports.SCard=l.t,exports.SChartHorizontalBar=j.t,exports.SChartLine=O.t,exports.SChartPie=M.t,exports.SChartStackedArea=k.t,exports.SChartStackedBar=A.t,exports.SCheckbox=c.t,exports.SChip=g.t,exports.SDropdown=C.t,exports.SInlineInput=S.t,exports.SInlineMessage=y.t,exports.SInput=x.t,exports.SLabel=b.t,exports.SList=w.t,exports.SListItem=T.t,exports.SRadio=_.t,exports.SSegmentControl=u.t,exports.SSelect=E.t,exports.STab=d.t,exports.STabs=f.t,exports.STag=m.t,exports.STagGroup=h.t,exports.STextarea=D.t,exports.SToggle=v.t,exports.computeConnectedPosition=p.n,exports.resolveOwnPropOrGroupedOrFallback=a.a,exports.useFlatTreeList=w.s,exports.useFloatingOverlay=p.t,exports.useSListEndReached=w.o,exports.useSelectionGroup=a.o,exports.useSelectionGroupItem=o.n;var N=require("@shtabapp/ui-kit-tokens");Object.keys(N).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return N[e]}})});var P=require("@shtabapp/ui-kit-primitives");Object.keys(P).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return P[e]}})});
|
package/dist/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as o,
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as C,
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { n as P, r as F, t as I } from "./
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { n as B,
|
|
18
|
-
import { n as
|
|
19
|
-
import { n as
|
|
1
|
+
import { n as e, r as t, t as n } from "./SBadge-BDxQJh6c.js";
|
|
2
|
+
import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-BS9Lu2eL.js";
|
|
3
|
+
import { n as l, t as u } from "./SAvatarGroup-wkXHy_tK.js";
|
|
4
|
+
import { n as d, r as f, t as p } from "./SButton.types-CpdHQtyx.js";
|
|
5
|
+
import { t as m } from "./SButton-DnU_XZ1C.js";
|
|
6
|
+
import { a as h, n as g, o as _, r as v, t as y } from "./useSelectionGroup-cKj38lEN.js";
|
|
7
|
+
import { n as b } from "./useSelectLink-DClG5hGA.js";
|
|
8
|
+
import { n as x, t as S } from "./SButtonGroup-CmSlYnSv.js";
|
|
9
|
+
import { n as C, r as w, t as T } from "./SCheckbox-BMKYFfrB.js";
|
|
10
|
+
import { n as E, t as D } from "./SCard-CrU67ok0.js";
|
|
11
|
+
import { t as O } from "./SSegmentControl-CmJEjfSR.js";
|
|
12
|
+
import { n as k, r as A, t as j } from "./STab-DXGKWtFI.js";
|
|
13
|
+
import { t as M } from "./STabs-Ce7tHq8T.js";
|
|
14
|
+
import { i as N, n as P, r as F, t as I } from "./useFloatingOverlay-D-GlpoPP.js";
|
|
15
|
+
import { n as L, r as ee, t as R } from "./STag-CYoj7L-p.js";
|
|
16
|
+
import { t as z } from "./STagGroup-B2-_OG3R.js";
|
|
17
|
+
import { n as B, r as V, t as H } from "./SChip-TxpPE0VS.js";
|
|
18
|
+
import { n as U, t as W } from "./SRadio-Db_YLcne.js";
|
|
19
|
+
import { n as G, t as K } from "./SToggle-T7FKzMSo.js";
|
|
20
20
|
import { n as q, t as J } from "./SInlineMessage-Dirk5RwO.js";
|
|
21
21
|
import { n as Y, r as X, t as Z } from "./SLabel-yzcX4qp5.js";
|
|
22
|
-
import { n as Q, t as $ } from "./SInput-
|
|
22
|
+
import { n as Q, t as $ } from "./SInput-iNlzBX5m.js";
|
|
23
23
|
import { n as te, t as ne } from "./SInlineInput-DHq5BNPn.js";
|
|
24
24
|
import { t as re } from "./SDropdown-Cv729__Y.js";
|
|
25
|
-
import { a as ie, o as ae, s as oe, t as se } from "./SList-
|
|
26
|
-
import { n as ce, t as le } from "./SListItem-
|
|
27
|
-
import { n as ue, t as de } from "./SSelect-
|
|
25
|
+
import { a as ie, o as ae, s as oe, t as se } from "./SList-C_S9ej45.js";
|
|
26
|
+
import { n as ce, t as le } from "./SListItem-BD7wvCNe.js";
|
|
27
|
+
import { n as ue, t as de } from "./SSelect-MzZwivEY.js";
|
|
28
28
|
import { t as fe } from "./STextarea-ASdLqfpC.js";
|
|
29
29
|
import { t as pe } from "./SChartLine-BaOJ7lmv.js";
|
|
30
30
|
import { t as me } from "./SChartStackedArea-B-E5tLfo.js";
|
|
@@ -33,4 +33,4 @@ import { t as ge } from "./SChartHorizontalBar-CCn6L_Du.js";
|
|
|
33
33
|
import { t as _e } from "./SChartPie-qCJdztmc.js";
|
|
34
34
|
export * from "@shtabapp/ui-kit-primitives";
|
|
35
35
|
export * from "@shtabapp/ui-kit-tokens";
|
|
36
|
-
export {
|
|
36
|
+
export { p as EButtonAppearance, x as EButtonGroupLayout, d as EButtonSize, d as ESSegmentControlSize, f as EButtonVariant, F as EConnectedPositionStrategy, a as ESAvatarBadge, s as ESAvatarColor, l as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, E as ESCardLayout, C as ESCheckboxColor, w as ESCheckboxSize, B as ESChipColor, V as ESChipSize, N as ESDropdownPlacement, te as ESInlineInputAppearance, q as ESInlineMessageValidationStatus, Q as ESInputCustomize, Y as ESLabelSize, X as ESLabelVariant, ie as ESListGap, ce as ESListItemVariant, U as ESRadioLabelPlacement, ue as ESSelectSearchable, k as ESTabAppearance, A as ESTabSize, L as ESTagColor, ee as ESTagSize, G as ESToggleSize, y as ESelectionFocusMode, g as ESelectionMode, v as ESelectionOrientation, c as SAvatar, u as SAvatarGroup, n as SBadge, m as SButton, S as SButtonGroup, D as SCard, ge as SChartHorizontalBar, pe as SChartLine, _e as SChartPie, me as SChartStackedArea, he as SChartStackedBar, T as SCheckbox, H as SChip, re as SDropdown, ne as SInlineInput, J as SInlineMessage, $ as SInput, Z as SLabel, se as SList, le as SListItem, W as SRadio, O as SSegmentControl, de as SSelect, j as STab, M as STabs, R as STag, z as STagGroup, fe as STextarea, K as SToggle, P as computeConnectedPosition, h as resolveOwnPropOrGroupedOrFallback, oe as useFlatTreeList, I as useFloatingOverlay, ae as useSListEndReached, _ as useSelectionGroup, b as useSelectionGroupItem };
|