@knockout-js/layout 0.1.25 → 0.1.26

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 (102) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +15 -15
  3. package/es2017/components/_util/index.js +36 -36
  4. package/es2017/components/aggregate-menu/collects.d.ts +2 -1
  5. package/es2017/components/aggregate-menu/collects.js +10 -10
  6. package/es2017/components/aggregate-menu/index.d.ts +2 -1
  7. package/es2017/components/aggregate-menu/index.js +67 -19
  8. package/es2017/components/aggregate-menu/index.js.map +1 -1
  9. package/es2017/components/aggregate-menu/index.module.css +236 -219
  10. package/es2017/components/aggregate-menu/locale/en_US.js.map +1 -1
  11. package/es2017/components/aggregate-menu/locale/zh_CN.js.map +1 -1
  12. package/es2017/components/avatar-dropdown/index.d.ts +2 -1
  13. package/es2017/components/avatar-dropdown/index.module.css +23 -23
  14. package/es2017/components/avatar-dropdown/locale/en_US.js.map +1 -1
  15. package/es2017/components/avatar-dropdown/locale/zh_CN.js.map +1 -1
  16. package/es2017/components/collect-providers/index.d.ts +1 -1
  17. package/es2017/components/i18n-dropdown/index.d.ts +2 -1
  18. package/es2017/components/i18n-dropdown/index.module.css +13 -13
  19. package/es2017/components/icons/index.d.ts +3 -3
  20. package/es2017/components/layout/index.d.ts +1 -1
  21. package/es2017/components/layout/index.js +4 -4
  22. package/es2017/components/layout/layout.module.css +46 -46
  23. package/es2017/components/layout/logo.js.map +1 -1
  24. package/es2017/components/leave-prompt/index.d.ts +1 -1
  25. package/es2017/components/leave-prompt/index.js +9 -9
  26. package/es2017/components/leave-prompt/locale/en_US.js.map +1 -1
  27. package/es2017/components/leave-prompt/locale/zh_CN.js.map +1 -1
  28. package/es2017/components/locale/index.js +4 -4
  29. package/es2017/components/modal/index.d.ts +1 -1
  30. package/es2017/components/modal/index.module.css +20 -20
  31. package/es2017/components/msg-dropdown/index.js +14 -14
  32. package/es2017/components/msg-dropdown/index.module.css +33 -33
  33. package/es2017/components/msg-dropdown/locale/en_US.js.map +1 -1
  34. package/es2017/components/msg-dropdown/locale/zh_CN.js.map +1 -1
  35. package/es2017/components/provider/index.d.ts +1 -1
  36. package/es2017/components/provider/index.js +11 -11
  37. package/es2017/components/tenant-dropdown/index.d.ts +2 -1
  38. package/es2017/components/tenant-dropdown/index.js +4 -4
  39. package/es2017/components/tenant-dropdown/index.module.css +13 -13
  40. package/es2017/components/tenant-dropdown/locale/en_US.js.map +1 -1
  41. package/es2017/components/tenant-dropdown/locale/zh_CN.js.map +1 -1
  42. package/es2017/components/theme-switch/index.d.ts +2 -1
  43. package/es2017/components/theme-switch/index.module.css +14 -14
  44. package/es2017/components/theme-switch/locale/en_US.js.map +1 -1
  45. package/es2017/components/theme-switch/locale/zh_CN.js.map +1 -1
  46. package/es2017/components/upload-file/index.js.map +1 -1
  47. package/es2017/components/upload-file/index.module.css +13 -13
  48. package/es2017/components/upload-file/locale/en_US.js.map +1 -1
  49. package/es2017/components/upload-file/locale/zh_CN.js.map +1 -1
  50. package/es2017/components/upload-file/uploadAvatar.d.ts +2 -1
  51. package/es2017/components/upload-file/uploadMultiple.d.ts +2 -1
  52. package/es2017/components/upload-file/uploadTemp.d.ts +2 -1
  53. package/es2017/typings.d.ts +1 -1
  54. package/esm/components/_util/index.js +36 -36
  55. package/esm/components/aggregate-menu/collects.d.ts +2 -1
  56. package/esm/components/aggregate-menu/collects.js +10 -10
  57. package/esm/components/aggregate-menu/index.d.ts +2 -1
  58. package/esm/components/aggregate-menu/index.js +73 -4
  59. package/esm/components/aggregate-menu/index.js.map +1 -1
  60. package/esm/components/aggregate-menu/index.module.css +236 -219
  61. package/esm/components/aggregate-menu/locale/en_US.js.map +1 -1
  62. package/esm/components/aggregate-menu/locale/zh_CN.js.map +1 -1
  63. package/esm/components/avatar-dropdown/index.d.ts +2 -1
  64. package/esm/components/avatar-dropdown/index.module.css +23 -23
  65. package/esm/components/avatar-dropdown/locale/en_US.js.map +1 -1
  66. package/esm/components/avatar-dropdown/locale/zh_CN.js.map +1 -1
  67. package/esm/components/collect-providers/index.d.ts +1 -1
  68. package/esm/components/i18n-dropdown/index.d.ts +2 -1
  69. package/esm/components/i18n-dropdown/index.module.css +13 -13
  70. package/esm/components/icons/index.d.ts +3 -3
  71. package/esm/components/layout/index.d.ts +1 -1
  72. package/esm/components/layout/layout.module.css +46 -46
  73. package/esm/components/layout/logo.js.map +1 -1
  74. package/esm/components/leave-prompt/index.d.ts +1 -1
  75. package/esm/components/leave-prompt/index.js +9 -9
  76. package/esm/components/leave-prompt/locale/en_US.js.map +1 -1
  77. package/esm/components/leave-prompt/locale/zh_CN.js.map +1 -1
  78. package/esm/components/locale/index.js +4 -4
  79. package/esm/components/modal/index.d.ts +1 -1
  80. package/esm/components/modal/index.module.css +20 -20
  81. package/esm/components/msg-dropdown/index.module.css +33 -33
  82. package/esm/components/msg-dropdown/locale/en_US.js.map +1 -1
  83. package/esm/components/msg-dropdown/locale/zh_CN.js.map +1 -1
  84. package/esm/components/provider/index.d.ts +1 -1
  85. package/esm/components/provider/index.js +11 -11
  86. package/esm/components/tenant-dropdown/index.d.ts +2 -1
  87. package/esm/components/tenant-dropdown/index.module.css +13 -13
  88. package/esm/components/tenant-dropdown/locale/en_US.js.map +1 -1
  89. package/esm/components/tenant-dropdown/locale/zh_CN.js.map +1 -1
  90. package/esm/components/theme-switch/index.d.ts +2 -1
  91. package/esm/components/theme-switch/index.module.css +14 -14
  92. package/esm/components/theme-switch/locale/en_US.js.map +1 -1
  93. package/esm/components/theme-switch/locale/zh_CN.js.map +1 -1
  94. package/esm/components/upload-file/index.js.map +1 -1
  95. package/esm/components/upload-file/index.module.css +13 -13
  96. package/esm/components/upload-file/locale/en_US.js.map +1 -1
  97. package/esm/components/upload-file/locale/zh_CN.js.map +1 -1
  98. package/esm/components/upload-file/uploadAvatar.d.ts +2 -1
  99. package/esm/components/upload-file/uploadMultiple.d.ts +2 -1
  100. package/esm/components/upload-file/uploadTemp.d.ts +2 -1
  101. package/esm/typings.d.ts +1 -1
  102. package/package.json +4 -4
