@voplus/morpho-csp 5.0.15 → 5.0.16

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 (95) hide show
  1. package/es/data/filing-record/FilingRecordStore.d.ts +33 -0
  2. package/es/data/filing-record/FilingRecordStore.js +115 -0
  3. package/es/data/filing-record/FilingRecordStore.js.map +1 -0
  4. package/es/data/filing-record/filing-record-events/index.d.ts +3 -0
  5. package/es/data/filing-record/filing-record-events/index.js +4 -0
  6. package/es/data/filing-record/filing-record-events/index.js.map +1 -0
  7. package/es/data/filing-record/filing-record-events/useAutoUpdateListData.d.ts +4 -0
  8. package/es/data/filing-record/filing-record-events/useAutoUpdateListData.js +15 -0
  9. package/es/data/filing-record/filing-record-events/useAutoUpdateListData.js.map +1 -0
  10. package/es/data/filing-record/filing-record-events/useOnDeleteFilingRecore.d.ts +4 -0
  11. package/es/data/filing-record/filing-record-events/useOnDeleteFilingRecore.js +16 -0
  12. package/es/data/filing-record/filing-record-events/useOnDeleteFilingRecore.js.map +1 -0
  13. package/es/data/filing-record/filing-record-events/useOnNewFilingRecore.d.ts +4 -0
  14. package/es/data/filing-record/filing-record-events/useOnNewFilingRecore.js +17 -0
  15. package/es/data/filing-record/filing-record-events/useOnNewFilingRecore.js.map +1 -0
  16. package/es/data/filing-record/hooks.d.ts +10 -0
  17. package/es/data/filing-record/hooks.js +19 -0
  18. package/es/data/filing-record/hooks.js.map +1 -0
  19. package/es/data/filing-record/index.d.ts +4 -0
  20. package/es/data/filing-record/index.js +5 -0
  21. package/es/data/filing-record/index.js.map +1 -0
  22. package/es/data/filing-record/interfaces.d.ts +6 -0
  23. package/es/data/filing-record/interfaces.js.map +1 -0
  24. package/es/data/filing-record/types.d.ts +19 -0
  25. package/es/data/{filing-folder → filing-record}/types.js.map +1 -1
  26. package/es/data/filing-year/interfaces.d.ts +2 -0
  27. package/es/modules/corporate/filing-record/components/AnnualFilings/index.js +2 -2
  28. package/es/modules/corporate/filing-record/components/AnnualFilings/index.js.map +1 -1
  29. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +0 -1
  30. package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.d.ts +6 -0
  31. package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.js +16 -0
  32. package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.js.map +1 -0
  33. package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.less +12 -0
  34. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.d.ts +1 -2
  35. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js +45 -28
  36. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js.map +1 -1
  37. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +39 -9
  38. package/es/modules/corporate/filing-record/components/FilingRecordList/index.d.ts +7 -0
  39. package/es/modules/corporate/filing-record/components/FilingRecordList/index.js +10 -0
  40. package/es/modules/corporate/filing-record/components/FilingRecordList/index.js.map +1 -0
  41. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.d.ts +20 -0
  42. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +46 -0
  43. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -0
  44. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.less +18 -0
  45. package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.d.ts +7 -0
  46. package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js +16 -0
  47. package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js.map +1 -0
  48. package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.less +4 -0
  49. package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.d.ts +9 -0
  50. package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js +12 -0
  51. package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js.map +1 -0
  52. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.d.ts +6 -0
  53. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js +41 -0
  54. package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js.map +1 -0
  55. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.d.ts +7 -0
  56. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js +51 -0
  57. package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js.map +1 -0
  58. package/es/modules/corporate/filing-record/controls/FilingRecoreMenu/index.d.ts +8 -0
  59. package/es/modules/corporate/filing-record/controls/FilingRecoreMenu/index.js +10 -0
  60. package/es/modules/corporate/filing-record/controls/FilingRecoreMenu/index.js.map +1 -0
  61. package/es/modules/corporate/filing-record/filing-year/FilingYearItem/index.d.ts +6 -0
  62. package/es/modules/corporate/filing-record/filing-year/FilingYearItem/index.js +19 -0
  63. package/es/modules/corporate/filing-record/filing-year/FilingYearItem/index.js.map +1 -0
  64. package/es/modules/corporate/filing-record/filing-year/FilingYearItem/index.less +12 -0
  65. package/es/modules/corporate/filing-record/filing-year/FilingYearTabs/index.js +13 -7
  66. package/es/modules/corporate/filing-record/filing-year/FilingYearTabs/index.js.map +1 -1
  67. package/es/modules/corporate/filing-record/filing-year/FilingYearTabs/index.less +4 -0
  68. package/es/obsolete/FilingRecordQuickView/index.js.map +1 -0
  69. package/es/{modules/corporate/filing-record/components → obsolete}/FilingYearTimeLine/index.js +2 -2
  70. package/es/obsolete/FilingYearTimeLine/index.js.map +1 -0
  71. package/es/obsolete/filing-folder/hooks.js.map +1 -0
  72. package/es/obsolete/filing-folder/interfaces.js +2 -0
  73. package/es/obsolete/filing-folder/interfaces.js.map +1 -0
  74. package/es/obsolete/filing-folder/store.js.map +1 -0
  75. package/es/obsolete/filing-folder/types.js +2 -0
  76. package/es/obsolete/filing-folder/types.js.map +1 -0
  77. package/package.json +1 -1
  78. package/es/data/filing-folder/hooks.js.map +0 -1
  79. package/es/data/filing-folder/interfaces.js.map +0 -1
  80. package/es/data/filing-folder/store.js.map +0 -1
  81. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.js.map +0 -1
  82. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.js.map +0 -1
  83. /package/es/data/{filing-folder → filing-record}/interfaces.js +0 -0
  84. /package/es/data/{filing-folder → filing-record}/types.js +0 -0
  85. /package/es/{modules/corporate/filing-record/components → obsolete}/FilingRecordQuickView/index.d.ts +0 -0
  86. /package/es/{modules/corporate/filing-record/components → obsolete}/FilingRecordQuickView/index.js +0 -0
  87. /package/es/{modules/corporate/filing-record/components → obsolete}/FilingRecordQuickView/index.less +0 -0
  88. /package/es/{modules/corporate/filing-record/components → obsolete}/FilingYearTimeLine/index.d.ts +0 -0
  89. /package/es/{modules/corporate/filing-record/components → obsolete}/FilingYearTimeLine/index.less +0 -0
  90. /package/es/{data → obsolete}/filing-folder/hooks.d.ts +0 -0
  91. /package/es/{data → obsolete}/filing-folder/hooks.js +0 -0
  92. /package/es/{data → obsolete}/filing-folder/interfaces.d.ts +0 -0
  93. /package/es/{data → obsolete}/filing-folder/store.d.ts +0 -0
  94. /package/es/{data → obsolete}/filing-folder/store.js +0 -0
  95. /package/es/{data → obsolete}/filing-folder/types.d.ts +0 -0
