plugin-ui-for-kzt 0.0.63 → 0.0.64

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plugin-ui-for-kzt",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "plugin-ui for kazaktelekom",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  class="base-file-upload__content"
37
37
  >
38
38
  <p class="base-file-upload__title">
39
- <slot name="title">{{ title }}</slot>
39
+ <slot name="title">{{ texts?.instructions }}</slot>
40
40
  <base-icon
41
41
  v-if="isMobile"
42
42
  name="upload"
@@ -44,7 +44,7 @@
44
44
  />
45
45
  </p>
46
46
  <p class="base-file-upload__description">
47
- <slot name="description">{{ subtitle }}</slot>
47
+ <slot name="description">{{ texts?.allowableFormats }}</slot>
48
48
  </p>
49
49
  </div>
50
50
  </div>
@@ -16,9 +16,9 @@ export interface IpropsUpload {
16
16
  enableCrop?: boolean; // Включить функциональность кропа для изображений
17
17
  cropTexts?: CropTexts; // Тексты для кнопок в модальном окне кропа
18
18
  files?: UploadedFile[];
19
- title: string
20
- subtitle: string;
21
19
  texts?: {
20
+ instructions: string // 'Перетащите или кликните для загрузки'
21
+ allowableFormats: string; // 'Допустимый формат файлов: {formats}'
22
22
  upload?: string; // 'Загрузить фото'
23
23
  photo?: string; // 'Загрузить фото'
24
24
  documents?: string; // 'Документы'