pixel-react 1.20.51 → 1.20.52
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/README.md +75 -75
- package/lib/components/Charts/BarChart/BarChart.js +8 -8
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +6 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.js +4 -4
- package/lib/components/Charts/PieChart/PieChart.js +5 -5
- package/lib/components/ChatModalAi/ChatModalAi.js +1 -3
- package/lib/components/ChatModalAi/ChatModalAi.js.map +1 -1
- package/lib/components/Comments/Comments.js +14 -14
- package/lib/components/Comments/childComment/ChildComment.js +14 -14
- package/lib/components/EditTextField/EditTextField.js +2 -2
- package/lib/components/LabelEditTextField/LabelEditTextField.js +4 -4
- package/lib/components/StatusIndicator/StatusIndicator.js +5 -5
- package/lib/index.js +2 -2
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +109 -118
- package/lib/StyleGuide/ColorPalette/index.d.ts +0 -1
- package/lib/StyleGuide/ColorPalette/index.js +0 -2
- package/lib/StyleGuide/ColorPalette/index.js.map +0 -1
- package/lib/StyleGuide/Typography/TypographyList.d.ts +0 -5
- package/lib/StyleGuide/Typography/TypographyList.js +0 -4
- package/lib/StyleGuide/Typography/TypographyList.js.map +0 -1
- package/lib/StyleGuide/Typography/types.d.ts +0 -8
- package/lib/StyleGuide/Typography/types.js +0 -2
- package/lib/StyleGuide/Typography/types.js.map +0 -1
- package/lib/components/AddContentButton/index.d.ts +0 -1
- package/lib/components/AddContentButton/index.js +0 -2
- package/lib/components/AddContentButton/index.js.map +0 -1
- package/lib/components/Carousel/index.d.ts +0 -1
- package/lib/components/Carousel/index.js +0 -2
- package/lib/components/Carousel/index.js.map +0 -1
- package/lib/components/Charts/BarChart/types.d.ts +0 -18
- package/lib/components/Charts/BarChart/types.js +0 -2
- package/lib/components/Charts/BarChart/types.js.map +0 -1
- package/lib/components/ChipWithCount/index.d.ts +0 -1
- package/lib/components/ChipWithCount/index.js +0 -2
- package/lib/components/ChipWithCount/index.js.map +0 -1
- package/lib/components/Comments/index.d.ts +0 -1
- package/lib/components/Comments/index.js +0 -2
- package/lib/components/Comments/index.js.map +0 -1
- package/lib/components/ConditionalDropdown/index.d.ts +0 -1
- package/lib/components/ConditionalDropdown/index.js +0 -2
- package/lib/components/ConditionalDropdown/index.js.map +0 -1
- package/lib/components/ConnectingBranch/index.d.ts +0 -1
- package/lib/components/ConnectingBranch/index.js +0 -2
- package/lib/components/ConnectingBranch/index.js.map +0 -1
- package/lib/components/CreateVariable/index.d.ts +0 -1
- package/lib/components/CreateVariable/index.js +0 -2
- package/lib/components/CreateVariable/index.js.map +0 -1
- package/lib/components/DownloadClient/index.d.ts +0 -1
- package/lib/components/DownloadClient/index.js +0 -2
- package/lib/components/DownloadClient/index.js.map +0 -1
- package/lib/components/DragAndDrop/index.d.ts +0 -1
- package/lib/components/DragAndDrop/index.js +0 -2
- package/lib/components/DragAndDrop/index.js.map +0 -1
- package/lib/components/Editor/index.d.ts +0 -1
- package/lib/components/Editor/index.js +0 -2
- package/lib/components/Editor/index.js.map +0 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/areModelsEqual.d.ts +0 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/areModelsEqual.js +0 -18
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/areModelsEqual.js.map +0 -1
- package/lib/components/ExpandableTable/ExpandableTable.d.ts +0 -12
- package/lib/components/ExpandableTable/ExpandableTable.js +0 -19
- package/lib/components/ExpandableTable/ExpandableTable.js.map +0 -1
- package/lib/components/FF_Captcha/index.d.ts +0 -0
- package/lib/components/FF_Captcha/index.js +0 -2
- package/lib/components/FF_Captcha/index.js.map +0 -1
- package/lib/components/Form/index.d.ts +0 -1
- package/lib/components/Form/index.js +0 -2
- package/lib/components/Form/index.js.map +0 -1
- package/lib/components/Form/types.d.ts +0 -1
- package/lib/components/Form/types.js +0 -2
- package/lib/components/Form/types.js.map +0 -1
- package/lib/components/GridLayout/index.d.ts +0 -2
- package/lib/components/GridLayout/index.js +0 -2
- package/lib/components/GridLayout/index.js.map +0 -1
- package/lib/components/LazyLoad/index.d.ts +0 -1
- package/lib/components/LazyLoad/index.js +0 -2
- package/lib/components/LazyLoad/index.js.map +0 -1
- package/lib/components/Link/index.d.ts +0 -1
- package/lib/components/Link/index.js +0 -2
- package/lib/components/Link/index.js.map +0 -1
- package/lib/components/MediaPreview/index.d.ts +0 -1
- package/lib/components/MediaPreview/index.js +0 -2
- package/lib/components/MediaPreview/index.js.map +0 -1
- package/lib/components/MobileSkin/types.d.ts +0 -37
- package/lib/components/MobileSkin/types.js +0 -2
- package/lib/components/MobileSkin/types.js.map +0 -1
- package/lib/components/ModulesChip/index.d.ts +0 -1
- package/lib/components/ModulesChip/index.js +0 -2
- package/lib/components/ModulesChip/index.js.map +0 -1
- package/lib/components/PrePostTable/index.d.ts +0 -1
- package/lib/components/PrePostTable/index.js +0 -2
- package/lib/components/PrePostTable/index.js.map +0 -1
- package/lib/components/ScriptGenerationLoader/index.d.ts +0 -1
- package/lib/components/ScriptGenerationLoader/index.js +0 -2
- package/lib/components/ScriptGenerationLoader/index.js.map +0 -1
- package/lib/components/StepsLandingTable/index.d.ts +0 -1
- package/lib/components/StepsLandingTable/index.js +0 -2
- package/lib/components/StepsLandingTable/index.js.map +0 -1
- package/lib/components/Table/NoDataContent.d.ts +0 -4
- package/lib/components/Table/NoDataContent.js +0 -9
- package/lib/components/Table/NoDataContent.js.map +0 -1
- package/lib/components/Table/index.d.ts +0 -1
- package/lib/components/Table/index.js +0 -2
- package/lib/components/Table/index.js.map +0 -1
- package/lib/components/TableTree/Utils/getAllChildIds.d.ts +0 -2
- package/lib/components/TableTree/Utils/getAllChildIds.js +0 -12
- package/lib/components/TableTree/Utils/getAllChildIds.js.map +0 -1
- package/lib/components/TableTree/Utils/renderSpaces.d.ts +0 -0
- package/lib/components/TableTree/Utils/renderSpaces.js +0 -2
- package/lib/components/TableTree/Utils/renderSpaces.js.map +0 -1
- package/lib/components/TableTreeFn/Utils/addNewRow.d.ts +0 -14
- package/lib/components/TableTreeFn/Utils/addNewRow.js +0 -80
- package/lib/components/TableTreeFn/Utils/addNewRow.js.map +0 -1
- package/lib/components/TableTreeFn/Utils/getAllChildIds.d.ts +0 -2
- package/lib/components/TableTreeFn/Utils/getAllChildIds.js +0 -12
- package/lib/components/TableTreeFn/Utils/getAllChildIds.js.map +0 -1
- package/lib/components/TableTreeFn/Utils/renderSpaces.d.ts +0 -0
- package/lib/components/TableTreeFn/Utils/renderSpaces.js +0 -2
- package/lib/components/TableTreeFn/Utils/renderSpaces.js.map +0 -1
- package/lib/components/TableTreeFn/Utils/updateParentSibling.d.ts +0 -3
- package/lib/components/TableTreeFn/Utils/updateParentSibling.js +0 -65
- package/lib/components/TableTreeFn/Utils/updateParentSibling.js.map +0 -1
- package/lib/components/TableWithAccordion/index.d.ts +0 -1
- package/lib/components/TableWithAccordion/index.js +0 -2
- package/lib/components/TableWithAccordion/index.js.map +0 -1
- package/lib/components/TabsWithSilder/index.d.ts +0 -1
- package/lib/components/TabsWithSilder/index.js +0 -2
- package/lib/components/TabsWithSilder/index.js.map +0 -1
- package/lib/components/TextEditor/index.d.ts +0 -1
- package/lib/components/TextEditor/index.js +0 -2
- package/lib/components/TextEditor/index.js.map +0 -1
- package/lib/components/ToggleSwitch/index.d.ts +0 -1
- package/lib/components/ToggleSwitch/index.js +0 -2
- package/lib/components/ToggleSwitch/index.js.map +0 -1
- package/lib/utils/functionCheck/functionCheck.d.ts +0 -2
- package/lib/utils/functionCheck/functionCheck.js +0 -6
- package/lib/utils/functionCheck/functionCheck.js.map +0 -1
- package/lib/utils/indexDBStore/indexDB copy.d.ts +0 -4
- package/lib/utils/indexDBStore/indexDB copy.js +0 -142
- package/lib/utils/indexDBStore/indexDB copy.js.map +0 -1
- package/lib/utils/toTitleCase/toTitleCase.d.ts +0 -1
- package/lib/utils/toTitleCase/toTitleCase.js +0 -7
- package/lib/utils/toTitleCase/toTitleCase.js.map +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const setStoreValue: (key: string, value: string | object) => Promise<void>;
|
|
2
|
-
export declare const getStoreValue: (key: string) => Promise<string | object | null>;
|
|
3
|
-
export declare const deleteStoreValue: (key: string) => Promise<void>;
|
|
4
|
-
export declare const clearStore: () => Promise<void>;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
const encode = (data) => {
|
|
2
|
-
try {
|
|
3
|
-
// If the data is an object, convert it to a JSON string
|
|
4
|
-
const stringValue = typeof data === 'object' ? JSON.stringify(data) : data;
|
|
5
|
-
// Encode the string value in UTF-8 before converting to Base64
|
|
6
|
-
return btoa(unescape(encodeURIComponent(stringValue)));
|
|
7
|
-
}
|
|
8
|
-
catch (error) {
|
|
9
|
-
console.error('Error encoding data:', error);
|
|
10
|
-
throw new Error('Encoding failed');
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
const decode = (data) => {
|
|
14
|
-
try {
|
|
15
|
-
// Decode from Base64 and decode the UTF-8 string
|
|
16
|
-
const decodedString = decodeURIComponent(escape(atob(data)));
|
|
17
|
-
// Try parsing the string as JSON; if it fails, return the string as-is
|
|
18
|
-
try {
|
|
19
|
-
return JSON.parse(decodedString);
|
|
20
|
-
}
|
|
21
|
-
catch {
|
|
22
|
-
return decodedString;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
catch (error) {
|
|
26
|
-
console.error('Error decoding data:', error);
|
|
27
|
-
throw new Error('Decoding failed');
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
const openIndexedDB = () => {
|
|
31
|
-
return new Promise((resolve, reject) => {
|
|
32
|
-
const request = indexedDB.open('fireflink', 1);
|
|
33
|
-
request.onupgradeneeded = (event) => {
|
|
34
|
-
const db = event.target.result;
|
|
35
|
-
// Create object store if it doesn't exist
|
|
36
|
-
if (!db.objectStoreNames.contains('keyValueStore')) {
|
|
37
|
-
db.createObjectStore('keyValueStore', { keyPath: 'key' });
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
request.onsuccess = (event) => resolve(event.target.result);
|
|
41
|
-
request.onerror = (event) => {
|
|
42
|
-
console.error('Error opening IndexedDB:', event.target.error);
|
|
43
|
-
reject('Error opening IndexedDB');
|
|
44
|
-
};
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
const withTransaction = (storeName, mode, callback) => {
|
|
48
|
-
return new Promise(async (resolve, reject) => {
|
|
49
|
-
try {
|
|
50
|
-
const db = await openIndexedDB();
|
|
51
|
-
const transaction = db.transaction(storeName, mode);
|
|
52
|
-
const store = transaction.objectStore(storeName);
|
|
53
|
-
if (!store) {
|
|
54
|
-
reject(`Object store "${storeName}" not found.`);
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const result = await callback(store);
|
|
58
|
-
transaction.oncomplete = () => resolve(result);
|
|
59
|
-
transaction.onerror = (e) => {
|
|
60
|
-
console.error('Transaction error:', e);
|
|
61
|
-
reject('Transaction failed');
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
catch (error) {
|
|
65
|
-
console.error('Error in transaction:', error);
|
|
66
|
-
reject(`Transaction error: ${error}`);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
export const setStoreValue = async (key, value) => {
|
|
71
|
-
if (!key || value === undefined) {
|
|
72
|
-
throw new Error('Key and value must be provided');
|
|
73
|
-
}
|
|
74
|
-
await withTransaction('keyValueStore', 'readwrite', (store) => {
|
|
75
|
-
const encodedValue = encode(value);
|
|
76
|
-
const request = store.put({ key, value: encodedValue });
|
|
77
|
-
return new Promise((resolve, reject) => {
|
|
78
|
-
request.onsuccess = () => resolve();
|
|
79
|
-
request.onerror = (e) => {
|
|
80
|
-
console.error('Failed to save data:', e);
|
|
81
|
-
reject('Failed to save data');
|
|
82
|
-
};
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
export const getStoreValue = async (key) => {
|
|
87
|
-
if (!key) {
|
|
88
|
-
throw new Error('Key must be provided');
|
|
89
|
-
}
|
|
90
|
-
return await withTransaction('keyValueStore', 'readonly', (store) => {
|
|
91
|
-
const request = store.get(key);
|
|
92
|
-
return new Promise((resolve, reject) => {
|
|
93
|
-
request.onsuccess = (event) => {
|
|
94
|
-
const result = event.target.result;
|
|
95
|
-
if (result && result.value) {
|
|
96
|
-
try {
|
|
97
|
-
resolve(decode(result.value));
|
|
98
|
-
}
|
|
99
|
-
catch (decodeError) {
|
|
100
|
-
console.error('Error decoding data:', decodeError);
|
|
101
|
-
reject('Error decoding retrieved data');
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
resolve(null);
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
request.onerror = (e) => {
|
|
109
|
-
console.error('Failed to retrieve data:', e);
|
|
110
|
-
reject('Failed to retrieve data');
|
|
111
|
-
};
|
|
112
|
-
});
|
|
113
|
-
});
|
|
114
|
-
};
|
|
115
|
-
export const deleteStoreValue = async (key) => {
|
|
116
|
-
if (!key) {
|
|
117
|
-
throw new Error('Key must be provided');
|
|
118
|
-
}
|
|
119
|
-
await withTransaction('keyValueStore', 'readwrite', (store) => {
|
|
120
|
-
const request = store.delete(key);
|
|
121
|
-
return new Promise((resolve, reject) => {
|
|
122
|
-
request.onsuccess = () => resolve();
|
|
123
|
-
request.onerror = (e) => {
|
|
124
|
-
console.error('Failed to delete data:', e);
|
|
125
|
-
reject('Failed to delete data');
|
|
126
|
-
};
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
};
|
|
130
|
-
export const clearStore = async () => {
|
|
131
|
-
await withTransaction('keyValueStore', 'readwrite', (store) => {
|
|
132
|
-
const request = store.clear();
|
|
133
|
-
return new Promise((resolve, reject) => {
|
|
134
|
-
request.onsuccess = () => resolve();
|
|
135
|
-
request.onerror = (e) => {
|
|
136
|
-
console.error('Failed to clear data:', e);
|
|
137
|
-
reject('Failed to clear data');
|
|
138
|
-
};
|
|
139
|
-
});
|
|
140
|
-
});
|
|
141
|
-
};
|
|
142
|
-
//# sourceMappingURL=indexDB%20copy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexDB copy.js","sourceRoot":"","sources":["../../../src/utils/indexDBStore/indexDB copy.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,CAAC,IAAqB,EAAU,EAAE;IAC/C,IAAI,CAAC;QACH,wDAAwD;QACxD,MAAM,WAAW,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3E,+DAA+D;QAC/D,OAAO,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACzD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,CAAC,IAAY,EAAmB,EAAE;IAC/C,IAAI,CAAC;QACH,iDAAiD;QACjD,MAAM,aAAa,GAAG,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7D,uEAAuE;QACvE,IAAI,CAAC;YACH,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,aAAa,CAAC;QACvB,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC,CAAC;AAC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gBAC1C,MAAM,CAAC,sBAAsB,CAAC,CAAC;YACjC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const toTitleCase: (str: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toTitleCase.js","sourceRoot":"","sources":["../../../src/utils/toTitleCase/toTitleCase.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAW,EAAU,EAAE;IAC/C,OAAO,GAAG;SACP,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;SAClB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AAClD,CAAC,CAAC"}
|