@kordar/easyui-tpl 2.0.8 → 2.0.9

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 (94) hide show
  1. package/dist/index.js +2 -2
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.min.css +1 -1
  4. package/dist/index.umd.cjs +2 -2
  5. package/dist/index.umd.cjs.map +1 -1
  6. package/dist/public/en.json +198 -166
  7. package/dist/public/iconfont.json +93 -0
  8. package/dist/public/zh_CN.json +208 -165
  9. package/dist/types/components/ThemeSwitch.d.ts +7 -0
  10. package/dist/types/composable/useMenuAndTabData.d.ts +37 -12
  11. package/dist/types/hoc/withDocHoc.d.ts +2 -1
  12. package/dist/types/index.d.ts +4 -3
  13. package/dist/types/util/tables.d.ts +3 -3
  14. package/dist/types/views/admin/index.d.ts +2 -1
  15. package/dist/types/views/dict/index.d.ts +2 -1
  16. package/dist/types/views/dict-item/index.d.ts +2 -1
  17. package/dist/types/views/home/index.d.ts +1 -1
  18. package/dist/types/views/icon/context.d.ts +3 -0
  19. package/dist/types/views/icon/index.d.ts +2 -0
  20. package/dist/types/views/icon/parseIcons.d.ts +10 -0
  21. package/dist/types/views/icon/search.d.ts +3 -0
  22. package/dist/types/views/icon/table.d.ts +4 -0
  23. package/dist/types/views/login/index.d.ts +1 -1
  24. package/dist/types/views/page/404.d.ts +1 -1
  25. package/dist/types/views/permissions/index.d.ts +2 -1
  26. package/dist/types/views/roles/index.d.ts +1 -1
  27. package/dist/types/views/router/index.d.ts +1 -1
  28. package/dist/types/views/setting/dialog.d.ts +2 -1
  29. package/dist/types/views/setting/index.d.ts +1 -1
  30. package/package.json +4 -4
  31. package/dist/public/themes/modern-blue/accordion.css +0 -89
  32. package/dist/public/themes/modern-blue/calendar.css +0 -213
  33. package/dist/public/themes/modern-blue/checkbox.css +0 -31
  34. package/dist/public/themes/modern-blue/combo.css +0 -35
  35. package/dist/public/themes/modern-blue/combobox.css +0 -40
  36. package/dist/public/themes/modern-blue/datagrid.css +0 -305
  37. package/dist/public/themes/modern-blue/datalist.css +0 -95
  38. package/dist/public/themes/modern-blue/datebox.css +0 -36
  39. package/dist/public/themes/modern-blue/dialog.css +0 -47
  40. package/dist/public/themes/modern-blue/drawer.css +0 -15
  41. package/dist/public/themes/modern-blue/easyui.css +0 -4750
  42. package/dist/public/themes/modern-blue/filebox.css +0 -20
  43. package/dist/public/themes/modern-blue/flex.css +0 -52
  44. package/dist/public/themes/modern-blue/images/accordion_arrows.png +0 -0
  45. package/dist/public/themes/modern-blue/images/blank.gif +0 -0
  46. package/dist/public/themes/modern-blue/images/calendar_arrows.png +0 -0
  47. package/dist/public/themes/modern-blue/images/combo_arrow.png +0 -0
  48. package/dist/public/themes/modern-blue/images/datagrid_icons.png +0 -0
  49. package/dist/public/themes/modern-blue/images/datebox_arrow.png +0 -0
  50. package/dist/public/themes/modern-blue/images/layout_arrows.png +0 -0
  51. package/dist/public/themes/modern-blue/images/linkbutton_bg.png +0 -0
  52. package/dist/public/themes/modern-blue/images/loading.gif +0 -0
  53. package/dist/public/themes/modern-blue/images/menu_arrows.png +0 -0
  54. package/dist/public/themes/modern-blue/images/messager_icons.png +0 -0
  55. package/dist/public/themes/modern-blue/images/messager_icons16.png +0 -0
  56. package/dist/public/themes/modern-blue/images/pagination_icons.png +0 -0
  57. package/dist/public/themes/modern-blue/images/panel_tools.png +0 -0
  58. package/dist/public/themes/modern-blue/images/passwordbox_close.png +0 -0
  59. package/dist/public/themes/modern-blue/images/passwordbox_open.png +0 -0
  60. package/dist/public/themes/modern-blue/images/searchbox_button.png +0 -0
  61. package/dist/public/themes/modern-blue/images/slider_handle.png +0 -0
  62. package/dist/public/themes/modern-blue/images/spinner_arrows.png +0 -0
  63. package/dist/public/themes/modern-blue/images/tabs_icons.png +0 -0
  64. package/dist/public/themes/modern-blue/images/tagbox_icons.png +0 -0
  65. package/dist/public/themes/modern-blue/images/tree_icons.png +0 -0
  66. package/dist/public/themes/modern-blue/images/validatebox_warning.png +0 -0
  67. package/dist/public/themes/modern-blue/layout.css +0 -150
  68. package/dist/public/themes/modern-blue/linkbutton.css +0 -203
  69. package/dist/public/themes/modern-blue/menu.css +0 -119
  70. package/dist/public/themes/modern-blue/menubutton.css +0 -94
  71. package/dist/public/themes/modern-blue/messager.css +0 -74
  72. package/dist/public/themes/modern-blue/numberbox.css +0 -0
  73. package/dist/public/themes/modern-blue/pagination.css +0 -77
  74. package/dist/public/themes/modern-blue/panel.css +0 -276
  75. package/dist/public/themes/modern-blue/passwordbox.css +0 -6
  76. package/dist/public/themes/modern-blue/progressbar.css +0 -33
  77. package/dist/public/themes/modern-blue/propertygrid.css +0 -27
  78. package/dist/public/themes/modern-blue/radiobutton.css +0 -25
  79. package/dist/public/themes/modern-blue/searchbox.css +0 -61
  80. package/dist/public/themes/modern-blue/sidemenu.css +0 -78
  81. package/dist/public/themes/modern-blue/slider.css +0 -101
  82. package/dist/public/themes/modern-blue/spinner.css +0 -114
  83. package/dist/public/themes/modern-blue/splitbutton.css +0 -12
  84. package/dist/public/themes/modern-blue/switchbutton.css +0 -83
  85. package/dist/public/themes/modern-blue/tabs.css +0 -415
  86. package/dist/public/themes/modern-blue/tagbox.css +0 -44
  87. package/dist/public/themes/modern-blue/textbox.css +0 -173
  88. package/dist/public/themes/modern-blue/timepicker.css +0 -93
  89. package/dist/public/themes/modern-blue/tooltip.css +0 -101
  90. package/dist/public/themes/modern-blue/tree.css +0 -168
  91. package/dist/public/themes/modern-blue/validatebox.css +0 -13
  92. package/dist/public/themes/modern-blue/window.css +0 -188
  93. package/dist/types/components/Card.d.ts +0 -29
  94. package/dist/types/components/Tooltip.d.ts +0 -17
