@kengic/vue 0.6.10-beta.8 → 0.6.10-beta.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -5863,6 +5863,7 @@ const without$1 = without, en = {
5863
5863
  add: "Add",
5864
5864
  button: "Button",
5865
5865
  cancel: "Cancel",
5866
+ close: "Close",
5866
5867
  confirm: "Confirm",
5867
5868
  confirmDelete: "Confirm delete ?",
5868
5869
  copy: "Copy",
@@ -6005,6 +6006,7 @@ const without$1 = without, en = {
6005
6006
  add: "\u65B0\u589E",
6006
6007
  button: "\u6309\u94AE",
6007
6008
  cancel: "\u53D6\u6D88",
6009
+ close: "\u5173\u95ED",
6008
6010
  confirm: "\u786E\u8BA4",
6009
6011
  confirmDelete: "\u786E\u8BA4\u5220\u9664 ?",
6010
6012
  copy: "\u590D\u5236",
@@ -9825,13 +9827,7 @@ const KgFormItemRadioGroup = defineComponent({
9825
9827
  case KG_FORM_ITEM_TYPE.SELECT:
9826
9828
  return createVNode(KgFormItemSelect, b.value, null);
9827
9829
  case KG_FORM_ITEM_TYPE.SWITCH:
9828
- switch (e.kgContext) {
9829
- case KG_FORM_CONTEXT.SEARCH:
9830
- return createVNode(KgFormItemSelect, b.value, null);
9831
- case KG_FORM_CONTEXT.SUBMIT:
9832
- default:
9833
- return createVNode(KgFormItemSwitch, b.value, null);
9834
- }
9830
+ return createVNode(KgFormItemSwitch, b.value, null);
9835
9831
  case KG_FORM_ITEM_TYPE.CHECKBOX:
9836
9832
  return createVNode(KgFormItemCheckbox, b.value, null);
9837
9833
  case KG_FORM_ITEM_TYPE.CHECKBOX_GROUP:
@@ -10592,7 +10588,7 @@ const getProps$p = () => ({
10592
10588
  return u.value ? 398 : (B = (L = m.value) == null ? void 0 : L.max_width) != null ? B : DEFAULT_MAX_WIDTH;
10593
10589
  }), P = computed(() => u.value ? 398 : A.value.kgWidth), V = ref(null);
10594
10590
  _useResizeObserver$1(V);
10595
- const D = _useTitle(), O = computed(() => u.value ? 400 : A.value.kgWidth && A.value.kgWidth > 0 ? A.value.kgWidth + 2 : 0), R = computed(() => O.value === 0 ? !1 : !!(o.isCreating.value || o.isUpdating.value || o.isCopying.value || o.isDeleting.value)), x = reactive({
10591
+ const D = _useTitle(), O = computed(() => u.value ? 400 : A.value.kgWidth && A.value.kgWidth > 0 ? "auto" : 0), R = computed(() => O.value === 0 ? !1 : !!(o.isCreating.value || o.isUpdating.value || o.isCopying.value || o.isDeleting.value)), x = reactive({
10596
10592
  isFullscreen: !1
10597
10593
  }), {
10598
10594
  getClass: G
@@ -107,6 +107,7 @@ declare const _default: {
107
107
  add: string;
108
108
  button: string;
109
109
  cancel: string;
110
+ close: string;
110
111
  confirm: string;
111
112
  confirmDelete: string;
112
113
  copy: string;
@@ -106,6 +106,7 @@ declare const _default: {
106
106
  add: string;
107
107
  button: string;
108
108
  cancel: string;
109
+ close: string;
109
110
  confirm: string;
110
111
  confirmDelete: string;
111
112
  copy: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.6.10-beta.8",
3
+ "version": "0.6.10-beta.9",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",