@dakataa/crud-react 1.0.10 → 2.1.0

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 (109) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/README.md +482 -169
  3. package/dist/Crud.d.ts +15 -0
  4. package/dist/component/BaseButtonContent.d.ts +10 -0
  5. package/dist/component/Button.d.ts +9 -0
  6. package/dist/component/Dropdown.d.ts +17 -0
  7. package/dist/component/Empty.d.ts +5 -0
  8. package/dist/component/Link.d.ts +6 -0
  9. package/dist/component/LottieAnimation.d.ts +8 -0
  10. package/dist/component/Modal.d.ts +22 -0
  11. package/dist/component/Money.d.ts +7 -0
  12. package/dist/component/Preloader.d.ts +20 -0
  13. package/dist/component/Translation.d.ts +14 -0
  14. package/dist/component/crud/ActionLink.d.ts +10 -0
  15. package/dist/component/crud/CrudLoader.d.ts +29 -0
  16. package/dist/component/crud/DynamicView.d.ts +19 -0
  17. package/dist/component/crud/FiltersView.d.ts +7 -0
  18. package/dist/component/crud/GridView.d.ts +27 -0
  19. package/dist/component/crud/IsListItemActionGranted.d.ts +10 -0
  20. package/dist/component/crud/ItemAction.d.ts +9 -0
  21. package/dist/component/crud/ItemActions.d.ts +8 -0
  22. package/dist/component/crud/ItemLabel.d.ts +7 -0
  23. package/dist/component/crud/ItemValue.d.ts +7 -0
  24. package/dist/component/crud/List.d.ts +19 -0
  25. package/dist/component/crud/ListItem.d.ts +5 -0
  26. package/dist/component/crud/ListView.d.ts +8 -0
  27. package/dist/component/crud/Modify.d.ts +9 -0
  28. package/dist/component/crud/Navigation.d.ts +19 -0
  29. package/dist/component/crud/Paginator.d.ts +3 -0
  30. package/dist/component/crud/ViewLoader.d.ts +15 -0
  31. package/dist/component/crud/batch/BatchActionSelector.d.ts +3 -0
  32. package/dist/component/crud/batch/BatchActionsContext.d.ts +17 -0
  33. package/dist/component/crud/batch/BatchItemSelector.d.ts +5 -0
  34. package/dist/component/crud/form/Form.d.ts +31 -0
  35. package/dist/component/crud/form/FormError.d.ts +6 -0
  36. package/dist/component/crud/form/FormField.d.ts +11 -0
  37. package/dist/component/crud/form/FormGroup.d.ts +76 -0
  38. package/dist/component/crud/form/FormGroupViewLoader.d.ts +2 -0
  39. package/dist/component/crud/form/FormLabel.d.ts +4 -0
  40. package/dist/component/crud/form/FormRequestError.d.ts +14 -0
  41. package/dist/component/crud/form/FormRest.d.ts +2 -0
  42. package/dist/component/crud/form/FormRestError.d.ts +4 -0
  43. package/dist/component/error/ErrorBoundary.d.ts +13 -0
  44. package/dist/component/error/Exception.d.ts +9 -0
  45. package/dist/component/error/HttpException.d.ts +16 -0
  46. package/dist/component/form/Choice.d.ts +24 -0
  47. package/dist/component/form/Collection.d.ts +27 -0
  48. package/dist/component/form/Form.d.ts +62 -0
  49. package/dist/component/form/FormAlert.d.ts +3 -0
  50. package/dist/component/form/FormFieldError.d.ts +6 -0
  51. package/dist/component/form/FormGroup.d.ts +8 -0
  52. package/dist/component/form/FormHelp.d.ts +5 -0
  53. package/dist/component/form/FormLabel.d.ts +7 -0
  54. package/dist/component/form/FormSetting.d.ts +11 -0
  55. package/dist/component/form/FormStore.d.ts +93 -0
  56. package/dist/component/form/Input.d.ts +13 -0
  57. package/dist/component/form/Textarea.d.ts +15 -0
  58. package/dist/component/form/constraint/Contraint.d.ts +6 -0
  59. package/dist/component/form/constraint/NotBlank.d.ts +11 -0
  60. package/dist/component/form/formChoices.d.ts +8 -0
  61. package/dist/component/form/formSession.d.ts +3 -0
  62. package/dist/component/form/formView.d.ts +35 -0
  63. package/dist/component/router/Route.d.ts +12 -0
  64. package/dist/component/templating/Template.d.ts +17 -0
  65. package/dist/component/templating/TemplateBlock.d.ts +8 -0
  66. package/dist/component/templating/TemplateExtend.d.ts +9 -0
  67. package/dist/component/templating/TemplateParentBlock.d.ts +5 -0
  68. package/dist/context/ActionContext.d.ts +46 -0
  69. package/dist/context/AlertContext.d.ts +52 -0
  70. package/dist/context/ConfigContext.d.ts +34 -0
  71. package/dist/context/CrudProvider.d.ts +7 -0
  72. package/dist/context/GetData.d.ts +43 -0
  73. package/dist/context/ListContext.d.ts +69 -0
  74. package/dist/context/ListItemContext.d.ts +8 -0
  75. package/dist/context/LoaderContext.d.ts +5 -0
  76. package/dist/context/ModalContext.d.ts +18 -0
  77. package/dist/context/ModalScopeContext.d.ts +5 -0
  78. package/dist/context/NamespaceContext.d.ts +5 -0
  79. package/dist/crud-react.css +2 -1
  80. package/dist/crud-react.js +4004 -2956
  81. package/dist/denied-Cg2igDWh.js +688 -0
  82. package/dist/helper/ObjectUtils.d.ts +3 -0
  83. package/dist/helper/PathUtils.d.ts +12 -0
  84. package/dist/helper/StringUtils.d.ts +3 -0
  85. package/dist/info-Dfyx45FU.js +626 -0
  86. package/dist/layout/default/Base.d.ts +5 -0
  87. package/dist/layout/default/Error.d.ts +11 -0
  88. package/dist/layout/default/Main.d.ts +5 -0
  89. package/dist/main.d.ts +92 -79
  90. package/dist/setupTests.d.ts +0 -0
  91. package/dist/success-B5xn1-UX.js +559 -0
  92. package/dist/type/ActionRequestType.d.ts +17 -0
  93. package/dist/type/ActionType.d.ts +15 -0
  94. package/dist/type/ColumnType.d.ts +24 -0
  95. package/dist/type/ExceptionType.d.ts +6 -0
  96. package/dist/type/FormType.d.ts +6 -0
  97. package/dist/type/FormViewType.d.ts +96 -0
  98. package/dist/type/ListMetaType.d.ts +8 -0
  99. package/dist/type/ListType.d.ts +32 -0
  100. package/dist/type/ModifyType.d.ts +15 -0
  101. package/dist/type/RedirectType.d.ts +7 -0
  102. package/dist/type/RouteType.d.ts +7 -0
  103. package/dist/type/ViewType.d.ts +17 -0
  104. package/dist/warning-BaaC-X6i.js +630 -0
  105. package/package.json +86 -81
  106. package/dist/denied-CgoMpaA7.js +0 -27
  107. package/dist/info-D-NzIEYs.js +0 -144
  108. package/dist/success-Bu_BJcf1.js +0 -27
  109. package/dist/warning-B1nr7TsB.js +0 -27
