@yeepay/yee-boss-ui 0.1.28 → 0.1.30

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/README.md CHANGED
@@ -397,6 +397,8 @@ Drawer 模式使用 `<YeeModal v-model:open="open" type="drawer" placement="righ
397
397
 
398
398
  查询区默认使用 `layout: 'horizontal'`,标签右对齐;未设置 `labelWidth` 或传入 `labelWidth: 'auto'` 时,标签列按当前标签内容自适应。传入数字时使用固定标签宽度,例如 `labelWidth: 120`;需要上下排列时传入 `layout: 'vertical'`,此时标签左对齐且不使用 `labelWidth`。当字段的 `label` 为空字符串时,标签节点和标签间距都会省略,控件会占满当前字段区域。
399
399
 
400
+ 标签冒号默认显示;可通过 `formOptions.colon: false` 关闭,或设为 `true` 显示。
401
+
400
402
  查询字段默认占用 1 列。可以在字段 Schema 上设置 `span` 控制字段(包括标签和值)横跨的网格列数,支持 `1`、`2`、`3`,例如 `span: 2` 表示占用两列:
401
403
 
402
404
  ```ts
@@ -1,4 +1,4 @@
1
- import { defineComponent as he, reactive as Be, useTemplateRef as U, shallowRef as S, computed as h, onMounted as re, onBeforeUnmount as ye, openBlock as p, createBlock as R, unref as g, mergeProps as ae, withCtx as f, createElementVNode as w, normalizeStyle as be, renderSlot as z, createTextVNode as Y, toDisplayString as K, nextTick as q, useSlots as Fe, inject as me, watch as pe, watchPostEffect as Ie, onUnmounted as He, createElementBlock as I, normalizeClass as ee, withDirectives as $e, withModifiers as Oe, Fragment as fe, renderList as ve, createCommentVNode as _, resolveDynamicComponent as Le, createVNode as P, vShow as De, toHandlers as qe, createSlots as Ge, normalizeProps as te, guardReactiveProps as oe, Teleport as We } from "vue";
1
+ import { defineComponent as he, reactive as Be, useTemplateRef as Y, shallowRef as S, computed as h, onMounted as re, onBeforeUnmount as ye, openBlock as p, createBlock as R, unref as g, mergeProps as ae, withCtx as f, createElementVNode as w, normalizeStyle as be, renderSlot as z, createTextVNode as K, toDisplayString as Q, nextTick as q, useSlots as Fe, inject as me, watch as pe, watchPostEffect as Ie, onUnmounted as He, createElementBlock as I, normalizeClass as U, withDirectives as $e, withModifiers as Oe, Fragment as fe, renderList as ve, createCommentVNode as _, resolveDynamicComponent as Le, createVNode as P, vShow as De, toHandlers as qe, createSlots as Ge, normalizeProps as te, guardReactiveProps as oe, Teleport as We } from "vue";
2
2
  import { SettingOutlined as je } from "@ant-design/icons-vue";
3
3
  import { TreeSelect as Ue, TimeRangePicker as Ye, TimePicker as Ke, Textarea as Qe, Switch as Je, Slider as Xe, Select as Ce, Segmented as Ze, Rate as et, RangePicker as tt, RadioGroup as ot, Radio as nt, Mentions as rt, InputPassword as at, InputNumber as it, Input as lt, DatePicker as st, CheckboxGroup as ut, Checkbox as ct, Cascader as dt, AutoComplete as mt, Tooltip as xe, Modal as pt, Form as ft, FormItem as vt, Button as ne } from "ant-design-vue";
4
4
  import { ChevronDown as gt } from "lucide-vue-next";
@@ -77,7 +77,7 @@ const Ft = {
77
77
  },
78
78
  emits: ["update:modelValue"],
