@react-spectrum/dialog 3.8.8 → 3.8.10

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 (221) hide show
  1. package/dist/AlertDialog.main.js +98 -0
  2. package/dist/AlertDialog.main.js.map +1 -0
  3. package/dist/AlertDialog.mjs +93 -0
  4. package/dist/AlertDialog.module.js +93 -0
  5. package/dist/AlertDialog.module.js.map +1 -0
  6. package/dist/Dialog.main.js +135 -0
  7. package/dist/Dialog.main.js.map +1 -0
  8. package/dist/Dialog.mjs +130 -0
  9. package/dist/Dialog.module.js +130 -0
  10. package/dist/Dialog.module.js.map +1 -0
  11. package/dist/DialogContainer.main.js +63 -0
  12. package/dist/DialogContainer.main.js.map +1 -0
  13. package/dist/DialogContainer.mjs +54 -0
  14. package/dist/DialogContainer.module.js +54 -0
  15. package/dist/DialogContainer.module.js.map +1 -0
  16. package/dist/DialogTrigger.main.js +162 -0
  17. package/dist/DialogTrigger.main.js.map +1 -0
  18. package/dist/DialogTrigger.mjs +153 -0
  19. package/dist/DialogTrigger.module.js +153 -0
  20. package/dist/DialogTrigger.module.js.map +1 -0
  21. package/dist/ar-AE.main.js +7 -0
  22. package/dist/ar-AE.main.js.map +1 -0
  23. package/dist/ar-AE.mjs +9 -0
  24. package/dist/ar-AE.module.js +9 -0
  25. package/dist/ar-AE.module.js.map +1 -0
  26. package/dist/bg-BG.main.js +7 -0
  27. package/dist/bg-BG.main.js.map +1 -0
  28. package/dist/bg-BG.mjs +9 -0
  29. package/dist/bg-BG.module.js +9 -0
  30. package/dist/bg-BG.module.js.map +1 -0
  31. package/dist/context.main.js +27 -0
  32. package/dist/context.main.js.map +1 -0
  33. package/dist/context.mjs +18 -0
  34. package/dist/context.module.js +18 -0
  35. package/dist/context.module.js.map +1 -0
  36. package/dist/cs-CZ.main.js +7 -0
  37. package/dist/cs-CZ.main.js.map +1 -0
  38. package/dist/cs-CZ.mjs +9 -0
  39. package/dist/cs-CZ.module.js +9 -0
  40. package/dist/cs-CZ.module.js.map +1 -0
  41. package/dist/da-DK.main.js +7 -0
  42. package/dist/da-DK.main.js.map +1 -0
  43. package/dist/da-DK.mjs +9 -0
  44. package/dist/da-DK.module.js +9 -0
  45. package/dist/da-DK.module.js.map +1 -0
  46. package/dist/de-DE.main.js +7 -0
  47. package/dist/de-DE.main.js.map +1 -0
  48. package/dist/de-DE.mjs +9 -0
  49. package/dist/de-DE.module.js +9 -0
  50. package/dist/de-DE.module.js.map +1 -0
  51. package/dist/dialog_vars_css.main.js +161 -0
  52. package/dist/dialog_vars_css.main.js.map +1 -0
  53. package/dist/dialog_vars_css.mjs +163 -0
  54. package/dist/dialog_vars_css.module.js +163 -0
  55. package/dist/dialog_vars_css.module.js.map +1 -0
  56. package/dist/el-GR.main.js +7 -0
  57. package/dist/el-GR.main.js.map +1 -0
  58. package/dist/el-GR.mjs +9 -0
  59. package/dist/el-GR.module.js +9 -0
  60. package/dist/el-GR.module.js.map +1 -0
  61. package/dist/en-US.main.js +7 -0
  62. package/dist/en-US.main.js.map +1 -0
  63. package/dist/en-US.mjs +9 -0
  64. package/dist/en-US.module.js +9 -0
  65. package/dist/en-US.module.js.map +1 -0
  66. package/dist/es-ES.main.js +7 -0
  67. package/dist/es-ES.main.js.map +1 -0
  68. package/dist/es-ES.mjs +9 -0
  69. package/dist/es-ES.module.js +9 -0
  70. package/dist/es-ES.module.js.map +1 -0
  71. package/dist/et-EE.main.js +7 -0
  72. package/dist/et-EE.main.js.map +1 -0
  73. package/dist/et-EE.mjs +9 -0
  74. package/dist/et-EE.module.js +9 -0
  75. package/dist/et-EE.module.js.map +1 -0
  76. package/dist/fi-FI.main.js +7 -0
  77. package/dist/fi-FI.main.js.map +1 -0
  78. package/dist/fi-FI.mjs +9 -0
  79. package/dist/fi-FI.module.js +9 -0
  80. package/dist/fi-FI.module.js.map +1 -0
  81. package/dist/fr-FR.main.js +7 -0
  82. package/dist/fr-FR.main.js.map +1 -0
  83. package/dist/fr-FR.mjs +9 -0
  84. package/dist/fr-FR.module.js +9 -0
  85. package/dist/fr-FR.module.js.map +1 -0
  86. package/dist/he-IL.main.js +7 -0
  87. package/dist/he-IL.main.js.map +1 -0
  88. package/dist/he-IL.mjs +9 -0
  89. package/dist/he-IL.module.js +9 -0
  90. package/dist/he-IL.module.js.map +1 -0
  91. package/dist/hr-HR.main.js +7 -0
  92. package/dist/hr-HR.main.js.map +1 -0
  93. package/dist/hr-HR.mjs +9 -0
  94. package/dist/hr-HR.module.js +9 -0
  95. package/dist/hr-HR.module.js.map +1 -0
  96. package/dist/hu-HU.main.js +7 -0
  97. package/dist/hu-HU.main.js.map +1 -0
  98. package/dist/hu-HU.mjs +9 -0
  99. package/dist/hu-HU.module.js +9 -0
  100. package/dist/hu-HU.module.js.map +1 -0
  101. package/dist/import.mjs +5 -862
  102. package/dist/intlStrings.main.js +108 -0
  103. package/dist/intlStrings.main.js.map +1 -0
  104. package/dist/intlStrings.mjs +110 -0
  105. package/dist/intlStrings.module.js +110 -0
  106. package/dist/intlStrings.module.js.map +1 -0
  107. package/dist/it-IT.main.js +7 -0
  108. package/dist/it-IT.main.js.map +1 -0
  109. package/dist/it-IT.mjs +9 -0
  110. package/dist/it-IT.module.js +9 -0
  111. package/dist/it-IT.module.js.map +1 -0
  112. package/dist/ja-JP.main.js +7 -0
  113. package/dist/ja-JP.main.js.map +1 -0
  114. package/dist/ja-JP.mjs +9 -0
  115. package/dist/ja-JP.module.js +9 -0
  116. package/dist/ja-JP.module.js.map +1 -0
  117. package/dist/ko-KR.main.js +7 -0
  118. package/dist/ko-KR.main.js.map +1 -0
  119. package/dist/ko-KR.mjs +9 -0
  120. package/dist/ko-KR.module.js +9 -0
  121. package/dist/ko-KR.module.js.map +1 -0
  122. package/dist/lt-LT.main.js +7 -0
  123. package/dist/lt-LT.main.js.map +1 -0
  124. package/dist/lt-LT.mjs +9 -0
  125. package/dist/lt-LT.module.js +9 -0
  126. package/dist/lt-LT.module.js.map +1 -0
  127. package/dist/lv-LV.main.js +7 -0
  128. package/dist/lv-LV.main.js.map +1 -0
  129. package/dist/lv-LV.mjs +9 -0
  130. package/dist/lv-LV.module.js +9 -0
  131. package/dist/lv-LV.module.js.map +1 -0
  132. package/dist/main.js +10 -863
  133. package/dist/main.js.map +1 -1
  134. package/dist/module.js +5 -862
  135. package/dist/module.js.map +1 -1
  136. package/dist/nb-NO.main.js +7 -0
  137. package/dist/nb-NO.main.js.map +1 -0
  138. package/dist/nb-NO.mjs +9 -0
  139. package/dist/nb-NO.module.js +9 -0
  140. package/dist/nb-NO.module.js.map +1 -0
  141. package/dist/nl-NL.main.js +7 -0
  142. package/dist/nl-NL.main.js.map +1 -0
  143. package/dist/nl-NL.mjs +9 -0
  144. package/dist/nl-NL.module.js +9 -0
  145. package/dist/nl-NL.module.js.map +1 -0
  146. package/dist/pl-PL.main.js +7 -0
  147. package/dist/pl-PL.main.js.map +1 -0
  148. package/dist/pl-PL.mjs +9 -0
  149. package/dist/pl-PL.module.js +9 -0
  150. package/dist/pl-PL.module.js.map +1 -0
  151. package/dist/pt-BR.main.js +7 -0
  152. package/dist/pt-BR.main.js.map +1 -0
  153. package/dist/pt-BR.mjs +9 -0
  154. package/dist/pt-BR.module.js +9 -0
  155. package/dist/pt-BR.module.js.map +1 -0
  156. package/dist/pt-PT.main.js +7 -0
  157. package/dist/pt-PT.main.js.map +1 -0
  158. package/dist/pt-PT.mjs +9 -0
  159. package/dist/pt-PT.module.js +9 -0
  160. package/dist/pt-PT.module.js.map +1 -0
  161. package/dist/ro-RO.main.js +7 -0
  162. package/dist/ro-RO.main.js.map +1 -0
  163. package/dist/ro-RO.mjs +9 -0
  164. package/dist/ro-RO.module.js +9 -0
  165. package/dist/ro-RO.module.js.map +1 -0
  166. package/dist/ru-RU.main.js +7 -0
  167. package/dist/ru-RU.main.js.map +1 -0
  168. package/dist/ru-RU.mjs +9 -0
  169. package/dist/ru-RU.module.js +9 -0
  170. package/dist/ru-RU.module.js.map +1 -0
  171. package/dist/sk-SK.main.js +7 -0
  172. package/dist/sk-SK.main.js.map +1 -0
  173. package/dist/sk-SK.mjs +9 -0
  174. package/dist/sk-SK.module.js +9 -0
  175. package/dist/sk-SK.module.js.map +1 -0
  176. package/dist/sl-SI.main.js +7 -0
  177. package/dist/sl-SI.main.js.map +1 -0
  178. package/dist/sl-SI.mjs +9 -0
  179. package/dist/sl-SI.module.js +9 -0
  180. package/dist/sl-SI.module.js.map +1 -0
  181. package/dist/sr-SP.main.js +7 -0
  182. package/dist/sr-SP.main.js.map +1 -0
  183. package/dist/sr-SP.mjs +9 -0
  184. package/dist/sr-SP.module.js +9 -0
  185. package/dist/sr-SP.module.js.map +1 -0
  186. package/dist/sv-SE.main.js +7 -0
  187. package/dist/sv-SE.main.js.map +1 -0
  188. package/dist/sv-SE.mjs +9 -0
  189. package/dist/sv-SE.module.js +9 -0
  190. package/dist/sv-SE.module.js.map +1 -0
  191. package/dist/tr-TR.main.js +7 -0
  192. package/dist/tr-TR.main.js.map +1 -0
  193. package/dist/tr-TR.mjs +9 -0
  194. package/dist/tr-TR.module.js +9 -0
  195. package/dist/tr-TR.module.js.map +1 -0
  196. package/dist/types.d.ts +3 -2
  197. package/dist/types.d.ts.map +1 -1
  198. package/dist/uk-UA.main.js +7 -0
  199. package/dist/uk-UA.main.js.map +1 -0
  200. package/dist/uk-UA.mjs +9 -0
  201. package/dist/uk-UA.module.js +9 -0
  202. package/dist/uk-UA.module.js.map +1 -0
  203. package/dist/useDialogContainer.main.js +34 -0
  204. package/dist/useDialogContainer.main.js.map +1 -0
  205. package/dist/useDialogContainer.mjs +29 -0
  206. package/dist/useDialogContainer.module.js +29 -0
  207. package/dist/useDialogContainer.module.js.map +1 -0
  208. package/dist/vars.6a3d7df3.css +519 -0
  209. package/dist/vars.6a3d7df3.css.map +1 -0
  210. package/dist/zh-CN.main.js +7 -0
  211. package/dist/zh-CN.main.js.map +1 -0
  212. package/dist/zh-CN.mjs +9 -0
  213. package/dist/zh-CN.module.js +9 -0
  214. package/dist/zh-CN.module.js.map +1 -0
  215. package/dist/zh-TW.main.js +7 -0
  216. package/dist/zh-TW.main.js.map +1 -0
  217. package/dist/zh-TW.mjs +9 -0
  218. package/dist/zh-TW.module.js +9 -0
  219. package/dist/zh-TW.module.js.map +1 -0
  220. package/package.json +21 -21
  221. package/dist/main.css +0 -1
