@ozdao/prometheus-framework 0.2.200 → 0.2.201

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +133 -1
  2. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs.map +1 -0
  3. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +82 -44
  4. package/dist/prometheus-framework/src/components/Button/Button.vue2.js.map +1 -0
  5. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +32 -1
  6. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs.map +1 -0
  7. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +20 -14
  8. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js.map +1 -0
  9. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +64 -1
  10. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs.map +1 -0
  11. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +45 -38
  12. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js.map +1 -0
  13. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  15. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +121 -1
  16. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs.map +1 -0
  17. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +97 -76
  18. package/dist/prometheus-framework/src/components/Field/Field.vue2.js.map +1 -0
  19. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  21. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +92 -1
  22. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs.map +1 -0
  23. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +69 -54
  24. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js.map +1 -0
  25. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +127 -1
  26. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs.map +1 -0
  27. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +75 -51
  28. package/dist/prometheus-framework/src/components/Select/Select.vue2.js.map +1 -0
  29. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  30. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  34. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  35. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  36. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  38. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  39. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  40. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  42. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
  48. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  49. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  50. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  51. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  52. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +2 -2
  58. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  59. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
  62. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  63. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
  64. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  65. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +5 -5
  68. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
  69. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  72. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  73. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  76. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  77. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
  84. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  85. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
  86. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  87. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  88. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  89. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +4 -4
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
  102. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +2 -2
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +6 -6
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +6 -6
  111. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  113. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  114. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  115. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  116. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  117. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  118. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  128. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  129. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  130. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  131. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  132. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  133. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  136. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  137. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
  140. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  141. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  143. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  144. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  145. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  146. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  147. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
  150. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
  151. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +3 -3
  152. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  153. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
  154. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  155. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  157. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  158. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  159. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
  160. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  161. package/package.json +1 -1
