@saltcorn/data 0.9.1-beta.0 → 0.9.1-beta.10

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 (115) hide show
  1. package/dist/base-plugin/actions.d.ts +6 -2
  2. package/dist/base-plugin/actions.d.ts.map +1 -1
  3. package/dist/base-plugin/actions.js +18 -7
  4. package/dist/base-plugin/actions.js.map +1 -1
  5. package/dist/base-plugin/fieldviews.d.ts.map +1 -1
  6. package/dist/base-plugin/fieldviews.js +9 -3
  7. package/dist/base-plugin/fieldviews.js.map +1 -1
  8. package/dist/base-plugin/index.d.ts +191 -101
  9. package/dist/base-plugin/index.d.ts.map +1 -1
  10. package/dist/base-plugin/types.d.ts +41 -15
  11. package/dist/base-plugin/types.d.ts.map +1 -1
  12. package/dist/base-plugin/types.js +50 -8
  13. package/dist/base-plugin/types.js.map +1 -1
  14. package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
  15. package/dist/base-plugin/viewtemplates/edit.js +51 -14
  16. package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
  17. package/dist/base-plugin/viewtemplates/feed.d.ts +1 -1
  18. package/dist/base-plugin/viewtemplates/feed.d.ts.map +1 -1
  19. package/dist/base-plugin/viewtemplates/feed.js +31 -4
  20. package/dist/base-plugin/viewtemplates/feed.js.map +1 -1
  21. package/dist/base-plugin/viewtemplates/filter.d.ts.map +1 -1
  22. package/dist/base-plugin/viewtemplates/filter.js +16 -3
  23. package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
  24. package/dist/base-plugin/viewtemplates/list.d.ts.map +1 -1
  25. package/dist/base-plugin/viewtemplates/list.js +1 -1
  26. package/dist/base-plugin/viewtemplates/list.js.map +1 -1
  27. package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
  28. package/dist/base-plugin/viewtemplates/show.js +14 -7
  29. package/dist/base-plugin/viewtemplates/show.js.map +1 -1
  30. package/dist/base-plugin/viewtemplates/viewable_fields.d.ts +2 -2
  31. package/dist/base-plugin/viewtemplates/viewable_fields.d.ts.map +1 -1
  32. package/dist/base-plugin/viewtemplates/viewable_fields.js +21 -11
  33. package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
  34. package/dist/db/fixtures.d.ts.map +1 -1
  35. package/dist/db/fixtures.js +25 -0
  36. package/dist/db/fixtures.js.map +1 -1
  37. package/dist/db/state.d.ts.map +1 -1
  38. package/dist/db/state.js +5 -2
  39. package/dist/db/state.js.map +1 -1
  40. package/dist/models/email.d.ts +6 -5
  41. package/dist/models/email.d.ts.map +1 -1
  42. package/dist/models/eventlog.js +1 -1
  43. package/dist/models/eventlog.js.map +1 -1
  44. package/dist/models/file.d.ts.map +1 -1
  45. package/dist/models/file.js +1 -1
  46. package/dist/models/file.js.map +1 -1
  47. package/dist/models/index.d.ts +1 -1
  48. package/dist/models/layout.d.ts.map +1 -1
  49. package/dist/models/layout.js +0 -1
  50. package/dist/models/layout.js.map +1 -1
  51. package/dist/models/page.d.ts +1 -0
  52. package/dist/models/page.d.ts.map +1 -1
  53. package/dist/models/page.js +19 -12
  54. package/dist/models/page.js.map +1 -1
  55. package/dist/models/plugin.d.ts +1 -0
  56. package/dist/models/plugin.d.ts.map +1 -1
  57. package/dist/models/plugin.js +5 -0
  58. package/dist/models/plugin.js.map +1 -1
  59. package/dist/models/table.d.ts.map +1 -1
  60. package/dist/models/table.js +26 -1
  61. package/dist/models/table.js.map +1 -1
  62. package/dist/models/table_constraints.d.ts.map +1 -1
  63. package/dist/models/table_constraints.js +4 -4
  64. package/dist/models/table_constraints.js.map +1 -1
  65. package/dist/models/trigger.d.ts +11 -4
  66. package/dist/models/trigger.d.ts.map +1 -1
  67. package/dist/models/trigger.js +20 -6
  68. package/dist/models/trigger.js.map +1 -1
  69. package/dist/models/user.d.ts +1 -0
  70. package/dist/models/user.d.ts.map +1 -1
  71. package/dist/models/user.js +22 -5
  72. package/dist/models/user.js.map +1 -1
  73. package/dist/models/view.d.ts.map +1 -1
  74. package/dist/models/view.js +16 -11
  75. package/dist/models/view.js.map +1 -1
  76. package/dist/plugin-helper.d.ts +10 -1
  77. package/dist/plugin-helper.d.ts.map +1 -1
  78. package/dist/plugin-helper.js +122 -20
  79. package/dist/plugin-helper.js.map +1 -1
  80. package/dist/tests/actions.test.js +292 -1
  81. package/dist/tests/actions.test.js.map +1 -1
  82. package/dist/tests/auxtest.test.js +40 -2
  83. package/dist/tests/auxtest.test.js.map +1 -1
  84. package/dist/tests/common_helpers.d.ts +1 -0
  85. package/dist/tests/common_helpers.d.ts.map +1 -1
  86. package/dist/tests/common_helpers.js +239 -1
  87. package/dist/tests/common_helpers.js.map +1 -1
  88. package/dist/tests/edit.test.d.ts +2 -0
  89. package/dist/tests/edit.test.d.ts.map +1 -0
  90. package/dist/tests/edit.test.js +463 -0
  91. package/dist/tests/edit.test.js.map +1 -0
  92. package/dist/tests/exact_views.test.js +14 -14
  93. package/dist/tests/exact_views.test.js.map +1 -1
  94. package/dist/tests/fieldviews.test.js +2 -2
  95. package/dist/tests/fieldviews.test.js.map +1 -1
  96. package/dist/tests/mocks.d.ts +6 -5
  97. package/dist/tests/mocks.d.ts.map +1 -1
  98. package/dist/tests/mocks.js +17 -5
  99. package/dist/tests/mocks.js.map +1 -1
  100. package/dist/tests/models.test.js +16 -0
  101. package/dist/tests/models.test.js.map +1 -1
  102. package/dist/tests/page.test.d.ts +2 -0
  103. package/dist/tests/page.test.d.ts.map +1 -0
  104. package/dist/tests/page.test.js +26 -0
  105. package/dist/tests/page.test.js.map +1 -0
  106. package/dist/tests/table.test.js +23 -1
  107. package/dist/tests/table.test.js.map +1 -1
  108. package/dist/tests/workflow.test.js +8 -2
  109. package/dist/tests/workflow.test.js.map +1 -1
  110. package/dist/utils.d.ts +5 -0
  111. package/dist/utils.d.ts.map +1 -1
  112. package/dist/utils.js +16 -0
  113. package/dist/utils.js.map +1 -1
  114. package/package.json +7 -8
  115. package/webpack.config.js +1 -1
