@cloud-ru/uikit-product-calculator 1.5.0 → 1.5.1

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.5.1 (2026-04-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **SITE-10957:** fix evo notebooks calculator ([fcc9f5d](https://github.com/cloud-ru-tech/uikit-product/commit/fcc9f5d525447d4a4fc3652dac2292142ec47a78))
12
+ * **SITE-10957:** fix some calculators ([835e665](https://github.com/cloud-ru-tech/uikit-product/commit/835e6657512fdc2a7e9bcf5002839a67ff6bb2f1))
13
+
14
+
15
+
16
+
17
+
6
18
  # 1.5.0 (2026-04-06)
7
19
 
8
20
 
package/README.md CHANGED
@@ -41,7 +41,7 @@ export function Calculator() {
41
41
  | actions* | `{ onPlatformSelect?(platform: string): void; onProductSelect?(productId: string): void; onProductDelete?(productId: string): void; onStartClick?(): void; onCatalogOpen?(): void; onConnectClick?(id: string, value: FormValues): void; onShareClick?(state: State): Promise<...>; onDownloadFileClick?(state: State): Promis...` | - | Колбеки на действия внутри калькулятора |
42
42
  | fetcherFn* | `FetcherFn` | - | Функция для запроса цен по продукту |
43
43
  | config* | `CatalogConfig` | - | Конфигурация платформ/продуктов/каталога |
44
- | layoutType | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | desktop | Тип устройства |
44
+ | layoutType | `LayoutType` | desktop | Тип устройства |
45
45
  | calculatorType | enum CalculatorType: `"test"`, `"main"`, `"partners"`, `"product"`, `"additional"` | main | Тип калькулятора |
46
46
  | onAnalyticsClick | `(clickContent: string, uniqueId: string) => void` | - | Колбэк вызова при изменении любого контрола для аналитики |
47
47
  | bgImage | `string` | - | Изображение на заднем фоне в состоянии "пустой" корзины |
@@ -113,7 +113,7 @@ data-test-id
113
113
  ### Props
114
114
  | name | type | default value | description |
115
115
  |------|------|---------------|-------------|
116
- | __@iterator@1100* | `() => StringIterator<string>` | - | Iterator |
116
+ | __@iterator@1094* | `() => StringIterator<string>` | - | Iterator |
117
117
  | toWellFormed* | `() => string` | - | Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). |
118
118
  | isWellFormed* | `() => boolean` | - | Returns true if all leading surrogates and trailing surrogates appear paired and in order. |
119
119
  | at* | `(index: number) => string` | - | Returns a new String consisting of the single UTF-16 code unit located at the specified index. @param index The zero-based index of the desired code unit. A negative index will count back from the last item. |
@@ -75,7 +75,7 @@ exports.EVOLUTION_ARENADATA_DB_FORM_CONFIG = {
75
75
  postfix: 'час',
76
76
  },
77
77
  decoratorProps: {
78
- label: 'Время работы',
78
+ label: 'Время работы за период',
79
79
  },
80
80
  watchedControls: { period: 'workingHoursSpecification', workingHours: 'workingHours' },
81
81
  relateFn: ({ period, workingHours }) => {
@@ -100,7 +100,7 @@ exports.EVOLUTION_ARENADATA_DB_FORM_CONFIG = {
100
100
  type: components_1.CONTROL.SelectSingle,
101
101
  accessorKey: 'workingHoursSpecification',
102
102
  defaultValue: constants_1.WorkingHoursSpecification.Hour,
103
- items: constants_1.WORKING_HOURS_ITEMS,
103
+ items: constants_1.WORKING_HOURS_PER_PERIOD_ITEMS,
104
104
  uiProps: {
105
105
  showClearButton: false,
106
106
  searchable: false,
@@ -108,10 +108,6 @@ exports.EVOLUTION_ARENADATA_DB_FORM_CONFIG = {
108
108
  decoratorProps: {
109
109
  label: 'Период',
110
110
  },
111
- onChangePeriod: (period, setValue) => {
112
- setValue([['workingHoursSpecification', period]]);
113
- },
114
- canChangeWholePricePeriod: true,
115
111
  },
116
112
  licenseRent: {
117
113
  type: components_1.CONTROL.ToggleCards,
@@ -39,14 +39,14 @@ exports.EVOLUTION_CONTAINER_APPS_CONFIG = {
39
39
  postfix: 'час',
40
40
  },
41
41
  decoratorProps: {
42
- label: 'Время работы',
42
+ label: 'Время работы за период',
43
43
  },
44
44
  watchedControls: { period: 'workingHoursSpecification', workingHours: 'workingHours' },
45
45
  relateFn: ({ period, workingHours }) => {
46
46
  const maxWorkingHours = (0, utils_1.getMaxWorkingHoursAmount)(period, {
47
47
  hour: 1,
48
48
  day: 24,
49
- month: 744,
49
+ month: 720,
50
50
  });
51
51
  const isStepperDisabled = maxWorkingHours === 1;
52
52
  return {
@@ -64,7 +64,7 @@ exports.EVOLUTION_CONTAINER_APPS_CONFIG = {
64
64
  type: components_1.CONTROL.SelectSingle,
65
65
  accessorKey: 'workingHoursSpecification',
66
66
  defaultValue: constants_1.WorkingHoursSpecification.Hour,
67
- items: constants_1.WORKING_HOURS_ITEMS,
67
+ items: constants_1.WORKING_HOURS_PER_PERIOD_ITEMS,
68
68
  uiProps: {
69
69
  showClearButton: false,
70
70
  searchable: false,
@@ -72,10 +72,6 @@ exports.EVOLUTION_CONTAINER_APPS_CONFIG = {
72
72
  decoratorProps: {
73
73
  label: 'Период',
74
74
  },
75
- onChangePeriod: (period, setValue) => {
76
- setValue([['workingHoursSpecification', period]]);
77
- },
78
- canChangeWholePricePeriod: true,
79
75
  },
80
76
  },
81
77
  };
@@ -418,7 +418,7 @@ exports.EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
418
418
  postfix: 'час',
419
419
  },
420
420
  decoratorProps: {
421
- label: 'Время работы',
421
+ label: 'Время работы за период',
422
422
  },
423
423
  watchedControls: {
424
424
  period: 'mlInferenceWorkingHoursSpecification',
@@ -428,7 +428,7 @@ exports.EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
428
428
  const maxWorkingHours = (0, utils_1.getMaxWorkingHoursAmount)(period, {
429
429
  hour: 1,
430
430
  day: 24,
431
- month: 744,
431
+ month: 720,
432
432
  });
433
433
  const isStepperDisabled = maxWorkingHours === 1;
434
434
  return {
@@ -446,7 +446,7 @@ exports.EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
446
446
  type: components_1.CONTROL.SelectSingle,
447
447
  accessorKey: 'mlInferenceWorkingHoursSpecification',
448
448
  defaultValue: constants_1.WorkingHoursSpecification.Hour,
449
- items: constants_1.WORKING_HOURS_ITEMS,
449
+ items: constants_1.WORKING_HOURS_PER_PERIOD_ITEMS,
450
450
  uiProps: {
451
451
  showClearButton: false,
452
452
  searchable: false,
@@ -454,10 +454,6 @@ exports.EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
454
454
  decoratorProps: {
455
455
  label: 'Период',
456
456
  },
457
- onChangePeriod: (period, setValue) => {
458
- setValue([['mlInferenceWorkingHoursSpecification', period]]);
459
- },
460
- canChangeWholePricePeriod: true,
461
457
  },
462
458
  },
463
459
  };
@@ -32,3 +32,7 @@ export declare const WORKING_HOURS_ITEMS: {
32
32
  value: WorkingHoursSpecification;
33
33
  label: string;
34
34
  }[];
35
+ export declare const WORKING_HOURS_PER_PERIOD_ITEMS: {
36
+ value: WorkingHoursSpecification;
37
+ label: string;
38
+ }[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WORKING_HOURS_ITEMS = exports.WorkingHoursSpecification = exports.CALCULATOR_DATA_TEST_ID = exports.DEFAULT_CATEGORY = exports.CATEGORY = exports.DEFAULT_PRICE = exports.PLATFORM = void 0;
3
+ exports.WORKING_HOURS_PER_PERIOD_ITEMS = exports.WORKING_HOURS_ITEMS = exports.WorkingHoursSpecification = exports.CALCULATOR_DATA_TEST_ID = exports.DEFAULT_CATEGORY = exports.CATEGORY = exports.DEFAULT_PRICE = exports.PLATFORM = void 0;
4
4
  exports.PLATFORM = {
5
5
  Advanced: 'advanced',
6
6
  MlSpace: 'mlspace',
@@ -52,3 +52,17 @@ exports.WORKING_HOURS_ITEMS = [
52
52
  label: 'Час',
53
53
  },
54
54
  ];
55
+ exports.WORKING_HOURS_PER_PERIOD_ITEMS = [
56
+ {
57
+ value: WorkingHoursSpecification.Month,
58
+ label: 'Каждый месяц',
59
+ },
60
+ {
61
+ value: WorkingHoursSpecification.Day,
62
+ label: 'Каждый день',
63
+ },
64
+ {
65
+ value: WorkingHoursSpecification.Hour,
66
+ label: 'Каждый час',
67
+ },
68
+ ];
@@ -1,5 +1,5 @@
1
1
  import { CONTROL } from '../../../../components';
2
- import { WORKING_HOURS_ITEMS, WorkingHoursSpecification } from '../../../../constants';
2
+ import { WORKING_HOURS_PER_PERIOD_ITEMS, WorkingHoursSpecification } from '../../../../constants';
3
3
  import { getMaxWorkingHoursAmount, getNumeralWord } from '../../../utils';
4
4
  const StorageSizeItem = {
5
5
  Size1TB: '1',
@@ -72,7 +72,7 @@ export const EVOLUTION_ARENADATA_DB_FORM_CONFIG = {
72
72
  postfix: 'час',
73
73
  },
74
74
  decoratorProps: {
75
- label: 'Время работы',
75
+ label: 'Время работы за период',
76
76
  },
77
77
  watchedControls: { period: 'workingHoursSpecification', workingHours: 'workingHours' },
78
78
  relateFn: ({ period, workingHours }) => {
@@ -97,7 +97,7 @@ export const EVOLUTION_ARENADATA_DB_FORM_CONFIG = {
97
97
  type: CONTROL.SelectSingle,
98
98
  accessorKey: 'workingHoursSpecification',
99
99
  defaultValue: WorkingHoursSpecification.Hour,
100
- items: WORKING_HOURS_ITEMS,
100
+ items: WORKING_HOURS_PER_PERIOD_ITEMS,
101
101
  uiProps: {
102
102
  showClearButton: false,
103
103
  searchable: false,
@@ -105,10 +105,6 @@ export const EVOLUTION_ARENADATA_DB_FORM_CONFIG = {
105
105
  decoratorProps: {
106
106
  label: 'Период',
107
107
  },
108
- onChangePeriod: (period, setValue) => {
109
- setValue([['workingHoursSpecification', period]]);
110
- },
111
- canChangeWholePricePeriod: true,
112
108
  },
113
109
  licenseRent: {
114
110
  type: CONTROL.ToggleCards,
@@ -1,5 +1,5 @@
1
1
  import { CONTROL } from '../../../../components';
2
- import { WORKING_HOURS_ITEMS, WorkingHoursSpecification } from '../../../../constants';
2
+ import { WORKING_HOURS_PER_PERIOD_ITEMS, WorkingHoursSpecification } from '../../../../constants';
3
3
  import { generateInstanceConfigItems, getMaxWorkingHoursAmount, getNumeralWord } from '../../../utils';
4
4
  const configItems = generateInstanceConfigItems([
5
5
  [0.1, 256],
@@ -36,14 +36,14 @@ export const EVOLUTION_CONTAINER_APPS_CONFIG = {
36
36
  postfix: 'час',
37
37
  },
38
38
  decoratorProps: {
39
- label: 'Время работы',
39
+ label: 'Время работы за период',
40
40
  },
41
41
  watchedControls: { period: 'workingHoursSpecification', workingHours: 'workingHours' },
42
42
  relateFn: ({ period, workingHours }) => {
43
43
  const maxWorkingHours = getMaxWorkingHoursAmount(period, {
44
44
  hour: 1,
45
45
  day: 24,
46
- month: 744,
46
+ month: 720,
47
47
  });
48
48
  const isStepperDisabled = maxWorkingHours === 1;
49
49
  return {
@@ -61,7 +61,7 @@ export const EVOLUTION_CONTAINER_APPS_CONFIG = {
61
61
  type: CONTROL.SelectSingle,
62
62
  accessorKey: 'workingHoursSpecification',
63
63
  defaultValue: WorkingHoursSpecification.Hour,
64
- items: WORKING_HOURS_ITEMS,
64
+ items: WORKING_HOURS_PER_PERIOD_ITEMS,
65
65
  uiProps: {
66
66
  showClearButton: false,
67
67
  searchable: false,
@@ -69,10 +69,6 @@ export const EVOLUTION_CONTAINER_APPS_CONFIG = {
69
69
  decoratorProps: {
70
70
  label: 'Период',
71
71
  },
72
- onChangePeriod: (period, setValue) => {
73
- setValue([['workingHoursSpecification', period]]);
74
- },
75
- canChangeWholePricePeriod: true,
76
72
  },
77
73
  },
78
74
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { CONTROL } from '../../../../components';
3
- import { WORKING_HOURS_ITEMS, WorkingHoursSpecification } from '../../../../constants';
3
+ import { WORKING_HOURS_PER_PERIOD_ITEMS, WorkingHoursSpecification } from '../../../../constants';
4
4
  import { getMaxWorkingHoursAmount, getNumeralWord } from '../../../utils';
5
5
  const LaunchMode = {
6
6
  ModelSharedGPU: 'model-shared-gpu',
@@ -415,7 +415,7 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
415
415
  postfix: 'час',
416
416
  },
417
417
  decoratorProps: {
418
- label: 'Время работы',
418
+ label: 'Время работы за период',
419
419
  },
420
420
  watchedControls: {
421
421
  period: 'mlInferenceWorkingHoursSpecification',
@@ -425,7 +425,7 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
425
425
  const maxWorkingHours = getMaxWorkingHoursAmount(period, {
426
426
  hour: 1,
427
427
  day: 24,
428
- month: 744,
428
+ month: 720,
429
429
  });
430
430
  const isStepperDisabled = maxWorkingHours === 1;
431
431
  return {
@@ -443,7 +443,7 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
443
443
  type: CONTROL.SelectSingle,
444
444
  accessorKey: 'mlInferenceWorkingHoursSpecification',
445
445
  defaultValue: WorkingHoursSpecification.Hour,
446
- items: WORKING_HOURS_ITEMS,
446
+ items: WORKING_HOURS_PER_PERIOD_ITEMS,
447
447
  uiProps: {
448
448
  showClearButton: false,
449
449
  searchable: false,
@@ -451,10 +451,6 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG = {
451
451
  decoratorProps: {
452
452
  label: 'Период',
453
453
  },
454
- onChangePeriod: (period, setValue) => {
455
- setValue([['mlInferenceWorkingHoursSpecification', period]]);
456
- },
457
- canChangeWholePricePeriod: true,
458
454
  },
459
455
  },
460
456
  };
@@ -32,3 +32,7 @@ export declare const WORKING_HOURS_ITEMS: {
32
32
  value: WorkingHoursSpecification;
33
33
  label: string;
34
34
  }[];
35
+ export declare const WORKING_HOURS_PER_PERIOD_ITEMS: {
36
+ value: WorkingHoursSpecification;
37
+ label: string;
38
+ }[];
@@ -49,3 +49,17 @@ export const WORKING_HOURS_ITEMS = [
49
49
  label: 'Час',
50
50
  },
51
51
  ];
52
+ export const WORKING_HOURS_PER_PERIOD_ITEMS = [
53
+ {
54
+ value: WorkingHoursSpecification.Month,
55
+ label: 'Каждый месяц',
56
+ },
57
+ {
58
+ value: WorkingHoursSpecification.Day,
59
+ label: 'Каждый день',
60
+ },
61
+ {
62
+ value: WorkingHoursSpecification.Hour,
63
+ label: 'Каждый час',
64
+ },
65
+ ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloud-ru/uikit-product-calculator",
3
3
  "title": "Calculator",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "sideEffects": [
6
6
  "*.css",
7
7
  "*.woff",
@@ -71,5 +71,5 @@
71
71
  "devDependencies": {
72
72
  "@types/lodash": "4.17.13"
73
73
  },
74
- "gitHead": "ca40a777977f3b0e82e768c4fa679548f09ec073"
74
+ "gitHead": "fe0d003b74c87c3a71685afc339c05d0d5069077"
75
75
  }
@@ -1,5 +1,5 @@
1
1
  import { CONTROL, FormConfig } from '../../../../components';
2
- import { WORKING_HOURS_ITEMS, WorkingHoursSpecification } from '../../../../constants';
2
+ import { WORKING_HOURS_PER_PERIOD_ITEMS, WorkingHoursSpecification } from '../../../../constants';
3
3
  import { getMaxWorkingHoursAmount, getNumeralWord } from '../../../utils';
4
4
 
5
5
  const StorageSizeItem = {
@@ -77,7 +77,7 @@ export const EVOLUTION_ARENADATA_DB_FORM_CONFIG: FormConfig = {
77
77
  postfix: 'час',
78
78
  },
79
79
  decoratorProps: {
80
- label: 'Время работы',
80
+ label: 'Время работы за период',
81
81
  },
82
82
  watchedControls: { period: 'workingHoursSpecification', workingHours: 'workingHours' },
83
83
  relateFn: ({ period, workingHours }) => {
@@ -103,7 +103,7 @@ export const EVOLUTION_ARENADATA_DB_FORM_CONFIG: FormConfig = {
103
103
  type: CONTROL.SelectSingle,
104
104
  accessorKey: 'workingHoursSpecification',
105
105
  defaultValue: WorkingHoursSpecification.Hour,
106
- items: WORKING_HOURS_ITEMS,
106
+ items: WORKING_HOURS_PER_PERIOD_ITEMS,
107
107
  uiProps: {
108
108
  showClearButton: false,
109
109
  searchable: false,
@@ -111,10 +111,6 @@ export const EVOLUTION_ARENADATA_DB_FORM_CONFIG: FormConfig = {
111
111
  decoratorProps: {
112
112
  label: 'Период',
113
113
  },
114
- onChangePeriod: (period, setValue) => {
115
- setValue([['workingHoursSpecification', period]]);
116
- },
117
- canChangeWholePricePeriod: true,
118
114
  },
119
115
  licenseRent: {
120
116
  type: CONTROL.ToggleCards,
@@ -1,5 +1,5 @@
1
1
  import { CONTROL, FormConfig } from '../../../../components';
2
- import { WORKING_HOURS_ITEMS, WorkingHoursSpecification } from '../../../../constants';
2
+ import { WORKING_HOURS_PER_PERIOD_ITEMS, WorkingHoursSpecification } from '../../../../constants';
3
3
  import { generateInstanceConfigItems, getMaxWorkingHoursAmount, getNumeralWord } from '../../../utils';
4
4
 
5
5
  const configItems = generateInstanceConfigItems(
@@ -41,14 +41,14 @@ export const EVOLUTION_CONTAINER_APPS_CONFIG: FormConfig = {
41
41
  postfix: 'час',
42
42
  },
43
43
  decoratorProps: {
44
- label: 'Время работы',
44
+ label: 'Время работы за период',
45
45
  },
46
46
  watchedControls: { period: 'workingHoursSpecification', workingHours: 'workingHours' },
47
47
  relateFn: ({ period, workingHours }) => {
48
48
  const maxWorkingHours = getMaxWorkingHoursAmount(period, {
49
49
  hour: 1,
50
50
  day: 24,
51
- month: 744,
51
+ month: 720,
52
52
  });
53
53
  const isStepperDisabled = maxWorkingHours === 1;
54
54
 
@@ -67,7 +67,7 @@ export const EVOLUTION_CONTAINER_APPS_CONFIG: FormConfig = {
67
67
  type: CONTROL.SelectSingle,
68
68
  accessorKey: 'workingHoursSpecification',
69
69
  defaultValue: WorkingHoursSpecification.Hour,
70
- items: WORKING_HOURS_ITEMS,
70
+ items: WORKING_HOURS_PER_PERIOD_ITEMS,
71
71
  uiProps: {
72
72
  showClearButton: false,
73
73
  searchable: false,
@@ -75,10 +75,6 @@ export const EVOLUTION_CONTAINER_APPS_CONFIG: FormConfig = {
75
75
  decoratorProps: {
76
76
  label: 'Период',
77
77
  },
78
- onChangePeriod: (period, setValue) => {
79
- setValue([['workingHoursSpecification', period]]);
80
- },
81
- canChangeWholePricePeriod: true,
82
78
  },
83
79
  },
84
80
  };
@@ -1,5 +1,5 @@
1
1
  import { CONTROL, FormConfig } from '../../../../components';
2
- import { WORKING_HOURS_ITEMS, WorkingHoursSpecification } from '../../../../constants';
2
+ import { WORKING_HOURS_PER_PERIOD_ITEMS, WorkingHoursSpecification } from '../../../../constants';
3
3
  import { getMaxWorkingHoursAmount, getNumeralWord } from '../../../utils';
4
4
 
5
5
  const LaunchMode = {
@@ -657,7 +657,7 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG: FormConfig = {
657
657
  postfix: 'час',
658
658
  },
659
659
  decoratorProps: {
660
- label: 'Время работы',
660
+ label: 'Время работы за период',
661
661
  },
662
662
  watchedControls: {
663
663
  period: 'mlInferenceWorkingHoursSpecification',
@@ -667,7 +667,7 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG: FormConfig = {
667
667
  const maxWorkingHours = getMaxWorkingHoursAmount(period, {
668
668
  hour: 1,
669
669
  day: 24,
670
- month: 744,
670
+ month: 720,
671
671
  });
672
672
  const isStepperDisabled = maxWorkingHours === 1;
673
673
 
@@ -686,7 +686,7 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG: FormConfig = {
686
686
  type: CONTROL.SelectSingle,
687
687
  accessorKey: 'mlInferenceWorkingHoursSpecification',
688
688
  defaultValue: WorkingHoursSpecification.Hour,
689
- items: WORKING_HOURS_ITEMS,
689
+ items: WORKING_HOURS_PER_PERIOD_ITEMS,
690
690
  uiProps: {
691
691
  showClearButton: false,
692
692
  searchable: false,
@@ -694,10 +694,6 @@ export const EVOLUTION_ML_INFERENCE_FORM_CONFIG: FormConfig = {
694
694
  decoratorProps: {
695
695
  label: 'Период',
696
696
  },
697
- onChangePeriod: (period, setValue) => {
698
- setValue([['mlInferenceWorkingHoursSpecification', period]]);
699
- },
700
- canChangeWholePricePeriod: true,
701
697
  },
702
698
  },
703
699
  };
package/src/constants.ts CHANGED
@@ -56,3 +56,18 @@ export const WORKING_HOURS_ITEMS = [
56
56
  label: 'Час',
57
57
  },
58
58
  ];
59
+
60
+ export const WORKING_HOURS_PER_PERIOD_ITEMS = [
61
+ {
62
+ value: WorkingHoursSpecification.Month,
63
+ label: 'Каждый месяц',
64
+ },
65
+ {
66
+ value: WorkingHoursSpecification.Day,
67
+ label: 'Каждый день',
68
+ },
69
+ {
70
+ value: WorkingHoursSpecification.Hour,
71
+ label: 'Каждый час',
72
+ },
73
+ ];