@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
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
matTooltip
|
|
25
25
|
[disabled]="tableDataSourceDirective.hasError$ | async"
|
|
26
26
|
[rxapTableHeaderButton]="tableDataSourceDirective"
|
|
27
|
-
{{#if headerButton.permission}}
|
|
27
|
+
{{#if headerButton.permission}}
|
|
28
|
+
rxapHasEnablePermission="{{headerButton.permission}}"
|
|
29
|
+
{{/if}}
|
|
28
30
|
>
|
|
29
31
|
{{#if headerButton.icon}}
|
|
30
32
|
<mat-icon>{{headerButton.icon}}</mat-icon>
|
|
@@ -46,14 +48,21 @@
|
|
|
46
48
|
<ng-container i18n>Select</ng-container>
|
|
47
49
|
</rxap-table-column-option>
|
|
48
50
|
{{/if}}
|
|
49
|
-
<rxap-table-column-option name="tree" hidden></rxap-table-column-option>
|
|
50
|
-
<rxap-table-column-option name="__spinner__" hidden></rxap-table-column-option>
|
|
51
51
|
{{#each columnList}}
|
|
52
52
|
<rxap-table-column-option name="{{this.name}}"
|
|
53
|
-
{{
|
|
54
|
-
|
|
55
|
-
{{
|
|
56
|
-
{{
|
|
53
|
+
{{#if this.active}}
|
|
54
|
+
active
|
|
55
|
+
{{/if}}
|
|
56
|
+
{{#if this.hidden}}
|
|
57
|
+
hidden
|
|
58
|
+
{{/if}}
|
|
59
|
+
{{#if this.inactive}}
|
|
60
|
+
inactive
|
|
61
|
+
{{/if}}
|
|
62
|
+
{{#if this.show}}
|
|
63
|
+
show
|
|
64
|
+
{{/if}}
|
|
65
|
+
>
|
|
57
66
|
<ng-container i18n>{{this.title}}</ng-container>
|
|
58
67
|
</rxap-table-column-option>
|
|
59
68
|
{{/each}}
|
|
@@ -65,7 +74,7 @@
|
|
|
65
74
|
{{#if hasShowArchivedSlide}}
|
|
66
75
|
<mat-divider></mat-divider>
|
|
67
76
|
<span mat-menu-item>
|
|
68
|
-
<rxap-table-show-archived-slide></rxap-table-show-archived-slide>
|
|
77
|
+
<rxap-table-show-archived-slide{{#if hasPaginator}} [paginator]="paginator"{{/if}}></rxap-table-show-archived-slide>
|
|
69
78
|
</span>
|
|
70
79
|
{{/if}}
|
|
71
80
|
</rxap-table-column-menu>
|
|
@@ -73,47 +82,49 @@
|
|
|
73
82
|
|
|
74
83
|
<mat-card-content>
|
|
75
84
|
<rxap-data-source-error
|
|
76
|
-
[loading]="tableDataSourceDirective.loading$"
|
|
77
|
-
[error]="tableDataSourceDirective.dataSource?.error$"
|
|
78
85
|
*ngIf="tableDataSourceDirective.hasError$ | async"
|
|
79
|
-
[
|
|
86
|
+
[dataSourceLike]="tableDataSourceDirective">
|
|
80
87
|
</rxap-data-source-error>
|
|
81
88
|
<div class="table-scroll-container mt-4 overflow-x-auto overscroll-auto">
|
|
82
89
|
<table
|
|
83
90
|
[ngClass]="{ 'hidden': tableDataSourceDirective.hasError$ | async }"
|
|
84
|
-
matSort
|
|
85
91
|
mat-table
|
|
86
92
|
#tableDataSourceDirective="rxapTableDataSource"
|
|
87
93
|
rxapTableDataSource
|
|
88
94
|
[parameters]="parameters"
|
|
89
95
|
id="{{name}}"
|
|
90
|
-
{{#if
|
|
96
|
+
{{#if cssClass}}
|
|
97
|
+
{{> cssClass cssClass=cssClass}}
|
|
98
|
+
{{/if}}
|
|
99
|
+
{{#if hasPaginator}}
|
|
100
|
+
[paginator]="paginator"
|
|
101
|
+
{{/if}}
|
|
102
|
+
{{#if hasColumnWithFilter}}
|
|
103
|
+
rxap-filter-header-row
|
|
104
|
+
{{/if}}
|
|
105
|
+
{{#if sortable.enabled}}
|
|
106
|
+
matSort
|
|
107
|
+
{{#if sortable.default}}
|
|
108
|
+
{{#if sortable.default.active}}
|
|
109
|
+
matSortActive="{{sortable.default.active}}"
|
|
110
|
+
{{/if}}
|
|
111
|
+
{{#if sortable.default.direction}}
|
|
112
|
+
matSortDirection="{{sortable.default.direction}}"
|
|
113
|
+
{{/if}}
|
|
114
|
+
{{/if}}
|
|
115
|
+
{{/if}}
|
|
91
116
|
>
|
|
92
117
|
<!-- region columns -->
|
|
93
|
-
<ng-container matColumnDef="tree" sticky>
|
|
94
|
-
<th *matHeaderCellDef mat-header-cell></th>
|
|
95
|
-
<td
|
|
96
|
-
*matCellDef="let element"
|
|
97
|
-
[rxap-tree-control-cell]="element"
|
|
98
|
-
mat-cell
|
|
99
|
-
></td>
|
|
100
|
-
</ng-container>
|
|
101
|
-
<ng-container matColumnDef="__spinner__">
|
|
102
|
-
<th *matHeaderCellDef mat-header-cell></th>
|
|
103
|
-
<td *matCellDef="let element" mat-cell>
|
|
104
|
-
<mat-spinner
|
|
105
|
-
*ngIf="element.__metadata__?.loading$ | async"
|
|
106
|
-
diameter="15"
|
|
107
|
-
></mat-spinner>
|
|
108
|
-
</td>
|
|
109
|
-
</ng-container>
|
|
110
118
|
{{#if selectColumn}}
|
|
111
119
|
<!-- region select column -->
|
|
112
|
-
<ng-container matColumnDef="select" sticky>
|
|
113
|
-
|
|
120
|
+
<ng-container matColumnDef="select" [sticky]="true">
|
|
121
|
+
{{#if withHeader}}
|
|
122
|
+
<th class="drop-shadow-2xl" mat-header-cell rxap-checkbox-header-cell *matHeaderCellDef></th>
|
|
123
|
+
{{/if}}
|
|
114
124
|
<td
|
|
115
125
|
mat-cell
|
|
116
126
|
rxap-checkbox-cell
|
|
127
|
+
class="drop-shadow-2xl"
|
|
117
128
|
[element]="element"
|
|
118
129
|
*matCellDef="let element"
|
|
119
130
|
></td>
|
|
@@ -122,8 +133,9 @@
|
|
|
122
133
|
{{/if}}
|
|
123
134
|
{{#if actionList.length}}
|
|
124
135
|
<!-- region actions column -->
|
|
125
|
-
<ng-container matColumnDef="actions" stickyEnd>
|
|
126
|
-
|
|
136
|
+
<ng-container matColumnDef="actions" [stickyEnd]="true">
|
|
137
|
+
{{#if withHeader}}
|
|
138
|
+
<th class="drop-shadow-2xl" mat-header-cell *matHeaderCellDef>
|
|
127
139
|
{{#if selectColumn}}
|
|
128
140
|
<!-- region header actions -->
|
|
129
141
|
<div class="flex flex-row" *rxapSelectedRows="let selected">
|
|
@@ -132,10 +144,16 @@
|
|
|
132
144
|
<button
|
|
133
145
|
rxapTableRowHeaderAction="{{this.type}}"
|
|
134
146
|
mat-icon-button
|
|
135
|
-
{{#if this.color}}
|
|
136
|
-
|
|
147
|
+
{{#if this.color}}
|
|
148
|
+
color="{{this.color}}"
|
|
149
|
+
{{/if}}
|
|
150
|
+
{{#if this.cssClass}}
|
|
151
|
+
{{> cssClass cssClass=this.cssClass}}
|
|
152
|
+
{{/if}}
|
|
137
153
|
*ngIf="selected | rxapRowActionCheck:'{{this.type}}'"
|
|
138
|
-
{{#if this.permission}}
|
|
154
|
+
{{#if this.permission}}
|
|
155
|
+
rxapHasEnablePermission="{{this.permission}}"
|
|
156
|
+
{{/if}}
|
|
139
157
|
matTooltip
|
|
140
158
|
>
|
|
141
159
|
{{#if this.icon}}
|
|
@@ -156,18 +174,25 @@
|
|
|
156
174
|
<!-- endregion -->
|
|
157
175
|
{{/if}}
|
|
158
176
|
</th>
|
|
177
|
+
{{/if}}
|
|
159
178
|
|
|
160
|
-
<td mat-cell *matCellDef="let element">
|
|
179
|
+
<td class="drop-shadow-2xl" mat-cell *matCellDef="let element">
|
|
161
180
|
<div class="flex flex-row">
|
|
162
181
|
{{#each actionList}}
|
|
163
182
|
<button
|
|
164
183
|
rxapTableRowAction="{{this.type}}"
|
|
165
184
|
[element]="element"
|
|
166
|
-
{{#if this.color}}
|
|
167
|
-
|
|
185
|
+
{{#if this.color}}
|
|
186
|
+
color="{{this.color}}"
|
|
187
|
+
{{/if}}
|
|
188
|
+
{{#if this.cssClass}}
|
|
189
|
+
{{> cssClass cssClass=this.cssClass}}
|
|
190
|
+
{{/if}}
|
|
168
191
|
mat-icon-button
|
|
169
192
|
*ngIf="element | rxapRowActionCheck:'{{this.type}}'"
|
|
170
|
-
{{#if this.permission}}
|
|
193
|
+
{{#if this.permission}}
|
|
194
|
+
rxapHasEnablePermission="{{this.permission}}"
|
|
195
|
+
{{/if}}
|
|
171
196
|
matTooltip
|
|
172
197
|
>
|
|
173
198
|
{{#if this.icon}}
|
|
@@ -190,30 +215,35 @@
|
|
|
190
215
|
|
|
191
216
|
{{/if}}
|
|
192
217
|
{{#each columnList}}
|
|
193
|
-
{{ indent (compile this.handlebars column=this) 10 }}
|
|
218
|
+
{{ indent (compile this.handlebars column=this table=../. prefix=../prefix) 10 }}
|
|
194
219
|
{{/each}}
|
|
195
220
|
|
|
196
221
|
<!-- endregion -->
|
|
197
222
|
{{#if hasColumnWithFilter}}
|
|
198
223
|
<!-- region filter columns -->
|
|
199
224
|
{{#if selectColumn}}
|
|
200
|
-
<ng-container matColumnDef="filter_select" sticky>
|
|
201
|
-
<th mat-header-cell *matHeaderCellDef></th>
|
|
225
|
+
<ng-container matColumnDef="filter_select" [sticky]="true">
|
|
226
|
+
<th mat-header-cell *matHeaderCellDef class="drop-shadow-2xl"></th>
|
|
202
227
|
</ng-container>
|
|
203
228
|
{{/if}}
|
|
204
229
|
{{#if actionList.length}}
|
|
205
|
-
<ng-container matColumnDef="filter_actions" stickyEnd>
|
|
206
|
-
<th mat-header-cell *matHeaderCellDef></th>
|
|
230
|
+
<ng-container matColumnDef="filter_actions" [stickyEnd]="true">
|
|
231
|
+
<th mat-header-cell *matHeaderCellDef class="drop-shadow-2xl"></th>
|
|
207
232
|
</ng-container>
|
|
208
233
|
{{/if}}
|
|
209
234
|
{{#each columnList}}
|
|
210
|
-
|
|
211
|
-
<th mat-header-cell
|
|
235
|
+
{{#> matColumnDef column=this columnName=this.filterName}}
|
|
236
|
+
<th mat-header-cell
|
|
237
|
+
*matHeaderCellDef
|
|
238
|
+
{{#if column.filterCssClass}}
|
|
239
|
+
{{> cssClass cssClass=column.filterCssClass}}
|
|
240
|
+
{{/if}}
|
|
241
|
+
>
|
|
212
242
|
{{#if this.hasFilter}}
|
|
213
|
-
{{ indent (compile this.filterControl.handlebars column=this control=this.filterControl parentControlContainer=true) 14 }}
|
|
243
|
+
{{ indent (compile this.filterControl.handlebars column=this table=../. control=this.filterControl parentControlContainer=true) 14 }}
|
|
214
244
|
{{/if}}
|
|
215
245
|
</th>
|
|
216
|
-
|
|
246
|
+
{{/matColumnDef}}
|
|
217
247
|
{{/each}}
|
|
218
248
|
|
|
219
249
|
<!-- endregion -->
|
|
@@ -224,10 +254,12 @@
|
|
|
224
254
|
></tr>
|
|
225
255
|
{{/if}}
|
|
226
256
|
|
|
257
|
+
{{#if withHeader}}
|
|
227
258
|
<tr
|
|
228
259
|
mat-header-row
|
|
229
260
|
*matHeaderRowDef="rxapTableColumns.displayColumns"
|
|
230
261
|
></tr>
|
|
262
|
+
{{/if}}
|
|
231
263
|
|
|
232
264
|
<tr
|
|
233
265
|
[@rowsAnimation]=""
|
|
@@ -244,6 +276,17 @@
|
|
|
244
276
|
</table>
|
|
245
277
|
</div>
|
|
246
278
|
</mat-card-content>
|
|
279
|
+
{{#if hasPaginator}}
|
|
280
|
+
<mat-card-footer>
|
|
281
|
+
<mat-paginator
|
|
282
|
+
[ngClass]="{ 'hidden': tableDataSourceDirective.hasError$ | async }"
|
|
283
|
+
rxapPersistent
|
|
284
|
+
[pageSizeOptions]="[5,10,25,50,100]"
|
|
285
|
+
[pageSize]="10"
|
|
286
|
+
#paginator="matPaginator"
|
|
287
|
+
></mat-paginator>
|
|
288
|
+
</mat-card-footer>
|
|
289
|
+
{{/if}}
|
|
247
290
|
</mat-card>
|
|
248
291
|
</div>
|
|
249
292
|
</div>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BuildNestControllerNameOptions } from '@rxap/schematics-ts-morph';
|
|
1
2
|
import { Normalized } from '@rxap/utilities';
|
|
2
3
|
import { NormalizedAngularOptions } from '../../../lib/angular-options';
|
|
3
4
|
import { NormalizedTreeTableOptions } from '../../../lib/tree-table-options';
|
|
@@ -7,4 +8,6 @@ export interface NormalizedTreeTableComponentOptions extends Readonly<Normalized
|
|
|
7
8
|
controllerName: string;
|
|
8
9
|
}
|
|
9
10
|
export declare function NormalizedTreeTableComponentOptions(options: Readonly<TreeTableComponentOptions>): Readonly<NormalizedTreeTableComponentOptions>;
|
|
11
|
+
export declare function BuildTreeTableGetRootOperationId(normalizedOptions: NormalizedAngularOptions & BuildNestControllerNameOptions): string;
|
|
12
|
+
export declare function BuildTreeTableGeChildrenOperationId(normalizedOptions: NormalizedAngularOptions & BuildNestControllerNameOptions): string;
|
|
10
13
|
export default function (options: TreeTableComponentOptions): () => import("@angular-devkit/schematics").Rule;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NormalizedTreeTableComponentOptions = void 0;
|
|
3
|
+
exports.BuildTreeTableGeChildrenOperationId = exports.BuildTreeTableGetRootOperationId = exports.NormalizedTreeTableComponentOptions = void 0;
|
|
4
4
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
5
|
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
6
6
|
const ts_morph_1 = require("@rxap/ts-morph");
|
|
@@ -8,10 +8,10 @@ const utilities_1 = require("@rxap/utilities");
|
|
|
8
8
|
const angular_options_1 = require("../../../lib/angular-options");
|
|
9
9
|
const backend_types_1 = require("../../../lib/backend-types");
|
|
10
10
|
const coerce_tree_table_component_1 = require("../../../lib/coerce-tree-table-component");
|
|
11
|
+
const load_handlebars_template_1 = require("../../../lib/load-handlebars-template");
|
|
11
12
|
const minimum_table_component_options_1 = require("../../../lib/minimum-table-component-options");
|
|
12
13
|
const table_filter_column_rule_1 = require("../../../lib/table/table-filter-column-rule");
|
|
13
14
|
const tree_table_options_1 = require("../../../lib/tree-table-options");
|
|
14
|
-
const table_component_1 = require("../table-component");
|
|
15
15
|
function NormalizedTreeTableComponentOptions(options) {
|
|
16
16
|
const normalizedMinimumTableComponentOptions = (0, minimum_table_component_options_1.NormalizeMinimumTableComponentOptions)(options, tree_table_options_1.IsTreeTableModifiers, '-tree-table');
|
|
17
17
|
(0, angular_options_1.AssertAngularOptionsNameProperty)(normalizedMinimumTableComponentOptions);
|
|
@@ -51,6 +51,14 @@ function componentRule(normalizedOptions) {
|
|
|
51
51
|
template: {
|
|
52
52
|
options: templateOptions,
|
|
53
53
|
},
|
|
54
|
+
handlebars: {
|
|
55
|
+
partials: {
|
|
56
|
+
matFormField: (0, load_handlebars_template_1.LoadMatFormFieldHandlebarsTemplate)(),
|
|
57
|
+
pipe: (0, load_handlebars_template_1.LoadPipeHandlebarsTemplate)(),
|
|
58
|
+
cssClass: (0, load_handlebars_template_1.LoadCssClassHandlebarsTemplate)(),
|
|
59
|
+
matColumnDef: (0, load_handlebars_template_1.LoadMatColumnDefHandlebarsTemplate)(),
|
|
60
|
+
}
|
|
61
|
+
},
|
|
54
62
|
tsMorphTransform: (project, [sourceFile]) => {
|
|
55
63
|
(0, schematics_ts_morph_1.AddComponentProvider)(sourceFile, {
|
|
56
64
|
provide: 'TABLE_DATA_SOURCE',
|
|
@@ -70,29 +78,41 @@ function componentRule(normalizedOptions) {
|
|
|
70
78
|
]);
|
|
71
79
|
}
|
|
72
80
|
// region backend
|
|
81
|
+
function BuildTreeTableGetRootOperationId(normalizedOptions) {
|
|
82
|
+
return (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, 'get-root', (0, schematics_ts_morph_1.BuildNestControllerName)(normalizedOptions));
|
|
83
|
+
}
|
|
84
|
+
exports.BuildTreeTableGetRootOperationId = BuildTreeTableGetRootOperationId;
|
|
85
|
+
function BuildTreeTableGeChildrenOperationId(normalizedOptions) {
|
|
86
|
+
return (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, 'get-children', (0, schematics_ts_morph_1.BuildNestControllerName)(normalizedOptions));
|
|
87
|
+
}
|
|
88
|
+
exports.BuildTreeTableGeChildrenOperationId = BuildTreeTableGeChildrenOperationId;
|
|
73
89
|
function nestjsBackendRule(normalizedOptions) {
|
|
74
|
-
const { nestModule, project, feature, shared, componentName, directory, overwrite, scope, controllerName,
|
|
75
|
-
const getRootOperationId = (
|
|
76
|
-
const getChildrenOperationId = (
|
|
90
|
+
const { nestModule, project, feature, shared, componentName, directory, overwrite, scope, controllerName, propertyList, identifier, upstream, } = normalizedOptions;
|
|
91
|
+
const getRootOperationId = BuildTreeTableGetRootOperationId(normalizedOptions);
|
|
92
|
+
const getChildrenOperationId = BuildTreeTableGeChildrenOperationId(normalizedOptions);
|
|
77
93
|
return (0, schematics_1.chain)([
|
|
78
94
|
() => console.log(`Coerce the get root operation ${getRootOperationId}`),
|
|
79
95
|
(0, schematics_ts_morph_1.CoerceGetRootOperation)({
|
|
80
|
-
controllerName
|
|
96
|
+
controllerName,
|
|
81
97
|
nestModule,
|
|
82
98
|
project,
|
|
83
99
|
feature,
|
|
84
100
|
shared,
|
|
85
|
-
propertyList
|
|
101
|
+
propertyList,
|
|
102
|
+
upstream,
|
|
103
|
+
overwrite,
|
|
86
104
|
}),
|
|
87
105
|
() => console.log(`Coerce the get children operation ${getChildrenOperationId}`),
|
|
88
106
|
(0, schematics_ts_morph_1.CoerceGetChildrenOperation)({
|
|
89
|
-
controllerName
|
|
107
|
+
controllerName,
|
|
90
108
|
nestModule,
|
|
91
109
|
project,
|
|
92
110
|
feature,
|
|
93
111
|
shared,
|
|
94
112
|
skipCoerce: true,
|
|
95
|
-
propertyList
|
|
113
|
+
propertyList,
|
|
114
|
+
upstream,
|
|
115
|
+
overwrite,
|
|
96
116
|
}),
|
|
97
117
|
() => console.log(`Coerce the tree table root proxy remote method class`),
|
|
98
118
|
(0, schematics_ts_morph_1.CoerceTreeTableRootProxyRemoteMethodClass)({
|
|
@@ -102,6 +122,7 @@ function nestjsBackendRule(normalizedOptions) {
|
|
|
102
122
|
shared,
|
|
103
123
|
directory,
|
|
104
124
|
getRootOperationId,
|
|
125
|
+
identifier,
|
|
105
126
|
}),
|
|
106
127
|
() => console.log(`Coerce the tree table children proxy remote method class`),
|
|
107
128
|
(0, schematics_ts_morph_1.CoerceTreeTableChildrenProxyRemoteMethodClass)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/schematic/angular/src/schematics/table/tree-table-component/index.ts"],"names":[],"mappings":";;;AAAA,2DAGoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/schematic/angular/src/schematics/table/tree-table-component/index.ts"],"names":[],"mappings":";;;AAAA,2DAGoC;AACpC,mEAYmC;AACnC,6CAA6D;AAC7D,+CAGyB;AAKzB,kEAIsC;AACtC,8DAA0D;AAC1D,0FAAwF;AACxF,oFAK+C;AAC/C,kGAMsD;AACtD,0FAAoF;AACpF,wEAKyC;AASzC,SAAgB,mCAAmC,CACjD,OAA4C;IAE5C,MAAM,sCAAsC,GAAG,IAAA,uEAAqC,EAAC,OAAO,EAAE,yCAAoB,EAAE,aAAa,CAAC,CAAC;IACnI,IAAA,kDAAgC,EAAC,sCAAsC,CAAC,CAAC;IACzE,MAAM,EAAE,IAAI,EAAE,GAAG,sCAAsC,CAAC;IACxD,MAAM,0BAA0B,GAAG,IAAA,8CAAyB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC5E,OAAO,MAAM,CAAC,MAAM,iCACf,sCAAsC,GACtC,0BAA0B,EAC7B,CAAC;AACL,CAAC;AAXD,kFAWC;AAED,SAAS,YAAY,CAAC,OAA4C;IAChE,IAAA,qCAAmB,EAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IACrD,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE;QAC7B,OAAO,CAAC,GAAG,CAAC,wBAAyB,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAE,SAAS,CAAC,CAAC;KACxG;SAAM;QACL,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,CAAC;KAClD;IACD,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;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