@kingteza/crud-component 1.0.50 → 1.0.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.
Files changed (57) hide show
  1. package/App.d.ts +1 -0
  2. package/Play.d.ts +2 -0
  3. package/_virtual/_commonjsHelpers.cjs.js +1 -1
  4. package/_virtual/_commonjsHelpers.es.js +3 -5
  5. package/_virtual/index.cjs.js +1 -1
  6. package/_virtual/index.es.js +5 -9
  7. package/_virtual/index.es2.js +4 -0
  8. package/common/button/Button.cjs.js +1 -1
  9. package/common/button/Button.es.js +38 -52
  10. package/common/button/CloneButtonTable.cjs.js +1 -1
  11. package/common/button/HideButtonTable.cjs.js +1 -1
  12. package/common/button/NewButton.cjs.js +1 -1
  13. package/common/button/PrintButton.cjs.js +1 -1
  14. package/common/button/RefreshButton.cjs.js +1 -1
  15. package/common/button/UnHideButton.cjs.js +1 -1
  16. package/common/button/UpdateButtonTable.cjs.js +1 -1
  17. package/common/button/ViewButtonTable.cjs.js +1 -1
  18. package/common/icon/KIcon.cjs.js +1 -0
  19. package/common/icon/KIcon.d.ts +9 -0
  20. package/common/icon/KIcon.es.js +11 -0
  21. package/common/index.cjs.js +1 -1
  22. package/common/index.es.js +68 -68
  23. package/common/picker/ImagePicker.cjs.js +1 -1
  24. package/common/picker/ImagePicker.es.js +228 -189
  25. package/common/rich/index.cjs.js +1 -1
  26. package/common/rich/index.es.js +10 -10
  27. package/common/select/SelectComponent.es.js +4 -4
  28. package/common/tab/TabViewWithRoute.cjs.js +1 -1
  29. package/common/tab/TabViewWithRoute.es.js +21 -21
  30. package/common/table/table.d.ts +1 -1
  31. package/common/text-field/TextField.cjs.js +1 -1
  32. package/common/wizard/WizardResult.es.js +4 -4
  33. package/crud/CrudComponent.cjs.js +1 -1
  34. package/crud/CrudComponent.d.ts +5 -1
  35. package/crud/CrudComponent.es.js +66 -64
  36. package/crud/CrudField.es.js +1 -1
  37. package/crud/CrudReportComponent.cjs.js +1 -1
  38. package/crud/FileCrudField.cjs.js +1 -1
  39. package/crud/FileCrudField.es.js +23 -23
  40. package/crud/import/CrudImportComponent.cjs.js +2 -2
  41. package/crud/import/CrudImportComponent.es.js +10 -10
  42. package/crud/view/CrudViewer.cjs.js +1 -1
  43. package/crud/view/CrudViewer.d.ts +11 -1
  44. package/crud/view/CrudViewer.es.js +285 -174
  45. package/index.cjs.js +1 -1
  46. package/index.es.js +19 -19
  47. package/locale/index.d.ts +5 -0
  48. package/locale/translations/en.cjs.js +1 -1
  49. package/locale/translations/en.d.ts +5 -0
  50. package/locale/translations/en.es.js +7 -2
  51. package/package.json +7 -2
  52. package/_virtual/_nodeUtil.es.js +0 -4
  53. package/_virtual/isBuffer.cjs.js +0 -1
  54. package/_virtual/isBuffer.es.js +0 -4
  55. package/_virtual/quill.cjs.js +0 -1
  56. package/_virtual/quill.es.js +0 -4
  57. /package/_virtual/{_nodeUtil.cjs.js → index.cjs2.js} +0 -0
