@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
|
@@ -217,6 +217,17 @@
|
|
|
217
217
|
"type": "string",
|
|
218
218
|
"const": "autocomplete-table-select"
|
|
219
219
|
},
|
|
220
|
+
"dataSource": {
|
|
221
|
+
"$ref": "#/definitions/dataSource"
|
|
222
|
+
},
|
|
223
|
+
"options": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"method": {
|
|
227
|
+
"$ref": "#/definitions/method"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
220
231
|
"placeholder": {
|
|
221
232
|
"type": "string"
|
|
222
233
|
},
|
|
@@ -275,6 +286,9 @@
|
|
|
275
286
|
"properties": {
|
|
276
287
|
"upstream": {
|
|
277
288
|
"$ref": "#/definitions/upstream"
|
|
289
|
+
},
|
|
290
|
+
"method": {
|
|
291
|
+
"$ref": "#/definitions/method"
|
|
278
292
|
}
|
|
279
293
|
}
|
|
280
294
|
}
|
|
@@ -322,6 +336,14 @@
|
|
|
322
336
|
"description": "The backend that should be used to handel data",
|
|
323
337
|
"default": "none"
|
|
324
338
|
},
|
|
339
|
+
"baseDataSource": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {
|
|
342
|
+
"kind": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
325
347
|
"baseFormArray": {
|
|
326
348
|
"allOf": [
|
|
327
349
|
{
|
|
@@ -409,6 +431,14 @@
|
|
|
409
431
|
}
|
|
410
432
|
]
|
|
411
433
|
},
|
|
434
|
+
"baseMethod": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"kind": {
|
|
438
|
+
"type": "string"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
412
442
|
"baseTableAction": {
|
|
413
443
|
"type": "object",
|
|
414
444
|
"properties": {
|
|
@@ -558,6 +588,30 @@
|
|
|
558
588
|
}
|
|
559
589
|
]
|
|
560
590
|
},
|
|
591
|
+
"dataSource": {
|
|
592
|
+
"oneOf": [
|
|
593
|
+
{
|
|
594
|
+
"allOf": [
|
|
595
|
+
{
|
|
596
|
+
"$ref": "#/definitions/baseDataSource"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"type": "object",
|
|
600
|
+
"properties": {
|
|
601
|
+
"kind": {
|
|
602
|
+
"type": "string",
|
|
603
|
+
"const": "default",
|
|
604
|
+
"default": "default"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
]
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"$ref": "#/definitions/importDataSource"
|
|
612
|
+
}
|
|
613
|
+
]
|
|
614
|
+
},
|
|
561
615
|
"dialogTableAction": {
|
|
562
616
|
"allOf": [
|
|
563
617
|
{
|
|
@@ -940,6 +994,52 @@
|
|
|
940
994
|
}
|
|
941
995
|
}
|
|
942
996
|
},
|
|
997
|
+
"importDataSource": {
|
|
998
|
+
"allOf": [
|
|
999
|
+
{
|
|
1000
|
+
"$ref": "#/definitions/baseDataSource"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"type": "object",
|
|
1004
|
+
"properties": {
|
|
1005
|
+
"kind": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"const": "import",
|
|
1008
|
+
"default": "import"
|
|
1009
|
+
},
|
|
1010
|
+
"import": {
|
|
1011
|
+
"$ref": "#/definitions/type"
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
"required": [
|
|
1015
|
+
"import"
|
|
1016
|
+
]
|
|
1017
|
+
}
|
|
1018
|
+
]
|
|
1019
|
+
},
|
|
1020
|
+
"importMethod": {
|
|
1021
|
+
"allOf": [
|
|
1022
|
+
{
|
|
1023
|
+
"$ref": "#/definitions/baseMethod"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"type": "object",
|
|
1027
|
+
"properties": {
|
|
1028
|
+
"kind": {
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"const": "import",
|
|
1031
|
+
"default": "import"
|
|
1032
|
+
},
|
|
1033
|
+
"import": {
|
|
1034
|
+
"$ref": "#/definitions/type"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"required": [
|
|
1038
|
+
"import"
|
|
1039
|
+
]
|
|
1040
|
+
}
|
|
1041
|
+
]
|
|
1042
|
+
},
|
|
943
1043
|
"inputFormControl": {
|
|
944
1044
|
"allOf": [
|
|
945
1045
|
{
|
|
@@ -992,6 +1092,33 @@
|
|
|
992
1092
|
}
|
|
993
1093
|
]
|
|
994
1094
|
},
|
|
1095
|
+
"method": {
|
|
1096
|
+
"oneOf": [
|
|
1097
|
+
{
|
|
1098
|
+
"allOf": [
|
|
1099
|
+
{
|
|
1100
|
+
"$ref": "#/definitions/baseMethod"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"type": "object",
|
|
1104
|
+
"properties": {
|
|
1105
|
+
"kind": {
|
|
1106
|
+
"type": "string",
|
|
1107
|
+
"const": "default",
|
|
1108
|
+
"default": "default"
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"$ref": "#/definitions/importMethod"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"$ref": "#/definitions/openApiMethod"
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
},
|
|
995
1122
|
"navigationTableAction": {
|
|
996
1123
|
"allOf": [
|
|
997
1124
|
{
|
|
@@ -1022,6 +1149,29 @@
|
|
|
1022
1149
|
}
|
|
1023
1150
|
]
|
|
1024
1151
|
},
|
|
1152
|
+
"openApiMethod": {
|
|
1153
|
+
"allOf": [
|
|
1154
|
+
{
|
|
1155
|
+
"$ref": "#/definitions/baseMethod"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"type": "object",
|
|
1159
|
+
"properties": {
|
|
1160
|
+
"kind": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"const": "open-api",
|
|
1163
|
+
"default": "open-api"
|
|
1164
|
+
},
|
|
1165
|
+
"operationId": {
|
|
1166
|
+
"type": "string"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"required": [
|
|
1170
|
+
"operationId"
|
|
1171
|
+
]
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1174
|
+
},
|
|
1025
1175
|
"openApiTableAction": {
|
|
1026
1176
|
"allOf": [
|
|
1027
1177
|
{
|
|
@@ -1292,6 +1442,17 @@
|
|
|
1292
1442
|
"type": "string",
|
|
1293
1443
|
"const": "table-select"
|
|
1294
1444
|
},
|
|
1445
|
+
"dataSource": {
|
|
1446
|
+
"$ref": "#/definitions/dataSource"
|
|
1447
|
+
},
|
|
1448
|
+
"options": {
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"properties": {
|
|
1451
|
+
"method": {
|
|
1452
|
+
"$ref": "#/definitions/method"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1295
1456
|
"placeholder": {
|
|
1296
1457
|
"type": "string"
|
|
1297
1458
|
},
|
|
@@ -1350,6 +1511,9 @@
|
|
|
1350
1511
|
"properties": {
|
|
1351
1512
|
"upstream": {
|
|
1352
1513
|
"$ref": "#/definitions/upstream"
|
|
1514
|
+
},
|
|
1515
|
+
"method": {
|
|
1516
|
+
"$ref": "#/definitions/method"
|
|
1353
1517
|
}
|
|
1354
1518
|
}
|
|
1355
1519
|
},
|
|
@@ -217,6 +217,17 @@
|
|
|
217
217
|
"type": "string",
|
|
218
218
|
"const": "autocomplete-table-select"
|
|
219
219
|
},
|
|
220
|
+
"dataSource": {
|
|
221
|
+
"$ref": "#/definitions/dataSource"
|
|
222
|
+
},
|
|
223
|
+
"options": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"method": {
|
|
227
|
+
"$ref": "#/definitions/method"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
220
231
|
"placeholder": {
|
|
221
232
|
"type": "string"
|
|
222
233
|
},
|
|
@@ -275,6 +286,9 @@
|
|
|
275
286
|
"properties": {
|
|
276
287
|
"upstream": {
|
|
277
288
|
"$ref": "#/definitions/upstream"
|
|
289
|
+
},
|
|
290
|
+
"method": {
|
|
291
|
+
"$ref": "#/definitions/method"
|
|
278
292
|
}
|
|
279
293
|
}
|
|
280
294
|
}
|
|
@@ -322,6 +336,14 @@
|
|
|
322
336
|
"description": "The backend that should be used to handel data",
|
|
323
337
|
"default": "none"
|
|
324
338
|
},
|
|
339
|
+
"baseDataSource": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {
|
|
342
|
+
"kind": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
325
347
|
"baseFormArray": {
|
|
326
348
|
"allOf": [
|
|
327
349
|
{
|
|
@@ -409,6 +431,14 @@
|
|
|
409
431
|
}
|
|
410
432
|
]
|
|
411
433
|
},
|
|
434
|
+
"baseMethod": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"properties": {
|
|
437
|
+
"kind": {
|
|
438
|
+
"type": "string"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
412
442
|
"baseTableAction": {
|
|
413
443
|
"type": "object",
|
|
414
444
|
"properties": {
|
|
@@ -558,6 +588,30 @@
|
|
|
558
588
|
}
|
|
559
589
|
]
|
|
560
590
|
},
|
|
591
|
+
"dataSource": {
|
|
592
|
+
"oneOf": [
|
|
593
|
+
{
|
|
594
|
+
"allOf": [
|
|
595
|
+
{
|
|
596
|
+
"$ref": "#/definitions/baseDataSource"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"type": "object",
|
|
600
|
+
"properties": {
|
|
601
|
+
"kind": {
|
|
602
|
+
"type": "string",
|
|
603
|
+
"const": "default",
|
|
604
|
+
"default": "default"
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
]
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"$ref": "#/definitions/importDataSource"
|
|
612
|
+
}
|
|
613
|
+
]
|
|
614
|
+
},
|
|
561
615
|
"dialogTableAction": {
|
|
562
616
|
"allOf": [
|
|
563
617
|
{
|
|
@@ -940,6 +994,52 @@
|
|
|
940
994
|
}
|
|
941
995
|
}
|
|
942
996
|
},
|
|
997
|
+
"importDataSource": {
|
|
998
|
+
"allOf": [
|
|
999
|
+
{
|
|
1000
|
+
"$ref": "#/definitions/baseDataSource"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"type": "object",
|
|
1004
|
+
"properties": {
|
|
1005
|
+
"kind": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"const": "import",
|
|
1008
|
+
"default": "import"
|
|
1009
|
+
},
|
|
1010
|
+
"import": {
|
|
1011
|
+
"$ref": "#/definitions/type"
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
"required": [
|
|
1015
|
+
"import"
|
|
1016
|
+
]
|
|
1017
|
+
}
|
|
1018
|
+
]
|
|
1019
|
+
},
|
|
1020
|
+
"importMethod": {
|
|
1021
|
+
"allOf": [
|
|
1022
|
+
{
|
|
1023
|
+
"$ref": "#/definitions/baseMethod"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"type": "object",
|
|
1027
|
+
"properties": {
|
|
1028
|
+
"kind": {
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"const": "import",
|
|
1031
|
+
"default": "import"
|
|
1032
|
+
},
|
|
1033
|
+
"import": {
|
|
1034
|
+
"$ref": "#/definitions/type"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"required": [
|
|
1038
|
+
"import"
|
|
1039
|
+
]
|
|
1040
|
+
}
|
|
1041
|
+
]
|
|
1042
|
+
},
|
|
943
1043
|
"inputFormControl": {
|
|
944
1044
|
"allOf": [
|
|
945
1045
|
{
|
|
@@ -992,6 +1092,33 @@
|
|
|
992
1092
|
}
|
|
993
1093
|
]
|
|
994
1094
|
},
|
|
1095
|
+
"method": {
|
|
1096
|
+
"oneOf": [
|
|
1097
|
+
{
|
|
1098
|
+
"allOf": [
|
|
1099
|
+
{
|
|
1100
|
+
"$ref": "#/definitions/baseMethod"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"type": "object",
|
|
1104
|
+
"properties": {
|
|
1105
|
+
"kind": {
|
|
1106
|
+
"type": "string",
|
|
1107
|
+
"const": "default",
|
|
1108
|
+
"default": "default"
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"$ref": "#/definitions/importMethod"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"$ref": "#/definitions/openApiMethod"
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
},
|
|
995
1122
|
"navigationTableAction": {
|
|
996
1123
|
"allOf": [
|
|
997
1124
|
{
|
|
@@ -1022,6 +1149,29 @@
|
|
|
1022
1149
|
}
|
|
1023
1150
|
]
|
|
1024
1151
|
},
|
|
1152
|
+
"openApiMethod": {
|
|
1153
|
+
"allOf": [
|
|
1154
|
+
{
|
|
1155
|
+
"$ref": "#/definitions/baseMethod"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"type": "object",
|
|
1159
|
+
"properties": {
|
|
1160
|
+
"kind": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"const": "open-api",
|
|
1163
|
+
"default": "open-api"
|
|
1164
|
+
},
|
|
1165
|
+
"operationId": {
|
|
1166
|
+
"type": "string"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"required": [
|
|
1170
|
+
"operationId"
|
|
1171
|
+
]
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1174
|
+
},
|
|
1025
1175
|
"openApiTableAction": {
|
|
1026
1176
|
"allOf": [
|
|
1027
1177
|
{
|
|
@@ -1292,6 +1442,17 @@
|
|
|
1292
1442
|
"type": "string",
|
|
1293
1443
|
"const": "table-select"
|
|
1294
1444
|
},
|
|
1445
|
+
"dataSource": {
|
|
1446
|
+
"$ref": "#/definitions/dataSource"
|
|
1447
|
+
},
|
|
1448
|
+
"options": {
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"properties": {
|
|
1451
|
+
"method": {
|
|
1452
|
+
"$ref": "#/definitions/method"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1295
1456
|
"placeholder": {
|
|
1296
1457
|
"type": "string"
|
|
1297
1458
|
},
|
|
@@ -1350,6 +1511,9 @@
|
|
|
1350
1511
|
"properties": {
|
|
1351
1512
|
"upstream": {
|
|
1352
1513
|
"$ref": "#/definitions/upstream"
|
|
1514
|
+
},
|
|
1515
|
+
"method": {
|
|
1516
|
+
"$ref": "#/definitions/method"
|
|
1353
1517
|
}
|
|
1354
1518
|
}
|
|
1355
1519
|
},
|
|
@@ -8,7 +8,7 @@ const workspace_utilities_1 = require("@rxap/workspace-utilities");
|
|
|
8
8
|
const path_1 = require("path");
|
|
9
9
|
const angular_options_1 = require("../../../../lib/angular-options");
|
|
10
10
|
const assert_table_component_exists_1 = require("../../../../lib/assert-table-component-exists");
|
|
11
|
-
const backend_types_1 = require("../../../../lib/backend-types");
|
|
11
|
+
const backend_types_1 = require("../../../../lib/backend/backend-types");
|
|
12
12
|
const operation_table_action_1 = require("../../../../lib/table/action/operation-table-action");
|
|
13
13
|
function NormalizeOperationTableActionOptions(options) {
|
|
14
14
|
const normalizedOptions = (0, angular_options_1.NormalizeAngularOptions)(options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/table/action/operation-table-action/index.ts"],"names":[],"mappings":";;;AAAA,2DAIoC;AACpC,mEAImC;AACnC,+CAGyB;AACzB,mEAAoE;AACpE,+BAA4B;AAC5B,qEAKyC;AACzC,iGAA2F;AAC3F,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/table/action/operation-table-action/index.ts"],"names":[],"mappings":";;;AAAA,2DAIoC;AACpC,mEAImC;AACnC,+CAGyB;AACzB,mEAAoE;AACpE,+BAA4B;AAC5B,qEAKyC;AACzC,iGAA2F;AAC3F,yEAAqE;AACrE,gGAI6D;AAO7D,SAAgB,oCAAoC,CAClD,OAAoC;IAEpC,MAAM,iBAAiB,GAAG,IAAA,yCAAuB,EAAC,OAAO,CAAC,CAAC;IAC3D,MAAM,kBAAkB,GAAG,IAAA,sDAA6B,EAAC,OAAO,CAAC,CAAC;IAClE,MAAM,EAAE,IAAI,EAAE,GAAG,kBAAkB,CAAC;IACpC,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAC9B,UAAU,aAAV,UAAU,cAAV,UAAU,IAAV,UAAU,GAAK,SAAS,EAAC;IACzB,cAAc,aAAd,cAAc,cAAd,cAAc,IAAd,cAAc,GAAK,IAAA,6CAAuB,EAAC;QACzC,cAAc,EAAE,IAAA,wBAAY,EAAC,IAAI,EAA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