@ozdao/martyrs 0.2.576 → 0.2.578

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 (155) hide show
  1. package/dist/builder.js +33 -33
  2. package/dist/{main-BfEQkhXS.js → main-EZaj64lH.js} +1204 -1208
  3. package/dist/martyrs/dist/{main-BfEQkhXS.js → main-EZaj64lH.js} +78 -78
  4. package/dist/martyrs/dist/main-EZaj64lH.js.map +1 -0
  5. package/dist/martyrs/dist/{web-BqTV9va1.js → web-ClbcbWYJ.js} +2 -2
  6. package/dist/martyrs/dist/{web-BqTV9va1.js.map → web-ClbcbWYJ.js.map} +1 -1
  7. package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js +1 -1
  8. package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
  9. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +3 -3
  10. package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
  11. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
  12. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
  13. package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
  14. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
  15. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  16. package/dist/martyrs/src/components/Feed/Feed.vue.js +3 -3
  17. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  18. package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
  19. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
  20. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  21. package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
  22. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  23. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  24. package/dist/martyrs/src/components/Slider/Slider.vue.js +91 -97
  25. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -1
  26. package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
  27. package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.js.map +1 -0
  28. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
  29. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  30. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  32. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
  33. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  34. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  40. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  41. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  42. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
  43. package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
  44. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +2 -2
  45. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +2 -2
  46. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +1 -1
  47. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
  48. package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
  49. package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
  50. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
  51. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  52. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  53. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  54. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  55. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
  56. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  57. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  58. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
  59. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  60. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  61. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
  62. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  63. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  64. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
  65. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
  66. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
  67. package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
  68. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
  69. package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +2 -2
  70. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  71. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  72. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  73. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  74. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  75. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  76. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  77. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  78. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  79. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
  80. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +2 -2
  81. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  82. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +3 -3
  83. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +2 -2
  84. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +3 -3
  85. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  86. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
  87. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  88. package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
  89. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
  90. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  91. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
  92. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +2 -2
  93. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  94. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  95. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  96. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  97. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  98. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  99. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  100. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  101. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
  102. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +2 -2
  103. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  104. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
  105. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  106. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  107. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  108. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  109. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  110. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  111. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  112. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  113. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  114. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  115. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  116. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +4 -4
  117. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  118. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  119. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +2 -2
  120. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  121. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  122. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  123. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  124. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  125. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  126. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  127. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
  128. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  129. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  130. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  131. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  132. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
  133. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  134. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  135. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  136. package/dist/martyrs.css +1 -1
  137. package/dist/martyrs.es.js +1 -1
  138. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  139. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  140. package/dist/style.css +3 -5
  141. package/dist/{web-BqTV9va1.js → web-ClbcbWYJ.js} +1 -1
  142. package/package.json +1 -1
  143. package/src/components/BottomSheet/BottomSheet.vue +1 -1
  144. package/src/components/Slider/Slider.vue +111 -150
  145. package/src/jit/rules.js +42 -41
  146. package/src/styles/layout.scss +0 -3
  147. package/src/styles/reset.scss +5 -2
  148. package/dist/martyrs/dist/main-BfEQkhXS.js.map +0 -1
  149. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  150. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
  151. package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
  152. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
  153. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  154. package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
  155. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
package/dist/builder.js CHANGED
@@ -919,6 +919,7 @@ class MartyrsJIT {
919
919
  }
920
920
  }
921
921
  const sizeVars = ["extra", "big", "semi", "medium", "regular", "small", "thin", "micro", "nano"];
922
+ const colorVariants = ["extra", "big", "semi", "medium", "regular", "small", "thin", "micro", "nano"];
922
923
  const colorNames = [
923
924
  "main",
924
925
  "second",
@@ -945,39 +946,6 @@ const colorNames = [
945
946
  "reddit",
946
947
  "transparent"
947
948
  ];
948
- const colorVariants = ["extra", "big", "semi", "medium", "regular", "small", "thin", "micro", "nano"];
949
- function resolveColor(name) {
950
- for (const color of colorNames) {
951
- if (name === color) {
952
- return `rgb(var(--${color}))`;
953
- }
954
- for (const variant of colorVariants) {
955
- if (name === `${color}-${variant}`) {
956
- return `var(--${color}-${variant})`;
957
- }
958
- }
959
- }
960
- return null;
961
- }
962
- function resolveValue(value, jit) {
963
- if (!value) return null;
964
- if (value.startsWith("[") && value.endsWith("]")) {
965
- const inner = value.slice(1, -1);
966
- return jit ? jit.parseArbitraryValue(inner) : inner.replace(/_/g, " ");
967
- }
968
- if (sizeVars.includes(value)) return `var(--${value})`;
969
- if (/^\d+r$/.test(value)) return value.replace("r", "rem");
970
- if (/^\d+(vh|vw|dvh|dvw|svh|svw|lvh|lvw|deg)$/.test(value)) return value;
971
- if (/^\d+$/.test(value)) return `${value}%`;
972
- if (value === "auto") return "auto";
973
- if (value === "zero") return "0";
974
- if (value === "full") return "100%";
975
- if (value === "screen") return "100vh";
976
- if (value === "min") return "min-content";
977
- if (value === "max") return "max-content";
978
- if (value === "fit") return "fit-content";
979
- return null;
980
- }
981
949
  const dir = { t: "top", r: "right", b: "bottom", l: "left" };
982
950
  const easings = {
983
951
  "linear": "linear",
@@ -1015,6 +983,38 @@ const easings = {
1015
983
  "spring": "cubic-bezier(0.23,1,0.32,1.01)",
1016
984
  "bounce": "cubic-bezier(0.71,-0.46,0.88,0.6)"
1017
985
  };
986
+ function resolveColor(name) {
987
+ for (const color of colorNames) {
988
+ if (name === color) {
989
+ return `rgb(var(--${color}))`;
990
+ }
991
+ for (const variant of colorVariants) {
992
+ if (name === `${color}-${variant}`) {
993
+ return `var(--${color}-${variant})`;
994
+ }
995
+ }
996
+ }
997
+ return null;
998
+ }
999
+ function resolveValue(value, jit) {
1000
+ if (!value) return null;
1001
+ if (value.startsWith("[") && value.endsWith("]")) {
1002
+ const inner = value.slice(1, -1);
1003
+ return jit ? jit.parseArbitraryValue(inner) : inner.replace(/_/g, " ");
1004
+ }
1005
+ if (sizeVars.includes(value)) return `var(--${value})`;
1006
+ if (/^\d+r$/.test(value)) return value.replace("r", "rem");
1007
+ if (/^\d+(vh|vw|dvh|dvw|svh|svw|lvh|lvw|deg)$/.test(value)) return value;
1008
+ if (/^\d+$/.test(value)) return `${value}%`;
1009
+ if (value === "auto") return "auto";
1010
+ if (value === "zero") return "0";
1011
+ if (value === "full") return "100%";
1012
+ if (value === "screen") return "100vh";
1013
+ if (value === "min") return "min-content";
1014
+ if (value === "max") return "max-content";
1015
+ if (value === "fit") return "fit-content";
1016
+ return null;
1017
+ }
1018
1018
  function handleNegative(val, jit) {
1019
1019
  const isNeg = val.endsWith("-negative");
1020
1020
  const clean = isNeg ? val.slice(0, -9) : val;