@@ -0,0 +1,33 @@
1
+ import { ApiEndPoint } from "@voplus/api";
2
+ import { CountedMap, Store } from "@voplus/morpho-data";
3
+ import { CreateFilingRecoreOptions, DeleteFilingRecoreOptions, EditFilingRecoreOptions, LoadFilingRecoreOptions } from "./types";
4
+ import { IFilingRecore } from "./interfaces";
5
+ import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
6
+ /** Quotation store supply backend functions. */
7
+ export declare class FilingRecoreStore extends Store {
8
+ readonly endpoint: ApiEndPoint;
9
+ /** Name of the store */
10
+ readonly name: string;
11
+ private readonly _filingRecoreDeleted;
12
+ private readonly _filingRecoreCreated;
13
+ constructor(endpoint: ApiEndPoint);
14
+ /** All currently used corporate. */
15
+ readonly items: CountedMap<string, IFilingRecore>;
16
+ /** Event fires when a delete filingRecore has been deleted. */
17
+ get FilingRecoreDeletedEvent(): import("strongly-typed-events").IEvent<FilingRecoreStore, IFilingRecore>;
18
+ /** Event fires when a new FilingRecore has been created. */
19
+ get FilingRecoreCreatedEvent(): import("strongly-typed-events").IEvent<FilingRecoreStore, IFilingRecore>;
20
+ /** Create a new Identity. */
21
+ create(options: CreateFilingRecoreOptions): Promise<IFilingRecore>;
22
+ /** Edit an existing item on server. */
23
+ edit(id: string, options: EditFilingRecoreOptions): Promise<void>;
24
+ /** filingRecore 內有文件不能delete */
25
+ delete(ids: string[], options?: DeleteFilingRecoreOptions): Promise<any>;
26
+ /** Load a list of documents from server.
27
+ * @param {LoadDocumentListOptions}
28
+ */
29
+ loadList(options?: LoadDocumentListOptions): Promise<IFilingRecore[]>;
30
+ load(id: string, options: LoadFilingRecoreOptions): Promise<IFilingRecore>;
31
+ }
32
+ /** 响应钩子检索 IdentityStore */
33
+ export declare const useFilingRecoreStore: () => FilingRecoreStore;
@@ -0,0 +1,115 @@
1
+ import { RequestBuilder } from "@voplus/api";
2
+ import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
3
+ import { observable } from "mobx";
4
+ import { EventDispatcher } from "strongly-typed-events";
5
+ const StoreName = "FilingRecoreStore";
6
+ /** Quotation store supply backend functions. */
7
+ export class FilingRecoreStore extends Store {
8
+ constructor(endpoint) {
9
+ super();
10
+ Object.defineProperty(this, "endpoint", {
11
+ enumerable: true,
12
+ configurable: true,
13
+ writable: true,
14
+ value: endpoint
15
+ });
16
+ /** Name of the store */
17
+ Object.defineProperty(this, "name", {
18
+ enumerable: true,
19
+ configurable: true,
20
+ writable: true,
21
+ value: StoreName
22
+ });
23
+ Object.defineProperty(this, "_filingRecoreDeleted", {
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true,
27
+ value: new EventDispatcher()
28
+ });
29
+ Object.defineProperty(this, "_filingRecoreCreated", {
30
+ enumerable: true,
31
+ configurable: true,
32
+ writable: true,
33
+ value: new EventDispatcher()
34
+ });
35
+ /** All currently used corporate. */
36
+ Object.defineProperty(this, "items", {
37
+ enumerable: true,
38
+ configurable: true,
39
+ writable: true,
40
+ value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
41
+ });
42
+ }
43
+ /** Event fires when a delete filingRecore has been deleted. */
44
+ get FilingRecoreDeletedEvent() {
45
+ return this._filingRecoreDeleted.asEvent();
46
+ }
47
+ /** Event fires when a new FilingRecore has been created. */
48
+ get FilingRecoreCreatedEvent() {
49
+ return this._filingRecoreCreated.asEvent();
50
+ }
51
+ /** Create a new Identity. */
52
+ async create(options) {
53
+ // invariant(options.name, "Name cannot be empty.");
54
+ return await this.action(async () => {
55
+ const r = await this.endpoint.post(`/api/csp/corporate/filings/create`, new RequestBuilder().json(options.data));
56
+ const t = (await r.json());
57
+ this._filingRecoreCreated.dispatch(this, t);
58
+ return t;
59
+ }, options);
60
+ }
61
+ /** Edit an existing item on server. */
62
+ async edit(id, options) {
63
+ await this.action(async () => {
64
+ const r = await this.endpoint.post(`/api/csp/corporate/filings/${id}`, new RequestBuilder().json(options.data));
65
+ const t = await r.json();
66
+ this.items.overwrite(t.id, t);
67
+ }, options);
68
+ }
69
+ /** filingRecore 內有文件不能delete */
70
+ async delete(ids, options) {
71
+ return await this.action(async () => {
72
+ await this.endpoint.delete(`/api/csp/corporate/filings/delete`, new RequestBuilder().json({ Ids: ids, Options: options === null || options === void 0 ? void 0 : options.data }));
73
+ const deleted = [];
74
+ for (const id of ids) {
75
+ const item = this.items.peek(id);
76
+ if (item) {
77
+ deleted.push(item);
78
+ this._filingRecoreDeleted.dispatch(this, item);
79
+ }
80
+ }
81
+ return deleted;
82
+ }, options);
83
+ }
84
+ /** Load a list of documents from server.
85
+ * @param {LoadDocumentListOptions}
86
+ */
87
+ async loadList(options) {
88
+ let query = "";
89
+ if (options === null || options === void 0 ? void 0 : options.Includes) {
90
+ query = query.concat(`includes=${options.Includes}`);
91
+ }
92
+ if (query)
93
+ query = "?".concat(query);
94
+ const r = await this.endpoint.post(`/api/csp/corporate/filings${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
95
+ return (await r.json());
96
+ }
97
+ async load(id, options) {
98
+ let query = "";
99
+ if (options.includes)
100
+ query = query.concat(`includes=${options.includes}`);
101
+ if (query)
102
+ query = "?".concat(query);
103
+ const r = await this.endpoint.get(`/api/csp/corporate/filings/${id}${query}`);
104
+ return await r.json();
105
+ }
106
+ }
107
+ /** 响应钩子检索 IdentityStore */
108
+ export const useFilingRecoreStore = () => {
109
+ const context = useApplicationContext();
110
+ if (!context.getStore(StoreName)) {
111
+ context.addStore(new FilingRecoreStore(context.api.currentEndPoint));
112
+ }
113
+ return context.getStore(StoreName);
114
+ };
115
+ //# sourceMappingURL=FilingRecordStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilingRecordStore.js","sourceRoot":"","sources":["../../../src/data/filing-record/FilingRecordStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAsB,MAAM,qBAAqB,CAAC;AASnG,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,gDAAgD;AAChD,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAM3C,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAAgB,QAAQ;WAAa;QALxD,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;QACxB;;;;mBAAuB,IAAI,eAAe,EAAoC;WAAC;QAC/E;;;;mBAAuB,IAAI,eAAe,EAAoC;WAAC;QAMhG,oCAAoC;QACpB;;;;mBAA2C,IAAI,UAAU,CACxE,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EA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ACpC,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9D,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAoB,CAAC;IAC5C,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,EAAU,EAAE,OAAgC;QAC7D,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,CAAC,QAAQ;YAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3E,IAAI,KAAK;YAAE,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,8BAA8B,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QAC9E,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;CACD;AAED,2BAA2B;AAC3B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;QACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;KACrE;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuB,CAAC;AAC1D,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./useOnNewFilingRecore";
2
+ export * from "./useOnDeleteFilingRecore";
3
+ export * from "./useAutoUpdateListData";
@@ -0,0 +1,4 @@
1
+ export * from "./useOnNewFilingRecore";
2
+ export * from "./useOnDeleteFilingRecore";
3
+ export * from "./useAutoUpdateListData";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data/filing-record/filing-record-events/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { IFilingRecore } from "../interfaces";
2
+ import { ListDataContextState } from "@voplus/morpho-ui/es/data";
3
+ /** React hook to call action when a new FilingRecore has been created. */
4
+ export declare const useAutoUpdateListData: (list: ListDataContextState<any>, shouldUpdate: (d: IFilingRecore, event: string) => boolean) => void;
@@ -0,0 +1,15 @@
1
+ import { useOnDeleteFilingRecore, useOnNewFilingRecore } from ".";
2
+ /** React hook to call action when a new FilingRecore has been created. */
3
+ export const useAutoUpdateListData = (list, shouldUpdate) => {
4
+ useOnNewFilingRecore((s, d) => {
5
+ console.log(s, d);
6
+ console.log(shouldUpdate(d, "new"));
7
+ if (shouldUpdate(d, "new"))
8
+ list.union([d]);
9
+ });
10
+ useOnDeleteFilingRecore((s, d) => {
11
+ if (shouldUpdate(d, "new"))
12
+ list.remove(d.id);
13
+ });
14
+ };
15
+ //# sourceMappingURL=useAutoUpdateListData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAutoUpdateListData.js","sourceRoot":"","sources":["../../../../src/data/filing-record/filing-record-events/useAutoUpdateListData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAKlE,0EAA0E;AAC1E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACpC,IAA+B,EAC/B,YAA0D,EACzD,EAAE;IACH,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QAC7B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAClB,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;QACpC,IAAI,YAAY,CAAC,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,uBAAuB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QAChC,IAAI,YAAY,CAAC,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FilingRecoreStore } from "../FilingRecordStore";
2
+ import { IFilingRecore } from "../interfaces";
3
+ /** React hook to call action when a delete FilingRecore has been created. */
4
+ export declare const useOnDeleteFilingRecore: (action: (store: FilingRecoreStore, doc: IFilingRecore) => void) => void;
@@ -0,0 +1,16 @@
1
+ import { useFilingRecoreStore } from "../FilingRecordStore";
2
+ import { useEffect } from "react";
3
+ /** React hook to call action when a delete FilingRecore has been created. */
4
+ export const useOnDeleteFilingRecore = (action) => {
5
+ const store = useFilingRecoreStore();
6
+ const onDeleteFilingRecore = (store, doc) => {
7
+ action(store, doc);
8
+ };
9
+ useEffect(() => {
10
+ store.FilingRecoreDeletedEvent.subscribe(onDeleteFilingRecore);
11
+ return () => {
12
+ store.FilingRecoreDeletedEvent.unsubscribe(onDeleteFilingRecore);
13
+ };
14
+ });
15
+ };
16
+ //# sourceMappingURL=useOnDeleteFilingRecore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOnDeleteFilingRecore.js","sourceRoot":"","sources":["../../../../src/data/filing-record/filing-record-events/useOnDeleteFilingRecore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG/E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,6EAA6E;AAC7E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAA8D,EAAE,EAAE;IACzG,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,oBAAoB,GAAG,CAAC,KAAwB,EAAE,GAAkB,EAAE,EAAE;QAC7E,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACpB,CAAC,CAAC;IACF,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QAC/D,OAAO,GAAG,EAAE;YACX,KAAK,CAAC,wBAAwB,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAClE,CAAC,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FilingRecoreStore } from "../FilingRecordStore";
2
+ import { IFilingRecore } from "../interfaces";
3
+ /** React hook to call action when a new FilingRecore has been created. */
4
+ export declare const useOnNewFilingRecore: (action: (store: FilingRecoreStore, doc: IFilingRecore) => void) => void;
@@ -0,0 +1,17 @@
1
+ import { useFilingRecoreStore } from "../FilingRecordStore";
2
+ import { useEffect } from "react";
3
+ /** React hook to call action when a new FilingRecore has been created. */
4
+ export const useOnNewFilingRecore = (action) => {
5
+ const store = useFilingRecoreStore();
6
+ const onNewFilingRecore = (store, doc) => {
7
+ // console.log(`onNewFilingRecore - ${doc.id} ${doc.name}`);
8
+ action(store, doc);
9
+ };
10
+ useEffect(() => {
11
+ store.FilingRecoreCreatedEvent.subscribe(onNewFilingRecore);
12
+ return () => {
13
+ store.FilingRecoreCreatedEvent.unsubscribe(onNewFilingRecore);
14
+ };
15
+ });
16
+ };
17
+ //# sourceMappingURL=useOnNewFilingRecore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOnNewFilingRecore.js","sourceRoot":"","sources":["../../../../src/data/filing-record/filing-record-events/useOnNewFilingRecore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG/E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,0EAA0E;AAC1E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,MAA8D,EAAE,EAAE;IACtG,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,iBAAiB,GAAG,CAAC,KAAwB,EAAE,GAAkB,EAAE,EAAE;QAC1E,4DAA4D;QAC5D,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACpB,CAAC,CAAC;IACF,SAAS,CAAC,GAAG,EAAE;QACd,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAC5D,OAAO,GAAG,EAAE;YACX,KAAK,CAAC,wBAAwB,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;QAC/D,CAAC,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
2
+ import { IFilingRecore } from "./interfaces";
3
+ import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
+ import { LoadFilingRecoreOptions } from ".";
5
+ /** React hook to retrieve a filingRecore
6
+ * @param {string} id - id of the filingRecore
7
+ * @param {LoadDocumentOptions} options - options
8
+ */
9
+ export declare const useFilingRecore: (id: string, options?: LoadFilingRecoreOptions) => IFilingRecore;
10
+ export declare const useFilingRecoreListEffect: (list: ListDataContextState<IFilingRecore> | null, effect: (list: any[], total: number) => void, options?: LoadDocumentListOptions) => void;
@@ -0,0 +1,19 @@
1
+ import { useDocumentListLoaderEffect } from "@voplus/morpho-document-core";
2
+ import { useLoadCountedMapItem } from "@voplus/morpho-data";
3
+ import { useFilingRecoreStore } from "./FilingRecordStore";
4
+ /** React hook to retrieve a filingRecore
5
+ * @param {string} id - id of the filingRecore
6
+ * @param {LoadDocumentOptions} options - options
7
+ */
8
+ export const useFilingRecore = (id, options) => {
9
+ options = options ? options : {};
10
+ const store = useFilingRecoreStore();
11
+ return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
12
+ };
13
+ export const useFilingRecoreListEffect = (list, effect, options) => {
14
+ const deps = options ? options : {};
15
+ const store = useFilingRecoreStore();
16
+ // Call useDocumentListEffect and ensure won't load twice for same loading options.
17
+ return useDocumentListLoaderEffect(list, effect, () => store.loadList(options), [deps]);
18
+ };
19
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/filing-record/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAKpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAAiC,EAAE,EAAE;IAChF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAC9D,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACxC,IAAgD,EAChD,MAA4C,EAC5C,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./interfaces";
2
+ export * from "./FilingRecordStore";
3
+ export * from "./hooks";
4
+ export * from "./types";
@@ -0,0 +1,5 @@
1
+ export * from "./interfaces";
2
+ export * from "./FilingRecordStore";
3
+ export * from "./hooks";
4
+ export * from "./types";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/filing-record/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ILoadable } from "@voplus/morpho-data";
2
+ export interface IFilingRecore extends ILoadable {
3
+ id: string;
4
+ name: string;
5
+ dueDate: string;
6
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/filing-record/interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
2
+ import { DeleteDocumentOptions } from "@voplus/morpho-document-core";
3
+ import { IFilingRecore } from "./interfaces";
4
+ /** Custom load org contact options type */
5
+ export type LoadFilingRecoreOptions = {
6
+ /** Comma separated include options e.g. path */
7
+ includes?: string;
8
+ } & LoadOptions<IFilingRecore>;
9
+ export type FilingRecoreCreateOptions = {};
10
+ export type FilingRecoreEditOptions = {};
11
+ export type CreateFilingRecoreOptions = {
12
+ data: FilingRecoreCreateOptions;
13
+ } & StoreActionOptions;
14
+ export type EditFilingRecoreOptions = {
15
+ data: FilingRecoreEditOptions;
16
+ } & StoreActionOptions;
17
+ export type DeleteFilingRecoreOptions = {
18
+ data?: DeleteDocumentOptions;
19
+ } & StoreActionOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/filing-folder/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/filing-record/types.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
1
  import { ILoadable } from "@voplus/morpho-data";
2
+ import { IFilingRecore } from "../filing-record";
2
3
  export interface IFilingYear extends ILoadable {
3
4
  id: string;
4
5
  parentId: string;
5
6
  fYE: string;
7
+ filings?: IFilingRecore[];
6
8
  }
@@ -6,7 +6,7 @@ import { useFilingYearListEffect } from "../../../../../data/filing-year";
6
6
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
7
7
  import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
8
8
  import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
9
- import FilingRecordItem from "../FilingRecordItem";
9
+ import FilingYearItem from "../../filing-year/FilingYearItem";
10
10
  import PageHeader from "@voplus/morpho-ui/es/components/PageHeader";
11
11
  import InfiniteScrollView from "@voplus/morpho-ui/es/controls/InfiniteScrollView";
12
12
  import NewFilingYearDialog from "../../filing-year/NewFilingYearDialog";
@@ -36,7 +36,7 @@ const AnnualFilings = (props) => {
36
36
  React.createElement(PageHeader, { titleView: "Annual Filings", onAdd: () => setVisible(true) })),
37
37
  React.createElement(AsideContent, { context: asideContext },
38
38
  React.createElement("div", { className: "annual-filings-list" },
39
- React.createElement(InfiniteScrollView, { empty: list.isEmpty, loading: list.loading, hasMore: list.hasMore, loadMore: loadMore }, (list.data || []).map((filing, index) => (React.createElement(FilingRecordItem, { id: filing.id, key: filing.id, onClickItem: (id) => onClickItem(id) })))),
39
+ React.createElement(InfiniteScrollView, { empty: list.isEmpty, loading: list.loading, hasMore: list.hasMore, loadMore: loadMore }, (list.data || []).map((filing, index) => (React.createElement(FilingYearItem, { id: filing.id, key: filing.id, onClickItem: (id) => onClickItem(id) })))),
40
40
  visible && (React.createElement(NewFilingYearDialog, { corporateId: id, onCancel: () => setVisible(false), onCreate: () => setVisible(false) })),
41
41
  quickView.show && (React.createElement(FilingYearQuickViewDialog, { visible: true, id: quickView.id, onCancel: () => setQuickView({ show: false, id: "" }) }))))))));
42
42
  /** 分页查询 */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/AnnualFilings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAe,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,mBAAmB,MAAM,uCAAuC,CAAC;AACxE,OAAO,wBAAwB,MAAM,4CAA4C,CAAC;AAClF,OAAO,yBAAyB,MAAM,6CAA6C,CAAC;AACpF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,IAAI,GAAG,cAAc,EAAE,CAAC;IAC9B,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,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;SAChD;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/AnnualFilings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAe,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,mBAAmB,MAAM,uCAAuC,CAAC;AACxE,OAAO,wBAAwB,MAAM,4CAA4C,CAAC;AAClF,OAAO,yBAAyB,MAAM,6CAA6C,CAAC;AACpF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,IAAI,GAAG,cAAc,EAAE,CAAC;IAC9B,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAA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asideContent___WPUKh {
12
12
  height: calc(100% - 65px);
13
- padding: 0 20px;
14
13
  }
15
14
  }
16
15
  }
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const FilingHeader: (props: {
4
+ id: string;
5
+ }) => React.JSX.Element;
6
+ export default FilingHeader;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { useFilingRecore } from "../../../../../data/filing-record";
4
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
5
+ import FilingRecoreMenu from "../../controls/FilingRecoreMenu";
6
+ import "./index.less";
7
+ const FilingHeader = (props) => {
8
+ const id = props.id;
9
+ const filing = useFilingRecore(id);
10
+ return observe(() => (React.createElement("div", { className: "filing-header" },
11
+ React.createElement("div", null, filing.name),
12
+ React.createElement(ToolBar, { id: id, showMenu: false },
13
+ React.createElement(FilingRecoreMenu, { id: id })))));
14
+ };
15
+ export default FilingHeader;
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,CAAC;AAEtB,MAAM,YAAY,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9C,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,MAAM,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;IAEnC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,eAAe;QAC7B,iCAAM,MAAM,CAAC,IAAI,CAAO;QACxB,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;YAC/B,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,CACnB,CACL,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ :global {
2
+ .filing-header {
3
+ font-size: 24px;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ padding: 10px 20px;
7
+
8
+ .tools-bar {
9
+ text-align: right;
10
+ }
11
+ }
12
+ }
@@ -1,7 +1,6 @@
1
1
  import React from "react";
2
- import "./index.less";
3
2
  declare const FilingRecordItem: (props: {
4
3
  id: string;
5
- onClickItem?: ((id: string) => void) | undefined;
4
+ borderBottom?: boolean;
6
5
  }) => React.JSX.Element;
7
6
  export default FilingRecordItem;
@@ -1,33 +1,50 @@
1
- import React from "react";
2
- import { Switch } from "antd";
3
- import { observe } from "@voplus/morpho-ui";
4
- import { useFilingYear } from "../../../../../data/filing-year";
5
- import moment from "moment";
6
- import "./index.less";
1
+ import React, { useState } from "react";
2
+ import { observe, useAsideContentContext } from "@voplus/morpho-ui";
3
+ import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
4
+ import { Skeleton } from "antd";
5
+ import { useLayout } from "@voplus/morpho-data";
6
+ import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
7
+ import { useFilingRecore } from "../../../../../data/filing-record";
8
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
9
+ import FilingRecordQuickViewDialog from "../FilingRecordQuickViewDialog";
10
+ import FilingRecordPropertiesView from "../FilingRecordPropertiesView";
11
+ import FilingRecoreMenu from "../../controls/FilingRecoreMenu";
12
+ import classnames from "classnames";
13
+ import styles from "./index.less";
14
+ import dayjs from "dayjs";
7
15
  const FilingRecordItem = (props) => {
8
16
  const { id } = props;
9
- const filingRecord = useFilingYear(id);
10
- return observe(() => (React.createElement("div", { onClick: onClickItem },
11
- React.createElement("div", { className: "filing-record-item_name" }),
12
- React.createElement("div", null,
13
- moment().format("YYYY-MM-DD"),
14
- " ",
15
- " to ",
16
- moment().format("YYYY-MM-DD"),
17
- React.createElement("span", { className: "filing-record-item_type" }, "Type"),
18
- "Exempted ",
19
- React.createElement(Switch, { disabled: true, defaultChecked: true })),
20
- React.createElement("div", null,
21
- "FYE: ",
22
- moment(filingRecord.fYE).format("YYYY-MM-DD")))));
23
- function onClickItem() {
24
- if (props.onClickItem)
25
- props.onClickItem(id);
26
- }
27
- function onSave(v) {
28
- if (moment(v).isSame("", "day"))
29
- return;
30
- // filingStore.edit(id, { data: { DueDate: v.format("YYYY-MM-DD") }, error: "message" });
17
+ const filing = useFilingRecore(id);
18
+ const asideContext = useAsideContentContext();
19
+ const layout = useLayout();
20
+ const view = useViewContext();
21
+ const [hover, setHover] = useState(false);
22
+ const [visibleQuickView, setVisibleQuickView] = useState(false);
23
+ return observe(() => (React.createElement(React.Fragment, null,
24
+ filing.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement("div", { className: classnames(styles["filing-item"], {
25
+ "border-bottom": props.borderBottom,
26
+ }), onClick: onQuickView, onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false) },
27
+ React.createElement(ColumnItem, null,
28
+ React.createElement(ColumnItemCol, { span: 12 },
29
+ React.createElement("div", { className: "filing-item-name" }, `${filing.name}`),
30
+ React.createElement("div", { className: "filing-item-data-info-gray" })),
31
+ React.createElement(ColumnItemCol, { span: 6, title: "Due Date" },
32
+ React.createElement("div", { className: "filing-item-data-info" }, filing.dueDate ? dayjs(filing.dueDate).format("YYYY-MM-DD") : null)),
33
+ React.createElement(ColumnItemCol, { span: 6, align: "flex-end" },
34
+ React.createElement("div", { className: classnames("filing-item-tool", { show: hover }) },
35
+ React.createElement(ToolBar, { id: id, showMenu: false },
36
+ React.createElement(FilingRecoreMenu, { id: id, closeAside: true }))))))),
37
+ visibleQuickView && (React.createElement(FilingRecordQuickViewDialog, { id: id, visible: true, onCancel: () => setVisibleQuickView(!visibleQuickView) })))));
38
+ /** Quick View */
39
+ function onQuickView() {
40
+ if ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") {
41
+ setVisibleQuickView(!visibleQuickView);
42
+ }
43
+ else {
44
+ asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(FilingRecordPropertiesView, { id: id }), {
45
+ span: 12,
46
+ });
47
+ }
31
48
  }
32
49
  };
33
50
  export default FilingRecordItem;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAAyD,EAAE,EAAE;IACtF,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,YAAY,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,OAAO,EAAE,WAAW;QACxB,6BAAK,SAAS,EAAC,yBAAyB,GAAkC;QAC1E;YACE,MAAM,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC;;YAAG,MAAM;YACtC,MAAM,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC;YAC9B,8BAAM,SAAS,EAAC,yBAAyB,WAAY;;YAC5C,oBAAC,MAAM,IAAC,QAAQ,QAAC,cAAc,SAAG,CACtC;QACN;;YAAW,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAO,CAC1D,CACN,CAAC,CAAC;IAEH,SAAS,WAAW;QACnB,IAAI,KAAK,CAAC,WAAW;YAAE,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC9C,CAAC;IAED,SAAS,MAAM,CAAC,CAAgB;QAC/B,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC;YAAE,OAAO;QACxC,yFAAyF;IAC1F,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE1F,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,KAA6C,EAAE,EAAE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,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAC9D,CACS;gBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,UAAU;oBACvC,6BAAK,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;wBAC9D,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;4BAC/B,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACJ,CACR,CACN;QACA,gBAAgB,IAAI,CACpB,oBAAC,2BAA2B,IAC3B,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,IAAI,EACb,QAAQ,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,GACrD,CACF,CACe,CACjB,CAAC,CAAC;IAEH,iBAAiB;IACjB,SAAS,WAAW;QACnB,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,gBAAgB,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,EAAE;YAClE,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;SACvC;aAAM;YACN,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE;gBAC/D,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,12 +1,42 @@
1
- :global {
2
- .filing-record-item_name {
3
- padding-bottom: 5px;
4
- color: #000;
5
- font-size: 15px;
6
- font-weight: 500;
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .filing-item {
4
+ cursor: pointer;
5
+
6
+ &:global(.border-bottom) {
7
+ border-bottom: 1px solid #f2f2f2;
7
8
  }
8
- .filing-record-item_type {
9
- margin: 0 10px;
10
- font-style: italic;
9
+
10
+ &:hover {
11
+ background-color: #f5f8fd;
12
+ }
13
+
14
+ :global {
15
+ .filing-item-name {
16
+ color: #575757;
17
+ font-weight: 500;
18
+ word-break: break-all;
19
+ }
20
+
21
+ .filing-item-data-info {
22
+ height: 22px;
23
+ }
24
+
25
+ .filing-item-data-info-gray {
26
+ color: #777;
27
+ }
28
+
29
+ .filing-item-tool {
30
+ display: none;
31
+
32
+ &.show {
33
+ display: block;
34
+ }
35
+ }
36
+
37
+ .custom-column-item___yTecf {
38
+ padding: 10px 20px;
39
+ border-bottom: none;
40
+ }
11
41
  }
12
42
  }
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { IFilingRecore } from "../../../../../data/filing-record";
3
+ declare const FilingRecordList: (props: {
4
+ filings: IFilingRecore[];
5
+ className?: string;
6
+ }) => React.JSX.Element;
7
+ export default FilingRecordList;