@gisce/react-ooui 1.5.11 → 1.5.13-rc.0
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/actionbar/DropdownButton.d.ts.map +1 -1
- package/dist/react-ooui.es.js +19 -11
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +10 -10
- package/dist/react-ooui.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/actionbar/DropdownButton.tsx +13 -9
- package/src/stories/mocks/models/cups.ts +18 -1
- package/src/widgets/base/one2many/One2manyInput.tsx +1 -1
- package/src/widgets/views/Form.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;CACpC,CAAC;AAEF,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;CACpC,CAAC;AAEF,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,qBAuFnC;AAED,eAAe,cAAc,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -3670,7 +3670,7 @@ function Il(e, t) {
|
|
|
3670
3670
|
}
|
|
3671
3671
|
let oe = !1;
|
|
3672
3672
|
try {
|
|
3673
|
-
(nt() || ce() === void 0) && (oe = !0, bn(!0), m === "2many" ? (await ir({
|
|
3673
|
+
!d && (nt() || ce() === void 0) && (oe = !0, bn(!0), m === "2many" ? (await ir({
|
|
3674
3674
|
callOnSubmitSucceed: !1
|
|
3675
3675
|
}), Z.current = !0) : await Qt({
|
|
3676
3676
|
callOnSubmitSucceed: !1
|
|
@@ -7081,7 +7081,7 @@ const Uc = (e) => {
|
|
|
7081
7081
|
children: [/* @__PURE__ */ n(Kc, {
|
|
7082
7082
|
mode: a,
|
|
7083
7083
|
title: Be(),
|
|
7084
|
-
readOnly: z,
|
|
7084
|
+
readOnly: z || !1,
|
|
7085
7085
|
isMany2Many: ne,
|
|
7086
7086
|
formHasChanges: C,
|
|
7087
7087
|
totalItems: J.length,
|
|
@@ -8189,16 +8189,24 @@ function At(e) {
|
|
|
8189
8189
|
}, g.id)), h = l === !0 || l === "auto" && i.length > 3;
|
|
8190
8190
|
return /* @__PURE__ */ P(je, {
|
|
8191
8191
|
onClick: m,
|
|
8192
|
-
children: [
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8192
|
+
children: [/* @__PURE__ */ n("div", {
|
|
8193
|
+
children: h && /* @__PURE__ */ n(Cd, {
|
|
8194
|
+
onChange: (g) => d(g.target.value),
|
|
8195
|
+
onSearch: d,
|
|
8196
|
+
allowClear: !0,
|
|
8197
|
+
style: {
|
|
8198
|
+
padding: 5
|
|
8199
|
+
}
|
|
8200
|
+
})
|
|
8201
|
+
}), /* @__PURE__ */ n("div", {
|
|
8196
8202
|
style: {
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8203
|
+
maxHeight: 300,
|
|
8204
|
+
overflowY: "auto"
|
|
8205
|
+
},
|
|
8206
|
+
children: /* @__PURE__ */ n(je.ItemGroup, {
|
|
8207
|
+
title: r,
|
|
8208
|
+
children: p
|
|
8209
|
+
})
|
|
8202
8210
|
})]
|
|
8203
8211
|
});
|
|
8204
8212
|
}
|