@unizhen/ui 0.1.121 → 0.1.123

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.
@@ -4,4 +4,4 @@ export { default as UzDraggableForm } from './draggable.vue';
4
4
  export { default as UzFormItemUpload } from './upload.vue';
5
5
  export { default as UzFormItemImage } from './image.vue';
6
6
  export { default as UzFormItemTimesPicker } from './timesPicker.vue';
7
- export type { IUzFormItemBase, IUzFormItemGroup, IUzFormItem, IUzFormItems, IUzFormItemInput, IUzFormItemAuto, IUzFormItemNumber, IUzFormItemDatePicker, IUzFormItemTime, IUzFormItemTimesPicker, IUzFormItemSelect, IUzFormItemCascader, IUzFormItemSwitch, IUzFormItemUpload, IUzFormItemDivider, IUzFormItemColor, IUzFormItemCheckbox, IUzFormItemSubTable, IUzFormItemFilling, ITable, ISearch, IForm } from './interface';
7
+ export type { IUzFormItemBase, IUzFormItemGroup, IUzFormItem, IUzFormItems, IUzFormItemInput, IUzFormItemAuto, IUzFormItemNumber, IUzFormItemDatePicker, IUzFormItemTime, IUzFormItemTimesPicker, IUzFormItemSelect, IUzFormItemCascader, IUzFormItemSwitch, IUzFormItemUpload, IUzFormItemDivider, IUzFormItemColor, IUzFormItemCheckbox, IUzFormItemSubTable, IUzFormItemFilling, IUzFormItemBom, ITable, ISearch, IForm } from './interface';
package/lib/ui.js CHANGED
@@ -1952,8 +1952,8 @@ var Or = /*#__PURE__*/ Z(Tr, [["render", Dr]]), kr = d({
1952
1952
  class: "uz-form-item-add"
1953
1953
  };
1954
1954
  function Mr(t, n, s, u, d, f) {
1955
- let p = D("UzIcon"), m = D("NIcon"), h = D("NButton"), v = D("UzTableChild"), y = D("UzFormItem"), b = D("NFormItem"), S = D("VueDraggable"), C = D("NDivider"), w = D("NForm");
1956
- return x(), r(w, {
1955
+ let p = D("UzIcon"), m = D("NIcon"), h = D("NButton"), v = D("UzTableChild"), y = D("UzFormItem"), b = D("NFormItem"), S = D("VueDraggable"), C = D("UzBom"), w = D("NDivider"), E = D("NForm");
1956
+ return x(), r(E, {
1957
1957
  ref: "formRef",
1958
1958
  class: "uz-w-full uz-h-full",
1959
1959
  model: t.formValue,
@@ -2078,14 +2078,18 @@ function Mr(t, n, s, u, d, f) {
2078
2078
  "onUpdate:modelValue",
2079
2079
  "onAdd",
2080
2080
  "onEnd"
2081
- ])) : s.input === "divider" ? (x(), r(C, {
2081
+ ])) : s.input === "bom" ? (x(), r(C, {
2082
2082
  key: 3,
2083
+ value: t.formValue[`bom_${s.key}`],
2084
+ "onUpdate:value": (e) => t.formValue[`bom_${s.key}`] = e
2085
+ }, null, 8, ["value", "onUpdate:value"])) : s.input === "divider" ? (x(), r(w, {
2086
+ key: 4,
2083
2087
  "title-placement": s.params.placement
2084
2088
  }, {
2085
2089
  default: N(() => [c(A(typeof s.label == "function" ? s.label() : s.label), 1)]),
2086
2090
  _: 2
2087
2091
  }, 1032, ["title-placement"])) : (x(), r(y, {
2088
- key: 4,
2092
+ key: 5,
2089
2093
  item: s,
2090
2094
  formValue: t.formValue,
2091
2095
  status: t.status
@@ -7957,7 +7961,7 @@ function Xs(e, t, n) {
7957
7961
  }
7958
7962
  //#endregion
7959
7963
  //#region package.json
7960
- var Zs = "0.1.121", Qs;
7964
+ var Zs = "0.1.123", Qs;
7961
7965
  async function $s() {
7962
7966
  let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
7963
7967
  method: "HEAD",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.121",
3
+ "version": "0.1.123",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },