@rxap/schematic-angular 18.1.0-dev.4 → 18.1.0-dev.6
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 +15 -0
- package/collection.json +5 -0
- package/package.json +13 -47
- package/src/lib/accordion/header/base-accordion-header.js +1 -1
- package/src/lib/accordion/header/base-accordion-header.js.map +1 -1
- package/src/lib/accordion/item/base-accordion-item.d.ts +5 -0
- package/src/lib/accordion/item/base-accordion-item.js +7 -1
- package/src/lib/accordion/item/base-accordion-item.js.map +1 -1
- package/src/lib/accordion/item/nested-accordion-item.js +10 -1
- package/src/lib/accordion/item/nested-accordion-item.js.map +1 -1
- package/src/lib/accordion/item/switch-accordion-item.js +7 -5
- package/src/lib/accordion/item/switch-accordion-item.js.map +1 -1
- package/src/lib/angular-options.d.ts +1 -1
- package/src/lib/angular-options.js +1 -1
- package/src/lib/angular-options.js.map +1 -1
- package/src/lib/backend/backend-options.d.ts +1 -1
- package/src/lib/backend/backend-options.js +1 -1
- package/src/lib/backend/backend-options.js.map +1 -1
- package/src/lib/backend/backend-types.js.map +1 -0
- package/src/lib/backend/base-backend-options.d.ts +1 -1
- package/src/lib/backend/nest-js-backend-options.d.ts +1 -1
- package/src/lib/backend/nest-js-backend-options.js +1 -1
- package/src/lib/backend/nest-js-backend-options.js.map +1 -1
- package/src/lib/coerce-accordion-component.js +2 -12
- package/src/lib/coerce-accordion-component.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.js +1 -1
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/data-source/base-data-source-options.d.ts +7 -0
- package/src/lib/data-source/base-data-source-options.js +12 -0
- package/src/lib/data-source/base-data-source-options.js.map +1 -0
- package/src/lib/data-source/data-source-kinds.d.ts +4 -0
- package/src/lib/data-source/data-source-kinds.js +9 -0
- package/src/lib/data-source/data-source-kinds.js.map +1 -0
- package/src/lib/data-source/data-source-options.d.ts +7 -0
- package/src/lib/data-source/data-source-options.js +29 -0
- package/src/lib/data-source/data-source-options.js.map +1 -0
- package/src/lib/data-source/import-data-source-options.d.ts +13 -0
- package/src/lib/data-source/import-data-source-options.js +14 -0
- package/src/lib/data-source/import-data-source-options.js.map +1 -0
- package/src/lib/form/control/autocomplete-form-control.d.ts +1 -1
- package/src/lib/form/control/autocomplete-form-control.js +1 -1
- package/src/lib/form/control/autocomplete-form-control.js.map +1 -1
- package/src/lib/form/control/autocomplete-table-select-form-control.js +3 -2
- package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -1
- package/src/lib/form/control/select-form-control.d.ts +4 -1
- package/src/lib/form/control/select-form-control.js +3 -2
- package/src/lib/form/control/select-form-control.js.map +1 -1
- package/src/lib/form/control/table-select-form-control.d.ts +15 -1
- package/src/lib/form/control/table-select-form-control.js +24 -3
- package/src/lib/form/control/table-select-form-control.js.map +1 -1
- package/src/lib/method/base-method-options.d.ts +7 -0
- package/src/lib/method/base-method-options.js +12 -0
- package/src/lib/method/base-method-options.js.map +1 -0
- package/src/lib/method/import-method-options.d.ts +13 -0
- package/src/lib/method/import-method-options.js +14 -0
- package/src/lib/method/import-method-options.js.map +1 -0
- package/src/lib/method/method-kinds.d.ts +5 -0
- package/src/lib/method/method-kinds.js +10 -0
- package/src/lib/method/method-kinds.js.map +1 -0
- package/src/lib/method/method-options.d.ts +11 -0
- package/src/lib/method/method-options.js +42 -0
- package/src/lib/method/method-options.js.map +1 -0
- package/src/lib/method/open-api-method-options.d.ts +12 -0
- package/src/lib/method/open-api-method-options.js +13 -0
- package/src/lib/method/open-api-method-options.js.map +1 -0
- package/src/lib/minimum-table-component-options.js +41 -32
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +2 -2
- package/src/lib/minimum-table-options.js +2 -2
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/table/header-button/base-header-button.d.ts +16 -0
- package/src/lib/table/header-button/base-header-button.js +23 -0
- package/src/lib/table/header-button/base-header-button.js.map +1 -0
- package/src/lib/table/header-button/form-header-button.d.ts +14 -0
- package/src/lib/table/header-button/form-header-button.js +22 -0
- package/src/lib/table/header-button/form-header-button.js.map +1 -0
- package/src/lib/table/header-button/method-header-button.d.ts +14 -0
- package/src/lib/table/header-button/method-header-button.js +22 -0
- package/src/lib/table/header-button/method-header-button.js.map +1 -0
- package/src/lib/table/header-button/navigation-header-button.d.ts +17 -0
- package/src/lib/table/header-button/navigation-header-button.js +22 -0
- package/src/lib/table/header-button/navigation-header-button.js.map +1 -0
- package/src/lib/table/header-button-kind.d.ts +6 -0
- package/src/lib/table/header-button-kind.js +11 -0
- package/src/lib/table/header-button-kind.js.map +1 -0
- package/src/lib/table/table-header-button.d.ts +7 -0
- package/src/lib/table/table-header-button.js +25 -0
- package/src/lib/table/table-header-button.js.map +1 -0
- package/src/schema.json +329 -62
- package/src/schematic-input.schema.json +19 -0
- package/src/schematics/accordion/accordion-component/index.d.ts +1 -0
- package/src/schematics/accordion/accordion-component/index.js +48 -2
- package/src/schematics/accordion/accordion-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-component/schema.json +301 -36
- package/src/schematics/accordion/accordion-item-component/index.js +1 -1
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.json +301 -36
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +1 -1
- 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 +164 -0
- package/src/schematics/accordion/item/accordion-item-nested-component/schema.json +301 -36
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +301 -36
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +299 -34
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +299 -34
- package/src/schematics/autocomplete-table-select-form-control.schema.json +20 -0
- package/src/schematics/base-data-source.schema.json +10 -0
- package/src/schematics/base-header-button.schema.json +41 -0
- package/src/schematics/base-method.schema.json +10 -0
- package/src/schematics/data-grid-component/index.js +1 -1
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +164 -0
- package/src/schematics/data-source.schema.json +34 -0
- package/src/schematics/form/control/autocomplete-form-control/index.js +3 -3
- package/src/schematics/form/control/autocomplete-form-control/index.js.map +1 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.d.ts +2 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +343 -215
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +150 -0
- package/src/schematics/form/control/select-form-control/index.js +72 -6
- package/src/schematics/form/control/select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/schema.json +150 -0
- package/src/schematics/form/form-array/schema.json +164 -0
- package/src/schematics/form/form-component/index.js +1 -1
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/schema.json +164 -0
- package/src/schematics/form/form-control/schema.json +164 -0
- package/src/schematics/form/form-definition/schema.json +164 -0
- package/src/schematics/form/form-group/schema.json +164 -0
- package/src/schematics/form-header-button.schema.json +31 -0
- package/src/schematics/header-button.schema.json +37 -33
- package/src/schematics/import-data-source.schema.json +31 -0
- package/src/schematics/import-method.schema.json +31 -0
- package/src/schematics/method-header-button.schema.json +31 -0
- package/src/schematics/method.schema.json +40 -0
- package/src/schematics/navigation-header-button.schema.json +31 -0
- package/src/schematics/open-api-method.schema.json +28 -0
- package/src/schematics/property-accordion-header.schema.json +2 -2
- package/src/schematics/table/action/dialog-table-action/schema.json +164 -0
- package/src/schematics/table/action/form-table-action/index.js +8 -2
- package/src/schematics/table/action/form-table-action/index.js.map +1 -1
- package/src/schematics/table/action/form-table-action/schema.json +164 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +164 -0
- package/src/schematics/table/action/open-api-table-action/schema.json +164 -0
- package/src/schematics/table/action/operation-table-action/index.js +1 -1
- package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
- package/src/schematics/table/action/operation-table-action/schema.json +164 -0
- package/src/schematics/table/header-button/form-table-header-button/index.d.ts +3 -11
- package/src/schematics/table/header-button/form-table-header-button/index.js +21 -24
- package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
- package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +4 -13
- package/src/schematics/table/header-button/form-table-header-button/schema.json +297 -45
- package/src/schematics/table/header-button/form-table-header-button/template.schema.json +3 -16
- package/src/schematics/table/header-button/method-table-header-button/index.d.ts +8 -0
- package/src/schematics/table/header-button/method-table-header-button/index.js +91 -0
- package/src/schematics/table/header-button/method-table-header-button/index.js.map +1 -0
- package/src/schematics/table/header-button/method-table-header-button/schema.d.ts +6 -0
- package/src/schematics/table/header-button/method-table-header-button/schema.json +1502 -0
- package/src/schematics/table/header-button/method-table-header-button/template.schema.json +20 -0
- package/src/schematics/table/header-button/navigation-table-header-button/index.d.ts +3 -3
- package/src/schematics/table/header-button/navigation-table-header-button/index.js +9 -4
- package/src/schematics/table/header-button/navigation-table-header-button/index.js.map +1 -1
- package/src/schematics/table/header-button/navigation-table-header-button/schema.d.ts +4 -4
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +1342 -49
- package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +4 -12
- package/src/schematics/table/table-action/schema.json +164 -0
- package/src/schematics/table/table-component/index.js +1 -1
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +299 -34
- package/src/schematics/table/table-header-button/index.d.ts +4 -4
- package/src/schematics/table/table-header-button/index.js +2 -2
- package/src/schematics/table/table-header-button/index.js.map +1 -1
- package/src/schematics/table/table-header-button/schema.d.ts +2 -3
- package/src/schematics/table/table-header-button/schema.json +1333 -29
- package/src/schematics/table/tree-table-component/index.js +1 -1
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +299 -34
- package/src/schematics/table-select-form-control.schema.json +20 -0
- package/src/template.schema.json +36 -0
- package/src/lib/backend-types.js.map +0 -1
- package/src/lib/table-header-button.d.ts +0 -16
- package/src/lib/table-header-button.js +0 -78
- package/src/lib/table-header-button.js.map +0 -1
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.stories.ts.hbs +0 -34
- /package/src/lib/{backend-types.d.ts → backend/backend-types.d.ts} +0 -0
- /package/src/lib/{backend-types.js → backend/backend-types.js} +0 -0
|
@@ -227,6 +227,17 @@
|
|
|
227
227
|
"type": "string",
|
|
228
228
|
"const": "autocomplete-table-select"
|
|
229
229
|
},
|
|
230
|
+
"dataSource": {
|
|
231
|
+
"$ref": "#/definitions/dataSource"
|
|
232
|
+
},
|
|
233
|
+
"options": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"properties": {
|
|
236
|
+
"method": {
|
|
237
|
+
"$ref": "#/definitions/method"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
230
241
|
"placeholder": {
|
|
231
242
|
"type": "string"
|
|
232
243
|
},
|
|
@@ -285,6 +296,9 @@
|
|
|
285
296
|
"properties": {
|
|
286
297
|
"upstream": {
|
|
287
298
|
"$ref": "#/definitions/upstream"
|
|
299
|
+
},
|
|
300
|
+
"method": {
|
|
301
|
+
"$ref": "#/definitions/method"
|
|
288
302
|
}
|
|
289
303
|
}
|
|
290
304
|
}
|
|
@@ -332,6 +346,14 @@
|
|
|
332
346
|
"description": "The backend that should be used to handel data",
|
|
333
347
|
"default": "none"
|
|
334
348
|
},
|
|
349
|
+
"baseDataSource": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"properties": {
|
|
352
|
+
"kind": {
|
|
353
|
+
"type": "string"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
335
357
|
"baseFormArray": {
|
|
336
358
|
"allOf": [
|
|
337
359
|
{
|
|
@@ -419,6 +441,14 @@
|
|
|
419
441
|
}
|
|
420
442
|
]
|
|
421
443
|
},
|
|
444
|
+
"baseMethod": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"kind": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
},
|
|
422
452
|
"button": {
|
|
423
453
|
"type": "object",
|
|
424
454
|
"properties": {
|
|
@@ -513,6 +543,30 @@
|
|
|
513
543
|
}
|
|
514
544
|
]
|
|
515
545
|
},
|
|
546
|
+
"dataSource": {
|
|
547
|
+
"oneOf": [
|
|
548
|
+
{
|
|
549
|
+
"allOf": [
|
|
550
|
+
{
|
|
551
|
+
"$ref": "#/definitions/baseDataSource"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"type": "object",
|
|
555
|
+
"properties": {
|
|
556
|
+
"kind": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"const": "default",
|
|
559
|
+
"default": "default"
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"$ref": "#/definitions/importDataSource"
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
516
570
|
"formArray": {
|
|
517
571
|
"allOf": [
|
|
518
572
|
{
|
|
@@ -717,6 +771,52 @@
|
|
|
717
771
|
}
|
|
718
772
|
}
|
|
719
773
|
},
|
|
774
|
+
"importDataSource": {
|
|
775
|
+
"allOf": [
|
|
776
|
+
{
|
|
777
|
+
"$ref": "#/definitions/baseDataSource"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"type": "object",
|
|
781
|
+
"properties": {
|
|
782
|
+
"kind": {
|
|
783
|
+
"type": "string",
|
|
784
|
+
"const": "import",
|
|
785
|
+
"default": "import"
|
|
786
|
+
},
|
|
787
|
+
"import": {
|
|
788
|
+
"$ref": "#/definitions/type"
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"required": [
|
|
792
|
+
"import"
|
|
793
|
+
]
|
|
794
|
+
}
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
"importMethod": {
|
|
798
|
+
"allOf": [
|
|
799
|
+
{
|
|
800
|
+
"$ref": "#/definitions/baseMethod"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"kind": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"const": "import",
|
|
808
|
+
"default": "import"
|
|
809
|
+
},
|
|
810
|
+
"import": {
|
|
811
|
+
"$ref": "#/definitions/type"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"required": [
|
|
815
|
+
"import"
|
|
816
|
+
]
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
},
|
|
720
820
|
"inputFormControl": {
|
|
721
821
|
"allOf": [
|
|
722
822
|
{
|
|
@@ -769,6 +869,56 @@
|
|
|
769
869
|
}
|
|
770
870
|
]
|
|
771
871
|
},
|
|
872
|
+
"method": {
|
|
873
|
+
"oneOf": [
|
|
874
|
+
{
|
|
875
|
+
"allOf": [
|
|
876
|
+
{
|
|
877
|
+
"$ref": "#/definitions/baseMethod"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"type": "object",
|
|
881
|
+
"properties": {
|
|
882
|
+
"kind": {
|
|
883
|
+
"type": "string",
|
|
884
|
+
"const": "default",
|
|
885
|
+
"default": "default"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"$ref": "#/definitions/importMethod"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"$ref": "#/definitions/openApiMethod"
|
|
896
|
+
}
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
"openApiMethod": {
|
|
900
|
+
"allOf": [
|
|
901
|
+
{
|
|
902
|
+
"$ref": "#/definitions/baseMethod"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"type": "object",
|
|
906
|
+
"properties": {
|
|
907
|
+
"kind": {
|
|
908
|
+
"type": "string",
|
|
909
|
+
"const": "open-api",
|
|
910
|
+
"default": "open-api"
|
|
911
|
+
},
|
|
912
|
+
"operationId": {
|
|
913
|
+
"type": "string"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"required": [
|
|
917
|
+
"operationId"
|
|
918
|
+
]
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
772
922
|
"option": {
|
|
773
923
|
"type": "object",
|
|
774
924
|
"properties": {
|
|
@@ -907,6 +1057,17 @@
|
|
|
907
1057
|
"type": "string",
|
|
908
1058
|
"const": "table-select"
|
|
909
1059
|
},
|
|
1060
|
+
"dataSource": {
|
|
1061
|
+
"$ref": "#/definitions/dataSource"
|
|
1062
|
+
},
|
|
1063
|
+
"options": {
|
|
1064
|
+
"type": "object",
|
|
1065
|
+
"properties": {
|
|
1066
|
+
"method": {
|
|
1067
|
+
"$ref": "#/definitions/method"
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
910
1071
|
"placeholder": {
|
|
911
1072
|
"type": "string"
|
|
912
1073
|
},
|
|
@@ -965,6 +1126,9 @@
|
|
|
965
1126
|
"properties": {
|
|
966
1127
|
"upstream": {
|
|
967
1128
|
"$ref": "#/definitions/upstream"
|
|
1129
|
+
},
|
|
1130
|
+
"method": {
|
|
1131
|
+
"$ref": "#/definitions/method"
|
|
968
1132
|
}
|
|
969
1133
|
}
|
|
970
1134
|
},
|
|
@@ -230,6 +230,17 @@
|
|
|
230
230
|
"type": "string",
|
|
231
231
|
"const": "autocomplete-table-select"
|
|
232
232
|
},
|
|
233
|
+
"dataSource": {
|
|
234
|
+
"$ref": "#/definitions/dataSource"
|
|
235
|
+
},
|
|
236
|
+
"options": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"properties": {
|
|
239
|
+
"method": {
|
|
240
|
+
"$ref": "#/definitions/method"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
233
244
|
"placeholder": {
|
|
234
245
|
"type": "string"
|
|
235
246
|
},
|
|
@@ -288,6 +299,9 @@
|
|
|
288
299
|
"properties": {
|
|
289
300
|
"upstream": {
|
|
290
301
|
"$ref": "#/definitions/upstream"
|
|
302
|
+
},
|
|
303
|
+
"method": {
|
|
304
|
+
"$ref": "#/definitions/method"
|
|
291
305
|
}
|
|
292
306
|
}
|
|
293
307
|
}
|
|
@@ -335,6 +349,14 @@
|
|
|
335
349
|
"description": "The backend that should be used to handel data",
|
|
336
350
|
"default": "none"
|
|
337
351
|
},
|
|
352
|
+
"baseDataSource": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": {
|
|
355
|
+
"kind": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
338
360
|
"baseFormArray": {
|
|
339
361
|
"allOf": [
|
|
340
362
|
{
|
|
@@ -422,6 +444,14 @@
|
|
|
422
444
|
}
|
|
423
445
|
]
|
|
424
446
|
},
|
|
447
|
+
"baseMethod": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"properties": {
|
|
450
|
+
"kind": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
425
455
|
"button": {
|
|
426
456
|
"type": "object",
|
|
427
457
|
"properties": {
|
|
@@ -516,6 +546,30 @@
|
|
|
516
546
|
}
|
|
517
547
|
]
|
|
518
548
|
},
|
|
549
|
+
"dataSource": {
|
|
550
|
+
"oneOf": [
|
|
551
|
+
{
|
|
552
|
+
"allOf": [
|
|
553
|
+
{
|
|
554
|
+
"$ref": "#/definitions/baseDataSource"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"type": "object",
|
|
558
|
+
"properties": {
|
|
559
|
+
"kind": {
|
|
560
|
+
"type": "string",
|
|
561
|
+
"const": "default",
|
|
562
|
+
"default": "default"
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"$ref": "#/definitions/importDataSource"
|
|
570
|
+
}
|
|
571
|
+
]
|
|
572
|
+
},
|
|
519
573
|
"formArray": {
|
|
520
574
|
"allOf": [
|
|
521
575
|
{
|
|
@@ -705,6 +759,52 @@
|
|
|
705
759
|
}
|
|
706
760
|
}
|
|
707
761
|
},
|
|
762
|
+
"importDataSource": {
|
|
763
|
+
"allOf": [
|
|
764
|
+
{
|
|
765
|
+
"$ref": "#/definitions/baseDataSource"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"type": "object",
|
|
769
|
+
"properties": {
|
|
770
|
+
"kind": {
|
|
771
|
+
"type": "string",
|
|
772
|
+
"const": "import",
|
|
773
|
+
"default": "import"
|
|
774
|
+
},
|
|
775
|
+
"import": {
|
|
776
|
+
"$ref": "#/definitions/type"
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"required": [
|
|
780
|
+
"import"
|
|
781
|
+
]
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
"importMethod": {
|
|
786
|
+
"allOf": [
|
|
787
|
+
{
|
|
788
|
+
"$ref": "#/definitions/baseMethod"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"type": "object",
|
|
792
|
+
"properties": {
|
|
793
|
+
"kind": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"const": "import",
|
|
796
|
+
"default": "import"
|
|
797
|
+
},
|
|
798
|
+
"import": {
|
|
799
|
+
"$ref": "#/definitions/type"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"required": [
|
|
803
|
+
"import"
|
|
804
|
+
]
|
|
805
|
+
}
|
|
806
|
+
]
|
|
807
|
+
},
|
|
708
808
|
"inputFormControl": {
|
|
709
809
|
"allOf": [
|
|
710
810
|
{
|
|
@@ -757,6 +857,56 @@
|
|
|
757
857
|
}
|
|
758
858
|
]
|
|
759
859
|
},
|
|
860
|
+
"method": {
|
|
861
|
+
"oneOf": [
|
|
862
|
+
{
|
|
863
|
+
"allOf": [
|
|
864
|
+
{
|
|
865
|
+
"$ref": "#/definitions/baseMethod"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"type": "object",
|
|
869
|
+
"properties": {
|
|
870
|
+
"kind": {
|
|
871
|
+
"type": "string",
|
|
872
|
+
"const": "default",
|
|
873
|
+
"default": "default"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
]
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"$ref": "#/definitions/importMethod"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"$ref": "#/definitions/openApiMethod"
|
|
884
|
+
}
|
|
885
|
+
]
|
|
886
|
+
},
|
|
887
|
+
"openApiMethod": {
|
|
888
|
+
"allOf": [
|
|
889
|
+
{
|
|
890
|
+
"$ref": "#/definitions/baseMethod"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"type": "object",
|
|
894
|
+
"properties": {
|
|
895
|
+
"kind": {
|
|
896
|
+
"type": "string",
|
|
897
|
+
"const": "open-api",
|
|
898
|
+
"default": "open-api"
|
|
899
|
+
},
|
|
900
|
+
"operationId": {
|
|
901
|
+
"type": "string"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"required": [
|
|
905
|
+
"operationId"
|
|
906
|
+
]
|
|
907
|
+
}
|
|
908
|
+
]
|
|
909
|
+
},
|
|
760
910
|
"option": {
|
|
761
911
|
"type": "object",
|
|
762
912
|
"properties": {
|
|
@@ -895,6 +1045,17 @@
|
|
|
895
1045
|
"type": "string",
|
|
896
1046
|
"const": "table-select"
|
|
897
1047
|
},
|
|
1048
|
+
"dataSource": {
|
|
1049
|
+
"$ref": "#/definitions/dataSource"
|
|
1050
|
+
},
|
|
1051
|
+
"options": {
|
|
1052
|
+
"type": "object",
|
|
1053
|
+
"properties": {
|
|
1054
|
+
"method": {
|
|
1055
|
+
"$ref": "#/definitions/method"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
898
1059
|
"placeholder": {
|
|
899
1060
|
"type": "string"
|
|
900
1061
|
},
|
|
@@ -953,6 +1114,9 @@
|
|
|
953
1114
|
"properties": {
|
|
954
1115
|
"upstream": {
|
|
955
1116
|
"$ref": "#/definitions/upstream"
|
|
1117
|
+
},
|
|
1118
|
+
"method": {
|
|
1119
|
+
"$ref": "#/definitions/method"
|
|
956
1120
|
}
|
|
957
1121
|
}
|
|
958
1122
|
},
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-header-button",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "form",
|
|
14
|
+
"default": "form"
|
|
15
|
+
},
|
|
16
|
+
"form": {
|
|
17
|
+
"$ref": "#/definitions/formComponent"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["form"]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"definitions": {
|
|
24
|
+
"baseHeaderButton": {
|
|
25
|
+
"$ref": "./base-header-button.schema.json"
|
|
26
|
+
},
|
|
27
|
+
"formComponent": {
|
|
28
|
+
"$ref": "./form-component.schema.json"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,42 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"$id": "header-button",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"kind": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "default",
|
|
16
|
+
"default": "default"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"$ref": "#/definitions/formHeaderButton"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"$ref": "#/definitions/navigationHeaderButton"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"$ref": "#/definitions/methodHeaderButton"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"definitions": {
|
|
33
|
+
"baseHeaderButton": {
|
|
34
|
+
"$ref": "./base-header-button.schema.json"
|
|
28
35
|
},
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"description": "The error message for the table action"
|
|
36
|
+
"formHeaderButton": {
|
|
37
|
+
"$ref": "./form-header-button.schema.json"
|
|
32
38
|
},
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"description": "The success message for the table action"
|
|
39
|
+
"navigationHeaderButton": {
|
|
40
|
+
"$ref": "./navigation-header-button.schema.json"
|
|
36
41
|
},
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"additionalProperties": true
|
|
42
|
+
"methodHeaderButton": {
|
|
43
|
+
"$ref": "./method-header-button.schema.json"
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "import-data-source",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseDataSource"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "import",
|
|
14
|
+
"default": "import"
|
|
15
|
+
},
|
|
16
|
+
"import": {
|
|
17
|
+
"$ref": "#/definitions/type"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["import"]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"definitions": {
|
|
24
|
+
"baseDataSource": {
|
|
25
|
+
"$ref": "./base-data-source.schema.json"
|
|
26
|
+
},
|
|
27
|
+
"type": {
|
|
28
|
+
"$ref": "./type.schema.json"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "import-method",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseMethod"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "import",
|
|
14
|
+
"default": "import"
|
|
15
|
+
},
|
|
16
|
+
"import": {
|
|
17
|
+
"$ref": "#/definitions/type"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["import"]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"definitions": {
|
|
24
|
+
"baseMethod": {
|
|
25
|
+
"$ref": "./base-method.schema.json"
|
|
26
|
+
},
|
|
27
|
+
"type": {
|
|
28
|
+
"$ref": "./type.schema.json"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "method-header-button",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "method",
|
|
14
|
+
"default": "method"
|
|
15
|
+
},
|
|
16
|
+
"method": {
|
|
17
|
+
"$ref": "#/definitions/method"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["method"]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"definitions": {
|
|
24
|
+
"baseHeaderButton": {
|
|
25
|
+
"$ref": "./base-header-button.schema.json"
|
|
26
|
+
},
|
|
27
|
+
"method": {
|
|
28
|
+
"$ref": "./method.schema.json"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "method",
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "#/definitions/baseMethod"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"kind": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "default",
|
|
16
|
+
"default": "default"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"$ref": "#/definitions/importMethod"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"$ref": "#/definitions/openApiMethod"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"definitions": {
|
|
30
|
+
"baseMethod": {
|
|
31
|
+
"$ref": "./base-method.schema.json"
|
|
32
|
+
},
|
|
33
|
+
"importMethod": {
|
|
34
|
+
"$ref": "./import-method.schema.json"
|
|
35
|
+
},
|
|
36
|
+
"openApiMethod": {
|
|
37
|
+
"$ref": "./open-api-method.schema.json"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|