infinity-forge 2.4.0 → 2.4.1

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