@skalfa/skalfa-app 1.0.0 → 1.0.1

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 (87) hide show
  1. package/.env.example +43 -43
  2. package/.github/workflows/publish.yml +39 -0
  3. package/CONTRIBUTING.md +45 -0
  4. package/LICENSE +21 -0
  5. package/README.md +91 -28
  6. package/app/auth/edit/page.tsx +65 -65
  7. package/app/auth/login/page.tsx +63 -63
  8. package/app/auth/me/page.tsx +58 -58
  9. package/app/auth/register/page.tsx +69 -69
  10. package/app/auth/verify/page.tsx +53 -53
  11. package/app/dashboard/user/page.tsx +76 -76
  12. package/app/layout.tsx +37 -37
  13. package/app/manifest.ts +25 -0
  14. package/app/page.tsx +13 -13
  15. package/barrels.json +5 -5
  16. package/blueprints/starter.blueprint.json +102 -102
  17. package/bun.lock +916 -0
  18. package/components/base.components/chip/Chip.component.tsx +39 -39
  19. package/components/base.components/document/DocumentViewer.component.tsx +163 -163
  20. package/components/base.components/document/ExportExcel.component.tsx +340 -340
  21. package/components/base.components/document/ImportExcel.component.tsx +315 -315
  22. package/components/base.components/document/PrintTable.component.tsx +204 -204
  23. package/components/base.components/document/RenderPDF.component.tsx +415 -415
  24. package/components/base.components/input/Checkbox.component.tsx +109 -109
  25. package/components/base.components/input/Input.component.tsx +332 -332
  26. package/components/base.components/input/InputCheckbox.component.tsx +174 -174
  27. package/components/base.components/input/InputCurrency.component.tsx +163 -163
  28. package/components/base.components/input/InputDate.component.tsx +352 -352
  29. package/components/base.components/input/InputDatetime.component.tsx +260 -260
  30. package/components/base.components/input/InputDocument.component.tsx +351 -351
  31. package/components/base.components/input/InputImage.component.tsx +533 -533
  32. package/components/base.components/input/InputMap.component.tsx +317 -317
  33. package/components/base.components/input/InputNumber.component.tsx +192 -192
  34. package/components/base.components/input/InputOtp.component.tsx +169 -169
  35. package/components/base.components/input/InputPassword.component.tsx +236 -236
  36. package/components/base.components/input/InputRadio.component.tsx +175 -175
  37. package/components/base.components/input/InputTime.component.tsx +275 -275
  38. package/components/base.components/input/InputValues.component.tsx +68 -68
  39. package/components/base.components/input/Radio.component.tsx +102 -102
  40. package/components/base.components/input/Select.component.tsx +541 -541
  41. package/components/base.components/modal/BottomSheet.component.tsx +245 -245
  42. package/components/base.components/supervision/FormSupervision.component.tsx +433 -433
  43. package/components/base.components/supervision/TableSupervision.component.tsx +697 -697
  44. package/components/base.components/table/ControlBar.component.tsx +497 -497
  45. package/components/base.components/table/FilterComponent.tsx +518 -518
  46. package/components/base.components/table/Table.component.tsx +469 -469
  47. package/components/base.components/typography/TypographyArticle.component.tsx +26 -26
  48. package/components/base.components/typography/TypographyColumn.component.tsx +20 -20
  49. package/components/base.components/typography/TypographyContent.component.tsx +20 -20
  50. package/components/base.components/typography/TypographyTips.component.tsx +20 -20
  51. package/components/base.components/wrap/Draggable.component.tsx +303 -303
  52. package/components/base.components/wrap/IDBProvider.tsx +12 -12
  53. package/components/base.components/wrap/Image.component.tsx +9 -9
  54. package/components/base.components/wrap/ShortcutProvider.tsx +57 -57
  55. package/components/base.components/wrap/Swipe.component.tsx +93 -93
  56. package/components/index.ts +2 -2
  57. package/contexts/AppProvider.tsx +11 -11
  58. package/contexts/Auth.context.tsx +64 -64
  59. package/contexts/Toggle.context.tsx +44 -44
  60. package/next.config.ts +15 -1
  61. package/package.json +14 -13
  62. package/public/204.svg +19 -19
  63. package/public/500.svg +39 -39
  64. package/public/icon-192.png +0 -0
  65. package/public/icon-512.png +0 -0
  66. package/public/images/logo-fill.png +0 -0
  67. package/public/images/logo-full-fill.png +0 -0
  68. package/public/images/logo-full.png +0 -0
  69. package/public/images/logo.png +0 -0
  70. package/schema/idb/app.schema.ts +8 -8
  71. package/src-tauri/Cargo.toml +14 -0
  72. package/src-tauri/build.rs +3 -0
  73. package/src-tauri/capabilities/default.json +11 -0
  74. package/src-tauri/icons/128x128.png +0 -0
  75. package/src-tauri/icons/128x128@2x.png +0 -0
  76. package/src-tauri/icons/32x32.png +0 -0
  77. package/src-tauri/icons/icon.icns +0 -0
  78. package/src-tauri/icons/icon.ico +0 -0
  79. package/src-tauri/src/main.rs +7 -0
  80. package/src-tauri/tauri.conf.json +36 -0
  81. package/styles/globals.css +231 -231
  82. package/styles/tailwind.safelist +68 -68
  83. package/utils/commands/barrels.ts +27 -27
  84. package/utils/commands/light.ts +21 -21
  85. package/utils/commands/logger.ts +42 -42
  86. package/utils/commands/stubs/table-blueprint.stub +12 -12
  87. package/utils/commands/use-pdf.ts +29 -29
