@dxtmisha/functional 1.15.13 → 1.15.14

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 (75) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/ai-description.md +7 -7
  3. package/ai-mcp-resources.json +8 -8
  4. package/ai-types.md +1 -1645
  5. package/dist/library.d.ts +3556 -67
  6. package/dist/library.js +281 -311
  7. package/package.json +11 -4
  8. package/dist/classes/design/DesignAbstract.d.ts +0 -61
  9. package/dist/classes/design/DesignAsyncAbstract.d.ts +0 -28
  10. package/dist/classes/design/DesignChanged.d.ts +0 -42
  11. package/dist/classes/design/DesignComp.d.ts +0 -4
  12. package/dist/classes/design/DesignComponents.d.ts +0 -81
  13. package/dist/classes/design/DesignConstructorAbstract.d.ts +0 -150
  14. package/dist/classes/ref/DatetimeRef.d.ts +0 -123
  15. package/dist/classes/ref/EffectScopeGlobal.d.ts +0 -22
  16. package/dist/classes/ref/EventRef.d.ts +0 -22
  17. package/dist/classes/ref/GeoFlagRef.d.ts +0 -82
  18. package/dist/classes/ref/GeoIntlRef.d.ts +0 -220
  19. package/dist/classes/ref/GeoRef.d.ts +0 -82
  20. package/dist/classes/ref/GeoUnitRef.d.ts +0 -153
  21. package/dist/classes/ref/ListDataRef.d.ts +0 -366
  22. package/dist/classes/ref/RouterItemRef.d.ts +0 -61
  23. package/dist/classes/ref/ScrollbarWidthRef.d.ts +0 -22
  24. package/dist/composables/ref/useApiAsyncRef.d.ts +0 -70
  25. package/dist/composables/ref/useApiDelete.d.ts +0 -23
  26. package/dist/composables/ref/useApiGet.d.ts +0 -23
  27. package/dist/composables/ref/useApiManagementAsyncRef.d.ts +0 -58
  28. package/dist/composables/ref/useApiManagementRef.d.ts +0 -161
  29. package/dist/composables/ref/useApiPost.d.ts +0 -23
  30. package/dist/composables/ref/useApiPut.d.ts +0 -23
  31. package/dist/composables/ref/useApiRef.d.ts +0 -159
  32. package/dist/composables/ref/useApiRequest.d.ts +0 -105
  33. package/dist/composables/ref/useBroadcastValueRef.d.ts +0 -11
  34. package/dist/composables/ref/useCookieRef.d.ts +0 -11
  35. package/dist/composables/ref/useFormattersRef.d.ts +0 -21
  36. package/dist/composables/ref/useGeoIntlRef.d.ts +0 -14
  37. package/dist/composables/ref/useGeoUnitRef.d.ts +0 -7
  38. package/dist/composables/ref/useHashRef.d.ts +0 -9
  39. package/dist/composables/ref/useLazyItemByMarginRef.d.ts +0 -24
  40. package/dist/composables/ref/useLazyRef.d.ts +0 -42
  41. package/dist/composables/ref/useLoadingRef.d.ts +0 -7
  42. package/dist/composables/ref/useMeta.d.ts +0 -223
  43. package/dist/composables/ref/useQueryRef.d.ts +0 -9
  44. package/dist/composables/ref/useRouterList.d.ts +0 -28
  45. package/dist/composables/ref/useSearchRef.d.ts +0 -36
  46. package/dist/composables/ref/useSearchValueRef.d.ts +0 -19
  47. package/dist/composables/ref/useSessionRef.d.ts +0 -9
  48. package/dist/composables/ref/useStorageRef.d.ts +0 -10
  49. package/dist/composables/ref/useTranslateRef.d.ts +0 -40
  50. package/dist/flags.d.ts +0 -1
  51. package/dist/functions/basic.d.ts +0 -1
  52. package/dist/functions/computedAsync.d.ts +0 -13
  53. package/dist/functions/computedByLanguage.d.ts +0 -15
  54. package/dist/functions/computedEternity.d.ts +0 -15
  55. package/dist/functions/dxtFunctionalPlugin.d.ts +0 -82
  56. package/dist/functions/executeUse.d.ts +0 -216
  57. package/dist/functions/getInject.d.ts +0 -7
  58. package/dist/functions/getOptions.d.ts +0 -10
  59. package/dist/functions/ref/executeFunctionRef.d.ts +0 -11
  60. package/dist/functions/ref/getApiErrorRef.d.ts +0 -10
  61. package/dist/functions/ref/getBindRef.d.ts +0 -13
  62. package/dist/functions/ref/getRef.d.ts +0 -8
  63. package/dist/functions/ref/render.d.ts +0 -13
  64. package/dist/functions/ref/setRef.d.ts +0 -9
  65. package/dist/functions/ref/toRefItem.d.ts +0 -9
  66. package/dist/functions/render/getBind.d.ts +0 -14
  67. package/dist/functions/render/getClassName.d.ts +0 -8
  68. package/dist/functions/render/getIndexForRender.d.ts +0 -10
  69. package/dist/functions/toBind.d.ts +0 -10
  70. package/dist/functions/toBinds.d.ts +0 -9
  71. package/dist/types/apiTypes.d.ts +0 -74
  72. package/dist/types/constructorTypes.d.ts +0 -126
  73. package/dist/types/listTypes.d.ts +0 -65
  74. package/dist/types/refTypes.d.ts +0 -43
  75. package/dist/types/searchTypes.d.ts +0 -10