package/dist/main.js CHANGED
@@ -1,36 +1,19 @@
1
- require("./main.css");
2
- var $iaoFN$spectrumiconsuiAlertMedium = require("@spectrum-icons/ui/AlertMedium");
3
- var $iaoFN$reactspectrumbutton = require("@react-spectrum/button");
4
- var $iaoFN$reactspectrumbuttongroup = require("@react-spectrum/buttongroup");
5
- var $iaoFN$reactariautils = require("@react-aria/utils");
6
- var $iaoFN$reactspectrumutils = require("@react-spectrum/utils");
7
- var $iaoFN$reactspectrumview = require("@react-spectrum/view");
8
- var $iaoFN$reactspectrumdivider = require("@react-spectrum/divider");
9
- var $iaoFN$reactspectrumtext = require("@react-spectrum/text");
10
- var $iaoFN$react = require("react");
11
- var $iaoFN$reactariai18n = require("@react-aria/i18n");
12
- var $iaoFN$spectrumiconsuiCrossLarge = require("@spectrum-icons/ui/CrossLarge");
13
- var $iaoFN$reactspectrumlayout = require("@react-spectrum/layout");
14
- var $iaoFN$reactariadialog = require("@react-aria/dialog");
15
- var $iaoFN$reactspectrumoverlays = require("@react-spectrum/overlays");
16
- var $iaoFN$reactstatelyoverlays = require("@react-stately/overlays");
17
- var $iaoFN$reactariainteractions = require("@react-aria/interactions");
18
- var $iaoFN$reactariaoverlays = require("@react-aria/overlays");
1
+ var $66f8653ff750aa27$exports = require("./AlertDialog.main.js");
2
+ var $a57fc2323bf98a33$exports = require("./Dialog.main.js");
3
+ var $46e54a192dc519c9$exports = require("./DialogTrigger.main.js");
4
+ var $1b7050825e0eb5b6$exports = require("./DialogContainer.main.js");
5
+ var $1f05ce3abe26c4cc$exports = require("./useDialogContainer.main.js");
19
6
 
20
7
 
21
8
  function $parcel$export(e, n, v, s) {
22
9
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
23
10
  }
24
11
 
25
- function $parcel$interopDefault(a) {
26
- return a && a.__esModule ? a.default : a;
27
- }
28
-
29
- $parcel$export(module.exports, "AlertDialog", () => $66f8653ff750aa27$export$de466dd8317b0b75);
30
- $parcel$export(module.exports, "Dialog", () => $a57fc2323bf98a33$export$3ddf2d174ce01153);
31
- $parcel$export(module.exports, "DialogTrigger", () => $46e54a192dc519c9$export$2e1e1122cf0cba88);
32
- $parcel$export(module.exports, "DialogContainer", () => $1b7050825e0eb5b6$export$547754aada6e339f);
33
- $parcel$export(module.exports, "useDialogContainer", () => $1f05ce3abe26c4cc$export$a2f2d8fa6720dab1);
12
+ $parcel$export(module.exports, "AlertDialog", () => $66f8653ff750aa27$exports.AlertDialog);
13
+ $parcel$export(module.exports, "Dialog", () => $a57fc2323bf98a33$exports.Dialog);
14
+ $parcel$export(module.exports, "DialogTrigger", () => $46e54a192dc519c9$exports.DialogTrigger);
15
+ $parcel$export(module.exports, "DialogContainer", () => $1b7050825e0eb5b6$exports.DialogContainer);
16
+ $parcel$export(module.exports, "useDialogContainer", () => $1f05ce3abe26c4cc$exports.useDialogContainer);
34
17
  /*
35
18
  * Copyright 2020 Adobe. All rights reserved.
36
19
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -42,846 +25,10 @@ $parcel$export(module.exports, "useDialogContainer", () => $1f05ce3abe26c4cc$exp
42
25
  * OF ANY KIND, either express or implied. See the License for the specific language
43
26
  * governing permissions and limitations under the License.
44
27
  */ /// <reference types="css-module-types" />
