sccoreui 2.3.2 → 2.3.3

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 (58) hide show
  1. package/dist/App.js +3 -2
  2. package/dist/App.scss +1 -0
  3. package/dist/assets/flex.css +3 -0
  4. package/dist/assets/images/Payment-method-apple-card.png +0 -0
  5. package/dist/assets/images/Payment-method-card-white.png +0 -0
  6. package/dist/assets/images/Payment-method-master-card.png +0 -0
  7. package/dist/assets/images/avatar.png +0 -0
  8. package/dist/assets/images/avatar1.png +0 -0
  9. package/dist/assets/images/avatar2.png +0 -0
  10. package/dist/assets/images/avatar3.png +0 -0
  11. package/dist/assets/images/avatar4.png +0 -0
  12. package/dist/assets/images/avatar5.png +0 -0
  13. package/dist/assets/images/avatar6.png +0 -0
  14. package/dist/assets/images/avatar7.png +0 -0
  15. package/dist/assets/images/avatar8.png +0 -0
  16. package/dist/assets/images/avatar9.png +0 -0
  17. package/dist/assets/images/company.png +0 -0
  18. package/dist/assets/images/company1.png +0 -0
  19. package/dist/assets/images/company2.png +0 -0
  20. package/dist/assets/images/company3.png +0 -0
  21. package/dist/assets/images/company4.png +0 -0
  22. package/dist/assets/images/company5.png +0 -0
  23. package/dist/assets/images/company6.png +0 -0
  24. package/dist/assets/sccoreui.css +420 -56
  25. package/dist/assets/theme.css +53 -2
  26. package/dist/directives/svg-icons.js +121 -2
  27. package/dist/pages/avatar/avatar.js +8 -8
  28. package/dist/pages/badges/badge.js +17 -5
  29. package/dist/pages/checkbox-group/checkbox-group-component.js +2 -24
  30. package/dist/pages/content-dividers/content-dividers.js +11 -0
  31. package/dist/pages/date-picker/date-picker.js +12 -0
  32. package/dist/pages/file-upload/file-upload.js +33 -0
  33. package/dist/pages/home.js +7 -1
  34. package/dist/pages/input/input-text.js +5 -5
  35. package/dist/pages/loader-indicator/loader-indicator.js +8 -0
  36. package/dist/pages/paginator/pagination.js +0 -1
  37. package/dist/pages/progress-bar/progress-bar.js +4 -1
  38. package/dist/pages/progress-steps/progress-steps.js +74 -36
  39. package/dist/pages/progress_bar_round/circle-progress-bar.js +7 -0
  40. package/dist/pages/progress_bar_round/half-circle-progres-bar.js +7 -0
  41. package/dist/pages/slideout-menus/slideout-menus.js +52 -0
  42. package/dist/pages/tabels/table-data.js +2193 -0
  43. package/dist/pages/tabels/table.js +98 -0
  44. package/dist/pages/tabs/tabs.js +1 -1
  45. package/dist/pages/tags/tags.js +4 -4
  46. package/dist/types/pages/content-dividers/content-dividers.d.ts +2 -0
  47. package/dist/types/pages/date-picker/date-picker.d.ts +2 -0
  48. package/dist/types/pages/file-upload/file-upload.d.ts +3 -0
  49. package/dist/types/pages/loader-indicator/loader-indicator.d.ts +3 -0
  50. package/dist/types/pages/progress-steps/progress-steps.d.ts +3 -0
  51. package/dist/types/pages/progress_bar_round/circle-progress-bar.d.ts +11 -0
  52. package/dist/types/pages/progress_bar_round/half-circle-progres-bar.d.ts +11 -0
  53. package/dist/types/pages/slideout-menus/slideout-menus.d.ts +2 -0
  54. package/dist/types/pages/tabels/table-data.d.ts +28 -0
  55. package/dist/types/pages/tabels/table.d.ts +2 -0
  56. package/dist/types/pages/types/type.d.ts +18 -0
  57. package/package.json +1 -1
  58. package/dist/assets/images/avatar-for-av-component.png +0 -0
