@react-spectrum/dropzone 3.0.0-nightly.4324 → 3.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ar-AE.main.js +6 -0
- package/dist/ar-AE.main.js.map +1 -0
- package/dist/ar-AE.mjs +8 -0
- package/dist/ar-AE.module.js +8 -0
- package/dist/ar-AE.module.js.map +1 -0
- package/dist/bg-BG.main.js +6 -0
- package/dist/bg-BG.main.js.map +1 -0
- package/dist/bg-BG.mjs +8 -0
- package/dist/bg-BG.module.js +8 -0
- package/dist/bg-BG.module.js.map +1 -0
- package/dist/cs-CZ.main.js +6 -0
- package/dist/cs-CZ.main.js.map +1 -0
- package/dist/cs-CZ.mjs +8 -0
- package/dist/cs-CZ.module.js +8 -0
- package/dist/cs-CZ.module.js.map +1 -0
- package/dist/da-DK.main.js +6 -0
- package/dist/da-DK.main.js.map +1 -0
- package/dist/da-DK.mjs +8 -0
- package/dist/da-DK.module.js +8 -0
- package/dist/da-DK.module.js.map +1 -0
- package/dist/de-DE.main.js +6 -0
- package/dist/de-DE.main.js.map +1 -0
- package/dist/de-DE.mjs +8 -0
- package/dist/de-DE.module.js +8 -0
- package/dist/de-DE.module.js.map +1 -0
- package/dist/el-GR.main.js +6 -0
- package/dist/el-GR.main.js.map +1 -0
- package/dist/el-GR.mjs +8 -0
- package/dist/el-GR.module.js +8 -0
- package/dist/el-GR.module.js.map +1 -0
- package/dist/en-US.main.js +6 -0
- package/dist/en-US.main.js.map +1 -0
- package/dist/en-US.mjs +8 -0
- package/dist/en-US.module.js +8 -0
- package/dist/en-US.module.js.map +1 -0
- package/dist/es-ES.main.js +6 -0
- package/dist/es-ES.main.js.map +1 -0
- package/dist/es-ES.mjs +8 -0
- package/dist/es-ES.module.js +8 -0
- package/dist/es-ES.module.js.map +1 -0
- package/dist/et-EE.main.js +6 -0
- package/dist/et-EE.main.js.map +1 -0
- package/dist/et-EE.mjs +8 -0
- package/dist/et-EE.module.js +8 -0
- package/dist/et-EE.module.js.map +1 -0
- package/dist/fi-FI.main.js +6 -0
- package/dist/fi-FI.main.js.map +1 -0
- package/dist/fi-FI.mjs +8 -0
- package/dist/fi-FI.module.js +8 -0
- package/dist/fi-FI.module.js.map +1 -0
- package/dist/fr-FR.main.js +6 -0
- package/dist/fr-FR.main.js.map +1 -0
- package/dist/fr-FR.mjs +8 -0
- package/dist/fr-FR.module.js +8 -0
- package/dist/fr-FR.module.js.map +1 -0
- package/dist/he-IL.main.js +6 -0
- package/dist/he-IL.main.js.map +1 -0
- package/dist/he-IL.mjs +8 -0
- package/dist/he-IL.module.js +8 -0
- package/dist/he-IL.module.js.map +1 -0
- package/dist/hr-HR.main.js +6 -0
- package/dist/hr-HR.main.js.map +1 -0
- package/dist/hr-HR.mjs +8 -0
- package/dist/hr-HR.module.js +8 -0
- package/dist/hr-HR.module.js.map +1 -0
- package/dist/hu-HU.main.js +6 -0
- package/dist/hu-HU.main.js.map +1 -0
- package/dist/hu-HU.mjs +8 -0
- package/dist/hu-HU.module.js +8 -0
- package/dist/hu-HU.module.js.map +1 -0
- package/dist/import.mjs +35 -171
- package/dist/it-IT.main.js +6 -0
- package/dist/it-IT.main.js.map +1 -0
- package/dist/it-IT.mjs +8 -0
- package/dist/it-IT.module.js +8 -0
- package/dist/it-IT.module.js.map +1 -0
- package/dist/ja-JP.main.js +6 -0
- package/dist/ja-JP.main.js.map +1 -0
- package/dist/ja-JP.mjs +8 -0
- package/dist/ja-JP.module.js +8 -0
- package/dist/ja-JP.module.js.map +1 -0
- package/dist/ko-KR.main.js +6 -0
- package/dist/ko-KR.main.js.map +1 -0
- package/dist/ko-KR.mjs +8 -0
- package/dist/ko-KR.module.js +8 -0
- package/dist/ko-KR.module.js.map +1 -0
- package/dist/lt-LT.main.js +6 -0
- package/dist/lt-LT.main.js.map +1 -0
- package/dist/lt-LT.mjs +8 -0
- package/dist/lt-LT.module.js +8 -0
- package/dist/lt-LT.module.js.map +1 -0
- package/dist/lv-LV.main.js +6 -0
- package/dist/lv-LV.main.js.map +1 -0
- package/dist/lv-LV.mjs +8 -0
- package/dist/lv-LV.module.js +8 -0
- package/dist/lv-LV.module.js.map +1 -0
- package/dist/main.js +35 -171
- package/dist/main.js.map +1 -1
- package/dist/module.js +35 -171
- package/dist/module.js.map +1 -1
- package/dist/nb-NO.main.js +6 -0
- package/dist/nb-NO.main.js.map +1 -0
- package/dist/nb-NO.mjs +8 -0
- package/dist/nb-NO.module.js +8 -0
- package/dist/nb-NO.module.js.map +1 -0
- package/dist/nl-NL.main.js +6 -0
- package/dist/nl-NL.main.js.map +1 -0
- package/dist/nl-NL.mjs +8 -0
- package/dist/nl-NL.module.js +8 -0
- package/dist/nl-NL.module.js.map +1 -0
- package/dist/pl-PL.main.js +6 -0
- package/dist/pl-PL.main.js.map +1 -0
- package/dist/pl-PL.mjs +8 -0
- package/dist/pl-PL.module.js +8 -0
- package/dist/pl-PL.module.js.map +1 -0
- package/dist/pt-BR.main.js +6 -0
- package/dist/pt-BR.main.js.map +1 -0
- package/dist/pt-BR.mjs +8 -0
- package/dist/pt-BR.module.js +8 -0
- package/dist/pt-BR.module.js.map +1 -0
- package/dist/pt-PT.main.js +6 -0
- package/dist/pt-PT.main.js.map +1 -0
- package/dist/pt-PT.mjs +8 -0
- package/dist/pt-PT.module.js +8 -0
- package/dist/pt-PT.module.js.map +1 -0
- package/dist/ro-RO.main.js +6 -0
- package/dist/ro-RO.main.js.map +1 -0
- package/dist/ro-RO.mjs +8 -0
- package/dist/ro-RO.module.js +8 -0
- package/dist/ro-RO.module.js.map +1 -0
- package/dist/ru-RU.main.js +6 -0
- package/dist/ru-RU.main.js.map +1 -0
- package/dist/ru-RU.mjs +8 -0
- package/dist/ru-RU.module.js +8 -0
- package/dist/ru-RU.module.js.map +1 -0
- package/dist/sk-SK.main.js +6 -0
- package/dist/sk-SK.main.js.map +1 -0
- package/dist/sk-SK.mjs +8 -0
- package/dist/sk-SK.module.js +8 -0
- package/dist/sk-SK.module.js.map +1 -0
- package/dist/sl-SI.main.js +6 -0
- package/dist/sl-SI.main.js.map +1 -0
- package/dist/sl-SI.mjs +8 -0
- package/dist/sl-SI.module.js +8 -0
- package/dist/sl-SI.module.js.map +1 -0
- package/dist/sr-SP.main.js +6 -0
- package/dist/sr-SP.main.js.map +1 -0
- package/dist/sr-SP.mjs +8 -0
- package/dist/sr-SP.module.js +8 -0
- package/dist/sr-SP.module.js.map +1 -0
- package/dist/sv-SE.main.js +6 -0
- package/dist/sv-SE.main.js.map +1 -0
- package/dist/sv-SE.mjs +8 -0
- package/dist/sv-SE.module.js +8 -0
- package/dist/sv-SE.module.js.map +1 -0
- package/dist/tr-TR.main.js +6 -0
- package/dist/tr-TR.main.js.map +1 -0
- package/dist/tr-TR.mjs +8 -0
- package/dist/tr-TR.module.js +8 -0
- package/dist/tr-TR.module.js.map +1 -0
- package/dist/uk-UA.main.js +6 -0
- package/dist/uk-UA.main.js.map +1 -0
- package/dist/uk-UA.mjs +8 -0
- package/dist/uk-UA.module.js +8 -0
- package/dist/uk-UA.module.js.map +1 -0
- package/dist/zh-CN.main.js +6 -0
- package/dist/zh-CN.main.js.map +1 -0
- package/dist/zh-CN.mjs +8 -0
- package/dist/zh-CN.module.js +8 -0
- package/dist/zh-CN.module.js.map +1 -0
- package/dist/zh-TW.main.js +6 -0
- package/dist/zh-TW.main.js.map +1 -0
- package/dist/zh-TW.mjs +8 -0
- package/dist/zh-TW.module.js +8 -0
- package/dist/zh-TW.module.js.map +1 -0
- package/package.json +9 -9
- package/src/DropZone.tsx +1 -1
package/dist/main.js
CHANGED
@@ -1,5 +1,39 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
|
+
var $a6975295bf5c4d55$exports = require("./ar-AE.main.js");
|
4
|
+
var $ab5dc96d5c64d58d$exports = require("./bg-BG.main.js");
|
5
|
+
var $ec9c957cc1eb6ac9$exports = require("./cs-CZ.main.js");
|
6
|
+
var $c20098e490cf11c0$exports = require("./da-DK.main.js");
|
7
|
+
var $d17f27c65aaaf6a8$exports = require("./de-DE.main.js");
|
8
|
+
var $348bb5362089d093$exports = require("./el-GR.main.js");
|
9
|
+
var $28f774213637c9f3$exports = require("./en-US.main.js");
|
10
|
+
var $2dd0cb4c8fc57cfe$exports = require("./es-ES.main.js");
|
11
|
+
var $c1426789ba28ff98$exports = require("./et-EE.main.js");
|
12
|
+
var $e5c8914ba605a596$exports = require("./fi-FI.main.js");
|
13
|
+
var $d15362445d044738$exports = require("./fr-FR.main.js");
|
14
|
+
var $32537b5d24d2d4fc$exports = require("./he-IL.main.js");
|
15
|
+
var $c18f98b9142e7b26$exports = require("./hr-HR.main.js");
|
16
|
+
var $570766610b3b9179$exports = require("./hu-HU.main.js");
|
17
|
+
var $af6eb076bbc3df31$exports = require("./it-IT.main.js");
|
18
|
+
var $797208a224779dc6$exports = require("./ja-JP.main.js");
|
19
|
+
var $efe0febd9c5ff51d$exports = require("./ko-KR.main.js");
|
20
|
+
var $3119bdb414264e20$exports = require("./lt-LT.main.js");
|
21
|
+
var $8d43cc6c8aff95db$exports = require("./lv-LV.main.js");
|
22
|
+
var $a5084d93d23b0854$exports = require("./nb-NO.main.js");
|
23
|
+
var $5978d18c34077bbe$exports = require("./nl-NL.main.js");
|
24
|
+
var $f17bee60ccd0e5e3$exports = require("./pl-PL.main.js");
|
25
|
+
var $4f5eb463d9a9c950$exports = require("./pt-BR.main.js");
|
26
|
+
var $a9483dcdf6481e43$exports = require("./pt-PT.main.js");
|
27
|
+
var $5741c50d5ed46532$exports = require("./ro-RO.main.js");
|
28
|
+
var $8fd22e7013122e76$exports = require("./ru-RU.main.js");
|
29
|
+
var $87e27b1f4c06cc77$exports = require("./sk-SK.main.js");
|
30
|
+
var $ac2d9d11787db074$exports = require("./sl-SI.main.js");
|
31
|
+
var $4cae4b890c7d2e64$exports = require("./sr-SP.main.js");
|
32
|
+
var $ef9b4743bba0e45f$exports = require("./sv-SE.main.js");
|
33
|
+
var $8c5762c3146afda1$exports = require("./tr-TR.main.js");
|
34
|
+
var $1a99cc22a4a9a948$exports = require("./uk-UA.main.js");
|
35
|
+
var $eae14e35d0f53ea0$exports = require("./zh-CN.main.js");
|
36
|
+
var $88e03544efa0a675$exports = require("./zh-TW.main.js");
|
3
37
|
require("./main.css");
|
4
38
|
var $fRqBm$reactspectrumutils = require("@react-spectrum/utils");
|
5
39
|
var $fRqBm$reactariacomponents = require("react-aria-components");
|
@@ -41,208 +75,38 @@ $parcel$export(module.exports, "DropZone", () => $f7b7e7956f17a6e7$export$3c6489
|
|
41
75
|
*/
|
42
76
|
|
43
77
|
var $338e657e2a59c652$exports = {};
|
44
|
-
var $a6975295bf5c4d55$exports = {};
|
45
|
-
$a6975295bf5c4d55$exports = {
|
46
|
-
"replaceMessage": `\u{644}\u{644}\u{627}\u{633}\u{62A}\u{628}\u{62F}\u{627}\u{644}\u{60C} \u{642}\u{645} \u{628}\u{625}\u{641}\u{644}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{644}\u{641}`
|
47
|
-
};
|
48
|
-
|
49
|
-
|
50
|
-
var $ab5dc96d5c64d58d$exports = {};
|
51
|
-
$ab5dc96d5c64d58d$exports = {
|
52
|
-
"replaceMessage": `\u{41F}\u{443}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{437}\u{430} \u{437}\u{430}\u{43C}\u{44F}\u{43D}\u{430}`
|
53
|
-
};
|
54
|
-
|
55
|
-
|
56
|
-
var $ec9c957cc1eb6ac9$exports = {};
|
57
|
-
$ec9c957cc1eb6ac9$exports = {
|
58
|
-
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
59
|
-
};
|
60
|
-
|
61
|
-
|
62
|
-
var $c20098e490cf11c0$exports = {};
|
63
|
-
$c20098e490cf11c0$exports = {
|
64
|
-
"replaceMessage": `Drop fil for at erstatte`
|
65
|
-
};
|
66
|
-
|
67
|
-
|
68
|
-
var $d17f27c65aaaf6a8$exports = {};
|
69
|
-
$d17f27c65aaaf6a8$exports = {
|
70
|
-
"replaceMessage": `Datei zum Ersetzen ablegen`
|
71
|
-
};
|
72
|
-
|
73
|
-
|
74
|
-
var $348bb5362089d093$exports = {};
|
75
|
-
$348bb5362089d093$exports = {
|
76
|
-
"replaceMessage": `\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3B1}\u{3C1}\u{3C7}\u{3B5}\u{3AF}\u{3BF}\u{3C5} \u{3B3}\u{3B9}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B1}\u{3C4}\u{3AC}\u{3C3}\u{3C4}\u{3B1}\u{3C3}\u{3B7}`
|
77
|
-
};
|
78
|
-
|
79
|
-
|
80
|
-
var $28f774213637c9f3$exports = {};
|
81
|
-
$28f774213637c9f3$exports = {
|
82
|
-
"replaceMessage": `Drop file to replace`
|
83
|
-
};
|
84
|
-
|
85
|
-
|
86
|
-
var $2dd0cb4c8fc57cfe$exports = {};
|
87
|
-
$2dd0cb4c8fc57cfe$exports = {
|
88
|
-
"replaceMessage": `Suelte el archivo para reemplazar`
|
89
|
-
};
|
90
|
-
|
91
|
-
|
92
|
-
var $c1426789ba28ff98$exports = {};
|
93
|
-
$c1426789ba28ff98$exports = {
|
94
|
-
"replaceMessage": `Kukuta fail asendamiseks`
|
95
|
-
};
|
96
|
-
|
97
|
-
|
98
|
-
var $e5c8914ba605a596$exports = {};
|
99
|
-
$e5c8914ba605a596$exports = {
|
100
|
-
"replaceMessage": `Pudota korvaava tiedosto`
|
101
|
-
};
|
102
|
-
|
103
|
-
|
104
|
-
var $d15362445d044738$exports = {};
|
105
|
-
$d15362445d044738$exports = {
|
106
|
-
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
107
|
-
};
|
108
|
-
|
109
|
-
|
110
|
-
var $32537b5d24d2d4fc$exports = {};
|
111
|
-
$32537b5d24d2d4fc$exports = {
|
112
|
-
"replaceMessage": `\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5D0}\u{5EA} \u{5D4}\u{5E7}\u{5D5}\u{5D1}\u{5E5} \u{5DC}\u{5D4}\u{5D7}\u{5DC}\u{5E4}\u{5D4}`
|
113
|
-
};
|
114
78
|
|
115
79
|
|
116
|
-
var $c18f98b9142e7b26$exports = {};
|
117
|
-
$c18f98b9142e7b26$exports = {
|
118
|
-
"replaceMessage": `Ispustite datoteku za zamjenu`
|
119
|
-
};
|
120
|
-
|
121
|
-
|
122
|
-
var $570766610b3b9179$exports = {};
|
123
|
-
$570766610b3b9179$exports = {
|
124
|
-
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
125
|
-
};
|
126
|
-
|
127
|
-
|
128
|
-
var $af6eb076bbc3df31$exports = {};
|
129
|
-
$af6eb076bbc3df31$exports = {
|
130
|
-
"replaceMessage": `Rilascia il file da sostituire`
|
131
|
-
};
|
132
|
-
|
133
|
-
|
134
|
-
var $797208a224779dc6$exports = {};
|
135
|
-
$797208a224779dc6$exports = {
|
136
|
-
"replaceMessage": `\u{30D5}\u{30A1}\u{30A4}\u{30EB}\u{3092}\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{3057}\u{3066}\u{7F6E}\u{63DB}`
|
137
|
-
};
|
138
|
-
|
139
|
-
|
140
|
-
var $efe0febd9c5ff51d$exports = {};
|
141
|
-
$efe0febd9c5ff51d$exports = {
|
142
|
-
"replaceMessage": `\u{D30C}\u{C77C}\u{C744} \u{B4DC}\u{B86D}\u{D558}\u{C5EC} \u{BC14}\u{AFB8}\u{AE30}`
|
143
|
-
};
|
144
|
-
|
145
|
-
|
146
|
-
var $3119bdb414264e20$exports = {};
|
147
|
-
$3119bdb414264e20$exports = {
|
148
|
-
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
149
|
-
};
|
150
|
-
|
151
80
|
|
152
|
-
var $8d43cc6c8aff95db$exports = {};
|
153
|
-
$8d43cc6c8aff95db$exports = {
|
154
|
-
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
155
|
-
};
|
156
81
|
|
157
82
|
|
158
|
-
var $a5084d93d23b0854$exports = {};
|
159
|
-
$a5084d93d23b0854$exports = {
|
160
|
-
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
161
|
-
};
|
162
83
|
|
163
84
|
|
164
|
-
var $5978d18c34077bbe$exports = {};
|
165
|
-
$5978d18c34077bbe$exports = {
|
166
|
-
"replaceMessage": `Bestand neerzetten om te vervangen`
|
167
|
-
};
|
168
85
|
|
169
86
|
|
170
|
-
var $f17bee60ccd0e5e3$exports = {};
|
171
|
-
$f17bee60ccd0e5e3$exports = {
|
172
|
-
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
173
|
-
};
|
174
87
|
|
175
88
|
|
176
|
-
var $4f5eb463d9a9c950$exports = {};
|
177
|
-
$4f5eb463d9a9c950$exports = {
|
178
|
-
"replaceMessage": `Solte o arquivo para substituir`
|
179
|
-
};
|
180
89
|
|
181
90
|
|
182
|
-
var $a9483dcdf6481e43$exports = {};
|
183
|
-
$a9483dcdf6481e43$exports = {
|
184
|
-
"replaceMessage": `Largar ficheiro para substituir`
|
185
|
-
};
|
186
91
|
|
187
92
|
|
188
|
-
var $5741c50d5ed46532$exports = {};
|
189
|
-
$5741c50d5ed46532$exports = {
|
190
|
-
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
191
|
-
};
|
192
93
|
|
193
94
|
|
194
|
-
var $8fd22e7013122e76$exports = {};
|
195
|
-
$8fd22e7013122e76$exports = {
|
196
|
-
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{435}\u{43D}\u{44B}`
|
197
|
-
};
|
198
95
|
|
199
96
|
|
200
|
-
var $87e27b1f4c06cc77$exports = {};
|
201
|
-
$87e27b1f4c06cc77$exports = {
|
202
|
-
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
203
|
-
};
|
204
97
|
|
205
98
|
|
206
|
-
var $ac2d9d11787db074$exports = {};
|
207
|
-
$ac2d9d11787db074$exports = {
|
208
|
-
"replaceMessage": `Spustite datoteko za zamenjavo`
|
209
|
-
};
|
210
|
-
|
211
99
|
|
212
|
-
var $4cae4b890c7d2e64$exports = {};
|
213
|
-
$4cae4b890c7d2e64$exports = {
|
214
|
-
"replaceMessage": `Otpustite datoteku radi zamene`
|
215
|
-
};
|
216
100
|
|
217
101
|
|
218
|
-
var $ef9b4743bba0e45f$exports = {};
|
219
|
-
$ef9b4743bba0e45f$exports = {
|
220
|
-
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
221
|
-
};
|
222
102
|
|
223
103
|
|
224
|
-
var $8c5762c3146afda1$exports = {};
|
225
|
-
$8c5762c3146afda1$exports = {
|
226
|
-
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
227
|
-
};
|
228
104
|
|
229
105
|
|
230
|
-
var $1a99cc22a4a9a948$exports = {};
|
231
|
-
$1a99cc22a4a9a948$exports = {
|
232
|
-
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{456}\u{43D}\u{438}`
|
233
|
-
};
|
234
106
|
|
235
107
|
|
236
|
-
var $eae14e35d0f53ea0$exports = {};
|
237
|
-
$eae14e35d0f53ea0$exports = {
|
238
|
-
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
239
|
-
};
|
240
108
|
|
241
109
|
|
242
|
-
var $88e03544efa0a675$exports = {};
|
243
|
-
$88e03544efa0a675$exports = {
|
244
|
-
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
245
|
-
};
|
246
110
|
|
247
111
|
|
248
112
|
$338e657e2a59c652$exports = {
|
@@ -331,7 +195,7 @@ function $f7b7e7956f17a6e7$var$DropZone(props, ref) {
|
|
331
195
|
let { styleProps: styleProps } = (0, $fRqBm$reactspectrumutils.useStyleProps)(props);
|
332
196
|
let domRef = (0, $fRqBm$reactspectrumutils.useDOMRef)(ref);
|
333
197
|
let messageId = (0, $fRqBm$reactariautils.useId)();
|
334
|
-
let stringFormatter = (0, $fRqBm$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($338e657e2a59c652$exports))));
|
198
|
+
let stringFormatter = (0, $fRqBm$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($338e657e2a59c652$exports))), "@react-spectrum/dropzone");
|
335
199
|
return /*#__PURE__*/ (0, ($parcel$interopDefault($fRqBm$react))).createElement((0, $fRqBm$reactariacomponents.DropZone), {
|
336
200
|
...(0, $fRqBm$reactariautils.mergeProps)($f7b7e7956f17a6e7$var$filterProps(otherProps)),
|
337
201
|
...styleProps,
|
package/dist/main.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;AEVD,4BAAiB;IAAG,kBAAkB,CAAC,oKAA0B,CAAC;AAClE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wIAAsB,CAAC;AAC9D;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,+CAA6B,CAAC;AACrE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wBAAwB,CAAC;AAChE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,0BAA0B,CAAC;AAClE;;;;ACDA,4BAAiB;I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I,yDAAY,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@react-spectrum/dropzone/intl/ar-AE.json","packages/@react-spectrum/dropzone/intl/bg-BG.json","packages/@react-spectrum/dropzone/intl/cs-CZ.json","packages/@react-spectrum/dropzone/intl/da-DK.json","packages/@react-spectrum/dropzone/intl/de-DE.json","packages/@react-spectrum/dropzone/intl/el-GR.json","packages/@react-spectrum/dropzone/intl/en-US.json","packages/@react-spectrum/dropzone/intl/es-ES.json","packages/@react-spectrum/dropzone/intl/et-EE.json","packages/@react-spectrum/dropzone/intl/fi-FI.json","packages/@react-spectrum/dropzone/intl/fr-FR.json","packages/@react-spectrum/dropzone/intl/he-IL.json","packages/@react-spectrum/dropzone/intl/hr-HR.json","packages/@react-spectrum/dropzone/intl/hu-HU.json","packages/@react-spectrum/dropzone/intl/it-IT.json","packages/@react-spectrum/dropzone/intl/ja-JP.json","packages/@react-spectrum/dropzone/intl/ko-KR.json","packages/@react-spectrum/dropzone/intl/lt-LT.json","packages/@react-spectrum/dropzone/intl/lv-LV.json","packages/@react-spectrum/dropzone/intl/nb-NO.json","packages/@react-spectrum/dropzone/intl/nl-NL.json","packages/@react-spectrum/dropzone/intl/pl-PL.json","packages/@react-spectrum/dropzone/intl/pt-BR.json","packages/@react-spectrum/dropzone/intl/pt-PT.json","packages/@react-spectrum/dropzone/intl/ro-RO.json","packages/@react-spectrum/dropzone/intl/ru-RU.json","packages/@react-spectrum/dropzone/intl/sk-SK.json","packages/@react-spectrum/dropzone/intl/sl-SI.json","packages/@react-spectrum/dropzone/intl/sr-SP.json","packages/@react-spectrum/dropzone/intl/sv-SE.json","packages/@react-spectrum/dropzone/intl/tr-TR.json","packages/@react-spectrum/dropzone/intl/uk-UA.json","packages/@react-spectrum/dropzone/intl/zh-CN.json","packages/@react-spectrum/dropzone/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends Omit<DropZoneProps, 'onHoverStart' | 'onHoverChange' | 'onHoverEnd'>, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\n// Filter out props used by RAC DropZone that we don't want in RSP DropZone for now.\nlet filterProps = (props) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let {onHoverStart, onHoverChange, onHoverEnd, ...otherProps} = props;\n return otherProps;\n};\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return (\n <RACDropZone\n {...mergeProps(filterProps(otherProps))}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"replaceMessage\": \"للاستبدال، قم بإفلات الملف\"\n}\n","{\n \"replaceMessage\": \"Пуснете файл за замяна\"\n}\n","{\n \"replaceMessage\": \"Přetáhněte soubor k nahrazení\"\n}\n","{\n \"replaceMessage\": \"Drop fil for at erstatte\"\n}\n","{\n \"replaceMessage\": \"Datei zum Ersetzen ablegen\"\n}\n","{\n \"replaceMessage\": \"Απόθεση αρχείου για αντικατάσταση\"\n}\n","{\n \"replaceMessage\": \"Drop file to replace\"\n}\n","{\n \"replaceMessage\": \"Suelte el archivo para reemplazar\"\n}\n","{\n \"replaceMessage\": \"Kukuta fail asendamiseks\"\n}\n","{\n \"replaceMessage\": \"Pudota korvaava tiedosto\"\n}\n","{\n \"replaceMessage\": \"Déposer le fichier à remplacer\"\n}\n","{\n \"replaceMessage\": \"שחרר את הקובץ להחלפה\"\n}\n","{\n \"replaceMessage\": \"Ispustite datoteku za zamjenu\"\n}\n","{\n \"replaceMessage\": \"Ejtse le a fájlt a cseréhez\"\n}\n","{\n \"replaceMessage\": \"Rilascia il file da sostituire\"\n}\n","{\n \"replaceMessage\": \"ファイルをドロップして置換\"\n}\n","{\n \"replaceMessage\": \"파일을 드롭하여 바꾸기\"\n}\n","{\n \"replaceMessage\": \"Pašalinkite failą, kad pakeistumėte\"\n}\n","{\n \"replaceMessage\": \"Lai aizstātu, nometiet failu\"\n}\n","{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n","{\n \"replaceMessage\": \"Bestand neerzetten om te vervangen\"\n}\n","{\n \"replaceMessage\": \"Upuść plik, aby zastąpić\"\n}\n","{\n \"replaceMessage\": \"Solte o arquivo para substituir\"\n}\n","{\n \"replaceMessage\": \"Largar ficheiro para substituir\"\n}\n","{\n \"replaceMessage\": \"Plasați fișierul pentru a înlocui\"\n}\n","{\n \"replaceMessage\": \"Перетащите файл для замены\"\n}\n","{\n \"replaceMessage\": \"Presuňte súbor, ktorý chcete nahradiť\"\n}\n","{\n \"replaceMessage\": \"Spustite datoteko za zamenjavo\"\n}\n","{\n \"replaceMessage\": \"Otpustite datoteku radi zamene\"\n}\n","{\n \"replaceMessage\": \"Släpp filen för att ersätta\"\n}\n","{\n \"replaceMessage\": \"Değiştirmek için dosyayı bırakın\"\n}\n","{\n \"replaceMessage\": \"Перетягніть файл для заміни\"\n}\n","{\n \"replaceMessage\": \"删除要替换的文件\"\n}\n","{\n \"replaceMessage\": \"放置要取代的檔案\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwBD,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,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Y;QACtC,GAAG,UAAU;QACd,mBAAiB,YAAY;QAC7B,WACA,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,gEAAK,GACL,qBACA,WAAW,SAAS,EACpB;YAAC,6BAA6B;QAAQ;QAExC,KAAK;qBACL,0DAAC,CAAA,GAAA,sCAAW;QACV,OAAO;YACL,cAAc;gBAAC,kBAAkB,CAAA,GAAA,oCAAS,EACxC,CAAA,GAAA,gEAAK,GACL;YACC;QACL;OACC,yBAEH,0DAAC;QAAI,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;sBACnC,0DAAC;QACC,IAAI;QACJ,WACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,gEAAK,GACL,4BACA,WAAW,SAAS;OAGvB,iBAAiB,iBAAiB,gBAAgB,MAAM,CAAC;AAIlE;AAEA;;CAEC,GACD,IAAI,yDAAY,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends Omit<DropZoneProps, 'onHoverStart' | 'onHoverChange' | 'onHoverEnd'>, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\n// Filter out props used by RAC DropZone that we don't want in RSP DropZone for now.\nlet filterProps = (props) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let {onHoverStart, onHoverChange, onHoverEnd, ...otherProps} = props;\n return otherProps;\n};\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/dropzone');\n\n return (\n <RACDropZone\n {...mergeProps(filterProps(otherProps))}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
@@ -1,5 +1,39 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
|
+
import $3cffa6a83421c23c$exports from "./ar-AE.module.js";
|
4
|
+
import $65cafe835931ede6$exports from "./bg-BG.module.js";
|
5
|
+
import $2adcb67bf4ec91c9$exports from "./cs-CZ.module.js";
|
6
|
+
import $6ba504c8d6544e47$exports from "./da-DK.module.js";
|
7
|
+
import $3ce29be01ff65705$exports from "./de-DE.module.js";
|
8
|
+
import $ae42035e6b9dd97a$exports from "./el-GR.module.js";
|
9
|
+
import $0935d9c31242fd34$exports from "./en-US.module.js";
|
10
|
+
import $abfec65a0d2b0c27$exports from "./es-ES.module.js";
|
11
|
+
import $8d7af4cd5d5753c7$exports from "./et-EE.module.js";
|
12
|
+
import $db22385d5bdd005e$exports from "./fi-FI.module.js";
|
13
|
+
import $245a392e21415836$exports from "./fr-FR.module.js";
|
14
|
+
import $6413fb43414b9e75$exports from "./he-IL.module.js";
|
15
|
+
import $ee0ea9d296f5f6ab$exports from "./hr-HR.module.js";
|
16
|
+
import $51171b341dfc5453$exports from "./hu-HU.module.js";
|
17
|
+
import $830e3263459eb1d0$exports from "./it-IT.module.js";
|
18
|
+
import $289e4e8b39441972$exports from "./ja-JP.module.js";
|
19
|
+
import $3a6a62f186206880$exports from "./ko-KR.module.js";
|
20
|
+
import $ad1097286dff3101$exports from "./lt-LT.module.js";
|
21
|
+
import $fd59115b0041c337$exports from "./lv-LV.module.js";
|
22
|
+
import $710ff1246576a6ec$exports from "./nb-NO.module.js";
|
23
|
+
import $000943b4c8779050$exports from "./nl-NL.module.js";
|
24
|
+
import $7f2e93329f476e76$exports from "./pl-PL.module.js";
|
25
|
+
import $fd69b558842c4d71$exports from "./pt-BR.module.js";
|
26
|
+
import $7a646e214fd1cba2$exports from "./pt-PT.module.js";
|
27
|
+
import $93014858e8228579$exports from "./ro-RO.module.js";
|
28
|
+
import $2769c5d71042ac27$exports from "./ru-RU.module.js";
|
29
|
+
import $e689339abe8753c7$exports from "./sk-SK.module.js";
|
30
|
+
import $7bfc0ba33fedfe25$exports from "./sl-SI.module.js";
|
31
|
+
import $0bb12c08fb7d59be$exports from "./sr-SP.module.js";
|
32
|
+
import $b8c50d0f68c95c3d$exports from "./sv-SE.module.js";
|
33
|
+
import $711c9bc16244510d$exports from "./tr-TR.module.js";
|
34
|
+
import $6229f5290723ff0e$exports from "./uk-UA.module.js";
|
35
|
+
import $1ba57165d5de0b25$exports from "./zh-CN.module.js";
|
36
|
+
import $586e20fd0bf5d7aa$exports from "./zh-TW.module.js";
|
3
37
|
import "./main.css";
|
4
38
|
import {useStyleProps as $gvoUB$useStyleProps, useDOMRef as $gvoUB$useDOMRef, classNames as $gvoUB$classNames, SlotProvider as $gvoUB$SlotProvider} from "@react-spectrum/utils";
|
5
39
|
import {DropZone as $gvoUB$DropZone} from "react-aria-components";
|
@@ -39,208 +73,38 @@ function $parcel$export(e, n, v, s) {
|
|
39
73
|
*/
|
40
74
|
|
41
75
|
var $e4fb2fdca6053dfb$exports = {};
|
42
|
-
var $3cffa6a83421c23c$exports = {};
|
43
|
-
$3cffa6a83421c23c$exports = {
|
44
|
-
"replaceMessage": `\u{644}\u{644}\u{627}\u{633}\u{62A}\u{628}\u{62F}\u{627}\u{644}\u{60C} \u{642}\u{645} \u{628}\u{625}\u{641}\u{644}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{644}\u{641}`
|
45
|
-
};
|
46
|
-
|
47
|
-
|
48
|
-
var $65cafe835931ede6$exports = {};
|
49
|
-
$65cafe835931ede6$exports = {
|
50
|
-
"replaceMessage": `\u{41F}\u{443}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{437}\u{430} \u{437}\u{430}\u{43C}\u{44F}\u{43D}\u{430}`
|
51
|
-
};
|
52
|
-
|
53
|
-
|
54
|
-
var $2adcb67bf4ec91c9$exports = {};
|
55
|
-
$2adcb67bf4ec91c9$exports = {
|
56
|
-
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
57
|
-
};
|
58
|
-
|
59
|
-
|
60
|
-
var $6ba504c8d6544e47$exports = {};
|
61
|
-
$6ba504c8d6544e47$exports = {
|
62
|
-
"replaceMessage": `Drop fil for at erstatte`
|
63
|
-
};
|
64
|
-
|
65
|
-
|
66
|
-
var $3ce29be01ff65705$exports = {};
|
67
|
-
$3ce29be01ff65705$exports = {
|
68
|
-
"replaceMessage": `Datei zum Ersetzen ablegen`
|
69
|
-
};
|
70
|
-
|
71
|
-
|
72
|
-
var $ae42035e6b9dd97a$exports = {};
|
73
|
-
$ae42035e6b9dd97a$exports = {
|
74
|
-
"replaceMessage": `\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3B1}\u{3C1}\u{3C7}\u{3B5}\u{3AF}\u{3BF}\u{3C5} \u{3B3}\u{3B9}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B1}\u{3C4}\u{3AC}\u{3C3}\u{3C4}\u{3B1}\u{3C3}\u{3B7}`
|
75
|
-
};
|
76
|
-
|
77
|
-
|
78
|
-
var $0935d9c31242fd34$exports = {};
|
79
|
-
$0935d9c31242fd34$exports = {
|
80
|
-
"replaceMessage": `Drop file to replace`
|
81
|
-
};
|
82
|
-
|
83
|
-
|
84
|
-
var $abfec65a0d2b0c27$exports = {};
|
85
|
-
$abfec65a0d2b0c27$exports = {
|
86
|
-
"replaceMessage": `Suelte el archivo para reemplazar`
|
87
|
-
};
|
88
|
-
|
89
|
-
|
90
|
-
var $8d7af4cd5d5753c7$exports = {};
|
91
|
-
$8d7af4cd5d5753c7$exports = {
|
92
|
-
"replaceMessage": `Kukuta fail asendamiseks`
|
93
|
-
};
|
94
|
-
|
95
|
-
|
96
|
-
var $db22385d5bdd005e$exports = {};
|
97
|
-
$db22385d5bdd005e$exports = {
|
98
|
-
"replaceMessage": `Pudota korvaava tiedosto`
|
99
|
-
};
|
100
|
-
|
101
|
-
|
102
|
-
var $245a392e21415836$exports = {};
|
103
|
-
$245a392e21415836$exports = {
|
104
|
-
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
105
|
-
};
|
106
|
-
|
107
|
-
|
108
|
-
var $6413fb43414b9e75$exports = {};
|
109
|
-
$6413fb43414b9e75$exports = {
|
110
|
-
"replaceMessage": `\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5D0}\u{5EA} \u{5D4}\u{5E7}\u{5D5}\u{5D1}\u{5E5} \u{5DC}\u{5D4}\u{5D7}\u{5DC}\u{5E4}\u{5D4}`
|
111
|
-
};
|
112
76
|
|
113
77
|
|
114
|
-
var $ee0ea9d296f5f6ab$exports = {};
|
115
|
-
$ee0ea9d296f5f6ab$exports = {
|
116
|
-
"replaceMessage": `Ispustite datoteku za zamjenu`
|
117
|
-
};
|
118
|
-
|
119
|
-
|
120
|
-
var $51171b341dfc5453$exports = {};
|
121
|
-
$51171b341dfc5453$exports = {
|
122
|
-
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
123
|
-
};
|
124
|
-
|
125
|
-
|
126
|
-
var $830e3263459eb1d0$exports = {};
|
127
|
-
$830e3263459eb1d0$exports = {
|
128
|
-
"replaceMessage": `Rilascia il file da sostituire`
|
129
|
-
};
|
130
|
-
|
131
|
-
|
132
|
-
var $289e4e8b39441972$exports = {};
|
133
|
-
$289e4e8b39441972$exports = {
|
134
|
-
"replaceMessage": `\u{30D5}\u{30A1}\u{30A4}\u{30EB}\u{3092}\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{3057}\u{3066}\u{7F6E}\u{63DB}`
|
135
|
-
};
|
136
|
-
|
137
|
-
|
138
|
-
var $3a6a62f186206880$exports = {};
|
139
|
-
$3a6a62f186206880$exports = {
|
140
|
-
"replaceMessage": `\u{D30C}\u{C77C}\u{C744} \u{B4DC}\u{B86D}\u{D558}\u{C5EC} \u{BC14}\u{AFB8}\u{AE30}`
|
141
|
-
};
|
142
|
-
|
143
|
-
|
144
|
-
var $ad1097286dff3101$exports = {};
|
145
|
-
$ad1097286dff3101$exports = {
|
146
|
-
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
147
|
-
};
|
148
|
-
|
149
78
|
|
150
|
-
var $fd59115b0041c337$exports = {};
|
151
|
-
$fd59115b0041c337$exports = {
|
152
|
-
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
153
|
-
};
|
154
79
|
|
155
80
|
|
156
|
-
var $710ff1246576a6ec$exports = {};
|
157
|
-
$710ff1246576a6ec$exports = {
|
158
|
-
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
159
|
-
};
|
160
81
|
|
161
82
|
|
162
|
-
var $000943b4c8779050$exports = {};
|
163
|
-
$000943b4c8779050$exports = {
|
164
|
-
"replaceMessage": `Bestand neerzetten om te vervangen`
|
165
|
-
};
|
166
83
|
|
167
84
|
|
168
|
-
var $7f2e93329f476e76$exports = {};
|
169
|
-
$7f2e93329f476e76$exports = {
|
170
|
-
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
171
|
-
};
|
172
85
|
|
173
86
|
|
174
|
-
var $fd69b558842c4d71$exports = {};
|
175
|
-
$fd69b558842c4d71$exports = {
|
176
|
-
"replaceMessage": `Solte o arquivo para substituir`
|
177
|
-
};
|
178
87
|
|
179
88
|
|
180
|
-
var $7a646e214fd1cba2$exports = {};
|
181
|
-
$7a646e214fd1cba2$exports = {
|
182
|
-
"replaceMessage": `Largar ficheiro para substituir`
|
183
|
-
};
|
184
89
|
|
185
90
|
|
186
|
-
var $93014858e8228579$exports = {};
|
187
|
-
$93014858e8228579$exports = {
|
188
|
-
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
189
|
-
};
|
190
91
|
|
191
92
|
|
192
|
-
var $2769c5d71042ac27$exports = {};
|
193
|
-
$2769c5d71042ac27$exports = {
|
194
|
-
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{435}\u{43D}\u{44B}`
|
195
|
-
};
|
196
93
|
|
197
94
|
|
198
|
-
var $e689339abe8753c7$exports = {};
|
199
|
-
$e689339abe8753c7$exports = {
|
200
|
-
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
201
|
-
};
|
202
95
|
|
203
96
|
|
204
|
-
var $7bfc0ba33fedfe25$exports = {};
|
205
|
-
$7bfc0ba33fedfe25$exports = {
|
206
|
-
"replaceMessage": `Spustite datoteko za zamenjavo`
|
207
|
-
};
|
208
|
-
|
209
97
|
|
210
|
-
var $0bb12c08fb7d59be$exports = {};
|
211
|
-
$0bb12c08fb7d59be$exports = {
|
212
|
-
"replaceMessage": `Otpustite datoteku radi zamene`
|
213
|
-
};
|
214
98
|
|
215
99
|
|
216
|
-
var $b8c50d0f68c95c3d$exports = {};
|
217
|
-
$b8c50d0f68c95c3d$exports = {
|
218
|
-
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
219
|
-
};
|
220
100
|
|
221
101
|
|
222
|
-
var $711c9bc16244510d$exports = {};
|
223
|
-
$711c9bc16244510d$exports = {
|
224
|
-
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
225
|
-
};
|
226
102
|
|
227
103
|
|
228
|
-
var $6229f5290723ff0e$exports = {};
|
229
|
-
$6229f5290723ff0e$exports = {
|
230
|
-
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{456}\u{43D}\u{438}`
|
231
|
-
};
|
232
104
|
|
233
105
|
|
234
|
-
var $1ba57165d5de0b25$exports = {};
|
235
|
-
$1ba57165d5de0b25$exports = {
|
236
|
-
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
237
|
-
};
|
238
106
|
|
239
107
|
|
240
|
-
var $586e20fd0bf5d7aa$exports = {};
|
241
|
-
$586e20fd0bf5d7aa$exports = {
|
242
|
-
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
243
|
-
};
|
244
108
|
|
245
109
|
|
246
110
|
$e4fb2fdca6053dfb$exports = {
|
@@ -329,7 +193,7 @@ function $37da9a3796695f28$var$DropZone(props, ref) {
|
|
329
193
|
let { styleProps: styleProps } = (0, $gvoUB$useStyleProps)(props);
|
330
194
|
let domRef = (0, $gvoUB$useDOMRef)(ref);
|
331
195
|
let messageId = (0, $gvoUB$useId)();
|
332
|
-
let stringFormatter = (0, $gvoUB$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($e4fb2fdca6053dfb$exports))));
|
196
|
+
let stringFormatter = (0, $gvoUB$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($e4fb2fdca6053dfb$exports))), "@react-spectrum/dropzone");
|
333
197
|
return /*#__PURE__*/ (0, $gvoUB$react).createElement((0, $gvoUB$DropZone), {
|
334
198
|
...(0, $gvoUB$mergeProps)($37da9a3796695f28$var$filterProps(otherProps)),
|
335
199
|
...styleProps,
|
package/dist/module.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;AEVD,4BAAiB;IAAG,kBAAkB,CAAC,oKAA0B,CAAC;AAClE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wIAAsB,CAAC;AAC9D;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,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AAI;QACJ,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAK,GACL,4BACA,WAAW,SAAS;OAGvB,iBAAiB,iBAAiB,gBAAgB,MAAM,CAAC;AAIlE;AAEA;;CAEC,GACD,IAAI,yDAAY,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@react-spectrum/dropzone/intl/ar-AE.json","packages/@react-spectrum/dropzone/intl/bg-BG.json","packages/@react-spectrum/dropzone/intl/cs-CZ.json","packages/@react-spectrum/dropzone/intl/da-DK.json","packages/@react-spectrum/dropzone/intl/de-DE.json","packages/@react-spectrum/dropzone/intl/el-GR.json","packages/@react-spectrum/dropzone/intl/en-US.json","packages/@react-spectrum/dropzone/intl/es-ES.json","packages/@react-spectrum/dropzone/intl/et-EE.json","packages/@react-spectrum/dropzone/intl/fi-FI.json","packages/@react-spectrum/dropzone/intl/fr-FR.json","packages/@react-spectrum/dropzone/intl/he-IL.json","packages/@react-spectrum/dropzone/intl/hr-HR.json","packages/@react-spectrum/dropzone/intl/hu-HU.json","packages/@react-spectrum/dropzone/intl/it-IT.json","packages/@react-spectrum/dropzone/intl/ja-JP.json","packages/@react-spectrum/dropzone/intl/ko-KR.json","packages/@react-spectrum/dropzone/intl/lt-LT.json","packages/@react-spectrum/dropzone/intl/lv-LV.json","packages/@react-spectrum/dropzone/intl/nb-NO.json","packages/@react-spectrum/dropzone/intl/nl-NL.json","packages/@react-spectrum/dropzone/intl/pl-PL.json","packages/@react-spectrum/dropzone/intl/pt-BR.json","packages/@react-spectrum/dropzone/intl/pt-PT.json","packages/@react-spectrum/dropzone/intl/ro-RO.json","packages/@react-spectrum/dropzone/intl/ru-RU.json","packages/@react-spectrum/dropzone/intl/sk-SK.json","packages/@react-spectrum/dropzone/intl/sl-SI.json","packages/@react-spectrum/dropzone/intl/sr-SP.json","packages/@react-spectrum/dropzone/intl/sv-SE.json","packages/@react-spectrum/dropzone/intl/tr-TR.json","packages/@react-spectrum/dropzone/intl/uk-UA.json","packages/@react-spectrum/dropzone/intl/zh-CN.json","packages/@react-spectrum/dropzone/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends Omit<DropZoneProps, 'onHoverStart' | 'onHoverChange' | 'onHoverEnd'>, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\n// Filter out props used by RAC DropZone that we don't want in RSP DropZone for now.\nlet filterProps = (props) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let {onHoverStart, onHoverChange, onHoverEnd, ...otherProps} = props;\n return otherProps;\n};\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return (\n <RACDropZone\n {...mergeProps(filterProps(otherProps))}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"replaceMessage\": \"للاستبدال، قم بإفلات الملف\"\n}\n","{\n \"replaceMessage\": \"Пуснете файл за замяна\"\n}\n","{\n \"replaceMessage\": \"Přetáhněte soubor k nahrazení\"\n}\n","{\n \"replaceMessage\": \"Drop fil for at erstatte\"\n}\n","{\n \"replaceMessage\": \"Datei zum Ersetzen ablegen\"\n}\n","{\n \"replaceMessage\": \"Απόθεση αρχείου για αντικατάσταση\"\n}\n","{\n \"replaceMessage\": \"Drop file to replace\"\n}\n","{\n \"replaceMessage\": \"Suelte el archivo para reemplazar\"\n}\n","{\n \"replaceMessage\": \"Kukuta fail asendamiseks\"\n}\n","{\n \"replaceMessage\": \"Pudota korvaava tiedosto\"\n}\n","{\n \"replaceMessage\": \"Déposer le fichier à remplacer\"\n}\n","{\n \"replaceMessage\": \"שחרר את הקובץ להחלפה\"\n}\n","{\n \"replaceMessage\": \"Ispustite datoteku za zamjenu\"\n}\n","{\n \"replaceMessage\": \"Ejtse le a fájlt a cseréhez\"\n}\n","{\n \"replaceMessage\": \"Rilascia il file da sostituire\"\n}\n","{\n \"replaceMessage\": \"ファイルをドロップして置換\"\n}\n","{\n \"replaceMessage\": \"파일을 드롭하여 바꾸기\"\n}\n","{\n \"replaceMessage\": \"Pašalinkite failą, kad pakeistumėte\"\n}\n","{\n \"replaceMessage\": \"Lai aizstātu, nometiet failu\"\n}\n","{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n","{\n \"replaceMessage\": \"Bestand neerzetten om te vervangen\"\n}\n","{\n \"replaceMessage\": \"Upuść plik, aby zastąpić\"\n}\n","{\n \"replaceMessage\": \"Solte o arquivo para substituir\"\n}\n","{\n \"replaceMessage\": \"Largar ficheiro para substituir\"\n}\n","{\n \"replaceMessage\": \"Plasați fișierul pentru a înlocui\"\n}\n","{\n \"replaceMessage\": \"Перетащите файл для замены\"\n}\n","{\n \"replaceMessage\": \"Presuňte súbor, ktorý chcete nahradiť\"\n}\n","{\n \"replaceMessage\": \"Spustite datoteko za zamenjavo\"\n}\n","{\n \"replaceMessage\": \"Otpustite datoteku radi zamene\"\n}\n","{\n \"replaceMessage\": \"Släpp filen för att ersätta\"\n}\n","{\n \"replaceMessage\": \"Değiştirmek için dosyayı bırakın\"\n}\n","{\n \"replaceMessage\": \"Перетягніть файл для заміни\"\n}\n","{\n \"replaceMessage\": \"删除要替换的文件\"\n}\n","{\n \"replaceMessage\": \"放置要取代的檔案\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwBD,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,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AI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,gEAAW,GAAG;IAEhE,qBACE,gCAAC,CAAA,GAAA,eAAU;QACR,GAAG,CAAA,GAAA,iBAAS,EAAE,kCAAY,YAAY;QACtC,GAAG,UAAU;QACd,mBAAiB,YAAY;QAC7B,WACA,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAK,GACL,qBACA,WAAW,SAAS,EACpB;YAAC,6BAA6B;QAAQ;QAExC,KAAK;qBACL,gCAAC,CAAA,GAAA,mBAAW;QACV,OAAO;YACL,cAAc;gBAAC,kBAAkB,CAAA,GAAA,iBAAS,EACxC,CAAA,GAAA,gEAAK,GACL;YACC;QACL;OACC,yBAEH,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;sBACnC,gCAAC;QACC,IAAI;QACJ,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAK,GACL,4BACA,WAAW,SAAS;OAGvB,iBAAiB,iBAAiB,gBAAgB,MAAM,CAAC;AAIlE;AAEA;;CAEC,GACD,IAAI,yDAAY,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends Omit<DropZoneProps, 'onHoverStart' | 'onHoverChange' | 'onHoverEnd'>, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\n// Filter out props used by RAC DropZone that we don't want in RSP DropZone for now.\nlet filterProps = (props) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let {onHoverStart, onHoverChange, onHoverEnd, ...otherProps} = props;\n return otherProps;\n};\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/dropzone');\n\n return (\n <RACDropZone\n {...mergeProps(filterProps(otherProps))}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,kBAAkB,CAAC,6BAA0B,CAAC;AAClE","sources":["packages/@react-spectrum/dropzone/intl/nb-NO.json"],"sourcesContent":["{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n"],"names":[],"version":3,"file":"nb-NO.main.js.map"}
|