45
- /*
46
- * Copyright 2020 Adobe. All rights reserved.
47
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
48
- * you may not use this file except in compliance with the License. You may obtain a copy
49
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
50
- *
51
- * Unless required by applicable law or agreed to in writing, software distributed under
52
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
53
- * OF ANY KIND, either express or implied. See the License for the specific language
54
- * governing permissions and limitations under the License.
55
- */
56
-
57
-
58
-
59
-
60
-
61
- /*
62
- * Copyright 2020 Adobe. All rights reserved.
63
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
64
- * you may not use this file except in compliance with the License. You may obtain a copy
65
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
66
- *
67
- * Unless required by applicable law or agreed to in writing, software distributed under
68
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
69
- * OF ANY KIND, either express or implied. See the License for the specific language
70
- * governing permissions and limitations under the License.
71
- */
72
-
73
-
74
- /*
75
- * Copyright 2020 Adobe. All rights reserved.
76
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
77
- * you may not use this file except in compliance with the License. You may obtain a copy
78
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
79
- *
80
- * Unless required by applicable law or agreed to in writing, software distributed under
81
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
82
- * OF ANY KIND, either express or implied. See the License for the specific language
83
- * governing permissions and limitations under the License.
84
- */
85
- const $0eb909ad2388d989$export$8b93a07348a7730c = (0, ($parcel$interopDefault($iaoFN$react))).createContext(null);
86
-
87
-
88
-
89
- var $7827d180f5c8b41b$exports = {};
90
- var $a55551a02f9dcb5c$exports = {};
91
- $a55551a02f9dcb5c$exports = {
92
- "alert": `\u{62A}\u{646}\u{628}\u{64A}\u{647}`,
93
- "dismiss": `\u{62A}\u{62C}\u{627}\u{647}\u{644}`
94
- };
95
-
96
-
97
- var $d9c7f58ad2bbfa4c$exports = {};
98
- $d9c7f58ad2bbfa4c$exports = {
99
- "alert": `\u{421}\u{438}\u{433}\u{43D}\u{430}\u{43B}`,
100
- "dismiss": `\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`
101
- };
102
-
103
-
104
- var $cc8c40dafb8d03b0$exports = {};
105
- $cc8c40dafb8d03b0$exports = {
106
- "alert": `V\xfdstraha`,
107
- "dismiss": `Odstranit`
108
- };
109
-
110
-
111
- var $d970ec0fa7e711e7$exports = {};
112
- $d970ec0fa7e711e7$exports = {
113
- "alert": `Advarsel`,
114
- "dismiss": `Luk`
115
- };
116
-
117
-
118
- var $c619cc654d2ca674$exports = {};
119
- $c619cc654d2ca674$exports = {
120
- "alert": `Warnhinweis`,
121
- "dismiss": `Schlie\xdfen`
122
- };
123
-
124
-
125
- var $2d258a772c4fa392$exports = {};
126
- $2d258a772c4fa392$exports = {
127
- "alert": `\u{395}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3AF}\u{3B7}\u{3C3}\u{3B7}`,
128
- "dismiss": `\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`
129
- };
130
-
131
-
132
- var $88f649eb626e5bda$exports = {};
133
- $88f649eb626e5bda$exports = {
134
- "dismiss": `Dismiss`,
135
- "alert": `Alert`
136
- };
137
-
138
-
139
- var $4cd7244dbd86e2ba$exports = {};
140
- $4cd7244dbd86e2ba$exports = {
141
- "alert": `Alerta`,
142
- "dismiss": `Descartar`
143
- };
144
-
145
-
146
- var $86a88b5d274957dd$exports = {};
147
- $86a88b5d274957dd$exports = {
148
- "alert": `Teade`,
149
- "dismiss": `L\xf5peta`
150
- };
151
-
152
-
153
- var $6b6909c1e7df2772$exports = {};
154
- $6b6909c1e7df2772$exports = {
155
- "alert": `H\xe4lytys`,
156
- "dismiss": `Hylk\xe4\xe4`
157
- };
158
-
159
-
160
- var $c05d64ee0d510606$exports = {};
161
- $c05d64ee0d510606$exports = {
162
- "alert": `Alerte`,
163
- "dismiss": `Rejeter`
164
- };
165
-
166
-
167
- var $b54ffde1ebba1e69$exports = {};
168
- $b54ffde1ebba1e69$exports = {
169
- "alert": `\u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D4}`,
170
- "dismiss": `\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`
171
- };
172
-
173
-
174
- var $6d5732627fd95466$exports = {};
175
- $6d5732627fd95466$exports = {
176
- "alert": `Upozorenje`,
177
- "dismiss": `Odbaci`
178
- };
179
-
180
-
181
- var $525291eaaaf36ab1$exports = {};
182
- $525291eaaaf36ab1$exports = {
183
- "alert": `Figyelmeztet\xe9s`,
184
- "dismiss": `Elutas\xedt\xe1s`
185
- };
186
-
187
-
188
- var $6dc44201330bcb0a$exports = {};
189
- $6dc44201330bcb0a$exports = {
190
- "alert": `Avviso`,
191
- "dismiss": `Ignora`
192
- };
193
-
194
-
195
- var $38fba7087c48d89b$exports = {};
196
- $38fba7087c48d89b$exports = {
197
- "alert": `\u{30A2}\u{30E9}\u{30FC}\u{30C8}`,
198
- "dismiss": `\u{9589}\u{3058}\u{308B}`
199
- };
200
-
201
-
202
- var $0d321e557ee0ff2b$exports = {};
203
- $0d321e557ee0ff2b$exports = {
204
- "alert": `\u{ACBD}\u{ACE0}`,
205
- "dismiss": `\u{BB34}\u{C2DC}`
206
- };
207
-
208
-
209
- var $81ef7c03f6531c38$exports = {};
210
- $81ef7c03f6531c38$exports = {
211
- "alert": `\u{12E}sp\u{117}jimas`,
212
- "dismiss": `Atmesti`
213
- };
214
-
215
-
216
- var $dab9caf08f2773b2$exports = {};
217
- $dab9caf08f2773b2$exports = {
218
- "alert": `Br\u{12B}din\u{101}jums`,
219
- "dismiss": `Ner\u{101}d\u{12B}t`
220
- };
221
-
222
-
223
- var $8af697b2f49b994d$exports = {};
224
- $8af697b2f49b994d$exports = {
225
- "alert": `Varsel`,
226
- "dismiss": `Lukk`
227
- };
228
-
229
-
230
- var $94b03262a47d5c5b$exports = {};
231
- $94b03262a47d5c5b$exports = {
232
- "alert": `Melding`,
233
- "dismiss": `Negeren`
234
- };
235
-
236
-
237
- var $9531f14fa20d8709$exports = {};
238
- $9531f14fa20d8709$exports = {
239
- "alert": `Ostrze\u{17C}enie`,
240
- "dismiss": `Zignoruj`
241
- };
242
-
243
-
244
- var $d9e8b49831ccbf2a$exports = {};
245
- $d9e8b49831ccbf2a$exports = {
246
- "alert": `Alerta`,
247
- "dismiss": `Descartar`
248
- };
249
-
250
-
251
- var $6a11f56de734f9d5$exports = {};
252
- $6a11f56de734f9d5$exports = {
253
- "alert": `Alerta`,
254
- "dismiss": `Dispensar`
255
- };
256
-
257
-
258
- var $e6f020c13f71513f$exports = {};
259
- $e6f020c13f71513f$exports = {
260
- "alert": `Alert\u{103}`,
261
- "dismiss": `Revocare`
262
- };
263
28
 
264
29
 
265
- var $3268a43e923b3cbf$exports = {};
266
- $3268a43e923b3cbf$exports = {
267
- "alert": `\u{41F}\u{440}\u{435}\u{434}\u{443}\u{43F}\u{440}\u{435}\u{436}\u{434}\u{435}\u{43D}\u{438}\u{435}`,
268
- "dismiss": `\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`
269
- };
270
30
 
271
31
 
