@redneckz/wildless-cms-uni-blocks 0.14.1089 → 0.14.1090

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/bundle/bundle.umd.js +5 -5
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/ui-kit/UserSurveyDialog/UserSurveyDialogContent.d.ts +1 -1
  4. package/dist/ui-kit/UserSurveyDialog/FirstStep.js +2 -2
  5. package/dist/ui-kit/UserSurveyDialog/UserSurveyDialog.js +2 -2
  6. package/dist/ui-kit/UserSurveyDialog/UserSurveyDialogContent.d.ts +1 -1
  7. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
  8. package/lib/ui-kit/UserSurveyDialog/FirstStep.js +2 -2
  9. package/lib/ui-kit/UserSurveyDialog/UserSurveyDialog.js +2 -2
  10. package/lib/ui-kit/UserSurveyDialog/UserSurveyDialogContent.d.ts +1 -1
  11. package/mobile/bundle/bundle.umd.js +5 -5
  12. package/mobile/bundle/bundle.umd.min.js +1 -1
  13. package/mobile/bundle/ui-kit/UserSurveyDialog/UserSurveyDialogContent.d.ts +1 -1
  14. package/mobile/dist/ui-kit/UserSurveyDialog/FirstStep.js +2 -2
  15. package/mobile/dist/ui-kit/UserSurveyDialog/UserSurveyDialog.js +2 -2
  16. package/mobile/dist/ui-kit/UserSurveyDialog/UserSurveyDialogContent.d.ts +1 -1
  17. package/mobile/lib/ui-kit/UserSurveyDialog/FirstStep.js +2 -2
  18. package/mobile/lib/ui-kit/UserSurveyDialog/UserSurveyDialog.js +2 -2
  19. package/mobile/lib/ui-kit/UserSurveyDialog/UserSurveyDialogContent.d.ts +1 -1
  20. package/mobile/src/ui-kit/UserSurveyDialog/FirstStep.tsx +2 -2
  21. package/mobile/src/ui-kit/UserSurveyDialog/UserSurveyDialog.tsx +2 -2
  22. package/mobile/src/ui-kit/UserSurveyDialog/UserSurveyDialogContent.ts +1 -1
  23. package/package.json +1 -1
  24. package/src/ui-kit/UserSurveyDialog/FirstStep.tsx +2 -2
  25. package/src/ui-kit/UserSurveyDialog/UserSurveyDialog.tsx +2 -2
  26. package/src/ui-kit/UserSurveyDialog/UserSurveyDialogContent.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type OnCloseProps } from '../../model/OnCloseProps';
