@saltcorn/markup
Advanced tools
Comparing version 1.1.2-beta.12 to 1.1.2-beta.13
@@ -7,3 +7,3 @@ /** | ||
declare const _default: { | ||
renderForm: (form: Form | string, csrfToken0: string | boolean) => string; | ||
renderForm: (form: string | Form, csrfToken0: string | boolean) => string; | ||
mkFormContentNoLayout: (form: Form, errors?: any) => string; | ||
@@ -10,0 +10,0 @@ }; |
import mkTable = require("./table"); | ||
type PostBtnOpts = { | ||
btnClass: string; | ||
onClick?: string; | ||
small?: boolean; | ||
style?: string; | ||
ajax?: boolean; | ||
reload_on_done: string; | ||
reload_delay?: string; | ||
klass: string; | ||
formClass?: string; | ||
spinner?: boolean; | ||
req: any; | ||
confirm?: boolean; | ||
icon?: string; | ||
title?: string; | ||
}; | ||
declare const _default: { | ||
mkTable: (hdrs: mkTable.HeadersParams[], vs: any[], opts?: mkTable.OptsParams | any) => string; | ||
mkTable: (hdrs: mkTable.HeadersParams[], vs: any[], opts?: any) => string; | ||
badge: (col: string, lbl: string) => string; | ||
renderForm: (form: import("@saltcorn/types/model-abstracts/abstract_form").AbstractForm | string, csrfToken0: string | boolean) => string; | ||
renderForm: (form: string | import("@saltcorn/types/model-abstracts/abstract_form").AbstractForm, csrfToken0: string | boolean) => string; | ||
settingsDropdown: (id: string, elems: any) => string; | ||
renderBuilder: ({ options, context, action, stepName, layout, mode, version_tag, }: any, csrfToken: any) => string; | ||
link: (href: string, s: string, attributes?: any) => string; | ||
post_btn: (href: string, s: string, csrfToken: string, { btnClass, onClick, small, style, ajax, reload_on_done, reload_delay, klass, formClass, spinner, req, confirm, icon, title, }?: PostBtnOpts | any) => string; | ||
post_delete_btn: (href: string, req: any, what?: string) => string; | ||
post_dropdown_item: (href: string, s: string, req: any, confirm?: boolean, what?: string) => string; | ||
tabs: (obj: any | any[]) => any; | ||
post_btn: (href: string, s: string, csrfToken: string, { btnClass, onClick, small, style, ajax, reload_on_done, reload_delay, klass, formClass, spinner, req, confirm, icon, title, }?: any) => string; | ||
post_delete_btn: (href: string, req: any, what?: string | undefined) => string; | ||
post_dropdown_item: (href: string, s: string, req: any, confirm?: boolean | undefined, what?: string | undefined) => string; | ||
tabs: (obj: any) => any; | ||
localeTime: (date: Date, options?: any, locale?: string) => string; | ||
@@ -45,8 +29,8 @@ localeDate: (date: Date, options?: any, locale?: string) => string; | ||
nbsp: string; | ||
mkTag: (tnm: string, voidTag?: boolean) => (...args: string | any) => string; | ||
mkTag: (tnm: string, voidTag?: boolean | undefined) => (...args: any) => string; | ||
}; | ||
alert: (type: string, s: string) => string; | ||
toast: (type: string, s: string, id?: string) => string; | ||
toast: (type: string, s: string, id?: string | undefined) => string; | ||
}; | ||
export = _default; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,19 +29,18 @@ /** | ||
} | ||
type RenderTabsOpts = LayoutExports.RenderTabsOpts; | ||
declare const _default: { | ||
navbar: (brand: LeftNavBarOpts, sections: any[], currentUrl: string, opts?: any) => string; | ||
alert: (type: string, s: string) => string; | ||
toast: (type: string, s: string, id?: string) => string; | ||
toast: (type: string, s: string, id?: string | undefined) => string; | ||
logit: (x: any, s: any) => any; | ||
navbarSolidOnScroll: string; | ||
breadcrumbs: (crumbs: any[], right: any, after: any) => string; | ||
headersInHead: (headers: any[], isDark?: boolean) => string; | ||
headersInHead: (headers: any[], isDark?: boolean | undefined) => string; | ||
headersInBody: (headers: any[]) => string; | ||
cardHeaderTabs: (tabList: any) => string; | ||
mobileBottomNavBar: (currentUrl: string, sections: any[], cls?: string, clsLink?: string) => string; | ||
renderTabs: ({ contents, titles, tabsStyle, ntabs, independent, bodyClass, outerClass, deeplink, disable_inactive, startClosed, acc_init_opens, serverRendered, tabId, tabClass, contentWrapperClass, headerWrapperClass, }: RenderTabsOpts, go: (segment: any, isTop: boolean, ix: number) => any, activeTabTitle?: string, hints?: any, isMobile?: boolean) => any; | ||
show_icon: (icon: string | undefined, cls?: string, no_fw?: Boolean) => any; | ||
show_icon_and_label: (icon: string | undefined, label: string, cls?: string) => string; | ||
renderTabs: ({ contents, titles, tabsStyle, ntabs, independent, bodyClass, outerClass, deeplink, disable_inactive, startClosed, acc_init_opens, serverRendered, tabId, tabClass, contentWrapperClass, headerWrapperClass, }: LayoutExports.RenderTabsOpts, go: (segment: any, isTop: boolean, ix: number) => any, activeTabTitle?: string | undefined, hints?: any, isMobile?: boolean | undefined) => any; | ||
show_icon: (icon: string | undefined, cls?: string | undefined, no_fw?: Boolean | undefined) => any; | ||
show_icon_and_label: (icon: string | undefined, label: string, cls?: string | undefined) => string; | ||
}; | ||
export = _default; | ||
//# sourceMappingURL=layout_utils.d.ts.map |
@@ -22,19 +22,9 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -41,0 +31,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; |
{ | ||
"name": "@saltcorn/markup", | ||
"version": "1.1.2-beta.12", | ||
"version": "1.1.2-beta.13", | ||
"description": "Markup for Saltcorn, open-source no-code platform", | ||
@@ -38,3 +38,3 @@ "homepage": "https://saltcorn.com", | ||
"devDependencies": { | ||
"@saltcorn/types": "1.1.2-beta.12", | ||
"@saltcorn/types": "1.1.2-beta.13", | ||
"@types/escape-html": "^1.0.4", | ||
@@ -45,3 +45,3 @@ "@types/jest": "^29.5.14", | ||
"ts-jest": "^29.2.5", | ||
"typescript": "^5.7.3", | ||
"typescript": "5.1.6", | ||
"webpack": "5.97.1", | ||
@@ -48,0 +48,0 @@ "webpack-cli": "6.0.1" |
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 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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
275164
3576