pixelize-design-library 2.1.63 → 2.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/KanbanBoard/AccountCard.d.ts +3 -1
- package/dist/Components/KanbanBoard/AccountCard.js +15 -10
- package/dist/Components/KanbanBoard/KanbanBoard.d.ts +1 -1
- package/dist/Components/KanbanBoard/KanbanBoard.js +96 -29
- package/dist/Components/KanbanBoard/KanbanBoardProps.d.ts +1 -0
- package/dist/Components/SearchSelect/SearchSelect.js +12 -12
- package/dist/Components/Table/Table.d.ts +1 -1
- package/dist/Components/Table/Table.js +10 -6
- package/dist/Components/Table/TableProps.d.ts +1 -0
- package/dist/Components/Table/TableSettings/ManageColumns.js +26 -21
- package/dist/Pages/kanbanboard.js +54 -114
- package/dist/Pages/searchSelect.js +37 -2
- package/dist/Pages/table.js +1 -1
- package/dist/index.d.mts +1468 -0
- package/dist/index.mjs +263 -0
- package/package.json +1 -1
- package/dist/Components/KaTable/CustomHeader.d.ts +0 -14
- package/dist/Components/KaTable/CustomHeader.js +0 -69
- package/dist/Components/KaTable/KaTable.d.ts +0 -13
- package/dist/Components/KaTable/KaTable.js +0 -111
- package/dist/Components/KaTable/KaTableProps.d.ts +0 -23
- package/dist/Components/KaTable/KaTableProps.js +0 -2
- package/dist/Components/KaTable/SelectionCell.d.ts +0 -8
- package/dist/Components/KaTable/SelectionCell.js +0 -38
- package/dist/Components/KaTable/SelectionHeader.d.ts +0 -3
- package/dist/Components/KaTable/SelectionHeader.js +0 -56
- package/dist/Components/KaTable/ka-table.css +0 -27
- package/dist/Components/KaTable/useMergedChildComponents.d.ts +0 -14
- package/dist/Components/KaTable/useMergedChildComponents.js +0 -224
- package/dist/Components/Table/Table.css +0 -16
- package/dist/Pages/KaTableExample.d.ts +0 -3
- package/dist/Pages/KaTableExample.js +0 -259
- package/dist/Theme/Default/fonts.d.ts +0 -35
- package/dist/Theme/Default/fonts.js +0 -37
|
@@ -5,117 +5,57 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var react_1 = __importDefault(require("react"));
|
|
7
7
|
var KanbanBoard_1 = __importDefault(require("../Components/KanbanBoard/KanbanBoard"));
|
|
8
|
+
var createItems = function (count, prefix) {
|
|
9
|
+
return Array.from({ length: count }, function (_, i) { return ({
|
|
10
|
+
id: "".concat(prefix, "-").concat(i),
|
|
11
|
+
rating: "Acquired",
|
|
12
|
+
name: "".concat(prefix, " Item ").concat(i),
|
|
13
|
+
owner: "Owner ".concat(i),
|
|
14
|
+
site: "Demo",
|
|
15
|
+
details: "Additional details here...",
|
|
16
|
+
location: i % 2 === 0 ? "Chennai" : "Bangalore",
|
|
17
|
+
status: i % 3 === 0 ? "Pending" : "Completed",
|
|
18
|
+
}); });
|
|
19
|
+
};
|
|
8
20
|
var initialData = {
|
|
9
21
|
acquired: {
|
|
10
22
|
id: "acquired",
|
|
11
23
|
title: "Acquired",
|
|
12
24
|
color: "#9A4FE5",
|
|
13
|
-
items:
|
|
14
|
-
{
|
|
15
|
-
id: "1",
|
|
16
|
-
rating: "Acquired",
|
|
17
|
-
name: "1",
|
|
18
|
-
owner: "Mathew John and so",
|
|
19
|
-
site: "Demo",
|
|
20
|
-
details: "Additional details here...",
|
|
21
|
-
location: "Chennai",
|
|
22
|
-
status: "Pending",
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
+
items: createItems(10, "acq"), // 👈 1000 records
|
|
25
26
|
},
|
|
26
27
|
active: {
|
|
27
|
-
id: "
|
|
28
|
+
id: "requested",
|
|
28
29
|
title: "Requested",
|
|
29
30
|
color: "#4CAF50",
|
|
30
|
-
items:
|
|
31
|
-
{
|
|
32
|
-
id: "2",
|
|
33
|
-
rating: "Acquired",
|
|
34
|
-
name: "1",
|
|
35
|
-
owner: "Mathew John",
|
|
36
|
-
site: "Demo",
|
|
37
|
-
details: "Additional details here...",
|
|
38
|
-
location: "Bangalore",
|
|
39
|
-
status: "Completed",
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
active2: {
|
|
44
|
-
id: "done",
|
|
45
|
-
title: "Done",
|
|
46
|
-
color: "#4CfF50",
|
|
47
|
-
items: [
|
|
48
|
-
{
|
|
49
|
-
id: "33",
|
|
50
|
-
rating: "Done",
|
|
51
|
-
name: "1",
|
|
52
|
-
owner: "Mathew John",
|
|
53
|
-
site: "Demo",
|
|
54
|
-
details: "Additional details here...",
|
|
55
|
-
location: "Mumbai",
|
|
56
|
-
status: "In Progress",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
31
|
+
items: createItems(4, "req"), // 👈 800 records
|
|
59
32
|
},
|
|
60
|
-
|
|
61
|
-
id: "
|
|
62
|
-
title: "
|
|
33
|
+
closed: {
|
|
34
|
+
id: "closed",
|
|
35
|
+
title: "close",
|
|
63
36
|
color: "#4CfF50",
|
|
64
|
-
items:
|
|
65
|
-
{
|
|
66
|
-
id: "332",
|
|
67
|
-
rating: "Done",
|
|
68
|
-
name: "1",
|
|
69
|
-
owner: "Mathew John",
|
|
70
|
-
site: "Demo",
|
|
71
|
-
details: "Additional details here...",
|
|
72
|
-
location: "Mumbai",
|
|
73
|
-
status: "In Progress",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
37
|
+
items: createItems(3, "cls"),
|
|
76
38
|
},
|
|
77
|
-
|
|
78
|
-
id: "
|
|
79
|
-
title: "
|
|
39
|
+
open: {
|
|
40
|
+
id: "open",
|
|
41
|
+
title: "Open",
|
|
80
42
|
color: "#4CfF50",
|
|
81
|
-
items:
|
|
82
|
-
{
|
|
83
|
-
id: "3322",
|
|
84
|
-
rating: "Done",
|
|
85
|
-
name: "1",
|
|
86
|
-
owner: "Mathew John",
|
|
87
|
-
site: "Demo",
|
|
88
|
-
details: "Additional details here...",
|
|
89
|
-
location: "Mumbai",
|
|
90
|
-
status: "In Progress",
|
|
91
|
-
},
|
|
92
|
-
],
|
|
43
|
+
items: createItems(5, "OP"),
|
|
93
44
|
},
|
|
94
|
-
|
|
45
|
+
done: {
|
|
95
46
|
id: "done",
|
|
96
47
|
title: "Done",
|
|
97
48
|
color: "#4CfF50",
|
|
98
|
-
items:
|
|
99
|
-
{
|
|
100
|
-
id: "332e2",
|
|
101
|
-
rating: "Done",
|
|
102
|
-
name: "1",
|
|
103
|
-
owner: "Mathew John",
|
|
104
|
-
site: "Demo",
|
|
105
|
-
details: "Additional details here...",
|
|
106
|
-
location: "Mumbai",
|
|
107
|
-
status: "In Progress",
|
|
108
|
-
},
|
|
109
|
-
],
|
|
49
|
+
items: createItems(6, "done"), // 👈 600 records
|
|
110
50
|
},
|
|
111
51
|
};
|
|
112
52
|
var viewListData = [
|
|
113
53
|
{
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
54
|
+
view_id: 5,
|
|
55
|
+
type: "contact",
|
|
56
|
+
viewName: "status",
|
|
57
|
+
groupBy: "Lead Source",
|
|
58
|
+
selectedField: [
|
|
119
59
|
"contact_owner",
|
|
120
60
|
"first_name",
|
|
121
61
|
"last_name",
|
|
@@ -139,18 +79,18 @@ var viewListData = [
|
|
|
139
79
|
"other_zip",
|
|
140
80
|
"other_country",
|
|
141
81
|
"fax",
|
|
142
|
-
"description"
|
|
82
|
+
"description",
|
|
143
83
|
],
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
84
|
+
moduleId: null,
|
|
85
|
+
created_at: 1756720852175,
|
|
86
|
+
updated_at: 1756720852175,
|
|
147
87
|
},
|
|
148
88
|
{
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
89
|
+
view_id: 4,
|
|
90
|
+
type: "contact",
|
|
91
|
+
viewName: "demo",
|
|
92
|
+
groupBy: "Lead Source",
|
|
93
|
+
selectedField: [
|
|
154
94
|
"contact_owner",
|
|
155
95
|
"first_name",
|
|
156
96
|
"last_name",
|
|
@@ -174,18 +114,18 @@ var viewListData = [
|
|
|
174
114
|
"other_zip",
|
|
175
115
|
"other_country",
|
|
176
116
|
"fax",
|
|
177
|
-
"description"
|
|
117
|
+
"description",
|
|
178
118
|
],
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
119
|
+
moduleId: null,
|
|
120
|
+
created_at: 1756720474429,
|
|
121
|
+
updated_at: 1756720474429,
|
|
182
122
|
},
|
|
183
123
|
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
124
|
+
view_id: 2,
|
|
125
|
+
type: "contact",
|
|
126
|
+
viewName: "kanabana",
|
|
127
|
+
groupBy: "Lead Source",
|
|
128
|
+
selectedField: [
|
|
189
129
|
"contact_owner",
|
|
190
130
|
"first_name",
|
|
191
131
|
"last_name",
|
|
@@ -209,15 +149,15 @@ var viewListData = [
|
|
|
209
149
|
"other_zip",
|
|
210
150
|
"other_country",
|
|
211
151
|
"fax",
|
|
212
|
-
"description"
|
|
152
|
+
"description",
|
|
213
153
|
],
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
154
|
+
moduleId: null,
|
|
155
|
+
created_at: 1756457931264,
|
|
156
|
+
updated_at: 1756457931264,
|
|
157
|
+
},
|
|
218
158
|
];
|
|
219
159
|
var KanbanBoardExample = function () {
|
|
220
|
-
return (react_1.default.createElement(KanbanBoard_1.default, { data: initialData, onDelete: function (item) { return console.log("Delete", item); }, onOpen: function (item) { return console.log("Open", item); }, onDrag: function (updatedColumns) { return console.log("New State", updatedColumns); }, onColumnDelete: function (updatedColumns) { return console.log("New Del", updatedColumns); }, isLoading: false, kanbanCreate: {
|
|
160
|
+
return (react_1.default.createElement(KanbanBoard_1.default, { data: initialData, onDelete: function (item) { return console.log("Delete", item); }, onOpen: function (item) { return console.log("Open", item); }, onDrag: function (updatedColumns) { return console.log("New State", updatedColumns); }, onColumnDelete: function (updatedColumns) { return console.log("New Del", updatedColumns); }, isLoading: false, virtualization: true, kanbanCreate: {
|
|
221
161
|
isCreatable: true,
|
|
222
162
|
onCreate: function () { },
|
|
223
163
|
}, kanbanEdit: {
|
|
@@ -75,6 +75,7 @@ var react_1 = __importStar(require("react"));
|
|
|
75
75
|
var SearchSelect_1 = __importDefault(require("../Components/SearchSelect/SearchSelect"));
|
|
76
76
|
// import { Plus } from "lucide-react";
|
|
77
77
|
var react_2 = require("@chakra-ui/react");
|
|
78
|
+
var TextInput_1 = __importDefault(require("../Components/Input/TextInput"));
|
|
78
79
|
var max = 149;
|
|
79
80
|
var rrr = function (start, limit) {
|
|
80
81
|
var end = Math.min(start + limit, max + 1); // +1 to include `max` as valid
|
|
@@ -102,7 +103,7 @@ var SearchSelect = function () {
|
|
|
102
103
|
}, onSearch: function (query) { return setSearch(query); }, searchQuery: search, isOptionLoading: false, placeholder: "Search users...", chip: {
|
|
103
104
|
maxChips: 3,
|
|
104
105
|
onClick: function () { return console.log("chip removed"); },
|
|
105
|
-
}, isSelectAll: true, pagination: {
|
|
106
|
+
}, isSelectAll: true, isRequired: true, pagination: {
|
|
106
107
|
limit: 50,
|
|
107
108
|
scrollLoading: paginationLoading,
|
|
108
109
|
onScroll: function (startIndex, limit, query) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -179,6 +180,40 @@ var SearchSelect = function () {
|
|
|
179
180
|
"label": "Hariharan Jeganathan",
|
|
180
181
|
}
|
|
181
182
|
]
|
|
182
|
-
} })
|
|
183
|
+
} }),
|
|
184
|
+
react_1.default.createElement("br", null),
|
|
185
|
+
react_1.default.createElement("br", null),
|
|
186
|
+
react_1.default.createElement("br", null),
|
|
187
|
+
react_1.default.createElement(TextInput_1.default, { label: "My Label", id: "input1", name: "hello",
|
|
188
|
+
//helperText="Hello"
|
|
189
|
+
// errorMessage="Required"
|
|
190
|
+
// error={true}
|
|
191
|
+
type: "email",
|
|
192
|
+
// inputRightIcon={<User color="#FF0000" />}
|
|
193
|
+
// onRightIconclick={() => {
|
|
194
|
+
// console.log("icon click");
|
|
195
|
+
// }}
|
|
196
|
+
// inputLeftIcon={<User color="#FF0000" />}
|
|
197
|
+
// onLeftIconClick={() => {
|
|
198
|
+
// console.log("icon click");
|
|
199
|
+
// }}
|
|
200
|
+
key: "input1",
|
|
201
|
+
// border={"0px solid"}
|
|
202
|
+
// padding={"0px"}
|
|
203
|
+
// inputStyle={{ border: "0px solid", padding: "0px" }}
|
|
204
|
+
// inputGroupStyle={{ border: "0px solid", padding: "0px" }}
|
|
205
|
+
// error={true}
|
|
206
|
+
// errorMessage="Required"
|
|
207
|
+
onChange: function (e) {
|
|
208
|
+
console.log(e.target.files);
|
|
209
|
+
}, onKeyDown: function () {
|
|
210
|
+
console.log("keydown");
|
|
211
|
+
}, onBlur: function () {
|
|
212
|
+
console.log("blur");
|
|
213
|
+
},
|
|
214
|
+
// helperText="sometibg"
|
|
215
|
+
isRequired: true, informationMessage: "This is information", isInformation: true,
|
|
216
|
+
// isDisabled
|
|
217
|
+
minW: "200px", maxW: "300px" })));
|
|
183
218
|
};
|
|
184
219
|
exports.default = SearchSelect;
|
package/dist/Pages/table.js
CHANGED
|
@@ -172,6 +172,6 @@ var column = [
|
|
|
172
172
|
];
|
|
173
173
|
var TableExample = function () {
|
|
174
174
|
return (react_1.default.createElement("div", null,
|
|
175
|
-
react_1.default.createElement(Table_1.default, { columns: column, data: tableData, isCheckbox: true, isVisiblity: false, isLoading: false, noBorders: false, onSelection: function (checked) { return console.log(checked); }, onRowClick: function (row, header) { return console.log(row, header); }, isPagination: false, isTableSettings: true, onGlobalSearch: function (value) { return console.log(value, "searched"); } })));
|
|
175
|
+
react_1.default.createElement(Table_1.default, { columns: column, data: tableData, isCheckbox: true, isVisiblity: false, isLoading: false, noBorders: false, onSelection: function (checked) { return console.log(checked); }, onRowClick: function (row, header) { return console.log(row, header); }, isPagination: false, isTableSettings: true, onGlobalSearch: function (value) { return console.log(value, "searched"); }, onColumnFilter: function (filters) { return console.log(filters, "all column filters"); } })));
|
|
176
176
|
};
|
|
177
177
|
exports.TableExample = TableExample;
|