mixapply 1.1.47 → 1.1.48

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.
package/mixapply.js CHANGED
@@ -56101,7 +56101,17 @@ const O1 = (t, e, r) => {
56101
56101
  radiusSize: { value: 8, type: "number", label: "圆角大小" },
56102
56102
  fontColor: { value: "#fff", type: "color", label: "字体颜色" },
56103
56103
  bgColor: { value: "#73bff9", type: "color", label: "背景颜色" },
56104
- fontSize: { value: 16, type: "number", label: "字体大小" }
56104
+ fontSize: { value: 16, type: "number", label: "字体大小" },
56105
+ position: {
56106
+ value: "left",
56107
+ type: "radio",
56108
+ option: [
56109
+ { value: "left", label: "左" },
56110
+ { value: "center", label: "中" },
56111
+ { value: "right", label: "右" }
56112
+ ],
56113
+ label: "文本位置"
56114
+ }
56105
56115
  }, KN = [{ name: "参数一", fv: "", object_id: "", unit: "", default: "", isText: !1 }], gue = ["name", "fv", "object_id", "unit", "default", "isText", "source"], mue = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], yue = {
56106
56116
  useAlias: !1,
56107
56117
  multiObject: !1,
@@ -56146,14 +56156,15 @@ const O1 = (t, e, r) => {
56146
56156
  name: f.unit ? `${g}(${f.unit})` : g
56147
56157
  };
56148
56158
  }, l = () => {
56149
- var p, g, v, m, b, y, S, C, _, w;
56159
+ var p, g, v, m, b, y, S, C, _, w, x, E;
56150
56160
  const { conf: f } = n;
56151
56161
  a.value = {
56152
56162
  bgColor: ((g = (p = f == null ? void 0 : f.options) == null ? void 0 : p.bgColor) == null ? void 0 : g.value) || "#73bff9",
56153
56163
  fontColor: ((m = (v = f == null ? void 0 : f.options) == null ? void 0 : v.fontColor) == null ? void 0 : m.value) || "#fff",
56154
56164
  nameSize: ((y = (b = f == null ? void 0 : f.options) == null ? void 0 : b.nameSize) == null ? void 0 : y.value) || 16,
56155
56165
  valueSize: ((C = (S = f == null ? void 0 : f.options) == null ? void 0 : S.valueSize) == null ? void 0 : C.value) || 16,
56156
- radiusSize: ((w = (_ = f == null ? void 0 : f.options) == null ? void 0 : _.radiusSize) == null ? void 0 : w.value) ?? 4
56166
+ radiusSize: ((w = (_ = f == null ? void 0 : f.options) == null ? void 0 : _.radiusSize) == null ? void 0 : w.value) ?? 4,
56167
+ position: ((E = (x = f == null ? void 0 : f.options) == null ? void 0 : x.position) == null ? void 0 : E.value) || "left"
56157
56168
  }, f.data = f.data.length ? f.data : KN;
56158
56169
  }, u = (f) => {
56159
56170
  const { common: p } = n.conf, g = p.source || "mosaic";
@@ -56220,7 +56231,8 @@ const O1 = (t, e, r) => {
56220
56231
  class: "value",
56221
56232
  style: ae({
56222
56233
  color: a.value.fontColor,
56223
- "font-size": `${a.value.valueSize}px`
56234
+ "font-size": `${a.value.valueSize}px`,
56235
+ textAlign: a.value.position
56224
56236
  })
56225
56237
  }, ue(i(g).value), 5),
56226
56238
  G("div", {
@@ -56231,7 +56243,8 @@ const O1 = (t, e, r) => {
56231
56243
  class: "name",
56232
56244
  style: ae({
56233
56245
  color: a.value.fontColor,
56234
- "font-size": `${a.value.nameSize}px`
56246
+ "font-size": `${a.value.nameSize}px`,
56247
+ textAlign: a.value.position
56235
56248
  })
56236
56249
  }, ue(i(g).name), 5)
56237
56250
  ]))), 128))
@@ -56240,7 +56253,7 @@ const O1 = (t, e, r) => {
56240
56253
  xe(f.$slots, "default", {}, void 0, !0)
56241
56254
  ]));
56242
56255
  }
