vueless 0.0.16 → 0.0.18

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 (26) hide show
  1. package/assets/images/.generated/@material-symbols/svg-500/outlined/add.svg +1 -0
  2. package/assets/images/.generated/@material-symbols/svg-500/outlined/apps.svg +1 -0
  3. package/assets/images/.generated/@material-symbols/svg-500/outlined/arrow_back.svg +1 -0
  4. package/assets/images/.generated/@material-symbols/svg-500/outlined/check.svg +1 -0
  5. package/assets/images/.generated/@material-symbols/svg-500/outlined/check_circle.svg +1 -0
  6. package/assets/images/.generated/@material-symbols/svg-500/outlined/close.svg +1 -0
  7. package/assets/images/.generated/@material-symbols/svg-500/outlined/description.svg +1 -0
  8. package/assets/images/.generated/@material-symbols/svg-500/outlined/drag_indicator.svg +1 -0
  9. package/assets/images/.generated/@material-symbols/svg-500/outlined/emoji_food_beverage.svg +1 -0
  10. package/assets/images/.generated/@material-symbols/svg-500/outlined/error.svg +1 -0
  11. package/assets/images/.generated/@material-symbols/svg-500/outlined/expand_more.svg +1 -0
  12. package/assets/images/.generated/@material-symbols/svg-500/outlined/info.svg +1 -0
  13. package/assets/images/.generated/@material-symbols/svg-500/outlined/keyboard_arrow_down.svg +1 -0
  14. package/assets/images/.generated/@material-symbols/svg-500/outlined/keyboard_arrow_right.svg +1 -0
  15. package/assets/images/.generated/@material-symbols/svg-500/outlined/person.svg +1 -0
  16. package/assets/images/.generated/@material-symbols/svg-500/outlined/remove.svg +1 -0
  17. package/assets/images/.generated/@material-symbols/svg-500/outlined/star-fill.svg +1 -0
  18. package/assets/images/.generated/@material-symbols/svg-500/outlined/star.svg +1 -0
  19. package/assets/images/.generated/@material-symbols/svg-500/outlined/upload_file.svg +1 -0
  20. package/assets/images/.generated/@material-symbols/svg-500/outlined/visibility.svg +1 -0
  21. package/assets/images/.generated/@material-symbols/svg-500/outlined/warning.svg +1 -0
  22. package/gen.web-types/index.js +17 -0
  23. package/gen.web-types/lib/build.js +254 -0
  24. package/gen.web-types/lib/config.js +32 -0
  25. package/package.json +9 -5
  26. package/web-types.json +66 -66
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M445.935-445.935H194.022v-68.13h251.913v-252.153h68.13v252.153h252.153v68.13H514.065v251.913h-68.13v-251.913Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M223.291-154.5q-29.117 0-48.954-19.837T154.5-223.291q0-29.118 19.837-48.913Q194.174-292 223.291-292q29.118 0 48.913 19.796Q292-252.409 292-223.291q0 29.117-19.796 48.954-19.795 19.837-48.913 19.837Zm256.8 0q-29.048 0-48.885-19.837-19.836-19.837-19.836-48.954 0-29.118 19.745-48.913Q450.861-292 479.909-292t48.885 19.796q19.836 19.795 19.836 48.913 0 29.117-19.745 48.954-19.746 19.837-48.794 19.837Zm256.618 0q-29.118 0-48.913-19.837Q668-194.174 668-223.291q0-29.118 19.796-48.913Q707.591-292 736.709-292q29.117 0 48.954 19.796 19.837 19.795 19.837 48.913 0 29.117-19.837 48.954T736.709-154.5ZM223.291-411.37q-29.117 0-48.954-19.745-19.837-19.746-19.837-48.794t19.837-48.885q19.837-19.836 48.954-19.836 29.118 0 48.913 19.745Q292-509.139 292-480.091t-19.796 48.885q-19.795 19.836-48.913 19.836Zm256.8 0q-29.048 0-48.885-19.745-19.836-19.746-19.836-48.794t19.745-48.885q19.746-19.836 48.794-19.836t48.885 19.745q19.836 19.746 19.836 48.794t-19.745 48.885q-19.746 19.836-48.794 19.836Zm256.618 0q-29.118 0-48.913-19.745Q668-450.861 668-479.909t19.796-48.885q19.795-19.836 48.913-19.836 29.117 0 48.954 19.745 19.837 19.746 19.837 48.794t-19.837 48.885q-19.837 19.836-48.954 19.836ZM223.291-668q-29.117 0-48.954-19.796-19.837-19.795-19.837-48.913 0-29.117 19.837-48.954t48.954-19.837q29.118 0 48.913 19.837Q292-765.826 292-736.709q0 29.118-19.796 48.913Q252.409-668 223.291-668Zm256.8 0q-29.048 0-48.885-19.796-19.836-19.795-19.836-48.913 0-29.117 19.745-48.954 19.746-19.837 48.794-19.837t48.885 19.837q19.836 19.837 19.836 48.954 0 29.118-19.745 48.913Q509.139-668 480.091-668Zm256.618 0q-29.118 0-48.913-19.796Q668-707.591 668-736.709q0-29.117 19.796-48.954 19.795-19.837 48.913-19.837 29.117 0 48.954 19.837t19.837 48.954q0 29.118-19.837 48.913Q765.826-668 736.709-668Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m283.805-445.935 244.173 244.174L480-154.022 154.022-480 480-806.218l47.978 47.979-244.173 244.174h522.413v68.13H283.805Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M378-240.261 148.261-470l48.978-48.978L378-338.218l383.761-383.76L810.739-673 378-240.261Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m420.522-294.413 285.63-285.63-50.782-50.022-234.848 234.847-117.848-117.847-49.783 50.022 167.631 168.63Zm59.511 220.391q-83.468 0-157.541-31.878-74.073-31.879-129.393-87.199-55.32-55.32-87.199-129.36-31.878-74.04-31.878-157.508 0-84.468 31.878-158.541 31.879-74.073 87.161-128.906 55.283-54.832 129.341-86.818 74.057-31.986 157.545-31.986 84.488 0 158.589 31.968 74.102 31.967 128.916 86.768 54.815 54.801 86.79 128.883Q886.218-564.516 886.218-480q0 83.501-31.986 157.57-31.986 74.069-86.818 129.36-54.833 55.291-128.873 87.17-74.04 31.878-158.508 31.878Zm-.033-68.13q141.043 0 239.446-98.752Q817.848-339.656 817.848-480q0-141.043-98.402-239.446-98.403-98.402-239.566-98.402-140.163 0-238.945 98.402-98.783 98.403-98.783 239.566 0 140.163 98.752 238.945Q339.656-142.152 480-142.152ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M249-201.261 201.261-249l231-231-231-231L249-758.739l231 231 231-231L758.739-711l-231 231 231 231L711-201.261l-231-231-231 231Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M319-249.522h322v-62.63H319v62.63Zm0-170h322v-62.63H319v62.63Zm-96.848 345.5q-27.599 0-47.865-20.265-20.265-20.266-20.265-47.865v-675.696q0-27.697 20.265-48.033 20.266-20.337 47.865-20.337H583.63L806.218-663.63v521.478q0 27.599-20.337 47.865-20.336 20.265-48.033 20.265H222.152Zm326.696-557.826v-186H222.152v675.696h515.696v-489.696h-189Zm-326.696-186v186-186 675.696-675.696Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M347.408-154.5q-30.099 0-51.503-21.434-21.405-21.434-21.405-51.532 0-30.099 21.434-51.317Q317.368-300 347.466-300q30.099 0 51.317 21.247Q420-257.507 420-227.408t-21.247 51.503Q377.507-154.5 347.408-154.5Zm265.346 0q-30.099 0-51.427-21.434Q540-197.368 540-227.466q0-30.099 21.394-51.317Q582.787-300 612.829-300q30.141 0 51.406 21.247 21.265 21.246 21.265 51.345t-21.324 51.503Q642.852-154.5 612.754-154.5ZM347.408-407.37q-30.099 0-51.503-21.393-21.405-21.394-21.405-51.436 0-30.236 21.434-51.334 21.434-21.097 51.532-21.097 30.099 0 51.317 21.186Q420-510.258 420-480.141q0 30.117-21.247 51.444-21.246 21.327-51.345 21.327Zm265.346 0q-30.099 0-51.427-21.393Q540-450.157 540-480.199q0-30.236 21.394-51.334 21.393-21.097 51.435-21.097 30.141 0 51.406 21.186t21.265 51.303q0 30.117-21.324 51.444t-51.422 21.327ZM347.408-660q-30.099 0-51.503-21.394-21.405-21.393-21.405-51.435 0-30.141 21.434-51.406t51.532-21.265q30.099 0 51.317 21.324Q420-762.852 420-732.754q0 30.099-21.247 51.427Q377.507-660 347.408-660Zm265.346 0q-30.099 0-51.427-21.394Q540-702.787 540-732.829q0-30.141 21.394-51.406 21.393-21.265 51.435-21.265 30.141 0 51.406 21.324t21.265 51.422q0 30.099-21.324 51.427Q642.852-660 612.754-660Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M154.022-114.022v-68.13h652.196v68.13H154.022Zm155.782-144.543q-65.179 0-110.481-44.935-45.301-44.935-45.301-109.848v-432.87h664.065q28.104 0 48.117 20.081 20.014 20.081 20.014 48.05v160q0 28.098-20.014 48.114-20.013 20.017-48.117 20.017h-92.652v136.608q0 64.913-45.475 109.848-45.476 44.935-110.547 44.935H309.804Zm.239-519.283h347.261-435.152 87.891Zm415.392 159.761h92.413v-160h-92.413v160ZM569.152-326.935q34.838 0 61.495-26.516 26.657-26.517 26.657-60.136v-364.261H399.152v37.305l71 58q1 1 9 18v150q0 9.6-7 16.8-7 7.2-18 7.2h-151q-11 0-18-7.2t-7-16.8v-150q0-4 9-18l72-58v-37.305h-137v364.261q0 33.619 26.975 60.136 26.975 26.516 60.916 26.516h259.109ZM355.565-777.848h40-40Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M479.928-274.022q16.463 0 27.398-10.743 10.935-10.743 10.935-27.206 0-16.464-10.863-27.518-10.862-11.055-27.326-11.055-16.463 0-27.398 11.037-10.935 11.037-10.935 27.501 0 16.463 10.863 27.224 10.862 10.76 27.326 10.76Zm-30.993-158.739h68.13v-257.065h-68.13v257.065Zm31.364 358.74q-84.202 0-158.041-31.879t-129.159-87.199q-55.32-55.32-87.199-129.201-31.878-73.88-31.878-158.167t31.878-158.2q31.879-73.914 87.161-128.747 55.283-54.832 129.181-86.818 73.899-31.986 158.205-31.986 84.307 0 158.249 31.968 73.942 31.967 128.756 86.768 54.815 54.801 86.79 128.883 31.976 74.083 31.976 158.333 0 84.235-31.986 158.07t-86.818 128.942q-54.833 55.107-128.873 87.169-74.04 32.063-158.242 32.063Zm.201-68.131q140.543 0 238.946-98.752 98.402-98.752 98.402-239.596 0-140.543-98.215-238.946-98.215-98.402-239.753-98.402-140.163 0-238.945 98.215-98.783 98.215-98.783 239.753 0 140.163 98.752 238.945 98.752 98.783 239.596 98.783ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480-339.5 234.261-585.239 283-633.978l197 198 197-197 48.739 48.739L480-339.5Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M450.37-277.37h65.26V-520h-65.26v242.63Zm29.633-313.043q15.551 0 26.068-10.231 10.516-10.232 10.516-25.356 0-16.244-10.514-26.915-10.513-10.672-26.055-10.672-15.812 0-26.208 10.672-10.397 10.671-10.397 26.795 0 15.274 10.52 25.491 10.519 10.216 26.07 10.216Zm.296 516.391q-84.202 0-158.041-31.878-73.839-31.879-129.159-87.199-55.32-55.32-87.199-129.201-31.878-73.88-31.878-158.167t31.878-158.2q31.879-73.914 87.161-128.747 55.283-54.832 129.181-86.818 73.899-31.986 158.205-31.986 84.307 0 158.249 31.968 73.942 31.967 128.756 86.768 54.815 54.801 86.79 128.883 31.976 74.083 31.976 158.333 0 84.235-31.986 158.07t-86.818 128.942q-54.833 55.107-128.873 87.169-74.04 32.063-158.242 32.063Zm.201-68.13q140.543 0 238.946-98.752 98.402-98.752 98.402-239.596 0-140.543-98.215-238.946-98.215-98.402-239.753-98.402-140.163 0-238.945 98.215-98.783 98.215-98.783 239.753 0 140.163 98.752 238.945 98.752 98.783 239.596 98.783ZM480-480Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480-338.261 234.261-584 283-632.739l197 197 197-197L725.739-584 480-338.261Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m524.261-481-198-198L375-727.739 621.739-481 375-234.261 326.261-283l198-198Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M479.951-484.109q-68.679 0-112.304-43.625t-43.625-112.305q0-68.679 43.625-112.353 43.625-43.674 112.304-43.674t112.473 43.674q43.794 43.674 43.794 112.353 0 68.68-43.794 112.305t-112.473 43.625ZM154.022-150.913V-251.32q0-39.557 19.915-68.042 19.915-28.486 51.433-43.268 67.478-30.24 129.685-45.359 62.208-15.12 124.881-15.12 63.131 0 124.793 15.62 61.662 15.619 128.822 45.053 32.882 14.594 52.774 42.993 19.893 28.4 19.893 68.06v100.47H154.022Zm68.13-68.13h515.696v-31.37q0-15.845-9.5-30.219-9.5-14.373-23.5-21.303-63.044-30.282-115.445-41.543-52.401-11.261-109.521-11.261-56.643 0-110.284 11.261-53.641 11.261-115.343 41.506-14.103 6.932-23.103 21.316-9 14.384-9 30.243v31.37Zm257.799-333.196q38.092 0 62.995-24.866 24.902-24.865 24.902-62.974 0-38.207-24.854-63.031-24.853-24.825-62.945-24.825t-62.995 24.836q-24.902 24.835-24.902 62.902 0 38.165 24.854 63.061 24.853 24.897 62.945 24.897Zm.049-87.848Zm0 421.044Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M194.022-445.935v-68.13h572.196v68.13H194.022Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m224.152-67.565 67.391-291.283-226.13-195.935L363.935-580.5 480-855.305 596.065-580.5l298.522 25.717-226.13 195.935 67.63 291.283L480-222.304 224.152-67.564Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="m326.365-209.793 153.644-91.884 153.643 92.894-41.282-173.934L727.5-500.326l-178.174-15.522L480-680.022l-69.326 163.413L232.5-501.326l135.22 117.375-41.355 174.158ZM224.152-67.565l67.391-291.283-226.13-195.935 298.426-25.668L480-855.305l116.161 274.854 298.426 25.668-226.13 195.935 67.63 291.283L480-222.304 224.152-67.564ZM480-434.522Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M452-203.435h60v-201.956l82.478 82.478 42-42L480-517.152 325.761-362.913l42 42L452-405.391v201.956ZM222.152-74.022q-27.599 0-47.865-20.265-20.265-20.266-20.265-47.865v-675.696q0-27.697 20.265-48.033 20.266-20.337 47.865-20.337H583.63L806.218-663.63v521.478q0 27.599-20.337 47.865-20.336 20.265-48.033 20.265H222.152Zm326.696-557.826v-186H222.152v675.696h515.696v-489.696h-189Zm-326.696-186v186-186 675.696-675.696Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M480.118-330Q551-330 600.5-379.618q49.5-49.617 49.5-120.5Q650-571 600.382-620.5q-49.617-49.5-120.5-49.5Q409-670 359.5-620.382q-49.5 49.617-49.5 120.5Q310-429 359.618-379.5q49.617 49.5 120.5 49.5Zm-.297-61.826q-45.147 0-76.571-31.603t-31.424-76.75q0-45.147 31.603-76.571t76.75-31.424q45.147 0 76.571 31.603t31.424 76.75q0 45.147-31.603 76.571t-76.75 31.424ZM480-194.5q-147.913 0-267.348-84.674T34.5-500q58.717-136.152 178.152-220.826Q332.087-805.5 480-805.5t267.348 84.674Q866.783-636.152 925.5-500q-58.717 136.152-178.152 220.826Q627.913-194.5 480-194.5Zm0-305.5Zm-.147 240q120.997 0 222.333-65.5T856.522-500q-53-109-154.189-174.5Q601.145-740 480.147-740q-120.997 0-222.333 65.5T102.478-500q54 109 155.189 174.5Q358.855-260 479.853-260Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M34.739-116.891 480-886.218l445.261 769.327H34.739Zm113.805-65.739h662.912L480-754.978 148.544-182.63Zm335.631-54.848q12.963 0 21.872-9.085 8.91-9.085 8.91-22.047t-9.085-21.752q-9.085-8.79-22.047-8.79-12.963 0-21.872 8.965-8.91 8.966-8.91 21.928 0 12.962 9.085 21.871 9.085 8.91 22.047 8.91ZM454-348h60v-222.087h-60V-348Zm26-120.804Z"/></svg>
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+ import minimist from "minimist";
3
+ import { extractConfig } from "./lib/config.js";
4
+ import build from "./lib/build.js";
5
+
6
+ const {
7
+ _: pathArray,
8
+ configFile,
9
+ watch,
10
+ cwd,
11
+ } = minimist(process.argv.slice(2), {
12
+ alias: { c: "configFile", w: "watch" },
13
+ });
14
+
15
+ const conf = await extractConfig(cwd || process.cwd(), watch, configFile, pathArray);
16
+
17
+ build(conf);
@@ -0,0 +1,254 @@
1
+ import path from "path";
2
+ import { globbySync } from "globby";
3
+ import * as chokidar from "chokidar";
4
+ import { parse } from "vue-docgen-api";
5
+ import * as fs from "fs";
6
+ import mkdirp from "mkdirp";
7
+ import _ from "lodash";
8
+ import merge from "lodash.merge";
9
+
10
+ export default async function build(config) {
11
+ config.componentsRoot = path.resolve(config.cwd, config.componentsRoot);
12
+ config.outFile = path.resolve(config.cwd, config.outFile);
13
+
14
+ // then create the watcher if necessary
15
+ const { watcher, componentFiles } = getSources(config.components, config.componentsRoot);
16
+
17
+ // eslint-disable-next-line no-console
18
+ console.log("Building web-types to " + config.outFile);
19
+
20
+ const cache = {};
21
+ const buildWebTypesBound = rebuild.bind(null, config, componentFiles, cache, watcher);
22
+
23
+ try {
24
+ await buildWebTypesBound();
25
+ } catch (e) {
26
+ // eslint-disable-next-line no-console
27
+ console.error("Error building web-types: " + e.message);
28
+ await watcher.close();
29
+
30
+ return;
31
+ }
32
+
33
+ if (config.watch) {
34
+ watcher
35
+ .on("add", buildWebTypesBound)
36
+ .on("change", buildWebTypesBound)
37
+ .on("unlink", async (filePath) => {
38
+ // eslint-disable-next-line no-console
39
+ console.log("Rebuilding on file removal " + filePath);
40
+ delete cache[filePath];
41
+ await writeDownWebTypesFile(config, Object.values(cache), config.outFile);
42
+ });
43
+ } else {
44
+ await watcher.close();
45
+ }
46
+ }
47
+
48
+ function getSources(components, cwd) {
49
+ const watcher = chokidar.watch(components, { cwd });
50
+
51
+ const allComponentFiles = globbySync(components, { cwd });
52
+
53
+ return { watcher, componentFiles: allComponentFiles };
54
+ }
55
+
56
+ async function rebuild(config, files, cachedContent, watcher, changedFilePath) {
57
+ const cacheWebTypesContent = async (filePath) => {
58
+ cachedContent[filePath.replace(/\\/g, "/")] = await extractInformation(
59
+ path.join(config.componentsRoot, filePath),
60
+ config,
61
+ );
62
+
63
+ return true;
64
+ };
65
+
66
+ if (changedFilePath) {
67
+ // eslint-disable-next-line no-console
68
+ console.log("Rebuilding on update file " + changedFilePath);
69
+
70
+ try {
71
+ // if in chokidar mode (watch), the path of the file that was just changed
72
+ // is passed as an argument. We only affect the changed file and avoid re-parsing the rest
73
+ await cacheWebTypesContent(changedFilePath);
74
+ } catch (e) {
75
+ throw new Error(
76
+ `Error building file ${config.outFile} when file ${changedFilePath} has changed: ${e.message}`,
77
+ );
78
+ }
79
+ } else {
80
+ try {
81
+ // if we are initializing the current file, parse all components
82
+ await Promise.all(files.map(cacheWebTypesContent));
83
+ } catch (e) {
84
+ throw new Error(`Error building file ${config.outFile}: ${e.message}`);
85
+ }
86
+ }
87
+
88
+ // and finally save all concatenated values to the markdown file
89
+ await writeDownWebTypesFile(config, Object.values(cachedContent), config.outFile);
90
+ }
91
+
92
+ async function writeDownWebTypesFile(config, definitions, destFilePath) {
93
+ const destFolder = path.dirname(destFilePath);
94
+
95
+ await mkdirp(destFolder);
96
+ let writeStream = fs.createWriteStream(destFilePath);
97
+ const contents = {
98
+ framework: "vue",
99
+ name: config.packageName,
100
+ version: config.packageVersion,
101
+ contributions: {
102
+ html: {
103
+ "description-markup": config.descriptionMarkup,
104
+ "types-syntax": config.typesSyntax,
105
+ tags: _(definitions)
106
+ .flatMap((d) => d.tags || [])
107
+ .orderBy("name", "asc")
108
+ .value(),
109
+ attributes: _(definitions)
110
+ .flatMap((d) => d.attributes || [])
111
+ .orderBy("name", "asc")
112
+ .value(),
113
+ "vue-filters": _(definitions)
114
+ .flatMap((d) => d["vue-filters"] || [])
115
+ .orderBy("name", "asc")
116
+ .value(),
117
+ },
118
+ },
119
+ };
120
+
121
+ const html = contents.contributions.html;
122
+
123
+ if (html.tags?.length == 0) html.tags = undefined;
124
+ if (html.attributes?.length == 0) html.attributes = undefined;
125
+ if (html["vue-filters"]?.length == 0) html["vue-filters"] = undefined;
126
+
127
+ writeStream.write(JSON.stringify(contents, null, 2));
128
+
129
+ // close the stream
130
+ writeStream.close();
131
+ }
132
+
133
+ function ensureRelative(path) {
134
+ // The .replace() is a fix for paths that end up like "./src\\components\\General\\VerticalButton.vue" on windows machines.
135
+ return (path.startsWith("./") || path.startsWith("../") ? path : "./" + path).replace(/\\/g, "/");
136
+ }
137
+
138
+ async function extractInformation(absolutePath, config) {
139
+ const doc = await parse(absolutePath, config.apiOptions);
140
+ const name = doc.name || doc.displayName;
141
+ let description = doc.description?.trim() ?? "";
142
+
143
+ // Get default component config
144
+ const configPath = path.join(path.dirname(absolutePath), "configs/default.config.js");
145
+ let globalConfig = null;
146
+ let defaultConfig = null;
147
+ let defaultValues = null;
148
+
149
+ if (fs.existsSync(configPath)) {
150
+ const defaultConfigFile = fs.readFileSync(configPath).toString();
151
+ const globalConfigFile = fs.readFileSync(config.cwd + "/vueless.config.js").toString();
152
+
153
+ defaultConfig = getDefaultConfigJson(defaultConfigFile);
154
+ globalConfig = getGlobalConfigJson(globalConfigFile, name);
155
+ defaultValues = merge(defaultConfig.defaultVariants, globalConfig[name]?.defaultVariants);
156
+ }
157
+
158
+ function getDefaultConfigJson(fileContents) {
159
+ const objectStartIndex = fileContents.indexOf("{");
160
+ const variablePattern = /([^:]+):\s*(?!true|false|undefined)([a-zA-Z_]\w*)/g;
161
+ let objectString = fileContents
162
+ .substring(objectStartIndex)
163
+ .replace("};", "}")
164
+ .replace(/undefined/g, '"undefined"')
165
+ .replace(variablePattern, (match, key) => key + ": {}");
166
+
167
+ return eval("(" + objectString + ")"); // Converting into JS object
168
+ }
169
+
170
+ function getGlobalConfigJson(fileContents, componentName) {
171
+ const startIndex = fileContents.indexOf(`${componentName}:`);
172
+
173
+ // find index of the last closing bracket
174
+ let endIndex = -1;
175
+ let braceCount = 0;
176
+
177
+ for (let i = startIndex; i < fileContents.length; i++) {
178
+ if (fileContents[i] === "{") {
179
+ braceCount++;
180
+ } else if (fileContents[i] === "}") {
181
+ braceCount--;
182
+
183
+ if (braceCount === 0) {
184
+ endIndex = i;
185
+ break;
186
+ }
187
+ }
188
+ }
189
+
190
+ // Get component config raw string
191
+ const rawString = fileContents.slice(startIndex, endIndex);
192
+
193
+ // If the stings are present in config but commented - remove them
194
+ const stringWithoutComments = rawString.replace(/\/\/.*$/gm, "");
195
+
196
+ // Check if final JSON string is valid: TODO: find better solution
197
+ if (!stringWithoutComments.includes("}")) return {};
198
+
199
+ const jsonString = `{${stringWithoutComments}\n}}`
200
+ .replace(/[`']/g, '"')
201
+ .replace(/(\w+)\s*: /g, '"$1":')
202
+ .replace(/,\s*}/g, "}");
203
+
204
+ return JSON.parse(jsonString);
205
+ }
206
+
207
+ doc.docsBlocks?.forEach((block) => {
208
+ if (description.length > 0) {
209
+ if (config.descriptionMarkup === "html") {
210
+ description += "<br/><br/>";
211
+ } else {
212
+ description += "\n\n";
213
+ }
214
+ }
215
+
216
+ description += block;
217
+ });
218
+
219
+ const componentPath = ensureRelative(path.relative(config.cwd, absolutePath));
220
+
221
+ return {
222
+ tags: [
223
+ {
224
+ name,
225
+ description,
226
+ attributes: doc.props?.map((prop) => ({
227
+ name: prop.name,
228
+ required: prop.required,
229
+ description: prop.tags?.ignore ? "@ignore: " + prop.description : prop.description,
230
+ value: {
231
+ kind: "expression",
232
+ type: prop.values ? `'${prop.values.join("' | '")}'` : prop.type?.name ?? "any",
233
+ },
234
+ default:
235
+ defaultValues && prop.name in defaultValues
236
+ ? defaultValues[prop.name].toString()
237
+ : prop.defaultValue?.value.toString(),
238
+ })),
239
+ events: doc.events?.map((event) => ({
240
+ name: event.name,
241
+ description: event.description,
242
+ })),
243
+ slots: doc.slots?.map((slot) => ({
244
+ name: slot.name,
245
+ description: slot.description,
246
+ })),
247
+ source: {
248
+ module: config.isVuelessEnv ? componentPath.replace("./src", "vueless") : componentPath,
249
+ symbol: doc.exportName,
250
+ },
251
+ },
252
+ ],
253
+ };
254
+ }
@@ -0,0 +1,32 @@
1
+ import path from "path";
2
+ import fs from "fs";
3
+ import { readFile } from "fs/promises";
4
+
5
+ export async function extractConfig(cwd, watch = false, configFileFromCmd, pathArray = []) {
6
+ const configFilePath = configFileFromCmd
7
+ ? path.resolve(cwd, configFileFromCmd)
8
+ : path.join(cwd, "web-types.config.js");
9
+ const [componentsFromCmd, outFileFromCmd] = pathArray;
10
+
11
+ const fileContent = await readFile(path.join(cwd, "package.json"), "utf-8");
12
+ const packageJson = JSON.parse(fileContent);
13
+
14
+ let additionalConfig = {};
15
+
16
+ if (fs.existsSync(configFilePath)) {
17
+ additionalConfig = await import(configFilePath);
18
+ }
19
+
20
+ return {
21
+ cwd,
22
+ watch,
23
+ componentsRoot: configFilePath ? path.dirname(configFilePath) : cwd,
24
+ components: componentsFromCmd || "src/**/*.vue",
25
+ outFile: outFileFromCmd || packageJson["web-types"] || "./web-types.json",
26
+ packageName: packageJson["name"],
27
+ packageVersion: packageJson["version"],
28
+ typesSyntax: "typescript",
29
+ descriptionMarkup: "markdown",
30
+ ...additionalConfig.default,
31
+ };
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -19,7 +19,7 @@
19
19
  "sb:build": "STORYBOOK_VUELESS_ENV=1 storybook build",
20
20
  "sb:preview": "vite preview --host --outDir=storybook-static",
21
21
  "vueless:update": "yarn add -D file:../vite-plugin-vueless file:../vueless-storybook",
22
- "vueless:prepare": "node .web-types-gen && rm -rf dist && mkdir -p dist && cp -r src/* package.json LICENSE web-types.json README.md dist/"
22
+ "vueless:prepare": "node src/gen.web-types && rm -rf dist && mkdir -p dist && cp -r src/* package.json LICENSE web-types.json README.md dist/"
23
23
  },
24
24
  "dependencies": {
25
25
  "@kyvg/vue3-notification": "^3.2.1",
@@ -40,8 +40,8 @@
40
40
  "@vitejs/plugin-vue": "^5.0.4",
41
41
  "@vue/compiler-sfc": "^3.4.19",
42
42
  "@vue/eslint-config-prettier": "^9.0.0",
43
- "@vueless/storybook": "file:../vueless-storybook",
44
- "@vueless/vite-plugin": "file:../vite-plugin-vueless",
43
+ "@vueless/plugin-vite": "^0.0.1",
44
+ "@vueless/storybook": "^0.0.8",
45
45
  "autoprefixer": "^10.4.19",
46
46
  "cssnano": "^6.1.2",
47
47
  "eslint": "^8.55.0",
@@ -54,11 +54,15 @@
54
54
  "postcss": "^8.4.7",
55
55
  "prettier": "^3.1.0",
56
56
  "prettier-eslint": "^16.3.0",
57
- "vite": "^5.1.1",
57
+ "release-it": "^17.2.0",
58
+ "vite": "^5.2.10",
58
59
  "vite-plugin-compression": "^0.5.1",
59
60
  "vite-plugin-eslint": "^1.8.1",
60
61
  "vue": "^3.4.19"
61
62
  },
63
+ "resolutions": {
64
+ "jackspeak": "2.1.1"
65
+ },
62
66
  "repository": {
63
67
  "type": "git",
64
68
  "url": "git+https://github.com/vuelessjs/vueless.git"
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.16",
4
+ "version": "0.0.18",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -98,7 +98,7 @@
98
98
  }
99
99
  ],
100
100
  "source": {
101
- "module": "/src/ui.form-calendar/components/DayView.vue",
101
+ "module": "vueless/ui.form-calendar/components/DayView.vue",
102
102
  "symbol": "default"
103
103
  }
104
104
  },
@@ -177,7 +177,7 @@
177
177
  }
178
178
  ],
179
179
  "source": {
180
- "module": "/src/ui.form-calendar/components/MonthView.vue",
180
+ "module": "vueless/ui.form-calendar/components/MonthView.vue",
181
181
  "symbol": "default"
182
182
  }
183
183
  },
@@ -246,7 +246,7 @@
246
246
  }
247
247
  ],
248
248
  "source": {
249
- "module": "/src/ui.container-accordion/index.vue",
249
+ "module": "vueless/ui.container-accordion/index.vue",
250
250
  "symbol": "default"
251
251
  }
252
252
  },
@@ -339,7 +339,7 @@
339
339
  }
340
340
  ],
341
341
  "source": {
342
- "module": "/src/ui.text-alert/index.vue",
342
+ "module": "vueless/ui.text-alert/index.vue",
343
343
  "symbol": "default"
344
344
  }
345
345
  },
@@ -417,7 +417,7 @@
417
417
  }
418
418
  ],
419
419
  "source": {
420
- "module": "/src/ui.image-avatar/index.vue",
420
+ "module": "vueless/ui.image-avatar/index.vue",
421
421
  "symbol": "default"
422
422
  }
423
423
  },
@@ -519,7 +519,7 @@
519
519
  }
520
520
  ],
521
521
  "source": {
522
- "module": "/src/ui.text-badge/index.vue",
522
+ "module": "vueless/ui.text-badge/index.vue",
523
523
  "symbol": "default"
524
524
  }
525
525
  },
@@ -665,7 +665,7 @@
665
665
  }
666
666
  ],
667
667
  "source": {
668
- "module": "/src/ui.button/index.vue",
668
+ "module": "vueless/ui.button/index.vue",
669
669
  "symbol": "default"
670
670
  }
671
671
  },
@@ -788,7 +788,7 @@
788
788
  }
789
789
  ],
790
790
  "source": {
791
- "module": "/src/ui.form-calendar/index.vue",
791
+ "module": "vueless/ui.form-calendar/index.vue",
792
792
  "symbol": "default"
793
793
  }
794
794
  },
@@ -890,7 +890,7 @@
890
890
  }
891
891
  ],
892
892
  "source": {
893
- "module": "/src/ui.container-card/index.vue",
893
+ "module": "vueless/ui.container-card/index.vue",
894
894
  "symbol": "default"
895
895
  }
896
896
  },
@@ -1048,7 +1048,7 @@
1048
1048
  }
1049
1049
  ],
1050
1050
  "source": {
1051
- "module": "/src/ui.form-checkbox/index.vue",
1051
+ "module": "vueless/ui.form-checkbox/index.vue",
1052
1052
  "symbol": "default"
1053
1053
  }
1054
1054
  },
@@ -1149,7 +1149,7 @@
1149
1149
  }
1150
1150
  ],
1151
1151
  "source": {
1152
- "module": "/src/ui.form-checkbox-group/index.vue",
1152
+ "module": "vueless/ui.form-checkbox-group/index.vue",
1153
1153
  "symbol": "default"
1154
1154
  }
1155
1155
  },
@@ -1245,7 +1245,7 @@
1245
1245
  }
1246
1246
  ],
1247
1247
  "source": {
1248
- "module": "/src/ui.form-checkbox-multi-state/index.vue",
1248
+ "module": "vueless/ui.form-checkbox-multi-state/index.vue",
1249
1249
  "symbol": "default"
1250
1250
  }
1251
1251
  },
@@ -1350,7 +1350,7 @@
1350
1350
  }
1351
1351
  ],
1352
1352
  "source": {
1353
- "module": "/src/ui.form-color-picker/index.vue",
1353
+ "module": "vueless/ui.form-color-picker/index.vue",
1354
1354
  "symbol": "default"
1355
1355
  }
1356
1356
  },
@@ -1470,7 +1470,7 @@
1470
1470
  }
1471
1471
  ],
1472
1472
  "source": {
1473
- "module": "/src/ui.data-list/index.vue",
1473
+ "module": "vueless/ui.data-list/index.vue",
1474
1474
  "symbol": "default"
1475
1475
  }
1476
1476
  },
@@ -1634,7 +1634,7 @@
1634
1634
  }
1635
1635
  ],
1636
1636
  "source": {
1637
- "module": "/src/ui.form-date-picker/index.vue",
1637
+ "module": "vueless/ui.form-date-picker/index.vue",
1638
1638
  "symbol": "default"
1639
1639
  }
1640
1640
  },
@@ -1786,7 +1786,7 @@
1786
1786
  }
1787
1787
  ],
1788
1788
  "source": {
1789
- "module": "/src/ui.form-date-picker-range/index.vue",
1789
+ "module": "vueless/ui.form-date-picker-range/index.vue",
1790
1790
  "symbol": "default"
1791
1791
  }
1792
1792
  },
@@ -1922,7 +1922,7 @@
1922
1922
  }
1923
1923
  ],
1924
1924
  "source": {
1925
- "module": "/src/ui.container-divider/index.vue",
1925
+ "module": "vueless/ui.container-divider/index.vue",
1926
1926
  "symbol": "default"
1927
1927
  }
1928
1928
  },
@@ -1968,7 +1968,7 @@
1968
1968
  }
1969
1969
  ],
1970
1970
  "source": {
1971
- "module": "/src/ui.other-dot/index.vue",
1971
+ "module": "vueless/ui.other-dot/index.vue",
1972
1972
  "symbol": "default"
1973
1973
  }
1974
1974
  },
@@ -2124,7 +2124,7 @@
2124
2124
  }
2125
2125
  ],
2126
2126
  "source": {
2127
- "module": "/src/ui.dropdown-badge/index.vue",
2127
+ "module": "vueless/ui.dropdown-badge/index.vue",
2128
2128
  "symbol": "default"
2129
2129
  }
2130
2130
  },
@@ -2307,7 +2307,7 @@
2307
2307
  }
2308
2308
  ],
2309
2309
  "source": {
2310
- "module": "/src/ui.dropdown-button/index.vue",
2310
+ "module": "vueless/ui.dropdown-button/index.vue",
2311
2311
  "symbol": "default"
2312
2312
  }
2313
2313
  },
@@ -2354,7 +2354,7 @@
2354
2354
  }
2355
2355
  ],
2356
2356
  "source": {
2357
- "module": "/src/ui.dropdown-item/index.vue",
2357
+ "module": "vueless/ui.dropdown-item/index.vue",
2358
2358
  "symbol": "default"
2359
2359
  }
2360
2360
  },
@@ -2528,7 +2528,7 @@
2528
2528
  }
2529
2529
  ],
2530
2530
  "source": {
2531
- "module": "/src/ui.dropdown-link/index.vue",
2531
+ "module": "vueless/ui.dropdown-link/index.vue",
2532
2532
  "symbol": "default"
2533
2533
  }
2534
2534
  },
@@ -2671,7 +2671,7 @@
2671
2671
  }
2672
2672
  ],
2673
2673
  "source": {
2674
- "module": "/src/ui.dropdown-list/index.vue",
2674
+ "module": "vueless/ui.dropdown-list/index.vue",
2675
2675
  "symbol": "default"
2676
2676
  }
2677
2677
  },
@@ -2740,7 +2740,7 @@
2740
2740
  }
2741
2741
  ],
2742
2742
  "source": {
2743
- "module": "/src/ui.text-empty/index.vue",
2743
+ "module": "vueless/ui.text-empty/index.vue",
2744
2744
  "symbol": "default"
2745
2745
  }
2746
2746
  },
@@ -2803,7 +2803,7 @@
2803
2803
  }
2804
2804
  ],
2805
2805
  "source": {
2806
- "module": "/src/ui.text-file/index.vue",
2806
+ "module": "vueless/ui.text-file/index.vue",
2807
2807
  "symbol": "default"
2808
2808
  }
2809
2809
  },
@@ -2871,7 +2871,7 @@
2871
2871
  }
2872
2872
  ],
2873
2873
  "source": {
2874
- "module": "/src/ui.text-files/index.vue",
2874
+ "module": "vueless/ui.text-files/index.vue",
2875
2875
  "symbol": "default"
2876
2876
  }
2877
2877
  },
@@ -2957,7 +2957,7 @@
2957
2957
  }
2958
2958
  ],
2959
2959
  "source": {
2960
- "module": "/src/ui.container-group/index.vue",
2960
+ "module": "vueless/ui.container-group/index.vue",
2961
2961
  "symbol": "default"
2962
2962
  }
2963
2963
  },
@@ -2991,7 +2991,7 @@
2991
2991
  }
2992
2992
  ],
2993
2993
  "source": {
2994
- "module": "/src/ui.container-groups/index.vue",
2994
+ "module": "vueless/ui.container-groups/index.vue",
2995
2995
  "symbol": "default"
2996
2996
  }
2997
2997
  },
@@ -3069,7 +3069,7 @@
3069
3069
  }
3070
3070
  ],
3071
3071
  "source": {
3072
- "module": "/src/ui.text-header/index.vue",
3072
+ "module": "vueless/ui.text-header/index.vue",
3073
3073
  "symbol": "default"
3074
3074
  }
3075
3075
  },
@@ -3198,7 +3198,7 @@
3198
3198
  }
3199
3199
  ],
3200
3200
  "source": {
3201
- "module": "/src/ui.image-icon/index.vue",
3201
+ "module": "vueless/ui.image-icon/index.vue",
3202
3202
  "symbol": "default"
3203
3203
  }
3204
3204
  },
@@ -3398,7 +3398,7 @@
3398
3398
  }
3399
3399
  ],
3400
3400
  "source": {
3401
- "module": "/src/ui.form-input/index.vue",
3401
+ "module": "vueless/ui.form-input/index.vue",
3402
3402
  "symbol": "default"
3403
3403
  }
3404
3404
  },
@@ -3538,7 +3538,7 @@
3538
3538
  }
3539
3539
  ],
3540
3540
  "source": {
3541
- "module": "/src/ui.form-input-file/index.vue",
3541
+ "module": "vueless/ui.form-input-file/index.vue",
3542
3542
  "symbol": "default"
3543
3543
  }
3544
3544
  },
@@ -3747,7 +3747,7 @@
3747
3747
  }
3748
3748
  ],
3749
3749
  "source": {
3750
- "module": "/src/ui.form-input-money/index.vue",
3750
+ "module": "vueless/ui.form-input-money/index.vue",
3751
3751
  "symbol": "default"
3752
3752
  }
3753
3753
  },
@@ -3834,7 +3834,7 @@
3834
3834
  }
3835
3835
  ],
3836
3836
  "source": {
3837
- "module": "/src/ui.form-input-number/index.vue",
3837
+ "module": "vueless/ui.form-input-number/index.vue",
3838
3838
  "symbol": "default"
3839
3839
  }
3840
3840
  },
@@ -3958,7 +3958,7 @@
3958
3958
  }
3959
3959
  ],
3960
3960
  "source": {
3961
- "module": "/src/ui.form-input-rating/index.vue",
3961
+ "module": "vueless/ui.form-input-rating/index.vue",
3962
3962
  "symbol": "default"
3963
3963
  }
3964
3964
  },
@@ -4106,7 +4106,7 @@
4106
4106
  }
4107
4107
  ],
4108
4108
  "source": {
4109
- "module": "/src/ui.form-input-search/index.vue",
4109
+ "module": "vueless/ui.form-input-search/index.vue",
4110
4110
  "symbol": "default"
4111
4111
  }
4112
4112
  },
@@ -4213,7 +4213,7 @@
4213
4213
  }
4214
4214
  ],
4215
4215
  "source": {
4216
- "module": "/src/ui.form-label/index.vue",
4216
+ "module": "vueless/ui.form-label/index.vue",
4217
4217
  "symbol": "default"
4218
4218
  }
4219
4219
  },
@@ -4380,7 +4380,7 @@
4380
4380
  }
4381
4381
  ],
4382
4382
  "source": {
4383
- "module": "/src/ui.button-link/index.vue",
4383
+ "module": "vueless/ui.button-link/index.vue",
4384
4384
  "symbol": "default"
4385
4385
  }
4386
4386
  },
@@ -4408,7 +4408,7 @@
4408
4408
  }
4409
4409
  ],
4410
4410
  "source": {
4411
- "module": "/src/ui.other-loader/index.vue",
4411
+ "module": "vueless/ui.other-loader/index.vue",
4412
4412
  "symbol": "default"
4413
4413
  }
4414
4414
  },
@@ -4426,7 +4426,7 @@
4426
4426
  }
4427
4427
  ],
4428
4428
  "source": {
4429
- "module": "/src/ui.loader-rendering/index.vue",
4429
+ "module": "vueless/ui.loader-rendering/index.vue",
4430
4430
  "symbol": "default"
4431
4431
  }
4432
4432
  },
@@ -4463,7 +4463,7 @@
4463
4463
  }
4464
4464
  ],
4465
4465
  "source": {
4466
- "module": "/src/ui.other-loader-top/index.vue",
4466
+ "module": "vueless/ui.other-loader-top/index.vue",
4467
4467
  "symbol": "default"
4468
4468
  }
4469
4469
  },
@@ -4541,7 +4541,7 @@
4541
4541
  }
4542
4542
  ],
4543
4543
  "source": {
4544
- "module": "/src/ui.image-logo/index.vue",
4544
+ "module": "vueless/ui.image-logo/index.vue",
4545
4545
  "symbol": "default"
4546
4546
  }
4547
4547
  },
@@ -4733,7 +4733,7 @@
4733
4733
  }
4734
4734
  ],
4735
4735
  "source": {
4736
- "module": "/src/ui.container-modal/index.vue",
4736
+ "module": "vueless/ui.container-modal/index.vue",
4737
4737
  "symbol": "default"
4738
4738
  }
4739
4739
  },
@@ -4858,7 +4858,7 @@
4858
4858
  }
4859
4859
  ],
4860
4860
  "source": {
4861
- "module": "/src/ui.container-modal-confirm/index.vue",
4861
+ "module": "vueless/ui.container-modal-confirm/index.vue",
4862
4862
  "symbol": "default"
4863
4863
  }
4864
4864
  },
@@ -5012,7 +5012,7 @@
5012
5012
  }
5013
5013
  ],
5014
5014
  "source": {
5015
- "module": "/src/ui.text-money/index.vue",
5015
+ "module": "vueless/ui.text-money/index.vue",
5016
5016
  "symbol": "default"
5017
5017
  }
5018
5018
  },
@@ -5040,7 +5040,7 @@
5040
5040
  }
5041
5041
  ],
5042
5042
  "source": {
5043
- "module": "/src/ui.notify/index.vue",
5043
+ "module": "vueless/ui.notify/index.vue",
5044
5044
  "symbol": "default"
5045
5045
  }
5046
5046
  },
@@ -5170,7 +5170,7 @@
5170
5170
  }
5171
5171
  ],
5172
5172
  "source": {
5173
- "module": "/src/ui.container-page/index.vue",
5173
+ "module": "vueless/ui.container-page/index.vue",
5174
5174
  "symbol": "default"
5175
5175
  }
5176
5176
  },
@@ -5325,7 +5325,7 @@
5325
5325
  }
5326
5326
  ],
5327
5327
  "source": {
5328
- "module": "/src/ui.navigation-pagination/index.vue",
5328
+ "module": "vueless/ui.navigation-pagination/index.vue",
5329
5329
  "symbol": "default"
5330
5330
  }
5331
5331
  },
@@ -5456,7 +5456,7 @@
5456
5456
  }
5457
5457
  ],
5458
5458
  "source": {
5459
- "module": "/src/ui.form-radio/index.vue",
5459
+ "module": "vueless/ui.form-radio/index.vue",
5460
5460
  "symbol": "default"
5461
5461
  }
5462
5462
  },
@@ -5567,7 +5567,7 @@
5567
5567
  }
5568
5568
  ],
5569
5569
  "source": {
5570
- "module": "/src/ui.form-radio-card/index.vue",
5570
+ "module": "vueless/ui.form-radio-card/index.vue",
5571
5571
  "symbol": "default"
5572
5572
  }
5573
5573
  },
@@ -5677,7 +5677,7 @@
5677
5677
  }
5678
5678
  ],
5679
5679
  "source": {
5680
- "module": "/src/ui.form-radio-group/index.vue",
5680
+ "module": "vueless/ui.form-radio-group/index.vue",
5681
5681
  "symbol": "default"
5682
5682
  }
5683
5683
  },
@@ -5720,7 +5720,7 @@
5720
5720
  }
5721
5721
  ],
5722
5722
  "source": {
5723
- "module": "/src/ui.container-row/index.vue",
5723
+ "module": "vueless/ui.container-row/index.vue",
5724
5724
  "symbol": "default"
5725
5725
  }
5726
5726
  },
@@ -6013,7 +6013,7 @@
6013
6013
  }
6014
6014
  ],
6015
6015
  "source": {
6016
- "module": "/src/ui.form-select/index.vue",
6016
+ "module": "vueless/ui.form-select/index.vue",
6017
6017
  "symbol": "default"
6018
6018
  }
6019
6019
  },
@@ -6077,7 +6077,7 @@
6077
6077
  }
6078
6078
  ],
6079
6079
  "source": {
6080
- "module": "/src/ui.navigation-stepper/index.vue",
6080
+ "module": "vueless/ui.navigation-stepper/index.vue",
6081
6081
  "symbol": "default"
6082
6082
  }
6083
6083
  },
@@ -6200,7 +6200,7 @@
6200
6200
  }
6201
6201
  ],
6202
6202
  "source": {
6203
- "module": "/src/ui.form-switch/index.vue",
6203
+ "module": "vueless/ui.form-switch/index.vue",
6204
6204
  "symbol": "default"
6205
6205
  }
6206
6206
  },
@@ -6261,7 +6261,7 @@
6261
6261
  }
6262
6262
  ],
6263
6263
  "source": {
6264
- "module": "/src/ui.navigation-tab/index.vue",
6264
+ "module": "vueless/ui.navigation-tab/index.vue",
6265
6265
  "symbol": "default"
6266
6266
  }
6267
6267
  },
@@ -6435,7 +6435,7 @@
6435
6435
  }
6436
6436
  ],
6437
6437
  "source": {
6438
- "module": "/src/ui.data-table/index.vue",
6438
+ "module": "vueless/ui.data-table/index.vue",
6439
6439
  "symbol": "default"
6440
6440
  }
6441
6441
  },
@@ -6477,7 +6477,7 @@
6477
6477
  }
6478
6478
  ],
6479
6479
  "source": {
6480
- "module": "/src/ui.data-table-cell/index.vue",
6480
+ "module": "vueless/ui.data-table-cell/index.vue",
6481
6481
  "symbol": "default"
6482
6482
  }
6483
6483
  },
@@ -6551,7 +6551,7 @@
6551
6551
  }
6552
6552
  ],
6553
6553
  "source": {
6554
- "module": "/src/ui.navigation-tabs/index.vue",
6554
+ "module": "vueless/ui.navigation-tabs/index.vue",
6555
6555
  "symbol": "default"
6556
6556
  }
6557
6557
  },
@@ -6621,7 +6621,7 @@
6621
6621
  }
6622
6622
  ],
6623
6623
  "source": {
6624
- "module": "/src/ui.text-block/index.vue",
6624
+ "module": "vueless/ui.text-block/index.vue",
6625
6625
  "symbol": "default"
6626
6626
  }
6627
6627
  },
@@ -6805,7 +6805,7 @@
6805
6805
  }
6806
6806
  ],
6807
6807
  "source": {
6808
- "module": "/src/ui.form-textarea/index.vue",
6808
+ "module": "vueless/ui.form-textarea/index.vue",
6809
6809
  "symbol": "default"
6810
6810
  }
6811
6811
  },
@@ -6888,7 +6888,7 @@
6888
6888
  }
6889
6889
  ],
6890
6890
  "source": {
6891
- "module": "/src/ui.button-toggle/index.vue",
6891
+ "module": "vueless/ui.button-toggle/index.vue",
6892
6892
  "symbol": "default"
6893
6893
  }
6894
6894
  },
@@ -6989,7 +6989,7 @@
6989
6989
  }
6990
6990
  ],
6991
6991
  "source": {
6992
- "module": "/src/ui.button-toggle-item/index.vue",
6992
+ "module": "vueless/ui.button-toggle-item/index.vue",
6993
6993
  "symbol": "default"
6994
6994
  }
6995
6995
  },
@@ -7002,7 +7002,7 @@
7002
7002
  }
7003
7003
  ],
7004
7004
  "source": {
7005
- "module": "/src/ui.viewport/index.vue",
7005
+ "module": "vueless/ui.viewport/index.vue",
7006
7006
  "symbol": "default"
7007
7007
  }
7008
7008
  },
@@ -7081,7 +7081,7 @@
7081
7081
  }
7082
7082
  ],
7083
7083
  "source": {
7084
- "module": "/src/ui.form-calendar/components/YearView.vue",
7084
+ "module": "vueless/ui.form-calendar/components/YearView.vue",
7085
7085
  "symbol": "default"
7086
7086
  }
7087
7087
  }