straw-ui-vue 0.1.62 → 0.1.64

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.
@@ -235,6 +235,10 @@ export interface StPickerQuickRowProps {
235
235
  class?: ClassValue;
236
236
  /** 样式 */
237
237
  style?: StyleValue;
238
+ /** 快捷预设按钮类名 */
239
+ shortcutsItemClass?: ClassValue;
240
+ /** 快捷预设按钮样式 */
241
+ shortcutsItemStyle?: StyleValue;
238
242
  }
239
243
 
240
244
  /** StPickerQuickRow 事件 */
@@ -140,9 +140,13 @@ export interface StPickerClassNames {
140
140
  /** 浮层容器样式 */
141
141
  panelStyle?: StyleValue;
142
142
  /** 快捷预设行 */
143
- quickClass?: ClassValue;
143
+ shortcutsBodyClass?: ClassValue;
144
144
  /** 快捷预设行样式 */
145
- quickStyle?: StyleValue;
145
+ shortcutsBodyStyle?: StyleValue;
146
+ /** 快捷预设按钮 */
147
+ shortcutsItemClass?: ClassValue;
148
+ /** 快捷预设按钮样式 */
149
+ shortcutsItemStyle?: StyleValue;
146
150
  /** 面板底部工具条 */
147
151
  footerClass?: ClassValue;
148
152
  /** 面板底部工具条样式 */
@@ -1,5 +1,16 @@
1
+ import type { ClassValue, StyleValue } from 'vue';
2
+
1
3
  /** 树多选框组件属性接口 */
2
- export interface StTreeGroupCheckboxProps {}
4
+ export interface StTreeGroupCheckboxProps {
5
+ /** 多选框盒子类名 */
6
+ boxClass?: ClassValue;
7
+ /** 多选框盒子样式 */
8
+ boxStyle?: StyleValue;
9
+ /** 多选框图标类名 */
10
+ coreClass?: ClassValue;
11
+ /** 多选框图标样式 */
12
+ coreStyle?: StyleValue;
13
+ }
3
14
 
4
15
  /** 树多选框组件插槽接口 */
5
16
  export interface StTreeGroupCheckboxSlots {}
@@ -10,4 +21,4 @@ export interface StTreeGroupCheckboxEmits {
10
21
  change: [event: MouseEvent];
11
22
  }
12
23
 
13
- export {};
24
+ export {};
@@ -21,6 +21,42 @@ export interface StTreeNodeProps {
21
21
  labelClass?: ClassValue;
22
22
  /** 标签样式 */
23
23
  labelStyle?: StyleValue;
24
+ /** 节点行类名 */
25
+ nodeClass?: ClassValue;
26
+ /** 节点行样式 */
27
+ nodeStyle?: StyleValue;
28
+ /** 箭头外层附加区类名 */
29
+ arrowAddonClass?: ClassValue;
30
+ /** 箭头外层附加区样式 */
31
+ arrowAddonStyle?: StyleValue;
32
+ /** 多选框外层附加区类名 */
33
+ checkboxAddonClass?: ClassValue;
34
+ /** 多选框外层附加区样式 */
35
+ checkboxAddonStyle?: StyleValue;
36
+ /** 多选框类名 */
37
+ checkboxClass?: ClassValue;
38
+ /** 多选框样式 */
39
+ checkboxStyle?: StyleValue;
40
+ /** 多选框盒子类名 */
41
+ checkboxBoxClass?: ClassValue;
42
+ /** 多选框盒子样式 */
43
+ checkboxBoxStyle?: StyleValue;
44
+ /** 多选框图标类名 */
45
+ checkboxCoreClass?: ClassValue;
46
+ /** 多选框图标样式 */
47
+ checkboxCoreStyle?: StyleValue;
48
+ /** 操作区外层附加区类名 */
49
+ actionAddonClass?: ClassValue;
50
+ /** 操作区外层附加区样式 */
51
+ actionAddonStyle?: StyleValue;
52
+ /** 子节点容器类名 */
53
+ childrenClass?: ClassValue;
54
+ /** 子节点容器样式 */
55
+ childrenStyle?: StyleValue;
56
+ /** 子组容器类名 */
57
+ subGroupClass?: ClassValue;
58
+ /** 子组容器样式 */
59
+ subGroupStyle?: StyleValue;
24
60
  }
25
61
 
26
62
  /** 树内部递归渲染器插槽接口 */
@@ -56,6 +56,42 @@ export interface StTreeProps {
56
56
  labelClass?: ClassValue;
57
57
  /** 标签 style */
58
58
  labelStyle?: StyleValue;
59
+ /** 节点行 class */
60
+ nodeClass?: ClassValue;
61
+ /** 节点行 style */
62
+ nodeStyle?: StyleValue;
63
+ /** 箭头外层附加区 class */
64
+ arrowAddonClass?: ClassValue;
65
+ /** 箭头外层附加区 style */
66
+ arrowAddonStyle?: StyleValue;
67
+ /** 多选框外层附加区 class */
68
+ checkboxAddonClass?: ClassValue;
69
+ /** 多选框外层附加区 style */
70
+ checkboxAddonStyle?: StyleValue;
71
+ /** 多选框 class */
72
+ checkboxClass?: ClassValue;
73
+ /** 多选框 style */
74
+ checkboxStyle?: StyleValue;
75
+ /** 多选框盒子 class */
76
+ checkboxBoxClass?: ClassValue;
77
+ /** 多选框盒子 style */
78
+ checkboxBoxStyle?: StyleValue;
79
+ /** 多选框图标 class */
80
+ checkboxCoreClass?: ClassValue;
81
+ /** 多选框图标 style */
82
+ checkboxCoreStyle?: StyleValue;
83
+ /** 操作区外层附加区 class */
84
+ actionAddonClass?: ClassValue;
85
+ /** 操作区外层附加区 style */
86
+ actionAddonStyle?: StyleValue;
87
+ /** 子节点容器 class */
88
+ childrenClass?: ClassValue;
89
+ /** 子节点容器 style */
90
+ childrenStyle?: StyleValue;
91
+ /** 子组容器 class */
92
+ subGroupClass?: ClassValue;
93
+ /** 子组容器 style */
94
+ subGroupStyle?: StyleValue;
59
95
  }
60
96
  /** 树组件插槽接口 */
61
97
  export interface StTreeSlots {
package/dist/straw-ui.js CHANGED
@@ -4502,23 +4502,23 @@ var En = ["data-index"], Dn = /* @__PURE__ */ I({
4502
4502
  setup(e, { emit: t }) {
4503
4503
  let n = J();
4504
4504
  X();
4505
- let r = e, i = Vn(), a = Un(), o = O(() => a ? i?.modelValue.value === a.value.value : !1), s = O(() => r.disabled || (a?.disabled.value ?? !1)), c = d({
4505
+ let r = e, i = Vn(), a = Un(), o = O(() => a ? i?.modelValue.value === a.value.value : !1), s = O(() => !a || i?.selection.value ? !1 : i?.modelValue.value === a.value.value), c = O(() => !a || !i?.selection.value ? !1 : i?.selectedKeys?.value.includes(a.value.value) ?? !1), u = O(() => r.disabled || (a?.disabled.value ?? !1)), f = d({
4506
4506
  base: "flex items-center gap-default rounded",
4507
4507
  variants: { selected: {
4508
4508
  true: "bg-primary/10 text-primary",
4509
4509
  false: "text-foreground hover:bg-accent"
4510
4510
  } }
4511
- }), u = O(() => l(c({ selected: o.value }), n.class)), f = O(() => {
4511
+ }), p = O(() => l(f({ selected: o.value }), s.value && "is-active", c.value && "is-checked", n.class)), m = O(() => {
4512
4512
  let e = a?.indentOffset.value ?? 0;
4513
4513
  return [n.style, { paddingLeft: e > 0 ? `${e}px` : void 0 }];
4514
4514
  });
4515
- function p() {
4516
- a && !s.value && i?.setSelected(a.value.value);
4515
+ function h() {
4516
+ a && !u.value && i?.setSelected(a.value.value);
4517
4517
  }
4518
4518
  return (e, t) => (H(), j("div", {
4519
- class: B(["st-tree-group-node", u.value]),
4520
- style: V(f.value),
4521
- onClick: p
4519
+ class: B(["st-tree-group-node", p.value]),
4520
+ style: V(m.value),
4521
+ onClick: h
4522
4522
  }, [G(e.$slots, "default")], 6));
4523
4523
  }
4524
4524
  }), Kn = /* @__PURE__ */ I({
@@ -4787,34 +4787,72 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4787
4787
  name: "StTreeGroupCheckbox",
4788
4788
  inheritAttrs: !1,
4789
4789
  __name: "st-tree-group-checkbox",
4790
+ props: {
4791
+ boxClass: { type: [
4792
+ Boolean,
4793
+ null,
4794
+ String,
4795
+ Object,
4796
+ Array
4797
+ ] },
4798
+ boxStyle: { type: [
4799
+ Boolean,
4800
+ null,
4801
+ String,
4802
+ Object,
4803
+ Array
4804
+ ] },
4805
+ coreClass: { type: [
4806
+ Boolean,
4807
+ null,
4808
+ String,
4809
+ Object,
4810
+ Array
4811
+ ] },
4812
+ coreStyle: { type: [
4813
+ Boolean,
4814
+ null,
4815
+ String,
4816
+ Object,
4817
+ Array
4818
+ ] }
4819
+ },
4790
4820
  emits: ["change"],
4791
4821
  setup(e, { emit: t }) {
4792
4822
  let n = J();
4793
4823
  X();
4794
- let r = t, i = Vn(), a = Un(), o = O(() => a?.value.value), s = O(() => a?.disabled.value ?? !1), c = O(() => i?.indeterminateKeys.value.has(o.value) ?? !1), l = O({
4795
- get: () => i?.selectedKeys.value.includes(o.value) ? o.value : !1,
4824
+ let r = t, i = e, a = Vn(), o = Un(), s = O(() => o?.value.value), c = O(() => o?.disabled.value ?? !1), l = O(() => a?.indeterminateKeys.value.has(s.value) ?? !1), u = O({
4825
+ get: () => a?.selectedKeys.value.includes(s.value) ? s.value : !1,
4796
4826
  set: () => {
4797
- a && i?.toggleChecked(a.value.value);
4827
+ o && a?.toggleChecked(o.value.value);
4798
4828
  }
4799
4829
  });
4800
- function u(e) {
4830
+ function d(e) {
4801
4831
  r("change", e);
4802
4832
  }
4803
4833
  return (e, t) => (H(), j("span", {
4804
4834
  class: "st-tree-group-checkbox inline-flex",
4805
4835
  onClick: t[1] ||= Te(() => {}, ["stop"])
4806
4836
  }, [F(tr, {
4807
- modelValue: l.value,
4808
- "onUpdate:modelValue": t[0] ||= (e) => l.value = e,
4837
+ modelValue: u.value,
4838
+ "onUpdate:modelValue": t[0] ||= (e) => u.value = e,
4839
+ "box-class": i.boxClass,
4840
+ "box-style": i.boxStyle,
4809
4841
  class: B(q(n).class),
4810
- disabled: s.value,
4811
- indeterminate: c.value,
4842
+ "core-class": i.coreClass,
4843
+ "core-style": i.coreStyle,
4844
+ disabled: c.value,
4845
+ indeterminate: l.value,
4812
4846
  style: V(q(n).style),
4813
- "true-value": o.value,
4814
- onChange: u
4847
+ "true-value": s.value,
4848
+ onChange: d
4815
4849
  }, null, 8, [
4816
4850
  "modelValue",
4851
+ "box-class",
4852
+ "box-style",
4817
4853
  "class",
4854
+ "core-class",
4855
+ "core-style",
4818
4856
  "disabled",
4819
4857
  "indeterminate",
4820
4858
  "style",
@@ -4907,6 +4945,132 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4907
4945
  String,
4908
4946
  Object,
4909
4947
  Array
4948
+ ] },
4949
+ nodeClass: { type: [
4950
+ Boolean,
4951
+ null,
4952
+ String,
4953
+ Object,
4954
+ Array
4955
+ ] },
4956
+ nodeStyle: { type: [
4957
+ Boolean,
4958
+ null,
4959
+ String,
4960
+ Object,
4961
+ Array
4962
+ ] },
4963
+ arrowAddonClass: { type: [
4964
+ Boolean,
4965
+ null,
4966
+ String,
4967
+ Object,
4968
+ Array
4969
+ ] },
4970
+ arrowAddonStyle: { type: [
4971
+ Boolean,
4972
+ null,
4973
+ String,
4974
+ Object,
4975
+ Array
4976
+ ] },
4977
+ checkboxAddonClass: { type: [
4978
+ Boolean,
4979
+ null,
4980
+ String,
4981
+ Object,
4982
+ Array
4983
+ ] },
4984
+ checkboxAddonStyle: { type: [
4985
+ Boolean,
4986
+ null,
4987
+ String,
4988
+ Object,
4989
+ Array
4990
+ ] },
4991
+ checkboxClass: { type: [
4992
+ Boolean,
4993
+ null,
4994
+ String,
4995
+ Object,
4996
+ Array
4997
+ ] },
4998
+ checkboxStyle: { type: [
4999
+ Boolean,
5000
+ null,
5001
+ String,
5002
+ Object,
5003
+ Array
5004
+ ] },
5005
+ checkboxBoxClass: { type: [
5006
+ Boolean,
5007
+ null,
5008
+ String,
5009
+ Object,
5010
+ Array
5011
+ ] },
5012
+ checkboxBoxStyle: { type: [
5013
+ Boolean,
5014
+ null,
5015
+ String,
5016
+ Object,
5017
+ Array
5018
+ ] },
5019
+ checkboxCoreClass: { type: [
5020
+ Boolean,
5021
+ null,
5022
+ String,
5023
+ Object,
5024
+ Array
5025
+ ] },
5026
+ checkboxCoreStyle: { type: [
5027
+ Boolean,
5028
+ null,
5029
+ String,
5030
+ Object,
5031
+ Array
5032
+ ] },
5033
+ actionAddonClass: { type: [
5034
+ Boolean,
5035
+ null,
5036
+ String,
5037
+ Object,
5038
+ Array
5039
+ ] },
5040
+ actionAddonStyle: { type: [
5041
+ Boolean,
5042
+ null,
5043
+ String,
5044
+ Object,
5045
+ Array
5046
+ ] },
5047
+ childrenClass: { type: [
5048
+ Boolean,
5049
+ null,
5050
+ String,
5051
+ Object,
5052
+ Array
5053
+ ] },
5054
+ childrenStyle: { type: [
5055
+ Boolean,
5056
+ null,
5057
+ String,
5058
+ Object,
5059
+ Array
5060
+ ] },
5061
+ subGroupClass: { type: [
5062
+ Boolean,
5063
+ null,
5064
+ String,
5065
+ Object,
5066
+ Array
5067
+ ] },
5068
+ subGroupStyle: { type: [
5069
+ Boolean,
5070
+ null,
5071
+ String,
5072
+ Object,
5073
+ Array
4910
5074
  ] }
4911
5075
  },
4912
5076
  setup(e, { emit: t }) {
@@ -4914,18 +5078,24 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4914
5078
  return (e, t) => {
4915
5079
  let r = pe("st-tree-node", !0);
4916
5080
  return H(), k(ar, {
5081
+ class: B(a.subGroupClass),
4917
5082
  disabled: m.value,
4918
5083
  indent: a.indent,
5084
+ style: V(a.subGroupStyle),
4919
5085
  value: o.value
4920
5086
  }, {
4921
5087
  default: $(() => [F(Gn, {
4922
- class: B(["st-tree-node", q(n).class]),
5088
+ class: B(["st-tree-node", [a.nodeClass, q(n).class]]),
4923
5089
  disabled: m.value,
4924
- style: V(q(n).style),
5090
+ style: V([a.nodeStyle, q(n).style]),
4925
5091
  value: o.value
4926
5092
  }, {
4927
5093
  default: $(() => [
4928
- F(nn, { align: "inline-start" }, {
5094
+ F(nn, {
5095
+ class: B(["st-tree-arrow-addon", a.arrowAddonClass]),
5096
+ style: V(a.arrowAddonStyle),
5097
+ align: "inline-start"
5098
+ }, {
4929
5099
  default: $(() => [F(Kn, {
4930
5100
  class: B(a.arrowClass),
4931
5101
  style: V(a.arrowStyle)
@@ -4934,14 +5104,30 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4934
5104
  _: 3
4935
5105
  }, 8, ["class", "style"])]),
4936
5106
  _: 3
4937
- }),
5107
+ }, 8, ["class", "style"]),
4938
5108
  l.value ? (H(), k(nn, {
4939
5109
  key: 0,
5110
+ class: B(["st-tree-checkbox-addon", a.checkboxAddonClass]),
5111
+ style: V(a.checkboxAddonStyle),
4940
5112
  align: "inline-start"
4941
5113
  }, {
4942
- default: $(() => [F(nr)]),
5114
+ default: $(() => [F(nr, {
5115
+ "box-class": a.checkboxBoxClass,
5116
+ "box-style": a.checkboxBoxStyle,
5117
+ class: B(a.checkboxClass),
5118
+ "core-class": a.checkboxCoreClass,
5119
+ "core-style": a.checkboxCoreStyle,
5120
+ style: V(a.checkboxStyle)
5121
+ }, null, 8, [
5122
+ "box-class",
5123
+ "box-style",
5124
+ "class",
5125
+ "core-class",
5126
+ "core-style",
5127
+ "style"
5128
+ ])]),
4943
5129
  _: 1
4944
- })) : A("", !0),
5130
+ }, 8, ["class", "style"])) : A("", !0),
4945
5131
  F(qn, {
4946
5132
  class: B(a.labelClass),
4947
5133
  style: V(a.labelStyle)
@@ -4951,11 +5137,13 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4951
5137
  }, 8, ["class", "style"]),
4952
5138
  u.value ? (H(), k(nn, {
4953
5139
  key: 1,
5140
+ class: B(["st-tree-action-addon", a.actionAddonClass]),
5141
+ style: V(a.actionAddonStyle),
4954
5142
  align: "inline-end"
4955
5143
  }, {
4956
5144
  default: $(() => [G(e.$slots, "action", { item: a.node })]),
4957
5145
  _: 3
4958
- })) : A("", !0)
5146
+ }, 8, ["class", "style"])) : A("", !0)
4959
5147
  ]),
4960
5148
  _: 3
4961
5149
  }, 8, [
@@ -4963,7 +5151,11 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4963
5151
  "disabled",
4964
5152
  "style",
4965
5153
  "value"
4966
- ]), p.value ? (H(), k(ir, { key: 0 }, {
5154
+ ]), p.value ? (H(), k(ir, {
5155
+ key: 0,
5156
+ class: B(a.childrenClass),
5157
+ style: V(a.childrenStyle)
5158
+ }, {
4967
5159
  default: $(() => [(H(!0), j(E, null, W(c.value, (t) => (H(), k(r, R({ ref_for: !0 }, a, {
4968
5160
  key: t[a.valueKey],
4969
5161
  node: t
@@ -4972,11 +5164,13 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
4972
5164
  fn: $((n) => [G(e.$slots, t, R({ ref_for: !0 }, n))])
4973
5165
  }))]), 1040, ["node"]))), 128))]),
4974
5166
  _: 3
4975
- })) : A("", !0)]),
5167
+ }, 8, ["class", "style"])) : A("", !0)]),
4976
5168
  _: 3
4977
5169
  }, 8, [
5170
+ "class",
4978
5171
  "disabled",
4979
5172
  "indent",
5173
+ "style",
4980
5174
  "value"
4981
5175
  ]);
4982
5176
  };
@@ -5152,6 +5346,132 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
5152
5346
  String,
5153
5347
  Object,
5154
5348
  Array
5349
+ ] },
5350
+ nodeClass: { type: [
5351
+ Boolean,
5352
+ null,
5353
+ String,
5354
+ Object,
5355
+ Array
5356
+ ] },
5357
+ nodeStyle: { type: [
5358
+ Boolean,
5359
+ null,
5360
+ String,
5361
+ Object,
5362
+ Array
5363
+ ] },
5364
+ arrowAddonClass: { type: [
5365
+ Boolean,
5366
+ null,
5367
+ String,
5368
+ Object,
5369
+ Array
5370
+ ] },
5371
+ arrowAddonStyle: { type: [
5372
+ Boolean,
5373
+ null,
5374
+ String,
5375
+ Object,
5376
+ Array
5377
+ ] },
5378
+ checkboxAddonClass: { type: [
5379
+ Boolean,
5380
+ null,
5381
+ String,
5382
+ Object,
5383
+ Array
5384
+ ] },
5385
+ checkboxAddonStyle: { type: [
5386
+ Boolean,
5387
+ null,
5388
+ String,
5389
+ Object,
5390
+ Array
5391
+ ] },
5392
+ checkboxClass: { type: [
5393
+ Boolean,
5394
+ null,
5395
+ String,
5396
+ Object,
5397
+ Array
5398
+ ] },
5399
+ checkboxStyle: { type: [
5400
+ Boolean,
5401
+ null,
5402
+ String,
5403
+ Object,
5404
+ Array
5405
+ ] },
5406
+ checkboxBoxClass: { type: [
5407
+ Boolean,
5408
+ null,
5409
+ String,
5410
+ Object,
5411
+ Array
5412
+ ] },
5413
+ checkboxBoxStyle: { type: [
5414
+ Boolean,
5415
+ null,
5416
+ String,
5417
+ Object,
5418
+ Array
5419
+ ] },
5420
+ checkboxCoreClass: { type: [
5421
+ Boolean,
5422
+ null,
5423
+ String,
5424
+ Object,
5425
+ Array
5426
+ ] },
5427
+ checkboxCoreStyle: { type: [
5428
+ Boolean,
5429
+ null,
5430
+ String,
5431
+ Object,
5432
+ Array
5433
+ ] },
5434
+ actionAddonClass: { type: [
5435
+ Boolean,
5436
+ null,
5437
+ String,
5438
+ Object,
5439
+ Array
5440
+ ] },
5441
+ actionAddonStyle: { type: [
5442
+ Boolean,
5443
+ null,
5444
+ String,
5445
+ Object,
5446
+ Array
5447
+ ] },
5448
+ childrenClass: { type: [
5449
+ Boolean,
5450
+ null,
5451
+ String,
5452
+ Object,
5453
+ Array
5454
+ ] },
5455
+ childrenStyle: { type: [
5456
+ Boolean,
5457
+ null,
5458
+ String,
5459
+ Object,
5460
+ Array
5461
+ ] },
5462
+ subGroupClass: { type: [
5463
+ Boolean,
5464
+ null,
5465
+ String,
5466
+ Object,
5467
+ Array
5468
+ ] },
5469
+ subGroupStyle: { type: [
5470
+ Boolean,
5471
+ null,
5472
+ String,
5473
+ Object,
5474
+ Array
5155
5475
  ] }