272
- var $ff45268c9e1a78be$exports = {};
273
- $ff45268c9e1a78be$exports = {
274
- "alert": `Upozornenie`,
275
- "dismiss": `Zru\u{161}i\u{165}`
276
- };
277
-
278
-
279
- var $f2cb6f88707095ee$exports = {};
280
- $f2cb6f88707095ee$exports = {
281
- "alert": `Opozorilo`,
282
- "dismiss": `Opusti`
283
- };
284
-
285
-
286
- var $ece68e97a81612d8$exports = {};
287
- $ece68e97a81612d8$exports = {
288
- "alert": `Upozorenje`,
289
- "dismiss": `Odbaci`
290
- };
291
-
292
-
293
- var $cce4ae8855cd8246$exports = {};
294
- $cce4ae8855cd8246$exports = {
295
- "alert": `Varning`,
296
- "dismiss": `Avvisa`
297
- };
298
-
299
-
300
- var $763283ab7e680652$exports = {};
301
- $763283ab7e680652$exports = {
302
- "alert": `Uyar\u{131}`,
303
- "dismiss": `Kapat`
304
- };
305
-
306
-
307
- var $ec9a4b7a09770ea4$exports = {};
308
- $ec9a4b7a09770ea4$exports = {
309
- "alert": `\u{421}\u{438}\u{433}\u{43D}\u{430}\u{43B} \u{442}\u{440}\u{438}\u{432}\u{43E}\u{433}\u{438}`,
310
- "dismiss": `\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`
311
- };
312
-
313
-
314
- var $56f81c88b16f2b96$exports = {};
315
- $56f81c88b16f2b96$exports = {
316
- "alert": `\u{8B66}\u{62A5}`,
317
- "dismiss": `\u{53D6}\u{6D88}`
318
- };
319
-
320
-
321
- var $6fb708b0a8fb135e$exports = {};
322
- $6fb708b0a8fb135e$exports = {
323
- "alert": `\u{8B66}\u{793A}`,
324
- "dismiss": `\u{95DC}\u{9589}`
325
- };
326
-
327
-
328
- $7827d180f5c8b41b$exports = {
329
- "ar-AE": $a55551a02f9dcb5c$exports,
330
- "bg-BG": $d9c7f58ad2bbfa4c$exports,
331
- "cs-CZ": $cc8c40dafb8d03b0$exports,
332
- "da-DK": $d970ec0fa7e711e7$exports,
333
- "de-DE": $c619cc654d2ca674$exports,
334
- "el-GR": $2d258a772c4fa392$exports,
335
- "en-US": $88f649eb626e5bda$exports,
336
- "es-ES": $4cd7244dbd86e2ba$exports,
337
- "et-EE": $86a88b5d274957dd$exports,
338
- "fi-FI": $6b6909c1e7df2772$exports,
339
- "fr-FR": $c05d64ee0d510606$exports,
340
- "he-IL": $b54ffde1ebba1e69$exports,
341
- "hr-HR": $6d5732627fd95466$exports,
342
- "hu-HU": $525291eaaaf36ab1$exports,
343
- "it-IT": $6dc44201330bcb0a$exports,
344
- "ja-JP": $38fba7087c48d89b$exports,
345
- "ko-KR": $0d321e557ee0ff2b$exports,
346
- "lt-LT": $81ef7c03f6531c38$exports,
347
- "lv-LV": $dab9caf08f2773b2$exports,
348
- "nb-NO": $8af697b2f49b994d$exports,
349
- "nl-NL": $94b03262a47d5c5b$exports,
350
- "pl-PL": $9531f14fa20d8709$exports,
351
- "pt-BR": $d9e8b49831ccbf2a$exports,
352
- "pt-PT": $6a11f56de734f9d5$exports,
353
- "ro-RO": $e6f020c13f71513f$exports,
354
- "ru-RU": $3268a43e923b3cbf$exports,
355
- "sk-SK": $ff45268c9e1a78be$exports,
356
- "sl-SI": $f2cb6f88707095ee$exports,
357
- "sr-SP": $ece68e97a81612d8$exports,
358
- "sv-SE": $cce4ae8855cd8246$exports,
359
- "tr-TR": $763283ab7e680652$exports,
360
- "uk-UA": $ec9a4b7a09770ea4$exports,
361
- "zh-CN": $56f81c88b16f2b96$exports,
362
- "zh-TW": $6fb708b0a8fb135e$exports
363
- };
364
-
365
-
366
-
367
-
368
- var $a74c0984b1adb651$exports = {};
369
-
370
- $parcel$export($a74c0984b1adb651$exports, "buttonGroup", () => $a74c0984b1adb651$export$9c686a975407e95c, (v) => $a74c0984b1adb651$export$9c686a975407e95c = v);
371
- $parcel$export($a74c0984b1adb651$exports, "buttonGroup-end", () => $a74c0984b1adb651$export$92daf1b0113da0, (v) => $a74c0984b1adb651$export$92daf1b0113da0 = v);
372
- $parcel$export($a74c0984b1adb651$exports, "closeButton", () => $a74c0984b1adb651$export$efe229eab43a9869, (v) => $a74c0984b1adb651$export$efe229eab43a9869 = v);
373
- $parcel$export($a74c0984b1adb651$exports, "content", () => $a74c0984b1adb651$export$a7db06668cad9adb, (v) => $a74c0984b1adb651$export$a7db06668cad9adb = v);
374
- $parcel$export($a74c0984b1adb651$exports, "divider", () => $a74c0984b1adb651$export$e8c9778bf415dd08, (v) => $a74c0984b1adb651$export$e8c9778bf415dd08 = v);
375
- $parcel$export($a74c0984b1adb651$exports, "focus-ring", () => $a74c0984b1adb651$export$f39a09f249340e2a, (v) => $a74c0984b1adb651$export$f39a09f249340e2a = v);
376
- $parcel$export($a74c0984b1adb651$exports, "footer", () => $a74c0984b1adb651$export$adb608be33961c98, (v) => $a74c0984b1adb651$export$adb608be33961c98 = v);
377
- $parcel$export($a74c0984b1adb651$exports, "footer-start", () => $a74c0984b1adb651$export$ba5cbcdd7db6a805, (v) => $a74c0984b1adb651$export$ba5cbcdd7db6a805 = v);
378
- $parcel$export($a74c0984b1adb651$exports, "header", () => $a74c0984b1adb651$export$38e42c68cf43b5d4, (v) => $a74c0984b1adb651$export$38e42c68cf43b5d4 = v);
379
- $parcel$export($a74c0984b1adb651$exports, "header-end", () => $a74c0984b1adb651$export$9ff84a8ef5e6eb7e, (v) => $a74c0984b1adb651$export$9ff84a8ef5e6eb7e = v);
380
- $parcel$export($a74c0984b1adb651$exports, "header-start", () => $a74c0984b1adb651$export$6e2679145d8d7578, (v) => $a74c0984b1adb651$export$6e2679145d8d7578 = v);
381
- $parcel$export($a74c0984b1adb651$exports, "heading", () => $a74c0984b1adb651$export$46e4a324ac90507f, (v) => $a74c0984b1adb651$export$46e4a324ac90507f = v);
382
- $parcel$export($a74c0984b1adb651$exports, "heading-start", () => $a74c0984b1adb651$export$9f99175ea85abb45, (v) => $a74c0984b1adb651$export$9f99175ea85abb45 = v);
383
- $parcel$export($a74c0984b1adb651$exports, "hero", () => $a74c0984b1adb651$export$124049a9e3d0d4c3, (v) => $a74c0984b1adb651$export$124049a9e3d0d4c3 = v);
384
- $parcel$export($a74c0984b1adb651$exports, "i18nFontFamily", () => $a74c0984b1adb651$export$8c4ee2c50c22c514, (v) => $a74c0984b1adb651$export$8c4ee2c50c22c514 = v);
385
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Button", () => $a74c0984b1adb651$export$1db4cca5b4ade39a, (v) => $a74c0984b1adb651$export$1db4cca5b4ade39a = v);
386
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog", () => $a74c0984b1adb651$export$4681f3bcac39b2b1, (v) => $a74c0984b1adb651$export$4681f3bcac39b2b1 = v);
387
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--dismissable", () => $a74c0984b1adb651$export$9461b285d631d575, (v) => $a74c0984b1adb651$export$9461b285d631d575 = v);
388
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--error", () => $a74c0984b1adb651$export$6b5beff56972a3b, (v) => $a74c0984b1adb651$export$6b5beff56972a3b = v);
389
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--fullscreen", () => $a74c0984b1adb651$export$118506da5d3ee7c4, (v) => $a74c0984b1adb651$export$118506da5d3ee7c4 = v);
390
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--fullscreenTakeover", () => $a74c0984b1adb651$export$5c061b2d3664fda9, (v) => $a74c0984b1adb651$export$5c061b2d3664fda9 = v);
391
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--large", () => $a74c0984b1adb651$export$b73c0c2fca84be2b, (v) => $a74c0984b1adb651$export$b73c0c2fca84be2b = v);
392
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--medium", () => $a74c0984b1adb651$export$b9b8ef443d0a67ca, (v) => $a74c0984b1adb651$export$b9b8ef443d0a67ca = v);
393
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--noDivider", () => $a74c0984b1adb651$export$22425527a8943917, (v) => $a74c0984b1adb651$export$22425527a8943917 = v);
394
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--small", () => $a74c0984b1adb651$export$5f2d9cc47409bd63, (v) => $a74c0984b1adb651$export$5f2d9cc47409bd63 = v);
395
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog--warning", () => $a74c0984b1adb651$export$4e66396adf61534f, (v) => $a74c0984b1adb651$export$4e66396adf61534f = v);
396
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-buttonGroup", () => $a74c0984b1adb651$export$570ae852861555b7, (v) => $a74c0984b1adb651$export$570ae852861555b7 = v);
397
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-buttonGroup--noFooter", () => $a74c0984b1adb651$export$39dd75369bf2e830, (v) => $a74c0984b1adb651$export$39dd75369bf2e830 = v);
398
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-closeButton", () => $a74c0984b1adb651$export$a8494287d763a75d, (v) => $a74c0984b1adb651$export$a8494287d763a75d = v);
399
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-content", () => $a74c0984b1adb651$export$cb8eccd0f3639238, (v) => $a74c0984b1adb651$export$cb8eccd0f3639238 = v);
400
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-divider", () => $a74c0984b1adb651$export$dd7633d642d0bc1c, (v) => $a74c0984b1adb651$export$dd7633d642d0bc1c = v);
401
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-footer", () => $a74c0984b1adb651$export$3ecb5025a06fe08f, (v) => $a74c0984b1adb651$export$3ecb5025a06fe08f = v);
402
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-grid", () => $a74c0984b1adb651$export$c03cd5e23af67ff5, (v) => $a74c0984b1adb651$export$c03cd5e23af67ff5 = v);
403
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-header", () => $a74c0984b1adb651$export$1e158eaa6363e131, (v) => $a74c0984b1adb651$export$1e158eaa6363e131 = v);
404
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-header--noTypeIcon", () => $a74c0984b1adb651$export$141d8fd0950fea8b, (v) => $a74c0984b1adb651$export$141d8fd0950fea8b = v);
405
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-heading", () => $a74c0984b1adb651$export$94335d73b7b209ec, (v) => $a74c0984b1adb651$export$94335d73b7b209ec = v);
406
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-heading--noHeader", () => $a74c0984b1adb651$export$ade8307239736e89, (v) => $a74c0984b1adb651$export$ade8307239736e89 = v);
407
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-heading--noTypeIcon", () => $a74c0984b1adb651$export$c53ac004df29b46, (v) => $a74c0984b1adb651$export$c53ac004df29b46 = v);
408
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-hero", () => $a74c0984b1adb651$export$d405fb0a0231aa1a, (v) => $a74c0984b1adb651$export$d405fb0a0231aa1a = v);
409
- $parcel$export($a74c0984b1adb651$exports, "spectrum-Dialog-typeIcon", () => $a74c0984b1adb651$export$5beee9480fc6ff07, (v) => $a74c0984b1adb651$export$5beee9480fc6ff07 = v);
410
- $parcel$export($a74c0984b1adb651$exports, "spectrum-FocusRing-ring", () => $a74c0984b1adb651$export$4109102f950813a6, (v) => $a74c0984b1adb651$export$4109102f950813a6 = v);
411
- $parcel$export($a74c0984b1adb651$exports, "spectrum-FocusRing", () => $a74c0984b1adb651$export$24c7f46a6e3605dd, (v) => $a74c0984b1adb651$export$24c7f46a6e3605dd = v);
412
- $parcel$export($a74c0984b1adb651$exports, "spectrum-FocusRing--quiet", () => $a74c0984b1adb651$export$2927016961429360, (v) => $a74c0984b1adb651$export$2927016961429360 = v);
413
- $parcel$export($a74c0984b1adb651$exports, "spectrum-overlay", () => $a74c0984b1adb651$export$39eed38e2296a1d6, (v) => $a74c0984b1adb651$export$39eed38e2296a1d6 = v);
414
- $parcel$export($a74c0984b1adb651$exports, "spectrum-overlay--bottom--open", () => $a74c0984b1adb651$export$a96755f239de61ee, (v) => $a74c0984b1adb651$export$a96755f239de61ee = v);
415
- $parcel$export($a74c0984b1adb651$exports, "spectrum-overlay--left--open", () => $a74c0984b1adb651$export$a85c0c6b6cf8598c, (v) => $a74c0984b1adb651$export$a85c0c6b6cf8598c = v);
416
- $parcel$export($a74c0984b1adb651$exports, "spectrum-overlay--open", () => $a74c0984b1adb651$export$a397eb58038aa381, (v) => $a74c0984b1adb651$export$a397eb58038aa381 = v);
417
- $parcel$export($a74c0984b1adb651$exports, "spectrum-overlay--right--open", () => $a74c0984b1adb651$export$85aaa87e65e040bf, (v) => $a74c0984b1adb651$export$85aaa87e65e040bf = v);
418
- $parcel$export($a74c0984b1adb651$exports, "spectrum-overlay--top--open", () => $a74c0984b1adb651$export$b9768db7ffc1bc2, (v) => $a74c0984b1adb651$export$b9768db7ffc1bc2 = v);
419
- $parcel$export($a74c0984b1adb651$exports, "typeIcon", () => $a74c0984b1adb651$export$7c523679e5521442, (v) => $a74c0984b1adb651$export$7c523679e5521442 = v);
420
- $parcel$export($a74c0984b1adb651$exports, "typeIcon-end", () => $a74c0984b1adb651$export$b050c62b00f90727, (v) => $a74c0984b1adb651$export$b050c62b00f90727 = v);
421
- var $a74c0984b1adb651$export$9c686a975407e95c;
422
- var $a74c0984b1adb651$export$92daf1b0113da0;
423
- var $a74c0984b1adb651$export$efe229eab43a9869;
424
- var $a74c0984b1adb651$export$a7db06668cad9adb;
425
- var $a74c0984b1adb651$export$e8c9778bf415dd08;
426
- var $a74c0984b1adb651$export$f39a09f249340e2a;
427
- var $a74c0984b1adb651$export$adb608be33961c98;
428
- var $a74c0984b1adb651$export$ba5cbcdd7db6a805;
429
- var $a74c0984b1adb651$export$38e42c68cf43b5d4;
430
- var $a74c0984b1adb651$export$9ff84a8ef5e6eb7e;
431
- var $a74c0984b1adb651$export$6e2679145d8d7578;
432
- var $a74c0984b1adb651$export$46e4a324ac90507f;
433
- var $a74c0984b1adb651$export$9f99175ea85abb45;
434
- var $a74c0984b1adb651$export$124049a9e3d0d4c3;
435
- var $a74c0984b1adb651$export$8c4ee2c50c22c514;
436
- var $a74c0984b1adb651$export$1db4cca5b4ade39a;
437
- var $a74c0984b1adb651$export$4681f3bcac39b2b1;
438
- var $a74c0984b1adb651$export$9461b285d631d575;
439
- var $a74c0984b1adb651$export$6b5beff56972a3b;
440
- var $a74c0984b1adb651$export$118506da5d3ee7c4;
441
- var $a74c0984b1adb651$export$5c061b2d3664fda9;
442
- var $a74c0984b1adb651$export$b73c0c2fca84be2b;
443
- var $a74c0984b1adb651$export$b9b8ef443d0a67ca;
444
- var $a74c0984b1adb651$export$22425527a8943917;
445
- var $a74c0984b1adb651$export$5f2d9cc47409bd63;
446
- var $a74c0984b1adb651$export$4e66396adf61534f;
447
- var $a74c0984b1adb651$export$570ae852861555b7;
448
- var $a74c0984b1adb651$export$39dd75369bf2e830;
449
- var $a74c0984b1adb651$export$a8494287d763a75d;
450
- var $a74c0984b1adb651$export$cb8eccd0f3639238;
451
- var $a74c0984b1adb651$export$dd7633d642d0bc1c;
452
- var $a74c0984b1adb651$export$3ecb5025a06fe08f;
453
- var $a74c0984b1adb651$export$c03cd5e23af67ff5;
454
- var $a74c0984b1adb651$export$1e158eaa6363e131;
455
- var $a74c0984b1adb651$export$141d8fd0950fea8b;
456
- var $a74c0984b1adb651$export$94335d73b7b209ec;
457
- var $a74c0984b1adb651$export$ade8307239736e89;
458
- var $a74c0984b1adb651$export$c53ac004df29b46;
459
- var $a74c0984b1adb651$export$d405fb0a0231aa1a;
460
- var $a74c0984b1adb651$export$5beee9480fc6ff07;
461
- var $a74c0984b1adb651$export$4109102f950813a6;
462
- var $a74c0984b1adb651$export$24c7f46a6e3605dd;
463
- var $a74c0984b1adb651$export$2927016961429360;
464
- var $a74c0984b1adb651$export$39eed38e2296a1d6;
465
- var $a74c0984b1adb651$export$a96755f239de61ee;
466
- var $a74c0984b1adb651$export$a85c0c6b6cf8598c;
467
- var $a74c0984b1adb651$export$a397eb58038aa381;
468
- var $a74c0984b1adb651$export$85aaa87e65e040bf;
469
- var $a74c0984b1adb651$export$b9768db7ffc1bc2;
470
- var $a74c0984b1adb651$export$7c523679e5521442;
471
- var $a74c0984b1adb651$export$b050c62b00f90727;
472
- $a74c0984b1adb651$export$9c686a975407e95c = `h_OVWW_buttonGroup`;
473
- $a74c0984b1adb651$export$92daf1b0113da0 = `h_OVWW_buttonGroup-end`;
474
- $a74c0984b1adb651$export$efe229eab43a9869 = `h_OVWW_closeButton`;
475
- $a74c0984b1adb651$export$a7db06668cad9adb = `h_OVWW_content`;
476
- $a74c0984b1adb651$export$e8c9778bf415dd08 = `h_OVWW_divider`;
477
- $a74c0984b1adb651$export$f39a09f249340e2a = `h_OVWW_focus-ring`;
478
- $a74c0984b1adb651$export$adb608be33961c98 = `h_OVWW_footer`;
479
- $a74c0984b1adb651$export$ba5cbcdd7db6a805 = `h_OVWW_footer-start`;
480
- $a74c0984b1adb651$export$38e42c68cf43b5d4 = `h_OVWW_header`;
481
- $a74c0984b1adb651$export$9ff84a8ef5e6eb7e = `h_OVWW_header-end`;
482
- $a74c0984b1adb651$export$6e2679145d8d7578 = `h_OVWW_header-start`;
483
- $a74c0984b1adb651$export$46e4a324ac90507f = `h_OVWW_heading`;
484
- $a74c0984b1adb651$export$9f99175ea85abb45 = `h_OVWW_heading-start`;
485
- $a74c0984b1adb651$export$124049a9e3d0d4c3 = `h_OVWW_hero`;
486
- $a74c0984b1adb651$export$8c4ee2c50c22c514 = `h_OVWW_i18nFontFamily`;
487
- $a74c0984b1adb651$export$1db4cca5b4ade39a = `h_OVWW_spectrum-Button`;
488
- $a74c0984b1adb651$export$4681f3bcac39b2b1 = `h_OVWW_spectrum-Dialog`;
489
- $a74c0984b1adb651$export$9461b285d631d575 = `h_OVWW_spectrum-Dialog--dismissable`;
490
- $a74c0984b1adb651$export$6b5beff56972a3b = `h_OVWW_spectrum-Dialog--error`;
491
- $a74c0984b1adb651$export$118506da5d3ee7c4 = `h_OVWW_spectrum-Dialog--fullscreen`;
492
- $a74c0984b1adb651$export$5c061b2d3664fda9 = `h_OVWW_spectrum-Dialog--fullscreenTakeover`;
493
- $a74c0984b1adb651$export$b73c0c2fca84be2b = `h_OVWW_spectrum-Dialog--large`;
494
- $a74c0984b1adb651$export$b9b8ef443d0a67ca = `h_OVWW_spectrum-Dialog--medium`;
495
- $a74c0984b1adb651$export$22425527a8943917 = `h_OVWW_spectrum-Dialog--noDivider`;
496
- $a74c0984b1adb651$export$5f2d9cc47409bd63 = `h_OVWW_spectrum-Dialog--small`;
497
- $a74c0984b1adb651$export$4e66396adf61534f = `h_OVWW_spectrum-Dialog--warning`;
498
- $a74c0984b1adb651$export$570ae852861555b7 = `h_OVWW_spectrum-Dialog-buttonGroup`;
499
- $a74c0984b1adb651$export$39dd75369bf2e830 = `h_OVWW_spectrum-Dialog-buttonGroup--noFooter`;
500
- $a74c0984b1adb651$export$a8494287d763a75d = `h_OVWW_spectrum-Dialog-closeButton`;
501
- $a74c0984b1adb651$export$cb8eccd0f3639238 = `h_OVWW_spectrum-Dialog-content`;
502
- $a74c0984b1adb651$export$dd7633d642d0bc1c = `h_OVWW_spectrum-Dialog-divider`;
503
- $a74c0984b1adb651$export$3ecb5025a06fe08f = `h_OVWW_spectrum-Dialog-footer`;
504
- $a74c0984b1adb651$export$c03cd5e23af67ff5 = `h_OVWW_spectrum-Dialog-grid`;
505
- $a74c0984b1adb651$export$1e158eaa6363e131 = `h_OVWW_spectrum-Dialog-header`;
506
- $a74c0984b1adb651$export$141d8fd0950fea8b = `h_OVWW_spectrum-Dialog-header--noTypeIcon`;
507
- $a74c0984b1adb651$export$94335d73b7b209ec = `h_OVWW_spectrum-Dialog-heading`;
508
- $a74c0984b1adb651$export$ade8307239736e89 = `h_OVWW_spectrum-Dialog-heading--noHeader`;
509
- $a74c0984b1adb651$export$c53ac004df29b46 = `h_OVWW_spectrum-Dialog-heading--noTypeIcon`;
510
- $a74c0984b1adb651$export$d405fb0a0231aa1a = `h_OVWW_spectrum-Dialog-hero`;
511
- $a74c0984b1adb651$export$5beee9480fc6ff07 = `h_OVWW_spectrum-Dialog-typeIcon`;
512
- $a74c0984b1adb651$export$4109102f950813a6 = `h_OVWW_spectrum-FocusRing-ring`;
513
- $a74c0984b1adb651$export$24c7f46a6e3605dd = `h_OVWW_spectrum-FocusRing ${$a74c0984b1adb651$export$4109102f950813a6}`;
514
- $a74c0984b1adb651$export$2927016961429360 = `h_OVWW_spectrum-FocusRing--quiet`;
515
- $a74c0984b1adb651$export$39eed38e2296a1d6 = `h_OVWW_spectrum-overlay`;
516
- $a74c0984b1adb651$export$a96755f239de61ee = `h_OVWW_spectrum-overlay--bottom--open`;
517
- $a74c0984b1adb651$export$a85c0c6b6cf8598c = `h_OVWW_spectrum-overlay--left--open`;
518
- $a74c0984b1adb651$export$a397eb58038aa381 = `h_OVWW_spectrum-overlay--open`;
519
- $a74c0984b1adb651$export$85aaa87e65e040bf = `h_OVWW_spectrum-overlay--right--open`;
520
- $a74c0984b1adb651$export$b9768db7ffc1bc2 = `h_OVWW_spectrum-overlay--top--open`;
521
- $a74c0984b1adb651$export$7c523679e5521442 = `h_OVWW_typeIcon`;
522
- $a74c0984b1adb651$export$b050c62b00f90727 = `h_OVWW_typeIcon-end`;
523
-
524
-
525
-
526
-
527
- let $a57fc2323bf98a33$var$sizeMap = {
528
- S: "small",
529
- M: "medium",
530
- L: "large",
531
- fullscreen: "fullscreen",
532
- fullscreenTakeover: "fullscreenTakeover"
533
- };
534
- function $a57fc2323bf98a33$var$Dialog(props, ref) {
535
- props = (0, $iaoFN$reactspectrumutils.useSlotProps)(props, "dialog");
536
- let { type: type = "modal", ...contextProps } = (0, $iaoFN$react.useContext)((0, $0eb909ad2388d989$export$8b93a07348a7730c)) || {};
537
- let { children: children, isDismissable: isDismissable = contextProps.isDismissable, onDismiss: onDismiss = contextProps.onClose, size: size, ...otherProps } = props;
538
- let stringFormatter = (0, $iaoFN$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7827d180f5c8b41b$exports))), "@react-spectrum/dialog");
539
- let { styleProps: styleProps } = (0, $iaoFN$reactspectrumutils.useStyleProps)(otherProps);
540
- size = type === "popover" ? size || "S" : size || "L";
541
- let domRef = (0, $iaoFN$reactspectrumutils.useDOMRef)(ref);
542
- let gridRef = (0, $iaoFN$react.useRef)(null);
543
- let sizeVariant = $a57fc2323bf98a33$var$sizeMap[type] || $a57fc2323bf98a33$var$sizeMap[size];
544
- let { dialogProps: dialogProps, titleProps: titleProps } = (0, $iaoFN$reactariadialog.useDialog)((0, $iaoFN$reactariautils.mergeProps)(contextProps, props), domRef);
545
- let hasHeader = (0, $iaoFN$reactspectrumutils.useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-header"]}`, (0, $iaoFN$reactspectrumutils.unwrapDOMRef)(gridRef));
546
- let hasHeading = (0, $iaoFN$reactspectrumutils.useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-heading"]}`, (0, $iaoFN$reactspectrumutils.unwrapDOMRef)(gridRef));
547
- let hasFooter = (0, $iaoFN$reactspectrumutils.useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-footer"]}`, (0, $iaoFN$reactspectrumutils.unwrapDOMRef)(gridRef));
548
- let hasTypeIcon = (0, $iaoFN$reactspectrumutils.useHasChild)(`.${(0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-typeIcon"]}`, (0, $iaoFN$reactspectrumutils.unwrapDOMRef)(gridRef));
549
- let slots = (0, $iaoFN$react.useMemo)(()=>({
550
- hero: {
551
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-hero"]
552
- },
553
- heading: {
554
- UNSAFE_className: (0, $iaoFN$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports))), "spectrum-Dialog-heading", {
555
- "spectrum-Dialog-heading--noHeader": !hasHeader,
556
- "spectrum-Dialog-heading--noTypeIcon": !hasTypeIcon
557
- }),
558
- level: 2,
559
- ...titleProps
560
- },
561
- header: {
562
- UNSAFE_className: (0, $iaoFN$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports))), "spectrum-Dialog-header", {
563
- "spectrum-Dialog-header--noHeading": !hasHeading,
564
- "spectrum-Dialog-header--noTypeIcon": !hasTypeIcon
565
- })
566
- },
567
- typeIcon: {
568
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-typeIcon"]
569
- },
570
- divider: {
571
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-divider"],
572
- size: "M"
573
- },
574
- content: {
575
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-content"]
576
- },
577
- footer: {
578
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-footer"]
579
- },
580
- buttonGroup: {
581
- UNSAFE_className: (0, $iaoFN$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports))), "spectrum-Dialog-buttonGroup", {
582
- "spectrum-Dialog-buttonGroup--noFooter": !hasFooter
583
- }),
584
- align: "end"
585
- }
586
- }), [
587
- hasFooter,
588
- hasHeader,
589
- titleProps
590
- ]);
591
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement("section", {
592
- ...styleProps,
593
- ...dialogProps,
594
- className: (0, $iaoFN$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports))), "spectrum-Dialog", {
595
- [`spectrum-Dialog--${sizeVariant}`]: sizeVariant,
596
- "spectrum-Dialog--dismissable": isDismissable
597
- }, styleProps.className),
598
- ref: domRef
599
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumlayout.Grid), {
600
- ref: gridRef,
601
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-grid"]
602
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumutils.SlotProvider), {
603
- slots: slots
604
- }, children), isDismissable && /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumbutton.ActionButton), {
605
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports)))["spectrum-Dialog-closeButton"],
606
- isQuiet: true,
607
- "aria-label": stringFormatter.format("dismiss"),
608
- onPress: onDismiss
609
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, ($parcel$interopDefault($iaoFN$spectrumiconsuiCrossLarge))), null))));
610
- }
611
- /**
612
- * Dialogs are windows containing contextual information, tasks, or workflows that appear over the user interface.
613
- * Depending on the kind of Dialog, further interactions may be blocked until the Dialog is acknowledged.
614
- */ let $a57fc2323bf98a33$export$3ddf2d174ce01153 = /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).forwardRef($a57fc2323bf98a33$var$Dialog);
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
- /**
625
- * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.
626
- */ function $66f8653ff750aa27$var$AlertDialog(props, ref) {
627
- let { onClose: onClose = ()=>{} } = (0, $iaoFN$react.useContext)((0, $0eb909ad2388d989$export$8b93a07348a7730c)) || {};
628
- let { variant: variant, children: children, primaryActionLabel: primaryActionLabel, secondaryActionLabel: secondaryActionLabel, cancelLabel: cancelLabel, autoFocusButton: autoFocusButton, title: title, isPrimaryActionDisabled: isPrimaryActionDisabled, isSecondaryActionDisabled: isSecondaryActionDisabled, onCancel: onCancel = ()=>{}, onPrimaryAction: onPrimaryAction = ()=>{}, onSecondaryAction: onSecondaryAction = ()=>{}, ...otherProps } = props;
629
- let { styleProps: styleProps } = (0, $iaoFN$reactspectrumutils.useStyleProps)(otherProps);
630
- let stringFormatter = (0, $iaoFN$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7827d180f5c8b41b$exports))), "@react-spectrum/dialog");
631
- let confirmVariant = "primary";
632
- if (variant) {
633
- if (variant === "confirmation") confirmVariant = "cta";
634
- else if (variant === "destructive") confirmVariant = "negative";
635
- }
636
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $a57fc2323bf98a33$export$3ddf2d174ce01153), {
637
- UNSAFE_style: styleProps.style,
638
- UNSAFE_className: (0, $iaoFN$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a74c0984b1adb651$exports))), {
639
- [`spectrum-Dialog--${variant}`]: variant
640
- }, styleProps.className),
641
- isHidden: styleProps.hidden,
642
- size: "M",
643
- role: "alertdialog",
644
- ref: ref
645
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumtext.Heading), null, title), (variant === "error" || variant === "warning") && /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, ($parcel$interopDefault($iaoFN$spectrumiconsuiAlertMedium))), {
646
- slot: "typeIcon",
647
- "aria-label": stringFormatter.format("alert")
648
- }), /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumdivider.Divider), null), /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumview.Content), null, children), /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumbuttongroup.ButtonGroup), {
649
- align: "end"
650
- }, cancelLabel && /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumbutton.Button), {
651
- variant: "secondary",
652
- onPress: ()=>(0, $iaoFN$reactariautils.chain)(onClose(), onCancel()),
653
- autoFocus: autoFocusButton === "cancel"
654
- }, cancelLabel), secondaryActionLabel && /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumbutton.Button), {
655
- variant: "secondary",
656
- onPress: ()=>(0, $iaoFN$reactariautils.chain)(onClose(), onSecondaryAction()),
657
- isDisabled: isSecondaryActionDisabled,
658
- autoFocus: autoFocusButton === "secondary"
659
- }, secondaryActionLabel), /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumbutton.Button), {
660
- variant: confirmVariant,
661
- onPress: ()=>(0, $iaoFN$reactariautils.chain)(onClose(), onPrimaryAction()),
662
- isDisabled: isPrimaryActionDisabled,
663
- autoFocus: autoFocusButton === "primary"
664
- }, primaryActionLabel)));
665
- }
666
- /**
667
- * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.
668
- */ let $66f8653ff750aa27$export$de466dd8317b0b75 = /*#__PURE__*/ (0, $iaoFN$react.forwardRef)($66f8653ff750aa27$var$AlertDialog);
669
-
670
-
671
-
672
- /*
673
- * Copyright 2020 Adobe. All rights reserved.
674
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
675
- * you may not use this file except in compliance with the License. You may obtain a copy
676
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
677
- *
678
- * Unless required by applicable law or agreed to in writing, software distributed under
679
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
680
- * OF ANY KIND, either express or implied. See the License for the specific language
681
- * governing permissions and limitations under the License.
682
- */
683
-
684
-
685
-
686
-
687
-
688
-
689
- function $46e54a192dc519c9$var$DialogTrigger(props) {
690
- let { children: children, type: type = "modal", mobileType: mobileType = type === "popover" ? "modal" : type, hideArrow: hideArrow, targetRef: targetRef, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, ...positionProps } = props;
691
- if (!Array.isArray(children) || children.length > 2) throw new Error("DialogTrigger must have exactly 2 children");
692
- // if a function is passed as the second child, it won't appear in toArray
693
- let [trigger, content] = children;
694
- // On small devices, show a modal or tray instead of a popover.
695
- let isMobile = (0, $iaoFN$reactspectrumutils.useIsMobileDevice)();
696
- if (isMobile) {
697
- // handle cases where desktop popovers need a close button for the mobile modal view
698
- if (type !== "modal" && mobileType === "modal") isDismissable = true;
699
- type = mobileType;
700
- }
701
- let state = (0, $iaoFN$reactstatelyoverlays.useOverlayTriggerState)(props);
702
- let wasOpen = (0, $iaoFN$react.useRef)(false);
703
- (0, $iaoFN$react.useEffect)(()=>{
704
- wasOpen.current = state.isOpen;
705
- }, [
706
- state.isOpen
707
- ]);
708
- let isExiting = (0, $iaoFN$react.useRef)(false);
709
- let onExiting = ()=>isExiting.current = true;
710
- let onExited = ()=>isExiting.current = false;
711
- // eslint-disable-next-line arrow-body-style
712
- (0, $iaoFN$react.useEffect)(()=>{
713
- return ()=>{
714
- if ((wasOpen.current || isExiting.current) && type !== "popover" && type !== "tray") console.warn("A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.");
715
- };
716
- // eslint-disable-next-line react-hooks/exhaustive-deps
717
- }, []);
718
- if (type === "popover") return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement($46e54a192dc519c9$var$PopoverTrigger, {
719
- ...positionProps,
720
- state: state,
721
- targetRef: targetRef,
722
- trigger: trigger,
723
- content: content,
724
- isKeyboardDismissDisabled: isKeyboardDismissDisabled,
725
- hideArrow: hideArrow
726
- });
727
- let renderOverlay = ()=>{
728
- switch(type){
729
- case "fullscreen":
730
- case "fullscreenTakeover":
731
- case "modal":
732
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumoverlays.Modal), {
733
- state: state,
734
- isDismissable: type === "modal" ? isDismissable : false,
735
- type: type,
736
- isKeyboardDismissDisabled: isKeyboardDismissDisabled,
737
- onExiting: onExiting,
738
- onExited: onExited
739
- }, typeof content === "function" ? content(state.close) : content);
740
- case "tray":
741
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumoverlays.Tray), {
742
- state: state,
743
- isKeyboardDismissDisabled: isKeyboardDismissDisabled
744
- }, typeof content === "function" ? content(state.close) : content);
745
- }
746
- };
747
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement($46e54a192dc519c9$var$DialogTriggerBase, {
748
- type: type,
749
- state: state,
750
- isDismissable: isDismissable,
751
- trigger: trigger,
752
- overlay: renderOverlay()
753
- });
754
- }
755
- // Support DialogTrigger inside components using CollectionBuilder.
756
- $46e54a192dc519c9$var$DialogTrigger.getCollectionNode = function*(props) {
757
- // @ts-ignore - seems like types are wrong. Function children work fine.
758
- let [trigger] = (0, ($parcel$interopDefault($iaoFN$react))).Children.toArray(props.children);
759
- let [, content] = props.children;
760
- yield {
761
- element: trigger,
762
- wrapper: (element)=>/*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement($46e54a192dc519c9$var$DialogTrigger, {
763
- key: element.key,
764
- ...props
765
- }, element, content)
766
- };
767
- };
768
- /**
769
- * DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's
770
- * open state with the trigger's press state. Additionally, it allows you to customize the type and
771
- * positioning of the Dialog.
772
- */ // We don't want getCollectionNode to show up in the type definition
773
- let $46e54a192dc519c9$export$2e1e1122cf0cba88 = $46e54a192dc519c9$var$DialogTrigger;
774
- function $46e54a192dc519c9$var$PopoverTrigger({ state: state, targetRef: targetRef, trigger: trigger, content: content, hideArrow: hideArrow, ...props }) {
775
- let triggerRef = (0, $iaoFN$react.useRef)(null);
776
- let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $iaoFN$reactariaoverlays.useOverlayTrigger)({
777
- type: "dialog"
778
- }, state, triggerRef);
779
- let triggerPropsWithRef = {
780
- ...triggerProps,
781
- ref: targetRef ? undefined : triggerRef
782
- };
783
- let overlay = /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumoverlays.Popover), {
784
- ...props,
785
- hideArrow: hideArrow,
786
- triggerRef: targetRef || triggerRef,
787
- state: state
788
- }, typeof content === "function" ? content(state.close) : content);
789
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement($46e54a192dc519c9$var$DialogTriggerBase, {
790
- type: "popover",
791
- state: state,
792
- triggerProps: triggerPropsWithRef,
793
- dialogProps: overlayProps,
794
- trigger: trigger,
795
- overlay: overlay
796
- });
797
- }
798
- function $46e54a192dc519c9$var$DialogTriggerBase({ type: type, state: state, isDismissable: isDismissable, dialogProps: dialogProps = {}, triggerProps: triggerProps = {}, overlay: overlay, trigger: trigger }) {
799
- let context = {
800
- type: type,
801
- onClose: state.close,
802
- isDismissable: isDismissable,
803
- ...dialogProps
804
- };
805
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$react.Fragment), null, /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactariainteractions.PressResponder), {
806
- ...triggerProps,
807
- onPress: state.toggle,
808
- isPressed: state.isOpen && type !== "modal" && type !== "fullscreen" && type !== "fullscreenTakeover"
809
- }, trigger), /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $0eb909ad2388d989$export$8b93a07348a7730c).Provider, {
810
- value: context
811
- }, overlay));
812
- }
813
-
814
-
815
- /*
816
- * Copyright 2020 Adobe. All rights reserved.
817
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
818
- * you may not use this file except in compliance with the License. You may obtain a copy
819
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
820
- *
821
- * Unless required by applicable law or agreed to in writing, software distributed under
822
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
823
- * OF ANY KIND, either express or implied. See the License for the specific language
824
- * governing permissions and limitations under the License.
825
- */
826
-
827
-
828
-
829
- function $1b7050825e0eb5b6$export$547754aada6e339f(props) {
830
- let { children: children, type: type = "modal", onDismiss: onDismiss, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled } = props;
831
- let childArray = (0, ($parcel$interopDefault($iaoFN$react))).Children.toArray(children);
832
- if (childArray.length > 1) throw new Error("Only a single child can be passed to DialogContainer.");
833
- let [lastChild, setLastChild] = (0, $iaoFN$react.useState)(null);
834
- // React.Children.toArray mutates the children, and we need them to be stable
835
- // between renders so that the lastChild comparison works.
836
- let child = undefined;
837
- if (Array.isArray(children)) child = children.find((0, ($parcel$interopDefault($iaoFN$react))).isValidElement);
838
- else if (/*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).isValidElement(children)) child = children;
839
- if (child && child !== lastChild) setLastChild(child);
840
- let context = {
841
- type: type,
842
- onClose: onDismiss,
843
- isDismissable: isDismissable
844
- };
845
- let state = (0, $iaoFN$reactstatelyoverlays.useOverlayTriggerState)({
846
- isOpen: !!child,
847
- onOpenChange: (isOpen)=>{
848
- if (!isOpen) onDismiss();
849
- }
850
- });
851
- return /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $iaoFN$reactspectrumoverlays.Modal), {
852
- state: state,
853
- type: type,
854
- isDismissable: isDismissable,
855
- isKeyboardDismissDisabled: isKeyboardDismissDisabled
856
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($iaoFN$react))).createElement((0, $0eb909ad2388d989$export$8b93a07348a7730c).Provider, {
857
- value: context
858
- }, lastChild));
859
- }
860
-
861
-
862
- /*
863
- * Copyright 2020 Adobe. All rights reserved.
864
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
865
- * you may not use this file except in compliance with the License. You may obtain a copy
866
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
867
- *
868
- * Unless required by applicable law or agreed to in writing, software distributed under
869
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
870
- * OF ANY KIND, either express or implied. See the License for the specific language
871
- * governing permissions and limitations under the License.
872
- */
873
-
874
- function $1f05ce3abe26c4cc$export$a2f2d8fa6720dab1() {
875
- let context = (0, $iaoFN$react.useContext)((0, $0eb909ad2388d989$export$8b93a07348a7730c));
876
- if (!context) throw new Error("Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.");
877
- return {
878
- type: context.type,
879
- dismiss () {
880
- context === null || context === void 0 ? void 0 : context.onClose();
881
- }
882
- };
883
- }
884
-
885
32
 
886
33
 
887
34