@vunk/plus 1.12.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/components/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  2. package/components/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  3. package/components/agent-chat-provider/index.cjs +1 -0
  4. package/components/agent-chat-provider/index.mjs +113 -187
  5. package/components/agent-chat-provider/src/index.vue.d.ts +3 -2
  6. package/components/avatar/index.cjs +1 -0
  7. package/components/avatar/index.mjs +25 -31
  8. package/components/avatar/src/index.vue.d.ts +40 -39
  9. package/components/broadcasting-markdown/__tests__/const.test.d.ts +1 -0
  10. package/components/broadcasting-markdown/__tests__/utils.test.d.ts +1 -0
  11. package/components/broadcasting-markdown/index.cjs +5 -0
  12. package/components/broadcasting-markdown/index.mjs +346 -4376
  13. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +18 -24
  14. package/components/broadcasting-markdown/src/index.vue.d.ts +101 -51
  15. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +17 -29
  16. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +2 -59
  17. package/components/bubble-list/index.cjs +1 -0
  18. package/components/bubble-list/index.mjs +220 -302
  19. package/components/bubble-list/src/core/index.vue.d.ts +40 -885
  20. package/components/bubble-list/src/core/loading.vue.d.ts +3 -0
  21. package/components/bubble-list/src/index.vue.d.ts +29 -1321
  22. package/components/bubble-templates/index.cjs +1 -0
  23. package/components/bubble-templates/index.mjs +34 -49
  24. package/components/bubble-templates/src/index.vue.d.ts +3 -224
  25. package/components/chat-independent/index.cjs +1 -0
  26. package/components/chat-independent/index.mjs +105 -212
  27. package/components/chat-independent/src/index.vue.d.ts +20 -2712
  28. package/components/components.css +1 -0
  29. package/components/drawer/index.cjs +1 -0
  30. package/components/drawer/index.mjs +53 -94
  31. package/components/drawer/src/ctx.d.ts +22 -22
  32. package/components/drawer/src/index.vue.d.ts +84 -557
  33. package/components/index.cjs +1 -0
  34. package/components/index.d.ts +1 -0
  35. package/components/lottie-animation/index.cjs +1 -0
  36. package/components/lottie-animation/index.mjs +36 -55
  37. package/components/lottie-animation/src/index.vue.d.ts +3 -2
  38. package/components/metahuman-broadcasting/index.cjs +1 -0
  39. package/components/metahuman-broadcasting/index.mjs +89 -140
  40. package/components/metahuman-broadcasting/src/index.vue.d.ts +16 -718
  41. package/components/monaco-editor/index.cjs +1 -0
  42. package/components/monaco-editor/index.mjs +75 -73
  43. package/components/monaco-editor/src/ctx.d.ts +10 -4
  44. package/components/monaco-editor/src/index.vue.d.ts +17 -2
  45. package/components/monaco-environment/index.cjs +1 -0
  46. package/components/monaco-environment/index.mjs +23 -38
  47. package/components/monaco-environment/src/index.vue.d.ts +2 -1
  48. package/components/pixi-frame/index.cjs +1 -0
  49. package/components/pixi-frame/index.mjs +501 -1978
  50. package/components/pixi-frame/src/apng.vue.d.ts +17 -73
  51. package/components/pixi-frame/src/bitmap-generator.vue.d.ts +24 -66
  52. package/components/pixi-frame/src/bitmap.vue.d.ts +28 -80
  53. package/components/pixi-frame/src/buffer-image.vue.d.ts +29 -97
  54. package/components/pixi-frame/src/core.vue.d.ts +20 -75
  55. package/components/pixi-frame/src/index.vue.d.ts +302 -237
  56. package/components/pixi-frame/src/provider.vue.d.ts +12 -1
  57. package/components/pixi-frame/src/video.vue.d.ts +17 -71
  58. package/components/pixi-frame/src/view.vue.d.ts +4 -16
  59. package/components/recorder-button/index.cjs +1 -0
  60. package/components/recorder-button/index.mjs +140 -269
  61. package/components/recorder-button/src/index.vue.d.ts +67 -66
  62. package/components/routes-menu-content/index.cjs +1 -0
  63. package/components/routes-menu-content/index.mjs +150 -229
  64. package/components/routes-menu-content/src/index.vue.d.ts +27 -26
  65. package/components/routes-menu-content/src/item/core/index.vue.d.ts +27 -26
  66. package/components/routes-menu-content/src/item/index.vue.d.ts +27 -26
  67. package/components/scrollbar/index.cjs +1 -0
  68. package/components/scrollbar/index.mjs +288 -567
  69. package/components/scrollbar/src/bar.vue.d.ts +6 -133
  70. package/components/scrollbar/src/index.vue.d.ts +66 -337
  71. package/components/scrollbar/src/thumb.vue.d.ts +3 -80
  72. package/components/sender/index.cjs +1 -0
  73. package/components/sender/index.mjs +156 -285
  74. package/components/sender/src/SenderHeader.vue.d.ts +14 -221
  75. package/components/sender/src/index.vue.d.ts +16 -505
  76. package/components/speech-button/index.cjs +1 -0
  77. package/components/speech-button/index.mjs +98 -144
  78. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -1
  79. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -1
  80. package/components/speech-button/src/index.vue.d.ts +6 -5
  81. package/components/table-columns/index.cjs +1 -0
  82. package/components/table-columns/index.mjs +48 -78
  83. package/components/table-columns/src/ctx.d.ts +12 -12
  84. package/components/table-columns/src/el-ctx.d.ts +3 -3
  85. package/components/table-columns/src/index.vue.d.ts +28 -27
  86. package/components/tables-v1/index.cjs +1 -0
  87. package/components/tables-v1/index.mjs +99 -160
  88. package/components/tables-v1/src/ctx.d.ts +38 -38
  89. package/components/tables-v1/src/el-ctx.d.ts +7 -7
  90. package/components/tables-v1/src/index.vue.d.ts +111 -2266
  91. package/components/tables-v1-checkbox/index.cjs +1 -0
  92. package/components/tables-v1-checkbox/index.mjs +116 -4043
  93. package/components/tables-v1-checkbox/src/ctx.d.ts +36 -36
  94. package/components/tables-v1-checkbox/src/index.vue.d.ts +224 -2378
  95. package/components/text/index.cjs +1 -0
  96. package/components/text/index.mjs +70 -108
  97. package/components/text/src/ctx.d.ts +32 -32
  98. package/components/text/src/index.vue.d.ts +92 -1819
  99. package/components/thinking/index.cjs +1 -0
  100. package/components/thinking/index.mjs +127 -227
  101. package/components/thinking/src/index.vue.d.ts +23 -2045
  102. package/components/typing-markdown/index.cjs +1 -0
  103. package/components/typing-markdown/index.mjs +61 -201
  104. package/components/typing-markdown/src/index.vue.d.ts +3 -2
  105. package/components/vditor/index.cjs +1 -0
  106. package/components/vditor/index.mjs +121 -195
  107. package/components/vditor/src/ctx.d.ts +2 -2
  108. package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -2
  109. package/components/vditor/src/handle-value.vue.d.ts +3 -2
  110. package/components/vditor/src/index.vue.d.ts +5 -4
  111. package/components/xgplayer/index.cjs +1 -0
  112. package/components/xgplayer/index.mjs +49 -90
  113. package/components/xgplayer/src/core.vue.d.ts +13 -18
  114. package/components/xgplayer/src/index.vue.d.ts +13 -67
  115. package/composables/el-breakpoints/index.cjs +1 -0
  116. package/composables/el-breakpoints/index.d.ts +10 -10
  117. package/composables/el-breakpoints/index.mjs +10 -12
  118. package/composables/index.cjs +1 -0
  119. package/composables/index.d.ts +1 -0
  120. package/composables/recorder/index.cjs +1 -0
  121. package/composables/recorder/index.mjs +9172 -14803
  122. package/element/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  123. package/element/bubble/index.cjs +3 -0
  124. package/element/bubble/index.d.ts +1 -1
  125. package/element/bubble/index.mjs +1 -1
  126. package/element/bubble/src/index.vue.d.ts +22 -22
  127. package/element/index.css +1 -1
  128. package/element/thinking/index.cjs +1 -0
  129. package/element/thinking/index.d.ts +1 -1
  130. package/element/thinking/index.mjs +1 -1
  131. package/element/thinking/src/index.vue.d.ts +26 -26
  132. package/element/thinking/src/types.d.ts +10 -0
  133. package/icons/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  134. package/icons/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  135. package/icons/end/index.cjs +1 -0
  136. package/icons/end/index.mjs +21 -26
  137. package/icons/end/src/index.vue.d.ts +3 -0
  138. package/icons/keyboard/index.cjs +1 -0
  139. package/icons/keyboard/index.mjs +21 -26
  140. package/icons/keyboard/src/index.vue.d.ts +3 -0
  141. package/icons/start/index.cjs +1 -0
  142. package/icons/start/index.mjs +21 -26
  143. package/icons/start/src/index.vue.d.ts +3 -0
  144. package/icons/voice/index.cjs +1 -0
  145. package/icons/voice/index.mjs +26 -44
  146. package/icons/voice/src/index.vue.d.ts +2 -3
  147. package/index.css +2 -558
  148. package/index.d.ts +1 -0
  149. package/package.json +78 -87
  150. package/shared/data/index.cjs +1 -0
  151. package/shared/data/index.mjs +16 -22
  152. package/shared/types/index.cjs +1 -0
  153. package/shared/types/index.d.ts +1 -0
  154. package/components/LinkOutlined.mjs +0 -1321
  155. package/components/_commonjsHelpers.mjs +0 -7
  156. package/components/_plugin-vue_export-helper.mjs +0 -9
  157. package/components/bubble-list/index.css +0 -70
  158. package/components/bubble-templates/index.css +0 -4
  159. package/components/chat-independent/index.css +0 -47
  160. package/components/drawer/index.css +0 -124
  161. package/components/index2.mjs +0 -78
  162. package/components/lottie-animation/index.css +0 -4
  163. package/components/monaco-editor/index.css +0 -4
  164. package/components/pixi-frame/index.css +0 -4
  165. package/components/recorder-button/index.css +0 -69
  166. package/components/sender/index.css +0 -22
  167. package/components/speech-button/index.css +0 -10
  168. package/components/tables-v1/index.css +0 -7
  169. package/components/tables-v1-checkbox/index.css +0 -8
  170. package/components/thinking/index.css +0 -125
  171. package/components/typing-markdown/index.css +0 -31
  172. package/components/vditor/index.css +0 -12
  173. package/components/xgplayer/index.css +0 -1
  174. package/icons/_plugin-vue_export-helper.mjs +0 -9
