@ozdao/prometheus-framework 0.2.134 → 0.2.137

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  5. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +19 -20
  7. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  9. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
  10. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +44 -0
  11. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
  13. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  17. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  29. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  33. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  45. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +3 -3
  49. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  51. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  53. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  55. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  65. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +73 -43
  71. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  77. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  79. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  89. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  93. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  97. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -0
  102. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +64 -0
  103. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -0
  104. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +24 -0
  105. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -0
  106. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +181 -0
  107. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -0
  108. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +478 -0
  109. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -0
  110. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +121 -0
  111. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -0
  112. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +203 -0
  113. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -0
  114. package/dist/prometheus-framework/src/modules/spots/router/spots.js +92 -0
  115. package/dist/prometheus-framework/src/modules/spots/spots.client.cjs +1 -0
  116. package/dist/prometheus-framework/src/modules/spots/spots.client.js +37 -0
  117. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
  119. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  121. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  127. package/dist/spots.server.js +169 -0
  128. package/dist/spots.server.mjs +170 -0
  129. package/dist/style.css +1 -1
  130. package/package.json +9 -9
  131. package/src/modules/globals/components/layouts/Client.vue +10 -8
  132. package/src/modules/globals/components/sections/Walkthrough.vue +4 -4
  133. package/src/modules/globals/globals.client.js +5 -5
  134. package/src/modules/organizations/components/pages/OrganizationEdit.vue +29 -1
  135. package/src/modules/spots/components/layouts/Spots.vue +1 -1
  136. package/src/modules/spots/components/pages/SpotEdit.vue +8 -53
  137. package/src/modules/spots/models/spot.model.js +7 -7
  138. package/src/modules/spots/router/spots.js +65 -61
  139. package/src/modules/spots/spots.client.js +43 -0
  140. package/src/modules/spots/spots.server.js +31 -0
  141. package/src/modules/spots/components/sections/PlaceModify.vue +0 -113
  142. package/src/modules/spots/components/sections/Places.vue +0 -119
@@ -1,119 +0,0 @@
1
- <template>
2
- <div>
3
-
4
- <div class="br-grey-transp-25 radius-small mn-b-small">
5
- <Select
6
- :options="[
7
- {name: 'Кафе', value: 'cafe'},
8
- {name: 'Бар', value: 'bar'},
9
- {name: 'Ресторан', value: 'restaraunt'},
10
- {name: 'Пиццерия', value: 'pizzeria'},
11
- {name: 'Ночной клуб', value: 'night-club'},
12
- {name: 'Шаверма', value: 'shaverma'},
13
- {name: 'Кофейня', value: 'coffee'}
14
- ]"
15
- :prop="placeForm"
16
- content="type"
17
- label="Тип"
18
- placeholder="Тип заведения"
19
- size="small"
20
- />
21
-
22
- <Field
23
- v-model:field="placeForm.name"
24
- label="Название"
25
- :validation="placeValidation"
26
- placeholder="Введите название места"
27
-
28
- />
29
-
30
- <Field
31
- v-model:field="placeForm.address"
32
- label="Адрес"
33
- :validation="placeValidation"
34
- placeholder="Введите адрес места"
35
-
36
- />
37
-
38
- <Field
39
- v-model:field="placeForm.phone"
40
- label="Телефон"
41
- :validation="placeValidation"
42
- placeholder="Введите телефон места"
43
-
44
- />
45
- </div>
46
-
47
- <button @click="submitForm" class="w-100 button bg-second t-white">
48
- {{ props.place !== null ? "Редактировать заведение" : "Добавить заведение" }}
49
- </button>
50
- </div>
51
- </template>
52
-
53
- <script setup>
54
- import { ref, watch } from "vue";
55
-
56
- import * as inputsValidation from '@pf/src/modules/middlewares/client/inputs.validation'
57
- import Field from "@pf/src/components/Field/Field.vue";
58
- import Select from "@pf/src/components/Select/Select.vue";
59
-
60
- const props = defineProps({
61
- isPopupOpen: Boolean,
62
- place: Number,
63
- places: Array,
64
- });
65
-
66
- const emits = defineEmits(['callback'])
67
-
68
- const placeForm = ref({
69
- logo: "",
70
- name: "",
71
- address: "",
72
- });
73
-
74
- if (props.place !== null) {
75
- placeForm.value = props.places[props.place]
76
- }
77
-
78
-
79
- const placeValidation = ref(null)
80
-
81
- async function submitForm() {
82
- try {
83
- await inputsValidation.validateInputs(
84
- placeValidation,
85
- inputsValidation.validateLength,
86
- placeForm.value.name,
87
- 'Некорректное название'
88
- )
89
- } catch (error) {
90
- throw new Error
91
- }
92
-
93
- if (props.place !== null) {
94
- props.places[props.place] = placeForm.value
95
- emits("callback");
96
- } else {
97
- props.places.push(placeForm.value);
98
- emits("callback");
99
- }
100
- }
101
- </script>
102
-
103
- <style scoped>
104
- .form-group {
105
- margin-bottom: 1rem;
106
- }
107
-
108
- label {
109
- display: block;
110
- margin-bottom: 0.5rem;
111
- }
112
-
113
- input {
114
- width: 100%;
115
- padding: 0.5rem;
116
- border: 1px solid #ccc;
117
- border-radius: 5px;
118
- }
119
- </style>