@genesislcap/foundation-forms 14.154.1 → 14.154.2
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/dist/custom-elements.json +396 -396
- package/package.json +14 -14
|
@@ -395,159 +395,476 @@
|
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
397
|
"kind": "javascript-module",
|
|
398
|
-
"path": "src/
|
|
398
|
+
"path": "src/filters/filters.styles.ts",
|
|
399
|
+
"declarations": [
|
|
400
|
+
{
|
|
401
|
+
"kind": "variable",
|
|
402
|
+
"name": "foundationFiltersStyles"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"exports": [
|
|
406
|
+
{
|
|
407
|
+
"kind": "js",
|
|
408
|
+
"name": "foundationFiltersStyles",
|
|
409
|
+
"declaration": {
|
|
410
|
+
"name": "foundationFiltersStyles",
|
|
411
|
+
"module": "src/filters/filters.styles.ts"
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"kind": "javascript-module",
|
|
418
|
+
"path": "src/filters/filters.template.ts",
|
|
419
|
+
"declarations": [
|
|
420
|
+
{
|
|
421
|
+
"kind": "variable",
|
|
422
|
+
"name": "foundationFiltersTemplate",
|
|
423
|
+
"default": "html<Filters>`\n <template>\n <div class=\"container\" part=\"container\">\n <div class=\"container-forms\" part=\"container-forms\">\n <json-forms\n :renderers=${(x) => x.renderers}\n :uischema=${(x) => x.uischema}\n :schema=${(x) => x.jsonSchema}\n :data=${(x) => x.data}\n @data-change=${(x, c) => x.onChange(c.event as CustomEvent)}\n ></json-forms>\n </div>\n <div class=\"actions\" part=\"actions\">\n <fast-button\n @click=\"${(x) => x.clearFiltersData()}\"\n class=\"action-button\"\n appearance=\"neutral\"\n data-test-id=\"clear-filters-button\"\n >\n Clear\n </fast-button>\n <fast-button\n @click=\"${(x) => x.searchFilters()}\"\n data-test-id=\"search-filters-button\"\n class=\"action-button\"\n appearance=\"accent\"\n >\n Search\n </fast-button>\n </div>\n </div>\n </template>\n`"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"exports": [
|
|
427
|
+
{
|
|
428
|
+
"kind": "js",
|
|
429
|
+
"name": "foundationFiltersTemplate",
|
|
430
|
+
"declaration": {
|
|
431
|
+
"name": "foundationFiltersTemplate",
|
|
432
|
+
"module": "src/filters/filters.template.ts"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"kind": "javascript-module",
|
|
439
|
+
"path": "src/filters/filters.ts",
|
|
399
440
|
"declarations": [
|
|
441
|
+
{
|
|
442
|
+
"kind": "variable",
|
|
443
|
+
"name": "filtersRenderers",
|
|
444
|
+
"type": {
|
|
445
|
+
"text": "array"
|
|
446
|
+
},
|
|
447
|
+
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
448
|
+
"privacy": "public"
|
|
449
|
+
},
|
|
400
450
|
{
|
|
401
451
|
"kind": "class",
|
|
402
|
-
"description": "",
|
|
403
|
-
"name": "
|
|
452
|
+
"description": "Foundation filters component for automatically generated filters based on json schema\nobtained from the api, supplied initial data or supplied JSON schema.\nAllowing customisable filters elements using UI schema and set of custom renderers",
|
|
453
|
+
"name": "Filters",
|
|
404
454
|
"members": [
|
|
405
455
|
{
|
|
406
456
|
"kind": "field",
|
|
407
|
-
"name": "
|
|
457
|
+
"name": "resourceName",
|
|
408
458
|
"type": {
|
|
409
|
-
"text": "
|
|
410
|
-
}
|
|
459
|
+
"text": "string"
|
|
460
|
+
},
|
|
461
|
+
"description": "Name of the backend resource which will provide metadata\nused to generate filters",
|
|
462
|
+
"privacy": "public"
|
|
411
463
|
},
|
|
412
464
|
{
|
|
413
|
-
"kind": "
|
|
414
|
-
"name": "
|
|
465
|
+
"kind": "method",
|
|
466
|
+
"name": "resourceNameChanged",
|
|
467
|
+
"privacy": "private"
|
|
415
468
|
},
|
|
416
469
|
{
|
|
417
470
|
"kind": "method",
|
|
418
|
-
"name": "
|
|
471
|
+
"name": "clearFiltersData",
|
|
472
|
+
"privacy": "public"
|
|
419
473
|
},
|
|
420
474
|
{
|
|
421
475
|
"kind": "field",
|
|
422
|
-
"name": "
|
|
476
|
+
"name": "uischema",
|
|
477
|
+
"type": {
|
|
478
|
+
"text": "UISchemaElement"
|
|
479
|
+
},
|
|
480
|
+
"description": "UI schema used to define configuration of the layout and elements in the filters\nCheck UiSchemaElement for possible options",
|
|
481
|
+
"privacy": "public"
|
|
423
482
|
},
|
|
424
483
|
{
|
|
425
484
|
"kind": "field",
|
|
426
|
-
"name": "
|
|
485
|
+
"name": "renderers",
|
|
486
|
+
"type": {
|
|
487
|
+
"text": "RendererEntry[]"
|
|
488
|
+
},
|
|
489
|
+
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
490
|
+
"description": "Allows to provide set of renderers used by the filters. If not provided it will default to text-field inputs",
|
|
491
|
+
"privacy": "public"
|
|
427
492
|
},
|
|
428
493
|
{
|
|
429
494
|
"kind": "field",
|
|
430
|
-
"name": "
|
|
495
|
+
"name": "jsonSchema",
|
|
496
|
+
"type": {
|
|
497
|
+
"text": "JSONSchema7"
|
|
498
|
+
},
|
|
499
|
+
"description": "Alternatively to providing Form.resourceName you can hardcode the JSON schema on the client.",
|
|
500
|
+
"privacy": "public"
|
|
431
501
|
},
|
|
432
502
|
{
|
|
433
503
|
"kind": "field",
|
|
434
|
-
"name": "
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
"
|
|
504
|
+
"name": "connect",
|
|
505
|
+
"type": {
|
|
506
|
+
"text": "Connect"
|
|
507
|
+
},
|
|
508
|
+
"privacy": "private"
|
|
439
509
|
},
|
|
440
510
|
{
|
|
441
511
|
"kind": "field",
|
|
442
|
-
"name": "
|
|
512
|
+
"name": "data",
|
|
443
513
|
"type": {
|
|
444
|
-
"text": "
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"
|
|
449
|
-
"name": "uischemaChanged"
|
|
514
|
+
"text": "any"
|
|
515
|
+
},
|
|
516
|
+
"default": "{}",
|
|
517
|
+
"description": "Initial data for the filters",
|
|
518
|
+
"privacy": "public"
|
|
450
519
|
},
|
|
451
520
|
{
|
|
452
521
|
"kind": "field",
|
|
453
|
-
"name": "
|
|
522
|
+
"name": "value",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "string"
|
|
525
|
+
},
|
|
526
|
+
"description": "Created criteria based on the given data that can be used to filter the data",
|
|
527
|
+
"privacy": "public"
|
|
454
528
|
},
|
|
455
529
|
{
|
|
456
530
|
"kind": "method",
|
|
457
|
-
"name": "
|
|
531
|
+
"name": "valueChanged"
|
|
458
532
|
},
|
|
459
533
|
{
|
|
460
534
|
"kind": "field",
|
|
461
|
-
"name": "
|
|
535
|
+
"name": "_presentation",
|
|
462
536
|
"type": {
|
|
463
|
-
"text": "
|
|
537
|
+
"text": "ComponentPresentation | null | undefined"
|
|
538
|
+
},
|
|
539
|
+
"privacy": "private",
|
|
540
|
+
"default": "void 0",
|
|
541
|
+
"inheritedFrom": {
|
|
542
|
+
"name": "FoundationElement",
|
|
543
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
464
544
|
}
|
|
465
545
|
},
|
|
466
|
-
{
|
|
467
|
-
"kind": "method",
|
|
468
|
-
"name": "renderersChanged"
|
|
469
|
-
},
|
|
470
546
|
{
|
|
471
547
|
"kind": "field",
|
|
472
|
-
"name": "
|
|
548
|
+
"name": "$presentation",
|
|
473
549
|
"type": {
|
|
474
|
-
"text": "
|
|
550
|
+
"text": "ComponentPresentation | null"
|
|
551
|
+
},
|
|
552
|
+
"privacy": "public",
|
|
553
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
554
|
+
"inheritedFrom": {
|
|
555
|
+
"name": "FoundationElement",
|
|
556
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
475
557
|
}
|
|
476
558
|
},
|
|
477
|
-
{
|
|
478
|
-
"kind": "method",
|
|
479
|
-
"name": "validationModeChanged"
|
|
480
|
-
},
|
|
481
559
|
{
|
|
482
560
|
"kind": "field",
|
|
483
|
-
"name": "
|
|
561
|
+
"name": "template",
|
|
484
562
|
"type": {
|
|
485
|
-
"text": "
|
|
563
|
+
"text": "ElementViewTemplate | void | null"
|
|
564
|
+
},
|
|
565
|
+
"privacy": "public",
|
|
566
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
567
|
+
"inheritedFrom": {
|
|
568
|
+
"name": "FoundationElement",
|
|
569
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
486
570
|
}
|
|
487
571
|
},
|
|
488
572
|
{
|
|
489
573
|
"kind": "method",
|
|
490
|
-
"name": "
|
|
574
|
+
"name": "templateChanged",
|
|
575
|
+
"privacy": "protected",
|
|
576
|
+
"return": {
|
|
577
|
+
"type": {
|
|
578
|
+
"text": "void"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"inheritedFrom": {
|
|
582
|
+
"name": "FoundationElement",
|
|
583
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
584
|
+
}
|
|
491
585
|
},
|
|
492
586
|
{
|
|
493
587
|
"kind": "field",
|
|
494
|
-
"name": "
|
|
588
|
+
"name": "styles",
|
|
495
589
|
"type": {
|
|
496
|
-
"text": "
|
|
590
|
+
"text": "ElementStyles | void | null"
|
|
591
|
+
},
|
|
592
|
+
"privacy": "public",
|
|
593
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
594
|
+
"inheritedFrom": {
|
|
595
|
+
"name": "FoundationElement",
|
|
596
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
497
597
|
}
|
|
498
598
|
},
|
|
499
599
|
{
|
|
500
600
|
"kind": "method",
|
|
501
|
-
"name": "
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
601
|
+
"name": "stylesChanged",
|
|
602
|
+
"privacy": "protected",
|
|
603
|
+
"return": {
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "void"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"inheritedFrom": {
|
|
609
|
+
"name": "FoundationElement",
|
|
610
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
508
611
|
}
|
|
509
612
|
},
|
|
510
613
|
{
|
|
511
614
|
"kind": "method",
|
|
512
|
-
"name": "
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
"
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
615
|
+
"name": "compose",
|
|
616
|
+
"privacy": "public",
|
|
617
|
+
"static": true,
|
|
618
|
+
"return": {
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
621
|
+
}
|
|
519
622
|
},
|
|
520
|
-
"readonly": true
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"kind": "field",
|
|
524
|
-
"name": "dispatch"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"kind": "field",
|
|
528
|
-
"name": "validate",
|
|
529
|
-
"description": "Performs client-side validation by running the validator defined in the UI schema.",
|
|
530
623
|
"parameters": [
|
|
531
624
|
{
|
|
532
|
-
"
|
|
533
|
-
"
|
|
625
|
+
"name": "this",
|
|
626
|
+
"type": {
|
|
627
|
+
"text": "K"
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "elementDefinition",
|
|
632
|
+
"type": {
|
|
633
|
+
"text": "T"
|
|
634
|
+
},
|
|
635
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
534
636
|
}
|
|
535
637
|
],
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
638
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
639
|
+
"inheritedFrom": {
|
|
640
|
+
"name": "FoundationElement",
|
|
641
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
540
642
|
}
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"kind": "method",
|
|
544
|
-
"name": "copyUISchemaToClipboard"
|
|
545
643
|
}
|
|
546
644
|
],
|
|
547
|
-
"
|
|
645
|
+
"events": [
|
|
548
646
|
{
|
|
647
|
+
"name": "change",
|
|
549
648
|
"type": {
|
|
550
|
-
"text": "
|
|
649
|
+
"text": "CustomEvent"
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
"attributes": [
|
|
654
|
+
{
|
|
655
|
+
"name": "resourceName",
|
|
656
|
+
"type": {
|
|
657
|
+
"text": "string"
|
|
658
|
+
},
|
|
659
|
+
"description": "Name of the backend resource which will provide metadata\nused to generate filters",
|
|
660
|
+
"fieldName": "resourceName"
|
|
661
|
+
}
|
|
662
|
+
],
|
|
663
|
+
"superclass": {
|
|
664
|
+
"name": "FoundationElement",
|
|
665
|
+
"package": "@microsoft/fast-foundation"
|
|
666
|
+
},
|
|
667
|
+
"tagName": "foundation-filters",
|
|
668
|
+
"customElement": true
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"exports": [
|
|
672
|
+
{
|
|
673
|
+
"kind": "js",
|
|
674
|
+
"name": "filtersRenderers",
|
|
675
|
+
"declaration": {
|
|
676
|
+
"name": "filtersRenderers",
|
|
677
|
+
"module": "src/filters/filters.ts"
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"kind": "js",
|
|
682
|
+
"name": "Filters",
|
|
683
|
+
"declaration": {
|
|
684
|
+
"name": "Filters",
|
|
685
|
+
"module": "src/filters/filters.ts"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"kind": "custom-element-definition",
|
|
690
|
+
"name": "foundation-filters",
|
|
691
|
+
"declaration": {
|
|
692
|
+
"name": "Filters",
|
|
693
|
+
"module": "src/filters/filters.ts"
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"kind": "javascript-module",
|
|
700
|
+
"path": "src/filters/index.ts",
|
|
701
|
+
"declarations": [],
|
|
702
|
+
"exports": [
|
|
703
|
+
{
|
|
704
|
+
"kind": "js",
|
|
705
|
+
"name": "*",
|
|
706
|
+
"declaration": {
|
|
707
|
+
"name": "*",
|
|
708
|
+
"package": "./filters"
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"kind": "javascript-module",
|
|
715
|
+
"path": "src/jsonforms/json-forms.ts",
|
|
716
|
+
"declarations": [
|
|
717
|
+
{
|
|
718
|
+
"kind": "class",
|
|
719
|
+
"description": "",
|
|
720
|
+
"name": "JSONForms",
|
|
721
|
+
"members": [
|
|
722
|
+
{
|
|
723
|
+
"kind": "field",
|
|
724
|
+
"name": "submitted",
|
|
725
|
+
"type": {
|
|
726
|
+
"text": "boolean"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"kind": "field",
|
|
731
|
+
"name": "prefix"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"kind": "method",
|
|
735
|
+
"name": "prefixChanged"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"kind": "field",
|
|
739
|
+
"name": "jsonforms"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"kind": "field",
|
|
743
|
+
"name": "i18n"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"kind": "field",
|
|
747
|
+
"name": "uichemaToUse"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"kind": "field",
|
|
751
|
+
"name": "schema"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"kind": "method",
|
|
755
|
+
"name": "schemaChanged"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"kind": "field",
|
|
759
|
+
"name": "uischema",
|
|
760
|
+
"type": {
|
|
761
|
+
"text": "UISchemaElement"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "method",
|
|
766
|
+
"name": "uischemaChanged"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"kind": "field",
|
|
770
|
+
"name": "data"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"kind": "method",
|
|
774
|
+
"name": "dataChanged"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"kind": "field",
|
|
778
|
+
"name": "renderers",
|
|
779
|
+
"type": {
|
|
780
|
+
"text": "JsonFormsRendererRegistryEntry[]"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"kind": "method",
|
|
785
|
+
"name": "renderersChanged"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"kind": "field",
|
|
789
|
+
"name": "validationMode",
|
|
790
|
+
"type": {
|
|
791
|
+
"text": "ValidationMode"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"kind": "method",
|
|
796
|
+
"name": "validationModeChanged"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"kind": "field",
|
|
800
|
+
"name": "ajv",
|
|
801
|
+
"type": {
|
|
802
|
+
"text": "Ajv"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"kind": "method",
|
|
807
|
+
"name": "ajvChanged"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "field",
|
|
811
|
+
"name": "readonly",
|
|
812
|
+
"type": {
|
|
813
|
+
"text": "boolean"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"kind": "method",
|
|
818
|
+
"name": "readonlyChanged"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"kind": "field",
|
|
822
|
+
"name": "config",
|
|
823
|
+
"type": {
|
|
824
|
+
"text": "any"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"kind": "method",
|
|
829
|
+
"name": "configChanged"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"kind": "field",
|
|
833
|
+
"name": "props",
|
|
834
|
+
"type": {
|
|
835
|
+
"text": "RendererProps"
|
|
836
|
+
},
|
|
837
|
+
"readonly": true
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "field",
|
|
841
|
+
"name": "dispatch"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"kind": "field",
|
|
845
|
+
"name": "validate",
|
|
846
|
+
"description": "Performs client-side validation by running the validator defined in the UI schema.",
|
|
847
|
+
"parameters": [
|
|
848
|
+
{
|
|
849
|
+
"description": "the UI schema",
|
|
850
|
+
"name": "uischema"
|
|
851
|
+
}
|
|
852
|
+
],
|
|
853
|
+
"return": {
|
|
854
|
+
"type": {
|
|
855
|
+
"text": ""
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"kind": "method",
|
|
861
|
+
"name": "copyUISchemaToClipboard"
|
|
862
|
+
}
|
|
863
|
+
],
|
|
864
|
+
"attributes": [
|
|
865
|
+
{
|
|
866
|
+
"type": {
|
|
867
|
+
"text": "boolean"
|
|
551
868
|
},
|
|
552
869
|
"fieldName": "submitted"
|
|
553
870
|
},
|
|
@@ -733,323 +1050,6 @@
|
|
|
733
1050
|
}
|
|
734
1051
|
]
|
|
735
1052
|
},
|
|
736
|
-
{
|
|
737
|
-
"kind": "javascript-module",
|
|
738
|
-
"path": "src/filters/filters.styles.ts",
|
|
739
|
-
"declarations": [
|
|
740
|
-
{
|
|
741
|
-
"kind": "variable",
|
|
742
|
-
"name": "foundationFiltersStyles"
|
|
743
|
-
}
|
|
744
|
-
],
|
|
745
|
-
"exports": [
|
|
746
|
-
{
|
|
747
|
-
"kind": "js",
|
|
748
|
-
"name": "foundationFiltersStyles",
|
|
749
|
-
"declaration": {
|
|
750
|
-
"name": "foundationFiltersStyles",
|
|
751
|
-
"module": "src/filters/filters.styles.ts"
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
]
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"kind": "javascript-module",
|
|
758
|
-
"path": "src/filters/filters.template.ts",
|
|
759
|
-
"declarations": [
|
|
760
|
-
{
|
|
761
|
-
"kind": "variable",
|
|
762
|
-
"name": "foundationFiltersTemplate",
|
|
763
|
-
"default": "html<Filters>`\n <template>\n <div class=\"container\" part=\"container\">\n <div class=\"container-forms\" part=\"container-forms\">\n <json-forms\n :renderers=${(x) => x.renderers}\n :uischema=${(x) => x.uischema}\n :schema=${(x) => x.jsonSchema}\n :data=${(x) => x.data}\n @data-change=${(x, c) => x.onChange(c.event as CustomEvent)}\n ></json-forms>\n </div>\n <div class=\"actions\" part=\"actions\">\n <fast-button\n @click=\"${(x) => x.clearFiltersData()}\"\n class=\"action-button\"\n appearance=\"neutral\"\n data-test-id=\"clear-filters-button\"\n >\n Clear\n </fast-button>\n <fast-button\n @click=\"${(x) => x.searchFilters()}\"\n data-test-id=\"search-filters-button\"\n class=\"action-button\"\n appearance=\"accent\"\n >\n Search\n </fast-button>\n </div>\n </div>\n </template>\n`"
|
|
764
|
-
}
|
|
765
|
-
],
|
|
766
|
-
"exports": [
|
|
767
|
-
{
|
|
768
|
-
"kind": "js",
|
|
769
|
-
"name": "foundationFiltersTemplate",
|
|
770
|
-
"declaration": {
|
|
771
|
-
"name": "foundationFiltersTemplate",
|
|
772
|
-
"module": "src/filters/filters.template.ts"
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
]
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"kind": "javascript-module",
|
|
779
|
-
"path": "src/filters/filters.ts",
|
|
780
|
-
"declarations": [
|
|
781
|
-
{
|
|
782
|
-
"kind": "variable",
|
|
783
|
-
"name": "filtersRenderers",
|
|
784
|
-
"type": {
|
|
785
|
-
"text": "array"
|
|
786
|
-
},
|
|
787
|
-
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
788
|
-
"privacy": "public"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"kind": "class",
|
|
792
|
-
"description": "Foundation filters component for automatically generated filters based on json schema\nobtained from the api, supplied initial data or supplied JSON schema.\nAllowing customisable filters elements using UI schema and set of custom renderers",
|
|
793
|
-
"name": "Filters",
|
|
794
|
-
"members": [
|
|
795
|
-
{
|
|
796
|
-
"kind": "field",
|
|
797
|
-
"name": "resourceName",
|
|
798
|
-
"type": {
|
|
799
|
-
"text": "string"
|
|
800
|
-
},
|
|
801
|
-
"description": "Name of the backend resource which will provide metadata\nused to generate filters",
|
|
802
|
-
"privacy": "public"
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"kind": "method",
|
|
806
|
-
"name": "resourceNameChanged",
|
|
807
|
-
"privacy": "private"
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
"kind": "method",
|
|
811
|
-
"name": "clearFiltersData",
|
|
812
|
-
"privacy": "public"
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"kind": "field",
|
|
816
|
-
"name": "uischema",
|
|
817
|
-
"type": {
|
|
818
|
-
"text": "UISchemaElement"
|
|
819
|
-
},
|
|
820
|
-
"description": "UI schema used to define configuration of the layout and elements in the filters\nCheck UiSchemaElement for possible options",
|
|
821
|
-
"privacy": "public"
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
"kind": "field",
|
|
825
|
-
"name": "renderers",
|
|
826
|
-
"type": {
|
|
827
|
-
"text": "RendererEntry[]"
|
|
828
|
-
},
|
|
829
|
-
"default": "[\n fallbackEntry,\n stringEntry,\n BooleanControlEntry,\n LayoutVertical2ColumnsEntry,\n LayoutRendererEntry,\n FilterNumberControlRendererEntry,\n ConnectedMultiselectControlRendererEntry,\n EnumControlRendererEntry,\n ConnectedSelectControlRendererEntry,\n FilterDateControlRendererEntry,\n InvisibleControlEntry,\n]",
|
|
830
|
-
"description": "Allows to provide set of renderers used by the filters. If not provided it will default to text-field inputs",
|
|
831
|
-
"privacy": "public"
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
"kind": "field",
|
|
835
|
-
"name": "jsonSchema",
|
|
836
|
-
"type": {
|
|
837
|
-
"text": "JSONSchema7"
|
|
838
|
-
},
|
|
839
|
-
"description": "Alternatively to providing Form.resourceName you can hardcode the JSON schema on the client.",
|
|
840
|
-
"privacy": "public"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "field",
|
|
844
|
-
"name": "connect",
|
|
845
|
-
"type": {
|
|
846
|
-
"text": "Connect"
|
|
847
|
-
},
|
|
848
|
-
"privacy": "private"
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"kind": "field",
|
|
852
|
-
"name": "data",
|
|
853
|
-
"type": {
|
|
854
|
-
"text": "any"
|
|
855
|
-
},
|
|
856
|
-
"default": "{}",
|
|
857
|
-
"description": "Initial data for the filters",
|
|
858
|
-
"privacy": "public"
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"kind": "field",
|
|
862
|
-
"name": "value",
|
|
863
|
-
"type": {
|
|
864
|
-
"text": "string"
|
|
865
|
-
},
|
|
866
|
-
"description": "Created criteria based on the given data that can be used to filter the data",
|
|
867
|
-
"privacy": "public"
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
"kind": "method",
|
|
871
|
-
"name": "valueChanged"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"kind": "field",
|
|
875
|
-
"name": "_presentation",
|
|
876
|
-
"type": {
|
|
877
|
-
"text": "ComponentPresentation | null | undefined"
|
|
878
|
-
},
|
|
879
|
-
"privacy": "private",
|
|
880
|
-
"default": "void 0",
|
|
881
|
-
"inheritedFrom": {
|
|
882
|
-
"name": "FoundationElement",
|
|
883
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"kind": "field",
|
|
888
|
-
"name": "$presentation",
|
|
889
|
-
"type": {
|
|
890
|
-
"text": "ComponentPresentation | null"
|
|
891
|
-
},
|
|
892
|
-
"privacy": "public",
|
|
893
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
894
|
-
"inheritedFrom": {
|
|
895
|
-
"name": "FoundationElement",
|
|
896
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
"kind": "field",
|
|
901
|
-
"name": "template",
|
|
902
|
-
"type": {
|
|
903
|
-
"text": "ElementViewTemplate | void | null"
|
|
904
|
-
},
|
|
905
|
-
"privacy": "public",
|
|
906
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
907
|
-
"inheritedFrom": {
|
|
908
|
-
"name": "FoundationElement",
|
|
909
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"kind": "method",
|
|
914
|
-
"name": "templateChanged",
|
|
915
|
-
"privacy": "protected",
|
|
916
|
-
"return": {
|
|
917
|
-
"type": {
|
|
918
|
-
"text": "void"
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
"inheritedFrom": {
|
|
922
|
-
"name": "FoundationElement",
|
|
923
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"kind": "field",
|
|
928
|
-
"name": "styles",
|
|
929
|
-
"type": {
|
|
930
|
-
"text": "ElementStyles | void | null"
|
|
931
|
-
},
|
|
932
|
-
"privacy": "public",
|
|
933
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
934
|
-
"inheritedFrom": {
|
|
935
|
-
"name": "FoundationElement",
|
|
936
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"kind": "method",
|
|
941
|
-
"name": "stylesChanged",
|
|
942
|
-
"privacy": "protected",
|
|
943
|
-
"return": {
|
|
944
|
-
"type": {
|
|
945
|
-
"text": "void"
|
|
946
|
-
}
|
|
947
|
-
},
|
|
948
|
-
"inheritedFrom": {
|
|
949
|
-
"name": "FoundationElement",
|
|
950
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
951
|
-
}
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
"kind": "method",
|
|
955
|
-
"name": "compose",
|
|
956
|
-
"privacy": "public",
|
|
957
|
-
"static": true,
|
|
958
|
-
"return": {
|
|
959
|
-
"type": {
|
|
960
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"parameters": [
|
|
964
|
-
{
|
|
965
|
-
"name": "this",
|
|
966
|
-
"type": {
|
|
967
|
-
"text": "K"
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"name": "elementDefinition",
|
|
972
|
-
"type": {
|
|
973
|
-
"text": "T"
|
|
974
|
-
},
|
|
975
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
976
|
-
}
|
|
977
|
-
],
|
|
978
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
979
|
-
"inheritedFrom": {
|
|
980
|
-
"name": "FoundationElement",
|
|
981
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
],
|
|
985
|
-
"events": [
|
|
986
|
-
{
|
|
987
|
-
"name": "change",
|
|
988
|
-
"type": {
|
|
989
|
-
"text": "CustomEvent"
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
],
|
|
993
|
-
"attributes": [
|
|
994
|
-
{
|
|
995
|
-
"name": "resourceName",
|
|
996
|
-
"type": {
|
|
997
|
-
"text": "string"
|
|
998
|
-
},
|
|
999
|
-
"description": "Name of the backend resource which will provide metadata\nused to generate filters",
|
|
1000
|
-
"fieldName": "resourceName"
|
|
1001
|
-
}
|
|
1002
|
-
],
|
|
1003
|
-
"superclass": {
|
|
1004
|
-
"name": "FoundationElement",
|
|
1005
|
-
"package": "@microsoft/fast-foundation"
|
|
1006
|
-
},
|
|
1007
|
-
"tagName": "foundation-filters",
|
|
1008
|
-
"customElement": true
|
|
1009
|
-
}
|
|
1010
|
-
],
|
|
1011
|
-
"exports": [
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "js",
|
|
1014
|
-
"name": "filtersRenderers",
|
|
1015
|
-
"declaration": {
|
|
1016
|
-
"name": "filtersRenderers",
|
|
1017
|
-
"module": "src/filters/filters.ts"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"kind": "js",
|
|
1022
|
-
"name": "Filters",
|
|
1023
|
-
"declaration": {
|
|
1024
|
-
"name": "Filters",
|
|
1025
|
-
"module": "src/filters/filters.ts"
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"kind": "custom-element-definition",
|
|
1030
|
-
"name": "foundation-filters",
|
|
1031
|
-
"declaration": {
|
|
1032
|
-
"name": "Filters",
|
|
1033
|
-
"module": "src/filters/filters.ts"
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
]
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
"kind": "javascript-module",
|
|
1040
|
-
"path": "src/filters/index.ts",
|
|
1041
|
-
"declarations": [],
|
|
1042
|
-
"exports": [
|
|
1043
|
-
{
|
|
1044
|
-
"kind": "js",
|
|
1045
|
-
"name": "*",
|
|
1046
|
-
"declaration": {
|
|
1047
|
-
"name": "*",
|
|
1048
|
-
"package": "./filters"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
]
|
|
1052
|
-
},
|
|
1053
1053
|
{
|
|
1054
1054
|
"kind": "javascript-module",
|
|
1055
1055
|
"path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-forms",
|
|
3
3
|
"description": "Genesis Foundation Forms",
|
|
4
|
-
"version": "14.154.
|
|
4
|
+
"version": "14.154.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
"test:debug": "genx test --debug"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@genesislcap/foundation-testing": "14.154.
|
|
44
|
-
"@genesislcap/genx": "14.154.
|
|
45
|
-
"@genesislcap/rollup-builder": "14.154.
|
|
46
|
-
"@genesislcap/ts-builder": "14.154.
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "14.154.
|
|
48
|
-
"@genesislcap/vite-builder": "14.154.
|
|
49
|
-
"@genesislcap/webpack-builder": "14.154.
|
|
43
|
+
"@genesislcap/foundation-testing": "14.154.2",
|
|
44
|
+
"@genesislcap/genx": "14.154.2",
|
|
45
|
+
"@genesislcap/rollup-builder": "14.154.2",
|
|
46
|
+
"@genesislcap/ts-builder": "14.154.2",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "14.154.2",
|
|
48
|
+
"@genesislcap/vite-builder": "14.154.2",
|
|
49
|
+
"@genesislcap/webpack-builder": "14.154.2",
|
|
50
50
|
"@types/json-schema": "^7.0.11",
|
|
51
51
|
"rimraf": "^3.0.2"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@genesislcap/foundation-comms": "14.154.
|
|
55
|
-
"@genesislcap/foundation-criteria": "14.154.
|
|
56
|
-
"@genesislcap/foundation-logger": "14.154.
|
|
57
|
-
"@genesislcap/foundation-ui": "14.154.
|
|
58
|
-
"@genesislcap/foundation-utils": "14.154.
|
|
54
|
+
"@genesislcap/foundation-comms": "14.154.2",
|
|
55
|
+
"@genesislcap/foundation-criteria": "14.154.2",
|
|
56
|
+
"@genesislcap/foundation-logger": "14.154.2",
|
|
57
|
+
"@genesislcap/foundation-ui": "14.154.2",
|
|
58
|
+
"@genesislcap/foundation-utils": "14.154.2",
|
|
59
59
|
"@json-schema-tools/dereferencer": "^1.6.1",
|
|
60
60
|
"@jsonforms/core": "^3.2.1",
|
|
61
61
|
"@microsoft/fast-components": "^2.30.6",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "8edecc34aa3955fd8937a3527d653ca19743c1b4"
|
|
80
80
|
}
|