@gisce/react-ooui 2.10.1 → 2.11.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAkCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,2CAwVlC;AAMD,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["../../src/actionbar/TreeActionBar.tsx"],"names":[],"mappings":"AAkCA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,2CAuVlC;AAMD,eAAe,aAAa,CAAC"}
@@ -124,17 +124,15 @@ function Ce({
124
124
  const { confirm: Ms } = Ze, Zt = ({
125
125
  onOk: e,
126
126
  confirmMessage: t,
127
- okText: n,
128
- cancelText: o,
129
- t: r
127
+ t: n
130
128
  }) => {
131
129
  Ms({
132
- title: r("confirmation"),
130
+ title: n("confirmation"),
133
131
  icon: /* @__PURE__ */ i(vt, {}),
134
132
  centered: !0,
135
133
  content: t,
136
- okText: n || r("ok"),
137
- cancelText: o || r("cancel"),
134
+ okText: n("ok"),
135
+ cancelText: n("cancel"),
138
136
  onOk: e
139
137
  });
140
138
  }, $e = rt.createContext(null), Ps = (e) => {
@@ -9068,7 +9066,7 @@ function _d(e) {
9068
9066
  /* @__PURE__ */ i(
9069
9067
  Sd,
9070
9068
  {
9071
- disabled: l || a || b,
9069
+ disabled: l || a,
9072
9070
  searchText: w,
9073
9071
  onSearch: (B) => {
9074
9072
  B && B.trim().length > 0 ? y == null || y(B) : y == null || y(void 0);
@@ -9089,12 +9087,12 @@ function _d(e) {
9089
9087
  onClick: () => {
9090
9088
  g == null || g(!m);
9091
9089
  },
9092
- disabled: l || a || b,
9090
+ disabled: l || a,
9093
9091
  badgeNumber: h == null ? void 0 : h.length
9094
9092
  }
9095
9093
  ),
9096
9094
  xt(),
9097
- /* @__PURE__ */ i(Yo, { disabled: b }),
9095
+ /* @__PURE__ */ i(Yo, {}),
9098
9096
  /* @__PURE__ */ i(
9099
9097
  qe,
9100
9098
  {
@@ -9152,8 +9150,7 @@ function _d(e) {
9152
9150
  onChangeView: (B) => {
9153
9151
  T == null || T(n), o == null || o(B);
9154
9152
  },
9155
- previousView: F,
9156
- disabled: b
9153
+ previousView: F
9157
9154
  }
9158
9155
  )
9159
9156
  ] }),