@@ -1 +1,127 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../FieldPhone/click-outside.cjs");;/* empty css */const g=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),B={key:0,class:"t-transp mn-r-small"},b={class:"w-100"},w=["onClick"],S={key:0,class:"w-100"},_={key:0,class:"mn-t-thin invalid-feedback"},C={__name:"Select",props:{label:String,placeholder:{type:String,default:"Please select an item"},select:[String,Object],property:String,options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(n,{emit:m}){let f=y.default;const i=m,t=n,a=e.ref(!1),o=e.ref(t.property?d(t.select,t.property,t.options):t.select),v=e.computed(()=>t.select?t.options.filter(l=>l!==t.select):t.options);e.watch(()=>t.select,l=>{o.value=t.property?d(t.select,t.property,t.options):t.select});const u=()=>{a.value=!a.value,i(a.value?"focus":"blur")};function k(){a.value=!1}const h=l=>{o.value=l,u(),t.property?i("update:select",o.value[t.property]):i("update:select",o.value)};function d(l,p,c){for(const s of c)if(s[p]===l||s===l)return s;return null}return(l,p)=>{var c,s;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:e.withModifiers(u,["stop"]),class:e.normalizeClass([l.$attrs.class,"cursor-pointer flex-v-center flex-nowrap flex pos-relative"])},[n.label?(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("span",null,e.toDisplayString(n.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",b,[e.createElementVNode("span",null,e.toDisplayString((c=o.value)!=null&&c.name?(s=o.value)==null?void 0:s.name:o.value||n.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("ul",{class:e.normalizeClass([l.$attrs.class,"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),style:{"min-width":"max-content"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,r=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(V=>h(r),["stop"])},[r?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(r.name||r),1)):e.createCommentVNode("",!0)],8,w))),256))],2),[[e.vShow,a.value]])]),_:1})],2)),[[e.unref(f),k]]),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[n.validation?(e.openBlock(),e.createElementBlock("div",_," * "+e.toDisplayString(n.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},E=g.default(C,[["__scopeId","data-v-bf25c24d"]]);exports.default=E;
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const vue = require("vue");
4
+ const clickOutside = require("../FieldPhone/click-outside.cjs");
5
+ ;/* empty css */
6
+ const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.cjs");
7
+ const _hoisted_1 = {
8
+ key: 0,
9
+ class: "t-transp mn-r-small"
10
+ };
11
+ const _hoisted_2 = { class: "w-100" };
12
+ const _hoisted_3 = ["onClick"];
13
+ const _hoisted_4 = {
14
+ key: 0,
15
+ class: "w-100"
16
+ };
17
+ const _hoisted_5 = {
18
+ key: 0,
19
+ class: "mn-t-thin invalid-feedback"
20
+ };
21
+ const _sfc_main = {
22
+ __name: "Select",
23
+ props: {
24
+ label: String,
25
+ placeholder: { type: String, default: "Please select an item" },
26
+ select: [String, Object],
27
+ property: String,
28
+ options: { type: Array, default: () => [] },
29
+ validation: Boolean
30
+ },
31
+ emits: [
32
+ "update:select",
33
+ "focus",
34
+ "blur"
35
+ ],
36
+ setup(__props, { emit: __emit }) {
37
+ let vClickOutside = clickOutside.default;
38
+ const emit = __emit;
39
+ const props = __props;
40
+ const showMenu = vue.ref(false);
41
+ const optionsSelected = vue.ref(
42
+ props.property ? findObjectByValue(props.select, props.property, props.options) : props.select
43
+ );
44
+ const optionsListed = vue.computed(() => {
45
+ return props.select ? props.options.filter((option) => option !== props.select) : props.options;
46
+ });
47
+ vue.watch(() => props.select, (newSelect) => {
48
+ optionsSelected.value = props.property ? findObjectByValue(props.select, props.property, props.options) : props.select;
49
+ });
50
+ const toggleMenu = () => {
51
+ showMenu.value = !showMenu.value;
52
+ emit(showMenu.value ? "focus" : "blur");
53
+ };
54
+ function clickedOutside() {
55
+ showMenu.value = false;
56
+ }
57
+ const selectOption = (option) => {
58
+ optionsSelected.value = option;
59
+ toggleMenu();
60
+ if (props.property) {
61
+ emit("update:select", optionsSelected.value[props.property]);
62
+ } else {
63
+ emit("update:select", optionsSelected.value);
64
+ }
65
+ };
66
+ function findObjectByValue(value, property, objects) {
67
+ for (const object of objects) {
68
+ if (object[property] === value || object === value) {
69
+ return object;
70
+ }
71
+ }
72
+ return null;
73
+ }
74
+ return (_ctx, _cache) => {
75
+ var _a, _b;
76
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
77
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
78
+ onClick: vue.withModifiers(toggleMenu, ["stop"]),
79
+ class: vue.normalizeClass([_ctx.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
80
+ }, [
81
+ __props.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
82
+ vue.createElementVNode("span", null, vue.toDisplayString(__props.label), 1)
83
+ ])) : vue.createCommentVNode("", true),
84
+ vue.createElementVNode("li", _hoisted_2, [
85
+ vue.createElementVNode("span", null, vue.toDisplayString(((_a = optionsSelected.value) == null ? void 0 : _a.name) ? (_b = optionsSelected.value) == null ? void 0 : _b.name : optionsSelected.value || __props.placeholder), 1)
86
+ ]),
87
+ vue.createVNode(vue.Transition, {
88
+ mode: "out-in",
89
+ name: "TransitionTranslateY"
90
+ }, {
91
+ default: vue.withCtx(() => [
92
+ vue.withDirectives(vue.createElementVNode("ul", {
93
+ class: vue.normalizeClass([_ctx.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
94
+ style: { "min-width": "max-content" }
95
+ }, [
96
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(optionsListed.value, (option) => {
97
+ return vue.openBlock(), vue.createElementBlock("li", {
98
+ onClick: vue.withModifiers(($event) => selectOption(option), ["stop"])
99
+ }, [
100
+ option ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(option.name || option), 1)) : vue.createCommentVNode("", true)
101
+ ], 8, _hoisted_3);
102
+ }), 256))
103
+ ], 2), [
104
+ [vue.vShow, showMenu.value]
105
+ ])
106
+ ]),
107
+ _: 1
108
+ })
109
+ ], 2)), [
110
+ [vue.unref(vClickOutside), clickedOutside]
111
+ ]),
112
+ vue.createVNode(vue.Transition, {
113
+ mode: "out-in",
114
+ name: "fade"
115
+ }, {
116
+ default: vue.withCtx(() => [
117
+ __props.validation ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, " * " + vue.toDisplayString(__props.validation.message), 1)) : vue.createCommentVNode("", true)
118
+ ]),
119
+ _: 1
120
+ })
121
+ ], 64);
122
+ };
123
+ }
124
+ };
125
+ const Select = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-bf25c24d"]]);
126
+ exports.default = Select;
127
+ //# sourceMappingURL=Select.vue2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.vue2.cjs","sources":["../../../../../src/components/Select/Select.vue"],"sourcesContent":["<template>\n <!-- Input Wrapper -->\n <div \n @click.stop=\"toggleMenu\" \n v-click-outside=\"clickedOutside\" \n :class=\"$attrs.class\" \n class=\"cursor-pointer flex-v-center flex-nowrap flex pos-relative\"\n >\n <!-- Label -->\n <div v-if=\"label\" class=\"t-transp mn-r-small\">\n <span>{{label}}</span>\n </div>\n \n <!-- Input -->\n <li class=\"w-100\">\n <!-- Selected Value -->\n <span>\n {{ optionsSelected?.name ? optionsSelected?.name : optionsSelected || placeholder }}\n </span>\n </li>\n\n <!-- Dropdown menu -->\n <transition mode=\"out-in\" name=\"TransitionTranslateY\">\n <ul \n v-show=\"showMenu\" \n :class=\"$attrs.class\"\n class=\"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin\"\n style=\"min-width: max-content;\"\n >\n <li @click.stop=\"selectOption(option)\" v-for=\"option in optionsListed\">\n <span v-if=\"option\" class=\"w-100\">\n {{ option.name || option }}\n </span>\n </li>\n </ul>\n </transition>\n </div>\n\n <!-- Validation -->\n <transition mode=\"out-in\" name=\"fade\">\n <div v-if=\"validation\" class=\"mn-t-thin invalid-feedback\">\n * {{validation.message}}\n </div>\n </transition>\n</template>\n\n<script setup>\nimport { ref, computed, watch } from 'vue'\n\nimport clickOutside from '../FieldPhone/click-outside';\n\nlet vClickOutside = clickOutside\n\nconst emit = defineEmits([\n 'update:select', \n 'focus', \n 'blur'\n])\n\nconst props = defineProps({\n label: String,\n placeholder: { type: String, default: 'Please select an item' },\n select: [String, Object],\n property: String,\n options: { type: Array, default: () => [] },\n validation: Boolean,\n})\n\nconst showMenu = ref(false)\n\nconst optionsSelected = ref(\n props.property \n ? findObjectByValue(props.select, props.property, props.options) \n : props.select\n)\n\nconst optionsListed = computed(() => {\n return props.select \n ? props.options.filter(option => option !== props.select) \n : props.options\n})\n\nwatch(() => props.select, (newSelect) => {\n optionsSelected.value = \n props.property \n ? findObjectByValue(props.select, props.property, props.options) \n : props.select;\n});\n\nconst toggleMenu = () => {\n showMenu.value = !showMenu.value\n\n emit(showMenu.value ? 'focus' : 'blur')\n}\n\nfunction clickedOutside () {\n showMenu.value = false\n}\n\nconst selectOption = option => {\n optionsSelected.value = option\n \n toggleMenu()\n\n if (props.property) { \n emit('update:select', optionsSelected.value[props.property])\n } else {\n emit('update:select', optionsSelected.value)\n }\n}\n\nfunction findObjectByValue (value, property, objects) {\n for (const object of objects) {\n if (object[property] === value || object === value) {\n return object;\n }\n }\n return null;\n}\n</script>\n\n<style lang=\"scss\" scoped>\n li {\n list-style-type: none;\n }\n\n ul li {\n line-height: 2;\n }\n</style>\n"],"names":["clickOutside","ref","computed","watch"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,QAAI,gBAAgBA,aAAY;AAEhC,UAAM,OAAO;AAMb,UAAM,QAAQ;AASd,UAAM,WAAWC,IAAG,IAAC,KAAK;AAE1B,UAAM,kBAAkBA,IAAG;AAAA,MACzB,MAAM,WACJ,kBAAkB,MAAM,QAAQ,MAAM,UAAU,MAAM,OAAO,IAC7D,MAAM;AAAA,IACV;AAEA,UAAM,gBAAgBC,IAAQ,SAAC,MAAM;AACnC,aAAO,MAAM,SACX,MAAM,QAAQ,OAAO,YAAU,WAAW,MAAM,MAAM,IACtD,MAAM;AAAA,IACV,CAAC;AAEDC,QAAK,MAAC,MAAM,MAAM,QAAQ,CAAC,cAAc;AACvC,sBAAgB,QAChB,MAAM,WACJ,kBAAkB,MAAM,QAAQ,MAAM,UAAU,MAAM,OAAO,IAC7D,MAAM;AAAA,IACV,CAAC;AAED,UAAM,aAAa,MAAM;AACvB,eAAS,QAAQ,CAAC,SAAS;AAE3B,WAAK,SAAS,QAAQ,UAAU,MAAM;AAAA,IACxC;AAEA,aAAS,iBAAkB;AACzB,eAAS,QAAQ;AAAA,IACnB;AAEA,UAAM,eAAe,YAAU;AAC7B,sBAAgB,QAAQ;AAExB,iBAAY;AAEZ,UAAI,MAAM,UAAU;AAClB,aAAK,iBAAiB,gBAAgB,MAAM,MAAM,QAAQ,CAAC;AAAA,MAC/D,OAAS;AACL,aAAK,iBAAiB,gBAAgB,KAAK;AAAA,MAC5C;AAAA,IACH;AAEA,aAAS,kBAAmB,OAAO,UAAU,SAAS;AACpD,iBAAW,UAAU,SAAS;AAC5B,YAAI,OAAO,QAAQ,MAAM,SAAS,WAAW,OAAO;AAClD,iBAAO;AAAA,QACR;AAAA,MACF;AACD,aAAO;AAAA,IACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,17 +1,22 @@
1
- import { ref as y, computed as M, watch as N, openBlock as s, createElementBlock as n, Fragment as b, withDirectives as k, withModifiers as w, normalizeClass as S, createElementVNode as u, toDisplayString as d, createCommentVNode as m, createVNode as _, Transition as g, withCtx as x, renderList as T, vShow as $, unref as z } from "vue";
2
- import D from "../FieldPhone/click-outside.js";
1
+ import { ref, computed, watch, openBlock, createElementBlock, Fragment, withDirectives, withModifiers, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, createVNode, Transition, withCtx, renderList, vShow, unref } from "vue";
2
+ import clickOutside from "../FieldPhone/click-outside.js";
3
3
  /* empty css */
