@jenesei-software/jenesei-kit-react 1.3.20 → 1.3.21

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 (203) hide show
  1. package/build/{area-DAgP6K9K.cjs → area-BG04bpxi.cjs} +2 -2
  2. package/build/{area-DAgP6K9K.cjs.map → area-BG04bpxi.cjs.map} +1 -1
  3. package/build/{area-CD8KKIM0.js → area-D4BoNEmX.js} +2 -2
  4. package/build/{area-CD8KKIM0.js.map → area-D4BoNEmX.js.map} +1 -1
  5. package/build/{area-BLgNLu9A.js → area-occQcGnD.js} +2 -2
  6. package/build/{area-BLgNLu9A.js.map → area-occQcGnD.js.map} +1 -1
  7. package/build/area-outside.cjs.js +1 -1
  8. package/build/area-outside.es.js +1 -1
  9. package/build/{area-Dup_lUb9.cjs → area-pCo19R2g.cjs} +2 -2
  10. package/build/{area-Dup_lUb9.cjs.map → area-pCo19R2g.cjs.map} +1 -1
  11. package/build/area-preview.cjs.js +1 -1
  12. package/build/area-preview.es.js +1 -1
  13. package/build/area-scroll.cjs.js +1 -1
  14. package/build/area-scroll.es.js +2 -2
  15. package/build/area-skeleton.cjs.js +1 -1
  16. package/build/area-skeleton.d.ts +6 -1
  17. package/build/area-skeleton.es.js +2 -3
  18. package/build/area-skeleton.es.js.map +1 -1
  19. package/build/area-smooth.cjs.js +1 -1
  20. package/build/area-smooth.es.js +1 -1
  21. package/build/{area.styles-DWqSyo49.js → area.styles-BSqCfPE4.js} +2 -2
  22. package/build/{area.styles-DWqSyo49.js.map → area.styles-BSqCfPE4.js.map} +1 -1
  23. package/build/area.styles-BuceLNra.cjs +27 -0
  24. package/build/{area.styles-DQBIvHdz.cjs.map → area.styles-BuceLNra.cjs.map} +1 -1
  25. package/build/build-info.txt +3 -3
  26. package/build/{component-GKvpOWlO.cjs → component-5Utdcc2G.cjs} +7 -7
  27. package/build/{component-GKvpOWlO.cjs.map → component-5Utdcc2G.cjs.map} +1 -1
  28. package/build/{component-BtgXUCiJ.js → component-B--Ljzf8.js} +2 -2
  29. package/build/{component-BtgXUCiJ.js.map → component-B--Ljzf8.js.map} +1 -1
  30. package/build/{component-BLa80fGE.cjs → component-Bq9jd15r.cjs} +2 -2
  31. package/build/{component-BLa80fGE.cjs.map → component-Bq9jd15r.cjs.map} +1 -1
  32. package/build/{component-DDVjxLvn.js → component-C3BrgaVs.js} +3 -3
  33. package/build/{component-DDVjxLvn.js.map → component-C3BrgaVs.js.map} +1 -1
  34. package/build/{component-CHmCK6Bc.js → component-C7SV3z2B.js} +2 -2
  35. package/build/{component-CHmCK6Bc.js.map → component-C7SV3z2B.js.map} +1 -1
  36. package/build/{component-BX7rFpno.js → component-C9TJVTRc.js} +7 -8
  37. package/build/{component-BX7rFpno.js.map → component-C9TJVTRc.js.map} +1 -1
  38. package/build/{component-6hRanOkU.cjs → component-CLqcB5mM.cjs} +2 -2
  39. package/build/{component-6hRanOkU.cjs.map → component-CLqcB5mM.cjs.map} +1 -1
  40. package/build/{component-DQrnK2Bj.js → component-CS7C3l76.js} +3 -3
  41. package/build/{component-DQrnK2Bj.js.map → component-CS7C3l76.js.map} +1 -1
  42. package/build/{component-DpVp9dB1.js → component-CUiqQLEQ.js} +2 -2
  43. package/build/{component-DpVp9dB1.js.map → component-CUiqQLEQ.js.map} +1 -1
  44. package/build/{component-DyEa0lzB.js → component-CWIsglCv.js} +3 -3
  45. package/build/{component-DyEa0lzB.js.map → component-CWIsglCv.js.map} +1 -1
  46. package/build/component-CZPL9hGj.cjs +2 -0
  47. package/build/{component-IlhRGJHX.cjs.map → component-CZPL9hGj.cjs.map} +1 -1
  48. package/build/{component-8NOxwZJO.cjs → component-Cc8X-Z80.cjs} +2 -2
  49. package/build/{component-8NOxwZJO.cjs.map → component-Cc8X-Z80.cjs.map} +1 -1
  50. package/build/{component-DerXrx9p.js → component-CeZFnxeP.js} +2 -2
  51. package/build/{component-DerXrx9p.js.map → component-CeZFnxeP.js.map} +1 -1
  52. package/build/{component-DhCe6E21.js → component-CqQpLjWf.js} +2 -2
  53. package/build/{component-DhCe6E21.js.map → component-CqQpLjWf.js.map} +1 -1
  54. package/build/{component-DF8wYX_U.js → component-DAMiuCOk.js} +3 -3
  55. package/build/{component-DF8wYX_U.js.map → component-DAMiuCOk.js.map} +1 -1
  56. package/build/{component-DdSHuopV.cjs → component-DBZIl6Pf.cjs} +2 -2
  57. package/build/{component-DdSHuopV.cjs.map → component-DBZIl6Pf.cjs.map} +1 -1
  58. package/build/{component-D9Fz-_ZH.cjs → component-DC6wk9OC.cjs} +2 -2
  59. package/build/{component-D9Fz-_ZH.cjs.map → component-DC6wk9OC.cjs.map} +1 -1
  60. package/build/{component-mzzOCXSx.js → component-DEZX8aBs.js} +2 -2
  61. package/build/{component-mzzOCXSx.js.map → component-DEZX8aBs.js.map} +1 -1
  62. package/build/{component-C-yqkm2n.cjs → component-DgtdqEgO.cjs} +2 -2
  63. package/build/{component-C-yqkm2n.cjs.map → component-DgtdqEgO.cjs.map} +1 -1
  64. package/build/{component-DXSNBORy.cjs → component-Dt1QKoQc.cjs} +2 -2
  65. package/build/{component-DXSNBORy.cjs.map → component-Dt1QKoQc.cjs.map} +1 -1
  66. package/build/component-DvuH4WLo.cjs +2 -0
  67. package/build/{component-KwYlKatx.cjs.map → component-DvuH4WLo.cjs.map} +1 -1
  68. package/build/{component-C56biWpi.js → component-HpOulBAQ.js} +3 -5
  69. package/build/{component-C56biWpi.js.map → component-HpOulBAQ.js.map} +1 -1
  70. package/build/{component-Cr62wN62.js → component-O7HvTkOa.js} +2 -2
  71. package/build/{component-Cr62wN62.js.map → component-O7HvTkOa.js.map} +1 -1
  72. package/build/{component-BLW4AlTi.cjs → component-PvY4ZuKa.cjs} +2 -2
  73. package/build/{component-BLW4AlTi.cjs.map → component-PvY4ZuKa.cjs.map} +1 -1
  74. package/build/{component-Ds6eJznV.cjs → component-SobV8wHk.cjs} +2 -2
  75. package/build/{component-Ds6eJznV.cjs.map → component-SobV8wHk.cjs.map} +1 -1
  76. package/build/{component-GqA6sCHI.cjs → component-VZLVznEM.cjs} +2 -2
  77. package/build/{component-GqA6sCHI.cjs.map → component-VZLVznEM.cjs.map} +1 -1
  78. package/build/component-accordion.cjs.js +1 -1
  79. package/build/component-accordion.d.ts +1 -1
  80. package/build/component-accordion.es.js +6 -6
  81. package/build/component-button-group.cjs.js +1 -1
  82. package/build/component-button-group.es.js +3 -3
  83. package/build/component-button.cjs.js +1 -1
  84. package/build/component-button.es.js +3 -3
  85. package/build/component-checkbox-group.cjs.js +1 -1
  86. package/build/component-checkbox-group.es.js +8 -8
  87. package/build/component-checkbox.cjs.js +1 -1
  88. package/build/component-checkbox.es.js +5 -5
  89. package/build/component-date-picker.cjs.js +1 -1
  90. package/build/component-date-picker.es.js +13 -13
  91. package/build/component-icon.cjs.js +1 -1
  92. package/build/component-icon.d.ts +16 -3
  93. package/build/component-icon.es.js +6 -5
  94. package/build/component-image-button.cjs.js +1 -1
  95. package/build/component-image-button.es.js +1 -1
  96. package/build/component-image-select.cjs.js +1 -1
  97. package/build/component-image-select.es.js +8 -8
  98. package/build/component-image-slider.cjs.js +1 -1
  99. package/build/component-image-slider.es.js +4 -4
  100. package/build/component-image.cjs.js +1 -1
  101. package/build/component-image.es.js +3 -3
  102. package/build/component-input-otp.cjs.js +1 -1
  103. package/build/component-input-otp.es.js +5 -5
  104. package/build/component-input.cjs.js +1 -1
  105. package/build/component-input.es.js +15 -15
  106. package/build/{component-DP42Uzl2.cjs → component-iyi7lqrB.cjs} +2 -2
  107. package/build/{component-DP42Uzl2.cjs.map → component-iyi7lqrB.cjs.map} +1 -1
  108. package/build/component-map.cjs.js +1 -1
  109. package/build/component-map.es.js +8 -8
  110. package/build/component-pagination.cjs.js +1 -1
  111. package/build/component-pagination.es.js +1 -1
  112. package/build/component-range.cjs.js +1 -1
  113. package/build/component-range.es.js +5 -5
  114. package/build/component-ripple.cjs.js +1 -1
  115. package/build/component-select.cjs.js +1 -1
  116. package/build/component-select.d.ts +1 -1
  117. package/build/component-select.es.js +18 -18
  118. package/build/component-separator.cjs.js +1 -1
  119. package/build/component-stack.cjs.js +1 -1
  120. package/build/component-stack.es.js +1 -1
  121. package/build/component-textarea.cjs.js +1 -1
  122. package/build/component-textarea.es.js +5 -5
  123. package/build/component-toggle.cjs.js +1 -1
  124. package/build/component-toggle.es.js +4 -4
  125. package/build/component-tooltip.cjs.js +1 -1
  126. package/build/component-tooltip.es.js +9 -9
  127. package/build/component-typography.cjs.js +1 -1
  128. package/build/component-typography.es.js +6 -6
  129. package/build/{component.components-B6FC2-ox.cjs → component.components-Cck7T25y.cjs} +2 -2
  130. package/build/{component.components-B6FC2-ox.cjs.map → component.components-Cck7T25y.cjs.map} +1 -1
  131. package/build/{component.components-DlJ9rcRL.js → component.components-NP2aSgyb.js} +2 -2
  132. package/build/{component.components-DlJ9rcRL.js.map → component.components-NP2aSgyb.js.map} +1 -1
  133. package/build/{component.constants-B-ZUZwuJ.js → component.constants-3UuU_a__.js} +3 -3
  134. package/build/{component.constants-B-ZUZwuJ.js.map → component.constants-3UuU_a__.js.map} +1 -1
  135. package/build/{component.constants-DwSQ9oe4.js → component.constants-B0mODNks.js} +6 -7
  136. package/build/{component.constants-DwSQ9oe4.js.map → component.constants-B0mODNks.js.map} +1 -1
  137. package/build/{component.constants-DiCmqOri.cjs → component.constants-CoFHa30V.cjs} +2 -2
  138. package/build/{component.constants-DiCmqOri.cjs.map → component.constants-CoFHa30V.cjs.map} +1 -1
  139. package/build/component.constants-vNAPiC5p.cjs +2 -0
  140. package/build/{component.constants-hDTTnj7k.cjs.map → component.constants-vNAPiC5p.cjs.map} +1 -1
  141. package/build/{component.types-CYtUJDuN.cjs → component.types-BRZsYWlH.cjs} +2 -2
  142. package/build/{component.types-CYtUJDuN.cjs.map → component.types-BRZsYWlH.cjs.map} +1 -1
  143. package/build/{component.types-DFRLIpd6.js → component.types-Cysm3D4v.js} +3 -3
  144. package/build/{component.types-DFRLIpd6.js.map → component.types-Cysm3D4v.js.map} +1 -1
  145. package/build/consts.cjs.js +1 -1
  146. package/build/consts.es.js +1 -1
  147. package/build/context-app.cjs.js +1 -1
  148. package/build/context-app.es.js +17 -17
  149. package/build/context-dialog.cjs.js +1 -1
  150. package/build/context-dialog.es.js +2 -2
  151. package/build/context-sonner.cjs.js +1 -1
  152. package/build/context-sonner.es.js +18 -18
  153. package/build/{context.constants-C5Unln0I.js → context.constants-BVl2x1gR.js} +302 -179
  154. package/build/context.constants-BVl2x1gR.js.map +1 -0
  155. package/build/{context.constants-CRxCVRKK.cjs → context.constants-BgXWD3zz.cjs} +2 -2
  156. package/build/{context.constants-CRxCVRKK.cjs.map → context.constants-BgXWD3zz.cjs.map} +1 -1
  157. package/build/{context.constants-CaDW-QGJ.js → context.constants-D-s5XvZX.js} +2 -2
  158. package/build/{context.constants-CaDW-QGJ.js.map → context.constants-D-s5XvZX.js.map} +1 -1
  159. package/build/{context.constants-DSfxf3ST.cjs → context.constants-YhrMPIvq.cjs} +285 -227
  160. package/build/context.constants-YhrMPIvq.cjs.map +1 -0
  161. package/build/{context.hooks-BfmhHvrX.cjs → context.hooks-99wJ8TBG.cjs} +2 -2
  162. package/build/{context.hooks-BfmhHvrX.cjs.map → context.hooks-99wJ8TBG.cjs.map} +1 -1
  163. package/build/{context.hooks-ByjHt-DO.cjs → context.hooks-B16qxQQY.cjs} +2 -2
  164. package/build/{context.hooks-ByjHt-DO.cjs.map → context.hooks-B16qxQQY.cjs.map} +1 -1
  165. package/build/{context.hooks-CKO6mDS-.js → context.hooks-DjwMqRSt.js} +2 -2
  166. package/build/{context.hooks-CKO6mDS-.js.map → context.hooks-DjwMqRSt.js.map} +1 -1
  167. package/build/{context.hooks-PU-CST61.cjs → context.hooks-Dkb5yK8Z.cjs} +2 -2
  168. package/build/{context.hooks-PU-CST61.cjs.map → context.hooks-Dkb5yK8Z.cjs.map} +1 -1
  169. package/build/{context.hooks-B2vWSael.js → context.hooks-KS9z3sac.js} +2 -2
  170. package/build/{context.hooks-B2vWSael.js.map → context.hooks-KS9z3sac.js.map} +1 -1
  171. package/build/{context.hooks-Bj9FlQEC.js → context.hooks-fo2TeZoK.js} +2 -2
  172. package/build/{context.hooks-Bj9FlQEC.js.map → context.hooks-fo2TeZoK.js.map} +1 -1
  173. package/build/index.cjs.js +1 -1
  174. package/build/index.d.ts +19 -7
  175. package/build/index.es.js +188 -190
  176. package/build/index.es.js.map +1 -1
  177. package/build/style-error.cjs.js +1 -1
  178. package/build/style-error.es.js +4 -4
  179. package/build/style-theme.cjs.js +1 -1
  180. package/build/style-theme.es.js +13 -13
  181. package/build/{use-7TZR9yNq.js → use-BI2JJFUm.js} +6 -6
  182. package/build/{use-7TZR9yNq.js.map → use-BI2JJFUm.js.map} +1 -1
  183. package/build/{use-DNJlP5ji.cjs → use-CtF6jyms.cjs} +3 -3
  184. package/build/{use-DNJlP5ji.cjs.map → use-CtF6jyms.cjs.map} +1 -1
  185. package/package.json +1 -1
  186. package/build/area-C5QUBcb-.js +0 -26
  187. package/build/area-C5QUBcb-.js.map +0 -1
  188. package/build/area-k8GR7Khj.cjs +0 -2
  189. package/build/area-k8GR7Khj.cjs.map +0 -1
  190. package/build/area.styles-BJCDsTi3.js +0 -46
  191. package/build/area.styles-BJCDsTi3.js.map +0 -1
  192. package/build/area.styles-CtrTLcAj.cjs +0 -40
  193. package/build/area.styles-CtrTLcAj.cjs.map +0 -1
  194. package/build/area.styles-DQBIvHdz.cjs +0 -27
  195. package/build/component-IlhRGJHX.cjs +0 -2
  196. package/build/component-KwYlKatx.cjs +0 -2
  197. package/build/component.constants-hDTTnj7k.cjs +0 -2
  198. package/build/component.styles-CNn9SMc9.cjs +0 -10
  199. package/build/component.styles-CNn9SMc9.cjs.map +0 -1
  200. package/build/component.styles-eaocqYbA.js +0 -16
  201. package/build/component.styles-eaocqYbA.js.map +0 -1
  202. package/build/context.constants-C5Unln0I.js.map +0 -1
  203. package/build/context.constants-DSfxf3ST.cjs.map +0 -1
