@rxap/schematic-angular 16.2.0-dev.2 → 16.2.0-dev.21
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 +159 -0
- package/README.md +1 -1
- package/collection.json +10 -0
- package/package.json +11 -9
- package/src/lib/accordion-header.d.ts +5 -0
- package/src/lib/accordion-header.js +9 -3
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-identifier.d.ts +4 -0
- package/src/lib/accordion-identifier.js.map +1 -1
- package/src/lib/accordion-item.d.ts +25 -17
- package/src/lib/accordion-item.js +72 -33
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/accordion-itme-kinds.d.ts +8 -0
- package/src/lib/accordion-itme-kinds.js +16 -0
- package/src/lib/accordion-itme-kinds.js.map +1 -0
- package/src/lib/coerce-accordion-component.js +7 -3
- package/src/lib/coerce-accordion-component.js.map +1 -1
- package/src/lib/coerce-accordion-item-table-component.js +1 -1
- package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
- package/src/lib/coerce-form-component.js +17 -2
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.js +9 -3
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/coerce-tree-table-component.js +16 -0
- package/src/lib/coerce-tree-table-component.js.map +1 -1
- package/src/lib/data-grid-item.d.ts +46 -11
- package/src/lib/data-grid-item.js +81 -6
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/data-grid-mode.d.ts +4 -0
- package/src/lib/data-grid-mode.js +9 -0
- package/src/lib/data-grid-mode.js.map +1 -0
- package/src/lib/data-grid-options.d.ts +12 -5
- package/src/lib/data-grid-options.js +43 -13
- package/src/lib/data-grid-options.js.map +1 -1
- package/src/lib/form/abstract-control.d.ts +29 -0
- package/src/lib/form/abstract-control.js +37 -0
- package/src/lib/form/abstract-control.js.map +1 -0
- package/src/lib/form/array/base-form-array.d.ts +18 -0
- package/src/lib/form/array/base-form-array.js +40 -0
- package/src/lib/form/array/base-form-array.js.map +1 -0
- package/src/lib/form/array/form-array-kind.d.ts +3 -0
- package/src/lib/form/array/form-array-kind.js +8 -0
- package/src/lib/form/array/form-array-kind.js.map +1 -0
- package/src/lib/form/array/form-array.d.ts +12 -0
- package/src/lib/form/array/form-array.js +18 -0
- package/src/lib/form/array/form-array.js.map +1 -0
- package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
- package/src/lib/form/coerce-control-component-imports.js +18 -0
- package/src/lib/form/coerce-control-component-imports.js.map +1 -0
- package/src/lib/form/control/base-form-control.d.ts +14 -0
- package/src/lib/form/control/base-form-control.js +19 -0
- package/src/lib/form/control/base-form-control.js.map +1 -0
- package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
- package/src/lib/form/control/checkbox-form-control.js +23 -0
- package/src/lib/form/control/checkbox-form-control.js.map +1 -0
- package/src/lib/form/control/form-control-kind.d.ts +8 -0
- package/src/lib/form/control/form-control-kind.js +13 -0
- package/src/lib/form/control/form-control-kind.js.map +1 -0
- package/src/lib/form/control/form-control.d.ts +18 -0
- package/src/lib/form/control/form-control.js +40 -0
- package/src/lib/form/control/form-control.js.map +1 -0
- package/src/lib/form/control/form-field-form-control.d.ts +33 -0
- package/src/lib/form/control/form-field-form-control.js +76 -0
- package/src/lib/form/control/form-field-form-control.js.map +1 -0
- package/src/lib/form/control/input-form-control.d.ts +14 -0
- package/src/lib/form/control/input-form-control.js +71 -0
- package/src/lib/form/control/input-form-control.js.map +1 -0
- package/src/lib/form/control/select-form-control.d.ts +18 -0
- package/src/lib/form/control/select-form-control.js +29 -0
- package/src/lib/form/control/select-form-control.js.map +1 -0
- package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
- package/src/lib/form/control/slide-toggle-form-control.js +23 -0
- package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
- package/src/lib/form/control/table-select-form-control.d.ts +43 -0
- package/src/lib/form/control/table-select-form-control.js +69 -0
- package/src/lib/form/control/table-select-form-control.js.map +1 -0
- package/src/lib/form/control.d.ts +8 -0
- package/src/lib/form/control.js +38 -0
- package/src/lib/form/control.js.map +1 -0
- package/src/lib/form/generate-form-template.d.ts +5 -0
- package/src/lib/form/generate-form-template.js +12 -0
- package/src/lib/form/generate-form-template.js.map +1 -0
- package/src/lib/form/group/base-form-group.d.ts +17 -0
- package/src/lib/form/group/base-form-group.js +20 -0
- package/src/lib/form/group/base-form-group.js.map +1 -0
- package/src/lib/form/group/form-group-kind.d.ts +3 -0
- package/src/lib/form/group/form-group-kind.js +8 -0
- package/src/lib/form/group/form-group-kind.js.map +1 -0
- package/src/lib/form/group/form-group.d.ts +12 -0
- package/src/lib/form/group/form-group.js +18 -0
- package/src/lib/form/group/form-group.js.map +1 -0
- package/src/lib/load-handlebars-template.d.ts +4 -0
- package/src/lib/load-handlebars-template.js +28 -0
- package/src/lib/load-handlebars-template.js.map +1 -0
- package/src/lib/merge-with-column-list.js +3 -1
- package/src/lib/merge-with-column-list.js.map +1 -1
- package/src/lib/minimum-table-component-options.d.ts +12 -2
- package/src/lib/minimum-table-component-options.js +14 -17
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +1 -1
- package/src/lib/minimum-table-options.js +2 -2
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/pipe-option.d.ts +11 -0
- package/src/lib/pipe-option.js +75 -0
- package/src/lib/pipe-option.js.map +1 -0
- package/src/lib/table/table-filter-column-rule.d.ts +13 -0
- package/src/lib/table/table-filter-column-rule.js +88 -0
- package/src/lib/table/table-filter-column-rule.js.map +1 -0
- package/src/lib/table-column.d.ts +20 -9
- package/src/lib/table-column.js +133 -113
- package/src/lib/table-column.js.map +1 -1
- package/src/lib/table-options.d.ts +1 -1
- package/src/lib/tree-table-options.d.ts +1 -1
- package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +10 -0
- package/src/lib/use-pick-from-table-interface-as-form-type.js +32 -0
- package/src/lib/use-pick-from-table-interface-as-form-type.js.map +1 -0
- package/src/lib/value-option.d.ts +12 -0
- package/src/lib/value-option.js +66 -0
- package/src/lib/value-option.js.map +1 -0
- package/src/schema.json +2626 -0
- package/src/schematic-input.schema.json +541 -0
- package/src/schematics/abstract-control.schema.json +78 -0
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +25 -0
- package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
- package/src/schematics/accordion/accordion-component/index.js +56 -122
- package/src/schematics/accordion/accordion-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
- package/src/schematics/accordion/accordion-component/schema.json +321 -139
- package/src/schematics/accordion/accordion-component/template.schema.json +105 -0
- package/src/schematics/accordion/accordion-item-component/index.d.ts +9 -4
- package/src/schematics/accordion/accordion-item-component/index.js +112 -86
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.d.ts +2 -2
- package/src/schematics/accordion/accordion-item-component/schema.json +282 -70
- package/src/schematics/accordion/accordion-item-component/template.schema.json +32 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +35 -51
- 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.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +963 -73
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +31 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js +16 -8
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +321 -189
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +81 -0
- package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/index.js +16 -19
- package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1005 -293
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +43 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +48 -84
- 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.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +968 -273
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +43 -0
- package/src/schematics/accordion/templates/accordion-header.hbs +6 -0
- package/src/schematics/accordion/templates/data-grid-accordion-item.hbs +15 -0
- package/src/schematics/accordion/templates/default-accordion-item.hbs +15 -0
- package/src/schematics/accordion/templates/switch-accordion-item.hbs +21 -0
- package/src/schematics/accordion/templates/table-accordion-item.hbs +15 -0
- package/src/schematics/accordion/templates/tree-table-accordion-item.hbs +15 -0
- package/src/schematics/accordion-identifier.schema.json +25 -0
- package/src/schematics/accordion-item.schema.json +59 -0
- package/src/schematics/angular.schema.json +11 -11
- package/src/schematics/backend.schema.json +13 -0
- package/src/schematics/base-form-array.schema.json +45 -0
- package/src/schematics/base-form-control.schema.json +27 -0
- package/src/schematics/base-form-group.schema.json +42 -0
- package/src/schematics/button.schema.json +30 -0
- package/src/schematics/checkbox-form-control.schema.json +30 -0
- package/src/schematics/control.schema.json +26 -0
- package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +35 -0
- package/src/schematics/data-grid-component/index.d.ts +2 -4
- package/src/schematics/data-grid-component/index.js +87 -52
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +924 -131
- package/src/schematics/data-grid-component/template.schema.json +20 -0
- package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
- package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
- package/src/schematics/data-grid-item.schema.json +50 -0
- package/src/schematics/data-grid.schema.json +66 -0
- package/src/schematics/dialog-component/schema.json +141 -65
- package/src/schematics/dialog-component/template.schema.json +62 -0
- package/src/schematics/form/control/input-form-control/index.d.ts +2 -2
- package/src/schematics/form/control/input-form-control/index.js +4 -27
- package/src/schematics/form/control/input-form-control/index.js.map +1 -1
- package/src/schematics/form/control/input-form-control/schema.d.ts +2 -3
- package/src/schematics/form/control/input-form-control/schema.json +341 -94
- package/src/schematics/form/control/input-form-control/template.schema.json +33 -0
- package/src/schematics/form/control/select-form-control/index.d.ts +4 -2
- package/src/schematics/form/control/select-form-control/index.js +140 -97
- package/src/schematics/form/control/select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/select-form-control/schema.d.ts +2 -4
- package/src/schematics/form/control/select-form-control/schema.json +348 -81
- package/src/schematics/form/control/select-form-control/template.schema.json +33 -0
- package/src/schematics/form/control/table-select-form-control/index.d.ts +5 -7
- package/src/schematics/form/control/table-select-form-control/index.js +205 -143
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -5
- package/src/schematics/form/control/table-select-form-control/schema.json +431 -84
- package/src/schematics/form/control/table-select-form-control/template.schema.json +39 -0
- package/src/schematics/form/form-array/index.d.ts +9 -0
- package/src/schematics/form/form-array/index.js +54 -0
- package/src/schematics/form/form-array/index.js.map +1 -0
- package/src/schematics/form/form-array/schema.d.ts +4 -0
- package/src/schematics/form/form-array/schema.json +823 -0
- package/src/schematics/form/form-array/template.schema.json +33 -0
- package/src/schematics/form/form-component/files/component/{__componentName__.component.html.template → __componentName__.component.html.hbs} +7 -4
- package/src/schematics/form/form-component/index.d.ts +4 -4
- package/src/schematics/form/form-component/index.js +22 -23
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/schema.d.ts +4 -2
- package/src/schematics/form/form-component/schema.json +841 -136
- package/src/schematics/form/form-component/template.schema.json +20 -0
- package/src/schematics/form/form-control/index.d.ts +6 -6
- package/src/schematics/form/form-control/index.js +23 -24
- package/src/schematics/form/form-control/index.js.map +1 -1
- package/src/schematics/form/form-control/schema.d.ts +2 -4
- package/src/schematics/form/form-control/schema.json +652 -67
- package/src/schematics/form/form-control/template.schema.json +33 -0
- package/src/schematics/form/form-definition/index.d.ts +2 -2
- package/src/schematics/form/form-definition/index.js +30 -4
- package/src/schematics/form/form-definition/index.js.map +1 -1
- package/src/schematics/form/form-definition/schema.d.ts +2 -2
- package/src/schematics/form/form-definition/schema.json +805 -118
- package/src/schematics/form/form-definition/template.schema.json +30 -0
- package/src/schematics/form/form-group/index.d.ts +9 -0
- package/src/schematics/form/form-group/index.js +54 -0
- package/src/schematics/form/form-group/index.js.map +1 -0
- package/src/schematics/form/form-group/schema.d.ts +4 -0
- package/src/schematics/form/form-group/schema.json +823 -0
- package/src/schematics/form/form-group/template.schema.json +33 -0
- package/src/schematics/form/templates/checkbox-form-control.hbs +9 -0
- package/src/schematics/form/templates/default-form-array.hbs +27 -0
- package/src/schematics/form/templates/default-form-control.hbs +2 -0
- package/src/schematics/form/templates/default-form-group.hbs +13 -0
- package/src/schematics/form/templates/input-form-control.hbs +9 -0
- package/src/schematics/form/templates/mat-form-field.hbs +31 -0
- package/src/schematics/form/templates/select-form-control.hbs +5 -0
- package/src/schematics/form/templates/slide-toggle-form-control.hbs +8 -0
- package/src/schematics/form/templates/table-select-form-control.hbs +18 -0
- package/src/schematics/form-array.schema.json +40 -0
- package/src/schematics/form-component.schema.json +45 -0
- package/src/schematics/form-control.schema.json +77 -0
- package/src/schematics/form-definition.schema.json +22 -0
- package/src/schematics/form-field.schema.json +24 -0
- package/src/schematics/form-group.schema.json +40 -0
- package/src/schematics/general.schema.json +1 -4
- package/src/schematics/header-button.schema.json +42 -0
- package/src/schematics/input-form-control.schema.json +59 -0
- package/src/schematics/minimum-table.schema.json +60 -0
- package/src/schematics/pipe.schema.json +38 -0
- package/src/schematics/property.schema.json +31 -0
- package/src/schematics/select-form-control.schema.json +68 -0
- package/src/schematics/slide-toggle-form-control.schema.json +30 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +207 -123
- package/src/schematics/table/action/dialog-table-action/template.schema.json +58 -0
- package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
- package/src/schematics/table/action/form-table-action/index.js +3 -4
- package/src/schematics/table/action/form-table-action/index.js.map +1 -1
- package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
- package/src/schematics/table/action/form-table-action/schema.json +949 -139
- package/src/schematics/table/action/form-table-action/template.schema.json +75 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +187 -80
- package/src/schematics/table/action/navigation-table-action/template.schema.json +28 -0
- package/src/schematics/table/action/open-api-table-action/schema.json +203 -94
- package/src/schematics/table/action/open-api-table-action/template.schema.json +56 -0
- package/src/schematics/table/action/operation-table-action/schema.json +174 -84
- package/src/schematics/table/action/operation-table-action/template.schema.json +14 -0
- package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
- package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
- 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 +2 -2
- package/src/schematics/table/header-button/form-table-header-button/schema.json +910 -98
- package/src/schematics/table/header-button/form-table-header-button/template.schema.json +33 -0
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +167 -71
- package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +28 -0
- package/src/schematics/table/table-action/schema.json +165 -78
- package/src/schematics/table/table-action/template.schema.json +30 -0
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +241 -0
- package/src/schematics/table/table-component/index.d.ts +2 -4
- package/src/schematics/table/table-component/index.js +14 -120
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +898 -276
- package/src/schematics/table/table-component/template.schema.json +20 -0
- package/src/schematics/table/table-header-button/schema.json +145 -63
- package/src/schematics/table/table-header-button/template.schema.json +30 -0
- package/src/schematics/table/templates/boolean-table-column.hbs +10 -0
- package/src/schematics/table/templates/component-table-column.hbs +12 -0
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +10 -0
- package/src/schematics/table/templates/date-table-column.hbs +11 -0
- package/src/schematics/table/templates/default-table-column.hbs +8 -0
- package/src/schematics/table/templates/icon-table-column.hbs +10 -0
- package/src/schematics/table/templates/link-table-column.hbs +10 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +255 -0
- package/src/schematics/table/tree-table-component/index.d.ts +3 -0
- package/src/schematics/table/tree-table-component/index.js +28 -7
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +889 -260
- package/src/schematics/table/tree-table-component/template.schema.json +20 -0
- package/src/schematics/table-action.schema.json +61 -0
- package/src/schematics/table-column.schema.json +75 -0
- package/src/schematics/table-select-form-control.schema.json +96 -0
- package/src/schematics/table.schema.json +57 -0
- package/src/schematics/templates/pipe.hbs +4 -0
- package/src/schematics/textarea-form-control.schema.json +32 -0
- package/src/schematics/tree-component/schema.json +115 -70
- package/src/schematics/tree-component/template.schema.json +36 -0
- package/src/schematics/tree-table.schema.json +40 -0
- package/src/schematics/type.schema.json +35 -0
- package/src/schematics/upstream.schema.json +56 -0
- package/src/schematics/value.schema.json +26 -0
- package/src/template.schema.json +212 -0
- package/src/lib/accordion-itme-types.d.ts +0 -8
- package/src/lib/accordion-itme-types.js +0 -16
- package/src/lib/accordion-itme-types.js.map +0 -1
- package/src/lib/form-component-control.d.ts +0 -12
- package/src/lib/form-component-control.js +0 -15
- package/src/lib/form-component-control.js.map +0 -1
- package/src/lib/form-definition-control.d.ts +0 -59
- package/src/lib/form-definition-control.js +0 -156
- package/src/lib/form-definition-control.js.map +0 -1
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +0 -94
- package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +0 -10
- package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +0 -42
- package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +0 -25
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +0 -299
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +0 -213
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "accordion-item-data-grid-component-schematic",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"$ref": "#/definitions/accordionItem"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"dataGrid": {
|
|
15
|
+
"$ref": "#/definitions/dataGrid"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"definitions": {
|
|
21
|
+
"accordionItem": {
|
|
22
|
+
"$ref": "../../../accordion-item.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"angular": {
|
|
25
|
+
"$ref": "../../../angular.schema.json"
|
|
26
|
+
},
|
|
27
|
+
"dataGrid": {
|
|
28
|
+
"$ref": "../../../data-grid.schema.json"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -3,7 +3,7 @@ import { NormalizedSwitchAccordionItem } from '../../../../lib/accordion-item';
|
|
|
3
3
|
import { NormalizedAngularOptions } from '../../../../lib/angular-options';
|
|
4
4
|
import { NormalizedAccordionItemStandaloneComponentOptions } from '../../accordion-item-component';
|
|
5
5
|
import { AccordionItemSwitchComponentOptions } from './schema';
|
|
6
|
-
export interface NormalizedAccordionItemSwitchComponentOptions extends Omit<Readonly<Normalized<AccordionItemSwitchComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>, 'switch' | 'importList'>, Omit<NormalizedSwitchAccordionItem, '
|
|
6
|
+
export interface NormalizedAccordionItemSwitchComponentOptions extends Omit<Readonly<Normalized<AccordionItemSwitchComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>, 'switch' | 'importList' | 'propertyList'>, Omit<NormalizedSwitchAccordionItem, 'kind'> {
|
|
7
7
|
}
|
|
8
8
|
export declare function NormalizeAccordionItemSwitchComponentOptions(options: Readonly<AccordionItemSwitchComponentOptions>): Readonly<NormalizedAccordionItemSwitchComponentOptions>;
|
|
9
9
|
export default function (options: AccordionItemSwitchComponentOptions): () => import("@angular-devkit/schematics").Rule;
|
|
@@ -3,28 +3,36 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NormalizeAccordionItemSwitchComponentOptions = void 0;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
6
|
+
const utilities_1 = require("@rxap/utilities");
|
|
6
7
|
const accordion_item_1 = require("../../../../lib/accordion-item");
|
|
7
|
-
const
|
|
8
|
-
const angular_options_1 = require("../../../../lib/angular-options");
|
|
8
|
+
const accordion_itme_kinds_1 = require("../../../../lib/accordion-itme-kinds");
|
|
9
9
|
const accordion_item_component_1 = require("../../accordion-item-component");
|
|
10
10
|
function NormalizeAccordionItemSwitchComponentOptions(options) {
|
|
11
11
|
const normalizedAccordionItemComponentOptions = (0, accordion_item_component_1.NormalizeAccordionItemStandaloneComponentOptions)(options);
|
|
12
|
-
return Object.freeze(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), (0, accordion_item_1.NormalizeSwitchAccordionItem)(Object.assign(Object.assign({}, options), {
|
|
12
|
+
return Object.freeze(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), (0, accordion_item_1.NormalizeSwitchAccordionItem)(Object.assign(Object.assign({}, options), { kind: accordion_itme_kinds_1.AccordionItemKinds.Switch }))));
|
|
13
13
|
}
|
|
14
14
|
exports.NormalizeAccordionItemSwitchComponentOptions = NormalizeAccordionItemSwitchComponentOptions;
|
|
15
15
|
function printOptions(options) {
|
|
16
|
-
(0,
|
|
16
|
+
(0, accordion_item_component_1.printAccordionItemComponentOptions)(options, 'accordion-item-switch-component');
|
|
17
17
|
}
|
|
18
18
|
function caseRule(normalizedOptions, item) {
|
|
19
|
-
const { project, feature, backend, accordionName,
|
|
19
|
+
const { overwrite, directory, project, feature, replace, nestModule, backend, accordionName, shared, prefix, identifier, } = normalizedOptions;
|
|
20
20
|
if (!directory) {
|
|
21
21
|
throw new Error('The directory option is not defined! Ensure the accordion item switch component normalizer is correct!');
|
|
22
22
|
}
|
|
23
|
+
const itemOptions = Object.assign(Object.assign({}, (0, utilities_1.DeleteEmptyProperties)(Object.assign({}, item))), { project,
|
|
24
|
+
feature,
|
|
25
|
+
replace,
|
|
26
|
+
nestModule,
|
|
27
|
+
backend,
|
|
28
|
+
accordionName,
|
|
29
|
+
shared,
|
|
30
|
+
prefix,
|
|
31
|
+
identifier, overwrite: overwrite || item.modifiers.includes('overwrite') });
|
|
32
|
+
console.log('itemOptions', itemOptions);
|
|
23
33
|
return (0, schematics_1.chain)([
|
|
24
34
|
() => console.log(`Create accordion switch item component '${item.name}' ...`),
|
|
25
|
-
(0, schematics_utilities_1.ExecuteSchematic)('accordion-item-component',
|
|
26
|
-
feature,
|
|
27
|
-
accordionName, overwrite: overwrite || item.modifiers.includes('overwrite'), backend })),
|
|
35
|
+
(0, schematics_utilities_1.ExecuteSchematic)('accordion-item-component', itemOptions),
|
|
28
36
|
]);
|
|
29
37
|
}
|
|
30
38
|
function caseListRule(normalizedOptions) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-switch-component/index.ts"],"names":[],"mappings":";;;AAAA,2DAGoC;AACpC,qEAA8D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-switch-component/index.ts"],"names":[],"mappings":";;;AAAA,2DAGoC;AACpC,qEAA8D;AAC9D,+CAGyB;AACzB,mEAIwC;AACxC,+EAA0E;AAE1E,6EAIwC;AAOxC,SAAgB,4CAA4C,CAC1D,OAAsD;IAEtD,MAAM,uCAAuC,GAAG,IAAA,2EAAgD,EAAC,OAAO,CAAC,CAAC;IAC1G,OAAO,MAAM,CAAC,MAAM,iCACf,uCAAuC,GACvC,IAAA,6CAA4B,kCAC1B,OAAO,KACV,IAAI,EAAE,yCAAkB,CAAC,MAAM,IAC/B,EACF,CAAC;AACL,CAAC;AAXD,oGAWC;AAED,SAAS,YAAY,CAAC,OAAsD;IAC1E,IAAA,6DAAkC,EAAC,OAAO,EAAE,iCAAiC,CAAC,CAAC;AACjF,CAAC;AAED,SAAS,QAAQ,CACf,iBAAgE,EAChE,IAAiC;IAGjC,MAAM,EACJ,SAAS,EACT,SAAS,EACT,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EACV,OAAO,EACP,aAAa,EACb,MAAM,EACN,MAAM,EACN,UAAU,GACX,GAAG,iBAAiB,CAAC;IAEtB,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,IAAI,KAAK,CAAC,wGAAwG,CAAC,CAAC;KAC3H;IAED,MAAM,WAAW,mCACZ,IAAA,iCAAqB,oBAAM,IAAI,EAAG,KACrC,OAAO;QACP,OAAO;QACP,OAAO;QACP,UAAU;QACV,OAAO;QACP,aAAa;QACb,MAAM;QACN,MAAM;QACN,UAAU,EACV,SAAS,EAAE,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,GAC7D,CAAC;IAEF,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAExC,OAAO,IAAA,kBAAK,EAAC;QACX,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,2CAA4C,IAAI,CAAC,IAAK,OAAO,CAAC;QAChF,IAAA,uCAAgB,EAAC,0BAA0B,EAAE,WAAW,CAAC;KAC1D,CAAC,CAAC;AAEL,CAAC;AAED,SAAS,YAAY,CAAC,iBAAgE;IACpF,MAAM,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,GAAG,iBAAiB,CAAC;IACzD,OAAO,IAAA,kBAAK,EAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACjC,OAAO,IAAA,kBAAK,EAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC,CAAC;AACN,CAAC;AAED,SAAS,eAAe,CAAC,iBAAgE;IACvF,MAAM,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,EAAE,GAAG,iBAAiB,CAAC;IACtD,IAAI,WAAW,EAAE;QACf,OAAO,IAAA,kBAAK,EAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;KACrF;IACD,OAAO,IAAA,iBAAI,GAAE,CAAC;AAChB,CAAC;AAED,mBAAyB,OAA4C;IACnE,MAAM,iBAAiB,GAAG,4CAA4C,CAAC,OAAO,CAAC,CAAC;IAChF,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAChC,OAAO,GAAG,EAAE;QACV,OAAO,IAAA,kBAAK,EAAC;YACX,YAAY,CAAC,iBAAiB,CAAC;YAC/B,eAAe,CAAC,iBAAiB,CAAC;SACnC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AATD,4BASC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SwitchAccordionItem } from '../../../../lib/accordion-item';
|
|
2
2
|
import { AccordionItemComponentOptions } from '../../accordion-item-component/schema';
|
|
3
3
|
|
|
4
|
-
export type AccordionItemSwitchComponentOptions = Omit<SwitchAccordionItem & AccordionItemComponentOptions, '
|
|
4
|
+
export type AccordionItemSwitchComponentOptions = Omit<SwitchAccordionItem & AccordionItemComponentOptions, 'kind'>
|
|
@@ -1,226 +1,358 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "accordion-item-
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"alias": "name",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "The name of the accordion item",
|
|
10
|
-
"x-prompt": "Which name should the accordion item module have?"
|
|
11
|
-
},
|
|
12
|
-
"project": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The target project where the accordion item module should be added.",
|
|
15
|
-
"x-prompt": "To which project should the accordion item module be added?"
|
|
3
|
+
"$id": "accordion-item-switch-component-schematic",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
16
7
|
},
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"description": "The feature name where the accordion item module should be added.",
|
|
20
|
-
"x-prompt": "To which feature should the accordion item module be added?"
|
|
21
|
-
},
|
|
22
|
-
"accordionName": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The name of the accordion module where the item should be added.",
|
|
25
|
-
"x-prompt": "To which accordion module should the accordion item module be added?"
|
|
8
|
+
{
|
|
9
|
+
"$ref": "#/definitions/accordionItem"
|
|
26
10
|
},
|
|
27
|
-
|
|
28
|
-
"type": "
|
|
29
|
-
"
|
|
30
|
-
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"switch": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"property": {
|
|
18
|
+
"$ref": "#/definitions/property"
|
|
19
|
+
},
|
|
20
|
+
"defaultCase": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"itemList": {
|
|
24
|
+
"alias": "item",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "#/definitions/accordionItem"
|
|
28
|
+
},
|
|
29
|
+
"description": "The list of accordion expansion panels"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"itemList"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"case": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"test": {
|
|
42
|
+
"anyOf": [
|
|
43
|
+
{
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"itemList": {
|
|
55
|
+
"alias": "item",
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"$ref": "#/definitions/accordionItem"
|
|
59
|
+
},
|
|
60
|
+
"description": "The list of accordion expansion panels"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"test",
|
|
65
|
+
"itemList"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"property",
|
|
72
|
+
"case"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"definitions": {
|
|
79
|
+
"accordionIdentifier": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"property": {
|
|
83
|
+
"$ref": "#/definitions/property"
|
|
84
|
+
},
|
|
85
|
+
"source": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"enum": [
|
|
88
|
+
"route"
|
|
89
|
+
],
|
|
90
|
+
"default": "route"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"property"
|
|
95
|
+
]
|
|
31
96
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
97
|
+
"accordionItem": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {
|
|
100
|
+
"kind": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": [
|
|
103
|
+
"default",
|
|
104
|
+
"table",
|
|
105
|
+
"data-grid",
|
|
106
|
+
"data-grid-collection",
|
|
107
|
+
"tree-table",
|
|
108
|
+
"switch"
|
|
109
|
+
],
|
|
110
|
+
"description": "The type of the accordion item",
|
|
111
|
+
"default": "panel"
|
|
36
112
|
},
|
|
37
|
-
{
|
|
113
|
+
"modifiers": {
|
|
114
|
+
"alias": "modifier",
|
|
38
115
|
"type": "array",
|
|
39
116
|
"items": {
|
|
40
117
|
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"description": "The modifiers to apply to the accordion item type"
|
|
120
|
+
},
|
|
121
|
+
"identifier": {
|
|
122
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
123
|
+
},
|
|
124
|
+
"title": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"description": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"upstream": {
|
|
131
|
+
"$ref": "#/definitions/upstream"
|
|
132
|
+
},
|
|
133
|
+
"propertyList": {
|
|
134
|
+
"alias": "property",
|
|
135
|
+
"type": "array",
|
|
136
|
+
"items": {
|
|
137
|
+
"$ref": "#/definitions/property"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"additionalProperties": true
|
|
142
|
+
},
|
|
143
|
+
"angular": {
|
|
144
|
+
"allOf": [
|
|
145
|
+
{
|
|
146
|
+
"$ref": "#/definitions/general"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"componentName": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"name": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"context": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
160
|
+
},
|
|
161
|
+
"nestModule": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "The module name for the table nest operations"
|
|
164
|
+
},
|
|
165
|
+
"controllerName": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"backend": {
|
|
169
|
+
"$ref": "#/definitions/backend"
|
|
170
|
+
},
|
|
171
|
+
"directory": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "A directory name or absolute path where the files should be generated. Relative to the project and feature base path if a feature is defined"
|
|
174
|
+
},
|
|
175
|
+
"shared": {
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"description": "Whether the generated code is used across the project",
|
|
178
|
+
"default": false
|
|
179
|
+
},
|
|
180
|
+
"scope": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"prefix": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"openApi": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"additionalProperties": true
|
|
189
|
+
}
|
|
41
190
|
}
|
|
42
191
|
}
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"backend": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "The backend that should be used to handel data",
|
|
197
|
+
"enum": [
|
|
198
|
+
"none",
|
|
199
|
+
"nestjs",
|
|
200
|
+
"open-api",
|
|
201
|
+
"local"
|
|
43
202
|
],
|
|
44
|
-
"
|
|
45
|
-
"default": false
|
|
203
|
+
"default": "none"
|
|
46
204
|
},
|
|
47
|
-
"
|
|
205
|
+
"general": {
|
|
48
206
|
"type": "object",
|
|
49
207
|
"properties": {
|
|
50
|
-
"
|
|
208
|
+
"project": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "Project name where the files should be generated"
|
|
211
|
+
},
|
|
212
|
+
"feature": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"description": "Feature name where the files should be generated"
|
|
215
|
+
},
|
|
216
|
+
"overwrite": {
|
|
217
|
+
"anyOf": [
|
|
218
|
+
{
|
|
219
|
+
"type": "boolean"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "array",
|
|
223
|
+
"items": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"description": "Overwrite existing files",
|
|
229
|
+
"default": false
|
|
230
|
+
},
|
|
231
|
+
"overwriteHtml": {
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"default": false
|
|
234
|
+
},
|
|
235
|
+
"replace": {
|
|
236
|
+
"type": "boolean",
|
|
237
|
+
"default": false
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"property": {
|
|
242
|
+
"oneOf": [
|
|
243
|
+
{
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
51
247
|
"type": "object",
|
|
52
248
|
"properties": {
|
|
53
249
|
"name": {
|
|
54
250
|
"type": "string"
|
|
55
251
|
},
|
|
56
252
|
"type": {
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
{
|
|
62
|
-
"type": "object",
|
|
63
|
-
"properties": {
|
|
64
|
-
"name": {
|
|
65
|
-
"type": "string"
|
|
66
|
-
},
|
|
67
|
-
"isTypeOnly": {
|
|
68
|
-
"type": "boolean"
|
|
69
|
-
},
|
|
70
|
-
"moduleSpecifier": {
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
"namedImport": {
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
"namespaceImport": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"defaultImport": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"required": [
|
|
84
|
-
"name"
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
]
|
|
253
|
+
"$ref": "#/definitions/type"
|
|
254
|
+
},
|
|
255
|
+
"isArray": {
|
|
256
|
+
"type": "boolean"
|
|
88
257
|
}
|
|
89
258
|
},
|
|
90
259
|
"required": [
|
|
91
260
|
"name"
|
|
92
261
|
]
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"type": {
|
|
266
|
+
"oneOf": [
|
|
267
|
+
{
|
|
268
|
+
"type": "string"
|
|
93
269
|
},
|
|
94
|
-
|
|
270
|
+
{
|
|
95
271
|
"type": "object",
|
|
96
272
|
"properties": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"panel",
|
|
115
|
-
"table",
|
|
116
|
-
"data-grid",
|
|
117
|
-
"data-grid-collection",
|
|
118
|
-
"tree-table",
|
|
119
|
-
"switch"
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
"modifiers": {
|
|
123
|
-
"type": "array",
|
|
124
|
-
"default": [],
|
|
125
|
-
"items": {
|
|
126
|
-
"type": "string"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"title": {
|
|
130
|
-
"type": "string"
|
|
131
|
-
},
|
|
132
|
-
"description": {
|
|
133
|
-
"type": "string"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"additionalProperties": true,
|
|
137
|
-
"required": ["name"]
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"description": "The name of the accordion expansion panel"
|
|
141
|
-
},
|
|
142
|
-
"description": "The list of accordion expansion panels"
|
|
273
|
+
"name": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
},
|
|
276
|
+
"isTypeOnly": {
|
|
277
|
+
"type": "boolean"
|
|
278
|
+
},
|
|
279
|
+
"moduleSpecifier": {
|
|
280
|
+
"type": "string"
|
|
281
|
+
},
|
|
282
|
+
"namedImport": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
},
|
|
285
|
+
"namespaceImport": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"defaultImport": {
|
|
289
|
+
"type": "string"
|
|
143
290
|
}
|
|
144
291
|
},
|
|
145
|
-
"required": [
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
292
|
+
"required": [
|
|
293
|
+
"name"
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"upstream": {
|
|
299
|
+
"oneOf": [
|
|
300
|
+
{
|
|
301
|
+
"type": "object",
|
|
302
|
+
"properties": {
|
|
303
|
+
"kind": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"enum": [
|
|
306
|
+
"open-api"
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
"operationId": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
"scope": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
"mapper": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {
|
|
318
|
+
"pageIndex": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"pageSize": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
"sortBy": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"sortDirection": {
|
|
328
|
+
"type": "string"
|
|
329
|
+
},
|
|
330
|
+
"list": {
|
|
331
|
+
"type": "string"
|
|
332
|
+
},
|
|
333
|
+
"total": {
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
"filter": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"eq": {
|
|
171
340
|
"type": "string"
|
|
172
341
|
},
|
|
173
|
-
{
|
|
174
|
-
"type": "
|
|
175
|
-
"properties": {
|
|
176
|
-
"name": {
|
|
177
|
-
"type": "string"
|
|
178
|
-
},
|
|
179
|
-
"type": {
|
|
180
|
-
"type": "string",
|
|
181
|
-
"enum": [
|
|
182
|
-
"panel",
|
|
183
|
-
"table",
|
|
184
|
-
"data-grid",
|
|
185
|
-
"data-grid-collection",
|
|
186
|
-
"tree-table",
|
|
187
|
-
"switch"
|
|
188
|
-
]
|
|
189
|
-
},
|
|
190
|
-
"modifiers": {
|
|
191
|
-
"type": "array",
|
|
192
|
-
"default": [],
|
|
193
|
-
"items": {
|
|
194
|
-
"type": "string"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"title": {
|
|
198
|
-
"type": "string"
|
|
199
|
-
},
|
|
200
|
-
"description": {
|
|
201
|
-
"type": "string"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"additionalProperties": true,
|
|
205
|
-
"required": ["name"]
|
|
342
|
+
"join": {
|
|
343
|
+
"type": "string"
|
|
206
344
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
},
|
|
210
|
-
"description": "The list of accordion expansion panels"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
211
347
|
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"required": [
|
|
351
|
+
"kind",
|
|
352
|
+
"operationId"
|
|
353
|
+
]
|
|
215
354
|
}
|
|
216
|
-
|
|
217
|
-
"required": ["property", "case"]
|
|
355
|
+
]
|
|
218
356
|
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
"itemName",
|
|
222
|
-
"project",
|
|
223
|
-
"feature",
|
|
224
|
-
"accordionName"
|
|
225
|
-
]
|
|
226
|
-
}
|
|
357
|
+
}
|
|
358
|
+
}
|