@iskra-ui/vue 0.1.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.
Files changed (35) hide show
  1. package/LICENCE.md +79 -0
  2. package/dist/components/Alert.vue.d.ts +32 -0
  3. package/dist/components/Alert.vue.d.ts.map +1 -0
  4. package/dist/components/Badge.vue.d.ts +29 -0
  5. package/dist/components/Badge.vue.d.ts.map +1 -0
  6. package/dist/components/Button.vue.d.ts +43 -0
  7. package/dist/components/Button.vue.d.ts.map +1 -0
  8. package/dist/components/Card.vue.d.ts +29 -0
  9. package/dist/components/Card.vue.d.ts.map +1 -0
  10. package/dist/components/CardBody.vue.d.ts +14 -0
  11. package/dist/components/CardBody.vue.d.ts.map +1 -0
  12. package/dist/components/CardFooter.vue.d.ts +14 -0
  13. package/dist/components/CardFooter.vue.d.ts.map +1 -0
  14. package/dist/components/CardHeader.vue.d.ts +14 -0
  15. package/dist/components/CardHeader.vue.d.ts.map +1 -0
  16. package/dist/components/Icon.vue.d.ts +17 -0
  17. package/dist/components/Icon.vue.d.ts.map +1 -0
  18. package/dist/components/Spinner.vue.d.ts +16 -0
  19. package/dist/components/Spinner.vue.d.ts.map +1 -0
  20. package/dist/components/Switch.vue.d.ts +31 -0
  21. package/dist/components/Switch.vue.d.ts.map +1 -0
  22. package/dist/components/Tabs.vue.d.ts +33 -0
  23. package/dist/components/Tabs.vue.d.ts.map +1 -0
  24. package/dist/components/TextField.vue.d.ts +56 -0
  25. package/dist/components/TextField.vue.d.ts.map +1 -0
  26. package/dist/index.cjs +2 -0
  27. package/dist/index.cjs.map +1 -0
  28. package/dist/index.d.ts +14 -0
  29. package/dist/index.d.ts.map +1 -0
  30. package/dist/index.js +574 -0
  31. package/dist/index.js.map +1 -0
  32. package/dist/utils/cx.d.ts +3 -0
  33. package/dist/utils/cx.d.ts.map +1 -0
  34. package/dist/vue.css +2 -0
  35. package/package.json +55 -0
