liyu-pc-base 1.0.131 → 1.0.135

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.
@@ -11625,6 +11625,10 @@ const Wre = /* @__PURE__ */ dt(Lre, [["render", Kre], ["__scopeId", "data-v-eaee
11625
11625
  listLength: {
11626
11626
  type: Number,
11627
11627
  default: 0
11628
+ },
11629
+ context: {
11630
+ type: Object,
11631
+ default: null
11628
11632
  }
11629
11633
  },
11630
11634
  emits: ["update:value", "remove"],
@@ -11692,8 +11696,9 @@ function Zre(e, t, n, r, o, i) {
11692
11696
  "inner-model": e.innerModel,
11693
11697
  "global-inner-model": e.globalInnerModel,
11694
11698
  modalTypeList: e.modalTypeList,
11699
+ context: e.context,
11695
11700
  modalType: e.modalType
11696
- }, null, 40, ["form", "model", "options", "validateInfos", "onUpdate_model", "alwaysShowGroup", "is_form_design", "inner-model", "global-inner-model", "modalTypeList", "modalType"]))
11701
+ }, null, 40, ["form", "model", "options", "validateInfos", "onUpdate_model", "alwaysShowGroup", "is_form_design", "inner-model", "global-inner-model", "modalTypeList", "context", "modalType"]))
11697
11702
  ]),
11698
11703
  e.field.max_count !== e.min_count ? (F(), ie("div", Jre, [
11699
11704
  Q(l, {
@@ -11711,7 +11716,7 @@ function Zre(e, t, n, r, o, i) {
11711
11716
  ])) : G("", !0)
11712
11717
  ]);
11713
11718
  }
11714
- const Qre = /* @__PURE__ */ dt(Gre, [["render", Zre], ["__scopeId", "data-v-160ae7bd"]]), eoe = Me({
11719
+ const Qre = /* @__PURE__ */ dt(Gre, [["render", Zre], ["__scopeId", "data-v-1412b549"]]), eoe = Me({
11715
11720
  name: "FormTemplate",
11716
11721
  components: {
11717
11722
  FormItem: Qre
@@ -11767,6 +11772,10 @@ const Qre = /* @__PURE__ */ dt(Gre, [["render", Zre], ["__scopeId", "data-v-160a
11767
11772
  nestValidate: {
11768
11773
  type: Object,
11769
11774
  default: null
11775
+ },
11776
+ context: {
11777
+ type: Object,
11778
+ default: null
11770
11779
  }
11771
11780
  },
11772
11781
  emits: ["update:value"],
@@ -11881,12 +11890,13 @@ function noe(e, t, n, r, o, i) {
11881
11890
  nestValidate: e.nestValidate,
11882
11891
  min_count: e.min_count,
11883
11892
  listLength: e.value.length,
11893
+ context: e.context,
11884
11894
  onRemove: (d) => e.removeFormItem(s)
11885
- }, null, 8, ["form", "field", "value", "onUpdate:value", "options", "alwaysShowGroup", "is_form_design", "inner-model", "global-inner-model", "modalTypeList", "modalType", "nestValidate", "min_count", "listLength", "onRemove"]);
11895
+ }, null, 8, ["form", "field", "value", "onUpdate:value", "options", "alwaysShowGroup", "is_form_design", "inner-model", "global-inner-model", "modalTypeList", "modalType", "nestValidate", "min_count", "listLength", "context", "onRemove"]);
11886
11896
  }), 256))
11887
11897
  ], 64);
11888
11898
  }
11889
- const roe = /* @__PURE__ */ dt(eoe, [["render", noe], ["__scopeId", "data-v-e9e47c4d"]]), ooe = Me({
11899
+ const roe = /* @__PURE__ */ dt(eoe, [["render", noe], ["__scopeId", "data-v-acc56238"]]), ooe = Me({
11890
11900
  name: "DynamicValueField",
11891
11901
  components: { debugCode: R3 },
11892
11902
  props: {
@@ -38603,12 +38613,18 @@ const c9e = /* @__PURE__ */ dt(l9e, [["render", s9e], ["__scopeId", "data-v-0c7b
38603
38613
  }
38604
38614
  ), Kt(() => {
38605
38615
  var y, h;
38606
- ((y = e.field) == null ? void 0 : y.conditions) instanceof Array && ((h = e.field) == null ? void 0 : h.conditions.length) > 0 ? c() : (i.value = !0, t("update:is_show_field", i.value)), i.value ? t("update_model", {
38607
- add_key: e.field.name,
38608
- value: n.value[e.field.name] || null
38609
- }) : (delete n.value[e.field.name], t("update_model", {
38610
- remove_key: e.field.name
38611
- })), l.value && t("update:is_edit", a.value);
38616
+ if (((y = e.field) == null ? void 0 : y.conditions) instanceof Array && ((h = e.field) == null ? void 0 : h.conditions.length) > 0 ? c() : (i.value = !0, t("update:is_show_field", i.value)), !i.value)
38617
+ delete n.value[e.field.name], t("update_model", {
38618
+ remove_key: e.field.name
38619
+ });
38620
+ else {
38621
+ let g = n.value[e.field.name];
38622
+ g === void 0 && (g = null), t("update_model", {
38623
+ add_key: e.field.name,
38624
+ value: g
38625
+ });
38626
+ }
38627
+ l.value && t("update:is_edit", a.value);
38612
38628
  });
38613
38629
  const { t: f } = nb();
38614
38630
  return {
@@ -39419,10 +39435,11 @@ function D9e(e, t, n, r, o, i) {
39419
39435
  watch: e.field.watch,
39420
39436
  is_form_design: e.is_form_design,
39421
39437
  alwaysShowGroup: e.alwaysShowGroup,
39438
+ context: e.context,
39422
39439
  "inner-model": e.innerModel,
39423
39440
  "global-inner-model": e.globalInnerModel,
39424
39441
  nestValidate: e.nestValidate
39425
- }, null, 8, ["value", "columns", "formModel", "field", "field_status", "get-data", "init_model", "modalType", "modalTypeList", "search_config", "watch", "is_form_design", "alwaysShowGroup", "inner-model", "global-inner-model", "nestValidate"])) : G("", !0),
39442
+ }, null, 8, ["value", "columns", "formModel", "field", "field_status", "get-data", "init_model", "modalType", "modalTypeList", "search_config", "watch", "is_form_design", "alwaysShowGroup", "context", "inner-model", "global-inner-model", "nestValidate"])) : G("", !0),
39426
39443
  e.field.type === "dynamicvaluefield" ? (F(), q(De, {
39427
39444
  key: 41,
39428
39445
  value: e.model,
@@ -39577,7 +39594,7 @@ function D9e(e, t, n, r, o, i) {
39577
39594
  }, null, 8, ["value", "formModel", "field", "modalType", "watch", "is_form_design", "context"])) : G("", !0)
39578
39595
  ], 64);
39579
39596
  }
39580
- const OW = /* @__PURE__ */ dt(d9e, [["render", D9e], ["__scopeId", "data-v-1669c41d"]]), A9e = {
39597
+ const OW = /* @__PURE__ */ dt(d9e, [["render", D9e], ["__scopeId", "data-v-e9883152"]]), A9e = {
39581
39598
  name: "SearchRender",
39582
39599
  components: { FieldRender2: OW, LeftOutlined: TW, RightOutlined: FW, CloseOutlined: PW },
39583
39600
  emits: ["search", "resize", "delSearch", "showGeneralFilter"],