@dt-frames/ui 1.0.31 → 1.0.32

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 (31) hide show
  1. package/es/assets/locales/en.json +95 -1
  2. package/es/assets/locales/zh.json +96 -1
  3. package/es/components/curd/src/components/dialog.d.ts +24 -1
  4. package/es/components/forms/src/components/formButton.d.ts +8 -0
  5. package/es/components/forms/src/components/formIcon.d.ts +40 -0
  6. package/es/components/forms/src/components/formInputUseDialog.d.ts +8 -0
  7. package/es/components/forms/src/const/form.const.d.ts +2 -2
  8. package/es/components/forms/src/hooks/helper.d.ts +1 -1
  9. package/es/components/forms/src/types/form.type.d.ts +2 -0
  10. package/es/components/icons/src/pick-icon.d.ts +8 -0
  11. package/es/components/modal/src/components/close-icon.d.ts +8 -0
  12. package/es/components/modal/src/components/modalFooter.d.ts +16 -0
  13. package/es/components/modal/src/index.d.ts +24 -0
  14. package/es/components/table/src/components/setting/Column.d.ts +8 -0
  15. package/es/components/table/src/components/setting/Download.d.ts +40 -0
  16. package/es/components/table/src/components/setting/DownloadCtrl.d.ts +32 -0
  17. package/es/components/table/src/components/setting/Fullscreen.d.ts +8 -0
  18. package/es/components/upload/src/helper.d.ts +2 -2
  19. package/es/components/upload/src/props.d.ts +1 -1
  20. package/es/components/upload/src/upload.d.ts +14 -6
  21. package/es/index.js +252 -234
  22. package/es/theme/header/components/bread-crumb.d.ts +1 -0
  23. package/es/theme/header/components/logo.d.ts +8 -0
  24. package/es/theme/header/components/size.d.ts +8 -0
  25. package/es/theme/header/components/theme-drawer/feature.d.ts +22 -5
  26. package/es/theme/header/components/theme-drawer/switch-item.d.ts +8 -0
  27. package/package.json +1 -1
  28. package/es/assets/locales/en_US.json +0 -3
  29. package/es/assets/locales/zh_CN.json +0 -3
  30. package/es/components/table/src/components/setting/Size.d.ts +0 -1147
  31. package/es/theme/header/components/theme-drawer/enum.d.ts +0 -5
@@ -1,4 +1,5 @@
1
1
  declare const _sfc_main: import("vue").DefineComponent<{}, {
2
+ getIsZH: import("vue").ComputedRef<boolean>;
2
3
  routes: import("vue").Ref<any[]>;
3
4
  currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
4
5
  Breadcrumb: {
@@ -8,6 +8,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
8
8
  default: boolean;
9
9
  };
10
10
  }, {
11
+ t: {
12
+ (key: string): string;
13
+ (key: string, locale: string): string;
14
+ (key: string, locale: string, list: unknown[]): string;
15
+ (key: string, locale: string, named: Record<string, unknown>): string;
16
+ (key: string, list: unknown[]): string;
17
+ (key: string, named: Record<string, unknown>): string;
18
+ };
11
19
  title: string;
12
20
  getCollapsedShowTitle: import("vue").ComputedRef<boolean>;
13
21
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1,5 +1,13 @@
1
1
  import { UiSize } from '@dt-frames/core';
2
2
  declare const _sfc_main: import("vue").DefineComponent<{}, {
3
+ t: {
4
+ (key: string): string;
5
+ (key: string, locale: string): string;
6
+ (key: string, locale: string, list: unknown[]): string;
7
+ (key: string, locale: string, named: Record<string, unknown>): string;
8
+ (key: string, list: unknown[]): string;
9
+ (key: string, named: Record<string, unknown>): string;
10
+ };
3
11
  setAppConf: (appConf?: import("@dt-frames/core/es/types/app.type").AppConf) => void;
4
12
  getUiSize: import("vue").ComputedRef<UiSize>;
5
13
  sizeList: {
@@ -1,6 +1,19 @@
1
1
  import { unref } from 'vue';
2
+ import { ContentMode } from '@dt-frames/core';
2
3
  import { HandlerEnum } from '../../const';
3
4
  declare const _sfc_main: import("vue").DefineComponent<{}, {
5
+ t: {
6
+ (key: string): string;
7
+ (key: string, locale: string): string;
8
+ (key: string, locale: string, list: unknown[]): string;
9
+ (key: string, locale: string, named: Record<string, unknown>): string;
10
+ (key: string, list: unknown[]): string;
11
+ (key: string, named: Record<string, unknown>): string;
12
+ };
13
+ contentModeOptions: {
14
+ value: ContentMode;
15
+ label: string;
16
+ }[];
4
17
  getShowBread: import("vue").ComputedRef<boolean>;
5
18
  getShowSearch: import("vue").ComputedRef<boolean | JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
6
19
  [key: string]: any;
@@ -12,14 +25,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
12
25
  getShowLocale: import("vue").ComputedRef<boolean>;
13
26
  getShowMultipleTab: import("vue").ComputedRef<boolean>;
14
27
  getFooter: import("vue").ComputedRef<import("@dt-frames/core/es/types/theme.type").FooterOptions>;
15
- getContentMode: import("vue").ComputedRef<import("@dt-frames/core").ContentMode>;
28
+ getContentMode: import("vue").ComputedRef<ContentMode>;
16
29
  showFooter: import("vue").ComputedRef<boolean>;
17
30
  unref: typeof unref;
18
31
  HandlerEnum: typeof HandlerEnum;
19
- contentModeOptions: {
20
- value: import("@dt-frames/core").ContentMode;
21
- label: string;
22
- }[];
23
32
  SwitchItem: import("vue").DefineComponent<{
24
33
  event: {
25
34
  type: import("vue").PropType<HandlerEnum>;
@@ -34,6 +43,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
34
43
  type: BooleanConstructor;
35
44
  };
36
45
  }, {
46
+ t: {
47
+ (key: string): string;
48
+ (key: string, locale: string): string;
49
+ (key: string, locale: string, list: unknown[]): string;
50
+ (key: string, locale: string, named: Record<string, unknown>): string;
51
+ (key: string, list: unknown[]): string;
52
+ (key: string, named: Record<string, unknown>): string;
53
+ };
37
54
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
38
55
  event: {
39
56
  type: import("vue").PropType<HandlerEnum>;
@@ -14,6 +14,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
14
14
  type: BooleanConstructor;
15
15
  };
16
16
  }, {
17
+ t: {
18
+ (key: string): string;
19
+ (key: string, locale: string): string;
20
+ (key: string, locale: string, list: unknown[]): string;
21
+ (key: string, locale: string, named: Record<string, unknown>): string;
22
+ (key: string, list: unknown[]): string;
23
+ (key: string, named: Record<string, unknown>): string;
24
+ };
17
25
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
18
26
  event: {
19
27
  type: PropType<HandlerEnum>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-frames/ui",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "keywords": [
5
5
  "ui",
6
6
  "dt-ui"
@@ -1,3 +0,0 @@
1
- {
2
- "test": "THIS IS ENGLISH"
3
- }
@@ -1,3 +0,0 @@
1
- {
2
- "xxx": "这是页面"
3
- }