@cloud-ru/uikit-product-calculator 1.4.0 → 1.4.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,17 @@
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.4.1 (2026-03-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **SITE-10609:** fix calculator ([c5be13f](https://github.com/cloud-ru-tech/uikit-product/commit/c5be13f015562ff4b3525c9f66286b7c0744888f))
12
+
13
+
14
+
15
+
16
+
6
17
  # 1.4.0 (2026-03-23)
7
18
 
8
19
 
package/README.md CHANGED
@@ -113,7 +113,7 @@ data-test-id
113
113
  ### Props
114
114
  | name | type | default value | description |
115
115
  |------|------|---------------|-------------|
116
- | __@iterator@1082* | `() => StringIterator<string>` | - | Iterator |
116
+ | __@iterator@1089* | `() => 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. |
@@ -412,7 +412,7 @@ exports.EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
412
412
  type: components_1.CONTROL.Array,
413
413
  max: 10,
414
414
  accessorKey: 'evs.backupCopies',
415
- defaultValue: [{ diskSpace: 10, specification: 'SSD' }],
415
+ defaultValue: [{ diskSpace: 1, specification: 'SSD' }],
416
416
  addText: 'Добавить резервную копию',
417
417
  ui: ['backup'],
418
418
  controls: {
@@ -424,9 +424,9 @@ exports.EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
424
424
  type: components_1.CONTROL.Stepper,
425
425
  decoratorProps: { label: 'Резервная копия' },
426
426
  accessorKey: 'diskSpace',
427
- defaultValue: 10,
427
+ defaultValue: 1,
428
428
  uiProps: {
429
- min: 10,
429
+ min: 1,
430
430
  max: 1024,
431
431
  postfix: 'ГБ',
432
432
  },
@@ -459,7 +459,7 @@ exports.EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
459
459
  type: components_1.CONTROL.Array,
460
460
  max: 2,
461
461
  accessorKey: 'evs.userImages',
462
- defaultValue: [{ diskSpace: 10, specification: 'SSD' }],
462
+ defaultValue: [{ diskSpace: 1, specification: 'SSD' }],
463
463
  addText: 'Добавить пользовательский образ',
464
464
  ui: ['image'],
465
465
  controls: {
@@ -471,10 +471,10 @@ exports.EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
471
471
  type: components_1.CONTROL.Stepper,
472
472
  decoratorProps: { label: 'Пользовательский образ' },
473
473
  accessorKey: 'diskSpace',
474
- defaultValue: 10,
474
+ defaultValue: 1,
475
475
  uiProps: {
476
- min: 10,
477
- max: 150,
476
+ min: 1,
477
+ max: 300,
478
478
  postfix: 'ГБ',
479
479
  },
480
480
  },
@@ -409,7 +409,7 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
409
409
  type: CONTROL.Array,
410
410
  max: 10,
411
411
  accessorKey: 'evs.backupCopies',
412
- defaultValue: [{ diskSpace: 10, specification: 'SSD' }],
412
+ defaultValue: [{ diskSpace: 1, specification: 'SSD' }],
413
413
  addText: 'Добавить резервную копию',
414
414
  ui: ['backup'],
415
415
  controls: {
@@ -421,9 +421,9 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
421
421
  type: CONTROL.Stepper,
422
422
  decoratorProps: { label: 'Резервная копия' },
423
423
  accessorKey: 'diskSpace',
424
- defaultValue: 10,
424
+ defaultValue: 1,
425
425
  uiProps: {
426
- min: 10,
426
+ min: 1,
427
427
  max: 1024,
428
428
  postfix: 'ГБ',
429
429
  },
@@ -456,7 +456,7 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
456
456
  type: CONTROL.Array,
457
457
  max: 2,
458
458
  accessorKey: 'evs.userImages',
459
- defaultValue: [{ diskSpace: 10, specification: 'SSD' }],
459
+ defaultValue: [{ diskSpace: 1, specification: 'SSD' }],
460
460
  addText: 'Добавить пользовательский образ',
461
461
  ui: ['image'],
462
462
  controls: {
@@ -468,10 +468,10 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG = {
468
468
  type: CONTROL.Stepper,
469
469
  decoratorProps: { label: 'Пользовательский образ' },
470
470
  accessorKey: 'diskSpace',
471
- defaultValue: 10,
471
+ defaultValue: 1,
472
472
  uiProps: {
473
- min: 10,
474
- max: 150,
473
+ min: 1,
474
+ max: 300,
475
475
  postfix: 'ГБ',
476
476
  },
477
477
  },
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.4.0",
4
+ "version": "1.4.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": "b28373c793c669f0ec4b216544c5645cb4f7c0b1"
74
+ "gitHead": "b667ee0736da4eb46c0757f14c92711fba106b64"
75
75
  }
@@ -431,7 +431,7 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG: FormConfig = {
431
431
  type: CONTROL.Array,
432
432
  max: 10,
433
433
  accessorKey: 'evs.backupCopies',
434
- defaultValue: [{ diskSpace: 10, specification: 'SSD' }],
434
+ defaultValue: [{ diskSpace: 1, specification: 'SSD' }],
435
435
  addText: 'Добавить резервную копию',
436
436
  ui: ['backup'],
437
437
  controls: {
@@ -443,9 +443,9 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG: FormConfig = {
443
443
  type: CONTROL.Stepper,
444
444
  decoratorProps: { label: 'Резервная копия' },
445
445
  accessorKey: 'diskSpace',
446
- defaultValue: 10,
446
+ defaultValue: 1,
447
447
  uiProps: {
448
- min: 10,
448
+ min: 1,
449
449
  max: 1024,
450
450
  postfix: 'ГБ',
451
451
  },
@@ -479,7 +479,7 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG: FormConfig = {
479
479
  type: CONTROL.Array,
480
480
  max: 2,
481
481
  accessorKey: 'evs.userImages',
482
- defaultValue: [{ diskSpace: 10, specification: 'SSD' }],
482
+ defaultValue: [{ diskSpace: 1, specification: 'SSD' }],
483
483
  addText: 'Добавить пользовательский образ',
484
484
  ui: ['image'],
485
485
  controls: {
@@ -491,10 +491,10 @@ export const EVOLUTION_CLOUD_SERVER_FORM_CONFIG: FormConfig = {
491
491
  type: CONTROL.Stepper,
492
492
  decoratorProps: { label: 'Пользовательский образ' },
493
493
  accessorKey: 'diskSpace',
494
- defaultValue: 10,
494
+ defaultValue: 1,
495
495
  uiProps: {
496
- min: 10,
497
- max: 150,
496
+ min: 1,
497
+ max: 300,
498
498
  postfix: 'ГБ',
499
499
  },
500
500
  },