@@ -0,0 +1,688 @@
1
+ //#region src/assets/images/alert/denied.json
2
+ var e = "5.9.2", t = 25, n = 0, r = 52, i = 800, a = 800, o = "Precomp. 1", s = 0, c = [], l = [
3
+ {
4
+ ddd: 0,
5
+ ind: 1,
6
+ ty: 4,
7
+ nm: "Capa de formas 11",
8
+ sr: 1,
9
+ ks: {
10
+ o: {
11
+ a: 0,
12
+ k: 100,
13
+ ix: 11
14
+ },
15
+ r: {
16
+ a: 0,
17
+ k: 90,
18
+ ix: 10
19
+ },
20
+ p: {
21
+ a: 0,
22
+ k: [
23
+ 394.648,
24
+ 397.167,
25
+ 0
26
+ ],
27
+ ix: 2,
28
+ l: 2
29
+ },
30
+ a: {
31
+ a: 0,
32
+ k: [
33
+ -9,
34
+ 17,
35
+ 0
36
+ ],
37
+ ix: 1,
38
+ l: 2
39
+ },
40
+ s: {
41
+ a: 0,
42
+ k: [
43
+ 100,
44
+ 100,
45
+ 100
46
+ ],
47
+ ix: 6,
48
+ l: 2
49
+ }
50
+ },
51
+ ao: 0,
52
+ shapes: [{
53
+ ty: "gr",
54
+ it: [
55
+ {
56
+ ind: 0,
57
+ ty: "sh",
58
+ ix: 1,
59
+ ks: {
60
+ a: 0,
61
+ k: {
62
+ i: [[0, 0], [0, 0]],
63
+ o: [[0, 0], [0, 0]],
64
+ v: [[-170, -144], [152, 178]],
65
+ c: !1
66
+ },
67
+ ix: 2
68
+ },
69
+ nm: "Trazado 1",
70
+ mn: "ADBE Vector Shape - Group",
71
+ hd: !1
72
+ },
73
+ {
74
+ ty: "tm",
75
+ s: {
76
+ a: 0,
77
+ k: 0,
78
+ ix: 1
79
+ },
80
+ e: {
81
+ a: 1,
82
+ k: [{
83
+ i: {
84
+ x: [.667],
85
+ y: [1]
86
+ },
87
+ o: {
88
+ x: [.333],
89
+ y: [0]
90
+ },
91
+ t: 10,
92
+ s: [0]
93
+ }, {
94
+ t: 17,
95
+ s: [100]
96
+ }],
97
+ ix: 2
98
+ },
99
+ o: {
100
+ a: 0,
101
+ k: 0,
102
+ ix: 3
103
+ },
104
+ m: 1,
105
+ ix: 2,
106
+ nm: "Recortar trazados 1",
107
+ mn: "ADBE Vector Filter - Trim",
108
+ hd: !1
109
+ },
110
+ {
111
+ ty: "st",
112
+ c: {
113
+ a: 0,
114
+ k: [
115
+ .925490196078,
116
+ .219607843137,
117
+ .192156862745,
118
+ 1
119
+ ],
120
+ ix: 3
121
+ },
122
+ o: {
123
+ a: 0,
124
+ k: 100,
125
+ ix: 4
126
+ },
127
+ w: {
128
+ a: 0,
129
+ k: 70,
130
+ ix: 5
131
+ },
132
+ lc: 2,
133
+ lj: 1,
134
+ ml: 4,
135
+ bm: 0,
136
+ nm: "Trazo 1",
137
+ mn: "ADBE Vector Graphic - Stroke",
138
+ hd: !1
139
+ },
140
+ {
141
+ ty: "fl",
142
+ c: {
143
+ a: 0,
144
+ k: [
145
+ .176470588235,
146
+ .16862745098,
147
+ .2,
148
+ 1
149
+ ],
150
+ ix: 4
151
+ },
152
+ o: {
153
+ a: 0,
154
+ k: 100,
155
+ ix: 5
156
+ },
157
+ r: 1,
158
+ bm: 0,
159
+ nm: "Relleno 1",
160
+ mn: "ADBE Vector Graphic - Fill",
161
+ hd: !1
162
+ },
163
+ {
164
+ ty: "tr",
165
+ p: {
166
+ a: 0,
167
+ k: [0, 0],
168
+ ix: 2
169
+ },
170
+ a: {
171
+ a: 0,
172
+ k: [0, 0],
173
+ ix: 1
174
+ },
175
+ s: {
176
+ a: 0,
177
+ k: [68.518, 68.518],
178
+ ix: 3
179
+ },
180
+ r: {
181
+ a: 0,
182
+ k: 0,
183
+ ix: 6
184
+ },
185
+ o: {
186
+ a: 0,
187
+ k: 100,
188
+ ix: 7
189
+ },
190
+ sk: {
191
+ a: 0,
192
+ k: 0,
193
+ ix: 4
194
+ },
195
+ sa: {
196
+ a: 0,
197
+ k: 0,
198
+ ix: 5
199
+ },
200
+ nm: "Transformar"
201
+ }
202
+ ],
203
+ nm: "Forma 1",
204
+ np: 4,
205
+ cix: 2,
206
+ bm: 0,
207
+ ix: 1,
208
+ mn: "ADBE Vector Group",
209
+ hd: !1
210
+ }],
211
+ ip: 2,
212
+ op: 52,
213
+ st: -502,
214
+ bm: 0
215
+ },
216
+ {
217
+ ddd: 0,
218
+ ind: 2,
219
+ ty: 4,
220
+ nm: "Capa de formas 10",
221
+ sr: 1,
222
+ ks: {
223
+ o: {
224
+ a: 0,
225
+ k: 100,
226
+ ix: 11
227
+ },
228
+ r: {
229
+ a: 0,
230
+ k: 0,
231
+ ix: 10
232
+ },
233
+ p: {
234
+ a: 0,
235
+ k: [
236
+ 397.401,
237
+ 404.91,
238
+ 0
239
+ ],
240
+ ix: 2,
241
+ l: 2
242
+ },
243
+ a: {
244
+ a: 0,
245
+ k: [
246
+ -9,
247
+ 17,
248
+ 0
249
+ ],
250
+ ix: 1,
251
+ l: 2
252
+ },
253
+ s: {
254
+ a: 0,
255
+ k: [
256
+ 100,
257
+ 100,
258
+ 100
259
+ ],
260
+ ix: 6,
261
+ l: 2
262
+ }
263
+ },
264
+ ao: 0,
265
+ shapes: [{
266
+ ty: "gr",
267
+ it: [
268
+ {
269
+ ind: 0,
270
+ ty: "sh",
271
+ ix: 1,
272
+ ks: {
273
+ a: 0,
274
+ k: {
275
+ i: [[0, 0], [0, 0]],
276
+ o: [[0, 0], [0, 0]],
277
+ v: [[-170, -144], [152, 178]],
278
+ c: !1
279
+ },
280
+ ix: 2
281
+ },
282
+ nm: "Trazado 1",
283
+ mn: "ADBE Vector Shape - Group",
284
+ hd: !1
285
+ },
286
+ {
287
+ ty: "tm",
288
+ s: {
289
+ a: 0,
290
+ k: 0,
291
+ ix: 1
292
+ },
293
+ e: {
294
+ a: 1,
295
+ k: [{
296
+ i: {
297
+ x: [.667],
298
+ y: [1]
299
+ },
300
+ o: {
301
+ x: [.333],
302
+ y: [0]
303
+ },
304
+ t: 8,
305
+ s: [0]
306
+ }, {
307
+ t: 15,
308
+ s: [100]
309
+ }],
310
+ ix: 2
311
+ },
312
+ o: {
313
+ a: 0,
314
+ k: 0,
315
+ ix: 3
316
+ },
317
+ m: 1,
318
+ ix: 2,
319
+ nm: "Recortar trazados 1",
320
+ mn: "ADBE Vector Filter - Trim",
321
+ hd: !1
322
+ },
323
+ {
324
+ ty: "st",
325
+ c: {
326
+ a: 0,
327
+ k: [
328
+ .925490196078,
329
+ .219607843137,
330
+ .192156862745,
331
+ 1
332
+ ],
333
+ ix: 3
334
+ },
335
+ o: {
336
+ a: 0,
337
+ k: 100,
338
+ ix: 4
339
+ },
340
+ w: {
341
+ a: 0,
342
+ k: 70,
343
+ ix: 5
344
+ },
345
+ lc: 2,
346
+ lj: 1,
347
+ ml: 4,
348
+ bm: 0,
349
+ nm: "Trazo 1",
350
+ mn: "ADBE Vector Graphic - Stroke",
351
+ hd: !1
352
+ },
353
+ {
354
+ ty: "fl",
355
+ c: {
356
+ a: 0,
357
+ k: [
358
+ .176470588235,
359
+ .16862745098,
360
+ .2,
361
+ 1
362
+ ],
363
+ ix: 4
364
+ },
365
+ o: {
366
+ a: 0,
367
+ k: 100,
368
+ ix: 5
369
+ },
370
+ r: 1,
371
+ bm: 0,
372
+ nm: "Relleno 1",
373
+ mn: "ADBE Vector Graphic - Fill",
374
+ hd: !1
375
+ },
376
+ {
377
+ ty: "tr",
378
+ p: {
379
+ a: 0,
380
+ k: [0, 0],
381
+ ix: 2
382
+ },
383
+ a: {
384
+ a: 0,
385
+ k: [0, 0],
386
+ ix: 1
387
+ },
388
+ s: {
389
+ a: 0,
390
+ k: [71.117, 71.117],
391
+ ix: 3
392
+ },
393
+ r: {
394
+ a: 0,
395
+ k: 0,
396
+ ix: 6
397
+ },
398
+ o: {
399
+ a: 0,
400
+ k: 100,
401
+ ix: 7
402
+ },
403
+ sk: {
404
+ a: 0,
405
+ k: 0,
406
+ ix: 4
407
+ },
408
+ sa: {
409
+ a: 0,
410
+ k: 0,
411
+ ix: 5
412
+ },
413
+ nm: "Transformar"
414
+ }
415
+ ],
416
+ nm: "Forma 1",
417
+ np: 4,
418
+ cix: 2,
419
+ bm: 0,
420
+ ix: 1,
421
+ mn: "ADBE Vector Group",
422
+ hd: !1
423
+ }],
424
+ ip: 0,
425
+ op: 52,
426
+ st: -504,
427
+ bm: 0
428
+ },
429
+ {
430
+ ddd: 0,
431
+ ind: 3,
432
+ ty: 4,
433
+ nm: "Capa 1 contornos 19",
434
+ sr: 1,
435
+ ks: {
436
+ o: {
437
+ a: 0,
438
+ k: 100,
439
+ ix: 11
440
+ },
441
+ r: {
442
+ a: 1,
443
+ k: [{
444
+ i: {
445
+ x: [.667],
446
+ y: [1]
447
+ },
448
+ o: {
449
+ x: [.333],
450
+ y: [0]
451
+ },
452
+ t: 1,
453
+ s: [-90]
454
+ }, {
455
+ t: 51,
456
+ s: [270]
457
+ }],
458
+ ix: 10
459
+ },
460
+ p: {
461
+ a: 0,
462
+ k: [
463
+ 400,
464
+ 400,
465
+ 0
466
+ ],
467
+ ix: 2,
468
+ l: 2
469
+ },
470
+ a: {
471
+ a: 0,
472
+ k: [
473
+ 586.5,
474
+ 586.5,
475
+ 0
476
+ ],
477
+ ix: 1,
478
+ l: 2
479
+ },
480
+ s: {
481
+ a: 0,
482
+ k: [
483
+ 100,
484
+ 100,
485
+ 100
486
+ ],
487
+ ix: 6,
488
+ l: 2
489
+ }
490
+ },
491
+ ao: 0,
492
+ shapes: [{
493
+ ty: "gr",
494
+ it: [
495
+ {
496
+ ind: 0,
497
+ ty: "sh",
498
+ ix: 1,
499
+ ks: {
500
+ a: 0,
501
+ k: {
502
+ i: [
503
+ [0, -185.844],
504
+ [185.844, 0],
505
+ [0, 185.844],
506
+ [-185.844, 0]
507
+ ],
508
+ o: [
509
+ [0, 185.844],
510
+ [-185.844, 0],
511
+ [0, -185.844],
512
+ [185.844, 0]
513
+ ],
514
+ v: [
515
+ [336.5, 0],
516
+ [0, 336.5],
517
+ [-336.5, 0],
518
+ [0, -336.5]
519
+ ],
520
+ c: !0
521
+ },
522
+ ix: 2
523
+ },
524
+ nm: "Trazado 1",
525
+ mn: "ADBE Vector Shape - Group",
526
+ hd: !1
527
+ },
528
+ {
529
+ ty: "st",
530
+ c: {
531
+ a: 1,
532
+ k: [{
533
+ i: {
534
+ x: [.667],
535
+ y: [1]
536
+ },
537
+ o: {
538
+ x: [.333],
539
+ y: [0]
540
+ },
541
+ t: 1,
542
+ s: [
543
+ .176470592618,
544
+ .168627455831,
545
+ .20000000298,
546
+ 1
547
+ ]
548
+ }, {
549
+ t: 13,
550
+ s: [
551
+ .92549020052,
552
+ .219607844949,
553
+ .192156866193,
554
+ 1
555
+ ]
556
+ }],
557
+ ix: 3
558
+ },
559
+ o: {
560
+ a: 0,
561
+ k: 100,
562
+ ix: 4
563
+ },
564
+ w: {
565
+ a: 0,
566
+ k: 50,
567
+ ix: 5
568
+ },
569
+ lc: 2,
570
+ lj: 1,
571
+ ml: 10,
572
+ bm: 0,
573
+ nm: "Trazo 1",
574
+ mn: "ADBE Vector Graphic - Stroke",
575
+ hd: !1
576
+ },
577
+ {
578
+ ty: "tr",
579
+ p: {
580
+ a: 0,
581
+ k: [586.5, 586.5],
582
+ ix: 2
583
+ },
584
+ a: {
585
+ a: 0,
586
+ k: [0, 0],
587
+ ix: 1
588
+ },
589
+ s: {
590
+ a: 0,
591
+ k: [100, 100],
592
+ ix: 3
593
+ },
594
+ r: {
595
+ a: 0,
596
+ k: 0,
597
+ ix: 6
598
+ },
599
+ o: {
600
+ a: 0,
601
+ k: 100,
602
+ ix: 7
603
+ },
604
+ sk: {
605
+ a: 0,
606
+ k: 0,
607
+ ix: 4
608
+ },
609
+ sa: {
610
+ a: 0,
611
+ k: 0,
612
+ ix: 5
613
+ },
614
+ nm: "Transformar"
615
+ }
616
+ ],
617
+ nm: "Grupo 1",
618
+ np: 2,
619
+ cix: 2,
620
+ bm: 0,
621
+ ix: 1,
622
+ mn: "ADBE Vector Group",
623
+ hd: !1
624
+ }, {
625
+ ty: "tm",
626
+ s: {
627
+ a: 0,
628
+ k: 0,
629
+ ix: 1
630
+ },
631
+ e: {
632
+ a: 1,
633
+ k: [{
634
+ i: {
635
+ x: [.667],
636
+ y: [1]
637
+ },
638
+ o: {
639
+ x: [.333],
640
+ y: [0]
641
+ },
642
+ t: 1,
643
+ s: [0]
644
+ }, {
645
+ t: 18,
646
+ s: [100]
647
+ }],
648
+ ix: 2
649
+ },
650
+ o: {
651
+ a: 0,
652
+ k: 0,
653
+ ix: 3
654
+ },
655
+ m: 1,
656
+ ix: 2,
657
+ nm: "Recortar trazados 1",
658
+ mn: "ADBE Vector Filter - Trim",
659
+ hd: !1
660
+ }],
661
+ ip: 1,
662
+ op: 52,
663
+ st: 1,
664
+ bm: 0
665
+ }
666
+ ], u = [{
667
+ tm: -278,
668
+ cm: "1",
669
+ dr: 0
670
+ }, {
671
+ tm: -229,
672
+ cm: "2",
673
+ dr: 0
674
+ }], d = {
675
+ v: e,
676
+ fr: 25,
677
+ ip: 0,
678
+ op: 52,
679
+ w: 800,
680
+ h: 800,
681
+ nm: o,
682
+ ddd: 0,
683
+ assets: c,
684
+ layers: l,
685
+ markers: u
686
+ };
687
+ //#endregion
688
+ export { c as assets, s as ddd, d as default, t as fr, a as h, n as ip, l as layers, u as markers, o as nm, r as op, e as v, i as w };
@@ -0,0 +1,3 @@
1
+ export declare const objectKeyIntersect: (entry: object, ...objects: object[]) => object;
2
+ export declare const objectKeyDiff: (entry: object, ...objects: object[]) => object;
3
+ export declare const objectRemoveEmpty: (obj: object, nested?: boolean) => object;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Converts a configured path prefix to an absolute path without a trailing slash.
3
+ */
4
+ export declare const normalizePathPrefix: (prefix?: string) => string;
5
+ /**
6
+ * Adds a configured prefix to an internal path.
7
+ */
8
+ export declare const addPathPrefix: (path: string, prefix?: string) => string;
9
+ /**
10
+ * Removes a configured prefix from an external path without matching partial segments.
11
+ */
12
+ export declare const removePathPrefix: (path: string, prefix?: string) => string;
@@ -0,0 +1,3 @@
1
+ export declare const maskEmail: (email: string) => string;
2
+ export declare const capitalize: (value: string) => string;
3
+ export declare const titlize: (value: string) => string | null;