@vc-shell/framework 1.0.194 → 1.0.196

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.
@@ -1 +1 @@
1
- {"version":3,"file":"vc-table-mobile-item.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKpE,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CACzB;AACD,MAAM,WAAW,SAAS;IAExB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC;;;;;kCAsf8B,oBAAoB,EAAE,GAAG,SAAS;;;;;WAU1D,GAAG;;yBA1CoB,GAAG;;;yCAyCjB,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;sCAT1B,oBAAoB,EAAE,GAAG,SAAS;;;;;oBASjD,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBA1CoB,GAAG;;;;;;;;;;;0CAgCF,oBAAoB,EAAE,GAAG,SAAS;;;;;wBASjD,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;6BA1CoB,GAAG;;;;;AAndjC,wBAkgB2E"}
1
+ {"version":3,"file":"vc-table-mobile-item.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKpE,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CACzB;AACD,MAAM,WAAW,SAAS;IAExB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC;;;;;kCA0f8B,oBAAoB,EAAE,GAAG,SAAS;;;;;WAU1D,GAAG;;yBA1CoB,GAAG;;;yCAyCjB,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;sCAT1B,oBAAoB,EAAE,GAAG,SAAS;;;;;oBASjD,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBA1CoB,GAAG;;;;;;;;;;;0CAgCF,oBAAoB,EAAE,GAAG,SAAS;;;;;wBASjD,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;6BA1CoB,GAAG;;;;;AAvdjC,wBAsgB2E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.194",
3
+ "version": "1.0.196",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -59,9 +59,9 @@
59
59
  "devDependencies": {
60
60
  "@types/dompurify": "^3.0.5",
61
61
  "@types/quill": "^2.0.14",
62
- "@vc-shell/api-client-generator": "^1.0.194",
63
- "@vc-shell/config-generator": "^1.0.194",
64
- "@vc-shell/ts-config": "^1.0.194",
62
+ "@vc-shell/api-client-generator": "^1.0.196",
63
+ "@vc-shell/config-generator": "^1.0.196",
64
+ "@vc-shell/ts-config": "^1.0.196",
65
65
  "@vitejs/plugin-vue": "^5.0.3",
66
66
  "sass": "^1.69.6",
67
67
  "shx": "^0.3.4",
@@ -51,13 +51,13 @@ export const useDetailsFactory = <Item>(factoryParams: UseDetailsFactoryParams<I
51
51
  disabled: isDisabled.value,
52
52
  validated: !isDisabled.value && isModified.value,
53
53
  cachedValue: itemTemp.value,
54
+ errorBag: errorBag.value,
54
55
  setFieldError,
55
56
  setErrors,
56
57
  setFieldValue,
57
58
  setValues,
58
59
  resetModified,
59
60
  validate,
60
- errorBag,
61
61
  }),
62
62
  );
63
63
 
@@ -32,7 +32,7 @@ export interface IValidationState<Item> {
32
32
  updateInitial?: MaybeRef<boolean>,
33
33
  ) => void;
34
34
  validate: FormContext["validate"];
35
- errorBag: FormContext["errorBag"];
35
+ errorBag: Partial<Record<string, string[]>>;
36
36
  }
37
37
 
38
38
  export type CustomQuery = { ids: string[] | null; allSelected?: boolean };
@@ -116,7 +116,7 @@
116
116
  </template>
117
117
 
118
118
  <script lang="ts" setup generic="T extends TableItem | string">
119
- import { Ref, computed, ref, onMounted, watch } from "vue";
119
+ import { Ref, computed, ref, onMounted, watch, onUpdated } from "vue";
120
120
  import { IActionBuilderResult } from "../../../../../../core/types";
121
121
  import { useI18n } from "vue-i18n";
122
122
  import { useSwipe } from "@vueuse/core";
@@ -216,6 +216,10 @@ onMounted(() => {
216
216
  adjustHeight();
217
217
  });
218
218
 
219
+ onUpdated(() => {
220
+ adjustHeight();
221
+ });
222
+
219
223
  function reset() {
220
224
  left.value = "0";
221
225
  actionsWidth.value = "0";