@voplus/morpho-csp 10.0.5 → 10.0.7

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 (67) hide show
  1. package/es/components/RegisterTable/index.d.ts +31 -0
  2. package/es/components/RegisterTable/index.js +55 -0
  3. package/es/components/RegisterTable/index.js.map +1 -0
  4. package/es/components/StatusLabel/index.d.ts +36 -0
  5. package/es/components/StatusLabel/index.js +16 -0
  6. package/es/components/StatusLabel/index.js.map +1 -0
  7. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.d.ts +13 -1
  8. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +94 -39
  9. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
  10. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +0 -1
  11. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +66 -95
  12. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  13. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +23 -13
  14. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
  15. package/es/modules/corporate/company/member-register/components/{MemberTableListCard → MemberTableList}/TableCellDetail.d.ts +13 -1
  16. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +125 -0
  17. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +1 -0
  18. package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +2 -3
  19. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +63 -9
  20. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  21. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.d.ts +21 -0
  22. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +86 -0
  23. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +1 -0
  24. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +1 -16
  25. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +17 -133
  26. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
  27. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +15 -12
  28. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
  29. package/es/modules/corporate/company/officer-register/components/{OfficerTableListCard → OfficerTableList}/TableCellDetail.d.ts +13 -1
  30. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +140 -0
  31. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +1 -0
  32. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +2 -3
  33. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +74 -11
  34. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  35. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.d.ts +23 -0
  36. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +87 -0
  37. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +1 -0
  38. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +3 -24
  39. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +22 -140
  40. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
  41. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.d.ts +0 -2
  42. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +20 -37
  43. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
  44. package/es/modules/corporate/company/pages/RegisterTablePage/index.d.ts +10 -0
  45. package/es/modules/corporate/company/pages/RegisterTablePage/index.js +151 -0
  46. package/es/modules/corporate/company/pages/RegisterTablePage/index.js.map +1 -0
  47. package/package.json +2 -1
  48. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.d.ts +0 -13
  49. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js +0 -63
  50. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js.map +0 -1
  51. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.css +0 -122
  52. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +0 -77
  53. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js.map +0 -1
  54. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.d.ts +0 -13
  55. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js +0 -52
  56. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js.map +0 -1
  57. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +0 -87
  58. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js.map +0 -1
  59. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.d.ts +0 -13
  60. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js +0 -65
  61. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js.map +0 -1
  62. package/es/page/RegisterTablePage/Controller.d.ts +0 -3
  63. package/es/page/RegisterTablePage/Controller.js +0 -134
  64. package/es/page/RegisterTablePage/Controller.js.map +0 -1
  65. package/es/page/RegisterTablePage/index.d.ts +0 -3
  66. package/es/page/RegisterTablePage/index.js +0 -63
  67. package/es/page/RegisterTablePage/index.js.map +0 -1