@@ -1,4 +1,141 @@
1
1
  export const types: ({
2
+ name: string;
3
+ sql_name: string;
4
+ js_type: string;
5
+ contract: () => Function;
6
+ fieldviews: {
7
+ show: {
8
+ isEdit: boolean;
9
+ description: string;
10
+ run: (v: any) => any;
11
+ };
12
+ checkboxes: {
13
+ isEdit: boolean;
14
+ description: string;
15
+ run: (v: any) => any;
16
+ };
17
+ TrueFalse: {
18
+ isEdit: boolean;
19
+ description: string;
20
+ run: (v: any) => "" | "True" | "False";
21
+ };
22
+ edit: {
23
+ isEdit: boolean;
24
+ description: string;
25
+ configFields: {
26
+ name: string;
27
+ label: string;
28
+ type: string;
29
+ attributes: {
30
+ options: string[];
31
+ };
32
+ }[];
33
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
34
+ };
35
+ switch: {
36
+ isEdit: boolean;
37
+ description: string;
38
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
39
+ };
40
+ show_with_html: {
41
+ configFields: {
42
+ input_type: string;
43
+ name: string;
44
+ label: string;
45
+ sublabel: string;
46
+ default: string;
47
+ attributes: {
48
+ mode: string;
49
+ };
50
+ }[];
51
+ isEdit: boolean;
52
+ description: string;
53
+ run: (v: any, req: any, attrs?: {}) => any;
54
+ };
55
+ tristate: {
56
+ isEdit: boolean;
57
+ description: string;
58
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
59
+ };
60
+ };
61
+ attributes: object[];
62
+ readFromFormRecord: (rec: any, name: string) => boolean | null;
63
+ read: (v: object) => boolean | null;
64
+ readFromDB: (v: object) => object;
65
+ listAs: (v: object) => object;
66
+ validate: () => boolean;
67
+ } | {
68
+ name: string;
69
+ sql_name: string;
70
+ js_type: string;
71
+ contract: () => Function;
72
+ attributes: object[];
73
+ fieldviews: {
74
+ show: {
75
+ isEdit: boolean;
76
+ description: string;
77
+ run: (d: any, req: any, attrs?: {}) => any;
78
+ };
79
+ showDay: {
80
+ isEdit: boolean;
81
+ description: string;
82
+ run: (d: any, req: any) => any;
83
+ };
84
+ format: {
85
+ isEdit: boolean;
86
+ description: string;
87
+ configFields: {
88
+ name: string;
89
+ label: string;
90
+ type: string;
91
+ sublabel: string;
92
+ }[];
93
+ run: (d: any, req: any, options: any) => any;
94
+ };
95
+ relative: {
96
+ isEdit: boolean;
97
+ description: string;
98
+ run: (d: any, req: any) => string;
99
+ };
100
+ yearsAgo: {
101
+ isEdit: boolean;
102
+ description: string;
103
+ run: (d: any, req: any) => string;
104
+ };
105
+ show_with_html: {
106
+ configFields: {
107
+ input_type: string;
108
+ name: string;
109
+ label: string;
110
+ sublabel: string;
111
+ default: string;
112
+ attributes: {
113
+ mode: string;
114
+ };
115
+ }[];
116
+ isEdit: boolean;
117
+ description: string;
118
+ run: (v: any, req: any, attrs?: {}) => any;
119
+ };
120
+ edit: {
121
+ isEdit: boolean;
122
+ blockDisplay: boolean;
123
+ description: string;
124
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
125
+ };
126
+ editDay: {
127
+ isEdit: boolean;
128
+ blockDisplay: boolean;
129
+ description: string;
130
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
131
+ };
132
+ };
133
+ presets: {
134
+ Now: () => Date;
135
+ };
136
+ read: (v: object, attrs: object) => object;
137
+ validate: () => boolean;
138
+ } | {
2
139
  name: string;
3
140
  sql_name: string;
4
141
  js_type: string;
@@ -54,6 +191,21 @@ export const types: ({
54
191
  description: string;
55
192
  run: (s: any) => any;
56
193
  };
194
+ show_with_html: {
195
+ configFields: {
196
+ input_type: string;
197
+ name: string;
198
+ label: string;
199
+ sublabel: string;
200
+ default: string;
201
+ attributes: {
202
+ mode: string;
203
+ };
204
+ }[];
205
+ isEdit: boolean;
206
+ description: string;
207
+ run: (v: any, req: any, attrs?: {}) => any;
208
+ };
57
209
  edit: {
58
210
  isEdit: boolean;
59
211
  blockDisplay: boolean;
@@ -325,6 +477,21 @@ export const types: ({
325
477
  }[];
326
478
  run: (nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}) => any;
327
479
  };
480
+ show_with_html: {
481
+ configFields: {
482
+ input_type: string;
483
+ name: string;
484
+ label: string;
485
+ sublabel: string;
486
+ default: string;
487
+ attributes: {
488
+ mode: string;
489
+ };
490
+ }[];
491
+ isEdit: boolean;
492
+ description: string;
493
+ run: (v: any, req: any, attrs?: {}) => any;
494
+ };
328
495
  show_star_rating: {
329
496
  description: string;
330
497
  configFields: (field: any) => {
@@ -363,85 +530,22 @@ export const types: ({
363
530
  show: {
364
531
  isEdit: boolean;
365
532
  description: string;
366
- run: (v: any) => any;
367
- };
368
- checkboxes: {
369
- isEdit: boolean;
370
- description: string;
371
- run: (v: any) => any;
372
- };
373
- TrueFalse: {
374
- isEdit: boolean;
375
- description: string;
376
- run: (v: any) => "" | "True" | "False";
533
+ run: (s: any) => any;
377
534
  };
378
- edit: {
379
- isEdit: boolean;
380
- description: string;
535
+ show_with_html: {
381
536
  configFields: {
537
+ input_type: string;
382
538
  name: string;
383
539
  label: string;
384
- type: string;
540
+ sublabel: string;
541
+ default: string;
385
542
  attributes: {
386
- options: string[];
543
+ mode: string;
387
544
  };
388
545
  }[];
389
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
390
- };
391
- switch: {
392
- isEdit: boolean;
393
- description: string;
394
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
395
- };
396
- tristate: {
397
- isEdit: boolean;
398
- description: string;
399
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
400
- };
401
- };
402
- attributes: object[];
403
- readFromFormRecord: (rec: any, name: string) => boolean | null;
404
- read: (v: object) => boolean | null;
405
- readFromDB: (v: object) => object;
406
- listAs: (v: object) => object;
407
- validate: () => boolean;
408
- } | {
409
- name: string;
410
- sql_name: string;
411
- js_type: string;
412
- contract: () => Function;
413
- attributes: object[];
414
- fieldviews: {
415
- show: {
416
546
  isEdit: boolean;
417
547
  description: string;
418
- run: (d: any, req: any) => any;
419
- };
420
- showDay: {
421
- isEdit: boolean;
422
- description: string;
423
- run: (d: any, req: any) => any;
424
- };
425
- format: {
426
- isEdit: boolean;
427
- description: string;
428
- configFields: {
429
- name: string;
430
- label: string;
431
- type: string;
432
- sublabel: string;
433
- }[];
434
- run: (d: any, req: any, options: any) => any;
435
- };
436
- relative: {
437
- isEdit: boolean;
438
- description: string;
439
- run: (d: any, req: any) => string;
440
- };
441
- yearsAgo: {
442
- isEdit: boolean;
443
- description: string;
444
- run: (d: any, req: any) => string;
548
+ run: (v: any, req: any, attrs?: {}) => any;
445
549
  };
446
550
  edit: {
447
551
  isEdit: boolean;
@@ -449,17 +553,9 @@ export const types: ({
449
553
  description: string;
450
554
  run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
451
555
  };
452
- editDay: {
453
- isEdit: boolean;
454
- blockDisplay: boolean;
455
- description: string;
456
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
457
- };
458
556
  };
459
- presets: {
460
- Now: () => Date;
461
- };
462
- read: (v: object, attrs: object) => object;
557
+ attributes: object[];
558
+ read: (v: object) => object;
463
559
  validate: () => boolean;
464
560
  } | {
465
561
  name: string;
@@ -568,31 +664,25 @@ export const types: ({
568
664
  blockDisplay: boolean;
569
665
  run: (nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}) => any;
570
666
  };
571
- };
572
- attributes: object[];
573
- read: (v: object) => string | number | undefined;
574
- validate: ({ min, max }: object) => boolean | object;
575
- } | {
576
- name: string;
577
- sql_name: string;
578
- js_type: string;
579
- contract: () => Function;
580
- fieldviews: {
581
- show: {
582
- isEdit: boolean;
583
- description: string;
584
- run: (s: any) => any;
585
- };
586
- edit: {
667
+ show_with_html: {
668
+ configFields: {
669
+ input_type: string;
670
+ name: string;
671
+ label: string;
672
+ sublabel: string;
673
+ default: string;
674
+ attributes: {
675
+ mode: string;
676
+ };
677
+ }[];
587
678
  isEdit: boolean;
588
- blockDisplay: boolean;
589
679
  description: string;
590
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
680
+ run: (v: any, req: any, attrs?: {}) => any;
591
681
  };
592
682
  };
593
683
  attributes: object[];
594
- read: (v: object) => object;
595
- validate: () => boolean;
684
+ read: (v: object) => string | number | undefined;
685
+ validate: ({ min, max }: object) => boolean | object;
596
686
  })[];
597
687
  export const viewtemplates: ({
598
688
  name: string;
@@ -889,7 +979,7 @@ export const viewtemplates: ({
889
979
  name: string;
890
980
  description: string;
891
981
  configuration_workflow: (req: object) => import("../models/workflow");
892
- run: (table_id: number, viewname: string, { show_view, order_field, descending, view_to_create, create_view_display, in_card, view_decoration, initial_open_accordions, title_formula, masonry_columns, rows_per_page, hide_pagination, create_view_label, create_view_location, create_link_style, create_link_size, always_create_view, include_fml, empty_view, ...cols }: {
982
+ run: (table_id: number, viewname: string, { show_view, order_field, descending, view_to_create, create_view_display, in_card, view_decoration, initial_open_accordions, title_formula, masonry_columns, rows_per_page, hide_pagination, create_view_label, create_view_location, create_link_style, create_link_size, always_create_view, include_fml, empty_view, groupby, ...cols }: {
893
983
  show_view: string;
894
984
  order_field: name;
895
985
  descending: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../base-plugin/index.js"],"names":[],"mappings":"AAuCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -7,12 +7,12 @@ export namespace string {
7
7
  options: string | undefined;
8
8
  }): boolean;
9
9
  namespace fieldviews {
10
- namespace as_text {
10
+ export namespace as_text {
11
11
  const isEdit: boolean;
12
12
  const description: string;
13
13
  function run(s: any): string;
14
14
  }
15
- namespace preFormatted {
15
+ export namespace preFormatted {
16
16
  const isEdit_1: boolean;
17
17
  export { isEdit_1 as isEdit };
18
18
  const description_1: string;
@@ -20,7 +20,7 @@ export namespace string {
20
20
  export function run_1(s: any): any;
21
21
  export { run_1 as run };
22
22
  }
23
- namespace code {
23
+ export namespace code {
24
24
  const isEdit_2: boolean;
25
25
  export { isEdit_2 as isEdit };
26
26
  const description_2: string;
@@ -28,7 +28,7 @@ export namespace string {
28
28
  export function run_2(s: any): any;
29
29
  export { run_2 as run };
30
30
  }
31
- namespace ellipsize {
31
+ export namespace ellipsize {
32
32
  const isEdit_3: boolean;
33
33
  export { isEdit_3 as isEdit };
34
34
  export const configFields: {
@@ -42,7 +42,7 @@ export namespace string {
42
42
  export function run_3(s: any, req: any, attrs?: {}): string;
43
43
  export { run_3 as run };
44
44
  }
45
- namespace as_link {
45
+ export namespace as_link {
46
46
  const configFields_1: {
47
47
  name: string;
48
48
  label: string;
@@ -57,7 +57,7 @@ export namespace string {
57
57
  export function run_4(s: any, req: any, attrs?: {}): any;
58
58
  export { run_4 as run };
59
59
  }
60
- namespace img_from_url {
60
+ export namespace img_from_url {
61
61
  const isEdit_5: boolean;
62
62
  export { isEdit_5 as isEdit };
63
63
  const description_5: string;
@@ -65,7 +65,7 @@ export namespace string {
65
65
  export function run_5(s: any, req: any, attrs: any): any;
66
66
  export { run_5 as run };
67
67
  }
68
- namespace as_header {
68
+ export namespace as_header {
69
69
  const isEdit_6: boolean;
70
70
  export { isEdit_6 as isEdit };
71
71
  const description_6: string;
@@ -73,7 +73,8 @@ export namespace string {
73
73
  export function run_6(s: any): any;
74
74
  export { run_6 as run };
75
75
  }
76
- namespace edit {
76
+ export { show_with_html };
77
+ export namespace edit {
77
78
  const isEdit_7: boolean;
78
79
  export { isEdit_7 as isEdit };
79
80
  export const blockDisplay: boolean;
@@ -105,7 +106,7 @@ export namespace string {
105
106
  export function run_7(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
106
107
  export { run_7 as run };
107
108
  }
108
- namespace fill_formula_btn {
109
+ export namespace fill_formula_btn {
109
110
  const isEdit_8: boolean;
110
111
  export { isEdit_8 as isEdit };
111
112
  const blockDisplay_1: boolean;
@@ -155,7 +156,7 @@ export namespace string {
155
156
  export function run_8(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
156
157
  export { run_8 as run };
157
158
  }
158
- namespace make_unique {
159
+ export namespace make_unique {
159
160
  const isEdit_9: boolean;
160
161
  export { isEdit_9 as isEdit };
161
162
  const blockDisplay_2: boolean;
@@ -188,7 +189,7 @@ export namespace string {
188
189
  export function run_9(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
189
190
  export { run_9 as run };
190
191
  }
191
- namespace textarea {
192
+ export namespace textarea {
192
193
  const isEdit_10: boolean;
193
194
  export { isEdit_10 as isEdit };
194
195
  const blockDisplay_3: boolean;
@@ -198,7 +199,7 @@ export namespace string {
198
199
  export function run_10(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
199
200
  export { run_10 as run };
200
201
  }
201
- namespace radio_group {
202
+ export namespace radio_group {
202
203
  const isEdit_11: boolean;
203
204
  export { isEdit_11 as isEdit };
204
205
  const configFields_5: {
@@ -212,7 +213,7 @@ export namespace string {
212
213
  export function run_11(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
213
214
  export { run_11 as run };
214
215
  }
215
- namespace checkbox_group {
216
+ export namespace checkbox_group {
216
217
  const isEdit_12: boolean;
217
218
  export { isEdit_12 as isEdit };
218
219
  export const isFilter: boolean;
@@ -227,7 +228,7 @@ export namespace string {
227
228
  export function run_12(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
228
229
  export { run_12 as run };
229
230
  }
230
- namespace password {
231
+ export namespace password {
231
232
  const isEdit_13: boolean;
232
233
  export { isEdit_13 as isEdit };
233
234
  const blockDisplay_4: boolean;
@@ -402,6 +403,7 @@ export namespace int {
402
403
  export { run_20 as run };
403
404
  }
404
405
  export namespace below_input { }
406
+ export { show_with_html };
405
407
  export namespace show_star_rating {
406
408
  const description_20: string;
407
409
  export { description_20 as description };
@@ -509,6 +511,7 @@ export namespace bool {
509
511
  export { run_27 as run };
510
512
  }
511
513
  export { _switch as switch };
514
+ export { show_with_html };
512
515
  export namespace tristate {
513
516
  const isEdit_28: boolean;
514
517
  export { isEdit_28 as isEdit };
@@ -546,7 +549,7 @@ export namespace date {
546
549
  export { isEdit_29 as isEdit };
547
550
  const description_28: string;
548
551
  export { description_28 as description };
549
- export function run_29(d: any, req: any): any;
552
+ export function run_29(d: any, req: any, attrs?: {}): any;
550
553
  export { run_29 as run };
551
554
  }
552
555
  export { show_2 as show };
@@ -589,6 +592,7 @@ export namespace date {
589
592
  export function run_33(d: any, req: any): string;
590
593
  export { run_33 as run };
591
594
  }
595
+ export { show_with_html };
592
596
  export namespace edit_3 {
593
597
  const isEdit_34: boolean;
594
598
  export { isEdit_34 as isEdit };
@@ -675,6 +679,7 @@ export namespace float {
675
679
  export { above_input_1 as above_input };
676
680
  export namespace below_input_1 { }
677
681
  export { below_input_1 as below_input };
682
+ export { show_with_html };
678
683
  }
679
684
  export { fieldviews_4 as fieldviews };
680
685
  const attributes_4: object[];
@@ -703,6 +708,7 @@ export namespace color {
703
708
  export { run_39 as run };
704
709
  }
705
710
  export { show_4 as show };
711
+ export { show_with_html };
706
712
  export namespace edit_5 {
707
713
  const isEdit_40: boolean;
708
714
  export { isEdit_40 as isEdit };
@@ -723,4 +729,24 @@ export namespace color {
723
729
  export function validate_5(): boolean;
724
730
  export { validate_5 as validate };
725
731
  }
732
+ declare namespace show_with_html {
733
+ const configFields_17: {
734
+ input_type: string;
735
+ name: string;
736
+ label: string;
737
+ sublabel: string;
738
+ default: string;
739
+ attributes: {
740
+ mode: string;
741
+ };
742
+ }[];
743
+ export { configFields_17 as configFields };
744
+ const isEdit_41: boolean;
745
+ export { isEdit_41 as isEdit };
746
+ const description_39: string;
747
+ export { description_39 as description };
748
+ export function run_41(v: any, req: any, attrs?: {}): any;
749
+ export { run_41 as run };
750
+ }
751
+ export {};
726
752
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../base-plugin/types.js"],"names":[],"mappings":";gBAoWa,MAAM;oBAEN,MAAM;;IAQL,+CA6EX;IAMS;;gBAK+D;;;;;YAehE,6BAAyB;;;;;;;YAKzB,mCACiE;;;;;;;;YAKjE,mCAA+C;;;;;;;;;;;;;;YAc/C,4DAIJ;;;;;;;;;;;;;;;YAkBI,yDAGG;;;;;;;;YAUH,yDAAmE;;;;;;;;YAWnE,mCAA6B;;;;;;;;;YAYpB;;;;;;;;;;;;;;;;;;;;;iBAmCb;;YACI,6FAyEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiDH,6FAyCF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyCE,6FAqBF;;;;;;;;;;YAWE,8FAgBF;;;;;;;;;;;;;;YAiBE,8FAcyB;;;;;;;;;;;;;;;YAczB,8FAYoB;;;;;;;;;;YAWpB,8FAWD;;;;IAOF,0CAQL;;QAYK;;mBAAmB;QAMZ;;mBAAyD;;IAOpE,+FAYC;IAMkB,iFAEwB;;;kBAuBlC,MAAM;;sBAEN,MAAM;;;;IAUP;;;gBAAoD;;;;;;;;;;;YAgBrD,uCAAc;;;;;;;;;;;;;;;;YAcd,8FAuBJ;;;;;YA//BS;;;;gBAOb;;;;;;;;YAII,yGAmBD;;;;YAGU;;;;gBAOb;;;;;;;;;;YAOI,qHAmCJ;;;;YAaa;;;;;;;;;;iBAUb;;;;;;YAGI,0DAgBF;;;;YAIW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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