@@ -1,219 +1,236 @@
1
- .aggregateMenu {
2
- margin-right: 8px;
3
- cursor : pointer;
4
- }
5
-
6
- .aggregateMenuDrawer :global(.ant-drawer-header-title) {
7
- flex-direction: row-reverse;
8
- }
9
-
10
- .aggregateMenuDrawer :global(.ant-drawer-body) {
11
- padding: 0;
12
- }
13
-
14
- .aggregateMenuDrawerRow {
15
- height : 100%;
16
- display: flex;
17
- }
18
-
19
- .aggregateMenuDrawerAllMenu {
20
- height : calc(100% - 52px);
21
- padding : 16px;
22
- overflow-y: auto;
23
- box-sizing: border-box;
24
- }
25
-
26
- .aggregateMenuDrawerAllMenuColumn {
27
- /* column瀑布流 */
28
- column-count: 3;
29
- column-gap : 10px;
30
- }
31
-
32
- .aggregateMenuDrawerAllMenuColumnItem {
33
- /* 瀑布流关键写法 */
34
- break-inside : avoid;
35
- margin-bottom: 16px;
36
- }
37
-
38
- .aggregateMenuDrawerAllAppTitle {
39
- font-weight: bold;
40
- height : 32px;
41
- line-height: 32px;
42
- padding : 0 16px;
43
- color : #ff6a00;
44
- }
45
-
46
- .aggregateMenuDrawerAllMenuTitle {
47
- font-weight: bold;
48
- height : 32px;
49
- line-height: 32px;
50
- padding : 0 16px;
51
- }
52
-
53
- .aggregateMenuDrawerAllMenuItem {
54
- height : 32px;
55
- line-height: 32px;
56
- cursor : pointer;
57
- padding : 0 6px 0 16px;
58
- display : flex;
59
- }
60
-
61
- .aggregateMenuDrawerAllMenuItem :global(.anticon-star.collect) {
62
- color : rgb(255, 106, 0);
63
- display: inline-flex;
64
- }
65
-
66
- .aggregateMenuDrawerAllMenuItem:hover {
67
- background-color: #f1f1f1;
68
- }
69
-
70
- .aggregateMenuDrawerAllMenuItem:hover :global(.anticon) {
71
- display: inline;
72
- }
73
-
74
- .aggregateMenuDrawerAllMenuItemDir {
75
- height : 32px;
76
- line-height: 32px;
77
- padding : 0 16px;
78
- font-weight: bold;
79
- }
80
-
81
- .aggregateMenuDrawerAllMenuItemName {
82
- overflow : hidden;
83
- text-overflow: ellipsis;
84
- white-space : nowrap;
85
- flex : auto;
86
- font-weight : lighter;
87
- }
88
-
89
- .aggregateMenuDrawerAllMenuItemIcons :global(.ant-space) {
90
- align-items: unset;
91
- }
92
-
93
- .aggregateMenuDrawerAllMenuItemIcons :global(.anticon) {
94
- display: none;
95
- color : #c1c1c1;
96
- }
97
-
98
- .aggregateMenuDrawerAllMenuItemIcons :global(.anticon):hover {
99
- color: #8c8c8c;
100
- }
101
-
102
- .aggregateMenuDrawerAllMenuItemIcons :global(.anticon):hover :global(.anticon-star.collect) {
103
- color : rgb(255, 106, 0);
104
- display: inline-flex;
105
- }
106
-
107
- .aggregateMenuDrawerAllInput {
108
- padding : 10px 0;
109
- margin : 0 16px;
110
- border-bottom: 1px solid rgba(5, 5, 5, 0.06);
111
- }
112
-
113
- .aggregateMenuDrawerMenu {
114
- height : 100%;
115
- border-right: 1px solid rgba(5, 5, 5, 0.06);
116
- }
117
-
118
- .aggregateMenuDrawerMenuGroup {
119
- padding-left: 16px;
120
- }
121
-
122
- .aggregateMenuDrawerAppItem {
123
- height : 40px;
124
- line-height: 40px;
125
- padding : 0 10px 0 16px;
126
- display : flex;
127
- }
128
-
129
- .aggregateMenuDrawerAppItem:hover .aggregateMenuDrawerAppItemIcons {
130
- display: block;
131
- }
132
-
133
- .aggregateMenuDrawerAppItemIcons {
134
- display: none;
135
- }
136
-
137
- .aggregateMenuDrawerAppItemIcons :global(.anticon) {
138
- color: #c1c1c1;
139
- }
140
-
141
- .aggregateMenuDrawerAppItemIcons :global(.dragIcon) {
142
- cursor: all-scroll;
143
- }
144
-
145
- .aggregateMenuDrawerAppItemIcons :global(.anticon):hover {
146
- color: #8c8c8c;
147
- }
148
-
149
- .aggregateMenuDrawerAppItemName {
150
- flex : auto;
151
- text-overflow: ellipsis;
152
- white-space : nowrap;
153
- overflow : hidden;
154
- font-weight : bold;
155
- color : #ff6a00;
156
- }
157
-
158
- .aggregateMenuDrawerMenuItem {
159
- height : 40px;
160
- line-height: 40px;
161
- cursor : pointer;
162
- padding : 0 10px 0 16px;
163
- display : flex;
164
- }
165
-
166
- .aggregateMenuDrawerMenuItem:hover {
167
- background-color: #f1f1f1;
168
- }
169
-
170
- .aggregateMenuDrawerMenuItem:hover .aggregateMenuDrawerMenuItemIcons {
171
- display: block;
172
- }
173
-
174
- .aggregateMenuDrawerMenuItemIcons {
175
- display: none;
176
- }
177
-
178
- .aggregateMenuDrawerMenuItemIcons :global(.anticon) {
179
- color: #c1c1c1;
180
- }
181
-
182
- .aggregateMenuDrawerMenuItemIcons :global(.dragIcon) {
183
- cursor: all-scroll;
184
- }
185
-
186
- .aggregateMenuDrawerMenuItemIcons :global(.anticon):hover {
187
- color: #8c8c8c;
188
- }
189
-
190
- .aggregateMenuDrawerMenuItemName {
191
- flex : auto;
192
- text-overflow: ellipsis;
193
- white-space : nowrap;
194
- overflow : hidden;
195
- }
196
-
197
- .aggregateMenuLatelys {
198
- padding : 16px 16px 0 16px;
199
- height : 112px;
200
- box-sizing: border-box;
201
- }
202
-
203
- .aggregateMenuLatelysColumn {
204
- column-count: 3;
205
- column-gap : 10px;
206
- }
207
-
208
- /* 黑色主题处理 */
209
- .aggregateMenuDark .aggregateMenuDrawerAllInput {
210
- border-bottom: 1px solid #ffffff40;
211
- }
212
-
213
- .aggregateMenuDark .aggregateMenuDrawerAllMenuItem:hover {
214
- background-color: #ffffff40;
215
- }
216
-
217
- .aggregateMenuDark .aggregateMenuDrawerMenuItem:hover {
218
- background-color: #ffffff40;
219
- }
1
+ .aggregateMenu {
2
+ margin-right: 8px;
3
+ cursor : pointer;
4
+ }
5
+
6
+ .aggregateMenuDrawer :global(.ant-drawer-header-title) {
7
+ flex-direction: row-reverse;
8
+ }
9
+
10
+ .aggregateMenuDrawer :global(.ant-drawer-body) {
11
+ padding: 0;
12
+ }
13
+
14
+ .aggregateMenuDrawerRow {
15
+ height : 100%;
16
+ display: flex;
17
+ }
18
+
19
+ .aggregateMenuDrawerAllMenu {
20
+ height : calc(100% - 52px);
21
+ padding : 16px;
22
+ overflow-y: auto;
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ .aggregateMenuDrawerAllMenuColumn {
27
+ /* column瀑布流 */
28
+ column-count: 3;
29
+ column-gap : 10px;
30
+ }
31
+
32
+ .aggregateMenuDrawerAllMenuColumnItem {
33
+ /* 瀑布流关键写法 */
34
+ break-inside : avoid;
35
+ margin-bottom: 16px;
36
+ }
37
+
38
+ .aggregateMenuDrawerAllAppTitle {
39
+ font-weight: bold;
40
+ height : 32px;
41
+ line-height: 32px;
42
+ padding : 0 16px;
43
+ color : #ff6a00;
44
+ }
45
+
46
+ .aggregateMenuDrawerAllMenuTitle {
47
+ font-weight: bold;
48
+ height : 32px;
49
+ line-height: 32px;
50
+ padding : 0 16px;
51
+ }
52
+
53
+ .aggregateMenuDrawerAllMenuItem {
54
+ height : 32px;
55
+ line-height: 32px;
56
+ cursor : pointer;
57
+ padding : 0 6px 0 16px;
58
+ display : flex;
59
+ }
60
+
61
+ .aggregateMenuDrawerAllMenuItem :global(.anticon-star.collect) {
62
+ color : rgb(255, 106, 0);
63
+ display: inline-flex;
64
+ }
65
+
66
+ .aggregateMenuDrawerAllMenuItem:hover {
67
+ background-color: #f1f1f1;
68
+ }
69
+
70
+ .aggregateMenuDrawerAllMenuItem:hover :global(.anticon) {
71
+ display: inline;
72
+ }
73
+
74
+ .aggregateMenuDrawerAllMenuItemDir {
75
+ height : 32px;
76
+ line-height: 32px;
77
+ padding : 0 6px 0 16px;
78
+ font-weight: bold;
79
+ }
80
+
81
+ .aggregateMenuDrawerAllMenuItemDirClickable {
82
+ cursor : pointer;
83
+ display : flex;
84
+ }
85
+
86
+ .aggregateMenuDrawerAllMenuItemDirClickable:hover {
87
+ background-color: #f1f1f1;
88
+ }
89
+
90
+ .aggregateMenuDrawerAllMenuItemDirClickable:hover :global(.anticon) {
91
+ display: inline;
92
+ }
93
+
94
+ .aggregateMenuDrawerAllMenuItemName {
95
+ overflow : hidden;
96
+ text-overflow: ellipsis;
97
+ white-space : nowrap;
98
+ flex : auto;
99
+ font-weight : lighter;
100
+ }
101
+
102
+ .aggregateMenuDrawerAllMenuItemIcons :global(.ant-space) {
103
+ align-items: unset;
104
+ }
105
+
106
+ .aggregateMenuDrawerAllMenuItemIcons :global(.anticon) {
107
+ display: none;
108
+ color : #c1c1c1;
109
+ }
110
+
111
+ .aggregateMenuDrawerAllMenuItemIcons :global(.anticon):hover {
112
+ color: #8c8c8c;
113
+ }
114
+
115
+ .aggregateMenuDrawerAllMenuItemIcons :global(.anticon):hover :global(.anticon-star.collect) {
116
+ color : rgb(255, 106, 0);
117
+ display: inline-flex;
118
+ }
119
+
120
+ .aggregateMenuDrawerAllInput {
121
+ padding : 10px 0;
122
+ margin : 0 16px;
123
+ border-bottom: 1px solid rgba(5, 5, 5, 0.06);
124
+ }
125
+
126
+ .aggregateMenuDrawerMenu {
127
+ height : 100%;
128
+ border-right: 1px solid rgba(5, 5, 5, 0.06);
129
+ }
130
+
131
+ .aggregateMenuDrawerMenuGroup {
132
+ padding-left: 16px;
133
+ }
134
+
135
+ .aggregateMenuDrawerAppItem {
136
+ height : 40px;
137
+ line-height: 40px;
138
+ padding : 0 10px 0 16px;
139
+ display : flex;
140
+ }
141
+
142
+ .aggregateMenuDrawerAppItem:hover .aggregateMenuDrawerAppItemIcons {
143
+ display: block;
144
+ }
145
+
146
+ .aggregateMenuDrawerAppItemIcons {
147
+ display: none;
148
+ }
149
+
150
+ .aggregateMenuDrawerAppItemIcons :global(.anticon) {
151
+ color: #c1c1c1;
152
+ }
153
+
154
+ .aggregateMenuDrawerAppItemIcons :global(.dragIcon) {
155
+ cursor: all-scroll;
156
+ }
157
+
158
+ .aggregateMenuDrawerAppItemIcons :global(.anticon):hover {
159
+ color: #8c8c8c;
160
+ }
161
+
162
+ .aggregateMenuDrawerAppItemName {
163
+ flex : auto;
164
+ text-overflow: ellipsis;
165
+ white-space : nowrap;
166
+ overflow : hidden;
167
+ font-weight : bold;
168
+ color : #ff6a00;
169
+ }
170
+
171
+ .aggregateMenuDrawerMenuItem {
172
+ height : 40px;
173
+ line-height: 40px;
174
+ cursor : pointer;
175
+ padding : 0 10px 0 16px;
176
+ display : flex;
177
+ }
178
+
179
+ .aggregateMenuDrawerMenuItem:hover {
180
+ background-color: #f1f1f1;
181
+ }
182
+
183
+ .aggregateMenuDrawerMenuItem:hover .aggregateMenuDrawerMenuItemIcons {
184
+ display: block;
185
+ }
186
+
187
+ .aggregateMenuDrawerMenuItemIcons {
188
+ display: none;
189
+ }
190
+
191
+ .aggregateMenuDrawerMenuItemIcons :global(.anticon) {
192
+ color: #c1c1c1;
193
+ }
194
+
195
+ .aggregateMenuDrawerMenuItemIcons :global(.dragIcon) {
196
+ cursor: all-scroll;
197
+ }
198
+
199
+ .aggregateMenuDrawerMenuItemIcons :global(.anticon):hover {
200
+ color: #8c8c8c;
201
+ }
202
+
203
+ .aggregateMenuDrawerMenuItemName {
204
+ flex : auto;
205
+ text-overflow: ellipsis;
206
+ white-space : nowrap;
207
+ overflow : hidden;
208
+ }
209
+
210
+ .aggregateMenuLatelys {
211
+ padding : 16px 16px 0 16px;
212
+ height : 112px;
213
+ box-sizing: border-box;
214
+ }
215
+
216
+ .aggregateMenuLatelysColumn {
217
+ column-count: 3;
218
+ column-gap : 10px;
219
+ }
220
+
221
+ /* 黑色主题处理 */
222
+ .aggregateMenuDark .aggregateMenuDrawerAllInput {
223
+ border-bottom: 1px solid #ffffff40;
224
+ }
225
+
226
+ .aggregateMenuDark .aggregateMenuDrawerAllMenuItem:hover {
227
+ background-color: #ffffff40;
228
+ }
229
+
230
+ .aggregateMenuDark .aggregateMenuDrawerAllMenuItemDirClickable:hover {
231
+ background-color: #ffffff40;
232
+ }
233
+
234
+ .aggregateMenuDark .aggregateMenuDrawerMenuItem:hover {
235
+ background-color: #ffffff40;
236
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":[".\\src\\components\\aggregate-menu\\locale\\en_US.ts"],"sourcesContent":["import { AggregateMenuLocale } from \"../index\";\r\n\r\nconst locale: AggregateMenuLocale = {\r\n title: 'Application menu',\r\n latelyTitle: \"Recently visited\",\r\n notText: 'The favorites list is empty, you can add your usual addresses to your favorites on the right.',\r\n searchPlaceholder: \"Please enter keyword\",\r\n};\r\n\r\nexport default locale\r\n"],"names":["locale","title","latelyTitle","notText","searchPlaceholder"],"mappings":"AAEA,MAAMA,SAA8B;IAClCC,OAAO;IACPC,aAAa;IACbC,SAAS;IACTC,mBAAmB;AACrB;AAEA,eAAeJ,OAAM"}
1
+ {"version":3,"sources":[".\\src\\components\\aggregate-menu\\locale\\en_US.ts"],"sourcesContent":["import { AggregateMenuLocale } from \"../index\";\n\nconst locale: AggregateMenuLocale = {\n title: 'Application menu',\n latelyTitle: \"Recently visited\",\n notText: 'The favorites list is empty, you can add your usual addresses to your favorites on the right.',\n searchPlaceholder: \"Please enter keyword\",\n};\n\nexport default locale\n"],"names":["locale","title","latelyTitle","notText","searchPlaceholder"],"mappings":"AAEA,MAAMA,SAA8B;IAClCC,OAAO;IACPC,aAAa;IACbC,SAAS;IACTC,mBAAmB;AACrB;AAEA,eAAeJ,OAAM"}
@@ -1 +1 @@
1
- {"version":3,"sources":[".\\src\\components\\aggregate-menu\\locale\\zh_CN.ts"],"sourcesContent":["import { AggregateMenuLocale } from \"../index\";\r\n\r\nconst locale: AggregateMenuLocale = {\r\n title: '应用菜单',\r\n latelyTitle: \"最近访问\",\r\n notText: '收藏列表为空,可在右侧将您常用地址添加到收藏。',\r\n searchPlaceholder: \"请输入关键词\",\r\n};\r\n\r\nexport default locale\r\n"],"names":["locale","title","latelyTitle","notText","searchPlaceholder"],"mappings":"AAEA,MAAMA,SAA8B;IAClCC,OAAO;IACPC,aAAa;IACbC,SAAS;IACTC,mBAAmB;AACrB;AAEA,eAAeJ,OAAM"}
1
+ {"version":3,"sources":[".\\src\\components\\aggregate-menu\\locale\\zh_CN.ts"],"sourcesContent":["import { AggregateMenuLocale } from \"../index\";\n\nconst locale: AggregateMenuLocale = {\n title: '应用菜单',\n latelyTitle: \"最近访问\",\n notText: '收藏列表为空,可在右侧将您常用地址添加到收藏。',\n searchPlaceholder: \"请输入关键词\",\n};\n\nexport default locale\n"],"names":["locale","title","latelyTitle","notText","searchPlaceholder"],"mappings":"AAEA,MAAMA,SAA8B;IAClCC,OAAO;IACPC,aAAa;IACbC,SAAS;IACTC,mBAAmB;AACrB;AAEA,eAAeJ,OAAM"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from 'antd';
2
3
  export interface AvatarDropdownLocale {
3
4
  logout: string;
@@ -20,5 +21,5 @@ export interface AvatarDropdownProps {
20
21
  */
21
22
  onLogoutClick?: () => void;
22
23
  }
23
- declare const AvatarDropdown: (props: AvatarDropdownProps) => import("react/jsx-runtime").JSX.Element;
24
+ declare const AvatarDropdown: (props: AvatarDropdownProps) => JSX.Element;
24
25
  export default AvatarDropdown;
@@ -1,23 +1,23 @@
1
- .action {
2
- display: flex;
3
- align-items: center;
4
- height: 48px;
5
- padding: 0 12px;
6
- cursor: pointer;
7
- transition: all 0.3s;
8
- }
9
-
10
- .action>span {
11
- vertical-align: middle;
12
- font-size: 14px;
13
- }
14
-
15
- .account>.avatar {
16
- margin-right: 8px;
17
- vertical-align: top;
18
- background: rgba(255, 255, 255, 0.85);
19
- }
20
-
21
- .menu {
22
- min-width: 160px;
23
- }
1
+ .action {
2
+ display: flex;
3
+ align-items: center;
4
+ height: 48px;
5
+ padding: 0 12px;
6
+ cursor: pointer;
7
+ transition: all 0.3s;
8
+ }
9
+
10
+ .action>span {
11
+ vertical-align: middle;
12
+ font-size: 14px;
13
+ }
14
+
15
+ .account>.avatar {
16
+ margin-right: 8px;
17
+ vertical-align: top;
18
+ background: rgba(255, 255, 255, 0.85);
19
+ }
20
+
21
+ .menu {
22
+ min-width: 160px;
23
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":[".\\src\\components\\avatar-dropdown\\locale\\en_US.ts"],"sourcesContent":["import { AvatarDropdownLocale } from \"../index\";\r\n\r\nconst locale: AvatarDropdownLocale = {\r\n logout: 'logout'\r\n};\r\n\r\nexport default locale\r\n"],"names":["locale","logout"],"mappings":"AAEA,MAAMA,SAA+B;IACnCC,QAAQ;AACV;AAEA,eAAeD,OAAM"}
1
+ {"version":3,"sources":[".\\src\\components\\avatar-dropdown\\locale\\en_US.ts"],"sourcesContent":["import { AvatarDropdownLocale } from \"../index\";\n\nconst locale: AvatarDropdownLocale = {\n logout: 'logout'\n};\n\nexport default locale\n"],"names":["locale","logout"],"mappings":"AAEA,MAAMA,SAA+B;IACnCC,QAAQ;AACV;AAEA,eAAeD,OAAM"}
@@ -1 +1 @@
1
- {"version":3,"sources":[".\\src\\components\\avatar-dropdown\\locale\\zh_CN.ts"],"sourcesContent":["import { AvatarDropdownLocale } from \"../index\";\r\n\r\nconst locale: AvatarDropdownLocale = {\r\n logout: '退出'\r\n};\r\n\r\nexport default locale\r\n"],"names":["locale","logout"],"mappings":"AAEA,MAAMA,SAA+B;IACnCC,QAAQ;AACV;AAEA,eAAeD,OAAM"}
1
+ {"version":3,"sources":[".\\src\\components\\avatar-dropdown\\locale\\zh_CN.ts"],"sourcesContent":["import { AvatarDropdownLocale } from \"../index\";\n\nconst locale: AvatarDropdownLocale = {\n logout: '退出'\n};\n\nexport default locale\n"],"names":["locale","logout"],"mappings":"AAEA,MAAMA,SAA+B;IACnCC,QAAQ;AACV;AAEA,eAAeD,OAAM"}
@@ -26,5 +26,5 @@ export interface CollectProviderProps {
26
26
  */
27
27
  children: ReactNode;
28
28
  }
29
- declare const _default: (props: CollectProviderProps) => import("react/jsx-runtime").JSX.Element;
29
+ declare const _default: (props: CollectProviderProps) => JSX.Element;
30
30
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LocaleType } from '..';
2
3
  export interface I18nDropdownProps {
3
4
  /**
@@ -5,5 +6,5 @@ export interface I18nDropdownProps {
5
6
  */
6
7
  onChange?: (value: LocaleType) => void;
7
8
  }