@@ -1,134 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Input, Button, Table, Tag, Popover, Checkbox, Pagination } from "antd";
3
- import { faFilterSolid, faPaperPlaneSolid, faUploadSolid, } from "@voplus/morpho-ui/es/faIcons";
4
- import { FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
5
- import { SearchOutlined, PlusOutlined, MoreOutlined, MailOutlined, PhoneOutlined, CheckCircleOutlined, StopOutlined, } from "@ant-design/icons";
6
- import { observe } from "@voplus/morpho-ui";
7
- const Controller = () => {
8
- const [filterVisible, setFilterVisible] = useState(true);
9
- // 表格数据
10
- const dataSource = [
11
- {
12
- key: "1",
13
- name: "YUEN MAY WAN",
14
- email: "yuen.wan@example.com",
15
- phone: "+60199968899",
16
- date: "14 Mar2023",
17
- confirmation: "CONFIRMED",
18
- identityVerified: true,
19
- identityConfirmed: true,
20
- },
21
- {
22
- key: "2",
23
- name: "YUEN MAY WAN",
24
- email: "yuen.wan@example.com",
25
- phone: "+60199968899",
26
- date: "14 Mar2023",
27
- confirmation: "UNCONFIRMED",
28
- identityVerified: false,
29
- identityConfirmed: false,
30
- },
31
- {
32
- key: "3",
33
- name: "YUEN MAY WAN",
34
- email: "yuen.wan@example.com",
35
- phone: "+60199968899",
36
- date: "14 Mar2023",
37
- confirmation: "CONFIRMED",
38
- identityVerified: true,
39
- identityConfirmed: true,
40
- },
41
- {
42
- key: "4",
43
- name: "YUEN MAY WAN",
44
- email: "yuen.wan@example.com",
45
- phone: "+60199968899",
46
- date: "14 Mar2023",
47
- confirmation: "UNCONFIRMED",
48
- identityVerified: false,
49
- identityConfirmed: false,
50
- },
51
- ];
52
- // 表格列定义
53
- const columns = [
54
- {
55
- title: "CONTROLLERS NAME",
56
- dataIndex: "name",
57
- key: "name",
58
- render: (text, record) => (React.createElement("div", { className: "flex items-center gap-3" },
59
- React.createElement("div", { className: "w-10 h-10 rounded bg-blue-100 text-blue-600 font-bold flex items-center justify-center" }, "YW"),
60
- React.createElement("div", null,
61
- React.createElement("div", { className: "font-semibold text-gray-800" }, text),
62
- React.createElement("div", { className: "text-xs text-gray-500 flex items-center gap-2 mt-1" },
63
- React.createElement("span", null,
64
- React.createElement(MailOutlined, null),
65
- " ",
66
- record.email),
67
- React.createElement("span", null,
68
- React.createElement(PhoneOutlined, null),
69
- " ",
70
- record.phone))))),
71
- },
72
- {
73
- title: "APPOINTMENT",
74
- dataIndex: "date",
75
- key: "date",
76
- render: (text) => React.createElement("span", { className: "text-gray-600" }, text || "—"),
77
- },
78
- {
79
- title: "CONFIRMATION",
80
- key: "confirmation",
81
- dataIndex: "confirmation",
82
- render: (status) => (React.createElement(Tag, { color: status === "CONFIRMED" ? "success" : "default", className: "rounded-full px-3 font-semibold" },
83
- React.createElement("span", { className: status === "CONFIRMED" ? "text-green-600" : "text-gray-500" },
84
- "\u25CF ",
85
- status))),
86
- },
87
- {
88
- title: "IDENTITY STATUS",
89
- key: "identity",
90
- render: (_, record) => (React.createElement("div", { className: "flex items-center gap-3 text-sm" },
91
- record.identityVerified ? (React.createElement("span", { className: "text-blue-600 font-medium whitespace-nowrap" },
92
- React.createElement(CheckCircleOutlined, null),
93
- " Verified")) : (React.createElement("span", { className: "text-gray-400 whitespace-nowrap" },
94
- React.createElement(StopOutlined, null),
95
- " Pending")),
96
- record.identityConfirmed && (React.createElement("span", { className: "text-blue-600 font-medium whitespace-nowrap" },
97
- React.createElement(CheckCircleOutlined, null),
98
- " Confirmed")))),
99
- },
100
- {
101
- title: "",
102
- key: "action",
103
- render: () => React.createElement(Button, { type: "text", icon: React.createElement(MoreOutlined, null), className: "text-gray-500" }),
104
- width: 50,
105
- },
106
- ];
107
- // 过滤器组件
108
- const filterContent = (React.createElement("div", { className: "w-56 p-2" },
109
- React.createElement("div", { className: "font-semibold text-xs text-gray-500 mb-3 uppercase" }, "Filter by Status"),
110
- React.createElement("div", { className: "flex flex-col gap-2 mb-4" },
111
- React.createElement(Checkbox, { defaultChecked: true }, "Confirmed"),
112
- React.createElement(Checkbox, null, "Unconfirmed"),
113
- React.createElement(Checkbox, { defaultChecked: true }, "Confirmed Not Controller")),
114
- React.createElement("div", { className: "flex justify-between items-center border-t pt-3 mt-2" },
115
- React.createElement(Button, { type: "link", size: "small", className: "text-gray-500 px-0" }, "Clear Filters"),
116
- React.createElement(Button, { type: "primary", size: "small", className: "bg-blue-600" }, "APPLY"))));
117
- return observe(() => (React.createElement("div", null,
118
- React.createElement("div", { className: "px-4 pb-4 flex flex-wrap gap-3 items-center justify-between bg-bg-table border-b border-border" },
119
- React.createElement("div", { className: "flex-1 min-w-[300px] flex items-center gap-3" },
120
- React.createElement(Input, { prefix: React.createElement(SearchOutlined, { className: "text-gray-400" }), placeholder: "Search in register controller ...", className: "py-1.5 rounded-md lg:w-96" }),
121
- React.createElement(Popover, { content: filterContent, trigger: "click", open: filterVisible, onOpenChange: setFilterVisible, placement: "bottomLeft" },
122
- React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faFilterSolid }), className: `text-blue-600 border-blue-200 ${filterVisible ? "border-blue-400" : ""}` }))),
123
- React.createElement("div", { className: "flex items-center gap-3" },
124
- React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faPaperPlaneSolid }), className: "text-gray-600 font-medium" }, "SEND FORM"),
125
- React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faUploadSolid }), className: "text-gray-600 font-medium" }, "SYCN"),
126
- React.createElement(Button, { type: "primary", icon: React.createElement(PlusOutlined, null), className: "bg-blue-600 font-medium" }, "NEW ENTRY"),
127
- React.createElement(Button, { icon: React.createElement(MoreOutlined, null) }))),
128
- React.createElement(Table, { columns: columns, dataSource: dataSource, pagination: false, className: "whitespace-nowrap [&_.ant-table-thead_>_tr_>_th]:text-sm [&_.ant-table-thead_>_tr_>_th]:font-semibold [&_.ant-table-thead_>_tr_>_th]:text-font-primary [&_.ant-table-thead_>_tr_>_th]:bg-bg-table", rowClassName: "group" }),
129
- React.createElement("div", { className: "p-3.5 bg-bg-table border-t border-border flex justify-between items-center font-semibold text-sm text-font-primary" },
130
- React.createElement("div", null, "Showing 1 to 4 of 24 entries"),
131
- React.createElement(Pagination, { defaultCurrent: 1, total: 24, pageSize: 4, showSizeChanger: false, className: "[&_.ant-pagination-item]:bg-transparent! [&_.ant-pagination-item]:border-none! [&_.ant-pagination-item-active]:bg-font-secondary! [&_.ant-pagination-item-active_a]:text-white! [&_.ant-pagination-item]:min-w-[27px]! [&_.ant-pagination-item]:w-[27px]! [&_.ant-pagination-item]:h-[27px]! [&_.ant-pagination-item]:leading-[27px]! [&_.ant-pagination-item]:rounded-md [&_.ant-pagination-prev]:min-w-[27px]! [&_.ant-pagination-prev]:w-[27px]! [&_.ant-pagination-prev]:h-[27px]! [&_.ant-pagination-prev]:leading-[27px]! [&_.ant-pagination-next]:min-w-[27px]! [&_.ant-pagination-next]:w-[27px]! [&_.ant-pagination-next]:h-[27px]! [&_.ant-pagination-next]:leading-[27px]! [&_.ant-pagination-item-link]:flex! [&_.ant-pagination-item-link]:justify-center [&_.ant-pagination-item-link]:items-center" })))));
132
- };
133
- export default Controller;
134
- //# sourceMappingURL=Controller.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Controller.js","sourceRoot":"","sources":["../../../src/page/RegisterTablePage/Controller.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAc,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAS,MAAM,MAAM,CAAC;AACnG,OAAO,EAIN,aAAa,EACb,iBAAiB,EACjB,aAAa,GACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,EACN,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,YAAY,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,UAAU,GAAG,GAAG,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AAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,GAAI,EACrC,SAAS,EAAE,iCAAiC,aAAa,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,GACnF,CACO,CACL;YAEN,6BAAK,SAAS,EAAC,yBAAyB;gBACvC,oBAAC,MAAM,IAAC,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,iBAAiB,GAAI,EAAE,SAAS,EAAC,2BAA2B,gBAE/E;gBACT,oBAAC,MAAM,IAAC,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,GAAI,EAAE,SAAS,EAAC,2BAA2B,WAE3E;gBACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAE,oBAAC,YAAY,OAAG,EAAE,SAAS,EAAC,yBAAyB,gBAEzE;gBACT,oBAAC,MAAM,IAAC,IAAI,EAAE,oBAAC,YAAY,OAAG,GAAI,CAC7B,CACD;QAGN,oBAAC,KAAK,IACL,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,KAAK,EACjB,SAAS,EAAC,mMAAmM,EAC7M,YAAY,EAAC,OAAO,GACnB;QAGF,6BAAK,SAAS,EAAC,oHAAoH;YAClI,gEAAuC;YACvC,oBAAC,UAAU,IACV,cAAc,EAAE,CAAC,EACjB,KAAK,EAAE,EAAE,EACT,QAAQ,EAAE,CAAC,EACX,eAAe,EAAE,KAAK,EACtB,SAAS,EAAC,mxBAAmxB,GAC5xB,CACG,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const StandardRegisterPage: () => React.JSX.Element;
3
- export default StandardRegisterPage;
@@ -1,63 +0,0 @@
1
- import React from "react";
2
- import { Tabs } from "antd";
3
- import { faShieldHalvedSolid, faUsersSolid } from "@voplus/morpho-ui/es/faIcons";
4
- import { FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
5
- // import Controller from "./Controller";
6
- import Controller from "../../modules/corporate/company/controller-register/components/ControllerTableList";
7
- import { observe } from "@voplus/morpho-ui";
8
- const StandardRegisterPage = () => {
9
- // 顶部卡片数据
10
- const statCards = [
11
- {
12
- title: "TOTAL REGISTERS",
13
- value: "24",
14
- icon: React.createElement(FAIcon, { icon: faUsersSolid, className: "text-font-secondary text-2xl" }),
15
- borderColor: "border-font-secondary",
16
- textColor: "text-font-secondary",
17
- bgIcon: "bg-bg-blue-data",
18
- },
19
- {
20
- title: "VERIFICATION RATES",
21
- value: "92%",
22
- icon: React.createElement(FAIcon, { icon: faShieldHalvedSolid, className: "text-green-data text-2xl" }),
23
- borderColor: "border-green-data",
24
- textColor: "text-green-data",
25
- bgIcon: "bg-bg-green-data",
26
- },
27
- {
28
- title: "PENDING ACTIONS",
29
- value: "03",
30
- icon: React.createElement(FAIcon, { icon: faShieldHalvedSolid, className: "text-brown-data text-2xl" }),
31
- borderColor: "border-brown-data",
32
- textColor: "text-brown-data",
33
- bgIcon: "bg-bg-brown-data",
34
- },
35
- ];
36
- return observe(() => (React.createElement("div", { className: "p-6 bg-bg-blue h-full overflow-hidden font-sans flex flex-col gap-6" },
37
- React.createElement("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6 shrink-0" }, statCards.map((card, idx) => (React.createElement("div", { key: idx, className: `bg-white rounded-lg p-5 shadow-sm border-l-8 ${card.borderColor} flex items-center gap-5.5` },
38
- React.createElement("div", { className: `w-14 h-14 flex items-center justify-center rounded-lg ${card.bgIcon}` }, card.icon),
39
- React.createElement("div", null,
40
- React.createElement("div", { className: "text-font-primary text-sm font-semibold mb-1 uppercase" }, card.title),
41
- React.createElement("div", { className: `${card.textColor} text-2xl font-bold` }, card.value)))))),
42
- React.createElement("div", { className: "flex-1 bg-white rounded-lg shadow-sm border border-border overflow-hidden" },
43
- React.createElement(Tabs, { defaultActiveKey: "Controller", className: "w-full h-full -mb-px [&_.ant-tabs-nav]:bg-bg-table [&_.ant-tabs-nav]:m-0 [&_.ant-tabs-tab]:px-8 [&_.ant-tabs-tab-active_.ant-tabs-tab-btn]:text-font-secondary [&_.ant-tabs-ink-bar]:bg-font-secondary [&_.ant-tabs-tab]:text-font-primary [&_.ant-tabs-tab:hover]:text-font-secondary", items: [
44
- {
45
- key: "Controller",
46
- label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Controller"),
47
- children: (React.createElement(Controller, { controllerRegisterId: "12afea18-2d06-47af-8b32-aeda0068ad33", corporateId: "0bca19e0-753b-406a-a3a5-ad96008426d8" })),
48
- },
49
- {
50
- key: "Members",
51
- label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Members"),
52
- children: "Content of Tab Pane 2",
53
- },
54
- {
55
- key: "Officers",
56
- label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Officers"),
57
- children: "Content of Tab Pane 3",
58
- },
59
- ], tabBarExtraContent: React.createElement("div", { className: "pr-7" },
60
- React.createElement("button", { type: "button", className: "underline-button uppercase" }, "ADD REGISTER")) })))));
61
- };
62
- export default StandardRegisterPage;
63
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page/RegisterTablePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAU,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACzE,yCAAyC;AACzC,OAAO,UAAU,MAAM,oFAAoF,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACjC,SAAS;IACT,MAAM,SAAS,G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