nxd-plugin 1.7.74 → 1.7.75

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.
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "map": {
3
- "name": "高质量发展123",
3
+ "name": "高质量发展",
4
4
  "lng": 120.20175986248839,
5
5
  "lat": 35.881343354176586,
6
6
  "openZoom": 9.5,
@@ -47,6 +47,9 @@ declare const _default: {
47
47
  {
48
48
  "label": "人员及经费配置",
49
49
  "type": "num",
50
+ "chartName": "经费变化图",
51
+ "bigImgs": ["/staticImg/HighQuality/11.png"],
52
+ "bigImgsTitle": "区政府保障机制及经费支持",
50
53
  "list": [
51
54
  {
52
55
  "richContent": [
@@ -102,15 +105,14 @@ declare const _default: {
102
105
  "people": 301
103
106
  }
104
107
  ],
105
- "imgs": [
106
- "/staticImg/HighQuality/3.png",
107
- "/staticImg/HighQuality/4.jpg"
108
- ]
108
+ "imgs": []
109
109
  },
110
110
  {
111
111
  "label": "高质量试点批复",
112
112
  "type": "img",
113
- "list": [
113
+ "bigImgs": ["/staticImg/HighQuality/21.png"],
114
+ "bigImgsTitle": "中国气象局同意黄岛区开展气象高质量发展试点的批复",
115
+ "imgs": [
114
116
  "/staticImg/HighQuality/20.png"
115
117
  ]
116
118
  },
@@ -47114,8 +47114,8 @@ var FI = ["innerHTML"], II = {
47114
47114
  e.message.pdfInfo ? (g(), s("div", UI, [
47115
47115
  f[2] ||= c("div", { class: "pdf-icon" }, [c("svg", {
47116
47116
  viewBox: "0 0 24 24",
47117
- width: "24",
47118
- height: "24",
47117
+ width: "16",
47118
+ height: "16",
47119
47119
  fill: "currentColor"
47120
47120
  }, [c("path", { d: "M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6zM6 20V4h7v5h5v11H6z" })])], -1),
47121
47121
  c("div", WI, [c("div", GI, x(e.message.pdfInfo.title), 1), c("div", KI, x(e.message.pdfInfo.pages) + " 页 · " + x(e.message.pdfInfo.size), 1)]),
@@ -47178,7 +47178,22 @@ var FI = ["innerHTML"], II = {
47178
47178
  }, fL = {
47179
47179
  key: 1,
47180
47180
  class: "AiChat__empty"
47181
- }, pL = { class: "AiChat__inputBar" }, mL = { class: "AiChat__textareaWrap" }, hL = ["placeholder"], gL = ["disabled"], _L = /* @__PURE__ */ d({
47181
+ }, pL = {
47182
+ key: 2,
47183
+ class: "AiChat__contentWrapper"
47184
+ }, mL = { class: "AiChat__headerActions" }, hL = {
47185
+ key: 0,
47186
+ class: "AiChat__message AiChat__message--user"
47187
+ }, gL = { class: "AiChat__content" }, _L = { class: "AiChat__bubble AiChat__bubble--user" }, vL = { class: "AiChat__time" }, yL = {
47188
+ key: 1,
47189
+ class: "AiChat__message"
47190
+ }, bL = { class: "AiChat__content" }, xL = { class: "AiChat__bubble" }, SL = {
47191
+ key: 1,
47192
+ class: "AiChat__typing"
47193
+ }, CL = {
47194
+ key: 0,
47195
+ class: "AiChat__time"
47196
+ }, wL = { class: "AiChat__inputBar" }, TL = { class: "AiChat__textareaWrap" }, EL = ["placeholder"], DL = ["disabled"], OL = /* @__PURE__ */ d({
47182
47197
  __name: "AiChat",
47183
47198
  props: {
47184
47199
  baseHttp: { default: "" },
@@ -47191,7 +47206,7 @@ var FI = ["innerHTML"], II = {
47191
47206
  },
47192
47207
  defaultX: { default: 0 },
47193
47208
  defaultY: { default: 0 },
47194
- width: { default: 420 },
47209
+ width: { default: 336 },
47195
47210
  height: {},
47196
47211
  placeholder: { default: "请输入你的问题…" },
47197
47212
  defaultType: { default: "markdown" },
@@ -47421,7 +47436,7 @@ var FI = ["innerHTML"], II = {
47421
47436
  ]
47422
47437
  }), ge = () => {
47423
47438
  let e = re.value;
47424
- e && (e.style.height = "auto", e.style.height = `${Math.min(e.scrollHeight, 120)}px`);
47439
+ e && (e.style.height = "auto", e.style.height = `${Math.min(e.scrollHeight, 96)}px`);
47425
47440
  }, _e = async () => {
47426
47441
  await f();
47427
47442
  let e = ne.value;
@@ -47429,6 +47444,10 @@ var FI = ["innerHTML"], II = {
47429
47444
  }, ve = () => {
47430
47445
  let e = /* @__PURE__ */ new Date();
47431
47446
  return `${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}`;
47447
+ }, ye = () => {
47448
+ de(), k.value = null, N.value = null, P.value = !1, R.value = !1, L.value = "";
47449
+ }, be = () => {
47450
+ ye(), d("close");
47432
47451
  };
47433
47452
  return t({
47434
47453
  setResponse: ce,
@@ -47439,9 +47458,7 @@ var FI = ["innerHTML"], II = {
47439
47458
  setFullscreen: (e) => {
47440
47459
  h.value = e;
47441
47460
  },
47442
- clear: () => {
47443
- de(), k.value = null, N.value = null, P.value = !1, R.value = !1, L.value = "";
47444
- }
47461
+ clear: ye
47445
47462
  }), (t, r) => (g(), s("div", {
47446
47463
  class: p(["AiChat", [`AiChat--${e.theme}`, {
47447
47464
  "is-dragging": w(b),
@@ -47452,52 +47469,99 @@ var FI = ["innerHTML"], II = {
47452
47469
  h.value ? (g(), s("header", {
47453
47470
  key: 0,
47454
47471
  class: "AiChat__header",
47455
- onPointerdown: r[1] ||= j((...e) => w(S) && w(S)(...e), ["prevent"])
47456
- }, [r[6] ||= l("<div class=\"AiChat__title\"><svg viewBox=\"0 0 24 24\" width=\"22\" height=\"22\" fill=\"currentColor\"><path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z\"></path></svg><span>AI 智能助手</span><span class=\"AiChat__status\"><span class=\"AiChat__statusDot\"></span> 在线 </span></div>", 1), c("div", tL, [c("button", {
47472
+ onPointerdown: r[2] ||= j((...e) => w(S) && w(S)(...e), ["prevent"])
47473
+ }, [r[10] ||= l("<div class=\"AiChat__title\"><svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"currentColor\"><path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z\"></path></svg><span>AI 智能助手</span><span class=\"AiChat__status\"><span class=\"AiChat__statusDot\"></span> 在线 </span></div>", 1), c("div", tL, [c("button", {
47457
47474
  class: "AiChat__headerBtn",
47458
47475
  title: h.value ? "退出全屏" : "全屏",
47459
- onClick: C
47460
- }, [...r[5] ||= [c("svg", {
47476
+ onClick: C,
47477
+ onPointerdown: r[0] ||= j(() => {}, ["stop"])
47478
+ }, [...r[9] ||= [c("svg", {
47461
47479
  viewBox: "0 0 24 24",
47462
- width: "18",
47463
- height: "18",
47480
+ width: "16",
47481
+ height: "16",
47464
47482
  fill: "currentColor"
47465
- }, [c("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" })], -1)]], 8, nL), c("button", {
47483
+ }, [c("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" })], -1)]], 40, nL), c("button", {
47466
47484
  class: "AiChat__headerBtn AiChat__headerBtn--close",
47467
- onClick: r[0] ||= (e) => d("close"),
47485
+ onClick: be,
47486
+ onPointerdown: r[1] ||= j(() => {}, ["stop"]),
47468
47487
  title: "关闭"
47469
- }, "×")])], 32)) : o("", !0),
47470
- h.value || te.value ? (g(), s("div", {
47488
+ }, "×", 32)])], 32)) : o("", !0),
47489
+ h.value ? (g(), s("div", {
47471
47490
  key: 1,
47472
47491
  ref_key: "bodyRef",
47473
47492
  ref: ne,
47474
- class: p(h.value ? "AiChat__body" : "AiChat__contentPanel")
47475
- }, [k.value || N.value ? (g(), s(n, { key: 0 }, [k.value ? (g(), s("div", rL, [r[7] ||= c("div", { class: "AiChat__avatar AiChat__avatar--user" }, [c("svg", {
47493
+ class: "AiChat__body"
47494
+ }, [k.value || N.value ? (g(), s(n, { key: 0 }, [k.value ? (g(), s("div", rL, [r[11] ||= c("div", { class: "AiChat__avatar AiChat__avatar--user" }, [c("svg", {
47476
47495
  viewBox: "0 0 24 24",
47477
- width: "18",
47478
- height: "18",
47496
+ width: "16",
47497
+ height: "16",
47479
47498
  fill: "currentColor"
47480
- }, [c("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })])], -1), c("div", iL, [c("div", aL, x(k.value.content), 1), c("div", oL, x(k.value.time), 1)])])) : o("", !0), N.value || P.value ? (g(), s("div", sL, [r[9] ||= c("div", { class: "AiChat__avatar AiChat__avatar--ai" }, [c("svg", {
47499
+ }, [c("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })])], -1), c("div", iL, [c("div", aL, x(k.value.content), 1), c("div", oL, x(k.value.time), 1)])])) : o("", !0), N.value || P.value ? (g(), s("div", sL, [r[13] ||= c("div", { class: "AiChat__avatar AiChat__avatar--ai" }, [c("svg", {
47481
47500
  viewBox: "0 0 24 24",
47482
- width: "20",
47483
- height: "20",
47501
+ width: "16",
47502
+ height: "16",
47484
47503
  fill: "currentColor"
47485
47504
  }, [c("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" })])], -1), c("div", cL, [c("div", lL, [N.value ? (g(), a(eL, {
47486
47505
  key: 0,
47487
47506
  message: N.value,
47488
47507
  theme: e.theme
47489
- }, null, 8, ["message", "theme"])) : P.value ? (g(), s("div", uL, [...r[8] ||= [
47508
+ }, null, 8, ["message", "theme"])) : P.value ? (g(), s("div", uL, [...r[12] ||= [
47509
+ c("span", null, null, -1),
47510
+ c("span", null, null, -1),
47511
+ c("span", null, null, -1)
47512
+ ]])) : o("", !0)]), N.value ? (g(), s("div", dL, x(N.value.time), 1)) : o("", !0)])])) : o("", !0)], 64)) : (g(), s("div", fL, " 选择类型后输入问题,AI 将为你解答 "))], 512)) : te.value ? (g(), s("div", pL, [c("header", {
47513
+ class: "AiChat__contentHeader",
47514
+ onPointerdown: r[5] ||= j((...e) => w(S) && w(S)(...e), ["prevent"])
47515
+ }, [r[15] ||= c("div", { class: "AiChat__contentTitle" }, [c("svg", {
47516
+ viewBox: "0 0 24 24",
47517
+ width: "16",
47518
+ height: "16",
47519
+ fill: "currentColor"
47520
+ }, [c("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" })]), c("span", null, "AI 智能助手")], -1), c("div", mL, [c("button", {
47521
+ class: "AiChat__headerBtn",
47522
+ title: "全屏",
47523
+ onClick: C,
47524
+ onPointerdown: r[3] ||= j(() => {}, ["stop"])
47525
+ }, [...r[14] ||= [c("svg", {
47526
+ viewBox: "0 0 24 24",
47527
+ width: "16",
47528
+ height: "16",
47529
+ fill: "currentColor"
47530
+ }, [c("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" })], -1)]], 32), c("button", {
47531
+ class: "AiChat__headerBtn AiChat__headerBtn--close",
47532
+ title: "关闭",
47533
+ onClick: be,
47534
+ onPointerdown: r[4] ||= j(() => {}, ["stop"])
47535
+ }, "×", 32)])], 32), c("div", {
47536
+ ref_key: "bodyRef",
47537
+ ref: ne,
47538
+ class: "AiChat__contentPanel"
47539
+ }, [k.value || N.value ? (g(), s(n, { key: 0 }, [k.value ? (g(), s("div", hL, [r[16] ||= c("div", { class: "AiChat__avatar AiChat__avatar--user" }, [c("svg", {
47540
+ viewBox: "0 0 24 24",
47541
+ width: "16",
47542
+ height: "16",
47543
+ fill: "currentColor"
47544
+ }, [c("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })])], -1), c("div", gL, [c("div", _L, x(k.value.content), 1), c("div", vL, x(k.value.time), 1)])])) : o("", !0), N.value || P.value ? (g(), s("div", yL, [r[18] ||= c("div", { class: "AiChat__avatar AiChat__avatar--ai" }, [c("svg", {
47545
+ viewBox: "0 0 24 24",
47546
+ width: "16",
47547
+ height: "16",
47548
+ fill: "currentColor"
47549
+ }, [c("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" })])], -1), c("div", bL, [c("div", xL, [N.value ? (g(), a(eL, {
47550
+ key: 0,
47551
+ message: N.value,
47552
+ theme: e.theme
47553
+ }, null, 8, ["message", "theme"])) : P.value ? (g(), s("div", SL, [...r[17] ||= [
47490
47554
  c("span", null, null, -1),
47491
47555
  c("span", null, null, -1),
47492
47556
  c("span", null, null, -1)
47493
- ]])) : o("", !0)]), N.value ? (g(), s("div", dL, x(N.value.time), 1)) : o("", !0)])])) : o("", !0)], 64)) : h.value ? (g(), s("div", fL, " 选择类型后输入问题,AI 将为你解答 ")) : o("", !0)], 2)) : o("", !0),
47557
+ ]])) : o("", !0)]), N.value ? (g(), s("div", CL, x(N.value.time), 1)) : o("", !0)])])) : o("", !0)], 64)) : o("", !0)], 512)])) : o("", !0),
47494
47558
  c("div", { class: p(["AiChat__footer", { AiChat__inputPanel: !h.value }]) }, [
47495
47559
  h.value ? o("", !0) : (g(), s("div", {
47496
47560
  key: 0,
47497
47561
  class: "AiChat__dragHandle",
47498
47562
  title: "拖动",
47499
- onPointerdown: r[2] ||= j((...e) => w(S) && w(S)(...e), ["prevent"])
47500
- }, [...r[10] ||= [c("svg", {
47563
+ onPointerdown: r[6] ||= j((...e) => w(S) && w(S)(...e), ["prevent"])
47564
+ }, [...r[19] ||= [c("svg", {
47501
47565
  viewBox: "0 0 24 24",
47502
47566
  width: "16",
47503
47567
  height: "16",
@@ -47508,47 +47572,47 @@ var FI = ["innerHTML"], II = {
47508
47572
  class: "AiChat__fullscreenBtn",
47509
47573
  title: "全屏",
47510
47574
  onClick: C
47511
- }, [...r[11] ||= [c("svg", {
47575
+ }, [...r[20] ||= [c("svg", {
47512
47576
  viewBox: "0 0 24 24",
47513
47577
  width: "16",
47514
47578
  height: "16",
47515
47579
  fill: "currentColor"
47516
47580
  }, [c("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" })], -1)]])),
47517
- c("div", pL, [
47581
+ c("div", wL, [
47518
47582
  A(c("select", {
47519
- "onUpdate:modelValue": r[3] ||= (e) => I.value = e,
47583
+ "onUpdate:modelValue": r[7] ||= (e) => I.value = e,
47520
47584
  class: "AiChat__typeSelect",
47521
47585
  onChange: se
47522
- }, [...r[12] ||= [
47586
+ }, [...r[21] ||= [
47523
47587
  c("option", { value: "markdown" }, "知识", -1),
47524
47588
  c("option", { value: "pdf" }, "材料", -1),
47525
47589
  c("option", { value: "table-image" }, "内容", -1)
47526
47590
  ]], 544), [[T, I.value]]),
47527
- c("div", mL, [A(c("textarea", {
47591
+ c("div", TL, [A(c("textarea", {
47528
47592
  ref_key: "textareaRef",
47529
47593
  ref: re,
47530
- "onUpdate:modelValue": r[4] ||= (e) => F.value = e,
47594
+ "onUpdate:modelValue": r[8] ||= (e) => F.value = e,
47531
47595
  class: "AiChat__textarea",
47532
47596
  rows: "1",
47533
47597
  placeholder: ie.value,
47534
47598
  onKeydown: oe,
47535
47599
  onInput: ge
47536
- }, null, 40, hL), [[E, F.value]])]),
47600
+ }, null, 40, EL), [[E, F.value]])]),
47537
47601
  c("button", {
47538
47602
  class: "AiChat__send",
47539
47603
  disabled: !F.value.trim() || P.value,
47540
47604
  onClick: ae,
47541
47605
  title: "发送"
47542
- }, [...r[13] ||= [c("svg", {
47606
+ }, [...r[22] ||= [c("svg", {
47543
47607
  viewBox: "0 0 24 24",
47544
- width: "20",
47545
- height: "20",
47608
+ width: "16",
47609
+ height: "16",
47546
47610
  fill: "currentColor"
47547
- }, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8, gL)
47611
+ }, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8, DL)
47548
47612
  ])
47549
47613
  ], 2)
47550
47614
  ], 6));
47551
47615
  }
47552
47616
  });
47553
47617
  //#endregion
47554
- export { _L as t };
47618
+ export { M as n, OL as t };