@ryuzaki13/react-foundation-ui 3.4.3 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/badge/index.js +65 -2
  2. package/dist/badge/index.js.map +1 -0
  3. package/dist/barcode-scanner/index.js +18 -18
  4. package/dist/base-table/index.js +2 -2
  5. package/dist/button/index.js +1 -1
  6. package/dist/check-box/index.js +1 -1
  7. package/dist/chunks/{CalendarView-Dm55k0bN.js → CalendarView-CwbPJG2Y.js} +86 -86
  8. package/dist/chunks/{CalendarView-Dm55k0bN.js.map → CalendarView-CwbPJG2Y.js.map} +1 -1
  9. package/dist/chunks/{ImageViewerRuntime-HGBWp9NM.js → ImageViewerRuntime-DZpgxzF1.js} +25 -25
  10. package/dist/chunks/{ImageViewerRuntime-HGBWp9NM.js.map → ImageViewerRuntime-DZpgxzF1.js.map} +1 -1
  11. package/dist/chunks/{TextEditorLexicalClient-C8nSoz85.js → TextEditorLexicalClient-BRp8jHId.js} +354 -354
  12. package/dist/chunks/{TextEditorLexicalClient-C8nSoz85.js.map → TextEditorLexicalClient-BRp8jHId.js.map} +1 -1
  13. package/dist/chunks/{base-table-BWvKfI2W.js → base-table-BHmboNzl.js} +138 -138
  14. package/dist/chunks/{base-table-BWvKfI2W.js.map → base-table-BHmboNzl.js.map} +1 -1
  15. package/dist/chunks/{button-DF21yxVp.js → button-D7GAU2Wa.js} +20 -20
  16. package/dist/chunks/{button-DF21yxVp.js.map → button-D7GAU2Wa.js.map} +1 -1
  17. package/dist/chunks/{check-box-CZyhzmR0.js → check-box-D_Y6iIWv.js} +19 -19
  18. package/dist/chunks/{check-box-CZyhzmR0.js.map → check-box-D_Y6iIWv.js.map} +1 -1
  19. package/dist/chunks/{context-menu-DgvXGCuI.js → context-menu-BQePxRpu.js} +159 -159
  20. package/dist/chunks/{context-menu-DgvXGCuI.js.map → context-menu-BQePxRpu.js.map} +1 -1
  21. package/dist/chunks/{date-input-D7aBsPJc.js → date-input-Crijdmmq.js} +67 -67
  22. package/dist/chunks/{date-input-D7aBsPJc.js.map → date-input-Crijdmmq.js.map} +1 -1
  23. package/dist/chunks/{date-range-preset-select-BLnY47cv.js → date-range-preset-select-CyzGMvVp.js} +6 -6
  24. package/dist/chunks/{date-range-preset-select-BLnY47cv.js.map → date-range-preset-select-CyzGMvVp.js.map} +1 -1
  25. package/dist/chunks/{dialog-1Z1zCNCe.js → dialog-BcQGVNbu.js} +13 -13
  26. package/dist/chunks/{dialog-1Z1zCNCe.js.map → dialog-BcQGVNbu.js.map} +1 -1
  27. package/dist/chunks/{flex-C7njxZ74.js → flex-DtXK7OM4.js} +29 -29
  28. package/dist/chunks/{flex-C7njxZ74.js.map → flex-DtXK7OM4.js.map} +1 -1
  29. package/dist/chunks/{floating-arrow-DPKwJfww.js → floating-arrow-DKUKx2ZQ.js} +7 -7
  30. package/dist/chunks/{floating-arrow-DPKwJfww.js.map → floating-arrow-DKUKx2ZQ.js.map} +1 -1
  31. package/dist/chunks/{input-DSPKgiCK.js → input-CuRK9Vbz.js} +78 -78
  32. package/dist/chunks/{input-DSPKgiCK.js.map → input-CuRK9Vbz.js.map} +1 -1
  33. package/dist/chunks/{input-files-tIS17-zX.js → input-files-B8j6Pb_M.js} +31 -31
  34. package/dist/chunks/{input-files-tIS17-zX.js.map → input-files-B8j6Pb_M.js.map} +1 -1
  35. package/dist/chunks/{misc-DeGboAt-.js → misc-CGQOXXCy.js} +110 -110
  36. package/dist/chunks/{misc-DeGboAt-.js.map → misc-CGQOXXCy.js.map} +1 -1
  37. package/dist/chunks/{modal-dplfAaER.js → modal-febBsMyR.js} +58 -58
  38. package/dist/chunks/{modal-dplfAaER.js.map → modal-febBsMyR.js.map} +1 -1
  39. package/dist/chunks/{picker-lvm82d0A.js → picker-BA6okKnz.js} +91 -91
  40. package/dist/chunks/{picker-lvm82d0A.js.map → picker-BA6okKnz.js.map} +1 -1
  41. package/dist/chunks/popover-yl5DVe06.js +245 -0
  42. package/dist/chunks/{popover-Bne-Ljbs.js.map → popover-yl5DVe06.js.map} +1 -1
  43. package/dist/chunks/radio-group-CW-K1n9c.js +125 -0
  44. package/dist/chunks/{radio-group-sSnlYjAX.js.map → radio-group-CW-K1n9c.js.map} +1 -1
  45. package/dist/chunks/select-DblNSc5H.js +363 -0
  46. package/dist/chunks/{select-aTGupQan.js.map → select-DblNSc5H.js.map} +1 -1
  47. package/dist/chunks/{separator-B72Aq-6a.js → separator-CIqnk2z9.js} +2 -2
  48. package/dist/chunks/{separator-B72Aq-6a.js.map → separator-CIqnk2z9.js.map} +1 -1
  49. package/dist/chunks/{sortable-BKIwlqhI.js → sortable-CQmMHAF8.js} +38 -38
  50. package/dist/chunks/{sortable-BKIwlqhI.js.map → sortable-CQmMHAF8.js.map} +1 -1
  51. package/dist/chunks/{table-DxoSOvQK.js → table-BnvjPaE1.js} +18 -18
  52. package/dist/chunks/{table-DxoSOvQK.js.map → table-BnvjPaE1.js.map} +1 -1
  53. package/dist/chunks/{table-column-interactions-DzEvVuXe.js → table-column-interactions-Do8LFtiv.js} +20 -20
  54. package/dist/chunks/{table-column-interactions-DzEvVuXe.js.map → table-column-interactions-Do8LFtiv.js.map} +1 -1
  55. package/dist/chunks/{types-D9Wj9wrg.js → types-CxXyru6U.js} +21 -21
  56. package/dist/chunks/{types-D9Wj9wrg.js.map → types-CxXyru6U.js.map} +1 -1
  57. package/dist/chunks/{useODataSelectBase-DR4PrY1j.js → useODataSelectBase-DwR4Lfv-.js} +5 -5
  58. package/dist/chunks/{useODataSelectBase-DR4PrY1j.js.map → useODataSelectBase-DwR4Lfv-.js.map} +1 -1
  59. package/dist/chunks/{wheel-picker-FS58cRsQ.js → wheel-picker-DUHGy7wE.js} +23 -23
  60. package/dist/chunks/{wheel-picker-FS58cRsQ.js.map → wheel-picker-DUHGy7wE.js.map} +1 -1
  61. package/dist/context-menu/index.js +1 -1
  62. package/dist/date-input/index.js +2 -2
  63. package/dist/date-range-preset-select/index.js +1 -1
  64. package/dist/date-time-input/index.js +122 -122
  65. package/dist/date-time-input/index.js.map +1 -1
  66. package/dist/detail/index.js +22 -22
  67. package/dist/dialog/index.js +1 -1
  68. package/dist/disclosure/index.js +9 -9
  69. package/dist/drop-zone/index.js +21 -21
  70. package/dist/errors/index.js +50 -50
  71. package/dist/expandable-action-panel/index.js +24 -24
  72. package/dist/flex/index.js +1 -1
  73. package/dist/flex/useFlexClasses.d.ts +1 -1
  74. package/dist/floating-arrow/index.js +1 -1
  75. package/dist/fullscreen-portal/index.js +8 -8
  76. package/dist/image/index.js +119 -119
  77. package/dist/input/index.js +1 -1
  78. package/dist/input-date-time/index.js +55 -55
  79. package/dist/input-file/index.js +16 -16
  80. package/dist/input-files/index.js +1 -1
  81. package/dist/input-image/index.js +17 -17
  82. package/dist/input-search/index.js +30 -2
  83. package/dist/input-search/index.js.map +1 -0
  84. package/dist/layout-picker/index.js +93 -93
  85. package/dist/layout-picker/index.js.map +1 -1
  86. package/dist/list/index.js +39 -39
  87. package/dist/listbox/index.js +33 -33
  88. package/dist/misc/index.js +1 -1
  89. package/dist/modal/index.js +1 -1
  90. package/dist/multi-select/index.js +466 -2
  91. package/dist/multi-select/index.js.map +1 -0
  92. package/dist/notifications/index.js +45 -45
  93. package/dist/option/index.js +30 -30
  94. package/dist/period-select/index.js +7 -7
  95. package/dist/picker/index.js +1 -1
  96. package/dist/popover/index.js +1 -1
  97. package/dist/preset-range-date-input/index.js +10 -10
  98. package/dist/preset-select/index.js +1 -1
  99. package/dist/radio-button/index.js +9 -9
  100. package/dist/radio-group/index.js +1 -1
  101. package/dist/select/index.js +1 -1
  102. package/dist/separator/index.js +1 -1
  103. package/dist/simple-table/index.js +5 -5
  104. package/dist/slider/index.js +82 -82
  105. package/dist/slider/index.js.map +1 -1
  106. package/dist/sortable/index.js +1 -1
  107. package/dist/splitter/index.js +55 -55
  108. package/dist/state-select/index.js +17 -17
  109. package/dist/styles.css +1 -1
  110. package/dist/switch/index.js +18 -18
  111. package/dist/table/index.js +1 -1
  112. package/dist/table-column-interactions/index.js +1 -1
  113. package/dist/table-editor/index.js +99 -99
  114. package/dist/table-sorting/index.js +13 -13
  115. package/dist/tabs/index.js +83 -83
  116. package/dist/tag-input/index.js +58 -58
  117. package/dist/tag-input/index.js.map +1 -1
  118. package/dist/text/index.js +18 -18
  119. package/dist/text-editor/index.js +3 -3
  120. package/dist/textarea/index.js +1 -1
  121. package/dist/three-scene/index.js +7 -7
  122. package/dist/toggle/index.js +20 -20
  123. package/dist/toolbar/index.js +16 -16
  124. package/dist/tree/index.js +24 -24
  125. package/dist/tree-select/index.js +189 -189
  126. package/dist/tree-select/index.js.map +1 -1
  127. package/dist/tree-table/index.js +33 -33
  128. package/dist/tree-table/index.js.map +1 -1
  129. package/dist/wheel-picker/index.js +1 -1
  130. package/package.json +1 -5
  131. package/storybook-static/project.json +1 -1
  132. package/dist/advanced-search/index.d.ts +0 -3
  133. package/dist/advanced-search/index.d.ts.map +0 -1
  134. package/dist/advanced-search/index.js +0 -399
  135. package/dist/advanced-search/index.js.map +0 -1
  136. package/dist/advanced-search/lib/index.d.ts +0 -2
  137. package/dist/advanced-search/lib/index.d.ts.map +0 -1
  138. package/dist/advanced-search/lib/searchParts.d.ts +0 -3
  139. package/dist/advanced-search/lib/searchParts.d.ts.map +0 -1
  140. package/dist/advanced-search/model/index.d.ts +0 -5
  141. package/dist/advanced-search/model/index.d.ts.map +0 -1
  142. package/dist/advanced-search/model/types.d.ts +0 -55
  143. package/dist/advanced-search/model/types.d.ts.map +0 -1
  144. package/dist/advanced-search/model/useAdvancedSearch.d.ts +0 -11
  145. package/dist/advanced-search/model/useAdvancedSearch.d.ts.map +0 -1
  146. package/dist/advanced-search/model/useAdvancedSearchInitialSelected.d.ts +0 -6
  147. package/dist/advanced-search/model/useAdvancedSearchInitialSelected.d.ts.map +0 -1
  148. package/dist/advanced-search/model/useAdvancedSearchSelection.d.ts +0 -13
  149. package/dist/advanced-search/model/useAdvancedSearchSelection.d.ts.map +0 -1
  150. package/dist/advanced-search/ui/AdvancedSearchModal.d.ts +0 -23
  151. package/dist/advanced-search/ui/AdvancedSearchModal.d.ts.map +0 -1
  152. package/dist/advanced-search/ui/AdvancedSearchModalSession.d.ts +0 -16
  153. package/dist/advanced-search/ui/AdvancedSearchModalSession.d.ts.map +0 -1
  154. package/dist/advanced-search/ui/AdvancedSearchSelect.d.ts +0 -9
  155. package/dist/advanced-search/ui/AdvancedSearchSelect.d.ts.map +0 -1
  156. package/dist/advanced-search/ui/AdvancedSearchSelectUI.d.ts +0 -9
  157. package/dist/advanced-search/ui/AdvancedSearchSelectUI.d.ts.map +0 -1
  158. package/dist/advanced-search/ui/index.d.ts +0 -2
  159. package/dist/advanced-search/ui/index.d.ts.map +0 -1
  160. package/dist/chunks/badge-6mXO9BWP.js +0 -65
  161. package/dist/chunks/badge-6mXO9BWP.js.map +0 -1
  162. package/dist/chunks/input-search-Cat4c7SM.js +0 -30
  163. package/dist/chunks/input-search-Cat4c7SM.js.map +0 -1
  164. package/dist/chunks/multi-select-BZ9N6Dal.js +0 -466
  165. package/dist/chunks/multi-select-BZ9N6Dal.js.map +0 -1
  166. package/dist/chunks/popover-Bne-Ljbs.js +0 -245
  167. package/dist/chunks/radio-group-sSnlYjAX.js +0 -125
  168. package/dist/chunks/select-aTGupQan.js +0 -363