4
- import E from "../../../../_virtual/_plugin-vue_export-helper.js";
5
- const L = {
4
+ import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
5
+ const _hoisted_1 = {
6
6
  key: 0,
7
7
  class: "t-transp mn-r-small"
8
- }, A = { class: "w-100" }, F = ["onClick"], I = {
8
+ };
9
+ const _hoisted_2 = { class: "w-100" };
10
+ const _hoisted_3 = ["onClick"];
11
+ const _hoisted_4 = {
9
12
  key: 0,
10
13
  class: "w-100"
11
- }, P = {
14
+ };
15
+ const _hoisted_5 = {
12
16
  key: 0,
13
17
  class: "mn-t-thin invalid-feedback"
14
- }, Y = {
18
+ };
19
+ const _sfc_main = {
15
20
  __name: "Select",
16
21
  props: {
17
22
  label: String,
@@ -26,78 +31,97 @@ const L = {
26
31
  "focus",
27
32
  "blur"
28
33
  ],
29
- setup(o, { emit: C }) {
30
- let O = D;
31
- const p = C, e = o, c = y(!1), l = y(
32
- e.property ? v(e.select, e.property, e.options) : e.select
33
- ), B = M(() => e.select ? e.options.filter((t) => t !== e.select) : e.options);
34
- N(() => e.select, (t) => {
35
- l.value = e.property ? v(e.select, e.property, e.options) : e.select;
34
+ setup(__props, { emit: __emit }) {
35
+ let vClickOutside = clickOutside;
36
+ const emit = __emit;
37
+ const props = __props;
38
+ const showMenu = ref(false);
39
+ const optionsSelected = ref(
40
+ props.property ? findObjectByValue(props.select, props.property, props.options) : props.select
41
+ );
42
+ const optionsListed = computed(() => {
43
+ return props.select ? props.options.filter((option) => option !== props.select) : props.options;
36
44
  });
37
- const f = () => {
38
- c.value = !c.value, p(c.value ? "focus" : "blur");
45
+ watch(() => props.select, (newSelect) => {
46
+ optionsSelected.value = props.property ? findObjectByValue(props.select, props.property, props.options) : props.select;
47
+ });
48
+ const toggleMenu = () => {
49
+ showMenu.value = !showMenu.value;
50
+ emit(showMenu.value ? "focus" : "blur");
39
51
  };
40
- function V() {
41
- c.value = !1;
52
+ function clickedOutside() {
53
+ showMenu.value = false;
42
54
  }
43
- const j = (t) => {
44
- l.value = t, f(), e.property ? p("update:select", l.value[e.property]) : p("update:select", l.value);
55
+ const selectOption = (option) => {
56
+ optionsSelected.value = option;
57
+ toggleMenu();
58
+ if (props.property) {
59
+ emit("update:select", optionsSelected.value[props.property]);
60
+ } else {
61
+ emit("update:select", optionsSelected.value);
62
+ }
45
63
  };
46
- function v(t, h, i) {
47
- for (const a of i)
48
- if (a[h] === t || a === t)
49
- return a;
64
+ function findObjectByValue(value, property, objects) {
65
+ for (const object of objects) {
66
+ if (object[property] === value || object === value) {
67
+ return object;
68
+ }
69
+ }
50
70
  return null;
51
71
  }
52
- return (t, h) => {
53
- var i, a;
54
- return s(), n(b, null, [
55
- k((s(), n("div", {
56
- onClick: w(f, ["stop"]),
57
- class: S([t.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
72
+ return (_ctx, _cache) => {
73
+ var _a, _b;
74
+ return openBlock(), createElementBlock(Fragment, null, [
75
+ withDirectives((openBlock(), createElementBlock("div", {
76
+ onClick: withModifiers(toggleMenu, ["stop"]),
77
+ class: normalizeClass([_ctx.$attrs.class, "cursor-pointer flex-v-center flex-nowrap flex pos-relative"])
58
78
  }, [
59
- o.label ? (s(), n("div", L, [
60
- u("span", null, d(o.label), 1)
61
- ])) : m("", !0),
62
- u("li", A, [
63
- u("span", null, d((i = l.value) != null && i.name ? (a = l.value) == null ? void 0 : a.name : l.value || o.placeholder), 1)
79
+ __props.label ? (openBlock(), createElementBlock("div", _hoisted_1, [
80
+ createElementVNode("span", null, toDisplayString(__props.label), 1)
81
+ ])) : createCommentVNode("", true),
82
+ createElementVNode("li", _hoisted_2, [
83
+ createElementVNode("span", null, toDisplayString(((_a = optionsSelected.value) == null ? void 0 : _a.name) ? (_b = optionsSelected.value) == null ? void 0 : _b.name : optionsSelected.value || __props.placeholder), 1)
64
84
  ]),
65
- _(g, {
85
+ createVNode(Transition, {
66
86
  mode: "out-in",
67
87
  name: "TransitionTranslateY"
68
88
  }, {
69
- default: x(() => [
70
- k(u("ul", {
71
- class: S([t.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
89
+ default: withCtx(() => [
90
+ withDirectives(createElementVNode("ul", {
91
+ class: normalizeClass([_ctx.$attrs.class, "bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"]),
72
92
  style: { "min-width": "max-content" }
73
93
  }, [
74
- (s(!0), n(b, null, T(B.value, (r) => (s(), n("li", {
75
- onClick: w((q) => j(r), ["stop"])
76
- }, [
77
- r ? (s(), n("span", I, d(r.name || r), 1)) : m("", !0)
78
- ], 8, F))), 256))
94
+ (openBlock(true), createElementBlock(Fragment, null, renderList(optionsListed.value, (option) => {
95
+ return openBlock(), createElementBlock("li", {
96
+ onClick: withModifiers(($event) => selectOption(option), ["stop"])
97
+ }, [
98
+ option ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(option.name || option), 1)) : createCommentVNode("", true)
99
+ ], 8, _hoisted_3);
100
+ }), 256))
79
101
  ], 2), [
80
- [$, c.value]
102
+ [vShow, showMenu.value]
81
103
  ])
82
104
  ]),
83
105
  _: 1
84
106
  })
85
107
  ], 2)), [
86
- [z(O), V]
108
+ [unref(vClickOutside), clickedOutside]
87
109
  ]),
88
- _(g, {
110
+ createVNode(Transition, {
89
111
  mode: "out-in",
90
112
  name: "fade"
91
113
  }, {
92
- default: x(() => [
93
- o.validation ? (s(), n("div", P, " * " + d(o.validation.message), 1)) : m("", !0)
114
+ default: withCtx(() => [
115
+ __props.validation ? (openBlock(), createElementBlock("div", _hoisted_5, " * " + toDisplayString(__props.validation.message), 1)) : createCommentVNode("", true)
94
116
  ]),
95
117
  _: 1
96
118
  })
97
119
  ], 64);
98
120
  };
99
121
  }
100
- }, Q = /* @__PURE__ */ E(Y, [["__scopeId", "data-v-bf25c24d"]]);
122
+ };
123
+ const Select = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bf25c24d"]]);
101
124
  export {
102
- Q as default
125
+ Select as default
103
126
  };
127
+ //# sourceMappingURL=Select.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.vue2.js","sources":["../../../../../src/components/Select/Select.vue"],"sourcesContent":["<template>\n <!-- Input Wrapper -->\n <div \n @click.stop=\"toggleMenu\" \n v-click-outside=\"clickedOutside\" \n :class=\"$attrs.class\" \n class=\"cursor-pointer flex-v-center flex-nowrap flex pos-relative\"\n >\n <!-- Label -->\n <div v-if=\"label\" class=\"t-transp mn-r-small\">\n <span>{{label}}</span>\n </div>\n \n <!-- Input -->\n <li class=\"w-100\">\n <!-- Selected Value -->\n <span>\n {{ optionsSelected?.name ? optionsSelected?.name : optionsSelected || placeholder }}\n </span>\n </li>\n\n <!-- Dropdown menu -->\n <transition mode=\"out-in\" name=\"TransitionTranslateY\">\n <ul \n v-show=\"showMenu\" \n :class=\"$attrs.class\"\n class=\"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin\"\n style=\"min-width: max-content;\"\n >\n <li @click.stop=\"selectOption(option)\" v-for=\"option in optionsListed\">\n <span v-if=\"option\" class=\"w-100\">\n {{ option.name || option }}\n </span>\n </li>\n </ul>\n </transition>\n </div>\n\n <!-- Validation -->\n <transition mode=\"out-in\" name=\"fade\">\n <div v-if=\"validation\" class=\"mn-t-thin invalid-feedback\">\n * {{validation.message}}\n </div>\n </transition>\n</template>\n\n<script setup>\nimport { ref, computed, watch } from 'vue'\n\nimport clickOutside from '../FieldPhone/click-outside';\n\nlet vClickOutside = clickOutside\n\nconst emit = defineEmits([\n 'update:select', \n 'focus', \n 'blur'\n])\n\nconst props = defineProps({\n label: String,\n placeholder: { type: String, default: 'Please select an item' },\n select: [String, Object],\n property: String,\n options: { type: Array, default: () => [] },\n validation: Boolean,\n})\n\nconst showMenu = ref(false)\n\nconst optionsSelected = ref(\n props.property \n ? findObjectByValue(props.select, props.property, props.options) \n : props.select\n)\n\nconst optionsListed = computed(() => {\n return props.select \n ? props.options.filter(option => option !== props.select) \n : props.options\n})\n\nwatch(() => props.select, (newSelect) => {\n optionsSelected.value = \n props.property \n ? findObjectByValue(props.select, props.property, props.options) \n : props.select;\n});\n\nconst toggleMenu = () => {\n showMenu.value = !showMenu.value\n\n emit(showMenu.value ? 'focus' : 'blur')\n}\n\nfunction clickedOutside () {\n showMenu.value = false\n}\n\nconst selectOption = option => {\n optionsSelected.value = option\n \n toggleMenu()\n\n if (props.property) { \n emit('update:select', optionsSelected.value[props.property])\n } else {\n emit('update:select', optionsSelected.value)\n }\n}\n\nfunction findObjectByValue (value, property, objects) {\n for (const object of objects) {\n if (object[property] === value || object === value) {\n return object;\n }\n }\n return null;\n}\n</script>\n\n<style lang=\"scss\" scoped>\n li {\n list-style-type: none;\n }\n\n ul li {\n line-height: 2;\n }\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,QAAI,gBAAgB;AAEpB,UAAM,OAAO;AAMb,UAAM,QAAQ;AASd,UAAM,WAAW,IAAI,KAAK;AAE1B,UAAM,kBAAkB;AAAA,MACtB,MAAM,WACJ,kBAAkB,MAAM,QAAQ,MAAM,UAAU,MAAM,OAAO,IAC7D,MAAM;AAAA,IACV;AAEA,UAAM,gBAAgB,SAAS,MAAM;AACnC,aAAO,MAAM,SACX,MAAM,QAAQ,OAAO,YAAU,WAAW,MAAM,MAAM,IACtD,MAAM;AAAA,IACV,CAAC;AAED,UAAM,MAAM,MAAM,QAAQ,CAAC,cAAc;AACvC,sBAAgB,QAChB,MAAM,WACJ,kBAAkB,MAAM,QAAQ,MAAM,UAAU,MAAM,OAAO,IAC7D,MAAM;AAAA,IACV,CAAC;AAED,UAAM,aAAa,MAAM;AACvB,eAAS,QAAQ,CAAC,SAAS;AAE3B,WAAK,SAAS,QAAQ,UAAU,MAAM;AAAA,IACxC;AAEA,aAAS,iBAAkB;AACzB,eAAS,QAAQ;AAAA,IACnB;AAEA,UAAM,eAAe,YAAU;AAC7B,sBAAgB,QAAQ;AAExB,iBAAY;AAEZ,UAAI,MAAM,UAAU;AAClB,aAAK,iBAAiB,gBAAgB,MAAM,MAAM,QAAQ,CAAC;AAAA,MAC/D,OAAS;AACL,aAAK,iBAAiB,gBAAgB,KAAK;AAAA,MAC5C;AAAA,IACH;AAEA,aAAS,kBAAmB,OAAO,UAAU,SAAS;AACpD,iBAAW,UAAU,SAAS;AAC5B,YAAI,OAAO,QAAQ,MAAM,SAAS,WAAW,OAAO;AAClD,iBAAO;AAAA,QACR;AAAA,MACF;AACD,aAAO;AAAA,IACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- ;/* empty css */
5
+ ;/* empty css */
6
+ ;/* empty css */
6
7
  ;/* empty css */
7
- ;/* empty css */
8
8
  require("vue-i18n");
9
9
  ;/* empty css */
10
10
  const vueRouter = require("vue-router");
@@ -1,8 +1,8 @@
1
1
  import { ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Transition, createBlock, resolveDynamicComponent, createElementVNode } from "vue";
2
2
  /* empty css */
3
- /* empty css */
3
+ /* empty css */
4
+ /* empty css */
4
5
  /* empty css */
5
- /* empty css */
6
6
  import "vue-i18n";
7
7
  /* empty css */
8
8
  import { useRoute, useRouter } from "vue-router";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const vueRouter = require("vue-router");
6
6
  const vueI18n = require("vue-i18n");
7
7
  const auth = require("../../store/auth.cjs");
@@ -1,5 +1,5 @@
1
1
  import { reactive, watch, ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, withDirectives, vModelText } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import { useRoute, useRouter } from "vue-router";
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { state as state$1 } from "../../store/auth.js";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
6
- const Button = require("../../../../../components/Button/Button.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
7
  const vueRouter = require("vue-router");
8
8
  const vueI18n = require("vue-i18n");
9
9
  const auth = require("../../store/auth.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, createTextVNode, createCommentVNode, withCtx } from "vue";
2
2
  /* empty css */
3
- import Field from "../../../../../components/Field/Field.vue.js";
4
- import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
5
5
  import { useRoute, useRouter } from "vue-router";
6
6
  import { useI18n } from "vue-i18n";
7
7
  import { state, actions } from "../../store/auth.js";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
6
- const Button = require("../../../../../components/Button/Button.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
7
7
  const vueRouter = require("vue-router");
8
8
  const auth = require("../../store/auth.cjs");
9
9
  const invites = require("../../../../organizations/store/invites.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, withCtx } from "vue";
2
2
  /* empty css */
3
- import Field from "../../../../../components/Field/Field.vue.js";
4
- import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
5
5
  import { useRoute, useRouter } from "vue-router";
6
6
  import { state, actions as actions$1 } from "../../store/auth.js";
7
7
  import { actions } from "../../../../organizations/store/invites.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
6
  const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
8
  const vueRouter = require("vue-router");
9
9
  const vueI18n = require("vue-i18n");
10
10
  const ResetPassword = require("../../localization/ResetPassword.json.cjs");
@@ -1,8 +1,8 @@
1
1
  import { ref, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, Transition, withCtx, createCommentVNode, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
3
- import Field from "../../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
5
+ import _sfc_main$3 from "../../../../../components/Button/Button.vue2.js";
6
6
  import { useRoute, useRouter } from "vue-router";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import text from "../../localization/ResetPassword.json.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
6
  const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
8
  const vueRouter = require("vue-router");
9
9
  const vueI18n = require("vue-i18n");
10
10
  const SignIn = require("../../localization/SignIn.json.cjs");
@@ -1,8 +1,8 @@
1
1
  import { ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, unref, createVNode, withCtx, Transition, withDirectives, vShow } from "vue";
2
2
  import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
3
- import Field from "../../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
5
+ import _sfc_main$3 from "../../../../../components/Button/Button.vue2.js";
6
6
  import { useRoute, useRouter } from "vue-router";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import text from "../../localization/SignIn.json.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Tab = require("../../../../../components/Tab/Tab.vue2.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
6
  const FieldPhone = require("../../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
- const Button = require("../../../../../components/Button/Button.vue.cjs");
7
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
8
  const vueRouter = require("vue-router");
9
9
  const vueI18n = require("vue-i18n");
10
10
  const SignUp = require("../../localization/SignUp.json.cjs");
@@ -1,8 +1,8 @@
1
1
  import { ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, Transition, withCtx, withDirectives, vShow, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../../components/Tab/Tab.vue2.js";
3
- import Field from "../../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
5
+ import _sfc_main$3 from "../../../../../components/Button/Button.vue2.js";
6
6
  import { useRoute, useRouter } from "vue-router";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import text from "../../localization/SignUp.json.js";
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const CardHeader = require("../../../globals/views/components/blocks/CardHeader.vue.cjs");
5
5
  const FooterBlogpost = require("./FooterBlogpost.vue.cjs");
6
6
  const Text = require("../../../../components/Text/Text.vue.cjs");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  const vueRouter = require("vue-router");
9
9
  const _hoisted_1 = { class: "pos-relative bg-light radius-big flex-column flex" };
10
10
  const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
@@ -2,7 +2,7 @@ import { computed, openBlock, createElementBlock, createVNode, normalizeClass, c
2
2
  import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
3
3
  import _sfc_main$3 from "./FooterBlogpost.vue.js";
4
4
  import _sfc_main$2 from "../../../../components/Text/Text.vue.js";
5
- /* empty css */
5
+ /* empty css */
6
6
  import { useRouter } from "vue-router";
7
7
  const _hoisted_1 = { class: "pos-relative bg-light radius-big flex-column flex" };
8
8
  const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Select = require("../../../../components/Select/Select.vue.cjs");
5
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
6
6
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
7
7
  const CardOrganization = require("../../../organizations/components/blocks/CardOrganization.vue.cjs");
8
8
  const IconFeatured = require("../../../icons/entities/IconFeatured.vue.cjs");
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, createVNode, createTextVNode, createCommentVNode, withCtx, Transition, createBlock, resolveDynamicComponent, Fragment, renderList } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import Select from "../../../../components/Select/Select.vue.js";
3
+ import Select from "../../../../components/Select/Select.vue2.js";
4
4
  import _sfc_main$5 from "../../../../components/Feed/Feed.vue.js";
5
5
  import _sfc_main$6 from "../../../organizations/components/blocks/CardOrganization.vue.js";
6
6
  import _sfc_main$1 from "../../../icons/entities/IconFeatured.vue.js";
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
6
- ;/* empty css */
7
6
  ;/* empty css */
8
- ;/* empty css */
7
+ ;/* empty css */
8
+ ;/* empty css */
9
9
  require("axios");
10
10
  ;/* empty css */
11
11
  const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
@@ -1,9 +1,9 @@
1
1
  import { withAsyncContext, ref, computed, openBlock, createElementBlock, createElementVNode, unref, Fragment, renderList, createBlock, withCtx, pushScopeId, popScopeId } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- /* empty css */
5
4
  /* empty css */
6
- /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
7
  import "axios";
8
8
  /* empty css */
9
9
  import _sfc_main$1 from "../blocks/CardBlogpost.vue.js";
@@ -4,14 +4,14 @@ const vue = require("vue");
4
4
  require("isomorphic-dompurify");
5
5
  ;/* empty css */
6
6
  const Constructor = require("../../../constructor/components/sections/Constructor.vue.cjs");
7
- const Popup = require("../../../../components/Popup/Popup.vue.cjs");
7
+ const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
11
11
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
12
- const Field = require("../../../../components/Field/Field.vue.cjs");
12
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
13
13
  const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
14
- const Button = require("../../../../components/Button/Button.vue.cjs");
14
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
15
15
  const vueRouter = require("vue-router");
16
16
  const blogposts = require("../../store/blogposts.cjs");
17
17
  const auth = require("../../../auth/views/store/auth.cjs");
@@ -2,14 +2,14 @@ import { ref, onMounted, computed, openBlock, createElementBlock, createElementV
2
2
  import "isomorphic-dompurify";
3
3
  /* empty css */
4
4
  import _sfc_main$1 from "../../../constructor/components/sections/Constructor.vue.js";
5
- import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
5
+ import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import _sfc_main$3 from "../../../../components/FieldTags/BlockTags.vue.js";
9
9
  import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
10
- import Field from "../../../../components/Field/Field.vue.js";
10
+ import Field from "../../../../components/Field/Field.vue2.js";
11
11
  import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue.js";
12
- import _sfc_main$5 from "../../../../components/Button/Button.vue.js";
12
+ import _sfc_main$5 from "../../../../components/Button/Button.vue2.js";
13
13
  import { useRoute, useRouter } from "vue-router";
14
14
  import { read, clean, state as state$1, update, create, remove } from "../../store/blogposts.js";
15
15
  import { state } from "../../../auth/views/store/auth.js";