@@ -2,15 +2,14 @@ import { j as jsxRuntimeExports } from "./jsx-runtime-BrDlu8eK.js";
2
2
  import { d as addRippleDefault } from "./component.styles-B0L4jbOO.js";
3
3
  import * as React from "react";
4
4
  import React__default, { useMemo, useState, useEffect, useRef, useLayoutEffect, useCallback, memo, createContext } from "react";
5
- import styled, { useTheme, createGlobalStyle, css, keyframes, styled as styled$1 } from "styled-components";
5
+ import styled, { useTheme, createGlobalStyle, keyframes, css, styled as styled$1 } from "styled-components";
6
6
  import { f as addColorTransition, b as addTransition, g as addOutline, c as addFont, i as addAlwaysOutline, l as addDisabled, d as addTransitionWithoutSize, h as addOutlineChildren, j as addRemoveOutline, k as addNiceNumber, a as addRemoveScrollbar, e as addGridTransition } from "./style-RL73t3JD.js";
7
7
  import { a as addSX } from "./style-plT9Ah7t.js";
8
8
  import { getContrastYIQ } from "./functions.es.js";
9
- import { c as StackMotion, b as Stack } from "./component-mzzOCXSx.js";
9
+ import { b as Stack, c as StackMotion } from "./component-DEZX8aBs.js";
10
10
  import reset from "styled-reset";
