@powerhousedao/network-admin 0.0.22 → 0.0.23

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 (31) hide show
  1. package/dist/editors/network-admin/components/DriveExplorer.d.ts.map +1 -1
  2. package/dist/editors/network-admin/components/DriveExplorer.js +21 -6
  3. package/dist/editors/network-admin/components/icons/PaymentIcon.d.ts +3 -0
  4. package/dist/editors/network-admin/components/icons/PaymentIcon.d.ts.map +1 -0
  5. package/dist/editors/network-admin/components/icons/PaymentIcon.js +2 -0
  6. package/dist/editors/network-admin/components/icons/RfpIcon.d.ts +3 -0
  7. package/dist/editors/network-admin/components/icons/RfpIcon.d.ts.map +1 -0
  8. package/dist/editors/network-admin/components/icons/RfpIcon.js +2 -0
  9. package/dist/editors/network-admin/components/icons/SowIcon.d.ts +3 -0
  10. package/dist/editors/network-admin/components/icons/SowIcon.d.ts.map +1 -0
  11. package/dist/editors/network-admin/components/icons/SowIcon.js +2 -0
  12. package/dist/editors/network-admin/components/icons/WorkstreamIcon.d.ts +3 -0
  13. package/dist/editors/network-admin/components/icons/WorkstreamIcon.d.ts.map +1 -0
  14. package/dist/editors/network-admin/components/icons/WorkstreamIcon.js +2 -0
  15. package/dist/style.css +8010 -7844
  16. package/package.json +2 -2
  17. package/dist/editors/network-admin/components/CreateDocument.d.ts +0 -6
  18. package/dist/editors/network-admin/components/CreateDocument.d.ts.map +0 -1
  19. package/dist/editors/network-admin/components/CreateDocument.js +0 -24
  20. package/dist/editors/network-admin/components/FolderTree.d.ts +0 -15
  21. package/dist/editors/network-admin/components/FolderTree.d.ts.map +0 -1
  22. package/dist/editors/network-admin/components/FolderTree.js +0 -44
  23. package/dist/editors/network-admin/components/IsolatedSidebar.d.ts +0 -22
  24. package/dist/editors/network-admin/components/IsolatedSidebar.d.ts.map +0 -1
  25. package/dist/editors/network-admin/components/IsolatedSidebar.js +0 -107
  26. package/dist/editors/network-admin/components/IsolatedSidebarProvider.d.ts +0 -15
  27. package/dist/editors/network-admin/components/IsolatedSidebarProvider.d.ts.map +0 -1
  28. package/dist/editors/network-admin/components/IsolatedSidebarProvider.js +0 -367
  29. package/dist/editors/network-admin/utils.d.ts +0 -60
  30. package/dist/editors/network-admin/utils.d.ts.map +0 -1
  31. package/dist/editors/network-admin/utils.js +0 -67
@@ -1,60 +0,0 @@
1
- export declare const getNewDocumentObject: (documentName: string, documentType: string, code?: string) => {
2
- header: {
3
- name: string;
4
- documentType: string;
5
- createdAtUtcIso: string;
6
- slug: string;
7
- branch: string;
8
- id: string;
9
- sig: {
10
- nonce: string;
11
- publicKey: {};
12
- };
13
- revision: {};
14
- lastModifiedAtUtcIso: string;
15
- };
16
- history: {
17
- operations: never[];
18
- clipboard: never[];
19
- };
20
- state: {
21
- auth: {};
22
- document: {
23
- version: string;
24
- };
25
- global: {
26
- title: string;
27
- code: string;
28
- description: string;
29
- createdBy: string;
30
- createdAt: string;
31
- updatedBy: string;
32
- updatedAt: string;
33
- status: string;
34
- };
35
- local: {};
36
- };
37
- initialState: {
38
- auth: {};
39
- document: {
40
- version: string;
41
- };
42
- global: {
43
- title: string;
44
- code: string;
45
- description: string;
46
- createdBy: string;
47
- createdAt: string;
48
- updatedBy: string;
49
- updatedAt: string;
50
- status: string;
51
- };
52
- local: {};
53
- };
54
- operations: {
55
- [x: string]: never[];
56
- };
57
- clipboard: never[];
58
- attachments: {};
59
- };
60
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../editors/network-admin/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,GAAI,cAAc,MAAM,EAAE,cAAc,MAAM,EAAE,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE7F,CAAA"}
@@ -1,67 +0,0 @@
1
- export const getNewDocumentObject = (documentName, documentType, code) => {
2
- console.log("documentName", documentName);
3
- console.log("documentType", documentType);
4
- console.log("code", code);
5
- if (documentType === "powerhouse/rfp") {
6
- documentName = documentName.replace(/^RFP-/, "");
7
- }
8
- return {
9
- header: {
10
- name: documentName,
11
- documentType: documentType,
12
- createdAtUtcIso: new Date().toISOString(),
13
- slug: documentName,
14
- branch: "main",
15
- id: "",
16
- sig: {
17
- nonce: "",
18
- publicKey: {},
19
- },
20
- revision: {},
21
- lastModifiedAtUtcIso: new Date().toISOString(),
22
- },
23
- history: {
24
- operations: [],
25
- clipboard: [],
26
- },
27
- state: {
28
- auth: {},
29
- document: {
30
- version: "1.0.0",
31
- },
32
- global: {
33
- title: documentName,
34
- code: code || "",
35
- description: "",
36
- createdBy: "network-admin",
37
- createdAt: new Date().toISOString(),
38
- updatedBy: "network-admin",
39
- updatedAt: new Date().toISOString(),
40
- status: "draft",
41
- },
42
- local: {},
43
- },
44
- initialState: {
45
- auth: {},
46
- document: {
47
- version: "1.0.0",
48
- },
49
- global: {
50
- title: documentName,
51
- code: code || "",
52
- description: "",
53
- createdBy: "network-admin",
54
- createdAt: new Date().toISOString(),
55
- updatedBy: "network-admin",
56
- updatedAt: new Date().toISOString(),
57
- status: "draft",
58
- },
59
- local: {},
60
- },
61
- operations: {
62
- [documentType]: [],
63
- },
64
- clipboard: [],
65
- attachments: {},
66
- };
67
- };