dfs-page-config 0.3.50 → 0.3.53

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.
@@ -100536,8 +100536,8 @@ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["rend
100536
100536
  let ae = {};
100537
100537
  function de(Oe) {
100538
100538
  const xe = getTargetComp(L, k.pageKey, ie.option.target);
100539
- Oe && xe.children && xe.children.forEach((Ne) => {
100540
- Ne.type === "Form" && (Ne.row = Oe, ae = Ne);
100539
+ xe.children && xe.children.forEach((Ne) => {
100540
+ Ne.type === "Form" && (Oe && (Ne.row = Oe), ae = Ne);
100541
100541
  }), ie.component = xe, ie.dialog = !0;
100542
100542
  }
100543
100543
  function _e() {
@@ -105092,7 +105092,18 @@ const _sfc_main = defineComponent({
105092
105092
  name: "FabricHangTag",
105093
105093
  components: { ZoomIn: zoom_in_default },
105094
105094
  props: {
105095
- data: {},
105095
+ data: {
105096
+ type: Object,
105097
+ default: () => ({
105098
+ fabricSeries: "",
105099
+ fabricIntroduction: "",
105100
+ fabricFeatureDescList: [],
105101
+ friendlyReminder: "",
105102
+ barCodeId: "",
105103
+ id: ""
105104
+ }),
105105
+ required: !0
105106
+ },
105096
105107
  type: {
105097
105108
  type: String,
105098
105109
  default: ""
@@ -105141,24 +105152,26 @@ const _sfc_main = defineComponent({
105141
105152
  }).catch(() => {
105142
105153
  });
105143
105154
  }
105144
- const xe = 5, Ne = 260 - xe, Ie = 186, ze = 46, At = 20, qe = 8;
105155
+ const xe = 5, Ne = 260 - xe, Ie = 170, ze = 40, At = 20, qe = 8;
105145
105156
  function Dt(Ue) {
105157
+ let kt = Ue.friendlyReminder ? 10 : 20;
105146
105158
  L.ADD_PRINT_TEXT(Ne - xe - 10, Ie - 48, 20, 12, Ue.id);
105147
- let kt = 0;
105148
- if (Ue.barCodeId && (kt += At, L.ADD_PRINT_BARCODE(Ne - At, xe, 120, At, "EAN128B", Ue.barCodeId), L.SET_PRINT_STYLEA(0, "ShowBarText", 0)), Ue.friendlyReminder) {
105149
- let jt = Math.ceil(Ue.friendlyReminder.length / ze) * qe;
105150
- kt += jt + 8, L.ADD_PRINT_TEXT(Ne - kt, xe, Ie, jt, Ue.friendlyReminder);
105159
+ let jt = 0;
105160
+ if (Ue.barCodeId && (jt += At, L.ADD_PRINT_BARCODE(Ne - At, xe, 120, At, "EAN128B", Ue.barCodeId), L.SET_PRINT_STYLEA(0, "ShowBarText", 0)), Ue.friendlyReminder) {
105161
+ jt += kt;
105162
+ let tr = Math.ceil(Ue.friendlyReminder.length / ze) * qe;
105163
+ jt += tr, L.ADD_PRINT_TEXT(Ne - jt, xe, Ie, tr, Ue.friendlyReminder);
105151
105164
  }
105152
- if (Ue.fabricFeatureDescList && (kt += 4, [...Ue.fabricFeatureDescList].reverse().forEach((tr) => {
105153
- const or = Math.ceil(tr.length / ze) * qe + 4;
105154
- kt += or, L.ADD_PRINT_TEXT(Ne - kt, xe, Ie, or, " ● " + tr);
105155
- })), Ue.fabricIntroduction) {
105156
- let jt = Math.ceil(Ue.fabricIntroduction.length / ze) * qe + 5;
105157
- kt += jt + 8, L.ADD_PRINT_TEXT(Ne - kt, xe, Ie, jt, Ue.fabricIntroduction);
105165
+ if (jt += kt, Ue.fabricFeatureDescList && [...Ue.fabricFeatureDescList].reverse().forEach((or, er) => {
105166
+ const ir = Math.ceil(or.length / ze) * qe + (er > 0 ? 4 : 0);
105167
+ jt += ir, L.ADD_PRINT_TEXT(Ne - jt, xe, Ie, ir, " ● " + or);
105168
+ }), jt += kt, Ue.fabricIntroduction) {
105169
+ let tr = Math.ceil(Ue.fabricIntroduction.length / ze) * qe;
105170
+ jt += tr, L.ADD_PRINT_TEXT(Ne - jt, xe, Ie, tr, Ue.fabricIntroduction);
105158
105171
  }
105159
- if (kt += 10, Ue.fabricSeries = Ue.fabricSeries || Ue.name, Ue.fabricSeries) {
105160
- let jt = Math.ceil(Ue.fabricSeries.length / 15) * 13;
105161
- kt += jt, L.ADD_PRINT_TEXT(Ne - kt, xe, Ie, jt, Ue.fabricSeries), L.SET_PRINT_STYLEA(0, "FontSize", 13), L.SET_PRINT_STYLEA(0, "Bold", 1);
105172
+ if (jt += kt - 2, Ue.fabricSeries = Ue.fabricSeries || Ue.name, Ue.fabricSeries) {
105173
+ let tr = Math.ceil(Ue.fabricSeries.length / 17) * 16;
105174
+ jt += tr, L.ADD_PRINT_TEXT(Ne - jt, xe, Ie, tr, Ue.fabricSeries), L.SET_PRINT_STYLEA(0, "FontSize", 12), L.SET_PRINT_STYLEA(0, "Bold", 1);
105162
105175
  }
105163
105176
  }
105164
105177
  return {
@@ -105169,20 +105182,32 @@ const _sfc_main = defineComponent({
105169
105182
  print: Oe
105170
105183
  };
105171
105184
  }
105172
- }), FabricHangTag_vue_vue_type_style_index_0_scoped_7a714df3_lang = "", _withScopeId = (k) => (pushScopeId("data-v-7a714df3"), k = k(), popScopeId(), k), _hoisted_1 = {
105185
+ }), FabricHangTag_vue_vue_type_style_index_0_scoped_ac367e2e_lang = "", _withScopeId = (k) => (pushScopeId("data-v-ac367e2e"), k = k(), popScopeId(), k), _hoisted_1 = {
105173
105186
  style: { height: "max-content", display: "block" },
105174
105187
  class: "el-upload-list--picture-card"
105175
105188
  }, _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "point" }, null, -1)), _hoisted_3 = {
105176
105189
  class: "el-upload-list__item-actions",
105177
- style: { "z-index": "2" }
105190
+ style: { "z-index": "2", "border-radius": "10px" }
105178
105191
  }, _hoisted_4 = {
105179
105192
  class: "print-ele",
105180
105193
  ref: "printEle",
105181
105194
  style: { padding: "5px 10px", "line-height": "9pt", "font-family": "Circular", display: "flex", "flex-direction": "column", "justify-content": "flex-end" }
105182
- }, _hoisted_5 = { style: { "font-size": "13pt", "font-weight": "bold", "margin-bottom": "10pt", "line-height": "13pt" } }, _hoisted_6 = { style: { margin: "4pt 0" } }, _hoisted_7 = { style: { margin: "10px 0" } }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { margin: "0 5px", "font-size": "6px" } }, "●", -1)), _hoisted_9 = { style: { margin: "3pt 0" } }, _hoisted_10 = {
105195
+ }, _hoisted_5 = { style: { "font-size": "13pt", "font-weight": "bold", "margin-bottom": "4pt", "line-height": "16pt" } }, _hoisted_6 = {
105196
+ key: 0,
105197
+ style: { height: "6pt" }
105198
+ }, _hoisted_7 = { style: { margin: "4pt 0" } }, _hoisted_8 = {
105199
+ key: 1,
105200
+ style: { height: "8pt" }
105201
+ }, _hoisted_9 = { style: { margin: "8px 0" } }, _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { margin: "0 5px", "font-size": "6px" } }, "●", -1)), _hoisted_11 = {
105202
+ key: 2,
105203
+ style: { margin: "3pt 0" }
105204
+ }, _hoisted_12 = {
105205
+ key: 3,
105206
+ style: { height: "8pt" }
105207
+ }, _hoisted_13 = {
105183
105208
  id: "barcode",
105184
105209
  style: { width: "100px" }
105185
- }, _hoisted_11 = { style: { position: "absolute", bottom: "20px", right: "30px" } };
105210
+ }, _hoisted_14 = { style: { position: "absolute", bottom: "22px", right: "30px" } };
105186
105211
  function _sfc_render(k, L, ie, ae, de, _e) {
105187
105212
  const Oe = resolveComponent("ZoomIn"), xe = ElIcon, Ne = ElButton;
105188
105213
  return withDirectives((openBlock(), createElementBlock("div", {
@@ -105211,21 +105236,23 @@ function _sfc_render(k, L, ie, ae, de, _e) {
105211
105236
  createElementVNode("div", _hoisted_4, [
105212
105237
  createElementVNode("div", null, [
105213
105238
  createElementVNode("p", _hoisted_5, toDisplayString(k.data.fabricSeries || k.data.name), 1),
105214
- createElementVNode("p", _hoisted_6, toDisplayString(k.data.fabricIntroduction), 1),
105215
- createElementVNode("ul", _hoisted_7, [
105239
+ k.data.friendlyReminder ? createCommentVNode("", !0) : (openBlock(), createElementBlock("p", _hoisted_6)),
105240
+ createElementVNode("p", _hoisted_7, toDisplayString(k.data.fabricIntroduction), 1),
105241
+ k.data.friendlyReminder ? createCommentVNode("", !0) : (openBlock(), createElementBlock("p", _hoisted_8)),
105242
+ createElementVNode("ul", _hoisted_9, [
105216
105243
  (openBlock(!0), createElementBlock(Fragment, null, renderList(k.data.fabricFeatureDescList, (Ie) => (openBlock(), createElementBlock("li", {
105217
105244
  key: Ie,
105218
105245
  style: { margin: "1pt 0", display: "flex", "align-items": "center" }
105219
105246
  }, [
105220
- _hoisted_8,
105247
+ _hoisted_10,
105221
105248
  createTextVNode(" " + toDisplayString(Ie), 1)
105222
105249
  ]))), 128))
105223
105250
  ]),
105224
- createElementVNode("p", _hoisted_9, toDisplayString(k.data.friendlyReminder), 1),
105225
- withDirectives((openBlock(), createElementBlock("svg", _hoisted_10, null, 512)), [
105251
+ k.data.friendlyReminder ? (openBlock(), createElementBlock("p", _hoisted_11, toDisplayString(k.data.friendlyReminder), 1)) : (openBlock(), createElementBlock("p", _hoisted_12)),
105252
+ withDirectives((openBlock(), createElementBlock("svg", _hoisted_13, null, 512)), [
105226
105253
  [vShow, k.data.barCodeId]
105227
105254
  ]),
105228
- createElementVNode("span", _hoisted_11, toDisplayString(k.data.id), 1)
105255
+ createElementVNode("span", _hoisted_14, toDisplayString(k.data.id), 1)
105229
105256
  ])
105230
105257
  ], 512)
105231
105258
  ]),
@@ -105245,7 +105272,7 @@ function _sfc_render(k, L, ie, ae, de, _e) {
105245
105272
  [vShow, k.isShow]
105246
105273
  ]);
105247
105274
  }
105248
- const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7a714df3"]]);
105275
+ const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ac367e2e"]]);
105249
105276
  FabricHangTag.install = (k) => k.component(FabricHangTag.name, FabricHangTag);
105250
105277
  AgTable.install = (k) => k.component(AgTable.name, AgTable);
105251
105278
  const index = (k, L) => {