@ozdao/prometheus-framework 0.1.62 → 0.1.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. package/dist/BackofficeGallery-30022293.js +1 -0
  2. package/dist/BackofficeGallery-f64daa0d.mjs +264 -0
  3. package/dist/BackofficeReports-cb4b180d.mjs +44 -0
  4. package/dist/BackofficeReports-d021871f.js +1 -0
  5. package/dist/BlockTags-8cddaef7.js +1 -0
  6. package/dist/BlockTags-ee310572.mjs +853 -0
  7. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  8. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  9. package/dist/Button-7643c9aa.js +1 -0
  10. package/dist/Button-9e1a9284.mjs +226 -0
  11. package/dist/Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  12. package/dist/Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  13. package/dist/ButtonToggleMembership-7ee4dc8e.mjs +90 -0
  14. package/dist/ButtonToggleMembership-b9352cec.js +1 -0
  15. package/dist/CardBlogpost-3c92fbc9.mjs +246 -0
  16. package/dist/CardBlogpost-c7364b1e.js +1 -0
  17. package/dist/CardOrganization-647cb571.js +1 -0
  18. package/dist/CardOrganization-facb77f7.mjs +234 -0
  19. package/dist/CardProduct-92affca1.js +1 -0
  20. package/dist/CardProduct-fca53299.mjs +193 -0
  21. package/dist/Checkbox-5dbe7b23.mjs +62 -0
  22. package/dist/Checkbox-76f09248.js +1 -0
  23. package/dist/Chips-0fdb31c9.js +1 -0
  24. package/dist/Chips-f1a0d085.mjs +214 -0
  25. package/dist/Community-534d473c.mjs +132 -0
  26. package/dist/Community-e9aff969.js +1 -0
  27. package/dist/Dashboard-91d73bc5.js +1 -0
  28. package/dist/Dashboard-ea9035bc.mjs +152 -0
  29. package/dist/Dropdown-31115457.js +1 -0
  30. package/dist/Dropdown-cab3605b.mjs +146 -0
  31. package/dist/EULA-aba6a807.js +1 -0
  32. package/dist/EULA-e05236af.mjs +4210 -0
  33. package/dist/EditOrder-94bbebff.mjs +221 -0
  34. package/dist/EditOrder-c070d474.js +1 -0
  35. package/dist/EmptyState-d65bab5b.js +1 -0
  36. package/dist/EmptyState-e404b05d.mjs +36 -0
  37. package/dist/Events-46ae8fc6.mjs +123 -0
  38. package/dist/Events-813c8c7b.js +1 -0
  39. package/dist/Feed-2d443ad2.mjs +146 -0
  40. package/dist/Feed-3a4e7a9c.js +1 -0
  41. package/dist/Feed-8b554fc1.js +1 -0
  42. package/dist/Feed-98b47c6f.js +1 -0
  43. package/dist/Feed-a21d6007.mjs +124 -0
  44. package/dist/Feed-b39138c8.js +1 -0
  45. package/dist/Feed-c41ef736.mjs +361 -0
  46. package/dist/Feed-d114330c.mjs +112 -0
  47. package/dist/Field-e2a43424.js +1 -0
  48. package/dist/Field-e5ad88d3.mjs +75 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
  50. package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
  51. package/dist/Gallery-46b5f939.js +1 -0
  52. package/dist/Gallery-762a9c2d.mjs +241 -0
  53. package/dist/IconChevronRight-a55f838e.js +1 -0
  54. package/dist/IconChevronRight-fae9d012.mjs +28 -0
  55. package/dist/IconCommunity-468dc457.mjs +65 -0
  56. package/dist/IconCommunity-b339e806.js +1 -0
  57. package/dist/IconCross-5bf93179.js +1 -0
  58. package/dist/IconCross-84cb1292.mjs +28 -0
  59. package/dist/IconEdit-9edfd74d.mjs +21 -0
  60. package/dist/IconEdit-c0469b45.js +1 -0
  61. package/dist/Image-4dcfddb8.js +9 -0
  62. package/dist/Image-e0da17ac.mjs +571 -0
  63. package/dist/LabelGooglePlay-24feb437.mjs +31 -0
  64. package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
  65. package/dist/LeftoverAdd-5a8988d9.js +1 -0
  66. package/dist/LeftoverAdd-c4f37f47.mjs +227 -0
  67. package/dist/Leftovers-470a1689.js +1 -0
  68. package/dist/Leftovers-69c7dcd9.mjs +136 -0
  69. package/dist/Loader-21f016da.js +1 -0
  70. package/dist/Loader-cd422786.mjs +41 -0
  71. package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  72. package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  73. package/dist/Members-04273cd4.mjs +114 -0
  74. package/dist/Members-0685a15f.js +1 -0
  75. package/dist/Menu-b5d6a0c7.js +1 -0
  76. package/dist/Menu-dd7645c1.mjs +13 -0
  77. package/dist/MenuItem-56ae7f94.js +1 -0
  78. package/dist/MenuItem-6296d02f.mjs +63 -0
  79. package/dist/Orders-b64e8cb9.js +1 -0
  80. package/dist/Orders-ff30db05.mjs +75 -0
  81. package/dist/Organizations-46aab2c8.mjs +73 -0
  82. package/dist/Organizations-a8627bc5.js +1 -0
  83. package/dist/Payments-53e5fecf.js +1 -0
  84. package/dist/Payments-82e545e1.mjs +87 -0
  85. package/dist/PlaceholderUserpic-14c6ea7e.mjs +28 -0
  86. package/dist/PlaceholderUserpic-47f6f319.js +1 -0
  87. package/dist/Popup-0915427c.mjs +74 -0
  88. package/dist/Popup-795f5c88.js +1 -0
  89. package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  90. package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  91. package/dist/Product-7e001b81.js +7 -0
  92. package/dist/Product-f3f42158.mjs +653 -0
  93. package/dist/ProductEdit-959b3cd3.mjs +295 -0
  94. package/dist/ProductEdit-bae5e898.js +1 -0
  95. package/dist/ProductsBackoffice-0716123f.js +1 -0
  96. package/dist/ProductsBackoffice-a36ecbc6.mjs +85 -0
  97. package/dist/ProfileBlogposts-c790d1b2.js +1 -0
  98. package/dist/ProfileBlogposts-f43cf32e.mjs +79 -0
  99. package/dist/ProfileEvents-12f80fff.mjs +70 -0
  100. package/dist/ProfileEvents-585570a3.js +1 -0
  101. package/dist/ProfileOrganizations-bbc2cf40.mjs +73 -0
  102. package/dist/ProfileOrganizations-d7103514.js +1 -0
  103. package/dist/Publics-094f3c2c.mjs +45 -0
  104. package/dist/Publics-1032c0f4.js +1 -0
  105. package/dist/Select-11ddabf5.mjs +79 -0
  106. package/dist/Select-3ca5ab39.js +1 -0
  107. package/dist/SelectMulti-58704d69.mjs +1038 -0
  108. package/dist/SelectMulti-c25765cf.js +1 -0
  109. package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
  110. package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
  111. package/dist/SkeletonEvent-8690422d.mjs +16 -0
  112. package/dist/SkeletonEvent-eb284de8.js +1 -0
  113. package/dist/SkeletonEventShort-6c9e3940.js +1 -0
  114. package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
  115. package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
  116. package/dist/SkeletonOrganization-8690422d.mjs +16 -0
  117. package/dist/Socials-31c06635.mjs +74 -0
  118. package/dist/Socials-cceaeaf2.js +1 -0
  119. package/dist/Tab-054b61f7.mjs +46 -0
  120. package/dist/Tab-2c1e4224.js +1 -0
  121. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  122. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  123. package/dist/Upload-06d93178.js +1 -0
  124. package/dist/Upload-23212d9d.mjs +74 -0
  125. package/dist/UploadImage-0f488170.js +1 -0
  126. package/dist/UploadImage-3c627d89.mjs +83 -0
  127. package/dist/UploadImageMultiple-cb6c7188.mjs +58 -0
  128. package/dist/UploadImageMultiple-eddaac87.js +1 -0
  129. package/dist/Wallet-2043b611.mjs +24682 -0
  130. package/dist/Wallet-8fa7386a.js +55 -0
  131. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  132. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  133. package/dist/auth-56dc2ba7.mjs +607 -0
  134. package/dist/auth-f018f5b3.js +7 -0
  135. package/dist/auth.client.cjs +7 -0
  136. package/dist/auth.client.js +3874 -0
  137. package/dist/auth.validation-c31a60e7.mjs +24 -0
  138. package/dist/auth.validation-d049b341.js +1 -0
  139. package/dist/backoffice.client.cjs +1 -0
  140. package/dist/backoffice.client.js +265 -0
  141. package/dist/carousel.es-44c501bc.mjs +383 -0
  142. package/dist/carousel.es-cdfb392c.js +5 -0
  143. package/dist/categories-5b08da53.mjs +121 -0
  144. package/dist/categories-7ccd6be9.js +1 -0
  145. package/dist/click-outside-0b0727d1.js +2 -0
  146. package/dist/click-outside-6101836c.mjs +19 -0
  147. package/dist/community.client.cjs +1 -0
  148. package/dist/community.client.js +692 -0
  149. package/dist/dribbble-8e8e169b.js +1 -0
  150. package/dist/dribbble-ae37c2ac.mjs +127 -0
  151. package/dist/events.client.cjs +2 -0
  152. package/dist/events.client.js +8885 -0
  153. package/dist/files.client.cjs +1 -0
  154. package/dist/files.client.js +1 -0
  155. package/dist/gallery-d4297191.mjs +54 -0
  156. package/dist/gallery-f92912df.js +1 -0
  157. package/dist/gallery.client.cjs +1 -0
  158. package/dist/gallery.client.js +18 -0
  159. package/dist/globals-928eb13c.js +1 -0
  160. package/dist/globals-96ba60e4.mjs +91 -0
  161. package/dist/globals.client.cjs +1 -0
  162. package/dist/globals.client.js +12 -0
  163. package/dist/icons.client.cjs +1 -0
  164. package/dist/icons.client.js +84 -0
  165. package/dist/index-a661083c.mjs +934 -0
  166. package/dist/index-b41aac19.js +2 -0
  167. package/dist/inputs.validation-d7cef32b.js +1 -0
  168. package/dist/inputs.validation-db65277a.mjs +83 -0
  169. package/dist/landing.client.cjs +1 -0
  170. package/dist/landing.client.js +111 -0
  171. package/dist/leftovers-5d1ff88b.mjs +67 -0
  172. package/dist/leftovers-b60180cf.js +1 -0
  173. package/dist/legal.client.cjs +1 -0
  174. package/dist/legal.client.js +8512 -0
  175. package/dist/memberships-12210953.mjs +68 -0
  176. package/dist/memberships-393765d8.js +1 -0
  177. package/dist/middlewares.client.cjs +1 -0
  178. package/dist/middlewares.client.js +1 -0
  179. package/dist/orders-13c10d49.mjs +85 -0
  180. package/dist/orders-37f041aa.js +1 -0
  181. package/dist/organizations-587d5a4d.mjs +122 -0
  182. package/dist/organizations-b4d902a2.js +1 -0
  183. package/dist/organizations.client-35b74e44.mjs +2997 -0
  184. package/dist/organizations.client-f982f55a.js +3 -0
  185. package/dist/organizations.client.cjs +1 -0
  186. package/dist/organizations.client.js +86 -0
  187. package/dist/products-3c43eb18.js +1 -0
  188. package/dist/products-943fb95e.mjs +107 -0
  189. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
  191. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
  193. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +65 -67
  195. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  197. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  199. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
  200. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
  201. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
  202. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +61 -2
  203. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  205. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  209. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  211. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  213. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  215. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  219. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  221. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  223. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  225. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  227. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  229. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  233. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  235. package/dist/reports-270f69df.js +1 -0
  236. package/dist/reports-79cd9459.mjs +91 -0
  237. package/dist/reports.client.cjs +1 -0
  238. package/dist/reports.client.js +8 -0
  239. package/dist/states.validation-3b70f83a.js +1 -0
  240. package/dist/states.validation-944e334c.mjs +13 -0
  241. package/dist/style.css +1 -1
  242. package/dist/users.client.cjs +1 -0
  243. package/dist/users.client.js +632 -0
  244. package/dist/vue-draggable-next.esm-bundler-21a209c6.js +10 -0
  245. package/dist/vue-draggable-next.esm-bundler-ff6e3f52.mjs +1557 -0
  246. package/dist/vuex.esm-bundler-57d8b6ba.mjs +750 -0
  247. package/dist/vuex.esm-bundler-685cf29f.js +5 -0
  248. package/package.json +1 -1
  249. package/src/modules/auth/components/pages/SignIn.vue +2 -2
