@igo2/common 1.15.4 → 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,24 +1,24 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { ConfirmDialogComponent } from './confirm-dialog.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/material/dialog";
|
|
5
|
-
import * as i2 from "@igo2/core";
|
|
6
|
-
export class ConfirmDialogService {
|
|
7
|
-
constructor(dialog, languageService) {
|
|
8
|
-
this.dialog = dialog;
|
|
9
|
-
this.languageService = languageService;
|
|
10
|
-
}
|
|
11
|
-
open(message) {
|
|
12
|
-
const dialogRef = this.dialog.open(ConfirmDialogComponent, {
|
|
13
|
-
disableClose: false
|
|
14
|
-
});
|
|
15
|
-
dialogRef.componentInstance.confirmMessage = this.languageService.translate.instant(message);
|
|
16
|
-
return dialogRef.afterClosed();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
ConfirmDialogService.ɵfac = function ConfirmDialogService_Factory(t) { return new (t || ConfirmDialogService)(i0.ɵɵinject(i1.MatDialog), i0.ɵɵinject(i2.LanguageService)); };
|
|
20
|
-
ConfirmDialogService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfirmDialogService, factory: ConfirmDialogService.ɵfac });
|
|
21
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogService, [{
|
|
22
|
-
type: Injectable
|
|
23
|
-
}], function () { return [{ type: i1.MatDialog }, { type: i2.LanguageService }]; }, null); })();
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { ConfirmDialogComponent } from './confirm-dialog.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/dialog";
|
|
5
|
+
import * as i2 from "@igo2/core";
|
|
6
|
+
export class ConfirmDialogService {
|
|
7
|
+
constructor(dialog, languageService) {
|
|
8
|
+
this.dialog = dialog;
|
|
9
|
+
this.languageService = languageService;
|
|
10
|
+
}
|
|
11
|
+
open(message) {
|
|
12
|
+
const dialogRef = this.dialog.open(ConfirmDialogComponent, {
|
|
13
|
+
disableClose: false
|
|
14
|
+
});
|
|
15
|
+
dialogRef.componentInstance.confirmMessage = this.languageService.translate.instant(message);
|
|
16
|
+
return dialogRef.afterClosed();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
ConfirmDialogService.ɵfac = function ConfirmDialogService_Factory(t) { return new (t || ConfirmDialogService)(i0.ɵɵinject(i1.MatDialog), i0.ɵɵinject(i2.LanguageService)); };
|
|
20
|
+
ConfirmDialogService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfirmDialogService, factory: ConfirmDialogService.ɵfac });
|
|
21
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogService, [{
|
|
22
|
+
type: Injectable
|
|
23
|
+
}], function () { return [{ type: i1.MatDialog }, { type: i2.LanguageService }]; }, null); })();
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1kaWFsb2cuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvbGliL2NvbmZpcm0tZGlhbG9nL2NvbmZpcm0tZGlhbG9nLnNlcnZpY2UudHMiXSwibmFtZXMiO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vbSAnLi9jb25maXJtLWRpYWxvZy5jb21wb25lbnQnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQ29uZmlybURpYWxvZ1NlcnZpY2Uge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGRpYWxvZzogTWF0RGlhbG9nLCBwcml2YXRlIGxhbmd1YWdlU2VydmljZTogTGFuZ3VhZ2VTZXJ2aWNlKSB7fVxuXG4gIHB1YmxpYyBvcGVuKG1lc3NhZ2U6IHN0cmluZyk6IE9ic2VydmFibGU8YW55PiB7XG4gICAgY29uc3QgZGlhbG9nUmVmID0gdGhpcy5kaWFsb2cub3BlbihDb25maXJtRGlhbG9nQ29tcG9uZW50LCB7XG4gICAgICBkaXNhYmxlQ2xvc2U6IGZhbHNlXG4gICAgfSk7XG4gICAgZGlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlLmNvbmZpcm1NZXNzYWdlID0gdGhpcy5sYW5ndWFnZVNlcnZpY2UudHJhbnNsYXRlLmluc3RhbnQobWVzc2FnZSk7XG5cbiAgICByZXR1cm4gZGlhbG9nUmVmLmFmdGVyQ2xvc2VkKCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './confirm-dialog.component';
|
|
2
|
-
export * from './confirm-dialog.service';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './confirm-dialog.component';
|
|
2
|
+
export * from './confirm-dialog.service';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9jb25maXJtLWRpYWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbmZpcm0tZGlhbG9nLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NvbmZpcm0tZGlhbG9nLnNlcnZpY2UnO1xuIl19
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
2
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
3
|
-
import { fromEvent } from 'rxjs';
|
|
4
|
-
import { filter, take } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
7
|
-
export class ContextMenuDirective {
|
|
8
|
-
constructor(overlay, viewContainerRef, elementRef) {
|
|
9
|
-
this.overlay = overlay;
|
|
10
|
-
this.viewContainerRef = viewContainerRef;
|
|
11
|
-
this.elementRef = elementRef;
|
|
12
|
-
this.menuPosition = new EventEmitter();
|
|
13
|
-
}
|
|
14
|
-
onContextMenu(e) {
|
|
15
|
-
let x;
|
|
16
|
-
let y;
|
|
17
|
-
if (e instanceof TouchEvent) {
|
|
18
|
-
x = e.touches[0].pageX;
|
|
19
|
-
y = e.touches[0].pageY;
|
|
20
|
-
}
|
|
21
|
-
else if (e instanceof MouseEvent) {
|
|
22
|
-
x = e.x;
|
|
23
|
-
y = e.y;
|
|
24
|
-
}
|
|
25
|
-
if (!x || !y) {
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
this.close();
|
|
29
|
-
e.preventDefault();
|
|
30
|
-
this.menuPosition.emit({ x, y });
|
|
31
|
-
this.overlayRef = null;
|
|
32
|
-
const positionStrategy = this.overlay
|
|
33
|
-
.position()
|
|
34
|
-
.flexibleConnectedTo({ x, y })
|
|
35
|
-
.withPositions([
|
|
36
|
-
{
|
|
37
|
-
originX: 'end',
|
|
38
|
-
originY: 'bottom',
|
|
39
|
-
overlayX: 'start',
|
|
40
|
-
overlayY: 'top'
|
|
41
|
-
}
|
|
42
|
-
]);
|
|
43
|
-
this.overlayRef = this.overlay.create({
|
|
44
|
-
positionStrategy,
|
|
45
|
-
scrollStrategy: this.overlay.scrollStrategies.close()
|
|
46
|
-
});
|
|
47
|
-
this.overlayRef.attach(new TemplatePortal(this.menuContext, this.viewContainerRef, {
|
|
48
|
-
$implicit: undefined
|
|
49
|
-
}));
|
|
50
|
-
this.sub = fromEvent(document, 'click')
|
|
51
|
-
.pipe(filter(event => {
|
|
52
|
-
const clickTarget = event.target;
|
|
53
|
-
this.close();
|
|
54
|
-
return (!!this.overlayRef &&
|
|
55
|
-
!this.overlayRef.overlayElement.contains(clickTarget));
|
|
56
|
-
}), take(1))
|
|
57
|
-
.subscribe(() => this.close());
|
|
58
|
-
this.sub = fromEvent(document, 'contextmenu')
|
|
59
|
-
.pipe(filter(event => {
|
|
60
|
-
const clickTarget = event.target;
|
|
61
|
-
if (clickTarget &&
|
|
62
|
-
!this.elementRef.nativeElement.contains(clickTarget) &&
|
|
63
|
-
!this.overlayRef.overlayElement.contains(clickTarget)) {
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
event.preventDefault();
|
|
68
|
-
}
|
|
69
|
-
}), take(1))
|
|
70
|
-
.subscribe(() => this.close());
|
|
71
|
-
}
|
|
72
|
-
close() {
|
|
73
|
-
if (this.overlayRef) {
|
|
74
|
-
this.overlayRef.dispose();
|
|
75
|
-
this.overlayRef = null;
|
|
76
|
-
}
|
|
77
|
-
if (this.sub) {
|
|
78
|
-
this.sub.unsubscribe();
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
ContextMenuDirective.ɵfac = function ContextMenuDirective_Factory(t) { return new (t || ContextMenuDirective)(i0.ɵɵdirectiveInject(i1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
83
|
-
ContextMenuDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContextMenuDirective, selectors: [["", "igoContextMenu", ""]], hostBindings: function ContextMenuDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
84
|
-
i0.ɵɵlistener("longpress", function ContextMenuDirective_longpress_HostBindingHandler($event) { return ctx.onContextMenu($event); })("contextmenu", function ContextMenuDirective_contextmenu_HostBindingHandler($event) { return ctx.onContextMenu($event); });
|
|
85
|
-
} }, inputs: { menuContext: ["igoContextMenu", "menuContext"] }, outputs: { menuPosition: "menuPosition" } });
|
|
86
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextMenuDirective, [{
|
|
87
|
-
type: Directive,
|
|
88
|
-
args: [{
|
|
89
|
-
selector: '[igoContextMenu]'
|
|
90
|
-
}]
|
|
91
|
-
}], function () { return [{ type: i1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }]; }, { menuContext: [{
|
|
92
|
-
type: Input,
|
|
93
|
-
args: ['igoContextMenu']
|
|
94
|
-
}], menuPosition: [{
|
|
95
|
-
type: Output
|
|
96
|
-
}], onContextMenu: [{
|
|
97
|
-
type: HostListener,
|
|
98
|
-
args: ['longpress', ['$event']]
|
|
99
|
-
}, {
|
|
100
|
-
type: HostListener,
|
|
101
|
-
args: ['contextmenu', ['$event']]
|
|
102
|
-
}] }); })();
|
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
2
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
3
|
+
import { fromEvent } from 'rxjs';
|
|
4
|
+
import { filter, take } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/cdk/overlay";
|
|
7
|
+
export class ContextMenuDirective {
|
|
8
|
+
constructor(overlay, viewContainerRef, elementRef) {
|
|
9
|
+
this.overlay = overlay;
|
|
10
|
+
this.viewContainerRef = viewContainerRef;
|
|
11
|
+
this.elementRef = elementRef;
|
|
12
|
+
this.menuPosition = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
onContextMenu(e) {
|
|
15
|
+
let x;
|
|
16
|
+
let y;
|
|
17
|
+
if (e instanceof TouchEvent) {
|
|
18
|
+
x = e.touches[0].pageX;
|
|
19
|
+
y = e.touches[0].pageY;
|
|
20
|
+
}
|
|
21
|
+
else if (e instanceof MouseEvent) {
|
|
22
|
+
x = e.x;
|
|
23
|
+
y = e.y;
|
|
24
|
+
}
|
|
25
|
+
if (!x || !y) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
this.close();
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
this.menuPosition.emit({ x, y });
|
|
31
|
+
this.overlayRef = null;
|
|
32
|
+
const positionStrategy = this.overlay
|
|
33
|
+
.position()
|
|
34
|
+
.flexibleConnectedTo({ x, y })
|
|
35
|
+
.withPositions([
|
|
36
|
+
{
|
|
37
|
+
originX: 'end',
|
|
38
|
+
originY: 'bottom',
|
|
39
|
+
overlayX: 'start',
|
|
40
|
+
overlayY: 'top'
|
|
41
|
+
}
|
|
42
|
+
]);
|
|
43
|
+
this.overlayRef = this.overlay.create({
|
|
44
|
+
positionStrategy,
|
|
45
|
+
scrollStrategy: this.overlay.scrollStrategies.close()
|
|
46
|
+
});
|
|
47
|
+
this.overlayRef.attach(new TemplatePortal(this.menuContext, this.viewContainerRef, {
|
|
48
|
+
$implicit: undefined
|
|
49
|
+
}));
|
|
50
|
+
this.sub = fromEvent(document, 'click')
|
|
51
|
+
.pipe(filter(event => {
|
|
52
|
+
const clickTarget = event.target;
|
|
53
|
+
this.close();
|
|
54
|
+
return (!!this.overlayRef &&
|
|
55
|
+
!this.overlayRef.overlayElement.contains(clickTarget));
|
|
56
|
+
}), take(1))
|
|
57
|
+
.subscribe(() => this.close());
|
|
58
|
+
this.sub = fromEvent(document, 'contextmenu')
|
|
59
|
+
.pipe(filter(event => {
|
|
60
|
+
const clickTarget = event.target;
|
|
61
|
+
if (clickTarget &&
|
|
62
|
+
!this.elementRef.nativeElement.contains(clickTarget) &&
|
|
63
|
+
!this.overlayRef.overlayElement.contains(clickTarget)) {
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
event.preventDefault();
|
|
68
|
+
}
|
|
69
|
+
}), take(1))
|
|
70
|
+
.subscribe(() => this.close());
|
|
71
|
+
}
|
|
72
|
+
close() {
|
|
73
|
+
if (this.overlayRef) {
|
|
74
|
+
this.overlayRef.dispose();
|
|
75
|
+
this.overlayRef = null;
|
|
76
|
+
}
|
|
77
|
+
if (this.sub) {
|
|
78
|
+
this.sub.unsubscribe();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
ContextMenuDirective.ɵfac = function ContextMenuDirective_Factory(t) { return new (t || ContextMenuDirective)(i0.ɵɵdirectiveInject(i1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
83
|
+
ContextMenuDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContextMenuDirective, selectors: [["", "igoContextMenu", ""]], hostBindings: function ContextMenuDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
84
|
+
i0.ɵɵlistener("longpress", function ContextMenuDirective_longpress_HostBindingHandler($event) { return ctx.onContextMenu($event); })("contextmenu", function ContextMenuDirective_contextmenu_HostBindingHandler($event) { return ctx.onContextMenu($event); });
|
|
85
|
+
} }, inputs: { menuContext: ["igoContextMenu", "menuContext"] }, outputs: { menuPosition: "menuPosition" } });
|
|
86
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextMenuDirective, [{
|
|
87
|
+
type: Directive,
|
|
88
|
+
args: [{
|
|
89
|
+
selector: '[igoContextMenu]'
|
|
90
|
+
}]
|
|
91
|
+
}], function () { return [{ type: i1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }]; }, { menuContext: [{
|
|
92
|
+
type: Input,
|
|
93
|
+
args: ['igoContextMenu']
|
|
94
|
+
}], menuPosition: [{
|
|
95
|
+
type: Output
|
|
96
|
+
}], onContextMenu: [{
|
|
97
|
+
type: HostListener,
|
|
98
|
+
args: ['longpress', ['$event']]
|
|
99
|
+
}, {
|
|
100
|
+
type: HostListener,
|
|
101
|
+
args: ['contextmenu', ['$event']]
|
|
102
|
+
}] }); })();
|
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvbGliL2NvbnRleHQtbWVudS9jb250ZXh0LW1lbnUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBRVQsWUFBWSxFQUNaLFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUVQLE1BQU0sZUFBZSxDQUFDO0FBR3ZCLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsU0FBUyxFQUFnQixNQUFNLE1BQU0sQ0FBQztBQUMvQyxPQUFPLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFNOUMsTUFBTSxPQUFPLG9CQUFvQjtJQU8vQixZQUNTLE9BQWdCLEVBQ2hCLGdCQUFrQyxFQUNqQyxVQUFzQjtRQUZ2QixZQUFPLEdBQVAsT0FBTyxDQUFTO1FBQ2hCLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFDakMsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQUx0QixpQkFBWSxHQUFHL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cbiAgICAgIC5waXBlKFxuICAgICAgICBmaWx0ZXIoZXZlbnQgPT4ge1xuICAgICAgICAgIGNvbnN0IGNsaWNrVGFyZ2V0ID0gZXZlbnQudGFyZ2V0IGFzIEhUTUxFbGVtZW50O1xuICAgICAgICAgIGlmIChcbiAgICAgICAgICAgIGNsaWNrVGFyZ2V0ICYmXG4gICAgICAgICAgICAhdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY29udGFpbnMoY2xpY2tUYXJnZXQpICYmXG4gICAgICAgICAgICAhdGhpcy5vdmVybGF5UmVmLm92ZXJsYXlFbGVtZW50LmNvbnRhaW5zKGNsaWNrVGFyZ2V0KVxuICAgICAgICAgICkge1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgfVxuICAgICAgICB9KSxcbiAgICAgICAgdGFrZSgxKVxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB0aGlzLmNsb3NlKCkpO1xuICB9XG5cbiAgY2xvc2UoKSB7XG4gICAgaWYgKHRoaXMub3ZlcmxheVJlZikge1xuICAgICAgdGhpcy5vdmVybGF5UmVmLmRpc3Bvc2UoKTtcbiAgICAgIHRoaXMub3ZlcmxheVJlZiA9IG51bGw7XG4gICAgfVxuICAgIGlmICh0aGlzLnN1Yikge1xuICAgICAgdGhpcy5zdWIudW5zdWJzY3JpYmUoKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { ContextMenuDirective } from './context-menu.directive';
|
|
3
|
-
import { LongPressDirective } from './long-press.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class IgoContextMenuModule {
|
|
6
|
-
static forRoot() {
|
|
7
|
-
return {
|
|
8
|
-
ngModule: IgoContextMenuModule,
|
|
9
|
-
providers: []
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
IgoContextMenuModule.ɵfac = function IgoContextMenuModule_Factory(t) { return new (t || IgoContextMenuModule)(); };
|
|
14
|
-
IgoContextMenuModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextMenuModule });
|
|
15
|
-
IgoContextMenuModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
16
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextMenuModule, [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
imports: [],
|
|
20
|
-
declarations: [ContextMenuDirective, LongPressDirective],
|
|
21
|
-
exports: [ContextMenuDirective, LongPressDirective]
|
|
22
|
-
}]
|
|
23
|
-
}], null, null); })();
|
|
24
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoContextMenuModule, { declarations: [ContextMenuDirective, LongPressDirective], exports: [ContextMenuDirective, LongPressDirective] }); })();
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { ContextMenuDirective } from './context-menu.directive';
|
|
3
|
+
import { LongPressDirective } from './long-press.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class IgoContextMenuModule {
|
|
6
|
+
static forRoot() {
|
|
7
|
+
return {
|
|
8
|
+
ngModule: IgoContextMenuModule,
|
|
9
|
+
providers: []
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
IgoContextMenuModule.ɵfac = function IgoContextMenuModule_Factory(t) { return new (t || IgoContextMenuModule)(); };
|
|
14
|
+
IgoContextMenuModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextMenuModule });
|
|
15
|
+
IgoContextMenuModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
16
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextMenuModule, [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
imports: [],
|
|
20
|
+
declarations: [ContextMenuDirective, LongPressDirective],
|
|
21
|
+
exports: [ContextMenuDirective, LongPressDirective]
|
|
22
|
+
}]
|
|
23
|
+
}], null, null); })();
|
|
24
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoContextMenuModule, { declarations: [ContextMenuDirective, LongPressDirective], exports: [ContextMenuDirective, LongPressDirective] }); })();
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvbGliL2NvbnRleHQtbWVudS9jb250ZXh0LW1lbnUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXVCLE1BQU0sZUFBZSxDQUFDO0FBQzlELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQU81RCxNQUFNLE9BQU8sb0JBQW9CO0lBQy9CLE1BQU0sQ0FBQyxPQUFPO1FBQ1osT0FBTztZQUNMLFFBQVEsRUFBRSxvQkFBb0I7WUFDOUIsU0FBUyxFQUFFLEVBQUU7U0FDZCxDQUFDO0lBQ0osQ0FBQzs7d0ZBTlUsb0JBQW9CO3NFQUFwQixvQkFBb0I7O3VGQUFwQixvQkFBb0I7Y0FMaEMsUUFBUTtlQUFDO2dC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|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './context-menu.directive';
|
|
2
|
+
export * from './long-press.directive';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9jb250ZXh0LW1lbnUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZXh0LW1lbnUuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbG9uZy1wcmVzcy5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { Directive, HostListener, Output, EventEmitter, Input } from '@angular/core';
|
|
2
|
-
import { userAgent } from '@igo2/utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* IgoLongPress trigger longpress event after a define duration.
|
|
6
|
-
* This directive exist to patch the unavailable contextmenu event on iOS.
|
|
7
|
-
* @param touchDuration touch duration in ms, default value is 400ms
|
|
8
|
-
* @param iOSOnly define if longpress is triggered only for iOS, default value = true
|
|
9
|
-
*/
|
|
10
|
-
export class LongPressDirective {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.touchDuration = 400;
|
|
13
|
-
this.onlyIOS = true;
|
|
14
|
-
this.longpress = new EventEmitter();
|
|
15
|
-
}
|
|
16
|
-
touchstart(e) {
|
|
17
|
-
if (e.touches.length > 1) {
|
|
18
|
-
this.touchEnd();
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
this.touchTimeout = setTimeout(() => {
|
|
22
|
-
if (this.onlyIOS) {
|
|
23
|
-
if (userAgent.getOSName() === 'iOS') {
|
|
24
|
-
this.longpress.emit(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
this.longpress.emit(e);
|
|
29
|
-
}
|
|
30
|
-
}, this.touchDuration);
|
|
31
|
-
}
|
|
32
|
-
touchend() {
|
|
33
|
-
this.touchEnd();
|
|
34
|
-
}
|
|
35
|
-
touchEnd() {
|
|
36
|
-
clearTimeout(this.touchTimeout);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
LongPressDirective.ɵfac = function LongPressDirective_Factory(t) { return new (t || LongPressDirective)(); };
|
|
40
|
-
LongPressDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LongPressDirective, selectors: [["", "igoLongPress", ""]], hostBindings: function LongPressDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
41
|
-
i0.ɵɵlistener("touchstart", function LongPressDirective_touchstart_HostBindingHandler($event) { return ctx.touchstart($event); })("touchmove", function LongPressDirective_touchmove_HostBindingHandler() { return ctx.touchend(); })("touchcancel", function LongPressDirective_touchcancel_HostBindingHandler() { return ctx.touchend(); })("touchend", function LongPressDirective_touchend_HostBindingHandler() { return ctx.touchend(); });
|
|
42
|
-
} }, inputs: { touchDuration: "touchDuration", onlyIOS: "onlyIOS" }, outputs: { longpress: "longpress" } });
|
|
43
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LongPressDirective, [{
|
|
44
|
-
type: Directive,
|
|
45
|
-
args: [{
|
|
46
|
-
selector: '[igoLongPress]'
|
|
47
|
-
}]
|
|
48
|
-
}], function () { return []; }, { touchDuration: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], onlyIOS: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], longpress: [{
|
|
53
|
-
type: Output
|
|
54
|
-
}], touchstart: [{
|
|
55
|
-
type: HostListener,
|
|
56
|
-
args: ['touchstart', ['$event']]
|
|
57
|
-
}], touchend: [{
|
|
58
|
-
type: HostListener,
|
|
59
|
-
args: ['touchmove']
|
|
60
|
-
}, {
|
|
61
|
-
type: HostListener,
|
|
62
|
-
args: ['touchcancel']
|
|
63
|
-
}, {
|
|
64
|
-
type: HostListener,
|
|
65
|
-
args: ['touchend']
|
|
66
|
-
}] }); })();
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, HostListener, Output, EventEmitter, Input } from '@angular/core';
|
|
2
|
+
import { userAgent } from '@igo2/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* IgoLongPress trigger longpress event after a define duration.
|
|
6
|
+
* This directive exist to patch the unavailable contextmenu event on iOS.
|
|
7
|
+
* @param touchDuration touch duration in ms, default value is 400ms
|
|
8
|
+
* @param iOSOnly define if longpress is triggered only for iOS, default value = true
|
|
9
|
+
*/
|
|
10
|
+
export class LongPressDirective {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.touchDuration = 400;
|
|
13
|
+
this.onlyIOS = true;
|
|
14
|
+
this.longpress = new EventEmitter();
|
|
15
|
+
}
|
|
16
|
+
touchstart(e) {
|
|
17
|
+
if (e.touches.length > 1) {
|
|
18
|
+
this.touchEnd();
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
this.touchTimeout = setTimeout(() => {
|
|
22
|
+
if (this.onlyIOS) {
|
|
23
|
+
if (userAgent.getOSName() === 'iOS') {
|
|
24
|
+
this.longpress.emit(e);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
this.longpress.emit(e);
|
|
29
|
+
}
|
|
30
|
+
}, this.touchDuration);
|
|
31
|
+
}
|
|
32
|
+
touchend() {
|
|
33
|
+
this.touchEnd();
|
|
34
|
+
}
|
|
35
|
+
touchEnd() {
|
|
36
|
+
clearTimeout(this.touchTimeout);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
LongPressDirective.ɵfac = function LongPressDirective_Factory(t) { return new (t || LongPressDirective)(); };
|
|
40
|
+
LongPressDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LongPressDirective, selectors: [["", "igoLongPress", ""]], hostBindings: function LongPressDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵlistener("touchstart", function LongPressDirective_touchstart_HostBindingHandler($event) { return ctx.touchstart($event); })("touchmove", function LongPressDirective_touchmove_HostBindingHandler() { return ctx.touchend(); })("touchcancel", function LongPressDirective_touchcancel_HostBindingHandler() { return ctx.touchend(); })("touchend", function LongPressDirective_touchend_HostBindingHandler() { return ctx.touchend(); });
|
|
42
|
+
} }, inputs: { touchDuration: "touchDuration", onlyIOS: "onlyIOS" }, outputs: { longpress: "longpress" } });
|
|
43
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LongPressDirective, [{
|
|
44
|
+
type: Directive,
|
|
45
|
+
args: [{
|
|
46
|
+
selector: '[igoLongPress]'
|
|
47
|
+
}]
|
|
48
|
+
}], function () { return []; }, { touchDuration: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], onlyIOS: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], longpress: [{
|
|
53
|
+
type: Output
|
|
54
|
+
}], touchstart: [{
|
|
55
|
+
type: HostListener,
|
|
56
|
+
args: ['touchstart', ['$event']]
|
|
57
|
+
}], touchend: [{
|
|
58
|
+
type: HostListener,
|
|
59
|
+
args: ['touchmove']
|
|
60
|
+
}, {
|
|
61
|
+
type: HostListener,
|
|
62
|
+
args: ['touchcancel']
|
|
63
|
+
}, {
|
|
64
|
+
type: HostListener,
|
|
65
|
+
args: ['touchend']
|
|
66
|
+
}] }); })();
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9uZy1wcmVzcy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8u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c3RMaXN0ZW5lcigndG91Y2htb3ZlJylcbiAgQEhvc3RMaXN0ZW5lcigndG91Y2hjYW5jZWwnKVxuICBASG9zdExpc3RlbmVyKCd0b3VjaGVuZCcpXG4gIHB1YmxpYyB0b3VjaGVuZCgpIHtcbiAgICB0aGlzLnRvdWNoRW5kKCk7XG4gIH1cblxuXG4gIHByaXZhdGUgdG91Y2hFbmQoKSB7XG4gICAgY2xlYXJUaW1lb3V0KHRoaXMudG91Y2hUaW1lb3V0KTtcbiAgfVxufVxuIl19
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./custom-html.pipe";
|
|
4
|
-
export class CustomHtmlComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this._html = '';
|
|
7
|
-
}
|
|
8
|
-
get html() {
|
|
9
|
-
return this._html;
|
|
10
|
-
}
|
|
11
|
-
set html(value) {
|
|
12
|
-
this._html = value;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
CustomHtmlComponent.ɵfac = function CustomHtmlComponent_Factory(t) { return new (t || CustomHtmlComponent)(); };
|
|
16
|
-
CustomHtmlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CustomHtmlComponent, selectors: [["igo-custom-html"]], inputs: { html: "html" }, decls: 2, vars: 3, consts: [[1, "custom-html", 3, "innerHTML"]], template: function CustomHtmlComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
-
i0.ɵɵelement(0, "div", 0);
|
|
18
|
-
i0.ɵɵpipe(1, "sanitizeHtml");
|
|
19
|
-
} if (rf & 2) {
|
|
20
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(1, 1, ctx.html), i0.ɵɵsanitizeHtml);
|
|
21
|
-
} }, dependencies: [i1.SanitizeHtmlPipe], styles: [".custom-html[_ngcontent-%COMP%]{padding:20px}"] });
|
|
22
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomHtmlComponent, [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'igo-custom-html', template: "<div class=\"custom-html\" [innerHTML]=\"html | sanitizeHtml\"></div>\
|
|
25
|
-
}], function () { return []; }, { html: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}] }); })();
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./custom-html.pipe";
|
|
4
|
+
export class CustomHtmlComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this._html = '';
|
|
7
|
+
}
|
|
8
|
+
get html() {
|
|
9
|
+
return this._html;
|
|
10
|
+
}
|
|
11
|
+
set html(value) {
|
|
12
|
+
this._html = value;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
CustomHtmlComponent.ɵfac = function CustomHtmlComponent_Factory(t) { return new (t || CustomHtmlComponent)(); };
|
|
16
|
+
CustomHtmlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CustomHtmlComponent, selectors: [["igo-custom-html"]], inputs: { html: "html" }, decls: 2, vars: 3, consts: [[1, "custom-html", 3, "innerHTML"]], template: function CustomHtmlComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵelement(0, "div", 0);
|
|
18
|
+
i0.ɵɵpipe(1, "sanitizeHtml");
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(1, 1, ctx.html), i0.ɵɵsanitizeHtml);
|
|
21
|
+
} }, dependencies: [i1.SanitizeHtmlPipe], styles: [".custom-html[_ngcontent-%COMP%]{padding:20px}"] });
|
|
22
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomHtmlComponent, [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'igo-custom-html', template: "<div class=\"custom-html\" [innerHTML]=\"html | sanitizeHtml\"></div>\n", styles: [".custom-html{padding:20px}\n"] }]
|
|
25
|
+
}], function () { return []; }, { html: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] }); })();
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWh0bWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9saWIvY3VzdG9tLWh0bWwvY3VzdG9tLWh0bWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9saWIvY3VzdG9tLWh0bWwvY3VzdG9tLWh0bWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU9qRCxNQUFNLE9BQU8sbUJBQW1CO0lBVTlCO1FBRlEsVUFBSyxHQUFHLEVBQUUsQ0FBQztJQUVKLENBQUM7SUFUaEIsSUFDSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFDRCxJQUFJLElBQUksQ0FBQyxLQUFhO1FBQ3BCLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDO0lBQ3JCLENBQUM7O3NGQVBVLG1CQUFtQjtzRUFBbkIsbUJBQW1CO1FDUGhDLHlCQUFpRTs7O1FBQXhDLDZFQUFpQzs7dUZETzdDLG1CQUFtQjtjQUwvQixTQUFTOzJCQUNFLGlCQUFpQjtzQ0FNdkIsSUFBSTtrQkFEUCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG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