zmdms-webui 2.7.2 → 2.7.4

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 (58) 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 +3 -1
  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/button/interface.d.ts +2 -0
  10. package/dist/es/chatroom/chat-room.js +2 -2
  11. package/dist/es/config/MyStorage.js +91 -0
  12. package/dist/es/config/ZtxkContext.d.ts +8 -0
  13. package/dist/es/config/ZtxkContext.js +5 -0
  14. package/dist/es/config/index.js +1 -0
  15. package/dist/es/container/container.d.ts +3 -0
  16. package/dist/es/container/container.js +3 -2
  17. package/dist/es/container/index.css +1 -1
  18. package/dist/es/electronsignatures/filecomponents/file-upload.js +1 -0
  19. package/dist/es/electronsignatures/index.js +1 -0
  20. package/dist/es/electronsignatures/qunjcomponents/code-modal.js +4 -4
  21. package/dist/es/enhanceselect/list-query.js +1 -0
  22. package/dist/es/enhanceselect/page-query.js +1 -0
  23. package/dist/es/form/common-search-list.js +58 -0
  24. package/dist/es/form/form.d.ts +1 -0
  25. package/dist/es/form/form.js +27 -10
  26. package/dist/es/form/hooks.js +3 -2
  27. package/dist/es/form/index.css +1 -1
  28. package/dist/es/form/interface.d.ts +4 -0
  29. package/dist/es/form/useCommonSearch.js +309 -0
  30. package/dist/es/formitem/formItem.d.ts +10 -1
  31. package/dist/es/formitem/formItem.js +19 -5
  32. package/dist/es/input/index.js +2 -2
  33. package/dist/es/input/input.js +9 -8
  34. package/dist/es/login/forget-password.js +6 -6
  35. package/dist/es/login/index.js +4 -4
  36. package/dist/es/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js +18 -0
  37. package/dist/es/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js +5 -0
  38. package/dist/es/node_modules/localforage/dist/localforage.js +2824 -0
  39. package/dist/es/sortable/sortable-item.d.ts +1 -0
  40. package/dist/es/sortable/sortable-item.js +9 -1
  41. package/dist/es/table/components/EnhanceBodyCell.js +4 -3
  42. package/dist/es/table/components/FilterDropdown.js +2 -2
  43. package/dist/es/table/components/TableDynamicHeader.d.ts +14 -0
  44. package/dist/es/table/components/TableDynamicHeader.js +28 -0
  45. package/dist/es/table/hooks.js +2 -2
  46. package/dist/es/table/index.css +1 -1
  47. package/dist/es/table/interface.d.ts +2 -0
  48. package/dist/es/table/table.js +7 -0
  49. package/dist/es/tree/tree.js +2 -2
  50. package/dist/es/uploadlist/uploadList.js +1 -0
  51. package/dist/es/zttransfer/SelectContainer.js +2 -2
  52. package/dist/index.dark.css +1 -1
  53. package/dist/index.default.css +1 -1
  54. package/dist/less/components/Button/style/index.less +18 -0
  55. package/dist/less/components/Container/style/index.less +3 -0
  56. package/dist/less/components/Form/style/index.less +45 -5
  57. package/dist/less/components/Table/style/index.less +15 -0
  58. package/package.json +3 -2
@@ -90,6 +90,24 @@ button.ant-btn-default {
90
90
  }
91
91
  }
92
92
 
93
+ // 20251111 新增白色背景模式
94
+ button.zt-btn-white {
95
+ background-color: @bg-white;
96
+ color: @weight-3;
97
+ border-color: @weight-3;
98
+ &:focus,
99
+ &:active {
100
+ background-color: @bg-white;
101
+ color: @weight-3;
102
+ border-color: @weight-3;
103
+ }
104
+ &:hover {
105
+ background-color: @bg-white;
106
+ color: @primary-color;
107
+ border-color: @primary-color;
108
+ }
109
+ }
110
+
93
111
  .ant-popover button.ant-btn-primary,
94
112
  button.zt-btn-primary,
95
113
  button.ant-btn-primary {
@@ -54,6 +54,9 @@
54
54
  margin-bottom: @margin-base;
55
55
  margin-right: @margin-base;
56
56
  }
57
+ &.btn-wrap--flex {
58
+ display: flex;
59
+ }
57
60
  }
58
61
 
59
62
  .ztxk-container--scroll-wrap {
@@ -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
  }
@@ -360,3 +360,18 @@
360
360
  }
361
361
  }
362
362
  }
363
+
364
+ // 表格动态头部样式
365
+ .ztxk-table-dynamic--header {
366
+ margin-bottom: @margin-base;
367
+ > button {
368
+ margin-right: @margin-base;
369
+ &:last-child {
370
+ margin-right: 0;
371
+ }
372
+ &.ant-btn > .anticon + span,
373
+ &.ant-btn > span + .anticon {
374
+ margin-left: 2px;
375
+ }
376
+ }
377
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "2.7.2",
3
+ "version": "2.7.4",
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"