@rxap/schematic-angular 16.2.0-dev.11 → 16.2.0-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/package.json +6 -6
- package/src/lib/accordion-header.js +1 -1
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-item.js +2 -2
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/data-grid-item.d.ts +42 -6
- package/src/lib/data-grid-item.js +73 -5
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/data-grid-mode.d.ts +4 -0
- package/src/lib/data-grid-mode.js +9 -0
- package/src/lib/data-grid-mode.js.map +1 -0
- package/src/lib/data-grid-options.d.ts +1 -4
- package/src/lib/data-grid-options.js +5 -9
- package/src/lib/data-grid-options.js.map +1 -1
- package/src/lib/form-control.d.ts +2 -5
- package/src/lib/form-control.js +7 -23
- package/src/lib/form-control.js.map +1 -1
- package/src/lib/load-handlebars-template.d.ts +1 -0
- package/src/lib/load-handlebars-template.js +5 -1
- package/src/lib/load-handlebars-template.js.map +1 -1
- package/src/lib/pipe-option.d.ts +11 -0
- package/src/lib/pipe-option.js +77 -0
- package/src/lib/pipe-option.js.map +1 -0
- package/src/lib/table-column.d.ts +2 -2
- package/src/lib/table-column.js +4 -37
- package/src/lib/table-column.js.map +1 -1
- package/src/lib/value-option.d.ts +12 -0
- package/src/lib/value-option.js +66 -0
- package/src/lib/value-option.js.map +1 -0
- package/src/schematics/accordion/accordion-component/schema.json +178 -0
- package/src/schematics/accordion/accordion-component/template.schema.json +6 -0
- package/src/schematics/accordion/accordion-item-component/schema.json +178 -0
- package/src/schematics/accordion/accordion-item-component/template.schema.json +6 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +2 -2
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +214 -10
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +6 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +178 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +6 -0
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +179 -1
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +6 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +179 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +6 -0
- package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +6 -5
- package/src/schematics/data-grid-component/index.js +26 -7
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +214 -10
- package/src/schematics/data-grid-component/template.schema.json +6 -0
- package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
- package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
- package/src/schematics/data-grid-item.schema.json +35 -11
- package/src/schematics/dialog-component/schema.json +3 -0
- package/src/schematics/form/control/input-form-control/schema.json +3 -0
- package/src/schematics/form/control/select-form-control/schema.json +3 -0
- package/src/schematics/form/control/table-select-form-control/schema.json +3 -0
- package/src/schematics/form/form-component/schema.json +3 -0
- package/src/schematics/form/form-control/schema.json +3 -0
- package/src/schematics/form/form-definition/schema.json +3 -0
- package/src/schematics/pipe.schema.json +38 -0
- package/src/schematics/property.schema.json +3 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +3 -0
- package/src/schematics/table/action/form-table-action/schema.json +3 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +3 -0
- package/src/schematics/table/action/open-api-table-action/schema.json +3 -0
- package/src/schematics/table/action/operation-table-action/schema.json +3 -0
- package/src/schematics/table/header-button/form-table-header-button/schema.json +3 -0
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +3 -0
- package/src/schematics/table/table-action/schema.json +3 -0
- package/src/schematics/table/table-component/schema.json +179 -1
- package/src/schematics/table/table-component/template.schema.json +6 -0
- package/src/schematics/table/table-header-button/schema.json +3 -0
- package/src/schematics/table/templates/boolean-table-column.hbs +1 -1
- package/src/schematics/table/templates/component-table-column.hbs +1 -1
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +1 -1
- package/src/schematics/table/templates/date-table-column.hbs +1 -1
- package/src/schematics/table/templates/default-table-column.hbs +1 -1
- package/src/schematics/table/templates/icon-table-column.hbs +1 -1
- package/src/schematics/table/templates/link-table-column.hbs +1 -1
- package/src/schematics/table/tree-table-component/schema.json +179 -1
- package/src/schematics/table/tree-table-component/template.schema.json +6 -0
- package/src/schematics/table-column.schema.json +4 -1
- package/src/schematics/templates/pipe.hbs +4 -0
- package/src/schematics/value.schema.json +26 -0
|
@@ -247,6 +247,9 @@
|
|
|
247
247
|
},
|
|
248
248
|
"type": {
|
|
249
249
|
"$ref": "#/definitions/type"
|
|
250
|
+
},
|
|
251
|
+
"isArray": {
|
|
252
|
+
"type": "boolean"
|
|
250
253
|
}
|
|
251
254
|
},
|
|
252
255
|
"required": [
|
|
@@ -347,6 +350,181 @@
|
|
|
347
350
|
]
|
|
348
351
|
}
|
|
349
352
|
}
|
|
353
|
+
},
|
|
354
|
+
"pipe": {
|
|
355
|
+
"oneOf": [
|
|
356
|
+
{
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"allOf": [
|
|
361
|
+
{
|
|
362
|
+
"$ref": "#/definitions/type"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "object",
|
|
366
|
+
"properties": {
|
|
367
|
+
"argumentList": {
|
|
368
|
+
"type": "array",
|
|
369
|
+
"items": {
|
|
370
|
+
"$ref": "#/definitions/value"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"required": [
|
|
375
|
+
"name"
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"definitions": {
|
|
382
|
+
"type": {
|
|
383
|
+
"oneOf": [
|
|
384
|
+
{
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"type": "object",
|
|
389
|
+
"properties": {
|
|
390
|
+
"name": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
},
|
|
393
|
+
"isTypeOnly": {
|
|
394
|
+
"type": "boolean"
|
|
395
|
+
},
|
|
396
|
+
"moduleSpecifier": {
|
|
397
|
+
"type": "string"
|
|
398
|
+
},
|
|
399
|
+
"namedImport": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"namespaceImport": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"defaultImport": {
|
|
406
|
+
"type": "string"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"required": [
|
|
410
|
+
"name"
|
|
411
|
+
]
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"value": {
|
|
416
|
+
"oneOf": [
|
|
417
|
+
{
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"type": "object",
|
|
422
|
+
"properties": {
|
|
423
|
+
"type": {
|
|
424
|
+
"$ref": "#/definitions/type"
|
|
425
|
+
},
|
|
426
|
+
"value": {
|
|
427
|
+
"type": "string"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"required": [
|
|
431
|
+
"value"
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"definitions": {
|
|
436
|
+
"type": {
|
|
437
|
+
"oneOf": [
|
|
438
|
+
{
|
|
439
|
+
"type": "string"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"name": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"isTypeOnly": {
|
|
448
|
+
"type": "boolean"
|
|
449
|
+
},
|
|
450
|
+
"moduleSpecifier": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"namedImport": {
|
|
454
|
+
"type": "string"
|
|
455
|
+
},
|
|
456
|
+
"namespaceImport": {
|
|
457
|
+
"type": "string"
|
|
458
|
+
},
|
|
459
|
+
"defaultImport": {
|
|
460
|
+
"type": "string"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"required": [
|
|
464
|
+
"name"
|
|
465
|
+
]
|
|
466
|
+
}
|
|
467
|
+
]
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"value": {
|
|
474
|
+
"oneOf": [
|
|
475
|
+
{
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"type": {
|
|
482
|
+
"$ref": "#/definitions/type"
|
|
483
|
+
},
|
|
484
|
+
"value": {
|
|
485
|
+
"type": "string"
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"required": [
|
|
489
|
+
"value"
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"definitions": {
|
|
494
|
+
"type": {
|
|
495
|
+
"oneOf": [
|
|
496
|
+
{
|
|
497
|
+
"type": "string"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"type": "object",
|
|
501
|
+
"properties": {
|
|
502
|
+
"name": {
|
|
503
|
+
"type": "string"
|
|
504
|
+
},
|
|
505
|
+
"isTypeOnly": {
|
|
506
|
+
"type": "boolean"
|
|
507
|
+
},
|
|
508
|
+
"moduleSpecifier": {
|
|
509
|
+
"type": "string"
|
|
510
|
+
},
|
|
511
|
+
"namedImport": {
|
|
512
|
+
"type": "string"
|
|
513
|
+
},
|
|
514
|
+
"namespaceImport": {
|
|
515
|
+
"type": "string"
|
|
516
|
+
},
|
|
517
|
+
"defaultImport": {
|
|
518
|
+
"type": "string"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"required": [
|
|
522
|
+
"name"
|
|
523
|
+
]
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
}
|
|
527
|
+
}
|
|
350
528
|
}
|
|
351
529
|
}
|
|
352
530
|
}
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"pipeList": {
|
|
188
188
|
"type": "array",
|
|
189
189
|
"items": {
|
|
190
|
-
"$ref": "#/definitions/
|
|
190
|
+
"$ref": "#/definitions/pipe"
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
"hasFilter": {
|
|
@@ -490,6 +490,9 @@
|
|
|
490
490
|
},
|
|
491
491
|
"type": {
|
|
492
492
|
"$ref": "#/definitions/type"
|
|
493
|
+
},
|
|
494
|
+
"isArray": {
|
|
495
|
+
"type": "boolean"
|
|
493
496
|
}
|
|
494
497
|
},
|
|
495
498
|
"required": [
|
|
@@ -649,6 +652,181 @@
|
|
|
649
652
|
]
|
|
650
653
|
}
|
|
651
654
|
]
|
|
655
|
+
},
|
|
656
|
+
"pipe": {
|
|
657
|
+
"oneOf": [
|
|
658
|
+
{
|
|
659
|
+
"type": "string"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"allOf": [
|
|
663
|
+
{
|
|
664
|
+
"$ref": "#/definitions/type"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"type": "object",
|
|
668
|
+
"properties": {
|
|
669
|
+
"argumentList": {
|
|
670
|
+
"type": "array",
|
|
671
|
+
"items": {
|
|
672
|
+
"$ref": "#/definitions/value"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"required": [
|
|
677
|
+
"name"
|
|
678
|
+
]
|
|
679
|
+
}
|
|
680
|
+
]
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
"definitions": {
|
|
684
|
+
"type": {
|
|
685
|
+
"oneOf": [
|
|
686
|
+
{
|
|
687
|
+
"type": "string"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"type": "object",
|
|
691
|
+
"properties": {
|
|
692
|
+
"name": {
|
|
693
|
+
"type": "string"
|
|
694
|
+
},
|
|
695
|
+
"isTypeOnly": {
|
|
696
|
+
"type": "boolean"
|
|
697
|
+
},
|
|
698
|
+
"moduleSpecifier": {
|
|
699
|
+
"type": "string"
|
|
700
|
+
},
|
|
701
|
+
"namedImport": {
|
|
702
|
+
"type": "string"
|
|
703
|
+
},
|
|
704
|
+
"namespaceImport": {
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
"defaultImport": {
|
|
708
|
+
"type": "string"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"required": [
|
|
712
|
+
"name"
|
|
713
|
+
]
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
|
+
"value": {
|
|
718
|
+
"oneOf": [
|
|
719
|
+
{
|
|
720
|
+
"type": "string"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"type": "object",
|
|
724
|
+
"properties": {
|
|
725
|
+
"type": {
|
|
726
|
+
"$ref": "#/definitions/type"
|
|
727
|
+
},
|
|
728
|
+
"value": {
|
|
729
|
+
"type": "string"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"required": [
|
|
733
|
+
"value"
|
|
734
|
+
]
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"definitions": {
|
|
738
|
+
"type": {
|
|
739
|
+
"oneOf": [
|
|
740
|
+
{
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"type": "object",
|
|
745
|
+
"properties": {
|
|
746
|
+
"name": {
|
|
747
|
+
"type": "string"
|
|
748
|
+
},
|
|
749
|
+
"isTypeOnly": {
|
|
750
|
+
"type": "boolean"
|
|
751
|
+
},
|
|
752
|
+
"moduleSpecifier": {
|
|
753
|
+
"type": "string"
|
|
754
|
+
},
|
|
755
|
+
"namedImport": {
|
|
756
|
+
"type": "string"
|
|
757
|
+
},
|
|
758
|
+
"namespaceImport": {
|
|
759
|
+
"type": "string"
|
|
760
|
+
},
|
|
761
|
+
"defaultImport": {
|
|
762
|
+
"type": "string"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"required": [
|
|
766
|
+
"name"
|
|
767
|
+
]
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"value": {
|
|
776
|
+
"oneOf": [
|
|
777
|
+
{
|
|
778
|
+
"type": "string"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"type": "object",
|
|
782
|
+
"properties": {
|
|
783
|
+
"type": {
|
|
784
|
+
"$ref": "#/definitions/type"
|
|
785
|
+
},
|
|
786
|
+
"value": {
|
|
787
|
+
"type": "string"
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"required": [
|
|
791
|
+
"value"
|
|
792
|
+
]
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"definitions": {
|
|
796
|
+
"type": {
|
|
797
|
+
"oneOf": [
|
|
798
|
+
{
|
|
799
|
+
"type": "string"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"type": "object",
|
|
803
|
+
"properties": {
|
|
804
|
+
"name": {
|
|
805
|
+
"type": "string"
|
|
806
|
+
},
|
|
807
|
+
"isTypeOnly": {
|
|
808
|
+
"type": "boolean"
|
|
809
|
+
},
|
|
810
|
+
"moduleSpecifier": {
|
|
811
|
+
"type": "string"
|
|
812
|
+
},
|
|
813
|
+
"namedImport": {
|
|
814
|
+
"type": "string"
|
|
815
|
+
},
|
|
816
|
+
"namespaceImport": {
|
|
817
|
+
"type": "string"
|
|
818
|
+
},
|
|
819
|
+
"defaultImport": {
|
|
820
|
+
"type": "string"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"required": [
|
|
824
|
+
"name"
|
|
825
|
+
]
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
}
|
|
829
|
+
}
|
|
652
830
|
}
|
|
653
831
|
}
|
|
654
832
|
}
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"pipeList": {
|
|
188
188
|
"type": "array",
|
|
189
189
|
"items": {
|
|
190
|
-
"$ref": "#/definitions/
|
|
190
|
+
"$ref": "#/definitions/pipe"
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
"hasFilter": {
|
|
@@ -473,6 +473,9 @@
|
|
|
473
473
|
},
|
|
474
474
|
"type": {
|
|
475
475
|
"$ref": "#/definitions/type"
|
|
476
|
+
},
|
|
477
|
+
"isArray": {
|
|
478
|
+
"type": "boolean"
|
|
476
479
|
}
|
|
477
480
|
},
|
|
478
481
|
"required": [
|
|
@@ -632,6 +635,181 @@
|
|
|
632
635
|
]
|
|
633
636
|
}
|
|
634
637
|
]
|
|
638
|
+
},
|
|
639
|
+
"pipe": {
|
|
640
|
+
"oneOf": [
|
|
641
|
+
{
|
|
642
|
+
"type": "string"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"allOf": [
|
|
646
|
+
{
|
|
647
|
+
"$ref": "#/definitions/type"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"type": "object",
|
|
651
|
+
"properties": {
|
|
652
|
+
"argumentList": {
|
|
653
|
+
"type": "array",
|
|
654
|
+
"items": {
|
|
655
|
+
"$ref": "#/definitions/value"
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"required": [
|
|
660
|
+
"name"
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"definitions": {
|
|
667
|
+
"type": {
|
|
668
|
+
"oneOf": [
|
|
669
|
+
{
|
|
670
|
+
"type": "string"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"type": "object",
|
|
674
|
+
"properties": {
|
|
675
|
+
"name": {
|
|
676
|
+
"type": "string"
|
|
677
|
+
},
|
|
678
|
+
"isTypeOnly": {
|
|
679
|
+
"type": "boolean"
|
|
680
|
+
},
|
|
681
|
+
"moduleSpecifier": {
|
|
682
|
+
"type": "string"
|
|
683
|
+
},
|
|
684
|
+
"namedImport": {
|
|
685
|
+
"type": "string"
|
|
686
|
+
},
|
|
687
|
+
"namespaceImport": {
|
|
688
|
+
"type": "string"
|
|
689
|
+
},
|
|
690
|
+
"defaultImport": {
|
|
691
|
+
"type": "string"
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"required": [
|
|
695
|
+
"name"
|
|
696
|
+
]
|
|
697
|
+
}
|
|
698
|
+
]
|
|
699
|
+
},
|
|
700
|
+
"value": {
|
|
701
|
+
"oneOf": [
|
|
702
|
+
{
|
|
703
|
+
"type": "string"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"type": "object",
|
|
707
|
+
"properties": {
|
|
708
|
+
"type": {
|
|
709
|
+
"$ref": "#/definitions/type"
|
|
710
|
+
},
|
|
711
|
+
"value": {
|
|
712
|
+
"type": "string"
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"required": [
|
|
716
|
+
"value"
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"definitions": {
|
|
721
|
+
"type": {
|
|
722
|
+
"oneOf": [
|
|
723
|
+
{
|
|
724
|
+
"type": "string"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"type": "object",
|
|
728
|
+
"properties": {
|
|
729
|
+
"name": {
|
|
730
|
+
"type": "string"
|
|
731
|
+
},
|
|
732
|
+
"isTypeOnly": {
|
|
733
|
+
"type": "boolean"
|
|
734
|
+
},
|
|
735
|
+
"moduleSpecifier": {
|
|
736
|
+
"type": "string"
|
|
737
|
+
},
|
|
738
|
+
"namedImport": {
|
|
739
|
+
"type": "string"
|
|
740
|
+
},
|
|
741
|
+
"namespaceImport": {
|
|
742
|
+
"type": "string"
|
|
743
|
+
},
|
|
744
|
+
"defaultImport": {
|
|
745
|
+
"type": "string"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"required": [
|
|
749
|
+
"name"
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"value": {
|
|
759
|
+
"oneOf": [
|
|
760
|
+
{
|
|
761
|
+
"type": "string"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"type": "object",
|
|
765
|
+
"properties": {
|
|
766
|
+
"type": {
|
|
767
|
+
"$ref": "#/definitions/type"
|
|
768
|
+
},
|
|
769
|
+
"value": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"required": [
|
|
774
|
+
"value"
|
|
775
|
+
]
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
"definitions": {
|
|
779
|
+
"type": {
|
|
780
|
+
"oneOf": [
|
|
781
|
+
{
|
|
782
|
+
"type": "string"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"type": "object",
|
|
786
|
+
"properties": {
|
|
787
|
+
"name": {
|
|
788
|
+
"type": "string"
|
|
789
|
+
},
|
|
790
|
+
"isTypeOnly": {
|
|
791
|
+
"type": "boolean"
|
|
792
|
+
},
|
|
793
|
+
"moduleSpecifier": {
|
|
794
|
+
"type": "string"
|
|
795
|
+
},
|
|
796
|
+
"namedImport": {
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
799
|
+
"namespaceImport": {
|
|
800
|
+
"type": "string"
|
|
801
|
+
},
|
|
802
|
+
"defaultImport": {
|
|
803
|
+
"type": "string"
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
"required": [
|
|
807
|
+
"name"
|
|
808
|
+
]
|
|
809
|
+
}
|
|
810
|
+
]
|
|
811
|
+
}
|
|
812
|
+
}
|
|
635
813
|
}
|
|
636
814
|
}
|
|
637
815
|
}
|
package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs
CHANGED
|
@@ -13,15 +13,16 @@
|
|
|
13
13
|
<rxap-data-grid {{#if collection}}[data]="data"{{else}}[dataSource]="dataGridDataSource"{{/if}} mode="{{mode}}">
|
|
14
14
|
{{#each itemList}}
|
|
15
15
|
<ng-container rxapDataGridRowDef="{{this.name}}">
|
|
16
|
-
{{#if this.
|
|
16
|
+
{{#if this.hasHeaderCellDef}}
|
|
17
17
|
<th *rxapDataGridHeaderCellDef class="whitespace-nowrap" i18n>{{this.header}}</th>
|
|
18
18
|
{{/if}}
|
|
19
|
-
{{#if
|
|
20
|
-
{{#unless this.isReadonly}}
|
|
19
|
+
{{#if this.hasEditCellDef}}
|
|
21
20
|
<ng-template rxapDataGridEditCellDef>
|
|
22
|
-
{{ indent (compile this.handlebars control=this) 14}}
|
|
21
|
+
{{ indent (compile this.formControl.handlebars control=this.formControl) 14}}
|
|
23
22
|
</ng-template>
|
|
24
|
-
{{/
|
|
23
|
+
{{/if}}
|
|
24
|
+
{{#if this.hasCellDef}}
|
|
25
|
+
{{ indent (compile this.handlebars item=this) 12}}
|
|
25
26
|
{{/if}}
|
|
26
27
|
</ng-container>
|
|
27
28
|
{{/each}}
|