5156
5476
  }, {
5157
5477
  modelValue: {},
@@ -5315,7 +5635,25 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
5315
5635
  default: $(() => [x.value.length > 0 ? (H(!0), j(E, { key: 0 }, W(x.value, (t) => (H(), k(or, {
5316
5636
  "arrow-class": o.arrowClass,
5317
5637
  "arrow-style": o.arrowStyle,
5638
+ "action-addon-class": o.actionAddonClass,
5639
+ "action-addon-style": o.actionAddonStyle,
5640
+ "arrow-addon-class": o.arrowAddonClass,
5641
+ "arrow-addon-style": o.arrowAddonStyle,
5642
+ "checkbox-addon-class": o.checkboxAddonClass,
5643
+ "checkbox-addon-style": o.checkboxAddonStyle,
5644
+ "checkbox-box-class": o.checkboxBoxClass,
5645
+ "checkbox-box-style": o.checkboxBoxStyle,
5646
+ "checkbox-class": o.checkboxClass,
5647
+ "checkbox-core-class": o.checkboxCoreClass,
5648
+ "checkbox-core-style": o.checkboxCoreStyle,
5649
+ "checkbox-style": o.checkboxStyle,
5650
+ "children-class": o.childrenClass,
5318
5651
  "children-key": o.childrenKey,
5652
+ "children-style": o.childrenStyle,
5653
+ "node-class": o.nodeClass,
5654
+ "node-style": o.nodeStyle,
5655
+ "sub-group-class": o.subGroupClass,
5656
+ "sub-group-style": o.subGroupStyle,
5319
5657
  indent: o.indent,
5320
5658
  key: g(t),
5321
5659
  "label-class": o.labelClass,
@@ -5326,17 +5664,7 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
5326
5664
  }, N({ _: 2 }, [W(h.value, (t) => ({
5327
5665
  name: t,
5328
5666
  fn: $((n) => [G(e.$slots, t, R({ ref_for: !0 }, n))])
5329
- }))]), 1032, [
5330
- "arrow-class",
5331
- "arrow-style",
5332
- "children-key",
5333
- "indent",
5334
- "label-class",
5335
- "label-key",
5336
- "label-style",
5337
- "node",
5338
- "value-key"
5339
- ]))), 128)) : i.empty ? G(e.$slots, "empty", {}, void 0, void 0, 1) : (H(), k(ur, { key: 2 }))]),
5667
+ }))]), 1032, /* @__PURE__ */ "arrow-class.arrow-style.action-addon-class.action-addon-style.arrow-addon-class.arrow-addon-style.checkbox-addon-class.checkbox-addon-style.checkbox-box-class.checkbox-box-style.checkbox-class.checkbox-core-class.checkbox-core-style.checkbox-style.children-class.children-key.children-style.node-class.node-style.sub-group-class.sub-group-style.indent.label-class.label-key.label-style.node.value-key".split(".")))), 128)) : i.empty ? G(e.$slots, "empty", {}, void 0, void 0, 1) : (H(), k(ur, { key: 2 }))]),
5340
5668
  _: 3
