@finema/core 3.2.0 → 3.2.1

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 (33) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
  4. package/dist/runtime/components/Form/Fields.vue +13 -13
  5. package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
  6. package/dist/runtime/components/Form/InputCurrency/index.vue +49 -49
  7. package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
  8. package/dist/runtime/components/Form/InputSelect/index.vue +38 -38
  9. package/dist/runtime/components/Form/InputSelectMultiple/index.vue +43 -43
  10. package/dist/runtime/components/Form/InputTags/index.vue +23 -23
  11. package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
  12. package/dist/runtime/components/Form/InputTime/index.vue +38 -38
  13. package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
  14. package/dist/runtime/components/Form/InputUploadDropzone/index.vue +30 -30
  15. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue +50 -50
  16. package/dist/runtime/components/Form/InputUploadDropzoneAutoMultiple/index.vue +31 -31
  17. package/dist/runtime/components/Form/fileState/EmptyState.vue +21 -21
  18. package/dist/runtime/components/Form/fileState/FailedState.vue +33 -33
  19. package/dist/runtime/components/Form/fileState/LoadingState.vue +24 -24
  20. package/dist/runtime/components/Form/fileState/MultipleFilesState.vue +145 -145
  21. package/dist/runtime/components/Form/fileState/PreviewModal.vue +23 -23
  22. package/dist/runtime/components/Form/index.vue +5 -5
  23. package/dist/runtime/components/Image.vue +28 -28
  24. package/dist/runtime/components/Log/index.vue +17 -17
  25. package/dist/runtime/components/Table/ColumnDate.vue +1 -1
  26. package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
  27. package/dist/runtime/components/Table/ColumnImage.vue +4 -4
  28. package/dist/runtime/components/Table/ColumnText.vue +1 -1
  29. package/dist/runtime/components/Table/Pagination.vue +46 -46
  30. package/dist/runtime/components/Table/Simple.vue +17 -17
  31. package/dist/runtime/helpers/apiPageHelper.js +4 -4
  32. package/dist/runtime/server/tsconfig.json +3 -3
  33. package/package.json +1 -1
@@ -162,21 +162,21 @@ export const apiFetchHelper = async (state, onUpdateStatus, onUpdateOptions, onU
162
162
  ...moreOptions
163
163
  } = response;
164
164
  onUpdateItems(items);
165
- onUpdateOptions({
165
+ onUpdateOptions(JSON.parse(JSON.stringify({
166
166
  ...getOptions(moreOptions),
167
167
  _timestamp: Date.now(),
168
168
  _status: status,
169
169
  request: requestOptions
170
- });
170
+ })));
171
171
  onUpdateStatus(updateLoaderState.setSuccess(state().status));
172
172
  },
173
173
  onError: (error) => {
174
174
  onUpdateStatus(updateLoaderState.setError(state().status, error));
175
- onUpdateOptions({
175
+ onUpdateOptions(JSON.parse(JSON.stringify({
176
176
  ...state().options,
177
177
  _status: error.response?.status,
178
178
  request: requestOptions
179
- });
179
+ })));
180
180
  },
181
181
  onComplete: () => {
182
182
  onUpdateStatus(updateLoaderState.setComplete(state().status));
@@ -1,3 +1,3 @@
1
- {
2
- "extends": "../../../.nuxt/tsconfig.server.json",
3
- }
1
+ {
2
+ "extends": "../../../.nuxt/tsconfig.server.json",
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",