@keenthemes/ktui 1.0.27 → 1.0.28
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/CONTRIBUTING.md +13 -0
- package/dist/ktui.js +13 -1
- package/dist/ktui.min.js +1 -1
- package/dist/ktui.min.js.map +1 -1
- package/dist/styles.css +5 -0
- package/lib/cjs/components/datatable/datatable.js +13 -1
- package/lib/cjs/components/datatable/datatable.js.map +1 -1
- package/lib/esm/components/datatable/datatable.js +13 -1
- package/lib/esm/components/datatable/datatable.js.map +1 -1
- package/package.json +13 -5
- package/src/components/datatable/datatable.ts +13 -3
- package/src/components/table/table.css +7 -0
- package/webpack.config.js +1 -1
package/CONTRIBUTING.md
CHANGED
|
@@ -31,6 +31,19 @@ If you need any help, feel free to reach out us via [@keenthemes](https://x.com/
|
|
|
31
31
|
```sh
|
|
32
32
|
npm run lint
|
|
33
33
|
```
|
|
34
|
+
4. Build the project:
|
|
35
|
+
```sh
|
|
36
|
+
npm run build
|
|
37
|
+
```
|
|
38
|
+
5. Start development mode (watch for changes):
|
|
39
|
+
```sh
|
|
40
|
+
npm run dev
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Build Commands
|
|
44
|
+
|
|
45
|
+
- **`npm run build`**: Performs a one-off build and exits. Use this for production builds and CI/CD pipelines.
|
|
46
|
+
- **`npm run dev`**: Starts development mode with file watching. Use this during development for live reloading when files change.
|
|
34
47
|
|
|
35
48
|
## Format and lint your code
|
|
36
49
|
|
package/dist/ktui.js
CHANGED
|
@@ -8343,7 +8343,19 @@ var KTDataTable = /** @class */ (function (_super) {
|
|
|
8343
8343
|
return [3 /*break*/, 5];
|
|
8344
8344
|
case 4:
|
|
8345
8345
|
error_1 = _a.sent();
|
|
8346
|
-
|
|
8346
|
+
// Fire event with complete error context for application handling
|
|
8347
|
+
this._fireEvent('parseError', {
|
|
8348
|
+
response: response,
|
|
8349
|
+
error: String(error_1),
|
|
8350
|
+
status: response.status,
|
|
8351
|
+
statusText: response.statusText
|
|
8352
|
+
});
|
|
8353
|
+
this._dispatchEvent('parseError', {
|
|
8354
|
+
response: response,
|
|
8355
|
+
error: String(error_1),
|
|
8356
|
+
status: response.status,
|
|
8357
|
+
statusText: response.statusText
|
|
8358
|
+
});
|
|
8347
8359
|
return [2 /*return*/];
|
|
8348
8360
|
case 5:
|
|
8349
8361
|
this._fireEvent('fetched', { response: responseData });
|