@@ -1,65 +0,0 @@
1
- import { NumberOrString, NumberOrStringOrBoolean } from '@dxtmisha/functional-basic';
2
- import { ConstrBind } from './constructorTypes';
3
- /** Type of list item/ Тип элемента списка */
4
- export type ListType = 'item' | 'space' | 'line' | 'subtitle' | 'html' | 'menu' | 'menu-group' | 'group';
5
- /** Basic data structure for list item/ Базовая структура данных для элемента списка */
6
- export type ListDataBasic = {
7
- /** Optional display label/ Опциональная отображаемая метка */
8
- label?: NumberOrString;
9
- /** Any value associated with the item/ Любое значение, связанное с элементом */
10
- value?: any;
11
- /** Search text for filtering/ Текст поиска для фильтрации */
12
- search?: string;
13
- };
14
- /** Extended list item with type and index/ Расширенный элемент списка с типом и индексом */
15
- export type ListDataItem<Item extends ListDataBasic = ListDataBasic> = ConstrBind<Item & {
16
- /** Parent item identifier/ Идентификатор родительского элемента */
17
- parent?: string;
18
- /** Type of list item/ Тип элемента списка */
19
- type: ListType;
20
- /** Unique item identifier/ Уникальный идентификатор элемента */
21
- index: string;
22
- /** Whether the item is disabled/ Отключен ли элемент */
23
- disabled?: boolean;
24
- }>;
25
- /** Array of list data items/ Массив элементов данных списка */
26
- export type ListList<Item extends ListDataBasic = ListDataBasic> = ListDataItem<Item>[];
27
- /**
28
- * List or record structure for list data/
29
- * Структура списка или записи для данных списка
30
- */
31
- export type ListRecord<Item extends ListDataBasic = ListDataBasic> = Item[] | Record<string, Item>;
32
- /**
33
- * Extended list item with additional state properties/
34
- * Расширенный элемент списка с дополнительными свойствами состояния
35
- */
36
- export type ListDataFullItem<Item extends ListDataBasic = ListDataBasic> = ListDataItem<Item> & {
37
- /** Whether the item has focus/ Имеет ли элемент фокус */
38
- focus: boolean;
39
- /** Highlighted text portion/ Выделенная часть текста */
40
- highlight?: string;
41
- /** Whether the item is selected/ Выбран ли элемент */
42
- selected: boolean;
43
- /** Whether the item is disabled/ Отключен ли элемент */
44
- disabled?: boolean;
45
- };
46
- /**
47
- * Array of extended list items with state/
48
- * Массив расширенных элементов списка с состоянием
49
- */
50
- export type ListDataFull<Item extends ListDataBasic = ListDataBasic> = ListDataFullItem<Item>[];
51
- /** Input item for list creation/ Входной элемент для создания списка */
52
- export type ListListInputItem<Item extends ListDataBasic = ListDataBasic> = ConstrBind<Item>;
53
- /**
54
- * Various input formats for list creation/
55
- * Различные форматы входных данных для создания списка
56
- */
57
- export type ListListInput<Item extends ListDataBasic = ListDataBasic> = ListListInputItem<Item>[] | string[] | Record<string, ListListInputItem<Item>> | Record<string, string>;
58
- /** Single selected item identifier/ Идентификатор одного выбранного элемента */
59
- export type ListSelectedItem = NumberOrStringOrBoolean;
60
- /** Single or multiple selected items/ Один или несколько выбранных элементов */
61
- export type ListSelectedList = ListSelectedItem | ListSelectedItem[];
62
- /** Name of selected list item/ Название выбранного элемента списка */
63
- export type ListName = string | number | undefined;
64
- /** Array of list item names/ Массив названий выбранных элементов списка */
65
- export type ListNames = ListName[];
@@ -1,43 +0,0 @@
1
- import { ComputedRef, Ref, VNode, VNodeArrayChildren } from 'vue';
2
- /**
3
- * Union type for Vue reactive references (computed or ref)/
4
- * Объединенный тип для Vue реактивных ссылок (computed или ref)
5
- */
6
- export type RefType<T> = ComputedRef<T> | Ref<T>;
7
- /**
8
- * Union type for Vue reactive references that can be undefined/
9
- * Объединенный тип для Vue реактивных ссылок, которые могут быть undefined
10
- */
11
- export type RefUndefined<T> = RefType<T | undefined>;
12
- /**
13
- * Union type that can be either a Vue reactive reference or a normal value/
14
- * Объединенный тип, который может быть либо Vue реактивной ссылкой, либо обычным значением
15
- */
16
- export type RefOrNormal<T> = RefType<T> | T;
17
- /**
18
- * Union type that can be either a Vue reactive reference or a normal value or
19
- * a function that returns a Vue reactive reference or a normal value/
20
- * Объединенный тип, который может быть либо Vue реактивной ссылкой, либо обычным
21
- * значением, либо функцией, которая возвращает Vue реактивную ссылку или обычное значение
22
- */
23
- export type RefOrNormalOrFunction<T> = RefOrNormal<T> | (() => RefOrNormal<T>);
24
- /**
25
- * Union type for Vue raw children content
26
- * (strings, numbers, booleans, VNodes, arrays, functions)/
27
- * Объединенный тип для Vue сырого содержимого дочерних элементов
28
- * (строки, числа, булевы, VNode, массивы, функции)
29
- */
30
- export type RawChildren = string | number | boolean | VNode | VNodeArrayChildren | (() => any);
31
- /**
32
- * Type for Vue raw slots with optional stability flag/
33
- * Тип для Vue сырых слотов с опциональным флагом стабильности
34
- */
35
- export type RawSlots = {
36
- /** Slot name mapping to unknown content/ Маппинг имени слота к неизвестному содержимому */
37
- [name: string]: unknown;
38
- /**
39
- * Optional stability flag for performance optimization/
40
- * Опциональный флаг стабильности для оптимизации производительности
41
- */
42
- $stable?: boolean;
43
- };
@@ -1,10 +0,0 @@
1
- import { RefOrNormal } from './refTypes';
2
- import { SearchColumns, SearchItem, SearchListValue } from '@dxtmisha/functional-basic';
3
- /** Search list data / Данные списка поиска */
4
- export type SearchListValueRef<T extends SearchItem> = RefOrNormal<SearchListValue<T>>;
5
- /** Search list input / Входные данные списка поиска */
6
- export type SearchListInput<T extends SearchItem> = SearchListValueRef<T> | (() => SearchListValueRef<T>);
7
- /** Search columns ref / Реактивные столбцы поиска */
8
- export type SearchColumnsRef<T extends SearchItem, K extends SearchColumns<T>> = RefOrNormal<K>;
9
- /** Search columns input / Входные данные столбцов поиска */
10
- export type SearchColumnsInput<T extends SearchItem, K extends SearchColumns<T>> = SearchColumnsRef<T, K> | (() => SearchColumnsRef<T, K>);