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