@@ -1,25 +1,25 @@
1
- import { r as e } from "../chunks/flex-C7njxZ74.js";
2
- import { Text as t } from "../text/index.js";
3
- import { Component as n, useEffect as r, useState as i } from "react";
4
- import { useQueryClient as a } from "@tanstack/react-query";
5
- import { logError as o } from "@ryuzaki13/react-foundation-lib/utils";
6
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
- import { captureRuntimeErrorReport as l } from "@ryuzaki13/react-foundation-lib/error-report";
1
+ import { Text as e } from "../text/index.js";
2
+ import { r as t } from "../chunks/flex-DtXK7OM4.js";
3
+ import { logError as n } from "@ryuzaki13/react-foundation-lib/utils";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { Component as a, useEffect as o, useState as s } from "react";
6
+ import { captureRuntimeErrorReport as c } from "@ryuzaki13/react-foundation-lib/error-report";
7
+ import { useQueryClient as l } from "@tanstack/react-query";
8
8
  //#region src/errors/PageError.tsx
9
- var u = ({ code: t, title: n, description: r }) => /* @__PURE__ */ c(e.Predefined, {
9
+ var u = ({ code: e, title: n, description: a }) => /* @__PURE__ */ i(t.Predefined, {
10
10
  variant: "columnCenter",
11
11
  className: "paddingXl",
12
12
  children: [
13
- /* @__PURE__ */ s("div", {
13
+ /* @__PURE__ */ r("div", {
14
14
  "aria-hidden": "true",
15
15
  className: "content2 fontBolded",
16
16
  style: { fontSize: "5em" },
17
- children: t
17
+ children: e
18
18
  }),
19
- /* @__PURE__ */ s("h2", { children: n }),
20
- /* @__PURE__ */ s("p", { children: r })
19
+ /* @__PURE__ */ r("h2", { children: n }),
20
+ /* @__PURE__ */ r("p", { children: a })
21
21
  ]
22
- }), d = () => /* @__PURE__ */ s(u, {
22
+ }), d = () => /* @__PURE__ */ r(u, {
23
23
  code: 400,
24
24
  title: "Некорректный запрос",
25
25
  description: "Похоже, что запрос был сформирован неверно. Попробуйте обновить страницу или вернуться на главную."
@@ -27,8 +27,8 @@ var u = ({ code: t, title: n, description: r }) => /* @__PURE__ */ c(e.Predefine
27
27
  //#endregion
28
28
  //#region src/errors/BoomExplosion.tsx
29
29
  function f() {
30
- let [e] = i(() => `scale(${.7 + Math.random() * .3}) rotateZ(${Math.random() * 45 - 15}deg)`);
31
- return /* @__PURE__ */ s("svg", {
30
+ let [e] = s(() => `scale(${.7 + Math.random() * .3}) rotateZ(${Math.random() * 45 - 15}deg)`);
31
+ return /* @__PURE__ */ r("svg", {
32
32
  viewBox: "0 0 300 300",
33
33
  width: "300",
34
34
  height: "300",
@@ -40,7 +40,7 @@ function f() {
40
40
  zIndex: 0,
41
41
  opacity: .5
42
42
  },
43
- children: /* @__PURE__ */ s("polygon", {
43
+ children: /* @__PURE__ */ r("polygon", {
44
44
  points: "\n150,10 170,60 230,40 200,100 270,110 210,150 270,190 200,200 230,260 170,240 150,290 130,240\n70,260 100,200 30,190 90,150 30,110 100,100 70,40 130,60",
45
45
  fill: "var(--error-on-fill)",
46
46
  stroke: "var(--error-fill)",
@@ -62,11 +62,11 @@ var p = [
62
62
  "Облом!",
63
63
  "Ёлки-палки!",
64
64
  "Хлоп!"
65
- ], m = () => /* @__PURE__ */ s(u, {
65
+ ], m = () => /* @__PURE__ */ r(u, {
66
66
  code: 403,
67
67
  title: "Доступ запрещён",
68
68
  description: "У вас нет прав для просмотра этой страницы."
69
- }), h = () => /* @__PURE__ */ s(u, {
69
+ }), h = () => /* @__PURE__ */ r(u, {
70
70
  code: 404,
71
71
  title: "Страница не найдена",
72
72
  description: "Извините, запрашиваемая страница не существует"
@@ -76,35 +76,35 @@ var p = [
76
76
  function g(e) {
77
77
  if (!(!("status" in e) || typeof e.status != "number")) return e.status;
78
78
  }
79
- var _ = ({ error: e, componentStack: t, draftId: n }) => {
80
- let [u] = i(() => Math.random()), _ = a();
81
- r(() => {
82
- n === void 0 && l(e, {
79
+ var _ = ({ error: e, componentStack: t, draftId: a }) => {
80
+ let [u] = s(() => Math.random()), _ = l();
81
+ o(() => {
82
+ a === void 0 && c(e, {
83
83
  category: "react",
84
84
  componentStack: t
85
85
  }, _);
86
86
  }, [
87
87
  t,
88
- n,
88
+ a,
89
89
  e,
90
90
  _
91
91
  ]);
92
92
  let v = g(e);
93
93
  if (v) switch (v) {
94
- case 400: return /* @__PURE__ */ s(d, {});
95
- case 403: return /* @__PURE__ */ s(m, {});
96
- case 404: return /* @__PURE__ */ s(h, {});
94
+ case 400: return /* @__PURE__ */ r(d, {});
95
+ case 403: return /* @__PURE__ */ r(m, {});
96
+ case 404: return /* @__PURE__ */ r(h, {});
97
97
  }
98
- return o(e.stack), /* @__PURE__ */ c("section", {
98
+ return n(e.stack), /* @__PURE__ */ i("section", {
99
99
  className: "w100 h100 flexColumn justifyContentCenter paddingMd",
100
- children: [/* @__PURE__ */ c("div", {
100
+ children: [/* @__PURE__ */ i("div", {
101
101
  "aria-hidden": "true",
102
102
  className: "textCenter relative fontBolded statusError",
103
103
  style: {
104
104
  fontSize: "4em",
105
105
  marginBlock: "2em"
106
106
  },
107
- children: [/* @__PURE__ */ s(f, {}), /* @__PURE__ */ s("div", {
107
+ children: [/* @__PURE__ */ r(f, {}), /* @__PURE__ */ r("div", {
108
108
  style: {
109
109
  zIndex: 1,
110
110
  position: "relative",
@@ -112,22 +112,22 @@ var _ = ({ error: e, componentStack: t, draftId: n }) => {
112
112
  },
113
113
  children: p[Math.floor(u * p.length)]
114
114
  })]
115
- }), /* @__PURE__ */ c("div", {
115
+ }), /* @__PURE__ */ i("div", {
116
116
  className: "textCenter",
117
117
  children: [
118
- /* @__PURE__ */ s("h2", {
118
+ /* @__PURE__ */ r("h2", {
119
119
  className: "statusError",
120
120
  children: "Критическая ошибка"
121
121
  }),
122
- /* @__PURE__ */ s("p", {
122
+ /* @__PURE__ */ r("p", {
123
123
  className: "statusError fontSizeLg",
124
- children: /* @__PURE__ */ s("code", { children: e.message })
124
+ children: /* @__PURE__ */ r("code", { children: e.message })
125
125
  }),
126
- /* @__PURE__ */ s("p", { children: "Попробуйте перезагрузить страницу или вернуться позже." })
126
+ /* @__PURE__ */ r("p", { children: "Попробуйте перезагрузить страницу или вернуться позже." })
127
127
  ]
128
128
  })]
129
129
  });
130
- }, v = class extends n {
130
+ }, v = class extends a {
131
131
  constructor(e) {
132
132
  super(e), this.state = { error: null };
133
133
  }
@@ -145,7 +145,7 @@ var _ = ({ error: e, componentStack: t, draftId: n }) => {
145
145
  this.setState({
146
146
  componentStack: t.componentStack ?? void 0,
147
147
  draftId: null
148
- }), l(e, {
148
+ }), c(e, {
149
149
  category: "react",
150
150
  componentStack: t.componentStack ?? void 0
151
151
  }).then((t) => {
@@ -155,7 +155,7 @@ var _ = ({ error: e, componentStack: t, draftId: n }) => {
155
155
  render() {
156
156
  if (this.state.error) {
157
157
  let e = this.props.customComponent;
158
- return e ? /* @__PURE__ */ s(e, { error: this.state.error }) : /* @__PURE__ */ s(_, {
158
+ return e ? /* @__PURE__ */ r(e, { error: this.state.error }) : /* @__PURE__ */ r(_, {
159
159
  error: this.state.error,
160
160
  componentStack: this.state.componentStack,
161
161
  draftId: this.state.draftId
@@ -164,14 +164,14 @@ var _ = ({ error: e, componentStack: t, draftId: n }) => {
164
164
  return this.props.children;
165
165
  }
166
166
  }, y = ({ header: e, description: t }) => {
167
- let [n] = i(() => Math.random());
168
- return /* @__PURE__ */ c("div", {
167
+ let [n] = s(() => Math.random());
168
+ return /* @__PURE__ */ i("div", {
169
169
  className: "container marginBlockLg",
170
- children: [/* @__PURE__ */ c("div", {
170
+ children: [/* @__PURE__ */ i("div", {
171
171
  "aria-hidden": "true",
172
172
  className: "textCenter relative fontBolded statusWarning marginBlockMd",
173
173
  style: { fontSize: "6em" },
174
- children: [/* @__PURE__ */ s(f, {}), /* @__PURE__ */ s("div", {
174
+ children: [/* @__PURE__ */ r(f, {}), /* @__PURE__ */ r("div", {
175
175
  style: {
176
176
  zIndex: 1,
177
177
  position: "relative",
@@ -179,33 +179,33 @@ var _ = ({ error: e, componentStack: t, draftId: n }) => {
179
179
  },
180
180
  children: p[Math.floor(n * p.length)]
181
181
  })]
182
- }), /* @__PURE__ */ c("div", {
182
+ }), /* @__PURE__ */ i("div", {
183
183
  className: "flexColumn alignItemsCenter textCenter marginBlockMd",
184
- children: [e && /* @__PURE__ */ s("h2", {
184
+ children: [e && /* @__PURE__ */ r("h2", {
185
185
  className: "statusWarning",
186
186
  children: e
187
- }), t && /* @__PURE__ */ s("p", { children: t })]
187
+ }), t && /* @__PURE__ */ r("p", { children: t })]
188
188
  })]
189
189
  });
190
190
  };
191
191
  //#endregion
192
192
  //#region src/errors/SimpleErrorDisplay.tsx
193
- function b({ error: e }) {
194
- return o(e.stack), /* @__PURE__ */ s(t, {
193
+ function b({ error: t }) {
194
+ return n(t.stack), /* @__PURE__ */ r(e, {
195
195
  color: "error",
196
- children: /* @__PURE__ */ s("code", { children: e.message })
196
+ children: /* @__PURE__ */ r("code", { children: t.message })
197
197
  });
198
198
  }
199
199
  //#endregion
200
200
  //#region src/errors/UnauthorizedPage.tsx
201
- var x = () => /* @__PURE__ */ s(u, {
201
+ var x = () => /* @__PURE__ */ r(u, {
202
202
  code: 401,
203
203
  title: "Необходима авторизация",
204
204
  description: "Для доступа к этой странице нужно войти в систему. Пожалуйста, авторизуйтесь и попробуйте снова."
205
- }), S = () => /* @__PURE__ */ s(e.Predefined, {
205
+ }), S = () => /* @__PURE__ */ r(t.Predefined, {
206
206
  variant: "columnCenter",
207
207
  className: "paddingXl",
208
- children: /* @__PURE__ */ s("h2", {
208
+ children: /* @__PURE__ */ r("h2", {
209
209
  className: "content2",
210
210
  children: "Выберите ракурс"
211
211
  })
@@ -1,9 +1,9 @@
1
- import { n as e } from "../chunks/button-DF21yxVp.js";
2
- import { l as t } from "../chunks/misc-DeGboAt-.js";
3
- import { useCallback as n, useId as r, useState as i } from "react";
4
- import { cn as a } from "@ryuzaki13/react-foundation-lib/utils";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import { ChevronsLeftIcon as c, ChevronsRightIcon as l } from "lucide-react";
1
+ import { n as e } from "../chunks/button-D7GAU2Wa.js";
2
+ import { l as t } from "../chunks/misc-CGQOXXCy.js";
3
+ import { cn as n } from "@ryuzaki13/react-foundation-lib/utils";
4
+ import { ChevronsLeftIcon as r, ChevronsRightIcon as i } from "lucide-react";
5
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import { useCallback as s, useId as c, useState as l } from "react";
7
7
  var u = {
8
8
  expandableActionPanel: "sj-rIq",
9
9
  content: "_3anR7j",
@@ -15,21 +15,21 @@ var u = {
15
15
  //#endregion
16
16
  //#region src/expandable-action-panel/ExpandableActionPanel.tsx
17
17
  function d({ children: d, className: f, contentClassName: p, toggleClassName: m, open: h, defaultOpen: g = !1, disabled: _, onOpenChange: v, expandLabel: y = "Раскрыть панель действий влево", collapseLabel: b = "Свернуть панель действий", panelLabel: x = "Действия панели", itemSelector: S, scrollPadding: C, smoothScroll: w }) {
18
- let [T, E] = i(g), D = r(), O = h !== void 0, k = O ? h : T, A = n((e) => {
18
+ let [T, E] = l(g), D = c(), O = h !== void 0, k = O ? h : T, A = s((e) => {
19
19
  let t = typeof e == "function" ? e(k) : e;
20
20
  O || E(t), v?.(t);
21
21
  }, [
22
22
  O,
23
23
  v,
24
24
  k
25
- ]), j = () => A((e) => !e), M = k ? l : c;
26
- return /* @__PURE__ */ s("div", {
27
- className: a(u.expandableActionPanel, f),
25
+ ]), j = () => A((e) => !e), M = k ? i : r;
26
+ return /* @__PURE__ */ o("div", {
27
+ className: n(u.expandableActionPanel, f),
28
28
  "data-ui": "expandable-action-panel",
29
29
  "data-open": k ? "" : void 0,
30
- children: [/* @__PURE__ */ o(e, {
30
+ children: [/* @__PURE__ */ a(e, {
31
31
  className: m,
32
- icon: /* @__PURE__ */ o(M, {}),
32
+ icon: /* @__PURE__ */ a(M, {}),
33
33
  title: k ? b : y,
34
34
  disabled: _,
35
35
  variant: "neutralOutline",
@@ -38,12 +38,12 @@ function d({ children: d, className: f, contentClassName: p, toggleClassName: m,
38
38
  "data-ui": "expandable-action-panel-toggle",
39
39
  "data-action": k ? "collapse-action-panel" : "expand-action-panel",
40
40
  onClick: j
41
- }), k && /* @__PURE__ */ o("div", {
41
+ }), k && /* @__PURE__ */ a("div", {
42
42
  id: D,
43
43
  role: "group",
44
44
  "aria-label": x,
45
- className: a(u.content, p),
46
- children: /* @__PURE__ */ o(t, {
45
+ className: n(u.content, p),
46
+ children: /* @__PURE__ */ a(t, {
47
47
  className: u.contentScroller,
48
48
  itemSelector: S,
49
49
  scrollPadding: C,
@@ -55,24 +55,24 @@ function d({ children: d, className: f, contentClassName: p, toggleClassName: m,
55
55
  }
56
56
  //#endregion
57
57
  //#region src/expandable-action-panel/LabeledExpandableActionPanel.tsx
58
- function f({ label: e, className: t, labelClassName: n, labelStyle: r, labelMinWidth: i = "12em", panelClassName: c, open: l, defaultOpen: f, ...p }) {
58
+ function f({ label: e, className: t, labelClassName: r, labelStyle: i, labelMinWidth: s = "12em", panelClassName: c, open: l, defaultOpen: f, ...p }) {
59
59
  let m = {
60
- ...r,
61
- minWidth: i
60
+ ...i,
61
+ minWidth: s
62
62
  }, h = typeof e == "string" ? e : void 0;
63
- return /* @__PURE__ */ s("div", {
64
- className: a(u.labeledPanel, t),
63
+ return /* @__PURE__ */ o("div", {
64
+ className: n(u.labeledPanel, t),
65
65
  "data-ui": "labeled-expandable-action-panel",
66
- children: [/* @__PURE__ */ o("div", {
67
- className: a("flexEllipsis", u.label, n),
66
+ children: [/* @__PURE__ */ a("div", {
67
+ className: n("flexEllipsis", u.label, r),
68
68
  style: m,
69
69
  title: h,
70
70
  children: e
71
- }), /* @__PURE__ */ o(d, {
71
+ }), /* @__PURE__ */ a(d, {
72
72
  ...p,
73
73
  open: l,
74
74
  defaultOpen: f,
75
- className: a(u.labeledActionPanel, c)
75
+ className: n(u.labeledActionPanel, c)
76
76
  })]
77
77
  });
78
78
  }
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/flex-C7njxZ74.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/flex-DtXK7OM4.js";
2
2
  export { i as Flex, n as FlexCenter, r as FlexContainer, e as FlexItem, a as FlexSpacer, t as PredefinedFlex };
@@ -4,5 +4,5 @@ export type ResolvedFlexContainerProps = ResolvedProps<FlexContainerLayoutProps>
4
4
  export type ResolvedFlexItemProps = ResolvedProps<FlexItemLayoutProps>;
5
5
  export declare const useFlexContainerClasses: (props: ResolvedFlexContainerProps) => string;
6
6
  export declare const useFlexItemClasses: (props: ResolvedFlexItemProps) => string;
7
- export declare const useFlexPredefinedClasses: (variant: string) => "container" | "inline" | "row" | "center" | "column" | "nowrap" | "wrap" | "rowReverse" | "columnReverse" | "wrapReverse" | "grow" | "shrink" | "flex0" | "flex1" | "centerBetween" | "columnCenter" | "alignStart" | "alignCenter" | "alignEnd" | "alignStretch" | "alignBaseline" | "justifyStart" | "justifyCenter" | "justifyEnd" | "justifyStretch" | "justifyBetween" | "justifyAround" | "justifyEvenly" | "alignContentStart" | "alignContentCenter" | "alignContentEnd" | "alignContentStretch" | "alignContentBetween" | "alignContentAround" | "alignContentEvenly" | "gapNone" | "gapRowXs" | "gapRowSm" | "gapRowMd" | "gapRowLg" | "gapRowXl" | "gapColumnXs" | "gapColumnSm" | "gapColumnMd" | "gapColumnLg" | "gapColumnXl" | "gapXs" | "gapSm" | "gapMd" | "gapLg" | "gapXl" | "item" | "grow0" | "shrink0" | "basis0" | "basisAuto" | "alignSelfStart" | "alignSelfCenter" | "alignSelfEnd" | "alignSelfStretch" | "alignSelfBaseline" | "justifySelfCenter" | "justifySelfEnd" | "justifySelfStretch";
7
+ export declare const useFlexPredefinedClasses: (variant: string) => "wrap" | "row" | "center" | "container" | "inline" | "column" | "nowrap" | "rowReverse" | "columnReverse" | "wrapReverse" | "grow" | "shrink" | "flex0" | "flex1" | "centerBetween" | "columnCenter" | "alignStart" | "alignCenter" | "alignEnd" | "alignStretch" | "alignBaseline" | "justifyStart" | "justifyCenter" | "justifyEnd" | "justifyStretch" | "justifyBetween" | "justifyAround" | "justifyEvenly" | "alignContentStart" | "alignContentCenter" | "alignContentEnd" | "alignContentStretch" | "alignContentBetween" | "alignContentAround" | "alignContentEvenly" | "gapNone" | "gapRowXs" | "gapRowSm" | "gapRowMd" | "gapRowLg" | "gapRowXl" | "gapColumnXs" | "gapColumnSm" | "gapColumnMd" | "gapColumnLg" | "gapColumnXl" | "gapXs" | "gapSm" | "gapMd" | "gapLg" | "gapXl" | "item" | "grow0" | "shrink0" | "basis0" | "basisAuto" | "alignSelfStart" | "alignSelfCenter" | "alignSelfEnd" | "alignSelfStretch" | "alignSelfBaseline" | "justifySelfCenter" | "justifySelfEnd" | "justifySelfStretch";
8
8
  //# sourceMappingURL=useFlexClasses.d.ts.map
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/floating-arrow-DPKwJfww.js";
1
+ import { t as e } from "../chunks/floating-arrow-DKUKx2ZQ.js";
2
2
  export { e as TooltipArrow };
@@ -1,6 +1,6 @@
1
- import { useCallback as e } from "react";
2
- import { FloatingFocusManager as t, FloatingOverlay as n, FloatingPortal as r, useDismiss as i, useFloating as a, useInteractions as o, useRole as s } from "@floating-ui/react";
3
- import { jsx as c } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { useCallback as t } from "react";
3
+ import { FloatingFocusManager as n, FloatingOverlay as r, FloatingPortal as i, useDismiss as a, useFloating as o, useInteractions as s, useRole as c } from "@floating-ui/react";
4
4
  var l = {
5
5
  overlay: "fY8BBX",
6
6
  panel: "M9Yms2"
@@ -12,20 +12,20 @@ function u(e, t) {
12
12
  return n ? `${n}. ${t}` : t;
13
13
  }
14
14
  function d({ open: d, title: f, description: p, onOpenChange: m, children: h }) {
15
- let { refs: g, context: _ } = a({
15
+ let { refs: g, context: _ } = o({
16
16
  open: d,
17
17
  onOpenChange: m
18
- }), v = i(_, { outsidePress: !1 }), y = s(_, { role: "dialog" }), { getFloatingProps: b } = o([v, y]), x = e((e) => {
18
+ }), v = a(_, { outsidePress: !1 }), y = c(_, { role: "dialog" }), { getFloatingProps: b } = s([v, y]), x = t((e) => {
19
19
  g.setFloating(e);
20
20
  }, [g]);
21
- return d ? /* @__PURE__ */ c(r, { children: /* @__PURE__ */ c(n, {
21
+ return d ? /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(r, {
22
22
  lockScroll: !0,
23
23
  className: l.overlay,
24
- children: /* @__PURE__ */ c(t, {
24
+ children: /* @__PURE__ */ e(n, {
25
25
  context: _,
26
26
  modal: !1,
27
27
  returnFocus: !0,
28
- children: /* @__PURE__ */ c("section", {
28
+ children: /* @__PURE__ */ e("section", {
29
29
  ref: x,
30
30
  ...b({
31
31
  className: l.panel,