stone-kit 0.0.877 → 0.0.879

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 (243) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/{src/pages/ButtonsPage/ButtonState/ButtonState.module.scss.js → ButtonState.module-DtW3aevR.js} +1 -4
  3. package/dist/FilterWithSave-Bp6rH8Pe.js +2230 -0
  4. package/dist/Menu-CgCfinVZ.js +513 -0
  5. package/dist/Option-BVIm7wOW.js +83 -0
  6. package/dist/{src/components/NewIcon/assets/PinTrans.svg.js → PinTrans-D6OZq76b.js} +4 -4
  7. package/dist/Router.js +9 -9
  8. package/dist/{src/components/NewIcon/assets/SmallFilter.svg.js → SmallFilter-C-VKnbkP.js} +3 -3
  9. package/dist/components/Button/ui/Button.js +73 -44
  10. package/dist/components/CheckBox/CheckBox.js +46 -35
  11. package/dist/components/CheckBoxNew/CheckBoxNew.js +23 -19
  12. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +31 -24
  13. package/dist/components/DestinationTab/ui/DestinationTab.js +48 -35
  14. package/dist/components/FieldInput/ui/FieldInput.js +10 -7
  15. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +5 -61
  16. package/dist/components/FilterWithSave/ui/FilterWithSave.js +7 -266
  17. package/dist/components/Flex/ui/Flex.js +61 -26
  18. package/dist/components/FormModal/ui/ModalForm.js +14 -289
  19. package/dist/components/GroupedInput/ui/GroupedInputs.js +6 -5
  20. package/dist/components/Input/ui/Input.js +3307 -74
  21. package/dist/components/Logo/ui/Logo.js +31 -19
  22. package/dist/components/Logo/ui/Logo.types.js +10 -18
  23. package/dist/components/LotCard/hooks/useLotCard.js +11 -125
  24. package/dist/components/LotCard/index.js +2 -2
  25. package/dist/components/LotCard/ui/LotCard.js +9 -150
  26. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +58 -31
  27. package/dist/components/MetroLabel/ui/MetroLabel.js +24 -19
  28. package/dist/components/MetroTag/ui/MetroTag.js +72 -59
  29. package/dist/components/Modal/ui/Modal.js +38 -33
  30. package/dist/components/ModalSuccess/ModalSuccess.js +35 -26
  31. package/dist/components/NewIcon/icons/PinTrans.js +3 -3
  32. package/dist/components/NewIcon/icons/SmallFilter.js +1 -1
  33. package/dist/components/NewIcon/ui/NewIcon.js +301 -141
  34. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +15 -5
  35. package/dist/components/RoundButton/ui/RoundButton.js +60 -42
  36. package/dist/components/Select/ui/Category.js +29 -30
  37. package/dist/components/Select/ui/Option.js +5 -52
  38. package/dist/components/Select/ui/Select.js +23 -24
  39. package/dist/components/SliderNavigation/ui/SliderNavigation.js +28 -27
  40. package/dist/components/SortSelect/hooks/useSortSelect.js +4 -59
  41. package/dist/components/SortSelect/index.js +1 -1
  42. package/dist/components/SortSelect/ui/SortSelect.js +9 -114
  43. package/dist/components/SummarySelect/ui/SummarySelect.js +69 -59
  44. package/dist/components/Switcher/ui/Switcher.js +24 -13
  45. package/dist/components/TabSelect/ui/TabSelect.js +34 -28
  46. package/dist/components/TabSwitcher/index.js +2 -2
  47. package/dist/components/TabSwitcher/ui/TabSwitcher.js +7 -84
  48. package/dist/components/Tag/ui/Tag.js +67 -19
  49. package/dist/components/Text/ui/Text.js +13 -12
  50. package/dist/components/TextArea/TextArea.js +14 -11
  51. package/dist/components/ZoomControls/ui/ZoomControls.js +11 -8
  52. package/dist/components/mobileButton/ui/MobileButton.js +39 -34
  53. package/dist/index-DmANy9jd.js +890 -0
  54. package/dist/{node_modules/classnames/index.js → index-rKuIKazb.js} +15 -12
  55. package/dist/layout/Layout.js +8 -7
  56. package/dist/layout/components/Header/Header.js +44 -41
  57. package/dist/layout/components/Menu.js +6 -111
  58. package/dist/main.js +42 -46
  59. package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +1 -1
  60. package/dist/pages/ButtonsPage/Buttons.js +62 -54
  61. package/dist/pages/CheckboxPage/CheckboxPage.js +51 -47
  62. package/dist/pages/FormsPage/FormsPage.js +32 -31
  63. package/dist/pages/HomePage/HomePage.js +4 -3
  64. package/dist/pages/IconsPage/IconsPage.js +10 -12
  65. package/dist/pages/InputPage/InputPage.js +12 -17
  66. package/dist/pages/LogoPage/LogoPage.js +14 -17
  67. package/dist/pages/LotsPage/LotsPage.js +15 -15
  68. package/dist/pages/ModalsPage/ModalPage.js +14 -19
  69. package/dist/pages/SelectPage/SelectPage.js +41 -42
  70. package/dist/pages/TabsPage/TabsPage.js +51 -49
  71. package/dist/pages/TagsPage/TagsPage.js +7 -10
  72. package/dist/stories/Button.js +4 -5
  73. package/dist/stories/Header.js +3 -4
  74. package/dist/stories/Page.js +2 -3
  75. package/dist/style.css +1 -1
  76. package/dist/useSortSelect-CjZXLFOG.js +80 -0
  77. package/package.json +4 -3
  78. package/dist/_virtual/_commonjsHelpers.js +0 -6
  79. package/dist/_virtual/bind.js +0 -4
  80. package/dist/_virtual/index.js +0 -4
  81. package/dist/_virtual/index2.js +0 -4
  82. package/dist/_virtual/index3.js +0 -4
  83. package/dist/_virtual/react-is.development.js +0 -4
  84. package/dist/_virtual/react-is.production.min.js +0 -4
  85. package/dist/node_modules/@remix-run/router/dist/router.js +0 -431
  86. package/dist/node_modules/classnames/bind.js +0 -42
  87. package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -35
  88. package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
  89. package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
  90. package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
  91. package/dist/node_modules/imask/esm/controls/input.js +0 -224
  92. package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
  93. package/dist/node_modules/imask/esm/core/action-details.js +0 -51
  94. package/dist/node_modules/imask/esm/core/change-details.js +0 -36
  95. package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -44
  96. package/dist/node_modules/imask/esm/core/holder.js +0 -6
  97. package/dist/node_modules/imask/esm/core/utils.js +0 -80
  98. package/dist/node_modules/imask/esm/index.js +0 -50
  99. package/dist/node_modules/imask/esm/masked/base.js +0 -257
  100. package/dist/node_modules/imask/esm/masked/date.js +0 -118
  101. package/dist/node_modules/imask/esm/masked/dynamic.js +0 -224
  102. package/dist/node_modules/imask/esm/masked/enum.js +0 -70
  103. package/dist/node_modules/imask/esm/masked/factory.js +0 -51
  104. package/dist/node_modules/imask/esm/masked/function.js +0 -23
  105. package/dist/node_modules/imask/esm/masked/number.js +0 -215
  106. package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -110
  107. package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -102
  108. package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -103
  109. package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -134
  110. package/dist/node_modules/imask/esm/masked/pattern.js +0 -339
  111. package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
  112. package/dist/node_modules/imask/esm/masked/range.js +0 -82
  113. package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
  114. package/dist/node_modules/imask/esm/masked/repeat.js +0 -106
  115. package/dist/node_modules/object-assign/index.js +0 -55
  116. package/dist/node_modules/prop-types/checkPropTypes.js +0 -55
  117. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -53
  118. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -330
  119. package/dist/node_modules/prop-types/index.js +0 -15
  120. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -11
  121. package/dist/node_modules/prop-types/lib/has.js +0 -7
  122. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
  123. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -79
  124. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
  125. package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -1062
  126. package/dist/node_modules/react-imask/esm/input.js +0 -25
  127. package/dist/node_modules/react-imask/esm/mixin.js +0 -131
  128. package/dist/node_modules/react-router/dist/index.js +0 -486
  129. package/dist/node_modules/react-router-dom/dist/index.js +0 -424
  130. package/dist/src/components/Button/ui/Button.module.scss.js +0 -49
  131. package/dist/src/components/CheckBox/s.module.scss.js +0 -24
  132. package/dist/src/components/CheckBoxNew/s.module.scss.js +0 -13
  133. package/dist/src/components/CheckboxSelect/ui/s.module.scss.js +0 -19
  134. package/dist/src/components/DestinationTab/ui/DestinationTab.module.scss.js +0 -23
  135. package/dist/src/components/FieldInput/ui/FieldInput.module.scss.js +0 -11
  136. package/dist/src/components/FilterWithSave/ui/s.module.scss.js +0 -39
  137. package/dist/src/components/Flex/ui/Flex.module.scss.js +0 -41
  138. package/dist/src/components/FormModal/ui/ModalForm.module.scss.js +0 -31
  139. package/dist/src/components/GroupedInput/ui/GroupedInputs.module.scss.js +0 -7
  140. package/dist/src/components/Input/ui/Input.module.scss.js +0 -43
  141. package/dist/src/components/Logo/assets/LogoBlack.svg.js +0 -4
  142. package/dist/src/components/Logo/assets/LogoDom.svg.js +0 -4
  143. package/dist/src/components/Logo/assets/LogoNewDom.svg.js +0 -4
  144. package/dist/src/components/Logo/assets/LogoNewOffice.svg.js +0 -4
  145. package/dist/src/components/Logo/assets/LogoOffice.svg.js +0 -4
  146. package/dist/src/components/Logo/assets/LogoRealty.svg.js +0 -4
  147. package/dist/src/components/Logo/assets/LogoValue.svg.js +0 -4
  148. package/dist/src/components/Logo/assets/LogoWhite.svg.js +0 -4
  149. package/dist/src/components/Logo/ui/Logo.module.scss.js +0 -29
  150. package/dist/src/components/LotCard/assets/testLot.webp.js +0 -4
  151. package/dist/src/components/LotCard/ui/LotCard.module.scss.js +0 -71
  152. package/dist/src/components/LotCardSkeleton/ui/LotCardSkeleton.module.scss.js +0 -59
  153. package/dist/src/components/MetroLabel/ui/MetroLabel.module.scss.js +0 -15
  154. package/dist/src/components/MetroTag/ui/MetroTag.module.scss.js +0 -31
  155. package/dist/src/components/Modal/ui/Modal.module.scss.js +0 -15
  156. package/dist/src/components/ModalSuccess/styles.module.scss.js +0 -23
  157. package/dist/src/components/NewIcon/assets/ArrowLong.svg.js +0 -10
  158. package/dist/src/components/NewIcon/assets/ArrowShort.svg.js +0 -10
  159. package/dist/src/components/NewIcon/assets/Auto.svg.js +0 -10
  160. package/dist/src/components/NewIcon/assets/Building.svg.js +0 -10
  161. package/dist/src/components/NewIcon/assets/Burger.svg.js +0 -10
  162. package/dist/src/components/NewIcon/assets/BurgerClose.svg.js +0 -10
  163. package/dist/src/components/NewIcon/assets/Call.svg.js +0 -10
  164. package/dist/src/components/NewIcon/assets/Callback.svg.js +0 -10
  165. package/dist/src/components/NewIcon/assets/Case.svg.js +0 -10
  166. package/dist/src/components/NewIcon/assets/Check.svg.js +0 -10
  167. package/dist/src/components/NewIcon/assets/Circle.svg.js +0 -10
  168. package/dist/src/components/NewIcon/assets/Close.svg.js +0 -10
  169. package/dist/src/components/NewIcon/assets/DirectionDown.svg.js +0 -10
  170. package/dist/src/components/NewIcon/assets/Download.svg.js +0 -10
  171. package/dist/src/components/NewIcon/assets/Filter.svg.js +0 -10
  172. package/dist/src/components/NewIcon/assets/Food.svg.js +0 -10
  173. package/dist/src/components/NewIcon/assets/Fullscreen.svg.js +0 -10
  174. package/dist/src/components/NewIcon/assets/Heart.svg.js +0 -10
  175. package/dist/src/components/NewIcon/assets/Layers.svg.js +0 -10
  176. package/dist/src/components/NewIcon/assets/LayersFilled.svg.js +0 -10
  177. package/dist/src/components/NewIcon/assets/Loader.svg.js +0 -10
  178. package/dist/src/components/NewIcon/assets/Lock.svg.js +0 -10
  179. package/dist/src/components/NewIcon/assets/Metro.svg.js +0 -10
  180. package/dist/src/components/NewIcon/assets/Minus.svg.js +0 -10
  181. package/dist/src/components/NewIcon/assets/MinusCheck.svg.js +0 -10
  182. package/dist/src/components/NewIcon/assets/Moon.svg.js +0 -10
  183. package/dist/src/components/NewIcon/assets/Park.svg.js +0 -10
  184. package/dist/src/components/NewIcon/assets/Pedestrian.svg.js +0 -10
  185. package/dist/src/components/NewIcon/assets/Phone.svg.js +0 -10
  186. package/dist/src/components/NewIcon/assets/PhoneFilled.svg.js +0 -10
  187. package/dist/src/components/NewIcon/assets/Pin.svg.js +0 -10
  188. package/dist/src/components/NewIcon/assets/Play.svg.js +0 -10
  189. package/dist/src/components/NewIcon/assets/Play2.svg.js +0 -10
  190. package/dist/src/components/NewIcon/assets/Plus.svg.js +0 -10
  191. package/dist/src/components/NewIcon/assets/Redo.svg.js +0 -10
  192. package/dist/src/components/NewIcon/assets/Ruble.svg.js +0 -10
  193. package/dist/src/components/NewIcon/assets/Search.svg.js +0 -10
  194. package/dist/src/components/NewIcon/assets/SelectChecked.svg.js +0 -10
  195. package/dist/src/components/NewIcon/assets/SelectUnchecked.svg.js +0 -10
  196. package/dist/src/components/NewIcon/assets/Share.svg.js +0 -10
  197. package/dist/src/components/NewIcon/assets/Sport.svg.js +0 -10
  198. package/dist/src/components/NewIcon/assets/SquareMeter.svg.js +0 -10
  199. package/dist/src/components/NewIcon/assets/Star.svg.js +0 -10
  200. package/dist/src/components/NewIcon/assets/StarFilled.svg.js +0 -10
  201. package/dist/src/components/NewIcon/assets/Sun.svg.js +0 -10
  202. package/dist/src/components/NewIcon/assets/Telegram.svg.js +0 -10
  203. package/dist/src/components/NewIcon/assets/Timer.svg.js +0 -10
  204. package/dist/src/components/NewIcon/assets/TwoArrows.svg.js +0 -10
  205. package/dist/src/components/NewIcon/assets/User.svg.js +0 -10
  206. package/dist/src/components/NewIcon/assets/WhatsApp.svg.js +0 -10
  207. package/dist/src/components/NewIcon/assets/WithoutDecor.svg.js +0 -10
  208. package/dist/src/components/NewIcon/assets/arrowRight.svg.js +0 -10
  209. package/dist/src/components/NewIcon/assets/mail.svg.js +0 -10
  210. package/dist/src/components/NewIcon/ui/NewIcon.module.scss.js +0 -4
  211. package/dist/src/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.module.scss.js +0 -25
  212. package/dist/src/components/RoundButton/ui/RoundButton.module.scss.js +0 -29
  213. package/dist/src/components/Select/ui/Select.module.scss.js +0 -52
  214. package/dist/src/components/SliderNavigation/ui/SliderNavigation.module.scss.js +0 -7
  215. package/dist/src/components/SortSelect/ui/SortSelect.module.scss.js +0 -41
  216. package/dist/src/components/SummarySelect/ui/SummarySelect.module.scss.js +0 -25
  217. package/dist/src/components/Switcher/ui/Switcher.module.scss.js +0 -27
  218. package/dist/src/components/TabSelect/ui/TabSelect.module.scss.js +0 -17
  219. package/dist/src/components/TabSwitcher/ui/TabSwitcher.module.scss.js +0 -57
  220. package/dist/src/components/Tag/ui/Tag.module.scss.js +0 -70
  221. package/dist/src/components/Text/ui/Text.module.scss.js +0 -7
  222. package/dist/src/components/TextArea/styles.module.scss.js +0 -9
  223. package/dist/src/components/ZoomControls/ui/ZoomControls.module.scss.js +0 -11
  224. package/dist/src/components/mobileButton/ui/MobileButton.module.scss.js +0 -12
  225. package/dist/src/layout/components/Header/s.module.scss.js +0 -19
  226. package/dist/src/layout/components/Menu.module.scss.js +0 -9
  227. package/dist/src/layout/style.module.scss.js +0 -7
  228. package/dist/src/pages/ButtonsPage/ButtonState/ButtonState.js +0 -18
  229. package/dist/src/pages/ButtonsPage/ButtonsPage.module.scss.js +0 -9
  230. package/dist/src/pages/CheckboxPage/CheckboxPage.module.scss.js +0 -13
  231. package/dist/src/pages/FormsPage/FormsPage.module.scss.js +0 -15
  232. package/dist/src/pages/HomePage/HomePage.module.scss.js +0 -7
  233. package/dist/src/pages/IconsPage/IconsPage.module.scss.js +0 -9
  234. package/dist/src/pages/InputPage/InputPage.module.scss.js +0 -4
  235. package/dist/src/pages/LogoPage/LogoPage.module.scss.js +0 -7
  236. package/dist/src/pages/LotsPage/LotsPage.module.scss.js +0 -13
  237. package/dist/src/pages/ModalsPage/ModalPage.module.scss.js +0 -4
  238. package/dist/src/pages/SelectPage/SelectPage.module.scss.js +0 -11
  239. package/dist/src/pages/TabsPage/TabsPage.module.scss.js +0 -17
  240. package/dist/src/pages/TagsPage/TagsPage.module.scss.js +0 -7
  241. package/dist/src/stories/button.css.js +0 -1
  242. package/dist/src/stories/header.css.js +0 -1
  243. package/dist/src/stories/page.css.js +0 -1