5341
5669
  }, 8, [
5342
5670
  "modelValue",
@@ -11587,6 +11915,20 @@ var Xo = [
11587
11915
  String,
11588
11916
  Object,
11589
11917
  Array
11918
+ ] },
11919
+ shortcutsItemClass: { type: [
11920
+ Boolean,
11921
+ null,
11922
+ String,
11923
+ Object,
11924
+ Array
11925
+ ] },
11926
+ shortcutsItemStyle: { type: [
11927
+ Boolean,
11928
+ null,
11929
+ String,
11930
+ Object,
11931
+ Array
11590
11932
  ] }
11591
11933
  },
11592
11934
  emits: ["select"],
@@ -11597,15 +11939,16 @@ var Xo = [
11597
11939
  class: B(q(l)(i.value, n.class)),
11598
11940
  style: V(n.style)
11599
11941
  }, [(H(!0), j(E, null, W(n.shortcuts, (e) => (H(), j("button", {
11600
- class: B(q(Fo)({
11942
+ class: B(q(l)(q(Fo)({
11601
11943
  shape: n.shape,
11602
11944
  tone: n.isActive?.(e) ? "active" : "normal"
11603
- })),
11945
+ }), n.shortcutsItemClass)),
11604
11946
  disabled: n.disabled,
11605
11947
  key: e.label,
11948
+ style: V(n.shortcutsItemStyle),
11606
11949
  type: "button",
11607
11950
  onClick: (t) => r("select", e)
11608
- }, K(e.label), 11, ls))), 128))], 6)) : A("", !0);
11951
+ }, K(e.label), 15, ls))), 128))], 6)) : A("", !0);
11609
11952
  }
