@rxap/schematic-angular 16.2.0-dev.4 → 16.2.0-dev.40
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 +285 -0
- package/README.md +1 -1
- package/collection.json +15 -0
- package/package.json +15 -13
- package/src/lib/accordion-header.d.ts +5 -0
- package/src/lib/accordion-header.js +14 -5
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-identifier.d.ts +6 -2
- package/src/lib/accordion-identifier.js +2 -1
- package/src/lib/accordion-identifier.js.map +1 -1
- package/src/lib/accordion-item.d.ts +25 -17
- package/src/lib/accordion-item.js +81 -42
- 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 +5 -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 +18 -2
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.js +8 -4
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/coerce-tree-table-component.js +15 -3
- package/src/lib/coerce-tree-table-component.js.map +1 -1
- package/src/lib/css-class.d.ts +9 -0
- package/src/lib/css-class.js +52 -0
- package/src/lib/css-class.js.map +1 -0
- package/src/lib/data-grid-item.d.ts +46 -11
- package/src/lib/data-grid-item.js +86 -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/autocomplete-table-select-form-control.d.ts +9 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.js +58 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -0
- package/src/lib/form/control/base-form-control.d.ts +15 -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 +9 -0
- package/src/lib/form/control/form-control-kind.js +14 -0
- package/src/lib/form/control/form-control-kind.js.map +1 -0
- package/src/lib/form/control/form-control.d.ts +20 -0
- package/src/lib/form/control/form-control.js +43 -0
- package/src/lib/form/control/form-control.js.map +1 -0
- package/src/lib/form/control/form-field-form-control.d.ts +39 -0
- package/src/lib/form/control/form-field-form-control.js +81 -0
- package/src/lib/form/control/form-field-form-control.js.map +1 -0
- package/src/lib/form/control/input-form-control.d.ts +15 -0
- package/src/lib/form/control/input-form-control.js +75 -0
- package/src/lib/form/control/input-form-control.js.map +1 -0
- package/src/lib/form/control/select-form-control.d.ts +21 -0
- package/src/lib/form/control/select-form-control.js +30 -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 +46 -0
- package/src/lib/form/control/table-select-form-control.js +81 -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 +6 -0
- package/src/lib/load-handlebars-template.js +36 -0
- package/src/lib/load-handlebars-template.js.map +1 -0
- package/src/lib/minimum-table-component-options.d.ts +12 -2
- package/src/lib/minimum-table-component-options.js +26 -19
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +12 -2
- package/src/lib/minimum-table-options.js +22 -5
- 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 +89 -0
- package/src/lib/table/table-filter-column-rule.js.map +1 -0
- package/src/lib/table-action.js.map +1 -1
- package/src/lib/table-column.d.ts +46 -13
- package/src/lib/table-column.js +147 -120
- package/src/lib/table-column.js.map +1 -1
- package/src/lib/table-options.d.ts +1 -1
- package/src/lib/table-row-action.d.ts +4 -2
- package/src/lib/table-row-action.js +8 -7
- package/src/lib/table-row-action.js.map +1 -1
- package/src/lib/tree-table-options.d.ts +4 -2
- package/src/lib/tree-table-options.js +40 -4
- package/src/lib/tree-table-options.js.map +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 +2871 -0
- package/src/schematic-input.schema.json +560 -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 +1636 -132
- 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 +1597 -63
- 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 +36 -54
- 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 +1059 -73
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +20 -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 +1575 -187
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +20 -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 +19 -33
- 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 +1139 -292
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +20 -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 +23 -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 +1091 -260
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +20 -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 +24 -0
- package/src/schematics/accordion-item.schema.json +52 -0
- package/src/schematics/angular.schema.json +11 -11
- package/src/schematics/autocomplete-table-select-form-control.schema.json +96 -0
- package/src/schematics/backend.schema.json +13 -0
- package/src/schematics/base-accordion-item.schema.json +52 -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/css-class.schema.json +34 -0
- package/src/schematics/data-grid-accordion-item.schema.json +34 -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 +101 -68
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +1009 -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/autocomplete-table-select-form-control/index.d.ts +10 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +283 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.d.ts +4 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +450 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/template.schema.json +39 -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 +338 -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 -98
- 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 +406 -80
- 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 +207 -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 +448 -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 +926 -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 +926 -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 +25 -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 +755 -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 +908 -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 +926 -0
- package/src/schematics/form/form-group/template.schema.json +33 -0
- package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +25 -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 +19 -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 +83 -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 +76 -0
- package/src/schematics/pipe.schema.json +38 -0
- package/src/schematics/property.schema.json +28 -0
- package/src/schematics/select-form-control.schema.json +74 -0
- package/src/schematics/slide-toggle-form-control.schema.json +30 -0
- package/src/schematics/switch-accordion-item.schema.json +82 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +234 -119
- 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 +1064 -138
- package/src/schematics/table/action/form-table-action/template.schema.json +75 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +218 -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 +232 -92
- package/src/schematics/table/action/open-api-table-action/template.schema.json +56 -0
- package/src/schematics/table/action/operation-table-action/schema.json +205 -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 +995 -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 +195 -77
- package/src/schematics/table/table-action/template.schema.json +30 -0
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +248 -0
- package/src/schematics/table/table-component/index.d.ts +0 -5
- package/src/schematics/table/table-component/index.js +16 -128
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +1064 -295
- 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 +17 -0
- package/src/schematics/table/templates/component-table-column.hbs +19 -0
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +17 -0
- package/src/schematics/table/templates/date-table-column.hbs +18 -0
- package/src/schematics/table/templates/default-table-column.hbs +17 -0
- package/src/schematics/table/templates/icon-table-column.hbs +17 -0
- package/src/schematics/table/templates/link-table-column.hbs +17 -0
- package/src/schematics/table/templates/mat-column-def.hbs +3 -0
- package/src/schematics/table/templates/spinner-table-column.hbs +21 -0
- package/src/schematics/table/templates/tree-table-column.hbs +15 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +253 -0
- package/src/schematics/table/tree-table-component/index.d.ts +3 -0
- package/src/schematics/table/tree-table-component/index.js +33 -7
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +1041 -264
- package/src/schematics/table/tree-table-component/template.schema.json +20 -0
- package/src/schematics/table-accordion-item.schema.json +41 -0
- package/src/schematics/table-action.schema.json +65 -0
- package/src/schematics/table-column.schema.json +81 -0
- package/src/schematics/table-select-form-control.schema.json +102 -0
- package/src/schematics/table.schema.json +57 -0
- package/src/schematics/templates/css-class.hbs +1 -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-accordion-item.schema.json +41 -0
- package/src/schematics/tree-table.schema.json +41 -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 +236 -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/lib/merge-with-column-list.d.ts +0 -3
- package/src/lib/merge-with-column-list.js +0 -18
- package/src/lib/merge-with-column-list.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 -259
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-group-schematic",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"$ref": "#/definitions/formGroup"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"formName": {
|
|
15
|
+
"alias": "form",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "The name of the form where the form control should be added"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"formName"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"definitions": {
|
|
26
|
+
"angular": {
|
|
27
|
+
"$ref": "../../angular.schema.json"
|
|
28
|
+
},
|
|
29
|
+
"formGroup": {
|
|
30
|
+
"$ref": "../../form-group.schema.json"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<input [matAutocomplete]="auto{{classify control.name}}"
|
|
3
|
+
formControlName="{{control.name}}"
|
|
4
|
+
matInput
|
|
5
|
+
type="text"
|
|
6
|
+
{{#if parentControlContainer}}parentControlContainer{{/if~}}
|
|
7
|
+
{{#if control.placeholder}}i18n-placeholder placeholder="{{control.placeholder}}"{{/if~}}
|
|
8
|
+
/>
|
|
9
|
+
<mat-autocomplete #auto{{classify control.name}}="matAutocomplete">
|
|
10
|
+
<mat-option *rxapAutocompleteOptionsFromMethod="let option; matAutocomplete: auto{{classify control.name}}"
|
|
11
|
+
[value]="option.value">
|
|
12
|
+
\{{ option.display }}
|
|
13
|
+
</mat-option>
|
|
14
|
+
</mat-autocomplete>
|
|
15
|
+
<button
|
|
16
|
+
eurogardOpenTableSelectWindow
|
|
17
|
+
mat-icon-button
|
|
18
|
+
matPrefix
|
|
19
|
+
tabindex="-1"
|
|
20
|
+
role="button"
|
|
21
|
+
{{#if control.title}}i18n-label label="{{control.title}}"{{/if~}}
|
|
22
|
+
>
|
|
23
|
+
<mat-icon svgIcon="table-eye"></mat-icon>
|
|
24
|
+
</button>
|
|
25
|
+
{{/matFormField}}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
<fieldset
|
|
3
|
+
formArrayName="{{control.name}}"
|
|
4
|
+
class="flex flex-col gap-3 border border-solid border-gray-300 p-3"
|
|
5
|
+
{{#if parentControlContainer}}parentControlContainer{{/if~}}
|
|
6
|
+
>
|
|
7
|
+
{{#if control.legend}}
|
|
8
|
+
<legend class="text-sm" i18n>{{control.legend}}</legend>
|
|
9
|
+
{{/if}}
|
|
10
|
+
<button i18n mat-stroked-button rxapFormArrayItemAddButton>Add new entry</button>
|
|
11
|
+
<ng-container *rxapForFormArrayItem="let group">
|
|
12
|
+
<fieldset [formGroup]="group" class="flex flex-row gap-4 items-center border border-solid border-gray-300 p-3" rxapFormArrayRemovable>
|
|
13
|
+
{{#if control.groupLegend}}
|
|
14
|
+
<legend class="text-sm" i18n>{{control.groupLegend}}</legend>
|
|
15
|
+
{{/if}}
|
|
16
|
+
{{#each control.controlList}}
|
|
17
|
+
{{indent (compile this.handlebars control=this prefix=../prefix) 6}}
|
|
18
|
+
{{/each}}
|
|
19
|
+
<button color="warn" mat-icon-button rxapFormArrayItemRemoveButton>
|
|
20
|
+
<mat-icon>do_not_disturb_on</mat-icon>
|
|
21
|
+
</button>
|
|
22
|
+
<button color="accent" mat-icon-button rxapFormArrayItemRestoreButton>
|
|
23
|
+
<mat-icon>settings_backup_restore</mat-icon>
|
|
24
|
+
</button>
|
|
25
|
+
</fieldset>
|
|
26
|
+
</ng-container>
|
|
27
|
+
</fieldset>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
<fieldset
|
|
3
|
+
formGroupName="{{control.name}}"
|
|
4
|
+
class="flex flex-col gap-3 border border-solid border-gray-300 p-3"
|
|
5
|
+
{{#if parentControlContainer}}parentControlContainer{{/if~}}
|
|
6
|
+
>
|
|
7
|
+
{{#if control.legend}}
|
|
8
|
+
<legend class="text-sm" i18n>{{control.legend}}</legend>
|
|
9
|
+
{{/if}}
|
|
10
|
+
{{#each control.controlList}}
|
|
11
|
+
{{indent (compile this.handlebars control=this prefix=../prefix) 2}}
|
|
12
|
+
{{/each}}
|
|
13
|
+
</fieldset>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<input
|
|
3
|
+
matInput
|
|
4
|
+
formControlName="{{control.name}}"
|
|
5
|
+
type="{{control.inputType}}"
|
|
6
|
+
{{#if parentControlContainer}}parentControlContainer{{/if~}}
|
|
7
|
+
{{#if control.placeholder}}i18n-placeholder placeholder="{{control.placeholder}}"{{/if~}}
|
|
8
|
+
/>
|
|
9
|
+
{{/matFormField}}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
<mat-form-field{{#each control.formField.directiveList}} {{this.name}}{{/each}}{{#if control.formField.cssClass}} {{> cssClass cssClass=control.formField.cssClass}}{{/if}}>
|
|
3
|
+
{{#if control.formField.label}}
|
|
4
|
+
<mat-label>{{control.formField.label}}</mat-label>
|
|
5
|
+
{{/if}}
|
|
6
|
+
{{#if control.formField.prefixButton}}
|
|
7
|
+
{{#if control.formField.prefixButton.icon}}
|
|
8
|
+
<button tabindex="-1" type="button" matPrefix mat-icon-button{{#each control.formField.prefixButton.directiveList}} {{this.name}}{{/each}}>
|
|
9
|
+
<mat-icon>{{control.formField.prefixButton.icon}}</mat-icon>
|
|
10
|
+
</button>
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#if control.formField.prefixButton.svgIcon}}
|
|
13
|
+
<button tabindex="-1" type="button" matPrefix mat-icon-button{{#each control.formField.prefixButton.directiveList}} {{this.name}}{{/each}}>
|
|
14
|
+
<mat-icon>{{control.formField.prefixButton.svgIcon}}</mat-icon>
|
|
15
|
+
</button>
|
|
16
|
+
{{/if}}
|
|
17
|
+
{{/if}}
|
|
18
|
+
{{#if control.formField.suffixButton}}
|
|
19
|
+
{{#if control.formField.suffixButton.icon}}
|
|
20
|
+
<button tabindex="-1" type="button" matSuffix mat-icon-button{{#each control.formField.suffixButton.directiveList}} {{this.name}}{{/each}}>
|
|
21
|
+
<mat-icon>{{control.formField.suffixButton.icon}}</mat-icon>
|
|
22
|
+
</button>
|
|
23
|
+
{{/if}}
|
|
24
|
+
{{#if control.formField.suffixButton.svgIcon}}
|
|
25
|
+
<button tabindex="-1" type="button" matSuffix mat-icon-button{{#each control.formField.suffixButton.directiveList}} {{this.name}}{{/each}}>
|
|
26
|
+
<mat-icon>{{control.formField.suffixButton.svgIcon}}</mat-icon>
|
|
27
|
+
</button>
|
|
28
|
+
{{/if}}
|
|
29
|
+
{{/if}}
|
|
30
|
+
{{> @partial-block }}
|
|
31
|
+
</mat-form-field>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<mat-select formControlName="{{control.name}}"{{#if parentControlContainer}} parentControlContainer{{/if}}>
|
|
3
|
+
<mat-option *rxapOptionsFromMethod="let option" [value]="option.value">\{{option.display}}</mat-option>
|
|
4
|
+
</mat-select>
|
|
5
|
+
{{/matFormField}}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<eurogard-table-select-input
|
|
3
|
+
eurogardOpenTableSelectWindow
|
|
4
|
+
formControlName="{{control.name}}"
|
|
5
|
+
{{#if control.title}}i18n-label label="{{control.title}}"{{/if~}}
|
|
6
|
+
{{#if parentControlContainer}}parentControlContainer{{/if~}}
|
|
7
|
+
>
|
|
8
|
+
</eurogard-table-select-input>
|
|
9
|
+
<button
|
|
10
|
+
eurogardOpenTableSelectWindow
|
|
11
|
+
mat-icon-button
|
|
12
|
+
matPrefix
|
|
13
|
+
tabindex="-1"
|
|
14
|
+
role="button"
|
|
15
|
+
{{#if control.title}}i18n-label label="{{control.title}}"{{/if~}}
|
|
16
|
+
>
|
|
17
|
+
<mat-icon svgIcon="table-eye"></mat-icon>
|
|
18
|
+
</button>
|
|
19
|
+
{{/matFormField}}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-array",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"role": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "array"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"oneOf": [
|
|
16
|
+
{
|
|
17
|
+
"allOf": [
|
|
18
|
+
{
|
|
19
|
+
"$ref": "#/definitions/baseFormArray"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "default"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"definitions": {
|
|
36
|
+
"baseFormArray": {
|
|
37
|
+
"$ref": "./base-form-array.schema.json"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-component",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/formDefinition"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"window": {
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"description": "Whether the form can be opened in a window"
|
|
14
|
+
},
|
|
15
|
+
"role": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Define the role of the form"
|
|
18
|
+
},
|
|
19
|
+
"matFormFieldDefaultOptions": {
|
|
20
|
+
"appearance": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The appearance of the mat form field",
|
|
23
|
+
"enum": [
|
|
24
|
+
"legacy",
|
|
25
|
+
"standard",
|
|
26
|
+
"fill",
|
|
27
|
+
"outline"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"identifier": {
|
|
32
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"definitions": {
|
|
38
|
+
"formDefinition": {
|
|
39
|
+
"$ref": "./form-definition.schema.json"
|
|
40
|
+
},
|
|
41
|
+
"accordionIdentifier": {
|
|
42
|
+
"$ref": "./accordion-identifier.schema.json"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-control",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"role": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "control",
|
|
11
|
+
"default": "control"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"oneOf": [
|
|
17
|
+
{
|
|
18
|
+
"allOf": [
|
|
19
|
+
{
|
|
20
|
+
"$ref": "#/definitions/baseFormControl"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"kind": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"const": "default"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"$ref": "#/definitions/inputFormControl"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"$ref": "#/definitions/selectFormControl"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"$ref": "#/definitions/checkboxFormControl"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"$ref": "#/definitions/textareaFormControl"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"$ref": "#/definitions/tableSelectFormControl"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"$ref": "#/definitions/slideToggleFormControl"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControl"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"definitions": {
|
|
58
|
+
"baseFormControl": {
|
|
59
|
+
"$ref": "./base-form-control.schema.json"
|
|
60
|
+
},
|
|
61
|
+
"inputFormControl": {
|
|
62
|
+
"$ref": "./input-form-control.schema.json"
|
|
63
|
+
},
|
|
64
|
+
"selectFormControl": {
|
|
65
|
+
"$ref": "./select-form-control.schema.json"
|
|
66
|
+
},
|
|
67
|
+
"checkboxFormControl": {
|
|
68
|
+
"$ref": "./checkbox-form-control.schema.json"
|
|
69
|
+
},
|
|
70
|
+
"textareaFormControl": {
|
|
71
|
+
"$ref": "./textarea-form-control.schema.json"
|
|
72
|
+
},
|
|
73
|
+
"tableSelectFormControl": {
|
|
74
|
+
"$ref": "./table-select-form-control.schema.json"
|
|
75
|
+
},
|
|
76
|
+
"autocompleteTableSelectFormControl": {
|
|
77
|
+
"$ref": "./autocomplete-table-select-form-control.schema.json"
|
|
78
|
+
},
|
|
79
|
+
"slideToggleFormControl": {
|
|
80
|
+
"$ref": "./slide-toggle-form-control.schema.json"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-definition",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"controlList": {
|
|
7
|
+
"alias": "control",
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"$ref": "#/definitions/control"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"controlList"
|
|
16
|
+
],
|
|
17
|
+
"definitions": {
|
|
18
|
+
"control": {
|
|
19
|
+
"$ref": "./control.schema.json"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-field",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"label": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"prefixButton": {
|
|
10
|
+
"$ref": "#/definitions/button"
|
|
11
|
+
},
|
|
12
|
+
"suffixButton": {
|
|
13
|
+
"$ref": "#/definitions/button"
|
|
14
|
+
},
|
|
15
|
+
"hasClearButton": {
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {
|
|
20
|
+
"button": {
|
|
21
|
+
"$ref": "./button.schema.json"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-group",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"role": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "group"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"oneOf": [
|
|
16
|
+
{
|
|
17
|
+
"allOf": [
|
|
18
|
+
{
|
|
19
|
+
"$ref": "#/definitions/baseFormGroup"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "default"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"definitions": {
|
|
36
|
+
"baseFormGroup": {
|
|
37
|
+
"$ref": "./base-form-group.schema.json"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "header-button",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"permission": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"icon": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"svgIcon": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"refresh": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"description": "Whether the table action should refresh the table after execution",
|
|
18
|
+
"default": false
|
|
19
|
+
},
|
|
20
|
+
"confirm": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether the table action should confirm before execution",
|
|
23
|
+
"default": false
|
|
24
|
+
},
|
|
25
|
+
"tooltip": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The tooltip for the table action"
|
|
28
|
+
},
|
|
29
|
+
"errorMessage": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "The error message for the table action"
|
|
32
|
+
},
|
|
33
|
+
"successMessage": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "The success message for the table action"
|
|
36
|
+
},
|
|
37
|
+
"options": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"additionalProperties": true
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "input-form-control",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseFormControl"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "input"
|
|
14
|
+
},
|
|
15
|
+
"formField": {
|
|
16
|
+
"$ref": "#/definitions/formField"
|
|
17
|
+
},
|
|
18
|
+
"inputType": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"text",
|
|
22
|
+
"password",
|
|
23
|
+
"email",
|
|
24
|
+
"number",
|
|
25
|
+
"tel",
|
|
26
|
+
"url",
|
|
27
|
+
"checkbox",
|
|
28
|
+
"color",
|
|
29
|
+
"date",
|
|
30
|
+
"time",
|
|
31
|
+
"datetime-local",
|
|
32
|
+
"file",
|
|
33
|
+
"hidden",
|
|
34
|
+
"image",
|
|
35
|
+
"month",
|
|
36
|
+
"radio",
|
|
37
|
+
"reset",
|
|
38
|
+
"button",
|
|
39
|
+
"search",
|
|
40
|
+
"submit",
|
|
41
|
+
"week",
|
|
42
|
+
"range"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"placeholder": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"definitions": {
|
|
52
|
+
"formField": {
|
|
53
|
+
"$ref": "./form-field.schema.json"
|
|
54
|
+
},
|
|
55
|
+
"baseFormControl": {
|
|
56
|
+
"$ref": "./base-form-control.schema.json"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "minimum-table",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"propertyList": {
|
|
7
|
+
"alias": "property",
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"$ref": "#/definitions/property"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"upstream": {
|
|
14
|
+
"$ref": "#/definitions/upstream"
|
|
15
|
+
},
|
|
16
|
+
"columnList": {
|
|
17
|
+
"alias": "column",
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"$ref": "#/definitions/tableColumn"
|
|
21
|
+
},
|
|
22
|
+
"description": "List of table column names"
|
|
23
|
+
},
|
|
24
|
+
"actionList": {
|
|
25
|
+
"alias": "action",
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"$ref": "#/definitions/tableAction"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"headerButton": {
|
|
32
|
+
"$ref": "#/definitions/headerButton"
|
|
33
|
+
},
|
|
34
|
+
"modifiers": {
|
|
35
|
+
"alias": "modifier",
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"description": "The table modifiers"
|
|
41
|
+
},
|
|
42
|
+
"cssClass": {
|
|
43
|
+
"$ref": "#/definitions/cssClass"
|
|
44
|
+
},
|
|
45
|
+
"identifier": {
|
|
46
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
47
|
+
},
|
|
48
|
+
"sortable": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether the table is sortable"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"definitions": {
|
|
54
|
+
"headerButton": {
|
|
55
|
+
"$ref": "./header-button.schema.json"
|
|
56
|
+
},
|
|
57
|
+
"tableAction": {
|
|
58
|
+
"$ref": "./table-action.schema.json"
|
|
59
|
+
},
|
|
60
|
+
"tableColumn": {
|
|
61
|
+
"$ref": "./table-column.schema.json"
|
|
62
|
+
},
|
|
63
|
+
"property": {
|
|
64
|
+
"$ref": "./property.schema.json"
|
|
65
|
+
},
|
|
66
|
+
"upstream": {
|
|
67
|
+
"$ref": "./upstream.schema.json"
|
|
68
|
+
},
|
|
69
|
+
"cssClass": {
|
|
70
|
+
"$ref": "./css-class.schema.json"
|
|
71
|
+
},
|
|
72
|
+
"accordionIdentifier": {
|
|
73
|
+
"$ref": "./accordion-identifier.schema.json"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|