56243
- }), Sue = /* @__PURE__ */ gt(_ue, [["__scopeId", "data-v-b15bd54d"]]), Pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
56256
+ }), Sue = /* @__PURE__ */ gt(_ue, [["__scopeId", "data-v-bd4d9eca"]]), Pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
56244
56257
  __proto__: null,
56245
56258
  default: Sue
56246
56259
  }, Symbol.toStringTag, { value: "Module" })), Cue = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='16px'%20viewBox='0%200%2017%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e事件卡片%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-191.000000,%20-96.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M205.92069,97.4712644%20C206.682471,97.4712644%20207.3,98.0888001%20207.3,98.8505747%20L207.3,98.8505747%20L207.3,109.149425%20C207.3,109.911209%20206.682473,110.528736%20205.92069,110.528736%20L205.92069,110.528736%20L192.67931,110.528736%20C191.917536,110.528736%20191.3,109.911206%20191.3,109.149425%20L191.3,109.149425%20L191.3,98.8505747%20C191.3,98.0888025%20191.917538,97.4712644%20192.67931,97.4712644%20L192.67931,97.4712644%20Z%20M205.92069,98.7586207%20L192.67931,98.7586207%20C192.628525,98.7586207%20192.587356,98.7997897%20192.587356,98.8505747%20L192.587356,98.8505747%20L192.587356,109.149425%20C192.587356,109.200216%20192.62852,109.241379%20192.67931,109.241379%20L192.67931,109.241379%20L205.92069,109.241379%20C205.971486,109.241379%20206.012644,109.200221%20206.012644,109.149425%20L206.012644,109.149425%20L206.012644,98.8505747%20C206.012644,98.7997844%20205.97148,98.7586207%20205.92069,98.7586207%20L205.92069,98.7586207%20Z%20M196.537914,107.926325%20L196.461627,107.89772%20C196.376008,107.859228%20196.300327,107.802566%20196.239493,107.732645%20L196.182458,107.65641%20C196.149793,107.605279%20196.124154,107.549226%20196.106902,107.489611%20L196.088588,107.405463%20C196.083991,107.374424%20196.081609,107.342662%20196.081609,107.310345%20L196.081609,101.425287%20C196.081609,101.296017%20196.119716,101.175647%20196.18531,101.074798%20C196.212059,101.034076%20196.24112,100.998703%20196.273556,100.966746%20C196.325849,100.915252%20196.38674,100.872715%20196.453929,100.841434%20C196.473529,100.832503%20196.487888,100.826598%20196.502497,100.821209%20C196.516162,100.816178%20196.529622,100.811721%20196.54327,100.807705%20C196.543966,100.8075%20196.544993,100.8072%20196.546021,100.806902%20L196.630169,100.788588%20C196.631149,100.788443%20196.63213,100.7883%20196.633112,100.788159%20C196.635183,100.787864%20196.636563,100.787673%20196.637944,100.787485%20L196.725287,100.781609%20L201.874713,100.781609%20C202.230206,100.781609%20202.518391,101.069794%20202.518391,101.425287%20C202.518391,101.751157%20202.276236,102.020467%20201.962056,102.063089%20L201.874713,102.068966%20L197.368,102.068264%20L197.368,103.723264%20L201.874713,103.724138%20C202.230206,103.724138%20202.518391,104.012322%20202.518391,104.367816%20C202.518391,104.693685%20202.276236,104.962996%20201.962056,105.005618%20L201.874713,105.011494%20L197.368,105.011264%20L197.368,106.666264%20L201.874713,106.666667%20C202.230206,106.666667%20202.518391,106.954851%20202.518391,107.310345%20C202.518391,107.636214%20202.276236,107.905525%20201.962056,107.948147%20L201.874713,107.954023%20L196.725287,107.954023%20C196.660114,107.954023%20196.597202,107.944337%20196.537914,107.926325%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", wue = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='16px'%20viewBox='0%200%2017%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e事件卡片%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-191.000000,%20-96.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M205.92069,97.4712644%20C206.682471,97.4712644%20207.3,98.0888001%20207.3,98.8505747%20L207.3,98.8505747%20L207.3,109.149425%20C207.3,109.911209%20206.682473,110.528736%20205.92069,110.528736%20L205.92069,110.528736%20L192.67931,110.528736%20C191.917536,110.528736%20191.3,109.911206%20191.3,109.149425%20L191.3,109.149425%20L191.3,98.8505747%20C191.3,98.0888025%20191.917538,97.4712644%20192.67931,97.4712644%20L192.67931,97.4712644%20Z%20M205.92069,98.7586207%20L192.67931,98.7586207%20C192.628525,98.7586207%20192.587356,98.7997897%20192.587356,98.8505747%20L192.587356,98.8505747%20L192.587356,109.149425%20C192.587356,109.200216%20192.62852,109.241379%20192.67931,109.241379%20L192.67931,109.241379%20L205.92069,109.241379%20C205.971486,109.241379%20206.012644,109.200221%20206.012644,109.149425%20L206.012644,109.149425%20L206.012644,98.8505747%20C206.012644,98.7997844%20205.97148,98.7586207%20205.92069,98.7586207%20L205.92069,98.7586207%20Z%20M196.537914,107.926325%20L196.461627,107.89772%20C196.376008,107.859228%20196.300327,107.802566%20196.239493,107.732645%20L196.182458,107.65641%20C196.149793,107.605279%20196.124154,107.549226%20196.106902,107.489611%20L196.088588,107.405463%20C196.083991,107.374424%20196.081609,107.342662%20196.081609,107.310345%20L196.081609,101.425287%20C196.081609,101.296017%20196.119716,101.175647%20196.18531,101.074798%20C196.212059,101.034076%20196.24112,100.998703%20196.273556,100.966746%20C196.325849,100.915252%20196.38674,100.872715%20196.453929,100.841434%20C196.473529,100.832503%20196.487888,100.826598%20196.502497,100.821209%20C196.516162,100.816178%20196.529622,100.811721%20196.54327,100.807705%20C196.543966,100.8075%20196.544993,100.8072%20196.546021,100.806902%20L196.630169,100.788588%20C196.631149,100.788443%20196.63213,100.7883%20196.633112,100.788159%20C196.635183,100.787864%20196.636563,100.787673%20196.637944,100.787485%20L196.725287,100.781609%20L201.874713,100.781609%20C202.230206,100.781609%20202.518391,101.069794%20202.518391,101.425287%20C202.518391,101.751157%20202.276236,102.020467%20201.962056,102.063089%20L201.874713,102.068966%20L197.368,102.068264%20L197.368,103.723264%20L201.874713,103.724138%20C202.230206,103.724138%20202.518391,104.012322%20202.518391,104.367816%20C202.518391,104.693685%20202.276236,104.962996%20201.962056,105.005618%20L201.874713,105.011494%20L197.368,105.011264%20L197.368,106.666264%20L201.874713,106.666667%20C202.230206,106.666667%20202.518391,106.954851%20202.518391,107.310345%20C202.518391,107.636214%20202.276236,107.905525%20201.962056,107.948147%20L201.874713,107.954023%20L196.725287,107.954023%20C196.660114,107.954023%20196.597202,107.944337%20196.537914,107.926325%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", xue = { class: "w-full h-full relative" }, b5 = "--", Tue = {
