@dpuse/dpuse-shared 1.0.135 → 1.0.137
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/README.md +10 -10
- package/dist/dpuse-shared.es.js +134 -83
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/component/dataView/dataFormatIcons.d.ts +6 -0
- package/dist/types/src/component/dataView/index.d.ts +2 -2
- package/dist/types/src/component/module/connector/index.d.ts +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -239,16 +239,16 @@ This report is updated with each release, from the bundle the release builds, us
|
|
|
239
239
|
|
|
240
240
|
_Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS._
|
|
241
241
|
|
|
242
|
-
| Chunk/Module/File | Composition
|
|
243
|
-
| :-------------------------------------------------------------------------- |
|
|
244
|
-
| **dist/dpuse-shared.es.js** |
|
|
245
|
-
| src → index.ts +
|
|
246
|
-
| ↳ index.ts |
|
|
247
|
-
| ↳
|
|
248
|
-
| ↳
|
|
249
|
-
| ↳
|
|
250
|
-
| valibot → dist/index.mjs |
|
|
251
|
-
| (bundler output, whitespace & JSON) |
|
|
242
|
+
| Chunk/Module/File | Composition |
|
|
243
|
+
| :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 54.3 kB · gzip 15.6 kB · 100.0% of the build |
|
|
245
|
+
| src → index.ts + 10 more | `███████████████░░░░░` 77.0% · 41.8 kB |
|
|
246
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒▒░░░░░░░░░░░░` 38.7% · 21.0 kB |
|
|
247
|
+
| ↳ dataFormatIcons.ts | `▒▒▒▒▒▒░░░░░░░░░░░░░░` 31.7% · 17.2 kB |
|
|
248
|
+
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.3% · 1.2 kB |
|
|
249
|
+
| ↳ 8 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.3% · 2.3 kB |
|
|
250
|
+
| valibot → dist/index.mjs | `███░░░░░░░░░░░░░░░░░` 12.9% · 7.0 kB |
|
|
251
|
+
| (bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 10.1% · 5.5 kB |
|
|
252
252
|
|
|
253
253
|
Bars show each row's share of its output file. ↳ rows are part of the row above.
|
|
254
254
|
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -478,9 +478,61 @@ function ce(e, t = "en") {
|
|
|
478
478
|
};
|
|
479
479
|
}
|
|
480
480
|
//#endregion
|
|
481
|
+
//#region src/component/dataView/dataFormatIcons.ts
|
|
482
|
+
var le = {
|
|
483
|
+
arrow: {
|
|
484
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"svglite\" width=\"1350.00pt\" height=\"1181.25pt\" viewBox=\"0 0 1350.00 1181.25\"><defs><style type=\"text/css\"><![CDATA[ .svglite line, .svglite polyline, .svglite polygon, .svglite path, .svglite rect, .svglite circle { fill: none; stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; } ]]></style></defs><rect width=\"100%\" height=\"100%\" style=\"stroke: none; fill: none;\"/><defs><clipPath id=\"cpMC4wMHwxMzUwLjAwfDAuMDB8MTE4MS4yNQ==\"><rect x=\"0.00\" y=\"0.00\" width=\"1350.00\" height=\"1181.25\" /></clipPath></defs><g clip-path=\"url(#cpMC4wMHwxMzUwLjAwfDAuMDB8MTE4MS4yNQ==)\"><rect x=\"0.00\" y=\"0.00\" width=\"1350.00\" height=\"1181.25\" style=\"stroke-width: 0.75;\" /><polygon points=\"168.75,168.75 590.62,590.62 168.75,1012.50 168.75,843.75 421.88,590.62 168.75,337.50 168.75,168.75 \" style=\"stroke-width: 1.07; fill: #000000;\" /><polygon points=\"464.06,168.75 885.94,590.62 464.06,1012.50 464.06,843.75 717.19,590.62 464.06,337.50 464.06,168.75 \" style=\"stroke-width: 1.07; fill: #000000;\" /><polygon points=\"759.38,168.75 1181.25,590.62 759.38,1012.50 759.38,843.75 1012.50,590.62 759.38,337.50 759.38,168.75 \" style=\"stroke-width: 1.07; fill: #000000;\" /></g></svg>",
|
|
485
|
+
iconDark: "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" class=\"svglite\" width=\"1350.00pt\" height=\"1181.25pt\" viewBox=\"0 0 1350.00 1181.25\"><defs><style type=\"text/css\"><![CDATA[ .svglite line, .svglite polyline, .svglite polygon, .svglite path, .svglite rect, .svglite circle { fill: none; stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; } ]]></style></defs><rect width=\"100%\" height=\"100%\" style=\"stroke: none; fill: none;\"/><defs><clipPath id=\"cpMC4wMHwxMzUwLjAwfDAuMDB8MTE4MS4yNQ==\"><rect x=\"0.00\" y=\"0.00\" width=\"1350.00\" height=\"1181.25\" /></clipPath></defs><g clip-path=\"url(#cpMC4wMHwxMzUwLjAwfDAuMDB8MTE4MS4yNQ==)\"><rect x=\"0.00\" y=\"0.00\" width=\"1350.00\" height=\"1181.25\" style=\"stroke-width: 0.75;\" /><polygon points=\"168.75,168.75 590.62,590.62 168.75,1012.50 168.75,843.75 421.88,590.62 168.75,337.50 168.75,168.75 \" style=\"stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;\" /><polygon points=\"464.06,168.75 885.94,590.62 464.06,1012.50 464.06,843.75 717.19,590.62 464.06,337.50 464.06,168.75 \" style=\"stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;\" /><polygon points=\"759.38,168.75 1181.25,590.62 759.38,1012.50 759.38,843.75 1012.50,590.62 759.38,337.50 759.38,168.75 \" style=\"stroke-width: 1.07; stroke: #FFFFFF; fill: #FFFFFF;\" /></g></svg>"
|
|
486
|
+
},
|
|
487
|
+
avro: {
|
|
488
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"35\" height=\"30\" viewBox=\"2 2 35 30\"><path fill=\"#0068e0\" d=\"m 11.323019,20.31228 1.54227,4.70955 24.13142,6.882311 z\"/><path fill=\"#000094\" d=\"m 19.74759,12.513621 c 0.296701,1.17482 -0.0154,1.921136 -1.916568,1.736268 L 36.900852,31.9224 c 0.216248,0.08673 0.253906,-0.0582 0.104415,-0.279013 z\"/><path fill=\"#1cccfc\" d=\"m 19.141638,3.9863335 c 0,0 -0.680128,0.6419002 0.03537,1.4732323 0.530637,0.6173653 1.32431,0.2385015 1.32431,0.2385015 0,0 0.730909,-0.4102455 0.175738,-1.2752416 C 19.955281,3.297646 19.141638,3.9863335 19.141638,3.9863335 Z M 37.043496,31.999998 9.9901505,19.948822 c 0,0 -8.8393814,-5.467278 -7.923605,-7.626915 0.8918121,-2.090598 8.7703415,2.121979 9.6039545,2.315975 0.833613,0.195709 1.297493,-0.332076 1.312898,-0.700099 0.02454,-0.530637 -1.170253,-2.048375 -0.550607,-2.696551 0.617365,-0.646465 2.636637,0.612801 2.636637,0.612801 l 1.638127,1.134309 z\"/><path fill=\"#1cccfc\" d=\"M 37.150194,31.886453 19.297405,12.110222 c 0,0 -3.215773,-3.6511281 -3.082258,-4.6964268 0.133515,-1.0452988 4.404285,2.2914409 4.404285,2.2914409 0,0 0.474721,0.4570329 0.924906,0.3788639 0.450185,-0.07589 -0.03138,-0.8244852 -0.03138,-0.8244852 0,0 -0.737756,-1.7140161 -0.245348,-2.0215576 0.495261,-0.3052592 1.745396,0.9848175 1.745396,0.9848175 0,0 0.312105,0.3235177 0.639617,0.2362192 0.327511,-0.08901 0.151773,-0.8085089 0.151773,-0.8085089 0,0 -2.257774,-5.2065236 -1.272958,-5.5945166 1.50233,-0.5951128 3.641994,3.7133212 4.359781,5.0547499 0.180302,0.3703051 10.258977,24.7756347 10.258977,24.7756347 z M 9.2900523,7.4160775 c 0,0 -0.9157763,0.6065243 0.1027039,1.772215 0.9363168,1.0743985 1.7699308,0.5169436 1.7699308,0.5169436 0,0 0.864424,-0.5283551 0.03538,-1.5245842 C 10.101413,6.863758 9.2900523,7.4160775 9.2900523,7.4160775 Z\"/></svg>",
|
|
489
|
+
iconDark: null
|
|
490
|
+
},
|
|
491
|
+
dtv: {
|
|
492
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><path fill=\"#91d290\" d=\"M22.038 2H6.375a1.755 1.755 0 0 0-1.75 1.75v24.5A1.755 1.755 0 0 0 6.375 30h19.25a1.755 1.755 0 0 0 1.75-1.75V6.856Zm.525 2.844l1.663 1.531h-1.663ZM6.375 28.25V3.75h14.438v4.375h4.813V28.25Z\"/><path fill=\"#73b568\" d=\"M8.125 15.097h13.076v1.75H8.125zm0 9.342h9.762v1.75H8.125zm0-4.676h15.75v1.75H8.125zm0-9.533h15.75v1.75H8.125z\"/></svg>",
|
|
493
|
+
iconDark: null
|
|
494
|
+
},
|
|
495
|
+
json: {
|
|
496
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><defs><linearGradient id=\"SVGpjNFndWy\" x1=\"-683.873\" x2=\"-664.125\" y1=\"-565.884\" y2=\"-585.635\" gradientTransform=\"matrix(.999 0 0 -.999 688.969 -558.754)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\"/><stop offset=\"1\" stop-color=\"#fff\"/></linearGradient><linearGradient id=\"SVGEqVL8KIX\" x1=\"-663.231\" x2=\"-682.979\" y1=\"-584.741\" y2=\"-564.99\" href=\"#SVGpjNFndWy\"/></defs><path fill=\"url(#SVGpjNFndWy)\" d=\"M15.976 22.842c6.195 8.445 12.257-2.357 12.248-8.853c-.01-7.679-7.794-11.972-12.253-11.972A14.116 14.116 0 0 0 2 16.024C2 25.018 9.812 30 15.971 30c-1.394-.2-6.039-1.2-6.1-11.894c-.042-7.236 2.36-10.126 6.091-8.855a7.11 7.11 0 0 1 4.115 6.816a7.13 7.13 0 0 1-4.101 6.775\"/><path fill=\"url(#SVGEqVL8KIX)\" d=\"M15.969 9.245c-4.093-1.411-9.108 1.963-9.108 8.72C6.862 29 15.038 30 16.029 30A14.116 14.116 0 0 0 30 15.994C30 7 22.188 2.017 16.029 2.017c1.706-.236 9.195 1.846 9.195 12.081c0 6.675-5.592 10.308-9.229 8.756a7.11 7.11 0 0 1-4.115-6.816a7.17 7.17 0 0 1 4.089-6.793\"/></svg>",
|
|
497
|
+
iconDark: null
|
|
498
|
+
},
|
|
499
|
+
jsonl: {
|
|
500
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><defs><linearGradient id=\"SVGpjNFndWy\" x1=\"-683.873\" x2=\"-664.125\" y1=\"-565.884\" y2=\"-585.635\" gradientTransform=\"matrix(.999 0 0 -.999 688.969 -558.754)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\"/><stop offset=\"1\" stop-color=\"#fff\"/></linearGradient><linearGradient id=\"SVGEqVL8KIX\" x1=\"-663.231\" x2=\"-682.979\" y1=\"-584.741\" y2=\"-564.99\" href=\"#SVGpjNFndWy\"/></defs><path fill=\"url(#SVGpjNFndWy)\" d=\"M15.976 22.842c6.195 8.445 12.257-2.357 12.248-8.853c-.01-7.679-7.794-11.972-12.253-11.972A14.116 14.116 0 0 0 2 16.024C2 25.018 9.812 30 15.971 30c-1.394-.2-6.039-1.2-6.1-11.894c-.042-7.236 2.36-10.126 6.091-8.855a7.11 7.11 0 0 1 4.115 6.816a7.13 7.13 0 0 1-4.101 6.775\"/><path fill=\"url(#SVGEqVL8KIX)\" d=\"M15.969 9.245c-4.093-1.411-9.108 1.963-9.108 8.72C6.862 29 15.038 30 16.029 30A14.116 14.116 0 0 0 30 15.994C30 7 22.188 2.017 16.029 2.017c1.706-.236 9.195 1.846 9.195 12.081c0 6.675-5.592 10.308-9.229 8.756a7.11 7.11 0 0 1-4.115-6.816a7.17 7.17 0 0 1 4.089-6.793\"/></svg>",
|
|
501
|
+
iconDark: null
|
|
502
|
+
},
|
|
503
|
+
markdown: {
|
|
504
|
+
icon: "<svg fill=\"none\" height=\"128\" viewBox=\"0 0 208 128\" width=\"208\" xmlns=\"http://www.w3.org/2000/svg\"><g fill=\"#000\"><path clip-rule=\"evenodd\" d=\"m15 10c-2.7614 0-5 2.2386-5 5v98c0 2.761 2.2386 5 5 5h178c2.761 0 5-2.239 5-5v-98c0-2.7614-2.239-5-5-5zm-15 5c0-8.28427 6.71573-15 15-15h178c8.284 0 15 6.71573 15 15v98c0 8.284-6.716 15-15 15h-178c-8.28427 0-15-6.716-15-15z\" fill-rule=\"evenodd\"/><path d=\"m30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zm125 0-30-33h20v-35h20v35h20z\"/></g></svg>",
|
|
505
|
+
iconDark: "<svg fill=\"none\" height=\"128\" viewBox=\"0 0 208 128\" width=\"208\" xmlns=\"http://www.w3.org/2000/svg\"><g fill=\"#fff\"><path clip-rule=\"evenodd\" d=\"m15 10c-2.7614 0-5 2.2386-5 5v98c0 2.761 2.2386 5 5 5h178c2.761 0 5-2.239 5-5v-98c0-2.7614-2.239-5-5-5zm-15 5c0-8.28427 6.71573-15 15-15h178c8.284 0 15 6.71573 15 15v98c0 8.284-6.716 15-15 15h-178c-8.28427 0-15-6.716-15-15z\" fill-rule=\"evenodd\"/><path d=\"m30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zm125 0-30-33h20v-35h20v35h20z\"/></g></svg>"
|
|
506
|
+
},
|
|
507
|
+
ods: {
|
|
508
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><defs><linearGradient id=\"SVGIqJReSyg\" x1=\"4\" x2=\"28\" y1=\"31\" y2=\"1\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#007c3c\"/><stop offset=\"1\" stop-color=\"#78fc4e\"/></linearGradient></defs><g fill-rule=\"evenodd\" stroke-linecap=\"square\"><path fill=\"url(#SVGIqJReSyg)\" d=\"M7 0C4.784 0 3 1.784 3 4v24c0 2.216 1.784 4 4 4h18c2.216 0 4-1.784 4-4V12L17 0zm13 0l9 9V0z\" transform=\"translate(2 2)scale(.875)\"/><path fill-opacity=\".199\" d=\"M4.625 25.625v.875c0 1.939 1.561 3.5 3.5 3.5h15.75c1.939 0 3.5-1.561 3.5-3.5v-.875c0 1.939-1.561 3.5-3.5 3.5H8.125a3.49 3.49 0 0 1-3.5-3.5\"/><path fill-opacity=\".201\" d=\"M19.5 2h1.225l6.65 6.65v1.225z\"/><path fill=\"#fafafa\" d=\"M9.875 13.375A.873.873 0 0 0 9 14.25v6.125c0 .485.39.875.875.875h5.25v-.875h-1.75V19.5h1.75v-.875h-1.75v-.875h7v-3.5a.873.873 0 0 0-.875-.875zm0 .875H12.5v.875H9.875zm3.5 0H16v.875h-2.625zm3.5 0H19.5v.875h-2.625zm-7 1.75H12.5v.875H9.875zm3.5 0H16v.875h-2.625zm3.5 0H19.5v.875h-2.625zm-7 1.75H12.5v.875H9.875zm0 1.75H12.5v.875H9.875z\"/><path fill=\"#b4f48b\" d=\"M16 17.75a.873.873 0 0 0-.875.875V23c0 .485.39.875.875.875h6.125c.485 0 .875-.39.875-.875v-4.375a.873.873 0 0 0-.875-.875zm1.75.875h.875V23h-.875zM16 19.5h.875V23H16zm5.25.875h.875V23h-.875zm-1.75.875h.875V23H19.5z\"/></g></svg>",
|
|
509
|
+
iconDark: null
|
|
510
|
+
},
|
|
511
|
+
parquet: {
|
|
512
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><path fill=\"#50abf1\" d=\"M14.67 26.604c-1.015-1.218-1.116-1.32-1.015-1.522L27.861 11.18c.102-.102 1.827.71 2.131 1.116c.203.203-1.015 1.42-6.799 7.915l-7.103 7.712s-.811-.609-1.42-1.32m-3.146-3.348l-1.015-1.319c.102-.203 7.915-7.001 8.118-7.001c.102 0 2.03 1.522 2.03 1.724c0 .203-7.915 7.611-8.118 7.611zm-2.74-3.247q-.811-1.015-.71-1.116l3.856-2.841l1.725 1.623c0 .203-3.653 3.247-3.856 3.247q-.304 0-1.015-1.014M6.45 17.37q-1.014-.913-.608-1.015l11.162-7.813c.202 0 1.725 1.014 1.725 1.116L7.364 18.283zm7.306-1.116q-.811-.71-.811-1.015l.811-.71l4.77-3.653l4.059-3.045c.304 0 1.826 1.015 1.725 1.015c0 .305-9.437 8.118-9.64 8.118zm-9.335-1.218q-.71-.71-.406-.913l7.61-4.77a4.06 4.06 0 0 1 1.421 1.117a80 80 0 0 1-8.016 5.48zm16.236 0l-1.015-.812l5.378-4.769q.102-.304 1.218.304l1.015.71a70 70 0 0 1-5.581 5.277zm-17.961-2.03l-.71-.71l.304-.203l7.103-4.16l6.495-3.856l.608.304l.71.508c0 .101-14.002 8.93-14.205 8.93zm10.147-3.45q-.609-.405-.609-.608q.203-.406 2.841-2.03l2.842-1.624l.71.406l.71.508c0 .203-5.58 3.957-5.784 3.957zm5.682-.811l-.71-.61l2.334-1.623l1.522.913l-.203.305c-.304.406-2.03 1.522-2.03 1.522z\"/></svg>",
|
|
513
|
+
iconDark: null
|
|
514
|
+
},
|
|
515
|
+
sav: {
|
|
516
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 128 128\"><path fill=\"#CC1E4C\" d=\"M125 80c-1.7 0-3.1 1.3-3.1 3s1.3 3 3.1 3c1.7 0 3-1.3 3-3s-1.3-3-3-3zm-.1.5c1.4 0 2.4 1.1 2.4 2.5s-1 2.5-2.3 2.5c-1.4 0-2.4-1.1-2.4-2.5s.9-2.4 2.3-2.5zm-1 .8v3.4h.6v-1.5h.6l.9 1.5h.6l-.9-1.6c.6 0 .8-.4.8-.9 0-.6-.4-.9-1.2-.9h-1.4zm.5 1.5v-1.1h.7c.5 0 .7.2.7.6s-.3.6-.6.6l-.8-.1zm-93 10.4c-1.6-1.2-3.5-2.2-6.1-3-3.3-1.1-8.1-2.2-10-2.9-1.2-.5-1.7-1.2-1.7-2.2 0-1.4 1.7-2.2 3.7-2.3 3.3.1 4.3 2 4.5 3.3h9.6v7.1zm12 8.9h7.1c6.2-.1 11.2-3.2 13.7-7.7.2-.4.4-.7.6-1.1.4.5.7.7 1.1 1.1 1.7 1.5 3.9 2.6 6.2 3.3 3.7 1.3 6.6 2.2 7.6 2.6 1.9.8 3.1 1.4 3.1 3.1 0 2-2.2 2.8-4.5 2.9-3.1-.1-6.2-1.6-6.1-4.7H60c.6 8.1 8.6 14.4 18 14.5 5.7-.1 11-1.7 14.4-5.8 3.4 3.5 7.4 5.7 13 5.8 8.9-.1 18.1-4.5 18.2-13.9 0-3-.8-5.6-2.7-7.8-1.7-2-4.1-3.3-7.4-4.2-3.3-1.1-8.1-2.2-10-2.9-1.2-.5-1.7-1.2-1.7-2.2 0-1.4 1.7-2.2 3.7-2.3 3.3.1 4.3 2 4.5 3.3h11.6c.1-8-6.6-13.3-16.1-13.3-7.1 0-11.9 2.7-14.3 6.6-2.6-4.1-7.8-6.6-14.3-6.6-6.8 0-11.5 2.6-14 6.3-2.8-3.6-7.4-5.9-13-5.9H31.4v6.1c-2.6-4.1-7.8-6.5-14.2-6.5-9.9 0-15.3 5.5-15.8 11.8 0 3.9 1.9 7.4 4.8 9.9 1.7 1.5 3.7 2.6 6 3.3 3.7 1.3 6.6 2.2 7.6 2.6 1.9.8 3.1 1.4 3.1 3.1 0 2-2.3 2.8-4.5 2.9-3.1-.1-6.2-1.6-6.1-4.7H0c.6 8.1 8.6 14.4 18 14.5 5.2-.1 10-1.5 13.2-4.5v3.8h12l.2-13.4zm0-18.9h6.5c2.4 0 4.5 2 4.5 4.5s-2 4.5-4.5 4.5h-6.5v-9zm49.1 11.3c-1.7-2-4.1-3.3-7.4-4.2-3.3-1.1-8.1-2.2-9.9-2.9-1.3-.5-1.9-1.2-1.9-2.2 0-1.4 1.7-2.2 3.7-2.3 3.4.1 4.3 2 4.5 3.3h8.2c.5 3.2 2.1 6.1 4.7 8.3 1.7 1.5 3.8 2.6 6.1 3.3 3.7 1.3 6.6 2.2 7.5 2.6 2 .8 3.1 1.4 3.1 3.1 0 2-2.3 2.8-4.5 2.9-3.1-.1-6.2-1.6-6.1-4.7H95c0-2.9-.9-5.3-2.5-7.2z\"/><path fill=\"#1F70C1\" d=\"M0 10.7v3.5h24.9v-3.5H0zm28.4 0v3.5H64s-3.6-3.5-8.4-3.5H28.4zm42.5 0v3.5h21.5l-1.3-3.5H70.9zm36.9 0l-1.3 3.5h21.3v-3.5h-20zM0 17.5V21h24.9v-3.5H0zm28.4 0V21H68s-.5-2.7-1.3-3.5H28.4zm42.5 0V21h23.8l-1.2-3.5H70.9zm34.3 0L104 21h23.7v-3.5h-22.5zm-98 6.8v3.5H18v-3.5H7.2zm28.4 0v3.5h10.8v-3.5H35.6zm21.3 0v3.5h10.8s.7-1.9.7-3.5H56.9zm21.2 0v3.5h19.1l-1.3-3.5H78.1zm24.8 0l-1.3 3.5h19.2v-3.5h-17.9zM7.2 31.2v3.5H18v-3.5H7.2zm28.4 0v3.5h27.6s2.3-1.8 3-3.5H35.6zm42.5 0v3.5h10.8v-1.9l.7 1.9h19.8l.7-1.9v1.9h10.8v-3.5h-20.3l-1.1 3-1.1-3H78.1zM7.2 38v3.5H18V38H7.2zm28.4 0v3.5h30.6c-.7-1.7-3-3.5-3-3.5H35.6zm42.5 0v3.5h10.8V38H78.1zm12.7 0l1.3 3.5h14.8l1.2-3.5H90.8zm19.3 0v3.5h10.8V38h-10.8zM7.2 44.8v3.5H18v-3.5H7.2zm28.4 0v3.5h10.8v-3.5H35.6zm21.3 0v3.5h11.5c0-1.7-.7-3.5-.7-3.5H56.9zm21.2 0v3.5h10.8v-3.5H78.1zm15.2 0l1.3 3.5h9.9l1.3-3.5H93.3zm16.8 0v3.5h10.8v-3.5h-10.8zM.2 51.6v3.5h24.9v-3.5H.2zm28.2 0v3.5h38.4c.8-.8 1.3-3.5 1.3-3.5H28.4zm42.7 0v3.5h17.8v-3.5H71.1zm24.6 0l1.3 3.5h5.1l1.2-3.5h-7.6zm14.4 0v3.5H128v-3.5h-17.9zM.2 58.4v3.5h24.9v-3.5H.2zm28.2 0v3.5h27.1c4.8 0 8.4-3.5 8.4-3.5H28.4zm42.7 0v3.5h17.8v-3.5H71.1zm27.1 0l1.3 3.5h.2l1.3-3.5h-2.8zm11.9 0v3.5H128v-3.5h-17.9z\"/></svg>",
|
|
517
|
+
iconDark: null
|
|
518
|
+
},
|
|
519
|
+
sqlite: {
|
|
520
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><defs><linearGradient id=\"SVGwuIXyeeC\" x1=\"-118.318\" x2=\"-116.751\" y1=\"45.638\" y2=\"45.638\" gradientTransform=\"matrix(0 11.486 11.486 0 -510.889 1363.307)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#97d9f6\"/><stop offset=\".92\" stop-color=\"#0f80cc\"/><stop offset=\"1\" stop-color=\"#0f80cc\"/></linearGradient></defs><path fill=\"#0f80cc\" d=\"M23.192 3.242H5.623a2.147 2.147 0 0 0-2.141 2.141v19.376A2.147 2.147 0 0 0 5.623 26.9h11.572c-.132-5.758 1.835-16.932 5.997-23.658\"/><path fill=\"url(#SVGwuIXyeeC)\" d=\"M22.554 3.867H5.623a1.52 1.52 0 0 0-1.516 1.516v17.962a42 42 0 0 1 13.569-2.684a123.6 123.6 0 0 1 4.878-16.794\"/><path fill=\"#003b57\" d=\"M27.29 2.608c-1.2-1.073-2.66-.642-4.1.634q-.32.286-.638.625A25.4 25.4 0 0 0 17.1 15a10 10 0 0 1 .634 1.822c.036.14.069.272.1.384c.062.265.1.437.1.437s-.022-.083-.113-.346l-.059-.17l-.038-.094c-.16-.373-.6-1.16-.8-1.5c-.167.493-.315.954-.438 1.371a12 12 0 0 1 .908 2.8s-.03-.115-.171-.515a19 19 0 0 0-.9-1.708a4 4 0 0 0-.264 1.724a6 6 0 0 1 .493 1.383c.334 1.283.566 2.846.566 2.846l.02.263a26 26 0 0 0 .065 3.205a11.4 11.4 0 0 0 .584 3.1l.18-.1a13.9 13.9 0 0 1-.478-4.628a35.3 35.3 0 0 1 1.938-9.688c2.01-5.308 4.8-9.568 7.35-11.6c-2.326 2.1-5.474 8.9-6.417 11.418a45.7 45.7 0 0 0-2.254 8A6.2 6.2 0 0 1 21.39 20s1.233-1.521 2.674-3.693a26 26 0 0 0-2.755.733c-.7.294-.889.394-.889.394a24 24 0 0 1 4.215-2.007c2.676-4.215 5.592-10.2 2.656-12.824\"/></svg>",
|
|
521
|
+
iconDark: null
|
|
522
|
+
},
|
|
523
|
+
xlsx: {
|
|
524
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><defs><linearGradient id=\"SVGSuUii0pt\" x1=\"4.494\" x2=\"13.832\" y1=\"-2092.086\" y2=\"-2075.914\" gradientTransform=\"translate(0 2100)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#18884f\"/><stop offset=\".5\" stop-color=\"#117e43\"/><stop offset=\"1\" stop-color=\"#0b6631\"/></linearGradient></defs><path fill=\"#185c37\" d=\"M19.581 15.35L8.512 13.4v14.409A1.19 1.19 0 0 0 9.705 29h19.1A1.19 1.19 0 0 0 30 27.809V22.5Z\"/><path fill=\"#21a366\" d=\"M19.581 3H9.705a1.19 1.19 0 0 0-1.193 1.191V9.5L19.581 16l5.861 1.95L30 16V9.5Z\"/><path fill=\"#107c41\" d=\"M8.512 9.5h11.069V16H8.512Z\"/><path d=\"M16.434 8.2H8.512v16.25h7.922a1.2 1.2 0 0 0 1.194-1.191V9.391A1.2 1.2 0 0 0 16.434 8.2\" opacity=\".1\"/><path d=\"M15.783 8.85H8.512V25.1h7.271a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191\" opacity=\".2\"/><path d=\"M15.783 8.85H8.512V23.8h7.271a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191\" opacity=\".2\"/><path d=\"M15.132 8.85h-6.62V23.8h6.62a1.2 1.2 0 0 0 1.194-1.191V10.041a1.2 1.2 0 0 0-1.194-1.191\" opacity=\".2\"/><path fill=\"url(#SVGSuUii0pt)\" d=\"M3.194 8.85h11.938a1.193 1.193 0 0 1 1.194 1.191v11.918a1.193 1.193 0 0 1-1.194 1.191H3.194A1.19 1.19 0 0 1 2 21.959V10.041A1.19 1.19 0 0 1 3.194 8.85\"/><path fill=\"#fff\" d=\"m5.7 19.873l2.511-3.884l-2.3-3.862h1.847L9.013 14.6c.116.234.2.408.238.524h.017q.123-.281.26-.546l1.342-2.447h1.7l-2.359 3.84l2.419 3.905h-1.809l-1.45-2.711A2.4 2.4 0 0 1 9.2 16.8h-.024a1.7 1.7 0 0 1-.168.351l-1.493 2.722Z\"/><path fill=\"#33c481\" d=\"M28.806 3h-9.225v6.5H30V4.191A1.19 1.19 0 0 0 28.806 3\"/><path fill=\"#107c41\" d=\"M19.581 16H30v6.5H19.581Z\"/></svg>",
|
|
525
|
+
iconDark: null
|
|
526
|
+
},
|
|
527
|
+
xml: {
|
|
528
|
+
icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><path fill=\"#f1662a\" d=\"m20.42 21.157l2.211 2.211L30 16l-7.369-7.369l-2.211 2.212L25.58 16Zm-8.84-10.314L9.369 8.631L2 16l7.369 7.369l2.211-2.211L6.42 16Zm5.831-3.166l1.6.437l-4.42 16.209l-1.6-.437z\"/></svg>",
|
|
529
|
+
iconDark: null
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
//#endregion
|
|
481
533
|
//#region src/component/dataView/index.ts
|
|
482
|
-
n({ en: "
|
|
483
|
-
var
|
|
534
|
+
n({ en: "Arrow" }), n({ en: "Avro" }), n({ en: "Delimited text" }), n({ en: "JSON" }), n({ en: "JSON Lines (JSONL)" }), n({ en: "Markdown (MD)" }), n({ en: "OpenDocument spreadsheet (ODS)" }), n({ en: "Parquet" }), n({ en: "SPSS (SAV)" }), n({ en: "SQLite" }), n({ en: "Excel (XLSX, XLSM)" }), n({ en: "XML" });
|
|
535
|
+
var ue = [
|
|
484
536
|
",",
|
|
485
537
|
";",
|
|
486
538
|
" ",
|
|
@@ -512,7 +564,7 @@ var k = {
|
|
|
512
564
|
({ ...k });
|
|
513
565
|
//#endregion
|
|
514
566
|
//#region src/component/module/connector/connectorConfig.schema.ts
|
|
515
|
-
var
|
|
567
|
+
var de = T([
|
|
516
568
|
"abortOperation",
|
|
517
569
|
"auditObjectContent",
|
|
518
570
|
"createObject",
|
|
@@ -528,21 +580,21 @@ var ue = T([
|
|
|
528
580
|
"retrieveChunks",
|
|
529
581
|
"retrieveRecords",
|
|
530
582
|
"upsertRecords"
|
|
531
|
-
]),
|
|
583
|
+
]), fe = T([
|
|
532
584
|
"application",
|
|
533
585
|
"curatedDataset",
|
|
534
586
|
"database",
|
|
535
587
|
"fileStore"
|
|
536
|
-
]),
|
|
588
|
+
]), pe = /* @__PURE__ */ b({ label: w }), me = T([
|
|
537
589
|
"apiEndpoint",
|
|
538
590
|
"file",
|
|
539
591
|
"table"
|
|
540
|
-
]),
|
|
592
|
+
]), he = T([
|
|
541
593
|
"bidirectional",
|
|
542
594
|
"destination",
|
|
543
595
|
"source",
|
|
544
596
|
"unknown"
|
|
545
|
-
]),
|
|
597
|
+
]), ge = /* @__PURE__ */ b({ label: w }), _e = /* @__PURE__ */ b({
|
|
546
598
|
authMethodId: T([
|
|
547
599
|
"apiKey",
|
|
548
600
|
"disabled",
|
|
@@ -555,17 +607,17 @@ var ue = T([
|
|
|
555
607
|
label: /* @__PURE__ */ v(w),
|
|
556
608
|
maxConnectionCount: /* @__PURE__ */ g(/* @__PURE__ */ _()),
|
|
557
609
|
params: /* @__PURE__ */ v(/* @__PURE__ */ p(/* @__PURE__ */ y(/* @__PURE__ */ x(), /* @__PURE__ */ x())))
|
|
558
|
-
}),
|
|
610
|
+
}), ve = /* @__PURE__ */ b({
|
|
559
611
|
...k,
|
|
560
612
|
typeId: /* @__PURE__ */ h("connector"),
|
|
561
|
-
actionNames: /* @__PURE__ */ p(
|
|
562
|
-
category: /* @__PURE__ */ g(
|
|
563
|
-
categoryId:
|
|
564
|
-
implementations: /* @__PURE__ */ y(/* @__PURE__ */ x(),
|
|
565
|
-
itemTypeId:
|
|
566
|
-
usage: /* @__PURE__ */ g(
|
|
567
|
-
usageId: /* @__PURE__ */ g(
|
|
568
|
-
}),
|
|
613
|
+
actionNames: /* @__PURE__ */ p(de),
|
|
614
|
+
category: /* @__PURE__ */ g(pe),
|
|
615
|
+
categoryId: fe,
|
|
616
|
+
implementations: /* @__PURE__ */ y(/* @__PURE__ */ x(), _e),
|
|
617
|
+
itemTypeId: me,
|
|
618
|
+
usage: /* @__PURE__ */ g(ge),
|
|
619
|
+
usageId: /* @__PURE__ */ g(he)
|
|
620
|
+
}), ye = [
|
|
569
621
|
{
|
|
570
622
|
id: "application",
|
|
571
623
|
label: {
|
|
@@ -594,7 +646,7 @@ var ue = T([
|
|
|
594
646
|
es: "Almacén de Archivos"
|
|
595
647
|
}
|
|
596
648
|
}
|
|
597
|
-
],
|
|
649
|
+
], be = [
|
|
598
650
|
{
|
|
599
651
|
id: "apiEndpoint",
|
|
600
652
|
label: {
|
|
@@ -632,7 +684,7 @@ var ue = T([
|
|
|
632
684
|
retrieveChunks: "Retrieve Chunks",
|
|
633
685
|
retrieveRecords: "Retrieve Records",
|
|
634
686
|
upsertRecords: "Upsert Records"
|
|
635
|
-
},
|
|
687
|
+
}, xe = [
|
|
636
688
|
{
|
|
637
689
|
id: "bidirectional",
|
|
638
690
|
label: {
|
|
@@ -661,12 +713,12 @@ var ue = T([
|
|
|
661
713
|
es: "Desconocido"
|
|
662
714
|
}
|
|
663
715
|
}
|
|
664
|
-
],
|
|
716
|
+
], Se = /* @__PURE__ */ new Set([
|
|
665
717
|
"createObject",
|
|
666
718
|
"dropObject",
|
|
667
719
|
"removeRecords",
|
|
668
720
|
"upsertRecords"
|
|
669
|
-
]),
|
|
721
|
+
]), Ce = /* @__PURE__ */ new Set([
|
|
670
722
|
"auditObjectContent",
|
|
671
723
|
"findObject",
|
|
672
724
|
"getInfo",
|
|
@@ -677,13 +729,13 @@ var ue = T([
|
|
|
677
729
|
"retrieveChunks",
|
|
678
730
|
"retrieveRecords"
|
|
679
731
|
]);
|
|
680
|
-
function
|
|
732
|
+
function we(e) {
|
|
681
733
|
let t = !1, n = !1;
|
|
682
|
-
for (let r of e)
|
|
734
|
+
for (let r of e) Ce.has(r) && (t = !0), Se.has(r) && (n = !0);
|
|
683
735
|
return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
|
|
684
736
|
}
|
|
685
|
-
var
|
|
686
|
-
let i =
|
|
737
|
+
var Te = (e, t = "en") => {
|
|
738
|
+
let i = ye.find((t) => t.id === e);
|
|
687
739
|
return i ? {
|
|
688
740
|
label: r(n(i.label), t) ?? i.id,
|
|
689
741
|
description: ""
|
|
@@ -691,8 +743,8 @@ var we = (e, t = "en") => {
|
|
|
691
743
|
label: e,
|
|
692
744
|
description: ""
|
|
693
745
|
};
|
|
694
|
-
},
|
|
695
|
-
let i =
|
|
746
|
+
}, Ee = (e, t = "en") => {
|
|
747
|
+
let i = be.find((t) => t.id === e);
|
|
696
748
|
return i ? {
|
|
697
749
|
label: r(n(i.label), t) ?? i.id,
|
|
698
750
|
description: ""
|
|
@@ -700,8 +752,8 @@ var we = (e, t = "en") => {
|
|
|
700
752
|
label: e,
|
|
701
753
|
description: ""
|
|
702
754
|
};
|
|
703
|
-
},
|
|
704
|
-
let i =
|
|
755
|
+
}, De = (e, t = "en") => {
|
|
756
|
+
let i = xe.find((t) => t.id === e);
|
|
705
757
|
return i ? {
|
|
706
758
|
label: r(n(i.label), t) ?? i.id,
|
|
707
759
|
description: ""
|
|
@@ -710,7 +762,7 @@ var we = (e, t = "en") => {
|
|
|
710
762
|
description: ""
|
|
711
763
|
};
|
|
712
764
|
};
|
|
713
|
-
function
|
|
765
|
+
function Oe(e) {
|
|
714
766
|
let t = new Set(e), n = "|Action|Supported|\n";
|
|
715
767
|
n += "|:----|:-------:|\n";
|
|
716
768
|
for (let e of Object.keys(A)) n += `| ${A[e]} | ${t.has(e) ? "✓" : ""} |\n`;
|
|
@@ -718,12 +770,12 @@ function De(e) {
|
|
|
718
770
|
}
|
|
719
771
|
//#endregion
|
|
720
772
|
//#region src/component/module/cookbook/cookbookConfig.schema.ts
|
|
721
|
-
var
|
|
773
|
+
var ke = T(["list"]), Ae = /* @__PURE__ */ b({
|
|
722
774
|
...k,
|
|
723
775
|
typeId: /* @__PURE__ */ h("cookbook"),
|
|
724
|
-
actionNames: /* @__PURE__ */ p(
|
|
776
|
+
actionNames: /* @__PURE__ */ p(ke),
|
|
725
777
|
recipes: /* @__PURE__ */ p(D)
|
|
726
|
-
}), j = 2048, M = "[REDACTED]",
|
|
778
|
+
}), j = 2048, M = "[REDACTED]", je = 10, N = /api[-_]?key|authori[sz]ation|cookie|credential|passw(?:or)?d|private[-_]?key|secret|token/i, Me = [
|
|
727
779
|
[/\b(Bearer|Basic) +[\w.~+/=-]+/gi, (e, t) => `${t} ${M}`],
|
|
728
780
|
[/(?<![\w-])([\w-]+)(["']?[ \t]*[:=][ \t]*["']?)([^\s"'&,;}?#]+)/g, (e, t, n, r) => N.test(t) && !/^(?:Basic|Bearer)$/i.test(r) ? `${t}${n}${M}` : e],
|
|
729
781
|
[/\beyJ[\w-]+\.[\w-]+\.[\w-]*/g, () => M],
|
|
@@ -756,19 +808,19 @@ var Oe = T(["list"]), ke = /* @__PURE__ */ b({
|
|
|
756
808
|
super(e, t, n, r), this.name = "FetchError";
|
|
757
809
|
}
|
|
758
810
|
};
|
|
759
|
-
async function
|
|
811
|
+
async function Ne(e, t, n) {
|
|
760
812
|
let r = ` - ${e.statusText}`, i = `${t} Response status '${String(e.status)}${e.statusText ? r : ""}' received.`, a;
|
|
761
813
|
try {
|
|
762
814
|
a = await e.text();
|
|
763
815
|
} catch (e) {
|
|
764
816
|
a = `<body unavailable: ${B(e).message}>`;
|
|
765
817
|
}
|
|
766
|
-
return new z(i, n, { body:
|
|
818
|
+
return new z(i, n, { body: Ve(a) });
|
|
767
819
|
}
|
|
768
|
-
function
|
|
820
|
+
function Pe(e) {
|
|
769
821
|
return e.map((e) => e.message).join(" ");
|
|
770
822
|
}
|
|
771
|
-
function
|
|
823
|
+
function Fe(e) {
|
|
772
824
|
try {
|
|
773
825
|
e();
|
|
774
826
|
} catch {}
|
|
@@ -785,24 +837,24 @@ function B(e) {
|
|
|
785
837
|
}
|
|
786
838
|
return /* @__PURE__ */ Error("Unknown error");
|
|
787
839
|
}
|
|
788
|
-
function
|
|
840
|
+
function Ie(e) {
|
|
789
841
|
let t = /* @__PURE__ */ new Set(), n = [], r = B(e);
|
|
790
842
|
for (; r != null && !t.has(r);) {
|
|
791
843
|
t.add(r);
|
|
792
|
-
let [e, i] =
|
|
844
|
+
let [e, i] = He(r), a = Be(e);
|
|
793
845
|
/(?:\.{3}|[.!?])$/.test(a.message) || (a.message += "."), n.push(a), r = i;
|
|
794
846
|
}
|
|
795
847
|
return n;
|
|
796
848
|
}
|
|
797
|
-
function
|
|
849
|
+
function Le(e) {
|
|
798
850
|
let t;
|
|
799
851
|
for (let n of e.toReversed()) {
|
|
800
|
-
let e =
|
|
852
|
+
let e = ze(n, t);
|
|
801
853
|
n.stack !== void 0 && (e.stack = n.stack), t = e;
|
|
802
854
|
}
|
|
803
855
|
return t ?? /* @__PURE__ */ Error("No error to unserialise.");
|
|
804
856
|
}
|
|
805
|
-
function
|
|
857
|
+
function Re(e) {
|
|
806
858
|
let t;
|
|
807
859
|
try {
|
|
808
860
|
t = JSON.stringify(e);
|
|
@@ -811,7 +863,7 @@ function Le(e) {
|
|
|
811
863
|
}
|
|
812
864
|
return t === "" && (t = "Unknown error"), t;
|
|
813
865
|
}
|
|
814
|
-
function
|
|
866
|
+
function ze(e, t) {
|
|
815
867
|
switch (e.name) {
|
|
816
868
|
case "APIError": return new I(e.message, e.locator, e.data, { cause: t });
|
|
817
869
|
case "AppError": return new F(e.message, e.locator, e.data, { cause: t });
|
|
@@ -826,7 +878,7 @@ function Re(e, t) {
|
|
|
826
878
|
}
|
|
827
879
|
}
|
|
828
880
|
}
|
|
829
|
-
function
|
|
881
|
+
function Be(e) {
|
|
830
882
|
let { data: t, message: n, stack: r } = e;
|
|
831
883
|
return {
|
|
832
884
|
...e,
|
|
@@ -837,16 +889,16 @@ function ze(e) {
|
|
|
837
889
|
}
|
|
838
890
|
function V(e) {
|
|
839
891
|
let t = e;
|
|
840
|
-
for (let [e, n] of
|
|
892
|
+
for (let [e, n] of Me) t = t.replaceAll(e, (e, ...t) => n(e, ...t));
|
|
841
893
|
return t;
|
|
842
894
|
}
|
|
843
895
|
function H(e, t, n) {
|
|
844
|
-
return typeof e == "string" ? V(e) : typeof e != "object" || !e ? e : n >=
|
|
896
|
+
return typeof e == "string" ? V(e) : typeof e != "object" || !e ? e : n >= je ? M : t.has(e) ? "[Circular]" : (t.add(e), Array.isArray(e) ? e.map((e) => H(e, t, n + 1)) : Object.fromEntries(Object.entries(e).map(([e, r]) => [e, r != null && N.test(e) ? M : H(r, t, n + 1)])));
|
|
845
897
|
}
|
|
846
|
-
function
|
|
898
|
+
function Ve(e) {
|
|
847
899
|
if (e != null && e !== "") return e.length > j ? `${e.slice(0, j)}... [truncated]` : e;
|
|
848
900
|
}
|
|
849
|
-
function
|
|
901
|
+
function He(e) {
|
|
850
902
|
let t = e.cause == null ? null : B(e.cause);
|
|
851
903
|
if (e instanceof P) return [{
|
|
852
904
|
data: e.data,
|
|
@@ -865,25 +917,25 @@ function Ve(e) {
|
|
|
865
917
|
}, t] : [{
|
|
866
918
|
data: n,
|
|
867
919
|
locator: "",
|
|
868
|
-
message:
|
|
920
|
+
message: Re(e),
|
|
869
921
|
name: "Error",
|
|
870
922
|
stack: void 0
|
|
871
923
|
}, null];
|
|
872
924
|
}
|
|
873
925
|
//#endregion
|
|
874
926
|
//#region src/component/module/presenter/presenterConfig.schema.ts
|
|
875
|
-
var
|
|
927
|
+
var Ue = T([
|
|
876
928
|
"list",
|
|
877
929
|
"render",
|
|
878
930
|
"setColorMode"
|
|
879
|
-
]),
|
|
931
|
+
]), We = /* @__PURE__ */ b({
|
|
880
932
|
...k,
|
|
881
933
|
typeId: /* @__PURE__ */ h("presenter"),
|
|
882
|
-
actionNames: /* @__PURE__ */ p(
|
|
934
|
+
actionNames: /* @__PURE__ */ p(Ue),
|
|
883
935
|
presentations: /* @__PURE__ */ p(D)
|
|
884
|
-
}),
|
|
885
|
-
async function
|
|
886
|
-
let i = e.id, a = `${
|
|
936
|
+
}), Ge = "https://engine-eu.dpuse.app/presenters";
|
|
937
|
+
async function Ke(e, t, n, r) {
|
|
938
|
+
let i = e.id, a = `${Ge}/${i.split("-").slice(2).join("-")}_v${e.version}/${i}.es.js`;
|
|
887
939
|
try {
|
|
888
940
|
return new (await (import(
|
|
889
941
|
/* @vite-ignore */
|
|
@@ -900,8 +952,8 @@ async function Ge(e, t, n, r) {
|
|
|
900
952
|
}
|
|
901
953
|
//#endregion
|
|
902
954
|
//#region src/component/module/tool/index.ts
|
|
903
|
-
var
|
|
904
|
-
async function
|
|
955
|
+
var qe = "https://engine-eu.dpuse.app/tools";
|
|
956
|
+
async function Je(e, t) {
|
|
905
957
|
let n = `dpuse-tool-${t}`, r = e.find((e) => e.id === n);
|
|
906
958
|
if (!r) {
|
|
907
959
|
let r = {
|
|
@@ -910,7 +962,7 @@ async function qe(e, t) {
|
|
|
910
962
|
};
|
|
911
963
|
throw new F(`Tool '${t}' not found.`, "dpuse-shared.component.module.tool.loadTool", r);
|
|
912
964
|
}
|
|
913
|
-
let i = `${
|
|
965
|
+
let i = `${qe}/${t}_v${r.version}/${n}.es.js`;
|
|
914
966
|
try {
|
|
915
967
|
return new (await (import(
|
|
916
968
|
/* @vite-ignore */
|
|
@@ -927,7 +979,7 @@ async function qe(e, t) {
|
|
|
927
979
|
}
|
|
928
980
|
//#endregion
|
|
929
981
|
//#region src/encoding/index.ts
|
|
930
|
-
var
|
|
982
|
+
var Ye = {
|
|
931
983
|
arabic: {
|
|
932
984
|
id: "arabic",
|
|
933
985
|
label: {
|
|
@@ -1075,7 +1127,7 @@ var Je = {
|
|
|
1075
1127
|
es: "Occidental"
|
|
1076
1128
|
}
|
|
1077
1129
|
}
|
|
1078
|
-
},
|
|
1130
|
+
}, Xe = {
|
|
1079
1131
|
ascii: {
|
|
1080
1132
|
id: "ascii",
|
|
1081
1133
|
groupId: null,
|
|
@@ -1506,16 +1558,16 @@ var Je = {
|
|
|
1506
1558
|
groupId: "baltic",
|
|
1507
1559
|
decoderId: "windows-1257"
|
|
1508
1560
|
}
|
|
1509
|
-
}, U =
|
|
1561
|
+
}, U = Ye, W = Xe;
|
|
1510
1562
|
function G(e) {
|
|
1511
1563
|
return Object.hasOwn(W, e);
|
|
1512
1564
|
}
|
|
1513
|
-
function
|
|
1565
|
+
function Ze(e) {
|
|
1514
1566
|
return G(e) ? W[e].decoderId ?? e : e;
|
|
1515
1567
|
}
|
|
1516
|
-
function
|
|
1568
|
+
function Qe(e = "en") {
|
|
1517
1569
|
return Array.from(Object.values(W), ({ decoderId: t, groupId: n, id: r }) => {
|
|
1518
|
-
let i = n == null ? "" :
|
|
1570
|
+
let i = n == null ? "" : $e(n, e);
|
|
1519
1571
|
return {
|
|
1520
1572
|
id: r,
|
|
1521
1573
|
groupLabel: i,
|
|
@@ -1525,13 +1577,13 @@ function Ze(e = "en") {
|
|
|
1525
1577
|
};
|
|
1526
1578
|
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.label.localeCompare(n.label, e));
|
|
1527
1579
|
}
|
|
1528
|
-
function
|
|
1580
|
+
function $e(e, t) {
|
|
1529
1581
|
let n = U[e].label;
|
|
1530
1582
|
return n[t] ?? n.en ?? e;
|
|
1531
1583
|
}
|
|
1532
1584
|
//#endregion
|
|
1533
1585
|
//#region src/locale/index.ts
|
|
1534
|
-
function
|
|
1586
|
+
function et(e, t) {
|
|
1535
1587
|
return {
|
|
1536
1588
|
...e,
|
|
1537
1589
|
label: e.label[t] ?? e.id,
|
|
@@ -1539,7 +1591,7 @@ function $e(e, t) {
|
|
|
1539
1591
|
verb: e.verb?.[t] ?? void 0
|
|
1540
1592
|
};
|
|
1541
1593
|
}
|
|
1542
|
-
function
|
|
1594
|
+
function tt(e, t, n = !1) {
|
|
1543
1595
|
let r = e.map((e) => ({
|
|
1544
1596
|
...e,
|
|
1545
1597
|
label: e.label[t] ?? e.id,
|
|
@@ -1548,7 +1600,7 @@ function et(e, t, n = !1) {
|
|
|
1548
1600
|
}));
|
|
1549
1601
|
return n ? r.toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id)) : r;
|
|
1550
1602
|
}
|
|
1551
|
-
function
|
|
1603
|
+
function nt(e, t) {
|
|
1552
1604
|
return {
|
|
1553
1605
|
...e,
|
|
1554
1606
|
label: e.label[t] ?? e.id,
|
|
@@ -1570,7 +1622,6 @@ var K = /* @__PURE__ */ new Map([
|
|
|
1570
1622
|
["ods", "application/vnd.oasis.opendocument.spreadsheet"],
|
|
1571
1623
|
["parquet", "application/vnd.apache.parquet"],
|
|
1572
1624
|
["sav", "application/x-spss-sav"],
|
|
1573
|
-
["spss", "application/octet-stream"],
|
|
1574
1625
|
["sqlite", "application/vnd.sqlite3"],
|
|
1575
1626
|
["tab", "text/tab-separated-values"],
|
|
1576
1627
|
["tsv", "text/tab-separated-values"],
|
|
@@ -1585,7 +1636,7 @@ var K = /* @__PURE__ */ new Map([
|
|
|
1585
1636
|
["minute", 6e4],
|
|
1586
1637
|
["second", 1e3],
|
|
1587
1638
|
["millisecond", 1]
|
|
1588
|
-
],
|
|
1639
|
+
], rt = [
|
|
1589
1640
|
["byte", 1],
|
|
1590
1641
|
["kilobyte", 1024],
|
|
1591
1642
|
["megabyte", 1048576],
|
|
@@ -1602,18 +1653,18 @@ function Z(e, t = 2, n = t, r = q) {
|
|
|
1602
1653
|
useGrouping: !0
|
|
1603
1654
|
}).format(e);
|
|
1604
1655
|
}
|
|
1605
|
-
function
|
|
1656
|
+
function it(e, t = q) {
|
|
1606
1657
|
return Z(e, 0, 0, t);
|
|
1607
1658
|
}
|
|
1608
|
-
function
|
|
1659
|
+
function at(e, t = 1, n = q) {
|
|
1609
1660
|
return e == null || !Number.isFinite(e) ? "" : $(n, {
|
|
1610
1661
|
maximumFractionDigits: t,
|
|
1611
1662
|
notation: "compact"
|
|
1612
1663
|
}).format(e);
|
|
1613
1664
|
}
|
|
1614
|
-
function
|
|
1665
|
+
function ot(e, t = 1, n = q) {
|
|
1615
1666
|
if (e == null || !Number.isFinite(e)) return "";
|
|
1616
|
-
let [r, i] =
|
|
1667
|
+
let [r, i] = rt.find(([, n]) => mt(Math.abs(e) / n, n === 1 ? 0 : t) < 1024) ?? ["terabyte", 1099511627776];
|
|
1617
1668
|
return $(n, {
|
|
1618
1669
|
maximumFractionDigits: i === 1 ? 0 : t,
|
|
1619
1670
|
style: "unit",
|
|
@@ -1621,7 +1672,7 @@ function at(e, t = 1, n = q) {
|
|
|
1621
1672
|
unitDisplay: i === 1 ? "long" : "short"
|
|
1622
1673
|
}).format(e / i);
|
|
1623
1674
|
}
|
|
1624
|
-
function
|
|
1675
|
+
function st(e, t = "millisecond", n = q) {
|
|
1625
1676
|
if (e == null || !Number.isFinite(e)) return "";
|
|
1626
1677
|
let r = Math.round(Math.abs(e)), i = J.findIndex(([, e]) => r >= e), a = i === -1 ? J.length - 1 : i, o = J.findIndex(([e]) => e === t), s = J.slice(a, Math.max(o, a) + 1), c = [];
|
|
1627
1678
|
for (let [t, i] of s) {
|
|
@@ -1635,25 +1686,25 @@ function ot(e, t = "millisecond", n = q) {
|
|
|
1635
1686
|
unitDisplay: "short"
|
|
1636
1687
|
}).format(o));
|
|
1637
1688
|
}
|
|
1638
|
-
return
|
|
1689
|
+
return pt(n).format(c);
|
|
1639
1690
|
}
|
|
1640
|
-
function
|
|
1691
|
+
function ct(e) {
|
|
1641
1692
|
if (!e) return;
|
|
1642
1693
|
let t = Q(e);
|
|
1643
1694
|
return t === void 0 ? e : e.slice(0, t);
|
|
1644
1695
|
}
|
|
1645
|
-
function
|
|
1696
|
+
function lt(e) {
|
|
1646
1697
|
if (!e) return;
|
|
1647
1698
|
let t = Q(e);
|
|
1648
1699
|
return t === void 0 ? void 0 : e.slice(t + 1);
|
|
1649
1700
|
}
|
|
1650
|
-
function
|
|
1701
|
+
function ut(e) {
|
|
1651
1702
|
return e != null && K.has(e.toLowerCase());
|
|
1652
1703
|
}
|
|
1653
|
-
function
|
|
1704
|
+
function dt(e) {
|
|
1654
1705
|
return (e == null ? void 0 : K.get(e.toLowerCase())) ?? "application/octet-stream";
|
|
1655
1706
|
}
|
|
1656
|
-
function
|
|
1707
|
+
function ft(e) {
|
|
1657
1708
|
switch (e) {
|
|
1658
1709
|
case "Edm.Boolean": return "boolean";
|
|
1659
1710
|
case "Edm.Byte":
|
|
@@ -1678,7 +1729,7 @@ function Q(e) {
|
|
|
1678
1729
|
let t = e.lastIndexOf("/") + 1, n = e.lastIndexOf(".");
|
|
1679
1730
|
return n > t && n < e.length - 1 ? n : void 0;
|
|
1680
1731
|
}
|
|
1681
|
-
function
|
|
1732
|
+
function pt(e) {
|
|
1682
1733
|
let t = Y.get(e);
|
|
1683
1734
|
return t || (t = new Intl.ListFormat(e, {
|
|
1684
1735
|
style: "narrow",
|
|
@@ -1689,9 +1740,9 @@ function $(e, t) {
|
|
|
1689
1740
|
let n = `${e}|${JSON.stringify(t)}`, r = X.get(n);
|
|
1690
1741
|
return r || (r = new Intl.NumberFormat(e, t), X.set(n, r)), r;
|
|
1691
1742
|
}
|
|
1692
|
-
function
|
|
1743
|
+
function mt(e, t) {
|
|
1693
1744
|
let n = 10 ** t;
|
|
1694
1745
|
return Math.round(e * n) / n;
|
|
1695
1746
|
}
|
|
1696
1747
|
//#endregion
|
|
1697
|
-
export { I as APIError, F as AppError, R as ConnectorError, e as DEFAULT_LOCALE_ID, U as ENCODING_GROUP_CONFIG_MAP, W as ENCODING_TYPE_CONFIG_MAP, L as EngineError, z as FetchError,
|
|
1748
|
+
export { I as APIError, F as AppError, R as ConnectorError, le as DATA_FORMAT_ICON_CONFIGS, e as DEFAULT_LOCALE_ID, U as ENCODING_GROUP_CONFIG_MAP, W as ENCODING_TYPE_CONFIG_MAP, L as EngineError, z as FetchError, ue as ORDERED_VALUE_DELIMITER_IDS, t as SUPPORTED_LANGUAGES, Ne as buildFetchError, oe as componentInstanceConfigSchema, Pe as concatenateSerialisedErrorMessages, ve as connectorConfigSchema, Te as constructConnectorCategoryConfig, Ee as constructConnectorItemTypeConfig, De as constructConnectorUsageConfig, ft as convertODataTypeIdToUsageTypeId, Ae as cookbookConfigSchema, n as createLabelMap, we as determineConnectorUsageId, lt as extractExtensionFromPath, ct as extractPathWithoutExtension, Z as formatNumberAsDecimalNumber, st as formatNumberAsDuration, at as formatNumberAsSize, ot as formatNumberAsStorageSize, it as formatNumberAsWholeNumber, ce as getComponentStatus, Oe as getConnectorActionsTable, Qe as getEncodingTypeConfigs, ut as hasMimeTypeForExtension, Fe as ignoreErrors, G as isEncodingTypeId, Ke as loadPresenter, Je as loadTool, et as localiseConfig, tt as localiseConfigs, nt as localiseReference, dt as lookupMimeTypeForExtension, B as normalizeToError, We as presenterConfigSchema, Ze as resolveDecoderId, r as resolveLabel, Ie as serialiseError, Le as unserialiseError };
|