@@ -1,44 +1,82 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProgressSteps = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const steps_1 = require("primereact/steps");
6
+ const button_1 = require("primereact/button");
6
7
  const svg_component_1 = tslib_1.__importDefault(require("../../directives/svg-component"));
7
- const generateTemplate = (icon, label, optionalText) => ((0, jsx_runtime_1.jsxs)("a", Object.assign({ href: "#", className: "flex flex-column justify-content-end gap-3 align-items-center z-2" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: icon }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column justify-content-center align-items-center" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-700 font-medium text-base" }, { children: label })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 font-normal text-base" }, { children: optionalText }))] }))] })));
8
- const itemsDefault = [
9
- {
10
- label: "Personal Details",
11
- },
12
- {
13
- label: "Company Details",
14
- },
15
- {
16
- label: "Confirmation",
17
- },
18
- ];
19
- const stepItemsBasic = [
20
- {
21
- template: generateTemplate("step-checked", "Your Details", "Please provide your name and email"),
22
- },
23
- {
24
- template: generateTemplate("step-current", "Company Details", "A few details about your company"),
25
- },
26
- {
27
- template: generateTemplate("step-unvisited", "Invite Your Team", "Start collaborating with your team"),
28
- },
29
- ];
30
- const stepItemsOutline = [
31
- {
32
- template: generateTemplate("step-checked-outline", "Your Details", "Please provide your name and email"),
33
- },
34
- {
35
- template: generateTemplate("step-current-outline", "Company Details", "A few details about your company"),
36
- },
37
- {
38
- template: generateTemplate("step-unvisited-outline", "Invite Your Team", "Start collaborating with your team"),
39
- },
40
- ];
8
+ require("./progress-steps.scss");
9
+ const react_1 = require("react");
10
+ const ProgressSteps = (props) => {
11
+ const { stepsItems, orientation, activeIndex, className, style } = props;
12
+ const [currentActive, setCurrentActive] = (0, react_1.useState)(activeIndex || 0);
13
+ const progressRef = (0, react_1.useRef)(null);
14
+ (0, react_1.useEffect)(() => {
15
+ if (!orientation || orientation === "horizontal") {
16
+ progressRef.current.style.width = `${(currentActive / (stepsItems.length - 1)) * 100}%`;
17
+ }
18
+ else {
19
+ progressRef.current.style.height = `${(currentActive / (stepsItems.length - 1)) * 100}%`;
20
+ }
21
+ }, [currentActive]);
22
+ const handleNext = () => {
23
+ if (currentActive > stepsItems.length) {
24
+ setCurrentActive(stepsItems.length);
25
+ }
26
+ else {
27
+ setCurrentActive(currentActive + 1);
28
+ }
29
+ };
30
+ const handlePrev = () => {
31
+ if (currentActive < 1) {
32
+ setCurrentActive(1);
33
+ }
34
+ else {
35
+ setCurrentActive(currentActive - 1);
36
+ }
37
+ };
38
+ const orientationClass = !orientation ? "horizontal" : orientation;
39
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `progress-container mb-2 ${orientationClass} ${className}`, style: style }, { children: [(0, jsx_runtime_1.jsx)("div", { className: `progressbar ${orientationClass}`, ref: progressRef }), stepsItems.map((eachItem, index) => ((0, jsx_runtime_1.jsxs)("section", Object.assign({ className: `progress-step-item ${orientationClass}`, onClick: () => {
40
+ if (eachItem.action) {
41
+ eachItem.action();
42
+ }
43
+ } }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: index === currentActive
44
+ ? "step-current"
45
+ : index > currentActive
46
+ ? "step-unvisited"
47
+ : "step-checked" }), (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: eachItem.template })] }), eachItem.id)))] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex gap-2 mt-8" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, Object.assign({ disabled: currentActive === 0, onClick: handlePrev }, { children: "Prev" })), (0, jsx_runtime_1.jsx)(button_1.Button, Object.assign({ disabled: currentActive === stepsItems.length - 1, onClick: handleNext }, { children: "Next" }))] }))] }));
48
+ };
49
+ exports.ProgressSteps = ProgressSteps;
41
50
  const ProgressStepsComponent = () => {
42
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex flex-column gap-8" }, { children: [(0, jsx_runtime_1.jsx)(steps_1.Steps, { model: itemsDefault, readOnly: false }), (0, jsx_runtime_1.jsx)(steps_1.Steps, { model: stepItemsBasic, readOnly: false }), (0, jsx_runtime_1.jsx)(steps_1.Steps, { model: stepItemsOutline, readOnly: false })] })));
51
+ const itemTemplate = (label, description, orientation = "horizontal") => ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `step-item-data ${orientation}` }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-700 font-semibold" }, { children: label })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 font-normal" }, { children: description }))] })));
52
+ const itemsHorizontal = [
53
+ {
54
+ id: "1",
55
+ template: itemTemplate("Your Details", "Please provide Your Details"),
56
+ },
57
+ {
58
+ id: "2",
59
+ template: itemTemplate("Company details", "A few details about your company"),
60
+ },
61
+ {
62
+ id: "3",
63
+ template: itemTemplate("Invite your team", "Start collaborating with your team"),
64
+ },
65
+ ];
66
+ const itemsVertical = [
67
+ {
68
+ id: "1",
69
+ template: itemTemplate("Your Details", "Please provide Your Details", "vertical"),
70
+ },
71
+ {
72
+ id: "2",
73
+ template: itemTemplate("Company details", "A few details about your company", "vertical"),
74
+ },
75
+ {
76
+ id: "3",
77
+ template: itemTemplate("Invite your team", "Start collaborating with your team", "vertical"),
78
+ },
79
+ ];
80
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex flex-column gap-8 ml-8 mt-8 pl-8" }, { children: [(0, jsx_runtime_1.jsx)(exports.ProgressSteps, { stepsItems: itemsHorizontal }), (0, jsx_runtime_1.jsx)(exports.ProgressSteps, { stepsItems: itemsVertical, orientation: "vertical" })] })));
43
81
  };