11610
11953
  }), ds = /* @__PURE__ */ I({
11611
11954
  name: "StPickerWeek",
@@ -11701,14 +12044,28 @@ var Xo = [
11701
12044
  Object,
11702
12045
  Array
11703
12046
  ] },
11704
- quickClass: { type: [
12047
+ shortcutsBodyClass: { type: [
12048
+ Boolean,
12049
+ null,
12050
+ String,
12051
+ Object,
12052
+ Array
12053
+ ] },
12054
+ shortcutsBodyStyle: { type: [
12055
+ Boolean,
12056
+ null,
12057
+ String,
12058
+ Object,
12059
+ Array
12060
+ ] },
12061
+ shortcutsItemClass: { type: [
11705
12062
  Boolean,
11706
12063
  null,
11707
12064
  String,
11708
12065
  Object,
11709
12066
  Array
11710
12067
  ] },
11711
- quickStyle: { type: [
12068
+ shortcutsItemStyle: { type: [
11712
12069
  Boolean,
11713
12070
  null,
11714
12071
  String,
@@ -11899,14 +12256,18 @@ var Xo = [
11899
12256
  }, [
11900
12257
  y.value.length > 0 ? (H(), k(us, {
11901
12258
  key: 0,
11902
- class: B(r.quickClass),
12259
+ class: B(r.shortcutsBodyClass),
11903
12260
  "is-active": P,
11904
12261
  shortcuts: y.value,
11905
- style: V(r.quickStyle),
12262
+ "shortcuts-item-class": r.shortcutsItemClass,
12263
+ "shortcuts-item-style": r.shortcutsItemStyle,
12264
+ style: V(r.shortcutsBodyStyle),
11906
12265
  onSelect: I
11907
12266
  }, null, 8, [
11908
12267
  "class",
11909
12268
  "shortcuts",
12269
+ "shortcuts-item-class",
12270
+ "shortcuts-item-style",
11910
12271
  "style"
11911
12272
  ])) : A("", !0),
11912
12273
  M("div", { class: B(r.range ? "flex" : "") }, [(H(!0), j(E, null, W(m.value, (n) => (H(), j("div", {
@@ -12145,14 +12506,28 @@ var hs = /* @__PURE__ */ I({
12145
12506
  Object,
12146
12507
  Array
12147
12508
  ] },
12148
- quickClass: { type: [
12509
+ shortcutsBodyClass: { type: [
12510
+ Boolean,
12511
+ null,
12512
+ String,
12513
+ Object,
12514
+ Array
12515
+ ] },
12516
+ shortcutsBodyStyle: { type: [
12149
12517
  Boolean,
12150
12518
  null,
12151
12519
  String,
12152
12520
  Object,
12153
12521
  Array
12154
12522
  ] },
12155
- quickStyle: { type: [
12523
+ shortcutsItemClass: { type: [
12524
+ Boolean,
12525
+ null,
12526
+ String,
12527
+ Object,
12528
+ Array
12529
+ ] },
12530
+ shortcutsItemStyle: { type: [
12156
12531
  Boolean,
12157
12532
  null,
12158
12533
  String,
@@ -12274,32 +12649,48 @@ var hs = /* @__PURE__ */ I({
12274
12649
  content: $(() => [F(fs, {
12275
12650
  ref_key: "panelRef",
12276
12651
  ref: u,
12652
+ class: B(i.panelClass),
12277
12653
  "disabled-date": i.disabledDate,
12654
+ "footer-class": i.footerClass,
12655
+ "footer-style": i.footerStyle,
12278
12656
  marks: i.marks,
12279
12657
  "max-date": m.value,
12280
12658
  "max-span": i.maxSpan,
12281
12659
  "min-date": p.value,
12660
+ "shortcuts-body-class": i.shortcutsBodyClass,
12661
+ "shortcuts-body-style": i.shortcutsBodyStyle,
12282
12662
  range: i.range,
12283
12663
  "range-value": f.value,
12284
12664
  shortcuts: i.shortcuts,
12665
+ "shortcuts-item-class": i.shortcutsItemClass,
12666
+ "shortcuts-item-style": i.shortcutsItemStyle,
12285
12667
  "show-clear": i.showClear,
12286
12668
  "show-footer": i.showFooter,
12669
+ style: V(i.panelStyle),
12287
12670
  value: d.value,
12288
12671
  onClear: ee,
12289
12672
  onRangePreview: D,
12290
12673
  onSelect: T,
12291
12674
  onSelectRange: E
12292
12675
  }, null, 8, [
12676
+ "class",
12293
12677
  "disabled-date",
12678
+ "footer-class",
12679
+ "footer-style",
12294
12680
  "marks",
12295
12681
  "max-date",
12296
12682
  "max-span",
12297
12683
  "min-date",
12684
+ "shortcuts-body-class",
12685
+ "shortcuts-body-style",
12298
12686
  "range",
12299
12687
  "range-value",
12300
12688
  "shortcuts",
12689
+ "shortcuts-item-class",
12690
+ "shortcuts-item-style",
12301
12691
  "show-clear",
12302
12692
  "show-footer",
12693
+ "style",
12303
12694
  "value"
12304
12695
  ])]),
12305
12696
  _: 3
@@ -12431,14 +12822,28 @@ var hs = /* @__PURE__ */ I({
12431
12822
  Object,
12432
12823
  Array
12433
12824
  ] },
12434
- quickClass: { type: [
12825
+ shortcutsBodyClass: { type: [
12435
12826
  Boolean,
12436
12827
  null,
12437
12828
  String,
12438
12829
  Object,
12439
12830
  Array
12440
12831
  ] },
12441
- quickStyle: { type: [
12832
+ shortcutsBodyStyle: { type: [
12833
+ Boolean,
12834
+ null,
12835
+ String,
12836
+ Object,
12837
+ Array
12838
+ ] },
12839
+ shortcutsItemClass: { type: [
12840
+ Boolean,
12841
+ null,
12842
+ String,
12843
+ Object,
12844
+ Array
12845
+ ] },
12846
+ shortcutsItemStyle: { type: [
12442
12847
  Boolean,
12443
12848
  null,
12444
12849
  String,
@@ -12597,7 +13002,8 @@ var hs = /* @__PURE__ */ I({
12597
13002
  "onUpdate:modelValue": t[3] ||= (e) => u.value = e,
12598
13003
  class: B(q(l)("h-auto", i.drawerClass)),
12599
13004
  closable: !1,
12600
- "content-class": q(l)("p-0", i.contentClass),
13005
+ "content-class": q(l)("p-0", i.contentClass, i.panelClass),
13006
+ "content-style": i.panelStyle,
12601
13007
  style: V(i.drawerStyle),
12602
13008
  title: b.value,
12603
13009
  placement: "bottom",
@@ -12624,15 +13030,19 @@ var hs = /* @__PURE__ */ I({
12624
13030
  default: $(() => [
12625
13031
  y.value.length > 0 ? (H(), k(us, {
12626
13032
  key: 0,
12627
- class: B(i.quickClass),
13033
+ class: B(i.shortcutsBodyClass),
12628
13034
  "is-active": re,
12629
13035
  shortcuts: y.value,
12630
- style: V(i.quickStyle),
13036
+ "shortcuts-item-class": i.shortcutsItemClass,
13037
+ "shortcuts-item-style": i.shortcutsItemStyle,
13038
+ style: V(i.shortcutsBodyStyle),
12631
13039
  shape: "block",
12632
13040
  onSelect: ie
12633
13041
  }, null, 8, [
12634
13042
  "class",
12635
13043
  "shortcuts",
13044
+ "shortcuts-item-class",
13045
+ "shortcuts-item-style",
12636
13046
  "style"
12637
13047
  ])) : A("", !0),
12638
13048
  M("div", _s, [
@@ -12703,6 +13113,7 @@ var hs = /* @__PURE__ */ I({
12703
13113
  "modelValue",
12704
13114
  "class",
12705
13115
  "content-class",
13116
+ "content-style",
12706
13117
  "style",
12707
13118
  "title"
12708
13119
  ])], 64));
@@ -12761,14 +13172,28 @@ var hs = /* @__PURE__ */ I({
12761
13172
  Object,
12762
13173
  Array
12763
13174
  ] },
12764
- quickClass: { type: [
13175
+ shortcutsBodyClass: { type: [
13176
+ Boolean,
13177
+ null,
13178
+ String,
13179
+ Object,
13180
+ Array
13181
+ ] },
13182
+ shortcutsBodyStyle: { type: [
13183
+ Boolean,
13184
+ null,
13185
+ String,
13186
+ Object,
13187
+ Array
13188
+ ] },
13189
+ shortcutsItemClass: { type: [
12765
13190
  Boolean,
12766
13191
  null,
12767
13192
  String,
12768
13193
  Object,
12769
13194
  Array
12770
13195
  ] },
12771
- quickStyle: { type: [
13196
+ shortcutsItemStyle: { type: [
12772
13197
  Boolean,
12773
13198
  null,
12774
13199
  String,
@@ -13233,14 +13658,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13233
13658
  Object,
13234
13659
  Array
13235
13660
  ] },
13236
- quickClass: { type: [
13661
+ shortcutsBodyClass: { type: [
13662
+ Boolean,
13663
+ null,
13664
+ String,
13665
+ Object,
13666
+ Array
13667
+ ] },
13668
+ shortcutsBodyStyle: { type: [
13669
+ Boolean,
13670
+ null,
13671
+ String,
13672
+ Object,
13673
+ Array
13674
+ ] },
13675
+ shortcutsItemClass: { type: [
13237
13676
  Boolean,
13238
13677
  null,
13239
13678
  String,
13240
13679
  Object,
13241
13680
  Array
13242
13681
  ] },
13243
- quickStyle: { type: [
13682
+ shortcutsItemStyle: { type: [
13244
13683
  Boolean,
13245
13684
  null,
13246
13685
  String,
@@ -13397,14 +13836,18 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13397
13836
  }, [
13398
13837
  _.value.length > 0 ? (H(), k(us, {
13399
13838
  key: 0,
13400
- class: B(r.quickClass),
13839
+ class: B(r.shortcutsBodyClass),
13401
13840
  "is-active": ee,
13402
13841
  shortcuts: _.value,
13403
- style: V(r.quickStyle),
13842
+ "shortcuts-item-class": r.shortcutsItemClass,
13843
+ "shortcuts-item-style": r.shortcutsItemStyle,
13844
+ style: V(r.shortcutsBodyStyle),
13404
13845
  onSelect: te
13405
13846
  }, null, 8, [
13406
13847
  "class",
13407
13848
  "shortcuts",
13849
+ "shortcuts-item-class",
13850
+ "shortcuts-item-style",
13408
13851
  "style"
13409
13852
  ])) : A("", !0),
13410
13853
  r.range ? (H(), j("div", Ns, [(H(), j(E, null, W(["start", "end"], (e) => M("div", {
@@ -13558,14 +14001,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13558
14001
  Object,
13559
14002
  Array
13560
14003
  ] },
13561
- quickClass: { type: [
14004
+ shortcutsBodyClass: { type: [
14005
+ Boolean,
14006
+ null,
14007
+ String,
14008
+ Object,
14009
+ Array
14010
+ ] },
14011
+ shortcutsBodyStyle: { type: [
14012
+ Boolean,
14013
+ null,
14014
+ String,
14015
+ Object,
14016
+ Array
14017
+ ] },
14018
+ shortcutsItemClass: { type: [
13562
14019
  Boolean,
13563
14020
  null,
13564
14021
  String,
13565
14022
  Object,
13566
14023
  Array
13567
14024
  ] },
13568
- quickStyle: { type: [
14025
+ shortcutsItemStyle: { type: [
13569
14026
  Boolean,
13570
14027
  null,
13571
14028
  String,
@@ -13708,24 +14165,30 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13708
14165
  content: $(() => [F(Ps, {
13709
14166
  ref_key: "panelRef",
13710
14167
  ref: u,
14168
+ class: B(i.panelClass),
13711
14169
  date: i.date,
13712
14170
  disabled: i.disabled,
13713
14171
  "disabled-time": i.disabledTime,
14172
+ "footer-class": i.footerClass,
14173
+ "footer-style": i.footerStyle,
13714
14174
  "hour-step": i.hourStep,
13715
14175
  labels: i.labels,
13716
14176
  "max-time": i.maxTime,
13717
14177
  "min-time": i.minTime,
13718
14178
  "minute-step": i.minuteStep,
13719
- "quick-class": i.quickClass,
13720
- "quick-style": i.quickStyle,
14179
+ "shortcuts-body-class": i.shortcutsBodyClass,
14180
+ "shortcuts-body-style": i.shortcutsBodyStyle,
13721
14181
  range: i.range,
13722
14182
  "range-value": f.value,
13723
14183
  "second-step": i.secondStep,
13724
14184
  shortcuts: i.shortcuts,
14185
+ "shortcuts-item-class": i.shortcutsItemClass,
14186
+ "shortcuts-item-style": i.shortcutsItemStyle,
13725
14187
  "show-clear": i.showClear,
13726
14188
  "show-hour": i.showHour,
13727
14189
  "show-minute": i.showMinute,
13728
14190
  "show-second": i.showSecond,
14191
+ style: V(i.panelStyle),
13729
14192
  value: d.value,
13730
14193
  onClear: j,
13731
14194
  onConfirm: te,
@@ -13734,24 +14197,30 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13734
14197
  onShortcut: D,
13735
14198
  onShortcutRange: ee
13736
14199
  }, null, 8, [
14200
+ "class",
13737
14201
  "date",
13738
14202
  "disabled",
13739
14203
  "disabled-time",
14204
+ "footer-class",
14205
+ "footer-style",
13740
14206
  "hour-step",
13741
14207
  "labels",
13742
14208
  "max-time",
13743
14209
  "min-time",
13744
14210
  "minute-step",
13745
- "quick-class",
13746
- "quick-style",
14211
+ "shortcuts-body-class",
14212
+ "shortcuts-body-style",
13747
14213
  "range",
13748
14214
  "range-value",
13749
14215
  "second-step",
13750
14216
  "shortcuts",
14217
+ "shortcuts-item-class",
14218
+ "shortcuts-item-style",
13751
14219
  "show-clear",
13752
14220
  "show-hour",
13753
14221
  "show-minute",
13754
14222
  "show-second",
14223
+ "style",
13755
14224
  "value"
13756
14225
  ])]),
13757
14226
  _: 3
@@ -14058,14 +14527,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14058
14527
  Object,
14059
14528
  Array
14060
14529
  ] },
14061
- quickClass: { type: [
14530
+ shortcutsBodyClass: { type: [
14531
+ Boolean,
14532
+ null,
14533
+ String,
14534
+ Object,
14535
+ Array
14536
+ ] },
14537
+ shortcutsBodyStyle: { type: [
14538
+ Boolean,
14539
+ null,
14540
+ String,
14541
+ Object,
14542
+ Array
14543
+ ] },
14544
+ shortcutsItemClass: { type: [
14062
14545
  Boolean,
14063
14546
  null,
14064
14547
  String,
14065
14548
  Object,
14066
14549
  Array
14067
14550
  ] },
14068
- quickStyle: { type: [
14551
+ shortcutsItemStyle: { type: [
14069
14552
  Boolean,
14070
14553
  null,
14071
14554
  String,
@@ -14296,7 +14779,8 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14296
14779
  "onUpdate:modelValue": t[1] ||= (e) => c.value = e,
14297
14780
  class: B(q(l)("h-auto", i.drawerClass)),
14298
14781
  closable: !1,
14299
- "content-class": q(l)("p-0", i.contentClass),
14782
+ "content-class": q(l)("p-0", i.contentClass, i.panelClass),
14783
+ "content-style": i.panelStyle,
14300
14784
  style: V(i.drawerStyle),
14301
14785
  title: w.value,
14302
14786
  placement: "bottom",
@@ -14322,15 +14806,19 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14322
14806
  ])]),
14323
14807
  default: $(() => [x.value.length > 0 ? (H(), k(us, {
14324
14808
  key: 0,
14325
- class: B(i.quickClass),
14809
+ class: B(i.shortcutsBodyClass),
14326
14810
  "is-active": ce,
14327
14811
  shortcuts: x.value,
14328
- style: V(i.quickStyle),
14812
+ "shortcuts-item-class": i.shortcutsItemClass,
14813
+ "shortcuts-item-style": i.shortcutsItemStyle,
14814
+ style: V(i.shortcutsBodyStyle),
14329
14815
  shape: "block",
14330
14816
  onSelect: le
14331
14817
  }, null, 8, [
14332
14818
  "class",
14333
14819
  "shortcuts",
14820
+ "shortcuts-item-class",
14821
+ "shortcuts-item-style",
14334
14822
  "style"
14335
14823
  ])) : A("", !0), F(Ws, {
14336
14824
  class: "px-4",
@@ -14364,6 +14852,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14364
14852
  "modelValue",
14365
14853
  "class",
14366
14854
  "content-class",
14855
+ "content-style",
14367
14856
  "style",
14368
14857
  "title"
14369
14858
  ])], 64));
@@ -14427,14 +14916,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14427
14916
  Object,
14428
14917
  Array
14429
14918
  ] },
14430
- quickClass: { type: [
14919
+ shortcutsBodyClass: { type: [
14920
+ Boolean,
14921
+ null,
14922
+ String,
14923
+ Object,
14924
+ Array
14925
+ ] },
14926
+ shortcutsBodyStyle: { type: [
14431
14927
  Boolean,
14432
14928
  null,
14433
14929
  String,
14434
14930
  Object,
14435
14931
  Array
14436
14932
  ] },
14437
- quickStyle: { type: [
14933
+ shortcutsItemClass: { type: [
14934
+ Boolean,
14935
+ null,
14936
+ String,
14937
+ Object,
14938
+ Array
14939
+ ] },
14940
+ shortcutsItemStyle: { type: [
14438
14941
  Boolean,
14439
14942
  null,
14440
14943
  String,
@@ -14619,14 +15122,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14619
15122
  Object,
14620
15123
  Array
14621
15124
  ] },
14622
- quickClass: { type: [
15125
+ shortcutsBodyClass: { type: [
15126
+ Boolean,
15127
+ null,
15128
+ String,
15129
+ Object,
15130
+ Array
15131
+ ] },
15132
+ shortcutsBodyStyle: { type: [
15133
+ Boolean,
15134
+ null,
15135
+ String,
15136
+ Object,
15137
+ Array
15138
+ ] },
15139
+ shortcutsItemClass: { type: [
14623
15140
  Boolean,
14624
15141
  null,
14625
15142
  String,
14626
15143
  Object,
14627
15144
  Array
14628
15145
  ] },
14629
- quickStyle: { type: [
15146
+ shortcutsItemStyle: { type: [
14630
15147
  Boolean,
14631
15148
  null,
14632
15149
  String,
@@ -14761,14 +15278,18 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14761
15278
  }, [
14762
15279
  g.value.length > 0 ? (H(), k(us, {
14763
15280
  key: 0,
14764
- class: B(r.quickClass),
15281
+ class: B(r.shortcutsBodyClass),
14765
15282
  "is-active": N,
14766
15283
  shortcuts: g.value,
14767
- style: V(r.quickStyle),
15284
+ "shortcuts-item-class": r.shortcutsItemClass,
15285
+ "shortcuts-item-style": r.shortcutsItemStyle,
15286
+ style: V(r.shortcutsBodyStyle),
14768
15287
  onSelect: P
14769
15288
  }, null, 8, [
14770
15289
  "class",
14771
15290
  "shortcuts",
15291
+ "shortcuts-item-class",
15292
+ "shortcuts-item-style",
14772
15293
  "style"
14773
15294
  ])) : A("", !0),
14774
15295
  F(fs, {
@@ -14968,14 +15489,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14968
15489
  Object,
14969
15490
  Array
14970
15491
  ] },
14971
- quickClass: { type: [
15492
+ shortcutsBodyClass: { type: [
15493
+ Boolean,
15494
+ null,
15495
+ String,
15496
+ Object,
15497
+ Array
15498
+ ] },
15499
+ shortcutsBodyStyle: { type: [
14972
15500
  Boolean,
14973
15501
  null,
14974
15502
  String,
14975
15503
  Object,
14976
15504
  Array
14977
15505
  ] },
14978
- quickStyle: { type: [
15506
+ shortcutsItemClass: { type: [
15507
+ Boolean,
15508
+ null,
15509
+ String,
15510
+ Object,
15511
+ Array
15512
+ ] },
15513
+ shortcutsItemStyle: { type: [
14979
15514
  Boolean,
14980
15515
  null,
14981
15516
  String,
@@ -15114,6 +15649,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15114
15649
  ref_key: "panelRef",
15115
15650
  ref: u,
15116
15651
  "cell-size": d.value.cellSize,
15652
+ class: B(i.panelClass),
15117
15653
  "confirm-text": i.confirmText,
15118
15654
  "date-text": i.dateText,
15119
15655
  disabled: i.disabled,
@@ -15130,17 +15666,20 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15130
15666
  "min-date": d.value.minDate,
15131
15667
  "min-time": f.value.minTime,
15132
15668
  "minute-step": f.value.minuteStep,
15133
- "quick-class": i.quickClass,
15134
- "quick-style": i.quickStyle,
15669
+ "shortcuts-body-class": i.shortcutsBodyClass,
15670
+ "shortcuts-body-style": i.shortcutsBodyStyle,
15135
15671
  range: i.range,
15136
15672
  "range-value": m.value,
15137
15673
  "second-step": f.value.secondStep,
15138
15674
  shortcuts: i.shortcuts,
15675
+ "shortcuts-item-class": i.shortcutsItemClass,
15676
+ "shortcuts-item-style": i.shortcutsItemStyle,
15139
15677
  "show-clear": i.showClear,
15140
15678
  "show-footer": i.showFooter,
15141
15679
  "show-hour": f.value.showHour,
15142
15680
  "show-minute": f.value.showMinute,
15143
15681
  "show-second": f.value.showSecond,
15682
+ style: V(i.panelStyle),
15144
15683
  "time-format": f.value.format,
15145
15684
  "time-size": f.value.timeSize,
15146
15685
  "time-text": i.timeText,
@@ -15148,7 +15687,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15148
15687
  onClear: D,
15149
15688
  onConfirm: T,
15150
15689
  onConfirmRange: E
15151
- }, null, 8, /* @__PURE__ */ "cell-size.confirm-text.date-text.disabled.disabled-date.disabled-time.footer-class.footer-style.format.hour-step.marks.max-date.max-span.max-time.min-date.min-time.minute-step.quick-class.quick-style.range.range-value.second-step.shortcuts.show-clear.show-footer.show-hour.show-minute.show-second.time-format.time-size.time-text.value".split("."))]),
15690
+ }, null, 8, /* @__PURE__ */ "cell-size.class.confirm-text.date-text.disabled.disabled-date.disabled-time.footer-class.footer-style.format.hour-step.marks.max-date.max-span.max-time.min-date.min-time.minute-step.shortcuts-body-class.shortcuts-body-style.range.range-value.second-step.shortcuts.shortcuts-item-class.shortcuts-item-style.show-clear.show-footer.show-hour.show-minute.show-second.style.time-format.time-size.time-text.value".split("."))]),
15152
15691
  _: 3
15153
15692
  }, 8, [
15154
15693
  "visible",
@@ -15239,14 +15778,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15239
15778
  Object,
15240
15779
  Array
15241
15780
  ] },
15242
- quickClass: { type: [
15781
+ shortcutsBodyClass: { type: [
15782
+ Boolean,
15783
+ null,
15784
+ String,
15785
+ Object,
15786
+ Array
15787
+ ] },
15788
+ shortcutsBodyStyle: { type: [
15789
+ Boolean,
15790
+ null,
15791
+ String,
15792
+ Object,
15793
+ Array
15794
+ ] },
15795
+ shortcutsItemClass: { type: [
15243
15796
  Boolean,
15244
15797
  null,
15245
15798
  String,
15246
15799
  Object,
15247
15800
  Array
15248
15801
  ] },
15249
- quickStyle: { type: [
15802
+ shortcutsItemStyle: { type: [
15250
15803
  Boolean,
15251
15804
  null,
15252
15805
  String,
@@ -15477,7 +16030,8 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15477
16030
  "onUpdate:modelValue": t[3] ||= (e) => d.value = e,
15478
16031
  class: B(q(l)("h-auto", i.drawerClass)),
15479
16032
  closable: !1,
15480
- "content-class": q(l)("p-0", i.contentClass),
16033
+ "content-class": q(l)("p-0", i.contentClass, i.panelClass),
16034
+ "content-style": i.panelStyle,
15481
16035
  style: V(i.drawerStyle),
15482
16036
  title: I.value,
15483
16037
  placement: "bottom",
@@ -15510,15 +16064,19 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15510
16064
  default: $(() => [
15511
16065
  f.value === "date" && ee.value.length > 0 ? (H(), k(us, {
15512
16066
  key: 0,
15513
- class: B(i.quickClass),
16067
+ class: B(i.shortcutsBodyClass),
15514
16068
  "is-active": ge,
15515
16069
  shortcuts: ee.value,
15516
- style: V(i.quickStyle),
16070
+ "shortcuts-item-class": i.shortcutsItemClass,
16071
+ "shortcuts-item-style": i.shortcutsItemStyle,
16072
+ style: V(i.shortcutsBodyStyle),
15517
16073
  shape: "block",
15518
16074
  onSelect: _e
15519
16075
  }, null, 8, [
15520
16076
  "class",
15521
16077
  "shortcuts",
16078
+ "shortcuts-item-class",
16079
+ "shortcuts-item-style",
15522
16080
  "style"
15523
16081
  ])) : A("", !0),
15524
16082
  f.value === "time" && te.value.length > 0 ? (H(), k(us, {
@@ -15591,6 +16149,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15591
16149
  "modelValue",
15592
16150
  "class",
15593
16151
  "content-class",
16152
+ "content-style",
15594
16153
  "style",
15595
16154
  "title"
15596
16155
  ])], 64));
@@ -15649,14 +16208,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15649
16208
  Object,
15650
16209
  Array
15651
16210
  ] },
15652
- quickClass: { type: [
16211
+ shortcutsBodyClass: { type: [
16212
+ Boolean,
16213
+ null,
16214
+ String,
16215
+ Object,
16216
+ Array
16217
+ ] },
16218
+ shortcutsBodyStyle: { type: [
16219
+ Boolean,
16220
+ null,
16221
+ String,
16222
+ Object,
16223
+ Array
16224
+ ] },
16225
+ shortcutsItemClass: { type: [
15653
16226
  Boolean,
15654
16227
  null,
15655
16228
  String,
15656
16229
  Object,
15657
16230
  Array
15658
16231
  ] },
15659
- quickStyle: { type: [
16232
+ shortcutsItemStyle: { type: [
15660
16233
  Boolean,
15661
16234
  null,
15662
16235
  String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "straw-ui-vue",
3
- "version": "0.1.62",
3
+ "version": "0.1.64",
4
4
  "type": "module",
5
5
  "main": "./dist/straw-ui.js",
6
6
  "module": "./dist/straw-ui.js",