@voplus/morpho-document 6.1.49 → 6.1.51

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 (59) hide show
  1. package/es/components/DocumentCard/index.js +1 -1
  2. package/es/components/DocumentCard/index.js.map +1 -1
  3. package/es/components/DocumentHeader/index.js +1 -1
  4. package/es/components/DocumentHeader/index.js.map +1 -1
  5. package/es/components/DocumentItem/DocumentItem2.js +1 -1
  6. package/es/components/DocumentItem/DocumentItem2.js.map +1 -1
  7. package/es/components/DocumentListView/TableCell.js +1 -1
  8. package/es/components/DocumentListView/TableCell.js.map +1 -1
  9. package/es/components/DocumentPanelHeader/index.js +1 -1
  10. package/es/components/DocumentPanelHeader/index.js.map +1 -1
  11. package/es/components/DocumentProperties/index.js +1 -1
  12. package/es/components/DocumentProperties/index.js.map +1 -1
  13. package/es/components/DocumentPropertiesHeader/index.js +1 -1
  14. package/es/components/DocumentPropertiesHeader/index.js.map +1 -1
  15. package/es/components/DocumentTableList/TableCell.js +1 -1
  16. package/es/components/DocumentTableList/TableCell.js.map +1 -1
  17. package/es/components/PropertiesPanelHeader/index.d.ts +9 -14
  18. package/es/components/PropertiesPanelHeader/index.js +17 -45
  19. package/es/components/PropertiesPanelHeader/index.js.map +1 -1
  20. package/es/components/PropertiesPanelHeader/index.less +0 -81
  21. package/es/controls/TagProp/index.d.ts +1 -1
  22. package/es/controls/TagProp/index.js +1 -1
  23. package/es/controls/TagProp/index.js.map +1 -1
  24. package/es/data/tenant-service-execution/interfaces.d.ts +2 -1
  25. package/es/modules/action-plan/components/ActionPlanPropertiesView/index.js +10 -2
  26. package/es/modules/action-plan/components/ActionPlanPropertiesView/index.js.map +1 -1
  27. package/es/modules/message-schedule/components/MessageSchedulePropertiesView/index.js +10 -2
  28. package/es/modules/message-schedule/components/MessageSchedulePropertiesView/index.js.map +1 -1
  29. package/es/modules/message-template/components/MessageTemplateTableList/TableCell.js +1 -1
  30. package/es/modules/message-template/components/MessageTemplateTableList/TableCell.js.map +1 -1
  31. package/es/modules/quick-access/AdvanceFilterForm/index.js +3 -3
  32. package/es/modules/quick-access/AdvanceFilterForm/index.js.map +1 -1
  33. package/es/modules/quick-access/AdvanceFilterForm/state.d.ts +3 -3
  34. package/es/modules/quick-access/AdvanceFilterForm/state.js +4 -4
  35. package/es/modules/quick-access/AdvanceFilterForm/state.js.map +1 -1
  36. package/es/modules/quick-access/GeneralFilterForm/index.js +3 -3
  37. package/es/modules/quick-access/GeneralFilterForm/index.js.map +1 -1
  38. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.js +1 -1
  39. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.js.map +1 -1
  40. package/es/modules/tenant-service/components/TenantServicePropertiesView/index.js +9 -2
  41. package/es/modules/tenant-service/components/TenantServicePropertiesView/index.js.map +1 -1
  42. package/es/modules/tenant-service-execution/components/TenantServiceExecutionItem/index.js +1 -1
  43. package/es/modules/tenant-service-execution/components/TenantServiceExecutionItem/index.js.map +1 -1
  44. package/es/modules/tenant-service-execution/components/TenantServiceExecutionPropertiesView/index.d.ts +0 -3
  45. package/es/modules/tenant-service-execution/components/TenantServiceExecutionPropertiesView/index.js +12 -2
  46. package/es/modules/tenant-service-execution/components/TenantServiceExecutionPropertiesView/index.js.map +1 -1
  47. package/es/obsolete/LibraryDefaultView/index.less +1 -1
  48. package/es/pages/Library/LibraryDefaultView/index.less +1 -1
  49. package/package.json +1 -1
  50. package/es/components/TagView/TagView2.d.ts +0 -5
  51. package/es/components/TagView/TagView2.js +0 -57
  52. package/es/components/TagView/TagView2.js.map +0 -1
  53. package/es/components/TagView/index.d.ts +0 -5
  54. package/es/components/TagView/index.js +0 -53
  55. package/es/components/TagView/index.js.map +0 -1
  56. package/es/components/TagView/index.less +0 -142
  57. package/es/components/TagView/state.d.ts +0 -63
  58. package/es/components/TagView/state.js +0 -323
  59. package/es/components/TagView/state.js.map +0 -1
