@gisce/react-ooui 2.115.0-alpha.4 → 2.115.0-alpha.5
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/CommentsButton.d.ts +8 -0
- package/dist/actionbar/CommentsButton.d.ts.map +1 -0
- package/dist/actionbar/CommentsSidePanel.d.ts +18 -0
- package/dist/actionbar/CommentsSidePanel.d.ts.map +1 -0
- package/dist/actionbar/FormActionBar.d.ts.map +1 -1
- package/dist/context/ActionViewContext.d.ts +12 -0
- package/dist/context/ActionViewContext.d.ts.map +1 -1
- package/dist/hooks/useRecordComments.d.ts +16 -0
- package/dist/hooks/useRecordComments.d.ts.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/ca_ES.d.ts +4 -0
- package/dist/locales/ca_ES.d.ts.map +1 -1
- package/dist/locales/en_US.d.ts +4 -0
- package/dist/locales/en_US.d.ts.map +1 -1
- package/dist/locales/es_ES.d.ts +4 -0
- package/dist/locales/es_ES.d.ts.map +1 -1
- package/dist/models/erpFeature.d.ts +2 -1
- package/dist/models/erpFeature.d.ts.map +1 -1
- package/dist/react-ooui.es.js +9629 -9072
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/types/comments.d.ts +16 -0
- package/dist/types/comments.d.ts.map +1 -0
- package/dist/ui/CommentMarkdown.d.ts +9 -0
- package/dist/ui/CommentMarkdown.d.ts.map +1 -0
- package/dist/ui/UserAvatar.d.ts +8 -0
- package/dist/ui/UserAvatar.d.ts.map +1 -0
- package/dist/views/actionViews/DashboardActionView.d.ts.map +1 -1
- package/dist/views/actionViews/FormActionView.d.ts.map +1 -1
- package/dist/views/actionViews/GraphActionView.d.ts.map +1 -1
- package/dist/views/actionViews/TreeActionView.d.ts.map +1 -1
- package/dist/widgets/custom/Markdown.d.ts +14 -2
- package/dist/widgets/custom/Markdown.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type RecordComment = {
|
|
2
|
+
id: number;
|
|
3
|
+
body: string;
|
|
4
|
+
res_model: string;
|
|
5
|
+
res_id: number;
|
|
6
|
+
create_date: string;
|
|
7
|
+
create_uid: number;
|
|
8
|
+
"create_uid.login": string;
|
|
9
|
+
"create_uid.name": string;
|
|
10
|
+
};
|
|
11
|
+
export type MentionUser = {
|
|
12
|
+
id: number;
|
|
13
|
+
login: string;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=comments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/types/comments.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RecordComment } from '../*/types/comments';
|
|
2
|
+
type CommentMarkdownProps = {
|
|
3
|
+
comment: RecordComment;
|
|
4
|
+
model: string;
|
|
5
|
+
resourceId: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const CommentMarkdown: ({ comment, model, resourceId, }: CommentMarkdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=CommentMarkdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentMarkdown.d.ts","sourceRoot":"","sources":["../../src/ui/CommentMarkdown.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,KAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAYF,eAAO,MAAM,eAAe,oCAIzB,oBAAoB,4CAkBtB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
import type { AvatarProps } from "antd";
|
|
3
|
+
export type UserAvatarProps = Omit<AvatarProps, "children"> & {
|
|
4
|
+
userName: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
};
|
|
7
|
+
export declare const UserAvatar: import("react").MemoExoticComponent<(props: UserAvatarProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
//# sourceMappingURL=UserAvatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserAvatar.d.ts","sourceRoot":"","sources":["../../src/ui/UserAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,aAAa,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAgCF,eAAO,MAAM,UAAU,8CArBa,eAAe,6CAqBA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/DashboardActionView.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/DashboardActionView.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAOzC,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,cAAc,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,mDAqClE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/FormActionView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/FormActionView.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAWnC,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,GAAG,CAAC;IACb,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,UAAU,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACnC,mBAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,mBAAmB,mDA8JxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/GraphActionView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GraphActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/GraphActionView.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAsBxD,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;IACb,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,oBAAoB,mDAmO1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/TreeActionView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"TreeActionView.d.ts","sourceRoot":"","sources":["../../../src/views/actionViews/TreeActionView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AA+BnD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,GAAG,CAAC;IACb,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,mBAAmB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,YAAY,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACrC,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;AAC3D,eAAO,MAAM,iBAAiB,EAAE,QAAmB,CAAC;AAEpD,eAAO,MAAM,cAAc,UAAW,mBAAmB,mDAqKxD,CAAC"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { Components } from "react-markdown";
|
|
2
2
|
import { WidgetProps } from '../../*/types';
|
|
3
|
+
import { CSSProperties } from "react";
|
|
3
4
|
export declare const Markdown: (props: WidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const
|
|
5
|
+
export declare const transformMentions: (text: string) => string;
|
|
6
|
+
export type MarkdownInputProps = {
|
|
7
|
+
value?: string;
|
|
8
|
+
onChange?: (value: string) => void;
|
|
9
|
+
ooui?: {
|
|
10
|
+
height?: number;
|
|
11
|
+
};
|
|
12
|
+
components?: Components;
|
|
13
|
+
containerStyle?: CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const MarkdownInput: import("react").ForwardRefExoticComponent<MarkdownInputProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
17
|
//# sourceMappingURL=Markdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/Markdown.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../src/widgets/custom/Markdown.tsx"],"names":[],"mappings":"AACA,OAAsB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,OAAO,EAML,aAAa,EACd,MAAM,OAAO,CAAC;AAGf,eAAO,MAAM,QAAQ,UAAW,WAAW,4CAM1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,SAAU,MAAM,KAAG,MAEhD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,+GAwIzB,CAAC"}
|