@@ -1,188 +0,0 @@
1
- .window {
2
- overflow: hidden;
3
- padding: 5px;
4
- border-width: 1px;
5
- border-style: solid;
6
- }
7
- .window .window-header {
8
- background: transparent;
9
- padding: 0px 0px 6px 0px;
10
- }
11
- .window .window-body {
12
- border-width: 1px;
13
- border-style: solid;
14
- border-top-width: 0px;
15
- }
16
- .window .window-body-noheader {
17
- border-top-width: 1px;
18
- }
19
- .window .panel-body-nobottom {
20
- border-bottom-width: 0;
21
- }
22
- .window .window-header .panel-icon,
23
- .window .window-header .panel-tool {
24
- top: 50%;
25
- margin-top: -11px;
26
- }
27
- .window .window-header .panel-icon {
28
- left: 1px;
29
- }
30
- .window .window-header .panel-tool {
31
- right: 1px;
32
- }
33
- .window .window-header .panel-with-icon {
34
- padding-left: 18px;
35
- }
36
- .window-proxy {
37
- position: absolute;
38
- overflow: hidden;
39
- }
40
- .window-proxy-mask {
41
- position: absolute;
42
- filter: alpha(opacity=5);
43
- opacity: 0.05;
44
- }
45
- .window-mask {
46
- position: absolute;
47
- left: 0;
48
- top: 0;
49
- width: 100%;
50
- height: 100%;
51
- filter: alpha(opacity=40);
52
- opacity: 0.40;
53
- font-size: 1px;
54
- overflow: hidden;
55
- }
56
- .window,
57
- .window-shadow {
58
- position: absolute;
59
- -moz-border-radius: .375rem;
60
- -webkit-border-radius: .375rem;
61
- border-radius: .375rem;
62
- }
63
- .window-shadow {
64
- background: hsl(214 22% 88%);
65
- -moz-box-shadow: 2px 2px 3px hsl(214 22% 88%);
66
- -webkit-box-shadow: 2px 2px 3px hsl(214 22% 88%);
67
- box-shadow: 2px 2px 3px hsl(214 22% 88%);
68
- filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2);
69
- }
70
- .window,
71
- .window .window-body {
72
- border-color: hsl(214 22% 88%);
73
- }
74
- .window {
75
- background-color: hsl(216 30% 91%);
76
- background: -webkit-linear-gradient(top,hsl(220 45% 98%) 0,hsl(216 30% 91%) 20%);
77
- background: -moz-linear-gradient(top,hsl(220 45% 98%) 0,hsl(216 30% 91%) 20%);
78
- background: -o-linear-gradient(top,hsl(220 45% 98%) 0,hsl(216 30% 91%) 20%);
79
- background: linear-gradient(to bottom,hsl(220 45% 98%) 0,hsl(216 30% 91%) 20%);
80
- background-repeat: repeat-x;
81
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=hsl(220 45% 98%),endColorstr=hsl(216 30% 91%),GradientType=0);
82
- }
83
- .window-proxy {
84
- border: 1px dashed hsl(214 22% 88%);
85
- }
86
- .window-proxy-mask,
87
- .window-mask {
88
- background: hsl(214 22% 88%);
89
- }
90
- .window .panel-footer {
91
- border: 1px solid hsl(214 22% 88%);
92
- position: relative;
93
- top: -1px;
94
- }
95
- .window-thinborder {
96
- padding: 0;
97
- }
98
- .window-thinborder .window-header {
99
- padding: 5px 5px 6px 5px;
100
- }
101
- .window-thinborder .window-body {
102
- border-width: 0px;
103
- }
104
- .window-thinborder .window-footer {
105
- border-left: transparent;
106
- border-right: transparent;
107
- border-bottom: transparent;
108
- }
109
- .window-thinborder .window-header .panel-icon,
110
- .window-thinborder .window-header .panel-tool {
111
- margin-top: -9px;
112
- margin-left: 5px;
113
- margin-right: 5px;
114
- }
115
- .window-noborder {
116
- border: 0;
117
- }
118
- .window.panel-hleft .window-header {
119
- padding: 0 6px 0 0;
120
- }
121
- .window.panel-hright .window-header {
122
- padding: 0 0 0 6px;
123
- }
124
- .window.panel-hleft>.panel-header .panel-title {
125
- top: auto;
126
- left: 16px;
127
- }
128
- .window.panel-hright>.panel-header .panel-title {
129
- top: auto;
130
- right: 16px;
131
- }
132
- .window.panel-hleft>.panel-header .panel-title-up,
133
- .window.panel-hright>.panel-header .panel-title-up {
134
- bottom: 0;
135
- }
136
- .window.panel-hleft .window-body {
137
- border-width: 1px 1px 1px 0;
138
- }
139
- .window.panel-hright .window-body {
140
- border-width: 1px 0 1px 1px;
141
- }
142
- .window.panel-hleft .window-header .panel-icon {
143
- top: 1px;
144
- margin-top: 0;
145
- left: 0;
146
- }
147
- .window.panel-hright .window-header .panel-icon {
148
- top: 1px;
149
- margin-top: 0;
150
- left: auto;
151
- right: 1px;
152
- }
153
- .window.panel-hleft .window-header .panel-tool,
154
- .window.panel-hright .window-header .panel-tool {
155
- margin-top: 0;
156
- top: auto;
157
- bottom: 1px;
158
- right: auto;
159
- margin-right: 0;
160
- left: 50%;
161
- margin-left: -11px;
162
- }
163
- .window.panel-hright .window-header .panel-tool {
164
- left: auto;
165
- right: 1px;
166
- }
167
- .window-thinborder.panel-hleft .window-header {
168
- padding: 5px 6px 5px 5px;
169
- }
170
- .window-thinborder.panel-hright .window-header {
171
- padding: 5px 5px 5px 6px;
172
- }
173
- .window-thinborder.panel-hleft>.panel-header .panel-title {
174
- left: 21px;
175
- }
176
- .window-thinborder.panel-hleft>.panel-header .panel-title-up,
177
- .window-thinborder.panel-hright>.panel-header .panel-title-up {
178
- bottom: 5px;
179
- }
180
- .window-thinborder.panel-hleft .window-header .panel-icon,
181
- .window-thinborder.panel-hright .window-header .panel-icon {
182
- margin-top: 5px;
183
- }
184
- .window-thinborder.panel-hleft .window-header .panel-tool,
185
- .window-thinborder.panel-hright .window-header .panel-tool {
186
- left: 16px;
187
- bottom: 5px;
188
- }
@@ -1,29 +0,0 @@
1
- import React, { FC, ReactNode } from "react";
2
- interface CardProps {
3
- title?: ReactNode;
4
- icon?: string;
5
- children?: ReactNode;
6
- content?: ReactNode;
7
- footer?: ReactNode;
8
- colSpan?: number;
9
- className?: string;
10
- style?: React.CSSProperties;
11
- }
12
- export declare const Card: FC<CardProps>;
13
- export declare const CardInfoItem: FC<{
14
- label: string;
15
- value: ReactNode;
16
- isLast?: boolean;
17
- }>;
18
- export declare const CardBadge: FC<{
19
- children: ReactNode;
20
- type?: "default" | "success" | "warning" | "error" | "info";
21
- }>;
22
- export declare const CardTextValue: FC<{
23
- children: ReactNode;
24
- }>;
25
- export declare const CardEllipsisText: FC<{
26
- children: ReactNode;
27
- maxWidth?: string;
28
- }>;
29
- export {};
@@ -1,17 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- type Position = "top" | "bottom" | "left" | "right";
3
- type Theme = "dark" | "light";
4
- type Trigger = "hover" | "click" | "focus";
5
- interface EasyUITooltipProps {
6
- text: ReactNode;
7
- children: ReactNode;
8
- position?: Position;
9
- trigger?: Trigger;
10
- delay?: number;
11
- maxWidth?: number;
12
- theme?: Theme;
13
- followMouse?: boolean;
14
- autoFlip?: boolean;
15
- }
16
- export declare const EasyUITooltip: FC<EasyUITooltipProps>;
17
- export {};