79
79
  setup(l, { expose: a, emit: v }) {
80
- const n = l, y = v, E = xe, b = Be({ visible: !1 }), A = U("tooltip"), N = S(), G = S(""), H = S(), C = S(!1);
80
+ const n = l, y = v, E = xe, b = Be({ visible: !1 }), A = Y("tooltip"), N = S(), G = S(""), H = S(), C = S(!1);
81
81
  let i;
82
82
  function s(r) {
83
83
  if (!(r === void 0 || r === ""))
@@ -109,7 +109,7 @@ const Ft = {
109
109
  function O(r) {
110
110
  return r.closest("body") ?? document.body;
111
111
  }
112
- function Q(r) {
112
+ function J(r) {
113
113
  return r || (typeof n.selector == "string" ? document.querySelector(n.selector) ?? void 0 : n.selector);
114
114
  }
115
115
  function L() {
@@ -125,12 +125,12 @@ const Ft = {
125
125
  }, q(() => A.value?.forcePopupAlign?.());
126
126
  }
127
127
  function M(r, m) {
128
- const x = Q(r);
128
+ const x = J(r);
129
129
  return x ? (H.value = x, G.value = m ?? n.content ?? "", C.value = !0, b.visible = !0, y("update:modelValue", !0), L()) : q();
130
130
  }
131
131
  function j(r, m, x) {
132
- const X = r.currentTarget instanceof HTMLElement ? r.currentTarget : void 0;
133
- return M(m ?? X, x);
132
+ const Z = r.currentTarget instanceof HTMLElement ? r.currentTarget : void 0;
133
+ return M(m ?? Z, x);
134
134
  }
135
135
  function T() {
136
136
  return C.value = !1, H.value = void 0, N.value = void 0, b.visible = !1, y("update:modelValue", !1), q();
@@ -144,7 +144,7 @@ const Ft = {
144
144
  function V() {
145
145
  b.visible && L();
146
146
  }
147
- function J() {
147
+ function X() {
148
148
  B(!1), n.enterable && (i = setTimeout(() => {
149
149
  i = void 0, C.value || T();
150
150
  }, n.leaveDelay ?? 0));
@@ -173,10 +173,10 @@ const Ft = {
173
173
  w("div", {
174
174
  class: "yee-ui-grid-tooltip-content",
175
175
  onMouseenter: m[0] || (m[0] = (x) => n.enterable && B(!0)),
176
- onMouseleave: J
176
+ onMouseleave: X
177
177
  }, [
178
178
  z(r.$slots, "content", {}, () => [
179
- Y(K(G.value), 1)
179
+ K(Q(G.value), 1)
180
180
  ])
181
181
  ], 32)
182
182
  ]),
@@ -231,16 +231,13 @@ function Lt() {
231
231
  Ht
232
232
  ].forEach((a) => k.component(a)), $t(), ge = !0;
233
233
  }
234
- const Dt = {
235
- key: 0,
236
- class: "yee-ui-grid__label"
237
- }, qt = { class: "yee-ui-grid__control" }, Gt = { class: "yee-ui-grid__form-actions" }, Wt = {
234
+ const Dt = { class: "yee-ui-grid__control" }, qt = { class: "yee-ui-grid__form-actions" }, Gt = {
238
235
  key: 1,
239
236
  class: "yee-ui-grid__separator"
240
- }, jt = { class: "yee-ui-grid__table-container" }, Ut = {
237
+ }, Wt = { class: "yee-ui-grid__table-container" }, jt = {
241
238
  key: 0,
242
239
  class: "yee-ui-grid__title"
243
- }, Yt = /* @__PURE__ */ he({
240
+ }, Ut = /* @__PURE__ */ he({
244
241
  name: "YeeGrid",
245
242
  __name: "YeeGrid",
246
243
  props: {
@@ -249,7 +246,7 @@ const Dt = {
249
246
  tableTitleHelp: {}
250
247
  },
251
248
  setup(l) {
252
- const a = l, v = Fe(), n = U("gridRef"), y = U("wrapperRef"), E = S(null), b = me(ht), A = me(bt, void 0), [N, G] = pt.useModal();
249
+ const a = l, v = Fe(), n = Y("gridRef"), y = Y("wrapperRef"), E = S(null), b = me(ht), A = me(bt, void 0), [N, G] = pt.useModal();
253
250
  Lt();
254
251
  const H = Ot((e) => new Promise((t) => {
255
252
  N.confirm({
@@ -263,9 +260,9 @@ const Dt = {
263
260
  onOk: () => t("confirm"),
264
261
  onCancel: () => t("cancel")
265
262
  });
266
- })), C = h(() => a.api.state.value), i = h(() => C.value.formOptions), s = S(i.value?.collapsed ?? !0), $ = S(3), W = U("formElement"), d = S(/* @__PURE__ */ new Set());
263
+ })), C = h(() => a.api.state.value), i = h(() => C.value.formOptions), s = S(i.value?.collapsed ?? !0), $ = S(3), W = Y("formElement"), d = S(/* @__PURE__ */ new Set());
267
264
  let O;
268
- const Q = /* @__PURE__ */ new Set([
265
+ const J = /* @__PURE__ */ new Set([
269
266
  "AutoComplete",
270
267
  "Cascader",
271
268
  "DatePicker",
@@ -290,7 +287,7 @@ const Dt = {
290
287
  const e = Math.max(1, i.value.collapsedRows ?? 1), t = $.value, o = [];
291
288
  let u = 1, c = 0;
292
289
  for (const F of T.value) {
293
- const de = J(F, t);
290
+ const de = X(F, t);
294
291
  if (c > 0 && c + de > t && (u += 1, c = 0), u > e) break;
295
292
  o.push(F), c += de, c === t && (u += 1, c = 0);
296
293
  }
@@ -305,7 +302,7 @@ const Dt = {
305
302
  function V(e) {
306
303
  return a.api.formApi.getFieldValue(e.fieldName);
307
304
  }
308
- function J(e, t = $.value) {
305
+ function X(e, t = $.value) {
309
306
  const o = e.span ?? 1;
310
307
  return Math.min(o, t);
311
308
  }
@@ -330,7 +327,7 @@ const Dt = {
330
327
  function x(e) {
331
328
  return e !== "Custom";
332
329
  }
333
- function X(e) {
330
+ function Z(e) {
334
331
  return x(e.component) ? Ft[e.component] : void 0;
335
332
  }
336
333
  function Te(e) {
@@ -342,12 +339,12 @@ const Dt = {
342
339
  ...e.componentProps,
343
340
  ...t === void 0 ? {} : { [o]: t },
344
341
  ...u ? { "aria-invalid": !0 } : {},
345
- ...u && x(e.component) && Q.has(e.component) ? { status: "error" } : {},
342
+ ...u && x(e.component) && J.has(e.component) ? { status: "error" } : {},
346
343
  [`onUpdate:${o}`]: (c) => le(e, c)
347
344
  };
348
345
  }
349
346
  function le(e, t) {
350
- a.api.formApi.setFieldValue(e.fieldName, t), d.value.has(e.fieldName) && a.api.formApi.validateField(e.fieldName) && (d.value = new Set([...d.value].filter((o) => o !== e.fieldName))), i.value?.submitOnChange && Z();
347
+ a.api.formApi.setFieldValue(e.fieldName, t), d.value.has(e.fieldName) && a.api.formApi.validateField(e.fieldName) && (d.value = new Set([...d.value].filter((o) => o !== e.fieldName))), i.value?.submitOnChange && ee();
351
348
  }
352
349
  function Se() {
353
350
  const e = /* @__PURE__ */ new Set();
@@ -358,7 +355,7 @@ const Dt = {
358
355
  async function ke() {
359
356
  a.api.formApi.resetForm(), d.value = /* @__PURE__ */ new Set(), await Ae();
360
357
  }
361
- async function Z() {
358
+ async function ee() {
362
359
  if (!Se()) {
363
360
  Ve();
364
361
  return;
@@ -366,7 +363,7 @@ const Dt = {
366
363
  await Ee();
367
364
  }
368
365
  function Ne(e) {
369
- e.key === "Enter" && i.value?.submitOnEnter && !(e.target instanceof HTMLTextAreaElement) && (e.preventDefault(), Z());
366
+ e.key === "Enter" && i.value?.submitOnEnter && !(e.target instanceof HTMLTextAreaElement) && (e.preventDefault(), ee());
370
367
  }
371
368
  function se(e) {
372
369
  s.value !== e && (s.value = e, i.value?.handleCollapsedChange?.(e));
@@ -491,7 +488,7 @@ const Dt = {
491
488
  }), (e, t) => (p(), I("section", {
492
489
  ref_key: "wrapperRef",
493
490
  ref: y,
494
- class: ee(["yee-ui-grid", { "yee-ui-grid--fill-page-content": j.value }])
491
+ class: U(["yee-ui-grid", { "yee-ui-grid--fill-page-content": j.value }])
495
492
  }, [
496
493
  i.value ? $e((p(), R(g(ft), {
497
494
  key: 0,
@@ -500,7 +497,7 @@ const Dt = {
500
497
  layout: i.value.layout ?? "horizontal",
501
498
  model: l.api.formApi.getModel(),
502
499
  onKeydown: Ne,
503
- onSubmit: Oe(Z, ["prevent"])
500
+ onSubmit: Oe(ee, ["prevent"])
504
501
  }, {
505
502
  default: f(() => [
506
503
  (p(!0), I(fe, null, ve(B.value, (o) => (p(), R(g(vt), {
@@ -512,11 +509,14 @@ const Dt = {
512
509
  }, {
513
510
  default: f(() => [
514
511
  w("label", {
515
- class: ee(["yee-ui-grid__field", r(o)]),
512
+ class: U(["yee-ui-grid__field", r(o)]),
516
513
  style: be(m(o))
517
514
  }, [
518
- o.label ? (p(), I("span", Dt, K(o.label), 1)) : _("", !0),
519
- w("div", qt, [
515
+ o.label ? (p(), I("span", {
516
+ key: 0,
517
+ class: U(["yee-ui-grid__label", { "yee-ui-grid__label--colon": i.value.colon ?? !0 }])
518
+ }, Q(o.label), 3)) : _("", !0),
519
+ w("div", Dt, [
520
520
  Re(o) ? z(e.$slots, ue(o), {
521
521
  key: 0,
522
522
  field: o,
@@ -524,7 +524,7 @@ const Dt = {
524
524
  value: V(o),
525
525
  values: l.api.formApi.getValues()
526
526
  }, void 0, !0) : (p(), I(fe, { key: 1 }, [
527
- o.component !== "Custom" ? (p(), R(Le(X(o)), ae({
527
+ o.component !== "Custom" ? (p(), R(Le(Z(o)), ae({
528
528
  key: 0,
529
529
  ref_for: !0
530
530
  }, _e(o)), null, 16)) : _("", !0)
@@ -534,13 +534,13 @@ const Dt = {
534
534
  ]),
535
535
  _: 2
536
536
  }, 1032, ["name", "required", "validate-status"]))), 128)),
537
- w("div", Gt, [
537
+ w("div", qt, [
538
538
  P(g(ne), {
539
539
  "html-type": "button",
540
540
  onClick: ke
541
541
  }, {
542
542
  default: f(() => [...t[0] || (t[0] = [
543
- Y(" 重置 ", -1)
543
+ K(" 重置 ", -1)
544
544
  ])]),
545
545
  _: 1
546
546
  }),
@@ -549,7 +549,7 @@ const Dt = {
549
549
  "html-type": "submit"
550
550
  }, {
551
551
  default: f(() => [...t[1] || (t[1] = [
552
- Y(" 查询 ", -1)
552
+ K(" 查询 ", -1)
553
553
  ])]),
554
554
  _: 1
555
555
  }),
@@ -561,10 +561,10 @@ const Dt = {
561
561
  onClick: Pe
562
562
  }, {
563
563
  default: f(() => [
564
- w("span", null, K(s.value ? "展开" : "收起"), 1),
564
+ w("span", null, Q(s.value ? "展开" : "收起"), 1),
565
565
  P(g(gt), {
566
566
  "aria-hidden": "true",
567
- class: ee(["yee-ui-grid__collapse-icon", { "yee-ui-grid__collapse-icon--expanded": !s.value }])
567
+ class: U(["yee-ui-grid__collapse-icon", { "yee-ui-grid__collapse-icon--expanded": !s.value }])
568
568
  }, null, 8, ["class"])
569
569
  ]),
570
570
  _: 1
@@ -575,8 +575,8 @@ const Dt = {
575
575
  }, 8, ["layout", "model"])), [
576
576
  [De, l.api.searchFormVisible.value]
577
577
  ]) : _("", !0),
578
- i.value && C.value.separator !== !1 ? (p(), I("div", Wt)) : _("", !0),
579
- w("div", jt, [
578
+ i.value && C.value.separator !== !1 ? (p(), I("div", Gt)) : _("", !0),
579
+ w("div", Wt, [
580
580
  P(g(we), ae({
581
581
  ref_key: "gridRef",
582
582
  ref: n,
@@ -584,8 +584,8 @@ const Dt = {
584
584
  }, ce.value, qe(ze.value)), Ge({
585
585
  toolbarActions: f((o) => [
586
586
  z(e.$slots, "table-title", {}, () => [
587
- l.tableTitle ? (p(), I("div", Ut, [
588
- Y(K(l.tableTitle) + " ", 1),
587
+ l.tableTitle ? (p(), I("div", jt, [
588
+ K(Q(l.tableTitle) + " ", 1),
589
589
  l.tableTitleHelp ? (p(), R(g(xe), {
590
590
  key: 0,
591
591
  title: l.tableTitleHelp
@@ -637,7 +637,7 @@ const Dt = {
637
637
  P(g(G))
638
638
  ], 2));
639
639
  }
640
- }), xo = /* @__PURE__ */ Bt(Yt, [["__scopeId", "data-v-a8a3bde4"]]);
640
+ }), Co = /* @__PURE__ */ Bt(Ut, [["__scopeId", "data-v-a93603f1"]]);
641
641
  export {
642
- xo as default
642
+ Co as default
643
643
  };
@@ -109,6 +109,8 @@ export interface YeeGridFormOptions<TValues extends object = YeeGridFormValues>
109
109
  handleCollapsedChange?: (collapsed: boolean) => void;
110
110
  /** 表单初始值。 */
111
111
  initialValues?: Partial<TValues>;
112
+ /** 是否在查询表单标签后显示冒号;默认显示。 */
113
+ colon?: boolean;
112
114
  /** 表单项布局;horizontal 为标签和值同行,vertical 为上下排列。 */
113
115
  layout?: 'horizontal' | 'vertical';
114
116
  /** 水平布局时标签的宽度;未设置或传入 auto 时按标签内容自适应。 */
package/dist/grid.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Y as i, a, u as s } from "./use-yee-grid-Dgxtn240.js";
1
+ import { Y as i, a, u as s } from "./use-yee-grid-BpYy8rcT.js";
2
2
  export {
3
3
  i as YeeGridApi,
4
4
  a as YeeGridFormApi,
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { Y as f } from "./YeePage-Duxhrl0F.js";
9
9
  import { Y as l } from "./YeeFileUpload-BUFoWs8x.js";
10
10
  import { Y as n } from "./YeeEllipsisText-BTSbIuBl.js";
11
11
  import { Y as T } from "./YeeDescriptions-DyYySPuw.js";
12
- import { Y as M, a as N, u as R } from "./use-yee-grid-Dgxtn240.js";
12
+ import { Y as M, a as N, u as R } from "./use-yee-grid-BpYy8rcT.js";
13
13
  const d = {
14
14
  PlatformConfigProvider: r,
15
15
  YeeAppShell: Y,
package/dist/style.css CHANGED
@@ -135,7 +135,7 @@ html.dark,
135
135
  /*$vite$:1*/
136
136
  .yee-ui-file-upload[data-v-ac555a97],.yee-ui-file-upload[data-v-ac555a97] .ant-upload-wrapper,.yee-ui-file-upload[data-v-ac555a97] .yee-upload-wrapper{min-width:0}.yee-ui-file-upload[data-v-ac555a97] .ant-upload-select,.yee-ui-file-upload[data-v-ac555a97] .yee-upload-select{width:auto;height:auto;margin-inline-end:0}.yee-ui-file-upload[data-v-ac555a97] .ant-upload-list-item-action,.yee-ui-file-upload[data-v-ac555a97] .yee-upload-list-item-action{background:transparent!important}.yee-ui-file-upload__trigger[data-v-ac555a97]{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;box-sizing:border-box;color:var(--yee-muted-foreground);font-size:var(--yee-font-size-sm)}.yee-ui-file-upload__trigger-sign[data-v-ac555a97]{color:var(--yee-foreground);font-size:24px;line-height:1}.yee-ui-file-upload__empty[data-v-ac555a97]{color:var(--yee-muted-foreground);font-size:var(--yee-font-size)}.yee-ui-file-upload__preview[data-v-ac555a97]{display:none}
137
137
  /*$vite$:1*/
138
- [data-v-a8a3bde4] .vxe-toolbar-custom-target .vxe-button--prefix-icon:has(>.anticon-setting):before{content:none}.yee-ui-grid[data-v-a8a3bde4]{display:flex;flex-direction:column;min-width:0;height:100%;min-height:0;box-sizing:border-box;overflow:hidden;color:var(--yee-foreground);background:var(--yee-card);border-radius:var(--yee-radius)}.yee-ui-grid--fill-page-content[data-v-a8a3bde4]{height:100%}.yee-ui-grid__search-form[data-v-a8a3bde4]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;align-items:center;padding:16px;background:var(--yee-card)}.yee-ui-grid__field[data-v-a8a3bde4]{display:grid;grid-template-columns:var(--yee-grid-label-width, max-content) minmax(0,1fr);gap:8px;align-items:center;min-width:0}.yee-ui-grid__field--span-2[data-v-a8a3bde4]{grid-column:span 2}.yee-ui-grid__field--span-3[data-v-a8a3bde4]{grid-column:span 3}.yee-ui-grid__field--vertical[data-v-a8a3bde4]{grid-template-columns:minmax(0,1fr);gap:4px;align-items:stretch}.yee-ui-grid__field--no-label[data-v-a8a3bde4]{grid-template-columns:minmax(0,1fr);gap:0}.yee-ui-grid__control[data-v-a8a3bde4]{display:flex;flex-direction:column;min-width:0}.yee-ui-grid__label[data-v-a8a3bde4]{color:var(--yee-foreground);font-size:var(--yee-font-size);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yee-ui-grid__field--vertical .yee-ui-grid__label[data-v-a8a3bde4]{justify-self:start;text-align:left}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-checkbox-wrapper,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-radio-wrapper,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-rate{color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-checkbox-wrapper .ant-checkbox-inner,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-radio-wrapper .ant-radio-inner{border-color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-switch{background:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-segmented,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-upload-select-picture-card{border-color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-slider .ant-slider-track,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a8a3bde4]>.ant-slider .ant-slider-handle{background:var(--yee-destructive);border-color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__label[data-v-a8a3bde4]:before,.yee-ui-grid__field--required .yee-ui-grid__label[data-v-a8a3bde4]:before{margin-right:2px;color:var(--yee-destructive);content:"*"}.yee-ui-grid__form-actions[data-v-a8a3bde4]{display:flex;gap:8px;align-items:center;grid-column:-2 / -1;justify-content:flex-end}.yee-ui-grid__collapse-button[data-v-a8a3bde4]{display:inline-flex;gap:2px;align-items:center;padding-left:0;padding-right:0}.yee-ui-grid__collapse-icon[data-v-a8a3bde4]{flex:0 0 auto;width:16px;height:16px;transition:transform .3s ease}.yee-ui-grid__collapse-icon--expanded[data-v-a8a3bde4]{transform:rotate(180deg)}.yee-ui-grid__separator[data-v-a8a3bde4]{flex:0 0 12px;background:var(--yee-background-deep)}.yee-ui-grid__table-container[data-v-a8a3bde4]{flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.yee-ui-grid__table[data-v-a8a3bde4]{min-height:0;box-sizing:border-box;padding:16px}.yee-ui-grid__title[data-v-a8a3bde4]{display:inline-flex;gap:6px;align-items:center;margin-right:12px;font-size:var(--yee-font-size-lg);font-weight:600}.yee-ui-grid__help[data-v-a8a3bde4]{display:inline-grid;width:16px;height:16px;color:var(--yee-muted-foreground);font-size:11px;border:1px solid var(--yee-border);border-radius:50%;place-items:center}.yee-ui-grid__empty[data-v-a8a3bde4]{padding:32px 0;color:var(--yee-muted-foreground);text-align:center}@media not (min-width:1024px){.yee-ui-grid__search-form[data-v-a8a3bde4]{grid-template-columns:repeat(2,minmax(0,1fr))}.yee-ui-grid__field--span-3[data-v-a8a3bde4]{grid-column:span 2}}@media not (min-width:768px){.yee-ui-grid__search-form[data-v-a8a3bde4]{grid-template-columns:minmax(0,1fr)}.yee-ui-grid__field--span-2[data-v-a8a3bde4],.yee-ui-grid__field--span-3[data-v-a8a3bde4]{grid-column:span 1}}
138
+ [data-v-a93603f1] .vxe-toolbar-custom-target .vxe-button--prefix-icon:has(>.anticon-setting):before{content:none}.yee-ui-grid[data-v-a93603f1]{display:flex;flex-direction:column;min-width:0;height:100%;min-height:0;box-sizing:border-box;overflow:hidden;color:var(--yee-foreground);background:var(--yee-card);border-radius:var(--yee-radius)}.yee-ui-grid--fill-page-content[data-v-a93603f1]{height:100%}.yee-ui-grid__search-form[data-v-a93603f1]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;align-items:center;padding:16px;background:var(--yee-card)}.yee-ui-grid__field[data-v-a93603f1]{display:grid;grid-template-columns:var(--yee-grid-label-width, max-content) minmax(0,1fr);gap:8px;align-items:center;min-width:0}.yee-ui-grid__field--span-2[data-v-a93603f1]{grid-column:span 2}.yee-ui-grid__field--span-3[data-v-a93603f1]{grid-column:span 3}.yee-ui-grid__field--vertical[data-v-a93603f1]{grid-template-columns:minmax(0,1fr);gap:4px;align-items:stretch}.yee-ui-grid__field--no-label[data-v-a93603f1]{grid-template-columns:minmax(0,1fr);gap:0}.yee-ui-grid__control[data-v-a93603f1]{display:flex;flex-direction:column;min-width:0}.yee-ui-grid__label[data-v-a93603f1]{color:var(--yee-foreground);font-size:var(--yee-font-size);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yee-ui-grid__label--colon[data-v-a93603f1]:after{position:relative;margin-block:0;margin-inline-start:2px;content:":"}.yee-ui-grid__field--vertical .yee-ui-grid__label[data-v-a93603f1]{justify-self:start;text-align:left}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-checkbox-wrapper,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-radio-wrapper,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-rate{color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-checkbox-wrapper .ant-checkbox-inner,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-radio-wrapper .ant-radio-inner{border-color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-switch{background:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-segmented,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-upload-select-picture-card{border-color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-slider .ant-slider-track,.yee-ui-grid__field--error .yee-ui-grid__control[data-v-a93603f1]>.ant-slider .ant-slider-handle{background:var(--yee-destructive);border-color:var(--yee-destructive)}.yee-ui-grid__field--error .yee-ui-grid__label[data-v-a93603f1]:before,.yee-ui-grid__field--required .yee-ui-grid__label[data-v-a93603f1]:before{margin-right:2px;color:var(--yee-destructive);content:"*"}.yee-ui-grid__form-actions[data-v-a93603f1]{display:flex;gap:8px;align-items:center;grid-column:-2 / -1;justify-content:flex-end}.yee-ui-grid__collapse-button[data-v-a93603f1]{display:inline-flex;gap:2px;align-items:center;padding-left:0;padding-right:0}.yee-ui-grid__collapse-icon[data-v-a93603f1]{flex:0 0 auto;width:16px;height:16px;transition:transform .3s ease}.yee-ui-grid__collapse-icon--expanded[data-v-a93603f1]{transform:rotate(180deg)}.yee-ui-grid__separator[data-v-a93603f1]{flex:0 0 12px;background:var(--yee-background-deep)}.yee-ui-grid__table-container[data-v-a93603f1]{flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.yee-ui-grid__table[data-v-a93603f1]{min-height:0;box-sizing:border-box;padding:16px}.yee-ui-grid__title[data-v-a93603f1]{display:inline-flex;gap:6px;align-items:center;margin-right:12px;font-size:var(--yee-font-size-lg);font-weight:600}.yee-ui-grid__help[data-v-a93603f1]{display:inline-grid;width:16px;height:16px;color:var(--yee-muted-foreground);font-size:11px;border:1px solid var(--yee-border);border-radius:50%;place-items:center}.yee-ui-grid__empty[data-v-a93603f1]{padding:32px 0;color:var(--yee-muted-foreground);text-align:center}@media not (min-width:1024px){.yee-ui-grid__search-form[data-v-a93603f1]{grid-template-columns:repeat(2,minmax(0,1fr))}.yee-ui-grid__field--span-3[data-v-a93603f1]{grid-column:span 2}}@media not (min-width:768px){.yee-ui-grid__search-form[data-v-a93603f1]{grid-template-columns:minmax(0,1fr)}.yee-ui-grid__field--span-2[data-v-a93603f1],.yee-ui-grid__field--span-3[data-v-a93603f1]{grid-column:span 1}}
139
139
  /*$vite$:1*/
140
140
  .yee-ui-page[data-v-ba7ea0ff]{display:flex;flex-direction:column;min-width:0;min-height:100%;box-sizing:border-box;color:var(--yee-foreground);background:var(--yee-background-deep)}.yee-ui-page--auto-height[data-v-ba7ea0ff]{height:calc(var(--yee-content-height, 100%) - var(--yee-page-height-offset));min-height:0;overflow:hidden}.yee-ui-page__header[data-v-ba7ea0ff],.yee-ui-page__footer[data-v-ba7ea0ff]{display:flex;flex:0 0 auto;gap:16px;align-items:center;box-sizing:border-box;padding:16px 24px;background:var(--yee-card)}.yee-ui-page__header[data-v-ba7ea0ff]{justify-content:space-between;border-bottom:1px solid var(--yee-border-secondary)}.yee-ui-page__footer[data-v-ba7ea0ff]{justify-content:flex-end;border-top:1px solid var(--yee-border-secondary)}.yee-ui-page__heading[data-v-ba7ea0ff]{min-width:0}.yee-ui-page__title[data-v-ba7ea0ff],.yee-ui-page__description[data-v-ba7ea0ff]{margin:0}.yee-ui-page__title[data-v-ba7ea0ff]{font-size:var(--yee-font-size-lg);font-weight:600;line-height:1.5}.yee-ui-page__description[data-v-ba7ea0ff]{margin-top:4px;color:var(--yee-muted-foreground);font-size:var(--yee-font-size);line-height:var(--yee-line-height)}.yee-ui-page__extra[data-v-ba7ea0ff]{flex:0 0 auto}.yee-ui-page__content[data-v-ba7ea0ff]{flex:1 1 auto;min-width:0;min-height:0;box-sizing:border-box}.yee-ui-page--auto-height>.yee-ui-page__content[data-v-ba7ea0ff]{flex:0 0 auto}
141
141
  /*$vite$:1*/
@@ -124,7 +124,7 @@ function g() {
124
124
  r = !0, import("@yeepay/yee-boss-ui/grid.css");
125
125
  }
126
126
  }
127
- const y = m(() => import("./YeeGrid-DABX_NBF.js"));
127
+ const y = m(() => import("./YeeGrid-C8xTo_Q8.js"));
128
128
  function b(i) {
129
129
  g();
130
130
  const e = new p(i);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeepay/yee-boss-ui",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "运营后台平台公共 UI 与主题基础能力",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",