| 1 |
declare const tablebergAdminMenuData: { |
| 2 |
assets: { |
| 3 |
logo: string; |
| 4 |
logoTransparent: string; |
| 5 |
}; |
| 6 |
individual_control: { |
| 7 |
data: any; |
| 8 |
ajax: { |
| 9 |
toggleControl: { |
| 10 |
url: string; |
| 11 |
action: "toggle_control"; |
| 12 |
nonce: string; |
| 13 |
}; |
| 14 |
}; |
| 15 |
}; |
| 16 |
global_control: { |
| 17 |
data: any; |
| 18 |
ajax: { |
| 19 |
toggleControl: { |
| 20 |
url: string; |
| 21 |
action: "toggle_control"; |
| 22 |
nonce: string; |
| 23 |
}; |
| 24 |
}; |
| 25 |
}; |
| 26 |
block_properties: { |
| 27 |
data: any; |
| 28 |
ajax: { |
| 29 |
blockProperties: { |
| 30 |
url: string; |
| 31 |
action: "toggle_control"; |
| 32 |
nonce: string; |
| 33 |
}; |
| 34 |
}; |
| 35 |
}; |
| 36 |
misc: { |
| 37 |
pro_status: boolean; |
| 38 |
}; |
| 39 |
welcome: { |
| 40 |
title: "Welcome to Tableberg!"; |
| 41 |
content: "Elevate Your Content with Seamless Tables - The Ultimate WordPress Block Editor Plugin for Effortless Table Creation!"; |
| 42 |
}; |
| 43 |
documentation: { |
| 44 |
title: "Documentation"; |
| 45 |
content: "Elevate your space with Tableberg: a sleek, modern table block for style and functionality. Crafted for timeless elegance and versatility."; |
| 46 |
}; |
| 47 |
support: { |
| 48 |
title: "Support"; |
| 49 |
content: "Visit our Tableberg Support Page for quick solutions and assistance. We're here to ensure your Tableberg experience is seamless and satisfying."; |
| 50 |
}; |
| 51 |
community: { |
| 52 |
title: "Join Community"; |
| 53 |
content: "Join the vibrant Tableberg community. Connect, share, and discover endless possibilities together. Elevate your experience with like-minded enthusiasts now!"; |
| 54 |
}; |
| 55 |
upgrade: { |
| 56 |
title: "Upgrade to Tableberg PRO!"; |
| 57 |
content: "Elevate Your Content with Seamless Tables - The Ultimate WordPress Block Editor Plugin for Effortless Table Creation!"; |
| 58 |
}; |
| 59 |
versionControl: { |
| 60 |
currentVersion: string; |
| 61 |
versions: string[]; |
| 62 |
ajax: { |
| 63 |
versionRollback: { |
| 64 |
url: string; |
| 65 |
action: "tableberg_version_control"; |
| 66 |
nonce: string; |
| 67 |
}; |
| 68 |
}; |
| 69 |
}; |
| 70 |
}; |
| 71 |
|
| 72 |
declare const TABLEBERG_CFG: { |
| 73 |
plugin_url: string; |
| 74 |
IS_PRO: boolean; |
| 75 |
}; |
| 76 |
|
| 77 |
const createPrivateStore = await import("@tableberg/src/store").then( |
| 78 |
x => x.createPrivateStore |
| 79 |
); |
| 80 |
|
| 81 |
declare type TablebergPrivateStore = ReturnType<typeof createPrivateStore>; |
| 82 |
|
| 83 |
interface TablebergWpGlobal { |
| 84 |
data?: { |
| 85 |
select?: (store: unknown) => { |
| 86 |
getShortcutRepresentation?: ( |
| 87 |
shortcutName: string |
| 88 |
) => string | undefined; |
| 89 |
}; |
| 90 |
}; |
| 91 |
keyboardShortcuts?: { |
| 92 |
store?: unknown; |
| 93 |
}; |
| 94 |
} |
| 95 |
|
| 96 |
interface Window { |
| 97 |
wp?: TablebergWpGlobal; |
| 98 |
tablebergPatterns: object[]; |
| 99 |
tablebergPatternCategories: object[]; |
| 100 |
tablebergPrivateStores: Record<string, TablebergPrivateStore>; |
| 101 |
} |
| 102 |
|