@gisce/react-ooui 2.0.6-rc.2 → 2.0.6

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":"ChangeViewButton.d.ts","sourceRoot":"","sources":["../../src/actionbar/ChangeViewButton.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB,CAAC;AAiBF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,2CAiGrC;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"ChangeViewButton.d.ts","sourceRoot":"","sources":["../../src/actionbar/ChangeViewButton.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAa,IAAI,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB,CAAC;AAiBF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,2CA+FrC;AAED,eAAe,gBAAgB,CAAC"}
@@ -6731,21 +6731,18 @@ function or(e) {
6731
6731
  previousView: a
6732
6732
  } = e, { t: l, lang: c } = H(he);
6733
6733
  function d() {
6734
- const m = r.map((g, h) => {
6735
- const p = g.type.charAt(0).toUpperCase() + g.type.slice(1);
6736
- return /* @__PURE__ */ n(He.Item, { children: /* @__PURE__ */ V(Te, { wrap: !1, children: [
6737
- /* @__PURE__ */ n(ce, { flex: "none", style: { paddingRight: 20 }, children: Ar(g) }),
6738
- /* @__PURE__ */ n(ce, { flex: "auto", style: { paddingRight: 20 }, children: g.title || p }),
6739
- /* @__PURE__ */ n(ce, { flex: "none", children: /* @__PURE__ */ n(
6740
- Mt,
6741
- {
6742
- style: {
6743
- opacity: t.view_id === g.view_id ? 1 : 0
6744
- }
6734
+ const m = r.map((g, h) => /* @__PURE__ */ n(He.Item, { children: /* @__PURE__ */ V(Te, { wrap: !1, children: [
6735
+ /* @__PURE__ */ n(ce, { flex: "none", style: { paddingRight: 20 }, children: Ar(g) }),
6736
+ /* @__PURE__ */ n(ce, { flex: "auto", style: { paddingRight: 20 }, children: g.type.charAt(0).toUpperCase() + g.type.slice(1) }),
6737
+ /* @__PURE__ */ n(ce, { flex: "none", children: /* @__PURE__ */ n(
6738
+ Mt,
6739
+ {
6740
+ style: {
6741
+ opacity: t.view_id === g.view_id ? 1 : 0
6745
6742
  }
6746
- ) })
6747
- ] }) }, g.view_id || h);
6748
- });
6743
+ }
6744
+ ) })
6745
+ ] }) }, g.view_id || h));
6749
6746
  return /* @__PURE__ */ n(He, { onClick: f, children: /* @__PURE__ */ n(He.ItemGroup, { title: l("viewAs"), children: m }) });
6750
6747
  }
6751
6748
  function u(m) {