@gisce/react-ooui 1.4.5-rc.0 → 2.0.0-rc.2
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/helpers/iconMapper.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/react-ooui.es.js +48 -48
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +14 -14
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/widgets/views/Tree.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +4 -0
- package/src/views/ActionView.tsx +1 -1
- package/src/widgets/views/Tree.tsx +9 -6
|
@@ -8,6 +8,6 @@ declare const _default: (key: string, props?: {
|
|
|
8
8
|
}, React.Component<{
|
|
9
9
|
className?: any;
|
|
10
10
|
style?: React.CSSProperties | undefined;
|
|
11
|
-
}, any, any>>) | (() => React.FunctionComponentElement<Pick<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "readOnly" | "id" | "children" | "lang" | "type" | "onClick" | "disabled" | "label" | "default" | "max" | "required" | "data" | "high" | "low" | "key" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "form" | "slot" | "span" | "style" | "summary" | "
|
|
11
|
+
}, any, any>>) | (() => React.FunctionComponentElement<Pick<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "readOnly" | "id" | "children" | "lang" | "type" | "title" | "onClick" | "disabled" | "label" | "default" | "max" | "required" | "data" | "high" | "low" | "key" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "form" | "slot" | "span" | "style" | "summary" | "dir" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "className" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "multiple" | "size" | "manifest" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "autoFocus" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "component" | "ariaLabel" | "viewBox"> & React.RefAttributes<HTMLSpanElement>>) | undefined;
|
|
12
12
|
export default _default;
|
|
13
13
|
//# sourceMappingURL=iconMapper.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -52,5 +52,7 @@ import CurrentTabContent from "./views/CurrentTabContent";
|
|
|
52
52
|
import ContentRootProvider from "./context/ContentRootContext";
|
|
53
53
|
import FavouriteButton from "./ui/FavouriteButton";
|
|
54
54
|
import { ConfigContext } from "./context/ConfigContext";
|
|
55
|
-
|
|
55
|
+
import Tab from "./views/tabs/Tab";
|
|
56
|
+
import ActionView from "./views/ActionView";
|
|
57
|
+
export { Button, ButtonGroup, Char, Selection, Boolean, Many2one, Tree, Group, SearchFilter, Form, Notebook, Float, FloatTime, Integer, Label, Text, TreeView, FormView, SearchFields, Separator, SearchTree, SearchRequest, SearchResponse, CreateObjectRequest, UpdateObjectRequest, ConnectionProvider, ConnectionProviderType, ViewData, Views, ExecuteRequest, ReadObjectsRequest, ReadEvalUiObjectsRequest, DeleteObjectsRequest, FormModal, SearchModal, One2many, One2manyItem, One2manyValue, Date, DateTime, Time, Reference, Binary, iconMapper, CreateReportRequest, GetReportRequest, ExecuteOnChangeRequest, ActionBar, GetViewRequest, GetFieldsRequest, DefaultGetRequest, RootView, TabSelector, CurrentTabContent, Url, Email, Image, ContentRootProvider, showConfirmDialog, NameSearchRequest, ProgressBar, FavouriteButton, Dashboard, GraphIndicator, DashboardGridItem, DashboardGrid, Tags, Tag, MultiCheckbox, Markdown, Radio, Switch, Steps, CodeEditor, ExportModal, ConfigContext, Tab, ActionView, };
|
|
56
58
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,IAAI,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,S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AAW,EACX,aAAa,EACb,GAAG,EACH,UAAU,GACX,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Je, { useContext as Y, useState as T, useEffect as pe, useRef as de, useCallback as Le, forwardRef as bt, useImperativeHandle as xt } from "react";
|
|
2
|
-
import { Tooltip as ht, theme as Pe, Typography as an, Form as ot, Row as Ce, Col as le, Modal as Ge, Button as _e, Dropdown as Bt, Menu as He, Spin as
|
|
2
|
+
import { Tooltip as ht, theme as Pe, Typography as an, Form as ot, Row as Ce, Col as le, Modal as Ge, Button as _e, Dropdown as Bt, Menu as He, Spin as Ee, Divider as ln, Space as Ye, Input as nt, Select as Ct, Checkbox as Nt, Alert as Ze, Timeline as tr, Statistic as Qo, Card as ei, Tag as ti, message as xn, DatePicker as Mn, TimePicker as Dr, InputNumber as En, Progress as ni, Avatar as ri, Badge as oi, Pagination as ii, Tabs as Vr, Popover as si, Radio as nr, Switch as ai, Steps as rr, Layout as li } from "antd";
|
|
3
3
|
import { Label as At, Field as _n, Tree as Ar, Reference as ci, Selection as $n, Many2one as Rr, Boolean as di, Container as ui, parseContext as wt, Form as kr, Integer as In, SearchFieldTypes as ft, SearchFilter as fi, transformDomainForChildWidget as Mr, graphProcessor as Er, parseGraph as Ln, graphFieldUtils as mi } from "@gisce/ooui";
|
|
4
4
|
import * as or from "@ant-design/icons";
|
|
5
5
|
import $r, { QuestionCircleOutlined as Lr, ExclamationCircleOutlined as pt, LoadingOutlined as rt, DownOutlined as Rt, WarningOutlined as Nr, CloseOutlined as jt, CheckOutlined as kt, TranslationOutlined as Pr, FolderOpenOutlined as Nn, DownloadOutlined as Pn, ClearOutlined as Hn, StarFilled as Hr, StarOutlined as Br, UpOutlined as hi, SearchOutlined as Bn, RightCircleOutlined as pi, ThunderboltOutlined as jn, PrinterOutlined as Kn, EnterOutlined as jr, PlusSquareOutlined as gi, MinusSquareOutlined as yi, FileAddOutlined as cn, AlignLeftOutlined as vi, ApiOutlined as wi, DeleteOutlined as Yn, LeftOutlined as Kr, RightOutlined as Yr, EyeOutlined as bi, FormOutlined as Pt, TableOutlined as Wn, AreaChartOutlined as xi, CalendarOutlined as Ci, LinkOutlined as Wr, SaveOutlined as Si, CopyOutlined as Un, InfoCircleOutlined as Ur, ReloadOutlined as dn, EditOutlined as Gr, FilterOutlined as qr, CloseCircleFilled as Ti, BorderOuterOutlined as Fi, SettingOutlined as Oi, ExportOutlined as _i } from "@ant-design/icons";
|
|
@@ -944,7 +944,7 @@ const Zr = (e) => {
|
|
|
944
944
|
p(!1), a();
|
|
945
945
|
}
|
|
946
946
|
function E() {
|
|
947
|
-
return d ? /* @__PURE__ */ n(
|
|
947
|
+
return d ? /* @__PURE__ */ n(Ee, {}) : /* @__PURE__ */ P(ne, {
|
|
948
948
|
children: [V(), /* @__PURE__ */ n(ln, {}), /* @__PURE__ */ n(Ce, {
|
|
949
949
|
justify: "end",
|
|
950
950
|
children: /* @__PURE__ */ P(Ye, {
|
|
@@ -1606,7 +1606,7 @@ const zn = async (e) => {
|
|
|
1606
1606
|
a(!1);
|
|
1607
1607
|
}
|
|
1608
1608
|
};
|
|
1609
|
-
return s ? /* @__PURE__ */ n(
|
|
1609
|
+
return s ? /* @__PURE__ */ n(Ee, {}) : l ? /* @__PURE__ */ n(Ze, {
|
|
1610
1610
|
className: "mt-10",
|
|
1611
1611
|
message: l,
|
|
1612
1612
|
type: "error",
|
|
@@ -1675,7 +1675,7 @@ const zn = async (e) => {
|
|
|
1675
1675
|
message: u,
|
|
1676
1676
|
type: "error",
|
|
1677
1677
|
banner: !0
|
|
1678
|
-
}) : a ? /* @__PURE__ */ n(
|
|
1678
|
+
}) : a ? /* @__PURE__ */ n(Ee, {}) : /* @__PURE__ */ P(ne, {
|
|
1679
1679
|
children: [/* @__PURE__ */ n(tr, {
|
|
1680
1680
|
style: {
|
|
1681
1681
|
padding: "1rem"
|
|
@@ -2403,12 +2403,12 @@ const Mt = ({
|
|
|
2403
2403
|
attrs: je
|
|
2404
2404
|
}), te = We[0];
|
|
2405
2405
|
ee.current = [...te], z(Qt(We[1])), L(gr(We[1]));
|
|
2406
|
-
const Fe = te.map((ce) => ce.id),
|
|
2406
|
+
const Fe = te.map((ce) => ce.id), Me = v !== void 0 ? It({
|
|
2407
2407
|
resultsToSort: te,
|
|
2408
2408
|
sorter: v,
|
|
2409
2409
|
fields: { ...d.fields, ...m.fields }
|
|
2410
2410
|
}) : [...ee.current];
|
|
2411
|
-
Z(
|
|
2411
|
+
Z(Me), Fe.length > 0 ? h == null || h(0) : h == null || h(void 0);
|
|
2412
2412
|
} else
|
|
2413
2413
|
Z([]), h == null || h(void 0);
|
|
2414
2414
|
C(!1), u.current = !0;
|
|
@@ -2428,7 +2428,7 @@ const Mt = ({
|
|
|
2428
2428
|
async (se) => {
|
|
2429
2429
|
const { params: Se, newOffset: De } = se || {}, Ve = hn(Se || D, O), { colors: je, status: We } = _t(d), te = {};
|
|
2430
2430
|
je && (te.colors = je), We && (te.status = We);
|
|
2431
|
-
const { totalItems: Fe, results:
|
|
2431
|
+
const { totalItems: Fe, results: Me, attrsEvaluated: ce } = await H.getHandler().searchForTree({
|
|
2432
2432
|
params: Ve,
|
|
2433
2433
|
limit: B.current,
|
|
2434
2434
|
offset: De || M,
|
|
@@ -2437,9 +2437,9 @@ const Mt = ({
|
|
|
2437
2437
|
context: c,
|
|
2438
2438
|
attrs: te
|
|
2439
2439
|
});
|
|
2440
|
-
z(Qt(ce)), L(gr(ce)), ee.current = [...
|
|
2440
|
+
z(Qt(ce)), L(gr(ce)), ee.current = [...Me];
|
|
2441
2441
|
const me = v !== void 0 ? It({
|
|
2442
|
-
resultsToSort:
|
|
2442
|
+
resultsToSort: Me,
|
|
2443
2443
|
sorter: v,
|
|
2444
2444
|
fields: { ...d.fields, ...m.fields }
|
|
2445
2445
|
}) : [...ee.current];
|
|
@@ -2955,7 +2955,7 @@ const Mt = ({
|
|
|
2955
2955
|
closable: !1,
|
|
2956
2956
|
centered: !0,
|
|
2957
2957
|
maskClosable: !1,
|
|
2958
|
-
children: /* @__PURE__ */ n(
|
|
2958
|
+
children: /* @__PURE__ */ n(Ee, {})
|
|
2959
2959
|
}), /* @__PURE__ */ n(Gt, {
|
|
2960
2960
|
buttonModal: !0,
|
|
2961
2961
|
parentContext: p.context,
|
|
@@ -3099,7 +3099,7 @@ function yl(e, t) {
|
|
|
3099
3099
|
setTitle: We = void 0
|
|
3100
3100
|
} = (w ? Be : {}) || {}, te = Y(Et), {
|
|
3101
3101
|
processAction: Fe,
|
|
3102
|
-
globalValues:
|
|
3102
|
+
globalValues: Me
|
|
3103
3103
|
} = te || {};
|
|
3104
3104
|
xt(t, () => ({
|
|
3105
3105
|
submitForm: zt,
|
|
@@ -3175,7 +3175,7 @@ function yl(e, t) {
|
|
|
3175
3175
|
active_id: ue(),
|
|
3176
3176
|
active_ids: [ue()],
|
|
3177
3177
|
parent_id: $e,
|
|
3178
|
-
...
|
|
3178
|
+
...Me
|
|
3179
3179
|
};
|
|
3180
3180
|
}
|
|
3181
3181
|
const he = async (K) => {
|
|
@@ -3623,7 +3623,7 @@ function yl(e, t) {
|
|
|
3623
3623
|
Ue(oe);
|
|
3624
3624
|
}
|
|
3625
3625
|
}
|
|
3626
|
-
const zo = () => !F && !$ ? /* @__PURE__ */ n(
|
|
3626
|
+
const zo = () => !F && !$ ? /* @__PURE__ */ n(Ee, {}) : !r && !p || !I ? null : /* @__PURE__ */ n(ne, {
|
|
3627
3627
|
children: /* @__PURE__ */ n(ns, {
|
|
3628
3628
|
getValues: Ke,
|
|
3629
3629
|
getPlainValues: at,
|
|
@@ -4432,7 +4432,7 @@ const $l = (e) => /* @__PURE__ */ n(ve, {
|
|
|
4432
4432
|
style: {
|
|
4433
4433
|
padding: 15
|
|
4434
4434
|
},
|
|
4435
|
-
children: /* @__PURE__ */ n(
|
|
4435
|
+
children: /* @__PURE__ */ n(Ee, {})
|
|
4436
4436
|
})
|
|
4437
4437
|
});
|
|
4438
4438
|
if (!f || !f.toolbar)
|
|
@@ -5079,7 +5079,7 @@ function pn(e) {
|
|
|
5079
5079
|
const z = ao(S.current, s);
|
|
5080
5080
|
D(z), $.current = r;
|
|
5081
5081
|
}, [s]);
|
|
5082
|
-
const M = (t - 1) * $.current + 1, _ = M - 1 + V.length, N = i === void 0 ? null : i === 0 ? x("no_results") : x("summary").replace("{from}", M == null ? void 0 : M.toString()).replace("{to}", _ == null ? void 0 : _.toString()).replace("{total}", i == null ? void 0 : i.toString()), k = () => !c || o.isExpandable || l ? null : i === void 0 ? /* @__PURE__ */ n(
|
|
5082
|
+
const M = (t - 1) * $.current + 1, _ = M - 1 + V.length, N = i === void 0 ? null : i === 0 ? x("no_results") : x("summary").replace("{from}", M == null ? void 0 : M.toString()).replace("{to}", _ == null ? void 0 : _.toString()).replace("{total}", i == null ? void 0 : i.toString()), k = () => !c || o.isExpandable || l ? null : i === void 0 ? /* @__PURE__ */ n(Ee, {
|
|
5083
5083
|
className: "pb-4"
|
|
5084
5084
|
}) : /* @__PURE__ */ P(Ce, {
|
|
5085
5085
|
align: "bottom",
|
|
@@ -5122,19 +5122,17 @@ function pn(e) {
|
|
|
5122
5122
|
const U = S.current;
|
|
5123
5123
|
d && U.columns.some((L) => L.sum !== void 0) && (W = d - 30);
|
|
5124
5124
|
}
|
|
5125
|
-
return S.current === null ? /* @__PURE__ */ n(
|
|
5125
|
+
return S.current === null ? /* @__PURE__ */ n(Ee, {
|
|
5126
5126
|
style: {
|
|
5127
5127
|
padding: "2rem"
|
|
5128
5128
|
}
|
|
5129
5129
|
}) : /* @__PURE__ */ P("div", {
|
|
5130
|
-
children: [k(),
|
|
5131
|
-
className: "pb-4"
|
|
5132
|
-
}), /* @__PURE__ */ n(Ri, {
|
|
5130
|
+
children: [k(), /* @__PURE__ */ n(Ri, {
|
|
5133
5131
|
height: W,
|
|
5134
5132
|
columns: q.columns,
|
|
5135
5133
|
dataSource: V,
|
|
5136
|
-
loading:
|
|
5137
|
-
loadingComponent: /* @__PURE__ */ n(
|
|
5134
|
+
loading: l,
|
|
5135
|
+
loadingComponent: /* @__PURE__ */ n(Ee, {}),
|
|
5138
5136
|
onRowStyle: (z) => {
|
|
5139
5137
|
if (m[z.id])
|
|
5140
5138
|
return {
|
|
@@ -5210,7 +5208,7 @@ function rc(e, t) {
|
|
|
5210
5208
|
offset: We,
|
|
5211
5209
|
getResults: te,
|
|
5212
5210
|
requestPageChange: Fe,
|
|
5213
|
-
changeSort:
|
|
5211
|
+
changeSort: Me,
|
|
5214
5212
|
fetchChildrenForRecord: ce,
|
|
5215
5213
|
colorsForResults: me,
|
|
5216
5214
|
statusForResults: Te,
|
|
@@ -5359,7 +5357,7 @@ function rc(e, t) {
|
|
|
5359
5357
|
onChange: Ae
|
|
5360
5358
|
},
|
|
5361
5359
|
sorter: ee,
|
|
5362
|
-
onChangeSort:
|
|
5360
|
+
onChangeSort: Me,
|
|
5363
5361
|
onFetchChildrenForRecord: w.isExpandable ? ce : void 0,
|
|
5364
5362
|
childField: w.field_parent,
|
|
5365
5363
|
rootTree: f
|
|
@@ -5374,7 +5372,7 @@ function rc(e, t) {
|
|
|
5374
5372
|
style: c ? {} : {
|
|
5375
5373
|
display: "none"
|
|
5376
5374
|
},
|
|
5377
|
-
children: v ? /* @__PURE__ */ n(
|
|
5375
|
+
children: v ? /* @__PURE__ */ n(Ee, {}) : ye()
|
|
5378
5376
|
});
|
|
5379
5377
|
}
|
|
5380
5378
|
const So = bt(rc), To = (e) => {
|
|
@@ -6284,7 +6282,7 @@ const Cc = {
|
|
|
6284
6282
|
banner: !0
|
|
6285
6283
|
});
|
|
6286
6284
|
if (c)
|
|
6287
|
-
return /* @__PURE__ */ n(
|
|
6285
|
+
return /* @__PURE__ */ n(Ee, {});
|
|
6288
6286
|
if (!f)
|
|
6289
6287
|
return /* @__PURE__ */ n(Ze, {
|
|
6290
6288
|
message: "No data to display",
|
|
@@ -6698,7 +6696,7 @@ const Mc = (e) => {
|
|
|
6698
6696
|
Dc({
|
|
6699
6697
|
lang: g,
|
|
6700
6698
|
onOk: () => {
|
|
6701
|
-
a === "form" ? Fe() :
|
|
6699
|
+
a === "form" ? Fe() : Me();
|
|
6702
6700
|
}
|
|
6703
6701
|
});
|
|
6704
6702
|
return;
|
|
@@ -6706,7 +6704,7 @@ const Mc = (e) => {
|
|
|
6706
6704
|
_c({
|
|
6707
6705
|
lang: g,
|
|
6708
6706
|
onOk: () => {
|
|
6709
|
-
a === "form" ? Fe() :
|
|
6707
|
+
a === "form" ? Fe() : Me();
|
|
6710
6708
|
}
|
|
6711
6709
|
});
|
|
6712
6710
|
}, We = async () => {
|
|
@@ -6742,7 +6740,7 @@ const Mc = (e) => {
|
|
|
6742
6740
|
E(X);
|
|
6743
6741
|
}
|
|
6744
6742
|
c(0), V(!1);
|
|
6745
|
-
},
|
|
6743
|
+
}, Me = async () => {
|
|
6746
6744
|
const X = Q.filter((ae) => F.includes(ae.id));
|
|
6747
6745
|
V(!0), I(!1), E(void 0);
|
|
6748
6746
|
try {
|
|
@@ -6842,7 +6840,7 @@ const Mc = (e) => {
|
|
|
6842
6840
|
const Xe = () => {
|
|
6843
6841
|
var ae, Ae, he, ye;
|
|
6844
6842
|
if (a === "form")
|
|
6845
|
-
return Q.length === 0 ? y("noCurrentEntries") : a !== J.current && s.some((xe) => !xe.values) ? /* @__PURE__ */ n(
|
|
6843
|
+
return Q.length === 0 ? y("noCurrentEntries") : a !== J.current && s.some((xe) => !xe.values) ? /* @__PURE__ */ n(Ee, {}) : /* @__PURE__ */ n(Ut, {
|
|
6846
6844
|
formView: o.get("form"),
|
|
6847
6845
|
values: (ae = Q[u]) == null ? void 0 : ae.values,
|
|
6848
6846
|
parentContext: {
|
|
@@ -6922,7 +6920,7 @@ const Mc = (e) => {
|
|
|
6922
6920
|
banner: !0
|
|
6923
6921
|
});
|
|
6924
6922
|
const Ke = M;
|
|
6925
|
-
return w ? /* @__PURE__ */ n(
|
|
6923
|
+
return w ? /* @__PURE__ */ n(Ee, {}) : /* @__PURE__ */ P(ne, {
|
|
6926
6924
|
children: [/* @__PURE__ */ n(Ac, {
|
|
6927
6925
|
mode: a,
|
|
6928
6926
|
title: ue(),
|
|
@@ -7017,7 +7015,7 @@ const Mc = (e) => {
|
|
|
7017
7015
|
c(!1);
|
|
7018
7016
|
}
|
|
7019
7017
|
};
|
|
7020
|
-
return r && r.length > 0 ? l = r[0] : l = "tree", u ? /* @__PURE__ */ n(
|
|
7018
|
+
return r && r.length > 0 ? l = r[0] : l = "tree", u ? /* @__PURE__ */ n(Ee, {}) : f ? /* @__PURE__ */ n(Ze, {
|
|
7021
7019
|
className: "mt-10",
|
|
7022
7020
|
message: f,
|
|
7023
7021
|
type: "error",
|
|
@@ -8146,7 +8144,7 @@ const fd = (e) => {
|
|
|
8146
8144
|
onOpenAttachmentDetail: l,
|
|
8147
8145
|
onListAllAttachments: u
|
|
8148
8146
|
} = e;
|
|
8149
|
-
return o ? /* @__PURE__ */ n(
|
|
8147
|
+
return o ? /* @__PURE__ */ n(Ee, {
|
|
8150
8148
|
style: {
|
|
8151
8149
|
padding: 20
|
|
8152
8150
|
}
|
|
@@ -8297,7 +8295,7 @@ function hd(e) {
|
|
|
8297
8295
|
closable: !1,
|
|
8298
8296
|
centered: !0,
|
|
8299
8297
|
maskClosable: !1,
|
|
8300
|
-
children: /* @__PURE__ */ n(
|
|
8298
|
+
children: /* @__PURE__ */ n(Ee, {})
|
|
8301
8299
|
})]
|
|
8302
8300
|
});
|
|
8303
8301
|
}
|
|
@@ -8423,7 +8421,7 @@ function pd({
|
|
|
8423
8421
|
return r ? /* @__PURE__ */ P(Ye, {
|
|
8424
8422
|
wrap: !0,
|
|
8425
8423
|
children: [O && /* @__PURE__ */ P(ne, {
|
|
8426
|
-
children: [/* @__PURE__ */ n(
|
|
8424
|
+
children: [/* @__PURE__ */ n(Ee, {}), Tt(), Tt()]
|
|
8427
8425
|
}), /* @__PURE__ */ n(Ro, {
|
|
8428
8426
|
disabled: a || O || p || h
|
|
8429
8427
|
}), /* @__PURE__ */ n(qe, {
|
|
@@ -9054,7 +9052,7 @@ const Td = (e) => {
|
|
|
9054
9052
|
searchVisible: g,
|
|
9055
9053
|
searchValues: S,
|
|
9056
9054
|
showLimitOptions: !1
|
|
9057
|
-
}), k ? /* @__PURE__ */ n(
|
|
9055
|
+
}), k ? /* @__PURE__ */ n(Ee, {}) : /* @__PURE__ */ n(gn, {
|
|
9058
9056
|
ref: u,
|
|
9059
9057
|
view_id: t.view_id,
|
|
9060
9058
|
model: i,
|
|
@@ -9270,7 +9268,7 @@ function Id(e) {
|
|
|
9270
9268
|
return /* @__PURE__ */ P(Ye, {
|
|
9271
9269
|
wrap: !0,
|
|
9272
9270
|
children: [O && /* @__PURE__ */ P(ne, {
|
|
9273
|
-
children: [/* @__PURE__ */ n(
|
|
9271
|
+
children: [/* @__PURE__ */ n(Ee, {}), vt(), vt()]
|
|
9274
9272
|
}), C ? null : /* @__PURE__ */ P(ne, {
|
|
9275
9273
|
children: [/* @__PURE__ */ n(Od, {
|
|
9276
9274
|
disabled: l || a || O,
|
|
@@ -9600,7 +9598,7 @@ function Ed(e, t) {
|
|
|
9600
9598
|
limit: g
|
|
9601
9599
|
} = e, [y, O] = T(), [I, w] = T([]), [V, D] = T(!0), E = m || void 0, [b, C] = T(E), [S, x] = T([]), [$, R] = T(), [F, A] = T([]), [M, _] = T(), [N, k] = T(0), [j, q] = T(!1), [W, z] = T(!1), [U, L] = T(), {
|
|
9602
9600
|
t: B
|
|
9603
|
-
} = Y(we), ee = de(), Z = de(), ie = Y(st), {
|
|
9601
|
+
} = Y(we) || {}, ee = de(), Z = de(), ie = Y(st), {
|
|
9604
9602
|
setCurrentView: Q,
|
|
9605
9603
|
setCurrentId: J,
|
|
9606
9604
|
tabs: fe,
|
|
@@ -9637,8 +9635,8 @@ function Ed(e, t) {
|
|
|
9637
9635
|
viewTuple: me
|
|
9638
9636
|
});
|
|
9639
9637
|
}
|
|
9640
|
-
const
|
|
9641
|
-
for (const me of
|
|
9638
|
+
const Me = await Md(Fe);
|
|
9639
|
+
for (const me of Me) {
|
|
9642
9640
|
if (!me)
|
|
9643
9641
|
continue;
|
|
9644
9642
|
const [, Te] = me.viewTuple;
|
|
@@ -9699,7 +9697,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9699
9697
|
tabKey: u,
|
|
9700
9698
|
canWeClose: Se
|
|
9701
9699
|
}), pe(() => {
|
|
9702
|
-
const te = I.find((
|
|
9700
|
+
const te = I.find((Me) => Me.type === "tree"), Fe = I.find((Me) => c.id ? Me.type === c.type && Me.view_id === c.id : Me.type === c.type);
|
|
9703
9701
|
ge(Fe || te), m ? J == null || J(E) : (Be(void 0), R(void 0)), se();
|
|
9704
9702
|
}, [i, s, m]), pe(() => {
|
|
9705
9703
|
be === u && (J == null || J(b), Q == null || Q(y));
|
|
@@ -9714,22 +9712,22 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9714
9712
|
var me;
|
|
9715
9713
|
z(!0);
|
|
9716
9714
|
const Fe = F.findIndex((Te) => Te.id === te);
|
|
9717
|
-
let
|
|
9715
|
+
let Me;
|
|
9718
9716
|
if (Fe === -1) {
|
|
9719
9717
|
try {
|
|
9720
|
-
|
|
9718
|
+
Me = (me = await H.getHandler().readObjects({
|
|
9721
9719
|
model: i,
|
|
9722
9720
|
ids: [te],
|
|
9723
9721
|
context: o
|
|
9724
9722
|
})) == null ? void 0 : me[0];
|
|
9725
9723
|
} catch {
|
|
9726
9724
|
}
|
|
9727
|
-
if (!
|
|
9725
|
+
if (!Me) {
|
|
9728
9726
|
z(!1), q(!1), ct(B("idNotFound"));
|
|
9729
9727
|
return;
|
|
9730
9728
|
}
|
|
9731
9729
|
} else
|
|
9732
|
-
|
|
9730
|
+
Me = F[Fe];
|
|
9733
9731
|
z(!1), q(!1);
|
|
9734
9732
|
const ce = s.find((Te) => Te[1] === "form");
|
|
9735
9733
|
$e({
|
|
@@ -9809,7 +9807,7 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
9809
9807
|
ge(te);
|
|
9810
9808
|
}
|
|
9811
9809
|
}
|
|
9812
|
-
return V ? /* @__PURE__ */ n(
|
|
9810
|
+
return V ? /* @__PURE__ */ n(Ee, {}) : y ? /* @__PURE__ */ P(dl, {
|
|
9813
9811
|
title: a,
|
|
9814
9812
|
currentView: y,
|
|
9815
9813
|
setCurrentView: ge,
|
|
@@ -10133,7 +10131,7 @@ function Kd(e) {
|
|
|
10133
10131
|
message: N,
|
|
10134
10132
|
type: "error",
|
|
10135
10133
|
banner: !0
|
|
10136
|
-
}) : u ? /* @__PURE__ */ n(
|
|
10134
|
+
}) : u ? /* @__PURE__ */ n(Ee, {
|
|
10137
10135
|
style: {
|
|
10138
10136
|
padding: "2rem"
|
|
10139
10137
|
}
|
|
@@ -10540,7 +10538,7 @@ const Ud = bt(Wd), Gd = (e) => {
|
|
|
10540
10538
|
});
|
|
10541
10539
|
}), I(C);
|
|
10542
10540
|
};
|
|
10543
|
-
return f && a.length === 0 ? /* @__PURE__ */ n(
|
|
10541
|
+
return f && a.length === 0 ? /* @__PURE__ */ n(Ee, {}) : /* @__PURE__ */ n(ne, {
|
|
10544
10542
|
children: /* @__PURE__ */ P("div", {
|
|
10545
10543
|
className: "flex flex-row",
|
|
10546
10544
|
children: [/* @__PURE__ */ n(Nt.Group, {
|
|
@@ -11324,7 +11322,7 @@ const {
|
|
|
11324
11322
|
})
|
|
11325
11323
|
})
|
|
11326
11324
|
})]
|
|
11327
|
-
}), /* @__PURE__ */ n(He.Divider, {}), d ? /* @__PURE__ */ n(
|
|
11325
|
+
}), /* @__PURE__ */ n(He.Divider, {}), d ? /* @__PURE__ */ n(Ee, {
|
|
11328
11326
|
style: {
|
|
11329
11327
|
padding: "1rem"
|
|
11330
11328
|
}
|
|
@@ -11422,6 +11420,7 @@ const {
|
|
|
11422
11420
|
};
|
|
11423
11421
|
export {
|
|
11424
11422
|
pd as ActionBar,
|
|
11423
|
+
$o as ActionView,
|
|
11425
11424
|
ld as Binary,
|
|
11426
11425
|
ws as Boolean,
|
|
11427
11426
|
Jr as Button,
|
|
@@ -11465,6 +11464,7 @@ export {
|
|
|
11465
11464
|
Yc as Separator,
|
|
11466
11465
|
tu as Steps,
|
|
11467
11466
|
Qd as Switch,
|
|
11467
|
+
cu as Tab,
|
|
11468
11468
|
Pu as TabSelector,
|
|
11469
11469
|
Ha as Tag,
|
|
11470
11470
|
Ba as Tags,
|