@gisce/react-ooui 1.1.41 → 1.1.43-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/react-ooui.es.js +12 -6
- 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 +2 -2
- package/src/widgets/base/Reference.tsx +11 -3
- package/src/widgets/custom/Timeline.tsx +1 -0
- package/src/widgets/views/Dashboard/Dashboard.tsx +2 -0
package/dist/react-ooui.es.js
CHANGED
|
@@ -12288,7 +12288,8 @@ const Image = (e) => {
|
|
|
12288
12288
|
context: {
|
|
12289
12289
|
...C == null ? void 0 : C(),
|
|
12290
12290
|
...y
|
|
12291
|
-
}
|
|
12291
|
+
},
|
|
12292
|
+
currentView: "form"
|
|
12292
12293
|
});
|
|
12293
12294
|
O(w);
|
|
12294
12295
|
} catch (w) {
|
|
@@ -22733,7 +22734,11 @@ const DatePickerConfig = {
|
|
|
22733
22734
|
required: a
|
|
22734
22735
|
}),
|
|
22735
22736
|
onChange: (p) => {
|
|
22736
|
-
f(p)
|
|
22737
|
+
f(p);
|
|
22738
|
+
let h = l[0] || 0;
|
|
22739
|
+
p !== d && (c([]), h = 0);
|
|
22740
|
+
const m = `${p},${h}`;
|
|
22741
|
+
m !== t && (r == null || r(m));
|
|
22737
22742
|
},
|
|
22738
22743
|
value: d
|
|
22739
22744
|
})
|
|
@@ -22749,7 +22754,7 @@ const DatePickerConfig = {
|
|
|
22749
22754
|
value: l,
|
|
22750
22755
|
onChange: (p) => {
|
|
22751
22756
|
c(p);
|
|
22752
|
-
const h = `${d},${p[0]}`;
|
|
22757
|
+
const h = `${d},${p[0] || 0}`;
|
|
22753
22758
|
h !== t && (r == null || r(h));
|
|
22754
22759
|
}
|
|
22755
22760
|
})
|
|
@@ -25367,7 +25372,8 @@ function Dashboard(e, t) {
|
|
|
25367
25372
|
formFields: y.current,
|
|
25368
25373
|
model: S,
|
|
25369
25374
|
items: w,
|
|
25370
|
-
context: E
|
|
25375
|
+
context: E,
|
|
25376
|
+
currentView: "form"
|
|
25371
25377
|
});
|
|
25372
25378
|
}
|
|
25373
25379
|
async function _(w) {
|
|
@@ -25445,12 +25451,12 @@ function Dashboard(e, t) {
|
|
|
25445
25451
|
async function F() {
|
|
25446
25452
|
h(o);
|
|
25447
25453
|
}
|
|
25448
|
-
return d ? /* @__PURE__ */ jsx(Alert, {
|
|
25454
|
+
return d ? (console.log(d), /* @__PURE__ */ jsx(Alert, {
|
|
25449
25455
|
className: "mt-10 mb-20",
|
|
25450
25456
|
message: d,
|
|
25451
25457
|
type: "error",
|
|
25452
25458
|
banner: !0
|
|
25453
|
-
}) : l ? /* @__PURE__ */ jsx(LoadingOutlined$3, {}) : /* @__PURE__ */ jsx(DashboardGrid, {
|
|
25459
|
+
})) : l ? /* @__PURE__ */ jsx(LoadingOutlined$3, {}) : /* @__PURE__ */ jsx(DashboardGrid, {
|
|
25454
25460
|
onPositionItemsChanged: O,
|
|
25455
25461
|
children: s.map((w, S) => {
|
|
25456
25462
|
const {
|