11
11
  import { AnimatePresence, motion } from "framer-motion";
12
- import "./area.styles-DWqSyo49.js";
13
- import "./area.styles-BJCDsTi3.js";
12
+ import "./area.styles-BSqCfPE4.js";
14
13
  import { W as WordsPullUp } from "./motion-CIQfrLky.js";
15
14
  import { u as useScreenWidth } from "./context.hooks-BmwyZ1p3.js";
16
15
  import { u as useDeepCompareMemoize } from "./use-DT0XgvJT.js";
@@ -21,8 +20,7 @@ import { LIBRARY_VERSION, LIST_LANGUAGE, LIST_MAP_THEME } from "./consts.es.js";
21
20
  import { useVirtualizer } from "@tanstack/react-virtual";
22
21
  import moment from "moment";
23
22
  import { R as Ripple } from "./component-DHM9pbab.js";
24
- import "./component.styles-eaocqYbA.js";
25
- import "./context.constants-CaDW-QGJ.js";
23
+ import "./context.constants-D-s5XvZX.js";
26
24
  import { v4 } from "uuid";
27
25
  import "react-leaflet";
28
26
  import "leaflet.markercluster";
@@ -41,10 +39,20 @@ const Icon = (props) => {
41
39
  [props.name, props.type, theme.icon.getIconId]
42
40
  );
