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,102 +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 Card_1 = __importDefault(require("../Components/Card/Card"));
41
- const ProfileCard_1 = __importStar(require("../Components/ProfileCard/ProfileCard"));
42
- const react_1 = require("@chakra-ui/react");
43
- const Button_1 = __importDefault(require("../Components/Button/Button"));
44
- const lucide_react_1 = require("lucide-react");
45
- const PaymentCard_1 = __importDefault(require("../Components/Card/PaymentCard/PaymentCard"));
46
- const plans = [
47
- {
48
- plan_id: 1,
49
- name: "Free",
50
- description: "Basic features for small teams",
51
- monthlyPrice: 0,
52
- yearlyPrice: 0,
53
- billing: "per month",
54
- tax: "+ GST",
55
- features: ["User Management (1 User)", "Single Pipeline", "500 Records", "Contacts, Products & Activities Management", "Automations (3)"],
56
- icon: (0, jsx_runtime_1.jsx)(lucide_react_1.Star, { size: 20 }),
57
- buttonText: "Choose Starter",
58
- buttonVariant: "solid",
59
- priceDescription: "Ideal for individuals and small teams starting out.",
60
- },
61
- {
62
- plan_id: 2,
63
- name: "Pro",
64
- description: "Perfect for small teams and growing businesses.",
65
- monthlyPrice: 499,
66
- yearlyPrice: 399,
67
- billing: "per month",
68
- tax: "+ GST",
69
- features: ["User Management (5 User)", "Everything in Free Edition +", "Team Pipelines (3)", "50,000 Records", "Email & WhatsApp Business Integration", "Automations (30)", "Mass emails with email insights", "10 custom fields/module"],
70
- icon: (0, jsx_runtime_1.jsx)(lucide_react_1.Zap, { size: 20 }),
71
- buttonText: "Choose Pro",
72
- buttonVariant: "outline",
73
- popular: true,
74
- priceDescription: "Ideal for individuals and small teams starting out.",
75
- },
76
- // {
77
- // plan_id: 3,
78
- // name: "Enterprise",
79
- // description: "Unlimited access for large organizations",
80
- // monthlyPrice: 1499,
81
- // yearlyPrice: 1399,
82
- // billing: "per month",
83
- // tax: "+ GST",
84
- // features: ["User Management (Unlimited Users)", "Everything in Premier Edition +", "Team Pipelines (15)","1 Million Records","Advanced Automation Rules (100)","File Cabinet pre-installed with 5 GB storage","50 custom fields/module","1000 mass mails/day","Highest limits for features"],
85
- // icon: <Gem size={20} />,
86
- // buttonText: "Contact Sales",
87
- // buttonVariant: "solid" as const,
88
- // },
89
- ];
90
- const CardPage = () => {
91
- const activePlanId = 1; // Example: current active plan
92
- const nextUpgradeId = 2; // Example: suggest upgrade
93
- const handleSelect = (planId) => {
94
- console.log("Selected plan:", planId);
95
- };
96
- const handleHover = (planId, type, state) => {
97
- console.log(`${type} hover ${state ? "enter" : "leave"} on plan`, planId);
98
- };
99
- // console.log(activePlanId,"activePlanId",nextUpgradeId,"nextUpgradeId");
100
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Card_1.default, { children: (0, jsx_runtime_1.jsx)("div", { children: "hello" }) }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsxs)(ProfileCard_1.default, { children: [(0, jsx_runtime_1.jsx)(ProfileCard_1.ProfileCardHeader, { children: "Customer dashboard" }), (0, jsx_runtime_1.jsx)(ProfileCard_1.ProfileCardBody, { children: (0, jsx_runtime_1.jsx)(react_1.Text, { children: "View a summary of all your customers over the last month." }) }), (0, jsx_runtime_1.jsx)(ProfileCard_1.ProfileCardFooter, { children: (0, jsx_runtime_1.jsx)(Button_1.default, { colorScheme: "primary", children: "View here" }) })] }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)(react_1.SimpleGrid, { columns: { base: 1, md: 2 }, spacing: 6, children: plans.map((plan) => ((0, jsx_runtime_1.jsx)(PaymentCard_1.default, { plan: plan, billingCycle: "monthly", isActive: plan.plan_id === activePlanId, isNextUpgrade: plan.plan_id === nextUpgradeId, onSelect: handleSelect, onHover: handleHover, buttonLoading: 2 }, plan.plan_id))) })] }));
101
- };
102
- exports.default = CardPage;
@@ -1,4 +0,0 @@
1
- /** Demo page: charts use theme-derived defaults unless a prop overrides styling. */
2
- declare const ChartPage: () => import("react/jsx-runtime").JSX.Element;
3
- export default ChartPage;
4
- //# sourceMappingURL=chart.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../src/Pages/chart.tsx"],"names":[],"mappings":"AAKA,oFAAoF;AACpF,QAAA,MAAM,SAAS,+CAgHd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,25 +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 ApexBarChart_1 = __importDefault(require("../Components/Apexcharts/ApexBarChart/ApexBarChart"));
8
- const ApexPieChart_1 = __importDefault(require("../Components/Apexcharts/ApexPieChart/ApexPieChart"));
9
- const ApexLineChart_1 = __importDefault(require("../Components/Apexcharts/ApexLineChart/ApexLineChart"));
10
- const ApexPolarCharts_1 = __importDefault(require("../Components/Apexcharts/ApexPolarCharts/ApexPolarCharts"));
11
- /** Demo page: charts use theme-derived defaults unless a prop overrides styling. */
12
- const ChartPage = () => {
13
- const data = Array.from({ length: 10 }, () => Math.floor(Math.random() * 100));
14
- const categories = data.map((_, index) => `Category ${index + 1}`);
15
- const data1 = Array.from({ length: 10 }, () => Math.floor(Math.random() * 100));
16
- const categories1 = data.map((_, index) => `Category ${index + 1}`);
17
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(ApexBarChart_1.default, { data: data, labels: categories, title: "Bar Chart", titlePosition: "left" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "Pie Chart", titlePosition: "left", variant: "pie" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "donut Chart", titlePosition: "left", variant: "donut", legendPosition: "bottom", legendStyle: {
18
- horizontalGap: 5,
19
- verticalGap: 3,
20
- markerSize: 10,
21
- markerOffsetX: -5,
22
- markerOffsetY: 0,
23
- } }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "update-donut", variant: "update-donut" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "Monochrome Pie", variant: "monochrome-pie" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "Gradient Donut", variant: "gradient-donut" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "Semi Donut", variant: "semi-donut", titlePosition: "left" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "donut-with-pattern", variant: "donut-with-pattern", titlePosition: "left" }), (0, jsx_runtime_1.jsx)(ApexPieChart_1.default, { data: data1, labels: categories1, title: "pie-with-image", variant: "pie-with-image", titlePosition: "left", width: 300 }), (0, jsx_runtime_1.jsx)(ApexLineChart_1.default, { variant: "basic", data: [10, 20, 30, 40, 50], labels: ["Jan", "Feb", "Mar", "Apr", "May"], series: ["basic 1", "basic 2", "basic 3", "basic 4", "basic 5"], title: "Basic Line Chart ghghjhgjkgkj kjhkjhkjhkjhkj", width: "25%" }), (0, jsx_runtime_1.jsx)(ApexLineChart_1.default, { variant: "realtime", data: [15, 25, 35], title: "Realtime Line Chart", height: 300, width: 600 }), (0, jsx_runtime_1.jsx)(ApexPolarCharts_1.default, { data: [21, 23, 19, 14, 6], labels: ["Apple", "Mango", "Orange", "Watermelon", "Banana"], variant: "basic" }), (0, jsx_runtime_1.jsx)(ApexPolarCharts_1.default, { data: [21, 23, 19, 14, 6], labels: ["Apple", "Mango", "Orange", "Watermelon", "Banana"], variant: "monochrome" })] }));
24
- };
25
- exports.default = ChartPage;
@@ -1,3 +0,0 @@
1
- declare const CheckboxPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default CheckboxPage;
3
- //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/Pages/checkbox.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 Checkbox_1 = __importDefault(require("../Components/Checkbox/Checkbox"));
8
- const CheckboxPage = () => {
9
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Checkbox_1.default, { label: "hello world", error: true, errorMessage: "dd" }) }));
10
- };
11
- exports.default = CheckboxPage;
@@ -1,3 +0,0 @@
1
- declare const contactForm: () => import("react/jsx-runtime").JSX.Element;
2
- export default contactForm;
3
- //# sourceMappingURL=contactForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contactForm.d.ts","sourceRoot":"","sources":["../../src/Pages/contactForm.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,+CAchB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,15 +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 ContactForm_1 = __importDefault(require("../Components/ContactForm/ContactForm"));
8
- const contactForm = () => {
9
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ContactForm_1.default, { apiKey: "https://dev.api.pixelizetech.com/api/mks/sendSweet/",
10
- // customFields={<>Product kjdhfkljh</>}
11
- getCustomValues: () => ({
12
- // product: "empty",
13
- }), customerId: 1, organizationId: 1 }) }));
14
- };
15
- exports.default = contactForm;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- declare const CustomModulesTablePage: React.FC;
3
- export default CustomModulesTablePage;
4
- //# sourceMappingURL=customModulesTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customModulesTable.d.ts","sourceRoot":"","sources":["../../src/Pages/customModulesTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAsBnC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,25 +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 CustomModulesTable_1 = __importDefault(require("../Components/CustomModulesTable/CustomModulesTable"));
10
- const initialModules = [
11
- { module_id: 1, moduleName: "Projects", ownerLabel: "Aisha Khan" },
12
- { module_id: 2, moduleName: "Invoices", ownerLabel: "Marcus Reed" },
13
- { module_id: 3, moduleName: "Support Tickets", ownerLabel: "Lena Fischer" },
14
- ];
15
- const CustomModulesTablePage = () => {
16
- const [modules, setModules] = (0, react_1.useState)(initialModules);
17
- return ((0, jsx_runtime_1.jsx)(react_2.Box, { maxW: "720px", children: (0, jsx_runtime_1.jsx)(CustomModulesTable_1.default, { modules: modules, onUpdateModule: ({ moduleId, moduleName }) => {
18
- console.log("[CustomModulesTablePage] update", moduleId, moduleName);
19
- setModules((prev) => prev.map((m) => m.module_id === moduleId ? { ...m, moduleName } : m));
20
- }, onDeleteModule: (moduleId) => {
21
- console.log("[CustomModulesTablePage] delete", moduleId);
22
- setModules((prev) => prev.filter((m) => m.module_id !== moduleId));
23
- } }) }));
24
- };
25
- exports.default = CustomModulesTablePage;
@@ -1,3 +0,0 @@
1
- declare const DatePick: () => import("react/jsx-runtime").JSX.Element;
2
- export default DatePick;
3
- //# sourceMappingURL=datePick.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datePick.d.ts","sourceRoot":"","sources":["../../src/Pages/datePick.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,QAAQ,+CAuIb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,49 +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
- // import DatePicker from "../Components/DatePicker/DatePicker";
9
- const ThemeDatePicker_1 = __importDefault(require("../Components/DatePicker/ThemeDatePicker"));
10
- const DatePick = () => {
11
- const [selectedDate, setSelectedDate] = (0, react_1.useState)();
12
- // const [selectedDateTheme, setSelectedDateTheme] = useState<Date | null>();
13
- const [selectedTime, setSelectedTime] = (0, react_1.useState)(null);
14
- const [selectedDateTime, setSelectedDateTime] = (0, react_1.useState)(() => {
15
- const now = new Date();
16
- now.setHours(now.getHours() + 1);
17
- return now;
18
- });
19
- const [selectedDateRange, setSelectedDateRange] = (0, react_1.useState)(null);
20
- // const handleDateChange = (value: Date | null) => {
21
- // setSelectedDate(value);
22
- // console.log("Date selected:", value);
23
- // };
24
- // const handleTimeChange = (value: Date | null) => {
25
- // setSelectedTime(value);
26
- // console.log("Time selected:", value);
27
- // };
28
- // const handleDateTimeChange = (value: Date | null) => {
29
- // setSelectedDateTime(value);
30
- // console.log("DateTime selected:", value);
31
- // };
32
- const handleDateRangeChange = (value) => {
33
- if (value && "from" in value && "to" in value) {
34
- setSelectedDateRange(value);
35
- console.log("Date range selected:", value.from, value.to);
36
- }
37
- else {
38
- setSelectedDateRange(null);
39
- console.log("Date range cleared");
40
- }
41
- };
42
- console.log("Selected DateTime:", selectedDateTime);
43
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h2", { children: "Single Date Picker" }), (0, jsx_runtime_1.jsx)("h2", { children: "Date " }), (0, jsx_runtime_1.jsx)("h2", { children: "Theme Date Picker" }), (0, jsx_runtime_1.jsx)(ThemeDatePicker_1.default, { selectedDate: selectedDate, onChange: setSelectedDate, dateFormat: "dd/MM/yyyy", pickerType: "date", label: "Select Date",
44
- // disableFutureDates
45
- disablePastDates: true,
46
- // disableToday
47
- width: "300px", size: "xs" }), (0, jsx_runtime_1.jsx)(ThemeDatePicker_1.default, { selectedDate: selectedDateTime, onChange: setSelectedDateTime, dateFormat: "dd/MM/yyyy hh:mm a", pickerType: "datetime", label: "Select Date & Time", disablePastDates: true, isRequired: true, error: true, errorMessage: "Invalid date", size: "sm" }), (0, jsx_runtime_1.jsx)(ThemeDatePicker_1.default, { isRange: true, selectedDate: selectedDateRange, onChange: handleDateRangeChange, dateFormat: "dd/MM/yyyy hh:mm a", pickerType: "date", label: "Select Date Range" }), (0, jsx_runtime_1.jsx)(ThemeDatePicker_1.default, { selectedDate: selectedTime, onChange: setSelectedTime, dateFormat: "hh:mm a", pickerType: "time", label: "SelectTime", disablePastDates: true, isRequired: true, error: true, errorMessage: "Invalid time", informationMessage: "hh", isInformation: true, size: "md" })] }));
48
- };
49
- exports.default = DatePick;
@@ -1,3 +0,0 @@
1
- declare const DrawerPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default DrawerPage;
3
- //# sourceMappingURL=drawer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../src/Pages/drawer.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,UAAU,+CA0Bf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,53 +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 Button_1 = __importDefault(require("../Components/Button/Button"));
42
- const Drawer_1 = __importStar(require("../Components/Drawer/Drawer"));
43
- const DrawerPage = () => {
44
- const [drawerOpen, setDrawerOpen] = (0, react_1.useState)(false);
45
- const handleOnclick3 = () => {
46
- setDrawerOpen(true);
47
- };
48
- const handleOnclick4 = () => {
49
- setDrawerOpen(false);
50
- };
51
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Button_1.default, { label: "DrawerButton", onClick: handleOnclick3, width: 250, variant: "solid" }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsxs)(Drawer_1.default, { isOpen: drawerOpen, onClose: handleOnclick4, size: "xl", children: [(0, jsx_runtime_1.jsx)(Drawer_1.DrawerHeader, { children: "Drawer Header" }), (0, jsx_runtime_1.jsx)(Drawer_1.DrawerBody, { children: "Drawer Body" }), (0, jsx_runtime_1.jsx)(Drawer_1.DrawerFooter, { children: "Drawer Footer" })] })] }));
52
- };
53
- exports.default = DrawerPage;
@@ -1,3 +0,0 @@
1
- declare const DropdownPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default DropdownPage;
3
- //# sourceMappingURL=dropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../src/Pages/dropdown.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,+CAoCjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,21 +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 DropDown_1 = __importDefault(require("../Components/Dropdown/DropDown"));
9
- const lucide_react_1 = require("lucide-react");
10
- const DropdownPage = () => {
11
- const exportOptionss = [
12
- { id: 1, label: "Upload file", image: lucide_react_1.FileText },
13
- { id: 2, label: "Documents", image: lucide_react_1.ChevronUp },
14
- { id: 3, label: "CRM workDrive", image: lucide_react_1.ChevronUp },
15
- { id: 4, label: "Other Cloud Drives", image: lucide_react_1.ChevronUp },
16
- { id: 5, label: "Link(URL)", image: lucide_react_1.ChevronUp },
17
- ];
18
- const onSelect = (id, label) => console.log("optionid", id, label);
19
- return ((0, jsx_runtime_1.jsxs)(react_1.Flex, { align: "flex-start", gap: 6, flexWrap: "wrap", children: [["xs", "sm", "md", "lg", "xl"].map((size) => ((0, jsx_runtime_1.jsx)(DropDown_1.default, { ButtonText: `Size ${size}`, size: size, options: exportOptionss, DropdownIcon: (0, jsx_runtime_1.jsx)(lucide_react_1.FileText, { size: 16 }), dropdownType: "button", handleOptionSelect: onSelect, divider: true }, size))), (0, jsx_runtime_1.jsx)(DropDown_1.default, { text: "More", size: "md", options: exportOptionss, DropdownIcon: (0, jsx_runtime_1.jsx)(lucide_react_1.Ellipsis, { size: 18 }), dropdownType: "text", handleOptionSelect: onSelect })] }));
20
- };
21
- exports.default = DropdownPage;
@@ -1,3 +0,0 @@
1
- declare const EditorPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default EditorPage;
3
- //# sourceMappingURL=editor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../src/Pages/editor.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU,+CAYf,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,13 +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 Editor_1 = __importDefault(require("../Components/Editor/Editor"));
8
- const EditorPage = () => {
9
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Editor_1.default, { value: "heeeeejhbjhvbjhvbhj jbhkjhbiubviu iuhiuhiuhiu", config: { readonly: false, width: "900px" }, onChange: () => {
10
- //console.log(val);
11
- } }) }));
12
- };
13
- exports.default = EditorPage;
@@ -1,2 +0,0 @@
1
- export default function FeedbackPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=feedback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../src/Pages/feedback.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,YAAY,4CASnC"}
@@ -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
- exports.default = FeedbackPage;
7
- const jsx_runtime_1 = require("react/jsx-runtime");
8
- const react_1 = require("@chakra-ui/react");
9
- const FeedbackForm_1 = __importDefault(require("../Components/FeedbackForm/FeedbackForm"));
10
- function FeedbackPage() {
11
- return ((0, jsx_runtime_1.jsxs)(react_1.Container, { maxW: "4xl", py: 8, children: [(0, jsx_runtime_1.jsx)(react_1.Heading, { size: "lg", mb: 6, children: "Feedback Form" }), (0, jsx_runtime_1.jsx)(react_1.Box, { bg: "white", p: 6, borderRadius: "md", boxShadow: "sm", children: (0, jsx_runtime_1.jsx)(FeedbackForm_1.default, { submitUrl: "/api/crm/feedback" }) })] }));
12
- }
@@ -1,2 +0,0 @@
1
- export declare const FileUploader: () => import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=fileUpload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fileUpload.d.ts","sourceRoot":"","sources":["../../src/Pages/fileUpload.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY,+CAgDxB,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
- exports.FileUploader = void 0;
7
- const jsx_runtime_1 = require("react/jsx-runtime");
8
- const react_1 = require("react");
9
- const Reorder_1 = __importDefault(require("../Components/Reorder/Reorder"));
10
- const FileUploader_1 = __importDefault(require("../Components/FileUploader/FileUploader"));
11
- const FileUpload_1 = __importDefault(require("../Components/FileUpload/FileUpload"));
12
- const imageList = [
13
- { id: "1", previewUrl: "https://picsum.photos/id/1011/100", name: "Image 1" },
14
- { id: "2", previewUrl: "https://picsum.photos/id/1012/100", name: "Image 2" },
15
- { id: "3", previewUrl: "https://picsum.photos/id/1013/100", name: "Image 3" },
16
- { id: "4", previewUrl: "https://picsum.photos/id/1011/100", name: "Image 1" },
17
- ];
18
- const FileUploader = () => {
19
- const [file, setFile] = (0, react_1.useState)([]);
20
- const [list, setList] = (0, react_1.useState)(imageList);
21
- const handleFiles = (files) => {
22
- setFile(files);
23
- const uploadedImages = files.map((f, i) => ({
24
- id: `${i + 11}`,
25
- name: f.name,
26
- previewUrl: URL.createObjectURL(f),
27
- }));
28
- setList([...imageList, ...uploadedImages]);
29
- };
30
- const handleFilesChange = (files) => {
31
- console.log('Uploaded files:', files);
32
- // Handle the uploaded files here
33
- };
34
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(FileUpload_1.default, { onFilesUploaded: (files) => handleFiles(files), uploadedFiles: file, onRemoveFile: (file) => console.log("SDFSDf", file), acceptTypes: [".webp", ".pdf", ".zip"], maxSizeKB: 512 }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)(Reorder_1.default, { items: list, onReorder: (files) => setList(files), label: "Reorder" }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)(FileUploader_1.default, { maxFiles: 10, maxTotalSize: 20, onFilesChange: handleFilesChange, acceptTypes: ["jpeg", "jpg", "png"] })] }));
35
- };
36
- exports.FileUploader = FileUploader;
@@ -1,3 +0,0 @@
1
- declare const InputPage: () => import("react/jsx-runtime").JSX.Element;
2
- export default InputPage;
3
- //# sourceMappingURL=input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/Pages/input.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS,+CA4Fd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,48 +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 TextInput_1 = __importDefault(require("../Components/Input/TextInput"));
9
- const PhoneNumberInput_1 = __importDefault(require("../Components/Input/PhoneNumberInput"));
10
- const InputSwitch_1 = require("../Components/Input/Switch/InputSwitch");
11
- const lucide_react_1 = require("lucide-react");
12
- const InputPage = () => {
13
- const [countries, setCountries] = (0, react_1.useState)([]);
14
- const [switchState, setSwitchState] = (0, react_1.useState)(false);
15
- (0, react_1.useEffect)(() => {
16
- fetch("https://dev.api.pixelizetech.com/account/api/allCountries")
17
- .then((res) => res.json())
18
- .then((data) => {
19
- setCountries(data);
20
- })
21
- .catch((err) => console.error("Error fetching countries:", err));
22
- }, []);
23
- return ((0, jsx_runtime_1.jsxs)("div", { style: { width: "500px" }, children: [(0, jsx_runtime_1.jsx)(TextInput_1.default, { label: "My Label", id: "input1", name: "hello",
24
- //helperText="Hello"
25
- //errorMessage="Required"
26
- // error={true}
27
- type: "email",
28
- // border={"0px solid"}
29
- // padding={"0px"}
30
- // inputStyle={{ border: "0px solid", padding: "0px" }}
31
- // inputGroupStyle={{ border: "0px solid", padding: "0px" }}
32
- // error={true}
33
- // errorMessage="Required"
34
- onChange: (e) => {
35
- console.log(e.target.files);
36
- }, onKeyDown: () => {
37
- console.log("keydown");
38
- }, onBlur: () => {
39
- console.log("blur");
40
- },
41
- // helperText="sometibg"
42
- isRequired: true, informationMessage: "This is information", isInformation: true,
43
- // isDisabled
44
- minW: "200px", maxW: "300px", inputLeftIcon: (0, jsx_runtime_1.jsx)(lucide_react_1.Mail, {}) }, "input1"), (0, jsx_runtime_1.jsx)(PhoneNumberInput_1.default, { label: "Phone", id: "input1", name: "hello", country: "IN", value: "", codeValueReturn: false, countries: countries, onChange: (val) => {
45
- console.log(val, "hello");
46
- }, isRequired: true, informationMessage: "This is information", isInformation: true, error: true, errorMessage: "Required", showCountrySelect: true, minW: "200px", maxW: "300px" }), (0, jsx_runtime_1.jsx)(InputSwitch_1.InputSwitch, { id: "repeat-switch", isChecked: switchState, onChange: (e) => setSwitchState(e.target.checked), switchText: "Repeat", switchTextPosition: "right", label: "My Switch", isInformation: true, informationMessage: "This is information", isRequired: true, size: "md" })] }));
47
- };
48
- exports.default = InputPage;
@@ -1,3 +0,0 @@
1
- declare const KanbanBoardExample: () => import("react/jsx-runtime").JSX.Element;
2
- export default KanbanBoardExample;
3
- //# sourceMappingURL=kanbanboard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kanbanboard.d.ts","sourceRoot":"","sources":["../../src/Pages/kanbanboard.tsx"],"names":[],"mappings":"AA0LA,QAAA,MAAM,kBAAkB,+CAkDvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}