@rsc-labs/medusa-documents
Version:
Generate documents from Medusa
23 lines (22 loc) • 6.87 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProTab = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
/*
* Copyright 2024 RSC-Labs, https://rsoftcon.com/
*
* MIT License
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const ui_1 = require("@medusajs/ui");
const material_1 = require("@mui/material");
const HEIGHT = 330;
const ProTab = () => {
return ((0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, spacing: 2, justifyContent: "center", children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, justifyContent: "center", marginTop: 6, children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "Manage documents on the next level" }) }) }), (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, justifyContent: "center", marginTop: 1, spacing: 5, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 3, md: 3, xl: 3, children: (0, jsx_runtime_1.jsx)(ui_1.Container, { style: { borderColor: 'purple', borderWidth: 1, height: HEIGHT }, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, rowSpacing: 3, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "Automation" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsxs)("ul", { style: { listStyleType: 'circle' }, children: [(0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Automatically send invoices to customers" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Automatically send packing slips to fulfillment providers" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Automatically detect the language of your customer" }) })] }) })] }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 3, md: 3, xl: 3, children: (0, jsx_runtime_1.jsx)(ui_1.Container, { style: { borderColor: 'purple', borderWidth: 1, height: HEIGHT }, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, rowSpacing: 3, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "New templates" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsxs)("ul", { style: { listStyleType: 'circle' }, children: [(0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Access new premium templates for invoices and other documents" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Send us your custom template, and we will create it for you" }) })] }) })] }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 3, md: 3, xl: 3, children: (0, jsx_runtime_1.jsx)(ui_1.Container, { style: { borderColor: 'purple', borderWidth: 1, height: HEIGHT }, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, rowSpacing: 3, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "Advanced configuration" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsxs)("ul", { style: { listStyleType: 'circle' }, children: [(0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Set different addresses for various document types" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Customize settings for sending invoices to customers" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Tailor settings for sending packing slips to fulfillment providers" }) })] }) })] }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 3, md: 3, xl: 3, children: (0, jsx_runtime_1.jsx)(ui_1.Container, { style: { borderColor: 'purple', borderWidth: 1, height: HEIGHT }, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, rowSpacing: 3, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "Professional support" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsxs)("ul", { style: { listStyleType: 'circle' }, children: [(0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Priority bug resolution" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Dedicated channel for evaluating your feature requests" }) }), (0, jsx_runtime_1.jsx)("li", { style: { marginTop: 3 }, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "Long-term cooperation, including support for other plugins" }) })] }) })] }) }) })] }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, spacing: 3, direction: 'column', alignContent: "center", marginTop: 6, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, direction: 'row', justifyContent: 'center', columnSpacing: 1, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "Contact:" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(material_1.Link, { href: "mailto:labs@rsoftcon.com", children: (0, jsx_runtime_1.jsx)(ui_1.Heading, { level: 'h1', children: "labs@rsoftcon.com" }) }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, spacing: 3, direction: 'column', alignContent: "center", marginTop: 6, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, direction: 'row', justifyContent: 'center', columnSpacing: 1, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "You can hide this tab if you feel it is intruisive. See:" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(material_1.Link, { href: "https://github.com/RSC-Labs/medusa-documents?tab=readme-ov-file#hide-pro-version-tab", children: (0, jsx_runtime_1.jsx)(ui_1.Text, { children: "How to hide this tab?" }) }) })] }) })] }));
};
exports.ProTab = ProTab;