@powerhousedao/network-admin 0.0.48 → 0.0.49
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.
- package/dist/document-models/network-profile/src/reducers/network-profile-management.d.ts.map +1 -1
- package/dist/document-models/network-profile/src/reducers/network-profile-management.js +1 -3
- package/dist/document-models/payment-terms/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/gen/ph-factories.js +2 -2
- package/dist/document-models/request-for-proposals/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/gen/utils.js +2 -2
- package/dist/document-models/workstream/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/workstream/gen/schema/zod.js +1 -1
- package/dist/editors/payment-terms/milestones-tab.d.ts.map +1 -1
- package/dist/editors/payment-terms/milestones-tab.js +1 -1
- package/dist/editors/payment-terms/retainer-tab.d.ts.map +1 -1
- package/dist/editors/payment-terms/retainer-tab.js +2 -2
- package/dist/editors/request-for-proposals/editor.d.ts.map +1 -1
- package/dist/editors/request-for-proposals/editor.js +1 -1
- package/package.json +15 -15
package/dist/document-models/network-profile/src/reducers/network-profile-management.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-profile-management.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/src/reducers/network-profile-management.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,8DAA8D,CAAC;AAErI,eAAO,MAAM,gDAAgD,EAAE,
|
|
1
|
+
{"version":3,"file":"network-profile-management.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/src/reducers/network-profile-management.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,8DAA8D,CAAC;AAErI,eAAO,MAAM,gDAAgD,EAAE,gDAkC9D,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
export const networkProfileNetworkProfileManagementOperations = {
|
|
2
2
|
setIconOperation(state, action) {
|
|
3
3
|
state.icon = action.input.icon || "";
|
|
4
|
-
state.darkThemeIcon = action.input.darkThemeIcon || "";
|
|
5
4
|
},
|
|
6
5
|
setLogoOperation(state, action) {
|
|
7
6
|
state.logo = action.input.logo || "";
|
|
8
|
-
state.darkThemeLogo = action.input.darkThemeLogo || "";
|
|
9
7
|
},
|
|
10
8
|
setLogoBigOperation(state, action) {
|
|
11
9
|
state.logoBig = action.input.logoBig || "";
|
|
12
10
|
},
|
|
13
11
|
setWebsiteOperation(state, action) {
|
|
14
|
-
state.website = action.input.website ||
|
|
12
|
+
state.website = action.input.website || null;
|
|
15
13
|
},
|
|
16
14
|
setDescriptionOperation(state, action) {
|
|
17
15
|
state.description = action.input.description || "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/payment-terms/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/payment-terms/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EAErB,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,MAAM,EAEN,eAAe,EACf,SAAS,EAIT,iBAAiB,EAEjB,aAAa,EACb,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAA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AC,CACvC,CAKA;AAED,wBAAgB,8BAA8B,IAAI,CAAC,CAAC,SAAS,CAC3D,UAAU,CAAC,wBAAwB,CAAC,CACrC,CASA;AAED,wBAAgB,uBAAuB,IAAI,CAAC,CAAC,SAAS,CACpD,UAAU,CAAC,iBAAiB,CAAC,CAC9B,CAIA"}
|
|
@@ -3,10 +3,10 @@ import { createDocument } from "./utils.js";
|
|
|
3
3
|
export function defaultGlobalState() {
|
|
4
4
|
return {
|
|
5
5
|
issuer: "placeholder-id",
|
|
6
|
-
title: "",
|
|
7
|
-
briefing: "",
|
|
8
6
|
code: "",
|
|
7
|
+
title: "",
|
|
9
8
|
summary: "",
|
|
9
|
+
briefing: "",
|
|
10
10
|
rfpCommenter: [],
|
|
11
11
|
eligibilityCriteria: "",
|
|
12
12
|
evaluationCriteria: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/request-for-proposals/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,yBAAyB,EACzB,eAAe,EACf,YAAY,
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/request-for-proposals/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,yBAAyB,EACzB,eAAe,EACf,YAAY,EAIZ,0BAA0B,EAC1B,mBAAmB,EACnB,wBAAwB,EAExB,YAAY,EAGZ,WAAW,EAGZ,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC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AAED,wBAAgB,gCAAgC,IAAI,CAAC,CAAC,SAAS,CAC7D,UAAU,CAAC,0BAA0B,CAAC,CACvC,CAKA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAKA;AAED,wBAAgB,8BAA8B,IAAI,CAAC,CAAC,SAAS,CAC3D,UAAU,CAAC,wBAAwB,CAAC,CACrC,CAkBA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAU1E;AAED,wBAAgB,iBAAiB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAWxE"}
|
|
@@ -4,10 +4,10 @@ import { requestForProposalsDocumentType } from "./document-type.js";
|
|
|
4
4
|
import { isRequestForProposalsDocument, assertIsRequestForProposalsDocument, isRequestForProposalsState, assertIsRequestForProposalsState, } from "./document-schema.js";
|
|
5
5
|
export const initialGlobalState = {
|
|
6
6
|
issuer: "placeholder-id",
|
|
7
|
-
title: "",
|
|
8
|
-
briefing: "",
|
|
9
7
|
code: "",
|
|
8
|
+
title: "",
|
|
10
9
|
summary: "",
|
|
10
|
+
briefing: "",
|
|
11
11
|
rfpCommenter: [],
|
|
12
12
|
eligibilityCriteria: "",
|
|
13
13
|
evaluationCriteria: "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/workstream/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,UAAU,EACV,4BAA4B,EAC5B,mBAAmB,EACnB,wBAAwB,EACxB,mBAAmB,EACnB,QAAQ,EACR,cAAc,EACd,mBAAmB,
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/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yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAMA;AAED,wBAAgB,8BAA8B,IAAI,CAAC,CAAC,SAAS,CAC3D,UAAU,CAAC,wBAAwB,CAAC,CACrC,CAQA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAQA;AAED,wBAAgB,cAAc,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CASlE;AAED,wBAAgB,oBAAoB,IAAI,CAAC,CAAC,SAAS,CACjD,UAAU,CAAC,cAAc,CAAC,CAC3B,CAOA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAMA;AAED,wBAAgB,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAMxD;AAED,wBAAgB,oCAAoC,IAAI,CAAC,CAAC,SAAS,CACjE,UAAU,CAAC,8BAA8B,CAAC,CAC3C,CAIA;AAED,wBAAgB,+BAA+B,IAAI,CAAC,CAAC,SAAS,CAC5D,UAAU,CAAC,yBAAyB,CAAC,CACtC,CAIA;AAED,wBAAgB,gCAAgC,IAAI,CAAC,CAAC,SAAS,CAC7D,UAAU,CAAC,0BAA0B,CAAC,CACvC,CAKA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAcA"}
|
|
@@ -71,7 +71,7 @@ export function EditAlternativeProposalInputSchema() {
|
|
|
71
71
|
export function EditClientInfoInputSchema() {
|
|
72
72
|
return z.object({
|
|
73
73
|
clientId: z.string(),
|
|
74
|
-
icon: z.string().
|
|
74
|
+
icon: z.string().nullish(),
|
|
75
75
|
name: z.string().nullish(),
|
|
76
76
|
});
|
|
77
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"milestones-tab.d.ts","sourceRoot":"","sources":["../../../editors/payment-terms/milestones-tab.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,SAAS,EAET,kBAAkB,EACnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,KAAK,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnG,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAE,OAAO,mBAAmB,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAgB,GACjB,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"milestones-tab.d.ts","sourceRoot":"","sources":["../../../editors/payment-terms/milestones-tab.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,SAAS,EAET,kBAAkB,EACnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,KAAK,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnG,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAE,OAAO,mBAAmB,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAgB,GACjB,EAAE,kBAAkB,2CAkWpB"}
|
|
@@ -178,7 +178,7 @@ export function MilestonesTab({ milestones, dispatch, actions, currency = "USD",
|
|
|
178
178
|
});
|
|
179
179
|
setIsAddingNew(false);
|
|
180
180
|
}, [newMilestone, dispatch, actions, currency]);
|
|
181
|
-
return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "flex justify-between items-center", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-xl font-semibold dark:text-white", children: "Milestones" }), _jsxs("p", { className: "text-sm text-gray-600 dark:text-gray-300 mt-1", children: [milestones.length, " milestone(s) defined"] })] }), _jsxs(Button, { onClick: () => setIsAddingNew(!isAddingNew), color: "light", size: "sm", className: "cursor-pointer hover:bg-blue-600 hover:text-white", children: [_jsx(Icon, { name: "Plus", size: 16, className: "mr-2" }), "Add Milestone"] })] }), isAddingNew && (_jsxs("div", { className: "bg-gray-50 dark:bg-gray-700 p-4 rounded-lg border dark:border-gray-600", children: [_jsx("h3", { className: "text-lg font-medium mb-4 dark:text-white", children: "Add New Milestone" }), _jsxs("form", { onSubmit: handleAddMilestone, className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsx(TextInput, { label: "Name *", value: newMilestone.name, onChange: (e) => setNewMilestone({ ...newMilestone, name: e.target.value }), className: "w-full", required: true }), _jsx(TextInput, { label: `Amount (${currency}) *`, type: "number", value: newMilestone.amount, onChange: (e) => setNewMilestone({ ...newMilestone, amount: e.target.value }), className: "w-full", placeholder: "0.00", step: "0.01", required: true }), _jsx(DatePicker, { value: newMilestone.expectedCompletionDate
|
|
181
|
+
return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "flex justify-between items-center", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-xl font-semibold dark:text-white", children: "Milestones" }), _jsxs("p", { className: "text-sm text-gray-600 dark:text-gray-300 mt-1", children: [milestones.length, " milestone(s) defined"] })] }), _jsxs(Button, { onClick: () => setIsAddingNew(!isAddingNew), color: "light", size: "sm", className: "cursor-pointer hover:bg-blue-600 hover:text-white", children: [_jsx(Icon, { name: "Plus", size: 16, className: "mr-2" }), "Add Milestone"] })] }), isAddingNew && (_jsxs("div", { className: "bg-gray-50 dark:bg-gray-700 p-4 rounded-lg border dark:border-gray-600", children: [_jsx("h3", { className: "text-lg font-medium mb-4 dark:text-white", children: "Add New Milestone" }), _jsxs("form", { onSubmit: handleAddMilestone, className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsx(TextInput, { label: "Name *", value: newMilestone.name, onChange: (e) => setNewMilestone({ ...newMilestone, name: e.target.value }), className: "w-full", required: true }), _jsx(TextInput, { label: `Amount (${currency}) *`, type: "number", value: newMilestone.amount, onChange: (e) => setNewMilestone({ ...newMilestone, amount: e.target.value }), className: "w-full", placeholder: "0.00", step: "0.01", required: true }), _jsx(DatePicker, { className: "bg-white", value: newMilestone.expectedCompletionDate
|
|
182
182
|
? new Date(newMilestone.expectedCompletionDate)
|
|
183
183
|
: undefined, onChange: (e) => {
|
|
184
184
|
const date = e.target.value ? new Date(e.target.value) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retainer-tab.d.ts","sourceRoot":"","sources":["../../../editors/payment-terms/retainer-tab.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,yDAAyD,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,EAAE,KAAK,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnG,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAE,OAAO,mBAAmB,CAAC;CACrC;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"retainer-tab.d.ts","sourceRoot":"","sources":["../../../editors/payment-terms/retainer-tab.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,yDAAyD,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,EAAE,KAAK,OAAO,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnG,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,iBAAiB,CAAC;IACzB,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,OAAO,EAAE,OAAO,mBAAmB,CAAC;CACrC;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAyQzE"}
|
|
@@ -61,9 +61,9 @@ export function RetainerTab({ state, dispatch, actions }) {
|
|
|
61
61
|
return (_jsxs("form", { onSubmit: handleSubmit, className: "space-y-6", children: [_jsx("div", { className: "flex justify-between items-center mb-4", children: _jsx("h2", { className: "text-xl font-semibold dark:text-white", children: "Configure Retainer" }) }), _jsxs("div", { className: "grid grid-cols-2 gap-6", children: [_jsx(TextInput, { label: "Retainer Amount *", type: "number", value: formData.retainerAmount, onChange: (e) => setFormData({ ...formData, retainerAmount: e.target.value }), className: "w-full", placeholder: "0.00", step: "0.01", required: true }), _jsx(Select, { label: "Billing Frequency *", options: billingFrequencyOptions, value: formData.billingFrequency, onChange: (value) => setFormData({
|
|
62
62
|
...formData,
|
|
63
63
|
billingFrequency: value,
|
|
64
|
-
}) }), _jsx(DatePicker, { value: formData.timesheetRequired ? new Date() : undefined, onChange: () => {
|
|
64
|
+
}) }), _jsx(DatePicker, { className: "bg-white", value: formData.timesheetRequired ? new Date() : undefined, onChange: () => {
|
|
65
65
|
setFormData({ ...formData, timesheetRequired: true });
|
|
66
|
-
}, name: "start-date", placeholder: "Select start date", required: true }), _jsx(DatePicker, { value: formData.timesheetRequired ? new Date() : undefined, onChange: () => {
|
|
66
|
+
}, name: "start-date", placeholder: "Select start date", required: true }), _jsx(DatePicker, { className: "bg-white", value: formData.timesheetRequired ? new Date() : undefined, onChange: () => {
|
|
67
67
|
setFormData({ ...formData, timesheetRequired: true });
|
|
68
68
|
}, name: "end-date", placeholder: "Select end date (optional)" }), _jsx("div", { className: "col-span-2", children: _jsx(Textarea, { label: "Services Included *", value: formData.timesheetRequired ? "Yes" : "No", onChange: () => setFormData({ ...formData, timesheetRequired: true }), className: "w-full", rows: 4, placeholder: "Describe the services included in the retainer...", required: true }) }), _jsx("div", { className: "col-span-2", children: _jsxs("div", { className: "flex items-center", children: [_jsx("input", { type: "checkbox", id: "autoRenew", checked: formData.timesheetRequired, onChange: () => setFormData({ ...formData, timesheetRequired: true }), className: "mr-2 h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded" }), _jsx("label", { htmlFor: "autoRenew", className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: "Auto-Renew Retainer" })] }) })] }), _jsxs("div", { className: "flex gap-3", children: [_jsx(Button, { type: "submit", color: "light", size: "sm", className: "cursor-pointer hover:bg-blue-600 hover:text-white", children: "Save Configuration" }), _jsx(Button, { type: "button", onClick: handleCancel, color: "light", size: "sm", className: "cursor-pointer hover:bg-gray-600 hover:text-white", children: "Cancel" })] })] }));
|
|
69
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../editors/request-for-proposals/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAqB1D,MAAM,MAAM,MAAM,GAAG,WAAW,CAAC;AAYjC,MAAM,CAAC,OAAO,UAAU,MAAM,
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../editors/request-for-proposals/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAqB1D,MAAM,MAAM,MAAM,GAAG,WAAW,CAAC;AAYjC,MAAM,CAAC,OAAO,UAAU,MAAM,4CA+P7B"}
|
|
@@ -42,7 +42,7 @@ export default function Editor() {
|
|
|
42
42
|
if (e.target.value !== state.title) {
|
|
43
43
|
dispatch(actions.editRfp({ title: e.target.value }));
|
|
44
44
|
}
|
|
45
|
-
}, placeholder: "Enter rfp title" })] }), _jsx("div", { className: "w-[150px]", children: _jsx(Select, { label: "Status", options: statusOptions, value: state.status, onChange: (value) => dispatch(actions.editRfp({ status: value })) }) })] }) }), _jsx("div", { className: "bg-white rounded-lg p-6 mb-6 shadow-sm", children: _jsx(MarkdownEditor, { height: 200, label: "Summary", value: state.summary ?? "", onChange: () => { }, onBlur: (value) => dispatch(actions.editRfp({ summary: value })) }) }), _jsxs("div", { className: "flex flex-row justify-between bg-white rounded-lg p-6 mb-6 shadow-sm", children: [_jsxs("div", { children: [_jsx("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "Submission Deadline" }), _jsx("div", { className: "w-[250px]", children: _jsx(DatePicker, { value: state.deadline ? new Date(state.deadline) : undefined, onChange: (e) => {
|
|
45
|
+
}, placeholder: "Enter rfp title" })] }), _jsx("div", { className: "w-[150px]", children: _jsx(Select, { label: "Status", options: statusOptions, value: state.status, onChange: (value) => dispatch(actions.editRfp({ status: value })) }) })] }) }), _jsx("div", { className: "bg-white rounded-lg p-6 mb-6 shadow-sm", children: _jsx(MarkdownEditor, { height: 200, label: "Summary", value: state.summary ?? "", onChange: () => { }, onBlur: (value) => dispatch(actions.editRfp({ summary: value })) }) }), _jsxs("div", { className: "flex flex-row justify-between bg-white rounded-lg p-6 mb-6 shadow-sm", children: [_jsxs("div", { children: [_jsx("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "Submission Deadline" }), _jsx("div", { className: "w-[250px]", children: _jsx(DatePicker, { className: "bg-white", value: state.deadline ? new Date(state.deadline) : undefined, onChange: (e) => {
|
|
46
46
|
const date = e.target.value
|
|
47
47
|
? new Date(e.target.value)
|
|
48
48
|
: null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/network-admin",
|
|
3
3
|
"description": "Network Admin package for Powerhouse",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.49",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@powerhousedao/builder-tools": "^5.0.
|
|
66
|
-
"@powerhousedao/common": "^5.0.
|
|
67
|
-
"@powerhousedao/design-system": "^5.0.
|
|
65
|
+
"@powerhousedao/builder-tools": "^5.0.12",
|
|
66
|
+
"@powerhousedao/common": "^5.0.12",
|
|
67
|
+
"@powerhousedao/design-system": "^5.0.12",
|
|
68
68
|
"@powerhousedao/document-engineering": "^1.38.0",
|
|
69
|
-
"@powerhousedao/project-management": "0.0.
|
|
69
|
+
"@powerhousedao/project-management": "0.0.64",
|
|
70
70
|
"@uiw/react-md-editor": "^4.0.8",
|
|
71
|
-
"document-model": "^5.0.
|
|
71
|
+
"document-model": "^5.0.12",
|
|
72
72
|
"error": "^10.4.0",
|
|
73
73
|
"graphql": "^16.10.0",
|
|
74
74
|
"graphql-tag": "^2.12.6",
|
|
@@ -82,21 +82,21 @@
|
|
|
82
82
|
"@electric-sql/pglite": "^0.2.12",
|
|
83
83
|
"@eslint/js": "^9.38.0",
|
|
84
84
|
"@powerhousedao/analytics-engine-core": "^0.5.0",
|
|
85
|
-
"@powerhousedao/codegen": "^5.0.
|
|
86
|
-
"@powerhousedao/config": "^5.0.
|
|
87
|
-
"@powerhousedao/connect": "^5.0.
|
|
88
|
-
"@powerhousedao/ph-cli": "^5.0.
|
|
89
|
-
"@powerhousedao/reactor-api": "^5.0.
|
|
90
|
-
"@powerhousedao/reactor-browser": "^5.0.
|
|
91
|
-
"@powerhousedao/reactor-local": "^5.0.
|
|
85
|
+
"@powerhousedao/codegen": "^5.0.12",
|
|
86
|
+
"@powerhousedao/config": "^5.0.12",
|
|
87
|
+
"@powerhousedao/connect": "^5.0.12",
|
|
88
|
+
"@powerhousedao/ph-cli": "^5.0.12",
|
|
89
|
+
"@powerhousedao/reactor-api": "^5.0.12",
|
|
90
|
+
"@powerhousedao/reactor-browser": "^5.0.12",
|
|
91
|
+
"@powerhousedao/reactor-local": "^5.0.12",
|
|
92
92
|
"@powerhousedao/scalars": "staging",
|
|
93
|
-
"@powerhousedao/switchboard": "^5.0.
|
|
93
|
+
"@powerhousedao/switchboard": "^5.0.12",
|
|
94
94
|
"@tailwindcss/cli": "^4.1.4",
|
|
95
95
|
"@testing-library/react": "^16.3.0",
|
|
96
96
|
"@types/node": "^24.9.2",
|
|
97
97
|
"@types/react": "^19.2.2",
|
|
98
98
|
"@vitejs/plugin-react": "^5.1.0",
|
|
99
|
-
"document-drive": "^5.0.
|
|
99
|
+
"document-drive": "^5.0.12",
|
|
100
100
|
"eslint": "^9.38.0",
|
|
101
101
|
"eslint-config-prettier": "^10.1.8",
|
|
102
102
|
"eslint-plugin-prettier": "^5.5.4",
|