@igo2/common 1.15.3 → 1.15.5
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 +27 -27
- package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +252 -252
- package/esm2020/lib/action/actionbar/actionbar.component.mjs +370 -370
- package/esm2020/lib/action/actionbar/actionbar.module.mjs +57 -57
- 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 +2 -2
- package/esm2020/lib/action/shared/index.mjs +4 -4
- package/esm2020/lib/action/shared/store.mjs +8 -8
- package/esm2020/lib/backdrop/backdrop.component.mjs +26 -26
- package/esm2020/lib/backdrop/backdrop.module.mjs +25 -25
- package/esm2020/lib/backdrop/index.mjs +2 -2
- package/esm2020/lib/badge-icon/badge-icon.directive.mjs +141 -141
- package/esm2020/lib/badge-icon/badge-icon.module.mjs +26 -26
- package/esm2020/lib/badge-icon/index.mjs +2 -2
- package/esm2020/lib/clickout/clickout.directive.mjs +32 -32
- package/esm2020/lib/clickout/clickout.module.mjs +24 -24
- package/esm2020/lib/clickout/index.mjs +2 -2
- package/esm2020/lib/clone/clone.module.mjs +24 -24
- package/esm2020/lib/clone/clone.pipe.mjs +24 -24
- package/esm2020/lib/clone/index.mjs +2 -2
- package/esm2020/lib/collapsible/collapse.directive.mjs +55 -55
- package/esm2020/lib/collapsible/collapsible.component.mjs +57 -57
- package/esm2020/lib/collapsible/collapsible.module.mjs +27 -27
- package/esm2020/lib/collapsible/index.mjs +3 -3
- package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +44 -44
- package/esm2020/lib/confirm-dialog/confirm-dialog.module.mjs +29 -29
- package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +24 -24
- package/esm2020/lib/confirm-dialog/index.mjs +3 -3
- package/esm2020/lib/context-menu/context-menu.directive.mjs +103 -103
- package/esm2020/lib/context-menu/context-menu.module.mjs +25 -25
- package/esm2020/lib/context-menu/index.mjs +3 -3
- package/esm2020/lib/context-menu/long-press.directive.mjs +67 -67
- package/esm2020/lib/custom-html/custom-html.component.mjs +28 -28
- package/esm2020/lib/custom-html/custom-html.module.mjs +47 -47
- package/esm2020/lib/custom-html/custom-html.pipe.mjs +18 -18
- package/esm2020/lib/custom-html/index.mjs +3 -3
- package/esm2020/lib/dom/dom.interfaces.mjs +2 -2
- package/esm2020/lib/dom/dom.module.mjs +23 -23
- package/esm2020/lib/dom/dom.service.mjs +30 -30
- 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 +24 -24
- package/esm2020/lib/drag-drop/index.mjs +2 -2
- package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +31 -31
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +122 -122
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +28 -28
- 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 +174 -174
- package/esm2020/lib/dynamic-component/shared/dynamic-component.service.mjs +29 -29
- package/esm2020/lib/dynamic-component/shared/index.mjs +4 -4
- package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +194 -194
- package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +32 -32
- package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +137 -137
- package/esm2020/lib/entity/entity-table/entity-table.component.mjs +1376 -1376
- package/esm2020/lib/entity/entity-table/entity-table.module.mjs +102 -102
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +132 -132
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +2 -2
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +28 -28
- package/esm2020/lib/entity/entity.module.mjs +31 -31
- package/esm2020/lib/entity/index.mjs +6 -6
- package/esm2020/lib/entity/shared/entity.enums.mjs +28 -28
- package/esm2020/lib/entity/shared/entity.interfaces.mjs +2 -2
- package/esm2020/lib/entity/shared/entity.utils.mjs +67 -67
- package/esm2020/lib/entity/shared/index.mjs +10 -10
- package/esm2020/lib/entity/shared/state.mjs +191 -191
- package/esm2020/lib/entity/shared/store.mjs +288 -288
- package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +79 -79
- package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +84 -84
- package/esm2020/lib/entity/shared/strategies/index.mjs +4 -4
- package/esm2020/lib/entity/shared/strategies/strategy.mjs +75 -75
- package/esm2020/lib/entity/shared/transaction.mjs +316 -316
- package/esm2020/lib/entity/shared/view.mjs +315 -315
- package/esm2020/lib/entity/shared/watcher.mjs +120 -120
- package/esm2020/lib/flexible/flexible.component.mjs +148 -148
- package/esm2020/lib/flexible/flexible.module.mjs +24 -24
- 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 +117 -117
- package/esm2020/lib/form/form/form.module.mjs +40 -40
- package/esm2020/lib/form/form-field/form-field-select.component.mjs +127 -127
- package/esm2020/lib/form/form-field/form-field-text.component.mjs +104 -104
- package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +105 -105
- package/esm2020/lib/form/form-field/form-field.component.mjs +72 -72
- package/esm2020/lib/form/form-field/form-field.module.mjs +74 -74
- package/esm2020/lib/form/form-field/index.mjs +5 -5
- package/esm2020/lib/form/form-group/form-group.component.mjs +105 -105
- package/esm2020/lib/form/form-group/form-group.module.mjs +40 -40
- package/esm2020/lib/form/form.module.mjs +49 -49
- package/esm2020/lib/form/index.mjs +5 -5
- package/esm2020/lib/form/shared/form-field-component.mjs +7 -7
- package/esm2020/lib/form/shared/form-field.service.mjs +29 -29
- package/esm2020/lib/form/shared/form.interfaces.mjs +2 -2
- package/esm2020/lib/form/shared/form.service.mjs +81 -81
- package/esm2020/lib/form/shared/form.utils.mjs +40 -40
- package/esm2020/lib/form/shared/index.mjs +6 -6
- package/esm2020/lib/home-button/home-button.component.mjs +31 -31
- package/esm2020/lib/home-button/home-button.module.mjs +41 -41
- package/esm2020/lib/home-button/index.mjs +2 -2
- package/esm2020/lib/image/image-error.directive.mjs +35 -35
- package/esm2020/lib/image/image.module.mjs +25 -25
- package/esm2020/lib/image/index.mjs +3 -3
- package/esm2020/lib/image/secure-image.pipe.mjs +59 -59
- package/esm2020/lib/interactive-tour/index.mjs +5 -5
- package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +135 -135
- package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +2 -2
- package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +44 -44
- package/esm2020/lib/interactive-tour/interactive-tour.module.mjs +40 -40
- package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +285 -285
- package/esm2020/lib/json-dialog/index.mjs +3 -3
- package/esm2020/lib/json-dialog/json-dialog.component.mjs +109 -109
- package/esm2020/lib/json-dialog/json-dialog.module.mjs +29 -29
- package/esm2020/lib/json-dialog/json-dialog.service.mjs +24 -24
- package/esm2020/lib/keyvalue/index.mjs +2 -2
- package/esm2020/lib/keyvalue/keyvalue.module.mjs +24 -24
- package/esm2020/lib/keyvalue/keyvalue.pipe.mjs +18 -18
- package/esm2020/lib/list/index.mjs +3 -3
- package/esm2020/lib/list/list-item.directive.mjs +165 -165
- package/esm2020/lib/list/list.component.mjs +262 -262
- package/esm2020/lib/list/list.module.mjs +29 -29
- package/esm2020/lib/panel/index.mjs +2 -2
- package/esm2020/lib/panel/panel.component.mjs +59 -59
- package/esm2020/lib/panel/panel.module.mjs +19 -19
- package/esm2020/lib/sidenav/index.mjs +2 -2
- package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +55 -55
- package/esm2020/lib/sidenav/sidenav.module.mjs +24 -24
- package/esm2020/lib/spinner/index.mjs +3 -3
- package/esm2020/lib/spinner/spinner-activity.directive.mjs +47 -47
- package/esm2020/lib/spinner/spinner.component.mjs +35 -35
- package/esm2020/lib/spinner/spinner.module.mjs +21 -21
- package/esm2020/lib/stop-propagation/index.mjs +3 -3
- package/esm2020/lib/stop-propagation/stop-drop-propagation.directive.mjs +22 -22
- package/esm2020/lib/stop-propagation/stop-propagation.directive.mjs +21 -21
- package/esm2020/lib/stop-propagation/stop-propagation.module.mjs +25 -25
- 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 +61 -61
- package/esm2020/lib/table/table-model.interface.mjs +2 -2
- package/esm2020/lib/table/table.component.mjs +297 -297
- package/esm2020/lib/table/table.module.mjs +67 -67
- 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 +9 -9
- package/esm2020/lib/tool/shared/tool.interface.mjs +2 -2
- package/esm2020/lib/tool/shared/tool.service.mjs +43 -43
- package/esm2020/lib/tool/shared/toolbox.enums.mjs +7 -7
- package/esm2020/lib/tool/shared/toolbox.mjs +179 -179
- package/esm2020/lib/tool/tool.module.mjs +32 -32
- package/esm2020/lib/tool/toolbox/toolbox.animation.mjs +10 -10
- package/esm2020/lib/tool/toolbox/toolbox.component.mjs +255 -255
- package/esm2020/lib/tool/toolbox/toolbox.module.mjs +36 -36
- 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 +20 -20
- package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +116 -116
- package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +32 -32
- package/esm2020/lib/widget/widget.module.mjs +32 -32
- package/esm2020/lib/workspace/index.mjs +4 -4
- package/esm2020/lib/workspace/shared/index.mjs +4 -4
- package/esm2020/lib/workspace/shared/store.mjs +40 -40
- package/esm2020/lib/workspace/shared/workspace.interfaces.mjs +2 -2
- package/esm2020/lib/workspace/shared/workspace.mjs +117 -117
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +51 -51
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +32 -32
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +88 -88
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +32 -32
- package/esm2020/lib/workspace/workspace.module.mjs +27 -27
- package/esm2020/public_api.mjs +74 -74
- 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
- package/style/common.theming.scss +12 -12
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Input, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { formControlIsRequired, getControlErrorMessage } from '../shared/form.utils';
|
|
5
|
-
import { IgoFormFieldComponent } from '../shared/form-field-component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
import * as i2 from "@angular/forms";
|
|
9
|
-
import * as i3 from "@angular/material/icon";
|
|
10
|
-
import * as i4 from "@angular/material/form-field";
|
|
11
|
-
import * as i5 from "@angular/material/input";
|
|
12
|
-
import * as i6 from "@ngx-translate/core";
|
|
13
|
-
function FormFieldTextareaComponent_mat_icon_3_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
15
|
-
i0.ɵɵelementStart(0, "mat-icon", 3);
|
|
16
|
-
i0.ɵɵlistener("click", function FormFieldTextareaComponent_mat_icon_3_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onDisableSwitchClick()); });
|
|
17
|
-
i0.ɵɵpipe(1, "async");
|
|
18
|
-
i0.ɵɵelementEnd();
|
|
19
|
-
} if (rf & 2) {
|
|
20
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
|
-
i0.ɵɵproperty("svgIcon", i0.ɵɵpipeBind1(1, 1, ctx_r0.disabled$) === true ? "checkbox-blank-outline" : "checkbox-marked-outline");
|
|
22
|
-
} }
|
|
23
|
-
function FormFieldTextareaComponent_mat_error_4_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
-
i0.ɵɵelementStart(0, "mat-error");
|
|
25
|
-
i0.ɵɵtext(1);
|
|
26
|
-
i0.ɵɵpipe(2, "translate");
|
|
27
|
-
i0.ɵɵelementEnd();
|
|
28
|
-
} if (rf & 2) {
|
|
29
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
30
|
-
i0.ɵɵadvance(1);
|
|
31
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.getErrorMessage()));
|
|
32
|
-
} }
|
|
33
|
-
/**
|
|
34
|
-
* This component renders a textarea field
|
|
35
|
-
*/
|
|
36
|
-
let FormFieldTextareaComponent = class FormFieldTextareaComponent {
|
|
37
|
-
constructor() {
|
|
38
|
-
this.disabled$ = new BehaviorSubject(false);
|
|
39
|
-
/**
|
|
40
|
-
* Wheter a disable switch should be available
|
|
41
|
-
*/
|
|
42
|
-
this.disableSwitch = false;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Whether the field is required
|
|
46
|
-
*/
|
|
47
|
-
get required() {
|
|
48
|
-
return formControlIsRequired(this.formControl);
|
|
49
|
-
}
|
|
50
|
-
ngOnInit() {
|
|
51
|
-
this.disabled$.next(this.formControl.disabled);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Get error message
|
|
55
|
-
*/
|
|
56
|
-
getErrorMessage() {
|
|
57
|
-
return getControlErrorMessage(this.formControl, this.errors);
|
|
58
|
-
}
|
|
59
|
-
onDisableSwitchClick() {
|
|
60
|
-
this.toggleDisabled();
|
|
61
|
-
}
|
|
62
|
-
toggleDisabled() {
|
|
63
|
-
const disabled = !this.disabled$.value;
|
|
64
|
-
if (disabled === true) {
|
|
65
|
-
this.formControl.disable();
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
this.formControl.enable();
|
|
69
|
-
}
|
|
70
|
-
this.disabled$.next(disabled);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
FormFieldTextareaComponent.ɵfac = function FormFieldTextareaComponent_Factory(t) { return new (t || FormFieldTextareaComponent)(); };
|
|
74
|
-
FormFieldTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFieldTextareaComponent, selectors: [["igo-form-field-textarea"]], inputs: { formControl: "formControl", placeholder: "placeholder", errors: "errors", disableSwitch: "disableSwitch" }, decls: 5, vars: 5, consts: [["matInput", "", 3, "required", "placeholder", "formControl"], ["class", "igo-form-disable-switch", "matPrefix", "", 3, "svgIcon", "click", 4, "ngIf"], [4, "ngIf"], ["matPrefix", "", 1, "igo-form-disable-switch", 3, "svgIcon", "click"]], template: function FormFieldTextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
-
i0.ɵɵelementStart(0, "mat-form-field")(1, "textarea", 0);
|
|
76
|
-
i0.ɵɵtext(2, " ");
|
|
77
|
-
i0.ɵɵelementEnd();
|
|
78
|
-
i0.ɵɵtemplate(3, FormFieldTextareaComponent_mat_icon_3_Template, 2, 3, "mat-icon", 1);
|
|
79
|
-
i0.ɵɵtemplate(4, FormFieldTextareaComponent_mat_error_4_Template, 3, 3, "mat-error", 2);
|
|
80
|
-
i0.ɵɵelementEnd();
|
|
81
|
-
} if (rf & 2) {
|
|
82
|
-
i0.ɵɵadvance(1);
|
|
83
|
-
i0.ɵɵproperty("required", ctx.required)("placeholder", ctx.placeholder)("formControl", ctx.formControl);
|
|
84
|
-
i0.ɵɵadvance(2);
|
|
85
|
-
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
86
|
-
i0.ɵɵadvance(1);
|
|
87
|
-
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
88
|
-
} }, dependencies: [i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.RequiredValidator, i2.FormControlDirective, i3.MatIcon, i4.MatError, i4.MatFormField, i4.MatPrefix, i5.MatInput, i1.AsyncPipe, i6.TranslatePipe], encapsulation: 2, changeDetection: 0 });
|
|
89
|
-
FormFieldTextareaComponent = __decorate([
|
|
90
|
-
IgoFormFieldComponent('textarea')
|
|
91
|
-
], FormFieldTextareaComponent);
|
|
92
|
-
export { FormFieldTextareaComponent };
|
|
93
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldTextareaComponent, [{
|
|
94
|
-
type: Component,
|
|
95
|
-
args: [{ selector: 'igo-form-field-textarea', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field>\
|
|
96
|
-
}], null, { formControl: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}], placeholder: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], errors: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], disableSwitch: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}] }); })();
|
|
105
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Input, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { formControlIsRequired, getControlErrorMessage } from '../shared/form.utils';
|
|
5
|
+
import { IgoFormFieldComponent } from '../shared/form-field-component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@angular/forms";
|
|
9
|
+
import * as i3 from "@angular/material/icon";
|
|
10
|
+
import * as i4 from "@angular/material/form-field";
|
|
11
|
+
import * as i5 from "@angular/material/input";
|
|
12
|
+
import * as i6 from "@ngx-translate/core";
|
|
13
|
+
function FormFieldTextareaComponent_mat_icon_3_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
15
|
+
i0.ɵɵelementStart(0, "mat-icon", 3);
|
|
16
|
+
i0.ɵɵlistener("click", function FormFieldTextareaComponent_mat_icon_3_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onDisableSwitchClick()); });
|
|
17
|
+
i0.ɵɵpipe(1, "async");
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
|
+
i0.ɵɵproperty("svgIcon", i0.ɵɵpipeBind1(1, 1, ctx_r0.disabled$) === true ? "checkbox-blank-outline" : "checkbox-marked-outline");
|
|
22
|
+
} }
|
|
23
|
+
function FormFieldTextareaComponent_mat_error_4_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "mat-error");
|
|
25
|
+
i0.ɵɵtext(1);
|
|
26
|
+
i0.ɵɵpipe(2, "translate");
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
} if (rf & 2) {
|
|
29
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
30
|
+
i0.ɵɵadvance(1);
|
|
31
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.getErrorMessage()));
|
|
32
|
+
} }
|
|
33
|
+
/**
|
|
34
|
+
* This component renders a textarea field
|
|
35
|
+
*/
|
|
36
|
+
let FormFieldTextareaComponent = class FormFieldTextareaComponent {
|
|
37
|
+
constructor() {
|
|
38
|
+
this.disabled$ = new BehaviorSubject(false);
|
|
39
|
+
/**
|
|
40
|
+
* Wheter a disable switch should be available
|
|
41
|
+
*/
|
|
42
|
+
this.disableSwitch = false;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Whether the field is required
|
|
46
|
+
*/
|
|
47
|
+
get required() {
|
|
48
|
+
return formControlIsRequired(this.formControl);
|
|
49
|
+
}
|
|
50
|
+
ngOnInit() {
|
|
51
|
+
this.disabled$.next(this.formControl.disabled);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get error message
|
|
55
|
+
*/
|
|
56
|
+
getErrorMessage() {
|
|
57
|
+
return getControlErrorMessage(this.formControl, this.errors);
|
|
58
|
+
}
|
|
59
|
+
onDisableSwitchClick() {
|
|
60
|
+
this.toggleDisabled();
|
|
61
|
+
}
|
|
62
|
+
toggleDisabled() {
|
|
63
|
+
const disabled = !this.disabled$.value;
|
|
64
|
+
if (disabled === true) {
|
|
65
|
+
this.formControl.disable();
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
this.formControl.enable();
|
|
69
|
+
}
|
|
70
|
+
this.disabled$.next(disabled);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
FormFieldTextareaComponent.ɵfac = function FormFieldTextareaComponent_Factory(t) { return new (t || FormFieldTextareaComponent)(); };
|
|
74
|
+
FormFieldTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFieldTextareaComponent, selectors: [["igo-form-field-textarea"]], inputs: { formControl: "formControl", placeholder: "placeholder", errors: "errors", disableSwitch: "disableSwitch" }, decls: 5, vars: 5, consts: [["matInput", "", 3, "required", "placeholder", "formControl"], ["class", "igo-form-disable-switch", "matPrefix", "", 3, "svgIcon", "click", 4, "ngIf"], [4, "ngIf"], ["matPrefix", "", 1, "igo-form-disable-switch", 3, "svgIcon", "click"]], template: function FormFieldTextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵelementStart(0, "mat-form-field")(1, "textarea", 0);
|
|
76
|
+
i0.ɵɵtext(2, " ");
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵtemplate(3, FormFieldTextareaComponent_mat_icon_3_Template, 2, 3, "mat-icon", 1);
|
|
79
|
+
i0.ɵɵtemplate(4, FormFieldTextareaComponent_mat_error_4_Template, 3, 3, "mat-error", 2);
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
} if (rf & 2) {
|
|
82
|
+
i0.ɵɵadvance(1);
|
|
83
|
+
i0.ɵɵproperty("required", ctx.required)("placeholder", ctx.placeholder)("formControl", ctx.formControl);
|
|
84
|
+
i0.ɵɵadvance(2);
|
|
85
|
+
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
86
|
+
i0.ɵɵadvance(1);
|
|
87
|
+
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
88
|
+
} }, dependencies: [i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.RequiredValidator, i2.FormControlDirective, i3.MatIcon, i4.MatError, i4.MatFormField, i4.MatPrefix, i5.MatInput, i1.AsyncPipe, i6.TranslatePipe], encapsulation: 2, changeDetection: 0 });
|
|
89
|
+
FormFieldTextareaComponent = __decorate([
|
|
90
|
+
IgoFormFieldComponent('textarea')
|
|
91
|
+
], FormFieldTextareaComponent);
|
|
92
|
+
export { FormFieldTextareaComponent };
|
|
93
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldTextareaComponent, [{
|
|
94
|
+
type: Component,
|
|
95
|
+
args: [{ selector: 'igo-form-field-textarea', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field>\n <textarea\n matInput\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n [formControl]=\"formControl\">\n </textarea>\n <mat-icon\n *ngIf=\"disableSwitch === true\"\n class=\"igo-form-disable-switch\"\n [svgIcon]=\"(disabled$ | async) === true ? 'checkbox-blank-outline' : 'checkbox-marked-outline'\"\n (click)=\"onDisableSwitchClick()\"\n matPrefix>\n </mat-icon>\n <mat-error *ngIf=\"formControl.errors\">{{getErrorMessage() | translate}}</mat-error>\n</mat-form-field>\n" }]
|
|
96
|
+
}], null, { formControl: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], placeholder: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], errors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gICAoY2xpY2spPVwib25EaXNhYmxlU3dpdGNoQ2xpY2soKVwiXG4gICAgbWF0UHJlZml4PlxuICA8L21hdC1pY29uPlxuICA8bWF0LWVycm9yICpuZ0lmPVwiZm9ybUNvbnRyb2wuZXJyb3JzXCI+e3tnZXRFcnJvck1lc3NhZ2UoKSB8IHRyYW5zbGF0ZX19PC9tYXQtZXJyb3I+XG48L21hdC1mb3JtLWZpZWxkPlxuIl19
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { getDefaultErrorMessages } from '../shared';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../shared/form-field.service";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "../../dynamic-component/dynamic-outlet/dynamic-outlet.component";
|
|
7
|
-
function FormFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
-
i0.ɵɵelementContainerStart(0);
|
|
9
|
-
i0.ɵɵelement(1, "igo-dynamic-outlet", 1);
|
|
10
|
-
i0.ɵɵelementContainerEnd();
|
|
11
|
-
} if (rf & 2) {
|
|
12
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
13
|
-
i0.ɵɵadvance(1);
|
|
14
|
-
i0.ɵɵproperty("component", ctx_r0.getFieldComponent())("inputs", ctx_r0.getFieldInputs())("subscribers", ctx_r0.getFieldSubscribers());
|
|
15
|
-
} }
|
|
16
|
-
/**
|
|
17
|
-
* This component renders the proper form input based on
|
|
18
|
-
* the field configuration it receives.
|
|
19
|
-
*/
|
|
20
|
-
export class FormFieldComponent {
|
|
21
|
-
constructor(formFieldService) {
|
|
22
|
-
this.formFieldService = formFieldService;
|
|
23
|
-
/**
|
|
24
|
-
* Field inputs cache
|
|
25
|
-
*/
|
|
26
|
-
this.fieldInputs = undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Field subscribers cache
|
|
29
|
-
*/
|
|
30
|
-
this.fieldSubscribers = undefined;
|
|
31
|
-
}
|
|
32
|
-
get fieldOptions() {
|
|
33
|
-
return this.field.options || {};
|
|
34
|
-
}
|
|
35
|
-
getFieldComponent() {
|
|
36
|
-
return this.formFieldService.getFieldByType(this.field.type || 'text');
|
|
37
|
-
}
|
|
38
|
-
getFieldInputs() {
|
|
39
|
-
if (this.fieldInputs !== undefined) {
|
|
40
|
-
return this.fieldInputs;
|
|
41
|
-
}
|
|
42
|
-
const errors = this.fieldOptions.errors || {};
|
|
43
|
-
this.fieldInputs = Object.assign({
|
|
44
|
-
placeholder: this.field.title,
|
|
45
|
-
disableSwitch: this.fieldOptions.disableSwitch || false
|
|
46
|
-
}, Object.assign({}, this.field.inputs || {}), {
|
|
47
|
-
formControl: this.field.control,
|
|
48
|
-
errors: Object.assign({}, getDefaultErrorMessages(), errors)
|
|
49
|
-
});
|
|
50
|
-
return this.fieldInputs;
|
|
51
|
-
}
|
|
52
|
-
getFieldSubscribers() {
|
|
53
|
-
if (this.fieldSubscribers !== undefined) {
|
|
54
|
-
return this.fieldSubscribers;
|
|
55
|
-
}
|
|
56
|
-
this.fieldSubscribers = Object.assign({}, this.field.subscribers || {});
|
|
57
|
-
return this.fieldSubscribers;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
FormFieldComponent.ɵfac = function FormFieldComponent_Factory(t) { return new (t || FormFieldComponent)(i0.ɵɵdirectiveInject(i1.FormFieldService)); };
|
|
61
|
-
FormFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFieldComponent, selectors: [["igo-form-field"]], inputs: { field: "field" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "component", "inputs", "subscribers"]], template: function FormFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
-
i0.ɵɵtemplate(0, FormFieldComponent_ng_container_0_Template, 2, 3, "ng-container", 0);
|
|
63
|
-
} if (rf & 2) {
|
|
64
|
-
i0.ɵɵproperty("ngIf", ctx.field !== undefined);
|
|
65
|
-
} }, dependencies: [i2.NgIf, i3.DynamicOutletComponent], styles: ["mat-form-field{width:100%} .igo-form-disable-switch{margin-right:8px}"], changeDetection: 0 });
|
|
66
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldComponent, [{
|
|
67
|
-
type: Component,
|
|
68
|
-
args: [{ selector: 'igo-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "\
|
|
69
|
-
}], function () { return [{ type: i1.FormFieldService }]; }, { field: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}] }); })();
|
|
72
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { getDefaultErrorMessages } from '../shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../shared/form-field.service";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "../../dynamic-component/dynamic-outlet/dynamic-outlet.component";
|
|
7
|
+
function FormFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementContainerStart(0);
|
|
9
|
+
i0.ɵɵelement(1, "igo-dynamic-outlet", 1);
|
|
10
|
+
i0.ɵɵelementContainerEnd();
|
|
11
|
+
} if (rf & 2) {
|
|
12
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
13
|
+
i0.ɵɵadvance(1);
|
|
14
|
+
i0.ɵɵproperty("component", ctx_r0.getFieldComponent())("inputs", ctx_r0.getFieldInputs())("subscribers", ctx_r0.getFieldSubscribers());
|
|
15
|
+
} }
|
|
16
|
+
/**
|
|
17
|
+
* This component renders the proper form input based on
|
|
18
|
+
* the field configuration it receives.
|
|
19
|
+
*/
|
|
20
|
+
export class FormFieldComponent {
|
|
21
|
+
constructor(formFieldService) {
|
|
22
|
+
this.formFieldService = formFieldService;
|
|
23
|
+
/**
|
|
24
|
+
* Field inputs cache
|
|
25
|
+
*/
|
|
26
|
+
this.fieldInputs = undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Field subscribers cache
|
|
29
|
+
*/
|
|
30
|
+
this.fieldSubscribers = undefined;
|
|
31
|
+
}
|
|
32
|
+
get fieldOptions() {
|
|
33
|
+
return this.field.options || {};
|
|
34
|
+
}
|
|
35
|
+
getFieldComponent() {
|
|
36
|
+
return this.formFieldService.getFieldByType(this.field.type || 'text');
|
|
37
|
+
}
|
|
38
|
+
getFieldInputs() {
|
|
39
|
+
if (this.fieldInputs !== undefined) {
|
|
40
|
+
return this.fieldInputs;
|
|
41
|
+
}
|
|
42
|
+
const errors = this.fieldOptions.errors || {};
|
|
43
|
+
this.fieldInputs = Object.assign({
|
|
44
|
+
placeholder: this.field.title,
|
|
45
|
+
disableSwitch: this.fieldOptions.disableSwitch || false
|
|
46
|
+
}, Object.assign({}, this.field.inputs || {}), {
|
|
47
|
+
formControl: this.field.control,
|
|
48
|
+
errors: Object.assign({}, getDefaultErrorMessages(), errors)
|
|
49
|
+
});
|
|
50
|
+
return this.fieldInputs;
|
|
51
|
+
}
|
|
52
|
+
getFieldSubscribers() {
|
|
53
|
+
if (this.fieldSubscribers !== undefined) {
|
|
54
|
+
return this.fieldSubscribers;
|
|
55
|
+
}
|
|
56
|
+
this.fieldSubscribers = Object.assign({}, this.field.subscribers || {});
|
|
57
|
+
return this.fieldSubscribers;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
FormFieldComponent.ɵfac = function FormFieldComponent_Factory(t) { return new (t || FormFieldComponent)(i0.ɵɵdirectiveInject(i1.FormFieldService)); };
|
|
61
|
+
FormFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormFieldComponent, selectors: [["igo-form-field"]], inputs: { field: "field" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "component", "inputs", "subscribers"]], template: function FormFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵtemplate(0, FormFieldComponent_ng_container_0_Template, 2, 3, "ng-container", 0);
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
i0.ɵɵproperty("ngIf", ctx.field !== undefined);
|
|
65
|
+
} }, dependencies: [i2.NgIf, i3.DynamicOutletComponent], styles: ["mat-form-field{width:100%} .igo-form-disable-switch{margin-right:8px}"], changeDetection: 0 });
|
|
66
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormFieldComponent, [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{ selector: 'igo-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "\n\n<ng-container *ngIf=\"field !== undefined\">\n <igo-dynamic-outlet\n [component]=\"getFieldComponent()\"\n [inputs]=\"getFieldInputs()\"\n [subscribers]=\"getFieldSubscribers()\">\n </igo-dynamic-outlet>\n</ng-container>\n", styles: ["::ng-deep mat-form-field{width:100%}::ng-deep .igo-form-disable-switch{margin-right:8px}\n"] }]
|
|
69
|
+
}], function () { return [{ type: i1.FormFieldService }]; }, { field: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}] }); })();
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFDTCx1QkFBdUIsRUFDeEIsTUFB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ZmllbGRJbnB1dHM7XG4gIH1cblxuICBnZXRGaWVsZFN1YnNjcmliZXJzKCk6IHtba2V5OiBzdHJpbmddOiAoe2ZpZWxkOiBGb3JtRmllbGQsIGNvbnRyb2w6IEZvcm1Db250cm9sfSkgPT4gdm9pZCB9IHtcbiAgICBpZiAodGhpcy5maWVsZFN1YnNjcmliZXJzICE9PSB1bmRlZmluZWQpIHtcbiAgICAgIHJldHVybiB0aGlzLmZpZWxkU3Vic2NyaWJlcnM7XG4gICAgfVxuXG4gICAgdGhpcy5maWVsZFN1YnNjcmliZXJzID0gT2JqZWN0LmFzc2lnbih7fSwgdGhpcy5maWVsZC5zdWJzY3JpYmVycyB8fCB7fSk7XG4gICAgcmV0dXJuIHRoaXMuZmllbGRTdWJzY3JpYmVycztcbiAgfVxufVxuIiwiXG5cbjxuZy1jb250YWluZXIgKm5nSWY9XCJmaWVsZCAhPT0gdW5kZWZpbmVkXCI+XG4gIDxpZ28tZHluYW1pYy1vdXRsZXRcbiAgICBbY29tcG9uZW50XT1cImdldEZpZWxkQ29tcG9uZW50KClcIlxuICAgIFtpbnB1dHNdPVwiZ2V0RmllbGRJbnB1dHMoKVwiXG4gICAgW3N1YnNjcmliZXJzXT1cImdldEZpZWxkU3Vic2NyaWJlcnMoKVwiPlxuICA8L2lnby1keW5hbWljLW91dGxldD5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
6
|
-
import { MatInputModule } from '@angular/material/input';
|
|
7
|
-
import { MatSelectModule } from '@angular/material/select';
|
|
8
|
-
import { IgoLanguageModule } from '@igo2/core';
|
|
9
|
-
import { IgoDynamicOutletModule } from '../../dynamic-component/dynamic-outlet/dynamic-outlet.module';
|
|
10
|
-
import { FormFieldComponent } from './form-field.component';
|
|
11
|
-
import { FormFieldSelectComponent } from './form-field-select.component';
|
|
12
|
-
import { FormFieldTextComponent } from './form-field-text.component';
|
|
13
|
-
import { FormFieldTextareaComponent } from './form-field-textarea.component';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* @ignore
|
|
17
|
-
*/
|
|
18
|
-
export class IgoFormFieldModule {
|
|
19
|
-
}
|
|
20
|
-
IgoFormFieldModule.ɵfac = function IgoFormFieldModule_Factory(t) { return new (t || IgoFormFieldModule)(); };
|
|
21
|
-
IgoFormFieldModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFormFieldModule });
|
|
22
|
-
IgoFormFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
23
|
-
FormsModule,
|
|
24
|
-
ReactiveFormsModule,
|
|
25
|
-
MatIconModule,
|
|
26
|
-
MatFormFieldModule,
|
|
27
|
-
MatInputModule,
|
|
28
|
-
MatSelectModule,
|
|
29
|
-
IgoLanguageModule,
|
|
30
|
-
IgoDynamicOutletModule] });
|
|
31
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFormFieldModule, [{
|
|
32
|
-
type: NgModule,
|
|
33
|
-
args: [{
|
|
34
|
-
imports: [
|
|
35
|
-
CommonModule,
|
|
36
|
-
FormsModule,
|
|
37
|
-
ReactiveFormsModule,
|
|
38
|
-
MatIconModule,
|
|
39
|
-
MatFormFieldModule,
|
|
40
|
-
MatInputModule,
|
|
41
|
-
MatSelectModule,
|
|
42
|
-
IgoLanguageModule,
|
|
43
|
-
IgoDynamicOutletModule
|
|
44
|
-
],
|
|
45
|
-
exports: [
|
|
46
|
-
FormFieldComponent,
|
|
47
|
-
FormFieldSelectComponent,
|
|
48
|
-
FormFieldTextComponent,
|
|
49
|
-
FormFieldTextareaComponent
|
|
50
|
-
],
|
|
51
|
-
declarations: [
|
|
52
|
-
FormFieldComponent,
|
|
53
|
-
FormFieldSelectComponent,
|
|
54
|
-
FormFieldTextComponent,
|
|
55
|
-
FormFieldTextareaComponent
|
|
56
|
-
]
|
|
57
|
-
}]
|
|
58
|
-
}], null, null); })();
|
|
59
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoFormFieldModule, { declarations: [FormFieldComponent,
|
|
60
|
-
FormFieldSelectComponent,
|
|
61
|
-
FormFieldTextComponent,
|
|
62
|
-
FormFieldTextareaComponent], imports: [CommonModule,
|
|
63
|
-
FormsModule,
|
|
64
|
-
ReactiveFormsModule,
|
|
65
|
-
MatIconModule,
|
|
66
|
-
MatFormFieldModule,
|
|
67
|
-
MatInputModule,
|
|
68
|
-
MatSelectModule,
|
|
69
|
-
IgoLanguageModule,
|
|
70
|
-
IgoDynamicOutletModule], exports: [FormFieldComponent,
|
|
71
|
-
FormFieldSelectComponent,
|
|
72
|
-
FormFieldTextComponent,
|
|
73
|
-
FormFieldTextareaComponent] }); })();
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
6
|
+
import { MatInputModule } from '@angular/material/input';
|
|
7
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
8
|
+
import { IgoLanguageModule } from '@igo2/core';
|
|
9
|
+
import { IgoDynamicOutletModule } from '../../dynamic-component/dynamic-outlet/dynamic-outlet.module';
|
|
10
|
+
import { FormFieldComponent } from './form-field.component';
|
|
11
|
+
import { FormFieldSelectComponent } from './form-field-select.component';
|
|
12
|
+
import { FormFieldTextComponent } from './form-field-text.component';
|
|
13
|
+
import { FormFieldTextareaComponent } from './form-field-textarea.component';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
18
|
+
export class IgoFormFieldModule {
|
|
19
|
+
}
|
|
20
|
+
IgoFormFieldModule.ɵfac = function IgoFormFieldModule_Factory(t) { return new (t || IgoFormFieldModule)(); };
|
|
21
|
+
IgoFormFieldModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoFormFieldModule });
|
|
22
|
+
IgoFormFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
23
|
+
FormsModule,
|
|
24
|
+
ReactiveFormsModule,
|
|
25
|
+
MatIconModule,
|
|
26
|
+
MatFormFieldModule,
|
|
27
|
+
MatInputModule,
|
|
28
|
+
MatSelectModule,
|
|
29
|
+
IgoLanguageModule,
|
|
30
|
+
IgoDynamicOutletModule] });
|
|
31
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoFormFieldModule, [{
|
|
32
|
+
type: NgModule,
|
|
33
|
+
args: [{
|
|
34
|
+
imports: [
|
|
35
|
+
CommonModule,
|
|
36
|
+
FormsModule,
|
|
37
|
+
ReactiveFormsModule,
|
|
38
|
+
MatIconModule,
|
|
39
|
+
MatFormFieldModule,
|
|
40
|
+
MatInputModule,
|
|
41
|
+
MatSelectModule,
|
|
42
|
+
IgoLanguageModule,
|
|
43
|
+
IgoDynamicOutletModule
|
|
44
|
+
],
|
|
45
|
+
exports: [
|
|
46
|
+
FormFieldComponent,
|
|
47
|
+
FormFieldSelectComponent,
|
|
48
|
+
FormFieldTextComponent,
|
|
49
|
+
FormFieldTextareaComponent
|
|
50
|
+
],
|
|
51
|
+
declarations: [
|
|
52
|
+
FormFieldComponent,
|
|
53
|
+
FormFieldSelectComponent,
|
|
54
|
+
FormFieldTextComponent,
|
|
55
|
+
FormFieldTextareaComponent
|
|
56
|
+
]
|
|
57
|
+
}]
|
|
58
|
+
}], null, null); })();
|
|
59
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoFormFieldModule, { declarations: [FormFieldComponent,
|
|
60
|
+
FormFieldSelectComponent,
|
|
61
|
+
FormFieldTextComponent,
|
|
62
|
+
FormFieldTextareaComponent], imports: [CommonModule,
|
|
63
|
+
FormsModule,
|
|
64
|
+
ReactiveFormsModule,
|
|
65
|
+
MatIconModule,
|
|
66
|
+
MatFormFieldModule,
|
|
67
|
+
MatInputModule,
|
|
68
|
+
MatSelectModule,
|
|
69
|
+
IgoLanguageModule,
|
|
70
|
+
IgoDynamicOutletModule], exports: [FormFieldComponent,
|
|
71
|
+
FormFieldSelectComponent,
|
|
72
|
+
FormFieldTextComponent,
|
|
73
|
+
FormFieldTextareaComponent] }); })();
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsY0FBYyxFQUFF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xkU2VsZWN0Q29tcG9uZW50LFxuICAgIEZvcm1GaWVsZFRleHRDb21wb25lbnQsXG4gICAgRm9ybUZpZWxkVGV4dGFyZWFDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBJZ29Gb3JtRmllbGRNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './form-field.component';
|
|
2
|
-
export * from './form-field-text.component';
|
|
3
|
-
export * from './form-field-select.component';
|
|
4
|
-
export * from './form-field-textarea.component';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './form-field.component';
|
|
2
|
+
export * from './form-field-text.component';
|
|
3
|
+
export * from './form-field-select.component';
|
|
4
|
+
export * from './form-field-textarea.component';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9mb3JtL2Zvcm0tZmllbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZm9ybS1maWVsZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9mb3JtLWZpZWxkLXRleHQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZm9ybS1maWVsZC1zZWxlY3QuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZm9ybS1maWVsZC10ZXh0YXJlYS5jb21wb25lbnQnO1xuIl19
|