44
82
  exports.default = ProgressStepsComponent;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const CircleProgressComponent = ({ height = 290, strokeWidth = 14, text = "", strokeColor = 'var(--primary-600)', strokeBgColor = 'var(--gray-300)', value = -1, textDisabled = false }) => {
5
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "relative flex align-items-center justify-content-center", style: { height: height, width: height } }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ role: "progressbar", className: "flex ", style: { width: `${height}px`, height: `${height}px`, transform: "rotate(-90deg)", position: "absolute", top: "0", zIndex: "10" } }, { children: (0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "22 22 110 110" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "76", cy: "76", r: "40.2", fill: "none", "stroke-width": strokeWidth, style: { strokeDasharray: "256.92", strokeDashoffset: `${(256.92 - ((256.92 / 100) * value))}`, strokeLinecap: "round", stroke: `${strokeColor}` } }) })) })), (0, jsx_runtime_1.jsx)("span", Object.assign({ role: "progressbar", className: "flex obsolute ", style: { width: `${height}px`, height: `${height}px`, position: "absolute", transform: "rotate(-90deg)" } }, { children: (0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "22 22 110 110" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "76", cy: "76", r: "40.2", fill: "none", "stroke-width": strokeWidth, style: { strokeDasharray: "256.92", strokeDashoffset: "0", strokeLinecap: "round", stroke: `${strokeBgColor}` } }) })) })), !textDisabled && (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-center mr-auto ml-auto mt-auto mb-auto" }, { children: [text !== "" && (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base" }, { children: text })), value !== -1 && (0, jsx_runtime_1.jsxs)("span", Object.assign({ className: "text-4xl my-2" }, { children: [value, "%"] }))] }))] })));
6
+ };
7
+ exports.default = CircleProgressComponent;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const HalfProgressComponent = ({ height = 290, strokeWidth = 14, text = "", strokeColor = 'var(--primary-600)', strokeBgColor = 'var(--gray-300)', value = -1, textDisabled = false }) => {
5
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "relative flex align-items-center justify-content-center", style: { height: height, width: height } }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ role: "progressbar", className: "flex ", style: { width: `${height}px`, height: `${height}px`, transform: "rotate(-90deg)", position: "absolute", top: "0", zIndex: "10" } }, { children: (0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "22 22 110 110" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "76", cy: "76", r: "40.2", fill: "none", "stroke-width": strokeWidth, style: { strokeDasharray: "180.46", strokeDashoffset: `${(180.46 - ((180.46 / 100) * value))}`, strokeLinecap: "round", stroke: `${strokeColor}` } }) })) })), (0, jsx_runtime_1.jsx)("span", Object.assign({ role: "progressbar", className: "flex obsolute ", style: { width: `${height}px`, height: `${height}px`, position: "absolute", transform: "rotate(-90deg)" } }, { children: (0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "22 22 110 110" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "76", cy: "76", r: "40.2", fill: "none", "stroke-width": strokeWidth, style: { strokeDasharray: "128.46", strokeDashoffset: "0", strokeLinecap: "round", stroke: `${strokeBgColor}` } }) })) })), !textDisabled && (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-center mr-auto ml-auto mt-auto mb-auto" }, { children: [text !== "" && (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base" }, { children: text })), value !== -1 && (0, jsx_runtime_1.jsxs)("span", Object.assign({ className: "text-4xl my-2" }, { children: [value, "%"] }))] }))] })) }));
6
+ };
7
+ exports.default = HalfProgressComponent;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const button_1 = require("primereact/button");
6
+ const sidebar_1 = require("primereact/sidebar");
7
+ const react_1 = require("react");
8
+ const svg_component_1 = tslib_1.__importDefault(require("../../directives/svg-component"));
9
+ const tabview_1 = require("primereact/tabview");
10
+ const avatar_png_1 = tslib_1.__importDefault(require("../../assets/images/avatar.png"));
11
+ const checkbox_1 = require("primereact/checkbox");
12
+ const Payment_method_card_white_png_1 = tslib_1.__importDefault(require("../../assets/images/Payment-method-card-white.png"));
13
+ const Payment_method_master_card_png_1 = tslib_1.__importDefault(require("../../assets/images/Payment-method-master-card.png"));
14
+ const Payment_method_apple_card_png_1 = tslib_1.__importDefault(require("../../assets/images/Payment-method-apple-card.png"));
15
+ const inputtext_1 = require("primereact/inputtext");
16
+ const SlideoutMenuComponent = () => {
17
+ const [visibleRight, setVisibleRight] = (0, react_1.useState)(false);
18
+ const [visibleRight2, setVisibleRight2] = (0, react_1.useState)(false);
19
+ const [visibleRight3, setVisibleRight3] = (0, react_1.useState)(false);
20
+ const [isChecked, setIsChecked] = (0, react_1.useState)(false);
21
+ const [emailValue, setEmailValue] = (0, react_1.useState)("");
22
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("h2", Object.assign({ className: "flex bg-gray-200 p-3 justify-content-center mt-0 mb-4" }, { children: "Slideout Menus" })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "grid my-8" }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "col-12 md:col-4 flex justify-content-between px-4" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { label: "Label discription", onClick: () => setVisibleRight(true) }), (0, jsx_runtime_1.jsx)(button_1.Button, { label: "Messaging", onClick: () => setVisibleRight2(true) }), (0, jsx_runtime_1.jsx)(button_1.Button, { label: "Payment Cards", onClick: () => setVisibleRight3(true) }), (0, jsx_runtime_1.jsxs)(sidebar_1.Sidebar, Object.assign({ visible: visibleRight, position: "right", onHide: () => setVisibleRight(false), className: "w-25rem" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex w-full align-items-start gap-3 mb-3" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "slide-out-menu-header-round-icon-primary-100" }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-start" }, { children: [(0, jsx_runtime_1.jsx)("h1", Object.assign({ className: "text-gray-900 text-xl my-0 line-height-3 font-semibold" }, { children: "Heading" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-base line-height-2 font-normal" }, { children: "Lorem ipsum dolor sit amet." }))] }))] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex flex-column align-items-start my-3 pl-1" }, { children: [(0, jsx_runtime_1.jsx)("label", Object.assign({ className: "text-gray-700 text-base font-medium" }, { children: "Label" })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "my-1 font-normal text-base" }, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Odio dictumst tempus magna elit cras posuere cursus pulvinar id. Facilisis at eu amet ornare enim arcu malesuada rutrum a." })), (0, jsx_runtime_1.jsx)("div", { className: "bg-gray-50 w-full h-5rem border-round-lg mt-3" })] })), (0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 pl-1" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex flex-column align-items-start my-3 pl-1" }, { children: [(0, jsx_runtime_1.jsx)("label", Object.assign({ className: "text-gray-700 text-base font-medium" }, { children: "Label" })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "my-1 font-normal text-base" }, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Odio dictumst tempus magna elit cras posuere cursus pulvinar id. Facilisis at eu amet ornare enim arcu malesuada rutrum a." })), (0, jsx_runtime_1.jsx)("div", { className: "bg-gray-50 w-full h-5rem border-round-lg mt-3" })] })), (0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 pl-1" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex flex-column align-items-start my-3 pl-1" }, { children: [(0, jsx_runtime_1.jsx)("label", Object.assign({ className: "text-gray-700 text-base font-medium" }, { children: "Label" })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "my-1 font-normal text-base" }, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Odio dictumst tempus magna elit cras posuere cursus pulvinar id. Facilisis at eu amet ornare enim arcu malesuada rutrum a." })), (0, jsx_runtime_1.jsx)("div", { className: "bg-gray-50 w-full h-5rem border-round-lg mt-3" })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "sideout-menu-footer" }, { children: [(0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-6 flex align-items-center justify-content-end gap-2" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { outlined: true, className: "", label: "Cancle" }), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "", label: "Save" })] }))] }))] })), (0, jsx_runtime_1.jsx)(sidebar_1.Sidebar, Object.assign({ visible: visibleRight2, position: "right", onHide: () => setVisibleRight2(false), className: "w-25rem" }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex w-full flex-column align-items-start mb-3" }, { children: [(0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-start" }, { children: [(0, jsx_runtime_1.jsx)("h1", Object.assign({ className: "text-gray-900 text-xl my-0 line-height-3 font-semibold" }, { children: "Messages" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-base line-height-2 font-normal" }, { children: "Lorem ipsum dolor sit amet." }))] })), (0, jsx_runtime_1.jsxs)(tabview_1.TabView, Object.assign({ className: "tab-view-shadow-box w-full flex justify-content-between md:flex-column not-expand mt-6" }, { children: [(0, jsx_runtime_1.jsxs)(tabview_1.TabPanel, Object.assign({ header: "Recent" }, { children: [(0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 pl-1 my-4" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex align-items-start gap-2 my-3 pl-1" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-3rem h-3rem border-circle flex align-items-center justify-content-center relative " }, { children: [(0, jsx_runtime_1.jsx)("img", { src: avatar_png_1.default, className: " border-circle w-3rem h-3rem p-avatar-focus" }), (0, jsx_runtime_1.jsx)("span", { className: "bg-green-500 border-circle absolute border-1 border-white", style: {
23
+ position: "absolute",
24
+ right: "0",
25
+ height: "12px",
26
+ width: "12px",
27
+ bottom: "0",
28
+ } })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex flex-column" }, { children: [(0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "relative w-full line-height-1" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-medium text-base text-gray-700 line-height-2" }, { children: "Phoenix Baker" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-sm ml-2 font-normal line-height-1 text-gray-600" }, { children: "Just now" })), (0, jsx_runtime_1.jsx)("span", { className: "bg-green-500 p-1 border-circle absolute border-1 border-white", style: {
29
+ position: "absolute",
30
+ right: "1px",
31
+ top: "1px"
32
+ } })] })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-gray-600 font-normal" }, { children: "@phoenix" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-gray-600 font-normal my-1" }, { children: "Looks good!" }))] }))] })), (0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 pl-1 my-4" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex align-items-start gap-2 my-3 pl-1" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-3rem h-3rem border-circle flex align-items-center justify-content-center relative " }, { children: [(0, jsx_runtime_1.jsx)("img", { src: avatar_png_1.default, className: " border-circle w-3rem h-3rem p-avatar-focus" }), (0, jsx_runtime_1.jsx)("span", { className: "bg-gray-300 border-circle absolute border-1 border-white", style: {
33
+ position: "absolute",
34
+ right: "0",
35
+ height: "12px",
36
+ width: "12px",
37
+ bottom: "0",
38
+ } })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex flex-column" }, { children: [(0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "relative w-full line-height-1" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-medium text-base text-gray-700 line-height-2" }, { children: "Lana Steiner" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-sm ml-2 font-normal line-height-1 text-gray-600" }, { children: "2 mins ago" })), (0, jsx_runtime_1.jsx)("span", { className: "bg-green-500 p-1 border-circle absolute border-1 border-white", style: {
39
+ position: "absolute",
40
+ right: "1px",
41
+ top: "1px"
42
+ } })] })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-gray-600 font-normal" }, { children: "@lana" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-gray-600 font-normal my-1" }, { children: "Thanks so much, happy with that." }))] }))] })), (0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 pl-1" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex align-items-start gap-2 my-3 pl-1" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-3rem h-3rem border-circle flex align-items-center justify-content-center relative " }, { children: [(0, jsx_runtime_1.jsx)("img", { src: avatar_png_1.default, className: " border-circle w-3rem h-3rem p-avatar-focus" }), (0, jsx_runtime_1.jsx)("span", { className: "bg-gray-300 border-circle absolute border-1 border-white", style: {
43
+ position: "absolute",
44
+ right: "0",
45
+ height: "12px",
46
+ width: "12px",
47
+ bottom: "0",
48
+ } })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex flex-column" }, { children: [(0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "relative w-full line-height-1" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-medium text-base text-gray-700 line-height-2" }, { children: "Orlando Diggs" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-sm ml-2 font-normal line-height-1 text-gray-600" }, { children: "3:42pm 20 Jan 2022" }))] })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-gray-600 font-normal" }, { children: "@orlando" })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex bg-white align-items-start gap-2 my-2" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "file-icon-primary-100" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex flex-column align-items-start pl-1 w-full" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base w-full text-gray-700 line-height-2 font-medium" }, { children: "Datasheet_draft_02.pdf" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-gray-700 line-height-2 font-normal my-1" }, { children: "720 KB" }))] }))] }))] }))] }))] })), (0, jsx_runtime_1.jsx)(tabview_1.TabPanel, { header: "Groups" }), (0, jsx_runtime_1.jsx)(tabview_1.TabPanel, { header: "Archive" })] }))] })) })), (0, jsx_runtime_1.jsxs)(sidebar_1.Sidebar, Object.assign({ visible: visibleRight3, position: "right", onHide: () => setVisibleRight3(false), className: "w-25rem" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex w-full align-items-start gap-3 mb-3" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "slide-out-menu-header-round-payment-card-icon-primary-100" }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex w-full flex-column align-items-start" }, { children: [(0, jsx_runtime_1.jsx)("h1", Object.assign({ className: "text-gray-900 text-xl my-0 line-height-3 font-semibold" }, { children: "Payment method" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-base line-height-2 font-normal" }, { children: "Update your plan payment details." }))] }))] })), (0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 pl-1" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-start justify-content-between my-2 gap-3 p-4 border-round-xl p-checkbox-group ${isChecked ? "p-group-highlight" : ""} w-full`, onClick: () => setIsChecked(!isChecked) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: Payment_method_card_white_png_1.default, alt: "." }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-start w-full" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-800 text-lg font-medium line-height-2" }, { children: "Visa ending in 1234" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-lg font-normal line-height-2" }, { children: "Up to 10 users and 20GB indiviual data." })), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex align-items-center gap-2 my-2" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-primary-500" }, { children: "Set as default" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-semibold text-base" }, { children: "Edit" }))] }))] })), (0, jsx_runtime_1.jsx)(checkbox_1.Checkbox, { onClick: () => setIsChecked(!isChecked), checked: isChecked, className: "p-checkcircle", icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "check-selected-white" }) })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-start justify-content-between my-2 gap-3 p-4 border-round-xl p-checkbox-group ${isChecked ? "p-group-highlight" : ""} w-full`, onClick: () => setIsChecked(!isChecked) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: Payment_method_master_card_png_1.default, alt: "." }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-start w-full" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-800 text-lg font-medium line-height-2" }, { children: "Mastercard ending in 1234" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-lg font-normal line-height-2" }, { children: "Up to 20 users and 40GB indiviual data." })), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex align-items-center gap-2 my-2" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-primary-500" }, { children: "Set as default" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-semibold text-base" }, { children: "Edit" }))] }))] })), (0, jsx_runtime_1.jsx)(checkbox_1.Checkbox, { onClick: () => setIsChecked(!isChecked), checked: isChecked, className: "p-checkcircle", icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "check-selected-white" }) })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-start justify-content-between my-2 gap-3 p-4 border-round-xl p-checkbox-group ${isChecked ? "p-group-highlight" : ""} w-full`, onClick: () => setIsChecked(!isChecked) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: Payment_method_apple_card_png_1.default, alt: "." }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-start w-full" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-800 text-lg font-medium line-height-2" }, { children: "Visa ending in 1234" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-lg font-normal line-height-2" }, { children: "Unlimited users and unlimited indiviual data." })), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex align-items-center gap-2 my-2" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-primary-500" }, { children: "Set as default" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-semibold text-base" }, { children: "Edit" }))] }))] })), (0, jsx_runtime_1.jsx)(checkbox_1.Checkbox, { onClick: () => setIsChecked(!isChecked), checked: isChecked, className: "p-checkcircle", icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "check-selected-white" }) })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-start justify-content-between my-2 gap-3 p-4 border-round-xl p-checkbox-group ${isChecked ? "p-group-highlight" : ""} w-full`, onClick: () => setIsChecked(!isChecked) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: Payment_method_card_white_png_1.default, alt: "." }), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex flex-column align-items-start w-full" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-800 text-lg font-medium line-height-2" }, { children: "Stripe (Visa ending 1234)" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 text-lg font-normal line-height-2" }, { children: "Unlimited users and unlimited indiviual data." })), (0, jsx_runtime_1.jsxs)("section", Object.assign({ className: "flex align-items-center gap-2 my-2" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-primary-500" }, { children: "Set as default" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "font-semibold text-base" }, { children: "Edit" }))] }))] })), (0, jsx_runtime_1.jsx)(checkbox_1.Checkbox, { onClick: () => setIsChecked(!isChecked), checked: isChecked, className: "p-checkcircle", icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "check-selected-white" }) })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "w-full flex align-items-center justify-content-end gap-2 my-2" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "payment-method-plus-icon" }), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-base text-primary-400 font-semibold" }, { children: "Add payment method" }))] })), (0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1 my-6" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex flex-column align-items-start" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-700 line-height-2 text-base font-medium" }, { children: "Billing contact" })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "text-gray-600 line-height-2 text-base font-normal" }, { children: "Add a second billing contact email." })), (0, jsx_runtime_1.jsx)("label", Object.assign({ htmlFor: "Email", className: "font-medium text-gray-700 text-base mb-1 mt-4" }, { children: "Email address" })), (0, jsx_runtime_1.jsxs)("span", Object.assign({ className: " p-input-icon-left message-box p-input-icon-right w-full" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "p-input-prefix" }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "message-box" }) })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: "p-input-suffix" }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { iconName: "help-circle" }) })), (0, jsx_runtime_1.jsx)(inputtext_1.InputText, { value: emailValue, id: "Email", onChange: (e) => {
49
+ setEmailValue(e.target.value);
50
+ }, "aria-describedby": "username-help", placeholder: "Enter your email address", className: "w-full text-lg font-normal text-gray-500 hover:text-gray-900" })] }))] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "sideout-menu-footer my-5" }, { children: [(0, jsx_runtime_1.jsx)("hr", { className: "w-full my-0 border-gray-200 border-1" }), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-6 flex align-items-center justify-content-end gap-2" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { outlined: true, className: "", label: "Cancle" }), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "", label: "Confirm" })] }))] }))] }))] })) }))] }));
51
+ };
52
+ exports.default = SlideoutMenuComponent;