43
41
  const spriteUrl = useMemo(() => theme.icon.getSpriteUrl({ type: props.type }), [props.type, theme.icon.getSpriteUrl]);
44
- const loaded = useLazyInjectSprite(spriteUrl);
45
- if (!loaded) return null;
42
+ const { loaded, error: error2 } = useLazyInjectSprite(spriteUrl);
43
+ if (!loaded || error2)
44
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
45
+ StyledIconSkeleton,
46
+ {
47
+ $size: props.size,
48
+ $order: props.order,
49
+ color: props.color ?? void 0,
50
+ className: props.className,
51
+ visible: true
52
+ }
53
+ );
46
54
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
47
- StyledSVG,
55
+ StyledIcon,
48
56
  {
49
57
  width: "24",
50
58
  height: "24",
@@ -53,7 +61,7 @@ const Icon = (props) => {
53
61
  $size: props.size,
54
62
  $turn: props.turn,
55
63
  $order: props.order,
56
- $color: props.color || void 0,
64
+ $color: props.color ?? void 0,
57
65
  $sx: props.sx,
58
66
  className: props.className,
59
67
  onClick: props.onClick,
@@ -93,31 +101,51 @@ function useInjectSprites(urls) {
93
101
  }
94
102
  const loadedSprites = /* @__PURE__ */ new Map();
95
103
  function useLazyInjectSprite(url) {
96
- const [loaded, setLoaded] = useState(loadedSprites.has(url));
104
+ const [loaded, setLoaded] = useState(false);
105
+ const [error2, setError] = useState(null);
97
106
  useEffect(() => {
98
- var _a;
99
- if (loaded) return;
100
107
  let isMounted = true;
101
- if (!loadedSprites.has(url)) {
102
- const promise = (async () => {
103
- const res = await fetch(url);
104
- if (!res.ok) throw new Error(`Failed to load sprite: ${url}`);
105
- const text = await res.text();
106
- const div = document.createElement("div");
107
- div.style.display = "none";
108
- div.innerHTML = text;
109
- document.body.prepend(div);
110
- })();
111
- loadedSprites.set(url, promise);
108
+ let status = loadedSprites.get(url);
109
+ if (status == null ? void 0 : status.loaded) {
110
+ setLoaded(true);
111
+ setError(status.error ?? null);
112
+ return;
112
113
  }
113
- (_a = loadedSprites.get(url)) == null ? void 0 : _a.then(() => {
114
- if (isMounted) setLoaded(true);
114
+ let promise;
115
+ if (!status) {
116
+ promise = (async () => {
117
+ try {
118
+ const res = await fetch(url);
119
+ if (!res.ok) throw new Error(`Failed to load sprite: ${url}`);
120
+ const text = await res.text();
121
+ const div = document.createElement("div");
122
+ div.style.display = "none";
123
+ div.innerHTML = text;
124
+ document.body.prepend(div);
125
+ loadedSprites.set(url, { promise, loaded: true });
126
+ } catch (err) {
127
+ const errorObj = err instanceof Error ? err : new Error(String(err));
128
+ loadedSprites.set(url, { promise, loaded: true, error: errorObj });
129
+ if (isMounted) setError(errorObj);
130
+ throw err;
131
+ }
132
+ })();
133
+ loadedSprites.set(url, { promise, loaded: false });
134
+ } else {
135
+ promise = status.promise;
136
+ }
137
+ promise.then(() => {
138
+ if (!isMounted) return;
139
+ const s = loadedSprites.get(url);
140
+ setLoaded((s == null ? void 0 : s.loaded) ?? true);
141
+ setError((s == null ? void 0 : s.error) ?? null);
142
+ }).catch(() => {
115
143
  });
116
144
  return () => {
117
145
  isMounted = false;
118
146
  };
119
- }, [url, loaded]);
120
- return loaded;
147
+ }, [url]);
148
+ return { loaded, error: error2 };
121
149
  }
122
150
  const ThemeMapId = [
123
151
  "Close",
@@ -1112,7 +1140,7 @@ const ThemeLight = {
1112
1140
  return `#${props.type}-${props.name}`;
1113
1141
  },
1114
1142
  getSpriteUrl(props) {
1115
- return `https://assets.jenesei.ru/icons/${props.type}.svg?v=${LIBRARY_VERSION}`;
1143
+ return `https://id.assets.jenesei.ru/icons/${props.type}.svg?v=${LIBRARY_VERSION}`;
1116
1144
  }
1117
1145
  },
1118
1146
  transition: {
@@ -1418,7 +1446,76 @@ const JeneseiGlobalStyles = createGlobalStyle`
1418
1446
  }
1419
1447
  }
1420
1448
  `;
1421
- const StyledSVG = styled.svg`
1449
+ const shimmer = keyframes`
1450
+ 0% {
1451
+ background-position: 100%;
1452
+ }
1453
+ 100% {
1454
+ background-position: -100%;
1455
+ }
1456
+ `;
1457
+ const StyledSkeleton = styled(Stack)`
1458
+ background: transparent;
1459
+
1460
+ ${(props) => css`
1461
+ ${!props.$visible && css`
1462
+ ${props.$type === "secondary" ? css`
1463
+ background: linear-gradient(
1464
+ 90deg,
1465
+ ${props.$color ? JeneseiPalette[props.$color] : props.$isInheritColor ? "inherit" : "#f6f7f8"} 25%,
1466
+ ${props.$color ? JeneseiPalette[props.$color] : props.$isInheritColor ? "inherit" : "#edeef1"} 50%,
1467
+ ${props.$color ? JeneseiPalette[props.$color] : props.$isInheritColor ? "inherit" : "#f6f7f8"} 75%
1468
+ );
1469
+ ` : css`
1470
+ background: linear-gradient(
1471
+ 90deg,
1472
+ ${props.$color ? JeneseiPalette[props.$color] : props.$isInheritColor ? "inherit" : "#edeef1"} 25%,
1473
+ ${props.$color ? JeneseiPalette[props.$color] : props.$isInheritColor ? "inherit" : "#f6f7f8"} 50%,
1474
+ ${props.$color ? JeneseiPalette[props.$color] : props.$isInheritColor ? "inherit" : "#edeef1"} 75%
1475
+ );
1476
+ `};
1477
+ background-size: 200% 100%;
1478
+ animation: ${shimmer} 1.5s infinite linear;
1479
+
1480
+ `};
1481
+ `}
1482
+ & > * {
1483
+ opacity: ${(props) => !props.$visible ? 0 : 1};
1484
+ transition:
1485
+ outline 0s,
1486
+ opacity ${(props) => props.theme.transition.default};
1487
+ }
1488
+ `;
1489
+ const Skeleton = (props) => {
1490
+ const [visible, setVisible] = useState(props.defaultVisible ?? false);
1491
+ useEffect(() => {
1492
+ if ("time" in props) {
1493
+ const timer = setTimeout(() => {
1494
+ setVisible(true);
1495
+ }, props.time);
1496
+ return () => {
1497
+ clearTimeout(timer);
1498
+ };
1499
+ }
1500
+ }, [props]);
1501
+ useEffect(() => {
1502
+ if ("visible" in props) {
1503
+ setVisible(!props.visible);
1504
+ }
1505
+ }, [props]);
1506
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
1507
+ StyledSkeleton,
1508
+ {
1509
+ ...props,
1510
+ $visible: visible,
1511
+ $type: props.type,
1512
+ $color: props.color,
1513
+ $isInheritColor: props.isInheritColor,
1514
+ children: props.children
1515
+ }
1516
+ );
1517
+ };
1518
+ const StyledIcon = styled.svg`
1422
1519
  color: ${(props) => props.$color ? props.theme.palette[props.$color] : "inherit"};
1423
1520
 
1424
1521
  ${(props) => css`
@@ -1439,6 +1536,19 @@ const StyledSVG = styled.svg`
1439
1536
  }
1440
1537
  ${addSX};
1441
1538
  `;
1539
+ const StyledIconSkeleton = styled(Skeleton)`
1540
+ ${(props) => css`
1541
+ height: ${props.$size !== "100%" ? `${KEY_SIZE_DATA[props.$size].heightIcon}px` : "100%"};
1542
+ min-height: ${props.$size !== "100%" ? `${KEY_SIZE_DATA[props.$size].heightIcon}px` : "100%"};
1543
+
1544
+ width: ${props.$size !== "100%" ? `${KEY_SIZE_DATA[props.$size].heightIcon}px` : "100%"};
1545
+ min-width: ${props.$size !== "100%" ? `${KEY_SIZE_DATA[props.$size].heightIcon}px` : "100%"};
1546
+ `}
1547
+ ${(props) => props.$order !== void 0 && css`
1548
+ order: ${props.$order};
1549
+ `};
1550
+ border-radius: 100%;
1551
+ `;
1442
1552
  const Preview = (props) => {
1443
1553
  const [visible, setVisible] = useState(props.defaultVisible ?? true);
1444
1554
  const propsVisible = useMemo(() => "visible" in props ? props.visible : null, [props]);
@@ -7201,6 +7311,15 @@ const DateInputButton = styled(Button)`
7201
7311
  height: max-content !important;
7202
7312
  ${addDateInputButtonSize};
7203
7313
  `;
7314
+ const ImageIMG = styled.img`
7315
+ position: absolute;
7316
+ width: 100%;
7317
+ height: 100%;
7318
+ object-fit: cover;
7319
+ opacity: ${(props) => props.$isPending ? 0 : 1};
7320
+ ${addTransition};
7321
+ ${addSX};
7322
+ `;
7204
7323
  const ImageSelectListGenre = css`
7205
7324
  ${(props) => css`
7206
7325
  background: ${props.theme.colors.imageSelect[props.$genre].background.rest};
@@ -8275,159 +8394,163 @@ const DEFAULT_PROVIDER_SONNER_BUTTON = {
8275
8394
  }
8276
8395
  };
8277
8396
  export {
8278
- StyledMotionInput as $,
8397
+ InputSizeConstructor as $,
8279
8398
  AccordionWrapper as A,
8280
8399
  Button as B,
8281
8400
  CheckboxSize as C,
8282
8401
  DateWrapper as D,
8283
- getIconComponents as E,
8284
- useInjectSprites as F,
8285
- useLazyInjectSprite as G,
8286
- StyledSVG as H,
8402
+ addDateInputButtonSize as E,
8403
+ DateInputButton as F,
8404
+ getIconComponents as G,
8405
+ useInjectSprites as H,
8287
8406
  Icon as I,
8288
- ImageSelectListSize as J,
8289
- ImageSelectListSizeConstructor as K,
8290
- ImageSelectSize as L,
8291
- ImageSelectSizeConstructor as M,
8292
- ImageSelectWrapper as N,
8293
- ImageSelectListWrapper as O,
8407
+ useLazyInjectSprite as J,
8408
+ StyledIcon as K,
8409
+ StyledIconSkeleton as L,
8410
+ ImageIMG as M,
8411
+ ImageSelectListSize as N,
8412
+ ImageSelectListSizeConstructor as O,
8294
8413
  Preview as P,
8295
- SliderImage as Q,
8296
- SliderDot as R,
8297
- StyledButton as S,
8298
- StyledInputWrapper as T,
8299
- addInputPlaceholder as U,
8300
- addInputPlaceholderNiceNumber as V,
8301
- InputSize as W,
8302
- InputSizeConstructor as X,
8303
- addInputIsInputEffect as Y,
8304
- StyledInputCSS as Z,
8305
- StyledInput as _,
8306
- AccordionSummary as a,
8307
- ProviderAppOutletFooter as a$,
8308
- StyledInputPattern as a0,
8309
- StyledInputNumeric as a1,
8310
- InputPrefixChildren as a2,
8311
- InputPostfixChildren as a3,
8312
- InputOTPSize as a4,
8313
- InputOTPSizeConstructor as a5,
8314
- InputOTPWrapper as a6,
8315
- DEFAULT_MAP_MAX_ZOOM as a7,
8316
- DEFAULT_MAP_MIN_ZOOM as a8,
8317
- DEFAULT_MAP_ZOOM as a9,
8318
- StyledTextArea as aA,
8319
- ToggleWrapper as aB,
8320
- ToggleCenter as aC,
8321
- TooltipContainer as aD,
8322
- addTooltipBoxSize as aE,
8323
- addTooltipBoxSizeConstructor as aF,
8324
- TooltipBox as aG,
8325
- Tooltip as aH,
8326
- TooltipContent as aI,
8327
- DEFAULT_TOOLTIP_PLACEMENT_FALLBACK as aJ,
8328
- DEFAULT_TOOLTIP_OFFSET_FALLBACK as aK,
8329
- addSXTypography as aL,
8330
- Title as aM,
8331
- Typography as aN,
8332
- TypographyLink as aO,
8333
- TypographyTooltip as aP,
8334
- AppContext as aQ,
8335
- ProviderApp as aR,
8336
- useBgColor as aS,
8337
- useStatusBarColor as aT,
8338
- useBgImage as aU,
8339
- useDescription as aV,
8340
- ProviderAppWrapper as aW,
8341
- ProviderAppOutlet as aX,
8342
- ProviderAppOutletChildren as aY,
8343
- ProviderAppOutletNotification as aZ,
8344
- ProviderAppOutletHeader as a_,
8345
- DEFAULT_MAP_CENTER as aa,
8346
- DEFAULT_MAP_THEME as ab,
8347
- MapWrapper as ac,
8348
- RangeWrapper as ad,
8349
- RangeTrack as ae,
8350
- RangeThumb as af,
8351
- Select as ag,
8352
- ContainerDropdownListOption as ah,
8353
- ContainerSelectListOption as ai,
8354
- SelectLanguage as aj,
8355
- SelectMonth as ak,
8356
- SelectMonths as al,
8357
- SelectYear as am,
8358
- SelectMapTheme as an,
8359
- SelectWrapper as ao,
8360
- DropdownListParent as ap,
8361
- DropdownList as aq,
8362
- DropdownListOption as ar,
8363
- DropdownListOptionIcon as as,
8364
- SelectList as at,
8365
- ButtonList as au,
8366
- SelectListOption as av,
8367
- SelectTextArea as aw,
8368
- TextArea as ax,
8369
- TextAreaWrapper as ay,
8370
- addTextArea as az,
8371
- AccordionSummaryContent as b,
8372
- ProviderAppOutletNav as b0,
8373
- ProviderAppOutletLeftAside as b1,
8374
- ProviderAppOutletRightAside as b2,
8375
- SonnerContext as b3,
8376
- ProviderSonner as b4,
8377
- SonnerLayout as b5,
8378
- SonnerElementWrapper as b6,
8379
- SonnerContent as b7,
8380
- SonnerIcon as b8,
8381
- SonnerContentTitle as b9,
8382
- SonnerContentDescription as ba,
8383
- SonnerButtonWrapper as bb,
8384
- DEFAULT_PROVIDER_SONNER_Z_INDEX as bc,
8385
- DEFAULT_PROVIDER_SONNER_SCALE as bd,
8386
- DEFAULT_PROVIDER_SONNER_Y as be,
8387
- DEFAULT_PROVIDER_SONNER_DURATION as bf,
8388
- DEFAULT_PROVIDER_SONNER_GENRE as bg,
8389
- DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM as bh,
8390
- DEFAULT_PROVIDER_SONNER_BUTTON as bi,
8391
- ErrorMessageComponent as bj,
8392
- addError as bk,
8393
- ErrorMessage as bl,
8394
- JeneseiPalette as bm,
8395
- ThemeLight as bn,
8396
- ThemeBlack as bo,
8397
- KEY_SIZE_DATA as bp,
8398
- KEY_SIZE_DATA_TOGGLE as bq,
8399
- JeneseiGlobalStyles as br,
8400
- ThemeMapId as bs,
8401
- ThemeMapCheckbox as bt,
8402
- ThemeMapLoading as bu,
8403
- ThemeMapRealebail as bv,
8404
- ThemeMapLogo as bw,
8405
- ThemeMapBustmarket as bx,
8406
- usePopover as by,
8407
- Popover as bz,
8408
- AccordionDetails as c,
8409
- AccordionStyledIcon as d,
8410
- StyledButtonIconsWrapper as e,
8411
- ButtonGroupWrapper as f,
8412
- CheckboxSizeConstructor as g,
8413
- CheckboxGenre as h,
8414
- CheckboxWrapper as i,
8415
- CheckboxGroupSize as j,
8416
- CheckboxGroupSizeConstructor as k,
8417
- CheckboxGroupWrapper as l,
8418
- CheckboxGroupItem as m,
8419
- CheckboxGroupLabel as n,
8420
- CheckboxChildren as o,
8421
- DateDropdownListParent as p,
8422
- DateDropdownList as q,
8423
- DateDropdownDays as r,
8424
- addDateDropdownDaySize as s,
8425
- DateDropdownDay as t,
8426
- DateDropdownDayOfWeek as u,
8427
- DateInput as v,
8428
- addDateInputWrapperSize as w,
8429
- DateInputWrapper as x,
8430
- addDateInputButtonSize as y,
8431
- DateInputButton as z
8414
+ ImageSelectSize as Q,
8415
+ ImageSelectSizeConstructor as R,
8416
+ StyledSkeleton as S,
8417
+ ImageSelectWrapper as T,
8418
+ ImageSelectListWrapper as U,
8419
+ SliderImage as V,
8420
+ SliderDot as W,
8421
+ StyledInputWrapper as X,
8422
+ addInputPlaceholder as Y,
8423
+ addInputPlaceholderNiceNumber as Z,
8424
+ InputSize as _,
8425
+ Skeleton as a,
8426
+ ProviderAppOutlet as a$,
8427
+ addInputIsInputEffect as a0,
8428
+ StyledInputCSS as a1,
8429
+ StyledInput as a2,
8430
+ StyledMotionInput as a3,
8431
+ StyledInputPattern as a4,
8432
+ StyledInputNumeric as a5,
8433
+ InputPrefixChildren as a6,
8434
+ InputPostfixChildren as a7,
8435
+ InputOTPSize as a8,
8436
+ InputOTPSizeConstructor as a9,
8437
+ SelectTextArea as aA,
8438
+ TextArea as aB,
8439
+ TextAreaWrapper as aC,
8440
+ addTextArea as aD,
8441
+ StyledTextArea as aE,
8442
+ ToggleWrapper as aF,
8443
+ ToggleCenter as aG,
8444
+ TooltipContainer as aH,
8445
+ addTooltipBoxSize as aI,
8446
+ addTooltipBoxSizeConstructor as aJ,
8447
+ TooltipBox as aK,
8448
+ Tooltip as aL,
8449
+ TooltipContent as aM,
8450
+ DEFAULT_TOOLTIP_PLACEMENT_FALLBACK as aN,
8451
+ DEFAULT_TOOLTIP_OFFSET_FALLBACK as aO,
8452
+ addSXTypography as aP,
8453
+ Title as aQ,
8454
+ Typography as aR,
8455
+ TypographyLink as aS,
8456
+ TypographyTooltip as aT,
8457
+ AppContext as aU,
8458
+ ProviderApp as aV,
8459
+ useBgColor as aW,
8460
+ useStatusBarColor as aX,
8461
+ useBgImage as aY,
8462
+ useDescription as aZ,
8463
+ ProviderAppWrapper as a_,
8464
+ InputOTPWrapper as aa,
8465
+ DEFAULT_MAP_MAX_ZOOM as ab,
8466
+ DEFAULT_MAP_MIN_ZOOM as ac,
8467
+ DEFAULT_MAP_ZOOM as ad,
8468
+ DEFAULT_MAP_CENTER as ae,
8469
+ DEFAULT_MAP_THEME as af,
8470
+ MapWrapper as ag,
8471
+ RangeWrapper as ah,
8472
+ RangeTrack as ai,
8473
+ RangeThumb as aj,
8474
+ Select as ak,
8475
+ ContainerDropdownListOption as al,
8476
+ ContainerSelectListOption as am,
8477
+ SelectLanguage as an,
8478
+ SelectMonth as ao,
8479
+ SelectMonths as ap,
8480
+ SelectYear as aq,
8481
+ SelectMapTheme as ar,
8482
+ SelectWrapper as as,
8483
+ DropdownListParent as at,
8484
+ DropdownList as au,
8485
+ DropdownListOption as av,
8486
+ DropdownListOptionIcon as aw,
8487
+ SelectList as ax,
8488
+ ButtonList as ay,
8489
+ SelectListOption as az,
8490
+ AccordionSummary as b,
8491
+ ProviderAppOutletChildren as b0,
8492
+ ProviderAppOutletNotification as b1,
8493
+ ProviderAppOutletHeader as b2,
8494
+ ProviderAppOutletFooter as b3,
8495
+ ProviderAppOutletNav as b4,
8496
+ ProviderAppOutletLeftAside as b5,
8497
+ ProviderAppOutletRightAside as b6,
8498
+ SonnerContext as b7,
8499
+ ProviderSonner as b8,
8500
+ SonnerLayout as b9,
8501
+ ThemeMapLogo as bA,
8502
+ ThemeMapBustmarket as bB,
8503
+ usePopover as bC,
8504
+ Popover as bD,
8505
+ SonnerElementWrapper as ba,
8506
+ SonnerContent as bb,
8507
+ SonnerIcon as bc,
8508
+ SonnerContentTitle as bd,
8509
+ SonnerContentDescription as be,
8510
+ SonnerButtonWrapper as bf,
8511
+ DEFAULT_PROVIDER_SONNER_Z_INDEX as bg,
8512
+ DEFAULT_PROVIDER_SONNER_SCALE as bh,
8513
+ DEFAULT_PROVIDER_SONNER_Y as bi,
8514
+ DEFAULT_PROVIDER_SONNER_DURATION as bj,
8515
+ DEFAULT_PROVIDER_SONNER_GENRE as bk,
8516
+ DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM as bl,
8517
+ DEFAULT_PROVIDER_SONNER_BUTTON as bm,
8518
+ ErrorMessageComponent as bn,
8519
+ addError as bo,
8520
+ ErrorMessage as bp,
8521
+ JeneseiPalette as bq,
8522
+ ThemeLight as br,
8523
+ ThemeBlack as bs,
8524
+ KEY_SIZE_DATA as bt,
8525
+ KEY_SIZE_DATA_TOGGLE as bu,
8526
+ JeneseiGlobalStyles as bv,
8527
+ ThemeMapId as bw,
8528
+ ThemeMapCheckbox as bx,
8529
+ ThemeMapLoading as by,
8530
+ ThemeMapRealebail as bz,
8531
+ AccordionSummaryContent as c,
8532
+ AccordionDetails as d,
8533
+ AccordionStyledIcon as e,
8534
+ StyledButton as f,
8535
+ StyledButtonIconsWrapper as g,
8536
+ ButtonGroupWrapper as h,
8537
+ CheckboxSizeConstructor as i,
8538
+ CheckboxGenre as j,
8539
+ CheckboxWrapper as k,
8540
+ CheckboxGroupSize as l,
8541
+ CheckboxGroupSizeConstructor as m,
8542
+ CheckboxGroupWrapper as n,
8543
+ CheckboxGroupItem as o,
8544
+ CheckboxGroupLabel as p,
8545
+ CheckboxChildren as q,
8546
+ DateDropdownListParent as r,
8547
+ DateDropdownList as s,
8548
+ DateDropdownDays as t,
8549
+ addDateDropdownDaySize as u,
8550
+ DateDropdownDay as v,
8551
+ DateDropdownDayOfWeek as w,
8552
+ DateInput as x,
8553
+ addDateInputWrapperSize as y,
8554
+ DateInputWrapper as z
8432
8555
  };
8433
- //# sourceMappingURL=context.constants-C5Unln0I.js.map
8556
+ //# sourceMappingURL=context.constants-BVl2x1gR.js.map