@cratis/components 1.4.15 → 1.5.0
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/cjs/CommandDialog/StepperCommandDialog.css +14 -0
- package/dist/cjs/CommandDialog/StepperCommandDialog.js +170 -0
- package/dist/cjs/CommandDialog/StepperCommandDialog.js.map +1 -0
- package/dist/cjs/CommandDialog/index.js +2 -0
- package/dist/cjs/CommandDialog/index.js.map +1 -1
- package/dist/esm/CommandDialog/StepperCommandDialog.css +14 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.d.ts +25 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.d.ts.map +1 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.js +168 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.js.map +1 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.stories.d.ts +11 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.stories.d.ts.map +1 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.stories.js +104 -0
- package/dist/esm/CommandDialog/StepperCommandDialog.stories.js.map +1 -0
- package/dist/esm/CommandDialog/index.d.ts +1 -0
- package/dist/esm/CommandDialog/index.d.ts.map +1 -1
- package/dist/esm/CommandDialog/index.js +1 -0
- package/dist/esm/CommandDialog/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { StepperCommandDialog } from './StepperCommandDialog';
|
|
4
|
+
import { Command, CommandResult, CommandValidator } from '@cratis/arc/commands';
|
|
5
|
+
import { PropertyDescriptor } from '@cratis/arc/reflection';
|
|
6
|
+
import { InputTextField, NumberField, TextAreaField } from '../CommandForm/fields';
|
|
7
|
+
import { DialogResult, useDialog, useDialogContext } from '@cratis/arc.react/dialogs';
|
|
8
|
+
import { StepperPanel } from 'primereact/stepperpanel';
|
|
9
|
+
import '@cratis/arc/validation';
|
|
10
|
+
const meta = {
|
|
11
|
+
title: 'CommandDialog/StepperCommandDialog',
|
|
12
|
+
component: StepperCommandDialog,
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
class CreateProjectValidator extends CommandValidator {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.ruleFor((c) => c.name).notEmpty().minLength(2).maxLength(100);
|
|
19
|
+
this.ruleFor((c) => c.email).notEmpty().emailAddress();
|
|
20
|
+
this.ruleFor((c) => c.description).notEmpty().minLength(10);
|
|
21
|
+
this.ruleFor((c) => c.budget).greaterThan(0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
class CreateProjectCommand extends Command {
|
|
25
|
+
route = '/api/projects/create';
|
|
26
|
+
validation = new CreateProjectValidator();
|
|
27
|
+
propertyDescriptors = [
|
|
28
|
+
new PropertyDescriptor('name', String),
|
|
29
|
+
new PropertyDescriptor('email', String),
|
|
30
|
+
new PropertyDescriptor('description', String),
|
|
31
|
+
new PropertyDescriptor('budget', Number),
|
|
32
|
+
];
|
|
33
|
+
name = '';
|
|
34
|
+
email = '';
|
|
35
|
+
description = '';
|
|
36
|
+
budget = 0;
|
|
37
|
+
constructor() {
|
|
38
|
+
super(Object, false);
|
|
39
|
+
}
|
|
40
|
+
get requestParameters() {
|
|
41
|
+
return [];
|
|
42
|
+
}
|
|
43
|
+
get properties() {
|
|
44
|
+
return ['name', 'email', 'description', 'budget'];
|
|
45
|
+
}
|
|
46
|
+
async validate() {
|
|
47
|
+
const errors = this.validation?.validate(this) ?? [];
|
|
48
|
+
if (errors.length > 0) {
|
|
49
|
+
return CommandResult.validationFailed(errors);
|
|
50
|
+
}
|
|
51
|
+
return CommandResult.empty;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
class SlowCreateProjectCommand extends CreateProjectCommand {
|
|
55
|
+
async execute() {
|
|
56
|
+
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
57
|
+
return CommandResult.empty;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export const Default = {
|
|
61
|
+
render: () => {
|
|
62
|
+
const [result, setResult] = useState('');
|
|
63
|
+
const CreateProjectDialogComponent = () => {
|
|
64
|
+
const { closeDialog } = useDialogContext();
|
|
65
|
+
return (_jsxs(StepperCommandDialog, { command: CreateProjectCommand, title: "Create New Project", okLabel: "Create", autoServerValidate: false, onConfirm: async () => closeDialog(DialogResult.Ok), onCancel: () => closeDialog(DialogResult.Cancelled), children: [_jsxs(StepperPanel, { header: "Basic Info", children: [_jsx(InputTextField, { value: c => c.name, title: "Project Name", placeholder: "Enter project name (min 2 chars)" }), _jsx(InputTextField, { value: c => c.email, title: "Contact Email", placeholder: "Enter contact email", type: "email" })] }), _jsxs(StepperPanel, { header: "Details", children: [_jsx(TextAreaField, { value: c => c.description, title: "Description", placeholder: "Describe the project (min 10 chars)", rows: 4 }), _jsx(NumberField, { value: c => c.budget, title: "Budget", placeholder: "Enter budget (must be > 0)" })] })] }));
|
|
66
|
+
};
|
|
67
|
+
const [CreateProjectDialogWrapper, showCreateProjectDialog] = useDialog(CreateProjectDialogComponent);
|
|
68
|
+
return (_jsxs("div", { className: "storybook-wrapper", children: [_jsx("button", { className: "p-button p-component mb-3", onClick: async () => {
|
|
69
|
+
const [dialogResult, commandResult] = await showCreateProjectDialog();
|
|
70
|
+
if (dialogResult === DialogResult.Ok && commandResult) {
|
|
71
|
+
setResult(JSON.stringify(commandResult));
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
setResult('Cancelled');
|
|
75
|
+
}
|
|
76
|
+
}, children: "Open Dialog" }), result && (_jsxs("div", { className: "p-3 mt-3 bg-green-100 border-round", children: [_jsx("strong", { children: "Result:" }), " ", result] })), _jsx(CreateProjectDialogWrapper, {})] }));
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
export const ThreeSteps = {
|
|
80
|
+
render: () => {
|
|
81
|
+
const [visible, setVisible] = useState(false);
|
|
82
|
+
const [result, setResult] = useState('');
|
|
83
|
+
return (_jsxs("div", { className: "storybook-wrapper", children: [_jsx("button", { className: "p-button p-component mb-3", onClick: () => {
|
|
84
|
+
setVisible(true);
|
|
85
|
+
setResult('');
|
|
86
|
+
}, children: "Open Three-Step Dialog" }), result && (_jsxs("div", { className: "p-3 mt-3 bg-green-100 border-round", children: [_jsx("strong", { children: "Submitted:" }), " ", result] })), _jsxs(StepperCommandDialog, { command: CreateProjectCommand, visible: visible, title: "Create New Project (3 Steps)", okLabel: "Create", autoServerValidate: false, onConfirm: async () => {
|
|
87
|
+
setResult('Project created successfully');
|
|
88
|
+
setVisible(false);
|
|
89
|
+
}, onCancel: () => setVisible(false), children: [_jsx(StepperPanel, { header: "Contact Info", children: _jsx(InputTextField, { value: c => c.email, title: "Contact Email", placeholder: "Enter contact email", type: "email" }) }), _jsx(StepperPanel, { header: "Project Name", children: _jsx(InputTextField, { value: c => c.name, title: "Project Name", placeholder: "Enter project name (min 2 chars)" }) }), _jsxs(StepperPanel, { header: "Details", children: [_jsx(TextAreaField, { value: c => c.description, title: "Description", placeholder: "Describe the project (min 10 chars)", rows: 4 }), _jsx(NumberField, { value: c => c.budget, title: "Budget", placeholder: "Enter budget (must be > 0)" })] })] })] }));
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
export const WithValidationIndicators = {
|
|
93
|
+
render: () => {
|
|
94
|
+
const [visible, setVisible] = useState(true);
|
|
95
|
+
return (_jsxs("div", { className: "storybook-wrapper", children: [_jsxs("p", { className: "mb-3 text-sm text-color-secondary", children: [_jsx("code", { children: "validateOnInit" }), " triggers validation immediately \u2014 step indicators appear on any step whose fields are invalid right from the start."] }), _jsx("button", { className: "p-button p-component mb-3", onClick: () => setVisible(true), children: "Open Dialog" }), _jsxs(StepperCommandDialog, { command: CreateProjectCommand, visible: visible, title: "New Project", okLabel: "Create", autoServerValidate: false, validateOnInit: true, onConfirm: async () => setVisible(false), onCancel: () => setVisible(false), children: [_jsxs(StepperPanel, { header: "Basic Info", children: [_jsx(InputTextField, { value: c => c.name, title: "Project Name", placeholder: "Enter project name (min 2 chars)" }), _jsx(InputTextField, { value: c => c.email, title: "Contact Email", placeholder: "Enter contact email", type: "email" })] }), _jsxs(StepperPanel, { header: "Details", children: [_jsx(TextAreaField, { value: c => c.description, title: "Description", placeholder: "Describe the project (min 10 chars)", rows: 4 }), _jsx(NumberField, { value: c => c.budget, title: "Budget", placeholder: "Enter budget (must be > 0)" })] })] })] }));
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
export const WithBusyState = {
|
|
99
|
+
render: () => {
|
|
100
|
+
const [visible, setVisible] = useState(false);
|
|
101
|
+
return (_jsxs("div", { className: "storybook-wrapper", children: [_jsx("p", { className: "mb-3 text-sm text-color-secondary", children: "Simulates a 2-second server delay. Fill all fields and click Submit to see the busy state." }), _jsx("button", { className: "p-button p-component mb-3", onClick: () => setVisible(true), children: "Open Dialog" }), _jsxs(StepperCommandDialog, { command: SlowCreateProjectCommand, visible: visible, title: "Create New Project (Slow)", okLabel: "Create", autoServerValidate: false, onConfirm: async () => setVisible(false), onCancel: () => setVisible(false), children: [_jsxs(StepperPanel, { header: "Basic Info", children: [_jsx(InputTextField, { value: c => c.name, title: "Project Name", placeholder: "Enter project name" }), _jsx(InputTextField, { value: c => c.email, title: "Contact Email", placeholder: "Enter contact email", type: "email" })] }), _jsxs(StepperPanel, { header: "Details", children: [_jsx(TextAreaField, { value: c => c.description, title: "Description", placeholder: "Describe the project", rows: 4 }), _jsx(NumberField, { value: c => c.budget, title: "Budget", placeholder: "Enter budget" })] })] })] }));
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=StepperCommandDialog.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepperCommandDialog.stories.js","sourceRoot":"","sources":["../../../CommandDialog/StepperCommandDialog.stories.ts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CAAC;IACN,CAAC;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../CommandDialog/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../CommandDialog/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|