infinity-forge 3.4.7 → 3.4.8

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 (133) hide show
  1. package/dist/sites/components/default-pages/blog/components/blog-item/index.d.ts +1 -1
  2. package/dist/sites/components/default-pages/blog/components/blog-item/index.js +1 -1
  3. package/dist/sites/components/default-pages/blog/components/categorias/index.js +1 -1
  4. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +4 -0
  5. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +42 -0
  6. package/dist/sites/components/default-pages/blog/components/featured-blog/index.js +1 -1
  7. package/dist/sites/components/default-pages/blog/components/side-box-newsletter/index.js +1 -1
  8. package/dist/sites/components/default-pages/blog/components/side-box-search/index.js +1 -1
  9. package/dist/sites/components/default-pages/blog/components/title-blog/index.js +1 -1
  10. package/dist/system/presentation/components/data/buttons/sidebar-button/index.js +1 -1
  11. package/dist/system/presentation/components/data/chat/card-message/index.d.ts +1 -1
  12. package/dist/system/presentation/components/data/chat/card-message/index.js +1 -1
  13. package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
  14. package/dist/system/presentation/components/data/menu/components/menu-item/index.js +78 -0
  15. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +43 -0
  16. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +15 -0
  17. package/dist/system/presentation/components/data/menu/modes/opened/index.js +50 -0
  18. package/dist/system/presentation/components/data/menu/modes/opened/styles.js +15 -0
  19. package/dist/system/presentation/components/data/notifications/card/index.d.ts +1 -1
  20. package/dist/system/presentation/components/data/notifications/card/index.js +1 -1
  21. package/dist/system/presentation/components/data/profile-infos/profile/index.js +1 -1
  22. package/dist/system/presentation/components/data/tab/tab-item/index.js +1 -1
  23. package/dist/system/presentation/components/layout/header/components/menu-right/component.d.ts +5 -0
  24. package/dist/system/presentation/components/layout/header/components/menu-right/component.js +34 -0
  25. package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +3 -0
  26. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +20 -0
  27. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +0 -2
  28. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +0 -47
  29. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +0 -92
  30. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +0 -6
  31. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +0 -36
  32. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +0 -36
  33. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +0 -38
  34. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +40 -0
  35. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +0 -52
  36. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +0 -45
  37. package/dist/system/presentation/components/layout/header/version-01/index.js +1 -1
  38. package/dist/system/presentation/components/pages/menus/table/columns.d.ts +1 -1
  39. package/dist/system/presentation/components/pages/menus/table/create.d.ts +1 -1
  40. package/dist/system/presentation/components/pages/menus/table/create.js +1 -1
  41. package/dist/system/presentation/components/pages/menus/table/delete.js +1 -1
  42. package/dist/system/presentation/components/pages/menus/table/edit.d.ts +1 -1
  43. package/dist/system/presentation/components/pages/menus/table/edit.js +1 -0
  44. package/dist/system/presentation/components/pages/menus/table/icon/index.js +34 -0
  45. package/dist/system/presentation/components/pages/users/table/columns.d.ts +1 -1
  46. package/dist/system/presentation/components/pages/users/table/create.d.ts +1 -1
  47. package/dist/system/presentation/components/pages/users/table/create.js +1 -1
  48. package/dist/system/presentation/components/pages/users/table/delete.js +1 -1
  49. package/dist/system/presentation/components/pages/users/table/edit.d.ts +1 -1
  50. package/dist/system/presentation/components/pages/users/table/edit.js +1 -0
  51. package/dist/system/presentation/context/auth/components/login/form-login/index.js +12 -0
  52. package/dist/system/presentation/context/auth/components/login/index.js +1 -1
  53. package/dist/system/presentation/context/auth/components/private-page/index.js +1 -1
  54. package/dist/system/presentation/hooks/locales/ibge/use-load-cities-by-uf/index.d.ts +1 -1
  55. package/dist/system/presentation/hooks/locales/ibge/use-load-cities-by-uf/index.js +1 -1
  56. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.d.ts +0 -5
  57. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.js +0 -80
  58. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +0 -5
  59. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +0 -111
  60. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +0 -2
  61. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +0 -78
  62. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +0 -4
  63. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +0 -60
  64. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +0 -4
  65. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +0 -35
  66. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +0 -2
  67. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +0 -144
  68. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +2 -0
  69. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +105 -0
  70. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +14 -0
  71. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +0 -2
  72. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +0 -56
  73. package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js +0 -34
  74. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +0 -2
  75. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +0 -50
  76. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +0 -6
  77. package/dist/system/presentation/hooks/ui/use-table/query/hook.js +1 -1
  78. package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
  79. package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
  80. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +1 -1
  81. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +1 -1
  82. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
  83. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
  84. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +62 -0
  85. package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +2 -0
  86. package/dist/ui/components/form/input-date-picker/calendar/days/index.js +87 -0
  87. package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +2 -0
  88. package/dist/ui/components/form/input-date-picker/calendar/months/index.js +66 -0
  89. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +0 -13
  90. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +0 -18
  91. package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +3 -0
  92. package/dist/ui/components/form/input-file/render-files/file-item/index.js +49 -0
  93. package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +0 -14
  94. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +0 -10
  95. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +0 -204
  96. package/dist/ui/components/form/input-mask/lib/core/index.d.ts +5 -0
  97. package/dist/ui/components/form/input-mask/lib/core/index.js +15 -0
  98. package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +0 -2
  99. package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +6 -0
  100. package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +44 -0
  101. package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +5 -0
  102. package/dist/ui/components/form/input-mask/lib/mask/index.js +26 -0
  103. package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +61 -0
  104. package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +3 -0
  105. package/dist/ui/components/form/input-mask/lib/mask/useMask.js +150 -0
  106. package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +0 -14
  107. package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +0 -14
  108. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +0 -17
  109. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +0 -2
  110. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +0 -14
  111. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +0 -25
  112. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +0 -18
  113. package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +0 -16
  114. package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +0 -13
  115. package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +63 -0
  116. package/dist/ui/components/form/input-mask/lib/mask/utils.js +114 -0
  117. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +6 -0
  118. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +58 -0
  119. package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +4 -0
  120. package/dist/ui/components/form/input-mask/lib/number-format/index.js +11 -0
  121. package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +26 -0
  122. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +3 -0
  123. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +208 -0
  124. package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +0 -7
  125. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +0 -20
  126. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +0 -123
  127. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +0 -11
  128. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +0 -5
  129. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +0 -24
  130. package/dist/ui/components/form/input-seo/input-meta-image/index.d.ts +1 -1
  131. package/dist/ui/components/form/input-seo/input-meta-image/index.js +1 -1
  132. package/dist/ui/components/menu-mobile/components/nav-links/index.js +1 -1
  133. package/package.json +1 -1
