@byteluck-fe/runtime-desktop-controls 3.0.8 → 3.0.9

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.
@@ -35429,7 +35429,7 @@ function o_e(t, e) {
35429
35429
  }
35430
35430
  const r_e = {
35431
35431
  isStatic: !1
35432
- }, a_e = (t) => (Bn("data-v-3c174771"), t = t(), Hn(), t), l_e = ["id"], c_e = /* @__PURE__ */ a_e(() => /* @__PURE__ */ X("i", { class: "low-code iconliucheng" }, null, -1)), u_e = { "data-i18n": "LRT.viewFlowchart" }, d_e = {
35432
+ }, a_e = (t) => (Bn("data-v-44260396"), t = t(), Hn(), t), l_e = ["id"], c_e = /* @__PURE__ */ a_e(() => /* @__PURE__ */ X("i", { class: "low-code iconliucheng" }, null, -1)), u_e = { "data-i18n": "LRT.viewFlowchart" }, d_e = {
35433
35433
  key: 0,
35434
35434
  "data-i18n": "LRT.control.dataView.submit"
35435
35435
  }, p_e = {
@@ -35622,8 +35622,7 @@ const r_e = {
35622
35622
  "prefix-cls": c(d)
35623
35623
  }, {
35624
35624
  default: re(() => [
35625
- ue.isStatic ? cn(ue.$slots, "default", { key: 1 }, void 0, !0) : (O(), Y("div", {
35626
- key: 0,
35625
+ X("div", {
35627
35626
  id: ue.instance.id,
35628
35627
  ref_key: "formContainerRef",
35629
35628
  ref: u,
@@ -35632,109 +35631,111 @@ const r_e = {
35632
35631
  "show-fixed-action-bar": (N.value.bottomFixed || N.value.topFixed) && c(_)
35633
35632
  }])
35634
35633
  }, [
35635
- c(_) && N.value.topFixed ? (O(), ae(dt("rok-action-bar"), {
35636
- key: N.value.topFixed.id,
35637
- instance: N.value.topFixed,
35638
- value: c(x)(N.value.topFixed.id),
35639
- name: N.value.topFixed.id,
35640
- "is-bind-process": ue.isBindProcess,
35641
- "process-view": c(a),
35642
- "on-process-view": J
35643
- }, null, 40, ["instance", "value", "name", "is-bind-process", "process-view"])) : me("", !0),
35644
- W(Se, {
35645
- ref_key: "formRef",
35646
- ref: P,
35647
- rules: c(D),
35648
- model: c(A),
35649
- class: "rok-data-view-form"
35650
- }, {
35651
- default: re(() => [
35652
- (O(!0), Y(Ae, null, Xe(ue.instance.children, (Te) => (O(), Y(Ae, null, [
35653
- h(Te) ? (O(), ae(dt(`rok-${Te.type}`), Nt({
35654
- key: Te.id,
35655
- instance: Te,
35656
- ref_for: !0
35657
- }, Te.props, {
35658
- value: c(x)(Te.id),
35659
- name: Te.id,
35660
- "is-bind-process": ue.isBindProcess,
35661
- "process-view": c(a),
35662
- "on-process-view": J
35663
- }), null, 16, ["instance", "value", "name", "is-bind-process", "process-view"])) : me("", !0)
35664
- ], 64))), 256))
35665
- ]),
35666
- _: 1
35667
- }, 8, ["rules", "model"]),
35668
- c(_) && N.value.bottomFixed ? (O(), ae(dt("rok-action-bar"), {
35669
- key: N.value.bottomFixed.id,
35670
- instance: N.value.bottomFixed,
35671
- value: c(x)(N.value.bottomFixed.id),
35672
- name: N.value.bottomFixed.id,
35673
- "is-bind-process": ue.isBindProcess,
35674
- "process-view": c(a),
35675
- "on-process-view": J
35676
- }, null, 40, ["instance", "value", "name", "is-bind-process", "process-view"])) : me("", !0),
35677
- c(_) ? me("", !0) : st((O(), ae(De, {
35678
- key: 2,
35679
- "loading-background": "rgb(240 242 245 / 40%)",
35680
- type: "flex",
35681
- class: "submit-warp",
35682
- align: "middle",
35683
- justify: "end"
35684
- }, {
35685
- default: re(() => [
35686
- ue.isBindProcess && c(a) ? (O(), Y("div", {
35687
- key: 0,
35688
- class: "process_view_btn",
35689
- onClick: J
35690
- }, [
35691
- c_e,
35692
- X("span", u_e, de(c(L)("LRT.viewFlowchart")), 1)
35693
- ])) : me("", !0),
35694
- c(b).isShow ? (O(), ae(pe, {
35695
- key: 1,
35696
- "data-cid": `${ue.instance?.id}-${c(b).type}`,
35697
- "data-i18n": "LRT.common.cancel",
35698
- onClick: fe[0] || (fe[0] = (Te) => ne(c(b)))
35699
- }, {
35700
- default: re(() => [
35701
- et(de(c(L)("LRT.common.cancel")), 1)
35702
- ]),
35703
- _: 1
35704
- }, 8, ["data-cid"])) : me("", !0),
35705
- c(E).isShow ? (O(), ae(pe, {
35706
- key: 2,
35707
- class: "rok-data-view-saveas-btn",
35708
- loading: c(F),
35709
- disabled: c(U),
35710
- "data-cid": `${ue.instance?.id}-${c(E).type}`,
35711
- "data-i18n": "LRT.control.dataView.draft",
35712
- onClick: fe[1] || (fe[1] = (Te) => ne(c(E)))
35713
- }, {
35714
- default: re(() => [
35715
- et(de(c(L)("LRT.control.dataView.draft")), 1)
35716
- ]),
35717
- _: 1
35718
- }, 8, ["loading", "disabled", "data-cid"])) : me("", !0),
35719
- c(C).isShow ? (O(), ae(pe, {
35720
- key: 3,
35721
- type: "primary",
35722
- loading: c(k) || c(R),
35723
- disabled: c(U) || ue.isSubmitButtonDisabled,
35724
- "data-cid": `${ue.instance?.id}-${c(C).type}`,
35725
- onClick: fe[2] || (fe[2] = (Te) => ne(c(C)))
35726
- }, {
35727
- default: re(() => [
35728
- ue.isBindProcess ? (O(), Y("span", d_e, de(c(L)("LRT.control.dataView.submit")), 1)) : (O(), Y("span", p_e, de(c(L)("LRT.control.dataView.save")), 1))
35729
- ]),
35730
- _: 1
35731
- }, 8, ["loading", "disabled", "data-cid"])) : me("", !0)
35732
- ]),
35733
- _: 1
35734
- })), [
35735
- [He, c(f).isScopedLock]
35736
- ])
35737
- ], 10, l_e)),
35634
+ ue.isStatic ? cn(ue.$slots, "default", { key: 1 }, void 0, !0) : (O(), Y(Ae, { key: 0 }, [
35635
+ c(_) && N.value.topFixed ? (O(), ae(dt("rok-action-bar"), {
35636
+ key: N.value.topFixed.id,
35637
+ instance: N.value.topFixed,
35638
+ value: c(x)(N.value.topFixed.id),
35639
+ name: N.value.topFixed.id,
35640
+ "is-bind-process": ue.isBindProcess,
35641
+ "process-view": c(a),
35642
+ "on-process-view": J
35643
+ }, null, 40, ["instance", "value", "name", "is-bind-process", "process-view"])) : me("", !0),
35644
+ W(Se, {
35645
+ ref_key: "formRef",
35646
+ ref: P,
35647
+ rules: c(D),
35648
+ model: c(A),
35649
+ class: "rok-data-view-form"
35650
+ }, {
35651
+ default: re(() => [
35652
+ (O(!0), Y(Ae, null, Xe(ue.instance.children, (Te) => (O(), Y(Ae, null, [
35653
+ h(Te) ? (O(), ae(dt(`rok-${Te.type}`), Nt({
35654
+ key: Te.id,
35655
+ instance: Te,
35656
+ ref_for: !0
35657
+ }, Te.props, {
35658
+ value: c(x)(Te.id),
35659
+ name: Te.id,
35660
+ "is-bind-process": ue.isBindProcess,
35661
+ "process-view": c(a),
35662
+ "on-process-view": J
35663
+ }), null, 16, ["instance", "value", "name", "is-bind-process", "process-view"])) : me("", !0)
35664
+ ], 64))), 256))
35665
+ ]),
35666
+ _: 1
35667
+ }, 8, ["rules", "model"]),
35668
+ c(_) && N.value.bottomFixed ? (O(), ae(dt("rok-action-bar"), {
35669
+ key: N.value.bottomFixed.id,
35670
+ instance: N.value.bottomFixed,
35671
+ value: c(x)(N.value.bottomFixed.id),
35672
+ name: N.value.bottomFixed.id,
35673
+ "is-bind-process": ue.isBindProcess,
35674
+ "process-view": c(a),
35675
+ "on-process-view": J
35676
+ }, null, 40, ["instance", "value", "name", "is-bind-process", "process-view"])) : me("", !0),
35677
+ c(_) ? me("", !0) : st((O(), ae(De, {
35678
+ key: 2,
35679
+ "loading-background": "rgb(240 242 245 / 40%)",
35680
+ type: "flex",
35681
+ class: "submit-warp",
35682
+ align: "middle",
35683
+ justify: "end"
35684
+ }, {
35685
+ default: re(() => [
35686
+ ue.isBindProcess && c(a) ? (O(), Y("div", {
35687
+ key: 0,
35688
+ class: "process_view_btn",
35689
+ onClick: J
35690
+ }, [
35691
+ c_e,
35692
+ X("span", u_e, de(c(L)("LRT.viewFlowchart")), 1)
35693
+ ])) : me("", !0),
35694
+ c(b).isShow ? (O(), ae(pe, {
35695
+ key: 1,
35696
+ "data-cid": `${ue.instance?.id}-${c(b).type}`,
35697
+ "data-i18n": "LRT.common.cancel",
35698
+ onClick: fe[0] || (fe[0] = (Te) => ne(c(b)))
35699
+ }, {
35700
+ default: re(() => [
35701
+ et(de(c(L)("LRT.common.cancel")), 1)
35702
+ ]),
35703
+ _: 1
35704
+ }, 8, ["data-cid"])) : me("", !0),
35705
+ c(E).isShow ? (O(), ae(pe, {
35706
+ key: 2,
35707
+ class: "rok-data-view-saveas-btn",
35708
+ loading: c(F),
35709
+ disabled: c(U),
35710
+ "data-cid": `${ue.instance?.id}-${c(E).type}`,
35711
+ "data-i18n": "LRT.control.dataView.draft",
35712
+ onClick: fe[1] || (fe[1] = (Te) => ne(c(E)))
35713
+ }, {
35714
+ default: re(() => [
35715
+ et(de(c(L)("LRT.control.dataView.draft")), 1)
35716
+ ]),
35717
+ _: 1
35718
+ }, 8, ["loading", "disabled", "data-cid"])) : me("", !0),
35719
+ c(C).isShow ? (O(), ae(pe, {
35720
+ key: 3,
35721
+ type: "primary",
35722
+ loading: c(k) || c(R),
35723
+ disabled: c(U) || ue.isSubmitButtonDisabled,
35724
+ "data-cid": `${ue.instance?.id}-${c(C).type}`,
35725
+ onClick: fe[2] || (fe[2] = (Te) => ne(c(C)))
35726
+ }, {
35727
+ default: re(() => [
35728
+ ue.isBindProcess ? (O(), Y("span", d_e, de(c(L)("LRT.control.dataView.submit")), 1)) : (O(), Y("span", p_e, de(c(L)("LRT.control.dataView.save")), 1))
35729
+ ]),
35730
+ _: 1
35731
+ }, 8, ["loading", "disabled", "data-cid"])) : me("", !0)
35732
+ ]),
35733
+ _: 1
35734
+ })), [
35735
+ [He, c(f).isScopedLock]
35736
+ ])
35737
+ ], 64))
35738
+ ], 10, l_e),
35738
35739
  W(c(n)),
35739
35740
  W($e, {
35740
35741
  open: Z.value,
@@ -35790,7 +35791,7 @@ const r_e = {
35790
35791
  };
35791
35792
  }
35792
35793
  });
35793
- const v_e = /* @__PURE__ */ Ue(m_e, [["__scopeId", "data-v-3c174771"]]), y_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35794
+ const v_e = /* @__PURE__ */ Ue(m_e, [["__scopeId", "data-v-44260396"]]), y_e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35794
35795
  __proto__: null,
35795
35796
  RokDataView: v_e
35796
35797
  }, Symbol.toStringTag, { value: "Module" }));