@saltcorn/data 0.9.6-beta.8 → 0.9.6

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.
Files changed (76) hide show
  1. package/dist/base-plugin/actions.d.ts +30 -2
  2. package/dist/base-plugin/actions.d.ts.map +1 -1
  3. package/dist/base-plugin/actions.js +36 -14
  4. package/dist/base-plugin/actions.js.map +1 -1
  5. package/dist/base-plugin/index.d.ts +382 -256
  6. package/dist/base-plugin/index.d.ts.map +1 -1
  7. package/dist/base-plugin/types.d.ts +382 -287
  8. package/dist/base-plugin/types.d.ts.map +1 -1
  9. package/dist/base-plugin/types.js +259 -18
  10. package/dist/base-plugin/types.js.map +1 -1
  11. package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
  12. package/dist/base-plugin/viewtemplates/edit.js +7 -8
  13. package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
  14. package/dist/base-plugin/viewtemplates/feed.d.ts +9 -4
  15. package/dist/base-plugin/viewtemplates/feed.d.ts.map +1 -1
  16. package/dist/base-plugin/viewtemplates/feed.js +20 -9
  17. package/dist/base-plugin/viewtemplates/feed.js.map +1 -1
  18. package/dist/base-plugin/viewtemplates/list.d.ts.map +1 -1
  19. package/dist/base-plugin/viewtemplates/list.js +18 -2
  20. package/dist/base-plugin/viewtemplates/list.js.map +1 -1
  21. package/dist/base-plugin/viewtemplates/room.js +1 -1
  22. package/dist/base-plugin/viewtemplates/room.js.map +1 -1
  23. package/dist/base-plugin/viewtemplates/viewable_fields.js +1 -1
  24. package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
  25. package/dist/db/state.d.ts +1 -0
  26. package/dist/db/state.d.ts.map +1 -1
  27. package/dist/db/state.js +3 -0
  28. package/dist/db/state.js.map +1 -1
  29. package/dist/models/config.d.ts.map +1 -1
  30. package/dist/models/config.js +15 -1
  31. package/dist/models/config.js.map +1 -1
  32. package/dist/models/expression.d.ts.map +1 -1
  33. package/dist/models/expression.js +17 -7
  34. package/dist/models/expression.js.map +1 -1
  35. package/dist/models/field.d.ts.map +1 -1
  36. package/dist/models/field.js +8 -3
  37. package/dist/models/field.js.map +1 -1
  38. package/dist/models/notification.d.ts +2 -0
  39. package/dist/models/notification.d.ts.map +1 -1
  40. package/dist/models/notification.js +6 -0
  41. package/dist/models/notification.js.map +1 -1
  42. package/dist/models/page.d.ts.map +1 -1
  43. package/dist/models/page.js +5 -11
  44. package/dist/models/page.js.map +1 -1
  45. package/dist/models/table.d.ts +1 -1
  46. package/dist/models/table.d.ts.map +1 -1
  47. package/dist/models/table.js +42 -10
  48. package/dist/models/table.js.map +1 -1
  49. package/dist/models/trigger.d.ts +6 -1
  50. package/dist/models/trigger.d.ts.map +1 -1
  51. package/dist/models/trigger.js +17 -2
  52. package/dist/models/trigger.js.map +1 -1
  53. package/dist/models/view.d.ts.map +1 -1
  54. package/dist/models/view.js +5 -10
  55. package/dist/models/view.js.map +1 -1
  56. package/dist/tests/actions.test.js +14 -4
  57. package/dist/tests/actions.test.js.map +1 -1
  58. package/dist/tests/auxtest.test.js +7 -1
  59. package/dist/tests/auxtest.test.js.map +1 -1
  60. package/dist/tests/calc.test.js +78 -2
  61. package/dist/tests/calc.test.js.map +1 -1
  62. package/dist/tests/exact_views.test.js +3 -3
  63. package/dist/tests/exact_views.test.js.map +1 -1
  64. package/dist/tests/models.test.js +1 -1
  65. package/dist/tests/table.test.js +17 -1
  66. package/dist/tests/table.test.js.map +1 -1
  67. package/dist/tests/view.test.js +5 -1
  68. package/dist/tests/view.test.js.map +1 -1
  69. package/dist/utils.d.ts +4 -2
  70. package/dist/utils.d.ts.map +1 -1
  71. package/dist/utils.js +33 -0
  72. package/dist/utils.js.map +1 -1
  73. package/dist/web-mobile-commons.d.ts.map +1 -1
  74. package/dist/web-mobile-commons.js +7 -1
  75. package/dist/web-mobile-commons.js.map +1 -1
  76. package/package.json +8 -8
@@ -1,5 +1,6 @@
1
1
  export namespace string {
2
2
  const name: string;
3
+ const description: string;
3
4
  const sql_name: string;
4
5
  const js_type: string;
5
6
  function attributes({ table }: object): object;
@@ -8,79 +9,100 @@ export namespace string {
8
9
  }): boolean;
