rx-arco-compo 1.0.19 → 1.0.20

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/dist/index.es.js CHANGED
@@ -8310,7 +8310,8 @@ function Nm(e, t, n, o, r, l) {
8310
8310
  default: D(() => [
8311
8311
  w("span", {
8312
8312
  class: ne([
8313
- e.isExpand ? "rotate-180 text-[rgb(var(--arcoblue-6))]" : "text-[rgb(var(--arcoblue-5))]"
8313
+ "rx-table-form-plus__expand",
8314
+ e.isExpand ? "rx-table-form-plus__expand--open" : ""
8314
8315
  ])
8315
8316
  }, [...t[0] || (t[0] = [
8316
8317
  w("svg", {
@@ -13517,7 +13518,7 @@ const m1 = /* @__PURE__ */ Be(p1, [["render", h1]]), g1 = [
13517
13518
  type: {
13518
13519
  type: String,
13519
13520
  values: g1,
13520
- default: "text"
13521
+ default: "outline"
13521
13522
  },
13522
13523
  link: {
13523
13524
  type: Boolean,
@@ -13551,17 +13552,18 @@ const m1 = /* @__PURE__ */ Be(p1, [["render", h1]]), g1 = [
13551
13552
  return "text";
13552
13553
  switch (r.value.type) {
13553
13554
  case "primary":
13555
+ return "primary";
13554
13556
  case "secondary":
13555
13557
  case "outline":
13556
- case "dashed":
13558
+ return "outline";
13557
13559
  case "text":
13558
- return r.value.type;
13560
+ return "text";
13559
13561
  case "success":
13560
13562
  case "warning":
13561
13563
  case "danger":
13562
- return "primary";
13564
+ return "outline";
13563
13565
  default:
13564
- return "text";
13566
+ return "outline";
13565
13567
  }
13566
13568
  }), i = B(() => {
13567
13569
  switch (r.value.type) {
@@ -13773,14 +13775,14 @@ const b1 = ke({
13773
13775
  function C1(e, t, n, o, r, l) {
13774
13776
  const a = K("a-button"), s = K("RxTableActionConfirm"), i = K("a-doption"), u = K("a-dropdown");
13775
13777
  return R(), j("div", {
13776
- class: ne([[e.alignClass], "rx-table-row-actions flex items-center flex-nowrap"])
13778
+ class: ne([[e.alignClass], "rx-table-row-actions flex items-center flex-wrap"])
13777
13779
  }, [
13778
13780
  ue(e.$slots, "default", Qt(gn({ row: e.row, column: e.column, index: e.index })), () => [
13779
13781
  e.rowEditable ? (R(), j(we, { key: 0 }, [
13780
13782
  e.editRows[e.editRowKey] ? (R(), j(we, { key: 0 }, [
13781
13783
  ee(a, {
13782
- type: "text",
13783
- size: "mini",
13784
+ type: "outline",
13785
+ size: "small",
13784
13786
  loading: e.saving,
13785
13787
  onClick: t[0] || (t[0] = (c) => e.save(e.row, e.index))
13786
13788
  }, {
@@ -13790,8 +13792,8 @@ function C1(e, t, n, o, r, l) {
13790
13792
  _: 1
13791
13793
  }, 8, ["loading"]),
13792
13794
  ee(a, {
13793
- type: "text",
13794
- size: "mini",
13795
+ type: "outline",
13796
+ size: "small",
13795
13797
  onClick: t[1] || (t[1] = (c) => e.$emit("cancel", e.row, e.index))
13796
13798
  }, {
13797
13799
  default: D(() => [
@@ -13803,8 +13805,8 @@ function C1(e, t, n, o, r, l) {
13803
13805
  Ae(" - ")
13804
13806
  ], 64)) : (R(), J(a, {
13805
13807
  key: 2,
13806
- type: "text",
13807
- size: "mini",
13808
+ type: "outline",
13809
+ size: "small",
13808
13810
  loading: e.editing,
13809
13811
  onClick: t[2] || (t[2] = (c) => e.edit(e.row, e.index))
13810
13812
  }, {
@@ -13822,10 +13824,9 @@ function C1(e, t, n, o, r, l) {
13822
13824
  ref_for: !0
13823
13825
  }, c?.transfer, {
13824
13826
  key: c.label,
13825
- size: "mini",
13826
- type: "text",
13827
+ size: "small",
13828
+ type: c.type || "outline",
13827
13829
  action: c,
13828
- link: !0,
13829
13830
  row: e.row,
13830
13831
  disabled: c.disabled,
13831
13832
  onConfirm: (d) => e.handleActionClick(
@@ -13836,7 +13837,7 @@ function C1(e, t, n, o, r, l) {
13836
13837
  e.rebuildActions,
13837
13838
  c?.throttleTime
13838
13839
  )
13839
- }), null, 16, ["action", "row", "disabled", "onConfirm"]))
13840
+ }), null, 16, ["type", "action", "row", "disabled", "onConfirm"]))
13840
13841
  ], 64))), 256)),
13841
13842
  e.isEmpty(e.rebuildActionsMore) ? oe("", !0) : (R(), J(u, {
13842
13843
  key: e.index,
@@ -13852,8 +13853,8 @@ function C1(e, t, n, o, r, l) {
13852
13853
  default: D(() => [
13853
13854
  ee(s, {
13854
13855
  size: "small",
13856
+ type: c.type || "outline",
13855
13857
  action: c,
13856
- link: !0,
13857
13858
  row: e.row,
13858
13859
  disabled: c.disabled,
13859
13860
  "btn-style": {
@@ -13872,7 +13873,7 @@ function C1(e, t, n, o, r, l) {
13872
13873
  c?.throttleTime
13873
13874
  ),
13874
13875
  onChangeDropdownTrigger: e.changeDropdownTrigger
13875
- }, null, 8, ["action", "row", "disabled", "onConfirm", "onChangeDropdownTrigger"])
13876
+ }, null, 8, ["type", "action", "row", "disabled", "onConfirm", "onChangeDropdownTrigger"])
13876
13877
  ]),
13877
13878
  _: 2
13878
13879
  }, 1024))
@@ -13880,9 +13881,9 @@ function C1(e, t, n, o, r, l) {
13880
13881
  ]),
13881
13882
  default: D(() => [
13882
13883
  ee(a, {
13883
- type: "text",
13884
- class: "ml-[8px] p-0",
13885
- size: "mini"
13884
+ type: "outline",
13885
+ class: "rx-table-row-actions__more",
13886
+ size: "small"
13886
13887
  }, {
13887
13888
  default: D(() => [...t[3] || (t[3] = [
13888
13889
  Ae(" ... ", -1)
@@ -17677,7 +17678,7 @@ function l0(e, t, n, o, r, l) {
17677
17678
  ref: "rxTablePlusRef",
17678
17679
  class: ne([
17679
17680
  { "fixed w-full h-full px-[10px] inset-0": e.dialogVisible },
17680
- "rx-table-plus"
17681
+ "rx-table-plus rxtableplus"
17681
17682
  ]),
17682
17683
  style: _e(e.tablePlusStyle)
17683
17684
  }, [