@rxap/schematic-angular 18.1.0-dev.3 → 18.1.0-dev.5
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 +17 -0
- package/collection.json +5 -0
- package/package.json +2 -2
- 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 +6 -2
- 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
|
}
|
|
@@ -363,6 +377,14 @@
|
|
|
363
377
|
"name"
|
|
364
378
|
]
|
|
365
379
|
},
|
|
380
|
+
"baseDataSource": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"kind": {
|
|
384
|
+
"type": "string"
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
366
388
|
"baseFormArray": {
|
|
367
389
|
"allOf": [
|
|
368
390
|
{
|
|
@@ -450,6 +472,53 @@
|
|
|
450
472
|
}
|
|
451
473
|
]
|
|
452
474
|
},
|
|
475
|
+
"baseHeaderButton": {
|
|
476
|
+
"type": "object",
|
|
477
|
+
"properties": {
|
|
478
|
+
"kind": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"permission": {
|
|
482
|
+
"type": "string"
|
|
483
|
+
},
|
|
484
|
+
"icon": {
|
|
485
|
+
"type": "string"
|
|
486
|
+
},
|
|
487
|
+
"svgIcon": {
|
|
488
|
+
"type": "string"
|
|
489
|
+
},
|
|
490
|
+
"refresh": {
|
|
491
|
+
"type": "boolean",
|
|
492
|
+
"description": "Whether the table action should refresh the table after execution",
|
|
493
|
+
"default": false
|
|
494
|
+
},
|
|
495
|
+
"confirm": {
|
|
496
|
+
"type": "boolean",
|
|
497
|
+
"description": "Whether the table action should confirm before execution",
|
|
498
|
+
"default": false
|
|
499
|
+
},
|
|
500
|
+
"tooltip": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"description": "The tooltip for the table action"
|
|
503
|
+
},
|
|
504
|
+
"errorMessage": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"description": "The error message for the table action"
|
|
507
|
+
},
|
|
508
|
+
"successMessage": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "The success message for the table action"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"baseMethod": {
|
|
515
|
+
"type": "object",
|
|
516
|
+
"properties": {
|
|
517
|
+
"kind": {
|
|
518
|
+
"type": "string"
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
453
522
|
"baseTableAction": {
|
|
454
523
|
"type": "object",
|
|
455
524
|
"properties": {
|
|
@@ -744,6 +813,30 @@
|
|
|
744
813
|
}
|
|
745
814
|
]
|
|
746
815
|
},
|
|
816
|
+
"dataSource": {
|
|
817
|
+
"oneOf": [
|
|
818
|
+
{
|
|
819
|
+
"allOf": [
|
|
820
|
+
{
|
|
821
|
+
"$ref": "#/definitions/baseDataSource"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"type": "object",
|
|
825
|
+
"properties": {
|
|
826
|
+
"kind": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"const": "default",
|
|
829
|
+
"default": "default"
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"$ref": "#/definitions/importDataSource"
|
|
837
|
+
}
|
|
838
|
+
]
|
|
839
|
+
},
|
|
747
840
|
"dateTableColumn": {
|
|
748
841
|
"allOf": [
|
|
749
842
|
{
|
|
@@ -1029,6 +1122,29 @@
|
|
|
1029
1122
|
}
|
|
1030
1123
|
]
|
|
1031
1124
|
},
|
|
1125
|
+
"formHeaderButton": {
|
|
1126
|
+
"allOf": [
|
|
1127
|
+
{
|
|
1128
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"type": "object",
|
|
1132
|
+
"properties": {
|
|
1133
|
+
"kind": {
|
|
1134
|
+
"type": "string",
|
|
1135
|
+
"const": "form",
|
|
1136
|
+
"default": "form"
|
|
1137
|
+
},
|
|
1138
|
+
"form": {
|
|
1139
|
+
"$ref": "#/definitions/formComponent"
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"required": [
|
|
1143
|
+
"form"
|
|
1144
|
+
]
|
|
1145
|
+
}
|
|
1146
|
+
]
|
|
1147
|
+
},
|
|
1032
1148
|
"formTableAction": {
|
|
1033
1149
|
"allOf": [
|
|
1034
1150
|
{
|
|
@@ -1149,44 +1265,34 @@
|
|
|
1149
1265
|
}
|
|
1150
1266
|
},
|
|
1151
1267
|
"headerButton": {
|
|
1152
|
-
"
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
"type": "boolean",
|
|
1170
|
-
"description": "Whether the table action should confirm before execution",
|
|
1171
|
-
"default": false
|
|
1172
|
-
},
|
|
1173
|
-
"tooltip": {
|
|
1174
|
-
"type": "string",
|
|
1175
|
-
"description": "The tooltip for the table action"
|
|
1268
|
+
"oneOf": [
|
|
1269
|
+
{
|
|
1270
|
+
"allOf": [
|
|
1271
|
+
{
|
|
1272
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"type": "object",
|
|
1276
|
+
"properties": {
|
|
1277
|
+
"kind": {
|
|
1278
|
+
"type": "string",
|
|
1279
|
+
"const": "default",
|
|
1280
|
+
"default": "default"
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
]
|
|
1176
1285
|
},
|
|
1177
|
-
|
|
1178
|
-
"
|
|
1179
|
-
"description": "The error message for the table action"
|
|
1286
|
+
{
|
|
1287
|
+
"$ref": "#/definitions/formHeaderButton"
|
|
1180
1288
|
},
|
|
1181
|
-
|
|
1182
|
-
"
|
|
1183
|
-
"description": "The success message for the table action"
|
|
1289
|
+
{
|
|
1290
|
+
"$ref": "#/definitions/navigationHeaderButton"
|
|
1184
1291
|
},
|
|
1185
|
-
|
|
1186
|
-
"
|
|
1187
|
-
"additionalProperties": true
|
|
1292
|
+
{
|
|
1293
|
+
"$ref": "#/definitions/methodHeaderButton"
|
|
1188
1294
|
}
|
|
1189
|
-
|
|
1295
|
+
]
|
|
1190
1296
|
},
|
|
1191
1297
|
"iconTableColumn": {
|
|
1192
1298
|
"allOf": [
|
|
@@ -1207,6 +1313,52 @@
|
|
|
1207
1313
|
}
|
|
1208
1314
|
]
|
|
1209
1315
|
},
|
|
1316
|
+
"importDataSource": {
|
|
1317
|
+
"allOf": [
|
|
1318
|
+
{
|
|
1319
|
+
"$ref": "#/definitions/baseDataSource"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"type": "object",
|
|
1323
|
+
"properties": {
|
|
1324
|
+
"kind": {
|
|
1325
|
+
"type": "string",
|
|
1326
|
+
"const": "import",
|
|
1327
|
+
"default": "import"
|
|
1328
|
+
},
|
|
1329
|
+
"import": {
|
|
1330
|
+
"$ref": "#/definitions/type"
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
"required": [
|
|
1334
|
+
"import"
|
|
1335
|
+
]
|
|
1336
|
+
}
|
|
1337
|
+
]
|
|
1338
|
+
},
|
|
1339
|
+
"importMethod": {
|
|
1340
|
+
"allOf": [
|
|
1341
|
+
{
|
|
1342
|
+
"$ref": "#/definitions/baseMethod"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"type": "object",
|
|
1346
|
+
"properties": {
|
|
1347
|
+
"kind": {
|
|
1348
|
+
"type": "string",
|
|
1349
|
+
"const": "import",
|
|
1350
|
+
"default": "import"
|
|
1351
|
+
},
|
|
1352
|
+
"import": {
|
|
1353
|
+
"$ref": "#/definitions/type"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
"required": [
|
|
1357
|
+
"import"
|
|
1358
|
+
]
|
|
1359
|
+
}
|
|
1360
|
+
]
|
|
1361
|
+
},
|
|
1210
1362
|
"inputFormControl": {
|
|
1211
1363
|
"allOf": [
|
|
1212
1364
|
{
|
|
@@ -1278,6 +1430,56 @@
|
|
|
1278
1430
|
}
|
|
1279
1431
|
]
|
|
1280
1432
|
},
|
|
1433
|
+
"method": {
|
|
1434
|
+
"oneOf": [
|
|
1435
|
+
{
|
|
1436
|
+
"allOf": [
|
|
1437
|
+
{
|
|
1438
|
+
"$ref": "#/definitions/baseMethod"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"type": "object",
|
|
1442
|
+
"properties": {
|
|
1443
|
+
"kind": {
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"const": "default",
|
|
1446
|
+
"default": "default"
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
]
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"$ref": "#/definitions/importMethod"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"$ref": "#/definitions/openApiMethod"
|
|
1457
|
+
}
|
|
1458
|
+
]
|
|
1459
|
+
},
|
|
1460
|
+
"methodHeaderButton": {
|
|
1461
|
+
"allOf": [
|
|
1462
|
+
{
|
|
1463
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"type": "object",
|
|
1467
|
+
"properties": {
|
|
1468
|
+
"kind": {
|
|
1469
|
+
"type": "string",
|
|
1470
|
+
"const": "method",
|
|
1471
|
+
"default": "method"
|
|
1472
|
+
},
|
|
1473
|
+
"method": {
|
|
1474
|
+
"$ref": "#/definitions/method"
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
"required": [
|
|
1478
|
+
"method"
|
|
1479
|
+
]
|
|
1480
|
+
}
|
|
1481
|
+
]
|
|
1482
|
+
},
|
|
1281
1483
|
"minimumTable": {
|
|
1282
1484
|
"type": "object",
|
|
1283
1485
|
"properties": {
|
|
@@ -1374,6 +1576,32 @@
|
|
|
1374
1576
|
}
|
|
1375
1577
|
}
|
|
1376
1578
|
},
|
|
1579
|
+
"navigationHeaderButton": {
|
|
1580
|
+
"allOf": [
|
|
1581
|
+
{
|
|
1582
|
+
"$ref": "#/definitions/baseHeaderButton"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"type": "object",
|
|
1586
|
+
"properties": {
|
|
1587
|
+
"kind": {
|
|
1588
|
+
"type": "string",
|
|
1589
|
+
"const": "navigation",
|
|
1590
|
+
"default": "navigation"
|
|
1591
|
+
},
|
|
1592
|
+
"route": {
|
|
1593
|
+
"type": "string"
|
|
1594
|
+
},
|
|
1595
|
+
"relativeTo": {
|
|
1596
|
+
"type": "boolean"
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"required": [
|
|
1600
|
+
"route"
|
|
1601
|
+
]
|
|
1602
|
+
}
|
|
1603
|
+
]
|
|
1604
|
+
},
|
|
1377
1605
|
"navigationTableAction": {
|
|
1378
1606
|
"allOf": [
|
|
1379
1607
|
{
|
|
@@ -1404,6 +1632,29 @@
|
|
|
1404
1632
|
}
|
|
1405
1633
|
]
|
|
1406
1634
|
},
|
|
1635
|
+
"openApiMethod": {
|
|
1636
|
+
"allOf": [
|
|
1637
|
+
{
|
|
1638
|
+
"$ref": "#/definitions/baseMethod"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"type": "object",
|
|
1642
|
+
"properties": {
|
|
1643
|
+
"kind": {
|
|
1644
|
+
"type": "string",
|
|
1645
|
+
"const": "open-api",
|
|
1646
|
+
"default": "open-api"
|
|
1647
|
+
},
|
|
1648
|
+
"operationId": {
|
|
1649
|
+
"type": "string"
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
"required": [
|
|
1653
|
+
"operationId"
|
|
1654
|
+
]
|
|
1655
|
+
}
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1407
1658
|
"openApiTableAction": {
|
|
1408
1659
|
"allOf": [
|
|
1409
1660
|
{
|
|
@@ -1861,6 +2112,17 @@
|
|
|
1861
2112
|
"type": "string",
|
|
1862
2113
|
"const": "table-select"
|
|
1863
2114
|
},
|
|
2115
|
+
"dataSource": {
|
|
2116
|
+
"$ref": "#/definitions/dataSource"
|
|
2117
|
+
},
|
|
2118
|
+
"options": {
|
|
2119
|
+
"type": "object",
|
|
2120
|
+
"properties": {
|
|
2121
|
+
"method": {
|
|
2122
|
+
"$ref": "#/definitions/method"
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
1864
2126
|
"placeholder": {
|
|
1865
2127
|
"type": "string"
|
|
1866
2128
|
},
|
|
@@ -1919,6 +2181,9 @@
|
|
|
1919
2181
|
"properties": {
|
|
1920
2182
|
"upstream": {
|
|
1921
2183
|
"$ref": "#/definitions/upstream"
|
|
2184
|
+
},
|
|
2185
|
+
"method": {
|
|
2186
|
+
"$ref": "#/definitions/method"
|
|
1922
2187
|
}
|
|
1923
2188
|
}
|
|
1924
2189
|
},
|
|
@@ -6,7 +6,7 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
6
6
|
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
7
7
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
8
8
|
const tree_table_accordion_item_1 = require("../../../../lib/accordion/item/tree-table-accordion-item");
|
|
9
|
-
const backend_types_1 = require("../../../../lib/backend-types");
|
|
9
|
+
const backend_types_1 = require("../../../../lib/backend/backend-types");
|
|
10
10
|
const coerce_accordion_item_table_component_1 = require("../../../../lib/coerce-accordion-item-table-component");
|
|
11
11
|
const tree_table_options_1 = require("../../../../lib/tree-table-options");
|
|
12
12
|
const tree_table_component_1 = require("../../../table/tree-table-component");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-tree-table-component/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAGoC;AACpC,mEAKmC;AACnC,qEAA8D;AAE9D,wGAIkE;AAKlE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-tree-table-component/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAGoC;AACpC,mEAKmC;AACnC,qEAA8D;AAE9D,wGAIkE;AAKlE,yEAAqE;AACrE,iHAA8G;AAC9G,2EAAwE;AACxE,8EAG6C;AAC7C,6EAIwC;AAWxC,SAAgB,+CAA+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