pixelize-design-library 2.4.1-beta.1 → 2.4.1

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 (157) hide show
  1. package/package.json +2 -2
  2. package/dist/App.d.ts +0 -4
  3. package/dist/App.js +0 -95
  4. package/dist/Layout.d.ts +0 -3
  5. package/dist/Layout.js +0 -286
  6. package/dist/Pages/TInput.d.ts +0 -3
  7. package/dist/Pages/TInput.d.ts.map +0 -1
  8. package/dist/Pages/TInput.js +0 -20
  9. package/dist/Pages/accordion.d.ts +0 -3
  10. package/dist/Pages/accordion.d.ts.map +0 -1
  11. package/dist/Pages/accordion.js +0 -21
  12. package/dist/Pages/alertdialog.d.ts +0 -3
  13. package/dist/Pages/alertdialog.d.ts.map +0 -1
  14. package/dist/Pages/alertdialog.js +0 -53
  15. package/dist/Pages/button.d.ts +0 -3
  16. package/dist/Pages/button.d.ts.map +0 -1
  17. package/dist/Pages/button.js +0 -32
  18. package/dist/Pages/card.d.ts +0 -3
  19. package/dist/Pages/card.d.ts.map +0 -1
  20. package/dist/Pages/card.js +0 -102
  21. package/dist/Pages/chart.d.ts +0 -4
  22. package/dist/Pages/chart.d.ts.map +0 -1
  23. package/dist/Pages/chart.js +0 -25
  24. package/dist/Pages/checkbox.d.ts +0 -3
  25. package/dist/Pages/checkbox.d.ts.map +0 -1
  26. package/dist/Pages/checkbox.js +0 -11
  27. package/dist/Pages/contactForm.d.ts +0 -3
  28. package/dist/Pages/contactForm.d.ts.map +0 -1
  29. package/dist/Pages/contactForm.js +0 -15
  30. package/dist/Pages/customModulesTable.d.ts +0 -4
  31. package/dist/Pages/customModulesTable.d.ts.map +0 -1
  32. package/dist/Pages/customModulesTable.js +0 -25
  33. package/dist/Pages/datePick.d.ts +0 -3
  34. package/dist/Pages/datePick.d.ts.map +0 -1
  35. package/dist/Pages/datePick.js +0 -49
  36. package/dist/Pages/drawer.d.ts +0 -3
  37. package/dist/Pages/drawer.d.ts.map +0 -1
  38. package/dist/Pages/drawer.js +0 -53
  39. package/dist/Pages/dropdown.d.ts +0 -3
  40. package/dist/Pages/dropdown.d.ts.map +0 -1
  41. package/dist/Pages/dropdown.js +0 -21
  42. package/dist/Pages/editor.d.ts +0 -3
  43. package/dist/Pages/editor.d.ts.map +0 -1
  44. package/dist/Pages/editor.js +0 -13
  45. package/dist/Pages/feedback.d.ts +0 -2
  46. package/dist/Pages/feedback.d.ts.map +0 -1
  47. package/dist/Pages/feedback.js +0 -12
  48. package/dist/Pages/fileUpload.d.ts +0 -2
  49. package/dist/Pages/fileUpload.d.ts.map +0 -1
  50. package/dist/Pages/fileUpload.js +0 -36
  51. package/dist/Pages/input.d.ts +0 -3
  52. package/dist/Pages/input.d.ts.map +0 -1
  53. package/dist/Pages/input.js +0 -48
  54. package/dist/Pages/kanbanboard.d.ts +0 -3
  55. package/dist/Pages/kanbanboard.d.ts.map +0 -1
  56. package/dist/Pages/kanbanboard.js +0 -182
  57. package/dist/Pages/modal.d.ts +0 -3
  58. package/dist/Pages/modal.d.ts.map +0 -1
  59. package/dist/Pages/modal.js +0 -61
  60. package/dist/Pages/multiSelect.d.ts +0 -3
  61. package/dist/Pages/multiSelect.d.ts.map +0 -1
  62. package/dist/Pages/multiSelect.js +0 -22
  63. package/dist/Pages/noteArea.d.ts +0 -3
  64. package/dist/Pages/noteArea.d.ts.map +0 -1
  65. package/dist/Pages/noteArea.js +0 -26
  66. package/dist/Pages/notification.d.ts +0 -3
  67. package/dist/Pages/notification.d.ts.map +0 -1
  68. package/dist/Pages/notification.js +0 -37
  69. package/dist/Pages/numberInput.d.ts +0 -3
  70. package/dist/Pages/numberInput.d.ts.map +0 -1
  71. package/dist/Pages/numberInput.js +0 -16
  72. package/dist/Pages/orgSwitcher.d.ts +0 -4
  73. package/dist/Pages/orgSwitcher.d.ts.map +0 -1
  74. package/dist/Pages/orgSwitcher.js +0 -36
  75. package/dist/Pages/organizationDetails.d.ts +0 -4
  76. package/dist/Pages/organizationDetails.d.ts.map +0 -1
  77. package/dist/Pages/organizationDetails.js +0 -64
  78. package/dist/Pages/photoViewer.d.ts +0 -3
  79. package/dist/Pages/photoViewer.d.ts.map +0 -1
  80. package/dist/Pages/photoViewer.js +0 -12
  81. package/dist/Pages/pinInputs.d.ts +0 -3
  82. package/dist/Pages/pinInputs.d.ts.map +0 -1
  83. package/dist/Pages/pinInputs.js +0 -11
  84. package/dist/Pages/productCaard.d.ts +0 -3
  85. package/dist/Pages/productCaard.d.ts.map +0 -1
  86. package/dist/Pages/productCaard.js +0 -311
  87. package/dist/Pages/productDetailCard.d.ts +0 -3
  88. package/dist/Pages/productDetailCard.d.ts.map +0 -1
  89. package/dist/Pages/productDetailCard.js +0 -78
  90. package/dist/Pages/productFilter.d.ts +0 -3
  91. package/dist/Pages/productFilter.d.ts.map +0 -1
  92. package/dist/Pages/productFilter.js +0 -148
  93. package/dist/Pages/progressbar.d.ts +0 -3
  94. package/dist/Pages/progressbar.d.ts.map +0 -1
  95. package/dist/Pages/progressbar.js +0 -11
  96. package/dist/Pages/radioButton.d.ts +0 -3
  97. package/dist/Pages/radioButton.d.ts.map +0 -1
  98. package/dist/Pages/radioButton.js +0 -18
  99. package/dist/Pages/rolesPermission.d.ts +0 -4
  100. package/dist/Pages/rolesPermission.d.ts.map +0 -1
  101. package/dist/Pages/rolesPermission.js +0 -144
  102. package/dist/Pages/search.d.ts +0 -3
  103. package/dist/Pages/search.d.ts.map +0 -1
  104. package/dist/Pages/search.js +0 -21
  105. package/dist/Pages/searchSelect.d.ts +0 -3
  106. package/dist/Pages/searchSelect.d.ts.map +0 -1
  107. package/dist/Pages/searchSelect.js +0 -97
  108. package/dist/Pages/select.d.ts +0 -3
  109. package/dist/Pages/select.d.ts.map +0 -1
  110. package/dist/Pages/select.js +0 -20
  111. package/dist/Pages/selectSearch.d.ts +0 -3
  112. package/dist/Pages/selectSearch.d.ts.map +0 -1
  113. package/dist/Pages/selectSearch.js +0 -58
  114. package/dist/Pages/signInActivityTable.d.ts +0 -4
  115. package/dist/Pages/signInActivityTable.d.ts.map +0 -1
  116. package/dist/Pages/signInActivityTable.js +0 -17
  117. package/dist/Pages/skeleton.d.ts +0 -3
  118. package/dist/Pages/skeleton.d.ts.map +0 -1
  119. package/dist/Pages/skeleton.js +0 -12
  120. package/dist/Pages/stageProgress.d.ts +0 -4
  121. package/dist/Pages/stageProgress.d.ts.map +0 -1
  122. package/dist/Pages/stageProgress.js +0 -31
  123. package/dist/Pages/switch.d.ts +0 -3
  124. package/dist/Pages/switch.d.ts.map +0 -1
  125. package/dist/Pages/switch.js +0 -17
  126. package/dist/Pages/table.d.ts +0 -3
  127. package/dist/Pages/table.d.ts.map +0 -1
  128. package/dist/Pages/table.js +0 -182
  129. package/dist/Pages/tag.d.ts +0 -3
  130. package/dist/Pages/tag.d.ts.map +0 -1
  131. package/dist/Pages/tag.js +0 -27
  132. package/dist/Pages/textArea.d.ts +0 -3
  133. package/dist/Pages/textArea.d.ts.map +0 -1
  134. package/dist/Pages/textArea.js +0 -14
  135. package/dist/Pages/tier1.d.ts +0 -4
  136. package/dist/Pages/tier1.d.ts.map +0 -1
  137. package/dist/Pages/tier1.js +0 -86
  138. package/dist/Pages/timeline.d.ts +0 -3
  139. package/dist/Pages/timeline.d.ts.map +0 -1
  140. package/dist/Pages/timeline.js +0 -73
  141. package/dist/Pages/tooltip.d.ts +0 -3
  142. package/dist/Pages/tooltip.d.ts.map +0 -1
  143. package/dist/Pages/tooltip.js +0 -11
  144. package/dist/Pages/toster.d.ts +0 -3
  145. package/dist/Pages/toster.d.ts.map +0 -1
  146. package/dist/Pages/toster.js +0 -53
  147. package/dist/Pages/upgradeButton.d.ts +0 -4
  148. package/dist/Pages/upgradeButton.d.ts.map +0 -1
  149. package/dist/Pages/upgradeButton.js +0 -17
  150. package/dist/Pages/userDetails.d.ts +0 -4
  151. package/dist/Pages/userDetails.d.ts.map +0 -1
  152. package/dist/Pages/userDetails.js +0 -79
  153. package/dist/Pages/verifyEmail.d.ts +0 -3
  154. package/dist/Pages/verifyEmail.d.ts.map +0 -1
  155. package/dist/Pages/verifyEmail.js +0 -17
  156. package/dist/bootstrap.d.ts +0 -2
  157. package/dist/bootstrap.js +0 -16