package/LICENCE.md ADDED
@@ -0,0 +1,79 @@
1
+ # Лицензии
2
+
3
+ Документ фиксирует правовой статус кода дизайн-системы **Искра.DCI** и сторонних компонентов, которые **поставляются потребителям** вместе с npm-пакетами `@iskra-ui/*`.
4
+
5
+ ---
6
+
7
+ ## Пакеты `@iskra-ui/*`
8
+
9
+ | Пакет | Статус |
10
+ | --------------------- | ---------------------------------------------- |
11
+ | `@iskra-ui/tokens` | Проприетарное ПО |
12
+ | `@iskra-ui/styles` | Проприетарное ПО + сторонние шрифты (см. ниже) |
13
+ | `@iskra-ui/icons` | Проприетарное ПО |
14
+ | `@iskra-ui/core` | Проприетарное ПО |
15
+ | `@iskra-ui/react` | Проприетарное ПО |
16
+ | `@iskra-ui/vue` | Проприетарное ПО |
17
+ | `@iskra-ui/dci-react` | Проприетарное ПО |
18
+
19
+ Исходный код, дизайн-токены, компоненты, документация и торговые обозначения **Искра.DCI** / **ИСКРА.DCI** принадлежат правообладателю платформы. Все права защищены.
20
+
21
+ Пакеты публикуются в публичном npm-реестре (`publishConfig.access: public`). Использование, копирование, распространение и модификация **вне условий, согласованных с правообладателем**, запрещены.
22
+
23
+ Приватные пакеты монорепозитория (`@iskra-ui/eslint-config`, `@iskra-ui/tsconfig`, `@iskra-ui/docs-react`) распространяются только внутри репозитория и не публикуются в npm.
24
+
25
+ ---
26
+
27
+ ## Сторонние компоненты в составе поставки
28
+
29
+ ### Шрифты (`@iskra-ui/styles`)
30
+
31
+ В бандл `@iskra-ui/styles` встроены variable-шрифты (self-hosted, без CDN):
32
+
33
+ | Шрифт | Файл | Лицензия |
34
+ | ---------------------------------------------------- | ---------------------------------- | --------------------------------------------------------- |
35
+ | [Inter](https://rsms.me/inter/) | `Inter-VariableFont_opsz_wght.ttf` | [SIL Open Font License 1.1](https://openfontlicense.org/) |
36
+ | [JetBrains Mono](https://www.jetbrains.com/lp/mono/) | `JetBrainsMono_wght_.ttf` | [SIL Open Font License 1.1](https://openfontlicense.org/) |
37
+
38
+ Шрифты копируются в `packages/styles/dist/fonts/` при сборке пакета. При распространении производных продуктов необходимо сохранять уведомления OFL для этих файлов.
39
+
40
+ **Краткое условие OFL 1.1:** шрифты можно использовать, изучать, модифицировать и распространять при условии, что производные шрифты не продаются отдельно и что уведомление об авторских правах и лицензии OFL сохраняется в составе дистрибутива.
41
+
42
+ ### Иконки (`@iskra-ui/icons`)
43
+
44
+ Набор `@iskra-ui/icons` — **оригинальная SVG-разметка** Искра.DCI (16×16, stroke 1.5px), нарисованная под геометрию outline-иконок, принятую в бренде.
45
+
46
+ Геометрия согласована со стилем:
47
+
48
+ | Источник | Лицензия | Примечание |
49
+ | --------------------------------------------- | -------- | ---------------------------------------------------------------------- |
50
+ | [Feather Icons](https://feathericons.com/) | MIT | Референс по stroke и сетке; глифы в репозитории не копируются дословно |
51
+ | [Heroicons](https://heroicons.com/) (outline) | MIT | Допустимый заменитель при отсутствии глифа в наборе |
52
+
53
+ MIT-лицензии Feather Icons и Heroicons **не распространяются** на код `@iskra-ui/icons`, но указаны как происхождение визуального языка. При публикации открытых форков или выноса иконок в отдельный OSS-пакет — сверьтесь с юридической службой правообладателя.
54
+
55
+ ### Инструменты разработки (не входят в npm-поставку)
56
+
57
+ Зависимости dev/build (React, Vue, Vite, Storybook, ESLint, Turbo, Changesets и др.) подчиняются лицензиям соответствующих проектов. Они **не включаются** в publishable-артефакты `@iskra-ui/*` и в этом документе не перечисляются.
58
+
59
+ ---
60
+
61
+ ## Торговые марки
62
+
63
+ **Искра**, **Искра.DCI**, **ИСКРА.DCI**, логотип-искра и маскот **Бит** — элементы бренда платформы. Их использование вне продуктов правообладателя регулируется отдельно от лицензии на исходный код.
64
+
65
+ Названия **React**, **Vue**, **pnpm**, **Storybook** и других сторонних проектов принадлежат их владельцам.
66
+
67
+ ---
68
+
69
+ ## Вопросы по лицензированию
70
+
71
+ По условиям использования пакетов `@iskra-ui/*`, white-label брендингу и включению компонентов в сторонние продукты обращайтесь к правообладателю платформы Искра.DCI.
72
+
73
+ ---
74
+
75
+ ## См. также
76
+
77
+ - [README.md](README.md) — обзор монорепозитория
78
+ - [docs/PACKAGES.md](docs/PACKAGES.md) — состав поставки пакетов
79
+ - [CONTRIBUTING.md](CONTRIBUTING.md) — разработка и релизы
@@ -0,0 +1,32 @@
1
+ export type AlertVariant = 'info' | 'success' | 'warning' | 'error';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
5
+ variant?: AlertVariant;
6
+ title?: string;
7
+ closable?: boolean;
8
+ closeLabel?: string;
9
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ close: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<{
12
+ variant?: AlertVariant;
13
+ title?: string;
14
+ closable?: boolean;
15
+ closeLabel?: string;
16
+ }> & Readonly<{
17
+ onClose?: (() => any) | undefined;
18
+ }>, {
19
+ variant: AlertVariant;
20
+ closable: boolean;
21
+ closeLabel: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
23
+ icon?: (props: {}) => any;
24
+ } & {
25
+ default?: (props: {}) => any;
26
+ }>;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
32
+ //# sourceMappingURL=Alert.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../src/components/Alert.vue"],"names":[],"mappings":"AAiEA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;wBAQ/C,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;cAEJ,YAAY;YACd,MAAM;eACH,OAAO;iBACL,MAAM;;;;cAHT,YAAY;YACd,MAAM;eACH,OAAO;iBACL,MAAM;;;;aAHT,YAAY;cAEX,OAAO;gBACL,MAAM;;WAoGZ,CAAC,KAAK,IAAgB,KAAK,GAAG;;cAC3B,CAAC,KAAK,IAAgB,KAAK,GAAG;EAWxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,29 @@
1
+ export type BadgeVariant = 'success' | 'warning' | 'error' | 'info' | 'accent' | 'neutral';
2
+ export type BadgeSize = 's' | 'm';
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
6
+ variant?: BadgeVariant;
7
+ size?: BadgeSize;
8
+ /** Show a leading status dot. */
9
+ dot?: boolean;
10
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
11
+ variant?: BadgeVariant;
12
+ size?: BadgeSize;
13
+ /** Show a leading status dot. */
14
+ dot?: boolean;
15
+ }> & Readonly<{}>, {
16
+ size: BadgeSize;
17
+ variant: BadgeVariant;
18
+ dot: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
20
+ icon?: (props: {}) => any;
21
+ } & {
22
+ default?: (props: {}) => any;
23
+ }>;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=Badge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../src/components/Badge.vue"],"names":[],"mappings":"AAoCA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC3F,MAAM,MAAM,SAAS,GAAG,GAAG,GAAG,GAAG,CAAC;wBACb,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;cAEJ,YAAY;WACf,SAAS;IAChB,iCAAiC;UAC3B,OAAO;;cAHH,YAAY;WACf,SAAS;IAChB,iCAAiC;UAC3B,OAAO;;UAFN,SAAS;aADN,YAAY;SAGhB,OAAO;;WA4CN,CAAC,KAAK,IAAgB,KAAK,GAAG;;cAC3B,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,43 @@
1
+ export type ButtonVariant = 'primary' | 'outline' | 'secondary' | 'ghost' | 'destructive';
2
+ export type ButtonSize = 's' | 'm' | 'l';
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
6
+ variant?: ButtonVariant;
7
+ size?: ButtonSize;
8
+ iconOnly?: boolean;
9
+ loading?: boolean;
10
+ fullWidth?: boolean;
11
+ disabled?: boolean;
12
+ type?: "button" | "submit" | "reset";
13
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
14
+ variant?: ButtonVariant;
15
+ size?: ButtonSize;
16
+ iconOnly?: boolean;
17
+ loading?: boolean;
18
+ fullWidth?: boolean;
19
+ disabled?: boolean;
20
+ type?: "button" | "submit" | "reset";
21
+ }> & Readonly<{}>, {
22
+ size: ButtonSize;
23
+ type: "button" | "submit" | "reset";
24
+ variant: ButtonVariant;
25
+ iconOnly: boolean;
26
+ loading: boolean;
27
+ fullWidth: boolean;
28
+ disabled: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
30
+ iconBefore?: (props: {}) => any;
31
+ } & {
32
+ default?: (props: {}) => any;
33
+ } & {
34
+ default?: (props: {}) => any;
35
+ } & {
36
+ iconAfter?: (props: {}) => any;
37
+ }>;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
43
+ //# sourceMappingURL=Button.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../src/components/Button.vue"],"names":[],"mappings":"AA4DA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,aAAa,CAAC;AAC1F,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;wBACpB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;cAEJ,aAAa;WAChB,UAAU;eACN,OAAO;cACR,OAAO;gBACL,OAAO;eACR,OAAO;WACX,QAAQ,GAAG,QAAQ,GAAG,OAAO;;cAN1B,aAAa;WAChB,UAAU;eACN,OAAO;cACR,OAAO;gBACL,OAAO;eACR,OAAO;WACX,QAAQ,GAAG,QAAQ,GAAG,OAAO;;UAL7B,UAAU;UAKV,QAAQ,GAAG,QAAQ,GAAG,OAAO;aAN1B,aAAa;cAEZ,OAAO;aACR,OAAO;eACL,OAAO;cACR,OAAO;;iBAsFL,CAAC,KAAK,IAAgB,KAAK,GAAG;;cACjC,CAAC,KAAK,IAAgB,KAAK,GAAG;;cAC9B,CAAC,KAAK,IAAgB,KAAK,GAAG;;gBAC5B,CAAC,KAAK,IAAgB,KAAK,GAAG;EAU1C,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,29 @@
1
+ export type CardPadding = 'none' | 's' | 'm' | 'l';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
5
+ padding?: CardPadding;
6
+ elevated?: boolean;
7
+ /** Hoverable/focusable affordance. Provide a click handler and an accessible name. */
8
+ interactive?: boolean;
9
+ selected?: boolean;
10
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
11
+ padding?: CardPadding;
12
+ elevated?: boolean;
13
+ /** Hoverable/focusable affordance. Provide a click handler and an accessible name. */
14
+ interactive?: boolean;
15
+ selected?: boolean;
16
+ }> & Readonly<{}>, {
17
+ padding: CardPadding;
18
+ elevated: boolean;
19
+ interactive: boolean;
20
+ selected: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
22
+ default?: (props: {}) => any;
23
+ }>;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=Card.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../src/components/Card.vue"],"names":[],"mappings":"AA0CA,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;wBAC9B,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;cAEJ,WAAW;eACV,OAAO;IAClB,sFAAsF;kBACxE,OAAO;eACV,OAAO;;cAJR,WAAW;eACV,OAAO;IAClB,sFAAsF;kBACxE,OAAO;eACV,OAAO;;aAJR,WAAW;cACV,OAAO;iBAEJ,OAAO;cACV,OAAO;;cA4CR,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=CardBody.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardBody.vue.d.ts","sourceRoot":"","sources":["../../src/components/CardBody.vue"],"names":[],"mappings":"AAqBA,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;AAG/C,QAAA,MAAM,UAAU,+QACd,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,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=CardFooter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFooter.vue.d.ts","sourceRoot":"","sources":["../../src/components/CardFooter.vue"],"names":[],"mappings":"AAqBA,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;AAG/C,QAAA,MAAM,UAAU,+QACd,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,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=CardHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/CardHeader.vue"],"names":[],"mappings":"AAqBA,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;AAG/C,QAAA,MAAM,UAAU,+QACd,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,17 @@
1
+ import { type IconName } from '@iskra-ui/icons';
2
+ type __VLS_Props = {
3
+ /** Icon name from the canonical set. */
4
+ name: IconName;
5
+ /** Size — number (px) or any CSS length. Defaults to 1em (scales with text). */
6
+ size?: number | string;
7
+ strokeWidth?: number;
8
+ /** Accessible name. When omitted the icon is decorative (aria-hidden). */
9
+ title?: string;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ size: number | string;
13
+ strokeWidth: number;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=Icon.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../src/components/Icon.vue"],"names":[],"mappings":"AA6CA,OAAO,EAAS,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEvD,KAAK,WAAW,GAAG;IACf,wCAAwC;IACxC,IAAI,EAAE,QAAQ,CAAC;IACf,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAmDJ,QAAA,MAAM,YAAY;UAvDP,MAAM,GAAG,MAAM;iBACR,MAAM;6EAyDtB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ export type SpinnerSize = 's' | 'm' | 'l';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import("vue").DefineComponent<{
5
+ size?: SpinnerSize;
6
+ /** Accessible label announced to screen readers. */
7
+ label?: string;
8
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
9
+ size?: SpinnerSize;
10
+ /** Accessible label announced to screen readers. */
11
+ label?: string;
12
+ }> & Readonly<{}>, {
13
+ size: SpinnerSize;
14
+ label: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ //# sourceMappingURL=Spinner.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.vue.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.vue"],"names":[],"mappings":"AAiCA,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;wBACrB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;WAEP,WAAW;IAClB,oDAAoD;YAC5C,MAAM;;WAFP,WAAW;IAClB,oDAAoD;YAC5C,MAAM;;UAFP,WAAW;WAEV,MAAM;6EAkDd,CAAC"}
@@ -0,0 +1,31 @@
1
+ export type SwitchSize = 's' | 'm';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import("vue").DefineComponent<{
5
+ /** Controlled checked state (v-model). */
6
+ modelValue?: boolean;
7
+ size?: SwitchSize;
8
+ label?: string;
9
+ description?: string;
10
+ disabled?: boolean;
11
+ id?: string;
12
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: boolean) => any;
14
+ change: (event: Event) => any;
15
+ }, string, import("vue").PublicProps, Readonly<{
16
+ /** Controlled checked state (v-model). */
17
+ modelValue?: boolean;
18
+ size?: SwitchSize;
19
+ label?: string;
20
+ description?: string;
21
+ disabled?: boolean;
22
+ id?: string;
23
+ }> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
+ onChange?: ((event: Event) => any) | undefined;
26
+ }>, {
27
+ size: SwitchSize;
28
+ disabled: boolean;
29
+ modelValue: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ //# sourceMappingURL=Switch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.vue.d.ts","sourceRoot":"","sources":["../../src/components/Switch.vue"],"names":[],"mappings":"AA6DA,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,CAAC;wBACd,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAEd,0CAA0C;iBAC7B,OAAO;WACb,UAAU;YACT,MAAM;kBACA,MAAM;eACT,OAAO;SACb,MAAM;;;;;IANX,0CAA0C;iBAC7B,OAAO;WACb,UAAU;YACT,MAAM;kBACA,MAAM;eACT,OAAO;SACb,MAAM;;;;;UAJJ,UAAU;cAGN,OAAO;gBAJL,OAAO;6EAiGpB,CAAC"}
@@ -0,0 +1,33 @@
1
+ export interface TabItem {
2
+ value: string;
3
+ label: string;
4
+ content?: string;
5
+ disabled?: boolean;
6
+ }
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
10
+ items: TabItem[];
11
+ /** Selected tab value (v-model). */
12
+ modelValue?: string;
13
+ defaultValue?: string;
14
+ ariaLabel?: string;
15
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:modelValue": (value: string) => any;
17
+ }, string, import("vue").PublicProps, Readonly<{
18
+ items: TabItem[];
19
+ /** Selected tab value (v-model). */
20
+ modelValue?: string;
21
+ defaultValue?: string;
22
+ ariaLabel?: string;
23
+ }> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
+ [x: string]: ((props: {}) => any) | undefined;
27
+ }>;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
33
+ //# sourceMappingURL=Tabs.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../src/components/Tabs.vue"],"names":[],"mappings":"AAmGA,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;WAEP,OAAO,EAAE;IAChB,oCAAoC;iBACvB,MAAM;mBACJ,MAAM;gBACT,MAAM;;;;WAJX,OAAO,EAAE;IAChB,oCAAoC;iBACvB,MAAM;mBACJ,MAAM;gBACT,MAAM;;;;iCAyH8C,GAAG;EAWnE,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,56 @@
1
+ export type TextFieldSize = 's' | 'm' | 'l';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
5
+ /** Controlled value (v-model). */
6
+ modelValue?: string;
7
+ size?: TextFieldSize;
8
+ label?: string;
9
+ hint?: string;
10
+ /** Error message (string) or boolean error state. */
11
+ error?: string | boolean;
12
+ required?: boolean;
13
+ clearable?: boolean;
14
+ disabled?: boolean;
15
+ id?: string;
16
+ placeholder?: string;
17
+ type?: string;
18
+ clearLabel?: string;
19
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: string) => any;
21
+ clear: () => any;
22
+ }, string, import("vue").PublicProps, Readonly<{
23
+ /** Controlled value (v-model). */
24
+ modelValue?: string;
25
+ size?: TextFieldSize;
26
+ label?: string;
27
+ hint?: string;
28
+ /** Error message (string) or boolean error state. */
29
+ error?: string | boolean;
30
+ required?: boolean;
31
+ clearable?: boolean;
32
+ disabled?: boolean;
33
+ id?: string;
34
+ placeholder?: string;
35
+ type?: string;
36
+ clearLabel?: string;
37
+ }> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
39
+ onClear?: (() => any) | undefined;
40
+ }>, {
41
+ size: TextFieldSize;
42
+ type: string;
43
+ required: boolean;
44
+ disabled: boolean;
45
+ modelValue: string;
46
+ clearable: boolean;
47
+ clearLabel: string;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
49
+ iconBefore?: (props: {}) => any;
50
+ }>;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
56
+ //# sourceMappingURL=TextField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.vue.d.ts","sourceRoot":"","sources":["../../src/components/TextField.vue"],"names":[],"mappings":"AAgIA,MAAM,MAAM,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;wBACvB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAEd,kCAAkC;iBACrB,MAAM;WACZ,aAAa;YACZ,MAAM;WACP,MAAM;IACb,qDAAqD;YAC7C,MAAM,GAAG,OAAO;eACb,OAAO;gBACN,OAAO;eACR,OAAO;SACb,MAAM;kBACG,MAAM;WACb,MAAM;iBACA,MAAM;;;;;IAbnB,kCAAkC;iBACrB,MAAM;WACZ,aAAa;YACZ,MAAM;WACP,MAAM;IACb,qDAAqD;YAC7C,MAAM,GAAG,OAAO;eACb,OAAO;gBACN,OAAO;eACR,OAAO;SACb,MAAM;kBACG,MAAM;WACb,MAAM;iBACA,MAAM;;;;;UAXZ,aAAa;UAUb,MAAM;cALF,OAAO;cAEP,OAAO;gBARL,MAAM;eAOP,OAAO;gBAKN,MAAM;;iBAuKN,CAAC,KAAK,IAAgB,KAAK,GAAG;EAa3C,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("vue");var t={"chevron-down":`<polyline points="4,6 8,10 12,6"/>`,"chevron-up":`<polyline points="4,10 8,6 12,10"/>`,"chevron-left":`<polyline points="10,4 6,8 10,12"/>`,"chevron-right":`<polyline points="6,4 10,8 6,12"/>`,"chevrons-left":`<polyline points="7.5,4 3.5,8 7.5,12"/><polyline points="12,4 8,8 12,12"/>`,"chevrons-right":`<polyline points="8.5,4 12.5,8 8.5,12"/><polyline points="4,4 8,8 4,12"/>`,"arrow-up":`<line x1="8" y1="13.5" x2="8" y2="3"/><polyline points="4,7 8,3 12,7"/>`,"arrow-down":`<line x1="8" y1="2.5" x2="8" y2="13"/><polyline points="4,9 8,13 12,9"/>`,"arrow-left":`<line x1="13.5" y1="8" x2="3" y2="8"/><polyline points="7,4 3,8 7,12"/>`,"arrow-right":`<line x1="2.5" y1="8" x2="13" y2="8"/><polyline points="9,4 13,8 9,12"/>`,"arrow-up-right":`<line x1="4" y1="12" x2="12" y2="4"/><polyline points="5.5,4 12,4 12,10.5"/>`,external:`<path d="M8.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V7.5"/><polyline points="9.5,2.5 13.5,2.5 13.5,6.5"/><line x1="13.5" y1="2.5" x2="7.5" y2="8.5"/>`,menu:`<line x1="2.5" y1="4.5" x2="13.5" y2="4.5"/><line x1="2.5" y1="8" x2="13.5" y2="8"/><line x1="2.5" y1="11.5" x2="13.5" y2="11.5"/>`,more:`<circle cx="3.5" cy="8" r="1.1" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.1" fill="currentColor" stroke="none"/><circle cx="12.5" cy="8" r="1.1" fill="currentColor" stroke="none"/>`,"more-vertical":`<circle cx="8" cy="3.5" r="1.1" fill="currentColor" stroke="none"/><circle cx="8" cy="8" r="1.1" fill="currentColor" stroke="none"/><circle cx="8" cy="12.5" r="1.1" fill="currentColor" stroke="none"/>`,check:`<polyline points="3.5,8.5 6.5,11.5 12.5,4.5"/>`,close:`<line x1="4" y1="4" x2="12" y2="12"/><line x1="12" y1="4" x2="4" y2="12"/>`,plus:`<line x1="8" y1="3" x2="8" y2="13"/><line x1="3" y1="8" x2="13" y2="8"/>`,minus:`<line x1="3" y1="8" x2="13" y2="8"/>`,"check-circle":`<circle cx="8" cy="8" r="6"/><polyline points="5.3,8.2 7,10 10.7,5.8"/>`,"x-circle":`<circle cx="8" cy="8" r="6"/><line x1="5.7" y1="5.7" x2="10.3" y2="10.3"/><line x1="10.3" y1="5.7" x2="5.7" y2="10.3"/>`,"plus-circle":`<circle cx="8" cy="8" r="6"/><line x1="8" y1="5.3" x2="8" y2="10.7"/><line x1="5.3" y1="8" x2="10.7" y2="8"/>`,"minus-circle":`<circle cx="8" cy="8" r="6"/><line x1="5.3" y1="8" x2="10.7" y2="8"/>`,success:`<circle cx="8" cy="8" r="6"/><polyline points="5.3,8.2 7,10 10.7,5.8"/>`,warning:`<path d="M8 2.2 14.3 13.2a.6.6 0 0 1-.52.9H2.22a.6.6 0 0 1-.52-.9Z"/><line x1="8" y1="6.4" x2="8" y2="9.6"/><circle cx="8" cy="11.6" r=".55" fill="currentColor" stroke="none"/>`,error:`<circle cx="8" cy="8" r="6"/><line x1="5.7" y1="5.7" x2="10.3" y2="10.3"/><line x1="10.3" y1="5.7" x2="5.7" y2="10.3"/>`,info:`<circle cx="8" cy="8" r="6"/><line x1="8" y1="7.4" x2="8" y2="11"/><circle cx="8" cy="5" r=".55" fill="currentColor" stroke="none"/>`,help:`<circle cx="8" cy="8" r="6"/><path d="M6.2 6.3a1.85 1.85 0 0 1 3.6.6c0 1.25-1.8 1.55-1.8 2.7"/><circle cx="8" cy="11.5" r=".55" fill="currentColor" stroke="none"/>`,search:`<circle cx="7" cy="7" r="4.5"/><line x1="10.5" y1="10.5" x2="14.5" y2="14.5"/>`,filter:`<path d="M2.5 4h11l-4.2 5v3.8l-2.6-1.3V9z"/>`,sliders:`<line x1="2.5" y1="5" x2="13.5" y2="5"/><line x1="2.5" y1="11" x2="13.5" y2="11"/><circle cx="6" cy="5" r="1.8" fill="var(--bg,#0D1117)"/><circle cx="10.5" cy="11" r="1.8" fill="var(--bg,#0D1117)"/>`,refresh:`<path d="M2.7 8a5.3 5.3 0 0 1 9-3.8l1.6 1.5"/><polyline points="13.3,2.3 13.3,5.7 9.9,5.7"/><path d="M13.3 8a5.3 5.3 0 0 1-9 3.8l-1.6-1.5"/><polyline points="2.7,13.7 2.7,10.3 6.1,10.3"/>`,sync:`<path d="M3.5 6.5A5 5 0 0 1 12.8 6"/><polyline points="12.5,2.6 13,6 9.6,6.4"/><path d="M12.5 9.5A5 5 0 0 1 3.2 10"/><polyline points="3.5,13.4 3,10 6.4,9.6"/>`,undo:`<polyline points="5.5,4 2.5,7 5.5,10"/><path d="M2.5 7h6.5a3.5 3.5 0 0 1 0 7H6"/>`,redo:`<polyline points="10.5,4 13.5,7 10.5,10"/><path d="M13.5 7H7a3.5 3.5 0 0 0 0 7h3"/>`,trash:`<polyline points="3,4.5 13,4.5"/><path d="M5.5 4.5V3.2a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1V4.5"/><path d="M4.3 4.5 5 13a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1l.7-8.5"/>`,edit:`<path d="M11 2.5 13.5 5 6 12.5 3 13.5 4 10.5Z"/><line x1="9.5" y1="4" x2="12" y2="6.5"/>`,copy:`<rect x="5.5" y="5.5" width="8" height="8" rx="1.2"/><path d="M3.5 10.5a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1"/>`,save:`<path d="M3 2.5h8L13.5 5v8.5a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1v-10a1 1 0 0 1 1-1Z"/><path d="M5 2.5v3h5v-3"/><rect x="5" y="8.5" width="6" height="4"/>`,download:`<line x1="8" y1="2.5" x2="8" y2="10"/><polyline points="5,7 8,10 11,7"/><path d="M3 11.5v1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1"/>`,upload:`<line x1="8" y1="10.5" x2="8" y2="3"/><polyline points="5,6 8,3 11,6"/><path d="M3 11.5v1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1"/>`,share:`<circle cx="12" cy="4" r="2"/><circle cx="4" cy="8" r="2"/><circle cx="12" cy="12" r="2"/><line x1="5.7" y1="7" x2="10.3" y2="5"/><line x1="5.7" y1="9" x2="10.3" y2="11"/>`,link:`<path d="M6.8 9.2a2.6 2.6 0 0 0 3.7 0l2.1-2.1a2.6 2.6 0 0 0-3.7-3.7l-1 1"/><path d="M9.2 6.8a2.6 2.6 0 0 0-3.7 0L3.4 8.9a2.6 2.6 0 0 0 3.7 3.7l1-1"/>`,clipboard:`<rect x="3.5" y="3" width="9" height="11" rx="1.2"/><rect x="6" y="1.8" width="4" height="2.4" rx="0.7"/>`,folder:`<path d="M2.5 4.5a1 1 0 0 1 1-1h2.6l1.2 1.4h4.7a1 1 0 0 1 1 1v6.1a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1Z"/>`,file:`<path d="M4 2.5h5L12.5 6v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1Z"/><polyline points="9,2.5 9,6 12.5,6"/>`,"file-text":`<path d="M4 2.5h5L12.5 6v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1Z"/><polyline points="9,2.5 9,6 12.5,6"/><line x1="5.5" y1="8.5" x2="10" y2="8.5"/><line x1="5.5" y1="11" x2="10" y2="11"/>`,eye:`<path d="M1.5 8S3.5 3.5 8 3.5 14.5 8 14.5 8 12.5 12.5 8 12.5 1.5 8 1.5 8Z"/><circle cx="8" cy="8" r="2"/>`,"eye-off":`<path d="M3 3l10 10"/><path d="M6.5 6.6A2 2 0 0 0 8 10a2 2 0 0 0 1.4-.6"/><path d="M4.2 4.7C2.6 5.8 1.5 8 1.5 8s2 4.5 6.5 4.5c1 0 1.9-.2 2.7-.6"/><path d="M7 3.6A6 6 0 0 1 8 3.5C12.5 3.5 14.5 8 14.5 8a12 12 0 0 1-1.7 2.3"/>`,bell:`<path d="M8 2a4 4 0 0 1 4 4c0 3 1.2 4 1.2 4H2.8S4 9 4 6a4 4 0 0 1 4-4z"/><path d="M6.4 12.5a1.7 1.7 0 0 0 3.2 0"/>`,"bell-off":`<path d="M5 4.2A4 4 0 0 1 12 6c0 2.2.7 3.4 1 3.8M4.2 6.7C4.1 8.7 3 10 3 10h7.5"/><path d="M6.4 12.5a1.7 1.7 0 0 0 3.2 0"/><line x1="2.5" y1="2.5" x2="13.5" y2="13.5"/>`,lock:`<rect x="3.5" y="7" width="9" height="6.5" rx="1.2"/><path d="M5.5 7V5.2a2.5 2.5 0 0 1 5 0V7"/>`,unlock:`<rect x="3.5" y="7" width="9" height="6.5" rx="1.2"/><path d="M5.5 7V5.2a2.5 2.5 0 0 1 4.8-.9"/>`,shield:`<path d="M8 1.7 13 3.5v4.2c0 3.3-2.3 5.6-5 6.6-2.7-1-5-3.3-5-6.6V3.5Z"/>`,"shield-check":`<path d="M8 1.7 13 3.5v4.2c0 3.3-2.3 5.6-5 6.6-2.7-1-5-3.3-5-6.6V3.5Z"/><polyline points="5.7,7.8 7.3,9.4 10.4,5.9"/>`,key:`<circle cx="5.5" cy="10.5" r="2.6"/><line x1="7.4" y1="8.6" x2="13" y2="3"/><line x1="11" y1="5" x2="12.6" y2="6.6"/><line x1="9.4" y1="6.6" x2="11" y2="8.2"/>`,zap:`<polygon points="8.5,1.8 3.5,9 7.5,9 7,14.2 12.5,7 8.5,7"/>`,activity:`<polyline points="1.5,8 5,8 7,3 9.5,13 11.5,8 14.5,8"/>`,settings:`<circle cx="8" cy="8" r="2.3"/><path d="M12.6 9.5a1 1 0 0 0 .2 1.1l.05.05a1.2 1.2 0 1 1-1.7 1.7l-.05-.05a1 1 0 0 0-1.1-.2 1 1 0 0 0-.6.9v.15a1.2 1.2 0 1 1-2.4 0v-.08a1 1 0 0 0-.66-.92 1 1 0 0 0-1.1.2l-.05.05a1.2 1.2 0 1 1-1.7-1.7l.05-.05a1 1 0 0 0 .2-1.1 1 1 0 0 0-.9-.6h-.15a1.2 1.2 0 1 1 0-2.4h.08a1 1 0 0 0 .92-.66 1 1 0 0 0-.2-1.1l-.05-.05a1.2 1.2 0 1 1 1.7-1.7l.05.05a1 1 0 0 0 1.1.2H7a1 1 0 0 0 .6-.9v-.15a1.2 1.2 0 1 1 2.4 0v.08a1 1 0 0 0 .6.92 1 1 0 0 0 1.1-.2l.05-.05a1.2 1.2 0 1 1 1.7 1.7l-.05.05a1 1 0 0 0-.2 1.1V7a1 1 0 0 0 .9.6h.15a1.2 1.2 0 1 1 0 2.4h-.08a1 1 0 0 0-.92.6Z"/>`,user:`<circle cx="8" cy="5.5" r="2.8"/><path d="M2.5 14c0-3 2.4-4.8 5.5-4.8s5.5 1.8 5.5 4.8"/>`,users:`<circle cx="6" cy="5.5" r="2.4"/><path d="M1.5 13.5c0-2.6 2-4.2 4.5-4.2s4.5 1.6 4.5 4.2"/><path d="M11 3.4a2.4 2.4 0 0 1 0 4.6M14.5 13.5c0-2-1.1-3.4-2.8-4"/>`,"user-plus":`<circle cx="6.5" cy="5.5" r="2.8"/><path d="M1.5 14c0-3 2.2-4.8 5-4.8 1 0 1.9.2 2.6.6"/><line x1="12.5" y1="9.5" x2="12.5" y2="13.5"/><line x1="10.5" y1="11.5" x2="14.5" y2="11.5"/>`,calendar:`<rect x="2.5" y="3.5" width="11" height="10" rx="1.2"/><line x1="2.5" y1="6.5" x2="13.5" y2="6.5"/><line x1="5.5" y1="2" x2="5.5" y2="4.5"/><line x1="10.5" y1="2" x2="10.5" y2="4.5"/>`,clock:`<circle cx="8" cy="8" r="6"/><polyline points="8,4.5 8,8 10.5,9.5"/>`,history:`<path d="M2.7 8a5.3 5.3 0 1 0 1.6-3.8"/><polyline points="2.4,2.5 2.4,5.7 5.6,5.7"/><polyline points="8,5.2 8,8 10.4,9.4"/>`,server:`<rect x="2.5" y="3" width="11" height="4.2" rx="1"/><rect x="2.5" y="8.8" width="11" height="4.2" rx="1"/><line x1="4.5" y1="5.1" x2="4.55" y2="5.1"/><line x1="4.5" y1="10.9" x2="4.55" y2="10.9"/>`,database:`<ellipse cx="8" cy="4" rx="5" ry="2"/><path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4"/><path d="M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>`,cloud:`<path d="M4.5 12.5a3 3 0 0 1-.3-6A4 4 0 0 1 12 7a2.8 2.8 0 0 1-.3 5.5Z"/>`,cpu:`<rect x="4.5" y="4.5" width="7" height="7" rx="1"/><rect x="6.7" y="6.7" width="2.6" height="2.6"/><line x1="6.5" y1="2.5" x2="6.5" y2="4.5"/><line x1="9.5" y1="2.5" x2="9.5" y2="4.5"/><line x1="6.5" y1="11.5" x2="6.5" y2="13.5"/><line x1="9.5" y1="11.5" x2="9.5" y2="13.5"/><line x1="2.5" y1="6.5" x2="4.5" y2="6.5"/><line x1="2.5" y1="9.5" x2="4.5" y2="9.5"/><line x1="11.5" y1="6.5" x2="13.5" y2="6.5"/><line x1="11.5" y1="9.5" x2="13.5" y2="9.5"/>`,globe:`<circle cx="8" cy="8" r="6"/><line x1="2" y1="8" x2="14" y2="8"/><path d="M8 2c1.8 1.6 2.8 3.8 2.8 6S9.8 12.4 8 14c-1.8-1.6-2.8-3.8-2.8-6S6.2 3.6 8 2Z"/>`,wifi:`<path d="M2 6.2a9 9 0 0 1 12 0"/><path d="M4.2 8.6a6 6 0 0 1 7.6 0"/><path d="M6.4 11a3 3 0 0 1 3.2 0"/><circle cx="8" cy="13" r=".7" fill="currentColor" stroke="none"/>`,terminal:`<rect x="2.5" y="3" width="11" height="10" rx="1.2"/><polyline points="5,7 7,8.5 5,10"/><line x1="8.5" y1="10.5" x2="11" y2="10.5"/>`,code:`<polyline points="6,5 2.5,8 6,11"/><polyline points="10,5 13.5,8 10,11"/>`,"git-branch":`<line x1="4.5" y1="3" x2="4.5" y2="13"/><circle cx="4.5" cy="3" r="1.7"/><circle cx="4.5" cy="13" r="1.7"/><circle cx="11.5" cy="5" r="1.7"/><path d="M11.5 6.7v.8a3 3 0 0 1-3 3H4.5"/>`,layers:`<polygon points="8,2 14,5 8,8 2,5"/><polyline points="2,8 8,11 14,8"/><polyline points="2,11 8,14 14,11"/>`,grid:`<rect x="2.5" y="2.5" width="4.5" height="4.5" rx="1"/><rect x="9" y="2.5" width="4.5" height="4.5" rx="1"/><rect x="2.5" y="9" width="4.5" height="4.5" rx="1"/><rect x="9" y="9" width="4.5" height="4.5" rx="1"/>`,list:`<line x1="5.5" y1="4" x2="13.5" y2="4"/><line x1="5.5" y1="8" x2="13.5" y2="8"/><line x1="5.5" y1="12" x2="13.5" y2="12"/><circle cx="2.8" cy="4" r=".8" fill="currentColor" stroke="none"/><circle cx="2.8" cy="8" r=".8" fill="currentColor" stroke="none"/><circle cx="2.8" cy="12" r=".8" fill="currentColor" stroke="none"/>`,tag:`<path d="M2.6 7.4 7.4 2.6a1 1 0 0 1 .7-.3h4.1a1 1 0 0 1 1 1V7.4a1 1 0 0 1-.3.7l-4.8 4.8a1 1 0 0 1-1.4 0L2.6 8.8a1 1 0 0 1 0-1.4Z"/><circle cx="10.2" cy="5.8" r=".9" fill="currentColor" stroke="none"/>`,bookmark:`<path d="M4 2.5h8a.5.5 0 0 1 .5.5v10.5L8 11l-4.5 2.5V3a.5.5 0 0 1 .5-.5Z"/>`,star:`<polygon points="8,2 9.85,5.75 14,6.35 11,9.25 11.7,13.35 8,11.4 4.3,13.35 5,9.25 2,6.35 6.15,5.75"/>`,pin:`<path d="M8 14s4.5-4 4.5-7.5a4.5 4.5 0 0 0-9 0C3.5 10 8 14 8 14Z"/><circle cx="8" cy="6.5" r="1.7"/>`,mail:`<rect x="2" y="3.5" width="12" height="9" rx="1.2"/><polyline points="2.5,4.5 8,8.5 13.5,4.5"/>`,message:`<path d="M2.5 4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H6l-3 2.5V11H3.5a1 1 0 0 1-1-1Z"/>`,sun:`<circle cx="8" cy="8" r="3"/><path d="M8 1v1.6M8 13.4V15M15 8h-1.6M2.6 8H1M12.95 3.05l-1.13 1.13M4.18 11.82l-1.13 1.13M12.95 12.95l-1.13-1.13M4.18 4.18 3.05 3.05"/>`,moon:`<path d="M13 9.2A5.5 5.5 0 0 1 6.8 3 5.5 5.5 0 1 0 13 9.2Z"/>`,power:`<line x1="8" y1="2" x2="8" y2="8"/><path d="M5 4.2a5 5 0 1 0 6 0"/>`,"log-out":`<path d="M6 13.5H3.5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1H6"/><polyline points="10,11 13.5,8 10,5"/><line x1="13.5" y1="8" x2="6" y2="8"/>`,"log-in":`<path d="M10 2.5h2.5a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H10"/><polyline points="6,11 9.5,8 6,5"/><line x1="9.5" y1="8" x2="2" y2="8"/>`},n=[`width`,`height`,`stroke-width`,`role`,`aria-hidden`,`aria-label`,`innerHTML`],r=(0,e.defineComponent)({__name:`Icon`,props:{name:{},size:{default:`1em`},strokeWidth:{default:1.5},title:{}},setup(r){let i=r,a=(0,e.computed)(()=>typeof i.size==`number`?`${i.size}px`:i.size),o=(0,e.computed)(()=>(i.title?`<title>${i.title}</title>`:``)+t[i.name]);return(t,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{class:`iskra-icon`,width:a.value,height:a.value,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,"stroke-width":r.strokeWidth,"stroke-linecap":`round`,"stroke-linejoin":`round`,role:r.title?`img`:void 0,"aria-hidden":r.title?void 0:`true`,"aria-label":r.title||void 0,style:{display:`inline-block`,"flex-shrink":`0`,"vertical-align":`middle`},innerHTML:o.value},null,8,n))}});function i(...e){return e.filter(Boolean).join(` `)}var a=[`type`,`disabled`],o={key:0,class:`ik-btn-spinner`,"aria-hidden":`true`},s={class:`ik-btn-content`},c={key:0},l=(0,e.defineComponent)({__name:`Button`,props:{variant:{default:`primary`},size:{default:`m`},iconOnly:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{default:`button`}},setup(t){let n=t,r=(0,e.computed)(()=>i(`ik-btn`,`ik-btn-${n.variant}`,`ik-btn-${n.size}`,n.iconOnly&&`ik-btn-io`,n.fullWidth&&`ik-btn-fw`,n.loading&&`ik-btn-loading`));return(n,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`button`,{type:t.type,class:(0,e.normalizeClass)(r.value),disabled:t.disabled||t.loading},[t.loading?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,o)):(0,e.createCommentVNode)(``,!0),(0,e.createElementVNode)(`span`,s,[(0,e.renderSlot)(n.$slots,`iconBefore`),t.iconOnly?(0,e.renderSlot)(n.$slots,`default`,{key:1}):((0,e.openBlock)(),(0,e.createElementBlock)(`span`,c,[(0,e.renderSlot)(n.$slots,`default`)])),(0,e.renderSlot)(n.$slots,`iconAfter`)])],10,a))}}),u={key:0,class:`ik-bdg-dot`,"aria-hidden":`true`},d=(0,e.defineComponent)({__name:`Badge`,props:{variant:{default:`neutral`},size:{default:`m`},dot:{type:Boolean,default:!1}},setup(t){let n=t,r=(0,e.computed)(()=>i(`ik-bdg`,`ik-bdg-${n.size}`,`ik-bdg-${n.variant}`));return(n,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{class:(0,e.normalizeClass)(r.value)},[t.dot?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,u)):(0,e.createCommentVNode)(``,!0),(0,e.renderSlot)(n.$slots,`icon`),(0,e.renderSlot)(n.$slots,`default`)],2))}}),f={role:`status`,"aria-live":`polite`,class:`ik-spinner-wrap`},p={class:`ik-spinner-label`},m=(0,e.defineComponent)({__name:`Spinner`,props:{size:{default:`m`},label:{default:`Загрузка…`}},setup(t){let n=t,r=(0,e.computed)(()=>i(`ik-spinner`,`ik-spinner-${n.size}`));return(n,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,f,[(0,e.createElementVNode)(`span`,{class:(0,e.normalizeClass)(r.value),"aria-hidden":`true`},null,2),(0,e.createElementVNode)(`span`,p,(0,e.toDisplayString)(t.label),1)]))}}),h=0;function g(e=`ik`){return h+=1,`${e}-${h}`}var _={Enter:`Enter`,Space:` `,Escape:`Escape`,Tab:`Tab`,ArrowUp:`ArrowUp`,ArrowDown:`ArrowDown`,ArrowLeft:`ArrowLeft`,ArrowRight:`ArrowRight`,Home:`Home`,End:`End`};function v(e){return{tab:t=>`${e}-tab-${t}`,panel:t=>`${e}-panel-${t}`}}function y(e){return e.find(e=>!e.disabled)?.value}function b(e,t,n,r=`horizontal`){let i=e.filter(e=>!e.disabled);if(i.length===0)return;let a=r===`horizontal`?_.ArrowRight:_.ArrowDown,o=r===`horizontal`?_.ArrowLeft:_.ArrowUp,s=i.findIndex(e=>e.value===t),c=s===-1?0:s;switch(n){case a:return i[(c+1)%i.length].value;case o:return i[(c-1+i.length)%i.length].value;case _.Home:return i[0].value;case _.End:return i[i.length-1].value;default:return}}var x=[`for`],S=[`id`,`checked`,`disabled`],C={key:0,class:`ik-sw-textwrap`},w={key:0,class:`ik-sw-text`},T={key:1,class:`ik-sw-desc`},E=(0,e.defineComponent)({__name:`Switch`,props:{modelValue:{type:Boolean,default:!1},size:{default:`m`},label:{},description:{},disabled:{type:Boolean,default:!1},id:{}},emits:[`update:modelValue`,`change`],setup(t,{emit:n}){let r=t,a=n,o=(0,e.computed)(()=>r.id??g(`ik-sw`)),s=(0,e.computed)(()=>i(`ik-sw`,`ik-sw-${r.size}`,r.disabled&&`is-disabled`));function c(e){a(`update:modelValue`,e.target.checked),a(`change`,e)}return(n,r)=>((0,e.openBlock)(),(0,e.createElementBlock)(`label`,{class:(0,e.normalizeClass)(s.value),for:o.value},[(0,e.createElementVNode)(`input`,{id:o.value,type:`checkbox`,role:`switch`,class:`ik-sw-input`,checked:t.modelValue,disabled:t.disabled,onChange:c},null,40,S),r[0]||=(0,e.createElementVNode)(`span`,{class:`ik-sw-track`,"aria-hidden":`true`},[(0,e.createElementVNode)(`span`,{class:`ik-sw-knob`})],-1),t.label||t.description?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,C,[t.label?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,w,(0,e.toDisplayString)(t.label),1)):(0,e.createCommentVNode)(``,!0),t.description?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,T,(0,e.toDisplayString)(t.description),1)):(0,e.createCommentVNode)(``,!0)])):(0,e.createCommentVNode)(``,!0)],10,x))}}),D=[`role`],O={class:`ik-alert-ico`,"aria-hidden":`true`},k={class:`ik-alert-body`},A={key:0,class:`ik-alert-title`},j=[`aria-label`],M={info:`info`,success:`check-circle`,warning:`warning`,error:`x-circle`},N=(0,e.defineComponent)({__name:`Alert`,props:{variant:{default:`info`},title:{},closable:{type:Boolean,default:!1},closeLabel:{default:`Закрыть`}},emits:[`close`],setup(t,{emit:n}){let a=t,o=n,s=(0,e.computed)(()=>a.variant===`error`||a.variant===`warning`?`alert`:`status`),c=(0,e.computed)(()=>i(`ik-alert`,`ik-alert-${a.variant}`)),l=(0,e.computed)(()=>M[a.variant]);return(n,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)(c.value),role:s.value},[(0,e.createElementVNode)(`span`,O,[(0,e.renderSlot)(n.$slots,`icon`,{},()=>[(0,e.createVNode)(r,{name:l.value,size:16},null,8,[`name`])])]),(0,e.createElementVNode)(`div`,k,[t.title?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,A,(0,e.toDisplayString)(t.title),1)):(0,e.createCommentVNode)(``,!0),(0,e.renderSlot)(n.$slots,`default`)]),t.closable?((0,e.openBlock)(),(0,e.createElementBlock)(`button`,{key:0,type:`button`,class:`ik-alert-close`,"aria-label":t.closeLabel,onClick:i[0]||=e=>o(`close`)},[(0,e.createVNode)(r,{name:`close`,size:14})],8,j)):(0,e.createCommentVNode)(``,!0)],10,D))}}),P=[`tabindex`],F=(0,e.defineComponent)({__name:`Card`,props:{padding:{default:`m`},elevated:{type:Boolean,default:!1},interactive:{type:Boolean,default:!1},selected:{type:Boolean,default:!1}},setup(t){let n=t,r=(0,e.computed)(()=>i(`ik-card`,`ik-card-pad-${n.padding}`,n.elevated&&`ik-card-elevated`,n.interactive&&`ik-card-interactive`,n.selected&&`ik-card-selected`));return(n,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)(r.value),tabindex:t.interactive?0:void 0},[(0,e.renderSlot)(n.$slots,`default`)],10,P))}}),I=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},L={},R={class:`ik-card-header`};function z(t,n){return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,R,[(0,e.renderSlot)(t.$slots,`default`)])}var ee=I(L,[[`render`,z]]),B={},V={class:`ik-card-body`};function H(t,n){return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,V,[(0,e.renderSlot)(t.$slots,`default`)])}var U=I(B,[[`render`,H]]),W={},G={class:`ik-card-footer`};function K(t,n){return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,G,[(0,e.renderSlot)(t.$slots,`default`)])}var q=I(W,[[`render`,K]]),J={class:`ik-tf-wrap`},Y=[`for`],X={key:0,class:`ik-tf-req`,"aria-hidden":`true`},Z={key:0,class:`ik-tf-ico`},Q=[`id`,`type`,`value`,`disabled`,`placeholder`,`aria-invalid`,`aria-describedby`],$=[`aria-label`],te=[`id`],ne=(0,e.defineComponent)({__name:`TextField`,props:{modelValue:{default:``},size:{default:`m`},label:{},hint:{},error:{type:[String,Boolean]},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{},placeholder:{},type:{default:`text`},clearLabel:{default:`Очистить`}},emits:[`update:modelValue`,`clear`],setup(t,{emit:n}){let r=t,a=n,o=(0,e.ref)(),s=(0,e.computed)(()=>r.id??g(`ik-tf`)),c=(0,e.computed)(()=>typeof r.error==`string`?r.error:null),l=(0,e.computed)(()=>!!r.error),u=(0,e.computed)(()=>r.clearable&&!r.disabled&&(r.modelValue??``).length>0),d=(0,e.computed)(()=>i(`ik-tf-field`,`ik-tf-${r.size}`,l.value&&`is-error`,r.disabled&&`is-disabled`)),f=(0,e.computed)(()=>c.value||r.hint?`${s.value}-msg`:void 0);function p(e){a(`update:modelValue`,e.target.value)}function m(){a(`update:modelValue`,``),a(`clear`),o.value?.focus()}return(n,r)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,J,[t.label?((0,e.openBlock)(),(0,e.createElementBlock)(`label`,{key:0,class:`ik-tf-label`,for:s.value},[(0,e.createTextVNode)((0,e.toDisplayString)(t.label)+` `,1),t.required?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,X,`*`)):(0,e.createCommentVNode)(``,!0)],8,Y)):(0,e.createCommentVNode)(``,!0),(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)(d.value)},[n.$slots.iconBefore?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,Z,[(0,e.renderSlot)(n.$slots,`iconBefore`)])):(0,e.createCommentVNode)(``,!0),(0,e.createElementVNode)(`input`,{id:s.value,ref_key:`inputRef`,ref:o,class:`ik-tf-input`,type:t.type,value:t.modelValue,disabled:t.disabled,placeholder:t.placeholder,"aria-invalid":l.value||void 0,"aria-describedby":f.value,onInput:p},null,40,Q),u.value?((0,e.openBlock)(),(0,e.createElementBlock)(`button`,{key:1,type:`button`,class:`ik-tf-clear`,"aria-label":t.clearLabel,onClick:m},[...r[0]||=[(0,e.createElementVNode)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.6`,"stroke-linecap":`round`,"aria-hidden":`true`},[(0,e.createElementVNode)(`line`,{x1:`4`,y1:`4`,x2:`12`,y2:`12`}),(0,e.createElementVNode)(`line`,{x1:`12`,y1:`4`,x2:`4`,y2:`12`})],-1)]],8,$)):(0,e.createCommentVNode)(``,!0)],2),c.value||t.hint?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:1,id:`${s.value}-msg`,class:(0,e.normalizeClass)((0,e.unref)(i)(`ik-tf-msg`,l.value&&`is-error`))},(0,e.toDisplayString)(c.value||t.hint),11,te)):(0,e.createCommentVNode)(``,!0)]))}}),re={class:`ik-tabs`},ie=[`aria-label`],ae=[`id`,`aria-selected`,`aria-controls`,`tabindex`,`disabled`,`onClick`,`onKeydown`],oe=[`id`,`aria-labelledby`,`hidden`],se=(0,e.defineComponent)({__name:`Tabs`,props:{items:{},modelValue:{},defaultValue:{},ariaLabel:{}},emits:[`update:modelValue`],setup(t,{emit:n}){let r=t,i=n,a=v(g(`ik-tabs`)),o=(0,e.ref)(r.modelValue??r.defaultValue??y(r.items));(0,e.watch)(()=>r.modelValue,e=>{e!=null&&(o.value=e)});let s=(0,e.computed)(()=>r.modelValue??o.value),c=(0,e.ref)({});function l(e,t){c.value[e]=t}function u(e){o.value=e,i(`update:modelValue`,e)}function d(e,t){let n=b(r.items,t,e.key);n&&(e.preventDefault(),u(n),c.value[n]?.focus())}return(n,r)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,re,[(0,e.createElementVNode)(`div`,{class:`ik-tabs-list`,role:`tablist`,"aria-label":t.ariaLabel},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(t.items,t=>((0,e.openBlock)(),(0,e.createElementBlock)(`button`,{key:t.value,ref_for:!0,ref:e=>l(t.value,e),type:`button`,role:`tab`,id:(0,e.unref)(a).tab(t.value),"aria-selected":t.value===s.value,"aria-controls":(0,e.unref)(a).panel(t.value),tabindex:t.value===s.value?0:-1,disabled:t.disabled,class:`ik-tabs-tab`,onClick:e=>u(t.value),onKeydown:e=>d(e,t.value)},(0,e.toDisplayString)(t.label),41,ae))),128))],8,ie),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(t.items,t=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:t.value,role:`tabpanel`,id:(0,e.unref)(a).panel(t.value),"aria-labelledby":(0,e.unref)(a).tab(t.value),hidden:t.value!==s.value,tabindex:0,class:`ik-tabs-panel`},[t.value===s.value?(0,e.renderSlot)(n.$slots,t.value,{key:0},()=>[(0,e.createTextVNode)((0,e.toDisplayString)(t.content),1)]):(0,e.createCommentVNode)(``,!0)],8,oe))),128))]))}});exports.Alert=N,exports.Badge=d,exports.Button=l,exports.Card=F,exports.CardBody=U,exports.CardFooter=q,exports.CardHeader=ee,exports.Icon=r,exports.Spinner=m,exports.Switch=E,exports.Tabs=se,exports.TextField=ne;
2
+ //# sourceMappingURL=index.cjs.map