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.
Files changed (169) hide show
  1. package/dist/sites/components/default-pages/blog/components/blog-item/share/index.js +2 -2
  2. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +1 -1
  3. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +2 -2
  4. package/dist/system/data/use-cases/menu/remote-get-menu.d.ts +2 -1
  5. package/dist/system/data/use-cases/menu/remote-get-menu.js +1 -1
  6. package/dist/system/data/use-cases/notifications/remote-notifications.d.ts +2 -1
  7. package/dist/system/data/use-cases/notifications/remote-notifications.js +1 -1
  8. package/dist/system/data/use-cases/users/remote-load-user-admin.d.ts +2 -1
  9. package/dist/system/data/use-cases/users/remote-load-user-admin.js +1 -1
  10. package/dist/system/data/use-cases/users/remote-users.d.ts +2 -1
  11. package/dist/system/data/use-cases/users/remote-users.js +1 -1
  12. package/dist/system/domain/use-cases/dynamic-section/dynamic-section.d.ts +2 -1
  13. package/dist/system/domain/use-cases/menu/detail.d.ts +2 -1
  14. package/dist/system/domain/use-cases/menu/load-all.d.ts +2 -1
  15. package/dist/system/domain/use-cases/users/load-all-users.d.ts +2 -1
  16. package/dist/system/domain/use-cases/users/load-user-admin.d.ts +2 -1
  17. package/dist/system/presentation/components/data/menu/components/menu-item/index.js +3 -3
  18. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +5 -5
  19. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +1 -1
  20. package/dist/system/presentation/components/data/menu/modes/opened/index.js +3 -3
  21. package/dist/system/presentation/components/data/menu/modes/opened/styles.js +1 -1
  22. package/dist/system/presentation/components/data/tab/tab-item/index.d.ts +0 -5
  23. package/dist/system/presentation/components/data/tab/tab-item/index.js +0 -46
  24. package/dist/system/presentation/components/data/tab/tab-item/styles.d.ts +0 -8
  25. package/dist/system/presentation/components/layout/header/components/index.d.ts +0 -2
  26. package/dist/system/presentation/components/layout/header/components/index.js +0 -19
  27. package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +1 -1
  28. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +4 -4
  29. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +36 -0
  30. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +38 -0
  31. package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
  32. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
  33. package/dist/system/presentation/components/layout/header/version-01/index.d.ts +0 -2
  34. package/dist/system/presentation/components/layout/header/version-01/index.js +0 -45
  35. package/dist/system/presentation/components/pages/menus/table/columns.d.ts +0 -3
  36. package/dist/system/presentation/components/pages/menus/table/columns.js +0 -21
  37. package/dist/system/presentation/components/pages/menus/table/create.d.ts +0 -3
  38. package/dist/system/presentation/components/pages/menus/table/create.js +0 -72
  39. package/dist/system/presentation/components/pages/menus/table/delete.js +0 -71
  40. package/dist/system/presentation/components/pages/menus/table/edit.d.ts +0 -3
  41. package/dist/system/presentation/components/pages/menus/table/edit.js +0 -78
  42. package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
  43. package/dist/system/presentation/components/pages/menus/table/index.d.ts +0 -4
  44. package/dist/system/presentation/components/pages/menus/table/index.js +0 -21
  45. package/dist/system/presentation/components/pages/users/table/columns.d.ts +0 -3
  46. package/dist/system/presentation/components/pages/users/table/create.d.ts +0 -3
  47. package/dist/system/presentation/components/pages/users/table/create.js +0 -75
  48. package/dist/system/presentation/components/pages/users/table/delete.js +0 -74
  49. package/dist/system/presentation/components/pages/users/table/edit.d.ts +0 -3
  50. package/dist/system/presentation/components/pages/users/table/edit.js +0 -83
  51. package/dist/system/presentation/components/pages/users/table/index.d.ts +0 -4
  52. package/dist/system/presentation/components/pages/users/table/index.js +0 -21
  53. package/dist/system/presentation/context/auth/components/login/form-login/index.js +2 -2
  54. package/dist/system/presentation/context/auth/components/login/index.js +0 -38
  55. package/dist/system/presentation/context/auth/components/private-page/index.d.ts +0 -2
  56. package/dist/system/presentation/context/auth/components/private-page/index.js +0 -141
  57. package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +0 -1
  58. package/dist/system/presentation/hooks/ui/use-table/components/index.js +0 -18
  59. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
  60. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +10 -10
  61. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
  62. package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +0 -2
  63. package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +0 -5
  64. package/dist/system/presentation/hooks/ui/use-table/query/hook.js +0 -52
  65. package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +0 -2
  66. package/dist/system/presentation/hooks/ui/use-table/query/index.js +0 -19
  67. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js +0 -35
  68. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.d.ts +0 -7
  69. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js +0 -9
  70. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js +0 -94
  71. package/dist/ui/components/carousel/carousel-lib/core/classes/index.d.ts +0 -7
  72. package/dist/ui/components/carousel/carousel-lib/core/classes/index.js +0 -9
  73. package/dist/ui/components/carousel/carousel-lib/core/events/index.js +0 -77
  74. package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js +0 -14
  75. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js +0 -194
  76. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js +0 -314
  77. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js +0 -154
  78. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.d.ts +0 -7
  79. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js +0 -12
  80. package/dist/ui/components/carousel/carousel-lib/core/loop/index.d.ts +0 -9
  81. package/dist/ui/components/carousel/carousel-lib/core/loop/index.js +0 -14
  82. package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js +0 -57
  83. package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js +0 -230
  84. package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
  85. package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
  86. package/dist/ui/components/carousel/carousel-lib/core/slide/index.d.ts +0 -17
  87. package/dist/ui/components/carousel/carousel-lib/core/slide/index.js +0 -22
  88. package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js +0 -160
  89. package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js +0 -46
  90. package/dist/ui/components/carousel/carousel-lib/core/transition/index.d.ts +0 -9
  91. package/dist/ui/components/carousel/carousel-lib/core/transition/index.js +0 -14
  92. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js +0 -18
  93. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js +0 -19
  94. package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js +0 -21
  95. package/dist/ui/components/carousel/carousel-lib/core/translate/index.d.ts +0 -13
  96. package/dist/ui/components/carousel/carousel-lib/core/translate/index.js +0 -18
  97. package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +0 -81
  98. package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +0 -21
  99. package/dist/ui/components/carousel/carousel-lib/core/update/index.js +0 -26
  100. package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +0 -125
  101. package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +0 -45
  102. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +0 -306
  103. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +0 -69
  104. package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +1 -1
  105. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +1 -1
  106. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +1 -1
  107. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
  108. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
  109. package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +1 -1
  110. package/dist/ui/components/form/input-cep/use-cep/providers/index.js +1 -1
  111. package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +1 -1
  112. package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +4 -4
  113. package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +1 -1
  114. package/dist/ui/components/form/input-currency/components/utils/formatValue.js +2 -2
  115. package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +1 -1
  116. package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +1 -1
  117. package/dist/ui/components/form/input-currency/components/utils/index.d.ts +8 -8
  118. package/dist/ui/components/form/input-currency/components/utils/index.js +8 -8
  119. package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +1 -1
  120. package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +1 -1
  121. package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +1 -1
  122. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +1 -1
  123. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +3 -3
  124. package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +1 -1
  125. package/dist/ui/components/form/input-date-picker/calendar/days/index.js +2 -2
  126. package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +1 -1
  127. package/dist/ui/components/form/input-date-picker/calendar/months/index.js +2 -2
  128. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +1 -1
  129. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +1 -1
  130. package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +2 -2
  131. package/dist/ui/components/form/input-file/render-files/file-item/index.js +3 -3
  132. package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +1 -1
  133. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +1 -1
  134. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +2 -2
  135. package/dist/ui/components/form/input-mask/lib/core/index.d.ts +5 -5
  136. package/dist/ui/components/form/input-mask/lib/core/index.js +4 -4
  137. package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +1 -1
  138. package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +2 -2
  139. package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +2 -2
  140. package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +5 -5
  141. package/dist/ui/components/form/input-mask/lib/mask/index.js +3 -3
  142. package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +1 -1
  143. package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +1 -1
  144. package/dist/ui/components/form/input-mask/lib/mask/useMask.js +7 -7
  145. package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +1 -1
  146. package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +1 -1
  147. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +1 -1
  148. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +1 -1
  149. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +1 -1
  150. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +3 -3
  151. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +2 -2
  152. package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +1 -1
  153. package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +1 -1
  154. package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +1 -1
  155. package/dist/ui/components/form/input-mask/lib/mask/utils.js +5 -5
  156. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +2 -2
  157. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +2 -2
  158. package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +4 -4
  159. package/dist/ui/components/form/input-mask/lib/number-format/index.js +2 -2
  160. package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +1 -1
  161. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +1 -1
  162. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +6 -6
  163. package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +1 -1
  164. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +2 -2
  165. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +1 -1
  166. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +1 -1
  167. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +1 -1
  168. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +24 -0
  169. package/package.json +75 -75
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import type { NumberFormatProps } from './types.js';
3
- import type { InputComponent, InputComponentProps } from '../core/index.js';
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/index.js");
31
- var useNumberFormat_1 = __importDefault(require("./useNumberFormat.js"));
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.js';
2
- export { default as useNumberFormat } from './useNumberFormat.js';
3
- export type { InputNumberFormatProps } from './InputNumberFormat.js';
4
- export type { NumberFormatProps, NumberFormatEvent, NumberFormatEventDetail, NumberFormatEventHandler } from './types.js';
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.js");
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.js");
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,4 +1,4 @@
1
- import type { CustomInputEvent, CustomInputEventHandler } from '../core/index.js';
1
+ import type { CustomInputEvent, CustomInputEventHandler } from '../core';
2
2
  export interface NumberFormatEventDetail {
3
3
  value: string;
4
4
  number: number;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import type { NumberFormatProps } from './types.js';
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/index.js");
8
- var localizeValues_1 = __importDefault(require("./utils/localizeValues.js"));
9
- var resolveDetail_1 = __importDefault(require("./utils/resolveDetail.js"));
10
- var resolveMinimumFractionDigits_1 = __importDefault(require("./utils/resolveMinimumFractionDigits.js"));
11
- var resolveOptions_1 = __importDefault(require("./utils/resolveOptions.js"));
12
- var resolveSelection_1 = __importDefault(require("./utils/resolveSelection.js"));
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,4 +1,4 @@
1
- import type { LocalizedNumberFormatValues } from '../types.js';
1
+ import type { LocalizedNumberFormatValues } from '../types';
2
2
  /**
3
3
  * Возвращает применяемые значения по заданной локали
4
4
  * @param locales
@@ -1,5 +1,5 @@
1
- import type { LocalizedNumberFormatValues, NumberFormatOptions, ResolvedNumberFormatOptions } from '../types.js';
2
- import type { InputType } from '../../core/index.js';
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.js"));
28
+ var resolveMinimumFractionDigits_1 = __importDefault(require("./resolveMinimumFractionDigits"));
29
29
  /**
30
30
  *
31
31
  * @param value
@@ -1,4 +1,4 @@
1
- import type { ResolvedNumberFormatOptions } from '../types.js';
1
+ import type { ResolvedNumberFormatOptions } from '../types';
2
2
  interface ResolveMinimumFractionDigitsParam {
3
3
  resolvedOptions: ResolvedNumberFormatOptions;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { NumberFormatOptions, ResolvedNumberFormatOptions } from '../types.js';
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.3.9",
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
+ }