package/public/204.svg CHANGED
@@ -1,19 +1,19 @@
1
- <svg width="1042" height="1079" viewBox="0 0 1042 1079" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M521.5 1079C796.814 1079 1020 855.814 1020 580.5C1020 305.186 796.814 82 521.5 82C246.186 82 23 305.186 23 580.5C23 855.814 246.186 1079 521.5 1079Z" fill="white"/>
3
- <path d="M521 1014C808.74 1014 1042 982.212 1042 943C1042 903.788 808.74 872 521 872C233.26 872 0 903.788 0 943C0 982.212 233.26 1014 521 1014Z" fill="#444B53"/>
4
- <path d="M414.617 763.589L400.106 856.376C400.106 856.376 328.67 894.385 378.899 895.503C429.127 896.621 665.76 895.503 665.76 895.503C665.76 895.503 711.524 895.503 638.971 855.258L624.461 758L414.617 763.589Z" fill="#2E3741"/>
5
- <path d="M956.81 119H79.1904C60.8598 119 46 133.847 46 152.162V742.838C46 761.153 60.8598 776 79.1904 776H956.81C975.14 776 990 761.153 990 742.838V152.162C990 133.847 975.14 119 956.81 119Z" fill="#2E3741"/>
6
- <path d="M959 154H78V647H959V154Z" fill="white"/>
7
- <path d="M990 686V743.114C990.001 747.433 989.142 751.709 987.475 755.7C985.807 759.69 983.362 763.315 980.28 766.369C977.198 769.423 973.539 771.845 969.512 773.498C965.485 775.15 961.168 776.001 956.81 776H79.1906C74.8318 776.001 70.5156 775.15 66.4885 773.498C62.4614 771.845 58.8022 769.423 55.72 766.369C52.6379 763.315 50.1932 759.69 48.5254 755.7C46.8576 751.709 45.9995 747.433 46 743.114V686H990Z" fill="#2E3741"/>
8
- <path d="M518 753C529.598 753 539 743.598 539 732C539 720.402 529.598 711 518 711C506.402 711 497 720.402 497 732C497 743.598 506.402 753 518 753Z" fill="#F2F2F2"/>
9
- <rect x="170.245" y="120.876" width="413.283" height="479.455" rx="15" transform="rotate(-16.7269 170.245 120.876)" fill="white" stroke="#2E3741" stroke-width="2"/>
10
- <path d="M575 143.206H404.712C400.831 143.21 397.111 144.754 394.367 147.498C391.623 150.241 390.079 153.961 390.075 157.842V536.273L388.123 536.869L346.349 549.66C344.369 550.264 342.23 550.057 340.403 549.086C338.575 548.115 337.208 546.458 336.6 544.479L212.341 138.63C211.736 136.65 211.942 134.511 212.914 132.684C213.885 130.856 215.543 129.488 217.522 128.882L281.897 109.173L468.52 52.0543L532.894 32.3448C533.874 32.0433 534.903 31.938 535.924 32.0348C536.944 32.1316 537.935 32.4286 538.841 32.909C539.746 33.3893 540.548 34.0434 541.2 34.834C541.853 35.6245 542.343 36.536 542.642 37.5161L574.405 141.254L575 143.206Z" fill="#F2F2F2"/>
11
- <path d="M293.376 129C291.494 128.999 289.661 128.396 288.148 127.279C286.634 126.163 285.519 124.592 284.966 122.797L272.385 81.8091C272.047 80.7081 271.93 79.5515 272.04 78.4052C272.15 77.259 272.486 76.1456 273.027 75.1287C273.569 74.1118 274.306 73.2113 275.197 72.4786C276.087 71.7459 277.114 71.1953 278.217 70.8584L450.058 18.3821C452.287 17.7035 454.695 17.9349 456.754 19.0255C458.812 20.1161 460.352 21.9767 461.037 24.199L473.617 65.1875C474.297 67.4111 474.065 69.8129 472.972 71.8659C471.878 73.919 470.013 75.4556 467.786 76.1387L295.945 128.615C295.112 128.87 294.247 129 293.376 129V129Z" fill="#5AAFFF"/>
12
- <path d="M359 47.9999C370.046 47.9999 379 39.2695 379 28.4999C379 17.7304 370.046 8.99991 359 8.99991C347.954 8.99991 339 17.7304 339 28.4999C339 39.2695 347.954 47.9999 359 47.9999Z" fill="#5AAFFF"/>
13
- <rect x="389" y="142" width="416" height="478" rx="15" fill="white" stroke="#2E3741" stroke-width="2"/>
14
- <path d="M359 40.9999C365.627 40.9999 371 35.4035 371 28.4999C371 21.5964 365.627 15.9999 359 15.9999C352.373 15.9999 347 21.5964 347 28.4999C347 35.4035 352.373 40.9999 359 40.9999Z" fill="white"/>
15
- <path d="M761.692 572H431.308C429.106 571.997 426.994 571.122 425.436 569.567C423.879 568.011 423.003 565.902 423 563.701V168.299C423.002 166.098 423.879 163.989 425.436 162.433C426.994 160.877 429.106 160.002 431.308 160H761.692C763.894 160.002 766.006 160.878 767.564 162.433C769.121 163.989 769.997 166.098 770 168.299V563.701C769.997 565.901 769.121 568.011 767.564 569.566C766.006 571.122 763.894 571.997 761.692 572V572Z" fill="#E6E6E6"/>
16
- <path d="M686.223 184H506.777C504.45 183.997 502.219 183.063 500.574 181.403C498.928 179.743 498.003 177.493 498 175.145V131.855C498.003 129.507 498.928 127.256 500.574 125.596C502.219 123.936 504.45 123.003 506.777 123H686.223C688.55 123.003 690.781 123.936 692.426 125.596C694.072 127.256 694.997 129.507 695 131.855V175.145C694.997 177.493 694.072 179.743 692.426 181.403C690.781 183.063 688.55 183.997 686.223 184V184Z" fill="#5AAFFF"/>
17
- <path d="M596.5 126C607.27 126 616 117.269 616 106.5C616 95.7303 607.27 86.9999 596.5 86.9999C585.73 86.9999 577 95.7303 577 106.5C577 117.269 585.73 126 596.5 126Z" fill="#5AAFFF"/>
18
- <path d="M597 119C603.627 119 609 113.627 609 107C609 100.372 603.627 94.9999 597 94.9999C590.373 94.9999 585 100.372 585 107C585 113.627 590.373 119 597 119Z" fill="white"/>
19
- </svg>
1
+ <svg width="1042" height="1079" viewBox="0 0 1042 1079" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M521.5 1079C796.814 1079 1020 855.814 1020 580.5C1020 305.186 796.814 82 521.5 82C246.186 82 23 305.186 23 580.5C23 855.814 246.186 1079 521.5 1079Z" fill="white"/>
3
+ <path d="M521 1014C808.74 1014 1042 982.212 1042 943C1042 903.788 808.74 872 521 872C233.26 872 0 903.788 0 943C0 982.212 233.26 1014 521 1014Z" fill="#444B53"/>
4
+ <path d="M414.617 763.589L400.106 856.376C400.106 856.376 328.67 894.385 378.899 895.503C429.127 896.621 665.76 895.503 665.76 895.503C665.76 895.503 711.524 895.503 638.971 855.258L624.461 758L414.617 763.589Z" fill="#2E3741"/>
5
+ <path d="M956.81 119H79.1904C60.8598 119 46 133.847 46 152.162V742.838C46 761.153 60.8598 776 79.1904 776H956.81C975.14 776 990 761.153 990 742.838V152.162C990 133.847 975.14 119 956.81 119Z" fill="#2E3741"/>
6
+ <path d="M959 154H78V647H959V154Z" fill="white"/>
7
+ <path d="M990 686V743.114C990.001 747.433 989.142 751.709 987.475 755.7C985.807 759.69 983.362 763.315 980.28 766.369C977.198 769.423 973.539 771.845 969.512 773.498C965.485 775.15 961.168 776.001 956.81 776H79.1906C74.8318 776.001 70.5156 775.15 66.4885 773.498C62.4614 771.845 58.8022 769.423 55.72 766.369C52.6379 763.315 50.1932 759.69 48.5254 755.7C46.8576 751.709 45.9995 747.433 46 743.114V686H990Z" fill="#2E3741"/>
8
+ <path d="M518 753C529.598 753 539 743.598 539 732C539 720.402 529.598 711 518 711C506.402 711 497 720.402 497 732C497 743.598 506.402 753 518 753Z" fill="#F2F2F2"/>
9
+ <rect x="170.245" y="120.876" width="413.283" height="479.455" rx="15" transform="rotate(-16.7269 170.245 120.876)" fill="white" stroke="#2E3741" stroke-width="2"/>
10
+ <path d="M575 143.206H404.712C400.831 143.21 397.111 144.754 394.367 147.498C391.623 150.241 390.079 153.961 390.075 157.842V536.273L388.123 536.869L346.349 549.66C344.369 550.264 342.23 550.057 340.403 549.086C338.575 548.115 337.208 546.458 336.6 544.479L212.341 138.63C211.736 136.65 211.942 134.511 212.914 132.684C213.885 130.856 215.543 129.488 217.522 128.882L281.897 109.173L468.52 52.0543L532.894 32.3448C533.874 32.0433 534.903 31.938 535.924 32.0348C536.944 32.1316 537.935 32.4286 538.841 32.909C539.746 33.3893 540.548 34.0434 541.2 34.834C541.853 35.6245 542.343 36.536 542.642 37.5161L574.405 141.254L575 143.206Z" fill="#F2F2F2"/>
11
+ <path d="M293.376 129C291.494 128.999 289.661 128.396 288.148 127.279C286.634 126.163 285.519 124.592 284.966 122.797L272.385 81.8091C272.047 80.7081 271.93 79.5515 272.04 78.4052C272.15 77.259 272.486 76.1456 273.027 75.1287C273.569 74.1118 274.306 73.2113 275.197 72.4786C276.087 71.7459 277.114 71.1953 278.217 70.8584L450.058 18.3821C452.287 17.7035 454.695 17.9349 456.754 19.0255C458.812 20.1161 460.352 21.9767 461.037 24.199L473.617 65.1875C474.297 67.4111 474.065 69.8129 472.972 71.8659C471.878 73.919 470.013 75.4556 467.786 76.1387L295.945 128.615C295.112 128.87 294.247 129 293.376 129V129Z" fill="#5AAFFF"/>
12
+ <path d="M359 47.9999C370.046 47.9999 379 39.2695 379 28.4999C379 17.7304 370.046 8.99991 359 8.99991C347.954 8.99991 339 17.7304 339 28.4999C339 39.2695 347.954 47.9999 359 47.9999Z" fill="#5AAFFF"/>
13
+ <rect x="389" y="142" width="416" height="478" rx="15" fill="white" stroke="#2E3741" stroke-width="2"/>
14
+ <path d="M359 40.9999C365.627 40.9999 371 35.4035 371 28.4999C371 21.5964 365.627 15.9999 359 15.9999C352.373 15.9999 347 21.5964 347 28.4999C347 35.4035 352.373 40.9999 359 40.9999Z" fill="white"/>
15
+ <path d="M761.692 572H431.308C429.106 571.997 426.994 571.122 425.436 569.567C423.879 568.011 423.003 565.902 423 563.701V168.299C423.002 166.098 423.879 163.989 425.436 162.433C426.994 160.877 429.106 160.002 431.308 160H761.692C763.894 160.002 766.006 160.878 767.564 162.433C769.121 163.989 769.997 166.098 770 168.299V563.701C769.997 565.901 769.121 568.011 767.564 569.566C766.006 571.122 763.894 571.997 761.692 572V572Z" fill="#E6E6E6"/>
16
+ <path d="M686.223 184H506.777C504.45 183.997 502.219 183.063 500.574 181.403C498.928 179.743 498.003 177.493 498 175.145V131.855C498.003 129.507 498.928 127.256 500.574 125.596C502.219 123.936 504.45 123.003 506.777 123H686.223C688.55 123.003 690.781 123.936 692.426 125.596C694.072 127.256 694.997 129.507 695 131.855V175.145C694.997 177.493 694.072 179.743 692.426 181.403C690.781 183.063 688.55 183.997 686.223 184V184Z" fill="#5AAFFF"/>
17
+ <path d="M596.5 126C607.27 126 616 117.269 616 106.5C616 95.7303 607.27 86.9999 596.5 86.9999C585.73 86.9999 577 95.7303 577 106.5C577 117.269 585.73 126 596.5 126Z" fill="#5AAFFF"/>
18
+ <path d="M597 119C603.627 119 609 113.627 609 107C609 100.372 603.627 94.9999 597 94.9999C590.373 94.9999 585 100.372 585 107C585 113.627 590.373 119 597 119Z" fill="white"/>
19
+ </svg>
package/public/500.svg CHANGED
@@ -1,39 +1,39 @@
1
- <svg width="1120" height="997" viewBox="0 0 1120 997" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M564.5 997C839.814 997 1063 773.814 1063 498.5C1063 223.186 839.814 0 564.5 0C289.186 0 66 223.186 66 498.5C66 773.814 289.186 997 564.5 997Z" fill="white"/>
3
- <path d="M0 171.142C0 248.64 48.6181 311.351 108.701 311.351Z" fill="#412E2E"/>
4
- <path d="M108.701 311.351C108.701 232.982 162.956 169.567 230.004 169.567Z" fill="#F57E2C"/>
5
- <path d="M39.3843 178.168C39.3843 251.782 70.3872 311.351 108.701 311.351Z" fill="#F57E2C"/>
6
- <path d="M108.701 311.351C108.701 211.213 171.411 130.183 248.909 130.183Z" fill="#412E2E"/>
7
- <path d="M85.8329 312.339C85.8329 312.339 101.248 311.864 105.894 308.556C110.54 305.248 129.607 301.298 130.76 306.603C131.912 311.909 153.927 332.991 136.522 333.132C119.118 333.272 96.0831 330.421 91.4462 327.596C86.8093 324.772 85.8329 312.339 85.8329 312.339Z" fill="#A8A8A8"/>
8
- <path opacity="0.2" d="M136.833 331.285C119.429 331.425 96.3938 328.574 91.7568 325.749C88.2256 323.598 86.8184 315.88 86.3476 312.319C86.0215 312.333 85.8329 312.339 85.8329 312.339C85.8329 312.339 86.8093 324.772 91.4463 327.596C96.0832 330.421 119.118 333.272 136.523 333.132C141.546 333.091 143.282 331.304 143.186 328.656C142.488 330.256 140.572 331.255 136.833 331.285Z" fill="black"/>
9
- <path d="M198.609 569.94C301.886 569.94 385.609 558.55 385.609 544.5C385.609 530.45 301.886 519.06 198.609 519.06C95.3319 519.06 11.6091 530.45 11.6091 544.5C11.6091 558.55 95.3319 569.94 198.609 569.94Z" fill="#534444"/>
10
- <path opacity="0.1" d="M198.609 565.859C285.318 565.859 355.609 556.296 355.609 544.5C355.609 532.704 285.318 523.141 198.609 523.141C111.9 523.141 41.6091 532.704 41.6091 544.5C41.6091 556.296 111.9 565.859 198.609 565.859Z" fill="black"/>
11
- <path d="M836.609 819C992.906 819 1119.61 801.763 1119.61 780.5C1119.61 759.237 992.906 742 836.609 742C680.313 742 553.609 759.237 553.609 780.5C553.609 801.763 680.313 819 836.609 819Z" fill="#534444"/>
12
- <path d="M462.609 746C552.609 769 725.609 716 744.609 656" stroke="#412E2E" stroke-width="6" stroke-miterlimit="10"/>
13
- <path d="M309.609 379C309.609 379 439.609 343 447.609 459C455.609 575 340.609 608 430.609 631" stroke="#412E2E" stroke-width="6" stroke-miterlimit="10"/>
14
- <path d="M778.705 683.24L770.827 733.535C770.827 733.535 732.045 754.138 759.314 754.744C786.582 755.35 915.047 754.744 915.047 754.744C915.047 754.744 939.892 754.744 900.504 732.929L892.626 680.21L778.705 683.24Z" fill="#412E2E"/>
15
- <path opacity="0.1" d="M753.828 754.198C760.021 748.688 770.827 742.946 770.827 742.946L778.705 692.651L892.626 692.758L900.504 742.34C909.689 747.427 915.379 751.327 918.707 754.318C923.766 753.164 929.295 748.875 900.504 732.929L892.626 680.21L778.705 683.24L770.827 733.535C770.827 733.535 738.239 750.85 753.828 754.198Z" fill="black"/>
16
- <path d="M1073.64 332.689H596.479C586.512 332.689 578.433 340.768 578.433 350.734V672.163C578.433 682.129 586.512 690.208 596.479 690.208H1073.64C1083.61 690.208 1091.69 682.129 1091.69 672.163V350.734C1091.69 340.768 1083.61 332.689 1073.64 332.689Z" fill="#412E2E"/>
17
- <path d="M1074.42 351.777H595.703V619.613H1074.42V351.777Z" fill="white"/>
18
- <path d="M835.06 346.323C836.733 346.323 838.089 344.966 838.089 343.293C838.089 341.62 836.733 340.263 835.06 340.263C833.386 340.263 832.03 341.62 832.03 343.293C832.03 344.966 833.386 346.323 835.06 346.323Z" fill="#F2F2F2"/>
19
- <path d="M1091.69 640.822V672.163C1091.69 674.533 1091.22 676.879 1090.31 679.069C1089.41 681.258 1088.08 683.248 1086.4 684.924C1084.73 686.599 1082.74 687.929 1080.55 688.835C1078.36 689.742 1076.01 690.209 1073.64 690.208H596.479C594.109 690.209 591.762 689.742 589.573 688.835C587.383 687.929 585.393 686.599 583.718 684.924C582.042 683.248 580.713 681.258 579.806 679.069C578.899 676.879 578.433 674.533 578.433 672.163V640.822H1091.69Z" fill="#412E2E"/>
20
- <path d="M835.06 677.18C841.418 677.18 846.573 672.026 846.573 665.667C846.573 659.308 841.418 654.154 835.06 654.154C828.701 654.154 823.546 659.308 823.546 665.667C823.546 672.026 828.701 677.18 835.06 677.18Z" fill="#F2F2F2"/>
21
- <path d="M316.609 279H108.609V521H316.609V279Z" fill="#412E2E"/>
22
- <path d="M337.609 255H87.6091V341H337.609V255Z" fill="#534444"/>
23
- <path d="M337.609 357H87.6091V443H337.609V357Z" fill="#534444"/>
24
- <path d="M337.609 459H87.6091V545H337.609V459Z" fill="#534444"/>
25
- <path opacity="0.4" d="M287.609 270H271.609V286H287.609V270Z" fill="#F57E2C"/>
26
- <path opacity="0.8" d="M310.609 270H294.609V286H310.609V270Z" fill="#F57E2C"/>
27
- <path d="M333.609 270H317.609V286H333.609V270Z" fill="#F57E2C"/>
28
- <path opacity="0.4" d="M287.609 371H271.609V387H287.609V371Z" fill="#F57E2C"/>
29
- <path opacity="0.8" d="M310.609 371H294.609V387H310.609V371Z" fill="#F57E2C"/>
30
- <path d="M333.609 371H317.609V387H333.609V371Z" fill="#F57E2C"/>
31
- <path opacity="0.4" d="M287.609 472H271.609V488H287.609V472Z" fill="#F57E2C"/>
32
- <path opacity="0.8" d="M310.609 472H294.609V488H310.609V472Z" fill="#F57E2C"/>
33
- <path d="M333.609 472H317.609V488H333.609V472Z" fill="#F57E2C"/>
34
- <path d="M1022.14 615L1008 570.255C1008 570.255 1023.56 586.564 1023.56 599.945L1020.76 569C1020.76 569 1028.74 580.291 1027.94 597.436C1027.15 614.582 1022.14 615 1022.14 615Z" fill="#E6E6E6"/>
35
- <path d="M704.143 574L690 531.2C690 531.2 705.556 546.8 705.556 559.6L702.764 530C702.764 530 710.742 540.8 709.944 557.2C709.146 573.6 704.143 574 704.143 574Z" fill="#E6E6E6"/>
36
- <path d="M930 594.757C930.025 623.393 873.183 614.584 803.595 614.644C734.007 614.704 678.025 623.61 678 594.974C677.975 566.338 734.796 560.06 804.384 560C873.972 559.94 929.975 566.12 930 594.757Z" fill="#E6E6E6"/>
37
- <path d="M787 586C809.644 586 828 567.42 828 544.5C828 521.58 809.644 503 787 503C764.356 503 746 521.58 746 544.5C746 567.42 764.356 586 787 586Z" fill="#F57E2C"/>
38
- <path d="M759.354 500C753.606 500 747.982 498.344 743.162 495.231C738.341 492.118 734.531 487.683 732.193 482.461L666.39 335.075C664.21 330.193 663.057 324.919 663.002 319.577C662.947 314.236 663.991 308.939 666.07 304.014C668.148 299.088 671.218 294.637 675.09 290.935C678.962 287.233 683.554 284.357 688.584 282.485C693.614 280.613 698.976 279.783 704.341 280.048C709.705 280.313 714.958 281.666 719.778 284.024C724.597 286.382 728.881 289.696 732.365 293.761C735.849 297.826 738.461 302.557 740.039 307.663L787.689 461.807C789.053 466.219 789.358 470.887 788.579 475.438C787.8 479.988 785.958 484.294 783.203 488.008C780.447 491.722 776.854 494.742 772.712 496.825C768.57 498.908 763.995 499.995 759.354 500H759.354Z" fill="#F57E2C"/>
39
- </svg>
1
+ <svg width="1120" height="997" viewBox="0 0 1120 997" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M564.5 997C839.814 997 1063 773.814 1063 498.5C1063 223.186 839.814 0 564.5 0C289.186 0 66 223.186 66 498.5C66 773.814 289.186 997 564.5 997Z" fill="white"/>
3
+ <path d="M0 171.142C0 248.64 48.6181 311.351 108.701 311.351Z" fill="#412E2E"/>
4
+ <path d="M108.701 311.351C108.701 232.982 162.956 169.567 230.004 169.567Z" fill="#F57E2C"/>
5
+ <path d="M39.3843 178.168C39.3843 251.782 70.3872 311.351 108.701 311.351Z" fill="#F57E2C"/>
6
+ <path d="M108.701 311.351C108.701 211.213 171.411 130.183 248.909 130.183Z" fill="#412E2E"/>
7
+ <path d="M85.8329 312.339C85.8329 312.339 101.248 311.864 105.894 308.556C110.54 305.248 129.607 301.298 130.76 306.603C131.912 311.909 153.927 332.991 136.522 333.132C119.118 333.272 96.0831 330.421 91.4462 327.596C86.8093 324.772 85.8329 312.339 85.8329 312.339Z" fill="#A8A8A8"/>
8
+ <path opacity="0.2" d="M136.833 331.285C119.429 331.425 96.3938 328.574 91.7568 325.749C88.2256 323.598 86.8184 315.88 86.3476 312.319C86.0215 312.333 85.8329 312.339 85.8329 312.339C85.8329 312.339 86.8093 324.772 91.4463 327.596C96.0832 330.421 119.118 333.272 136.523 333.132C141.546 333.091 143.282 331.304 143.186 328.656C142.488 330.256 140.572 331.255 136.833 331.285Z" fill="black"/>
9
+ <path d="M198.609 569.94C301.886 569.94 385.609 558.55 385.609 544.5C385.609 530.45 301.886 519.06 198.609 519.06C95.3319 519.06 11.6091 530.45 11.6091 544.5C11.6091 558.55 95.3319 569.94 198.609 569.94Z" fill="#534444"/>
10
+ <path opacity="0.1" d="M198.609 565.859C285.318 565.859 355.609 556.296 355.609 544.5C355.609 532.704 285.318 523.141 198.609 523.141C111.9 523.141 41.6091 532.704 41.6091 544.5C41.6091 556.296 111.9 565.859 198.609 565.859Z" fill="black"/>
11
+ <path d="M836.609 819C992.906 819 1119.61 801.763 1119.61 780.5C1119.61 759.237 992.906 742 836.609 742C680.313 742 553.609 759.237 553.609 780.5C553.609 801.763 680.313 819 836.609 819Z" fill="#534444"/>
12
+ <path d="M462.609 746C552.609 769 725.609 716 744.609 656" stroke="#412E2E" stroke-width="6" stroke-miterlimit="10"/>
13
+ <path d="M309.609 379C309.609 379 439.609 343 447.609 459C455.609 575 340.609 608 430.609 631" stroke="#412E2E" stroke-width="6" stroke-miterlimit="10"/>
14
+ <path d="M778.705 683.24L770.827 733.535C770.827 733.535 732.045 754.138 759.314 754.744C786.582 755.35 915.047 754.744 915.047 754.744C915.047 754.744 939.892 754.744 900.504 732.929L892.626 680.21L778.705 683.24Z" fill="#412E2E"/>
15
+ <path opacity="0.1" d="M753.828 754.198C760.021 748.688 770.827 742.946 770.827 742.946L778.705 692.651L892.626 692.758L900.504 742.34C909.689 747.427 915.379 751.327 918.707 754.318C923.766 753.164 929.295 748.875 900.504 732.929L892.626 680.21L778.705 683.24L770.827 733.535C770.827 733.535 738.239 750.85 753.828 754.198Z" fill="black"/>
16
+ <path d="M1073.64 332.689H596.479C586.512 332.689 578.433 340.768 578.433 350.734V672.163C578.433 682.129 586.512 690.208 596.479 690.208H1073.64C1083.61 690.208 1091.69 682.129 1091.69 672.163V350.734C1091.69 340.768 1083.61 332.689 1073.64 332.689Z" fill="#412E2E"/>
17
+ <path d="M1074.42 351.777H595.703V619.613H1074.42V351.777Z" fill="white"/>
18
+ <path d="M835.06 346.323C836.733 346.323 838.089 344.966 838.089 343.293C838.089 341.62 836.733 340.263 835.06 340.263C833.386 340.263 832.03 341.62 832.03 343.293C832.03 344.966 833.386 346.323 835.06 346.323Z" fill="#F2F2F2"/>
19
+ <path d="M1091.69 640.822V672.163C1091.69 674.533 1091.22 676.879 1090.31 679.069C1089.41 681.258 1088.08 683.248 1086.4 684.924C1084.73 686.599 1082.74 687.929 1080.55 688.835C1078.36 689.742 1076.01 690.209 1073.64 690.208H596.479C594.109 690.209 591.762 689.742 589.573 688.835C587.383 687.929 585.393 686.599 583.718 684.924C582.042 683.248 580.713 681.258 579.806 679.069C578.899 676.879 578.433 674.533 578.433 672.163V640.822H1091.69Z" fill="#412E2E"/>
20
+ <path d="M835.06 677.18C841.418 677.18 846.573 672.026 846.573 665.667C846.573 659.308 841.418 654.154 835.06 654.154C828.701 654.154 823.546 659.308 823.546 665.667C823.546 672.026 828.701 677.18 835.06 677.18Z" fill="#F2F2F2"/>
21
+ <path d="M316.609 279H108.609V521H316.609V279Z" fill="#412E2E"/>
22
+ <path d="M337.609 255H87.6091V341H337.609V255Z" fill="#534444"/>
23
+ <path d="M337.609 357H87.6091V443H337.609V357Z" fill="#534444"/>
24
+ <path d="M337.609 459H87.6091V545H337.609V459Z" fill="#534444"/>
25
+ <path opacity="0.4" d="M287.609 270H271.609V286H287.609V270Z" fill="#F57E2C"/>
26
+ <path opacity="0.8" d="M310.609 270H294.609V286H310.609V270Z" fill="#F57E2C"/>
27
+ <path d="M333.609 270H317.609V286H333.609V270Z" fill="#F57E2C"/>
28
+ <path opacity="0.4" d="M287.609 371H271.609V387H287.609V371Z" fill="#F57E2C"/>
29
+ <path opacity="0.8" d="M310.609 371H294.609V387H310.609V371Z" fill="#F57E2C"/>
30
+ <path d="M333.609 371H317.609V387H333.609V371Z" fill="#F57E2C"/>
31
+ <path opacity="0.4" d="M287.609 472H271.609V488H287.609V472Z" fill="#F57E2C"/>
32
+ <path opacity="0.8" d="M310.609 472H294.609V488H310.609V472Z" fill="#F57E2C"/>
33
+ <path d="M333.609 472H317.609V488H333.609V472Z" fill="#F57E2C"/>
34
+ <path d="M1022.14 615L1008 570.255C1008 570.255 1023.56 586.564 1023.56 599.945L1020.76 569C1020.76 569 1028.74 580.291 1027.94 597.436C1027.15 614.582 1022.14 615 1022.14 615Z" fill="#E6E6E6"/>
35
+ <path d="M704.143 574L690 531.2C690 531.2 705.556 546.8 705.556 559.6L702.764 530C702.764 530 710.742 540.8 709.944 557.2C709.146 573.6 704.143 574 704.143 574Z" fill="#E6E6E6"/>
36
+ <path d="M930 594.757C930.025 623.393 873.183 614.584 803.595 614.644C734.007 614.704 678.025 623.61 678 594.974C677.975 566.338 734.796 560.06 804.384 560C873.972 559.94 929.975 566.12 930 594.757Z" fill="#E6E6E6"/>
37
+ <path d="M787 586C809.644 586 828 567.42 828 544.5C828 521.58 809.644 503 787 503C764.356 503 746 521.58 746 544.5C746 567.42 764.356 586 787 586Z" fill="#F57E2C"/>
38
+ <path d="M759.354 500C753.606 500 747.982 498.344 743.162 495.231C738.341 492.118 734.531 487.683 732.193 482.461L666.39 335.075C664.21 330.193 663.057 324.919 663.002 319.577C662.947 314.236 663.991 308.939 666.07 304.014C668.148 299.088 671.218 294.637 675.09 290.935C678.962 287.233 683.554 284.357 688.584 282.485C693.614 280.613 698.976 279.783 704.341 280.048C709.705 280.313 714.958 281.666 719.778 284.024C724.597 286.382 728.881 289.696 732.365 293.761C735.849 297.826 738.461 302.557 740.039 307.663L787.689 461.807C789.053 466.219 789.358 470.887 788.579 475.438C787.8 479.988 785.958 484.294 783.203 488.008C780.447 491.722 776.854 494.742 772.712 496.825C768.57 498.908 763.995 499.995 759.354 500H759.354Z" fill="#F57E2C"/>
39
+ </svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,9 +1,9 @@
1
- import { DBSchema } from "@skalfa/skalfa-idb"
2
-
3
- const name = String(process.env.NEXT_PUBLIC_APP_NAME || "").toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "") + ".idb-app";
4
-
5
- export const AppSchema: DBSchema = {
6
- name: name,
7
- version: 1,
8
- stores: {}
1
+ import { DBSchema } from "@skalfa/skalfa-idb"
2
+
3
+ const name = String(process.env.NEXT_PUBLIC_APP_NAME || "").toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "") + ".idb-app";
4
+
5
+ export const AppSchema: DBSchema = {
6
+ name: name,
7
+ version: 1,
8
+ stores: {}
9
9
  }
