@saltcorn/data 0.9.5-beta.2 → 0.9.5-beta.20

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 (120) hide show
  1. package/dist/base-plugin/actions.d.ts +75 -40
  2. package/dist/base-plugin/actions.d.ts.map +1 -1
  3. package/dist/base-plugin/actions.js +91 -5
  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 +1 -9
  7. package/dist/base-plugin/fieldviews.js.map +1 -1
  8. package/dist/base-plugin/index.d.ts +444 -415
  9. package/dist/base-plugin/index.d.ts.map +1 -1
  10. package/dist/base-plugin/types.d.ts +223 -187
  11. package/dist/base-plugin/types.d.ts.map +1 -1
  12. package/dist/base-plugin/types.js +51 -4
  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 +49 -19
  16. package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
  17. package/dist/base-plugin/viewtemplates/feed.d.ts.map +1 -1
  18. package/dist/base-plugin/viewtemplates/feed.js +14 -8
  19. package/dist/base-plugin/viewtemplates/feed.js.map +1 -1
  20. package/dist/base-plugin/viewtemplates/filter.d.ts.map +1 -1
  21. package/dist/base-plugin/viewtemplates/filter.js +15 -9
  22. package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
  23. package/dist/base-plugin/viewtemplates/list.d.ts.map +1 -1
  24. package/dist/base-plugin/viewtemplates/list.js +109 -8
  25. package/dist/base-plugin/viewtemplates/list.js.map +1 -1
  26. package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
  27. package/dist/base-plugin/viewtemplates/show.js +24 -15
  28. package/dist/base-plugin/viewtemplates/show.js.map +1 -1
  29. package/dist/base-plugin/viewtemplates/viewable_fields.d.ts +5 -5
  30. package/dist/base-plugin/viewtemplates/viewable_fields.d.ts.map +1 -1
  31. package/dist/base-plugin/viewtemplates/viewable_fields.js +50 -33
  32. package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
  33. package/dist/db/state.d.ts +9 -1
  34. package/dist/db/state.d.ts.map +1 -1
  35. package/dist/db/state.js +105 -9
  36. package/dist/db/state.js.map +1 -1
  37. package/dist/models/config.d.ts.map +1 -1
  38. package/dist/models/config.js +56 -0
  39. package/dist/models/config.js.map +1 -1
  40. package/dist/models/email.d.ts +1 -0
  41. package/dist/models/email.d.ts.map +1 -1
  42. package/dist/models/expression.d.ts +1 -1
  43. package/dist/models/expression.d.ts.map +1 -1
  44. package/dist/models/expression.js +24 -9
  45. package/dist/models/expression.js.map +1 -1
  46. package/dist/models/field.d.ts +2 -2
  47. package/dist/models/field.d.ts.map +1 -1
  48. package/dist/models/field.js +27 -21
  49. package/dist/models/field.js.map +1 -1
  50. package/dist/models/fieldrepeat.d.ts.map +1 -1
  51. package/dist/models/fieldrepeat.js +4 -0
  52. package/dist/models/fieldrepeat.js.map +1 -1
  53. package/dist/models/file.d.ts.map +1 -1
  54. package/dist/models/file.js +3 -2
  55. package/dist/models/file.js.map +1 -1
  56. package/dist/models/form.d.ts +3 -1
  57. package/dist/models/form.d.ts.map +1 -1
  58. package/dist/models/form.js +2 -1
  59. package/dist/models/form.js.map +1 -1
  60. package/dist/models/index.d.ts +1 -1
  61. package/dist/models/index.d.ts.map +1 -1
  62. package/dist/models/page.d.ts.map +1 -1
  63. package/dist/models/page.js +10 -6
  64. package/dist/models/page.js.map +1 -1
  65. package/dist/models/page_group.d.ts.map +1 -1
  66. package/dist/models/page_group.js +1 -1
  67. package/dist/models/page_group.js.map +1 -1
  68. package/dist/models/plugin.d.ts.map +1 -1
  69. package/dist/models/plugin.js +1 -0
  70. package/dist/models/plugin.js.map +1 -1
  71. package/dist/models/table.d.ts +3 -2
  72. package/dist/models/table.d.ts.map +1 -1
  73. package/dist/models/table.js +61 -18
  74. package/dist/models/table.js.map +1 -1
  75. package/dist/models/trigger.d.ts.map +1 -1
  76. package/dist/models/trigger.js +10 -1
  77. package/dist/models/trigger.js.map +1 -1
  78. package/dist/models/user.d.ts.map +1 -1
  79. package/dist/models/user.js +10 -0
  80. package/dist/models/user.js.map +1 -1
  81. package/dist/models/view.d.ts.map +1 -1
  82. package/dist/models/view.js +24 -12
  83. package/dist/models/view.js.map +1 -1
  84. package/dist/models/workflow.d.ts +2 -0
  85. package/dist/models/workflow.d.ts.map +1 -1
  86. package/dist/models/workflow.js +8 -0
  87. package/dist/models/workflow.js.map +1 -1
  88. package/dist/plugin-helper.d.ts +4 -3
  89. package/dist/plugin-helper.d.ts.map +1 -1
  90. package/dist/plugin-helper.js +45 -3
  91. package/dist/plugin-helper.js.map +1 -1
  92. package/dist/tests/calc.test.js +20 -1
  93. package/dist/tests/calc.test.js.map +1 -1
  94. package/dist/tests/edit.test.js +2 -2
  95. package/dist/tests/edit.test.js.map +1 -1
  96. package/dist/tests/exact_views.test.js +11 -11
  97. package/dist/tests/exact_views.test.js.map +1 -1
  98. package/dist/tests/field.test.js +13 -1
  99. package/dist/tests/field.test.js.map +1 -1
  100. package/dist/tests/file.test.d.ts +2 -0
  101. package/dist/tests/file.test.d.ts.map +1 -0
  102. package/dist/tests/file.test.js +92 -0
  103. package/dist/tests/file.test.js.map +1 -0
  104. package/dist/tests/list.test.js +1 -1
  105. package/dist/tests/list.test.js.map +1 -1
  106. package/dist/tests/mocks.d.ts +31 -2
  107. package/dist/tests/mocks.d.ts.map +1 -1
  108. package/dist/tests/mocks.js +38 -1
  109. package/dist/tests/mocks.js.map +1 -1
  110. package/dist/tests/models.test.js +0 -41
  111. package/dist/tests/models.test.js.map +1 -1
  112. package/dist/tests/table.test.js +93 -0
  113. package/dist/tests/table.test.js.map +1 -1
  114. package/dist/tests/view.test.js +8 -0
  115. package/dist/tests/view.test.js.map +1 -1
  116. package/dist/utils.d.ts +5 -3
  117. package/dist/utils.d.ts.map +1 -1
  118. package/dist/utils.js +18 -0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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAsD;AACtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA2E;;;;4CAG9D,MAAM;yCAYN,MAAM"}
