infinity-forge 2.3.9 → 2.4.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.
- package/dist/sites/components/default-pages/blog/components/blog-item/share/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +2 -2
- package/dist/system/data/use-cases/menu/remote-get-menu.d.ts +2 -1
- package/dist/system/data/use-cases/menu/remote-get-menu.js +1 -1
- package/dist/system/data/use-cases/notifications/remote-notifications.d.ts +2 -1
- package/dist/system/data/use-cases/notifications/remote-notifications.js +1 -1
- package/dist/system/data/use-cases/users/remote-load-user-admin.d.ts +2 -1
- package/dist/system/data/use-cases/users/remote-load-user-admin.js +1 -1
- package/dist/system/data/use-cases/users/remote-users.d.ts +2 -1
- package/dist/system/data/use-cases/users/remote-users.js +1 -1
- package/dist/system/domain/use-cases/dynamic-section/dynamic-section.d.ts +2 -1
- package/dist/system/domain/use-cases/menu/detail.d.ts +2 -1
- package/dist/system/domain/use-cases/menu/load-all.d.ts +2 -1
- package/dist/system/domain/use-cases/users/load-all-users.d.ts +2 -1
- package/dist/system/domain/use-cases/users/load-user-admin.d.ts +2 -1
- package/dist/system/presentation/components/data/menu/components/menu-item/index.js +3 -3
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +5 -5
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +1 -1
- package/dist/system/presentation/components/data/menu/modes/opened/index.js +3 -3
- package/dist/system/presentation/components/data/menu/modes/opened/styles.js +1 -1
- package/dist/system/presentation/components/data/tab/tab-item/index.d.ts +0 -5
- package/dist/system/presentation/components/data/tab/tab-item/index.js +0 -46
- package/dist/system/presentation/components/data/tab/tab-item/styles.d.ts +0 -8
- package/dist/system/presentation/components/layout/header/components/index.d.ts +0 -2
- package/dist/system/presentation/components/layout/header/components/index.js +0 -19
- package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +36 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +38 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +0 -2
- package/dist/system/presentation/components/layout/header/version-01/index.js +0 -45
- package/dist/system/presentation/components/pages/menus/table/columns.d.ts +0 -3
- package/dist/system/presentation/components/pages/menus/table/columns.js +0 -21
- package/dist/system/presentation/components/pages/menus/table/create.d.ts +0 -3
- package/dist/system/presentation/components/pages/menus/table/create.js +0 -72
- package/dist/system/presentation/components/pages/menus/table/delete.js +0 -71
- package/dist/system/presentation/components/pages/menus/table/edit.d.ts +0 -3
- package/dist/system/presentation/components/pages/menus/table/edit.js +0 -78
- package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
- package/dist/system/presentation/components/pages/menus/table/index.d.ts +0 -4
- package/dist/system/presentation/components/pages/menus/table/index.js +0 -21
- package/dist/system/presentation/components/pages/users/table/columns.d.ts +0 -3
- package/dist/system/presentation/components/pages/users/table/create.d.ts +0 -3
- package/dist/system/presentation/components/pages/users/table/create.js +0 -75
- package/dist/system/presentation/components/pages/users/table/delete.js +0 -74
- package/dist/system/presentation/components/pages/users/table/edit.d.ts +0 -3
- package/dist/system/presentation/components/pages/users/table/edit.js +0 -83
- package/dist/system/presentation/components/pages/users/table/index.d.ts +0 -4
- package/dist/system/presentation/components/pages/users/table/index.js +0 -21
- package/dist/system/presentation/context/auth/components/login/form-login/index.js +2 -2
- package/dist/system/presentation/context/auth/components/login/index.js +0 -38
- package/dist/system/presentation/context/auth/components/private-page/index.d.ts +0 -2
- package/dist/system/presentation/context/auth/components/private-page/index.js +0 -141
- package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +0 -1
- package/dist/system/presentation/hooks/ui/use-table/components/index.js +0 -18
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +10 -10
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +0 -2
- package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +0 -5
- package/dist/system/presentation/hooks/ui/use-table/query/hook.js +0 -52
- package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +0 -2
- package/dist/system/presentation/hooks/ui/use-table/query/index.js +0 -19
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js +0 -35
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js +0 -94
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.js +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/events/index.js +0 -77
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js +0 -14
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js +0 -194
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js +0 -314
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js +0 -154
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.d.ts +0 -7
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js +0 -12
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.js +0 -14
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js +0 -57
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js +0 -230
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.d.ts +0 -17
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.js +0 -22
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js +0 -160
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js +0 -46
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.d.ts +0 -9
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.js +0 -14
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js +0 -18
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js +0 -19
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js +0 -21
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.d.ts +0 -13
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.js +0 -18
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +0 -81
- package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +0 -21
- package/dist/ui/components/carousel/carousel-lib/core/update/index.js +0 -26
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +0 -125
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +0 -45
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +0 -306
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +0 -69
- package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/index.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +4 -4
- package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/formatValue.js +2 -2
- package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/index.d.ts +8 -8
- package/dist/ui/components/form/input-currency/components/utils/index.js +8 -8
- package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +3 -3
- package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/months/index.js +2 -2
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +2 -2
- package/dist/ui/components/form/input-file/render-files/file-item/index.js +3 -3
- package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +2 -2
- package/dist/ui/components/form/input-mask/lib/core/index.d.ts +5 -5
- package/dist/ui/components/form/input-mask/lib/core/index.js +4 -4
- package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +5 -5
- package/dist/ui/components/form/input-mask/lib/mask/index.js +3 -3
- package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/useMask.js +7 -7
- package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +3 -3
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils.js +5 -5
- package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +4 -4
- package/dist/ui/components/form/input-mask/lib/number-format/index.js +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +6 -6
- package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +24 -0
- package/package.json +75 -75
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { NumberFormatProps } from './types
|
|
3
|
-
import type { InputComponent, InputComponentProps } from '../core
|
|
2
|
+
import type { NumberFormatProps } from './types';
|
|
3
|
+
import type { InputComponent, InputComponentProps } from '../core';
|
|
4
4
|
export type InputNumberFormatProps<C extends React.ComponentType | undefined = undefined> = NumberFormatProps & InputComponentProps<C>;
|
|
5
5
|
declare const InputNumberFormat: InputComponent<NumberFormatProps>;
|
|
6
6
|
export default InputNumberFormat;
|
|
@@ -27,8 +27,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
29
|
var react_1 = require("react");
|
|
30
|
-
var core_1 = require("../core
|
|
31
|
-
var useNumberFormat_1 = __importDefault(require("./useNumberFormat
|
|
30
|
+
var core_1 = require("../core");
|
|
31
|
+
var useNumberFormat_1 = __importDefault(require("./useNumberFormat"));
|
|
32
32
|
function ForwardedInputNumberFormat(_a, forwardedInputRef) {
|
|
33
33
|
var Component = _a.component, locales = _a.locales, format = _a.format, currency = _a.currency, currencyDisplay = _a.currencyDisplay, unit = _a.unit, unitDisplay = _a.unitDisplay, signDisplay = _a.signDisplay, groupDisplay = _a.groupDisplay, minimumIntegerDigits = _a.minimumIntegerDigits, maximumIntegerDigits = _a.maximumIntegerDigits, minimumFractionDigits = _a.minimumFractionDigits, maximumFractionDigits = _a.maximumFractionDigits, onNumberFormat = _a.onNumberFormat, props = __rest(_a, ["component", "locales", "format", "currency", "currencyDisplay", "unit", "unitDisplay", "signDisplay", "groupDisplay", "minimumIntegerDigits", "maximumIntegerDigits", "minimumFractionDigits", "maximumFractionDigits", "onNumberFormat"]);
|
|
34
34
|
var inputRef = (0, useNumberFormat_1.default)({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as InputNumberFormat } from './InputNumberFormat
|
|
2
|
-
export { default as useNumberFormat } from './useNumberFormat
|
|
3
|
-
export type { InputNumberFormatProps } from './InputNumberFormat
|
|
4
|
-
export type { NumberFormatProps, NumberFormatEvent, NumberFormatEventDetail, NumberFormatEventHandler } from './types
|
|
1
|
+
export { default as InputNumberFormat } from './InputNumberFormat';
|
|
2
|
+
export { default as useNumberFormat } from './useNumberFormat';
|
|
3
|
+
export type { InputNumberFormatProps } from './InputNumberFormat';
|
|
4
|
+
export type { NumberFormatProps, NumberFormatEvent, NumberFormatEventDetail, NumberFormatEventHandler } from './types';
|
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.useNumberFormat = exports.InputNumberFormat = void 0;
|
|
7
|
-
var InputNumberFormat_1 = require("./InputNumberFormat
|
|
7
|
+
var InputNumberFormat_1 = require("./InputNumberFormat");
|
|
8
8
|
Object.defineProperty(exports, "InputNumberFormat", { enumerable: true, get: function () { return __importDefault(InputNumberFormat_1).default; } });
|
|
9
|
-
var useNumberFormat_1 = require("./useNumberFormat
|
|
9
|
+
var useNumberFormat_1 = require("./useNumberFormat");
|
|
10
10
|
Object.defineProperty(exports, "useNumberFormat", { enumerable: true, get: function () { return __importDefault(useNumberFormat_1).default; } });
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { NumberFormatProps } from './types
|
|
2
|
+
import type { NumberFormatProps } from './types';
|
|
3
3
|
export default function useNumberFormat({ locales, format, currency, currencyDisplay, unit, unitDisplay, signDisplay, groupDisplay, minimumIntegerDigits, maximumIntegerDigits, minimumFractionDigits, maximumFractionDigits, onNumberFormat, }?: NumberFormatProps): React.MutableRefObject<HTMLInputElement | null>;
|
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var react_1 = require("react");
|
|
7
|
-
var core_1 = require("../core
|
|
8
|
-
var localizeValues_1 = __importDefault(require("./utils/localizeValues
|
|
9
|
-
var resolveDetail_1 = __importDefault(require("./utils/resolveDetail
|
|
10
|
-
var resolveMinimumFractionDigits_1 = __importDefault(require("./utils/resolveMinimumFractionDigits
|
|
11
|
-
var resolveOptions_1 = __importDefault(require("./utils/resolveOptions
|
|
12
|
-
var resolveSelection_1 = __importDefault(require("./utils/resolveSelection
|
|
7
|
+
var core_1 = require("../core");
|
|
8
|
+
var localizeValues_1 = __importDefault(require("./utils/localizeValues"));
|
|
9
|
+
var resolveDetail_1 = __importDefault(require("./utils/resolveDetail"));
|
|
10
|
+
var resolveMinimumFractionDigits_1 = __importDefault(require("./utils/resolveMinimumFractionDigits"));
|
|
11
|
+
var resolveOptions_1 = __importDefault(require("./utils/resolveOptions"));
|
|
12
|
+
var resolveSelection_1 = __importDefault(require("./utils/resolveSelection"));
|
|
13
13
|
function useNumberFormat(_a) {
|
|
14
14
|
var _b = _a === void 0 ? {} : _a, locales = _b.locales, format = _b.format, currency = _b.currency, currencyDisplay = _b.currencyDisplay, unit = _b.unit, unitDisplay = _b.unitDisplay, signDisplay = _b.signDisplay, groupDisplay = _b.groupDisplay, minimumIntegerDigits = _b.minimumIntegerDigits, maximumIntegerDigits = _b.maximumIntegerDigits, minimumFractionDigits = _b.minimumFractionDigits, maximumFractionDigits = _b.maximumFractionDigits,
|
|
15
15
|
// minimumSignificantDigits,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { LocalizedNumberFormatValues, NumberFormatOptions, ResolvedNumberFormatOptions } from '../types
|
|
2
|
-
import type { InputType } from '../../core
|
|
1
|
+
import type { LocalizedNumberFormatValues, NumberFormatOptions, ResolvedNumberFormatOptions } from '../types';
|
|
2
|
+
import type { InputType } from '../../core';
|
|
3
3
|
interface Options {
|
|
4
4
|
inputType: InputType;
|
|
5
5
|
locales: string | string[] | undefined;
|
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
var resolveMinimumFractionDigits_1 = __importDefault(require("./resolveMinimumFractionDigits
|
|
28
|
+
var resolveMinimumFractionDigits_1 = __importDefault(require("./resolveMinimumFractionDigits"));
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @param value
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NumberFormatOptions, ResolvedNumberFormatOptions } from '../types
|
|
1
|
+
import type { NumberFormatOptions, ResolvedNumberFormatOptions } from '../types';
|
|
2
2
|
export default function resolveOptions(locales: string | string[] | undefined, options?: NumberFormatOptions | undefined): {
|
|
3
3
|
current: NumberFormatOptions;
|
|
4
4
|
resolved: ResolvedNumberFormatOptions;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LocalizedNumberFormatValues, ResolvedNumberFormatOptions } from '../types';
|
|
2
|
+
import type { InputType } from '../../core';
|
|
3
|
+
interface ResolveSelectionParam {
|
|
4
|
+
localizedValues: LocalizedNumberFormatValues;
|
|
5
|
+
previousLocalizedValues: LocalizedNumberFormatValues;
|
|
6
|
+
resolvedOptions: ResolvedNumberFormatOptions;
|
|
7
|
+
inputType: InputType;
|
|
8
|
+
addedValue: string;
|
|
9
|
+
previousValue: string;
|
|
10
|
+
nextValue: string;
|
|
11
|
+
changeStart: number;
|
|
12
|
+
changeEnd: number;
|
|
13
|
+
}
|
|
14
|
+
interface ResolveSelectionReturn {
|
|
15
|
+
start: number;
|
|
16
|
+
end: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Определяет позицию каретки для последующей установки
|
|
20
|
+
* @param param
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export default function resolveSelection({ localizedValues, previousLocalizedValues, resolvedOptions, inputType, previousValue, addedValue, nextValue, changeStart, changeEnd, }: ResolveSelectionParam): ResolveSelectionReturn;
|
|
24
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "infinity-forge",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "codie Library",
|
|
5
|
-
"main": "./dist/index",
|
|
6
|
-
"module": "./dist/index",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/CodieDigital/codiedigital-library"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"dev": "next -p 3051",
|
|
14
|
-
"deploy": "npm version patch && npm publish",
|
|
15
|
-
"next": "next build",
|
|
16
|
-
"start": "next start -p 3015",
|
|
17
|
-
"build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
|
|
18
|
-
"build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
|
|
19
|
-
"minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
|
|
20
|
-
"fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
|
|
21
|
-
},
|
|
22
|
-
"peerDependencies": {
|
|
23
|
-
"react": ">=16"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"LICENSE",
|
|
28
|
-
"README.md"
|
|
29
|
-
],
|
|
30
|
-
"keywords": [
|
|
31
|
-
"react",
|
|
32
|
-
"typescript",
|
|
33
|
-
"awesome-project"
|
|
34
|
-
],
|
|
35
|
-
"author": "Codie Digital",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/node": "^20.12.12",
|
|
39
|
-
"@types/react": "^18.3.3",
|
|
40
|
-
"@types/react-dom": "^18.3.0",
|
|
41
|
-
"@types/styled-components": "^5.1.34",
|
|
42
|
-
"concurrently": "^8.2.2",
|
|
43
|
-
"copyfiles": "^2.4.1",
|
|
44
|
-
"cpx": "^1.5.0",
|
|
45
|
-
"cssnano": "^7.0.1",
|
|
46
|
-
"fs-extra": "^11.2.0",
|
|
47
|
-
"postcss": "^8.4.38",
|
|
48
|
-
"postcss-cli": "^11.0.0",
|
|
49
|
-
"tsc-alias": "^1.8.10",
|
|
50
|
-
"tslib": "^2.6.2",
|
|
51
|
-
"typescript": "^5.4.5"
|
|
52
|
-
},
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"@types/lodash": "^4.17.7",
|
|
55
|
-
"axios": "^1.7.2",
|
|
56
|
-
"chroma-js": "^2.4.2",
|
|
57
|
-
"formik": "^2.4.6",
|
|
58
|
-
"inversify": "^6.0.2",
|
|
59
|
-
"lodash": "^4.17.21",
|
|
60
|
-
"moment": "^2.30.1",
|
|
61
|
-
"next": "^14.2.3",
|
|
62
|
-
"react": "18.3.1",
|
|
63
|
-
"react-dom": "18.3.1",
|
|
64
|
-
"react-ga": "^3.3.1",
|
|
65
|
-
"react-rte": "^0.16.5",
|
|
66
|
-
"react-select": "^5.8.0",
|
|
67
|
-
"react-share": "^5.1.0",
|
|
68
|
-
"react-webcam": "^7.2.0",
|
|
69
|
-
"reflect-metadata": "^0.2.2",
|
|
70
|
-
"sharp": "^0.33.4",
|
|
71
|
-
"styled-components": "^6.1.11",
|
|
72
|
-
"yup": "^1.4.0",
|
|
73
|
-
"zustand": "^4.5.2"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "infinity-forge",
|
|
3
|
+
"version": "2.4.0",
|
|
4
|
+
"description": "codie Library",
|
|
5
|
+
"main": "./dist/index",
|
|
6
|
+
"module": "./dist/index",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/CodieDigital/codiedigital-library"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "next -p 3051",
|
|
14
|
+
"deploy": "npm version patch && npm publish",
|
|
15
|
+
"next": "next build",
|
|
16
|
+
"start": "next start -p 3015",
|
|
17
|
+
"build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
|
|
18
|
+
"build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
|
|
19
|
+
"minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
|
|
20
|
+
"fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": ">=16"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"LICENSE",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"react",
|
|
32
|
+
"typescript",
|
|
33
|
+
"awesome-project"
|
|
34
|
+
],
|
|
35
|
+
"author": "Codie Digital",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^20.12.12",
|
|
39
|
+
"@types/react": "^18.3.3",
|
|
40
|
+
"@types/react-dom": "^18.3.0",
|
|
41
|
+
"@types/styled-components": "^5.1.34",
|
|
42
|
+
"concurrently": "^8.2.2",
|
|
43
|
+
"copyfiles": "^2.4.1",
|
|
44
|
+
"cpx": "^1.5.0",
|
|
45
|
+
"cssnano": "^7.0.1",
|
|
46
|
+
"fs-extra": "^11.2.0",
|
|
47
|
+
"postcss": "^8.4.38",
|
|
48
|
+
"postcss-cli": "^11.0.0",
|
|
49
|
+
"tsc-alias": "^1.8.10",
|
|
50
|
+
"tslib": "^2.6.2",
|
|
51
|
+
"typescript": "^5.4.5"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@types/lodash": "^4.17.7",
|
|
55
|
+
"axios": "^1.7.2",
|
|
56
|
+
"chroma-js": "^2.4.2",
|
|
57
|
+
"formik": "^2.4.6",
|
|
58
|
+
"inversify": "^6.0.2",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"moment": "^2.30.1",
|
|
61
|
+
"next": "^14.2.3",
|
|
62
|
+
"react": "18.3.1",
|
|
63
|
+
"react-dom": "18.3.1",
|
|
64
|
+
"react-ga": "^3.3.1",
|
|
65
|
+
"react-rte": "^0.16.5",
|
|
66
|
+
"react-select": "^5.8.0",
|
|
67
|
+
"react-share": "^5.1.0",
|
|
68
|
+
"react-webcam": "^7.2.0",
|
|
69
|
+
"reflect-metadata": "^0.2.2",
|
|
70
|
+
"sharp": "^0.33.4",
|
|
71
|
+
"styled-components": "^6.1.11",
|
|
72
|
+
"yup": "^1.4.0",
|
|
73
|
+
"zustand": "^4.5.2"
|
|
74
|
+
}
|
|
75
|
+
}
|