package/index.es.js CHANGED
@@ -5,12 +5,12 @@ import { ColorCrudFieldComponent as m, default as p, SelectCrudFieldComponent as
5
5
  import { default as n } from "./crud/CrudFormWizard.es.js";
6
6
  import { default as x } from "./crud/CrudReportComponent.es.js";
7
7
  import { default as V } from "./crud/CrudSearchComponent.es.js";
8
- import { default as g } from "./crud/import/CrudImportComponent.es.js";
9
- import { default as A } from "./crud/import/CrudImportButton.es.js";
10
- import { default as c } from "./crud/view/CrudViewer.es.js";
11
- import { CrudForm as P, CrudFormFields as R } from "./crud/CrudForm.es.js";
12
- import { FileDownloadProvider as v, FileUploadProvider as D, ImageCellValue as E, ImageCrudCellValue as L, default as h } from "./crud/ImageCrudField.es.js";
13
- import { FileCellValue as B, FileCrudCellValue as M, default as O } from "./crud/FileCrudField.es.js";
8
+ import { FileDownloadProvider as g, FileUploadProvider as w, ImageCellValue as A, ImageCrudCellValue as S, default as c } from "./crud/ImageCrudField.es.js";
9
+ import { FileCellValue as P, FileCrudCellValue as R, default as T } from "./crud/FileCrudField.es.js";
10
+ import { default as D } from "./crud/import/CrudImportComponent.es.js";
11
+ import { default as L } from "./crud/import/CrudImportButton.es.js";
12
+ import { default as z } from "./crud/view/CrudViewer.es.js";
13
+ import { CrudForm as M, CrudFormFields as O } from "./crud/CrudForm.es.js";
14
14
  import { CrudDecListView as W } from "./crud/view/CrudDecListView.es.js";
15
15
  import { getRendererValueCrudViewer as b } from "./crud/view/CrudViewerUtil.es.js";
16
16
  export {
@@ -18,22 +18,22 @@ export {
18
18
  a as CrudComponent,
19
19
  W as CrudDecListView,
20
20
  p as CrudField,
21
- P as CrudForm,
22
- R as CrudFormFields,
21
+ M as CrudForm,
22
+ O as CrudFormFields,
23
23
  n as CrudFormWizard,
24
- A as CrudImportButton,
25
- g as CrudImportComponent,
24
+ L as CrudImportButton,
25
+ D as CrudImportComponent,
26
26
  x as CrudReportComponent,
27
27
  V as CrudSearchComponent,
28
- c as CrudViewer,
29
- B as FileCellValue,
30
- M as FileCrudCellValue,
31
- O as FileCrudField,
32
- v as FileDownloadProvider,
33
- D as FileUploadProvider,
34
- E as ImageCellValue,
35
- L as ImageCrudCellValue,
36
- h as ImageCrudField,
28
+ z as CrudViewer,
29
+ P as FileCellValue,
30
+ R as FileCrudCellValue,
31
+ T as FileCrudField,
32
+ g as FileDownloadProvider,
33
+ w as FileUploadProvider,
34
+ A as ImageCellValue,
35
+ S as ImageCrudCellValue,
36
+ c as ImageCrudField,
37
37
  f as SelectCrudFieldComponent,
38
38
  o as TRANSLATION_NAMESPACE,
39
39
  b as getRendererValueCrudViewer,
package/locale/index.d.ts CHANGED
@@ -36,6 +36,10 @@ export declare const defaultTranslations: {
36
36
  refresh: string;
37
37
  fileUploadMessage1: string;
38
38
  fileUploadMessage2: string;
39
+ rotateLeft: string;
40
+ rotateRight: string;
41
+ flipHorizontal: string;
42
+ flipVertical: string;
39
43
  };
40
44
  err: {
41
45
  save: string;
@@ -53,6 +57,7 @@ export declare const defaultTranslations: {
53
57
  loading: {
54
58
  saving: string;
55
59
  };
60
+ uploadButtonText: string;
56
61
  };
57
62
  qus: {
58
63
  importWithIssues: string;
@@ -1 +1 @@
1
- "use strict";const e={str:{delete:"Delete",clone:"Clone",update:"Update",new:"New",back:"Back",next:"Next",save:"Save",import:"Import",cancel:"Cancel",print:"Print",hide:"Hide",no:"No",action:"Action",remove:"Remove",view:"View",ok:"Ok",yes:"Yes",warning:"Warning",success:"Success",error:"Error",retry:"Retry",previous:"Previous",unhide:"Unhide",downloadCsvTemplate:"Download CSV Template",importCsvFile:"Import CSV File",export:"Export",goBack:"Go Back",refresh:"Refresh",fileUploadMessage1:"Drag file here or ",fileUploadMessage2:"Click to Upload"},err:{save:"An error occurred while saving",validation:{required:"is required",minLength8:"must be at least 8 characters",percentage:"must be a percentage",maximumValueExceeded:"must be less than %maxValue%",invalidNic:"must be a valid NIC",invalid:"must be a valid"},notFound:"Not Found"},message:{loading:{saving:"Saving"}},qus:{importWithIssues:"Some fields have issues. Do you want to proceed with the import?",doYouWantToDelete:"Do you want to delete?",doYouWantToHide:"Do you want to hide?",doYouWantToUnhide:"Do you want to unhide?"}};module.exports=e;
1
+ "use strict";const e={str:{delete:"Delete",clone:"Clone",update:"Update",new:"New",back:"Back",next:"Next",save:"Save",import:"Import",cancel:"Cancel",print:"Print",hide:"Hide",no:"No",action:"Action",remove:"Remove",view:"View",ok:"Ok",yes:"Yes",warning:"Warning",success:"Success",error:"Error",retry:"Retry",previous:"Previous",unhide:"Unhide",downloadCsvTemplate:"Download CSV Template",importCsvFile:"Import CSV File",export:"Export",goBack:"Go Back",refresh:"Refresh",fileUploadMessage1:"Drag file here or ",fileUploadMessage2:"Click to Upload",rotateLeft:"Rotate Left",rotateRight:"Rotate Right",flipHorizontal:"Flip Horizontal",flipVertical:"Flip Vertical"},err:{save:"An error occurred while saving",validation:{required:"is required",minLength8:"must be at least 8 characters",percentage:"must be a percentage",maximumValueExceeded:"must be less than %maxValue%",invalidNic:"must be a valid NIC",invalid:"must be a valid"},notFound:"Not Found"},message:{loading:{saving:"Saving"},uploadButtonText:"Click to Upload"},qus:{importWithIssues:"Some fields have issues. Do you want to proceed with the import?",doYouWantToDelete:"Do you want to delete?",doYouWantToHide:"Do you want to hide?",doYouWantToUnhide:"Do you want to unhide?"}};module.exports=e;
@@ -30,6 +30,10 @@ declare const _default: {
30
30
  refresh: string;
31
31
  fileUploadMessage1: string;
32
32
  fileUploadMessage2: string;
33
+ rotateLeft: string;
34
+ rotateRight: string;
35
+ flipHorizontal: string;
36
+ flipVertical: string;
33
37
  };
34
38
  err: {
35
39
  save: string;
@@ -47,6 +51,7 @@ declare const _default: {
47
51
  loading: {
48
52
  saving: string;
49
53
  };
54
+ uploadButtonText: string;
50
55
  };
51
56
  qus: {
52
57
  importWithIssues: string;
@@ -29,7 +29,11 @@ const e = {
29
29
  goBack: "Go Back",
30
30
  refresh: "Refresh",
31
31
  fileUploadMessage1: "Drag file here or ",
32
- fileUploadMessage2: "Click to Upload"
32
+ fileUploadMessage2: "Click to Upload",
33
+ rotateLeft: "Rotate Left",
34
+ rotateRight: "Rotate Right",
35
+ flipHorizontal: "Flip Horizontal",
36
+ flipVertical: "Flip Vertical"
33
37
  },
34
38
  err: {
35
39
  save: "An error occurred while saving",
@@ -46,7 +50,8 @@ const e = {
46
50
  message: {
47
51
  loading: {
48
52
  saving: "Saving"
49
- }
53
+ },
54
+ uploadButtonText: "Click to Upload"
50
55
  },
51
56
  qus: {
52
57
  importWithIssues: "Some fields have issues. Do you want to proceed with the import?",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kingteza/crud-component",
3
3
  "private": false,
4
- "version": "1.0.50",
4
+ "version": "1.0.52",
5
5
  "description": "React CRUD component library with Ant Design",
6
6
  "keywords": [
7
7
  "react",
@@ -62,6 +62,11 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@ant-design/icons": "^5.5.2",
65
+ "@dnd-kit/core": "^6.3.1",
66
+ "@dnd-kit/modifiers": "^9.0.0",
67
+ "@dnd-kit/sortable": "^10.0.0",
68
+ "@dnd-kit/utilities": "^3.2.2",
69
+ "@iconify/react": "^6.0.1",
65
70
  "bootstrap-css-only": "^4.4.1",
66
71
  "browser-image-compression": "^2.0.2",
67
72
  "dayjs": "^1.11.13",
@@ -70,7 +75,7 @@
70
75
  "mime": "^4.0.6",
71
76
  "papaparse": "^5.4.1",
72
77
  "path-browserify": "^1.0.1",
73
- "react-cropper": "^2.3.3",
78
+ "react-advanced-cropper": "^0.20.1",
74
79
  "react-highlight-words": "^0.20.0",
75
80
  "react-i18next": "^15.2.0",
76
81
  "react-quill": "^2.0.0",
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
File without changes