zmdms-webui 2.7.3 → 2.7.5

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 (49) hide show
  1. package/dist/es/_virtual/localforage.js +3 -0
  2. package/dist/es/applayoutheader/setting/userInfoModal.js +6 -6
  3. package/dist/es/applayoutheader/setting/userPwdModal.js +4 -4
  4. package/dist/es/applayoutsider/menu/SearchInput.js +2 -2
  5. package/dist/es/button/button.js +1 -0
  6. package/dist/es/button/buttonDownload.js +1 -0
  7. package/dist/es/button/buttonPreview.js +1 -0
  8. package/dist/es/button/index.css +1 -1
  9. package/dist/es/chatroom/chat-room.js +2 -2
  10. package/dist/es/config/MyStorage.js +91 -0
  11. package/dist/es/config/ZtxkContext.d.ts +4 -0
  12. package/dist/es/config/ZtxkContext.js +4 -0
  13. package/dist/es/config/index.js +1 -0
  14. package/dist/es/dynamicsetting/hooks.js +6 -2
  15. package/dist/es/dynamicsetting/useDynamic.js +21 -3
  16. package/dist/es/electronsignatures/filecomponents/file-upload.js +1 -0
  17. package/dist/es/electronsignatures/index.js +1 -0
  18. package/dist/es/electronsignatures/qunjcomponents/code-modal.js +4 -4
  19. package/dist/es/enhanceselect/list-query.js +1 -0
  20. package/dist/es/enhanceselect/page-query.js +1 -0
  21. package/dist/es/form/common-search-list.js +58 -0
  22. package/dist/es/form/form.d.ts +1 -0
  23. package/dist/es/form/form.js +27 -10
  24. package/dist/es/form/hooks.js +3 -2
  25. package/dist/es/form/index.css +1 -1
  26. package/dist/es/form/interface.d.ts +4 -0
  27. package/dist/es/form/useCommonSearch.js +306 -0
  28. package/dist/es/formitem/formItem.d.ts +10 -1
  29. package/dist/es/formitem/formItem.js +19 -5
  30. package/dist/es/input/index.js +2 -2
  31. package/dist/es/input/input.js +9 -8
  32. package/dist/es/login/forget-password.js +6 -6
  33. package/dist/es/login/index.js +4 -4
  34. package/dist/es/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js +18 -0
  35. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js +5 -0
  36. package/dist/es/node_modules/localforage/dist/localforage.js +2824 -0
  37. package/dist/es/sortable/sortable-item.d.ts +1 -0
  38. package/dist/es/sortable/sortable-item.js +9 -1
  39. package/dist/es/table/components/EnhanceBodyCell.js +4 -3
  40. package/dist/es/table/components/FilterDropdown.js +2 -2
  41. package/dist/es/table/hooks.js +2 -2
  42. package/dist/es/tree/tree.js +2 -2
  43. package/dist/es/uploadlist/uploadList.js +1 -0
  44. package/dist/es/zttransfer/SelectContainer.js +2 -2
  45. package/dist/index.dark.css +1 -1
  46. package/dist/index.default.css +1 -1
  47. package/dist/less/components/Button/style/index.less +5 -0
  48. package/dist/less/components/Form/style/index.less +45 -5
  49. package/package.json +3 -2
@@ -101,6 +101,11 @@ button.zt-btn-white {
101
101
  color: @weight-3;
102
102
  border-color: @weight-3;
103
103
  }
104
+ &:hover {
105
+ background-color: @bg-white;
106
+ color: @primary-color;
107
+ border-color: @primary-color;
108
+ }
104
109
  }
105
110
 
106
111
  .ant-popover button.ant-btn-primary,
@@ -139,11 +139,51 @@
139
139
  // 右侧容器
140
140
  .ztxk-form__right {
141
141
  display: flex;
142
- > button.ant-btn {
143
- margin-left: 10px;
144
- margin-right: 0;
145
- &:first-child {
146
- margin-left: 0;
142
+ flex-direction: column;
143
+ .ztxk-form__right--common-left {
144
+ display: flex;
145
+ > button.ant-btn {
146
+ margin-left: 10px;
147
+ margin-right: 0;
148
+ &:first-child {
149
+ margin-left: 0;
150
+ }
151
+ }
152
+ }
153
+ .ztxk-form__right--common-right {
154
+ margin-top: 13px;
155
+ }
156
+ }
157
+ }
158
+
159
+ .common-search-list--container {
160
+ display: flex;
161
+ margin-bottom: 10px;
162
+ line-height: 26px;
163
+ flex-direction: row;
164
+ .common-search-list--title {
165
+ color: rgb(153, 153, 153);
166
+ }
167
+ .common-search-list--content {
168
+ display: flex;
169
+ margin-left: 10px;
170
+ max-height: 76px;
171
+ overflow-y: auto;
172
+ flex: 1;
173
+ flex-wrap: wrap;
174
+ > div {
175
+ padding-right: 10px;
176
+ &:last-child {
177
+ padding-right: 0;
178
+ }
179
+ .ant-btn {
180
+ height: 26px;
181
+ padding: 4px 8px;
182
+ margin-bottom: 10px;
183
+ }
184
+ .ant-btn > .anticon {
185
+ margin-top: 2px;
186
+ margin-left: 4px;
147
187
  }
148
188
  }
149
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "2.7.3",
3
+ "version": "2.7.5",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",
@@ -111,6 +111,7 @@
111
111
  "jspdf": "^2.5.1",
112
112
  "less": "^4.1.3",
113
113
  "less-loader": "10.2.0",
114
+ "localforage": "^1.10.0",
114
115
  "lodash": "^4.17.21",
115
116
  "postcss": "^8.4.21",
116
117
  "print-js": "^1.6.0",
@@ -135,7 +136,7 @@
135
136
  "storybook": "^7.6.16",
136
137
  "typescript": "^4.9.5",
137
138
  "web-vitals": "^2.1.4",
138
- "zmdms-utils": "^0.0.83"
139
+ "zmdms-utils": "^0.0.84"
139
140
  },
140
141
  "resolutions": {
141
142
  "rc-virtual-list": "3.11.3"