straw-ui-vue 0.1.63 → 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
  /** 面板底部工具条样式 */
package/dist/straw-ui.js CHANGED
@@ -11915,6 +11915,20 @@ var Xo = [
11915
11915
  String,
11916
11916
  Object,
11917
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
11918
11932
  ] }
11919
11933
  },
11920
11934
  emits: ["select"],
@@ -11925,15 +11939,16 @@ var Xo = [
11925
11939
  class: B(q(l)(i.value, n.class)),
11926
11940
  style: V(n.style)
11927
11941
  }, [(H(!0), j(E, null, W(n.shortcuts, (e) => (H(), j("button", {
11928
- class: B(q(Fo)({
11942
+ class: B(q(l)(q(Fo)({
11929
11943
  shape: n.shape,
11930
11944
  tone: n.isActive?.(e) ? "active" : "normal"
11931
- })),
11945
+ }), n.shortcutsItemClass)),
11932
11946
  disabled: n.disabled,
11933
11947
  key: e.label,
11948
+ style: V(n.shortcutsItemStyle),
11934
11949
  type: "button",
11935
11950
  onClick: (t) => r("select", e)
11936
- }, K(e.label), 11, ls))), 128))], 6)) : A("", !0);
11951
+ }, K(e.label), 15, ls))), 128))], 6)) : A("", !0);
11937
11952
  }
