@igo2/common 1.15.5 → 1.15.6
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/esm2020/igo2-common.mjs +4 -4
- package/esm2020/lib/action/action.module.mjs +26 -26
- package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +251 -251
- package/esm2020/lib/action/actionbar/actionbar.component.mjs +369 -369
- package/esm2020/lib/action/actionbar/actionbar.module.mjs +56 -56
- package/esm2020/lib/action/index.mjs +3 -3
- package/esm2020/lib/action/shared/action.enums.mjs +7 -7
- package/esm2020/lib/action/shared/action.interfaces.mjs +1 -1
- package/esm2020/lib/action/shared/index.mjs +4 -4
- package/esm2020/lib/action/shared/store.mjs +7 -7
- package/esm2020/lib/backdrop/backdrop.component.mjs +25 -25
- package/esm2020/lib/backdrop/backdrop.module.mjs +24 -24
- package/esm2020/lib/backdrop/index.mjs +2 -2
- package/esm2020/lib/badge-icon/badge-icon.directive.mjs +140 -140
- package/esm2020/lib/badge-icon/badge-icon.module.mjs +25 -25
- package/esm2020/lib/badge-icon/index.mjs +2 -2
- package/esm2020/lib/clickout/clickout.directive.mjs +31 -31
- package/esm2020/lib/clickout/clickout.module.mjs +23 -23
- package/esm2020/lib/clickout/index.mjs +2 -2
- package/esm2020/lib/clone/clone.module.mjs +23 -23
- package/esm2020/lib/clone/clone.pipe.mjs +23 -23
- package/esm2020/lib/clone/index.mjs +2 -2
- package/esm2020/lib/collapsible/collapse.directive.mjs +54 -54
- package/esm2020/lib/collapsible/collapsible.component.mjs +56 -56
- package/esm2020/lib/collapsible/collapsible.module.mjs +26 -26
- package/esm2020/lib/collapsible/index.mjs +2 -2
- package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +43 -43
- package/esm2020/lib/confirm-dialog/confirm-dialog.module.mjs +28 -28
- package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +23 -23
- package/esm2020/lib/confirm-dialog/index.mjs +2 -2
- package/esm2020/lib/context-menu/context-menu.directive.mjs +102 -102
- package/esm2020/lib/context-menu/context-menu.module.mjs +24 -24
- package/esm2020/lib/context-menu/index.mjs +2 -2
- package/esm2020/lib/context-menu/long-press.directive.mjs +66 -66
- package/esm2020/lib/custom-html/custom-html.component.mjs +28 -28
- package/esm2020/lib/custom-html/custom-html.module.mjs +46 -46
- package/esm2020/lib/custom-html/custom-html.pipe.mjs +17 -17
- package/esm2020/lib/custom-html/index.mjs +2 -2
- package/esm2020/lib/dom/dom.interfaces.mjs +2 -2
- package/esm2020/lib/dom/dom.module.mjs +22 -22
- package/esm2020/lib/dom/dom.service.mjs +29 -29
- package/esm2020/lib/dom/index.mjs +3 -3
- package/esm2020/lib/drag-drop/drag-drop.directive.mjs +87 -87
- package/esm2020/lib/drag-drop/drag-drop.module.mjs +23 -23
- package/esm2020/lib/drag-drop/index.mjs +2 -2
- package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +30 -30
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +122 -122
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +27 -27
- package/esm2020/lib/dynamic-component/index.mjs +3 -3
- package/esm2020/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +2 -2
- package/esm2020/lib/dynamic-component/shared/dynamic-component.mjs +173 -173
- package/esm2020/lib/dynamic-component/shared/dynamic-component.service.mjs +28 -28
- package/esm2020/lib/dynamic-component/shared/index.mjs +4 -4
- package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +193 -193
- package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +31 -31
- package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +136 -136
- package/esm2020/lib/entity/entity-table/entity-table.component.mjs +1375 -1375
- package/esm2020/lib/entity/entity-table/entity-table.module.mjs +101 -101
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +131 -131
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +27 -27
- package/esm2020/lib/entity/entity.module.mjs +30 -30
- package/esm2020/lib/entity/index.mjs +5 -5
- package/esm2020/lib/entity/shared/entity.enums.mjs +28 -28
- package/esm2020/lib/entity/shared/entity.interfaces.mjs +1 -1
- package/esm2020/lib/entity/shared/entity.utils.mjs +66 -66
- package/esm2020/lib/entity/shared/index.mjs +10 -10
- package/esm2020/lib/entity/shared/state.mjs +190 -190
- package/esm2020/lib/entity/shared/store.mjs +287 -287
- package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +78 -78
- package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +83 -83
- package/esm2020/lib/entity/shared/strategies/index.mjs +4 -4
- package/esm2020/lib/entity/shared/strategies/strategy.mjs +74 -74
- package/esm2020/lib/entity/shared/transaction.mjs +315 -315
- package/esm2020/lib/entity/shared/view.mjs +314 -314
- package/esm2020/lib/entity/shared/watcher.mjs +119 -119
- package/esm2020/lib/flexible/flexible.component.mjs +147 -147
- package/esm2020/lib/flexible/flexible.module.mjs +23 -23
- package/esm2020/lib/flexible/flexible.type.mjs +2 -2
- package/esm2020/lib/flexible/index.mjs +3 -3
- package/esm2020/lib/form/form/form.component.mjs +116 -116
- package/esm2020/lib/form/form/form.module.mjs +39 -39
- package/esm2020/lib/form/form-field/form-field-select.component.mjs +126 -126
- package/esm2020/lib/form/form-field/form-field-text.component.mjs +103 -103
- package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +104 -104
- package/esm2020/lib/form/form-field/form-field.component.mjs +71 -71
- package/esm2020/lib/form/form-field/form-field.module.mjs +73 -73
- package/esm2020/lib/form/form-field/index.mjs +4 -4
- package/esm2020/lib/form/form-group/form-group.component.mjs +104 -104
- package/esm2020/lib/form/form-group/form-group.module.mjs +39 -39
- package/esm2020/lib/form/form.module.mjs +48 -48
- package/esm2020/lib/form/index.mjs +4 -4
- package/esm2020/lib/form/shared/form-field-component.mjs +7 -7
- package/esm2020/lib/form/shared/form-field.service.mjs +28 -28
- package/esm2020/lib/form/shared/form.interfaces.mjs +1 -1
- package/esm2020/lib/form/shared/form.service.mjs +80 -80
- package/esm2020/lib/form/shared/form.utils.mjs +39 -39
- package/esm2020/lib/form/shared/index.mjs +6 -6
- package/esm2020/lib/home-button/home-button.component.mjs +30 -30
- package/esm2020/lib/home-button/home-button.module.mjs +40 -40
- package/esm2020/lib/home-button/index.mjs +2 -2
- package/esm2020/lib/image/image-error.directive.mjs +34 -34
- package/esm2020/lib/image/image.module.mjs +24 -24
- package/esm2020/lib/image/index.mjs +2 -2
- package/esm2020/lib/image/secure-image.pipe.mjs +58 -58
- package/esm2020/lib/interactive-tour/index.mjs +5 -5
- package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +134 -134
- package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +1 -1
- package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +43 -43
- package/esm2020/lib/interactive-tour/interactive-tour.module.mjs +39 -39
- package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +284 -284
- package/esm2020/lib/json-dialog/index.mjs +3 -3
- package/esm2020/lib/json-dialog/json-dialog.component.mjs +108 -108
- package/esm2020/lib/json-dialog/json-dialog.module.mjs +28 -28
- package/esm2020/lib/json-dialog/json-dialog.service.mjs +23 -23
- package/esm2020/lib/keyvalue/index.mjs +2 -2
- package/esm2020/lib/keyvalue/keyvalue.module.mjs +23 -23
- package/esm2020/lib/keyvalue/keyvalue.pipe.mjs +17 -17
- package/esm2020/lib/list/index.mjs +2 -2
- package/esm2020/lib/list/list-item.directive.mjs +164 -164
- package/esm2020/lib/list/list.component.mjs +261 -261
- package/esm2020/lib/list/list.module.mjs +28 -28
- package/esm2020/lib/panel/index.mjs +2 -2
- package/esm2020/lib/panel/panel.component.mjs +58 -58
- package/esm2020/lib/panel/panel.module.mjs +18 -18
- package/esm2020/lib/sidenav/index.mjs +2 -2
- package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +54 -54
- package/esm2020/lib/sidenav/sidenav.module.mjs +23 -23
- package/esm2020/lib/spinner/index.mjs +2 -2
- package/esm2020/lib/spinner/spinner-activity.directive.mjs +46 -46
- package/esm2020/lib/spinner/spinner.component.mjs +34 -34
- package/esm2020/lib/spinner/spinner.module.mjs +20 -20
- package/esm2020/lib/stop-propagation/index.mjs +2 -2
- package/esm2020/lib/stop-propagation/stop-drop-propagation.directive.mjs +21 -21
- package/esm2020/lib/stop-propagation/stop-propagation.directive.mjs +20 -20
- package/esm2020/lib/stop-propagation/stop-propagation.module.mjs +24 -24
- package/esm2020/lib/table/index.mjs +6 -6
- package/esm2020/lib/table/table-action-color.enum.mjs +7 -7
- package/esm2020/lib/table/table-database.mjs +28 -28
- package/esm2020/lib/table/table-datasource.mjs +60 -60
- package/esm2020/lib/table/table-model.interface.mjs +1 -1
- package/esm2020/lib/table/table.component.mjs +296 -296
- package/esm2020/lib/table/table.module.mjs +66 -66
- package/esm2020/lib/tool/index.mjs +3 -3
- package/esm2020/lib/tool/shared/index.mjs +6 -6
- package/esm2020/lib/tool/shared/tool-component.mjs +8 -8
- package/esm2020/lib/tool/shared/tool.interface.mjs +1 -1
- package/esm2020/lib/tool/shared/tool.service.mjs +43 -43
- package/esm2020/lib/tool/shared/toolbox.enums.mjs +6 -6
- package/esm2020/lib/tool/shared/toolbox.mjs +178 -178
- package/esm2020/lib/tool/tool.module.mjs +31 -31
- package/esm2020/lib/tool/toolbox/toolbox.animation.mjs +9 -9
- package/esm2020/lib/tool/toolbox/toolbox.component.mjs +254 -254
- package/esm2020/lib/tool/toolbox/toolbox.module.mjs +35 -35
- package/esm2020/lib/widget/index.mjs +3 -3
- package/esm2020/lib/widget/shared/index.mjs +4 -4
- package/esm2020/lib/widget/shared/widget.interfaces.mjs +2 -2
- package/esm2020/lib/widget/shared/widget.mjs +4 -4
- package/esm2020/lib/widget/shared/widget.service.mjs +19 -19
- package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +115 -115
- package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +31 -31
- package/esm2020/lib/widget/widget.module.mjs +31 -31
- package/esm2020/lib/workspace/index.mjs +3 -3
- package/esm2020/lib/workspace/shared/index.mjs +4 -4
- package/esm2020/lib/workspace/shared/store.mjs +39 -39
- package/esm2020/lib/workspace/shared/workspace.interfaces.mjs +1 -1
- package/esm2020/lib/workspace/shared/workspace.mjs +116 -116
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +50 -50
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +31 -31
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +87 -87
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +31 -31
- package/esm2020/lib/workspace/workspace.module.mjs +26 -26
- package/esm2020/public_api.mjs +73 -73
- package/fesm2015/igo2-common.mjs +10016 -10016
- package/fesm2015/igo2-common.mjs.map +1 -1
- package/fesm2020/igo2-common.mjs +9319 -9319
- package/fesm2020/igo2-common.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/action/action.module.d.ts +8 -8
- package/lib/action/actionbar/actionbar-item.component.d.ts +78 -78
- package/lib/action/actionbar/actionbar.component.d.ts +146 -146
- package/lib/action/actionbar/actionbar.module.d.ts +20 -20
- package/lib/action/index.d.ts +2 -2
- package/lib/action/shared/action.enums.d.ts +5 -5
- package/lib/action/shared/action.interfaces.d.ts +17 -17
- package/lib/action/shared/index.d.ts +3 -3
- package/lib/action/shared/store.d.ts +8 -8
- package/lib/backdrop/backdrop.component.d.ts +9 -9
- package/lib/backdrop/backdrop.module.d.ts +10 -10
- package/lib/backdrop/index.d.ts +1 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +36 -36
- package/lib/badge-icon/badge-icon.module.d.ts +11 -11
- package/lib/badge-icon/index.d.ts +1 -1
- package/lib/clickout/clickout.directive.d.ts +10 -10
- package/lib/clickout/clickout.module.d.ts +9 -9
- package/lib/clickout/index.d.ts +1 -1
- package/lib/clone/clone.module.d.ts +9 -9
- package/lib/clone/clone.pipe.d.ts +7 -7
- package/lib/clone/index.d.ts +1 -1
- package/lib/collapsible/collapse.directive.d.ts +19 -19
- package/lib/collapsible/collapsible.component.d.ts +13 -13
- package/lib/collapsible/collapsible.module.d.ts +12 -12
- package/lib/collapsible/index.d.ts +2 -2
- package/lib/confirm-dialog/confirm-dialog.component.d.ts +9 -9
- package/lib/confirm-dialog/confirm-dialog.module.d.ts +12 -12
- package/lib/confirm-dialog/confirm-dialog.service.d.ts +12 -12
- package/lib/confirm-dialog/index.d.ts +2 -2
- package/lib/context-menu/context-menu.directive.d.ts +21 -21
- package/lib/context-menu/context-menu.module.d.ts +10 -10
- package/lib/context-menu/index.d.ts +2 -2
- package/lib/context-menu/long-press.directive.d.ts +20 -20
- package/lib/custom-html/custom-html.component.d.ts +9 -9
- package/lib/custom-html/custom-html.module.d.ts +16 -16
- package/lib/custom-html/custom-html.pipe.d.ts +10 -10
- package/lib/custom-html/index.d.ts +2 -2
- package/lib/dom/dom.interfaces.d.ts +10 -10
- package/lib/dom/dom.module.d.ts +8 -8
- package/lib/dom/dom.service.d.ts +10 -10
- package/lib/dom/index.d.ts +2 -2
- package/lib/drag-drop/drag-drop.directive.d.ts +14 -14
- package/lib/drag-drop/drag-drop.module.d.ts +9 -9
- package/lib/drag-drop/index.d.ts +1 -1
- package/lib/dynamic-component/dynamic-component.module.d.ts +8 -8
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +70 -70
- package/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +11 -11
- package/lib/dynamic-component/index.d.ts +2 -2
- package/lib/dynamic-component/shared/dynamic-component.d.ts +88 -88
- package/lib/dynamic-component/shared/dynamic-component.interfaces.d.ts +3 -3
- package/lib/dynamic-component/shared/dynamic-component.service.d.ts +18 -18
- package/lib/dynamic-component/shared/index.d.ts +3 -3
- package/lib/entity/entity-selector/entity-selector.component.d.ts +92 -92
- package/lib/entity/entity-selector/entity-selector.module.d.ts +13 -13
- package/lib/entity/entity-table/entity-table-row.directive.d.ts +69 -69
- package/lib/entity/entity-table/entity-table.component.d.ts +333 -333
- package/lib/entity/entity-table/entity-table.module.d.ts +29 -29
- package/lib/entity/entity-table-paginator/entity-table-paginator.component.d.ts +49 -49
- package/lib/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +8 -8
- package/lib/entity/entity-table-paginator/entity-table-paginator.module.d.ts +11 -11
- package/lib/entity/entity.module.d.ts +10 -10
- package/lib/entity/index.d.ts +5 -5
- package/lib/entity/shared/entity.enums.d.ts +23 -23
- package/lib/entity/shared/entity.interfaces.d.ts +114 -114
- package/lib/entity/shared/entity.utils.d.ts +49 -49
- package/lib/entity/shared/index.d.ts +9 -9
- package/lib/entity/shared/state.d.ts +103 -103
- package/lib/entity/shared/store.d.ts +176 -176
- package/lib/entity/shared/strategies/filter-custom-function.d.ts +51 -51
- package/lib/entity/shared/strategies/filter-selection.d.ts +48 -48
- package/lib/entity/shared/strategies/index.d.ts +3 -3
- package/lib/entity/shared/strategies/strategy.d.ts +56 -56
- package/lib/entity/shared/transaction.d.ts +168 -168
- package/lib/entity/shared/view.d.ts +193 -193
- package/lib/entity/shared/watcher.d.ts +72 -72
- package/lib/flexible/flexible.component.d.ts +41 -41
- package/lib/flexible/flexible.module.d.ts +9 -9
- package/lib/flexible/flexible.type.d.ts +2 -2
- package/lib/flexible/index.d.ts +2 -2
- package/lib/form/form/form.component.d.ts +53 -53
- package/lib/form/form/form.module.d.ts +12 -12
- package/lib/form/form-field/form-field-select.component.d.ts +48 -48
- package/lib/form/form-field/form-field-text.component.d.ts +41 -41
- package/lib/form/form-field/form-field-textarea.component.d.ts +41 -41
- package/lib/form/form-field/form-field.component.d.ts +34 -34
- package/lib/form/form-field/form-field.module.d.ts +21 -21
- package/lib/form/form-field/index.d.ts +4 -4
- package/lib/form/form-group/form-group.component.d.ts +49 -49
- package/lib/form/form-group/form-group.module.d.ts +14 -14
- package/lib/form/form.module.d.ts +13 -13
- package/lib/form/index.d.ts +4 -4
- package/lib/form/shared/form-field-component.d.ts +1 -1
- package/lib/form/shared/form-field.service.d.ts +19 -19
- package/lib/form/shared/form.interfaces.d.ts +57 -57
- package/lib/form/shared/form.service.d.ts +15 -15
- package/lib/form/shared/form.utils.d.ts +11 -11
- package/lib/form/shared/index.d.ts +5 -5
- package/lib/home-button/home-button.component.d.ts +9 -9
- package/lib/home-button/home-button.module.d.ts +15 -15
- package/lib/home-button/index.d.ts +1 -1
- package/lib/image/image-error.directive.d.ts +11 -11
- package/lib/image/image.module.d.ts +10 -10
- package/lib/image/index.d.ts +2 -2
- package/lib/image/secure-image.pipe.d.ts +13 -13
- package/lib/interactive-tour/index.d.ts +4 -4
- package/lib/interactive-tour/interactive-tour.component.d.ts +30 -30
- package/lib/interactive-tour/interactive-tour.interface.d.ts +32 -32
- package/lib/interactive-tour/interactive-tour.loader.d.ts +18 -18
- package/lib/interactive-tour/interactive-tour.module.d.ts +12 -12
- package/lib/interactive-tour/interactive-tour.service.d.ts +29 -29
- package/lib/json-dialog/index.d.ts +2 -2
- package/lib/json-dialog/json-dialog.component.d.ts +13 -13
- package/lib/json-dialog/json-dialog.module.d.ts +13 -13
- package/lib/json-dialog/json-dialog.service.d.ts +10 -10
- package/lib/keyvalue/index.d.ts +1 -1
- package/lib/keyvalue/keyvalue.module.d.ts +9 -9
- package/lib/keyvalue/keyvalue.pipe.d.ts +7 -7
- package/lib/list/index.d.ts +2 -2
- package/lib/list/list-item.directive.d.ts +43 -43
- package/lib/list/list.component.d.ts +51 -51
- package/lib/list/list.module.d.ts +14 -14
- package/lib/panel/index.d.ts +1 -1
- package/lib/panel/panel.component.d.ts +10 -10
- package/lib/panel/panel.module.d.ts +8 -8
- package/lib/sidenav/index.d.ts +1 -1
- package/lib/sidenav/sidenav-shim.directive.d.ts +20 -20
- package/lib/sidenav/sidenav.module.d.ts +9 -9
- package/lib/spinner/index.d.ts +2 -2
- package/lib/spinner/spinner-activity.directive.d.ts +32 -32
- package/lib/spinner/spinner.component.d.ts +12 -12
- package/lib/spinner/spinner.module.d.ts +10 -10
- package/lib/stop-propagation/index.d.ts +2 -2
- package/lib/stop-propagation/stop-drop-propagation.directive.d.ts +6 -6
- package/lib/stop-propagation/stop-propagation.directive.d.ts +6 -6
- package/lib/stop-propagation/stop-propagation.module.d.ts +10 -10
- package/lib/table/index.d.ts +5 -5
- package/lib/table/table-action-color.enum.d.ts +5 -5
- package/lib/table/table-database.d.ts +10 -10
- package/lib/table/table-datasource.d.ts +17 -17
- package/lib/table/table-model.interface.d.ts +28 -28
- package/lib/table/table.component.d.ts +40 -40
- package/lib/table/table.module.d.ts +20 -20
- package/lib/tool/index.d.ts +2 -2
- package/lib/tool/shared/index.d.ts +5 -5
- package/lib/tool/shared/tool-component.d.ts +2 -2
- package/lib/tool/shared/tool.interface.d.ts +18 -18
- package/lib/tool/shared/tool.service.d.ts +30 -30
- package/lib/tool/shared/toolbox.d.ts +95 -95
- package/lib/tool/shared/toolbox.enums.d.ts +5 -5
- package/lib/tool/tool.module.d.ts +10 -10
- package/lib/tool/toolbox/toolbox.animation.d.ts +2 -2
- package/lib/tool/toolbox/toolbox.component.d.ts +127 -127
- package/lib/tool/toolbox/toolbox.module.d.ts +13 -13
- package/lib/widget/index.d.ts +2 -2
- package/lib/widget/shared/index.d.ts +3 -3
- package/lib/widget/shared/widget.d.ts +4 -4
- package/lib/widget/shared/widget.interfaces.d.ts +12 -12
- package/lib/widget/shared/widget.service.d.ts +10 -10
- package/lib/widget/widget-outlet/widget-outlet.component.d.ts +71 -71
- package/lib/widget/widget-outlet/widget-outlet.module.d.ts +12 -12
- package/lib/widget/widget.module.d.ts +8 -8
- package/lib/workspace/index.d.ts +3 -3
- package/lib/workspace/shared/index.d.ts +3 -3
- package/lib/workspace/shared/store.d.ts +20 -20
- package/lib/workspace/shared/workspace.d.ts +108 -108
- package/lib/workspace/shared/workspace.interfaces.d.ts +11 -11
- package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +39 -39
- package/lib/workspace/workspace-selector/workspace-selector.module.d.ts +12 -12
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +57 -57
- package/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +12 -12
- package/lib/workspace/workspace.module.d.ts +9 -9
- package/package.json +3 -3
- package/public_api.d.ts +70 -70
|
@@ -1,333 +1,333 @@
|
|
|
1
|
-
import { EventEmitter, ChangeDetectorRef, OnInit, OnDestroy, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { EntityRecord, EntityState, EntityStore, EntityTableTemplate, EntityTableColumn, EntityTableColumnRenderer, EntityTableSelectionState, EntityTableScrollBehavior } from '../shared';
|
|
4
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
5
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
-
import { EntityTablePaginatorOptions } from '../entity-table-paginator/entity-table-paginator.interface';
|
|
7
|
-
import { UntypedFormBuilder, NgControl, NgForm, FormControlName, UntypedFormGroup } from '@angular/forms';
|
|
8
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
9
|
-
import { DateAdapter, ErrorStateMatcher } from '@angular/material/core';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
12
|
-
private cdRef;
|
|
13
|
-
private formBuilder;
|
|
14
|
-
protected _focusMonitor: FocusMonitor;
|
|
15
|
-
protected _elementRef: ElementRef<HTMLElement>;
|
|
16
|
-
ngControl: NgControl;
|
|
17
|
-
protected _parentForm: NgForm;
|
|
18
|
-
protected _controlName: FormControlName;
|
|
19
|
-
protected _defaultErrorStateMatcher: ErrorStateMatcher;
|
|
20
|
-
private dateAdapter;
|
|
21
|
-
entitySortChange$: BehaviorSubject<boolean>;
|
|
22
|
-
formGroup: UntypedFormGroup;
|
|
23
|
-
filteredOptions: {};
|
|
24
|
-
/**
|
|
25
|
-
* Reference to the column renderer types
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
entityTableColumnRenderer: typeof EntityTableColumnRenderer;
|
|
29
|
-
/**
|
|
30
|
-
* Reference to the selection's state
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
entityTableSelectionState: typeof EntityTableSelectionState;
|
|
34
|
-
/**
|
|
35
|
-
* Observable of the selection,s state
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
readonly selectionState$: BehaviorSubject<EntityTableSelectionState>;
|
|
39
|
-
/**
|
|
40
|
-
* Subscription to the store's selection
|
|
41
|
-
*/
|
|
42
|
-
private selection$$;
|
|
43
|
-
/**
|
|
44
|
-
* Subscription to the dataSource
|
|
45
|
-
*/
|
|
46
|
-
private dataSource$$;
|
|
47
|
-
/**
|
|
48
|
-
* The last record checked. Useful for selecting
|
|
49
|
-
* multiple records by holding the shift key and checking
|
|
50
|
-
* checkboxes.
|
|
51
|
-
*/
|
|
52
|
-
private lastRecordCheckedKey;
|
|
53
|
-
/**
|
|
54
|
-
* Entity store
|
|
55
|
-
*/
|
|
56
|
-
store: EntityStore<object>;
|
|
57
|
-
/**
|
|
58
|
-
* Table paginator
|
|
59
|
-
*/
|
|
60
|
-
set paginator(value: MatPaginator);
|
|
61
|
-
get paginator(): MatPaginator;
|
|
62
|
-
private _paginator;
|
|
63
|
-
/**
|
|
64
|
-
* Table template
|
|
65
|
-
*/
|
|
66
|
-
template: EntityTableTemplate;
|
|
67
|
-
/**
|
|
68
|
-
* Scroll behavior on selection
|
|
69
|
-
*/
|
|
70
|
-
scrollBehavior: EntityTableScrollBehavior;
|
|
71
|
-
/**
|
|
72
|
-
* Whether nulls should be first when sorting
|
|
73
|
-
*/
|
|
74
|
-
sortNullsFirst: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Show the table paginator or not. False by default.
|
|
77
|
-
*/
|
|
78
|
-
withPaginator: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Paginator options
|
|
81
|
-
*/
|
|
82
|
-
paginatorOptions: EntityTablePaginatorOptions;
|
|
83
|
-
/**
|
|
84
|
-
* Event emitted when an entity (row) is clicked
|
|
85
|
-
*/
|
|
86
|
-
entityClick: EventEmitter<object>;
|
|
87
|
-
/**
|
|
88
|
-
* Event emitted when an entity (row) is selected
|
|
89
|
-
*/
|
|
90
|
-
entitySelectChange: EventEmitter<{
|
|
91
|
-
added: object[];
|
|
92
|
-
}>;
|
|
93
|
-
/**
|
|
94
|
-
* Event emitted when the table sort is changed.
|
|
95
|
-
*/
|
|
96
|
-
entitySortChange: EventEmitter<{
|
|
97
|
-
column: EntityTableColumn;
|
|
98
|
-
direction: string;
|
|
99
|
-
}>;
|
|
100
|
-
/**
|
|
101
|
-
* Table headers
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
get headers(): string[];
|
|
105
|
-
/**
|
|
106
|
-
* Data source consumable by the underlying material table
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
dataSource: MatTableDataSource<object>;
|
|
110
|
-
/**
|
|
111
|
-
* Whether selection is supported
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
get selection(): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Whether a selection checkbox should be displayed
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
get selectionCheckbox(): boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Whether selection many entities should eb supported
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
get selectMany(): boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Whether selection many entities should eb supported
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
get fixedHeader(): boolean;
|
|
130
|
-
get tableHeight(): string;
|
|
131
|
-
constructor(cdRef: ChangeDetectorRef, formBuilder: UntypedFormBuilder, _focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>, ngControl: NgControl, _parentForm: NgForm, _controlName: FormControlName, _defaultErrorStateMatcher: ErrorStateMatcher, dateAdapter: DateAdapter<Date>);
|
|
132
|
-
/**
|
|
133
|
-
* Track the selection state to properly display the selection checkboxes
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
ngOnInit(): void;
|
|
137
|
-
/**
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
141
|
-
/**
|
|
142
|
-
* Process text or number value change (edition)
|
|
143
|
-
*/
|
|
144
|
-
onValueChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
145
|
-
/**
|
|
146
|
-
* Process boolean value change (edition)
|
|
147
|
-
*/
|
|
148
|
-
onBooleanValueChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
149
|
-
/**
|
|
150
|
-
* Process select value change (edition)
|
|
151
|
-
*/
|
|
152
|
-
onSelectValueChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
153
|
-
/**
|
|
154
|
-
* Process autocomplete value change (edition)
|
|
155
|
-
*/
|
|
156
|
-
onAutocompleteValueChange(column: EntityTableColumn, record: EntityRecord<any>, event: any): void;
|
|
157
|
-
/**
|
|
158
|
-
* Process date value change (edition)
|
|
159
|
-
*/
|
|
160
|
-
onDateChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
161
|
-
/**
|
|
162
|
-
* Enable edition mode for one row
|
|
163
|
-
* More than one row can be edited at the same time
|
|
164
|
-
*/
|
|
165
|
-
private enableEdit;
|
|
166
|
-
private handleDatasource;
|
|
167
|
-
/**
|
|
168
|
-
* Unbind the store watcher
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
ngOnDestroy(): void;
|
|
172
|
-
private unsubscribeStore;
|
|
173
|
-
/**
|
|
174
|
-
* Trackby function
|
|
175
|
-
* @param record Record
|
|
176
|
-
* @param index Record index
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
|
-
getTrackByFunction(): (index: number, record: EntityRecord<object, EntityState>) => string;
|
|
180
|
-
/**
|
|
181
|
-
* Trigger a refresh of thre table. This can be useful when
|
|
182
|
-
* the data source doesn't emit a new value but for some reason
|
|
183
|
-
* the records need an update.
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
refresh(): void;
|
|
187
|
-
paginatorChange(event: MatPaginator): void;
|
|
188
|
-
/**
|
|
189
|
-
* On sort, sort the store
|
|
190
|
-
* @param event Sort event
|
|
191
|
-
* @internal
|
|
192
|
-
*/
|
|
193
|
-
onSort(event: {
|
|
194
|
-
active: string;
|
|
195
|
-
direction: string;
|
|
196
|
-
}): void;
|
|
197
|
-
/**
|
|
198
|
-
* When an entity is clicked, emit an event
|
|
199
|
-
* @param record Record
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
|
-
onRowClick(record: EntityRecord<object>): void;
|
|
203
|
-
/**
|
|
204
|
-
* When an entity is selected, select it in the store and emit an event. Even if
|
|
205
|
-
* "many" is set to true, this method always select a single, exclusive row. Selecting
|
|
206
|
-
* multiple rows should be achieved by using the checkboxes.
|
|
207
|
-
* @param record Record
|
|
208
|
-
* @internal
|
|
209
|
-
*/
|
|
210
|
-
onRowSelect(record: EntityRecord<object>): void;
|
|
211
|
-
/**
|
|
212
|
-
* Select or unselect all rows at once. On select, emit an event.
|
|
213
|
-
* @param toggle Select or unselect
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
onToggleRows(toggle: boolean): void;
|
|
217
|
-
/**
|
|
218
|
-
* When an entity is toggled, select or unselect it in the store. On select,
|
|
219
|
-
* emit an event.
|
|
220
|
-
* @param toggle Select or unselect
|
|
221
|
-
* @param record Record
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
onToggleRow(toggle: boolean, record: EntityRecord<object>): void;
|
|
225
|
-
/**
|
|
226
|
-
* When an entity is toggled, select or unselect it in the store. On select,
|
|
227
|
-
* emit an event.
|
|
228
|
-
* @param toggle Select or unselect
|
|
229
|
-
* @param record Record
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
|
-
onShiftToggleRow(toggle: boolean, record: EntityRecord<object>, event: MouseEvent): void;
|
|
233
|
-
/**
|
|
234
|
-
* Compute the selection state
|
|
235
|
-
* @returns Whether all, some or no rows are selected
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
private computeSelectionState;
|
|
239
|
-
/**
|
|
240
|
-
* Whether a column is sortable
|
|
241
|
-
* @param column Column
|
|
242
|
-
* @returns True if a column is sortable
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
245
|
-
columnIsSortable(column: EntityTableColumn): boolean;
|
|
246
|
-
/**
|
|
247
|
-
* Whether a row is should be selected based on the underlying entity state
|
|
248
|
-
* @param record Record
|
|
249
|
-
* @returns True if a row should be selected
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
|
-
rowIsSelected(record: EntityRecord<object>): boolean;
|
|
253
|
-
isImg(value: any): boolean;
|
|
254
|
-
isUrl(value: any): boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Method to access an entity's values
|
|
257
|
-
* @param record Record
|
|
258
|
-
* @param column Column
|
|
259
|
-
* @returns Any value
|
|
260
|
-
* @internal
|
|
261
|
-
*/
|
|
262
|
-
getValue(record: EntityRecord<object>, column: EntityTableColumn): any;
|
|
263
|
-
/**
|
|
264
|
-
* Method to access an entity's validation values
|
|
265
|
-
* @param column Column
|
|
266
|
-
* @param validationType string
|
|
267
|
-
* @returns Any value (false if no validation or not the one concerned)
|
|
268
|
-
* @internal
|
|
269
|
-
*/
|
|
270
|
-
getValidationAttributeValue(column: EntityTableColumn, validationType: string): any;
|
|
271
|
-
isEdition(record: any): boolean;
|
|
272
|
-
/**
|
|
273
|
-
* Return the type of renderer of a column
|
|
274
|
-
* @param column Column
|
|
275
|
-
* @returns Renderer type
|
|
276
|
-
* @internal
|
|
277
|
-
*/
|
|
278
|
-
getColumnRenderer(column: EntityTableColumn): EntityTableColumnRenderer;
|
|
279
|
-
/**
|
|
280
|
-
* Return the table ngClass
|
|
281
|
-
* @returns ngClass
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
getTableClass(): {
|
|
285
|
-
[key: string]: boolean;
|
|
286
|
-
};
|
|
287
|
-
/**
|
|
288
|
-
* Return a header ngClass
|
|
289
|
-
* @returns ngClass
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
|
-
getHeaderClass(): {
|
|
293
|
-
[key: string]: boolean;
|
|
294
|
-
};
|
|
295
|
-
/**
|
|
296
|
-
* Return a row ngClass
|
|
297
|
-
* @param record Record
|
|
298
|
-
* @returns ngClass
|
|
299
|
-
* @internal
|
|
300
|
-
*/
|
|
301
|
-
getRowClass(record: EntityRecord<object>): {
|
|
302
|
-
[key: string]: boolean;
|
|
303
|
-
};
|
|
304
|
-
/**
|
|
305
|
-
* Return a row ngClass
|
|
306
|
-
* @param record Record
|
|
307
|
-
* @param column Column
|
|
308
|
-
* @returns ngClass
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
getCellClass(record: EntityRecord<object>, column: EntityTableColumn): {
|
|
312
|
-
[key: string]: boolean;
|
|
313
|
-
};
|
|
314
|
-
/**
|
|
315
|
-
* When a button is clicked
|
|
316
|
-
* @param func Function
|
|
317
|
-
* @param record Record
|
|
318
|
-
* @internal
|
|
319
|
-
*/
|
|
320
|
-
onButtonClick(clickFunc: (entity: object, record?: EntityRecord<object>) => void, record: EntityRecord<object>): void;
|
|
321
|
-
/**
|
|
322
|
-
* Retrieve column name without his "properties" tag (useful for edition workspace properties)
|
|
323
|
-
*/
|
|
324
|
-
getColumnKeyWithoutPropertiesTag(column: string): string;
|
|
325
|
-
/**
|
|
326
|
-
* Check if string is a valid number
|
|
327
|
-
* @param value string
|
|
328
|
-
* @returns boolean
|
|
329
|
-
*/
|
|
330
|
-
private isStringValidNumber;
|
|
331
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntityTableComponent, [null, null, null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null]>;
|
|
332
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntityTableComponent, "igo-entity-table", never, { "store": "store"; "paginator": "paginator"; "template": "template"; "scrollBehavior": "scrollBehavior"; "sortNullsFirst": "sortNullsFirst"; "withPaginator": "withPaginator"; "paginatorOptions": "paginatorOptions"; }, { "entityClick": "entityClick"; "entitySelectChange": "entitySelectChange"; "entitySortChange": "entitySortChange"; }, never, never, false>;
|
|
333
|
-
}
|
|
1
|
+
import { EventEmitter, ChangeDetectorRef, OnInit, OnDestroy, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { EntityRecord, EntityState, EntityStore, EntityTableTemplate, EntityTableColumn, EntityTableColumnRenderer, EntityTableSelectionState, EntityTableScrollBehavior } from '../shared';
|
|
4
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
+
import { EntityTablePaginatorOptions } from '../entity-table-paginator/entity-table-paginator.interface';
|
|
7
|
+
import { UntypedFormBuilder, NgControl, NgForm, FormControlName, UntypedFormGroup } from '@angular/forms';
|
|
8
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
9
|
+
import { DateAdapter, ErrorStateMatcher } from '@angular/material/core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class EntityTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
12
|
+
private cdRef;
|
|
13
|
+
private formBuilder;
|
|
14
|
+
protected _focusMonitor: FocusMonitor;
|
|
15
|
+
protected _elementRef: ElementRef<HTMLElement>;
|
|
16
|
+
ngControl: NgControl;
|
|
17
|
+
protected _parentForm: NgForm;
|
|
18
|
+
protected _controlName: FormControlName;
|
|
19
|
+
protected _defaultErrorStateMatcher: ErrorStateMatcher;
|
|
20
|
+
private dateAdapter;
|
|
21
|
+
entitySortChange$: BehaviorSubject<boolean>;
|
|
22
|
+
formGroup: UntypedFormGroup;
|
|
23
|
+
filteredOptions: {};
|
|
24
|
+
/**
|
|
25
|
+
* Reference to the column renderer types
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
entityTableColumnRenderer: typeof EntityTableColumnRenderer;
|
|
29
|
+
/**
|
|
30
|
+
* Reference to the selection's state
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
entityTableSelectionState: typeof EntityTableSelectionState;
|
|
34
|
+
/**
|
|
35
|
+
* Observable of the selection,s state
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
readonly selectionState$: BehaviorSubject<EntityTableSelectionState>;
|
|
39
|
+
/**
|
|
40
|
+
* Subscription to the store's selection
|
|
41
|
+
*/
|
|
42
|
+
private selection$$;
|
|
43
|
+
/**
|
|
44
|
+
* Subscription to the dataSource
|
|
45
|
+
*/
|
|
46
|
+
private dataSource$$;
|
|
47
|
+
/**
|
|
48
|
+
* The last record checked. Useful for selecting
|
|
49
|
+
* multiple records by holding the shift key and checking
|
|
50
|
+
* checkboxes.
|
|
51
|
+
*/
|
|
52
|
+
private lastRecordCheckedKey;
|
|
53
|
+
/**
|
|
54
|
+
* Entity store
|
|
55
|
+
*/
|
|
56
|
+
store: EntityStore<object>;
|
|
57
|
+
/**
|
|
58
|
+
* Table paginator
|
|
59
|
+
*/
|
|
60
|
+
set paginator(value: MatPaginator);
|
|
61
|
+
get paginator(): MatPaginator;
|
|
62
|
+
private _paginator;
|
|
63
|
+
/**
|
|
64
|
+
* Table template
|
|
65
|
+
*/
|
|
66
|
+
template: EntityTableTemplate;
|
|
67
|
+
/**
|
|
68
|
+
* Scroll behavior on selection
|
|
69
|
+
*/
|
|
70
|
+
scrollBehavior: EntityTableScrollBehavior;
|
|
71
|
+
/**
|
|
72
|
+
* Whether nulls should be first when sorting
|
|
73
|
+
*/
|
|
74
|
+
sortNullsFirst: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Show the table paginator or not. False by default.
|
|
77
|
+
*/
|
|
78
|
+
withPaginator: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Paginator options
|
|
81
|
+
*/
|
|
82
|
+
paginatorOptions: EntityTablePaginatorOptions;
|
|
83
|
+
/**
|
|
84
|
+
* Event emitted when an entity (row) is clicked
|
|
85
|
+
*/
|
|
86
|
+
entityClick: EventEmitter<object>;
|
|
87
|
+
/**
|
|
88
|
+
* Event emitted when an entity (row) is selected
|
|
89
|
+
*/
|
|
90
|
+
entitySelectChange: EventEmitter<{
|
|
91
|
+
added: object[];
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* Event emitted when the table sort is changed.
|
|
95
|
+
*/
|
|
96
|
+
entitySortChange: EventEmitter<{
|
|
97
|
+
column: EntityTableColumn;
|
|
98
|
+
direction: string;
|
|
99
|
+
}>;
|
|
100
|
+
/**
|
|
101
|
+
* Table headers
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
get headers(): string[];
|
|
105
|
+
/**
|
|
106
|
+
* Data source consumable by the underlying material table
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
dataSource: MatTableDataSource<object>;
|
|
110
|
+
/**
|
|
111
|
+
* Whether selection is supported
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
get selection(): boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Whether a selection checkbox should be displayed
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
get selectionCheckbox(): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Whether selection many entities should eb supported
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
get selectMany(): boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Whether selection many entities should eb supported
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
get fixedHeader(): boolean;
|
|
130
|
+
get tableHeight(): string;
|
|
131
|
+
constructor(cdRef: ChangeDetectorRef, formBuilder: UntypedFormBuilder, _focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>, ngControl: NgControl, _parentForm: NgForm, _controlName: FormControlName, _defaultErrorStateMatcher: ErrorStateMatcher, dateAdapter: DateAdapter<Date>);
|
|
132
|
+
/**
|
|
133
|
+
* Track the selection state to properly display the selection checkboxes
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
ngOnInit(): void;
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
141
|
+
/**
|
|
142
|
+
* Process text or number value change (edition)
|
|
143
|
+
*/
|
|
144
|
+
onValueChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
145
|
+
/**
|
|
146
|
+
* Process boolean value change (edition)
|
|
147
|
+
*/
|
|
148
|
+
onBooleanValueChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
149
|
+
/**
|
|
150
|
+
* Process select value change (edition)
|
|
151
|
+
*/
|
|
152
|
+
onSelectValueChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
153
|
+
/**
|
|
154
|
+
* Process autocomplete value change (edition)
|
|
155
|
+
*/
|
|
156
|
+
onAutocompleteValueChange(column: EntityTableColumn, record: EntityRecord<any>, event: any): void;
|
|
157
|
+
/**
|
|
158
|
+
* Process date value change (edition)
|
|
159
|
+
*/
|
|
160
|
+
onDateChange(column: string, record: EntityRecord<any>, event: any): void;
|
|
161
|
+
/**
|
|
162
|
+
* Enable edition mode for one row
|
|
163
|
+
* More than one row can be edited at the same time
|
|
164
|
+
*/
|
|
165
|
+
private enableEdit;
|
|
166
|
+
private handleDatasource;
|
|
167
|
+
/**
|
|
168
|
+
* Unbind the store watcher
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
ngOnDestroy(): void;
|
|
172
|
+
private unsubscribeStore;
|
|
173
|
+
/**
|
|
174
|
+
* Trackby function
|
|
175
|
+
* @param record Record
|
|
176
|
+
* @param index Record index
|
|
177
|
+
* @internal
|
|
178
|
+
*/
|
|
179
|
+
getTrackByFunction(): (index: number, record: EntityRecord<object, EntityState>) => string;
|
|
180
|
+
/**
|
|
181
|
+
* Trigger a refresh of thre table. This can be useful when
|
|
182
|
+
* the data source doesn't emit a new value but for some reason
|
|
183
|
+
* the records need an update.
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
refresh(): void;
|
|
187
|
+
paginatorChange(event: MatPaginator): void;
|
|
188
|
+
/**
|
|
189
|
+
* On sort, sort the store
|
|
190
|
+
* @param event Sort event
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
onSort(event: {
|
|
194
|
+
active: string;
|
|
195
|
+
direction: string;
|
|
196
|
+
}): void;
|
|
197
|
+
/**
|
|
198
|
+
* When an entity is clicked, emit an event
|
|
199
|
+
* @param record Record
|
|
200
|
+
* @internal
|
|
201
|
+
*/
|
|
202
|
+
onRowClick(record: EntityRecord<object>): void;
|
|
203
|
+
/**
|
|
204
|
+
* When an entity is selected, select it in the store and emit an event. Even if
|
|
205
|
+
* "many" is set to true, this method always select a single, exclusive row. Selecting
|
|
206
|
+
* multiple rows should be achieved by using the checkboxes.
|
|
207
|
+
* @param record Record
|
|
208
|
+
* @internal
|
|
209
|
+
*/
|
|
210
|
+
onRowSelect(record: EntityRecord<object>): void;
|
|
211
|
+
/**
|
|
212
|
+
* Select or unselect all rows at once. On select, emit an event.
|
|
213
|
+
* @param toggle Select or unselect
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
onToggleRows(toggle: boolean): void;
|
|
217
|
+
/**
|
|
218
|
+
* When an entity is toggled, select or unselect it in the store. On select,
|
|
219
|
+
* emit an event.
|
|
220
|
+
* @param toggle Select or unselect
|
|
221
|
+
* @param record Record
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
onToggleRow(toggle: boolean, record: EntityRecord<object>): void;
|
|
225
|
+
/**
|
|
226
|
+
* When an entity is toggled, select or unselect it in the store. On select,
|
|
227
|
+
* emit an event.
|
|
228
|
+
* @param toggle Select or unselect
|
|
229
|
+
* @param record Record
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
onShiftToggleRow(toggle: boolean, record: EntityRecord<object>, event: MouseEvent): void;
|
|
233
|
+
/**
|
|
234
|
+
* Compute the selection state
|
|
235
|
+
* @returns Whether all, some or no rows are selected
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
private computeSelectionState;
|
|
239
|
+
/**
|
|
240
|
+
* Whether a column is sortable
|
|
241
|
+
* @param column Column
|
|
242
|
+
* @returns True if a column is sortable
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
columnIsSortable(column: EntityTableColumn): boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Whether a row is should be selected based on the underlying entity state
|
|
248
|
+
* @param record Record
|
|
249
|
+
* @returns True if a row should be selected
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
rowIsSelected(record: EntityRecord<object>): boolean;
|
|
253
|
+
isImg(value: any): boolean;
|
|
254
|
+
isUrl(value: any): boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Method to access an entity's values
|
|
257
|
+
* @param record Record
|
|
258
|
+
* @param column Column
|
|
259
|
+
* @returns Any value
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
getValue(record: EntityRecord<object>, column: EntityTableColumn): any;
|
|
263
|
+
/**
|
|
264
|
+
* Method to access an entity's validation values
|
|
265
|
+
* @param column Column
|
|
266
|
+
* @param validationType string
|
|
267
|
+
* @returns Any value (false if no validation or not the one concerned)
|
|
268
|
+
* @internal
|
|
269
|
+
*/
|
|
270
|
+
getValidationAttributeValue(column: EntityTableColumn, validationType: string): any;
|
|
271
|
+
isEdition(record: any): boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Return the type of renderer of a column
|
|
274
|
+
* @param column Column
|
|
275
|
+
* @returns Renderer type
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
getColumnRenderer(column: EntityTableColumn): EntityTableColumnRenderer;
|
|
279
|
+
/**
|
|
280
|
+
* Return the table ngClass
|
|
281
|
+
* @returns ngClass
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
getTableClass(): {
|
|
285
|
+
[key: string]: boolean;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Return a header ngClass
|
|
289
|
+
* @returns ngClass
|
|
290
|
+
* @internal
|
|
291
|
+
*/
|
|
292
|
+
getHeaderClass(): {
|
|
293
|
+
[key: string]: boolean;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Return a row ngClass
|
|
297
|
+
* @param record Record
|
|
298
|
+
* @returns ngClass
|
|
299
|
+
* @internal
|
|
300
|
+
*/
|
|
301
|
+
getRowClass(record: EntityRecord<object>): {
|
|
302
|
+
[key: string]: boolean;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Return a row ngClass
|
|
306
|
+
* @param record Record
|
|
307
|
+
* @param column Column
|
|
308
|
+
* @returns ngClass
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
getCellClass(record: EntityRecord<object>, column: EntityTableColumn): {
|
|
312
|
+
[key: string]: boolean;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* When a button is clicked
|
|
316
|
+
* @param func Function
|
|
317
|
+
* @param record Record
|
|
318
|
+
* @internal
|
|
319
|
+
*/
|
|
320
|
+
onButtonClick(clickFunc: (entity: object, record?: EntityRecord<object>) => void, record: EntityRecord<object>): void;
|
|
321
|
+
/**
|
|
322
|
+
* Retrieve column name without his "properties" tag (useful for edition workspace properties)
|
|
323
|
+
*/
|
|
324
|
+
getColumnKeyWithoutPropertiesTag(column: string): string;
|
|
325
|
+
/**
|
|
326
|
+
* Check if string is a valid number
|
|
327
|
+
* @param value string
|
|
328
|
+
* @returns boolean
|
|
329
|
+
*/
|
|
330
|
+
private isStringValidNumber;
|
|
331
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityTableComponent, [null, null, null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null]>;
|
|
332
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityTableComponent, "igo-entity-table", never, { "store": "store"; "paginator": "paginator"; "template": "template"; "scrollBehavior": "scrollBehavior"; "sortNullsFirst": "sortNullsFirst"; "withPaginator": "withPaginator"; "paginatorOptions": "paginatorOptions"; }, { "entityClick": "entityClick"; "entitySelectChange": "entitySelectChange"; "entitySortChange": "entitySortChange"; }, never, never, false>;
|
|
333
|
+
}
|