9
10
  namespace fieldviews {
10
11
  export namespace as_text {
11
- const isEdit: boolean;
12
- const description: string;
13
- function run(s: any): string;
12
+ export const isEdit: boolean;
13
+ const description_1: string;
14
+ export { description_1 as description };
15
+ export function run(s: any): string;
14
16
  }
15
17
  export namespace preFormatted {
16
18
  const isEdit_1: boolean;
17
19
  export { isEdit_1 as isEdit };
18
- const description_1: string;
19
- export { description_1 as description };
20
+ const description_2: string;
21
+ export { description_2 as description };
20
22
  export function run_1(s: any): any;
21
23
  export { run_1 as run };
22
24
  }
23
25
  export namespace code {
24
26
  const isEdit_2: boolean;
25
27
  export { isEdit_2 as isEdit };
26
- const description_2: string;
27
- export { description_2 as description };
28
+ const description_3: string;
29
+ export { description_3 as description };
28
30
  export function run_2(s: any): any;
29
31
  export { run_2 as run };
30
32
  }
31
- export namespace ellipsize {
33
+ export namespace monospace_block {
32
34
  const isEdit_3: boolean;
33
35
  export { isEdit_3 as isEdit };
34
- export const configFields: {
36
+ export const configFields: ({
35
37
  name: string;
36
38
  label: string;
39
+ sublabel: string;
37
40
  type: string;
38
- default: number;
39
- }[];
40
- const description_3: string;
41
- export { description_3 as description };
42
- export function run_3(s: any, req: any, attrs?: {}): string;
41
+ } | {
42
+ name: string;
43
+ label: string;
44
+ type: string;
45
+ sublabel?: undefined;
46
+ })[];
47
+ const description_4: string;
48
+ export { description_4 as description };
49
+ export function run_3(s: any, req: any, attrs?: {}): any;
43
50
  export { run_3 as run };
44
51
  }
45
- export namespace as_link {
52
+ export namespace ellipsize {
53
+ const isEdit_4: boolean;
54
+ export { isEdit_4 as isEdit };
46
55
  const configFields_1: {
47
56
  name: string;
48
57
  label: string;
49
58
  type: string;
50
- sublabel: string;
59
+ default: number;
51
60
  }[];
52
61
  export { configFields_1 as configFields };
53
- const description_4: string;
54
- export { description_4 as description };
55
- const isEdit_4: boolean;
56
- export { isEdit_4 as isEdit };
57
- export function run_4(s: any, req: any, attrs?: {}): any;
62
+ const description_5: string;
63
+ export { description_5 as description };
64
+ export function run_4(s: any, req: any, attrs?: {}): string;
58
65
  export { run_4 as run };
59
66
  }
60
- export namespace img_from_url {
67
+ export namespace as_link {
68
+ const configFields_2: {
69
+ name: string;
70
+ label: string;
71
+ type: string;
72
+ sublabel: string;
73
+ }[];
74
+ export { configFields_2 as configFields };
75
+ const description_6: string;
76
+ export { description_6 as description };
61
77
  const isEdit_5: boolean;
62
78
  export { isEdit_5 as isEdit };
63
- const description_5: string;
64
- export { description_5 as description };
65
- export function run_5(s: any, req: any, attrs: any): any;
79
+ export function run_5(s: any, req: any, attrs?: {}): any;
66
80
  export { run_5 as run };
67
81
  }
68
- export namespace as_header {
82
+ export namespace img_from_url {
69
83
  const isEdit_6: boolean;
70
84
  export { isEdit_6 as isEdit };
71
- const description_6: string;
72
- export { description_6 as description };
73
- export function run_6(s: any): any;
85
+ const description_7: string;
86
+ export { description_7 as description };
87
+ export function run_6(s: any, req: any, attrs: any): any;
74
88
  export { run_6 as run };
75
89
  }
76
- export { show_with_html };
77
- export namespace edit {
90
+ export namespace as_header {
78
91
  const isEdit_7: boolean;
79
92
  export { isEdit_7 as isEdit };
93
+ const description_8: string;
94
+ export { description_8 as description };
95
+ export function run_7(s: any): any;
96
+ export { run_7 as run };
97
+ }
98
+ export { show_with_html };
99
+ export namespace edit {
100
+ const isEdit_8: boolean;
101
+ export { isEdit_8 as isEdit };
80
102
  export const blockDisplay: boolean;
81
- const description_7: string;
82
- export { description_7 as description };
83
- export function configFields_2(field: any): ({
103
+ const description_9: string;
104
+ export { description_9 as description };
105
+ export function configFields_3(field: any): ({
84
106
  name: string;
85
107
  label: string;
86
108
  type: string;
@@ -102,18 +124,18 @@ export namespace string {
102
124
  type?: undefined;
103
125
  sublabel?: undefined;
104
126
  })[];
105
- export { configFields_2 as configFields };
106
- export function run_7(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
107
- export { run_7 as run };
127
+ export { configFields_3 as configFields };
128
+ export function run_8(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
129
+ export { run_8 as run };
108
130
  }
109
131
  export namespace fill_formula_btn {
110
- const isEdit_8: boolean;
111
- export { isEdit_8 as isEdit };
132
+ const isEdit_9: boolean;
133
+ export { isEdit_9 as isEdit };
112
134
  const blockDisplay_1: boolean;
113
135
  export { blockDisplay_1 as blockDisplay };
114
- const description_8: string;
115
- export { description_8 as description };
116
- const configFields_3: ({
136
+ const description_10: string;
137
+ export { description_10 as description };
138
+ const configFields_4: ({
117
139
  name: string;
118
140
  label: string;
119
141
  type: string;
@@ -152,18 +174,18 @@ export namespace string {
152
174
  type?: undefined;
153
175
  default?: undefined;
154
176
  })[];
155
- export { configFields_3 as configFields };
156
- export function run_8(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
157
- export { run_8 as run };
177
+ export { configFields_4 as configFields };
178
+ export function run_9(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
179
+ export { run_9 as run };
158
180
  }
159
181
  export namespace make_unique {
160
- const isEdit_9: boolean;
161
- export { isEdit_9 as isEdit };
182
+ const isEdit_10: boolean;
183
+ export { isEdit_10 as isEdit };
162
184
  const blockDisplay_2: boolean;
163
185
  export { blockDisplay_2 as blockDisplay };
164
- const description_9: string;
165
- export { description_9 as description };
166
- const configFields_4: ({
186
+ const description_11: string;
187
+ export { description_11 as description };
188
+ const configFields_5: ({
167
189
  name: string;
168
190
  label: string;
169
191
  type: string;
@@ -185,85 +207,85 @@ export namespace string {
185
207
  input_type?: undefined;
186
208
  options?: undefined;
187
209
  })[];
188
- export { configFields_4 as configFields };
189
- export function run_9(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
190
- export { run_9 as run };
191
- }
192
- export namespace textarea {
193
- const isEdit_10: boolean;
194
- export { isEdit_10 as isEdit };
195
- const blockDisplay_3: boolean;
196
- export { blockDisplay_3 as blockDisplay };
197
- const description_10: string;
198
- export { description_10 as description };
199
- const configFields_5: {
200
- type: string;
201
- name: string;
202
- label: string;
203
- }[];
204
210
  export { configFields_5 as configFields };
205
211
  export function run_10(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
206
212
  export { run_10 as run };
207
213
  }
208
- export namespace code_editor {
214
+ export namespace textarea {
209
215
  const isEdit_11: boolean;
210
216
  export { isEdit_11 as isEdit };
211
- const blockDisplay_4: boolean;
212
- export { blockDisplay_4 as blockDisplay };
213
- const description_11: string;
214
- export { description_11 as description };
217
+ const blockDisplay_3: boolean;
218
+ export { blockDisplay_3 as blockDisplay };
219
+ const description_12: string;
220
+ export { description_12 as description };
215
221
  const configFields_6: {
216
222
  type: string;
217
223
  name: string;
218
224
  label: string;
219
- required: boolean;
220
- attributes: {
221
- options: string[];
222
- };
223
225
  }[];
224
226
  export { configFields_6 as configFields };
225
227
  export function run_11(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
226
228
  export { run_11 as run };
227
229
  }
228
- export namespace radio_group {
230
+ export namespace code_editor {
229
231
  const isEdit_12: boolean;
230
232
  export { isEdit_12 as isEdit };
233
+ const blockDisplay_4: boolean;
234
+ export { blockDisplay_4 as blockDisplay };
235
+ const description_13: string;
236
+ export { description_13 as description };
231
237
  const configFields_7: {
232
238
  type: string;
233
239
  name: string;
234
240
  label: string;
241
+ required: boolean;
242
+ attributes: {
243
+ options: string[];
244
+ };
235
245
  }[];
236
246
  export { configFields_7 as configFields };
237
- const description_12: string;
238
- export { description_12 as description };
239
247
  export function run_12(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
240
248
  export { run_12 as run };
241
249
  }
242
- export namespace checkbox_group {
250
+ export namespace radio_group {
243
251
  const isEdit_13: boolean;
244
252
  export { isEdit_13 as isEdit };
245
- export const isFilter: boolean;
246
- const description_13: string;
247
- export { description_13 as description };
248
253
  const configFields_8: {
249
254
  type: string;
250
255
  name: string;
251
256
  label: string;
252
257
  }[];
253
258
  export { configFields_8 as configFields };
259
+ const description_14: string;
260
+ export { description_14 as description };
254
261
  export function run_13(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
255
262
  export { run_13 as run };
256
263
  }
257
- export namespace password {
264
+ export namespace checkbox_group {
258
265
  const isEdit_14: boolean;
259
266
  export { isEdit_14 as isEdit };
260
- const blockDisplay_5: boolean;
261
- export { blockDisplay_5 as blockDisplay };
262
- const description_14: string;
263
- export { description_14 as description };
267
+ export const isFilter: boolean;
268
+ const description_15: string;
269
+ export { description_15 as description };
270
+ const configFields_9: {
271
+ type: string;
272
+ name: string;
273
+ label: string;
274
+ }[];
275
+ export { configFields_9 as configFields };
264
276
  export function run_14(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
265
277
  export { run_14 as run };
266
278
  }
279
+ export namespace password {
280
+ const isEdit_15: boolean;
281
+ export { isEdit_15 as isEdit };
282
+ const blockDisplay_5: boolean;
283
+ export { blockDisplay_5 as blockDisplay };
284
+ const description_16: string;
285
+ export { description_16 as description };
286
+ export function run_15(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
287
+ export { run_15 as run };
288
+ }
267
289
  }
268
290
  function read(v: any): string | undefined;
269
291
  namespace presets {
@@ -280,6 +302,8 @@ export namespace string {
280
302
  export namespace int {
281
303
  const name_1: string;
282
304
  export { name_1 as name };
305
+ const description_17: string;
306
+ export { description_17 as description };
283
307
  const sql_name_1: string;
284
308
  export { sql_name_1 as sql_name };
285
309
  const js_type_1: string;
@@ -301,66 +325,66 @@ export namespace int {
301
325
  }
302
326
  export namespace fieldviews_1 {
303
327
  export namespace show {
304
- const isEdit_15: boolean;
305
- export { isEdit_15 as isEdit };
306
- const description_15: string;
307
- export { description_15 as description };
308
- export function run_15(s: any): string;
309
- export { run_15 as run };
310
- }
311
- export namespace edit_1 {
312
328
  const isEdit_16: boolean;
313
329
  export { isEdit_16 as isEdit };
330
+ const description_18: string;
331
+ export { description_18 as description };
332
+ export function run_16(s: any): string;
333
+ export { run_16 as run };
334
+ }
335
+ export namespace edit_1 {
336
+ const isEdit_17: boolean;
337
+ export { isEdit_17 as isEdit };
314
338
  const blockDisplay_6: boolean;
315
339
  export { blockDisplay_6 as blockDisplay };
316
- const description_16: string;
317
- export { description_16 as description };
318
- const configFields_9: {
340
+ const description_19: string;
341
+ export { description_19 as description };
342
+ const configFields_10: {
319
343
  name: string;
320
344
  label: string;
321
345
  type: string;
322
346
  }[];
323
- export { configFields_9 as configFields };
324
- export function run_16(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
325
- export { run_16 as run };
347
+ export { configFields_10 as configFields };
348
+ export function run_17(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
349
+ export { run_17 as run };
326
350
  }
327
351
  export { edit_1 as edit };
328
352
  export namespace number_slider {
329
- export function configFields_10(field: any): {
353
+ export function configFields_11(field: any): {
330
354
  name: string;
331
355
  type: any;
332
356
  required: boolean;
333
357
  }[];
334
- export { configFields_10 as configFields };
335
- const isEdit_17: boolean;
336
- export { isEdit_17 as isEdit };
337
- const description_17: string;
338
- export { description_17 as description };
358
+ export { configFields_11 as configFields };
359
+ const isEdit_18: boolean;
360
+ export { isEdit_18 as isEdit };
361
+ const description_20: string;
362
+ export { description_20 as description };
339
363
  const blockDisplay_7: boolean;
340
364
  export { blockDisplay_7 as blockDisplay };
341
- export function run_17(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any): any;
342
- export { run_17 as run };
365
+ export function run_18(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any): any;
366
+ export { run_18 as run };
343
367
  }
344
368
  export namespace range_interval {
345
- export function configFields_11(field: any): {
369
+ export function configFields_12(field: any): {
346
370
  name: string;
347
371
  type: any;
348
372
  required: boolean;
349
373
  }[];
350
- export { configFields_11 as configFields };
351
- const isEdit_18: boolean;
352
- export { isEdit_18 as isEdit };
374
+ export { configFields_12 as configFields };
375
+ const isEdit_19: boolean;
376
+ export { isEdit_19 as isEdit };
353
377
  const isFilter_1: boolean;
354
378
  export { isFilter_1 as isFilter };
355
379
  const blockDisplay_8: boolean;
356
380
  export { blockDisplay_8 as blockDisplay };
357
- const description_18: string;
358
- export { description_18 as description };
359
- export function run_18(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
360
- export { run_18 as run };
381
+ const description_21: string;
382
+ export { description_21 as description };
383
+ export function run_19(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
384
+ export { run_19 as run };
361
385
  }
362
386
  export namespace progress_bar {
363
- export function configFields_12(field: any): ({
387
+ export function configFields_13(field: any): ({
364
388
  name: string;
365
389
  type: string;
366
390
  label: string;
@@ -399,16 +423,16 @@ export namespace int {
399
423
  showIf?: undefined;
400
424
  class?: undefined;
401
425
  })[];
402
- export { configFields_12 as configFields };
403
- const isEdit_19: boolean;
404
- export { isEdit_19 as isEdit };
405
- const description_19: string;
406
- export { description_19 as description };
407
- export function run_19(v: any, req: any, attrs?: {}): any;
408
- export { run_19 as run };
426
+ export { configFields_13 as configFields };
427
+ const isEdit_20: boolean;
428
+ export { isEdit_20 as isEdit };
429
+ const description_22: string;
430
+ export { description_22 as description };
431
+ export function run_20(v: any, req: any, attrs?: {}): any;
432
+ export { run_20 as run };
409
433
  }
410
434
  export namespace heat_cell {
411
- export function configFields_13(field: any): ({
435
+ export function configFields_14(field: any): ({
412
436
  name: string;
413
437
  type: string;
414
438
  label: string;
@@ -460,65 +484,77 @@ export namespace int {
460
484
  class?: undefined;
461
485
  attributes?: undefined;
462
486
  })[];
463
- export { configFields_13 as configFields };
464
- const isEdit_20: boolean;
465
- export { isEdit_20 as isEdit };
466
- const description_20: string;
467
- export { description_20 as description };
468
- export function run_20(v: any, req: any, attrs?: {}): any;
469
- export { run_20 as run };
470
- }
471
- export namespace above_input {
487
+ export { configFields_14 as configFields };
472
488
  const isEdit_21: boolean;
473
489
  export { isEdit_21 as isEdit };
490
+ const description_23: string;
491
+ export { description_23 as description };
492
+ export function run_21(v: any, req: any, attrs?: {}): any;
493
+ export { run_21 as run };
494
+ }
495
+ export namespace above_input {
496
+ const isEdit_22: boolean;
497
+ export { isEdit_22 as isEdit };
474
498
  const isFilter_2: boolean;
475
499
  export { isFilter_2 as isFilter };
476
500
  const blockDisplay_9: boolean;
477
501
  export { blockDisplay_9 as blockDisplay };
478
- const configFields_14: {
502
+ const configFields_15: {
479
503
  name: string;
480
504
  label: string;
481
505
  type: string;
482
506
  }[];
483
- export { configFields_14 as configFields };
484
- export function run_21(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
485
- export { run_21 as run };
507
+ export { configFields_15 as configFields };
508
+ export function run_22(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
509
+ export { run_22 as run };
486
510
  }
487
511
  export namespace below_input { }
488
512
  export { show_with_html };
489
513
  export namespace show_star_rating {
490
- const description_21: string;
491
- export { description_21 as description };
492
- export function configFields_15(field: any): {
514
+ const description_24: string;
515
+ export { description_24 as description };
516
+ export function configFields_16(field: any): {
493
517
  name: string;
494
518
  type: string;
495
519
  required: boolean;
496
520
  default: number;
497
521
  }[];
498
- export { configFields_15 as configFields };
499
- const isEdit_22: boolean;
500
- export { isEdit_22 as isEdit };
522
+ export { configFields_16 as configFields };
523
+ const isEdit_23: boolean;
524
+ export { isEdit_23 as isEdit };
501
525
  const blockDisplay_10: boolean;
502
526
  export { blockDisplay_10 as blockDisplay };
503
- export function run_22(v: any, req: any, attrs?: {}): any;
504
- export { run_22 as run };
527
+ export function run_23(v: any, req: any, attrs?: {}): any;
528
+ export { run_23 as run };
505
529
  }
506
530
  export namespace edit_star_rating {
507
- const description_22: string;
508
- export { description_22 as description };
509
- export function configFields_16(field: any): {
531
+ const description_25: string;
532
+ export { description_25 as description };
533
+ export function configFields_17(field: any): {
510
534
  name: string;
511
535
  type: string;
512
536
  required: boolean;
513
537
  default: number;
514
538
  }[];
515
- export { configFields_16 as configFields };
516
- const isEdit_23: boolean;
517
- export { isEdit_23 as isEdit };
539
+ export { configFields_17 as configFields };
540
+ const isEdit_24: boolean;
541
+ export { isEdit_24 as isEdit };
518
542
  const blockDisplay_11: boolean;
519
543
  export { blockDisplay_11 as blockDisplay };
520
- export function run_23(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
521
- export { run_23 as run };
544
+ export function run_24(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
545
+ export { run_24 as run };
546
+ }
547
+ export { to_locale_string };
548
+ export namespace role_select {
549
+ const isEdit_25: boolean;
550
+ export { isEdit_25 as isEdit };
551
+ const blockDisplay_12: boolean;
552
+ export { blockDisplay_12 as blockDisplay };
553
+ const description_26: string;
554
+ export { description_26 as description };
555
+ export function fill_options(field: any): Promise<void>;
556
+ export function run_25(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
557
+ export { run_25 as run };
522
558
  }
523
559
  }
524
560
  export { fieldviews_1 as fieldviews };
@@ -534,6 +570,8 @@ export namespace int {
534
570
  export namespace bool {
535
571
  const name_2: string;
536
572
  export { name_2 as name };
573
+ const description_27: string;
574
+ export { description_27 as description };
537
575
  const sql_name_2: string;
538
576
  export { sql_name_2 as sql_name };
539
577
  const js_type_2: string;
@@ -542,36 +580,36 @@ export namespace bool {
542
580
  export { contract_2 as contract };
543
581
  export namespace fieldviews_2 {
544
582
  export namespace show_1 {
545
- const isEdit_24: boolean;
546
- export { isEdit_24 as isEdit };
547
- const description_23: string;
548
- export { description_23 as description };
549
- export function run_24(v: any, req: any): any;
550
- export { run_24 as run };
583
+ const isEdit_26: boolean;
584
+ export { isEdit_26 as isEdit };
585
+ const description_28: string;
586
+ export { description_28 as description };
587
+ export function run_26(v: any, req: any): any;
588
+ export { run_26 as run };
551
589
  }
552
590
  export { show_1 as show };
553
591
  export namespace checkboxes {
554
- const isEdit_25: boolean;
555
- export { isEdit_25 as isEdit };
556
- const description_24: string;
557
- export { description_24 as description };
558
- export function run_25(v: any): any;
559
- export { run_25 as run };
592
+ const isEdit_27: boolean;
593
+ export { isEdit_27 as isEdit };
594
+ const description_29: string;
595
+ export { description_29 as description };
596
+ export function run_27(v: any): any;
597
+ export { run_27 as run };
560
598
  }
561
599
  export namespace TrueFalse {
562
- const isEdit_26: boolean;
563
- export { isEdit_26 as isEdit };
564
- const description_25: string;
565
- export { description_25 as description };
566
- export function run_26(v: any): "" | "True" | "False";
567
- export { run_26 as run };
600
+ const isEdit_28: boolean;
601
+ export { isEdit_28 as isEdit };
602
+ const description_30: string;
603
+ export { description_30 as description };
604
+ export function run_28(v: any): "" | "True" | "False";
605
+ export { run_28 as run };
568
606
  }
569
607
  export namespace edit_2 {
570
- const isEdit_27: boolean;
571
- export { isEdit_27 as isEdit };
572
- const description_26: string;
573
- export { description_26 as description };
574
- const configFields_17: ({
608
+ const isEdit_29: boolean;
609
+ export { isEdit_29 as isEdit };
610
+ const description_31: string;
611
+ export { description_31 as description };
612
+ const configFields_18: ({
575
613
  name: string;
576
614
  label: string;
577
615
  type: string;
@@ -584,34 +622,34 @@ export namespace bool {
584
622
  type: string;
585
623
  attributes?: undefined;
586
624
  })[];
587
- export { configFields_17 as configFields };
588
- export function run_27(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
589
- export { run_27 as run };
625
+ export { configFields_18 as configFields };
626
+ export function run_29(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
627
+ export { run_29 as run };
590
628
  }
591
629
  export { edit_2 as edit };
592
630
  export namespace _switch {
593
- const isEdit_28: boolean;
594
- export { isEdit_28 as isEdit };
595
- const description_27: string;
596
- export { description_27 as description };
597
- export function run_28(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
598
- export { run_28 as run };
631
+ const isEdit_30: boolean;
632
+ export { isEdit_30 as isEdit };
633
+ const description_32: string;
634
+ export { description_32 as description };
635
+ export function run_30(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
636
+ export { run_30 as run };
599
637
  }
600
638
  export { _switch as switch };
601
639
  export { show_with_html };
602
640
  export namespace tristate {
603
- const isEdit_29: boolean;
604
- export { isEdit_29 as isEdit };
605
- const description_28: string;
606
- export { description_28 as description };
607
- const configFields_18: {
641
+ const isEdit_31: boolean;
642
+ export { isEdit_31 as isEdit };
643
+ const description_33: string;
644
+ export { description_33 as description };
645
+ const configFields_19: {
608
646
  name: string;
609
647
  label: string;
610
648
  type: string;
611
649
  }[];
612
- export { configFields_18 as configFields };
613
- export function run_29(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
614
- export { run_29 as run };
650
+ export { configFields_19 as configFields };
651
+ export function run_31(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
652
+ export { run_31 as run };
615
653
  }
616
654
  }
617
655
  export { fieldviews_2 as fieldviews };
@@ -628,6 +666,8 @@ export namespace bool {
628
666
  export namespace date {
629
667
  const name_3: string;
630
668
  export { name_3 as name };
669
+ const description_34: string;
670
+ export { description_34 as description };
631
671
  const sql_name_3: string;
632
672
  export { sql_name_3 as sql_name };
633
673
  const js_type_3: string;
@@ -638,74 +678,74 @@ export namespace date {
638
678
  export { attributes_3 as attributes };
639
679
  export namespace fieldviews_3 {
640
680
  export namespace show_2 {
641
- const isEdit_30: boolean;
642
- export { isEdit_30 as isEdit };
643
- const description_29: string;
644
- export { description_29 as description };
645
- export function run_30(d: any, req: any, attrs?: {}): any;
646
- export { run_30 as run };
647
- }
648
- export { show_2 as show };
649
- export namespace showDay {
650
- const isEdit_31: boolean;
651
- export { isEdit_31 as isEdit };
652
- const description_30: string;
653
- export { description_30 as description };
654
- export function run_31(d: any, req: any): any;
655
- export { run_31 as run };
656
- }
657
- export namespace format {
658
681
  const isEdit_32: boolean;
659
682
  export { isEdit_32 as isEdit };
660
- const description_31: string;
661
- export { description_31 as description };
662
- const configFields_19: {
663
- name: string;
664
- label: string;
665
- type: string;
666
- sublabel: string;
667
- }[];
668
- export { configFields_19 as configFields };
669
- export function run_32(d: any, req: any, options: any): any;
683
+ const description_35: string;
684
+ export { description_35 as description };
685
+ export function run_32(d: any, req: any, attrs?: {}): any;
670
686
  export { run_32 as run };
671
687
  }
672
- export namespace relative {
688
+ export { show_2 as show };
689
+ export namespace showDay {
673
690
  const isEdit_33: boolean;
674
691
  export { isEdit_33 as isEdit };
675
- const description_32: string;
676
- export { description_32 as description };
677
- export function run_33(d: any, req: any): string;
692
+ const description_36: string;
693
+ export { description_36 as description };
694
+ export function run_33(d: any, req: any): any;
678
695
  export { run_33 as run };
679
696
  }
680
- export namespace yearsAgo {
697
+ export namespace format {
681
698
  const isEdit_34: boolean;
682
699
  export { isEdit_34 as isEdit };
683
- const description_33: string;
684
- export { description_33 as description };
685
- export function run_34(d: any, req: any): string;
700
+ const description_37: string;
701
+ export { description_37 as description };
702
+ const configFields_20: {
703
+ name: string;
704
+ label: string;
705
+ type: string;
706
+ sublabel: string;
707
+ }[];
708
+ export { configFields_20 as configFields };
709
+ export function run_34(d: any, req: any, options: any): any;
686
710
  export { run_34 as run };
687
711
  }
688
- export { show_with_html };
689
- export namespace edit_3 {
712
+ export namespace relative {
690
713
  const isEdit_35: boolean;
691
714
  export { isEdit_35 as isEdit };
692
- const blockDisplay_12: boolean;
693
- export { blockDisplay_12 as blockDisplay };
694
- const description_34: string;
695
- export { description_34 as description };
696
- export function run_35(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
715
+ const description_38: string;
716
+ export { description_38 as description };
717
+ export function run_35(d: any, req: any): string;
697
718
  export { run_35 as run };
698
719
  }
699
- export { edit_3 as edit };
700
- export namespace editDay {
720
+ export namespace yearsAgo {
701
721
  const isEdit_36: boolean;
702
722
  export { isEdit_36 as isEdit };
723
+ const description_39: string;
724
+ export { description_39 as description };
725
+ export function run_36(d: any, req: any): string;
726
+ export { run_36 as run };
727
+ }
728
+ export { show_with_html };
729
+ export namespace edit_3 {
730
+ const isEdit_37: boolean;
731
+ export { isEdit_37 as isEdit };
703
732
  const blockDisplay_13: boolean;
704
733
  export { blockDisplay_13 as blockDisplay };
705
- const description_35: string;
706
- export { description_35 as description };
707
- export function run_36(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
708
- export { run_36 as run };
734
+ const description_40: string;
735
+ export { description_40 as description };
736
+ export function run_37(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
737
+ export { run_37 as run };
738
+ }
739
+ export { edit_3 as edit };
740
+ export namespace editDay {
741
+ const isEdit_38: boolean;
742
+ export { isEdit_38 as isEdit };
743
+ const blockDisplay_14: boolean;
744
+ export { blockDisplay_14 as blockDisplay };
745
+ const description_41: string;
746
+ export { description_41 as description };
747
+ export function run_38(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
748
+ export { run_38 as run };
709
749
  }
710
750
  }
711
751
  export { fieldviews_3 as fieldviews };
@@ -721,6 +761,8 @@ export namespace date {
721
761
  export namespace float {
722
762
  const name_4: string;
723
763
  export { name_4 as name };
764
+ const description_42: string;
765
+ export { description_42 as description };
724
766
  const sql_name_4: string;
725
767
  export { sql_name_4 as sql_name };
726
768
  const js_type_4: string;
@@ -741,29 +783,29 @@ export namespace float {
741
783
  export { distance_operators_1 as distance_operators };
742
784
  export namespace fieldviews_4 {
743
785
  export namespace show_3 {
744
- const isEdit_37: boolean;
745
- export { isEdit_37 as isEdit };
746
- const description_36: string;
747
- export { description_36 as description };
748
- export function run_37(s: any): string;
749
- export { run_37 as run };
786
+ const isEdit_39: boolean;
787
+ export { isEdit_39 as isEdit };
788
+ const description_43: string;
789
+ export { description_43 as description };
790
+ export function run_39(s: any): string;
791
+ export { run_39 as run };
750
792
  }
751
793
  export { show_3 as show };
752
794
  export namespace edit_4 {
753
- const isEdit_38: boolean;
754
- export { isEdit_38 as isEdit };
755
- const blockDisplay_14: boolean;
756
- export { blockDisplay_14 as blockDisplay };
757
- const description_37: string;
758
- export { description_37 as description };
759
- const configFields_20: {
795
+ const isEdit_40: boolean;
796
+ export { isEdit_40 as isEdit };
797
+ const blockDisplay_15: boolean;
798
+ export { blockDisplay_15 as blockDisplay };
799
+ const description_44: string;
800
+ export { description_44 as description };
801
+ const configFields_21: {
760
802
  name: string;
761
803
  label: string;
762
804
  type: string;
763
805
  }[];
764
- export { configFields_20 as configFields };
765
- export function run_38(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
766
- export { run_38 as run };
806
+ export { configFields_21 as configFields };
807
+ export function run_40(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
808
+ export { run_40 as run };
767
809
  }
768
810
  export { edit_4 as edit };
769
811
  export namespace number_slider_1 { }
@@ -775,18 +817,19 @@ export namespace float {
775
817
  export namespace heat_cell_1 { }
776
818
  export { heat_cell_1 as heat_cell };
777
819
  export namespace above_input_1 {
778
- const isEdit_39: boolean;
779
- export { isEdit_39 as isEdit };
820
+ const isEdit_41: boolean;
821
+ export { isEdit_41 as isEdit };
780
822
  const isFilter_3: boolean;
781
823
  export { isFilter_3 as isFilter };
782
- const blockDisplay_15: boolean;
783
- export { blockDisplay_15 as blockDisplay };
784
- export function run_39(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
785
- export { run_39 as run };
824
+ const blockDisplay_16: boolean;
825
+ export { blockDisplay_16 as blockDisplay };
826
+ export function run_41(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
827
+ export { run_41 as run };
786
828
  }
787
829
  export { above_input_1 as above_input };
788
830
  export namespace below_input_1 { }
789
831
  export { below_input_1 as below_input };
832
+ export { to_locale_string };
790
833
  export { show_with_html };
791
834
  }
792
835
  export { fieldviews_4 as fieldviews };
@@ -800,6 +843,8 @@ export namespace float {
800
843
  export namespace color {
801
844
  const name_5: string;
802
845
  export { name_5 as name };
846
+ const description_45: string;
847
+ export { description_45 as description };
803
848
  const sql_name_5: string;
804
849
  export { sql_name_5 as sql_name };
805
850
  const js_type_5: string;
@@ -808,24 +853,24 @@ export namespace color {
808
853
  export { contract_5 as contract };
809
854
  export namespace fieldviews_5 {
810
855
  export namespace show_4 {
811
- const isEdit_40: boolean;
812
- export { isEdit_40 as isEdit };
813
- const description_38: string;
814
- export { description_38 as description };
815
- export function run_40(s: any): any;
816
- export { run_40 as run };
856
+ const isEdit_42: boolean;
857
+ export { isEdit_42 as isEdit };
858
+ const description_46: string;
859
+ export { description_46 as description };
860
+ export function run_42(s: any): any;
861
+ export { run_42 as run };
817
862
  }
818
863
  export { show_4 as show };
819
864
  export { show_with_html };
820
865
  export namespace edit_5 {
821
- const isEdit_41: boolean;
822
- export { isEdit_41 as isEdit };
823
- const blockDisplay_16: boolean;
824
- export { blockDisplay_16 as blockDisplay };
825
- const description_39: string;
826
- export { description_39 as description };
827
- export function run_41(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
828
- export { run_41 as run };
866
+ const isEdit_43: boolean;
867
+ export { isEdit_43 as isEdit };
868
+ const blockDisplay_17: boolean;
869
+ export { blockDisplay_17 as blockDisplay };
870
+ const description_47: string;
871
+ export { description_47 as description };
872
+ export function run_43(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
873
+ export { run_43 as run };
829
874
  }
830
875
  export { edit_5 as edit };
831
876
  }
@@ -838,7 +883,7 @@ export namespace color {
838
883
  export { validate_5 as validate };
839
884
  }
840
885
  declare namespace show_with_html {
841
- const configFields_21: {
886
+ const configFields_22: {
842
887
  input_type: string;
843
888
  name: string;
844
889
  label: string;
@@ -848,13 +893,63 @@ declare namespace show_with_html {
848
893
  mode: string;
849
894
  };
850
895
  }[];
851
- export { configFields_21 as configFields };
852
- const isEdit_42: boolean;
853
- export { isEdit_42 as isEdit };
854
- const description_40: string;
855
- export { description_40 as description };
856
- export function run_42(v: any, req: any, attrs?: {}): any;
857
- export { run_42 as run };
896
+ export { configFields_22 as configFields };
897
+ const isEdit_44: boolean;
898
+ export { isEdit_44 as isEdit };
899
+ const description_48: string;
900
+ export { description_48 as description };
901
+ export function run_44(v: any, req: any, attrs?: {}): any;
902
+ export { run_44 as run };
903
+ }
904
+ declare namespace to_locale_string {
905
+ const description_49: string;
906
+ export { description_49 as description };
907
+ export function configFields_23(field: any): ({
908
+ type: string;
909
+ name: string;
910
+ label: string;
911
+ sublabel: string;
912
+ required?: undefined;
913
+ attributes?: undefined;
914
+ showIf?: undefined;
915
+ } | {
916
+ type: string;
917
+ name: string;
918
+ label: string;
919
+ required: boolean;
920
+ attributes: {
921
+ options: string[];
922
+ };
923
+ sublabel?: undefined;
924
+ showIf?: undefined;
925
+ } | {
926
+ type: string;
927
+ name: string;
928
+ label: string;
929
+ sublabel: string;
930
+ required: boolean;
931
+ showIf: {
932
+ style: string;
933
+ };
934
+ attributes?: undefined;
935
+ } | {
936
+ type: string;
937
+ name: string;
938
+ label: string;
939
+ required: boolean;
940
+ showIf: {
941
+ style: string;
942
+ };
943
+ attributes: {
944
+ options: string[];
945
+ };
946
+ sublabel?: undefined;
947
+ })[];
948
+ export { configFields_23 as configFields };
949
+ const isEdit_45: boolean;
950
+ export { isEdit_45 as isEdit };
951
+ export function run_45(v: any, req: any, attrs?: {}): string;
952
+ export { run_45 as run };
858
953
  }
859
954
  export {};
860
955
  //# sourceMappingURL=types.d.ts.map