@@ -0,0 +1,14 @@
1
+ [package]
2
+ name = "skalfa-app"
3
+ version = "0.1.0"
4
+ description = "A Skalfa Tauri Application"
5
+ authors = ["Skalfa"]
6
+ edition = "2021"
7
+
8
+ [build-dependencies]
9
+ tauri-build = { version = "2.0.0", features = [] }
10
+
11
+ [dependencies]
12
+ tauri = { version = "2.0.0", features = [] }
13
+ serde = { version = "1.0", features = ["derive"] }
14
+ serde_json = "1.0"
@@ -0,0 +1,3 @@
1
+ fn main() {
2
+ tauri_build::build()
3
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "../node_modules/@tauri-apps/cli/schema-capabilities.json",
3
+ "identifier": "default-capability",
4
+ "description": "Default capabilities for Skalfa App",
5
+ "windows": ["*"],
6
+ "permissions": [
7
+ "core:default",
8
+ "core:event:default",
9
+ "core:webview:default"
10
+ ]
11
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,7 @@
1
+ #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
2
+
3
+ fn main() {
4
+ tauri::Builder::default()
5
+ .run(tauri::generate_context!())
6
+ .expect("error while running tauri application");
7
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "productName": "Skalfa App",
3
+ "version": "0.1.0",
4
+ "identifier": "com.skalfa.app",
5
+ "build": {
6
+ "beforeDevCommand": "",
7
+ "beforeBuildCommand": "bun run build",
8
+ "devUrl": "http://localhost:3000",
9
+ "frontendDist": "../out"
10
+ },
11
+ "app": {
12
+ "security": {
13
+ "csp": null
14
+ },
15
+ "windows": [
16
+ {
17
+ "title": "Skalfa App",
18
+ "width": 800,
19
+ "height": 600,
20
+ "resizable": true,
21
+ "fullscreen": false
22
+ }
23
+ ]
24
+ },
25
+ "bundle": {
26
+ "active": true,
27
+ "targets": "all",
28
+ "icon": [
29
+ "icons/32x32.png",
30
+ "icons/128x128.png",
31
+ "icons/128x128@2x.png",
32
+ "icons/icon.icns",
33
+ "icons/icon.ico"
34
+ ]
35
+ }
36
+ }