@@ -1,106 +0,0 @@
1
- import k from "../core/change-details.js";
2
- import u from "../core/holder.js";
3
- import c, { normalizeOpts as d } from "./factory.js";
4
- import m from "./pattern.js";
5
- import "./base.js";
6
- import "./pattern/input-definition.js";
7
- import "./regexp.js";
8
- class _ extends m {
9
- get repeatFrom() {
10
- var t;
11
- return (t = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? t : 0;
12
- }
13
- get repeatTo() {
14
- var t;
15
- return (t = Array.isArray(this.repeat) ? this.repeat[1] : this.repeat) != null ? t : 1 / 0;
16
- }
17
- constructor(t) {
18
- super(t);
19
- }
20
- updateOptions(t) {
21
- super.updateOptions(t);
22
- }
23
- _update(t) {
24
- var i, s, r;
25
- const {
26
- repeat: n,
27
- ...l
28
- } = d(t);
29
- this._blockOpts = Object.assign({}, this._blockOpts, l);
30
- const e = c(this._blockOpts);
31
- this.repeat = (i = (s = n ?? e.repeat) != null ? s : this.repeat) != null ? i : 1 / 0, super._update({
32
- mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((r = this._blocks) == null ? void 0 : r.length) || 0, this.repeatFrom)),
33
- blocks: {
34
- m: e
35
- },
36
- eager: e.eager,
37
- overwrite: e.overwrite,
38
- skipInvalid: e.skipInvalid,
39
- lazy: e.lazy,
40
- placeholderChar: e.placeholderChar,
41
- displayChar: e.displayChar
42
- });
43
- }
44
- _allocateBlock(t) {
45
- if (t < this._blocks.length)
46
- return this._blocks[t];
47
- if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
48
- return this._blocks.push(c(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
49
- }
50
- _appendCharRaw(t, i) {
51
- i === void 0 && (i = {});
52
- const s = new k();
53
- for (
54
- let a = (r = (n = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : n.index) != null ? r : Math.max(this._blocks.length - 1, 0), h, o;
55
- // try to get a block or
56
- // try to allocate a new block if not allocated already
57
- h = (l = this._blocks[a]) != null ? l : o = !o && this._allocateBlock(a);
58
- ++a
59
- ) {
60
- var r, n, l, e;
61
- const p = h._appendChar(t, {
62
- ...i,
63
- _beforeTailState: (e = i._beforeTailState) == null || (e = e._blocks) == null ? void 0 : e[a]
64
- });
65
- if (p.skip && o) {
66
- this._blocks.pop(), this.mask = this.mask.slice(1);
67
- break;
68
- }
69
- if (s.aggregate(p), p.consumed)
70
- break;
71
- }
72
- return s;
73
- }
74
- _trimEmptyTail(t, i) {
75
- var s, r;
76
- t === void 0 && (t = 0);
77
- const n = Math.max(((s = this._mapPosToBlock(t)) == null ? void 0 : s.index) || 0, this.repeatFrom, 0);
78
- let l;
79
- i != null && (l = (r = this._mapPosToBlock(i)) == null ? void 0 : r.index), l == null && (l = this._blocks.length - 1);
80
- let e = 0;
81
- for (let a = l; n <= a && !this._blocks[a].unmaskedValue; --a, ++e)
82
- ;
83
- e && (this._blocks.splice(l - e + 1, e), this.mask = this.mask.slice(e));
84
- }
85
- reset() {
86
- super.reset(), this._trimEmptyTail();
87
- }
88
- remove(t, i) {
89
- t === void 0 && (t = 0), i === void 0 && (i = this.displayValue.length);
90
- const s = super.remove(t, i);
91
- return this._trimEmptyTail(t, i), s;
92
- }
93
- totalInputPositions(t, i) {
94
- return t === void 0 && (t = 0), i == null && this.repeatTo === 1 / 0 ? 1 / 0 : super.totalInputPositions(t, i);
95
- }
96
- get state() {
97
- return super.state;
98
- }
99
- set state(t) {
100
- this._blocks.length = t._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = t;
101
- }
102
- }
103
- u.RepeatBlock = _;
104
- export {
105
- _ as default
106
- };
@@ -1,55 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
- var f, i;
7
- function p() {
8
- if (i)
9
- return f;
10
- i = 1;
11
- var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
12
- function O(n) {
13
- if (n == null)
14
- throw new TypeError("Object.assign cannot be called with null or undefined");
15
- return Object(n);
16
- }
17
- function j() {
18
- try {
19
- if (!Object.assign)
20
- return !1;
21
- var n = new String("abc");
22
- if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
23
- return !1;
24
- for (var s = {}, r = 0; r < 10; r++)
25
- s["_" + String.fromCharCode(r)] = r;
26
- var a = Object.getOwnPropertyNames(s).map(function(e) {
27
- return s[e];
28
- });
29
- if (a.join("") !== "0123456789")
30
- return !1;
31
- var t = {};
32
- return "abcdefghijklmnopqrst".split("").forEach(function(e) {
33
- t[e] = e;
34
- }), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
35
- } catch {
36
- return !1;
37
- }
38
- }
39
- return f = j() ? Object.assign : function(n, s) {
40
- for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
41
- r = Object(arguments[e]);
42
- for (var c in r)
43
- b.call(r, c) && (a[c] = r[c]);
44
- if (u) {
45
- t = u(r);
46
- for (var o = 0; o < t.length; o++)
47
- l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
48
- }
49
- }
50
- return a;
51
- }, f;
52
- }
53
- export {
54
- p as __require
55
- };
@@ -1,55 +0,0 @@
1
- import { __require as E } from "./lib/ReactPropTypesSecret.js";
2
- import { __require as _ } from "./lib/has.js";
3
- var f, v;
4
- function P() {
5
- if (v)
6
- return f;
7
- v = 1;
8
- var o = function() {
9
- };
10
- if (process.env.NODE_ENV !== "production") {
11
- var y = E(), t = {}, d = _();
12
- o = function(n) {
13
- var a = "Warning: " + n;
14
- typeof console < "u" && console.error(a);
15
- try {
16
- throw new Error(a);
17
- } catch {
18
- }
19
- };
20
- }
21
- function u(n, a, i, s, c) {
22
- if (process.env.NODE_ENV !== "production") {
23
- for (var e in n)
24
- if (d(n, e)) {
25
- var r;
26
- try {
27
- if (typeof n[e] != "function") {
28
- var h = Error(
29
- (s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
30
- );
31
- throw h.name = "Invariant Violation", h;
32
- }
33
- r = n[e](a, e, s, i, null, y);
34
- } catch (l) {
35
- r = l;
36
- }
37
- if (r && !(r instanceof Error) && o(
38
- (s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
39
- ), r instanceof Error && !(r.message in t)) {
40
- t[r.message] = !0;
41
- var p = c ? c() : "";
42
- o(
43
- "Failed " + i + " type: " + r.message + (p ?? "")
44
- );
45
- }
46
- }
47
- }
48
- }
49
- return u.resetWarningCache = function() {
50
- process.env.NODE_ENV !== "production" && (t = {});
51
- }, f = u, f;
52
- }
53
- export {
54
- P as __require
55
- };
@@ -1,53 +0,0 @@
1
- import { __require as u } from "./lib/ReactPropTypesSecret.js";
2
- var o, p;
3
- function g() {
4
- if (p)
5
- return o;
6
- p = 1;
7
- var c = u();
8
- function n() {
9
- }
10
- function i() {
11
- }
12
- return i.resetWarningCache = n, o = function() {
13
- function e(h, y, m, f, l, s) {
14
- if (s !== c) {
15
- var a = new Error(
16
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
17
- );
18
- throw a.name = "Invariant Violation", a;
19
- }
20
- }
21
- e.isRequired = e;
22
- function r() {
23
- return e;
24
- }
25
- var t = {
26
- array: e,
27
- bigint: e,
28
- bool: e,
29
- func: e,
30
- number: e,
31
- object: e,
32
- string: e,
33
- symbol: e,
34
- any: e,
35
- arrayOf: r,
36
- element: e,
37
- elementType: e,
38
- instanceOf: r,
39
- node: e,
40
- objectOf: r,
41
- oneOf: r,
42
- oneOfType: r,
43
- shape: r,
44
- exact: r,
45
- checkPropTypes: i,
46
- resetWarningCache: n
47
- };
48
- return t.PropTypes = t, t;
49
- }, o;
50
- }
51
- export {
52
- g as __require
53
- };
@@ -1,330 +0,0 @@
1
- import { __require as F } from "./node_modules/react-is/index.js";
2
- import { __require as N } from "../object-assign/index.js";
3
- import { __require as ee } from "./lib/ReactPropTypesSecret.js";
4
- import { __require as re } from "./lib/has.js";
5
- import { __require as ne } from "./checkPropTypes.js";
6
- var A, C;
7
- function oe() {
8
- if (C)
9
- return A;
10
- C = 1;
11
- var k = F(), W = N(), h = ee(), j = re(), R = ne(), T = function() {
12
- };
13
- process.env.NODE_ENV !== "production" && (T = function(x) {
14
- var S = "Warning: " + x;
15
- typeof console < "u" && console.error(S);
16
- try {
17
- throw new Error(S);
18
- } catch {
19
- }
20
- });
21
- function E() {
22
- return null;
23
- }
24
- return A = function(x, S) {
25
- var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
26
- function m(e) {
27
- var r = e && (_ && e[_] || e[D]);
28
- if (typeof r == "function")
29
- return r;
30
- }
31
- var P = "<<anonymous>>", w = {
32
- array: p("array"),
33
- bigint: p("bigint"),
34
- bool: p("boolean"),
35
- func: p("function"),
36
- number: p("number"),
37
- object: p("object"),
38
- string: p("string"),
39
- symbol: p("symbol"),
40
- any: M(),
41
- arrayOf: U,
42
- element: B(),
43
- elementType: J(),
44
- instanceOf: z,
45
- node: G(),
46
- objectOf: H,
47
- oneOf: L,
48
- oneOfType: X,
49
- shape: K,
50
- exact: Q
51
- };
52
- function Y(e, r) {
53
- return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
54
- }
55
- function d(e, r) {
56
- this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
57
- }
58
- d.prototype = Error.prototype;
59
- function v(e) {
60
- if (process.env.NODE_ENV !== "production")
61
- var r = {}, u = 0;
62
- function i(f, t, a, o, c, s, y) {
63
- if (o = o || P, s = s || a, y !== h) {
64
- if (S) {
65
- var l = new Error(
66
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
67
- );
68
- throw l.name = "Invariant Violation", l;
69
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
70
- var b = o + ":" + a;
71
- !r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
72
- u < 3 && (T(
73
- "You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
74
- ), r[b] = !0, u++);
75
- }
76
- }
77
- return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
78
- }
79
- var n = i.bind(null, !1);
80
- return n.isRequired = i.bind(null, !0), n;
81
- }
82
- function p(e) {
83
- function r(u, i, n, f, t, a) {
84
- var o = u[i], c = g(o);
85
- if (c !== e) {
86
- var s = O(o);
87
- return new d(
88
- "Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
89
- { expectedType: e }
90
- );
91
- }
92
- return null;
93
- }
94
- return v(r);
95
- }
96
- function M() {
97
- return v(E);
98
- }
99
- function U(e) {
100
- function r(u, i, n, f, t) {
101
- if (typeof e != "function")
102
- return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
103
- var a = u[i];
104
- if (!Array.isArray(a)) {
105
- var o = g(a);
106
- return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
107
- }
108
- for (var c = 0; c < a.length; c++) {
109
- var s = e(a, c, n, f, t + "[" + c + "]", h);
110
- if (s instanceof Error)
111
- return s;
112
- }
113
- return null;
114
- }
115
- return v(r);
116
- }
117
- function B() {
118
- function e(r, u, i, n, f) {
119
- var t = r[u];
120
- if (!x(t)) {
121
- var a = g(t);
122
- return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
123
- }
124
- return null;
125
- }
126
- return v(e);
127
- }
128
- function J() {
129
- function e(r, u, i, n, f) {
130
- var t = r[u];
131
- if (!k.isValidElementType(t)) {
132
- var a = g(t);
133
- return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
134
- }
135
- return null;
136
- }
137
- return v(e);
138
- }
139
- function z(e) {
140
- function r(u, i, n, f, t) {
141
- if (!(u[i] instanceof e)) {
142
- var a = e.name || P, o = V(u[i]);
143
- return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
144
- }
145
- return null;
146
- }
147
- return v(r);
148
- }
149
- function L(e) {
150
- if (!Array.isArray(e))
151
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
152
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
153
- ) : T("Invalid argument supplied to oneOf, expected an array.")), E;
154
- function r(u, i, n, f, t) {
155
- for (var a = u[i], o = 0; o < e.length; o++)
156
- if (Y(a, e[o]))
157
- return null;
158
- var c = JSON.stringify(e, function(y, l) {
159
- var b = O(l);
160
- return b === "symbol" ? String(l) : l;
161
- });
162
- return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
163
- }
164
- return v(r);
165
- }
166
- function H(e) {
167
- function r(u, i, n, f, t) {
168
- if (typeof e != "function")
169
- return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
170
- var a = u[i], o = g(a);
171
- if (o !== "object")
172
- return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
173
- for (var c in a)
174
- if (j(a, c)) {
175
- var s = e(a, c, n, f, t + "." + c, h);
176
- if (s instanceof Error)
177
- return s;
178
- }
179
- return null;
180
- }
181
- return v(r);
182
- }
183
- function X(e) {
184
- if (!Array.isArray(e))
185
- return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
186
- for (var r = 0; r < e.length; r++) {
187
- var u = e[r];
188
- if (typeof u != "function")
189
- return T(
190
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
191
- ), E;
192
- }
193
- function i(n, f, t, a, o) {
194
- for (var c = [], s = 0; s < e.length; s++) {
195
- var y = e[s], l = y(n, f, t, a, o, h);
196
- if (l == null)
197
- return null;
198
- l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
199
- }
200
- var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
201
- return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
202
- }
203
- return v(i);
204
- }
205
- function G() {
206
- function e(r, u, i, n, f) {
207
- return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
208
- }
209
- return v(e);
210
- }
211
- function q(e, r, u, i, n) {
212
- return new d(
213
- (e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
214
- );
215
- }
216
- function K(e) {
217
- function r(u, i, n, f, t) {
218
- var a = u[i], o = g(a);
219
- if (o !== "object")
220
- return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
221
- for (var c in e) {
222
- var s = e[c];
223
- if (typeof s != "function")
224
- return q(n, f, t, c, O(s));
225
- var y = s(a, c, n, f, t + "." + c, h);
226
- if (y)
227
- return y;
228
- }
229
- return null;
230
- }
231
- return v(r);
232
- }
233
- function Q(e) {
234
- function r(u, i, n, f, t) {
235
- var a = u[i], o = g(a);
236
- if (o !== "object")
237
- return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
238
- var c = W({}, u[i], e);
239
- for (var s in c) {
240
- var y = e[s];
241
- if (j(e, s) && typeof y != "function")
242
- return q(n, f, t, s, O(y));
243
- if (!y)
244
- return new d(
245
- "Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
246
- Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
247
- );
248
- var l = y(a, s, n, f, t + "." + s, h);
249
- if (l)
250
- return l;
251
- }
252
- return null;
253
- }
254
- return v(r);
255
- }
256
- function I(e) {
257
- switch (typeof e) {
258
- case "number":
259
- case "string":
260
- case "undefined":
261
- return !0;
262
- case "boolean":
263
- return !e;
264
- case "object":
265
- if (Array.isArray(e))
266
- return e.every(I);
267
- if (e === null || x(e))
268
- return !0;
269
- var r = m(e);
270
- if (r) {
271
- var u = r.call(e), i;
272
- if (r !== e.entries) {
273
- for (; !(i = u.next()).done; )
274
- if (!I(i.value))
275
- return !1;
276
- } else
277
- for (; !(i = u.next()).done; ) {
278
- var n = i.value;
279
- if (n && !I(n[1]))
280
- return !1;
281
- }
282
- } else
283
- return !1;
284
- return !0;
285
- default:
286
- return !1;
287
- }
288
- }
289
- function Z(e, r) {
290
- return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
291
- }
292
- function g(e) {
293
- var r = typeof e;
294
- return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
295
- }
296
- function O(e) {
297
- if (typeof e > "u" || e === null)
298
- return "" + e;
299
- var r = g(e);
300
- if (r === "object") {
301
- if (e instanceof Date)
302
- return "date";
303
- if (e instanceof RegExp)
304
- return "regexp";
305
- }
306
- return r;
307
- }
308
- function $(e) {
309
- var r = O(e);
310
- switch (r) {
311
- case "array":
312
- case "object":
313
- return "an " + r;
314
- case "boolean":
315
- case "date":
316
- case "regexp":
317
- return "a " + r;
318
- default:
319
- return r;
320
- }
321
- }
322
- function V(e) {
323
- return !e.constructor || !e.constructor.name ? P : e.constructor.name;
324
- }
325
- return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
326
- }, A;
327
- }
328
- export {
329
- oe as __require
330
- };
@@ -1,15 +0,0 @@
1
- import { getDefaultExportFromCjs as e } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as r } from "../../_virtual/index2.js";
3
- import { __require as o } from "./node_modules/react-is/index.js";
4
- import { __require as t } from "./factoryWithTypeCheckers.js";
5
- import { __require as p } from "./factoryWithThrowingShims.js";
6
- if (process.env.NODE_ENV !== "production") {
7
- var s = o(), i = !0;
8
- r.exports = t()(s.isElement, i);
9
- } else
10
- r.exports = p()();
11
- var m = r.exports;
12
- const q = /* @__PURE__ */ e(m);
13
- export {
14
- q as default
15
- };
@@ -1,11 +0,0 @@
1
- var e, r;
2
- function _() {
3
- if (r)
4
- return e;
5
- r = 1;
6
- var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
7
- return e = t, e;
8
- }
9
- export {
10
- _ as __require
11
- };
@@ -1,7 +0,0 @@
1
- var r, e;
2
- function a() {
3
- return e || (e = 1, r = Function.call.bind(Object.prototype.hasOwnProperty)), r;
4
- }
5
- export {
6
- a as __require
7
- };