@@ -0,0 +1,45 @@
1
+ import { ref as d, onMounted as _, openBlock as t, createElementBlock as n, unref as s, createBlock as l, Fragment as p, renderList as f, createCommentVNode as h } from "vue";
2
+ import { _ as y } from "./CardOrganization-facb77f7.mjs";
3
+ import { _ as b } from "./EmptyState-e404b05d.mjs";
4
+ import { s as c } from "./auth-56dc2ba7.mjs";
5
+ import { a as g } from "./organizations-587d5a4d.mjs";
6
+ import { m as x } from "./memberships-12210953.mjs";
7
+ const k = { class: "w-100 o-scroll" }, w = {
8
+ key: 1,
9
+ class: "w-max gap-thin flex-nowrap flex"
10
+ }, $ = {
11
+ __name: "Publics",
12
+ setup(v) {
13
+ let e = d(null);
14
+ _(async () => {
15
+ e.value = await g.read({
16
+ user: c.user._id,
17
+ sort: "numberOfMemberships",
18
+ limit: 10,
19
+ types: ["public"]
20
+ });
21
+ });
22
+ const m = ({ membership: o, status: i, target: r }, a, u) => {
23
+ x.handleMembershipUpdate(organizations.state.current, o, i, r, a, u);
24
+ };
25
+ return (o, i) => (t(), n("div", k, [
26
+ !s(e) || s(e).length < 1 ? (t(), l(b, {
27
+ key: 0,
28
+ title: "Unfortunately, we couldn't find any recommendations for you",
29
+ description: "Explore and find a community or organization that suits your interests.",
30
+ class: "radius-big bg-grey pd-medium"
31
+ })) : (t(), n("div", w, [
32
+ s(e) ? (t(!0), n(p, { key: 0 }, f(s(e), (r, a) => (t(), l(y, {
33
+ key: r._id,
34
+ organization: r,
35
+ user: c.user,
36
+ onUpdateMembership: m,
37
+ class: "flex-child-1 flex-child w-25r"
38
+ }, null, 8, ["organization", "user"]))), 128)) : h("", !0)
39
+ ]))
40
+ ]));
41
+ }
42
+ };
43
+ export {
44
+ $ as _
45
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),l=require("./CardOrganization-647cb571.js"),u=require("./EmptyState-d65bab5b.js"),o=require("./auth-f018f5b3.js"),d=require("./organizations-b4d902a2.js"),m=require("./memberships-393765d8.js");const _={class:"w-100 o-scroll"},p={key:1,class:"w-max gap-thin flex-nowrap flex"},f={__name:"Publics",setup(h){let t=e.ref(null);e.onMounted(async()=>{t.value=await d.actions.read({user:o.state.user._id,sort:"numberOfMemberships",limit:10,types:["public"]})});const a=({membership:r,status:s,target:n},i,c)=>{m.mutations.handleMembershipUpdate(organizations.state.current,r,s,n,i,c)};return(r,s)=>(e.openBlock(),e.createElementBlock("div",_,[!e.unref(t)||e.unref(t).length<1?(e.openBlock(),e.createBlock(u._sfc_main,{key:0,title:"Unfortunately, we couldn't find any recommendations for you",description:"Explore and find a community or organization that suits your interests.",class:"radius-big bg-grey pd-medium"})):(e.openBlock(),e.createElementBlock("div",p,[e.unref(t)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(t),(n,i)=>(e.openBlock(),e.createBlock(l._sfc_main,{key:n._id,organization:n,user:o.state.user,onUpdateMembership:a,class:"flex-child-1 flex-child w-25r"},null,8,["organization","user"]))),128)):e.createCommentVNode("",!0)]))]))}};exports._sfc_main=f;
@@ -0,0 +1,79 @@
1
+ import { ref as _, watch as S, computed as C, openBlock as t, createElementBlock as s, Fragment as f, createElementVNode as i, withModifiers as v, normalizeClass as h, toDisplayString as r, createCommentVNode as u, createVNode as k, Transition as y, withCtx as g, renderList as x, unref as B } from "vue";
2
+ import { _ as M } from "./_plugin-vue_export-helper-dad06003.mjs";
3
+ const N = ["onClick"], O = {
4
+ key: 0,
5
+ class: "t-transp mn-r-small"
6
+ }, T = { class: "w-100" }, V = ["onClick"], $ = {
7
+ key: 0,
8
+ class: "w-100"
9
+ }, z = {
10
+ key: 0,
11
+ class: "mn-t-thin invalid-feedback"
12
+ }, E = {
13
+ __name: "Select",
14
+ props: {
15
+ label: String,
16
+ select: [String, Object],
17
+ placeholder: { type: String, default: "Please select an item" },
18
+ options: { type: Array, default: () => [] },
19
+ validation: Boolean
20
+ },
21
+ emits: ["update:select", "focus", "blur"],
22
+ setup(l, { emit: d }) {
23
+ const n = l, a = _(n.select), o = _(!1);
24
+ S(() => n.select, (e) => {
25
+ a.value = e;
26
+ });
27
+ const b = C(() => n.select ? n.options.filter((e) => e !== n.select) : n.options), m = () => {
28
+ o.value = !o.value, d(o.value ? "focus" : "blur");
29
+ }, w = (e) => {
30
+ a.value = e, m(), d("update:select", a.value);
31
+ };
32
+ return (e, L) => {
33
+ var p;
34
+ return t(), s(f, null, [
35
+ i("div", {
36
+ onClick: v(m, ["stop"]),
37
+ class: h([e.$attrs.class, "cursor-pointer flex-nowrap flex"])
38
+ }, [
39
+ l.label ? (t(), s("div", O, [
40
+ i("span", null, r(l.label), 1)
41
+ ])) : u("", !0),
42
+ i("li", T, [
43
+ i("span", null, r(((p = a.value) == null ? void 0 : p.name) || a.value || l.placeholder), 1)
44
+ ]),
45
+ k(y, {
46
+ mode: "out-in",
47
+ name: "TransitionTranslateY"
48
+ }, {
49
+ default: g(() => [
50
+ o.value ? (t(), s("ul", {
51
+ key: 0,
52
+ class: h([e.$attrs.class, "pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])
53
+ }, [
54
+ (t(!0), s(f, null, x(B(b), (c) => (t(), s("li", {
55
+ onClick: v((j) => w(c), ["stop"])
56
+ }, [
57
+ c ? (t(), s("span", $, r(c.name || c), 1)) : u("", !0)
58
+ ], 8, V))), 256))
59
+ ], 2)) : u("", !0)
60
+ ]),
61
+ _: 1
62
+ })
63
+ ], 10, N),
64
+ k(y, {
65
+ mode: "out-in",
66
+ name: "fade"
67
+ }, {
68
+ default: g(() => [
69
+ l.validation ? (t(), s("div", z, " * " + r(l.validation.message), 1)) : u("", !0)
70
+ ]),
71
+ _: 1
72
+ })
73
+ ], 64);
74
+ };
75
+ }
76
+ }, F = /* @__PURE__ */ M(E, [["__scopeId", "data-v-dfe03dc2"]]);
77
+ export {
78
+ F as S
79
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),m=require("./_plugin-vue_export-helper-f246444f.js");const p=["onClick"],k={key:0,class:"t-transp mn-r-small"},_={class:"w-100"},f=["onClick"],v={key:0,class:"w-100"},h={key:0,class:"mn-t-thin invalid-feedback"},B={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(l,{emit:c}){const n=l,o=e.ref(n.select),s=e.ref(!1);e.watch(()=>n.select,t=>{o.value=t});const d=e.computed(()=>n.select?n.options.filter(t=>t!==n.select):n.options),r=()=>{s.value=!s.value,c(s.value?"focus":"blur")},u=t=>{o.value=t,r(),c("update:select",o.value)};return(t,y)=>{var i;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{onClick:e.withModifiers(r,["stop"]),class:e.normalizeClass([t.$attrs.class,"cursor-pointer flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",_,[e.createElementVNode("span",null,e.toDisplayString(((i=o.value)==null?void 0:i.name)||o.value||l.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("ul",{key:0,class:e.normalizeClass([t.$attrs.class,"pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d),a=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(C=>u(a),["stop"])},[a?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(a.name||a),1)):e.createCommentVNode("",!0)],8,f))),256))],2)):e.createCommentVNode("",!0)]),_:1})],10,p),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[l.validation?(e.openBlock(),e.createElementBlock("div",h," * "+e.toDisplayString(l.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},g=m._export_sfc(B,[["__scopeId","data-v-dfe03dc2"]]);exports.Select=g;