@@ -65141,6 +65154,16 @@ const Whe = /* @__PURE__ */ T6(Ghe), Yhe = {
65141
65154
  ],
65142
65155
  label: "列表排序"
65143
65156
  },
65157
+ position: {
65158
+ value: "left",
65159
+ type: "radio",
65160
+ option: [
65161
+ { value: "left", label: "左" },
65162
+ { value: "center", label: "中" },
65163
+ { value: "right", label: "右" }
65164
+ ],
65165
+ label: "文本位置"
65166
+ },
65144
65167
  isHideTitle: { value: !1, type: "checkbox", label: "是否隐藏标题" }
65145
65168
  }, Mpe = {
65146
65169
  gridType: "object",
@@ -65216,7 +65239,7 @@ const Whe = /* @__PURE__ */ T6(Ghe), Yhe = {
65216
65239
  7: [St().subtract(31, "day").format(a), St().format(a)],
65217
65240
  8: [St().subtract(365, "day").format(a), St().format(a)]
65218
65241
  }, d = () => {
65219
- var L, A, D, M, k, R, N, P, z;
65242
+ var L, A, D, M, k, R, N, P, z, V;
65220
65243
  const { options: T } = e.conf;
65221
65244
  r.value = {
65222
65245
  bgColor: ((L = T == null ? void 0 : T.bgColor) == null ? void 0 : L.value) || "#fff",
@@ -65226,8 +65249,9 @@ const Whe = /* @__PURE__ */ T6(Ghe), Yhe = {
65226
65249
  titleSize: ((k = T == null ? void 0 : T.titleSize) == null ? void 0 : k.value) || 12,
65227
65250
  valueSize: ((R = T == null ? void 0 : T.valueSize) == null ? void 0 : R.value) || 12,
65228
65251
  radiusSize: ((N = T == null ? void 0 : T.radiusSize) == null ? void 0 : N.value) ?? 4,
65229
- isHideTitle: ((P = T == null ? void 0 : T.isHideTitle) == null ? void 0 : P.value) ?? !1
65230
- }, n.pageSize = ((z = T == null ? void 0 : T.points) == null ? void 0 : z.value) ?? 10;
65252
+ isHideTitle: ((P = T == null ? void 0 : T.isHideTitle) == null ? void 0 : P.value) ?? !1,
65253
+ position: ((z = T == null ? void 0 : T.position) == null ? void 0 : z.value) || "left"
65254
+ }, n.pageSize = ((V = T == null ? void 0 : T.points) == null ? void 0 : V.value) ?? 10;
65231
65255
  }, h = (T) => {
65232
65256
  const { common: L } = e.conf;
65233
65257
  console.log(L, "common"), L.loop !== "vertical" && f(T), L.loop === "vertical" && p();
@@ -65369,7 +65393,8 @@ const Whe = /* @__PURE__ */ T6(Ghe), Yhe = {
65369
65393
  width: t.conf.common.rowWidth[N] + "%",
65370
65394
  borderColor: r.value.borderColor,
65371
65395
  fontSize: `${r.value.titleSize}px`,
65372
- color: r.value.fontColor
65396
+ color: r.value.fontColor,
65397
+ textAlign: r.value.position
65373
65398
  })
65374
65399
  }, ue(s.value[R]), 5))), 128))
