@ozdao/martyrs 0.2.541 → 0.2.542

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 (171) hide show
  1. package/dist/_virtual/index.cjs +4 -4
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.cjs +3 -6
  4. package/dist/_virtual/index2.cjs.map +1 -1
  5. package/dist/_virtual/index2.js +2 -5
  6. package/dist/_virtual/index2.js.map +1 -1
  7. package/dist/{main-BpBtIUcJ.js → main-ByKkD9qa.js} +2724 -3143
  8. package/dist/main-Czyu-VcC.cjs +11 -0
  9. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.cjs +30 -21
  10. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
  11. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js +32 -23
  12. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js.map +1 -1
  13. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs +235 -0
  14. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs.map +1 -0
  15. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.js +235 -0
  16. package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.js.map +1 -0
  17. package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs +17 -8
  18. package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs.map +1 -1
  19. package/dist/martyrs/src/components/Marquee/Marquee.vue.js +17 -8
  20. package/dist/martyrs/src/components/Marquee/Marquee.vue.js.map +1 -1
  21. package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs → Spoiler.vue2.cjs} +2 -2
  22. package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.cjs.map +1 -0
  23. package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
  24. package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs.map → Spoiler.vue2.js.map} +1 -1
  25. package/dist/martyrs/src/components/Tab/{Tab.vue.cjs → Tab.vue2.cjs} +2 -2
  26. package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -0
  27. package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
  28. package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
  29. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.cjs +161 -42
  30. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
  31. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +162 -43
  32. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  33. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  34. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +4 -4
  40. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  46. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +0 -3
  47. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
  48. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +0 -3
  49. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
  50. package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +2 -2
  51. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +21 -21
  52. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  53. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  54. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  55. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  56. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  57. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  58. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  59. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  60. package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.cjs +1 -1
  61. package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.js +1 -1
  62. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
  63. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
  64. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +1 -1
  65. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +1 -1
  66. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +11 -11
  67. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +12 -12
  68. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +16 -16
  69. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +16 -16
  70. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs +1 -1
  71. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
  72. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  73. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  74. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  75. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  76. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +3 -4
  77. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
  78. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -4
  79. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
  80. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +1 -1
  81. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +20 -20
  82. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +3 -4
  83. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  84. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +3 -4
  85. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  86. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +4 -5
  87. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
  88. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +4 -5
  89. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  90. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +3 -4
  91. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  92. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +3 -4
  93. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  94. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  95. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +7 -7
  96. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  97. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  98. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  99. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  100. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +46 -38
  101. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  102. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +52 -44
  103. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  104. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
  105. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  106. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  107. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  108. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +2 -2
  109. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +2 -2
  110. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  111. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  112. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  113. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  114. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
  115. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
  116. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
  117. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  118. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  119. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  120. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
  121. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
  122. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  123. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +11 -11
  124. package/dist/martyrs.cjs.js +1 -1
  125. package/dist/martyrs.css +1 -1
  126. package/dist/martyrs.es.js +1 -1
  127. package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs +1 -1
  128. package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.js +1 -1
  129. package/dist/style.css +129 -129
  130. package/dist/{web-DsdyXC8n.js → web-BklgIiYr.js} +1 -1
  131. package/dist/{web-C9bVm6Nw.cjs → web-CQBm7C6L.cjs} +1 -1
  132. package/package.json +1 -1
  133. package/src/components/FieldTags/BlockTags.vue +28 -16
  134. package/src/components/FieldTags/FieldTags.vue +327 -508
  135. package/src/components/Marquee/Marquee.vue +25 -14
  136. package/src/components/UploadImage/UploadImage.vue +192 -18
  137. package/src/modules/community/components/pages/CreateBlogPost.vue +0 -1
  138. package/src/modules/products/components/pages/CategoryEdit.vue +53 -39
  139. package/dist/_virtual/index3.cjs +0 -5
  140. package/dist/_virtual/index3.cjs.map +0 -1
  141. package/dist/_virtual/index3.js +0 -5
  142. package/dist/_virtual/index3.js.map +0 -1
  143. package/dist/main-7IA3UHca.cjs +0 -11
  144. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +0 -480
  145. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs.map +0 -1
  146. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +0 -480
  147. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js.map +0 -1
  148. package/dist/martyrs/src/components/FieldTags/create-tags.cjs +0 -52
  149. package/dist/martyrs/src/components/FieldTags/create-tags.cjs.map +0 -1
  150. package/dist/martyrs/src/components/FieldTags/create-tags.js +0 -52
  151. package/dist/martyrs/src/components/FieldTags/create-tags.js.map +0 -1
  152. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.cjs +0 -32
  153. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.cjs.map +0 -1
  154. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.js +0 -32
  155. package/dist/martyrs/src/components/FieldTags/tag-input.vue2.js.map +0 -1
  156. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.cjs +0 -329
  157. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.cjs.map +0 -1
  158. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.js +0 -329
  159. package/dist/martyrs/src/components/FieldTags/vue-tags-input.props.js.map +0 -1
  160. package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
  161. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
  162. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.cjs +0 -39
  163. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.cjs.map +0 -1
  164. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +0 -39
  165. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +0 -1
  166. package/src/components/FieldTags/FieldTagsNew.vue +0 -366
  167. package/src/components/FieldTags/README.md +0 -513
  168. package/src/components/FieldTags/create-tags.js +0 -97
  169. package/src/components/FieldTags/tag-input.vue +0 -55
  170. package/src/components/FieldTags/vue-tags-input.props.js +0 -342
  171. package/src/components/FieldTags/vue-tags-input.scss +0 -149
