@solidxai/core-ui 0.1.14-beta.12 → 0.1.14-beta.13

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 (48) hide show
  1. package/dist/components/common/DropzonePlaceholder.d.ts +2 -1
  2. package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
  3. package/dist/components/common/DropzonePlaceholder.js +10 -7
  4. package/dist/components/common/DropzonePlaceholder.js.map +1 -1
  5. package/dist/components/common/DropzonePlaceholder.tsx +14 -9
  6. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  7. package/dist/components/core/form/fields/SolidMediaMultipleField.js +3 -2
  8. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  9. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +3 -1
  10. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  11. package/dist/components/core/form/fields/SolidMediaSingleField.js +3 -2
  12. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  13. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +3 -1
  14. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +1 -1
  15. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  16. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +1 -1
  17. package/dist/components/core/form/fields/solidFields.module.css +7 -0
  18. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  19. package/dist/components/core/list/SolidListView.js +6 -4
  20. package/dist/components/core/list/SolidListView.js.map +1 -1
  21. package/dist/components/core/list/SolidListView.tsx +6 -4
  22. package/dist/components/core/list/SolidListViewColumn.d.ts +2 -1
  23. package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
  24. package/dist/components/core/list/SolidListViewColumn.js +2 -2
  25. package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
  26. package/dist/components/core/list/SolidListViewColumn.tsx +4 -3
  27. package/dist/components/core/list/columns/SolidRelationColumn.d.ts +1 -1
  28. package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
  29. package/dist/components/core/list/columns/SolidRelationColumn.js +2 -2
  30. package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
  31. package/dist/components/core/list/columns/SolidRelationColumn.tsx +2 -2
  32. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +2 -2
  33. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
  34. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +5 -4
  35. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
  36. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +5 -4
  37. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  38. package/dist/components/core/model/FieldMetaDataForm.js +147 -97
  39. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  40. package/dist/components/core/model/FieldMetaDataForm.tsx +123 -31
  41. package/dist/helpers/getAcceptedFileTypes.d.ts +12 -2
  42. package/dist/helpers/getAcceptedFileTypes.d.ts.map +1 -1
  43. package/dist/helpers/getAcceptedFileTypes.js +72 -16
  44. package/dist/helpers/getAcceptedFileTypes.js.map +1 -1
  45. package/dist/helpers/getAcceptedFileTypes.tsx +101 -18
  46. package/dist/resources/globals.css +2 -2
  47. package/dist/types/solid-core.d.ts +2 -1
  48. package/package.json +1 -1
@@ -155,7 +155,7 @@ export var SolidListView = forwardRef(function (params, ref) {
155
155
  return ((_b = (_a = solidListViewLayout === null || solidListViewLayout === void 0 ? void 0 : solidListViewLayout.attrs) === null || _a === void 0 ? void 0 : _a.headerButtons) !== null && _b !== void 0 ? _b : []).filter(function (button) { return isButtonVisibleInCurrentEnv(button === null || button === void 0 ? void 0 : button.attrs); });
156
156
  }, [(_g = solidListViewLayout === null || solidListViewLayout === void 0 ? void 0 : solidListViewLayout.attrs) === null || _g === void 0 ? void 0 : _g.headerButtons]);
157
157
  var editBaseUrl = useMemo(function () { return normalizeSolidListTreeKanbanActionPath(pathname, editButtonUrl || "form"); }, [editButtonUrl, pathname]);
158
- var rowClickFormMode = useMemo(function () {
158
+ var recordClickFormMode = useMemo(function () {
159
159
  var _a, _b, _c;
160
160
  var isSystemModule = ((_c = (_b = (_a = solidListViewMetaData === null || solidListViewMetaData === void 0 ? void 0 : solidListViewMetaData.data) === null || _a === void 0 ? void 0 : _a.solidView) === null || _b === void 0 ? void 0 : _b.module) === null || _c === void 0 ? void 0 : _c.isSystem) === true;
161
161
  if (isSystemModule) {
@@ -997,7 +997,8 @@ export var SolidListView = forwardRef(function (params, ref) {
997
997
  column: column,
998
998
  setLightboxUrls: setLightboxUrls,
999
999
  setOpenLightbox: setOpenLightbox,
1000
- embeded: params.embeded
1000
+ embeded: params.embeded,
1001
+ recordClickAction: recordClickFormMode
1001
1002
  });
1002
1003
  }
1003
1004
  else {
@@ -1011,7 +1012,8 @@ export var SolidListView = forwardRef(function (params, ref) {
1011
1012
  column: column,
1012
1013
  setLightboxUrls: setLightboxUrls,
1013
1014
  setOpenLightbox: setOpenLightbox,
1014
- embeded: params.embeded
1015
+ embeded: params.embeded,
1016
+ recordClickAction: recordClickFormMode
1015
1017
  });
1016
1018
  }
1017
1019
  });
@@ -1235,7 +1237,7 @@ export var SolidListView = forwardRef(function (params, ref) {
1235
1237
  }
1236
1238
  else {
1237
1239
  storeCurrentModelViewContext();
1238
- router.push("".concat(editBaseUrl, "/").concat(rowData === null || rowData === void 0 ? void 0 : rowData.id, "?viewMode=").concat(rowClickFormMode, "&").concat(buildEditNavigationQueryString(rowData)));
1240
+ router.push("".concat(editBaseUrl, "/").concat(rowData === null || rowData === void 0 ? void 0 : rowData.id, "?viewMode=").concat(recordClickFormMode, "&").concat(buildEditNavigationQueryString(rowData)));
1239
1241
  }
1240
1242
  }, children: [params.embeded === true ? null : (_jsx(Column, { selectionMode: "multiple", headerStyle: { width: "3em" } })), solidListViewMetaData && solidListViewLayout && renderColumnsDynamically(solidListViewMetaData, solidListViewLayout), ((_18 = solidListViewLayout === null || solidListViewLayout === void 0 ? void 0 : solidListViewLayout.attrs) === null || _18 === void 0 ? void 0 : _18.rowButtons) &&
1241
1243
  ((_19 = solidListViewLayout === null || solidListViewLayout === void 0 ? void 0 : solidListViewLayout.attrs) === null || _19 === void 0 ? void 0 : _19.rowButtons.filter(function (rb) {