@gisce/react-ooui 1.2.0-rc.52 → 1.2.0-rc.54
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/react-ooui.es.js +9 -5
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +3 -3
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/base/Reference.d.ts.map +1 -1
- package/dist/widgets/custom/Timeline.d.ts.map +1 -1
- package/dist/widgets/views/Dashboard/Dashboard.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/widgets/base/Reference.tsx +2 -0
- package/src/widgets/custom/Timeline.tsx +1 -0
- package/src/widgets/views/Dashboard/Dashboard.tsx +2 -0
package/dist/react-ooui.es.js
CHANGED
|
@@ -13637,7 +13637,8 @@ const Image = (e) => {
|
|
|
13637
13637
|
context: {
|
|
13638
13638
|
...C == null ? void 0 : C(),
|
|
13639
13639
|
...y
|
|
13640
|
-
}
|
|
13640
|
+
},
|
|
13641
|
+
currentView: "form"
|
|
13641
13642
|
});
|
|
13642
13643
|
w($);
|
|
13643
13644
|
} catch ($) {
|
|
@@ -24774,8 +24775,10 @@ const DatePickerConfig = {
|
|
|
24774
24775
|
readOnly: s
|
|
24775
24776
|
} = n, u = t == null ? void 0 : t.split(","), [l, c] = useState$1([]), [d, f] = useState$1();
|
|
24776
24777
|
return useEffect(() => {
|
|
24777
|
-
if (!t)
|
|
24778
|
+
if (!t) {
|
|
24779
|
+
f(void 0), c([]);
|
|
24778
24780
|
return;
|
|
24781
|
+
}
|
|
24779
24782
|
const p = t && u && u[0], v = t && u && u[1] && parseInt(u[1]);
|
|
24780
24783
|
c([v, void 0]), f(p);
|
|
24781
24784
|
}, [t]), /* @__PURE__ */ jsxs(Row, {
|
|
@@ -27502,7 +27505,8 @@ function Dashboard(e, t) {
|
|
|
27502
27505
|
formFields: y.current,
|
|
27503
27506
|
model: S,
|
|
27504
27507
|
items: $,
|
|
27505
|
-
context: O
|
|
27508
|
+
context: O,
|
|
27509
|
+
currentView: "form"
|
|
27506
27510
|
});
|
|
27507
27511
|
}
|
|
27508
27512
|
async function b($) {
|
|
@@ -27580,12 +27584,12 @@ function Dashboard(e, t) {
|
|
|
27580
27584
|
async function I() {
|
|
27581
27585
|
v(o);
|
|
27582
27586
|
}
|
|
27583
|
-
return d ? /* @__PURE__ */ jsx(Alert, {
|
|
27587
|
+
return d ? (console.log(d), /* @__PURE__ */ jsx(Alert, {
|
|
27584
27588
|
className: "mt-10 mb-20",
|
|
27585
27589
|
message: d,
|
|
27586
27590
|
type: "error",
|
|
27587
27591
|
banner: !0
|
|
27588
|
-
}) : l ? /* @__PURE__ */ jsx(LoadingOutlined$4, {}) : /* @__PURE__ */ jsx(DashboardGrid, {
|
|
27592
|
+
})) : l ? /* @__PURE__ */ jsx(LoadingOutlined$4, {}) : /* @__PURE__ */ jsx(DashboardGrid, {
|
|
27589
27593
|
onPositionItemsChanged: w,
|
|
27590
27594
|
children: s.map(($, S) => {
|
|
27591
27595
|
const {
|