@nmorph/nmorph-ui-kit 1.0.30 → 1.0.31

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/dist/index.es.js CHANGED
@@ -159,7 +159,7 @@ const k2 = (t) => {
159
159
  });
160
160
  };
161
161
  return { placement: d, placementCoords: i };
162
- }, _e = "@nmorph/nmorph-ui-kit", fe = "module", we = "1.0.30", ge = "MIT", xe = {
162
+ }, _e = "@nmorph/nmorph-ui-kit", fe = "module", we = "1.0.31", ge = "MIT", xe = {
163
163
  node: "18.13.0",
164
164
  npm: "8.19.3"
165
165
  }, $e = "./dist/index.d.ts", ye = "./dist/index.umd.js", be = "./dist/index.es.js", Me = "./dist/style.css", He = [
@@ -376,7 +376,10 @@ const Ge = {
376
376
  on: "开",
377
377
  off: "关"
378
378
  }
379
- }, Qe = {
379
+ };
380
+ console.log("here");
381
+ U.zh + "";
382
+ const Qe = {
380
383
  [U.en]: {
381
384
  sun: "sun",
382
385
  mon: "mon",
@@ -418,27 +421,6 @@ const Ge = {
418
421
  oct: "Октябрь",
419
422
  nov: "Ноябрь",
420
423
  dec: "Декабрь"
421
- },
422
- [U.zh]: {
423
- sun: "日",
424
- mon: "一",
425
- tue: "二",
426
- wed: "三",
427
- thu: "四",
428
- fri: "五",
429
- sat: "六",
430
- jan: "一月",
431
- feb: "二月",
432
- mar: "三月",
433
- apr: "四月",
434
- may: "五月",
435
- jun: "六月",
436
- jul: "七月",
437
- aug: "八月",
438
- sep: "九月",
439
- oct: "十月",
440
- nov: "十一月",
441
- dec: "十二月"
442
424
  }
443
425
  }, Ke = {
444
426
  [U.en]: {
@@ -1,3 +1,26 @@
1
1
  import { TranslateType } from '../../../types';
2
2
 
3
+ export declare const additionalTranslates: {
4
+ zh: {
5
+ sun: string;
6
+ mon: string;
7
+ tue: string;
8
+ wed: string;
9
+ thu: string;
10
+ fri: string;
11
+ sat: string;
12
+ jan: string;
13
+ feb: string;
14
+ mar: string;
15
+ apr: string;
16
+ may: string;
17
+ jun: string;
18
+ jul: string;
19
+ aug: string;
20
+ sep: string;
21
+ oct: string;
22
+ nov: string;
23
+ dec: string;
24
+ };
25
+ };
3
26
  export declare const translate: TranslateType;
@@ -3,8 +3,6 @@ import { I18n } from 'vue-i18n';
3
3
 
4
4
  export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I18n<{
5
5
  en: TranslateMessages;
6
- ru: TranslateMessages;
7
- zh: TranslateMessages;
8
- } | {
9
- en: TranslateMessages;
6
+ ru?: TranslateMessages;
7
+ zh?: TranslateMessages;
10
8
  }, {}, {}, Locale | "en" | "ru" | "zh", true>;
@@ -117,7 +117,9 @@ export declare enum Locale {
117
117
  ru = "ru",
118
118
  zh = "zh"
119
119
  }
120
- export type TranslateType = Record<keyof typeof Locale, TranslateMessages>;
120
+ export type TranslateType = Partial<Record<keyof typeof Locale, TranslateMessages>> & {
121
+ en: TranslateMessages;
122
+ };
121
123
  export interface TranslateMessages {
122
124
  [key: string]: TranslateMessages | string;
123
125
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nmorph/nmorph-ui-kit",
3
3
  "type": "module",
4
4
  "private": false,
5
- "version": "1.0.30",
5
+ "version": "1.0.31",
6
6
  "license": "MIT",
7
7
  "engines": {
8
8
  "node": "18.13.0",