@saltcorn/data 1.6.0-alpha.7 → 1.6.0-alpha.8
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/base-plugin/actions.d.ts +1850 -1656
- package/dist/base-plugin/actions.d.ts.map +1 -1
- package/dist/base-plugin/actions.js +122 -104
- package/dist/base-plugin/actions.js.map +1 -1
- package/dist/base-plugin/fieldviews.d.ts +284 -114
- package/dist/base-plugin/fieldviews.d.ts.map +1 -1
- package/dist/base-plugin/fieldviews.js +23 -69
- package/dist/base-plugin/fieldviews.js.map +1 -1
- package/dist/base-plugin/fileviews.d.ts +15 -14
- package/dist/base-plugin/fileviews.d.ts.map +1 -1
- package/dist/base-plugin/fileviews.js +22 -18
- package/dist/base-plugin/fileviews.js.map +1 -1
- package/dist/base-plugin/index.d.ts +3369 -1293
- package/dist/base-plugin/index.d.ts.map +1 -1
- package/dist/base-plugin/index.js +39 -25
- package/dist/base-plugin/index.js.map +1 -1
- package/dist/base-plugin/types.d.ts +1438 -1029
- package/dist/base-plugin/types.d.ts.map +1 -1
- package/dist/base-plugin/types.js +3 -2
- package/dist/base-plugin/types.js.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.d.ts +133 -257
- package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.js +292 -349
- package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
- package/dist/base-plugin/viewtemplates/feed.d.ts +30 -81
- package/dist/base-plugin/viewtemplates/feed.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/feed.js +37 -30
- package/dist/base-plugin/viewtemplates/feed.js.map +1 -1
- package/dist/base-plugin/viewtemplates/filter.d.ts +42 -64
- package/dist/base-plugin/viewtemplates/filter.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/filter.js +86 -82
- package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
- package/dist/base-plugin/viewtemplates/list.d.ts +40 -115
- package/dist/base-plugin/viewtemplates/list.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/list.js +143 -162
- package/dist/base-plugin/viewtemplates/list.js.map +1 -1
- package/dist/base-plugin/viewtemplates/listshowlist.d.ts +65 -49
- package/dist/base-plugin/viewtemplates/listshowlist.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/listshowlist.js +33 -58
- package/dist/base-plugin/viewtemplates/listshowlist.js.map +1 -1
- package/dist/base-plugin/viewtemplates/room.d.ts +102 -109
- package/dist/base-plugin/viewtemplates/room.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/room.js +53 -50
- package/dist/base-plugin/viewtemplates/room.js.map +1 -1
- package/dist/base-plugin/viewtemplates/show.d.ts +72 -133
- package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/show.js +72 -182
- package/dist/base-plugin/viewtemplates/show.js.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.d.ts +2 -2
- package/dist/base-plugin/viewtemplates/viewable_fields.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.js +2 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.d.ts +37 -61
- package/dist/base-plugin/viewtemplates/workflow-room.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.js +42 -65
- package/dist/base-plugin/viewtemplates/workflow-room.js.map +1 -1
- package/dist/contracts.d.ts +4 -48
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +18 -2
- package/dist/contracts.js.map +1 -1
- package/dist/db/connect.d.ts.map +1 -1
- package/dist/db/connect.js +1 -0
- package/dist/db/connect.js.map +1 -1
- package/dist/db/state.d.ts +31 -28
- package/dist/db/state.d.ts.map +1 -1
- package/dist/db/state.js +5 -2
- package/dist/db/state.js.map +1 -1
- package/dist/model-helper.d.ts +4 -16
- package/dist/model-helper.d.ts.map +1 -1
- package/dist/model-helper.js +3 -3
- package/dist/model-helper.js.map +1 -1
- package/dist/models/config.d.ts +5 -0
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/config.js +5 -0
- package/dist/models/config.js.map +1 -1
- package/dist/models/field.d.ts +1 -1
- package/dist/models/field.d.ts.map +1 -1
- package/dist/models/field.js +3 -2
- package/dist/models/field.js.map +1 -1
- package/dist/models/file.d.ts +1 -1
- package/dist/models/file.d.ts.map +1 -1
- package/dist/models/file.js.map +1 -1
- package/dist/models/form.js +1 -1
- package/dist/models/form.js.map +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/layout.d.ts +1 -1
- package/dist/models/layout.d.ts.map +1 -1
- package/dist/models/layout.js +12 -0
- package/dist/models/layout.js.map +1 -1
- package/dist/models/plugin.d.ts +3 -2
- package/dist/models/plugin.d.ts.map +1 -1
- package/dist/models/plugin.js +7 -0
- package/dist/models/plugin.js.map +1 -1
- package/dist/models/table.d.ts.map +1 -1
- package/dist/models/table.js +6 -1
- package/dist/models/table.js.map +1 -1
- package/dist/plugin-testing.d.ts +3 -63
- package/dist/plugin-testing.d.ts.map +1 -1
- package/dist/plugin-testing.js +34 -15
- package/dist/plugin-testing.js.map +1 -1
- package/dist/standard-menu.d.ts.map +1 -1
- package/dist/standard-menu.js +15 -0
- package/dist/standard-menu.js.map +1 -1
- package/dist/tests/actions.test.d.ts +2 -0
- package/dist/tests/actions.test.d.ts.map +1 -0
- package/dist/tests/actions.test.js +936 -0
- package/dist/tests/actions.test.js.map +1 -0
- package/dist/tests/auth.test.d.ts +2 -0
- package/dist/tests/auth.test.d.ts.map +1 -0
- package/dist/tests/auth.test.js +824 -0
- package/dist/tests/auth.test.js.map +1 -0
- package/dist/tests/auxtest.test.d.ts +2 -0
- package/dist/tests/auxtest.test.d.ts.map +1 -0
- package/dist/tests/auxtest.test.js +562 -0
- package/dist/tests/auxtest.test.js.map +1 -0
- package/dist/tests/base.test.d.ts +2 -0
- package/dist/tests/base.test.d.ts.map +1 -0
- package/dist/tests/base.test.js +30 -0
- package/dist/tests/base.test.js.map +1 -0
- package/dist/tests/calc.test.d.ts +2 -0
- package/dist/tests/calc.test.d.ts.map +1 -0
- package/dist/tests/calc.test.js +1081 -0
- package/dist/tests/calc.test.js.map +1 -0
- package/dist/tests/composite_pk.test.d.ts +2 -0
- package/dist/tests/composite_pk.test.d.ts.map +1 -0
- package/dist/tests/composite_pk.test.js +98 -0
- package/dist/tests/composite_pk.test.js.map +1 -0
- package/dist/tests/config.test.d.ts +2 -0
- package/dist/tests/config.test.d.ts.map +1 -0
- package/dist/tests/config.test.js +86 -0
- package/dist/tests/config.test.js.map +1 -0
- package/dist/tests/db.test.d.ts +2 -0
- package/dist/tests/db.test.d.ts.map +1 -0
- package/dist/tests/db.test.js +178 -0
- package/dist/tests/db.test.js.map +1 -0
- package/dist/tests/discover.test.d.ts +2 -0
- package/dist/tests/discover.test.d.ts.map +1 -0
- package/dist/tests/discover.test.js +245 -0
- package/dist/tests/discover.test.js.map +1 -0
- package/dist/tests/edit.test.d.ts +2 -0
- package/dist/tests/edit.test.d.ts.map +1 -0
- package/dist/tests/edit.test.js +1161 -0
- package/dist/tests/edit.test.js.map +1 -0
- package/dist/tests/email.test.d.ts +2 -0
- package/dist/tests/email.test.d.ts.map +1 -0
- package/dist/tests/email.test.js +255 -0
- package/dist/tests/email.test.js.map +1 -0
- package/dist/tests/exact_views.test.d.ts +2 -0
- package/dist/tests/exact_views.test.d.ts.map +1 -0
- package/dist/tests/exact_views.test.js +1363 -0
- package/dist/tests/exact_views.test.js.map +1 -0
- package/dist/tests/field.test.d.ts +2 -0
- package/dist/tests/field.test.d.ts.map +1 -0
- package/dist/tests/field.test.js +588 -0
- package/dist/tests/field.test.js.map +1 -0
- package/dist/tests/fieldviews.test.d.ts +2 -0
- package/dist/tests/fieldviews.test.d.ts.map +1 -0
- package/dist/tests/fieldviews.test.js +74 -0
- package/dist/tests/fieldviews.test.js.map +1 -0
- package/dist/tests/file.test.d.ts +2 -0
- package/dist/tests/file.test.d.ts.map +1 -0
- package/dist/tests/file.test.js +148 -0
- package/dist/tests/file.test.js.map +1 -0
- package/dist/tests/filter.test.d.ts +2 -0
- package/dist/tests/filter.test.d.ts.map +1 -0
- package/dist/tests/filter.test.js +496 -0
- package/dist/tests/filter.test.js.map +1 -0
- package/dist/tests/form.test.d.ts +2 -0
- package/dist/tests/form.test.d.ts.map +1 -0
- package/dist/tests/form.test.js +264 -0
- package/dist/tests/form.test.js.map +1 -0
- package/dist/tests/list.test.d.ts +2 -0
- package/dist/tests/list.test.d.ts.map +1 -0
- package/dist/tests/list.test.js +1037 -0
- package/dist/tests/list.test.js.map +1 -0
- package/dist/tests/models.test.d.ts +2 -0
- package/dist/tests/models.test.d.ts.map +1 -0
- package/dist/tests/models.test.js +417 -0
- package/dist/tests/models.test.js.map +1 -0
- package/dist/tests/page.test.d.ts +2 -0
- package/dist/tests/page.test.d.ts.map +1 -0
- package/dist/tests/page.test.js +26 -0
- package/dist/tests/page.test.js.map +1 -0
- package/dist/tests/page_group.test.d.ts +2 -0
- package/dist/tests/page_group.test.d.ts.map +1 -0
- package/dist/tests/page_group.test.js +51 -0
- package/dist/tests/page_group.test.js.map +1 -0
- package/dist/tests/plugin.test.d.ts +2 -0
- package/dist/tests/plugin.test.d.ts.map +1 -0
- package/dist/tests/plugin.test.js +60 -0
- package/dist/tests/plugin.test.js.map +1 -0
- package/dist/tests/show.test.d.ts +2 -0
- package/dist/tests/show.test.d.ts.map +1 -0
- package/dist/tests/show.test.js +561 -0
- package/dist/tests/show.test.js.map +1 -0
- package/dist/tests/state.test.d.ts +2 -0
- package/dist/tests/state.test.d.ts.map +1 -0
- package/dist/tests/state.test.js +82 -0
- package/dist/tests/state.test.js.map +1 -0
- package/dist/tests/table.test.d.ts +2 -0
- package/dist/tests/table.test.d.ts.map +1 -0
- package/dist/tests/table.test.js +2717 -0
- package/dist/tests/table.test.js.map +1 -0
- package/dist/tests/table_history.test.d.ts +2 -0
- package/dist/tests/table_history.test.d.ts.map +1 -0
- package/dist/tests/table_history.test.js +413 -0
- package/dist/tests/table_history.test.js.map +1 -0
- package/dist/tests/tag.test.d.ts +2 -0
- package/dist/tests/tag.test.d.ts.map +1 -0
- package/dist/tests/tag.test.js +97 -0
- package/dist/tests/tag.test.js.map +1 -0
- package/dist/tests/user.test.d.ts +2 -0
- package/dist/tests/user.test.d.ts.map +1 -0
- package/dist/tests/user.test.js +441 -0
- package/dist/tests/user.test.js.map +1 -0
- package/dist/tests/view.test.d.ts +2 -0
- package/dist/tests/view.test.d.ts.map +1 -0
- package/dist/tests/view.test.js +699 -0
- package/dist/tests/view.test.js.map +1 -0
- package/dist/tests/workflow.test.d.ts +2 -0
- package/dist/tests/workflow.test.d.ts.map +1 -0
- package/dist/tests/workflow.test.js +303 -0
- package/dist/tests/workflow.test.js.map +1 -0
- package/dist/tests/workflow_run.test.d.ts +2 -0
- package/dist/tests/workflow_run.test.d.ts.map +1 -0
- package/dist/tests/workflow_run.test.js +922 -0
- package/dist/tests/workflow_run.test.js.map +1 -0
- package/dist/viewable_fields.d.ts +5 -4
- package/dist/viewable_fields.d.ts.map +1 -1
- package/dist/viewable_fields.js +12 -6
- package/dist/viewable_fields.js.map +1 -1
- package/dist/web-mobile-commons.d.ts.map +1 -1
- package/dist/web-mobile-commons.js +1 -0
- package/dist/web-mobile-commons.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,1052 +1,1461 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export { run_2 as run };
|
|
32
|
-
}
|
|
33
|
-
export namespace monospace_block {
|
|
34
|
-
let isEdit_3: boolean;
|
|
35
|
-
export { isEdit_3 as isEdit };
|
|
36
|
-
export let configFields: ({
|
|
37
|
-
name: string;
|
|
38
|
-
label: string;
|
|
39
|
-
sublabel: string;
|
|
40
|
-
type: string;
|
|
41
|
-
} | {
|
|
42
|
-
name: string;
|
|
43
|
-
label: string;
|
|
44
|
-
type: string;
|
|
45
|
-
sublabel?: undefined;
|
|
46
|
-
})[];
|
|
47
|
-
let description_4: string;
|
|
48
|
-
export { description_4 as description };
|
|
49
|
-
export function run_3(s: any, req: any, attrs?: {}): string;
|
|
50
|
-
export { run_3 as run };
|
|
51
|
-
}
|
|
52
|
-
export namespace ellipsize {
|
|
53
|
-
let isEdit_4: boolean;
|
|
54
|
-
export { isEdit_4 as isEdit };
|
|
55
|
-
let configFields_1: {
|
|
56
|
-
name: string;
|
|
57
|
-
label: string;
|
|
58
|
-
type: string;
|
|
59
|
-
default: number;
|
|
60
|
-
}[];
|
|
61
|
-
export { configFields_1 as configFields };
|
|
62
|
-
let description_5: string;
|
|
63
|
-
export { description_5 as description };
|
|
64
|
-
export function run_4(s: any, req: any, attrs?: {}): string;
|
|
65
|
-
export { run_4 as run };
|
|
66
|
-
}
|
|
67
|
-
export namespace as_link {
|
|
68
|
-
let configFields_2: ({
|
|
69
|
-
name: string;
|
|
70
|
-
label: string;
|
|
71
|
-
type: string;
|
|
72
|
-
sublabel: string;
|
|
73
|
-
} | {
|
|
74
|
-
name: string;
|
|
75
|
-
label: string;
|
|
76
|
-
type: string;
|
|
77
|
-
sublabel?: undefined;
|
|
78
|
-
})[];
|
|
79
|
-
export { configFields_2 as configFields };
|
|
80
|
-
let description_6: string;
|
|
81
|
-
export { description_6 as description };
|
|
82
|
-
let isEdit_5: boolean;
|
|
83
|
-
export { isEdit_5 as isEdit };
|
|
84
|
-
export function run_5(s: any, req: any, attrs?: {}): string;
|
|
85
|
-
export { run_5 as run };
|
|
86
|
-
}
|
|
87
|
-
export namespace img_from_url {
|
|
88
|
-
let isEdit_6: boolean;
|
|
89
|
-
export { isEdit_6 as isEdit };
|
|
90
|
-
let description_7: string;
|
|
91
|
-
export { description_7 as description };
|
|
92
|
-
export function run_6(s: any, req: any, attrs: any): string;
|
|
93
|
-
export { run_6 as run };
|
|
94
|
-
}
|
|
95
|
-
export namespace as_header {
|
|
96
|
-
let isEdit_7: boolean;
|
|
97
|
-
export { isEdit_7 as isEdit };
|
|
98
|
-
let description_8: string;
|
|
99
|
-
export { description_8 as description };
|
|
100
|
-
export function run_7(s: any): string;
|
|
101
|
-
export { run_7 as run };
|
|
102
|
-
}
|
|
103
|
-
export { show_with_html };
|
|
104
|
-
export namespace edit {
|
|
105
|
-
let isEdit_8: boolean;
|
|
106
|
-
export { isEdit_8 as isEdit };
|
|
107
|
-
export let blockDisplay: boolean;
|
|
108
|
-
let description_9: string;
|
|
109
|
-
export { description_9 as description };
|
|
110
|
-
export function configFields_3(field: any): ({
|
|
111
|
-
name: string;
|
|
112
|
-
label: string;
|
|
113
|
-
type: string;
|
|
114
|
-
sublabel?: undefined;
|
|
115
|
-
input_type?: undefined;
|
|
116
|
-
options?: undefined;
|
|
117
|
-
} | {
|
|
118
|
-
name: string;
|
|
119
|
-
label: string;
|
|
120
|
-
sublabel: string;
|
|
121
|
-
type: string;
|
|
122
|
-
input_type?: undefined;
|
|
123
|
-
options?: undefined;
|
|
124
|
-
} | {
|
|
125
|
-
name: string;
|
|
126
|
-
label: string;
|
|
127
|
-
input_type: string;
|
|
128
|
-
options: string[];
|
|
129
|
-
type?: undefined;
|
|
130
|
-
sublabel?: undefined;
|
|
131
|
-
})[];
|
|
132
|
-
export { configFields_3 as configFields };
|
|
133
|
-
export function run_8(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
134
|
-
export { run_8 as run };
|
|
135
|
-
}
|
|
136
|
-
export namespace fill_formula_btn {
|
|
137
|
-
let isEdit_9: boolean;
|
|
138
|
-
export { isEdit_9 as isEdit };
|
|
139
|
-
let blockDisplay_1: boolean;
|
|
140
|
-
export { blockDisplay_1 as blockDisplay };
|
|
141
|
-
let description_10: string;
|
|
142
|
-
export { description_10 as description };
|
|
143
|
-
let configFields_4: ({
|
|
144
|
-
name: string;
|
|
145
|
-
label: string;
|
|
146
|
-
type: string;
|
|
147
|
-
showIf?: undefined;
|
|
148
|
-
default?: undefined;
|
|
149
|
-
input_type?: undefined;
|
|
150
|
-
options?: undefined;
|
|
151
|
-
} | {
|
|
152
|
-
name: string;
|
|
153
|
-
label: string;
|
|
154
|
-
type: string;
|
|
155
|
-
showIf: {
|
|
156
|
-
make_unique: boolean;
|
|
157
|
-
};
|
|
158
|
-
default?: undefined;
|
|
159
|
-
input_type?: undefined;
|
|
160
|
-
options?: undefined;
|
|
161
|
-
} | {
|
|
162
|
-
name: string;
|
|
163
|
-
label: string;
|
|
164
|
-
type: string;
|
|
165
|
-
default: number;
|
|
166
|
-
showIf: {
|
|
167
|
-
make_unique: boolean;
|
|
168
|
-
};
|
|
169
|
-
input_type?: undefined;
|
|
1
|
+
/**
|
|
2
|
+
* Embedded Types definition.
|
|
3
|
+
*
|
|
4
|
+
* More types can be added by plugin store mechanism https://store.saltcorn.com/
|
|
5
|
+
* @category saltcorn-data
|
|
6
|
+
* @module base-plugin/types
|
|
7
|
+
* @subcategory base-plugin
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: {
|
|
10
|
+
string: {
|
|
11
|
+
/** @type {string} */
|
|
12
|
+
name: string;
|
|
13
|
+
description: string;
|
|
14
|
+
/** @type {string} */
|
|
15
|
+
sql_name: string;
|
|
16
|
+
js_type: string;
|
|
17
|
+
/**
|
|
18
|
+
* @param {object} param
|
|
19
|
+
* @returns {object}
|
|
20
|
+
*/
|
|
21
|
+
attributes: ({ table }: any) => ({
|
|
22
|
+
name: string;
|
|
23
|
+
label: string;
|
|
24
|
+
type: string;
|
|
25
|
+
required: boolean;
|
|
26
|
+
copilot_description: string;
|
|
27
|
+
sublabel: string;
|
|
28
|
+
attributes: {
|
|
29
|
+
autofocus: boolean;
|
|
30
|
+
asideNext?: undefined;
|
|
170
31
|
options?: undefined;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
export namespace make_unique {
|
|
187
|
-
let isEdit_10: boolean;
|
|
188
|
-
export { isEdit_10 as isEdit };
|
|
189
|
-
let blockDisplay_2: boolean;
|
|
190
|
-
export { blockDisplay_2 as blockDisplay };
|
|
191
|
-
let description_11: string;
|
|
192
|
-
export { description_11 as description };
|
|
193
|
-
let configFields_5: ({
|
|
194
|
-
name: string;
|
|
195
|
-
label: string;
|
|
196
|
-
type: string;
|
|
197
|
-
input_type?: undefined;
|
|
32
|
+
};
|
|
33
|
+
validator?: undefined;
|
|
34
|
+
input_type?: undefined;
|
|
35
|
+
options?: undefined;
|
|
36
|
+
showIf?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
name: string;
|
|
39
|
+
label: string;
|
|
40
|
+
type: string;
|
|
41
|
+
required: boolean;
|
|
42
|
+
sublabel: string;
|
|
43
|
+
attributes: {
|
|
44
|
+
asideNext: boolean;
|
|
45
|
+
autofocus?: undefined;
|
|
198
46
|
options?: undefined;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
47
|
+
};
|
|
48
|
+
copilot_description?: undefined;
|
|
49
|
+
validator?: undefined;
|
|
50
|
+
input_type?: undefined;
|
|
51
|
+
options?: undefined;
|
|
52
|
+
showIf?: undefined;
|
|
53
|
+
} | {
|
|
54
|
+
name: string;
|
|
55
|
+
label: string;
|
|
56
|
+
type: string;
|
|
57
|
+
required: boolean;
|
|
58
|
+
sublabel: string;
|
|
59
|
+
copilot_description?: undefined;
|
|
60
|
+
attributes?: undefined;
|
|
61
|
+
validator?: undefined;
|
|
62
|
+
input_type?: undefined;
|
|
63
|
+
options?: undefined;
|
|
64
|
+
showIf?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
name: string;
|
|
67
|
+
type: string;
|
|
68
|
+
label: string;
|
|
69
|
+
required: boolean;
|
|
70
|
+
sublabel: string;
|
|
71
|
+
validator(s: any): "Not a valid Regular Expression" | undefined;
|
|
72
|
+
attributes: {
|
|
73
|
+
asideNext: boolean;
|
|
74
|
+
autofocus?: undefined;
|
|
213
75
|
options?: undefined;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
let blockDisplay_3: boolean;
|
|
223
|
-
export { blockDisplay_3 as blockDisplay };
|
|
224
|
-
let description_12: string;
|
|
225
|
-
export { description_12 as description };
|
|
226
|
-
let configFields_6: ({
|
|
227
|
-
type: string;
|
|
228
|
-
name: string;
|
|
229
|
-
label: string;
|
|
230
|
-
sublabel?: undefined;
|
|
231
|
-
} | {
|
|
232
|
-
name: string;
|
|
233
|
-
label: string;
|
|
234
|
-
sublabel: string;
|
|
235
|
-
type: string;
|
|
236
|
-
})[];
|
|
237
|
-
export { configFields_6 as configFields };
|
|
238
|
-
export function run_11(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
239
|
-
export { run_11 as run };
|
|
240
|
-
}
|
|
241
|
-
export namespace code_editor {
|
|
242
|
-
let isEdit_12: boolean;
|
|
243
|
-
export { isEdit_12 as isEdit };
|
|
244
|
-
let blockDisplay_4: boolean;
|
|
245
|
-
export { blockDisplay_4 as blockDisplay };
|
|
246
|
-
let description_13: string;
|
|
247
|
-
export { description_13 as description };
|
|
248
|
-
let configFields_7: {
|
|
249
|
-
type: string;
|
|
250
|
-
name: string;
|
|
251
|
-
label: string;
|
|
252
|
-
required: boolean;
|
|
253
|
-
attributes: {
|
|
254
|
-
options: string[];
|
|
255
|
-
};
|
|
256
|
-
}[];
|
|
257
|
-
export { configFields_7 as configFields };
|
|
258
|
-
export function run_12(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
259
|
-
export { run_12 as run };
|
|
260
|
-
}
|
|
261
|
-
export namespace radio_group {
|
|
262
|
-
let isEdit_13: boolean;
|
|
263
|
-
export { isEdit_13 as isEdit };
|
|
264
|
-
let configFields_8: {
|
|
265
|
-
type: string;
|
|
266
|
-
name: string;
|
|
267
|
-
label: string;
|
|
268
|
-
}[];
|
|
269
|
-
export { configFields_8 as configFields };
|
|
270
|
-
let description_14: string;
|
|
271
|
-
export { description_14 as description };
|
|
272
|
-
export function run_13(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
273
|
-
export { run_13 as run };
|
|
274
|
-
}
|
|
275
|
-
export namespace checkbox_group {
|
|
276
|
-
let isEdit_14: boolean;
|
|
277
|
-
export { isEdit_14 as isEdit };
|
|
278
|
-
export let isFilter: boolean;
|
|
279
|
-
let description_15: string;
|
|
280
|
-
export { description_15 as description };
|
|
281
|
-
let configFields_9: {
|
|
282
|
-
type: string;
|
|
283
|
-
name: string;
|
|
284
|
-
label: string;
|
|
285
|
-
}[];
|
|
286
|
-
export { configFields_9 as configFields };
|
|
287
|
-
export function run_14(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
288
|
-
export { run_14 as run };
|
|
289
|
-
}
|
|
290
|
-
export namespace password {
|
|
291
|
-
let isEdit_15: boolean;
|
|
292
|
-
export { isEdit_15 as isEdit };
|
|
293
|
-
let configFields_10: {
|
|
294
|
-
name: string;
|
|
295
|
-
label: string;
|
|
296
|
-
type: string;
|
|
297
|
-
}[];
|
|
298
|
-
export { configFields_10 as configFields };
|
|
299
|
-
let blockDisplay_5: boolean;
|
|
300
|
-
export { blockDisplay_5 as blockDisplay };
|
|
301
|
-
let description_16: string;
|
|
302
|
-
export { description_16 as description };
|
|
303
|
-
export function run_15(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
304
|
-
export { run_15 as run };
|
|
305
|
-
}
|
|
306
|
-
export let select_by_code: {
|
|
307
|
-
type: undefined;
|
|
308
|
-
isEdit: boolean;
|
|
309
|
-
blockDisplay: boolean;
|
|
310
|
-
description: string;
|
|
311
|
-
configFields: object[];
|
|
312
|
-
fill_options(field: any, force_allow_none: any, where0: any, extraCtx: any, optionsQuery: any, formFieldNames: any, user: any): Promise<void>;
|
|
313
|
-
run: (nm: any, v: any, attrs: any, cls: any, reqd: any, field: any) => object;
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
function read(v: any): string | undefined;
|
|
317
|
-
namespace presets {
|
|
318
|
-
function IP({ req }: {
|
|
319
|
-
req: object;
|
|
320
|
-
}): object;
|
|
321
|
-
function SessionID({ req }: {
|
|
322
|
-
req: object;
|
|
323
|
-
}): object;
|
|
324
|
-
}
|
|
325
|
-
function validate({ min_length, max_length, regexp, re_invalid_error }: object): object | true;
|
|
326
|
-
function validate_attributes({ min_length, max_length, regexp }: object): object;
|
|
327
|
-
}
|
|
328
|
-
export namespace int {
|
|
329
|
-
let name_1: string;
|
|
330
|
-
export { name_1 as name };
|
|
331
|
-
let description_17: string;
|
|
332
|
-
export { description_17 as description };
|
|
333
|
-
let sql_name_1: string;
|
|
334
|
-
export { sql_name_1 as sql_name };
|
|
335
|
-
let js_type_1: string;
|
|
336
|
-
export { js_type_1 as js_type };
|
|
337
|
-
export function contract_1({ min, max }: {
|
|
338
|
-
min: number;
|
|
339
|
-
max: number;
|
|
340
|
-
}): boolean;
|
|
341
|
-
export { contract_1 as contract };
|
|
342
|
-
export namespace primaryKey {
|
|
343
|
-
let sql_type: string;
|
|
344
|
-
}
|
|
345
|
-
export namespace distance_operators {
|
|
346
|
-
let near: {
|
|
76
|
+
};
|
|
77
|
+
copilot_description?: undefined;
|
|
78
|
+
input_type?: undefined;
|
|
79
|
+
options?: undefined;
|
|
80
|
+
showIf?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
name: string;
|
|
83
|
+
label: string;
|
|
347
84
|
type: string;
|
|
85
|
+
sublabel: string;
|
|
86
|
+
required?: undefined;
|
|
87
|
+
copilot_description?: undefined;
|
|
88
|
+
attributes?: undefined;
|
|
89
|
+
validator?: undefined;
|
|
90
|
+
input_type?: undefined;
|
|
91
|
+
options?: undefined;
|
|
92
|
+
showIf?: undefined;
|
|
93
|
+
} | {
|
|
348
94
|
name: string;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
95
|
+
label: string;
|
|
96
|
+
sublabel: string;
|
|
97
|
+
type: string;
|
|
98
|
+
attributes: {
|
|
99
|
+
options: any;
|
|
100
|
+
autofocus?: undefined;
|
|
101
|
+
asideNext?: undefined;
|
|
102
|
+
};
|
|
103
|
+
required?: undefined;
|
|
104
|
+
copilot_description?: undefined;
|
|
105
|
+
validator?: undefined;
|
|
106
|
+
input_type?: undefined;
|
|
107
|
+
options?: undefined;
|
|
108
|
+
showIf?: undefined;
|
|
109
|
+
} | {
|
|
110
|
+
name: string;
|
|
111
|
+
label: string;
|
|
112
|
+
sublabel: string;
|
|
113
|
+
input_type: string;
|
|
114
|
+
options: string[];
|
|
115
|
+
showIf: {
|
|
116
|
+
localizes_field: any;
|
|
117
|
+
};
|
|
118
|
+
type?: undefined;
|
|
119
|
+
required?: undefined;
|
|
120
|
+
copilot_description?: undefined;
|
|
121
|
+
attributes?: undefined;
|
|
122
|
+
validator?: undefined;
|
|
123
|
+
})[];
|
|
124
|
+
/**
|
|
125
|
+
* @param {object} opts
|
|
126
|
+
* @param {string|undefined} opts.options
|
|
127
|
+
* @returns {boolean}
|
|
128
|
+
*/
|
|
129
|
+
contract: ({ options }: any) => any;
|
|
130
|
+
/**
|
|
131
|
+
* @namespace
|
|
132
|
+
* @category saltcorn-data
|
|
133
|
+
* @subcategory types / string
|
|
134
|
+
*/
|
|
135
|
+
fieldviews: {
|
|
136
|
+
/**
|
|
137
|
+
* @namespace
|
|
138
|
+
* @category saltcorn-data
|
|
139
|
+
* @subcategory types / string
|
|
140
|
+
*/
|
|
141
|
+
as_text: {
|
|
142
|
+
isEdit: boolean;
|
|
143
|
+
description: string;
|
|
144
|
+
run: (s: any) => any;
|
|
145
|
+
};
|
|
146
|
+
preFormatted: {
|
|
147
|
+
isEdit: boolean;
|
|
148
|
+
description: string;
|
|
149
|
+
run: (s: any) => any;
|
|
150
|
+
};
|
|
151
|
+
code: {
|
|
152
|
+
isEdit: boolean;
|
|
153
|
+
description: string;
|
|
154
|
+
run: (s: any) => any;
|
|
155
|
+
};
|
|
156
|
+
monospace_block: {
|
|
157
|
+
isEdit: boolean;
|
|
158
|
+
configFields: ({
|
|
159
|
+
name: string;
|
|
160
|
+
label: string;
|
|
161
|
+
sublabel: string;
|
|
162
|
+
type: string;
|
|
163
|
+
} | {
|
|
164
|
+
name: string;
|
|
165
|
+
label: string;
|
|
166
|
+
type: string;
|
|
167
|
+
sublabel?: undefined;
|
|
168
|
+
})[];
|
|
169
|
+
description: string;
|
|
170
|
+
run: (s: any, req: any, attrs?: any) => any;
|
|
171
|
+
};
|
|
172
|
+
ellipsize: {
|
|
173
|
+
isEdit: boolean;
|
|
174
|
+
configFields: {
|
|
175
|
+
name: string;
|
|
176
|
+
label: string;
|
|
177
|
+
type: string;
|
|
178
|
+
default: number;
|
|
179
|
+
}[];
|
|
180
|
+
description: string;
|
|
181
|
+
run: (s: any, req: any, attrs?: any) => any;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* @namespace
|
|
185
|
+
* @category saltcorn-data
|
|
186
|
+
* @subcategory types / string
|
|
187
|
+
*/
|
|
188
|
+
as_link: {
|
|
189
|
+
configFields: ({
|
|
190
|
+
name: string;
|
|
191
|
+
label: string;
|
|
192
|
+
type: string;
|
|
193
|
+
sublabel: string;
|
|
194
|
+
} | {
|
|
195
|
+
name: string;
|
|
196
|
+
label: string;
|
|
197
|
+
type: string;
|
|
198
|
+
sublabel?: undefined;
|
|
199
|
+
})[];
|
|
200
|
+
description: string;
|
|
201
|
+
isEdit: boolean;
|
|
202
|
+
run: (s: any, req: any, attrs?: any) => any;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @namespace
|
|
206
|
+
* @category saltcorn-data
|
|
207
|
+
* @subcategory types / string
|
|
208
|
+
*/
|
|
209
|
+
img_from_url: {
|
|
210
|
+
isEdit: boolean;
|
|
211
|
+
description: string;
|
|
212
|
+
run: (s: any, req: any, attrs: any) => any;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* @namespace
|
|
216
|
+
* @category saltcorn-data
|
|
217
|
+
* @subcategory types / string
|
|
218
|
+
*/
|
|
219
|
+
as_header: {
|
|
220
|
+
isEdit: boolean;
|
|
221
|
+
description: string;
|
|
222
|
+
run: (s: any) => any;
|
|
223
|
+
};
|
|
224
|
+
show_with_html: {
|
|
225
|
+
configFields: {
|
|
226
|
+
input_type: string;
|
|
227
|
+
name: string;
|
|
228
|
+
label: string;
|
|
229
|
+
sublabel: string;
|
|
230
|
+
default: string;
|
|
231
|
+
attributes: {
|
|
232
|
+
mode: string;
|
|
233
|
+
};
|
|
234
|
+
}[];
|
|
235
|
+
isEdit: boolean;
|
|
236
|
+
description: string;
|
|
237
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* @namespace
|
|
241
|
+
* @category saltcorn-data
|
|
242
|
+
* @subcategory types / string
|
|
243
|
+
*/
|
|
244
|
+
edit: {
|
|
245
|
+
isEdit: boolean;
|
|
246
|
+
blockDisplay: boolean;
|
|
247
|
+
description: string;
|
|
248
|
+
configFields: (field: any) => ({
|
|
249
|
+
name: string;
|
|
250
|
+
label: string;
|
|
251
|
+
type: string;
|
|
252
|
+
sublabel?: undefined;
|
|
253
|
+
input_type?: undefined;
|
|
254
|
+
options?: undefined;
|
|
255
|
+
} | {
|
|
256
|
+
name: string;
|
|
257
|
+
label: string;
|
|
258
|
+
sublabel: string;
|
|
259
|
+
type: string;
|
|
260
|
+
input_type?: undefined;
|
|
261
|
+
options?: undefined;
|
|
262
|
+
} | {
|
|
263
|
+
name: string;
|
|
264
|
+
label: string;
|
|
265
|
+
input_type: string;
|
|
497
266
|
options: string[];
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
let description_24: string;
|
|
540
|
-
export { description_24 as description };
|
|
541
|
-
export function configFields_17(field: any): {
|
|
542
|
-
name: string;
|
|
543
|
-
type: string;
|
|
544
|
-
required: boolean;
|
|
545
|
-
default: number;
|
|
546
|
-
}[];
|
|
547
|
-
export { configFields_17 as configFields };
|
|
548
|
-
let isEdit_23: boolean;
|
|
549
|
-
export { isEdit_23 as isEdit };
|
|
550
|
-
let blockDisplay_10: boolean;
|
|
551
|
-
export { blockDisplay_10 as blockDisplay };
|
|
552
|
-
export function run_23(v: any, req: any, attrs?: {}): string;
|
|
553
|
-
export { run_23 as run };
|
|
554
|
-
}
|
|
555
|
-
export namespace edit_star_rating {
|
|
556
|
-
let description_25: string;
|
|
557
|
-
export { description_25 as description };
|
|
558
|
-
export function configFields_18(field: any): ({
|
|
559
|
-
name: string;
|
|
560
|
-
type: string;
|
|
561
|
-
required: boolean;
|
|
562
|
-
default: number;
|
|
563
|
-
label?: undefined;
|
|
564
|
-
sublabel?: undefined;
|
|
565
|
-
} | {
|
|
566
|
-
name: string;
|
|
567
|
-
label: string;
|
|
568
|
-
sublabel: string;
|
|
569
|
-
type: string;
|
|
570
|
-
required?: undefined;
|
|
571
|
-
default?: undefined;
|
|
572
|
-
})[];
|
|
573
|
-
export { configFields_18 as configFields };
|
|
574
|
-
let isEdit_24: boolean;
|
|
575
|
-
export { isEdit_24 as isEdit };
|
|
576
|
-
let blockDisplay_11: boolean;
|
|
577
|
-
export { blockDisplay_11 as blockDisplay };
|
|
578
|
-
export function run_24(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): string;
|
|
579
|
-
export { run_24 as run };
|
|
580
|
-
}
|
|
581
|
-
export { to_locale_string };
|
|
582
|
-
export namespace role_select {
|
|
583
|
-
let isEdit_25: boolean;
|
|
584
|
-
export { isEdit_25 as isEdit };
|
|
585
|
-
let blockDisplay_12: boolean;
|
|
586
|
-
export { blockDisplay_12 as blockDisplay };
|
|
587
|
-
let description_26: string;
|
|
588
|
-
export { description_26 as description };
|
|
589
|
-
export function fill_options(field: any): Promise<void>;
|
|
590
|
-
export function run_25(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
591
|
-
export { run_25 as run };
|
|
592
|
-
}
|
|
593
|
-
let select_by_code_1: {
|
|
594
|
-
type: undefined;
|
|
595
|
-
isEdit: boolean;
|
|
596
|
-
blockDisplay: boolean;
|
|
597
|
-
description: string;
|
|
598
|
-
configFields: object[];
|
|
599
|
-
fill_options(field: any, force_allow_none: any, where0: any, extraCtx: any, optionsQuery: any, formFieldNames: any, user: any): Promise<void>;
|
|
600
|
-
run: (nm: any, v: any, attrs: any, cls: any, reqd: any, field: any) => object;
|
|
601
|
-
};
|
|
602
|
-
export { select_by_code_1 as select_by_code };
|
|
603
|
-
}
|
|
604
|
-
export { fieldviews_1 as fieldviews };
|
|
605
|
-
let attributes_1: object[];
|
|
606
|
-
export { attributes_1 as attributes };
|
|
607
|
-
export function validate_attributes_1({ min, max }: object): boolean;
|
|
608
|
-
export { validate_attributes_1 as validate_attributes };
|
|
609
|
-
export function read_1(v: object): object;
|
|
610
|
-
export { read_1 as read };
|
|
611
|
-
export function validate_1({ min, max }: object): boolean;
|
|
612
|
-
export { validate_1 as validate };
|
|
613
|
-
}
|
|
614
|
-
export namespace bool {
|
|
615
|
-
let name_2: string;
|
|
616
|
-
export { name_2 as name };
|
|
617
|
-
let description_27: string;
|
|
618
|
-
export { description_27 as description };
|
|
619
|
-
let sql_name_2: string;
|
|
620
|
-
export { sql_name_2 as sql_name };
|
|
621
|
-
let js_type_2: string;
|
|
622
|
-
export { js_type_2 as js_type };
|
|
623
|
-
export function contract_2(): Function;
|
|
624
|
-
export { contract_2 as contract };
|
|
625
|
-
export namespace fieldviews_2 {
|
|
626
|
-
export namespace show_1 {
|
|
627
|
-
let isEdit_26: boolean;
|
|
628
|
-
export { isEdit_26 as isEdit };
|
|
629
|
-
let description_28: string;
|
|
630
|
-
export { description_28 as description };
|
|
631
|
-
export function run_26(v: any, req: any): string;
|
|
632
|
-
export { run_26 as run };
|
|
633
|
-
}
|
|
634
|
-
export { show_1 as show };
|
|
635
|
-
export namespace checkboxes {
|
|
636
|
-
let isEdit_27: boolean;
|
|
637
|
-
export { isEdit_27 as isEdit };
|
|
638
|
-
let description_29: string;
|
|
639
|
-
export { description_29 as description };
|
|
640
|
-
export function run_27(v: any): string;
|
|
641
|
-
export { run_27 as run };
|
|
642
|
-
}
|
|
643
|
-
export namespace TrueFalse {
|
|
644
|
-
let isEdit_28: boolean;
|
|
645
|
-
export { isEdit_28 as isEdit };
|
|
646
|
-
let description_30: string;
|
|
647
|
-
export { description_30 as description };
|
|
648
|
-
export function run_28(v: any): "" | "True" | "False";
|
|
649
|
-
export { run_28 as run };
|
|
650
|
-
}
|
|
651
|
-
export namespace edit_2 {
|
|
652
|
-
let isEdit_29: boolean;
|
|
653
|
-
export { isEdit_29 as isEdit };
|
|
654
|
-
let description_31: string;
|
|
655
|
-
export { description_31 as description };
|
|
656
|
-
let configFields_19: ({
|
|
657
|
-
name: string;
|
|
658
|
-
label: string;
|
|
659
|
-
type: string;
|
|
660
|
-
attributes: {
|
|
267
|
+
type?: undefined;
|
|
268
|
+
sublabel?: undefined;
|
|
269
|
+
})[];
|
|
270
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
271
|
+
};
|
|
272
|
+
fill_formula_btn: {
|
|
273
|
+
isEdit: boolean;
|
|
274
|
+
blockDisplay: boolean;
|
|
275
|
+
description: string;
|
|
276
|
+
configFields: ({
|
|
277
|
+
name: string;
|
|
278
|
+
label: string;
|
|
279
|
+
type: string;
|
|
280
|
+
showIf?: undefined;
|
|
281
|
+
default?: undefined;
|
|
282
|
+
input_type?: undefined;
|
|
283
|
+
options?: undefined;
|
|
284
|
+
} | {
|
|
285
|
+
name: string;
|
|
286
|
+
label: string;
|
|
287
|
+
type: string;
|
|
288
|
+
showIf: {
|
|
289
|
+
make_unique: boolean;
|
|
290
|
+
};
|
|
291
|
+
default?: undefined;
|
|
292
|
+
input_type?: undefined;
|
|
293
|
+
options?: undefined;
|
|
294
|
+
} | {
|
|
295
|
+
name: string;
|
|
296
|
+
label: string;
|
|
297
|
+
type: string;
|
|
298
|
+
default: number;
|
|
299
|
+
showIf: {
|
|
300
|
+
make_unique: boolean;
|
|
301
|
+
};
|
|
302
|
+
input_type?: undefined;
|
|
303
|
+
options?: undefined;
|
|
304
|
+
} | {
|
|
305
|
+
name: string;
|
|
306
|
+
label: string;
|
|
307
|
+
input_type: string;
|
|
661
308
|
options: string[];
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
let isEdit_31: boolean;
|
|
686
|
-
export { isEdit_31 as isEdit };
|
|
687
|
-
let description_33: string;
|
|
688
|
-
export { description_33 as description };
|
|
689
|
-
let configFields_20: {
|
|
690
|
-
name: string;
|
|
691
|
-
label: string;
|
|
692
|
-
type: string;
|
|
693
|
-
}[];
|
|
694
|
-
export { configFields_20 as configFields };
|
|
695
|
-
export function run_31(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
696
|
-
export { run_31 as run };
|
|
697
|
-
}
|
|
698
|
-
export namespace thumbs_up_down {
|
|
699
|
-
let isEdit_32: boolean;
|
|
700
|
-
export { isEdit_32 as isEdit };
|
|
701
|
-
let description_34: string;
|
|
702
|
-
export { description_34 as description };
|
|
703
|
-
let configFields_21: {
|
|
704
|
-
name: string;
|
|
705
|
-
label: string;
|
|
706
|
-
type: string;
|
|
707
|
-
required: boolean;
|
|
708
|
-
attributes: {
|
|
309
|
+
showIf: {
|
|
310
|
+
make_unique: boolean;
|
|
311
|
+
};
|
|
312
|
+
type?: undefined;
|
|
313
|
+
default?: undefined;
|
|
314
|
+
})[];
|
|
315
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
316
|
+
};
|
|
317
|
+
make_unique: {
|
|
318
|
+
isEdit: boolean;
|
|
319
|
+
blockDisplay: boolean;
|
|
320
|
+
description: string;
|
|
321
|
+
configFields: ({
|
|
322
|
+
name: string;
|
|
323
|
+
label: string;
|
|
324
|
+
type: string;
|
|
325
|
+
input_type?: undefined;
|
|
326
|
+
options?: undefined;
|
|
327
|
+
default?: undefined;
|
|
328
|
+
} | {
|
|
329
|
+
name: string;
|
|
330
|
+
label: string;
|
|
331
|
+
input_type: string;
|
|
709
332
|
options: string[];
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
};
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
}):
|
|
832
|
-
|
|
833
|
-
export { presets_1 as presets };
|
|
834
|
-
export function read_3(v0: any, attrs: object): object;
|
|
835
|
-
export { read_3 as read };
|
|
836
|
-
export function validate_3(): boolean;
|
|
837
|
-
export { validate_3 as validate };
|
|
838
|
-
export function equals(a: any, b: any): boolean;
|
|
839
|
-
}
|
|
840
|
-
export namespace float {
|
|
841
|
-
let name_4: string;
|
|
842
|
-
export { name_4 as name };
|
|
843
|
-
let description_43: string;
|
|
844
|
-
export { description_43 as description };
|
|
845
|
-
let sql_name_4: string;
|
|
846
|
-
export { sql_name_4 as sql_name };
|
|
847
|
-
let js_type_4: string;
|
|
848
|
-
export { js_type_4 as js_type };
|
|
849
|
-
export function contract_4({ min, max }: {
|
|
850
|
-
min: number;
|
|
851
|
-
max: number;
|
|
852
|
-
}): Function;
|
|
853
|
-
export { contract_4 as contract };
|
|
854
|
-
export namespace distance_operators_1 {
|
|
855
|
-
let near_1: {
|
|
856
|
-
type: string;
|
|
857
|
-
name: string;
|
|
858
|
-
args: any[];
|
|
333
|
+
type?: undefined;
|
|
334
|
+
default?: undefined;
|
|
335
|
+
} | {
|
|
336
|
+
name: string;
|
|
337
|
+
label: string;
|
|
338
|
+
type: string;
|
|
339
|
+
default: number;
|
|
340
|
+
input_type?: undefined;
|
|
341
|
+
options?: undefined;
|
|
342
|
+
})[];
|
|
343
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* @namespace
|
|
347
|
+
* @category saltcorn-data
|
|
348
|
+
* @subcategory types / string
|
|
349
|
+
*/
|
|
350
|
+
textarea: {
|
|
351
|
+
isEdit: boolean;
|
|
352
|
+
blockDisplay: boolean;
|
|
353
|
+
description: string;
|
|
354
|
+
configFields: ({
|
|
355
|
+
type: string;
|
|
356
|
+
name: string;
|
|
357
|
+
label: string;
|
|
358
|
+
sublabel?: undefined;
|
|
359
|
+
} | {
|
|
360
|
+
name: string;
|
|
361
|
+
label: string;
|
|
362
|
+
sublabel: string;
|
|
363
|
+
type: string;
|
|
364
|
+
})[];
|
|
365
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
366
|
+
};
|
|
367
|
+
code_editor: {
|
|
368
|
+
isEdit: boolean;
|
|
369
|
+
blockDisplay: boolean;
|
|
370
|
+
description: string;
|
|
371
|
+
configFields: {
|
|
372
|
+
type: string;
|
|
373
|
+
name: string;
|
|
374
|
+
label: string;
|
|
375
|
+
required: boolean;
|
|
376
|
+
attributes: {
|
|
377
|
+
options: string[];
|
|
378
|
+
};
|
|
379
|
+
}[];
|
|
380
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* @namespace
|
|
384
|
+
* @category saltcorn-data
|
|
385
|
+
* @subcategory types / string
|
|
386
|
+
*/
|
|
387
|
+
radio_group: {
|
|
388
|
+
isEdit: boolean;
|
|
389
|
+
configFields: {
|
|
390
|
+
type: string;
|
|
391
|
+
name: string;
|
|
392
|
+
label: string;
|
|
393
|
+
}[];
|
|
394
|
+
description: string;
|
|
395
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
396
|
+
};
|
|
397
|
+
checkbox_group: {
|
|
398
|
+
isEdit: boolean;
|
|
399
|
+
isFilter: boolean;
|
|
400
|
+
description: string;
|
|
401
|
+
configFields: {
|
|
402
|
+
type: string;
|
|
403
|
+
name: string;
|
|
404
|
+
label: string;
|
|
405
|
+
}[];
|
|
406
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* @namespace
|
|
410
|
+
* @category saltcorn-data
|
|
411
|
+
* @subcategory types / string
|
|
412
|
+
*/
|
|
413
|
+
password: {
|
|
414
|
+
isEdit: boolean;
|
|
415
|
+
configFields: {
|
|
416
|
+
name: string;
|
|
417
|
+
label: string;
|
|
418
|
+
type: string;
|
|
419
|
+
}[];
|
|
420
|
+
blockDisplay: boolean;
|
|
421
|
+
description: string;
|
|
422
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
423
|
+
};
|
|
424
|
+
select_by_code: any;
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* @param {*} v
|
|
428
|
+
* @returns {string|undefined}
|
|
429
|
+
*/
|
|
430
|
+
read: (v: any) => string | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* @namespace
|
|
433
|
+
* @category saltcorn-data
|
|
434
|
+
* @subcategory types / string
|
|
435
|
+
*/
|
|
436
|
+
presets: {
|
|
437
|
+
/**
|
|
438
|
+
* @param {object} opts
|
|
439
|
+
* @param {object} opts.req
|
|
440
|
+
* @returns {object}
|
|
441
|
+
*/
|
|
442
|
+
IP: ({ req }: any) => any;
|
|
443
|
+
/**
|
|
444
|
+
* @param {object} opts
|
|
445
|
+
* @param {object} opts.req
|
|
446
|
+
* @returns {object}
|
|
447
|
+
*/
|
|
448
|
+
SessionID: ({ req }: any) => any;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* @param {object} param
|
|
452
|
+
* @returns {object|true}
|
|
453
|
+
*/
|
|
454
|
+
validate: ({ min_length, max_length, regexp, re_invalid_error }: any) => (x: any) => true | {
|
|
455
|
+
error: any;
|
|
859
456
|
};
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
export { description_44 as description };
|
|
869
|
-
export function run_40(s: any): string;
|
|
870
|
-
export { run_40 as run };
|
|
871
|
-
}
|
|
872
|
-
export { show_3 as show };
|
|
873
|
-
export namespace edit_4 {
|
|
874
|
-
let isEdit_41: boolean;
|
|
875
|
-
export { isEdit_41 as isEdit };
|
|
876
|
-
let blockDisplay_15: boolean;
|
|
877
|
-
export { blockDisplay_15 as blockDisplay };
|
|
878
|
-
let description_45: string;
|
|
879
|
-
export { description_45 as description };
|
|
880
|
-
let configFields_25: {
|
|
881
|
-
name: string;
|
|
882
|
-
label: string;
|
|
883
|
-
type: string;
|
|
884
|
-
}[];
|
|
885
|
-
export { configFields_25 as configFields };
|
|
886
|
-
export function run_41(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
887
|
-
export { run_41 as run };
|
|
888
|
-
}
|
|
889
|
-
export { edit_4 as edit };
|
|
890
|
-
export namespace number_slider_1 { }
|
|
891
|
-
export { number_slider_1 as number_slider };
|
|
892
|
-
export namespace range_interval_1 { }
|
|
893
|
-
export { range_interval_1 as range_interval };
|
|
894
|
-
export namespace progress_bar_1 { }
|
|
895
|
-
export { progress_bar_1 as progress_bar };
|
|
896
|
-
export namespace heat_cell_1 { }
|
|
897
|
-
export { heat_cell_1 as heat_cell };
|
|
898
|
-
export namespace above_input_1 {
|
|
899
|
-
let isEdit_42: boolean;
|
|
900
|
-
export { isEdit_42 as isEdit };
|
|
901
|
-
let isFilter_3: boolean;
|
|
902
|
-
export { isFilter_3 as isFilter };
|
|
903
|
-
let blockDisplay_16: boolean;
|
|
904
|
-
export { blockDisplay_16 as blockDisplay };
|
|
905
|
-
export function run_42(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): string;
|
|
906
|
-
export { run_42 as run };
|
|
907
|
-
}
|
|
908
|
-
export { above_input_1 as above_input };
|
|
909
|
-
export namespace below_input_1 { }
|
|
910
|
-
export { below_input_1 as below_input };
|
|
911
|
-
export { to_locale_string };
|
|
912
|
-
export { show_with_html };
|
|
913
|
-
}
|
|
914
|
-
export { fieldviews_4 as fieldviews };
|
|
915
|
-
let attributes_4: object[];
|
|
916
|
-
export { attributes_4 as attributes };
|
|
917
|
-
export function read_4(v: object): number | string | undefined;
|
|
918
|
-
export { read_4 as read };
|
|
919
|
-
export function validate_4({ min, max }: object): object | boolean;
|
|
920
|
-
export { validate_4 as validate };
|
|
921
|
-
export function equals_1(a: any, b: any, { decimal_places }: {
|
|
922
|
-
decimal_places: any;
|
|
923
|
-
}): boolean;
|
|
924
|
-
export { equals_1 as equals };
|
|
925
|
-
}
|
|
926
|
-
export namespace color {
|
|
927
|
-
let name_5: string;
|
|
928
|
-
export { name_5 as name };
|
|
929
|
-
let description_46: string;
|
|
930
|
-
export { description_46 as description };
|
|
931
|
-
let sql_name_5: string;
|
|
932
|
-
export { sql_name_5 as sql_name };
|
|
933
|
-
let js_type_5: string;
|
|
934
|
-
export { js_type_5 as js_type };
|
|
935
|
-
export function contract_5(): Function;
|
|
936
|
-
export { contract_5 as contract };
|
|
937
|
-
export namespace fieldviews_5 {
|
|
938
|
-
export namespace show_4 {
|
|
939
|
-
let isEdit_43: boolean;
|
|
940
|
-
export { isEdit_43 as isEdit };
|
|
941
|
-
let description_47: string;
|
|
942
|
-
export { description_47 as description };
|
|
943
|
-
export function run_43(s: any): string;
|
|
944
|
-
export { run_43 as run };
|
|
945
|
-
}
|
|
946
|
-
export { show_4 as show };
|
|
947
|
-
export { show_with_html };
|
|
948
|
-
export namespace edit_5 {
|
|
949
|
-
let isEdit_44: boolean;
|
|
950
|
-
export { isEdit_44 as isEdit };
|
|
951
|
-
let blockDisplay_17: boolean;
|
|
952
|
-
export { blockDisplay_17 as blockDisplay };
|
|
953
|
-
let description_48: string;
|
|
954
|
-
export { description_48 as description };
|
|
955
|
-
export function run_44(nm: any, v: any, attrs: any, cls: any, required: any, field: any): string;
|
|
956
|
-
export { run_44 as run };
|
|
957
|
-
}
|
|
958
|
-
export { edit_5 as edit };
|
|
959
|
-
}
|
|
960
|
-
export { fieldviews_5 as fieldviews };
|
|
961
|
-
let attributes_5: object[];
|
|
962
|
-
export { attributes_5 as attributes };
|
|
963
|
-
export function read_5(v: object): object;
|
|
964
|
-
export { read_5 as read };
|
|
965
|
-
export function validate_5(): boolean;
|
|
966
|
-
export { validate_5 as validate };
|
|
967
|
-
}
|
|
968
|
-
declare namespace show_with_html {
|
|
969
|
-
let configFields_26: {
|
|
970
|
-
input_type: string;
|
|
457
|
+
/**
|
|
458
|
+
* @param {object} param
|
|
459
|
+
* @returns {object}
|
|
460
|
+
*/
|
|
461
|
+
validate_attributes: ({ min_length, max_length, regexp }: any) => boolean;
|
|
462
|
+
};
|
|
463
|
+
int: {
|
|
464
|
+
/** @type {string} */
|
|
971
465
|
name: string;
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
466
|
+
description: string;
|
|
467
|
+
/** @type {string} */
|
|
468
|
+
sql_name: string;
|
|
469
|
+
js_type: string;
|
|
470
|
+
/**
|
|
471
|
+
* @param {object} opts
|
|
472
|
+
* @param {number} opts.min
|
|
473
|
+
* @param {number} opts.max
|
|
474
|
+
* @returns {boolean}
|
|
475
|
+
*/
|
|
476
|
+
contract: ({ min, max }: any) => any;
|
|
477
|
+
primaryKey: {
|
|
478
|
+
sql_type: string;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* @namespace
|
|
482
|
+
* @category saltcorn-data
|
|
483
|
+
* @subcategory types / int
|
|
484
|
+
*/
|
|
485
|
+
distance_operators: {
|
|
486
|
+
near: any;
|
|
487
|
+
};
|
|
488
|
+
fieldviews: {
|
|
489
|
+
/**
|
|
490
|
+
* @namespace
|
|
491
|
+
* @category saltcorn-data
|
|
492
|
+
* @subcategory types / int
|
|
493
|
+
*/
|
|
494
|
+
show: {
|
|
495
|
+
isEdit: boolean;
|
|
496
|
+
description: string;
|
|
497
|
+
run: (s: any) => any;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* @namespace
|
|
501
|
+
* @category saltcorn-data
|
|
502
|
+
* @subcategory types / int
|
|
503
|
+
*/
|
|
504
|
+
edit: {
|
|
505
|
+
isEdit: boolean;
|
|
506
|
+
blockDisplay: boolean;
|
|
507
|
+
description: string;
|
|
508
|
+
configFields: {
|
|
509
|
+
name: string;
|
|
510
|
+
label: string;
|
|
511
|
+
type: string;
|
|
512
|
+
}[];
|
|
513
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
514
|
+
};
|
|
515
|
+
number_slider: {
|
|
516
|
+
configFields: (field: any) => {
|
|
517
|
+
name: string;
|
|
518
|
+
type: any;
|
|
519
|
+
required: boolean;
|
|
520
|
+
}[];
|
|
521
|
+
isEdit: boolean;
|
|
522
|
+
description: string;
|
|
523
|
+
blockDisplay: boolean;
|
|
524
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any) => any;
|
|
525
|
+
};
|
|
526
|
+
range_interval: {
|
|
527
|
+
configFields: (field: any) => {
|
|
528
|
+
name: string;
|
|
529
|
+
type: any;
|
|
530
|
+
required: boolean;
|
|
531
|
+
}[];
|
|
532
|
+
isEdit: boolean;
|
|
533
|
+
isFilter: boolean;
|
|
534
|
+
blockDisplay: boolean;
|
|
535
|
+
description: string;
|
|
536
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
537
|
+
};
|
|
538
|
+
progress_bar: {
|
|
539
|
+
configFields: (field: any) => ({
|
|
540
|
+
name: string;
|
|
541
|
+
type: string;
|
|
542
|
+
label: string;
|
|
543
|
+
required?: undefined;
|
|
544
|
+
showIf?: undefined;
|
|
545
|
+
class?: undefined;
|
|
546
|
+
} | {
|
|
547
|
+
name: string;
|
|
548
|
+
label: string;
|
|
549
|
+
type: any;
|
|
550
|
+
required: boolean;
|
|
551
|
+
showIf: {
|
|
552
|
+
max_min_formula: boolean;
|
|
553
|
+
radial?: undefined;
|
|
554
|
+
};
|
|
555
|
+
class?: undefined;
|
|
556
|
+
} | {
|
|
557
|
+
name: string;
|
|
558
|
+
label: string;
|
|
559
|
+
type: string;
|
|
560
|
+
class: string;
|
|
561
|
+
showIf: {
|
|
562
|
+
max_min_formula: boolean;
|
|
563
|
+
radial?: undefined;
|
|
564
|
+
};
|
|
565
|
+
required?: undefined;
|
|
566
|
+
} | {
|
|
567
|
+
name: string;
|
|
568
|
+
type: string;
|
|
569
|
+
label: string;
|
|
570
|
+
showIf: {
|
|
571
|
+
radial: boolean;
|
|
572
|
+
max_min_formula?: undefined;
|
|
573
|
+
};
|
|
574
|
+
required?: undefined;
|
|
575
|
+
class?: undefined;
|
|
576
|
+
})[];
|
|
577
|
+
isEdit: boolean;
|
|
578
|
+
description: string;
|
|
579
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
580
|
+
};
|
|
581
|
+
heat_cell: {
|
|
582
|
+
configFields: (field: any) => ({
|
|
583
|
+
name: string;
|
|
584
|
+
type: string;
|
|
585
|
+
label: string;
|
|
586
|
+
required?: undefined;
|
|
587
|
+
showIf?: undefined;
|
|
588
|
+
class?: undefined;
|
|
589
|
+
attributes?: undefined;
|
|
590
|
+
default?: undefined;
|
|
591
|
+
} | {
|
|
592
|
+
name: string;
|
|
593
|
+
label: string;
|
|
594
|
+
type: any;
|
|
595
|
+
required: boolean;
|
|
596
|
+
showIf: {
|
|
597
|
+
max_min_formula: boolean;
|
|
598
|
+
};
|
|
599
|
+
class?: undefined;
|
|
600
|
+
attributes?: undefined;
|
|
601
|
+
default?: undefined;
|
|
602
|
+
} | {
|
|
603
|
+
name: string;
|
|
604
|
+
label: string;
|
|
605
|
+
type: string;
|
|
606
|
+
class: string;
|
|
607
|
+
showIf: {
|
|
608
|
+
max_min_formula: boolean;
|
|
609
|
+
};
|
|
610
|
+
required?: undefined;
|
|
611
|
+
attributes?: undefined;
|
|
612
|
+
default?: undefined;
|
|
613
|
+
} | {
|
|
614
|
+
name: string;
|
|
615
|
+
type: string;
|
|
616
|
+
label: string;
|
|
617
|
+
required: boolean;
|
|
618
|
+
attributes: {
|
|
619
|
+
options: string[];
|
|
620
|
+
};
|
|
621
|
+
showIf?: undefined;
|
|
622
|
+
class?: undefined;
|
|
623
|
+
default?: undefined;
|
|
624
|
+
} | {
|
|
625
|
+
name: string;
|
|
626
|
+
type: string;
|
|
627
|
+
label: string;
|
|
628
|
+
default: number;
|
|
629
|
+
required?: undefined;
|
|
630
|
+
showIf?: undefined;
|
|
631
|
+
class?: undefined;
|
|
632
|
+
attributes?: undefined;
|
|
633
|
+
})[];
|
|
634
|
+
isEdit: boolean;
|
|
635
|
+
description: string;
|
|
636
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
637
|
+
};
|
|
638
|
+
above_input: {
|
|
639
|
+
isEdit: boolean;
|
|
640
|
+
isFilter: boolean;
|
|
641
|
+
blockDisplay: boolean;
|
|
642
|
+
configFields: {
|
|
643
|
+
name: string;
|
|
644
|
+
label: string;
|
|
645
|
+
type: string;
|
|
646
|
+
}[];
|
|
647
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
648
|
+
};
|
|
649
|
+
below_input: {
|
|
650
|
+
isEdit: boolean;
|
|
651
|
+
isFilter: boolean;
|
|
652
|
+
blockDisplay: boolean;
|
|
653
|
+
configFields: {
|
|
654
|
+
name: string;
|
|
655
|
+
label: string;
|
|
656
|
+
type: string;
|
|
657
|
+
}[];
|
|
658
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
659
|
+
};
|
|
660
|
+
show_with_html: {
|
|
661
|
+
configFields: {
|
|
662
|
+
input_type: string;
|
|
663
|
+
name: string;
|
|
664
|
+
label: string;
|
|
665
|
+
sublabel: string;
|
|
666
|
+
default: string;
|
|
667
|
+
attributes: {
|
|
668
|
+
mode: string;
|
|
669
|
+
};
|
|
670
|
+
}[];
|
|
671
|
+
isEdit: boolean;
|
|
672
|
+
description: string;
|
|
673
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
674
|
+
};
|
|
675
|
+
show_star_rating: {
|
|
676
|
+
description: string;
|
|
677
|
+
configFields: (field: any) => {
|
|
678
|
+
name: string;
|
|
679
|
+
type: string;
|
|
680
|
+
required: boolean;
|
|
681
|
+
default: number;
|
|
682
|
+
}[];
|
|
683
|
+
isEdit: boolean;
|
|
684
|
+
blockDisplay: boolean;
|
|
685
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
686
|
+
};
|
|
687
|
+
edit_star_rating: {
|
|
688
|
+
description: string;
|
|
689
|
+
configFields: (field: any) => ({
|
|
690
|
+
name: string;
|
|
691
|
+
type: string;
|
|
692
|
+
required: boolean;
|
|
693
|
+
default: number;
|
|
694
|
+
label?: undefined;
|
|
695
|
+
sublabel?: undefined;
|
|
696
|
+
} | {
|
|
697
|
+
name: string;
|
|
698
|
+
label: string;
|
|
699
|
+
sublabel: string;
|
|
700
|
+
type: string;
|
|
701
|
+
required?: undefined;
|
|
702
|
+
default?: undefined;
|
|
703
|
+
})[];
|
|
704
|
+
isEdit: boolean;
|
|
705
|
+
blockDisplay: boolean;
|
|
706
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
707
|
+
};
|
|
708
|
+
to_locale_string: {
|
|
709
|
+
description: string;
|
|
710
|
+
configFields: (field: any) => ({
|
|
711
|
+
type: string;
|
|
712
|
+
name: string;
|
|
713
|
+
label: string;
|
|
714
|
+
sublabel: string;
|
|
715
|
+
required?: undefined;
|
|
716
|
+
attributes?: undefined;
|
|
717
|
+
showIf?: undefined;
|
|
718
|
+
} | {
|
|
719
|
+
type: string;
|
|
720
|
+
name: string;
|
|
721
|
+
label: string;
|
|
722
|
+
required: boolean;
|
|
723
|
+
attributes: {
|
|
724
|
+
options: string[];
|
|
725
|
+
min?: undefined;
|
|
726
|
+
};
|
|
727
|
+
sublabel?: undefined;
|
|
728
|
+
showIf?: undefined;
|
|
729
|
+
} | {
|
|
730
|
+
type: string;
|
|
731
|
+
name: string;
|
|
732
|
+
label: string;
|
|
733
|
+
attributes: {
|
|
734
|
+
min: number;
|
|
735
|
+
options?: undefined;
|
|
736
|
+
};
|
|
737
|
+
sublabel?: undefined;
|
|
738
|
+
required?: undefined;
|
|
739
|
+
showIf?: undefined;
|
|
740
|
+
} | {
|
|
741
|
+
type: string;
|
|
742
|
+
name: string;
|
|
743
|
+
label: string;
|
|
744
|
+
sublabel: string;
|
|
745
|
+
required: boolean;
|
|
746
|
+
showIf: {
|
|
747
|
+
style: string;
|
|
748
|
+
};
|
|
749
|
+
attributes?: undefined;
|
|
750
|
+
} | {
|
|
751
|
+
type: string;
|
|
752
|
+
name: string;
|
|
753
|
+
label: string;
|
|
754
|
+
required: boolean;
|
|
755
|
+
showIf: {
|
|
756
|
+
style: string;
|
|
757
|
+
};
|
|
758
|
+
attributes: {
|
|
759
|
+
options: string[];
|
|
760
|
+
min?: undefined;
|
|
761
|
+
};
|
|
762
|
+
sublabel?: undefined;
|
|
763
|
+
})[];
|
|
764
|
+
isEdit: boolean;
|
|
765
|
+
run: (v: any, req: any, attrs?: any) => string;
|
|
766
|
+
};
|
|
767
|
+
role_select: {
|
|
768
|
+
isEdit: boolean;
|
|
769
|
+
blockDisplay: boolean;
|
|
770
|
+
description: string;
|
|
771
|
+
fill_options: (field: any) => Promise<void>;
|
|
772
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
773
|
+
};
|
|
774
|
+
select_by_code: any;
|
|
775
|
+
};
|
|
776
|
+
/** @type {object[]} */
|
|
975
777
|
attributes: {
|
|
976
|
-
|
|
778
|
+
name: string;
|
|
779
|
+
label: string;
|
|
780
|
+
type: string;
|
|
781
|
+
required: boolean;
|
|
782
|
+
}[];
|
|
783
|
+
/**
|
|
784
|
+
* @param {object} param
|
|
785
|
+
* @returns {boolean}
|
|
786
|
+
*/
|
|
787
|
+
validate_attributes: ({ min, max }: any) => boolean;
|
|
788
|
+
/**
|
|
789
|
+
* @param {object} v
|
|
790
|
+
* @returns {object}
|
|
791
|
+
*/
|
|
792
|
+
read: (v: any) => number | undefined;
|
|
793
|
+
/**
|
|
794
|
+
* @param {object} param
|
|
795
|
+
* @returns {boolean}
|
|
796
|
+
*/
|
|
797
|
+
validate: ({ min, max }: any) => (x: any) => true | {
|
|
798
|
+
error: string;
|
|
977
799
|
};
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
export { isEdit_45 as isEdit };
|
|
982
|
-
let description_49: string;
|
|
983
|
-
export { description_49 as description };
|
|
984
|
-
export function run_45(v: any, req: any, attrs?: {}): string;
|
|
985
|
-
export { run_45 as run };
|
|
986
|
-
}
|
|
987
|
-
declare namespace to_locale_string {
|
|
988
|
-
let description_50: string;
|
|
989
|
-
export { description_50 as description };
|
|
990
|
-
export function configFields_27(field: any): ({
|
|
991
|
-
type: string;
|
|
992
|
-
name: string;
|
|
993
|
-
label: string;
|
|
994
|
-
sublabel: string;
|
|
995
|
-
required?: undefined;
|
|
996
|
-
attributes?: undefined;
|
|
997
|
-
showIf?: undefined;
|
|
998
|
-
} | {
|
|
999
|
-
type: string;
|
|
800
|
+
};
|
|
801
|
+
bool: {
|
|
802
|
+
/** @type {string} */
|
|
1000
803
|
name: string;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
804
|
+
description: string;
|
|
805
|
+
/** @type {string} */
|
|
806
|
+
sql_name: string;
|
|
807
|
+
js_type: string;
|
|
808
|
+
/**
|
|
809
|
+
* @returns {function}
|
|
810
|
+
*/
|
|
811
|
+
contract: () => any;
|
|
812
|
+
/**
|
|
813
|
+
* @namespace
|
|
814
|
+
* @category saltcorn-data
|
|
815
|
+
* @subcategory types / bool
|
|
816
|
+
*/
|
|
817
|
+
fieldviews: {
|
|
818
|
+
/**
|
|
819
|
+
* @namespace
|
|
820
|
+
* @category saltcorn-data
|
|
821
|
+
* @subcategory types / bool
|
|
822
|
+
*/
|
|
823
|
+
show: {
|
|
824
|
+
isEdit: boolean;
|
|
825
|
+
description: string;
|
|
826
|
+
run: (v: any, req: any) => any;
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* @namespace
|
|
830
|
+
* @category saltcorn-data
|
|
831
|
+
* @subcategory types / bool
|
|
832
|
+
*/
|
|
833
|
+
checkboxes: {
|
|
834
|
+
isEdit: boolean;
|
|
835
|
+
description: string;
|
|
836
|
+
run: (v: any) => any;
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* @namespace
|
|
840
|
+
* @category saltcorn-data
|
|
841
|
+
* @subcategory types / bool
|
|
842
|
+
*/
|
|
843
|
+
TrueFalse: {
|
|
844
|
+
isEdit: boolean;
|
|
845
|
+
description: string;
|
|
846
|
+
run: (v: any) => "" | "True" | "False";
|
|
847
|
+
};
|
|
848
|
+
/**
|
|
849
|
+
* @namespace
|
|
850
|
+
* @category saltcorn-data
|
|
851
|
+
* @subcategory types / bool
|
|
852
|
+
*/
|
|
853
|
+
edit: {
|
|
854
|
+
isEdit: boolean;
|
|
855
|
+
description: string;
|
|
856
|
+
configFields: ({
|
|
857
|
+
name: string;
|
|
858
|
+
label: string;
|
|
859
|
+
type: string;
|
|
860
|
+
attributes: {
|
|
861
|
+
options: string[];
|
|
862
|
+
};
|
|
863
|
+
} | {
|
|
864
|
+
name: string;
|
|
865
|
+
label: string;
|
|
866
|
+
type: string;
|
|
867
|
+
attributes?: undefined;
|
|
868
|
+
})[];
|
|
869
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
870
|
+
};
|
|
871
|
+
switch: {
|
|
872
|
+
isEdit: boolean;
|
|
873
|
+
description: string;
|
|
874
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
875
|
+
};
|
|
876
|
+
show_with_html: {
|
|
877
|
+
configFields: {
|
|
878
|
+
input_type: string;
|
|
879
|
+
name: string;
|
|
880
|
+
label: string;
|
|
881
|
+
sublabel: string;
|
|
882
|
+
default: string;
|
|
883
|
+
attributes: {
|
|
884
|
+
mode: string;
|
|
885
|
+
};
|
|
886
|
+
}[];
|
|
887
|
+
isEdit: boolean;
|
|
888
|
+
description: string;
|
|
889
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
890
|
+
};
|
|
891
|
+
/**
|
|
892
|
+
* @namespace
|
|
893
|
+
* @category saltcorn-data
|
|
894
|
+
* @subcategory types / bool
|
|
895
|
+
*/
|
|
896
|
+
tristate: {
|
|
897
|
+
isEdit: boolean;
|
|
898
|
+
description: string;
|
|
899
|
+
configFields: {
|
|
900
|
+
name: string;
|
|
901
|
+
label: string;
|
|
902
|
+
type: string;
|
|
903
|
+
}[];
|
|
904
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
905
|
+
};
|
|
906
|
+
thumbs_up_down: {
|
|
907
|
+
isEdit: boolean;
|
|
908
|
+
description: string;
|
|
909
|
+
configFields: {
|
|
910
|
+
name: string;
|
|
911
|
+
label: string;
|
|
912
|
+
type: string;
|
|
913
|
+
required: boolean;
|
|
914
|
+
attributes: {
|
|
915
|
+
options: string[];
|
|
916
|
+
};
|
|
917
|
+
}[];
|
|
918
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
919
|
+
};
|
|
1006
920
|
};
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
921
|
+
/** @type {object[]} */
|
|
922
|
+
attributes: never[];
|
|
923
|
+
/**
|
|
924
|
+
* @param {*} rec
|
|
925
|
+
* @param {string} name
|
|
926
|
+
* @returns {boolean|null}
|
|
927
|
+
*/
|
|
928
|
+
readFromFormRecord: (rec: any, name: any) => boolean | null;
|
|
929
|
+
/**
|
|
930
|
+
* @param {object} v
|
|
931
|
+
* @returns {boolean|null}
|
|
932
|
+
*/
|
|
933
|
+
read: (v: any) => boolean | null;
|
|
934
|
+
/**
|
|
935
|
+
* @param {object} v
|
|
936
|
+
* @returns {object}
|
|
937
|
+
*/
|
|
938
|
+
readFromDB: (v: any) => boolean | null;
|
|
939
|
+
/**
|
|
940
|
+
* @param {object} v
|
|
941
|
+
* @returns {object}
|
|
942
|
+
*/
|
|
943
|
+
listAs: (v: any) => string;
|
|
944
|
+
/**
|
|
945
|
+
* @returns {boolean}
|
|
946
|
+
*/
|
|
947
|
+
validate: () => (x: any) => boolean;
|
|
948
|
+
};
|
|
949
|
+
date: {
|
|
950
|
+
/** @type {string} */
|
|
1011
951
|
name: string;
|
|
1012
|
-
|
|
952
|
+
description: string;
|
|
953
|
+
/** @type {string} */
|
|
954
|
+
sql_name: (opts: any) => "date" | "timestamptz";
|
|
955
|
+
js_type: string;
|
|
956
|
+
/**
|
|
957
|
+
* @returns {function}
|
|
958
|
+
*/
|
|
959
|
+
contract: () => any;
|
|
960
|
+
/** @type {object[]} */
|
|
1013
961
|
attributes: {
|
|
1014
|
-
|
|
1015
|
-
|
|
962
|
+
name: string;
|
|
963
|
+
label: string;
|
|
964
|
+
type: string;
|
|
965
|
+
sublabel: string;
|
|
966
|
+
}[];
|
|
967
|
+
/**
|
|
968
|
+
* @namespace
|
|
969
|
+
* @category saltcorn-data
|
|
970
|
+
* @subcategory types / date
|
|
971
|
+
*/
|
|
972
|
+
fieldviews: {
|
|
973
|
+
/**
|
|
974
|
+
* @namespace
|
|
975
|
+
* @category saltcorn-data
|
|
976
|
+
* @subcategory types / date
|
|
977
|
+
*/
|
|
978
|
+
show: {
|
|
979
|
+
isEdit: boolean;
|
|
980
|
+
description: string;
|
|
981
|
+
run: (d: any, req: any, attrs?: any) => any;
|
|
982
|
+
};
|
|
983
|
+
/**
|
|
984
|
+
* @namespace
|
|
985
|
+
* @category saltcorn-data
|
|
986
|
+
* @subcategory types / date
|
|
987
|
+
*/
|
|
988
|
+
showDay: {
|
|
989
|
+
isEdit: boolean;
|
|
990
|
+
description: string;
|
|
991
|
+
run: (d: any, req: any) => any;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* @namespace
|
|
995
|
+
* @category saltcorn-data
|
|
996
|
+
* @subcategory types / date
|
|
997
|
+
*/
|
|
998
|
+
format: {
|
|
999
|
+
isEdit: boolean;
|
|
1000
|
+
description: string;
|
|
1001
|
+
configFields: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
label: string;
|
|
1004
|
+
type: string;
|
|
1005
|
+
help: {
|
|
1006
|
+
topic: string;
|
|
1007
|
+
};
|
|
1008
|
+
}[];
|
|
1009
|
+
run: (d: any, req: any, options: any) => any;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* @namespace
|
|
1013
|
+
* @category saltcorn-data
|
|
1014
|
+
* @subcategory types / date
|
|
1015
|
+
*/
|
|
1016
|
+
relative: {
|
|
1017
|
+
isEdit: boolean;
|
|
1018
|
+
description: string;
|
|
1019
|
+
run: (d: any, req: any) => any;
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* @namespace
|
|
1023
|
+
* @category saltcorn-data
|
|
1024
|
+
* @subcategory types / date
|
|
1025
|
+
*/
|
|
1026
|
+
yearsAgo: {
|
|
1027
|
+
isEdit: boolean;
|
|
1028
|
+
description: string;
|
|
1029
|
+
run: (d: any, req: any) => any;
|
|
1030
|
+
};
|
|
1031
|
+
show_with_html: {
|
|
1032
|
+
configFields: {
|
|
1033
|
+
input_type: string;
|
|
1034
|
+
name: string;
|
|
1035
|
+
label: string;
|
|
1036
|
+
sublabel: string;
|
|
1037
|
+
default: string;
|
|
1038
|
+
attributes: {
|
|
1039
|
+
mode: string;
|
|
1040
|
+
};
|
|
1041
|
+
}[];
|
|
1042
|
+
isEdit: boolean;
|
|
1043
|
+
description: string;
|
|
1044
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
1045
|
+
};
|
|
1046
|
+
/**
|
|
1047
|
+
* @namespace
|
|
1048
|
+
* @category saltcorn-data
|
|
1049
|
+
* @subcategory types / date
|
|
1050
|
+
*/
|
|
1051
|
+
edit: {
|
|
1052
|
+
isEdit: boolean;
|
|
1053
|
+
blockDisplay: boolean;
|
|
1054
|
+
description: string;
|
|
1055
|
+
configFields: {
|
|
1056
|
+
label: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
type: string;
|
|
1059
|
+
}[];
|
|
1060
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* @namespace
|
|
1064
|
+
* @category saltcorn-data
|
|
1065
|
+
* @subcategory types / date
|
|
1066
|
+
*/
|
|
1067
|
+
editDay: {
|
|
1068
|
+
isEdit: boolean;
|
|
1069
|
+
blockDisplay: boolean;
|
|
1070
|
+
description: string;
|
|
1071
|
+
configFields: {
|
|
1072
|
+
label: string;
|
|
1073
|
+
name: string;
|
|
1074
|
+
type: string;
|
|
1075
|
+
}[];
|
|
1076
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
1077
|
+
};
|
|
1016
1078
|
};
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
sublabel: string;
|
|
1025
|
-
required: boolean;
|
|
1026
|
-
showIf: {
|
|
1027
|
-
style: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* @namespace
|
|
1081
|
+
* @category saltcorn-data
|
|
1082
|
+
* @subcategory types / date
|
|
1083
|
+
*/
|
|
1084
|
+
presets: {
|
|
1085
|
+
Now: ({ field }: any) => any;
|
|
1028
1086
|
};
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1087
|
+
/**
|
|
1088
|
+
* @param {object} v
|
|
1089
|
+
* @param {object} attrs
|
|
1090
|
+
* @returns {object}
|
|
1091
|
+
*/
|
|
1092
|
+
read: (v0: any, attrs: any) => any;
|
|
1093
|
+
/**
|
|
1094
|
+
* @param {object} param
|
|
1095
|
+
* @returns {boolean}
|
|
1096
|
+
*/
|
|
1097
|
+
validate: () => (v: any) => boolean;
|
|
1098
|
+
/**
|
|
1099
|
+
* check if two date values are equal
|
|
1100
|
+
* @param a
|
|
1101
|
+
* @param b
|
|
1102
|
+
* @returns true or false
|
|
1103
|
+
*/
|
|
1104
|
+
equals: (a: any, b: any) => boolean;
|
|
1105
|
+
};
|
|
1106
|
+
float: {
|
|
1107
|
+
/** @type {string} */
|
|
1032
1108
|
name: string;
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1109
|
+
description: string;
|
|
1110
|
+
/** @type {string} */
|
|
1111
|
+
sql_name: string;
|
|
1112
|
+
js_type: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* @param {object} opts
|
|
1115
|
+
* @param {number} opts.min
|
|
1116
|
+
* @param {number} opts.max
|
|
1117
|
+
* @returns {function}
|
|
1118
|
+
*/
|
|
1119
|
+
contract: ({ min, max }: any) => any;
|
|
1120
|
+
distance_operators: {
|
|
1121
|
+
near: any;
|
|
1037
1122
|
};
|
|
1123
|
+
/**
|
|
1124
|
+
* @namespace
|
|
1125
|
+
* @category saltcorn-data
|
|
1126
|
+
* @subcategory types / float
|
|
1127
|
+
*/
|
|
1128
|
+
fieldviews: {
|
|
1129
|
+
/**
|
|
1130
|
+
* @namespace
|
|
1131
|
+
* @category saltcorn-data
|
|
1132
|
+
* @subcategory types / float
|
|
1133
|
+
*/
|
|
1134
|
+
show: {
|
|
1135
|
+
isEdit: boolean;
|
|
1136
|
+
description: string;
|
|
1137
|
+
run: (s: any) => any;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* @namespace
|
|
1141
|
+
* @category saltcorn-data
|
|
1142
|
+
* @subcategory types / float
|
|
1143
|
+
*/
|
|
1144
|
+
edit: {
|
|
1145
|
+
isEdit: boolean;
|
|
1146
|
+
blockDisplay: boolean;
|
|
1147
|
+
description: string;
|
|
1148
|
+
configFields: {
|
|
1149
|
+
name: string;
|
|
1150
|
+
label: string;
|
|
1151
|
+
type: string;
|
|
1152
|
+
}[];
|
|
1153
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
1154
|
+
};
|
|
1155
|
+
number_slider: {
|
|
1156
|
+
configFields: (field: any) => {
|
|
1157
|
+
name: string;
|
|
1158
|
+
type: any;
|
|
1159
|
+
required: boolean;
|
|
1160
|
+
}[];
|
|
1161
|
+
isEdit: boolean;
|
|
1162
|
+
description: string;
|
|
1163
|
+
blockDisplay: boolean;
|
|
1164
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any) => any;
|
|
1165
|
+
};
|
|
1166
|
+
range_interval: {
|
|
1167
|
+
configFields: (field: any) => {
|
|
1168
|
+
name: string;
|
|
1169
|
+
type: any;
|
|
1170
|
+
required: boolean;
|
|
1171
|
+
}[];
|
|
1172
|
+
isEdit: boolean;
|
|
1173
|
+
isFilter: boolean;
|
|
1174
|
+
blockDisplay: boolean;
|
|
1175
|
+
description: string;
|
|
1176
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
1177
|
+
};
|
|
1178
|
+
progress_bar: {
|
|
1179
|
+
configFields: (field: any) => ({
|
|
1180
|
+
name: string;
|
|
1181
|
+
type: string;
|
|
1182
|
+
label: string;
|
|
1183
|
+
required?: undefined;
|
|
1184
|
+
showIf?: undefined;
|
|
1185
|
+
class?: undefined;
|
|
1186
|
+
} | {
|
|
1187
|
+
name: string;
|
|
1188
|
+
label: string;
|
|
1189
|
+
type: any;
|
|
1190
|
+
required: boolean;
|
|
1191
|
+
showIf: {
|
|
1192
|
+
max_min_formula: boolean;
|
|
1193
|
+
radial?: undefined;
|
|
1194
|
+
};
|
|
1195
|
+
class?: undefined;
|
|
1196
|
+
} | {
|
|
1197
|
+
name: string;
|
|
1198
|
+
label: string;
|
|
1199
|
+
type: string;
|
|
1200
|
+
class: string;
|
|
1201
|
+
showIf: {
|
|
1202
|
+
max_min_formula: boolean;
|
|
1203
|
+
radial?: undefined;
|
|
1204
|
+
};
|
|
1205
|
+
required?: undefined;
|
|
1206
|
+
} | {
|
|
1207
|
+
name: string;
|
|
1208
|
+
type: string;
|
|
1209
|
+
label: string;
|
|
1210
|
+
showIf: {
|
|
1211
|
+
radial: boolean;
|
|
1212
|
+
max_min_formula?: undefined;
|
|
1213
|
+
};
|
|
1214
|
+
required?: undefined;
|
|
1215
|
+
class?: undefined;
|
|
1216
|
+
})[];
|
|
1217
|
+
isEdit: boolean;
|
|
1218
|
+
description: string;
|
|
1219
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
1220
|
+
};
|
|
1221
|
+
heat_cell: {
|
|
1222
|
+
configFields: (field: any) => ({
|
|
1223
|
+
name: string;
|
|
1224
|
+
type: string;
|
|
1225
|
+
label: string;
|
|
1226
|
+
required?: undefined;
|
|
1227
|
+
showIf?: undefined;
|
|
1228
|
+
class?: undefined;
|
|
1229
|
+
attributes?: undefined;
|
|
1230
|
+
default?: undefined;
|
|
1231
|
+
} | {
|
|
1232
|
+
name: string;
|
|
1233
|
+
label: string;
|
|
1234
|
+
type: any;
|
|
1235
|
+
required: boolean;
|
|
1236
|
+
showIf: {
|
|
1237
|
+
max_min_formula: boolean;
|
|
1238
|
+
};
|
|
1239
|
+
class?: undefined;
|
|
1240
|
+
attributes?: undefined;
|
|
1241
|
+
default?: undefined;
|
|
1242
|
+
} | {
|
|
1243
|
+
name: string;
|
|
1244
|
+
label: string;
|
|
1245
|
+
type: string;
|
|
1246
|
+
class: string;
|
|
1247
|
+
showIf: {
|
|
1248
|
+
max_min_formula: boolean;
|
|
1249
|
+
};
|
|
1250
|
+
required?: undefined;
|
|
1251
|
+
attributes?: undefined;
|
|
1252
|
+
default?: undefined;
|
|
1253
|
+
} | {
|
|
1254
|
+
name: string;
|
|
1255
|
+
type: string;
|
|
1256
|
+
label: string;
|
|
1257
|
+
required: boolean;
|
|
1258
|
+
attributes: {
|
|
1259
|
+
options: string[];
|
|
1260
|
+
};
|
|
1261
|
+
showIf?: undefined;
|
|
1262
|
+
class?: undefined;
|
|
1263
|
+
default?: undefined;
|
|
1264
|
+
} | {
|
|
1265
|
+
name: string;
|
|
1266
|
+
type: string;
|
|
1267
|
+
label: string;
|
|
1268
|
+
default: number;
|
|
1269
|
+
required?: undefined;
|
|
1270
|
+
showIf?: undefined;
|
|
1271
|
+
class?: undefined;
|
|
1272
|
+
attributes?: undefined;
|
|
1273
|
+
})[];
|
|
1274
|
+
isEdit: boolean;
|
|
1275
|
+
description: string;
|
|
1276
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
1277
|
+
};
|
|
1278
|
+
above_input: {
|
|
1279
|
+
isEdit: boolean;
|
|
1280
|
+
isFilter: boolean;
|
|
1281
|
+
blockDisplay: boolean;
|
|
1282
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
1283
|
+
};
|
|
1284
|
+
below_input: {
|
|
1285
|
+
isEdit: boolean;
|
|
1286
|
+
isFilter: boolean;
|
|
1287
|
+
blockDisplay: boolean;
|
|
1288
|
+
run: (nm: any, v: any, attrs: any | undefined, cls: any, required: any, field: any, state?: any) => any;
|
|
1289
|
+
};
|
|
1290
|
+
to_locale_string: {
|
|
1291
|
+
description: string;
|
|
1292
|
+
configFields: (field: any) => ({
|
|
1293
|
+
type: string;
|
|
1294
|
+
name: string;
|
|
1295
|
+
label: string;
|
|
1296
|
+
sublabel: string;
|
|
1297
|
+
required?: undefined;
|
|
1298
|
+
attributes?: undefined;
|
|
1299
|
+
showIf?: undefined;
|
|
1300
|
+
} | {
|
|
1301
|
+
type: string;
|
|
1302
|
+
name: string;
|
|
1303
|
+
label: string;
|
|
1304
|
+
required: boolean;
|
|
1305
|
+
attributes: {
|
|
1306
|
+
options: string[];
|
|
1307
|
+
min?: undefined;
|
|
1308
|
+
};
|
|
1309
|
+
sublabel?: undefined;
|
|
1310
|
+
showIf?: undefined;
|
|
1311
|
+
} | {
|
|
1312
|
+
type: string;
|
|
1313
|
+
name: string;
|
|
1314
|
+
label: string;
|
|
1315
|
+
attributes: {
|
|
1316
|
+
min: number;
|
|
1317
|
+
options?: undefined;
|
|
1318
|
+
};
|
|
1319
|
+
sublabel?: undefined;
|
|
1320
|
+
required?: undefined;
|
|
1321
|
+
showIf?: undefined;
|
|
1322
|
+
} | {
|
|
1323
|
+
type: string;
|
|
1324
|
+
name: string;
|
|
1325
|
+
label: string;
|
|
1326
|
+
sublabel: string;
|
|
1327
|
+
required: boolean;
|
|
1328
|
+
showIf: {
|
|
1329
|
+
style: string;
|
|
1330
|
+
};
|
|
1331
|
+
attributes?: undefined;
|
|
1332
|
+
} | {
|
|
1333
|
+
type: string;
|
|
1334
|
+
name: string;
|
|
1335
|
+
label: string;
|
|
1336
|
+
required: boolean;
|
|
1337
|
+
showIf: {
|
|
1338
|
+
style: string;
|
|
1339
|
+
};
|
|
1340
|
+
attributes: {
|
|
1341
|
+
options: string[];
|
|
1342
|
+
min?: undefined;
|
|
1343
|
+
};
|
|
1344
|
+
sublabel?: undefined;
|
|
1345
|
+
})[];
|
|
1346
|
+
isEdit: boolean;
|
|
1347
|
+
run: (v: any, req: any, attrs?: any) => string;
|
|
1348
|
+
};
|
|
1349
|
+
show_with_html: {
|
|
1350
|
+
configFields: {
|
|
1351
|
+
input_type: string;
|
|
1352
|
+
name: string;
|
|
1353
|
+
label: string;
|
|
1354
|
+
sublabel: string;
|
|
1355
|
+
default: string;
|
|
1356
|
+
attributes: {
|
|
1357
|
+
mode: string;
|
|
1358
|
+
};
|
|
1359
|
+
}[];
|
|
1360
|
+
isEdit: boolean;
|
|
1361
|
+
description: string;
|
|
1362
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
/** @type {object[]} */
|
|
1038
1366
|
attributes: {
|
|
1039
|
-
|
|
1040
|
-
|
|
1367
|
+
name: string;
|
|
1368
|
+
label: string;
|
|
1369
|
+
type: string;
|
|
1370
|
+
required: boolean;
|
|
1371
|
+
}[];
|
|
1372
|
+
/**
|
|
1373
|
+
* @param {object} v
|
|
1374
|
+
* @returns {number|string|undefined}
|
|
1375
|
+
*/
|
|
1376
|
+
read: (v: any) => number | undefined;
|
|
1377
|
+
/**
|
|
1378
|
+
* @param {object} param
|
|
1379
|
+
* @returns {object|boolean}
|
|
1380
|
+
*/
|
|
1381
|
+
validate: ({ min, max }: any) => (x: any) => true | {
|
|
1382
|
+
error: string;
|
|
1383
|
+
};
|
|
1384
|
+
/**
|
|
1385
|
+
* check if two float values are equal within a given precision
|
|
1386
|
+
* @param a
|
|
1387
|
+
* @param b
|
|
1388
|
+
* @param opts
|
|
1389
|
+
* @returns true or false
|
|
1390
|
+
*/
|
|
1391
|
+
equals: (a: any, b: any, { decimal_places }: any) => boolean;
|
|
1392
|
+
};
|
|
1393
|
+
color: {
|
|
1394
|
+
/** @type {string} */
|
|
1395
|
+
name: string;
|
|
1396
|
+
description: string;
|
|
1397
|
+
/** @type {string} */
|
|
1398
|
+
sql_name: string;
|
|
1399
|
+
js_type: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* @returns {function}
|
|
1402
|
+
*/
|
|
1403
|
+
contract: () => any;
|
|
1404
|
+
/**
|
|
1405
|
+
* @namespace
|
|
1406
|
+
* @category saltcorn-data
|
|
1407
|
+
* @subcategory types / color
|
|
1408
|
+
*/
|
|
1409
|
+
fieldviews: {
|
|
1410
|
+
/**
|
|
1411
|
+
* @namespace
|
|
1412
|
+
* @category saltcorn-data
|
|
1413
|
+
* @subcategory types / color
|
|
1414
|
+
*/
|
|
1415
|
+
show: {
|
|
1416
|
+
isEdit: boolean;
|
|
1417
|
+
description: string;
|
|
1418
|
+
run: (s: any) => any;
|
|
1419
|
+
};
|
|
1420
|
+
show_with_html: {
|
|
1421
|
+
configFields: {
|
|
1422
|
+
input_type: string;
|
|
1423
|
+
name: string;
|
|
1424
|
+
label: string;
|
|
1425
|
+
sublabel: string;
|
|
1426
|
+
default: string;
|
|
1427
|
+
attributes: {
|
|
1428
|
+
mode: string;
|
|
1429
|
+
};
|
|
1430
|
+
}[];
|
|
1431
|
+
isEdit: boolean;
|
|
1432
|
+
description: string;
|
|
1433
|
+
run: (v: any, req: any, attrs?: any) => any;
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* @namespace
|
|
1437
|
+
* @category saltcorn-data
|
|
1438
|
+
* @subcategory types / color
|
|
1439
|
+
*/
|
|
1440
|
+
edit: {
|
|
1441
|
+
isEdit: boolean;
|
|
1442
|
+
blockDisplay: boolean;
|
|
1443
|
+
description: string;
|
|
1444
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
1445
|
+
};
|
|
1041
1446
|
};
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1447
|
+
/** @type {object[]} */
|
|
1448
|
+
attributes: never[];
|
|
1449
|
+
/**
|
|
1450
|
+
* @param {object} v
|
|
1451
|
+
* @returns {object}
|
|
1452
|
+
*/
|
|
1453
|
+
read: (v: any) => string | undefined;
|
|
1454
|
+
/**
|
|
1455
|
+
* @returns {boolean}
|
|
1456
|
+
*/
|
|
1457
|
+
validate: () => (x: any) => boolean;
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
export = _default;
|
|
1052
1461
|
//# sourceMappingURL=types.d.ts.map
|