cd-vue-filter 2.4.1 → 2.4.2

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,4 +1,4 @@
1
- import { defineComponent as Ae, ref as b, watch as ne, resolveComponent as p, createBlock as G, openBlock as g, withCtx as l, createElementVNode as r, createVNode as a, createCommentVNode as oe, createTextVNode as $, computed as ue, createElementBlock as R, Fragment as le, renderList as se, nextTick as be, toDisplayString as pe, unref as Re, normalizeClass as Se, withModifiers as De, normalizeStyle as xe } from "vue";
1
+ import { defineComponent as Ae, ref as b, watch as ne, resolveComponent as p, createBlock as G, openBlock as g, withCtx as l, createElementVNode as s, createVNode as a, createCommentVNode as oe, createTextVNode as $, computed as ue, createElementBlock as R, Fragment as le, renderList as se, nextTick as be, toDisplayString as pe, unref as Re, normalizeClass as Se, withModifiers as De, normalizeStyle as xe } from "vue";
2
2
  import { MessagePlugin as fe } from "tdesign-vue-next";
3
3
  import { CdUsersList as Je } from "cd-usercard";
4
4
  const je = [
@@ -5538,8 +5538,8 @@ const je = [
5538
5538
  dialogTitle: {}
5539
5539
  },
5540
5540
  emits: ["update:visible", "select"],
5541
- setup(s, { emit: te }) {
5542
- const d = s, f = te, i = b(""), D = b(!1), ee = b([]), t = b([]), M = b(0), L = b(1), N = b([]), B = b(null), I = b([]), S = /* @__PURE__ */ new Map();
5541
+ setup(r, { emit: te }) {
5542
+ const d = r, f = te, i = b(""), D = b(!1), ee = b([]), t = b([]), M = b(0), L = b(1), N = b([]), B = b(null), I = b([]), S = /* @__PURE__ */ new Map();
5543
5543
  function z() {
5544
5544
  f("update:visible", !1), h();
5545
5545
  }
@@ -5647,8 +5647,8 @@ const je = [
5647
5647
  }), (V, F) => {
5648
5648
  const E = p("t-input"), m = p("t-button"), u = p("t-table"), y = p("t-pagination"), K = p("t-dialog");
5649
5649
  return g(), G(K, {
5650
- visible: s.visible,
5651
- header: s.dialogTitle || "选择关联数据",
5650
+ visible: r.visible,
5651
+ header: r.dialogTitle || "选择关联数据",
5652
5652
  width: 900,
5653
5653
  footer: !0,
5654
5654
  onClose: z,
@@ -5657,8 +5657,8 @@ const je = [
5657
5657
  "close-on-overlay-click": !1
5658
5658
  }, {
5659
5659
  default: l(() => [
5660
- r("div", Le, [
5661
- r("div", Ie, [
5660
+ s("div", Le, [
5661
+ s("div", Ie, [
5662
5662
  a(E, {
5663
5663
  modelValue: i.value,
5664
5664
  "onUpdate:modelValue": F[0] || (F[0] = (_) => i.value = _),
@@ -5672,7 +5672,7 @@ const je = [
5672
5672
  onClick: H
5673
5673
  }, {
5674
5674
  icon: l(() => [...F[2] || (F[2] = [
5675
- r("i", { class: "ri-search-line" }, null, -1)
5675
+ s("i", { class: "ri-search-line" }, null, -1)
5676
5676
  ])]),
5677
5677
  default: l(() => [
5678
5678
  F[3] || (F[3] = $(" 搜索 ", -1))
@@ -5708,8 +5708,8 @@ const je = [
5708
5708
  }, 8, ["visible", "header"]);
5709
5709
  };
5710
5710
  }
5711
- }), me = (s, te) => {
5712
- const d = s.__vccOpts || s;
5711
+ }), me = (r, te) => {
5712
+ const d = r.__vccOpts || r;
5713
5713
  for (const [f, i] of te)
5714
5714
  d[f] = i;
5715
5715
  return d;
@@ -5722,7 +5722,7 @@ const je = [
5722
5722
  size: {}
5723
5723
  },
5724
5724
  emits: ["search"],
5725
- setup(s, { emit: te }) {
5725
+ setup(r, { emit: te }) {
5726
5726
  var V, F, E;
5727
5727
  const d = ["北京市", "上海市", "天津市", "重庆市", "香港特别行政区", "澳门特别行政区"], f = ue(() => je.map((m) => d.includes(m.name) ? {
5728
5728
  label: m.name,
@@ -5775,7 +5775,7 @@ const je = [
5775
5775
  function ee(m) {
5776
5776
  return [...m].sort((u, y) => u.value.localeCompare(y.value, "zh-CN"));
5777
5777
  }
5778
- const t = s, M = te, L = b({
5778
+ const t = r, M = te, L = b({
5779
5779
  field: ((V = t.filterCondition) == null ? void 0 : V.field) || "",
5780
5780
  operator: ((F = t.filterCondition) == null ? void 0 : F.operator) || "eq",
5781
5781
  value: ((E = t.filterCondition) == null ? void 0 : E.value) || null
@@ -6030,7 +6030,7 @@ const je = [
6030
6030
  clearable: ""
6031
6031
  }, {
6032
6032
  suffixIcon: l(() => [
6033
- r("i", {
6033
+ s("i", {
6034
6034
  class: "ri-search-line",
6035
6035
  style: { cursor: "pointer" },
6036
6036
  onClick: u[8] || (u[8] = (w) => J(t.filterCondition.field))
@@ -6057,12 +6057,17 @@ const je = [
6057
6057
  style: { "min-width": "80px", "max-width": "100px" },
6058
6058
  onChange: B,
6059
6059
  clearable: ""
6060
- }, null, 8, ["modelValue", "size"])) : oe("", !0)
6060
+ }, {
6061
+ suffixIcon: l(() => [...u[12] || (u[12] = [
6062
+ s("i", { class: "ri-search-line" }, null, -1)
6063
+ ])]),
6064
+ _: 1
6065
+ }, 8, ["modelValue", "size"])) : oe("", !0)
6061
6066
  ], 64))
6062
6067
  ]);
6063
6068
  };
6064
6069
  }
6065
- }), $e = /* @__PURE__ */ me(Ge, [["__scopeId", "data-v-274d36f5"]]), We = { class: "filter-dialog-content" }, Qe = { class: "leader-line-container" }, Xe = {
6070
+ }), $e = /* @__PURE__ */ me(Ge, [["__scopeId", "data-v-fc381421"]]), We = { class: "filter-dialog-content" }, Qe = { class: "leader-line-container" }, Xe = {
6066
6071
  class: "filter-scroll-wrapper",
6067
6072
  id: "filter-scroll-wrapper"
6068
6073
  }, Ze = {
@@ -6100,8 +6105,8 @@ const je = [
6100
6105
  "submit",
6101
6106
  "close"
6102
6107
  ],
6103
- setup(s, { emit: te }) {
6104
- const d = s, f = te, i = b([
6108
+ setup(r, { emit: te }) {
6109
+ const d = r, f = te, i = b([
6105
6110
  {
6106
6111
  id: 1,
6107
6112
  connector: "and",
@@ -6148,7 +6153,7 @@ const je = [
6148
6153
  return g(), G(J, {
6149
6154
  header: "筛选条件设置",
6150
6155
  placement: "center",
6151
- visible: s.visible,
6156
+ visible: r.visible,
6152
6157
  "onUpdate:visible": z[1] || (z[1] = (j) => S.$emit("update:visible", j)),
6153
6158
  width: "700px",
6154
6159
  "z-index": 999,
@@ -6157,11 +6162,11 @@ const je = [
6157
6162
  id: "leader-line-clip-container"
6158
6163
  }, {
6159
6164
  body: l(() => [
6160
- r("div", We, [
6161
- r("div", Qe, [
6162
- r("div", Xe, [
6165
+ s("div", We, [
6166
+ s("div", Qe, [
6167
+ s("div", Xe, [
6163
6168
  i.value.length > 1 ? (g(), R("div", Ze, [
6164
- r("div", ea, [
6169
+ s("div", ea, [
6165
6170
  a(x, {
6166
6171
  size: "small",
6167
6172
  class: "connector-selector",
@@ -6187,15 +6192,15 @@ const je = [
6187
6192
  }, 8, ["modelValue"])
6188
6193
  ])
6189
6194
  ])) : oe("", !0),
6190
- r("div", aa, [
6191
- r("div", la, [
6195
+ s("div", aa, [
6196
+ s("div", la, [
6192
6197
  (g(!0), R(le, null, se(i.value, (j, H) => (g(), R("div", {
6193
6198
  key: j.id,
6194
6199
  class: "filter-card-item"
6195
6200
  }, [
6196
- r("div", ta, [
6197
- r("div", na, [
6198
- r("span", oa, "筛选卡片 " + pe(H + 1), 1),
6201
+ s("div", ta, [
6202
+ s("div", na, [
6203
+ s("span", oa, "筛选卡片 " + pe(H + 1), 1),
6199
6204
  a(x, {
6200
6205
  size: "small",
6201
6206
  modelValue: j.connector,
@@ -6232,17 +6237,17 @@ const je = [
6232
6237
  _: 1
6233
6238
  }, 8, ["onClick", "disabled"])
6234
6239
  ]),
6235
- r("div", ia, [
6240
+ s("div", ia, [
6236
6241
  (g(!0), R(le, null, se(j.conditions, (X, V) => (g(), R("div", {
6237
6242
  key: V,
6238
6243
  class: "filter-combination"
6239
6244
  }, [
6240
6245
  a($e, {
6241
- "field-options": s.fieldOptions,
6246
+ "field-options": r.fieldOptions,
6242
6247
  "filter-condition": j.conditions[V],
6243
6248
  index: V,
6244
6249
  "select-options": [],
6245
- size: s.size
6250
+ size: r.size
6246
6251
  }, null, 8, ["field-options", "filter-condition", "index", "size"]),
6247
6252
  a(c, {
6248
6253
  theme: "default",
@@ -6257,7 +6262,7 @@ const je = [
6257
6262
  _: 1
6258
6263
  }, 8, ["onClick", "disabled"])
6259
6264
  ]))), 128)),
6260
- r("div", sa, [
6265
+ s("div", sa, [
6261
6266
  a(c, {
6262
6267
  theme: "default",
6263
6268
  size: "small",
@@ -6274,13 +6279,13 @@ const je = [
6274
6279
  ])
6275
6280
  ])
6276
6281
  ]))), 128)),
6277
- r("div", {
6282
+ s("div", {
6278
6283
  class: "add-filter-card",
6279
6284
  onClick: t
6280
6285
  }, [
6281
- r("div", ra, [
6286
+ s("div", ra, [
6282
6287
  a(C, { name: "add" }),
6283
- z[7] || (z[7] = r("span", null, "增加筛选卡片", -1))
6288
+ z[7] || (z[7] = s("span", null, "增加筛选卡片", -1))
6284
6289
  ])
6285
6290
  ])
6286
6291
  ])
@@ -6290,9 +6295,9 @@ const je = [
6290
6295
  ])
6291
6296
  ]),
6292
6297
  footer: l(() => [
6293
- r("div", da, [
6294
- z[10] || (z[10] = r("div", { class: "filter-dialog-footer2" }, null, -1)),
6295
- r("div", ua, [
6298
+ s("div", da, [
6299
+ z[10] || (z[10] = s("div", { class: "filter-dialog-footer2" }, null, -1)),
6300
+ s("div", ua, [
6296
6301
  a(c, {
6297
6302
  theme: "default",
6298
6303
  onClick: I
@@ -6364,8 +6369,8 @@ const je = [
6364
6369
  }
6365
6370
  },
6366
6371
  emits: ["update:visible", "confirm", "close", "load-users", "search", "dept-click"],
6367
- setup(s, { emit: te }) {
6368
- const d = s, f = te, i = b({
6372
+ setup(r, { emit: te }) {
6373
+ const d = r, f = te, i = b({
6369
6374
  planName: "",
6370
6375
  shareMode: "none",
6371
6376
  shareType: "specific",
@@ -6426,8 +6431,8 @@ const je = [
6426
6431
  return (h, x) => {
6427
6432
  const C = p("t-input"), c = p("t-form-item"), J = p("t-radio"), j = p("t-tooltip"), H = p("t-radio-group"), X = p("t-form"), V = p("t-button"), F = p("t-dialog");
6428
6433
  return g(), G(F, {
6429
- header: s.isEditing ? "编辑筛选方案" : "保存筛选方案",
6430
- visible: s.visible,
6434
+ header: r.isEditing ? "编辑筛选方案" : "保存筛选方案",
6435
+ visible: r.visible,
6431
6436
  "onUpdate:visible": x[3] || (x[3] = (E) => h.$emit("update:visible", E)),
6432
6437
  width: "600px",
6433
6438
  footer: !0,
@@ -6435,7 +6440,7 @@ const je = [
6435
6440
  onClose: z
6436
6441
  }, {
6437
6442
  body: l(() => [
6438
- r("div", ca, [
6443
+ s("div", ca, [
6439
6444
  a(X, {
6440
6445
  data: i.value,
6441
6446
  "label-align": "left",
@@ -6533,8 +6538,8 @@ const je = [
6533
6538
  "avatar-size": 32,
6534
6539
  "max-display": 10,
6535
6540
  edit: !0,
6536
- "person-tabs": s.tabs,
6537
- "person-organizations": s.organizations,
6541
+ "person-tabs": r.tabs,
6542
+ "person-organizations": r.organizations,
6538
6543
  "dept-members-data": ee.value,
6539
6544
  onPersonSelect: L,
6540
6545
  onLoadUsers: N,
@@ -6654,8 +6659,8 @@ const je = [
6654
6659
  "dept-click",
6655
6660
  "column-change"
6656
6661
  ],
6657
- setup(s, { emit: te }) {
6658
- const d = s, f = te, i = b(JSON.parse(JSON.stringify(d.filterCards))), D = b(d.topOp), ee = b(null), t = b(!1), M = b([]), L = b("filter"), N = b(!1), B = b(""), I = b("none"), S = b("specific"), z = b([]), h = b(null);
6662
+ setup(r, { emit: te }) {
6663
+ const d = r, f = te, i = b(JSON.parse(JSON.stringify(d.filterCards))), D = b(d.topOp), ee = b(null), t = b(!1), M = b([]), L = b("filter"), N = b(!1), B = b(""), I = b("none"), S = b("specific"), z = b([]), h = b(null);
6659
6664
  let x = 100;
6660
6665
  ne(() => d.filterCards, (e) => {
6661
6666
  i.value = JSON.parse(JSON.stringify(e));
@@ -6858,19 +6863,19 @@ const je = [
6858
6863
  header: "方案设置",
6859
6864
  placement: "center",
6860
6865
  attach: "body",
6861
- visible: s.visible,
6866
+ visible: r.visible,
6862
6867
  "onUpdate:visible": n[4] || (n[4] = (k) => e.$emit("update:visible", k)),
6863
- width: s.width,
6868
+ width: r.width,
6864
6869
  "z-index": 999,
6865
6870
  footer: !0,
6866
6871
  onClose: ie,
6867
6872
  id: "leader-line-clip-container"
6868
6873
  }, {
6869
6874
  body: l(() => [
6870
- r("div", pa, [
6871
- r("div", ya, [
6872
- r("div", ga, [
6873
- r("div", ba, [
6875
+ s("div", pa, [
6876
+ s("div", ya, [
6877
+ s("div", ga, [
6878
+ s("div", ba, [
6874
6879
  a(Me, {
6875
6880
  modelValue: L.value,
6876
6881
  "onUpdate:modelValue": n[2] || (n[2] = (k) => L.value = k),
@@ -6882,11 +6887,11 @@ const je = [
6882
6887
  label: "筛选"
6883
6888
  }, {
6884
6889
  default: l(() => [
6885
- r("div", ha, [
6890
+ s("div", ha, [
6886
6891
  i.value.length > 1 ? (g(), R("div", Ca, [
6887
- r("div", _a, [
6892
+ s("div", _a, [
6888
6893
  a(q, {
6889
- size: s.size,
6894
+ size: r.size,
6890
6895
  class: "connector-selector",
6891
6896
  modelValue: D.value,
6892
6897
  "onUpdate:modelValue": n[0] || (n[0] = (k) => D.value = k)
@@ -6909,16 +6914,16 @@ const je = [
6909
6914
  }, 8, ["size", "modelValue"])
6910
6915
  ])
6911
6916
  ])) : oe("", !0),
6912
- r("div", ka, [
6917
+ s("div", ka, [
6913
6918
  (g(!0), R(le, null, se(i.value, (k, ae) => (g(), R("div", {
6914
6919
  key: k.id,
6915
6920
  class: "filter-card-item"
6916
6921
  }, [
6917
- r("div", za, [
6918
- r("div", wa, [
6919
- r("span", Oa, "筛选卡片 " + pe(ae + 1), 1),
6922
+ s("div", za, [
6923
+ s("div", wa, [
6924
+ s("span", Oa, "筛选卡片 " + pe(ae + 1), 1),
6920
6925
  a(q, {
6921
- size: s.size,
6926
+ size: r.size,
6922
6927
  modelValue: k.connector,
6923
6928
  "onUpdate:modelValue": (Y) => k.connector = Y,
6924
6929
  class: "connector-selector"
@@ -6943,7 +6948,7 @@ const je = [
6943
6948
  a(P, {
6944
6949
  theme: "default",
6945
6950
  variant: "text",
6946
- size: s.size,
6951
+ size: r.size,
6947
6952
  onClick: (Y) => c(ae),
6948
6953
  disabled: i.value.length === 1
6949
6954
  }, {
@@ -6953,21 +6958,21 @@ const je = [
6953
6958
  _: 1
6954
6959
  }, 8, ["size", "onClick", "disabled"])
6955
6960
  ]),
6956
- r("div", Fa, [
6961
+ s("div", Fa, [
6957
6962
  (g(!0), R(le, null, se(k.conditions, (Y, Ve) => (g(), R("div", {
6958
6963
  key: Ve,
6959
6964
  class: "filter-combination"
6960
6965
  }, [
6961
6966
  a($e, {
6962
- "field-options": s.fieldOptions,
6967
+ "field-options": r.fieldOptions,
6963
6968
  "filter-condition": k.conditions[Ve],
6964
- "select-options": s.selectOptions,
6965
- size: s.size
6969
+ "select-options": r.selectOptions,
6970
+ size: r.size
6966
6971
  }, null, 8, ["field-options", "filter-condition", "select-options", "size"]),
6967
6972
  a(P, {
6968
6973
  theme: "default",
6969
6974
  variant: "text",
6970
- size: s.size,
6975
+ size: r.size,
6971
6976
  onClick: (yl) => j(ae, Ve),
6972
6977
  disabled: k.conditions.length === 1
6973
6978
  }, {
@@ -6977,10 +6982,10 @@ const je = [
6977
6982
  _: 1
6978
6983
  }, 8, ["size", "onClick", "disabled"])
6979
6984
  ]))), 128)),
6980
- r("div", Va, [
6985
+ s("div", Va, [
6981
6986
  a(P, {
6982
6987
  theme: "default",
6983
- size: s.size,
6988
+ size: r.size,
6984
6989
  onClick: (Y) => J(ae)
6985
6990
  }, {
6986
6991
  icon: l(() => [
@@ -6994,13 +6999,13 @@ const je = [
6994
6999
  ])
6995
7000
  ])
6996
7001
  ]))), 128)),
6997
- r("div", {
7002
+ s("div", {
6998
7003
  class: "add-filter-card",
6999
7004
  onClick: C
7000
7005
  }, [
7001
- r("div", Sa, [
7006
+ s("div", Sa, [
7002
7007
  a(O, { name: "add" }),
7003
- n[11] || (n[11] = r("span", null, "增加筛选卡片", -1))
7008
+ n[11] || (n[11] = s("span", null, "增加筛选卡片", -1))
7004
7009
  ])
7005
7010
  ])
7006
7011
  ])
@@ -7013,10 +7018,10 @@ const je = [
7013
7018
  label: "列配置"
7014
7019
  }, {
7015
7020
  default: l(() => [
7016
- r("div", xa, [
7017
- r("div", $a, [
7018
- n[13] || (n[13] = r("div", { class: "column-title column-title-name" }, "名称", -1)),
7019
- r("div", Ua, [
7021
+ s("div", xa, [
7022
+ s("div", $a, [
7023
+ n[13] || (n[13] = s("div", { class: "column-title column-title-name" }, "名称", -1)),
7024
+ s("div", Ua, [
7020
7025
  a(Ue, {
7021
7026
  modelValue: re.value,
7022
7027
  "onUpdate:modelValue": n[1] || (n[1] = (k) => re.value = k),
@@ -7024,11 +7029,11 @@ const je = [
7024
7029
  }, null, 8, ["modelValue"]),
7025
7030
  n[12] || (n[12] = $(" 显示", -1))
7026
7031
  ]),
7027
- n[14] || (n[14] = r("div", { class: "column-title column-title-width" }, "冻结列", -1)),
7028
- n[15] || (n[15] = r("div", { class: "column-title column-title-width" }, "宽度", -1)),
7029
- n[16] || (n[16] = r("div", { class: "column-title column-title-sort" }, "排序", -1))
7032
+ n[14] || (n[14] = s("div", { class: "column-title column-title-width" }, "冻结列", -1)),
7033
+ n[15] || (n[15] = s("div", { class: "column-title column-title-width" }, "宽度", -1)),
7034
+ n[16] || (n[16] = s("div", { class: "column-title column-title-sort" }, "排序", -1))
7030
7035
  ]),
7031
- r("div", Da, [
7036
+ s("div", Da, [
7032
7037
  (g(!0), R(le, null, se(o.value, (k, ae) => (g(), R("div", {
7033
7038
  key: k.value,
7034
7039
  class: Se(["column-item-row", { dragging: A.value === ae }]),
@@ -7038,20 +7043,20 @@ const je = [
7038
7043
  onDragend: ze,
7039
7044
  onDrop: (Y) => we(ae, Y)
7040
7045
  }, [
7041
- r("div", Ea, [
7046
+ s("div", Ea, [
7042
7047
  a(O, {
7043
7048
  name: "move",
7044
7049
  style: { cursor: "move", color: "#999", "margin-right": "8px" }
7045
7050
  }),
7046
7051
  $(" " + pe(k.label), 1)
7047
7052
  ]),
7048
- r("div", Aa, [
7053
+ s("div", Aa, [
7049
7054
  a(Ue, {
7050
7055
  checked: Q.value.includes(k.value),
7051
7056
  onChange: (Y) => Z(k.value, Y)
7052
7057
  }, null, 8, ["checked", "onChange"])
7053
7058
  ]),
7054
- r("div", Pa, [
7059
+ s("div", Pa, [
7055
7060
  a(Ne, {
7056
7061
  modelValue: v.value[k.value],
7057
7062
  "onUpdate:modelValue": (Y) => v.value[k.value] = Y,
@@ -7075,7 +7080,7 @@ const je = [
7075
7080
  _: 1
7076
7081
  }, 8, ["modelValue", "onUpdate:modelValue"])
7077
7082
  ]),
7078
- r("div", Na, [
7083
+ s("div", Na, [
7079
7084
  a(qe, {
7080
7085
  modelValue: w.value[k.value],
7081
7086
  "onUpdate:modelValue": (Y) => w.value[k.value] = Y,
@@ -7087,7 +7092,7 @@ const je = [
7087
7092
  style: { width: "100px" }
7088
7093
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
7089
7094
  ]),
7090
- r("div", qa, [
7095
+ s("div", qa, [
7091
7096
  a(P, {
7092
7097
  theme: "default",
7093
7098
  variant: "text",
@@ -7129,10 +7134,10 @@ const je = [
7129
7134
  _: 1
7130
7135
  }, 8, ["modelValue"])
7131
7136
  ]),
7132
- r("div", Ma, [
7133
- n[17] || (n[17] = r("div", { class: "filter-plan-title" }, "我的方案", -1)),
7134
- r("div", Ba, [
7135
- (g(!0), R(le, null, se(s.planFilterOptions, (k) => {
7137
+ s("div", Ma, [
7138
+ n[17] || (n[17] = s("div", { class: "filter-plan-title" }, "我的方案", -1)),
7139
+ s("div", Ba, [
7140
+ (g(!0), R(le, null, se(r.planFilterOptions, (k) => {
7136
7141
  var ae;
7137
7142
  return g(), R("div", {
7138
7143
  key: k.value,
@@ -7143,8 +7148,8 @@ const je = [
7143
7148
  name: "file-text",
7144
7149
  class: "plan-icon"
7145
7150
  }),
7146
- r("span", Ja, pe(k.name), 1),
7147
- r("div", {
7151
+ s("span", Ja, pe(k.name), 1),
7152
+ s("div", {
7148
7153
  class: "plan-actions",
7149
7154
  onClick: n[3] || (n[3] = De(() => {
7150
7155
  }, ["stop"]))
@@ -7251,11 +7256,11 @@ const je = [
7251
7256
  ])
7252
7257
  ]),
7253
7258
  footer: l(() => [
7254
- r("div", ja, [
7255
- r("div", La, [
7259
+ s("div", ja, [
7260
+ s("div", La, [
7256
7261
  a(P, {
7257
7262
  theme: "warning",
7258
- size: s.size,
7263
+ size: r.size,
7259
7264
  onClick: V
7260
7265
  }, {
7261
7266
  icon: l(() => [
@@ -7267,10 +7272,10 @@ const je = [
7267
7272
  _: 1
7268
7273
  }, 8, ["size"])
7269
7274
  ]),
7270
- r("div", Ia, [
7275
+ s("div", Ia, [
7271
7276
  a(P, {
7272
7277
  theme: "default",
7273
- size: s.size,
7278
+ size: r.size,
7274
7279
  onClick: K
7275
7280
  }, {
7276
7281
  default: l(() => [...n[19] || (n[19] = [
@@ -7280,7 +7285,7 @@ const je = [
7280
7285
  }, 8, ["size"]),
7281
7286
  a(P, {
7282
7287
  theme: "primary",
7283
- size: s.size,
7288
+ size: r.size,
7284
7289
  onClick: _
7285
7290
  }, {
7286
7291
  default: l(() => [...n[20] || (n[20] = [
@@ -7301,8 +7306,8 @@ const je = [
7301
7306
  "original-share-mode": I.value,
7302
7307
  "original-share-type": S.value,
7303
7308
  "original-selected-users": z.value,
7304
- tabs: s.personTabs,
7305
- organizations: s.personOrganizations,
7309
+ tabs: r.personTabs,
7310
+ organizations: r.personOrganizations,
7306
7311
  "dept-members-data-prop": M.value,
7307
7312
  onConfirm: F,
7308
7313
  onLoadUsers: de,
@@ -7324,8 +7329,8 @@ const je = [
7324
7329
  initialRules: { type: Array, default: () => [] }
7325
7330
  },
7326
7331
  emits: ["update:visible", "confirm", "clear", "smart-colors-change"],
7327
- setup(s, { emit: te }) {
7328
- const d = s, f = te, i = b(d.visible), D = [
7332
+ setup(r, { emit: te }) {
7333
+ const d = r, f = te, i = b(d.visible), D = [
7329
7334
  // 第一行 - 暖色系
7330
7335
  "#FFE7BA",
7331
7336
  "#FFD6E7",
@@ -7444,8 +7449,8 @@ const je = [
7444
7449
  onClose: I
7445
7450
  }, {
7446
7451
  header: l(() => [
7447
- r("div", Ya, [
7448
- c[3] || (c[3] = r("span", null, "颜色筛选", -1)),
7452
+ s("div", Ya, [
7453
+ c[3] || (c[3] = s("span", null, "颜色筛选", -1)),
7449
7454
  a(J, {
7450
7455
  theme: "primary",
7451
7456
  variant: "outline",
@@ -7453,7 +7458,7 @@ const je = [
7453
7458
  onClick: x
7454
7459
  }, {
7455
7460
  icon: l(() => [...c[1] || (c[1] = [
7456
- r("i", { class: "ri-palette-line" }, null, -1)
7461
+ s("i", { class: "ri-palette-line" }, null, -1)
7457
7462
  ])]),
7458
7463
  default: l(() => [
7459
7464
  c[2] || (c[2] = $(" 智能配色 ", -1))
@@ -7463,14 +7468,14 @@ const je = [
7463
7468
  ])
7464
7469
  ]),
7465
7470
  body: l(() => [
7466
- r("div", Ga, [
7467
- r("div", Wa, [
7471
+ s("div", Ga, [
7472
+ s("div", Wa, [
7468
7473
  (g(!0), R(le, null, se(M.value, (y, K) => (g(), R("div", {
7469
7474
  key: K,
7470
7475
  class: "color-rule-item"
7471
7476
  }, [
7472
- r("div", Qa, [
7473
- r("div", Xa, [
7477
+ s("div", Qa, [
7478
+ s("div", Xa, [
7474
7479
  a(H, {
7475
7480
  visible: y.showColorPicker,
7476
7481
  "onUpdate:visible": (_) => y.showColorPicker = _,
@@ -7478,22 +7483,22 @@ const je = [
7478
7483
  trigger: "click"
7479
7484
  }, {
7480
7485
  content: l(() => [
7481
- r("div", al, [
7482
- r("div", ll, [
7483
- (g(), R(le, null, se(D, (_) => r("div", {
7486
+ s("div", al, [
7487
+ s("div", ll, [
7488
+ (g(), R(le, null, se(D, (_) => s("div", {
7484
7489
  key: _,
7485
7490
  class: Se(["preset-color-item", { active: y.backgroundColor === _ }]),
7486
7491
  style: xe({ backgroundColor: _ }),
7487
7492
  onClick: (ie) => L(K, _)
7488
7493
  }, null, 14, tl)), 64))
7489
7494
  ]),
7490
- r("div", nl, [
7495
+ s("div", nl, [
7491
7496
  a(j, {
7492
7497
  modelValue: y.isBold,
7493
7498
  "onUpdate:modelValue": (_) => y.isBold = _
7494
7499
  }, {
7495
7500
  default: l(() => [...c[4] || (c[4] = [
7496
- r("span", { class: "bold-text" }, "加粗", -1)
7501
+ s("span", { class: "bold-text" }, "加粗", -1)
7497
7502
  ])]),
7498
7503
  _: 1
7499
7504
  }, 8, ["modelValue", "onUpdate:modelValue"])
@@ -7501,8 +7506,8 @@ const je = [
7501
7506
  ])
7502
7507
  ]),
7503
7508
  default: l(() => [
7504
- r("div", Za, [
7505
- r("div", {
7509
+ s("div", Za, [
7510
+ s("div", {
7506
7511
  class: "color-block",
7507
7512
  style: xe({ backgroundColor: y.backgroundColor })
7508
7513
  }, [
@@ -7513,11 +7518,11 @@ const je = [
7513
7518
  _: 2
7514
7519
  }, 1032, ["visible", "onUpdate:visible"])
7515
7520
  ]),
7516
- r("div", ol, [
7521
+ s("div", ol, [
7517
7522
  a(V, {
7518
7523
  modelValue: y.applyTo,
7519
7524
  "onUpdate:modelValue": (_) => y.applyTo = _,
7520
- size: s.size,
7525
+ size: r.size,
7521
7526
  variant: "default-filled"
7522
7527
  }, {
7523
7528
  default: l(() => [
@@ -7543,13 +7548,13 @@ const je = [
7543
7548
  _: 1
7544
7549
  }, 8, ["modelValue", "onUpdate:modelValue", "size"])
7545
7550
  ]),
7546
- r("div", il, [
7551
+ s("div", il, [
7547
7552
  a(F, {
7548
7553
  modelValue: y.field,
7549
7554
  "onUpdate:modelValue": (_) => y.field = _,
7550
- options: s.fieldOptions,
7555
+ options: r.fieldOptions,
7551
7556
  placeholder: "选择字段",
7552
- size: s.size,
7557
+ size: r.size,
7553
7558
  style: { width: "120px", display: "inline-block" },
7554
7559
  "popup-props": t
7555
7560
  }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "size"]),
@@ -7558,7 +7563,7 @@ const je = [
7558
7563
  "onUpdate:modelValue": (_) => y.operator = _,
7559
7564
  options: ee,
7560
7565
  placeholder: "选择操作符",
7561
- size: s.size,
7566
+ size: r.size,
7562
7567
  style: { width: "120px" },
7563
7568
  "popup-props": t
7564
7569
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size"]),
@@ -7566,7 +7571,7 @@ const je = [
7566
7571
  modelValue: y.value,
7567
7572
  "onUpdate:modelValue": (_) => y.value = _,
7568
7573
  placeholder: "输入值",
7569
- size: s.size,
7574
+ size: r.size,
7570
7575
  style: { width: "200px" }
7571
7576
  }, null, 8, ["modelValue", "onUpdate:modelValue", "size"])
7572
7577
  ])
@@ -7574,12 +7579,12 @@ const je = [
7574
7579
  a(J, {
7575
7580
  theme: "default",
7576
7581
  variant: "text",
7577
- size: s.size,
7582
+ size: r.size,
7578
7583
  onClick: (_) => B(K),
7579
7584
  disabled: M.value.length === 1
7580
7585
  }, {
7581
7586
  icon: l(() => [...c[8] || (c[8] = [
7582
- r("i", { class: "ri-close-fill" }, null, -1)
7587
+ s("i", { class: "ri-close-fill" }, null, -1)
7583
7588
  ])]),
7584
7589
  _: 1
7585
7590
  }, 8, ["size", "onClick", "disabled"])
@@ -7588,7 +7593,7 @@ const je = [
7588
7593
  a(J, {
7589
7594
  theme: "default",
7590
7595
  variant: "dashed",
7591
- size: s.size,
7596
+ size: r.size,
7592
7597
  onClick: N,
7593
7598
  style: { width: "100%", "margin-top": "12px" }
7594
7599
  }, {
@@ -7603,10 +7608,10 @@ const je = [
7603
7608
  ])
7604
7609
  ]),
7605
7610
  footer: l(() => [
7606
- r("div", sl, [
7611
+ s("div", sl, [
7607
7612
  a(J, {
7608
7613
  theme: "default",
7609
- size: s.size,
7614
+ size: r.size,
7610
7615
  onClick: I
7611
7616
  }, {
7612
7617
  default: l(() => [...c[10] || (c[10] = [
@@ -7616,7 +7621,7 @@ const je = [
7616
7621
  }, 8, ["size"]),
7617
7622
  a(J, {
7618
7623
  theme: "default",
7619
- size: s.size,
7624
+ size: r.size,
7620
7625
  onClick: S
7621
7626
  }, {
7622
7627
  default: l(() => [...c[11] || (c[11] = [
@@ -7626,7 +7631,7 @@ const je = [
7626
7631
  }, 8, ["size"]),
7627
7632
  a(J, {
7628
7633
  theme: "primary",
7629
- size: s.size,
7634
+ size: r.size,
7630
7635
  onClick: z
7631
7636
  }, {
7632
7637
  default: l(() => [...c[12] || (c[12] = [
@@ -7692,8 +7697,8 @@ const je = [
7692
7697
  "keyword-clear",
7693
7698
  "smart-colors-change"
7694
7699
  ],
7695
- setup(s, { emit: te }) {
7696
- const d = s, f = te, i = b([]), D = () => ({ field: "", operator: "eq", value: "" });
7700
+ setup(r, { emit: te }) {
7701
+ const d = r, f = te, i = b([]), D = () => ({ field: "", operator: "eq", value: "" });
7697
7702
  (() => {
7698
7703
  var o, A;
7699
7704
  if (d.filterCount === 0) {
@@ -7851,26 +7856,26 @@ ${v.map((A) => {
7851
7856
  return (v, o) => {
7852
7857
  const A = p("t-radio-button"), T = p("t-radio-group"), Z = p("t-icon"), W = p("t-button"), he = p("t-badge"), Ce = p("t-tooltip"), _e = p("t-dropdown"), ke = p("t-input"), ze = p("t-form-item"), we = p("t-form"), Oe = p("t-dialog");
7853
7858
  return g(), R("div", dl, [
7854
- s.filterCount > 0 ? (g(), R("div", ul, [
7859
+ r.filterCount > 0 ? (g(), R("div", ul, [
7855
7860
  (g(!0), R(le, null, se(i.value, (e, n) => (g(), G($e, {
7856
7861
  key: n,
7857
- "field-options": s.fieldOptions,
7858
- size: s.size,
7862
+ "field-options": r.fieldOptions,
7863
+ size: r.size,
7859
7864
  "filter-condition": i.value[n],
7860
- "select-options": s.selectOptions,
7865
+ "select-options": r.selectOptions,
7861
7866
  onSearch: C
7862
7867
  }, null, 8, ["field-options", "size", "filter-condition", "select-options"]))), 128))
7863
7868
  ])) : oe("", !0),
7864
- s.filterCount === 0 && s.planFilterOptions.length > 0 ? (g(), R("div", ml, [
7865
- o[12] || (o[12] = r("span", { class: "plan-label" }, "我的方案:", -1)),
7869
+ r.filterCount === 0 && r.planFilterOptions.length > 0 ? (g(), R("div", ml, [
7870
+ o[12] || (o[12] = s("span", { class: "plan-label" }, "我的方案:", -1)),
7866
7871
  a(T, {
7867
7872
  modelValue: S.value,
7868
7873
  "onUpdate:modelValue": o[0] || (o[0] = (e) => S.value = e),
7869
- size: s.size,
7874
+ size: r.size,
7870
7875
  onChange: h
7871
7876
  }, {
7872
7877
  default: l(() => [
7873
- (g(!0), R(le, null, se(s.planFilterOptions, (e) => (g(), G(A, {
7878
+ (g(!0), R(le, null, se(r.planFilterOptions, (e) => (g(), G(A, {
7874
7879
  key: e.value,
7875
7880
  value: e.value,
7876
7881
  disabled: e.disabled
@@ -7886,7 +7891,7 @@ ${v.map((A) => {
7886
7891
  a(W, {
7887
7892
  theme: "default",
7888
7893
  variant: "outline",
7889
- size: s.size,
7894
+ size: r.size,
7890
7895
  onClick: J,
7891
7896
  title: "高级筛选"
7892
7897
  }, {
@@ -7896,11 +7901,11 @@ ${v.map((A) => {
7896
7901
  _: 1
7897
7902
  }, 8, ["size"])
7898
7903
  ])) : oe("", !0),
7899
- r("div", cl, [
7900
- s.filterCount > 0 ? (g(), G(W, {
7904
+ s("div", cl, [
7905
+ r.filterCount > 0 ? (g(), G(W, {
7901
7906
  key: 0,
7902
7907
  theme: "primary",
7903
- size: s.size,
7908
+ size: r.size,
7904
7909
  onClick: J,
7905
7910
  title: "高级筛选"
7906
7911
  }, {
@@ -7909,7 +7914,7 @@ ${v.map((A) => {
7909
7914
  ]),
7910
7915
  _: 1
7911
7916
  }, 8, ["size"])) : oe("", !0),
7912
- s.filterCount > 0 ? (g(), G(Ce, {
7917
+ r.filterCount > 0 ? (g(), G(Ce, {
7913
7918
  key: 1,
7914
7919
  content: re.value,
7915
7920
  placement: "top"
@@ -7922,11 +7927,11 @@ ${v.map((A) => {
7922
7927
  default: l(() => [
7923
7928
  a(W, {
7924
7929
  theme: "primary",
7925
- size: s.size,
7930
+ size: r.size,
7926
7931
  onClick: ie
7927
7932
  }, {
7928
7933
  icon: l(() => [...o[13] || (o[13] = [
7929
- r("i", { class: "ri-palette-fill" }, null, -1)
7934
+ s("i", { class: "ri-palette-fill" }, null, -1)
7930
7935
  ])]),
7931
7936
  _: 1
7932
7937
  }, 8, ["size"])
@@ -7936,7 +7941,7 @@ ${v.map((A) => {
7936
7941
  ]),
7937
7942
  _: 1
7938
7943
  }, 8, ["content"])) : oe("", !0),
7939
- s.filterCount > 0 ? (g(), G(_e, {
7944
+ r.filterCount > 0 ? (g(), G(_e, {
7940
7945
  key: 2,
7941
7946
  options: z.value,
7942
7947
  onClick: x,
@@ -7945,7 +7950,7 @@ ${v.map((A) => {
7945
7950
  default: l(() => [
7946
7951
  a(W, {
7947
7952
  theme: "primary",
7948
- size: s.size,
7953
+ size: r.size,
7949
7954
  class: "margin-reset"
7950
7955
  }, {
7951
7956
  suffix: l(() => [
@@ -7963,15 +7968,15 @@ ${v.map((A) => {
7963
7968
  a(Ka, {
7964
7969
  visible: L.value,
7965
7970
  "onUpdate:visible": o[1] || (o[1] = (e) => L.value = e),
7966
- "field-options": s.fieldOptions,
7967
- "select-options": s.selectOptions,
7968
- "plan-filter-options": s.planFilterOptions,
7971
+ "field-options": r.fieldOptions,
7972
+ "select-options": r.selectOptions,
7973
+ "plan-filter-options": r.planFilterOptions,
7969
7974
  "filter-cards": B.value,
7970
7975
  "top-op": N.value,
7971
- size: s.size,
7972
- "person-tabs": s.personTabs,
7973
- "person-organizations": s.personOrganizations,
7974
- "visible-columns": s.visibleColumns,
7976
+ size: r.size,
7977
+ "person-tabs": r.personTabs,
7978
+ "person-organizations": r.personOrganizations,
7979
+ "visible-columns": r.visibleColumns,
7975
7980
  width: "1000",
7976
7981
  onConfirm: m,
7977
7982
  onReset: F,
@@ -7991,7 +7996,7 @@ ${v.map((A) => {
7991
7996
  onClose: V
7992
7997
  }, {
7993
7998
  body: l(() => [
7994
- r("div", vl, [
7999
+ s("div", vl, [
7995
8000
  a(we, {
7996
8001
  data: y.value,
7997
8002
  "label-width": "100px"
@@ -8040,8 +8045,8 @@ ${v.map((A) => {
8040
8045
  a(Pe, {
8041
8046
  visible: K.value,
8042
8047
  "onUpdate:visible": o[11] || (o[11] = (e) => K.value = e),
8043
- "field-options": s.fieldOptions,
8044
- size: s.size,
8048
+ "field-options": r.fieldOptions,
8049
+ size: r.size,
8045
8050
  "initial-rules": _.value,
8046
8051
  onConfirm: de,
8047
8052
  onClear: ce,
@@ -8050,8 +8055,8 @@ ${v.map((A) => {
8050
8055
  ]);
8051
8056
  };
8052
8057
  }
8053
- }, pl = /* @__PURE__ */ me(fl, [["__scopeId", "data-v-eb153ff2"]]), Cl = (s) => {
8054
- s.component("FilterDialog", Ee), s.component("FilterComponent", Ee), s.component("CdFilterBar", pl), s.component("ColorFilterDialog", Pe);
8058
+ }, pl = /* @__PURE__ */ me(fl, [["__scopeId", "data-v-eb153ff2"]]), Cl = (r) => {
8059
+ r.component("FilterDialog", Ee), r.component("FilterComponent", Ee), r.component("CdFilterBar", pl), r.component("ColorFilterDialog", Pe);
8055
8060
  };
8056
8061
  export {
8057
8062
  pl as CdFilterBar,