8
- declare function I18nDropdown(props: I18nDropdownProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function I18nDropdown(props: I18nDropdownProps): JSX.Element;
9
10
  export default I18nDropdown;
@@ -1,13 +1,13 @@
1
- .action {
2
- display: flex;
3
- align-items: center;
4
- height: 48px;
5
- padding: 0 12px;
6
- cursor: pointer;
7
- transition: all 0.3s;
8
- }
9
-
10
- .action > span {
11
- vertical-align: middle;
12
- font-size: 14px;
13
- }
1
+ .action {
2
+ display: flex;
3
+ align-items: center;
4
+ height: 48px;
5
+ padding: 0 12px;
6
+ cursor: pointer;
7
+ transition: all 0.3s;
8
+ }
9
+
10
+ .action > span {
11
+ vertical-align: middle;
12
+ font-size: 14px;
13
+ }
@@ -1,4 +1,4 @@
1
1
  import { SVGProps } from "react";
2
- export declare const OpenWin: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
- export declare const Sun: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
4
- export declare const Moon: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const OpenWin: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export declare const Sun: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => JSX.Element;
4
+ export declare const Moon: (props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) => JSX.Element;
@@ -79,5 +79,5 @@ export interface LayoutProps {
79
79
  */
80
80
  children?: ReactNode;
81
81
  }
82
- declare const Layout: (props: LayoutProps) => import("react/jsx-runtime").JSX.Element;
82
+ declare const Layout: (props: LayoutProps) => JSX.Element;
83
83
  export default Layout;
@@ -17,10 +17,10 @@ import AggregateMenu from '../aggregate-menu';
17
17
  import { MenuOutlined } from '@ant-design/icons';
18
18
  import { listFormatTreeData } from '../_util';
19
19
  import { instanceName } from '@knockout-js/api';
20
- const userMenuListQuery = gql(/* GraphQL */ `query userMenuList($appCode:String!){
21
- userMenus(appCode: $appCode){
22
- id,parentID,kind,name,comments,displaySort,icon,route
23
- }
20
+ const userMenuListQuery = gql(/* GraphQL */ `query userMenuList($appCode:String!){
21
+ userMenus(appCode: $appCode){
22
+ id,parentID,kind,name,comments,displaySort,icon,route
23
+ }
24
24
  }`);
25
25
  const Layout = (props)=>{
26
26
  var _props_themeSwitchProps;