65375
65400
  ]),
@@ -65396,7 +65421,8 @@ const Whe = /* @__PURE__ */ T6(Ghe), Yhe = {
65396
65421
  width: t.conf.common.rowWidth[z] + "%",
65397
65422
  borderColor: r.value.borderColor,
65398
65423
  fontSize: `${r.value.valueSize}px`,
65399
- color: r.value.fontColor
65424
+ color: r.value.fontColor,
65425
+ textAlign: r.value.position
65400
65426
  }),
65401
65427
  innerHTML: R[P]
65402
65428
  }, null, 12, Epe))), 128))
@@ -65427,7 +65453,7 @@ const Whe = /* @__PURE__ */ T6(Ghe), Yhe = {
65427
65453
  ], 4);
65428
65454
  };
65429
65455
  }
65430
- }), Ipe = /* @__PURE__ */ gt(Ope, [["__scopeId", "data-v-31bcec02"]]), Cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65456
+ }), Ipe = /* @__PURE__ */ gt(Ope, [["__scopeId", "data-v-ff130b05"]]), Cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65431
65457
  __proto__: null,
65432
65458
  default: Ipe
65433
65459
  }, Symbol.toStringTag, { value: "Module" })), Rpe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e数据%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-200.000000,%20-723.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M201.563218,739.132184%20C200.699877,739.132184%20200,738.432307%20200,737.568966%20L200,737.568966%20L200,724.695402%20C200,723.832061%20200.699877,723.132184%20201.563218,723.132184%20L201.563218,723.132184%20L214.436782,723.132184%20C215.300123,723.132184%20216,723.832061%20216,724.695402%20L216,724.695402%20L216,737.568966%20C216,738.432307%20215.300123,739.132184%20214.436782,739.132184%20L214.436782,739.132184%20Z%20M204.646,734.098184%20L201.287,734.098184%20L201.287356,737.568966%20C201.287356,737.699555%20201.378097,737.808951%20201.499966,737.837542%20L201.563218,737.844828%20L204.646,737.844184%20L204.646,734.098184%20Z%20M209.679,734.098184%20L205.933,734.098184%20L205.933,737.844184%20L209.679,737.844184%20L209.679,734.098184%20Z%20M214.712,734.098184%20L210.966,734.098184%20L210.966,737.844184%20L214.436782,737.844828%20C214.567371,737.844828%20214.676767,737.754087%20214.705358,737.632218%20L214.712644,737.568966%20L214.712,734.098184%20Z%20M204.646,729.452184%20L201.287,729.452184%20L201.287,732.811184%20L204.646,732.811184%20L204.646,729.452184%20Z%20M209.679,729.452184%20L205.933,729.452184%20L205.933,732.811184%20L209.679,732.811184%20L209.679,729.452184%20Z%20M214.712,729.452184%20L210.966,729.452184%20L210.966,732.811184%20L214.712,732.811184%20L214.712,729.452184%20Z%20M204.646,724.419184%20L201.563218,724.41954%20C201.410864,724.41954%20201.287356,724.543048%20201.287356,724.695402%20L201.287356,724.695402%20L201.287,728.165184%20L204.646,728.165184%20L204.646,724.419184%20Z%20M209.679,724.419184%20L205.933,724.419184%20L205.933,728.165184%20L209.679,728.165184%20L209.679,724.419184%20Z%20M214.436782,724.41954%20L210.966,724.419184%20L210.966,728.165184%20L214.712,728.165184%20L214.712644,724.695402%20C214.712644,724.564813%20214.621903,724.455417%20214.500034,724.426826%20L214.436782,724.41954%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Npe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e数据%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-200.000000,%20-723.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M201.563218,739.132184%20C200.699877,739.132184%20200,738.432307%20200,737.568966%20L200,737.568966%20L200,724.695402%20C200,723.832061%20200.699877,723.132184%20201.563218,723.132184%20L201.563218,723.132184%20L214.436782,723.132184%20C215.300123,723.132184%20216,723.832061%20216,724.695402%20L216,724.695402%20L216,737.568966%20C216,738.432307%20215.300123,739.132184%20214.436782,739.132184%20L214.436782,739.132184%20Z%20M204.646,734.098184%20L201.287,734.098184%20L201.287356,737.568966%20C201.287356,737.699555%20201.378097,737.808951%20201.499966,737.837542%20L201.563218,737.844828%20L204.646,737.844184%20L204.646,734.098184%20Z%20M209.679,734.098184%20L205.933,734.098184%20L205.933,737.844184%20L209.679,737.844184%20L209.679,734.098184%20Z%20M214.712,734.098184%20L210.966,734.098184%20L210.966,737.844184%20L214.436782,737.844828%20C214.567371,737.844828%20214.676767,737.754087%20214.705358,737.632218%20L214.712644,737.568966%20L214.712,734.098184%20Z%20M204.646,729.452184%20L201.287,729.452184%20L201.287,732.811184%20L204.646,732.811184%20L204.646,729.452184%20Z%20M209.679,729.452184%20L205.933,729.452184%20L205.933,732.811184%20L209.679,732.811184%20L209.679,729.452184%20Z%20M214.712,729.452184%20L210.966,729.452184%20L210.966,732.811184%20L214.712,732.811184%20L214.712,729.452184%20Z%20M204.646,724.419184%20L201.563218,724.41954%20C201.410864,724.41954%20201.287356,724.543048%20201.287356,724.695402%20L201.287356,724.695402%20L201.287,728.165184%20L204.646,728.165184%20L204.646,724.419184%20Z%20M209.679,724.419184%20L205.933,724.419184%20L205.933,728.165184%20L209.679,728.165184%20L209.679,724.419184%20Z%20M214.436782,724.41954%20L210.966,724.419184%20L210.966,728.165184%20L214.712,728.165184%20L214.712644,724.695402%20C214.712644,724.564813%20214.621903,724.455417%20214.500034,724.426826%20L214.436782,724.41954%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ppe = { class: "echart-body" }, Fpe = { class: "w-[100%] flex flex-col" }, zpe = { key: 0 }, Bpe = { key: 2 }, $pe = {