@@ -1,1321 +0,0 @@
1
- import { inject, ref, getCurrentInstance, nextTick, h, reactive, defineComponent, createVNode } from 'vue';
2
-
3
- /**
4
- * Take input from [0, n] and return it as [0, 1]
5
- * @hidden
6
- */
7
- function bound01(n, max) {
8
- if (isOnePointZero(n)) {
9
- n = '100%';
10
- }
11
- var isPercent = isPercentage(n);
12
- n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));
13
- // Automatically convert percentage into number
14
- if (isPercent) {
15
- n = parseInt(String(n * max), 10) / 100;
16
- }
17
- // Handle floating point rounding errors
18
- if (Math.abs(n - max) < 0.000001) {
19
- return 1;
20
- }
21
- // Convert into [0, 1] range if it isn't already
22
- if (max === 360) {
23
- // If n is a hue given in degrees,
24
- // wrap around out-of-range values into [0, 360] range
25
- // then convert into [0, 1].
26
- n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));
27
- }
28
- else {
29
- // If n not a hue given in degrees
30
- // Convert into [0, 1] range if it isn't already.
31
- n = (n % max) / parseFloat(String(max));
32
- }
33
- return n;
34
- }
35
- /**
36
- * Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
37
- * <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
38
- * @hidden
39
- */
40
- function isOnePointZero(n) {
41
- return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;
42
- }
43
- /**
44
- * Check to see if string passed in is a percentage
45
- * @hidden
46
- */
47
- function isPercentage(n) {
48
- return typeof n === 'string' && n.indexOf('%') !== -1;
49
- }
50
- /**
51
- * Return a valid alpha value [0,1] with all invalid values being set to 1
52
- * @hidden
53
- */
54
- function boundAlpha(a) {
55
- a = parseFloat(a);
56
- if (isNaN(a) || a < 0 || a > 1) {
57
- a = 1;
58
- }
59
- return a;
60
- }
61
- /**
62
- * Replace a decimal with it's percentage value
63
- * @hidden
64
- */
65
- function convertToPercentage(n) {
66
- if (n <= 1) {
67
- return "".concat(Number(n) * 100, "%");
68
- }
69
- return n;
70
- }
71
- /**
72
- * Force a hex value to have 2 characters
73
- * @hidden
74
- */
75
- function pad2(c) {
76
- return c.length === 1 ? '0' + c : String(c);
77
- }
78
-
79
- // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
80
- // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
81
- /**
82
- * Handle bounds / percentage checking to conform to CSS color spec
83
- * <http://www.w3.org/TR/css3-color/>
84
- * *Assumes:* r, g, b in [0, 255] or [0, 1]
85
- * *Returns:* { r, g, b } in [0, 255]
86
- */
87
- function rgbToRgb(r, g, b) {
88
- return {
89
- r: bound01(r, 255) * 255,
90
- g: bound01(g, 255) * 255,
91
- b: bound01(b, 255) * 255,
92
- };
93
- }
94
- function hue2rgb(p, q, t) {
95
- if (t < 0) {
96
- t += 1;
97
- }
98
- if (t > 1) {
99
- t -= 1;
100
- }
101
- if (t < 1 / 6) {
102
- return p + (q - p) * (6 * t);
103
- }
104
- if (t < 1 / 2) {
105
- return q;
106
- }
107
- if (t < 2 / 3) {
108
- return p + (q - p) * (2 / 3 - t) * 6;
109
- }
110
- return p;
111
- }
112
- /**
113
- * Converts an HSL color value to RGB.
114
- *
115
- * *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
116
- * *Returns:* { r, g, b } in the set [0, 255]
117
- */
118
- function hslToRgb(h, s, l) {
119
- var r;
120
- var g;
121
- var b;
122
- h = bound01(h, 360);
123
- s = bound01(s, 100);
124
- l = bound01(l, 100);
125
- if (s === 0) {
126
- // achromatic
127
- g = l;
128
- b = l;
129
- r = l;
130
- }
131
- else {
132
- var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
133
- var p = 2 * l - q;
134
- r = hue2rgb(p, q, h + 1 / 3);
135
- g = hue2rgb(p, q, h);
136
- b = hue2rgb(p, q, h - 1 / 3);
137
- }
138
- return { r: r * 255, g: g * 255, b: b * 255 };
139
- }
140
- /**
141
- * Converts an RGB color value to HSV
142
- *
143
- * *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
144
- * *Returns:* { h, s, v } in [0,1]
145
- */
146
- function rgbToHsv(r, g, b) {
147
- r = bound01(r, 255);
148
- g = bound01(g, 255);
149
- b = bound01(b, 255);
150
- var max = Math.max(r, g, b);
151
- var min = Math.min(r, g, b);
152
- var h = 0;
153
- var v = max;
154
- var d = max - min;
155
- var s = max === 0 ? 0 : d / max;
156
- if (max === min) {
157
- h = 0; // achromatic
158
- }
159
- else {
160
- switch (max) {
161
- case r:
162
- h = (g - b) / d + (g < b ? 6 : 0);
163
- break;
164
- case g:
165
- h = (b - r) / d + 2;
166
- break;
167
- case b:
168
- h = (r - g) / d + 4;
169
- break;
170
- }
171
- h /= 6;
172
- }
173
- return { h: h, s: s, v: v };
174
- }
175
- /**
176
- * Converts an HSV color value to RGB.
177
- *
178
- * *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
179
- * *Returns:* { r, g, b } in the set [0, 255]
180
- */
181
- function hsvToRgb(h, s, v) {
182
- h = bound01(h, 360) * 6;
183
- s = bound01(s, 100);
184
- v = bound01(v, 100);
185
- var i = Math.floor(h);
186
- var f = h - i;
187
- var p = v * (1 - s);
188
- var q = v * (1 - f * s);
189
- var t = v * (1 - (1 - f) * s);
190
- var mod = i % 6;
191
- var r = [v, q, p, p, t, v][mod];
192
- var g = [t, v, v, q, p, p][mod];
193
- var b = [p, p, t, v, v, q][mod];
194
- return { r: r * 255, g: g * 255, b: b * 255 };
195
- }
196
- /**
197
- * Converts an RGB color to hex
198
- *
199
- * Assumes r, g, and b are contained in the set [0, 255]
200
- * Returns a 3 or 6 character hex
201
- */
202
- function rgbToHex(r, g, b, allow3Char) {
203
- var hex = [
204
- pad2(Math.round(r).toString(16)),
205
- pad2(Math.round(g).toString(16)),
206
- pad2(Math.round(b).toString(16)),
207
- ];
208
- return hex.join('');
209
- }
210
- /** Converts a hex value to a decimal */
211
- function convertHexToDecimal(h) {
212
- return parseIntFromHex(h) / 255;
213
- }
214
- /** Parse a base-16 hex value into a base-10 integer */
215
- function parseIntFromHex(val) {
216
- return parseInt(val, 16);
217
- }
218
-
219
- // https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json
220
- /**
221
- * @hidden
222
- */
223
- var names = {
224
- aliceblue: '#f0f8ff',
225
- antiquewhite: '#faebd7',
226
- aqua: '#00ffff',
227
- aquamarine: '#7fffd4',
228
- azure: '#f0ffff',
229
- beige: '#f5f5dc',
230
- bisque: '#ffe4c4',
231
- black: '#000000',
232
- blanchedalmond: '#ffebcd',
233
- blue: '#0000ff',
234
- blueviolet: '#8a2be2',
235
- brown: '#a52a2a',
236
- burlywood: '#deb887',
237
- cadetblue: '#5f9ea0',
238
- chartreuse: '#7fff00',
239
- chocolate: '#d2691e',
240
- coral: '#ff7f50',
241
- cornflowerblue: '#6495ed',
242
- cornsilk: '#fff8dc',
243
- crimson: '#dc143c',
244
- cyan: '#00ffff',
245
- darkblue: '#00008b',
246
- darkcyan: '#008b8b',
247
- darkgoldenrod: '#b8860b',
248
- darkgray: '#a9a9a9',
249
- darkgreen: '#006400',
250
- darkgrey: '#a9a9a9',
251
- darkkhaki: '#bdb76b',
252
- darkmagenta: '#8b008b',
253
- darkolivegreen: '#556b2f',
254
- darkorange: '#ff8c00',
255
- darkorchid: '#9932cc',
256
- darkred: '#8b0000',
257
- darksalmon: '#e9967a',
258
- darkseagreen: '#8fbc8f',
259
- darkslateblue: '#483d8b',
260
- darkslategray: '#2f4f4f',
261
- darkslategrey: '#2f4f4f',
262
- darkturquoise: '#00ced1',
263
- darkviolet: '#9400d3',
264
- deeppink: '#ff1493',
265
- deepskyblue: '#00bfff',
266
- dimgray: '#696969',
267
- dimgrey: '#696969',
268
- dodgerblue: '#1e90ff',
269
- firebrick: '#b22222',
270
- floralwhite: '#fffaf0',
271
- forestgreen: '#228b22',
272
- fuchsia: '#ff00ff',
273
- gainsboro: '#dcdcdc',
274
- ghostwhite: '#f8f8ff',
275
- goldenrod: '#daa520',
276
- gold: '#ffd700',
277
- gray: '#808080',
278
- green: '#008000',
279
- greenyellow: '#adff2f',
280
- grey: '#808080',
281
- honeydew: '#f0fff0',
282
- hotpink: '#ff69b4',
283
- indianred: '#cd5c5c',
284
- indigo: '#4b0082',
285
- ivory: '#fffff0',
286
- khaki: '#f0e68c',
287
- lavenderblush: '#fff0f5',
288
- lavender: '#e6e6fa',
289
- lawngreen: '#7cfc00',
290
- lemonchiffon: '#fffacd',
291
- lightblue: '#add8e6',
292
- lightcoral: '#f08080',
293
- lightcyan: '#e0ffff',
294
- lightgoldenrodyellow: '#fafad2',
295
- lightgray: '#d3d3d3',
296
- lightgreen: '#90ee90',
297
- lightgrey: '#d3d3d3',
298
- lightpink: '#ffb6c1',
299
- lightsalmon: '#ffa07a',
300
- lightseagreen: '#20b2aa',
301
- lightskyblue: '#87cefa',
302
- lightslategray: '#778899',
303
- lightslategrey: '#778899',
304
- lightsteelblue: '#b0c4de',
305
- lightyellow: '#ffffe0',
306
- lime: '#00ff00',
307
- limegreen: '#32cd32',
308
- linen: '#faf0e6',
309
- magenta: '#ff00ff',
310
- maroon: '#800000',
311
- mediumaquamarine: '#66cdaa',
312
- mediumblue: '#0000cd',
313
- mediumorchid: '#ba55d3',
314
- mediumpurple: '#9370db',
315
- mediumseagreen: '#3cb371',
316
- mediumslateblue: '#7b68ee',
317
- mediumspringgreen: '#00fa9a',
318
- mediumturquoise: '#48d1cc',
319
- mediumvioletred: '#c71585',
320
- midnightblue: '#191970',
321
- mintcream: '#f5fffa',
322
- mistyrose: '#ffe4e1',
323
- moccasin: '#ffe4b5',
324
- navajowhite: '#ffdead',
325
- navy: '#000080',
326
- oldlace: '#fdf5e6',
327
- olive: '#808000',
328
- olivedrab: '#6b8e23',
329
- orange: '#ffa500',
330
- orangered: '#ff4500',
331
- orchid: '#da70d6',
332
- palegoldenrod: '#eee8aa',
333
- palegreen: '#98fb98',
334
- paleturquoise: '#afeeee',
335
- palevioletred: '#db7093',
336
- papayawhip: '#ffefd5',
337
- peachpuff: '#ffdab9',
338
- peru: '#cd853f',
339
- pink: '#ffc0cb',
340
- plum: '#dda0dd',
341
- powderblue: '#b0e0e6',
342
- purple: '#800080',
343
- rebeccapurple: '#663399',
344
- red: '#ff0000',
345
- rosybrown: '#bc8f8f',
346
- royalblue: '#4169e1',
347
- saddlebrown: '#8b4513',
348
- salmon: '#fa8072',
349
- sandybrown: '#f4a460',
350
- seagreen: '#2e8b57',
351
- seashell: '#fff5ee',
352
- sienna: '#a0522d',
353
- silver: '#c0c0c0',
354
- skyblue: '#87ceeb',
355
- slateblue: '#6a5acd',
356
- slategray: '#708090',
357
- slategrey: '#708090',
358
- snow: '#fffafa',
359
- springgreen: '#00ff7f',
360
- steelblue: '#4682b4',
361
- tan: '#d2b48c',
362
- teal: '#008080',
363
- thistle: '#d8bfd8',
364
- tomato: '#ff6347',
365
- turquoise: '#40e0d0',
366
- violet: '#ee82ee',
367
- wheat: '#f5deb3',
368
- white: '#ffffff',
369
- whitesmoke: '#f5f5f5',
370
- yellow: '#ffff00',
371
- yellowgreen: '#9acd32',
372
- };
373
-
374
- /* eslint-disable @typescript-eslint/no-redundant-type-constituents */
375
- /**
376
- * Given a string or object, convert that input to RGB
377
- *
378
- * Possible string inputs:
379
- * ```
380
- * "red"
381
- * "#f00" or "f00"
382
- * "#ff0000" or "ff0000"
383
- * "#ff000000" or "ff000000"
384
- * "rgb 255 0 0" or "rgb (255, 0, 0)"
385
- * "rgb 1.0 0 0" or "rgb (1, 0, 0)"
386
- * "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
387
- * "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
388
- * "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
389
- * "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
390
- * "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
391
- * ```
392
- */
393
- function inputToRGB(color) {
394
- var rgb = { r: 0, g: 0, b: 0 };
395
- var a = 1;
396
- var s = null;
397
- var v = null;
398
- var l = null;
399
- var ok = false;
400
- var format = false;
401
- if (typeof color === 'string') {
402
- color = stringInputToObject(color);
403
- }
404
- if (typeof color === 'object') {
405
- if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
406
- rgb = rgbToRgb(color.r, color.g, color.b);
407
- ok = true;
408
- format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';
409
- }
410
- else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
411
- s = convertToPercentage(color.s);
412
- v = convertToPercentage(color.v);
413
- rgb = hsvToRgb(color.h, s, v);
414
- ok = true;
415
- format = 'hsv';
416
- }
417
- else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
418
- s = convertToPercentage(color.s);
419
- l = convertToPercentage(color.l);
420
- rgb = hslToRgb(color.h, s, l);
421
- ok = true;
422
- format = 'hsl';
423
- }
424
- if (Object.prototype.hasOwnProperty.call(color, 'a')) {
425
- a = color.a;
426
- }
427
- }
428
- a = boundAlpha(a);
429
- return {
430
- ok: ok,
431
- format: color.format || format,
432
- r: Math.min(255, Math.max(rgb.r, 0)),
433
- g: Math.min(255, Math.max(rgb.g, 0)),
434
- b: Math.min(255, Math.max(rgb.b, 0)),
435
- a: a,
436
- };
437
- }
438
- // <http://www.w3.org/TR/css3-values/#integers>
439
- var CSS_INTEGER = '[-\\+]?\\d+%?';
440
- // <http://www.w3.org/TR/css3-values/#number-value>
441
- var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
442
- // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
443
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
444
- // Actual matching.
445
- // Parentheses and commas are optional, but not required.
446
- // Whitespace can take the place of commas or opening paren
447
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
448
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
449
- var matchers = {
450
- CSS_UNIT: new RegExp(CSS_UNIT),
451
- rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
452
- rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),
453
- hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),
454
- hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),
455
- hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),
456
- hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),
457
- hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
458
- hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
459
- hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
460
- hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
461
- };
462
- /**
463
- * Permissive string parsing. Take in a number of formats, and output an object
464
- * based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
465
- */
466
- function stringInputToObject(color) {
467
- color = color.trim().toLowerCase();
468
- if (color.length === 0) {
469
- return false;
470
- }
471
- var named = false;
472
- if (names[color]) {
473
- color = names[color];
474
- named = true;
475
- }
476
- else if (color === 'transparent') {
477
- return { r: 0, g: 0, b: 0, a: 0, format: 'name' };
478
- }
479
- // Try to match string input using regular expressions.
480
- // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
481
- // Just return an object and let the conversion functions handle that.
482
- // This way the result will be the same whether the tinycolor is initialized with string or object.
483
- var match = matchers.rgb.exec(color);
484
- if (match) {
485
- return { r: match[1], g: match[2], b: match[3] };
486
- }
487
- match = matchers.rgba.exec(color);
488
- if (match) {
489
- return { r: match[1], g: match[2], b: match[3], a: match[4] };
490
- }
491
- match = matchers.hsl.exec(color);
492
- if (match) {
493
- return { h: match[1], s: match[2], l: match[3] };
494
- }
495
- match = matchers.hsla.exec(color);
496
- if (match) {
497
- return { h: match[1], s: match[2], l: match[3], a: match[4] };
498
- }
499
- match = matchers.hsv.exec(color);
500
- if (match) {
501
- return { h: match[1], s: match[2], v: match[3] };
502
- }
503
- match = matchers.hsva.exec(color);
504
- if (match) {
505
- return { h: match[1], s: match[2], v: match[3], a: match[4] };
506
- }
507
- match = matchers.hex8.exec(color);
508
- if (match) {
509
- return {
510
- r: parseIntFromHex(match[1]),
511
- g: parseIntFromHex(match[2]),
512
- b: parseIntFromHex(match[3]),
513
- a: convertHexToDecimal(match[4]),
514
- format: named ? 'name' : 'hex8',
515
- };
516
- }
517
- match = matchers.hex6.exec(color);
518
- if (match) {
519
- return {
520
- r: parseIntFromHex(match[1]),
521
- g: parseIntFromHex(match[2]),
522
- b: parseIntFromHex(match[3]),
523
- format: named ? 'name' : 'hex',
524
- };
525
- }
526
- match = matchers.hex4.exec(color);
527
- if (match) {
528
- return {
529
- r: parseIntFromHex(match[1] + match[1]),
530
- g: parseIntFromHex(match[2] + match[2]),
531
- b: parseIntFromHex(match[3] + match[3]),
532
- a: convertHexToDecimal(match[4] + match[4]),
533
- format: named ? 'name' : 'hex8',
534
- };
535
- }
536
- match = matchers.hex3.exec(color);
537
- if (match) {
538
- return {
539
- r: parseIntFromHex(match[1] + match[1]),
540
- g: parseIntFromHex(match[2] + match[2]),
541
- b: parseIntFromHex(match[3] + match[3]),
542
- format: named ? 'name' : 'hex',
543
- };
544
- }
545
- return false;
546
- }
547
- /**
548
- * Check to see if it looks like a CSS unit
549
- * (see `matchers` above for definition).
550
- */
551
- function isValidCSSUnit(color) {
552
- return Boolean(matchers.CSS_UNIT.exec(String(color)));
553
- }
554
-
555
- var hueStep = 2; // 色相阶梯
556
-
557
- var saturationStep = 0.16; // 饱和度阶梯,浅色部分
558
-
559
- var saturationStep2 = 0.05; // 饱和度阶梯,深色部分
560
-
561
- var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分
562
-
563
- var brightnessStep2 = 0.15; // 亮度阶梯,深色部分
564
-
565
- var lightColorCount = 5; // 浅色数量,主色上
566
-
567
- var darkColorCount = 4; // 深色数量,主色下
568
- // 暗色主题颜色映射关系表
569
-
570
- var darkColorMap = [{
571
- index: 7,
572
- opacity: 0.15
573
- }, {
574
- index: 6,
575
- opacity: 0.25
576
- }, {
577
- index: 5,
578
- opacity: 0.3
579
- }, {
580
- index: 5,
581
- opacity: 0.45
582
- }, {
583
- index: 5,
584
- opacity: 0.65
585
- }, {
586
- index: 5,
587
- opacity: 0.85
588
- }, {
589
- index: 4,
590
- opacity: 0.9
591
- }, {
592
- index: 3,
593
- opacity: 0.95
594
- }, {
595
- index: 2,
596
- opacity: 0.97
597
- }, {
598
- index: 1,
599
- opacity: 0.98
600
- }]; // Wrapper function ported from TinyColor.prototype.toHsv
601
- // Keep it here because of `hsv.h * 360`
602
-
603
- function toHsv(_ref) {
604
- var r = _ref.r,
605
- g = _ref.g,
606
- b = _ref.b;
607
- var hsv = rgbToHsv(r, g, b);
608
- return {
609
- h: hsv.h * 360,
610
- s: hsv.s,
611
- v: hsv.v
612
- };
613
- } // Wrapper function ported from TinyColor.prototype.toHexString
614
- // Keep it here because of the prefix `#`
615
-
616
-
617
- function toHex(_ref2) {
618
- var r = _ref2.r,
619
- g = _ref2.g,
620
- b = _ref2.b;
621
- return "#".concat(rgbToHex(r, g, b));
622
- } // Wrapper function ported from TinyColor.prototype.mix, not treeshakable.
623
- // Amount in range [0, 1]
624
- // Assume color1 & color2 has no alpha, since the following src code did so.
625
-
626
-
627
- function mix(rgb1, rgb2, amount) {
628
- var p = amount / 100;
629
- var rgb = {
630
- r: (rgb2.r - rgb1.r) * p + rgb1.r,
631
- g: (rgb2.g - rgb1.g) * p + rgb1.g,
632
- b: (rgb2.b - rgb1.b) * p + rgb1.b
633
- };
634
- return rgb;
635
- }
636
-
637
- function getHue(hsv, i, light) {
638
- var hue; // 根据色相不同,色相转向不同
639
-
640
- if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) {
641
- hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i;
642
- } else {
643
- hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i;
644
- }
645
-
646
- if (hue < 0) {
647
- hue += 360;
648
- } else if (hue >= 360) {
649
- hue -= 360;
650
- }
651
-
652
- return hue;
653
- }
654
-
655
- function getSaturation(hsv, i, light) {
656
- // grey color don't change saturation
657
- if (hsv.h === 0 && hsv.s === 0) {
658
- return hsv.s;
659
- }
660
-
661
- var saturation;
662
-
663
- if (light) {
664
- saturation = hsv.s - saturationStep * i;
665
- } else if (i === darkColorCount) {
666
- saturation = hsv.s + saturationStep;
667
- } else {
668
- saturation = hsv.s + saturationStep2 * i;
669
- } // 边界值修正
670
-
671
-
672
- if (saturation > 1) {
673
- saturation = 1;
674
- } // 第一格的 s 限制在 0.06-0.1 之间
675
-
676
-
677
- if (light && i === lightColorCount && saturation > 0.1) {
678
- saturation = 0.1;
679
- }
680
-
681
- if (saturation < 0.06) {
682
- saturation = 0.06;
683
- }
684
-
685
- return Number(saturation.toFixed(2));
686
- }
687
-
688
- function getValue(hsv, i, light) {
689
- var value;
690
-
691
- if (light) {
692
- value = hsv.v + brightnessStep1 * i;
693
- } else {
694
- value = hsv.v - brightnessStep2 * i;
695
- }
696
-
697
- if (value > 1) {
698
- value = 1;
699
- }
700
-
701
- return Number(value.toFixed(2));
702
- }
703
-
704
- function generate$1(color) {
705
- var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
706
- var patterns = [];
707
- var pColor = inputToRGB(color);
708
-
709
- for (var i = lightColorCount; i > 0; i -= 1) {
710
- var hsv = toHsv(pColor);
711
- var colorString = toHex(inputToRGB({
712
- h: getHue(hsv, i, true),
713
- s: getSaturation(hsv, i, true),
714
- v: getValue(hsv, i, true)
715
- }));
716
- patterns.push(colorString);
717
- }
718
-
719
- patterns.push(toHex(pColor));
720
-
721
- for (var _i = 1; _i <= darkColorCount; _i += 1) {
722
- var _hsv = toHsv(pColor);
723
-
724
- var _colorString = toHex(inputToRGB({
725
- h: getHue(_hsv, _i),
726
- s: getSaturation(_hsv, _i),
727
- v: getValue(_hsv, _i)
728
- }));
729
-
730
- patterns.push(_colorString);
731
- } // dark theme patterns
732
-
733
-
734
- if (opts.theme === 'dark') {
735
- return darkColorMap.map(function (_ref3) {
736
- var index = _ref3.index,
737
- opacity = _ref3.opacity;
738
- var darkColorString = toHex(mix(inputToRGB(opts.backgroundColor || '#141414'), inputToRGB(patterns[index]), opacity * 100));
739
- return darkColorString;
740
- });
741
- }
742
-
743
- return patterns;
744
- }
745
-
746
- var presetPrimaryColors = {
747
- red: '#F5222D',
748
- volcano: '#FA541C',
749
- orange: '#FA8C16',
750
- gold: '#FAAD14',
751
- yellow: '#FADB14',
752
- lime: '#A0D911',
753
- green: '#52C41A',
754
- cyan: '#13C2C2',
755
- blue: '#1890FF',
756
- geekblue: '#2F54EB',
757
- purple: '#722ED1',
758
- magenta: '#EB2F96',
759
- grey: '#666666'
760
- };
761
- var presetPalettes = {};
762
- var presetDarkPalettes = {};
763
- Object.keys(presetPrimaryColors).forEach(function (key) {
764
- presetPalettes[key] = generate$1(presetPrimaryColors[key]);
765
- presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes
766
-
767
- presetDarkPalettes[key] = generate$1(presetPrimaryColors[key], {
768
- theme: 'dark',
769
- backgroundColor: '#141414'
770
- });
771
- presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
772
- });
773
- var blue = presetPalettes.blue;
774
-
775
- var contextKey = Symbol('iconContext');
776
- var useInjectIconContext = function useInjectIconContext() {
777
- return inject(contextKey, {
778
- prefixCls: ref('anticon'),
779
- rootClassName: ref(''),
780
- csp: ref()
781
- });
782
- };
783
-
784
- function canUseDom() {
785
- return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
786
- }
787
-
788
- function contains(root, n) {
789
- if (!root) {
790
- return false;
791
- } // Use native if support
792
-
793
-
794
- if (root.contains) {
795
- return root.contains(n);
796
- }
797
-
798
- return false;
799
- }
800
-
801
- var APPEND_ORDER = 'data-vc-order';
802
- var MARK_KEY = "vc-icon-key";
803
- var containerCache = new Map();
804
-
805
- function getMark() {
806
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
807
- mark = _ref.mark;
808
-
809
- if (mark) {
810
- return mark.startsWith('data-') ? mark : "data-".concat(mark);
811
- }
812
-
813
- return MARK_KEY;
814
- }
815
-
816
- function getContainer(option) {
817
- if (option.attachTo) {
818
- return option.attachTo;
819
- }
820
-
821
- var head = document.querySelector('head');
822
- return head || document.body;
823
- }
824
-
825
- function getOrder(prepend) {
826
- if (prepend === 'queue') {
827
- return 'prependQueue';
828
- }
829
-
830
- return prepend ? 'prepend' : 'append';
831
- }
832
- /**
833
- * Find style which inject by rc-util
834
- */
835
-
836
-
837
- function findStyles(container) {
838
- return Array.from((containerCache.get(container) || container).children).filter(function (node) {
839
- return node.tagName === 'STYLE';
840
- });
841
- }
842
-
843
- function injectCSS(css) {
844
- var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
845
-
846
- if (!canUseDom()) {
847
- return null;
848
- }
849
-
850
- var csp = option.csp,
851
- prepend = option.prepend;
852
- var styleNode = document.createElement('style');
853
- styleNode.setAttribute(APPEND_ORDER, getOrder(prepend));
854
-
855
- if (csp && csp.nonce) {
856
- styleNode.nonce = csp.nonce;
857
- }
858
-
859
- styleNode.innerHTML = css;
860
- var container = getContainer(option);
861
- var firstChild = container.firstChild;
862
-
863
- if (prepend) {
864
- // If is queue `prepend`, it will prepend first style and then append rest style
865
- if (prepend === 'queue') {
866
- var existStyle = findStyles(container).filter(function (node) {
867
- return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER));
868
- });
869
-
870
- if (existStyle.length) {
871
- container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
872
- return styleNode;
873
- }
874
- } // Use `insertBefore` as `prepend`
875
-
876
-
877
- container.insertBefore(styleNode, firstChild);
878
- } else {
879
- container.appendChild(styleNode);
880
- }
881
-
882
- return styleNode;
883
- }
884
-
885
- function findExistNode(key) {
886
- var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
887
- var container = getContainer(option);
888
- return findStyles(container).find(function (node) {
889
- return node.getAttribute(getMark(option)) === key;
890
- });
891
- }
892
- /**
893
- * qiankun will inject `appendChild` to insert into other
894
- */
895
-
896
- function syncRealContainer(container, option) {
897
- var cachedRealContainer = containerCache.get(container); // Find real container when not cached or cached container removed
898
-
899
- if (!cachedRealContainer || !contains(document, cachedRealContainer)) {
900
- var placeholderStyle = injectCSS('', option);
901
- var parentNode = placeholderStyle.parentNode;
902
- containerCache.set(container, parentNode);
903
- container.removeChild(placeholderStyle);
904
- }
905
- }
906
- function updateCSS(css, key) {
907
- var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
908
- var container = getContainer(option); // Sync real parent
909
-
910
- syncRealContainer(container, option);
911
- var existNode = findExistNode(key, option);
912
-
913
- if (existNode) {
914
- if (option.csp && option.csp.nonce && existNode.nonce !== option.csp.nonce) {
915
- existNode.nonce = option.csp.nonce;
916
- }
917
-
918
- if (existNode.innerHTML !== css) {
919
- existNode.innerHTML = css;
920
- }
921
-
922
- return existNode;
923
- }
924
-
925
- var newNode = injectCSS(css, option);
926
- newNode.setAttribute(getMark(option), key);
927
- return newNode;
928
- }
929
-
930
- function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$7(target, key, source[key]); }); } return target; }
931
-
932
- function _defineProperty$7(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
933
- function warn(valid, message) {
934
- // Support uglify
935
- if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
936
- console.error("Warning: ".concat(message));
937
- }
938
- }
939
- function warning(valid, message) {
940
- warn(valid, "[@ant-design/icons-vue] ".concat(message));
941
- }
942
-
943
-
944
- function isIconDefinition(target) {
945
- return typeof target === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && (typeof target.icon === 'object' || typeof target.icon === 'function');
946
- }
947
- function generate(node, key, rootProps) {
948
- if (!rootProps) {
949
- return h(node.tag, _objectSpread$7({
950
- key: key
951
- }, node.attrs), (node.children || []).map(function (child, index) {
952
- return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
953
- }));
954
- }
955
-
956
- return h(node.tag, _objectSpread$7({
957
- key: key
958
- }, rootProps, node.attrs), (node.children || []).map(function (child, index) {
959
- return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
960
- }));
961
- }
962
- function getSecondaryColor(primaryColor) {
963
- // choose the second color
964
- return generate$1(primaryColor)[0];
965
- }
966
- function normalizeTwoToneColors(twoToneColor) {
967
- if (!twoToneColor) {
968
- return [];
969
- }
970
-
971
- return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor];
972
- } // These props make sure that the SVG behaviours like general text.
973
- var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
974
-
975
- function getRoot(ele) {
976
- return ele && ele.getRootNode && ele.getRootNode();
977
- }
978
- /**
979
- * Check if is in shadowRoot
980
- */
981
-
982
-
983
- function inShadow(ele) {
984
- if (!canUseDom()) {
985
- return false;
986
- }
987
-
988
- return getRoot(ele) instanceof ShadowRoot;
989
- }
990
- /**
991
- * Return shadowRoot if possible
992
- */
993
-
994
-
995
- function getShadowRoot(ele) {
996
- return inShadow(ele) ? getRoot(ele) : null;
997
- }
998
-
999
- var useInsertStyles = function useInsertStyles() {
1000
- var _useInjectIconContext = useInjectIconContext(),
1001
- prefixCls = _useInjectIconContext.prefixCls,
1002
- csp = _useInjectIconContext.csp;
1003
-
1004
- var instance = getCurrentInstance();
1005
- var mergedStyleStr = iconStyles;
1006
-
1007
- if (prefixCls) {
1008
- mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls.value);
1009
- }
1010
-
1011
- nextTick(function () {
1012
- if (!canUseDom()) {
1013
- return;
1014
- }
1015
-
1016
- var ele = instance.vnode.el;
1017
- var shadowRoot = getShadowRoot(ele);
1018
- updateCSS(mergedStyleStr, '@ant-design-vue-icons', {
1019
- prepend: true,
1020
- csp: csp.value,
1021
- attachTo: shadowRoot
1022
- });
1023
- });
1024
- };
1025
-
1026
- var _excluded$1 = ["icon", "primaryColor", "secondaryColor"];
1027
-
1028
- function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
1029
-
1030
- function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
1031
-
1032
- function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$6(target, key, source[key]); }); } return target; }
1033
-
1034
- function _defineProperty$6(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1035
- var twoToneColorPalette = reactive({
1036
- primaryColor: '#333',
1037
- secondaryColor: '#E6E6E6',
1038
- calculated: false
1039
- });
1040
-
1041
- function setTwoToneColors(_ref) {
1042
- var primaryColor = _ref.primaryColor,
1043
- secondaryColor = _ref.secondaryColor;
1044
- twoToneColorPalette.primaryColor = primaryColor;
1045
- twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor);
1046
- twoToneColorPalette.calculated = !!secondaryColor;
1047
- }
1048
-
1049
- function getTwoToneColors() {
1050
- return _objectSpread$6({}, twoToneColorPalette);
1051
- }
1052
-
1053
- var IconBase = function IconBase(props, context) {
1054
- var _props$context$attrs = _objectSpread$6({}, props, context.attrs),
1055
- icon = _props$context$attrs.icon,
1056
- primaryColor = _props$context$attrs.primaryColor,
1057
- secondaryColor = _props$context$attrs.secondaryColor,
1058
- restProps = _objectWithoutProperties$1(_props$context$attrs, _excluded$1);
1059
-
1060
- var colors = twoToneColorPalette;
1061
-
1062
- if (primaryColor) {
1063
- colors = {
1064
- primaryColor: primaryColor,
1065
- secondaryColor: secondaryColor || getSecondaryColor(primaryColor)
1066
- };
1067
- }
1068
-
1069
- warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon));
1070
-
1071
- if (!isIconDefinition(icon)) {
1072
- return null;
1073
- }
1074
-
1075
- var target = icon;
1076
-
1077
- if (target && typeof target.icon === 'function') {
1078
- target = _objectSpread$6({}, target, {
1079
- icon: target.icon(colors.primaryColor, colors.secondaryColor)
1080
- });
1081
- }
1082
-
1083
- return generate(target.icon, "svg-".concat(target.name), _objectSpread$6({}, restProps, {
1084
- 'data-icon': target.name,
1085
- width: '1em',
1086
- height: '1em',
1087
- fill: 'currentColor',
1088
- 'aria-hidden': 'true'
1089
- })); // },
1090
- };
1091
-
1092
- IconBase.props = {
1093
- icon: Object,
1094
- primaryColor: String,
1095
- secondaryColor: String,
1096
- focusable: String
1097
- };
1098
- IconBase.inheritAttrs = false;
1099
- IconBase.displayName = 'IconBase';
1100
- IconBase.getTwoToneColors = getTwoToneColors;
1101
- IconBase.setTwoToneColors = setTwoToneColors;
1102
-
1103
- function _slicedToArray$1(arr, i) { return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest$1(); }
1104
-
1105
- function _nonIterableRest$1() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1106
-
1107
- function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
1108
-
1109
- function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1110
-
1111
- function _iterableToArrayLimit$1(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1112
-
1113
- function _arrayWithHoles$1(arr) { if (Array.isArray(arr)) return arr; }
1114
- function setTwoToneColor(twoToneColor) {
1115
- var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),
1116
- _normalizeTwoToneColo2 = _slicedToArray$1(_normalizeTwoToneColo, 2),
1117
- primaryColor = _normalizeTwoToneColo2[0],
1118
- secondaryColor = _normalizeTwoToneColo2[1];
1119
-
1120
- return IconBase.setTwoToneColors({
1121
- primaryColor: primaryColor,
1122
- secondaryColor: secondaryColor
1123
- });
1124
- }
1125
- function getTwoToneColor() {
1126
- var colors = IconBase.getTwoToneColors();
1127
-
1128
- if (!colors.calculated) {
1129
- return colors.primaryColor;
1130
- }
1131
-
1132
- return [colors.primaryColor, colors.secondaryColor];
1133
- }
1134
-
1135
- var InsertStyles = defineComponent({
1136
- name: 'InsertStyles',
1137
- setup: function setup() {
1138
- useInsertStyles();
1139
- return function () {
1140
- return null;
1141
- };
1142
- }
1143
- });
1144
-
1145
- var _excluded = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
1146
-
1147
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1148
-
1149
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1150
-
1151
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1152
-
1153
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1154
-
1155
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1156
-
1157
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1158
-
1159
- function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$5(target, key, source[key]); }); } return target; }
1160
-
1161
- function _defineProperty$5(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1162
-
1163
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
1164
-
1165
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
1166
-
1167
- setTwoToneColor(blue.primary);
1168
-
1169
- var Icon = function Icon(props, context) {
1170
- var _classObj;
1171
-
1172
- var _props$context$attrs = _objectSpread$5({}, props, context.attrs),
1173
- cls = _props$context$attrs["class"],
1174
- icon = _props$context$attrs.icon,
1175
- spin = _props$context$attrs.spin,
1176
- rotate = _props$context$attrs.rotate,
1177
- tabindex = _props$context$attrs.tabindex,
1178
- twoToneColor = _props$context$attrs.twoToneColor,
1179
- onClick = _props$context$attrs.onClick,
1180
- restProps = _objectWithoutProperties(_props$context$attrs, _excluded);
1181
-
1182
- var _useInjectIconContext = useInjectIconContext(),
1183
- prefixCls = _useInjectIconContext.prefixCls,
1184
- rootClassName = _useInjectIconContext.rootClassName;
1185
-
1186
- var classObj = (_classObj = {}, _defineProperty$5(_classObj, rootClassName.value, !!rootClassName.value), _defineProperty$5(_classObj, prefixCls.value, true), _defineProperty$5(_classObj, "".concat(prefixCls.value, "-").concat(icon.name), Boolean(icon.name)), _defineProperty$5(_classObj, "".concat(prefixCls.value, "-spin"), !!spin || icon.name === 'loading'), _classObj);
1187
- var iconTabIndex = tabindex;
1188
-
1189
- if (iconTabIndex === undefined && onClick) {
1190
- iconTabIndex = -1;
1191
- }
1192
-
1193
- var svgStyle = rotate ? {
1194
- msTransform: "rotate(".concat(rotate, "deg)"),
1195
- transform: "rotate(".concat(rotate, "deg)")
1196
- } : undefined;
1197
-
1198
- var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),
1199
- _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),
1200
- primaryColor = _normalizeTwoToneColo2[0],
1201
- secondaryColor = _normalizeTwoToneColo2[1];
1202
-
1203
- return createVNode("span", _objectSpread$5({
1204
- "role": "img",
1205
- "aria-label": icon.name
1206
- }, restProps, {
1207
- "onClick": onClick,
1208
- "class": [classObj, cls],
1209
- "tabindex": iconTabIndex
1210
- }), [createVNode(IconBase, {
1211
- "icon": icon,
1212
- "primaryColor": primaryColor,
1213
- "secondaryColor": secondaryColor,
1214
- "style": svgStyle
1215
- }, null), createVNode(InsertStyles, null, null)]);
1216
- };
1217
-
1218
- Icon.props = {
1219
- spin: Boolean,
1220
- rotate: Number,
1221
- icon: Object,
1222
- twoToneColor: [String, Array]
1223
- };
1224
- Icon.displayName = 'AntdIcon';
1225
- Icon.inheritAttrs = false;
1226
- Icon.getTwoToneColor = getTwoToneColor;
1227
- Icon.setTwoToneColor = setTwoToneColor;
1228
-
1229
- // This icon file is generated automatically.
1230
- var AudioMutedOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z" } }, { "tag": "path", "attrs": { "d": "M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z" } }] }, "name": "audio-muted", "theme": "outlined" };
1231
-
1232
- function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } return target; }
1233
-
1234
- function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1235
-
1236
- var AudioMutedOutlined = function AudioMutedOutlined(props, context) {
1237
- var p = _objectSpread$4({}, props, context.attrs);
1238
-
1239
- return createVNode(Icon, _objectSpread$4({}, p, {
1240
- "icon": AudioMutedOutlined$2
1241
- }), null);
1242
- };
1243
-
1244
- AudioMutedOutlined.displayName = 'AudioMutedOutlined';
1245
- AudioMutedOutlined.inheritAttrs = false;
1246
- var AudioMutedOutlined$1 = AudioMutedOutlined;
1247
-
1248
- // This icon file is generated automatically.
1249
- var AudioOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z" } }] }, "name": "audio", "theme": "outlined" };
1250
-
1251
- function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
1252
-
1253
- function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1254
-
1255
- var AudioOutlined = function AudioOutlined(props, context) {
1256
- var p = _objectSpread$3({}, props, context.attrs);
1257
-
1258
- return createVNode(Icon, _objectSpread$3({}, p, {
1259
- "icon": AudioOutlined$2
1260
- }), null);
1261
- };
1262
-
1263
- AudioOutlined.displayName = 'AudioOutlined';
1264
- AudioOutlined.inheritAttrs = false;
1265
- var AudioOutlined$1 = AudioOutlined;
1266
-
1267
- // This icon file is generated automatically.
1268
- var CloseOutlined$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
1269
-
1270
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
1271
-
1272
- function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1273
-
1274
- var CloseOutlined = function CloseOutlined(props, context) {
1275
- var p = _objectSpread$2({}, props, context.attrs);
1276
-
1277
- return createVNode(Icon, _objectSpread$2({}, p, {
1278
- "icon": CloseOutlined$1
1279
- }), null);
1280
- };
1281
-
1282
- CloseOutlined.displayName = 'CloseOutlined';
1283
- CloseOutlined.inheritAttrs = false;
1284
-
1285
- // This icon file is generated automatically.
1286
- var CloudUploadOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z" } }, { "tag": "path", "attrs": { "d": "M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z" } }] }, "name": "cloud-upload", "theme": "outlined" };
1287
-
1288
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
1289
-
1290
- function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1291
-
1292
- var CloudUploadOutlined = function CloudUploadOutlined(props, context) {
1293
- var p = _objectSpread$1({}, props, context.attrs);
1294
-
1295
- return createVNode(Icon, _objectSpread$1({}, p, {
1296
- "icon": CloudUploadOutlined$1
1297
- }), null);
1298
- };
1299
-
1300
- CloudUploadOutlined.displayName = 'CloudUploadOutlined';
1301
- CloudUploadOutlined.inheritAttrs = false;
1302
-
1303
- // This icon file is generated automatically.
1304
- var LinkOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" } }] }, "name": "link", "theme": "outlined" };
1305
-
1306
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
1307
-
1308
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1309
-
1310
- var LinkOutlined = function LinkOutlined(props, context) {
1311
- var p = _objectSpread({}, props, context.attrs);
1312
-
1313
- return createVNode(Icon, _objectSpread({}, p, {
1314
- "icon": LinkOutlined$1
1315
- }), null);
1316
- };
1317
-
1318
- LinkOutlined.displayName = 'LinkOutlined';
1319
- LinkOutlined.inheritAttrs = false;
1320
-
1321
- export { AudioMutedOutlined$1 as A, CloseOutlined as C, LinkOutlined as L, CloudUploadOutlined as a, AudioOutlined$1 as b };