11938
11953
  }), ds = /* @__PURE__ */ I({
11939
11954
  name: "StPickerWeek",
@@ -12029,14 +12044,28 @@ var Xo = [
12029
12044
  Object,
12030
12045
  Array
12031
12046
  ] },
12032
- quickClass: { type: [
12047
+ shortcutsBodyClass: { type: [
12033
12048
  Boolean,
12034
12049
  null,
12035
12050
  String,
12036
12051
  Object,
12037
12052
  Array
12038
12053
  ] },
12039
- quickStyle: { type: [
12054
+ shortcutsBodyStyle: { type: [
12055
+ Boolean,
12056
+ null,
12057
+ String,
12058
+ Object,
12059
+ Array
12060
+ ] },
12061
+ shortcutsItemClass: { type: [
12062
+ Boolean,
12063
+ null,
12064
+ String,
12065
+ Object,
12066
+ Array
12067
+ ] },
12068
+ shortcutsItemStyle: { type: [
12040
12069
  Boolean,
12041
12070
  null,
12042
12071
  String,
@@ -12227,14 +12256,18 @@ var Xo = [
12227
12256
  }, [
12228
12257
  y.value.length > 0 ? (H(), k(us, {
12229
12258
  key: 0,
12230
- class: B(r.quickClass),
12259
+ class: B(r.shortcutsBodyClass),
12231
12260
  "is-active": P,
12232
12261
  shortcuts: y.value,
12233
- style: V(r.quickStyle),
12262
+ "shortcuts-item-class": r.shortcutsItemClass,
12263
+ "shortcuts-item-style": r.shortcutsItemStyle,
12264
+ style: V(r.shortcutsBodyStyle),
12234
12265
  onSelect: I
12235
12266
  }, null, 8, [
12236
12267
  "class",
12237
12268
  "shortcuts",
12269
+ "shortcuts-item-class",
12270
+ "shortcuts-item-style",
12238
12271
  "style"
12239
12272
  ])) : A("", !0),
12240
12273
  M("div", { class: B(r.range ? "flex" : "") }, [(H(!0), j(E, null, W(m.value, (n) => (H(), j("div", {
@@ -12473,14 +12506,28 @@ var hs = /* @__PURE__ */ I({
12473
12506
  Object,
12474
12507
  Array
12475
12508
  ] },
12476
- quickClass: { type: [
12509
+ shortcutsBodyClass: { type: [
12477
12510
  Boolean,
12478
12511
  null,
12479
12512
  String,
12480
12513
  Object,
12481
12514
  Array
12482
12515
  ] },
12483
- quickStyle: { type: [
12516
+ shortcutsBodyStyle: { type: [
12517
+ Boolean,
12518
+ null,
12519
+ String,
12520
+ Object,
12521
+ Array
12522
+ ] },
12523
+ shortcutsItemClass: { type: [
12524
+ Boolean,
12525
+ null,
12526
+ String,
12527
+ Object,
12528
+ Array
12529
+ ] },
12530
+ shortcutsItemStyle: { type: [
12484
12531
  Boolean,
12485
12532
  null,
12486
12533
  String,
@@ -12602,32 +12649,48 @@ var hs = /* @__PURE__ */ I({
12602
12649
  content: $(() => [F(fs, {
12603
12650
  ref_key: "panelRef",
12604
12651
  ref: u,
12652
+ class: B(i.panelClass),
12605
12653
  "disabled-date": i.disabledDate,
12654
+ "footer-class": i.footerClass,
12655
+ "footer-style": i.footerStyle,
12606
12656
  marks: i.marks,
12607
12657
  "max-date": m.value,
12608
12658
  "max-span": i.maxSpan,
12609
12659
  "min-date": p.value,
12660
+ "shortcuts-body-class": i.shortcutsBodyClass,
12661
+ "shortcuts-body-style": i.shortcutsBodyStyle,
12610
12662
  range: i.range,
12611
12663
  "range-value": f.value,
12612
12664
  shortcuts: i.shortcuts,
12665
+ "shortcuts-item-class": i.shortcutsItemClass,
12666
+ "shortcuts-item-style": i.shortcutsItemStyle,
12613
12667
  "show-clear": i.showClear,
12614
12668
  "show-footer": i.showFooter,
12669
+ style: V(i.panelStyle),
12615
12670
  value: d.value,
12616
12671
  onClear: ee,
12617
12672
  onRangePreview: D,
12618
12673
  onSelect: T,
12619
12674
  onSelectRange: E
12620
12675
  }, null, 8, [
12676
+ "class",
12621
12677
  "disabled-date",
12678
+ "footer-class",
12679
+ "footer-style",
12622
12680
  "marks",
12623
12681
  "max-date",
12624
12682
  "max-span",
12625
12683
  "min-date",
12684
+ "shortcuts-body-class",
12685
+ "shortcuts-body-style",
12626
12686
  "range",
12627
12687
  "range-value",
12628
12688
  "shortcuts",
12689
+ "shortcuts-item-class",
12690
+ "shortcuts-item-style",
12629
12691
  "show-clear",
12630
12692
  "show-footer",
12693
+ "style",
12631
12694
  "value"
12632
12695
  ])]),
12633
12696
  _: 3
@@ -12759,14 +12822,28 @@ var hs = /* @__PURE__ */ I({
12759
12822
  Object,
12760
12823
  Array
12761
12824
  ] },
12762
- quickClass: { type: [
12825
+ shortcutsBodyClass: { type: [
12826
+ Boolean,
12827
+ null,
12828
+ String,
12829
+ Object,
12830
+ Array
12831
+ ] },
12832
+ shortcutsBodyStyle: { type: [
12833
+ Boolean,
12834
+ null,
12835
+ String,
12836
+ Object,
12837
+ Array
12838
+ ] },
12839
+ shortcutsItemClass: { type: [
12763
12840
  Boolean,
12764
12841
  null,
12765
12842
  String,
12766
12843
  Object,
12767
12844
  Array
12768
12845
  ] },
12769
- quickStyle: { type: [
12846
+ shortcutsItemStyle: { type: [
12770
12847
  Boolean,
12771
12848
  null,
12772
12849
  String,
@@ -12925,7 +13002,8 @@ var hs = /* @__PURE__ */ I({
12925
13002
  "onUpdate:modelValue": t[3] ||= (e) => u.value = e,
12926
13003
  class: B(q(l)("h-auto", i.drawerClass)),
12927
13004
  closable: !1,
12928
- "content-class": q(l)("p-0", i.contentClass),
13005
+ "content-class": q(l)("p-0", i.contentClass, i.panelClass),
13006
+ "content-style": i.panelStyle,
12929
13007
  style: V(i.drawerStyle),
12930
13008
  title: b.value,
12931
13009
  placement: "bottom",
@@ -12952,15 +13030,19 @@ var hs = /* @__PURE__ */ I({
12952
13030
  default: $(() => [
12953
13031
  y.value.length > 0 ? (H(), k(us, {
12954
13032
  key: 0,
12955
- class: B(i.quickClass),
13033
+ class: B(i.shortcutsBodyClass),
12956
13034
  "is-active": re,
12957
13035
  shortcuts: y.value,
12958
- style: V(i.quickStyle),
13036
+ "shortcuts-item-class": i.shortcutsItemClass,
13037
+ "shortcuts-item-style": i.shortcutsItemStyle,
13038
+ style: V(i.shortcutsBodyStyle),
12959
13039
  shape: "block",
12960
13040
  onSelect: ie
12961
13041
  }, null, 8, [
12962
13042
  "class",
12963
13043
  "shortcuts",
13044
+ "shortcuts-item-class",
13045
+ "shortcuts-item-style",
12964
13046
  "style"
12965
13047
  ])) : A("", !0),
12966
13048
  M("div", _s, [
@@ -13031,6 +13113,7 @@ var hs = /* @__PURE__ */ I({
13031
13113
  "modelValue",
13032
13114
  "class",
13033
13115
  "content-class",
13116
+ "content-style",
13034
13117
  "style",
13035
13118
  "title"
13036
13119
  ])], 64));
@@ -13089,14 +13172,28 @@ var hs = /* @__PURE__ */ I({
13089
13172
  Object,
13090
13173
  Array
13091
13174
  ] },
13092
- quickClass: { type: [
13175
+ shortcutsBodyClass: { type: [
13093
13176
  Boolean,
13094
13177
  null,
13095
13178
  String,
13096
13179
  Object,
13097
13180
  Array
13098
13181
  ] },
13099
- quickStyle: { type: [
13182
+ shortcutsBodyStyle: { type: [
13183
+ Boolean,
13184
+ null,
13185
+ String,
13186
+ Object,
13187
+ Array
13188
+ ] },
13189
+ shortcutsItemClass: { type: [
13190
+ Boolean,
13191
+ null,
13192
+ String,
13193
+ Object,
13194
+ Array
13195
+ ] },
13196
+ shortcutsItemStyle: { type: [
13100
13197
  Boolean,
13101
13198
  null,
13102
13199
  String,
@@ -13561,14 +13658,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13561
13658
  Object,
13562
13659
  Array
13563
13660
  ] },
13564
- quickClass: { type: [
13661
+ shortcutsBodyClass: { type: [
13565
13662
  Boolean,
13566
13663
  null,
13567
13664
  String,
13568
13665
  Object,
13569
13666
  Array
13570
13667
  ] },
13571
- quickStyle: { type: [
13668
+ shortcutsBodyStyle: { type: [
13669
+ Boolean,
13670
+ null,
13671
+ String,
13672
+ Object,
13673
+ Array
13674
+ ] },
13675
+ shortcutsItemClass: { type: [
13676
+ Boolean,
13677
+ null,
13678
+ String,
13679
+ Object,
13680
+ Array
13681
+ ] },
13682
+ shortcutsItemStyle: { type: [
13572
13683
  Boolean,
13573
13684
  null,
13574
13685
  String,
@@ -13725,14 +13836,18 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13725
13836
  }, [
13726
13837
  _.value.length > 0 ? (H(), k(us, {
13727
13838
  key: 0,
13728
- class: B(r.quickClass),
13839
+ class: B(r.shortcutsBodyClass),
13729
13840
  "is-active": ee,
13730
13841
  shortcuts: _.value,
13731
- style: V(r.quickStyle),
13842
+ "shortcuts-item-class": r.shortcutsItemClass,
13843
+ "shortcuts-item-style": r.shortcutsItemStyle,
13844
+ style: V(r.shortcutsBodyStyle),
13732
13845
  onSelect: te
13733
13846
  }, null, 8, [
13734
13847
  "class",
13735
13848
  "shortcuts",
13849
+ "shortcuts-item-class",
13850
+ "shortcuts-item-style",
13736
13851
  "style"
13737
13852
  ])) : A("", !0),
13738
13853
  r.range ? (H(), j("div", Ns, [(H(), j(E, null, W(["start", "end"], (e) => M("div", {
@@ -13886,14 +14001,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
13886
14001
  Object,
13887
14002
  Array
13888
14003
  ] },
13889
- quickClass: { type: [
14004
+ shortcutsBodyClass: { type: [
14005
+ Boolean,
14006
+ null,
14007
+ String,
14008
+ Object,
14009
+ Array
14010
+ ] },
14011
+ shortcutsBodyStyle: { type: [
13890
14012
  Boolean,
13891
14013
  null,
13892
14014
  String,
13893
14015
  Object,
13894
14016
  Array
13895
14017
  ] },
13896
- quickStyle: { type: [
14018
+ shortcutsItemClass: { type: [
14019
+ Boolean,
14020
+ null,
14021
+ String,
14022
+ Object,
14023
+ Array
14024
+ ] },
14025
+ shortcutsItemStyle: { type: [
13897
14026
  Boolean,
13898
14027
  null,
13899
14028
  String,
@@ -14036,24 +14165,30 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14036
14165
  content: $(() => [F(Ps, {
14037
14166
  ref_key: "panelRef",
14038
14167
  ref: u,
14168
+ class: B(i.panelClass),
14039
14169
  date: i.date,
14040
14170
  disabled: i.disabled,
14041
14171
  "disabled-time": i.disabledTime,
14172
+ "footer-class": i.footerClass,
14173
+ "footer-style": i.footerStyle,
14042
14174
  "hour-step": i.hourStep,
14043
14175
  labels: i.labels,
14044
14176
  "max-time": i.maxTime,
14045
14177
  "min-time": i.minTime,
14046
14178
  "minute-step": i.minuteStep,
14047
- "quick-class": i.quickClass,
14048
- "quick-style": i.quickStyle,
14179
+ "shortcuts-body-class": i.shortcutsBodyClass,
14180
+ "shortcuts-body-style": i.shortcutsBodyStyle,
14049
14181
  range: i.range,
14050
14182
  "range-value": f.value,
14051
14183
  "second-step": i.secondStep,
14052
14184
  shortcuts: i.shortcuts,
14185
+ "shortcuts-item-class": i.shortcutsItemClass,
14186
+ "shortcuts-item-style": i.shortcutsItemStyle,
14053
14187
  "show-clear": i.showClear,
14054
14188
  "show-hour": i.showHour,
14055
14189
  "show-minute": i.showMinute,
14056
14190
  "show-second": i.showSecond,
14191
+ style: V(i.panelStyle),
14057
14192
  value: d.value,
14058
14193
  onClear: j,
14059
14194
  onConfirm: te,
@@ -14062,24 +14197,30 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14062
14197
  onShortcut: D,
14063
14198
  onShortcutRange: ee
14064
14199
  }, null, 8, [
14200
+ "class",
14065
14201
  "date",
14066
14202
  "disabled",
14067
14203
  "disabled-time",
14204
+ "footer-class",
14205
+ "footer-style",
14068
14206
  "hour-step",
14069
14207
  "labels",
14070
14208
  "max-time",
14071
14209
  "min-time",
14072
14210
  "minute-step",
14073
- "quick-class",
14074
- "quick-style",
14211
+ "shortcuts-body-class",
14212
+ "shortcuts-body-style",
14075
14213
  "range",
14076
14214
  "range-value",
14077
14215
  "second-step",
14078
14216
  "shortcuts",
14217
+ "shortcuts-item-class",
14218
+ "shortcuts-item-style",
14079
14219
  "show-clear",
14080
14220
  "show-hour",
14081
14221
  "show-minute",
14082
14222
  "show-second",
14223
+ "style",
14083
14224
  "value"
14084
14225
  ])]),
14085
14226
  _: 3
@@ -14386,14 +14527,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14386
14527
  Object,
14387
14528
  Array
14388
14529
  ] },
14389
- quickClass: { type: [
14530
+ shortcutsBodyClass: { type: [
14390
14531
  Boolean,
14391
14532
  null,
14392
14533
  String,
14393
14534
  Object,
14394
14535
  Array
14395
14536
  ] },
14396
- quickStyle: { type: [
14537
+ shortcutsBodyStyle: { type: [
14538
+ Boolean,
14539
+ null,
14540
+ String,
14541
+ Object,
14542
+ Array
14543
+ ] },
14544
+ shortcutsItemClass: { type: [
14545
+ Boolean,
14546
+ null,
14547
+ String,
14548
+ Object,
14549
+ Array
14550
+ ] },
14551
+ shortcutsItemStyle: { type: [
14397
14552
  Boolean,
14398
14553
  null,
14399
14554
  String,
@@ -14624,7 +14779,8 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14624
14779
  "onUpdate:modelValue": t[1] ||= (e) => c.value = e,
14625
14780
  class: B(q(l)("h-auto", i.drawerClass)),
14626
14781
  closable: !1,
14627
- "content-class": q(l)("p-0", i.contentClass),
14782
+ "content-class": q(l)("p-0", i.contentClass, i.panelClass),
14783
+ "content-style": i.panelStyle,
14628
14784
  style: V(i.drawerStyle),
14629
14785
  title: w.value,
14630
14786
  placement: "bottom",
@@ -14650,15 +14806,19 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14650
14806
  ])]),
14651
14807
  default: $(() => [x.value.length > 0 ? (H(), k(us, {
14652
14808
  key: 0,
14653
- class: B(i.quickClass),
14809
+ class: B(i.shortcutsBodyClass),
14654
14810
  "is-active": ce,
14655
14811
  shortcuts: x.value,
14656
- style: V(i.quickStyle),
14812
+ "shortcuts-item-class": i.shortcutsItemClass,
14813
+ "shortcuts-item-style": i.shortcutsItemStyle,
14814
+ style: V(i.shortcutsBodyStyle),
14657
14815
  shape: "block",
14658
14816
  onSelect: le
14659
14817
  }, null, 8, [
14660
14818
  "class",
14661
14819
  "shortcuts",
14820
+ "shortcuts-item-class",
14821
+ "shortcuts-item-style",
14662
14822
  "style"
14663
14823
  ])) : A("", !0), F(Ws, {
14664
14824
  class: "px-4",
@@ -14692,6 +14852,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14692
14852
  "modelValue",
14693
14853
  "class",
14694
14854
  "content-class",
14855
+ "content-style",
14695
14856
  "style",
14696
14857
  "title"
14697
14858
  ])], 64));
@@ -14755,14 +14916,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14755
14916
  Object,
14756
14917
  Array
14757
14918
  ] },
14758
- quickClass: { type: [
14919
+ shortcutsBodyClass: { type: [
14759
14920
  Boolean,
14760
14921
  null,
14761
14922
  String,
14762
14923
  Object,
14763
14924
  Array
14764
14925
  ] },
14765
- quickStyle: { type: [
14926
+ shortcutsBodyStyle: { type: [
14927
+ Boolean,
14928
+ null,
14929
+ String,
14930
+ Object,
14931
+ Array
14932
+ ] },
14933
+ shortcutsItemClass: { type: [
14934
+ Boolean,
14935
+ null,
14936
+ String,
14937
+ Object,
14938
+ Array
14939
+ ] },
14940
+ shortcutsItemStyle: { type: [
14766
14941
  Boolean,
14767
14942
  null,
14768
14943
  String,
@@ -14947,14 +15122,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
14947
15122
  Object,
14948
15123
  Array
14949
15124
  ] },
14950
- quickClass: { type: [
15125
+ shortcutsBodyClass: { type: [
15126
+ Boolean,
15127
+ null,
15128
+ String,
15129
+ Object,
15130
+ Array
15131
+ ] },
15132
+ shortcutsBodyStyle: { type: [
14951
15133
  Boolean,
14952
15134
  null,
14953
15135
  String,
14954
15136
  Object,
14955
15137
  Array
14956
15138
  ] },
14957
- quickStyle: { type: [
15139
+ shortcutsItemClass: { type: [
15140
+ Boolean,
15141
+ null,
15142
+ String,
15143
+ Object,
15144
+ Array
15145
+ ] },
15146
+ shortcutsItemStyle: { type: [
14958
15147
  Boolean,
14959
15148
  null,
14960
15149
  String,
@@ -15089,14 +15278,18 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15089
15278
  }, [
15090
15279
  g.value.length > 0 ? (H(), k(us, {
15091
15280
  key: 0,
15092
- class: B(r.quickClass),
15281
+ class: B(r.shortcutsBodyClass),
15093
15282
  "is-active": N,
15094
15283
  shortcuts: g.value,
15095
- style: V(r.quickStyle),
15284
+ "shortcuts-item-class": r.shortcutsItemClass,
15285
+ "shortcuts-item-style": r.shortcutsItemStyle,
15286
+ style: V(r.shortcutsBodyStyle),
15096
15287
  onSelect: P
15097
15288
  }, null, 8, [
15098
15289
  "class",
15099
15290
  "shortcuts",
15291
+ "shortcuts-item-class",
15292
+ "shortcuts-item-style",
15100
15293
  "style"
15101
15294
  ])) : A("", !0),
15102
15295
  F(fs, {
@@ -15296,14 +15489,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15296
15489
  Object,
15297
15490
  Array
15298
15491
  ] },
15299
- quickClass: { type: [
15492
+ shortcutsBodyClass: { type: [
15493
+ Boolean,
15494
+ null,
15495
+ String,
15496
+ Object,
15497
+ Array
15498
+ ] },
15499
+ shortcutsBodyStyle: { type: [
15300
15500
  Boolean,
15301
15501
  null,
15302
15502
  String,
15303
15503
  Object,
15304
15504
  Array
15305
15505
  ] },
15306
- quickStyle: { type: [
15506
+ shortcutsItemClass: { type: [
15507
+ Boolean,
15508
+ null,
15509
+ String,
15510
+ Object,
15511
+ Array
15512
+ ] },
15513
+ shortcutsItemStyle: { type: [
15307
15514
  Boolean,
15308
15515
  null,
15309
15516
  String,
@@ -15442,6 +15649,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15442
15649
  ref_key: "panelRef",
15443
15650
  ref: u,
15444
15651
  "cell-size": d.value.cellSize,
15652
+ class: B(i.panelClass),
15445
15653
  "confirm-text": i.confirmText,
15446
15654
  "date-text": i.dateText,
15447
15655
  disabled: i.disabled,
@@ -15458,17 +15666,20 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15458
15666
  "min-date": d.value.minDate,
15459
15667
  "min-time": f.value.minTime,
15460
15668
  "minute-step": f.value.minuteStep,
15461
- "quick-class": i.quickClass,
15462
- "quick-style": i.quickStyle,
15669
+ "shortcuts-body-class": i.shortcutsBodyClass,
15670
+ "shortcuts-body-style": i.shortcutsBodyStyle,
15463
15671
  range: i.range,
15464
15672
  "range-value": m.value,
15465
15673
  "second-step": f.value.secondStep,
15466
15674
  shortcuts: i.shortcuts,
15675
+ "shortcuts-item-class": i.shortcutsItemClass,
15676
+ "shortcuts-item-style": i.shortcutsItemStyle,
15467
15677
  "show-clear": i.showClear,
15468
15678
  "show-footer": i.showFooter,
15469
15679
  "show-hour": f.value.showHour,
15470
15680
  "show-minute": f.value.showMinute,
15471
15681
  "show-second": f.value.showSecond,
15682
+ style: V(i.panelStyle),
15472
15683
  "time-format": f.value.format,
15473
15684
  "time-size": f.value.timeSize,
15474
15685
  "time-text": i.timeText,
@@ -15476,7 +15687,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15476
15687
  onClear: D,
15477
15688
  onConfirm: T,
15478
15689
  onConfirmRange: E
15479
- }, 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("."))]),
15480
15691
  _: 3
15481
15692
  }, 8, [
15482
15693
  "visible",
@@ -15567,14 +15778,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15567
15778
  Object,
15568
15779
  Array
15569
15780
  ] },
15570
- quickClass: { type: [
15781
+ shortcutsBodyClass: { type: [
15782
+ Boolean,
15783
+ null,
15784
+ String,
15785
+ Object,
15786
+ Array
15787
+ ] },
15788
+ shortcutsBodyStyle: { type: [
15571
15789
  Boolean,
15572
15790
  null,
15573
15791
  String,
15574
15792
  Object,
15575
15793
  Array
15576
15794
  ] },
15577
- quickStyle: { type: [
15795
+ shortcutsItemClass: { type: [
15796
+ Boolean,
15797
+ null,
15798
+ String,
15799
+ Object,
15800
+ Array
15801
+ ] },
15802
+ shortcutsItemStyle: { type: [
15578
15803
  Boolean,
15579
15804
  null,
15580
15805
  String,
@@ -15805,7 +16030,8 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15805
16030
  "onUpdate:modelValue": t[3] ||= (e) => d.value = e,
15806
16031
  class: B(q(l)("h-auto", i.drawerClass)),
15807
16032
  closable: !1,
15808
- "content-class": q(l)("p-0", i.contentClass),
16033
+ "content-class": q(l)("p-0", i.contentClass, i.panelClass),
16034
+ "content-style": i.panelStyle,
15809
16035
  style: V(i.drawerStyle),
15810
16036
  title: I.value,
15811
16037
  placement: "bottom",
@@ -15838,15 +16064,19 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15838
16064
  default: $(() => [
15839
16065
  f.value === "date" && ee.value.length > 0 ? (H(), k(us, {
15840
16066
  key: 0,
15841
- class: B(i.quickClass),
16067
+ class: B(i.shortcutsBodyClass),
15842
16068
  "is-active": ge,
15843
16069
  shortcuts: ee.value,
15844
- style: V(i.quickStyle),
16070
+ "shortcuts-item-class": i.shortcutsItemClass,
16071
+ "shortcuts-item-style": i.shortcutsItemStyle,
16072
+ style: V(i.shortcutsBodyStyle),
15845
16073
  shape: "block",
15846
16074
  onSelect: _e
15847
16075
  }, null, 8, [
15848
16076
  "class",
15849
16077
  "shortcuts",
16078
+ "shortcuts-item-class",
16079
+ "shortcuts-item-style",
15850
16080
  "style"
15851
16081
  ])) : A("", !0),
15852
16082
  f.value === "time" && te.value.length > 0 ? (H(), k(us, {
@@ -15919,6 +16149,7 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15919
16149
  "modelValue",
15920
16150
  "class",
15921
16151
  "content-class",
16152
+ "content-style",
15922
16153
  "style",
15923
16154
  "title"
15924
16155
  ])], 64));
@@ -15977,14 +16208,28 @@ var ks = { class: "px-1.5 pb-1.5" }, As = [
15977
16208
  Object,
15978
16209
  Array
15979
16210
  ] },
15980
- 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: [
15981
16226
  Boolean,
15982
16227
  null,
15983
16228
  String,
15984
16229
  Object,
15985
16230
  Array
15986
16231
  ] },
15987
- quickStyle: { type: [
16232
+ shortcutsItemStyle: { type: [
15988
16233
  Boolean,
15989
16234
  null,
15990
16235
  String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "straw-ui-vue",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "type": "module",
5
5
  "main": "./dist/straw-ui.js",
6
6
  "module": "./dist/straw-ui.js",