@qore-project/urshipper-custom-table-component
Advanced tools
Comparing version 1.5.32 to 1.5.33
@@ -37,3 +37,3 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
{ | ||
pageID: `CJR`, | ||
pageID: `6a3`, | ||
rowID: `1`, | ||
@@ -40,0 +40,0 @@ type: 'jump_to_page', |
@@ -42,3 +42,3 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime"; | ||
const insertAction = props.hooks.useActionTrigger(props.properties.action_1, props.data.page.row, props.pageSource); | ||
// fixed action example | ||
// fixed action example (PRINT LABEL) | ||
const actionIntegrationOne = props.hooks.useActionTrigger( | ||
@@ -65,3 +65,3 @@ //@ts-ignore | ||
], props.data.page.row, props.pageSource); | ||
// fixed action example | ||
// fixed action example (Create Invoice) | ||
const actionIntegrationTwo = props.hooks.useActionTrigger([ | ||
@@ -86,3 +86,3 @@ { | ||
{ | ||
pageID: `CJR`, | ||
pageID: `6a3`, | ||
rowID: `1`, | ||
@@ -89,0 +89,0 @@ type: 'jump_to_page', |
@@ -33,4 +33,4 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
user_id: '', | ||
label_action_4: '', | ||
label_action_5: '', | ||
label_action_4: 'Print Label', | ||
label_action_5: 'Creat Invoice', | ||
action_1: [{ type: 'none' }], | ||
@@ -131,3 +131,2 @@ action_2: [{ type: 'none' }], | ||
}, [tableData, source]); | ||
console.log(data, `data`); | ||
return (_jsxs(Box, Object.assign({ w: "100%", p: "5" }, { children: [_jsx(Stack, Object.assign({ my: "5" }, { children: _jsx(Text, Object.assign({ fontWeight: 'bold', fontSize: "xl" }, { children: title })) })), data.length > 0 ? (_jsx(UrshipperTable, { columns: columns, data: data, tableData: tableData, type: platformType, userId: userId, props: props })) : (_jsx(Box, { children: "There is No Data" }))] }))); | ||
@@ -134,0 +133,0 @@ }, |
{ | ||
"name": "@qore-project/urshipper-custom-table-component", | ||
"version": "1.5.32", | ||
"version": "1.5.33", | ||
"module": "lib/urshipper-custom-table.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
641710
6661