sme-pos-package 1.0.2 → 1.0.4
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/index.css +5 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +39 -6
- package/dist/index.d.ts +39 -6
- package/dist/index.js +72 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +72 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +28 -3
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.css"],"sourcesContent":[".custom {\n color: red;\n background-color: blue;\n font-size: 20px;\n}\n"],"mappings":"AAAA,CAAC,OACC,MAAO,IACP,iBAAkB,KAClB,UAAW,IACb","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
label: string;
|
|
3
|
-
onClick: () => void;
|
|
4
|
-
}
|
|
5
|
-
declare const ExampleButton: React.FC<ButtonProps>;
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
declare const EMenuLink: (props: any) => react_jsx_runtime.JSX.Element;
|
|
4
|
+
|
|
5
|
+
type TProps$1 = {
|
|
6
|
+
columns: any[];
|
|
7
|
+
row: any;
|
|
8
|
+
onClickRow: any;
|
|
9
|
+
};
|
|
10
|
+
declare const KitchenTemplate: ({ columns, row, onClickRow }: TProps$1) => react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare const PosOrderTemplate: ({ readOnly, row, handleClick, onAddItem, onPayment, onIssueInvoice, onPrintInvoice, }: {
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
row: any;
|
|
15
|
+
handleClick: () => void;
|
|
16
|
+
onAddItem?: () => void;
|
|
17
|
+
onPayment?: () => void;
|
|
18
|
+
onIssueInvoice?: () => void;
|
|
19
|
+
onPrintInvoice?: () => void;
|
|
20
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare const PosTemplate: ({ row, columns, onClickRow, settings_act_id, res_model, }: {
|
|
23
|
+
row: any;
|
|
24
|
+
columns: any;
|
|
25
|
+
onClickRow: any;
|
|
26
|
+
settings_act_id?: number;
|
|
27
|
+
res_model?: string;
|
|
28
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
type RecordType = Record<string, any>;
|
|
31
|
+
type TProps = {
|
|
32
|
+
openModal: boolean;
|
|
33
|
+
setOpenModal: (val: boolean) => void;
|
|
34
|
+
methods: any;
|
|
35
|
+
row: any;
|
|
36
|
+
record: RecordType;
|
|
37
|
+
};
|
|
38
|
+
declare const OpenSessionModal: (props: TProps) => react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
export { EMenuLink, KitchenTemplate, OpenSessionModal, PosOrderTemplate, PosTemplate };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
label: string;
|
|
3
|
-
onClick: () => void;
|
|
4
|
-
}
|
|
5
|
-
declare const ExampleButton: React.FC<ButtonProps>;
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
declare const EMenuLink: (props: any) => react_jsx_runtime.JSX.Element;
|
|
4
|
+
|
|
5
|
+
type TProps$1 = {
|
|
6
|
+
columns: any[];
|
|
7
|
+
row: any;
|
|
8
|
+
onClickRow: any;
|
|
9
|
+
};
|
|
10
|
+
declare const KitchenTemplate: ({ columns, row, onClickRow }: TProps$1) => react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare const PosOrderTemplate: ({ readOnly, row, handleClick, onAddItem, onPayment, onIssueInvoice, onPrintInvoice, }: {
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
row: any;
|
|
15
|
+
handleClick: () => void;
|
|
16
|
+
onAddItem?: () => void;
|
|
17
|
+
onPayment?: () => void;
|
|
18
|
+
onIssueInvoice?: () => void;
|
|
19
|
+
onPrintInvoice?: () => void;
|
|
20
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare const PosTemplate: ({ row, columns, onClickRow, settings_act_id, res_model, }: {
|
|
23
|
+
row: any;
|
|
24
|
+
columns: any;
|
|
25
|
+
onClickRow: any;
|
|
26
|
+
settings_act_id?: number;
|
|
27
|
+
res_model?: string;
|
|
28
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
type RecordType = Record<string, any>;
|
|
31
|
+
type TProps = {
|
|
32
|
+
openModal: boolean;
|
|
33
|
+
setOpenModal: (val: boolean) => void;
|
|
34
|
+
methods: any;
|
|
35
|
+
row: any;
|
|
36
|
+
record: RecordType;
|
|
37
|
+
};
|
|
38
|
+
declare const OpenSessionModal: (props: TProps) => react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
40
|
+
export { EMenuLink, KitchenTemplate, OpenSessionModal, PosOrderTemplate, PosTemplate };
|