@mobilon-dev/chotto 0.3.31 → 0.3.32

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.
@@ -0,0 +1,7 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ isLoading: boolean;
3
+ $props: {
4
+ readonly isLoading?: boolean | undefined;
5
+ };
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import LoadingIndicator from '../LoadingIndicator.vue';
3
+ declare const meta: Meta<typeof LoadingIndicator>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LoadingIndicator>;
6
+ export declare const Default: Story;
7
+ export declare const Hidden: Story;
8
+ export declare const InContainer: Story;
9
+ export declare const Overlay: Story;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * CSS переменные для компонента LoadingIndicator
3
+ */
4
+ export interface LoadingIndicatorThemeCSSVariables {
5
+ /** Позиционирование индикатора загрузки */
6
+ '--chotto-loadingindicator-position': string;
7
+ /** Позиция индикатора сверху */
8
+ '--chotto-loadingindicator-top': string;
9
+ /** Позиция индикатора слева */
10
+ '--chotto-loadingindicator-left': string;
11
+ /** Позиция индикатора справа */
12
+ '--chotto-loadingindicator-right': string;
13
+ /** Позиция индикатора снизу */
14
+ '--chotto-loadingindicator-bottom': string;
15
+ /** Отображение индикатора */
16
+ '--chotto-loadingindicator-display': string;
17
+ /** Выравнивание элементов по вертикали */
18
+ '--chotto-loadingindicator-align-items': string;
19
+ /** Выравнивание элементов по горизонтали */
20
+ '--chotto-loadingindicator-justify-content': string;
21
+ /** Z-index индикатора */
22
+ '--chotto-loadingindicator-z-index': string;
23
+ /** Цвет обводки точек */
24
+ '--chotto-loadingindicator-dot-stroke': string;
25
+ /** Толщина обводки точек */
26
+ '--chotto-loadingindicator-dot-stroke-width': string;
27
+ /** Заливка точек */
28
+ '--chotto-loadingindicator-dot-fill': string;
29
+ /** Длительность анимации */
30
+ '--chotto-loadingindicator-animation-duration': string;
31
+ /** Задержка анимации для первой точки */
32
+ '--chotto-loadingindicator-dot-1-delay': string;
33
+ /** Задержка анимации для второй точки */
34
+ '--chotto-loadingindicator-dot-2-delay': string;
35
+ /** Задержка анимации для третьей точки */
36
+ '--chotto-loadingindicator-dot-3-delay': string;
37
+ /** Задержка анимации для четвертой точки */
38
+ '--chotto-loadingindicator-dot-4-delay': string;
39
+ /** Задержка анимации для пятой точки */
40
+ '--chotto-loadingindicator-dot-5-delay': string;
41
+ /** Минимальная прозрачность при пульсации */
42
+ '--chotto-loadingindicator-pulse-opacity-min': string;
43
+ /** Максимальная прозрачность при пульсации */
44
+ '--chotto-loadingindicator-pulse-opacity-max': string;
45
+ /** Минимальная толщина обводки при пульсации */
46
+ '--chotto-loadingindicator-pulse-stroke-width-min': string;
47
+ /** Максимальная толщина обводки при пульсации */
48
+ '--chotto-loadingindicator-pulse-stroke-width-max': string;
49
+ }
@@ -2,7 +2,7 @@ import { type Component, type ComputedRef, type Ref } from 'vue';
2
2
  /**
3
3
  * Список поддерживаемых типов каналов в панели коммуникаций.
4
4
  */
5
- export declare const CHANNEL_TYPES: readonly ["phone", "whatsapp", "telegram", "max", "sms"];
5
+ export declare const CHANNEL_TYPES: readonly ["whatsapp", "telegram", "max", "sms", "phone"];
6
6
  export type ChannelType = (typeof CHANNEL_TYPES)[number];
7
7
  /**
8
8
  * Базовое описание канала.
@@ -8,6 +8,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
8
8
  chats: unknown[];
9
9
  searchQuery: string;
10
10
  showDialogs: boolean;
11
+ isLoading: boolean;
11
12
  filterEnabled: boolean;
12
13
  filterQuery: string;
13
14
  dialogTabs: unknown[];
@@ -19,6 +20,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
19
20
  readonly chats?: unknown[] | undefined;
20
21
  readonly searchQuery?: string | undefined;
21
22
  readonly showDialogs?: boolean | undefined;
23
+ readonly isLoading?: boolean | undefined;
22
24
  readonly filterEnabled?: boolean | undefined;
23
25
  readonly filterQuery?: string | undefined;
24
26
  readonly dialogTabs?: unknown[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobilon-dev/chotto",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",