@poni/adjutant-ui 0.0.117 → 0.0.118

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.
@@ -1,11 +1,8 @@
1
1
  import { IAdjCheckboxItem } from '../types/IAdjCheckboxItem';
2
- import { IAdjFilterSelectItem } from '../types/IAdjFilterSelectItem';
2
+ import { IAdjItem } from '../types/IAdjItem';
3
3
  import { IAdjFiltersItem } from '../types/IAdjFiltersItem';
4
- import { IAdjFiltersMobileItem } from '../types/IAdjFiltersMobileItem';
5
- import { IAdjRadioItem } from '../types/IAdjRadioItem';
6
4
  import { IAdjSelectImageItem } from '../types/IAdjSelectImageItem';
7
- import { IAdjSelectItem } from '../types/IAdjSelectItem';
8
5
  import { IAdjSelectModernItem } from '../types/IAdjSelectModernItem';
9
6
  import { IAdjTabsItem } from '../types/IAdjTabsItem';
10
7
  import { IAdjUploadFileItem } from '../types/IAdjUploadFileItem';
11
- export type { IAdjCheckboxItem, IAdjFilterSelectItem, IAdjFiltersItem, IAdjFiltersMobileItem, IAdjRadioItem, IAdjSelectImageItem, IAdjSelectItem, IAdjSelectModernItem, IAdjTabsItem, IAdjUploadFileItem, };
8
+ export type { IAdjCheckboxItem, IAdjFiltersItem, IAdjItem, IAdjSelectImageItem, IAdjSelectModernItem, IAdjTabsItem, IAdjUploadFileItem, };
@@ -1,12 +1,8 @@
1
- import { IAdjFilterSelectItem } from './IAdjFilterSelectItem';
1
+ import { IAdjItem } from './IAdjItem';
2
2
  import { THorizontalPosition } from '../misc/types';
3
- export interface IAdjFiltersItem {
4
- /** Название/заголовок */
5
- title: string;
3
+ export interface IAdjFiltersItem extends IAdjItem {
6
4
  /** Расположение */
7
5
  position?: THorizontalPosition;
8
6
  /** Список элементов */
9
- items: IAdjFilterSelectItem[];
10
- /** Неактивный */
11
- disabled?: boolean;
7
+ items?: IAdjItem[];
12
8
  }
@@ -0,0 +1,8 @@
1
+ export interface IAdjItem {
2
+ /** ID */
3
+ id: number | string;
4
+ /** Название/заголовок */
5
+ name: string;
6
+ /** Неактивный */
7
+ disabled?: boolean;
8
+ }
@@ -1,8 +1,5 @@
1
- export interface IAdjSelectImageItem {
2
- /** ID */
3
- id: number | string;
4
- /** Название/заголовок */
5
- name: string;
1
+ import { IAdjItem } from './IAdjItem';
2
+ export interface IAdjSelectImageItem extends IAdjItem {
6
3
  /** Url-адрес картинки */
7
4
  image: string;
8
5
  }
@@ -1,6 +1,5 @@
1
- export interface IAdjSelectModernItem {
2
- id: number | string;
3
- name: string;
1
+ import { IAdjItem } from './IAdjItem';
2
+ export interface IAdjSelectModernItem extends IAdjItem {
4
3
  image?: string;
5
4
  background?: string;
6
5
  }
@@ -1,6 +1,4 @@
1
- export interface IAdjTabsItem {
2
- id: number | string;
3
- name: string;
4
- disabled?: boolean;
1
+ import { IAdjItem } from './IAdjItem';
2
+ export interface IAdjTabsItem extends IAdjItem {
5
3
  number?: number;
6
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poni/adjutant-ui",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -76,7 +76,7 @@
76
76
  "typescript": "^5.7.2",
77
77
  "vite": "^6.0.7",
78
78
  "vite-plugin-dts": "^4.4.0",
79
- "vite-plugin-vue-devtools": "^7.6.8",
79
+ "vite-plugin-vue-devtools": "^7.7.0",
80
80
  "vue": "^3.5.13",
81
81
  "vue-tsc": "^2.2.0"
82
82
  },
@@ -1,5 +0,0 @@
1
- export interface IAdjFilterSelectItem {
2
- id: number;
3
- name: string;
4
- disabled?: boolean;
5
- }
@@ -1,12 +0,0 @@
1
- import { IAdjFilterSelectItem } from './IAdjFilterSelectItem';
2
- import { THorizontalPosition } from '../misc/types';
3
- export interface IAdjFiltersMobileItem {
4
- /** Название/заголовок */
5
- title: string;
6
- /** Расположение */
7
- position?: THorizontalPosition;
8
- /** Список элементов */
9
- items?: IAdjFilterSelectItem[];
10
- /** Неактивный */
11
- disabled?: boolean;
12
- }
@@ -1,4 +0,0 @@
1
- export interface IAdjRadioItem {
2
- id: number | string;
3
- name: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface IAdjSelectItem {
2
- id: number;
3
- name: string;
4
- }