@@ -1,142 +0,0 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .tag-view {
5
- &:hover .add-tag-btn {
6
- display: inline-block;
7
- }
8
- .ant-tag {
9
- margin: 0 0 0 5px;
10
- padding: 0 5px;
11
- font-size: 12px;
12
- line-height: 15px;
13
- cursor: pointer;
14
- display: inline-flex;
15
- align-items: center;
16
- .anticon-close {
17
- display: none;
18
- }
19
- &:hover .anticon-close {
20
- display: inline-block;
21
- }
22
- }
23
- .add-tag-btn {
24
- display: none;
25
- background-color: "#fff";
26
- border-style: dashed;
27
- &.show {
28
- display: inline-block;
29
- }
30
- }
31
- }
32
- .add-tag-dialog {
33
- width: 336px;
34
- .ant-tag {
35
- margin-top: 10px;
36
- cursor: pointer;
37
- display: inline-flex;
38
- align-items: center;
39
- }
40
- .tag-view-color {
41
- display: flex;
42
- align-items: center;
43
- padding-bottom: 10px;
44
- .tag-color-item {
45
- padding: 2px;
46
- border: 1px solid transparent;
47
- .color {
48
- display: block;
49
- width: 20px;
50
- height: 20px;
51
- border-radius: 50%;
52
- cursor: pointer;
53
- border: 1px solid transparent;
54
- }
55
- }
56
- }
57
- .reselect-information {
58
- display: flex;
59
- justify-content: space-between;
60
- align-items: center;
61
- padding-bottom: 10px;
62
- .ant-tag {
63
- margin-top: 0;
64
- }
65
- .ant-btn {
66
- padding: 0;
67
- height: 24px;
68
- }
69
- }
70
- .item-color + .item-color {
71
- margin-left: 8px;
72
- }
73
- .color-dropdown {
74
- display: inline-block;
75
- width: 20px;
76
- height: 20px;
77
- padding: 2px;
78
- border: 1px solid #e6e6e6;
79
- cursor: pointer;
80
- > span {
81
- display: block;
82
- width: 14px;
83
- height: 14px;
84
- line-height: 14px;
85
- font-size: 12px;
86
- text-align: center;
87
- color: #fff;
88
- background-color: #000;
89
- }
90
- }
91
- .add-tag-dialog-footer {
92
- text-align: right;
93
- padding-top: 5px;
94
- .ant-btn {
95
- height: 28px;
96
- padding: 0;
97
- font-size: 15px;
98
- }
99
- .cancel {
100
- margin-right: 10px;
101
- color: #888;
102
- }
103
- }
104
- .ant-select {
105
- width: 100%;
106
- }
107
- }
108
-
109
- .tag-view-2 {
110
- .ant-tag {
111
- font-size: 14px;
112
- height: 24px;
113
- line-height: 24px;
114
- color: @default-border-color;
115
- border-radius: @border-radius;
116
- margin-right: 10px;
117
- margin-top: 10px;
118
-
119
- cursor: pointer;
120
- display: inline-flex;
121
- align-items: center;
122
- .anticon-close {
123
- display: none;
124
- }
125
- &:hover .anticon-close {
126
- display: inline-block;
127
- }
128
- }
129
- .maxCount {
130
- color: #5d5d5d;
131
- margin-right: 10px;
132
- }
133
- .add-tag-btn {
134
- display: inline-block;
135
- color: #cbcbcb;
136
- line-height: 24px;
137
- text-decoration: underline;
138
- cursor: pointer;
139
- margin-top: 10px;
140
- }
141
- }
142
- }
@@ -1,63 +0,0 @@
1
- import { ITag, DocumentStore } from "@voplus/morpho-document-core";
2
- import { CountedMap } from "@voplus/morpho-data";
3
- export type TagViewProps = {
4
- id: string;
5
- tags?: ITag[];
6
- /** editable of new tag */
7
- editable?: boolean;
8
- className?: string;
9
- items: CountedMap<string, any>;
10
- /** tags 显示的最大数量 */
11
- maxCount?: number;
12
- };
13
- /** colors of preset */
14
- export declare const colorList: ({
15
- value: string;
16
- color: string;
17
- borderColor?: undefined;
18
- } | {
19
- value: string;
20
- color: string;
21
- borderColor: string;
22
- })[];
23
- export declare class State {
24
- private documentStore;
25
- private items;
26
- id: string;
27
- /** porps list of tags */
28
- tags: ITag[];
29
- /** Add list of tags */
30
- addTags: ITag[];
31
- /** load list of tags */
32
- list: any[];
33
- /** name of tag */
34
- name: string;
35
- /** color of tag */
36
- color: string;
37
- /** loaded of tag list */
38
- saveLoading: boolean;
39
- /** data loading */
40
- loading: boolean;
41
- /** visible of AddTagDialog */
42
- visible: boolean;
43
- /** 当前可更改Tag */
44
- info: ITag;
45
- /** */
46
- timer: any;
47
- constructor(documentStore: DocumentStore, items: CountedMap<string, any>);
48
- get show(): boolean;
49
- /** Name of 当前可更改Tag */
50
- get editTagName(): string;
51
- onRemove(e: MouseEvent, tagName: string): void;
52
- onClose(removedTag: string): Promise<void>;
53
- onkeydown: (e: any) => void;
54
- onChange: (name: string) => void;
55
- deduplicate(): void;
56
- onSearch: (value: string) => void;
57
- loadData(): Promise<void>;
58
- onVisibleChange: (visible: boolean) => void;
59
- onOk: () => Promise<void>;
60
- selectColor(value: string): void;
61
- init(): void;
62
- reset(): void;
63
- }
@@ -1,323 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { action, computed, makeObservable, observable, runInAction } from "mobx";
3
- /** colors of preset */
4
- export const colorList = [
5
- { value: "magenta", color: "rgba(235,47,150,1)" },
6
- { value: "red", color: "rgba(245,34,45,1)" },
7
- { value: "volcano", color: "rgba(250,84,28,1)" },
8
- { value: "orange", color: "rgba(250,140,22,1)" },
9
- { value: "gold", color: "rgba(250,173,20,1)" },
10
- { value: "lime", color: "rgba(160,217,17,1)" },
11
- { value: "green", color: "rgba(82,196,26,1)" },
12
- { value: "cyan", color: "rgba(19,194,194,1)" },
13
- { value: "blue", color: "rgba(24,144,255,1)" },
14
- { value: "geekblue", color: "rgba(47,84,235,1)" },
15
- { value: "purple", color: "rgba(114,46,209,1)" },
16
- { value: "black", color: "rgba(0,0,0,1)" },
17
- { value: "grey", color: "rgba(250,250,250,1)", borderColor: "#d9d9d9" },
18
- ];
19
- export class State {
20
- constructor(documentStore, items) {
21
- Object.defineProperty(this, "documentStore", {
22
- enumerable: true,
23
- configurable: true,
24
- writable: true,
25
- value: documentStore
26
- });
27
- Object.defineProperty(this, "items", {
28
- enumerable: true,
29
- configurable: true,
30
- writable: true,
31
- value: items
32
- });
33
- Object.defineProperty(this, "id", {
34
- enumerable: true,
35
- configurable: true,
36
- writable: true,
37
- value: void 0
38
- });
39
- /** porps list of tags */
40
- Object.defineProperty(this, "tags", {
41
- enumerable: true,
42
- configurable: true,
43
- writable: true,
44
- value: []
45
- });
46
- /** Add list of tags */
47
- Object.defineProperty(this, "addTags", {
48
- enumerable: true,
49
- configurable: true,
50
- writable: true,
51
- value: []
52
- });
53
- /** load list of tags */
54
- Object.defineProperty(this, "list", {
55
- enumerable: true,
56
- configurable: true,
57
- writable: true,
58
- value: []
59
- });
60
- /** name of tag */
61
- Object.defineProperty(this, "name", {
62
- enumerable: true,
63
- configurable: true,
64
- writable: true,
65
- value: ""
66
- });
67
- /** color of tag */
68
- Object.defineProperty(this, "color", {
69
- enumerable: true,
70
- configurable: true,
71
- writable: true,
72
- value: "geekblue"
73
- });
74
- /** loaded of tag list */
75
- Object.defineProperty(this, "saveLoading", {
76
- enumerable: true,
77
- configurable: true,
78
- writable: true,
79
- value: false
80
- });
81
- /** data loading */
82
- Object.defineProperty(this, "loading", {
83
- enumerable: true,
84
- configurable: true,
85
- writable: true,
86
- value: false
87
- });
88
- /** visible of AddTagDialog */
89
- Object.defineProperty(this, "visible", {
90
- enumerable: true,
91
- configurable: true,
92
- writable: true,
93
- value: false
94
- });
95
- /** 当前可更改Tag */
96
- Object.defineProperty(this, "info", {
97
- enumerable: true,
98
- configurable: true,
99
- writable: true,
100
- value: void 0
101
- });
102
- /** */
103
- Object.defineProperty(this, "timer", {
104
- enumerable: true,
105
- configurable: true,
106
- writable: true,
107
- value: undefined
108
- });
109
- Object.defineProperty(this, "onkeydown", {
110
- enumerable: true,
111
- configurable: true,
112
- writable: true,
113
- value: (e) => {
114
- if (e.keyCode !== 13)
115
- return;
116
- const tag = this.list.find((tag) => tag.name === name);
117
- if (tag)
118
- this.color = tag.color;
119
- this.deduplicate();
120
- }
121
- });
122
- Object.defineProperty(this, "onChange", {
123
- enumerable: true,
124
- configurable: true,
125
- writable: true,
126
- value: (name) => {
127
- this.name = name.trim();
128
- const tag = this.list.find((tag) => tag.name === name);
129
- if (tag)
130
- this.color = tag.color;
131
- this.deduplicate();
132
- }
133
- });
134
- Object.defineProperty(this, "onSearch", {
135
- enumerable: true,
136
- configurable: true,
137
- writable: true,
138
- value: (value) => {
139
- if (!value)
140
- return;
141
- if (this.timer)
142
- clearTimeout(this.timer);
143
- this.name = value.trim();
144
- this.timer = setTimeout(() => {
145
- this.loadData();
146
- this.timer = undefined;
147
- }, 300);
148
- }
149
- });
150
- Object.defineProperty(this, "onVisibleChange", {
151
- enumerable: true,
152
- configurable: true,
153
- writable: true,
154
- value: (visible) => {
155
- this.visible = !!visible;
156
- this.init();
157
- }
158
- });
159
- Object.defineProperty(this, "onOk", {
160
- enumerable: true,
161
- configurable: true,
162
- writable: true,
163
- value: async () => {
164
- if (!this.addTags.length)
165
- return;
166
- const AddTags = this.addTags.map(({ name, color }) => color ? { Name: name, Color: color } : { Name: name });
167
- this.saveLoading = true;
168
- const result = await this.documentStore.editTags(this.id, {
169
- data: { AddTags },
170
- error: "message",
171
- });
172
- this.items.overwrite(this.id, result);
173
- runInAction(() => (this.saveLoading = false));
174
- runInAction(() => (this.visible = false));
175
- // const tags = state.addTags.map(name => ({ name, color: state.color }));
176
- // runInAction(() => (this.tags = [...this.tags, ...this.addTags]));
177
- }
178
- });
179
- makeObservable(this);
180
- }
181
- get show() {
182
- return !this.tags.length || this.visible;
183
- }
184
- /** Name of 当前可更改Tag */
185
- get editTagName() {
186
- return this.info ? this.info.name : "";
187
- }
188
- onRemove(e, tagName) {
189
- e.preventDefault();
190
- this.addTags = this.addTags.filter(({ name }) => tagName !== name);
191
- if (this.editTagName === tagName)
192
- this.info = {};
193
- }
194
- async onClose(removedTag) {
195
- this.tags = this.tags.filter(({ name }) => name !== removedTag);
196
- const result = await this.documentStore.editTags(this.id, {
197
- data: { RemoveTags: [removedTag] },
198
- error: "message",
199
- });
200
- this.items.overwrite(this.id, result);
201
- }
202
- deduplicate() {
203
- if (this.name &&
204
- !this.addTags.some((item) => item.name === this.name && item.color === this.color)
205
- // && !state.tags.some(tag => tag.name === state.name)
206
- ) {
207
- this.addTags = [
208
- ...this.addTags,
209
- { name: this.name, color: this.color === "grey" ? "" : this.color },
210
- ];
211
- this.reset();
212
- }
213
- }
214
- async loadData() {
215
- try {
216
- this.loading = true;
217
- await this.documentStore.loadTags(this.name || "").then((res) => {
218
- runInAction(() => (this.list = res));
219
- runInAction(() => (this.loading = false));
220
- });
221
- }
222
- catch (error) {
223
- runInAction(() => (this.loading = false));
224
- }
225
- }
226
- selectColor(value) {
227
- this.color = value;
228
- if (this.info)
229
- this.info.color = value;
230
- this.deduplicate();
231
- }
232
- init() {
233
- this.addTags = [];
234
- this.reset();
235
- }
236
- reset() {
237
- this.name = "";
238
- this.color = "geekblue";
239
- this.info = {};
240
- }
241
- }
242
- __decorate([
243
- observable
244
- ], State.prototype, "id", void 0);
245
- __decorate([
246
- observable
247
- ], State.prototype, "tags", void 0);
248
- __decorate([
249
- observable
250
- ], State.prototype, "addTags", void 0);
251
- __decorate([
252
- observable
253
- ], State.prototype, "list", void 0);
254
- __decorate([
255
- observable
256
- ], State.prototype, "name", void 0);
257
- __decorate([
258
- observable
259
- ], State.prototype, "color", void 0);
260
- __decorate([
261
- observable
262
- ], State.prototype, "saveLoading", void 0);
263
- __decorate([
264
- observable
265
- ], State.prototype, "loading", void 0);
266
- __decorate([
267
- observable
268
- ], State.prototype, "visible", void 0);
269
- __decorate([
270
- observable
271
- ], State.prototype, "info", void 0);
272
- __decorate([
273
- computed
274
- ], State.prototype, "show", null);
275
- __decorate([
276
- computed
277
- ], State.prototype, "editTagName", null);
278
- __decorate([
279
- action
280
- ], State.prototype, "onRemove", null);
281
- __decorate([
282
- action
283
- // delete tag
284
- ], State.prototype, "onClose", null);
285
- __decorate([
286
- action
287
- // Enter to 待选列表
288
- ], State.prototype, "onkeydown", void 0);
289
- __decorate([
290
- action
291
- // select to 待选列表
292
- ], State.prototype, "onChange", void 0);
293
- __decorate([
294
- action
295
- // Deduplicate
296
- ], State.prototype, "deduplicate", null);
297
- __decorate([
298
- action
299
- // load tags by keyword
300
- ], State.prototype, "onSearch", void 0);
301
- __decorate([
302
- action
303
- // tags load
304
- ], State.prototype, "loadData", null);
305
- __decorate([
306
- action
307
- // show or hide AddTagDialog
308
- ], State.prototype, "onVisibleChange", void 0);
309
- __decorate([
310
- action
311
- // submit tags
312
- ], State.prototype, "onOk", void 0);
313
- __decorate([
314
- action
315
- ], State.prototype, "selectColor", null);
316
- __decorate([
317
- action
318
- /** 初始化tag */
319
- ], State.prototype, "init", null);
320
- __decorate([
321
- action
322
- ], State.prototype, "reset", null);
323
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/TagView/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAcjF,uBAAuB;AACvB,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,oBAAoB,EAAE;IACjD,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC5C,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAChD,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAChD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC9C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC9C,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC9C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC9C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC9C,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,mBAAmB,EAAE;IACjD,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAChD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EA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