@@ -1,4 +1,4 @@
1
- import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-BpBtIUcJ.js";
1
+ import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-ByKkD9qa.js";
2
2
  export {
3
3
  e as Address,
4
4
  o as Breadcrumbs,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const _commonjsHelpers = require("../../../../../_virtual/_commonjsHelpers.cjs");
4
- const index = require("../../../../../_virtual/index3.cjs");
4
+ const index = require("../../../../../_virtual/index2.cjs");
5
5
  index.__module.exports;
6
6
  var hasRequiredLodash_merge;
7
7
  function requireLodash_merge() {
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal } from "../../../../../_virtual/_commonjsHelpers.js";
2
- import { __module as lodash_merge } from "../../../../../_virtual/index3.js";
2
+ import { __module as lodash_merge } from "../../../../../_virtual/index2.js";
3
3
  lodash_merge.exports;
4
4
  var hasRequiredLodash_merge;
5
5
  function requireLodash_merge() {
package/dist/style.css CHANGED
@@ -458,19 +458,18 @@ ul li[data-v-849e5dfe] {
458
458
  }.vue3-marquee {
459
459
  display: flex !important;
460
460
  position: relative;
461
+ will-change: transform;
462
+ transform: translateZ(0);
463
+ backface-visibility: hidden;
461
464
  }
462
465
  .vue3-marquee .marquee {
463
466
  flex: 0 0 auto;
464
467
  min-width: var(--min-width);
465
468
  min-height: var(--min-height);
466
469
  z-index: 1;
467
- will-change: transform;
468
- transform: translateZ(0);
469
- backface-visibility: hidden;
470
470
  animation: var(--orientation) var(--duration) linear var(--delay) var(--loops);
471
471
  animation-play-state: var(--pauseAnimation);
472
472
  animation-direction: var(--direction);
473
- contain: layout style paint;
474
473
  }
475
474
  .vue3-marquee .overlay {
476
475
  position: absolute;
@@ -504,7 +503,7 @@ ul li[data-v-849e5dfe] {
504
503
  align-items: center;
505
504
  }
506
505
  .vue3-marquee.horizontal .overlay::before, .vue3-marquee.horizontal .overlay::after {
507
- background: linear-gradient(to right, var(--gradient-color));
506
+ background: linear-gradient(to right, var(--gradient-color), transparent);
508
507
  height: 100%;
509
508
  width: var(--gradient-length);
510
509
  }
@@ -526,7 +525,7 @@ ul li[data-v-849e5dfe] {
526
525
  align-items: center;
527
526
  }
528
527
  .vue3-marquee.vertical .overlay::before, .vue3-marquee.vertical .overlay::after {
529
- background: linear-gradient(to bottom, var(--gradient-color));
528
+ background: linear-gradient(to bottom, var(--gradient-color), transparent);
530
529
  height: var(--gradient-length);
531
530
  width: 100%;
532
531
  }
@@ -938,7 +937,73 @@ button[data-v-2ba40647]:disabled {
938
937
  width: 100% !important;
939
938
  height: 100% !important;
940
939
  position: relative !important;
941
- }.editable-div {
940
+ }
941
+ .image-upload-area[data-v-78cc3140] {
942
+ overflow: hidden;
943
+ transition: all 0.3s ease;
944
+ }
945
+ .image-upload-area[data-v-78cc3140]:hover {
946
+ opacity: 0.95;
947
+ }
948
+
949
+ /* Hover controls */
950
+ .hover-controls[data-v-78cc3140] {
951
+ top: 0;
952
+ left: 0;
953
+ background: rgba(0, 0, 0, 0.7);
954
+ opacity: 0;
955
+ transition: opacity 0.3s ease;
956
+ pointer-events: none;
957
+ }
958
+ .image-upload-area:hover .hover-controls[data-v-78cc3140] {
959
+ opacity: 1;
960
+ pointer-events: all;
961
+ }
962
+ .hover-upload-icon[data-v-78cc3140] {
963
+ animation: pulse-78cc3140 1.5s infinite;
964
+ }
965
+ .hover-button[data-v-78cc3140] {
966
+ transition: transform 0.2s ease, background-color 0.2s ease;
967
+ }
968
+ .hover-button[data-v-78cc3140]:hover {
969
+ transform: scale(1.1);
970
+ }
971
+ .hover-button[data-v-78cc3140]:active {
972
+ transform: scale(0.95);
973
+ }
974
+
975
+ /* Loading overlay */
976
+ .loading-overlay[data-v-78cc3140] {
977
+ top: 0;
978
+ left: 0;
979
+ background: rgba(255, 255, 255, 0.9);
980
+ z-index: 10;
981
+ }
982
+
983
+ /* Animations */
984
+ @keyframes pulse-78cc3140 {
985
+ 0% {
986
+ transform: scale(1);
987
+ opacity: 1;
988
+ }
989
+ 50% {
990
+ transform: scale(1.05);
991
+ opacity: 0.8;
992
+ }
993
+ 100% {
994
+ transform: scale(1);
995
+ opacity: 1;
996
+ }
997
+ }
998
+
999
+ /* Upload icon in empty state */
1000
+ .upload-icon[data-v-78cc3140] {
1001
+ transition: transform 0.3s ease;
1002
+ }
1003
+ .image-upload-area:hover .upload-icon[data-v-78cc3140] {
1004
+ transform: scale(1.1);
1005
+ }
1006
+ .editable-div {
942
1007
  width: 100%;
943
1008
  min-height: 1rem;
944
1009
  background-color: transparent;
@@ -986,147 +1051,82 @@ button[data-v-2ba40647]:disabled {
986
1051
  flex-direction: column;
987
1052
  }
988
1053
 
989
- .ti-tag-input {
990
- background-color: transparent;
991
- color: inherit;
992
- border: none;
993
- padding: 0px;
994
- margin: 0px;
995
- display: flex;
996
- top: 0px;
997
- position: absolute;
998
- width: 100%;
999
- line-height: inherit;
1000
- }
1001
- .ti-tag-input::-ms-clear {
1002
- display: none;
1003
- }
1004
- input:focus {
1005
- outline: none;
1006
- }
1007
- input[disabled] {
1008
- background-color: transparent;
1009
- }
1010
-
1011
- .ti-icon-check:before {
1012
- content: "\e902";
1013
- font-size: 0.5rem;
1014
- }
1015
- .ti-icon-close:before {
1016
- content: "✕";
1017
- font-size: 0.5rem;
1018
- }
1019
- .ti-icon-undo:before {
1020
- content: "↺";
1021
- font-size: 0.5rem;
1022
- }
1023
- ul {
1024
- margin: 0px;
1025
- padding: 0px;
1026
- list-style-type: none;
1027
- }
1028
- *, *:before, *:after {
1029
- box-sizing: border-box;
1030
- }
1031
- input:focus {
1032
- outline: none;
1033
- }
1034
- input[disabled] {
1035
- background-color: transparent;
1036
- }
1037
- div.vue-tags-input.disabled {
1038
- opacity: 0.5;
1039
- }
1040
- div.vue-tags-input.disabled * {
1041
- cursor: default;
1042
- }
1043
- .ti-input {
1044
- display: flex;
1054
+ .field-tags-new[data-v-1b76c0f9] {
1055
+ position: relative;
1045
1056
  }
1046
- .ti-tags {
1057
+ .tags-container[data-v-1b76c0f9] {
1047
1058
  display: flex;
1048
1059
  flex-wrap: wrap;
1049
- width: 100%;
1050
- line-height: 1em;
1051
- }
1052
- .ti-tag {
1053
- background-color: rgb(var(--main));
1054
- color: rgb(var(--black));
1055
- border-radius: 4rem;
1056
- display: flex;
1057
- padding: 1px 8px 2px;
1058
- margin: 2px;
1059
- font-size: 0.85em;
1060
- min-height: 2rem;
1061
- }
1062
- .ti-tag:focus {
1063
- outline: none;
1064
- }
1065
- .ti-tag .ti-content {
1066
- display: flex;
1067
1060
  align-items: center;
1061
+ gap: 0.5rem;
1068
1062
  }
1069
- .ti-tag .ti-tag-center {
1070
- position: relative;
1071
- }
1072
- .ti-tag span {
1073
- line-height: 0.85em;
1074
- }
1075
- .ti-tag span.ti-hidden {
1076
- padding-left: 14px;
1077
- visibility: hidden;
1078
- height: 0px;
1079
- white-space: pre;
1080
- }
1081
- .ti-tag .ti-actions {
1082
- margin-left: 2px;
1083
- display: flex;
1063
+ .tag[data-v-1b76c0f9] {
1064
+ display: inline-flex;
1084
1065
  align-items: center;
1085
- font-size: 1.15em;
1066
+ background: rgb(var(--main, 255, 215, 0));
1067
+ color: rgb(var(--black, 0, 0, 0));
1068
+ padding: 0.25rem 0.5rem;
1069
+ border-radius: 2rem;
1070
+ font-size: 0.875rem;
1086
1071
  }
1087
- .ti-tag .ti-actions i {
1072
+ .tag-remove[data-v-1b76c0f9] {
1073
+ margin-left: 0.25rem;
1074
+ background: none;
1075
+ border: none;
1076
+ color: inherit;
1077
+ font-size: 1.25rem;
1088
1078
  cursor: pointer;
1079
+ padding: 0;
1080
+ line-height: 1;
1081
+ opacity: 0.7;
1089
1082
  }
1090
- .ti-tag:last-child {
1091
- margin-right: 4px;
1092
- }
1093
- .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {
1094
- background-color: #e54d42;
1083
+ .tag-remove[data-v-1b76c0f9]:hover {
1084
+ opacity: 1;
1095
1085
  }
1096
- .ti-new-tag-input-wrapper {
1097
- display: flex;
1098
- flex: 1 0 auto;
1099
- padding: 3px 5px;
1100
- margin: 2px;
1101
- font-size: 0.85em;
1102
- }
1103
- .ti-new-tag-input-wrapper input {
1104
- flex: 1 0 auto;
1105
- min-width: 100px;
1086
+ .tag-input[data-v-1b76c0f9] {
1087
+ flex: 1;
1106
1088
  border: none;
1107
- padding: 0px;
1108
- margin: 0px;
1089
+ background: none;
1090
+ outline: none;
1091
+ min-width: 150px;
1092
+ padding: 0.25rem;
1093
+ font-size: inherit;
1094
+ font-family: inherit;
1109
1095
  }
1110
- .ti-new-tag-input {
1111
- line-height: initial;
1096
+ .tag-input[data-v-1b76c0f9]:disabled {
1097
+ cursor: not-allowed;
1098
+ opacity: 0.5;
1112
1099
  }
1113
- .ti-autocomplete {
1114
- border-top: none;
1100
+ .autocomplete[data-v-1b76c0f9] {
1115
1101
  position: absolute;
1116
- width: 100%;
1102
+ top: 100%;
1117
1103
  left: 0;
1118
- top: 110%;
1119
- z-index: 20;
1104
+ right: 0;
1105
+ margin-top: 0.25rem;
1106
+ background: white;
1107
+ border: 1px solid rgb(var(--gray, 224, 224, 224));
1108
+ border-radius: 0.5rem;
1109
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
1110
+ max-height: 200px;
1111
+ overflow-y: auto;
1112
+ z-index: 100;
1120
1113
  }
1121
- .ti-item > div {
1114
+ .autocomplete-item[data-v-1b76c0f9] {
1115
+ padding: 0.5rem 0.75rem;
1122
1116
  cursor: pointer;
1123
- padding: 3px 6px;
1124
- width: 100%;
1117
+ transition: background-color 0.2s;
1125
1118
  }
1126
- .ti-selected-item {
1127
- background-color: rgb(var(--main));
1128
- color: #fff;
1119
+ .autocomplete-item[data-v-1b76c0f9]:hover,
1120
+ .autocomplete-item.selected[data-v-1b76c0f9] {
1121
+ background: rgb(var(--gray-light, 248, 248, 248));
1122
+ }
1123
+ .autocomplete-item[data-v-1b76c0f9]:first-child {
1124
+ border-radius: 0.5rem 0.5rem 0 0;
1129
1125
  }
1126
+ .autocomplete-item[data-v-1b76c0f9]:last-child {
1127
+ border-radius: 0 0 0.5rem 0.5rem;
1128
+ }
1129
+
1130
1130
  .ti-tag-toDefactor {
1131
1131
  background-color: rgb(var(--main));
1132
1132
  color: rgb(var(--black));
@@ -1,4 +1,4 @@
1
- import { W as p } from "./main-BpBtIUcJ.js";
1
+ import { W as p } from "./main-ByKkD9qa.js";
2
2
  class f extends p {
3
3
  constructor() {
4
4
  super(...arguments), this.group = "CapacitorStorage";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-7IA3UHca.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-Czyu-VcC.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/martyrs",
3
- "version": "0.2.541",
3
+ "version": "0.2.542",
4
4
  "description": "Fullstack framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,20 +1,24 @@
1
1
  <template>
2
2
  <div>
3
3
  <FieldTags
4
- v-model="tag"
5
- :tags="selectedTags"
4
+ v-model="selectedTags"
6
5
  :autocomplete-items="filteredItems"
7
6
  :add-on-key="[13, ':', ';', ',']"
8
- :save-on-key="[13, ':', ';', ',']"
9
7
  :separators="[';', ',']"
10
8
  :max-tags="20"
11
9
  :maxlength="20"
12
10
  :placeholder="'Please add tags'"
13
- :add-from-paste="true"
14
- :allow-edit-tags="true"
15
11
  @tags-changed="handleTagsChanged"
16
12
  class="mn-b-thin bg-light radius-medium pd-small"
17
13
  />
14
+
15
+ <input
16
+ v-model="tag"
17
+ @keydown.enter="addTagFromInput"
18
+ placeholder="Type to filter suggestions"
19
+ class="hidden-input"
20
+ style="position: absolute; left: -9999px;"
21
+ />
18
22
 
19
23
  <p class="p-small mn-b-thin">Suggested:</p>
20
24
 
@@ -53,18 +57,19 @@ const props = defineProps({
53
57
  });
54
58
 
55
59
  const tag = ref('');
56
-
57
60
  const selectedTags = ref([]);
58
-
59
61
  const autocompleteItems = ref(props.tagsSuggested);
60
62
 
61
- if (props.tags) selectedTags.value = props.tags.map(tag => ({text: tag}))
62
-
63
+ // Initialize tags
64
+ if (props.tags) {
65
+ selectedTags.value = props.tags.map(tag =>
66
+ typeof tag === 'string' ? { text: tag } : tag
67
+ );
68
+ }
63
69
 
70
+ // Filter autocomplete items based on current input
64
71
  const filteredItems = computed(() => {
65
- return autocompleteItems.value.filter(i => {
66
- return i.text.toLowerCase().includes(tag.value.toLowerCase());
67
- });
72
+ return autocompleteItems.value;
68
73
  });
69
74
 
70
75
  const filteredSuggestedItems = computed(() => {
@@ -73,14 +78,21 @@ const filteredSuggestedItems = computed(() => {
73
78
  });
74
79
  })
75
80
 
76
- function addTag (tag) {
77
- selectedTags.value.push(tag)
78
- emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));
81
+ function addTag (tagToAdd) {
82
+ selectedTags.value.push(tagToAdd)
83
+ emits('tags-changed', selectedTags.value.map(t => t.text));
84
+ }
85
+
86
+ function addTagFromInput() {
87
+ if (tag.value) {
88
+ addTag({ text: tag.value });
89
+ tag.value = '';
90
+ }
79
91
  }
80
92
 
81
93
  function handleTagsChanged(newTags) {
82
94
  selectedTags.value = newTags;
83
- emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));
95
+ emits('tags-changed', newTags.map(t => typeof t === 'string' ? t : t.text));
84
96
  }
85
97
 
86
98