@rxap/schematic-angular 16.2.0-dev.9 → 16.2.0
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 +394 -0
- package/README.md +1 -1
- package/collection.json +20 -0
- package/package.json +19 -20
- package/src/lib/accordion-header.js +8 -5
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-identifier.d.ts +8 -4
- package/src/lib/accordion-identifier.js +4 -3
- package/src/lib/accordion-identifier.js.map +1 -1
- package/src/lib/accordion-item.d.ts +13 -6
- package/src/lib/accordion-item.js +42 -15
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/angular-options.d.ts +2 -2
- package/src/lib/angular-options.js.map +1 -1
- package/src/lib/coerce-accordion-component.js +4 -2
- 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 +16 -3
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.js +16 -5
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/coerce-tree-table-component.js +1 -5
- package/src/lib/coerce-tree-table-component.js.map +1 -1
- package/src/lib/component-options.d.ts +10 -0
- package/src/lib/component-options.js +14 -0
- package/src/lib/component-options.js.map +1 -0
- 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 +45 -7
- package/src/lib/data-grid-item.js +102 -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 +10 -5
- package/src/lib/data-grid-options.js +42 -15
- package/src/lib/data-grid-options.js.map +1 -1
- package/src/lib/form/abstract-control.d.ts +31 -0
- package/src/lib/form/abstract-control.js +48 -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 +41 -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 +10 -0
- package/src/lib/form/control/form-control-kind.js +15 -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 +46 -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 +87 -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 +22 -0
- package/src/lib/form/control/select-form-control.js +47 -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 +82 -0
- package/src/lib/form/control/table-select-form-control.js.map +1 -0
- package/src/lib/form/control/textarea-form-control.d.ts +22 -0
- package/src/lib/form/control/textarea-form-control.js +52 -0
- package/src/lib/form/control/textarea-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 +2 -2
- 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 +3 -0
- package/src/lib/load-handlebars-template.js +13 -1
- package/src/lib/load-handlebars-template.js.map +1 -1
- package/src/lib/minimum-table-component-options.d.ts +1 -1
- package/src/lib/minimum-table-component-options.js +22 -15
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +22 -4
- package/src/lib/minimum-table-options.js +40 -6
- 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/route-component.d.ts +16 -0
- package/src/lib/route-component.js +15 -0
- package/src/lib/route-component.js.map +1 -0
- package/src/lib/table/column/base-table-column.d.ts +61 -0
- package/src/lib/table/column/base-table-column.js +309 -0
- package/src/lib/table/column/base-table-column.js.map +1 -0
- package/src/lib/table/column/boolean-table-column.d.ts +8 -0
- package/src/lib/table/column/boolean-table-column.js +10 -0
- package/src/lib/table/column/boolean-table-column.js.map +1 -0
- package/src/lib/table/column/custom-table-column.d.ts +11 -0
- package/src/lib/table/column/custom-table-column.js +11 -0
- package/src/lib/table/column/custom-table-column.js.map +1 -0
- package/src/lib/table/column/date-table-column.d.ts +11 -0
- package/src/lib/table/column/date-table-column.js +11 -0
- package/src/lib/table/column/date-table-column.js.map +1 -0
- package/src/lib/table/sortable.d.ts +16 -0
- package/src/lib/table/sortable.js +27 -0
- package/src/lib/table/sortable.js.map +1 -0
- package/src/lib/table/table-column-kind.d.ts +13 -0
- package/src/lib/table/table-column-kind.js +21 -0
- package/src/lib/table/table-column-kind.js.map +1 -0
- package/src/lib/table/table-column-modifier.d.ts +12 -0
- package/src/lib/table/table-column-modifier.js +20 -0
- package/src/lib/table/table-column-modifier.js.map +1 -0
- package/src/lib/table/table-column-pipe.d.ts +4 -0
- package/src/lib/table/table-column-pipe.js +3 -0
- package/src/lib/table/table-column-pipe.js.map +1 -0
- package/src/lib/table/table-column-sticky.d.ts +5 -0
- package/src/lib/table/table-column-sticky.js +13 -0
- package/src/lib/table/table-column-sticky.js.map +1 -0
- package/src/lib/table/table-column.d.ts +6 -0
- package/src/lib/table/table-column.js +36 -0
- package/src/lib/table/table-column.js.map +1 -0
- package/src/lib/table/table-filter-column-rule.js +5 -4
- package/src/lib/table/table-filter-column-rule.js.map +1 -1
- package/src/lib/table-action.js.map +1 -1
- package/src/lib/table-options.d.ts +4 -3
- package/src/lib/table-options.js +23 -3
- package/src/lib/table-options.js.map +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 -3
- package/src/lib/tree-table-options.js +40 -3
- package/src/lib/tree-table-options.js.map +1 -1
- package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +1 -1
- 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 +3319 -0
- package/src/schematic-input.schema.json +579 -0
- package/src/schematics/abstract-control.schema.json +78 -0
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +16 -7
- package/src/schematics/accordion/accordion-component/index.d.ts +6 -2
- package/src/schematics/accordion/accordion-component/index.js +72 -42
- 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 +1920 -217
- package/src/schematics/accordion/accordion-component/template.schema.json +23 -20
- package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
- package/src/schematics/accordion/accordion-item-component/index.js +79 -51
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.json +1861 -150
- package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -9
- 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 +20 -38
- 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 +1107 -251
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +6 -17
- 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 +14 -6
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1836 -194
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +7 -71
- 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 +5 -52
- package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1338 -453
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +6 -32
- 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 +21 -80
- 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 +1329 -439
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +7 -33
- package/src/schematics/accordion/templates/accordion-header.hbs +7 -3
- package/src/schematics/accordion/templates/switch-accordion-item.hbs +12 -4
- package/src/schematics/accordion-identifier.schema.json +24 -0
- package/src/schematics/accordion-item.schema.json +47 -30
- package/src/schematics/angular.schema.json +11 -3
- package/src/schematics/autocomplete-table-select-form-control.schema.json +97 -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/base-table-column.schema.json +81 -0
- package/src/schematics/boolean-table-column.schema.json +24 -0
- package/src/schematics/button.schema.json +1 -1
- package/src/schematics/checkbox-form-control.schema.json +31 -0
- package/src/schematics/component-table-column.schema.json +24 -0
- package/src/schematics/component.schema.json +16 -0
- package/src/schematics/control.schema.json +26 -0
- package/src/schematics/copy-to-clipboard-table-column.schema.json +24 -0
- package/src/schematics/css-class.schema.json +34 -0
- package/src/schematics/custom-table-column.schema.json +27 -0
- package/src/schematics/data-grid-accordion-item.schema.json +35 -0
- package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +15 -8
- package/src/schematics/data-grid-component/index.d.ts +2 -3
- package/src/schematics/data-grid-component/index.js +87 -64
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +1041 -215
- package/src/schematics/data-grid-component/template.schema.json +6 -9
- 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 +39 -12
- package/src/schematics/data-grid.schema.json +26 -4
- package/src/schematics/date-table-column.schema.json +27 -0
- package/src/schematics/dialog-component/schema.json +72 -155
- package/src/schematics/dialog-component/template.schema.json +3 -6
- 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 +286 -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 +542 -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 +1 -1
- package/src/schematics/form/control/input-form-control/index.js +4 -4
- 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 -2
- package/src/schematics/form/control/input-form-control/schema.json +272 -250
- package/src/schematics/form/control/input-form-control/template.schema.json +19 -9
- package/src/schematics/form/control/select-form-control/index.d.ts +2 -2
- package/src/schematics/form/control/select-form-control/index.js +23 -16
- 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 -3
- package/src/schematics/form/control/select-form-control/schema.json +363 -237
- package/src/schematics/form/control/select-form-control/template.schema.json +19 -9
- package/src/schematics/form/control/table-select-form-control/index.d.ts +3 -3
- package/src/schematics/form/control/table-select-form-control/index.js +210 -155
- 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 -3
- package/src/schematics/form/control/table-select-form-control/schema.json +404 -285
- package/src/schematics/form/control/table-select-form-control/template.schema.json +16 -55
- 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 +1056 -0
- package/src/schematics/form/form-array/template.schema.json +33 -0
- package/src/schematics/form/form-component/files/component/__componentName__.component.html.hbs +4 -1
- package/src/schematics/form/form-component/index.d.ts +4 -4
- package/src/schematics/form/form-component/index.js +19 -22
- 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 +940 -199
- package/src/schematics/form/form-component/template.schema.json +6 -9
- package/src/schematics/form/form-control/index.d.ts +3 -5
- package/src/schematics/form/form-control/index.js +10 -20
- 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 +753 -176
- package/src/schematics/form/form-control/template.schema.json +7 -11
- package/src/schematics/form/form-definition/index.d.ts +2 -2
- package/src/schematics/form/form-definition/index.js +28 -15
- 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 +935 -200
- package/src/schematics/form/form-definition/template.schema.json +6 -9
- 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 +1056 -0
- package/src/schematics/form/form-group/template.schema.json +33 -0
- package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +34 -0
- package/src/schematics/form/templates/checkbox-form-control.hbs +4 -2
- package/src/schematics/form/templates/default-form-array.hbs +29 -0
- package/src/schematics/form/templates/default-form-group.hbs +15 -0
- package/src/schematics/form/templates/input-form-control.hbs +14 -7
- package/src/schematics/form/templates/mat-form-field.hbs +6 -6
- package/src/schematics/form/templates/select-form-control.hbs +18 -0
- package/src/schematics/form/templates/slide-toggle-form-control.hbs +3 -1
- package/src/schematics/form/templates/table-select-form-control.hbs +23 -16
- package/src/schematics/form/templates/textarea-form-control.hbs +25 -0
- package/src/schematics/form-array.schema.json +42 -0
- package/src/schematics/form-component.schema.json +9 -3
- package/src/schematics/form-control.schema.json +70 -54
- package/src/schematics/form-definition.schema.json +3 -3
- package/src/schematics/form-field.schema.json +6 -0
- package/src/schematics/form-group.schema.json +42 -0
- package/src/schematics/general.schema.json +1 -4
- package/src/schematics/icon-table-column.schema.json +24 -0
- package/src/schematics/input-form-control.schema.json +19 -6
- package/src/schematics/link-table-column.schema.json +24 -0
- package/src/schematics/minimum-table.schema.json +59 -5
- package/src/schematics/pipe.schema.json +38 -0
- package/src/schematics/property.schema.json +14 -4
- package/src/schematics/route-component/files/component/__componentName__.component.html.hbs +1 -0
- package/src/schematics/route-component/index.d.ts +8 -0
- package/src/schematics/route-component/index.js +109 -0
- package/src/schematics/route-component/index.js.map +1 -0
- package/src/schematics/route-component/schema.d.ts +5 -0
- package/src/schematics/route-component/schema.json +154 -0
- package/src/schematics/route-component/template.schema.json +20 -0
- package/src/schematics/route-component.schema.json +35 -0
- package/src/schematics/select-form-control.schema.json +28 -6
- package/src/schematics/slide-toggle-form-control.schema.json +31 -0
- package/src/schematics/spinner-table-column.schema.json +24 -0
- package/src/schematics/switch-accordion-item.schema.json +83 -0
- package/src/schematics/table/action/dialog-table-action/index.js +1 -0
- package/src/schematics/table/action/dialog-table-action/index.js.map +1 -1
- package/src/schematics/table/action/dialog-table-action/schema.json +172 -218
- package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
- package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
- package/src/schematics/table/action/form-table-action/index.js +6 -5
- 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 +1107 -303
- package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
- package/src/schematics/table/action/navigation-table-action/schema.json +171 -217
- package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
- package/src/schematics/table/action/open-api-table-action/schema.json +172 -218
- package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
- package/src/schematics/table/action/operation-table-action/index.js +2 -1
- package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
- package/src/schematics/table/action/operation-table-action/schema.json +162 -208
- package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
- 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 +1043 -215
- package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -24
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +130 -207
- package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
- package/src/schematics/table/table-action/schema.json +101 -150
- package/src/schematics/table/table-action/template.schema.json +6 -6
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +84 -33
- package/src/schematics/table/table-component/index.d.ts +0 -5
- package/src/schematics/table/table-component/index.js +21 -33
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +1285 -425
- package/src/schematics/table/table-component/template.schema.json +6 -12
- package/src/schematics/table/table-header-button/schema.json +68 -148
- package/src/schematics/table/table-header-button/template.schema.json +6 -6
- package/src/schematics/table/templates/boolean-table-column.hbs +18 -5
- package/src/schematics/table/templates/component-table-column.hbs +19 -6
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +18 -5
- package/src/schematics/table/templates/custom-table-column.hbs +23 -0
- package/src/schematics/table/templates/date-table-column.hbs +18 -5
- package/src/schematics/table/templates/default-table-column.hbs +20 -5
- package/src/schematics/table/templates/icon-table-column.hbs +18 -5
- package/src/schematics/table/templates/link-table-column.hbs +18 -5
- package/src/schematics/table/templates/mat-column-def.hbs +3 -0
- package/src/schematics/table/templates/spinner-table-column.hbs +27 -0
- package/src/schematics/table/templates/tree-table-column.hbs +21 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +93 -50
- package/src/schematics/table/tree-table-component/index.d.ts +3 -0
- package/src/schematics/table/tree-table-component/index.js +30 -9
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +1279 -414
- package/src/schematics/table/tree-table-component/template.schema.json +6 -12
- package/src/schematics/table-accordion-item.schema.json +42 -0
- package/src/schematics/table-action.schema.json +7 -3
- package/src/schematics/table-column.schema.json +61 -47
- package/src/schematics/table-select-form-control.schema.json +103 -0
- package/src/schematics/table.schema.json +6 -2
- 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 +44 -0
- package/src/schematics/tree-component/index.js +2 -1
- package/src/schematics/tree-component/index.js.map +1 -1
- package/src/schematics/tree-component/schema.json +70 -62
- package/src/schematics/tree-component/template.schema.json +7 -2
- package/src/schematics/tree-table-accordion-item.schema.json +42 -0
- package/src/schematics/tree-table-column.schema.json +24 -0
- package/src/schematics/tree-table.schema.json +5 -4
- package/src/schematics/upstream.schema.json +62 -23
- package/src/schematics/value.schema.json +26 -0
- package/src/template.schema.json +275 -0
- package/src/lib/form-component-control.d.ts +0 -8
- package/src/lib/form-component-control.js +0 -15
- package/src/lib/form-component-control.js.map +0 -1
- package/src/lib/form-control.d.ts +0 -125
- package/src/lib/form-control.js +0 -303
- package/src/lib/form-control.js.map +0 -1
- package/src/lib/form-definition-control.d.ts +0 -5
- package/src/lib/form-definition-control.js +0 -30
- 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/lib/table-column.d.ts +0 -62
- package/src/lib/table-column.js +0 -313
- package/src/lib/table-column.js.map +0 -1
|
@@ -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,34 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<input [matAutocomplete]="auto{{classify control.name}}"
|
|
3
|
+
formControlName="{{control.name}}"
|
|
4
|
+
matInput
|
|
5
|
+
type="text"
|
|
6
|
+
{{#if control.isRequired}}
|
|
7
|
+
rxapRequired
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{#if parentControlContainer}}
|
|
10
|
+
parentControlContainer
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#if control.placeholder}}
|
|
13
|
+
i18n-placeholder placeholder="{{control.placeholder}}"
|
|
14
|
+
{{/if}}
|
|
15
|
+
/>
|
|
16
|
+
<mat-autocomplete #auto{{classify control.name}}="matAutocomplete">
|
|
17
|
+
<mat-option *rxapAutocompleteOptionsFromMethod="let option; matAutocomplete: auto{{classify control.name}}"
|
|
18
|
+
[value]="option.value">
|
|
19
|
+
\{{ option.display }}
|
|
20
|
+
</mat-option>
|
|
21
|
+
</mat-autocomplete>
|
|
22
|
+
<button
|
|
23
|
+
rxapOpenTableSelectWindow
|
|
24
|
+
mat-icon-button
|
|
25
|
+
matPrefix
|
|
26
|
+
tabindex="-1"
|
|
27
|
+
type="button"
|
|
28
|
+
{{#if control.title}}
|
|
29
|
+
i18n-label label="{{control.title}}"
|
|
30
|
+
{{/if}}
|
|
31
|
+
>
|
|
32
|
+
<mat-icon svgIcon="table-eye"></mat-icon>
|
|
33
|
+
</button>
|
|
34
|
+
{{/matFormField}}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<mat-checkbox
|
|
3
|
-
indeterminate
|
|
3
|
+
[indeterminate]="true"
|
|
4
4
|
formControlName="{{control.name}}"
|
|
5
5
|
labelPosition="{{control.labelPosition}}"
|
|
6
|
-
{{#if parentControlContainer}}
|
|
6
|
+
{{#if parentControlContainer}}
|
|
7
|
+
parentControlContainer
|
|
8
|
+
{{/if}}
|
|
7
9
|
>
|
|
8
10
|
<ng-container i18n>{{control.label}}</ng-container>
|
|
9
11
|
</mat-checkbox>
|
|
@@ -0,0 +1,29 @@
|
|
|
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}}
|
|
6
|
+
parentControlContainer
|
|
7
|
+
{{/if}}
|
|
8
|
+
>
|
|
9
|
+
{{#if control.legend}}
|
|
10
|
+
<legend class="text-sm" i18n>{{control.legend}}</legend>
|
|
11
|
+
{{/if}}
|
|
12
|
+
<button i18n mat-stroked-button rxapFormArrayItemAddButton>Add new entry</button>
|
|
13
|
+
<ng-container *rxapForFormArrayItem="let group">
|
|
14
|
+
<fieldset [formGroup]="group" class="flex flex-row gap-4 items-center border border-solid border-gray-300 p-3" rxapFormArrayRemovable>
|
|
15
|
+
{{#if control.groupLegend}}
|
|
16
|
+
<legend class="text-sm" i18n>{{control.groupLegend}}</legend>
|
|
17
|
+
{{/if}}
|
|
18
|
+
{{#each control.controlList}}
|
|
19
|
+
{{indent (compile this.handlebars control=this prefix=../prefix) 6}}
|
|
20
|
+
{{/each}}
|
|
21
|
+
<button color="warn" mat-icon-button rxapFormArrayItemRemoveButton>
|
|
22
|
+
<mat-icon>do_not_disturb_on</mat-icon>
|
|
23
|
+
</button>
|
|
24
|
+
<button color="accent" mat-icon-button rxapFormArrayItemRestoreButton>
|
|
25
|
+
<mat-icon>settings_backup_restore</mat-icon>
|
|
26
|
+
</button>
|
|
27
|
+
</fieldset>
|
|
28
|
+
</ng-container>
|
|
29
|
+
</fieldset>
|
|
@@ -0,0 +1,15 @@
|
|
|
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}}
|
|
6
|
+
parentControlContainer
|
|
7
|
+
{{/if}}
|
|
8
|
+
>
|
|
9
|
+
{{#if control.legend}}
|
|
10
|
+
<legend class="text-sm" i18n>{{control.legend}}</legend>
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#each control.controlList}}
|
|
13
|
+
{{indent (compile this.handlebars control=this prefix=../prefix) 2}}
|
|
14
|
+
{{/each}}
|
|
15
|
+
</fieldset>
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{{#> matFormField control=control}}
|
|
2
|
-
<input
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
<input
|
|
3
|
+
matInput
|
|
4
|
+
formControlName="{{control.name}}"
|
|
5
|
+
type="{{control.inputType}}"
|
|
6
|
+
{{#if control.isRequired}}
|
|
7
|
+
rxapRequired
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{#if parentControlContainer}}
|
|
10
|
+
parentControlContainer
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#if control.placeholder}}
|
|
13
|
+
i18n-placeholder placeholder="{{control.placeholder}}"
|
|
14
|
+
{{/if}}
|
|
15
|
+
/>
|
|
9
16
|
{{/matFormField}}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
<mat-form-field>
|
|
2
|
+
<mat-form-field{{#each control.formField.directiveList}} {{this.name}}{{/each}}{{#if control.formField.cssClass}} {{> cssClass cssClass=control.formField.cssClass}}{{/if}}>
|
|
3
3
|
{{#if control.formField.label}}
|
|
4
|
-
<mat-label>{{control.formField.label}}</mat-label>
|
|
4
|
+
<mat-label i18n>{{control.formField.label}}</mat-label>
|
|
5
5
|
{{/if}}
|
|
6
6
|
{{#if control.formField.prefixButton}}
|
|
7
7
|
{{#if control.formField.prefixButton.icon}}
|
|
8
|
-
<button tabindex="-1" type="button"
|
|
8
|
+
<button tabindex="-1" type="button" matPrefix mat-icon-button{{#each control.formField.prefixButton.directiveList}} {{this.name}}{{/each}}>
|
|
9
9
|
<mat-icon>{{control.formField.prefixButton.icon}}</mat-icon>
|
|
10
10
|
</button>
|
|
11
11
|
{{/if}}
|
|
12
12
|
{{#if control.formField.prefixButton.svgIcon}}
|
|
13
|
-
<button tabindex="-1" type="button"
|
|
13
|
+
<button tabindex="-1" type="button" matPrefix mat-icon-button{{#each control.formField.prefixButton.directiveList}} {{this.name}}{{/each}}>
|
|
14
14
|
<mat-icon>{{control.formField.prefixButton.svgIcon}}</mat-icon>
|
|
15
15
|
</button>
|
|
16
16
|
{{/if}}
|
|
17
17
|
{{/if}}
|
|
18
18
|
{{#if control.formField.suffixButton}}
|
|
19
19
|
{{#if control.formField.suffixButton.icon}}
|
|
20
|
-
<button tabindex="-1" type="button"
|
|
20
|
+
<button tabindex="-1" type="button" matSuffix mat-icon-button{{#each control.formField.suffixButton.directiveList}} {{this.name}}{{/each}}>
|
|
21
21
|
<mat-icon>{{control.formField.suffixButton.icon}}</mat-icon>
|
|
22
22
|
</button>
|
|
23
23
|
{{/if}}
|
|
24
24
|
{{#if control.formField.suffixButton.svgIcon}}
|
|
25
|
-
<button tabindex="-1" type="button"
|
|
25
|
+
<button tabindex="-1" type="button" matSuffix mat-icon-button{{#each control.formField.suffixButton.directiveList}} {{this.name}}{{/each}}>
|
|
26
26
|
<mat-icon>{{control.formField.suffixButton.svgIcon}}</mat-icon>
|
|
27
27
|
</button>
|
|
28
28
|
{{/if}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<mat-select
|
|
3
|
+
formControlName="{{control.name}}"
|
|
4
|
+
{{#if parentControlContainer}}
|
|
5
|
+
parentControlContainer
|
|
6
|
+
{{/if}}
|
|
7
|
+
{{#if control.isRequired}}
|
|
8
|
+
rxapRequired
|
|
9
|
+
{{/if}}
|
|
10
|
+
>
|
|
11
|
+
{{#if control.optionList}}
|
|
12
|
+
<mat-option *rxapInputSelectOptions="let option" [value]="option.value">\{{option.display}}</mat-option>
|
|
13
|
+
{{/if}}
|
|
14
|
+
{{#unless control.optionList}}
|
|
15
|
+
<mat-option *rxapOptionsFromMethod="let option" [value]="option.value">\{{option.display}}</mat-option>
|
|
16
|
+
{{/unless}}
|
|
17
|
+
</mat-select>
|
|
18
|
+
{{/matFormField}}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<mat-slide-toggle
|
|
3
3
|
formControlName="{{control.name}}"
|
|
4
4
|
labelPosition="{{control.labelPosition}}"
|
|
5
|
-
{{#if parentControlContainer}}
|
|
5
|
+
{{#if parentControlContainer}}
|
|
6
|
+
parentControlContainer
|
|
7
|
+
{{/if}}
|
|
6
8
|
>
|
|
7
9
|
<ng-container i18n>{{control.label}}</ng-container>
|
|
8
10
|
</mat-slide-toggle>
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
{{#> matFormField control=control}}
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
<rxap-table-select-input
|
|
3
|
+
rxapOpenTableSelectWindow
|
|
4
|
+
formControlName="{{control.name}}"
|
|
5
|
+
{{#if control.title}}
|
|
6
|
+
i18n-label label="{{control.title}}"
|
|
7
|
+
{{/if}}
|
|
8
|
+
{{#if parentControlContainer}}
|
|
9
|
+
parentControlContainer
|
|
10
|
+
{{/if}}
|
|
11
|
+
>
|
|
12
|
+
</rxap-table-select-input>
|
|
13
|
+
<button
|
|
14
|
+
rxapOpenTableSelectWindow
|
|
15
|
+
mat-icon-button
|
|
16
|
+
matPrefix
|
|
17
|
+
tabindex="-1"
|
|
18
|
+
type="button"
|
|
19
|
+
{{#if control.title}}
|
|
20
|
+
i18n-label label="{{control.title}}"
|
|
21
|
+
{{/if}}
|
|
22
|
+
>
|
|
23
|
+
<mat-icon svgIcon="table-eye"></mat-icon>
|
|
24
|
+
</button>
|
|
18
25
|
{{/matFormField}}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{{#> matFormField control=control}}
|
|
2
|
+
<textarea
|
|
3
|
+
formControlName="{{control.name}}"
|
|
4
|
+
matInput
|
|
5
|
+
{{#if control.autosize}}
|
|
6
|
+
cdkTextareaAutosize
|
|
7
|
+
{{/if}}
|
|
8
|
+
{{#if control.autosize.maxRows}}
|
|
9
|
+
[cdkAutosizeMaxRows]="{{control.autosize.maxRows}}"
|
|
10
|
+
{{/if}}
|
|
11
|
+
{{#if control.autosize.minRows}}
|
|
12
|
+
[cdkAutosizeMinRows]="{{control.autosize.minRows}}"
|
|
13
|
+
{{/if}}
|
|
14
|
+
{{#if control.isRequired}}
|
|
15
|
+
rxapRequired
|
|
16
|
+
{{/if}}
|
|
17
|
+
{{#if parentControlContainer}}
|
|
18
|
+
parentControlContainer
|
|
19
|
+
{{/if}}
|
|
20
|
+
{{#if control.placeholder}}
|
|
21
|
+
i18n-placeholder placeholder="{{control.placeholder}}"
|
|
22
|
+
{{/if}}
|
|
23
|
+
>
|
|
24
|
+
</textarea>
|
|
25
|
+
{{/matFormField}}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
"required": [ "role" ]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"oneOf": [
|
|
17
|
+
{
|
|
18
|
+
"allOf": [
|
|
19
|
+
{
|
|
20
|
+
"$ref": "#/definitions/baseFormArray"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"kind": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"const": "default",
|
|
28
|
+
"default": "default"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"definitions": {
|
|
38
|
+
"baseFormArray": {
|
|
39
|
+
"$ref": "./base-form-array.schema.json"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "form-component",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "
|
|
6
|
+
"$ref": "#/definitions/formDefinition"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"type": "object",
|
|
@@ -27,13 +27,19 @@
|
|
|
27
27
|
"outline"
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
|
+
},
|
|
31
|
+
"identifier": {
|
|
32
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
35
|
}
|
|
33
36
|
],
|
|
34
37
|
"definitions": {
|
|
35
|
-
"
|
|
36
|
-
"$ref": "./
|
|
38
|
+
"formDefinition": {
|
|
39
|
+
"$ref": "./form-definition.schema.json"
|
|
40
|
+
},
|
|
41
|
+
"accordionIdentifier": {
|
|
42
|
+
"$ref": "./accordion-identifier.schema.json"
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
}
|
|
@@ -1,68 +1,84 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"$id": "form-control",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"role": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "control",
|
|
11
|
+
"default": "control"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
9
14
|
},
|
|
10
|
-
|
|
11
|
-
"
|
|
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
|
+
"default": "default"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"$ref": "#/definitions/inputFormControl"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"$ref": "#/definitions/selectFormControl"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"$ref": "#/definitions/checkboxFormControl"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"$ref": "#/definitions/textareaFormControl"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"$ref": "#/definitions/tableSelectFormControl"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"$ref": "#/definitions/slideToggleFormControl"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"$ref": "#/definitions/autocompleteTableSelectFormControl"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"definitions": {
|
|
59
|
+
"baseFormControl": {
|
|
60
|
+
"$ref": "./base-form-control.schema.json"
|
|
12
61
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"description": "Whether the control value is an array",
|
|
16
|
-
"default": false
|
|
62
|
+
"inputFormControl": {
|
|
63
|
+
"$ref": "./input-form-control.schema.json"
|
|
17
64
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"description": "The initial state of the control"
|
|
65
|
+
"selectFormControl": {
|
|
66
|
+
"$ref": "./select-form-control.schema.json"
|
|
21
67
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"description": "Whether the control value is required",
|
|
25
|
-
"default": false
|
|
68
|
+
"checkboxFormControl": {
|
|
69
|
+
"$ref": "./checkbox-form-control.schema.json"
|
|
26
70
|
},
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"description": "Whether the control value is readonly",
|
|
30
|
-
"default": false
|
|
71
|
+
"textareaFormControl": {
|
|
72
|
+
"$ref": "./textarea-form-control.schema.json"
|
|
31
73
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"description": "Whether the control value is disabled",
|
|
35
|
-
"default": false
|
|
74
|
+
"tableSelectFormControl": {
|
|
75
|
+
"$ref": "./table-select-form-control.schema.json"
|
|
36
76
|
},
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"items": {
|
|
40
|
-
"type": "string"
|
|
41
|
-
}
|
|
77
|
+
"autocompleteTableSelectFormControl": {
|
|
78
|
+
"$ref": "./autocomplete-table-select-form-control.schema.json"
|
|
42
79
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"description": "The name of the template",
|
|
46
|
-
"enum": [
|
|
47
|
-
"default",
|
|
48
|
-
"input",
|
|
49
|
-
"select",
|
|
50
|
-
"checkbox",
|
|
51
|
-
"autocomplete-table-select",
|
|
52
|
-
"table-select",
|
|
53
|
-
"textarea",
|
|
54
|
-
"slide-toggle"
|
|
55
|
-
],
|
|
56
|
-
"default": "default"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"required": [
|
|
60
|
-
"name"
|
|
61
|
-
],
|
|
62
|
-
"additionalProperties": true,
|
|
63
|
-
"definitions": {
|
|
64
|
-
"type": {
|
|
65
|
-
"$ref": "./type.schema.json"
|
|
80
|
+
"slideToggleFormControl": {
|
|
81
|
+
"$ref": "./slide-toggle-form-control.schema.json"
|
|
66
82
|
}
|
|
67
83
|
}
|
|
68
84
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"alias": "control",
|
|
8
8
|
"type": "array",
|
|
9
9
|
"items": {
|
|
10
|
-
"$ref": "
|
|
10
|
+
"$ref": "#/definitions/control"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
},
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"controlList"
|
|
16
16
|
],
|
|
17
17
|
"definitions": {
|
|
18
|
-
"
|
|
19
|
-
"$ref": "./
|
|
18
|
+
"control": {
|
|
19
|
+
"$ref": "./control.schema.json"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -14,11 +14,17 @@
|
|
|
14
14
|
},
|
|
15
15
|
"hasClearButton": {
|
|
16
16
|
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"cssClass": {
|
|
19
|
+
"$ref": "#/definitions/cssClass"
|
|
17
20
|
}
|
|
18
21
|
},
|
|
19
22
|
"definitions": {
|
|
20
23
|
"button": {
|
|
21
24
|
"$ref": "./button.schema.json"
|
|
25
|
+
},
|
|
26
|
+
"cssClass": {
|
|
27
|
+
"$ref": "./css-class.schema.json"
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
30
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
"required": [ "role" ]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"oneOf": [
|
|
17
|
+
{
|
|
18
|
+
"allOf": [
|
|
19
|
+
{
|
|
20
|
+
"$ref": "#/definitions/baseFormGroup"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"kind": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"const": "default",
|
|
28
|
+
"default": "default"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"definitions": {
|
|
38
|
+
"baseFormGroup": {
|
|
39
|
+
"$ref": "./base-form-group.schema.json"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "icon-table-column",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseTableColumn"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "icon"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["kind"]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"definitions": {
|
|
20
|
+
"baseTableColumn": {
|
|
21
|
+
"$ref": "./base-table-column.schema.json"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -3,11 +3,18 @@
|
|
|
3
3
|
"$id": "input-form-control",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "
|
|
6
|
+
"$ref": "#/definitions/baseFormControl"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"type": "object",
|
|
10
10
|
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "input"
|
|
14
|
+
},
|
|
15
|
+
"formField": {
|
|
16
|
+
"$ref": "#/definitions/formField"
|
|
17
|
+
},
|
|
11
18
|
"inputType": {
|
|
12
19
|
"type": "string",
|
|
13
20
|
"enum": [
|
|
@@ -37,11 +44,17 @@
|
|
|
37
44
|
},
|
|
38
45
|
"placeholder": {
|
|
39
46
|
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
"formField": {
|
|
42
|
-
"$ref": "./form-field.schema.json"
|
|
43
47
|
}
|
|
44
|
-
}
|
|
48
|
+
},
|
|
49
|
+
"required": ["kind"]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"definitions": {
|
|
53
|
+
"formField": {
|
|
54
|
+
"$ref": "./form-field.schema.json"
|
|
55
|
+
},
|
|
56
|
+
"baseFormControl": {
|
|
57
|
+
"$ref": "./base-form-control.schema.json"
|
|
45
58
|
}
|
|
46
|
-
|
|
59
|
+
}
|
|
47
60
|
}
|