@dxtmisha/functional 1.2.0 → 1.4.2
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/dist/ScrollbarWidth-D6yhyHBp.js +2184 -0
- package/dist/classes/ref/DatetimeRef.d.ts +1 -3
- package/dist/classes/ref/EventRef.d.ts +1 -2
- package/dist/classes/ref/GeoFlagRef.d.ts +1 -2
- package/dist/classes/ref/GeoIntlRef.d.ts +1 -2
- package/dist/classes/ref/GeoRef.d.ts +1 -1
- package/dist/composables/ref/__tests__/useMeta.test.d.ts +4 -0
- package/dist/composables/ref/useApiRef.d.ts +2 -2
- package/dist/composables/ref/useCookieRef.d.ts +1 -1
- package/dist/composables/ref/useMeta.d.ts +21 -0
- package/dist/composables/ref/useTranslateRef.d.ts +1 -1
- package/dist/flags.js +1 -1
- package/dist/functions/basic.d.ts +1 -0
- package/dist/functions/computedByLanguage.d.ts +15 -0
- package/dist/functions/ref/getBindRef.d.ts +1 -1
- package/dist/functions/ref/render.d.ts +1 -1
- package/dist/functions/render/getBind.d.ts +2 -2
- package/dist/functions/render/getClassName.d.ts +1 -1
- package/dist/functions/render/getIndexForRender.d.ts +1 -1
- package/dist/functions/toBind.d.ts +1 -1
- package/dist/functions/toBinds.d.ts +1 -1
- package/dist/library.d.ts +3 -97
- package/dist/library.js +1906 -1765
- package/dist/types/constructorTypes.d.ts +3 -3
- package/dist/types/listTypes.d.ts +1 -1
- package/package.json +6 -5
- package/dist/Icons-Bp74_rUm.js +0 -1301
- package/dist/classes/Api.d.ts +0 -305
- package/dist/classes/BroadcastMessage.d.ts +0 -36
- package/dist/classes/Cache.d.ts +0 -34
- package/dist/classes/CacheItem.d.ts +0 -55
- package/dist/classes/CacheStatic.d.ts +0 -17
- package/dist/classes/Cookie.d.ts +0 -58
- package/dist/classes/CookieBlock.d.ts +0 -22
- package/dist/classes/DataStorage.d.ts +0 -82
- package/dist/classes/Datetime.d.ts +0 -482
- package/dist/classes/EventItem.d.ts +0 -160
- package/dist/classes/Geo.d.ts +0 -168
- package/dist/classes/GeoFlag.d.ts +0 -79
- package/dist/classes/GeoIntl.d.ts +0 -262
- package/dist/classes/GeoPhone.d.ts +0 -107
- package/dist/classes/Global.d.ts +0 -21
- package/dist/classes/Hash.d.ts +0 -59
- package/dist/classes/Icons.d.ts +0 -90
- package/dist/classes/Loading.d.ts +0 -49
- package/dist/classes/ScrollbarWidth.d.ts +0 -33
- package/dist/classes/Translate.d.ts +0 -116
- package/dist/functions/anyToString.d.ts +0 -7
- package/dist/functions/applyTemplate.d.ts +0 -10
- package/dist/functions/arrFill.d.ts +0 -8
- package/dist/functions/copyObject.d.ts +0 -8
- package/dist/functions/createElement.d.ts +0 -13
- package/dist/functions/domQuerySelector.d.ts +0 -7
- package/dist/functions/domQuerySelectorAll.d.ts +0 -7
- package/dist/functions/eventStopPropagation.d.ts +0 -7
- package/dist/functions/executeFunction.d.ts +0 -8
- package/dist/functions/executePromise.d.ts +0 -7
- package/dist/functions/forEach.d.ts +0 -11
- package/dist/functions/frame.d.ts +0 -16
- package/dist/functions/getAttributes.d.ts +0 -8
- package/dist/functions/getClipboardData.d.ts +0 -11
- package/dist/functions/getColumn.d.ts +0 -10
- package/dist/functions/getElement.d.ts +0 -8
- package/dist/functions/getElementId.d.ts +0 -9
- package/dist/functions/getElementItem.d.ts +0 -11
- package/dist/functions/getElementOrWindow.d.ts +0 -8
- package/dist/functions/getExp.d.ts +0 -13
- package/dist/functions/getItemByPath.d.ts +0 -8
- package/dist/functions/getKey.d.ts +0 -7
- package/dist/functions/getLengthOfAllArray.d.ts +0 -8
- package/dist/functions/getMaxLengthAllArray.d.ts +0 -8
- package/dist/functions/getMinLengthAllArray.d.ts +0 -8
- package/dist/functions/getMouseClient.d.ts +0 -8
- package/dist/functions/getMouseClientX.d.ts +0 -7
- package/dist/functions/getMouseClientY.d.ts +0 -7
- package/dist/functions/getObjectByKeys.d.ts +0 -8
- package/dist/functions/getObjectNoUndefined.d.ts +0 -8
- package/dist/functions/getObjectOrNone.d.ts +0 -7
- package/dist/functions/getRandomText.d.ts +0 -11
- package/dist/functions/getRequestString.d.ts +0 -9
- package/dist/functions/getStepPercent.d.ts +0 -8
- package/dist/functions/getStepValue.d.ts +0 -8
- package/dist/functions/goScroll.d.ts +0 -10
- package/dist/functions/inArray.d.ts +0 -8
- package/dist/functions/initScrollbarOffset.d.ts +0 -6
- package/dist/functions/intersectKey.d.ts +0 -8
- package/dist/functions/isArray.d.ts +0 -7
- package/dist/functions/isDifferent.d.ts +0 -9
- package/dist/functions/isDomRuntime.d.ts +0 -10
- package/dist/functions/isFilled.d.ts +0 -9
- package/dist/functions/isFloat.d.ts +0 -7
- package/dist/functions/isFunction.d.ts +0 -8
- package/dist/functions/isInDom.d.ts +0 -8
- package/dist/functions/isIntegerBetween.d.ts +0 -8
- package/dist/functions/isNull.d.ts +0 -8
- package/dist/functions/isNumber.d.ts +0 -7
- package/dist/functions/isObject.d.ts +0 -7
- package/dist/functions/isObjectNotArray.d.ts +0 -7
- package/dist/functions/isSelected.d.ts +0 -8
- package/dist/functions/isSelectedByList.d.ts +0 -8
- package/dist/functions/isString.d.ts +0 -7
- package/dist/functions/isWindow.d.ts +0 -7
- package/dist/functions/random.d.ts +0 -8
- package/dist/functions/replaceRecursive.d.ts +0 -10
- package/dist/functions/replaceTemplate.d.ts +0 -9
- package/dist/functions/secondToTime.d.ts +0 -7
- package/dist/functions/setElementItem.d.ts +0 -10
- package/dist/functions/setValues.d.ts +0 -17
- package/dist/functions/splice.d.ts +0 -12
- package/dist/functions/strFill.d.ts +0 -8
- package/dist/functions/toArray.d.ts +0 -17
- package/dist/functions/toCamelCase.d.ts +0 -7
- package/dist/functions/toCamelCaseFirst.d.ts +0 -7
- package/dist/functions/toDate.d.ts +0 -7
- package/dist/functions/toKebabCase.d.ts +0 -15
- package/dist/functions/toNumber.d.ts +0 -8
- package/dist/functions/toNumberByMax.d.ts +0 -9
- package/dist/functions/toPercent.d.ts +0 -8
- package/dist/functions/toPercentBy100.d.ts +0 -8
- package/dist/functions/transformation.d.ts +0 -21
- package/dist/functions/uniqueArray.d.ts +0 -7
- package/dist/functions/writeClipboardData.d.ts +0 -7
- package/dist/types/basicTypes.d.ts +0 -126
- package/dist/types/geoTypes.d.ts +0 -86
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref, PropType } from 'vue';
|
|
2
|
-
import { Undefined } from '
|
|
2
|
+
import { Undefined } from '@dxtmisha/functional-basic';
|
|
3
3
|
import { RefOrNormal, RefType } from './refTypes';
|
|
4
4
|
/** Generic record type for constructor items/ Дженерик тип записи для элементов конструктора */
|
|
5
5
|
export type ConstrItem = Record<string, any>;
|
|
@@ -17,9 +17,9 @@ export type ConstrComponent = Record<string, any>;
|
|
|
17
17
|
export type ConstrComponentMod<P extends ConstrItem> = ConstrItem | {
|
|
18
18
|
[K in keyof P]?: RefOrNormal<P[K]>;
|
|
19
19
|
};
|
|
20
|
-
/** Utility type to convert union types to intersection types/ Утилитарный тип
|
|
20
|
+
/** Utility type to convert union types to intersection types/ Утилитарный тип для преобразования объединенных типов в пересеченные */
|
|
21
21
|
export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
22
|
-
/** Extract emit item type from constructor item/ Извлечение типа
|
|
22
|
+
/** Extract emit item type from constructor item/ Извлечение типа элемента emit из элемента конструктора */
|
|
23
23
|
export type ConstrEmitItem<T extends ConstrItem> = T[keyof T];
|
|
24
24
|
/**
|
|
25
25
|
* Constructor emit type with proper event handler signatures/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { NumberOrString, NumberOrStringOrBoolean } from '@dxtmisha/functional-basic';
|
|
1
2
|
import { ConstrBind } from './constructorTypes';
|
|
2
|
-
import { NumberOrString, NumberOrStringOrBoolean } from './basicTypes';
|
|
3
3
|
/** Type of list item/ Тип элемента списка */
|
|
4
4
|
export type ListType = 'item' | 'space' | 'line' | 'subtitle' | 'html' | 'menu' | 'menu-group' | 'group';
|
|
5
5
|
/** Basic data structure for list item/ Базовая структура данных для элемента списка */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/functional",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Comprehensive functional utilities library for DXT UI - classes, composables, functions and types for modern web development",
|
|
7
7
|
"keywords": [
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
],
|
|
22
22
|
"author": "dxtmisha@gmail.com",
|
|
23
23
|
"license": "MIT",
|
|
24
|
-
"homepage": "https://github.com/dxtmisha/dxt-ui/tree/main/packages/functional",
|
|
24
|
+
"homepage": "https://github.com/dxtmisha/dxt-ui/tree/main/packages/functional-basic",
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
27
|
"url": "git+https://github.com/dxtmisha/dxt-ui.git",
|
|
28
|
-
"directory": "packages/functional"
|
|
28
|
+
"directory": "packages/functional-basic"
|
|
29
29
|
},
|
|
30
30
|
"bugs": {
|
|
31
31
|
"url": "https://github.com/dxtmisha/dxt-ui/issues"
|
|
@@ -62,8 +62,9 @@
|
|
|
62
62
|
"node": ">=18.0.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@dxtmisha/media": "
|
|
66
|
-
"
|
|
65
|
+
"@dxtmisha/media": "*",
|
|
66
|
+
"@dxtmisha/functional-basic": "*",
|
|
67
|
+
"vue": "*"
|
|
67
68
|
},
|
|
68
69
|
"peerDependenciesMeta": {
|
|
69
70
|
"@dxtmisha/media": {
|