@react-spectrum/dropzone 3.0.0-nightly.4321 → 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 +37 -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.css +180 -1
- package/dist/main.css.map +1 -0
- package/dist/main.js +37 -171
- package/dist/main.js.map +1 -1
- package/dist/module.js +37 -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,3 +1,39 @@
|
|
1
|
+
"use client";
|
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");
|
1
37
|
require("./main.css");
|
2
38
|
var $fRqBm$reactspectrumutils = require("@react-spectrum/utils");
|
3
39
|
var $fRqBm$reactariacomponents = require("react-aria-components");
|
@@ -39,208 +75,38 @@ $parcel$export(module.exports, "DropZone", () => $f7b7e7956f17a6e7$export$3c6489
|
|
39
75
|
*/
|
40
76
|
|
41
77
|
var $338e657e2a59c652$exports = {};
|
42
|
-
var $a6975295bf5c4d55$exports = {};
|
43
|
-
$a6975295bf5c4d55$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 $ab5dc96d5c64d58d$exports = {};
|
49
|
-
$ab5dc96d5c64d58d$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 $ec9c957cc1eb6ac9$exports = {};
|
55
|
-
$ec9c957cc1eb6ac9$exports = {
|
56
|
-
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
57
|
-
};
|
58
|
-
|
59
|
-
|
60
|
-
var $c20098e490cf11c0$exports = {};
|
61
|
-
$c20098e490cf11c0$exports = {
|
62
|
-
"replaceMessage": `Drop fil for at erstatte`
|
63
|
-
};
|
64
|
-
|
65
|
-
|
66
|
-
var $d17f27c65aaaf6a8$exports = {};
|
67
|
-
$d17f27c65aaaf6a8$exports = {
|
68
|
-
"replaceMessage": `Datei zum Ersetzen ablegen`
|
69
|
-
};
|
70
|
-
|
71
|
-
|
72
|
-
var $348bb5362089d093$exports = {};
|
73
|
-
$348bb5362089d093$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 $28f774213637c9f3$exports = {};
|
79
|
-
$28f774213637c9f3$exports = {
|
80
|
-
"replaceMessage": `Drop file to replace`
|
81
|
-
};
|
82
|
-
|
83
|
-
|
84
|
-
var $2dd0cb4c8fc57cfe$exports = {};
|
85
|
-
$2dd0cb4c8fc57cfe$exports = {
|
86
|
-
"replaceMessage": `Suelte el archivo para reemplazar`
|
87
|
-
};
|
88
|
-
|
89
|
-
|
90
|
-
var $c1426789ba28ff98$exports = {};
|
91
|
-
$c1426789ba28ff98$exports = {
|
92
|
-
"replaceMessage": `Kukuta fail asendamiseks`
|
93
|
-
};
|
94
|
-
|
95
|
-
|
96
|
-
var $e5c8914ba605a596$exports = {};
|
97
|
-
$e5c8914ba605a596$exports = {
|
98
|
-
"replaceMessage": `Pudota korvaava tiedosto`
|
99
|
-
};
|
100
|
-
|
101
|
-
|
102
|
-
var $d15362445d044738$exports = {};
|
103
|
-
$d15362445d044738$exports = {
|
104
|
-
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
105
|
-
};
|
106
|
-
|
107
|
-
|
108
|
-
var $32537b5d24d2d4fc$exports = {};
|
109
|
-
$32537b5d24d2d4fc$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
78
|
|
113
79
|
|
114
|
-
var $c18f98b9142e7b26$exports = {};
|
115
|
-
$c18f98b9142e7b26$exports = {
|
116
|
-
"replaceMessage": `Ispustite datoteku za zamjenu`
|
117
|
-
};
|
118
|
-
|
119
|
-
|
120
|
-
var $570766610b3b9179$exports = {};
|
121
|
-
$570766610b3b9179$exports = {
|
122
|
-
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
123
|
-
};
|
124
|
-
|
125
|
-
|
126
|
-
var $af6eb076bbc3df31$exports = {};
|
127
|
-
$af6eb076bbc3df31$exports = {
|
128
|
-
"replaceMessage": `Rilascia il file da sostituire`
|
129
|
-
};
|
130
|
-
|
131
|
-
|
132
|
-
var $797208a224779dc6$exports = {};
|
133
|
-
$797208a224779dc6$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 $efe0febd9c5ff51d$exports = {};
|
139
|
-
$efe0febd9c5ff51d$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 $3119bdb414264e20$exports = {};
|
145
|
-
$3119bdb414264e20$exports = {
|
146
|
-
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
147
|
-
};
|
148
|
-
|
149
80
|
|
150
|
-
var $8d43cc6c8aff95db$exports = {};
|
151
|
-
$8d43cc6c8aff95db$exports = {
|
152
|
-
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
153
|
-
};
|
154
81
|
|
155
82
|
|
156
|
-
var $a5084d93d23b0854$exports = {};
|
157
|
-
$a5084d93d23b0854$exports = {
|
158
|
-
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
159
|
-
};
|
160
83
|
|
161
84
|
|
162
|
-
var $5978d18c34077bbe$exports = {};
|
163
|
-
$5978d18c34077bbe$exports = {
|
164
|
-
"replaceMessage": `Bestand neerzetten om te vervangen`
|
165
|
-
};
|
166
85
|
|
167
86
|
|
168
|
-
var $f17bee60ccd0e5e3$exports = {};
|
169
|
-
$f17bee60ccd0e5e3$exports = {
|
170
|
-
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
171
|
-
};
|
172
87
|
|
173
88
|
|
174
|
-
var $4f5eb463d9a9c950$exports = {};
|
175
|
-
$4f5eb463d9a9c950$exports = {
|
176
|
-
"replaceMessage": `Solte o arquivo para substituir`
|
177
|
-
};
|
178
89
|
|
179
90
|
|
180
|
-
var $a9483dcdf6481e43$exports = {};
|
181
|
-
$a9483dcdf6481e43$exports = {
|
182
|
-
"replaceMessage": `Largar ficheiro para substituir`
|
183
|
-
};
|
184
91
|
|
185
92
|
|
186
|
-
var $5741c50d5ed46532$exports = {};
|
187
|
-
$5741c50d5ed46532$exports = {
|
188
|
-
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
189
|
-
};
|
190
93
|
|
191
94
|
|
192
|
-
var $8fd22e7013122e76$exports = {};
|
193
|
-
$8fd22e7013122e76$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
95
|
|
197
96
|
|
198
|
-
var $87e27b1f4c06cc77$exports = {};
|
199
|
-
$87e27b1f4c06cc77$exports = {
|
200
|
-
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
201
|
-
};
|
202
97
|
|
203
98
|
|
204
|
-
var $ac2d9d11787db074$exports = {};
|
205
|
-
$ac2d9d11787db074$exports = {
|
206
|
-
"replaceMessage": `Spustite datoteko za zamenjavo`
|
207
|
-
};
|
208
|
-
|
209
99
|
|
210
|
-
var $4cae4b890c7d2e64$exports = {};
|
211
|
-
$4cae4b890c7d2e64$exports = {
|
212
|
-
"replaceMessage": `Otpustite datoteku radi zamene`
|
213
|
-
};
|
214
100
|
|
215
101
|
|
216
|
-
var $ef9b4743bba0e45f$exports = {};
|
217
|
-
$ef9b4743bba0e45f$exports = {
|
218
|
-
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
219
|
-
};
|
220
102
|
|
221
103
|
|
222
|
-
var $8c5762c3146afda1$exports = {};
|
223
|
-
$8c5762c3146afda1$exports = {
|
224
|
-
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
225
|
-
};
|
226
104
|
|
227
105
|
|
228
|
-
var $1a99cc22a4a9a948$exports = {};
|
229
|
-
$1a99cc22a4a9a948$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
106
|
|
233
107
|
|
234
|
-
var $eae14e35d0f53ea0$exports = {};
|
235
|
-
$eae14e35d0f53ea0$exports = {
|
236
|
-
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
237
|
-
};
|
238
108
|
|
239
109
|
|
240
|
-
var $88e03544efa0a675$exports = {};
|
241
|
-
$88e03544efa0a675$exports = {
|
242
|
-
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
243
|
-
};
|
244
110
|
|
245
111
|
|
246
112
|
$338e657e2a59c652$exports = {
|
@@ -329,7 +195,7 @@ function $f7b7e7956f17a6e7$var$DropZone(props, ref) {
|
|
329
195
|
let { styleProps: styleProps } = (0, $fRqBm$reactspectrumutils.useStyleProps)(props);
|
330
196
|
let domRef = (0, $fRqBm$reactspectrumutils.useDOMRef)(ref);
|
331
197
|
let messageId = (0, $fRqBm$reactariautils.useId)();
|
332
|
-
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");
|
333
199
|
return /*#__PURE__*/ (0, ($parcel$interopDefault($fRqBm$react))).createElement((0, $fRqBm$reactariacomponents.DropZone), {
|
334
200
|
...(0, $fRqBm$reactariautils.mergeProps)($f7b7e7956f17a6e7$var$filterProps(otherProps)),
|
335
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,0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AM,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/@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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G,CAAA,GAAA,gCAAS,EAAE,kCAAY,YAAY;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,3 +1,39 @@
|
|
1
|
+
"use client";
|
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";
|
1
37
|
import "./main.css";
|
2
38
|
import {useStyleProps as $gvoUB$useStyleProps, useDOMRef as $gvoUB$useDOMRef, classNames as $gvoUB$classNames, SlotProvider as $gvoUB$SlotProvider} from "@react-spectrum/utils";
|
3
39
|
import {DropZone as $gvoUB$DropZone} from "react-aria-components";
|
@@ -37,208 +73,38 @@ function $parcel$export(e, n, v, s) {
|
|
37
73
|
*/
|
38
74
|
|
39
75
|
var $e4fb2fdca6053dfb$exports = {};
|
40
|
-
var $3cffa6a83421c23c$exports = {};
|
41
|
-
$3cffa6a83421c23c$exports = {
|
42
|
-
"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}`
|
43
|
-
};
|
44
|
-
|
45
|
-
|
46
|
-
var $65cafe835931ede6$exports = {};
|
47
|
-
$65cafe835931ede6$exports = {
|
48
|
-
"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}`
|
49
|
-
};
|
50
|
-
|
51
|
-
|
52
|
-
var $2adcb67bf4ec91c9$exports = {};
|
53
|
-
$2adcb67bf4ec91c9$exports = {
|
54
|
-
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
55
|
-
};
|
56
|
-
|
57
|
-
|
58
|
-
var $6ba504c8d6544e47$exports = {};
|
59
|
-
$6ba504c8d6544e47$exports = {
|
60
|
-
"replaceMessage": `Drop fil for at erstatte`
|
61
|
-
};
|
62
|
-
|
63
|
-
|
64
|
-
var $3ce29be01ff65705$exports = {};
|
65
|
-
$3ce29be01ff65705$exports = {
|
66
|
-
"replaceMessage": `Datei zum Ersetzen ablegen`
|
67
|
-
};
|
68
|
-
|
69
|
-
|
70
|
-
var $ae42035e6b9dd97a$exports = {};
|
71
|
-
$ae42035e6b9dd97a$exports = {
|
72
|
-
"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}`
|
73
|
-
};
|
74
|
-
|
75
|
-
|
76
|
-
var $0935d9c31242fd34$exports = {};
|
77
|
-
$0935d9c31242fd34$exports = {
|
78
|
-
"replaceMessage": `Drop file to replace`
|
79
|
-
};
|
80
|
-
|
81
|
-
|
82
|
-
var $abfec65a0d2b0c27$exports = {};
|
83
|
-
$abfec65a0d2b0c27$exports = {
|
84
|
-
"replaceMessage": `Suelte el archivo para reemplazar`
|
85
|
-
};
|
86
|
-
|
87
|
-
|
88
|
-
var $8d7af4cd5d5753c7$exports = {};
|
89
|
-
$8d7af4cd5d5753c7$exports = {
|
90
|
-
"replaceMessage": `Kukuta fail asendamiseks`
|
91
|
-
};
|
92
|
-
|
93
|
-
|
94
|
-
var $db22385d5bdd005e$exports = {};
|
95
|
-
$db22385d5bdd005e$exports = {
|
96
|
-
"replaceMessage": `Pudota korvaava tiedosto`
|
97
|
-
};
|
98
|
-
|
99
|
-
|
100
|
-
var $245a392e21415836$exports = {};
|
101
|
-
$245a392e21415836$exports = {
|
102
|
-
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
103
|
-
};
|
104
|
-
|
105
|
-
|
106
|
-
var $6413fb43414b9e75$exports = {};
|
107
|
-
$6413fb43414b9e75$exports = {
|
108
|
-
"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}`
|
109
|
-
};
|
110
76
|
|
111
77
|
|
112
|
-
var $ee0ea9d296f5f6ab$exports = {};
|
113
|
-
$ee0ea9d296f5f6ab$exports = {
|
114
|
-
"replaceMessage": `Ispustite datoteku za zamjenu`
|
115
|
-
};
|
116
|
-
|
117
|
-
|
118
|
-
var $51171b341dfc5453$exports = {};
|
119
|
-
$51171b341dfc5453$exports = {
|
120
|
-
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
121
|
-
};
|
122
|
-
|
123
|
-
|
124
|
-
var $830e3263459eb1d0$exports = {};
|
125
|
-
$830e3263459eb1d0$exports = {
|
126
|
-
"replaceMessage": `Rilascia il file da sostituire`
|
127
|
-
};
|
128
|
-
|
129
|
-
|
130
|
-
var $289e4e8b39441972$exports = {};
|
131
|
-
$289e4e8b39441972$exports = {
|
132
|
-
"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}`
|
133
|
-
};
|
134
|
-
|
135
|
-
|
136
|
-
var $3a6a62f186206880$exports = {};
|
137
|
-
$3a6a62f186206880$exports = {
|
138
|
-
"replaceMessage": `\u{D30C}\u{C77C}\u{C744} \u{B4DC}\u{B86D}\u{D558}\u{C5EC} \u{BC14}\u{AFB8}\u{AE30}`
|
139
|
-
};
|
140
|
-
|
141
|
-
|
142
|
-
var $ad1097286dff3101$exports = {};
|
143
|
-
$ad1097286dff3101$exports = {
|
144
|
-
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
145
|
-
};
|
146
|
-
|
147
78
|
|
148
|
-
var $fd59115b0041c337$exports = {};
|
149
|
-
$fd59115b0041c337$exports = {
|
150
|
-
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
151
|
-
};
|
152
79
|
|
153
80
|
|
154
|
-
var $710ff1246576a6ec$exports = {};
|
155
|
-
$710ff1246576a6ec$exports = {
|
156
|
-
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
157
|
-
};
|
158
81
|
|
159
82
|
|
160
|
-
var $000943b4c8779050$exports = {};
|
161
|
-
$000943b4c8779050$exports = {
|
162
|
-
"replaceMessage": `Bestand neerzetten om te vervangen`
|
163
|
-
};
|
164
83
|
|
165
84
|
|
166
|
-
var $7f2e93329f476e76$exports = {};
|
167
|
-
$7f2e93329f476e76$exports = {
|
168
|
-
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
169
|
-
};
|
170
85
|
|
171
86
|
|
172
|
-
var $fd69b558842c4d71$exports = {};
|
173
|
-
$fd69b558842c4d71$exports = {
|
174
|
-
"replaceMessage": `Solte o arquivo para substituir`
|
175
|
-
};
|
176
87
|
|
177
88
|
|
178
|
-
var $7a646e214fd1cba2$exports = {};
|
179
|
-
$7a646e214fd1cba2$exports = {
|
180
|
-
"replaceMessage": `Largar ficheiro para substituir`
|
181
|
-
};
|
182
89
|
|
183
90
|
|
184
|
-
var $93014858e8228579$exports = {};
|
185
|
-
$93014858e8228579$exports = {
|
186
|
-
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
187
|
-
};
|
188
91
|
|
189
92
|
|
190
|
-
var $2769c5d71042ac27$exports = {};
|
191
|
-
$2769c5d71042ac27$exports = {
|
192
|
-
"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}`
|
193
|
-
};
|
194
93
|
|
195
94
|
|
196
|
-
var $e689339abe8753c7$exports = {};
|
197
|
-
$e689339abe8753c7$exports = {
|
198
|
-
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
199
|
-
};
|
200
95
|
|
201
96
|
|
202
|
-
var $7bfc0ba33fedfe25$exports = {};
|
203
|
-
$7bfc0ba33fedfe25$exports = {
|
204
|
-
"replaceMessage": `Spustite datoteko za zamenjavo`
|
205
|
-
};
|
206
|
-
|
207
97
|
|
208
|
-
var $0bb12c08fb7d59be$exports = {};
|
209
|
-
$0bb12c08fb7d59be$exports = {
|
210
|
-
"replaceMessage": `Otpustite datoteku radi zamene`
|
211
|
-
};
|
212
98
|
|
213
99
|
|
214
|
-
var $b8c50d0f68c95c3d$exports = {};
|
215
|
-
$b8c50d0f68c95c3d$exports = {
|
216
|
-
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
217
|
-
};
|
218
100
|
|
219
101
|
|
220
|
-
var $711c9bc16244510d$exports = {};
|
221
|
-
$711c9bc16244510d$exports = {
|
222
|
-
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
223
|
-
};
|
224
102
|
|
225
103
|
|
226
|
-
var $6229f5290723ff0e$exports = {};
|
227
|
-
$6229f5290723ff0e$exports = {
|
228
|
-
"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}`
|
229
|
-
};
|
230
104
|
|
231
105
|
|
232
|
-
var $1ba57165d5de0b25$exports = {};
|
233
|
-
$1ba57165d5de0b25$exports = {
|
234
|
-
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
235
|
-
};
|
236
106
|
|
237
107
|
|
238
|
-
var $586e20fd0bf5d7aa$exports = {};
|
239
|
-
$586e20fd0bf5d7aa$exports = {
|
240
|
-
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
241
|
-
};
|
242
108
|
|
243
109
|
|
244
110
|
$e4fb2fdca6053dfb$exports = {
|
@@ -327,7 +193,7 @@ function $37da9a3796695f28$var$DropZone(props, ref) {
|
|
327
193
|
let { styleProps: styleProps } = (0, $gvoUB$useStyleProps)(props);
|
328
194
|
let domRef = (0, $gvoUB$useDOMRef)(ref);
|
329
195
|
let messageId = (0, $gvoUB$useId)();
|
330
|
-
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");
|
331
197
|
return /*#__PURE__*/ (0, $gvoUB$react).createElement((0, $gvoUB$DropZone), {
|
332
198
|
...(0, $gvoUB$mergeProps)($37da9a3796695f28$var$filterProps(otherProps)),
|
333
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;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AAA,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/@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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IAAI,YAAY,CAAA,GAAA,YAAI;IACpB,IAAI,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"}
|