@ozdao/prometheus-framework 0.1.80 → 0.1.82

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Button/Button.vue.js +224 -2
  3. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -224
  5. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  7. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  9. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
  11. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
  13. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  15. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  17. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
  19. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  20. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
  21. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  23. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +16 -18
  25. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +27 -29
  27. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  29. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +31 -33
  31. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +29 -29
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +32 -34
  35. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -0
  36. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +20 -0
  37. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -0
  38. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +26 -0
  39. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -0
  40. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +30 -0
  41. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +1 -1
  43. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -0
  44. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +32 -0
  45. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/auth/store/auth.js +71 -62
  47. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  55. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  57. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  59. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  65. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  71. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +3 -3
  73. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  75. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  85. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  89. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  95. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  99. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +1 -1
  103. package/dist/style.css +1 -1
  104. package/package.json +1 -1
  105. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  106. package/src/modules/auth/components/pages/EnterPassword.vue +3 -4
  107. package/src/modules/auth/components/pages/ResetPassword.vue +4 -5
  108. package/src/modules/auth/components/pages/SignIn.vue +3 -3
  109. package/src/modules/auth/components/pages/SignUp.vue +4 -5
  110. package/src/modules/auth/localization/EnterCode.json +13 -11
  111. package/src/modules/auth/localization/EnterPassword.json +19 -17
  112. package/src/modules/auth/localization/ResetPassword.json +23 -21
  113. package/src/modules/auth/localization/SignIn.json +1 -1
  114. package/src/modules/auth/localization/SignUp.json +25 -23
  115. package/src/modules/auth/store/auth.js +11 -7
@@ -1,24 +1,26 @@
1
1
  {
2
- "en": {
3
- "forgotPasswordTitle": "Forgot Password?",
4
- "instructions": "To reset your password, specify the phone or email used during registration.",
5
- "smsInfo": "We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.",
6
- "emailInfo": "We will send you an email with a confirmation code to reset your password, which you will need to enter in the next step.",
7
- "phone": "Phone",
8
- "email": "Email",
9
- "phonePlaceholder": "Enter your phone",
10
- "emailPlaceholder": "Enter your email",
11
- "sendCode": "Send code"
12
- },
13
- "ru": {
14
- "forgotPasswordTitle": "Забыли пароль?",
15
- "instructions": "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
16
- "smsInfo": "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
17
- "emailInfo": "Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
18
- "phone": "Телефон",
19
- "email": "Email",
20
- "phonePlaceholder": "Введите ваш телефон",
21
- "emailPlaceholder": "Введите ваш email",
22
- "sendCode": "Отправить код"
2
+ "messages": {
3
+ "en": {
4
+ "forgotPasswordTitle": "Forgot Password?",
5
+ "instructions": "To reset your password, specify the phone or email used during registration.",
6
+ "smsInfo": "We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.",
7
+ "emailInfo": "We will send you an email with a confirmation code to reset your password, which you will need to enter in the next step.",
8
+ "phone": "Phone",
9
+ "email": "Email",
10
+ "phonePlaceholder": "Enter your phone",
11
+ "emailPlaceholder": "Enter your email",
12
+ "sendCode": "Send code"
13
+ },
14
+ "ru": {
15
+ "forgotPasswordTitle": "Забыли пароль?",
16
+ "instructions": "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
17
+ "smsInfo": "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
18
+ "emailInfo": "Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
19
+ "phone": "Телефон",
20
+ "email": "Email",
21
+ "phonePlaceholder": "Введите ваш телефон",
22
+ "emailPlaceholder": "Введите ваш email",
23
+ "sendCode": "Отправить код"
24
+ }
23
25
  }
24
26
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "messages": {
3
3
  "en": {
4
- "title": "Welcome to Weeder",
4
+ "title": "Welcome to The Commune",
5
5
  "subtitle": "Sign In to Continue",
6
6
  "signup": "Don't have an account?",
7
7
  "phone": "Phone",
@@ -1,26 +1,28 @@
1
1
  {
2
- "en": {
3
- "title": "Sign Up to The Commune",
4
- "description": "Choose a convenient way to register via phone or email:",
5
- "phone": "Phone",
6
- "email": "Email",
7
- "phonePlaceholder": "Enter your phone",
8
- "emailPlaceholder": "Enter your email",
9
- "emailNotice": "We will send you an email with a confirmation code that you will need to enter in the next step.",
10
- "smsNotice": "We will send you an SMS with a confirmation code that you will need to enter in the next step.",
11
- "sendCode": "Send Code",
12
- "haveAccount": "Already have an account?"
13
- },
14
- "ru": {
15
- "title": "Новая учетная запись",
16
- "description": "Выберите удобный способ регистрации через телефон или email:",
17
- "phone": "Телефон",
18
- "email": "Email",
19
- "phonePlaceholder": "Введите ваш телефон",
20
- "emailPlaceholder": "Введите ваш email",
21
- "emailNotice": "Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
22
- "smsNotice": "Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
23
- "sendCode": "Отправить код",
24
- "haveAccount": "У вас уже есть аккаунт?"
2
+ "messages": {
3
+ "en": {
4
+ "title": "Sign Up to The Commune",
5
+ "description": "Choose a convenient way to register via phone or email:",
6
+ "phone": "Phone",
7
+ "email": "Email",
8
+ "phonePlaceholder": "Enter your phone",
9
+ "emailPlaceholder": "Enter your email",
10
+ "emailNotice": "We will send you an email with a confirmation code that you will need to enter in the next step.",
11
+ "smsNotice": "We will send you an SMS with a confirmation code that you will need to enter in the next step.",
12
+ "sendCode": "Send Code",
13
+ "haveAccount": "Already have an account?"
14
+ },
15
+ "ru": {
16
+ "title": "Новая учетная запись",
17
+ "description": "Выберите удобный способ регистрации через телефон или email:",
18
+ "phone": "Телефон",
19
+ "email": "Email",
20
+ "phonePlaceholder": "Введите ваш телефон",
21
+ "emailPlaceholder": "Введите ваш email",
22
+ "emailNotice": "Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
23
+ "smsNotice": "Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
24
+ "sendCode": "Отправить код",
25
+ "haveAccount": "У вас уже есть аккаунт?"
26
+ }
25
27
  }
26
28
  }
@@ -214,13 +214,17 @@
214
214
 
215
215
  function getCookie(name) {
216
216
  if (process.env.MOBILE_APP) {
217
- // return CapacitorCookies.getCookie({
218
- // url: process.env.API_URL,
219
- // key: name
220
- // })
221
- // .then(response => JSON.parse(response.value));
222
- const cookie = Cookies.get(name);
223
- return cookie ? JSON.parse(cookie) : null;
217
+ Object.fromEntries(
218
+ document.cookie.split('/; *').map((cookie) => {
219
+ const [key, ...v] = cookie.split('=');
220
+ return [
221
+ {
222
+ key,
223
+ value: v.join('='),
224
+ },
225
+ ];
226
+ }),
227
+ );
224
228
  } else {
225
229
  // Для веб-версии
226
230
  const cookie = Cookies.get(name);