@@ -1,182 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const react_2 = require("@chakra-ui/react");
9
- const KanbanBoard_1 = __importDefault(require("../Components/KanbanBoard/KanbanBoard"));
10
- const createItems = (count, prefix) => Array.from({ length: count }, (_, i) => ({
11
- id: `${prefix}-${i}`,
12
- rating: "Acquired",
13
- name: `${prefix} Item ${i}`,
14
- // customNode: () => <div style={{ backgroundColor: "red", padding: "10px", borderRadius: "5px" }}>Custom Node {i}</div>,
15
- }));
16
- const buildKanbanData = (primaryColumnColor, successColumnColor) => ({
17
- acquired: {
18
- id: "acquired",
19
- title: "Acquired",
20
- color: primaryColumnColor,
21
- items: createItems(1000, "acq"),
22
- },
23
- active: {
24
- id: "requested",
25
- title: "Requested",
26
- color: successColumnColor,
27
- items: createItems(4, "req"),
28
- customNode: () => ((0, jsx_runtime_1.jsxs)(react_2.Box, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 2, children: [(0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "xs", color: "gray.600", children: "Total items: 4" }), (0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "xs", color: "gray.500", children: "Drag cards to move" })] })),
29
- },
30
- closed: {
31
- id: "closed",
32
- title: "close",
33
- color: successColumnColor,
34
- items: createItems(3, "cls"),
35
- },
36
- open: {
37
- id: "open",
38
- title: "Open",
39
- color: successColumnColor,
40
- items: createItems(5, "OP"),
41
- customNode: () => ((0, jsx_runtime_1.jsxs)(react_2.Box, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 2, children: [(0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "xs", color: "gray.600", children: "Total items: 4" }), (0, jsx_runtime_1.jsx)(react_2.Text, { fontSize: "xs", color: "gray.500", children: "Drag cards to move" })] })),
42
- },
43
- done: {
44
- id: "done",
45
- title: "Done",
46
- color: successColumnColor,
47
- items: createItems(6, "done"),
48
- },
49
- });
50
- const viewListData = [
51
- {
52
- view_id: 5,
53
- type: "contact",
54
- viewName: "status",
55
- groupBy: "Lead Source",
56
- selectedField: [
57
- "contact_owner",
58
- "first_name",
59
- "last_name",
60
- "title",
61
- "assistant",
62
- "email",
63
- "mobile",
64
- "lead_source",
65
- "dob",
66
- "skype_id",
67
- "twitter",
68
- "sec_email",
69
- "mail_street",
70
- "mail_city",
71
- "mail_state",
72
- "mail_zip",
73
- "mail_country",
74
- "other_street",
75
- "other_city",
76
- "other_state",
77
- "other_zip",
78
- "other_country",
79
- "fax",
80
- "description",
81
- ],
82
- moduleId: null,
83
- created_at: 1756720852175,
84
- updated_at: 1756720852175,
85
- },
86
- {
87
- view_id: 4,
88
- type: "contact",
89
- viewName: "demo",
90
- groupBy: "Lead Source",
91
- selectedField: [
92
- "contact_owner",
93
- "first_name",
94
- "last_name",
95
- "title",
96
- "assistant",
97
- "email",
98
- "mobile",
99
- "lead_source",
100
- "dob",
101
- "skype_id",
102
- "twitter",
103
- "sec_email",
104
- "mail_street",
105
- "mail_city",
106
- "mail_state",
107
- "mail_zip",
108
- "mail_country",
109
- "other_street",
110
- "other_city",
111
- "other_state",
112
- "other_zip",
113
- "other_country",
114
- "fax",
115
- "description",
116
- ],
117
- moduleId: null,
118
- created_at: 1756720474429,
119
- updated_at: 1756720474429,
120
- },
121
- {
122
- view_id: 2,
123
- type: "contact",
124
- viewName: "kanabana",
125
- groupBy: "Lead Source",
126
- selectedField: [
127
- "contact_owner",
128
- "first_name",
129
- "last_name",
130
- "title",
131
- "assistant",
132
- "email",
133
- "mobile",
134
- "lead_source",
135
- "dob",
136
- "skype_id",
137
- "twitter",
138
- "sec_email",
139
- "mail_street",
140
- "mail_city",
141
- "mail_state",
142
- "mail_zip",
143
- "mail_country",
144
- "other_street",
145
- "other_city",
146
- "other_state",
147
- "other_zip",
148
- "other_country",
149
- "fax",
150
- "description",
151
- ],
152
- moduleId: null,
153
- created_at: 1756457931264,
154
- updated_at: 1756457931264,
155
- },
156
- ];
157
- const KanbanBoardExample = () => {
158
- const theme = (0, react_2.useTheme)();
159
- const data = (0, react_1.useMemo)(() => buildKanbanData(theme.colors.primary[500], theme.colors.semantic.success[500]), [theme]);
160
- return ((0, jsx_runtime_1.jsx)(KanbanBoard_1.default, { data: data, onDelete: (item) => console.log("Delete", item), onOpen: (item) => console.log("Open", item), onDrag: (updatedColumns) => console.log("New State", updatedColumns), onColumnDelete: (updatedColumns) => console.log("New Del", updatedColumns), isLoading: false, virtualization: true, kanbanCreate: {
161
- isCreatable: true,
162
- onCreate: () => { },
163
- }, kanbanEdit: {
164
- isEditable: true,
165
- onEdit: () => { },
166
- label: "Edit",
167
- }, kanbanSelect: {
168
- isSelect: true,
169
- options: viewListData === null || viewListData === void 0 ? void 0 : viewListData.map((item) => ({
170
- label: item === null || item === void 0 ? void 0 : item.viewName,
171
- id: String(item === null || item === void 0 ? void 0 : item.view_id),
172
- })),
173
- onSelectChange: () => { },
174
- selectPlaceholderText: "",
175
- width: "200px",
176
- value: "kanbanSelectValue",
177
- }, enableColumnCollapse: true, enableColumnReorder: true, onColumnReorder: (columns) => console.log("New Order", columns), collapsedColumns: {
178
- active: true,
179
- closed: true,
180
- }, onColumnCollapseChange: (columns) => console.log("New Collapse", columns) }));
181
- };
182
- exports.default = KanbanBoardExample;
@@ -1,3 +0,0 @@
1
- declare const ModalPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default ModalPage;
3
- //# sourceMappingURL=modal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/Pages/modal.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,SAAS,+CAwCd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- const jsx_runtime_1 = require("react/jsx-runtime");
40
- const react_1 = require("react");
41
- const Modal_1 = __importStar(require("../Components/Modal/Modal"));
42
- const Button_1 = __importDefault(require("../Components/Button/Button"));
43
- const ModalPage = () => {
44
- const [isOpen, setIsOpen] = (0, react_1.useState)(false);
45
- const [isModelLoading, setIsModelLoading] = (0, react_1.useState)(false);
46
- (0, react_1.useEffect)(() => {
47
- const timer = setTimeout(() => {
48
- setIsModelLoading(false);
49
- }, 5000);
50
- // Cleanup the timer on component unmount
51
- return () => clearTimeout(timer);
52
- }, []);
53
- const handleOnclick2 = () => {
54
- setIsOpen(true);
55
- };
56
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Button_1.default, { label: "ModelButton", onClick: handleOnclick2, width: 250, variant: "solid" }), (0, jsx_runtime_1.jsxs)(Modal_1.default, { isOpen: isOpen, onClose: () => setIsOpen(false),
57
- // overlaybg={"blackAlpha.300"}
58
- // overlaybackdropFilter={"blur(10px) hue-rotate(90deg)"}
59
- size: "sm", isCentered: true, isLoading: isModelLoading, children: [(0, jsx_runtime_1.jsx)(Modal_1.ModalHeader, { children: "hai" }), (0, jsx_runtime_1.jsx)(Modal_1.ModalBody, { children: "heelo" }), (0, jsx_runtime_1.jsx)(Modal_1.ModalFooter, { children: "welcome" })] })] }));
60
- };
61
- exports.default = ModalPage;
@@ -1,3 +0,0 @@
1
- declare const MultiSelectPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default MultiSelectPage;
3
- //# sourceMappingURL=multiSelect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"multiSelect.d.ts","sourceRoot":"","sources":["../../src/Pages/multiSelect.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,eAAe,+CA2BpB,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const MultiSelect_1 = __importDefault(require("../Components/MultiSelect/MultiSelect"));
9
- const MultiSelectPage = () => {
10
- const [selectedOptions, setSelectedOptions] = (0, react_1.useState)([
11
- {
12
- id: "1721664346718-1",
13
- label: "Testing",
14
- },
15
- ]);
16
- const handleValueSelectChange = (options) => {
17
- setSelectedOptions(options);
18
- console.log("Selected options updated:", options);
19
- };
20
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(MultiSelect_1.default, { value: selectedOptions, onValueChange: handleValueSelectChange, error: true, errorMessage: 'frr' }) }));
21
- };
22
- exports.default = MultiSelectPage;
@@ -1,3 +0,0 @@
1
- declare const NoteAreaPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default NoteAreaPage;
3
- //# sourceMappingURL=noteArea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"noteArea.d.ts","sourceRoot":"","sources":["../../src/Pages/noteArea.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,YAAY,+CAoCjB,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const NoteTextArea_1 = __importDefault(require("../Components/NoteTextArea/NoteTextArea"));
9
- const NoteAreaPage = () => {
10
- const [saveButtonLoading, setSaveButtonLoading] = (0, react_1.useState)(false);
11
- const handleNoteValue = (noteValue, titleValue, file) => {
12
- console.log("Title: ", titleValue);
13
- console.log("Note: ", noteValue);
14
- console.log("File: ", file);
15
- setSaveButtonLoading(true);
16
- setTimeout(() => {
17
- setSaveButtonLoading(false);
18
- }, 2000);
19
- };
20
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(NoteTextArea_1.default, { width: "720px", handleSubmit: (noteValue, titleValue, file) => {
21
- handleNoteValue(noteValue, titleValue, file);
22
- }, value: "text", title: "hello", isEditable: false, saveButtonLoading: saveButtonLoading, handleCancel: (isActive) => {
23
- console.log("isActive", isActive);
24
- }, customPlaceholder: "Add a note..." }) }));
25
- };
26
- exports.default = NoteAreaPage;
@@ -1,3 +0,0 @@
1
- declare const notificationPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default notificationPage;
3
- //# sourceMappingURL=notification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/Pages/notification.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,gBAAgB,+CAuCrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("@chakra-ui/react");
8
- const Notification_1 = __importDefault(require("../Components/Notification/Notification"));
9
- const notificationPage = () => {
10
- const kavinNotification = {
11
- id: 1,
12
- title: "Send Proposal",
13
- startDate: "2025-10-07T06:30:00.000Z",
14
- dueDate: "2025-10-07T07:30:00.000Z",
15
- // endDate: "2025-10-07T08:30:00.000Z",
16
- description: "Test Deal for Tour",
17
- type: "task",
18
- host: "Kavin",
19
- };
20
- // Fixed past date above always renders the "overdue" (error) state — this one is due 20
21
- // minutes from render time so the "due soon" (warning/orange) state is directly visible
22
- // without needing to edit test data.
23
- const dueSoonMeeting = {
24
- id: 2,
25
- title: "Team standup",
26
- startDate: new Date().toISOString(),
27
- dueDate: new Date(Date.now() + 20 * 60 * 1000).toISOString(),
28
- description: "Daily sync",
29
- type: "meeting",
30
- host: "Jane Doe",
31
- };
32
- const handleClose = () => {
33
- console.log("Notification closed");
34
- };
35
- return ((0, jsx_runtime_1.jsxs)(react_1.Stack, { spacing: 4, children: [(0, jsx_runtime_1.jsx)(Notification_1.default, { notification: kavinNotification, onClose: handleClose, showStatus: true }), (0, jsx_runtime_1.jsx)(Notification_1.default, { notification: dueSoonMeeting, showStatus: true })] }));
36
- };
37
- exports.default = notificationPage;
@@ -1,3 +0,0 @@
1
- declare const NumberInputPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default NumberInputPage;
3
- //# sourceMappingURL=numberInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"numberInput.d.ts","sourceRoot":"","sources":["../../src/Pages/numberInput.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,eAAe,+CAepB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const NumberInput_1 = __importDefault(require("../Components/NumberInput/NumberInput"));
9
- const NumberInputPage = () => {
10
- const [numbetInputValue, setNumbetInputValue] = (0, react_1.useState)("0");
11
- const handleNumberinput = (value) => {
12
- setNumbetInputValue(value);
13
- };
14
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(NumberInput_1.default, { min: 0, max: 20, value: numbetInputValue, onChange: handleNumberinput }) }));
15
- };
16
- exports.default = NumberInputPage;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- declare const OrgSwitcherPage: React.FC;
3
- export default OrgSwitcherPage;
4
- //# sourceMappingURL=orgSwitcher.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orgSwitcher.d.ts","sourceRoot":"","sources":["../../src/Pages/orgSwitcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAuCxC,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EA+C5B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const react_2 = require("@chakra-ui/react");
9
- const OrgSwitcher_1 = __importDefault(require("../Components/OrgSwitcher/OrgSwitcher"));
10
- const useCustomTheme_1 = require("../Theme/useCustomTheme");
11
- const ORGS = [
12
- { id: 1, name: "Pixelize Technologies", role: "Owner" },
13
- { id: 2, name: "Norstella Pharma Solutions", role: "Admin" },
14
- { id: 3, name: "Acme Corporation", role: "Sales Manager" },
15
- { id: 4, name: "Globex International", role: "Member" },
16
- { id: 5, name: "Initech Software Pvt Ltd", role: "Admin" },
17
- { id: 6, name: "Umbrella Health Group", role: "Viewer" },
18
- { id: 7, name: "Stark Industries", role: "Owner" },
19
- ];
20
- const Section = ({ title, children, bg, }) => {
21
- var _a, _b, _c, _d;
22
- const theme = (0, useCustomTheme_1.useCustomTheme)();
23
- return ((0, jsx_runtime_1.jsxs)(react_2.Box, { mb: 8, p: 6, borderRadius: "16px", border: "1px solid", borderColor: (_b = (_a = theme.colors.boxborder) === null || _a === void 0 ? void 0 : _a[300]) !== null && _b !== void 0 ? _b : "#E2E8F0", bg: bg !== null && bg !== void 0 ? bg : theme.colors.background[50], children: [(0, jsx_runtime_1.jsx)(react_2.Heading, { size: "sm", mb: 4, color: (_d = (_c = theme.colors.text) === null || _c === void 0 ? void 0 : _c[900]) !== null && _d !== void 0 ? _d : "gray.700", children: title }), children] }));
24
- };
25
- const OrgSwitcherPage = () => {
26
- const [org, setOrg] = (0, react_1.useState)(1);
27
- const [loadingOrg, setLoadingOrg] = (0, react_1.useState)(2);
28
- const [isLoading, setIsLoading] = (0, react_1.useState)(false);
29
- const handleSwitch = (id) => {
30
- setIsLoading(true);
31
- setLoadingOrg(id);
32
- setTimeout(() => setIsLoading(false), 1200);
33
- };
34
- return ((0, jsx_runtime_1.jsxs)(react_2.Box, { maxW: "900px", mx: "auto", py: 4, children: [(0, jsx_runtime_1.jsx)(react_2.Heading, { size: "lg", mb: 6, children: "Org Switcher" }), (0, jsx_runtime_1.jsxs)(Section, { title: "Ghost trigger (navbar) \u2014 searchable, role subtitles, active check", children: [(0, jsx_runtime_1.jsx)(react_2.Flex, { bg: "gray.50", p: 3, borderRadius: "10px", justify: "flex-start", children: (0, jsx_runtime_1.jsx)(OrgSwitcher_1.default, { organizations: ORGS, value: org, onChange: (id) => setOrg(id) }) }), (0, jsx_runtime_1.jsxs)(react_2.Text, { mt: 3, fontSize: "sm", color: "gray.500", children: ["Selected org id: ", (0, jsx_runtime_1.jsx)("b", { children: org })] })] }), (0, jsx_runtime_1.jsxs)(Section, { title: "Loading state (switching)", children: [(0, jsx_runtime_1.jsx)(OrgSwitcher_1.default, { organizations: ORGS, value: loadingOrg, onChange: handleSwitch, isLoading: isLoading }), (0, jsx_runtime_1.jsx)(react_2.Text, { mt: 3, fontSize: "sm", color: "gray.500", children: "Pick an org \u2192 simulates a 1.2s switch with inline spinner." })] }), (0, jsx_runtime_1.jsx)(Section, { title: "Variants & sizes", children: (0, jsx_runtime_1.jsxs)(react_2.Flex, { gap: 6, align: "center", wrap: "wrap", children: [(0, jsx_runtime_1.jsx)(OrgSwitcher_1.default, { organizations: ORGS.slice(0, 3), value: 1, onChange: () => { }, triggerVariant: "outline", size: "sm" }), (0, jsx_runtime_1.jsx)(OrgSwitcher_1.default, { organizations: ORGS.slice(0, 3), value: 2, onChange: () => { }, triggerVariant: "subtle", size: "md" }), (0, jsx_runtime_1.jsx)(OrgSwitcher_1.default, { organizations: ORGS.slice(0, 3), value: 3, onChange: () => { }, triggerVariant: "outline", size: "lg" })] }) })] }));
35
- };
36
- exports.default = OrgSwitcherPage;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- declare const OrganizationDetailsPage: React.FC;
3
- export default OrganizationDetailsPage;
4
- //# sourceMappingURL=organizationDetails.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizationDetails.d.ts","sourceRoot":"","sources":["../../src/Pages/organizationDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA2CxC,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAiCpC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,64 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const OrganizationDetails_1 = __importDefault(require("../Components/OrganizationDetails/OrganizationDetails"));
9
- const initialActive = [
10
- {
11
- orgId: 1,
12
- company_name: "Pixelize HQ",
13
- company_url: "pixelize.example.com",
14
- default: 1,
15
- uiInvite: 1,
16
- defaultOrg: 1,
17
- },
18
- {
19
- orgId: 2,
20
- company_name: "Northwind Traders",
21
- company_url: "northwind.example.com",
22
- default: 0,
23
- uiInvite: 1,
24
- defaultOrg: 0,
25
- },
26
- {
27
- orgId: 3,
28
- company_name: "Globex Corporation",
29
- company_url: "globex.example.com",
30
- default: 0,
31
- uiInvite: 1,
32
- defaultOrg: 0,
33
- },
34
- ];
35
- const initialInvited = [
36
- {
37
- orgId: 4,
38
- company_name: "Initech",
39
- company_url: "initech.example.com",
40
- default: 0,
41
- uiInvite: 0,
42
- defaultOrg: 0,
43
- },
44
- ];
45
- const OrganizationDetailsPage = () => {
46
- const [active, setActive] = (0, react_1.useState)(initialActive);
47
- const [invited, setInvited] = (0, react_1.useState)(initialInvited);
48
- return ((0, jsx_runtime_1.jsx)(OrganizationDetails_1.default, { activeOrganizations: active, invitedOrganizations: invited, userName: "Mahesh", onSetDefault: (orgId) => {
49
- console.log("[OrganizationDetailsPage] set default", orgId);
50
- setActive((prev) => prev.map((o) => ({ ...o, default: o.orgId === orgId ? 1 : 0 })));
51
- }, onAcceptInvite: (orgId) => {
52
- console.log("[OrganizationDetailsPage] accept", orgId);
53
- setInvited((prev) => prev.filter((o) => o.orgId !== orgId));
54
- }, onDeclineInvite: (orgId) => {
55
- console.log("[OrganizationDetailsPage] decline", orgId);
56
- setInvited((prev) => prev.filter((o) => o.orgId !== orgId));
57
- }, onDeleteOrganization: (orgId) => {
58
- console.log("[OrganizationDetailsPage] delete", orgId);
59
- setActive((prev) => prev.filter((o) => o.orgId !== orgId));
60
- }, onCreateOrganization: (values) => {
61
- console.log("[OrganizationDetailsPage] create", values);
62
- }, onBack: () => console.log("[OrganizationDetailsPage] back") }));
63
- };
64
- exports.default = OrganizationDetailsPage;
@@ -1,3 +0,0 @@
1
- export default PhotoViewer;
2
- declare function PhotoViewer(): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=photoViewer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"photoViewer.d.ts","sourceRoot":"","sources":["../../src/Pages/photoViewer.jsx"],"names":[],"mappings":";AAGA,wEAcC"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = __importDefault(require("react"));
8
- const ProfilePhotoViewer_1 = __importDefault(require("../Components/ProfilePhotoViewer/ProfilePhotoViewer"));
9
- const PhotoViewer = () => {
10
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ProfilePhotoViewer_1.default, { photoUrl: "https://media.istockphoto.com/id/2000672702/photo/happy-smiling-mature-indian-or-latin-business-man-ceo-trader-using-computer-typing-working-in.jpg?s=1024x1024&w=is&k=20&c=D1vOFvPH5YG87jlDs8g9THoClPfmdbAsHx2J4PdDtcI=", onPhotoChange: (file) => console.log(file), isEditable: true, isView: true, fallbackText: "" }) }));
11
- };
12
- exports.default = PhotoViewer;
@@ -1,3 +0,0 @@
1
- declare const PinInputPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default PinInputPage;
3
- //# sourceMappingURL=pinInputs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pinInputs.d.ts","sourceRoot":"","sources":["../../src/Pages/pinInputs.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY,+CAMjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const PinInput_1 = __importDefault(require("../Components/PinInput/PinInput"));
8
- const PinInputPage = () => {
9
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(PinInput_1.default, { pins: 5, label: "Enter pin", color: "primary" }) }));
10
- };
11
- exports.default = PinInputPage;
@@ -1,3 +0,0 @@
1
- declare const productCaard: () => import("react/jsx-runtime").JSX.Element;
2
- export default productCaard;
3
- //# sourceMappingURL=productCaard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productCaard.d.ts","sourceRoot":"","sources":["../../src/Pages/productCaard.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,YAAY,+CA+UjB,CAAC;AAEF,eAAe,YAAY,CAAC"}