3
3
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
4
- export declare type UserSurveyType = 'NPS' | 'CSI';
4
+ export declare type UserSurveyType = 'nps' | 'csi';
5
5
  export declare type UserSurveyStoreSlice = {
6
6
  userSurvey: {
7
7
  lastShownType: UserSurveyType;
@@ -8,8 +8,8 @@ const Heading_1 = require("../../ui-kit/Heading/Heading");
8
8
  const Star_1 = require("./Star");
9
9
  const stars = Array.from('12345', () => Star_1.Star);
10
10
  const TITLE = {
11
- NPS: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
12
- CSI: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
11
+ nps: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
12
+ csi: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
13
13
  };
14
14
  exports.FirstStep = (0, uni_jsx_1.JSX)(({ currentRating, surveyType, isSending, setCurrentRating, onNextStep, onSubmit }) => {
15
15
  const [currentHover, setCurrentHover] = (0, hooks_1.useState)();
@@ -61,8 +61,8 @@ const getTimeAfter30days = () => Date.now() + 30 * 24 * 60 * 60 * 1000;
61
61
  // Если пользователь проходил опрос то показываем другой, иначе показываем случайный тип опроса
62
62
  const getUserSurveyType = (lastShownType) => {
63
63
  if (lastShownType) {
64
- return lastShownType === 'NPS' ? 'CSI' : 'NPS';
64
+ return lastShownType === 'nps' ? 'csi' : 'nps';
65
65
  }
66
- return ['NPS', 'CSI'][Date.now() % 2];
66
+ return ['nps', 'csi'][Date.now() % 2];
67
67
  };
68
68
  //# sourceMappingURL=UserSurveyDialog.js.map
@@ -1,7 +1,7 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type OnCloseProps } from '../../model/OnCloseProps';
3
3
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
4
- export declare type UserSurveyType = 'NPS' | 'CSI';
4
+ export declare type UserSurveyType = 'nps' | 'csi';
5
5
  export declare type UserSurveyStoreSlice = {
6
6
  userSurvey: {
7
7
  lastShownType: UserSurveyType;
@@ -6,8 +6,8 @@ import { Heading } from '../../ui-kit/Heading/Heading.js';
6
6
  import { Star } from './Star.js';
7
7
  const stars = Array.from('12345', () => Star);
8
8
  const TITLE = {
9
- NPS: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
10
- CSI: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
9
+ nps: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
10
+ csi: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
11
11
  };
12
12
  export const FirstStep = JSX(({ currentRating, surveyType, isSending, setCurrentRating, onNextStep, onSubmit }) => {
13
13
  const [currentHover, setCurrentHover] = useState();
@@ -59,8 +59,8 @@ const getTimeAfter30days = () => Date.now() + 30 * 24 * 60 * 60 * 1000;
59
59
  // Если пользователь проходил опрос то показываем другой, иначе показываем случайный тип опроса
60
60
  const getUserSurveyType = (lastShownType) => {
61
61
  if (lastShownType) {
62
- return lastShownType === 'NPS' ? 'CSI' : 'NPS';
62
+ return lastShownType === 'nps' ? 'csi' : 'nps';
63
63
  }
64
- return ['NPS', 'CSI'][Date.now() % 2];
64
+ return ['nps', 'csi'][Date.now() % 2];
65
65
  };
66
66
  //# sourceMappingURL=UserSurveyDialog.js.map
@@ -1,7 +1,7 @@
1
1
  import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type OnCloseProps } from '../../model/OnCloseProps';
3
3
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
4
- export declare type UserSurveyType = 'NPS' | 'CSI';
4
+ export declare type UserSurveyType = 'nps' | 'csi';
5
5
  export declare type UserSurveyStoreSlice = {
6
6
  userSurvey: {
7
7
  lastShownType: UserSurveyType;
@@ -8,8 +8,8 @@ import { type StepProps } from './UserSurveyDialogContent';
8
8
  const stars = Array.from('12345', () => Star);
9
9
 
10
10
  const TITLE = {
11
- NPS: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
12
- CSI: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
11
+ nps: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
12
+ csi: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
13
13
  };
14
14
 
15
15
  export const FirstStep = JSX<StepProps>(
@@ -98,8 +98,8 @@ const getTimeAfter30days = () => Date.now() + 30 * 24 * 60 * 60 * 1000;
98
98
  // Если пользователь проходил опрос то показываем другой, иначе показываем случайный тип опроса
99
99
  const getUserSurveyType = (lastShownType?: UserSurveyType) => {
100
100
  if (lastShownType) {
101
- return lastShownType === 'NPS' ? 'CSI' : 'NPS';
101
+ return lastShownType === 'nps' ? 'csi' : 'nps';
102
102
  }
103
103
 
104
- return ['NPS', 'CSI'][Date.now() % 2] as UserSurveyType;
104
+ return ['nps', 'csi'][Date.now() % 2] as UserSurveyType;
105
105
  };
@@ -2,7 +2,7 @@ import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type OnCloseProps } from '../../model/OnCloseProps';
3
3
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
4
4
 
5
- export type UserSurveyType = 'NPS' | 'CSI';
5
+ export type UserSurveyType = 'nps' | 'csi';
6
6
 
7
7
  export type UserSurveyStoreSlice = {
8
8
  userSurvey: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.14.1089",
3
+ "version": "0.14.1090",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -8,8 +8,8 @@ import { type StepProps } from './UserSurveyDialogContent';
8
8
  const stars = Array.from('12345', () => Star);
9
9
 
10
10
  const TITLE = {
11
- NPS: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
12
- CSI: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
11
+ nps: 'Оцените, пожалуйста, от 1 до 5,\nнасколько вероятно, что вы порекомендуете Россельхозбанк коллегам, друзьям и знакомым?',
12
+ csi: 'Оцените, пожалуйста, удовлетворённость пользования сайтом',
13
13
  };
14
14
 
15
15
  export const FirstStep = JSX<StepProps>(
@@ -98,8 +98,8 @@ const getTimeAfter30days = () => Date.now() + 30 * 24 * 60 * 60 * 1000;
98
98
  // Если пользователь проходил опрос то показываем другой, иначе показываем случайный тип опроса
99
99
  const getUserSurveyType = (lastShownType?: UserSurveyType) => {
100
100
  if (lastShownType) {
101
- return lastShownType === 'NPS' ? 'CSI' : 'NPS';
101
+ return lastShownType === 'nps' ? 'csi' : 'nps';
102
102
  }
103
103
 
104
- return ['NPS', 'CSI'][Date.now() % 2] as UserSurveyType;
104
+ return ['nps', 'csi'][Date.now() % 2] as UserSurveyType;
105
105
  };
@@ -2,7 +2,7 @@ import { type JSONRefObject } from '../../data/JSONRefObject';
2
2
  import { type OnCloseProps } from '../../model/OnCloseProps';
3
3
  import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
4
4
 
5
- export type UserSurveyType = 'NPS' | 'CSI';
5
+ export type UserSurveyType = 'nps' | 'csi';
6
6
 
7
7
  export type UserSurveyStoreSlice = {
8
8
  userSurvey: {