@@ -205,45 +205,65 @@ export namespace string {
205
205
  export function run_10(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
206
206
  export { run_10 as run };
207
207
  }
208
- export namespace radio_group {
208
+ export namespace code_editor {
209
209
  const isEdit_11: boolean;
210
210
  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 };
211
215
  const configFields_6: {
212
216
  type: string;
213
217
  name: string;
214
218
  label: string;
219
+ required: boolean;
220
+ attributes: {
221
+ options: string[];
222
+ };
215
223
  }[];
216
224
  export { configFields_6 as configFields };
217
- const description_11: string;
218
- export { description_11 as description };
219
225
  export function run_11(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
220
226
  export { run_11 as run };
221
227
  }
222
- export namespace checkbox_group {
228
+ export namespace radio_group {
223
229
  const isEdit_12: boolean;
224
230
  export { isEdit_12 as isEdit };
225
- export const isFilter: boolean;
226
- const description_12: string;
227
- export { description_12 as description };
228
231
  const configFields_7: {
229
232
  type: string;
230
233
  name: string;
231
234
  label: string;
232
235
  }[];
233
236
  export { configFields_7 as configFields };
237
+ const description_12: string;
238
+ export { description_12 as description };
234
239
  export function run_12(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
235
240
  export { run_12 as run };
236
241
  }
237
- export namespace password {
242
+ export namespace checkbox_group {
238
243
  const isEdit_13: boolean;
239
244
  export { isEdit_13 as isEdit };
240
- const blockDisplay_4: boolean;
241
- export { blockDisplay_4 as blockDisplay };
245
+ export const isFilter: boolean;
242
246
  const description_13: string;
243
247
  export { description_13 as description };
248
+ const configFields_8: {
249
+ type: string;
250
+ name: string;
251
+ label: string;
252
+ }[];
253
+ export { configFields_8 as configFields };
244
254
  export function run_13(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
245
255
  export { run_13 as run };
246
256
  }
257
+ export namespace password {
258
+ const isEdit_14: boolean;
259
+ 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 };
264
+ export function run_14(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
265
+ export { run_14 as run };
266
+ }
247
267
  }
248
268
  function read(v: any): string | undefined;
249
269
  namespace presets {
@@ -272,49 +292,40 @@ export namespace int {
272
292
  export namespace primaryKey {
273
293
  const sql_type: string;
274
294
  }
295
+ export namespace distance_operators {
296
+ const near: {
297
+ type: string;
298
+ name: string;
299
+ args: any[];
300
+ };
301
+ }
275
302
  export namespace fieldviews_1 {
276
303
  export namespace show {
277
- const isEdit_14: boolean;
278
- export { isEdit_14 as isEdit };
279
- const description_14: string;
280
- export { description_14 as description };
281
- export function run_14(s: any): string;
282
- export { run_14 as run };
283
- }
284
- export namespace edit_1 {
285
304
  const isEdit_15: boolean;
286
305
  export { isEdit_15 as isEdit };
287
- const blockDisplay_5: boolean;
288
- export { blockDisplay_5 as blockDisplay };
289
306
  const description_15: string;
290
307
  export { description_15 as description };
291
- const configFields_8: {
292
- name: string;
293
- label: string;
294
- type: string;
295
- }[];
296
- export { configFields_8 as configFields };
297
- export function run_15(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
308
+ export function run_15(s: any): string;
298
309
  export { run_15 as run };
299
310
  }
300
- export { edit_1 as edit };
301
- export namespace number_slider {
302
- export function configFields_9(field: any): {
303
- name: string;
304
- type: any;
305
- required: boolean;
306
- }[];
307
- export { configFields_9 as configFields };
311
+ export namespace edit_1 {
308
312
  const isEdit_16: boolean;
309
313
  export { isEdit_16 as isEdit };
310
- const description_16: string;
311
- export { description_16 as description };
312
314
  const blockDisplay_6: boolean;
313
315
  export { blockDisplay_6 as blockDisplay };
314
- export function run_16(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any): any;
316
+ const description_16: string;
317
+ export { description_16 as description };
318
+ const configFields_9: {
319
+ name: string;
320
+ label: string;
321
+ type: string;
322
+ }[];
323
+ export { configFields_9 as configFields };
324
+ export function run_16(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
315
325
  export { run_16 as run };
316
326
  }
317
- export namespace range_interval {
327
+ export { edit_1 as edit };
328
+ export namespace number_slider {
318
329
  export function configFields_10(field: any): {
319
330
  name: string;
320
331
  type: any;
@@ -323,17 +334,33 @@ export namespace int {
323
334
  export { configFields_10 as configFields };
324
335
  const isEdit_17: boolean;
325
336
  export { isEdit_17 as isEdit };
326
- const isFilter_1: boolean;
327
- export { isFilter_1 as isFilter };
328
- const blockDisplay_7: boolean;
329
- export { blockDisplay_7 as blockDisplay };
330
337
  const description_17: string;
331
338
  export { description_17 as description };
332
- export function run_17(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
339
+ const blockDisplay_7: boolean;
340
+ export { blockDisplay_7 as blockDisplay };
341
+ export function run_17(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any): any;
333
342
  export { run_17 as run };
334
343
  }
344
+ export namespace range_interval {
345
+ export function configFields_11(field: any): {
346
+ name: string;
347
+ type: any;
348
+ required: boolean;
349
+ }[];
350
+ export { configFields_11 as configFields };
351
+ const isEdit_18: boolean;
352
+ export { isEdit_18 as isEdit };
353
+ const isFilter_1: boolean;
354
+ export { isFilter_1 as isFilter };
355
+ const blockDisplay_8: boolean;
356
+ 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 };
361
+ }
335
362
  export namespace progress_bar {
336
- export function configFields_11(field: any): ({
363
+ export function configFields_12(field: any): ({
337
364
  name: string;
338
365
  type: string;
339
366
  label: string;
@@ -372,16 +399,16 @@ export namespace int {
372
399
  showIf?: undefined;
373
400
  class?: undefined;
374
401
  })[];
375
- export { configFields_11 as configFields };
376
- const isEdit_18: boolean;
377
- export { isEdit_18 as isEdit };
378
- const description_18: string;
379
- export { description_18 as description };
380
- export function run_18(v: any, req: any, attrs?: {}): any;
381
- export { run_18 as run };
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 };
382
409
  }
383
410
  export namespace heat_cell {
384
- export function configFields_12(field: any): ({
411
+ export function configFields_13(field: any): ({
385
412
  name: string;
386
413
  type: string;
387
414
  label: string;
@@ -433,50 +460,33 @@ export namespace int {
433
460
  class?: undefined;
434
461
  attributes?: undefined;
435
462
  })[];
436
- export { configFields_12 as configFields };
437
- const isEdit_19: boolean;
438
- export { isEdit_19 as isEdit };
439
- const description_19: string;
440
- export { description_19 as description };
441
- export function run_19(v: any, req: any, attrs?: {}): any;
442
- export { run_19 as run };
443
- }
444
- export namespace above_input {
463
+ export { configFields_13 as configFields };
445
464
  const isEdit_20: boolean;
446
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 {
472
+ const isEdit_21: boolean;
473
+ export { isEdit_21 as isEdit };
447
474
  const isFilter_2: boolean;
448
475
  export { isFilter_2 as isFilter };
449
- const blockDisplay_8: boolean;
450
- export { blockDisplay_8 as blockDisplay };
451
- const configFields_13: {
476
+ const blockDisplay_9: boolean;
477
+ export { blockDisplay_9 as blockDisplay };
478
+ const configFields_14: {
452
479
  name: string;
453
480
  label: string;
454
481
  type: string;
455
482
  }[];
456
- export { configFields_13 as configFields };
457
- export function run_20(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
458
- export { run_20 as run };
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 };
459
486
  }
460
487
  export namespace below_input { }
461
488
  export { show_with_html };
462
489
  export namespace show_star_rating {
463
- const description_20: string;
464
- export { description_20 as description };
465
- export function configFields_14(field: any): {
466
- name: string;
467
- type: string;
468
- required: boolean;
469
- default: number;
470
- }[];
471
- export { configFields_14 as configFields };
472
- const isEdit_21: boolean;
473
- export { isEdit_21 as isEdit };
474
- const blockDisplay_9: boolean;
475
- export { blockDisplay_9 as blockDisplay };
476
- export function run_21(v: any, req: any, attrs?: {}): any;
477
- export { run_21 as run };
478
- }
479
- export namespace edit_star_rating {
480
490
  const description_21: string;
481
491
  export { description_21 as description };
482
492
  export function configFields_15(field: any): {
@@ -490,9 +500,26 @@ export namespace int {
490
500
  export { isEdit_22 as isEdit };
491
501
  const blockDisplay_10: boolean;
492
502
  export { blockDisplay_10 as blockDisplay };
493
- export function run_22(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
503
+ export function run_22(v: any, req: any, attrs?: {}): any;
494
504
  export { run_22 as run };
495
505
  }
506
+ export namespace edit_star_rating {
507
+ const description_22: string;
508
+ export { description_22 as description };
509
+ export function configFields_16(field: any): {
510
+ name: string;
511
+ type: string;
512
+ required: boolean;
513
+ default: number;
514
+ }[];
515
+ export { configFields_16 as configFields };
516
+ const isEdit_23: boolean;
517
+ export { isEdit_23 as isEdit };
518
+ const blockDisplay_11: boolean;
519
+ 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 };
522
+ }
496
523
  }
497
524
  export { fieldviews_1 as fieldviews };
498
525
  const attributes_1: object[];
@@ -515,15 +542,6 @@ export namespace bool {
515
542
  export { contract_2 as contract };
516
543
  export namespace fieldviews_2 {
517
544
  export namespace show_1 {
518
- const isEdit_23: boolean;
519
- export { isEdit_23 as isEdit };
520
- const description_22: string;
521
- export { description_22 as description };
522
- export function run_23(v: any): any;
523
- export { run_23 as run };
524
- }
525
- export { show_1 as show };
526
- export namespace checkboxes {
527
545
  const isEdit_24: boolean;
528
546
  export { isEdit_24 as isEdit };
529
547
  const description_23: string;
@@ -531,20 +549,29 @@ export namespace bool {
531
549
  export function run_24(v: any): any;
532
550
  export { run_24 as run };
533
551
  }
534
- export namespace TrueFalse {
552
+ export { show_1 as show };
553
+ export namespace checkboxes {
535
554
  const isEdit_25: boolean;
536
555
  export { isEdit_25 as isEdit };
537
556
  const description_24: string;
538
557
  export { description_24 as description };
539
- export function run_25(v: any): "" | "True" | "False";
558
+ export function run_25(v: any): any;
540
559
  export { run_25 as run };
541
560
  }
542
- export namespace edit_2 {
561
+ export namespace TrueFalse {
543
562
  const isEdit_26: boolean;
544
563
  export { isEdit_26 as isEdit };
545
564
  const description_25: string;
546
565
  export { description_25 as description };
547
- const configFields_16: ({
566
+ export function run_26(v: any): "" | "True" | "False";
567
+ export { run_26 as run };
568
+ }
569
+ 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: ({
548
575
  name: string;
549
576
  label: string;
550
577
  type: string;
@@ -557,34 +584,34 @@ export namespace bool {
557
584
  type: string;
558
585
  attributes?: undefined;
559
586
  })[];
560
- export { configFields_16 as configFields };
561
- export function run_26(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
562
- export { run_26 as run };
563
- }
564
- export { edit_2 as edit };
565
- export namespace _switch {
566
- const isEdit_27: boolean;
567
- export { isEdit_27 as isEdit };
568
- const description_26: string;
569
- export { description_26 as description };
587
+ export { configFields_17 as configFields };
570
588
  export function run_27(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
571
589
  export { run_27 as run };
572
590
  }
573
- export { _switch as switch };
574
- export { show_with_html };
575
- export namespace tristate {
591
+ export { edit_2 as edit };
592
+ export namespace _switch {
576
593
  const isEdit_28: boolean;
577
594
  export { isEdit_28 as isEdit };
578
595
  const description_27: string;
579
596
  export { description_27 as description };
580
- const configFields_17: {
597
+ export function run_28(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
598
+ export { run_28 as run };
599
+ }
600
+ export { _switch as switch };
601
+ export { show_with_html };
602
+ 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: {
581
608
  name: string;
582
609
  label: string;
583
610
  type: string;
584
611
  }[];
585
- export { configFields_17 as configFields };
586
- export function run_28(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
587
- export { run_28 as run };
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 };
588
615
  }
589
616
  }
590
617
  export { fieldviews_2 as fieldviews };
@@ -611,46 +638,38 @@ export namespace date {
611
638
  export { attributes_3 as attributes };
612
639
  export namespace fieldviews_3 {
613
640
  export namespace show_2 {
614
- const isEdit_29: boolean;
615
- export { isEdit_29 as isEdit };
616
- const description_28: string;
617
- export { description_28 as description };
618
- export function run_29(d: any, req: any, attrs?: {}): any;
619
- export { run_29 as run };
620
- }
621
- export { show_2 as show };
622
- export namespace showDay {
623
641
  const isEdit_30: boolean;
624
642
  export { isEdit_30 as isEdit };
625
643
  const description_29: string;
626
644
  export { description_29 as description };
627
- export function run_30(d: any, req: any): any;
645
+ export function run_30(d: any, req: any, attrs?: {}): any;
628
646
  export { run_30 as run };
629
647
  }
630
- export namespace format {
648
+ export { show_2 as show };
649
+ export namespace showDay {
631
650
  const isEdit_31: boolean;
632
651
  export { isEdit_31 as isEdit };
633
652
  const description_30: string;
634
653
  export { description_30 as description };
635
- const configFields_18: {
636
- name: string;
637
- label: string;
638
- type: string;
639
- sublabel: string;
640
- }[];
641
- export { configFields_18 as configFields };
642
- export function run_31(d: any, req: any, options: any): any;
654
+ export function run_31(d: any, req: any): any;
643
655
  export { run_31 as run };
644
656
  }
645
- export namespace relative {
657
+ export namespace format {
646
658
  const isEdit_32: boolean;
647
659
  export { isEdit_32 as isEdit };
648
660
  const description_31: string;
649
661
  export { description_31 as description };
650
- export function run_32(d: any, req: any): string;
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;
651
670
  export { run_32 as run };
652
671
  }
653
- export namespace yearsAgo {
672
+ export namespace relative {
654
673
  const isEdit_33: boolean;
655
674
  export { isEdit_33 as isEdit };
656
675
  const description_32: string;
@@ -658,19 +677,16 @@ export namespace date {
658
677
  export function run_33(d: any, req: any): string;
659
678
  export { run_33 as run };
660
679
  }
661
- export { show_with_html };
662
- export namespace edit_3 {
680
+ export namespace yearsAgo {
663
681
  const isEdit_34: boolean;
664
682
  export { isEdit_34 as isEdit };
665
- const blockDisplay_11: boolean;
666
- export { blockDisplay_11 as blockDisplay };
667
683
  const description_33: string;
668
684
  export { description_33 as description };
669
- export function run_34(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
685
+ export function run_34(d: any, req: any): string;
670
686
  export { run_34 as run };
671
687
  }
672
- export { edit_3 as edit };
673
- export namespace editDay {
688
+ export { show_with_html };
689
+ export namespace edit_3 {
674
690
  const isEdit_35: boolean;
675
691
  export { isEdit_35 as isEdit };
676
692
  const blockDisplay_12: boolean;
@@ -680,6 +696,17 @@ export namespace date {
680
696
  export function run_35(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
681
697
  export { run_35 as run };
682
698
  }
699
+ export { edit_3 as edit };
700
+ export namespace editDay {
701
+ const isEdit_36: boolean;
702
+ export { isEdit_36 as isEdit };
703
+ const blockDisplay_13: boolean;
704
+ 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 };
709
+ }
683
710
  }
684
711
  export { fieldviews_3 as fieldviews };
685
712
  export namespace presets_1 {
@@ -703,31 +730,40 @@ export namespace float {
703
730
  max: number;
704
731
  }): Function;
705
732
  export { contract_4 as contract };
733
+ export namespace distance_operators_1 {
734
+ const near_1: {
735
+ type: string;
736
+ name: string;
737
+ args: any[];
738
+ };
739
+ export { near_1 as near };
740
+ }
741
+ export { distance_operators_1 as distance_operators };
706
742
  export namespace fieldviews_4 {
707
743
  export namespace show_3 {
708
- const isEdit_36: boolean;
709
- export { isEdit_36 as isEdit };
710
- const description_35: string;
711
- export { description_35 as description };
712
- export function run_36(s: any): string;
713
- export { run_36 as run };
714
- }
715
- export { show_3 as show };
716
- export namespace edit_4 {
717
744
  const isEdit_37: boolean;
718
745
  export { isEdit_37 as isEdit };
719
- const blockDisplay_13: boolean;
720
- export { blockDisplay_13 as blockDisplay };
721
746
  const description_36: string;
722
747
  export { description_36 as description };
723
- const configFields_19: {
748
+ export function run_37(s: any): string;
749
+ export { run_37 as run };
750
+ }
751
+ export { show_3 as show };
752
+ 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: {
724
760
  name: string;
725
761
  label: string;
726
762
  type: string;
727
763
  }[];
728
- export { configFields_19 as configFields };
729
- export function run_37(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
730
- export { run_37 as run };
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 };
731
767
  }
732
768
  export { edit_4 as edit };
733
769
  export namespace number_slider_1 { }
@@ -739,14 +775,14 @@ export namespace float {
739
775
  export namespace heat_cell_1 { }
740
776
  export { heat_cell_1 as heat_cell };
741
777
  export namespace above_input_1 {
742
- const isEdit_38: boolean;
743
- export { isEdit_38 as isEdit };
778
+ const isEdit_39: boolean;
779
+ export { isEdit_39 as isEdit };
744
780
  const isFilter_3: boolean;
745
781
  export { isFilter_3 as isFilter };
746
- const blockDisplay_14: boolean;
747
- export { blockDisplay_14 as blockDisplay };
748
- export function run_38(nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}): any;
749
- export { run_38 as run };
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 };
750
786
  }
751
787
  export { above_input_1 as above_input };
752
788
  export namespace below_input_1 { }
@@ -772,25 +808,25 @@ export namespace color {
772
808
  export { contract_5 as contract };
773
809
  export namespace fieldviews_5 {
774
810
  export namespace show_4 {
775
- const isEdit_39: boolean;
776
- export { isEdit_39 as isEdit };
777
- const description_37: string;
778
- export { description_37 as description };
779
- export function run_39(s: any): any;
780
- export { run_39 as run };
781
- }
782
- export { show_4 as show };
783
- export { show_with_html };
784
- export namespace edit_5 {
785
811
  const isEdit_40: boolean;
786
812
  export { isEdit_40 as isEdit };
787
- const blockDisplay_15: boolean;
788
- export { blockDisplay_15 as blockDisplay };
789
813
  const description_38: string;
790
814
  export { description_38 as description };
791
- export function run_40(nm: any, v: any, attrs: any, cls: any, required: any, field: any): any;
815
+ export function run_40(s: any): any;
792
816
  export { run_40 as run };
793
817
  }
818
+ export { show_4 as show };
819
+ export { show_with_html };
820
+ 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 };
829
+ }
794
830
  export { edit_5 as edit };
795
831
  }
796
832
  export { fieldviews_5 as fieldviews };
@@ -802,7 +838,7 @@ export namespace color {
802
838
  export { validate_5 as validate };
803
839
  }
804
840
  declare namespace show_with_html {
805
- const configFields_20: {
841
+ const configFields_21: {
806
842
  input_type: string;
807
843
  name: string;
808
844
  label: string;
@@ -812,13 +848,13 @@ declare namespace show_with_html {
812
848
  mode: string;
813
849
  };
814
850
  }[];
815
- export { configFields_20 as configFields };
816
- const isEdit_41: boolean;
817
- export { isEdit_41 as isEdit };
818
- const description_39: string;
819
- export { description_39 as description };
820
- export function run_41(v: any, req: any, attrs?: {}): any;
821
- export { run_41 as run };
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 };
822
858
  }
823
859
  export {};
824
860
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../base-plugin/types.js"],"names":[],"mappings":";gBAkfa,MAAM;oBAEN,MAAM;;IAQL,+CA6EX;IAMS;;gBAK+D;;;;;YAehE,6BAAyB;;;;;;;YAKzB,mCACiE;;;;;;;;YAKjE,mCAA+C;;;;;;;;;;;;;;YAc/C,4DAIJ;;;;;;;;;;;;;;;YAkBI,yDAGG;;;;;;;;YAUH,yDAAmE;;;;;;;;YAWnE,mCAA6B;;;;;;;;;;YAapB;;;;;;;;;;;;;;;;;;;;;iBAwCb;;YACI,6FAsFG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiDH,6FAyCF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAyCE,6FAqBF;;;;;;;;;;;;;;;;YA4BE,8FAkBF;;;;;;;;;;;;;;YAiBE,8FAcyB;;;;;;;;;;;;;;;YAczB,8FAYoB;;;;;;;;;;YAWpB,8FAWD;;;;IAOF,0CAQL;;QAYK;;mBAAmB;QAMZ;;mBAAyD;;IAOpE,+FAYC;IAMkB,iFAEwB;;;kBAuBlC,MAAM;;sBAEN,MAAM;;;;IAUP;;;gBAAoD;;;;;;;;;;;YAgBrD,uCAAc;;;;;;;;;;;;;;;;YAwBd,8FAwBJ;;;;;YA3rCS;;;;gBAOb;;;;;;;;YAII,yGAmBD;;;;YAGU;;;;gBAOb;;;;;;;;;;YAOI,qHAmCJ;;;;YAaa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiDb;;;;;;YAII,0DA0DJ;;;;YAuBa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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