@@ -1,123 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- var __importDefault = (this && this.__importDefault) || function (mod) {
25
- return (mod && mod.__esModule) ? mod : { "default": mod };
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- var resolveMinimumFractionDigits_1 = __importDefault(require("./resolveMinimumFractionDigits"));
29
- /**
30
- *
31
- * @param value
32
- * @param options
33
- * @returns
34
- */
35
- function resolveDetail(value, _a) {
36
- var inputType = _a.inputType, locales = _a.locales, localizedValues = _a.localizedValues, currentOptions = _a.currentOptions, resolvedOptions = _a.resolvedOptions;
37
- if ((inputType === 'deleteBackward' || inputType === 'deleteForward') &&
38
- (value === '' || value === '-' || /^-?\.?0*$/.test(value))) {
39
- return { value: '', number: 0 };
40
- }
41
- var isNegative = value.startsWith('-');
42
- var absValue = isNegative ? value.slice(1) : value;
43
- // При `fraction` равном `undefined` - разделитель не был введён
44
- var _b = absValue.split('.'), integer = _b[0], _c = _b[1], fraction = _c === void 0 ? undefined : _c;
45
- // Определяем настройки для применения в `Intl.NumberFormat`
46
- var currentMinimumFractionDigits = resolvedOptions.minimumFractionDigits;
47
- var currentMaximumFractionDigits = resolvedOptions.maximumFractionDigits;
48
- // let currentMinimumSignificantDigits = resolvedOptions.minimumSignificantDigits;
49
- // Поскольку состояние ввода хранит последний введенный символ,
50
- // при форматировании может произойти округление, поэтому нам важно
51
- // заранее обрезать символ не соответствующий максимальному количеству символов
52
- // - `replace` - Учитываем `minimumSignificantDigits` и `minimumIntegerDigits`.
53
- // Так, при `addedValue` "2": "000 001" -> "000 0012" -> "12" -> "000 012"
54
- integer = integer.replace(/^0+/g, '').slice(0, resolvedOptions.maximumIntegerDigits);
55
- // if (fraction !== undefined && resolvedOptions.maximumSignificantDigits !== undefined) {
56
- // currentMaximumFractionDigits = resolvedOptions.maximumSignificantDigits - integer.length;
57
- // if (/^0*$/.test(integer) && /^0*$/.test(fraction)) {
58
- // currentMaximumFractionDigits -= 1;
59
- // } else if (/^0*$/.test(integer) && /^0*[1-9]+/.test(fraction)) {
60
- // currentMaximumFractionDigits += fraction.match(/^0+/g)?.[0].length ?? 0;
61
- // }
62
- // }
63
- fraction = fraction === null || fraction === void 0 ? void 0 : fraction.slice(0, currentMaximumFractionDigits);
64
- var number = Number((isNegative ? '-' : '') + (integer || '0') + (fraction ? ".".concat(fraction) : ''));
65
- // Чтобы иметь возможность прописывать "0" и сохранять его с каждой итерацией,
66
- // переопределяем `minimumFractionDigits` и `minimumSignificantDigits`
67
- currentMinimumFractionDigits = (0, resolveMinimumFractionDigits_1.default)({
68
- // integer,
69
- // fraction: fraction ?? '',
70
- resolvedOptions: resolvedOptions,
71
- });
72
- // Если `currentMinimumFractionDigits` равен нулю, дробная часть будет округлена
73
- if (inputType === 'insert' &&
74
- fraction === '' &&
75
- currentMinimumFractionDigits === 0 &&
76
- currentMaximumFractionDigits > 0) {
77
- currentMinimumFractionDigits = 1;
78
- // if (currentMinimumSignificantDigits !== undefined) {
79
- // currentMinimumSignificantDigits = (integer.length || 1) + 1;
80
- // }
81
- }
82
- if (fraction !== undefined && fraction.length > currentMinimumFractionDigits) {
83
- currentMinimumFractionDigits = fraction.length;
84
- // `minimumFractionDigits` игнорируется при указанном `minimumSignificantDigits` или
85
- // `maximumSignificantDigits`, поэтому указываем правило для `minimumSignificantDigits`
86
- // if (currentMinimumSignificantDigits !== undefined) {
87
- // if (/^0*$/.test(integer) && /^0*$/.test(fraction)) {
88
- // currentMinimumSignificantDigits = fraction.length + 1;
89
- // } else if (/^0*$/.test(integer) && /^0*[1-9]+/.test(fraction)) {
90
- // currentMinimumSignificantDigits = fraction.replace(/^0+/g, '').length;
91
- // } else if (/^0*[1-9]+/.test(integer)) {
92
- // currentMinimumSignificantDigits = integer.length + fraction.length;
93
- // }
94
- // }
95
- }
96
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
97
- var _d = currentOptions !== null && currentOptions !== void 0 ? currentOptions : {}, format = _d.format, groupDisplay = _d.groupDisplay, maximumIntegerDigits = _d.maximumIntegerDigits, options = __rest(_d, ["format", "groupDisplay", "maximumIntegerDigits"]);
98
- var nextValue = Intl.NumberFormat(locales, __assign(__assign({}, options), { style: format, useGrouping: groupDisplay, minimumFractionDigits: currentMinimumFractionDigits })).format(number);
99
- // В значении может встречаться юникод, нам важно заменить
100
- // такие символы для соответствия стандартному значению
101
- nextValue = nextValue.replace(/\s/g, ' ');
102
- var sign = nextValue.includes('+')
103
- ? '+'
104
- : nextValue.includes(localizedValues.minusSign)
105
- ? localizedValues.minusSign
106
- : undefined;
107
- // Арабская локаль содержит юникод, что приводит к неожидаемому
108
- // сдвигу курсора при смещении через клавиатуру, для предотвращения
109
- // устанавливаем знак в конец числа с удалением нежелательного юникода
110
- if (sign !== undefined && localizedValues.signBackwards) {
111
- nextValue = nextValue.replace(RegExp("[\u200E\u061C\\".concat(sign, "]"), 'g'), '');
112
- var lastDigitIndex = nextValue.search(RegExp("[".concat(localizedValues.digits, "](?!.*[").concat(localizedValues.digits, "])")));
113
- if (lastDigitIndex !== -1) {
114
- nextValue = nextValue.slice(0, lastDigitIndex + 1) + sign + nextValue.slice(lastDigitIndex + 1);
115
- if (!nextValue.startsWith('‏')) {
116
- nextValue = "\u200F".concat(nextValue);
117
- }
118
- }
119
- }
120
- return { value: nextValue, number: number };
121
- }
122
- exports.default = resolveDetail;
123
- //# sourceMappingURL=resolveDetail.js.map
@@ -1,11 +0,0 @@
1
- import type { ResolvedNumberFormatOptions } from '../types';
2
- interface ResolveMinimumFractionDigitsParam {
3
- resolvedOptions: ResolvedNumberFormatOptions;
4
- }
5
- /**
6
- * Высчитываем фактический `minimumFractionDigits`
7
- * @param param
8
- * @returns
9
- */
10
- export default function resolveMinimumFractionDigits({ resolvedOptions, }: ResolveMinimumFractionDigitsParam): number;
11
- export {};
@@ -1,5 +0,0 @@
1
- import type { NumberFormatOptions, ResolvedNumberFormatOptions } from '../types';
2
- export default function resolveOptions(locales: string | string[] | undefined, options?: NumberFormatOptions | undefined): {
3
- current: NumberFormatOptions;
4
- resolved: ResolvedNumberFormatOptions;
5
- };
@@ -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 {};
@@ -1,2 +1,2 @@
1
1
  import { InputProps } from '../../../../../ui/index.js';
2
- export declare function InputMetaImage(props: InputProps): import("react/jsx-runtime").
2
+ export declare function InputMetaImage(props: InputProps): import("react/jsx-runtime").JSX.Element;
@@ -48,4 +48,4 @@ function ResultFile(_a) {
48
48
  var _b = (0, ui_1.useRenderedFile)(__assign(__assign({}, inputProps), { file: file })), Image = _b.Image, fileName = _b.fileName, DeleteFileButton = _b.DeleteFileButton;
49
49
  return ((0, jsx_runtime_1.jsxs)("div", { className: 'result_meta_image', children: [(0, jsx_runtime_1.jsx)(Image, {}), (0, jsx_runtime_1.jsx)("p", { children: fileName }), (0, jsx_runtime_1.jsx)(DeleteFileButton, {})] }));
50
50
  }
51
- //# sourceMappingURL
51
+ //# sourceMappingURL=index.js.map
@@ -64,4 +64,4 @@ var NavLinks = function (_a) {
64
64
  submenu.links.map(function (sublink) { return ((0, jsx_runtime_1.jsx)("li", { children: sublink.url ? ((0, jsx_runtime_1.jsx)("a", { href: sublink.url, children: sublink.titulo })) : ((0, jsx_runtime_1.jsxs)("span", { onClick: function () { return handleSublinkClick(sublink); }, children: [sublink.titulo, (0, jsx_runtime_1.jsx)(icons_1.Icon, { name: 'IconBasicLeftArrow', stroke: 'black' })] })) }, "submenu-link-".concat(sublink.id))); }) })] })] }) }));
65
65
  };
66
66
  exports.default = NavLinks;
67
- //# sou
67
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "3.4.7",
3
+ "version": "3.4.8",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",