@yuuvis/client-framework 2.20.1 → 3.0.0-beta.20.1
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/actions/index.d.ts +230 -9
- package/app-bar/index.d.ts +50 -1
- package/autocomplete/index.d.ts +89 -3
- package/breadcrumb/index.d.ts +112 -2
- package/clipboard/index.d.ts +19 -1
- package/common/index.d.ts +536 -7
- package/datepicker/index.d.ts +380 -6
- package/fesm2022/yuuvis-client-framework-actions.mjs +31 -32
- package/fesm2022/yuuvis-client-framework-actions.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-app-bar.mjs +14 -17
- package/fesm2022/yuuvis-client-framework-app-bar.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-autocomplete.mjs +23 -23
- package/fesm2022/yuuvis-client-framework-autocomplete.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-breadcrumb.mjs +7 -8
- package/fesm2022/yuuvis-client-framework-breadcrumb.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-clipboard.mjs +8 -10
- package/fesm2022/yuuvis-client-framework-clipboard.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-common.mjs +191 -234
- package/fesm2022/yuuvis-client-framework-common.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-datepicker.mjs +110 -145
- package/fesm2022/yuuvis-client-framework-datepicker.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-forms.mjs +283 -250
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-icons.mjs +18 -19
- package/fesm2022/yuuvis-client-framework-icons.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-list.mjs +59 -57
- package/fesm2022/yuuvis-client-framework-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-master-details.mjs +23 -18
- package/fesm2022/yuuvis-client-framework-master-details.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-metadata-form-defaults.mjs +7 -9
- package/fesm2022/yuuvis-client-framework-metadata-form-defaults.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs +32 -32
- package/fesm2022/yuuvis-client-framework-metadata-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-details.mjs +129 -120
- package/fesm2022/yuuvis-client-framework-object-details.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs +67 -59
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-form.mjs +58 -60
- package/fesm2022/yuuvis-client-framework-object-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-preview.mjs +64 -47
- package/fesm2022/yuuvis-client-framework-object-preview.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-relationship.mjs +206 -183
- package/fesm2022/yuuvis-client-framework-object-relationship.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-summary.mjs +42 -42
- package/fesm2022/yuuvis-client-framework-object-summary.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-versions.mjs +28 -29
- package/fesm2022/yuuvis-client-framework-object-versions.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-overflow-hidden.mjs +10 -10
- package/fesm2022/yuuvis-client-framework-overflow-hidden.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-overflow-menu.mjs +16 -16
- package/fesm2022/yuuvis-client-framework-overflow-menu.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-pagination.mjs +7 -8
- package/fesm2022/yuuvis-client-framework-pagination.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-popout.mjs +55 -57
- package/fesm2022/yuuvis-client-framework-popout.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-query-list.mjs +29 -29
- package/fesm2022/yuuvis-client-framework-query-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-renderer.mjs +71 -68
- package/fesm2022/yuuvis-client-framework-renderer.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-sequence-list.mjs +20 -25
- package/fesm2022/yuuvis-client-framework-sequence-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-simple-search.mjs +31 -33
- package/fesm2022/yuuvis-client-framework-simple-search.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-sort.mjs +57 -37
- package/fesm2022/yuuvis-client-framework-sort.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-split-view.mjs +39 -38
- package/fesm2022/yuuvis-client-framework-split-view.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +119 -121
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-token-search.mjs +22 -22
- package/fesm2022/yuuvis-client-framework-token-search.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tree.mjs +32 -44
- package/fesm2022/yuuvis-client-framework-tree.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-upload-progress.mjs +22 -26
- package/fesm2022/yuuvis-client-framework-upload-progress.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-widget-grid.mjs +80 -77
- package/fesm2022/yuuvis-client-framework-widget-grid.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework.mjs +23 -23
- package/fesm2022/yuuvis-client-framework.mjs.map +1 -1
- package/forms/index.d.ts +633 -13
- package/icons/index.d.ts +79 -4
- package/index.d.ts +909 -6
- package/list/index.d.ts +380 -4
- package/master-details/index.d.ts +69 -3
- package/metadata-form/index.d.ts +189 -6
- package/metadata-form-defaults/index.d.ts +14 -2
- package/object-details/index.d.ts +321 -9
- package/object-flavor/index.d.ts +86 -6
- package/object-form/index.d.ts +288 -4
- package/object-preview/index.d.ts +82 -2
- package/object-relationship/index.d.ts +120 -5
- package/object-summary/index.d.ts +105 -4
- package/object-versions/index.d.ts +43 -2
- package/overflow-hidden/index.d.ts +28 -2
- package/overflow-menu/index.d.ts +52 -3
- package/package.json +12 -12
- package/pagination/index.d.ts +31 -2
- package/popout/index.d.ts +106 -5
- package/query-list/index.d.ts +497 -2
- package/renderer/index.d.ts +117 -10
- package/sequence-list/index.d.ts +60 -2
- package/simple-search/index.d.ts +57 -1
- package/sort/index.d.ts +36 -2
- package/split-view/index.d.ts +197 -4
- package/tile-list/index.d.ts +789 -10
- package/token-search/index.d.ts +72 -3
- package/tree/index.d.ts +68 -2
- package/upload-progress/index.d.ts +44 -2
- package/widget-grid/index.d.ts +299 -7
- package/actions/lib/actions/copy-action/copy-action.d.ts +0 -17
- package/actions/lib/actions/cut-action/cut-action.d.ts +0 -17
- package/actions/lib/actions/delete-action/delete/delete.component.d.ts +0 -22
- package/actions/lib/actions/delete-action/delete-action.d.ts +0 -18
- package/actions/lib/actions/download-action/download-action.d.ts +0 -17
- package/actions/lib/actions.icon.d.ts +0 -7
- package/actions/lib/actions.interface.d.ts +0 -86
- package/actions/lib/actions.module.d.ts +0 -11
- package/actions/lib/actions.service.d.ts +0 -58
- package/actions/lib/components/contextmenu/contextmenu.component.d.ts +0 -16
- package/actions/lib/components/contextmenu/contextmenu.model.d.ts +0 -9
- package/actions/lib/components/contextmenu/contextmenuTrigger.directive.d.ts +0 -12
- package/app-bar/lib/app-bar.component.d.ts +0 -47
- package/autocomplete/lib/autocomplete.component.d.ts +0 -74
- package/autocomplete/lib/autocomplete.interface.d.ts +0 -4
- package/autocomplete/lib/autocomplete.module.d.ts +0 -7
- package/breadcrumb/lib/breadcrumb/breadcrumb.component.d.ts +0 -94
- package/breadcrumb/lib/models/breadcrumb-item.model.d.ts +0 -14
- package/breadcrumb/lib/models/index.d.ts +0 -1
- package/clipboard/lib/clipboard.component.d.ts +0 -16
- package/common/lib/common.module.d.ts +0 -21
- package/common/lib/common.utils.d.ts +0 -2
- package/common/lib/components/busy-overlay/busy-overlay.component.d.ts +0 -9
- package/common/lib/components/busy-overlay/busy-overlay.interface.d.ts +0 -4
- package/common/lib/components/confirm/confirm.component.d.ts +0 -8
- package/common/lib/components/confirm/confirm.interface.d.ts +0 -9
- package/common/lib/components/confirm/confirm.service.d.ts +0 -9
- package/common/lib/components/dialog/dialog.component.d.ts +0 -10
- package/common/lib/components/dialog/dialog.options.d.ts +0 -7
- package/common/lib/components/halo-focus/halo-focus.component.d.ts +0 -5
- package/common/lib/components/index.d.ts +0 -8
- package/common/lib/components/retention-badge/retention-badge.component.d.ts +0 -9
- package/common/lib/components/scroll-buttons/scroll-buttons.component.d.ts +0 -25
- package/common/lib/directives/autofocus-child.directive.d.ts +0 -13
- package/common/lib/directives/autofocus-delayed.directive.d.ts +0 -18
- package/common/lib/directives/busy-overlay.directive.d.ts +0 -68
- package/common/lib/directives/click-double.directive.d.ts +0 -17
- package/common/lib/directives/container-size.directive.d.ts +0 -30
- package/common/lib/directives/drag-scroll.directive.d.ts +0 -20
- package/common/lib/directives/drag-select.directive.d.ts +0 -21
- package/common/lib/directives/file-drop-zone/file-drop-zone.directive.d.ts +0 -17
- package/common/lib/directives/file-drop-zone/file-drop-zone.interface.d.ts +0 -5
- package/common/lib/directives/focus-within.directive.d.ts +0 -36
- package/common/lib/directives/index.d.ts +0 -13
- package/common/lib/directives/light-dismiss.directive.d.ts +0 -19
- package/common/lib/directives/longpress.directive.d.ts +0 -13
- package/common/lib/directives/noop-value-accessor.directive.d.ts +0 -10
- package/common/lib/directives/scroll-buttons.directive.d.ts +0 -20
- package/common/lib/mat-form-field.abstract.d.ts +0 -41
- package/common/lib/services/file-drop/file-drop.service.d.ts +0 -7
- package/common/lib/services/form-translate/form-translate.service.d.ts +0 -15
- package/common/lib/services/index.d.ts +0 -4
- package/common/lib/services/layout-settings/layout-settings.interface.d.ts +0 -1
- package/common/lib/services/layout-settings/layout-settings.service.d.ts +0 -40
- package/common/lib/services/theme/index.d.ts +0 -3
- package/common/lib/services/theme/theme.models.d.ts +0 -16
- package/common/lib/services/theme/theme.provider.d.ts +0 -4
- package/common/lib/services/theme/theme.service.d.ts +0 -16
- package/datepicker/lib/calendar/calendar.component.d.ts +0 -70
- package/datepicker/lib/date-input/date-input-element/date-input-element.component.d.ts +0 -44
- package/datepicker/lib/date-input/date-input-hour-element/date-input-hour-element.component.d.ts +0 -11
- package/datepicker/lib/date-input/date-input.component.d.ts +0 -60
- package/datepicker/lib/datepicker-calendar/datepicker-calendar-trigger.component.d.ts +0 -7
- package/datepicker/lib/datepicker-calendar/datepicker-calendar.component.d.ts +0 -12
- package/datepicker/lib/datepicker.component.d.ts +0 -80
- package/datepicker/lib/datepicker.interface.d.ts +0 -34
- package/datepicker/lib/datepicker.module.d.ts +0 -9
- package/datepicker/lib/datepicker.service.d.ts +0 -46
- package/datepicker/lib/datepicker.utils.d.ts +0 -23
- package/datepicker/lib/time-input/time-input.component.d.ts +0 -32
- package/datepicker/lib/time-input/time-input.interface.d.ts +0 -6
- package/forms/lib/elements/catalog/catalog.component.d.ts +0 -34
- package/forms/lib/elements/data-grid/data-grid/data-grid.component.d.ts +0 -46
- package/forms/lib/elements/data-grid/edit-table-data/edit-data.component.d.ts +0 -22
- package/forms/lib/elements/data-grid/model/data-grid.interface.d.ts +0 -20
- package/forms/lib/elements/datetime/datetime.component.d.ts +0 -41
- package/forms/lib/elements/datetime-range/datetime-range.component.d.ts +0 -38
- package/forms/lib/elements/i18n-catalog/i18n-catalog.component.d.ts +0 -43
- package/forms/lib/elements/index.d.ts +0 -12
- package/forms/lib/elements/number/number.component.d.ts +0 -69
- package/forms/lib/elements/number-range/number-range.component.d.ts +0 -73
- package/forms/lib/elements/organization/organization.component.d.ts +0 -66
- package/forms/lib/elements/organization-set/organization-set.component.d.ts +0 -61
- package/forms/lib/elements/range-select-date/date-range-picker/date-range-picker.component.d.ts +0 -13
- package/forms/lib/elements/range-select-date/range-select-date.component.d.ts +0 -38
- package/forms/lib/elements/range-select-date/range-select-date.interface.d.ts +0 -5
- package/forms/lib/elements/range-select-filesize/range-select-filesize.component.d.ts +0 -33
- package/forms/lib/elements/range-select-filesize/range-select-filesize.interface.d.ts +0 -5
- package/forms/lib/elements/string/string.component.d.ts +0 -100
- package/forms/lib/forms.module.d.ts +0 -17
- package/forms/lib/forms.utils.d.ts +0 -4
- package/icons/lib/icon.component.d.ts +0 -24
- package/icons/lib/icon.service.d.ts +0 -39
- package/icons/lib/icons.d.ts +0 -1
- package/icons/lib/object-type-icon/object-type-icon.component.d.ts +0 -11
- package/lib/config/halo-focus-defaults/halo-excluded-elements.const.d.ts +0 -26
- package/lib/config/halo-focus-defaults/halo-focus-navigation-keys.const.d.ts +0 -25
- package/lib/config/halo-focus-defaults/halo-focus-offset.const.d.ts +0 -25
- package/lib/config/halo-focus-defaults/halo-focus-styles.const.d.ts +0 -26
- package/lib/config/halo-focus-defaults/index.d.ts +0 -4
- package/lib/config/index.d.ts +0 -2
- package/lib/config/session/index.d.ts +0 -3
- package/lib/config/session/session-activity-window-before-end.const.d.ts +0 -43
- package/lib/config/session/session-default-duration.const.d.ts +0 -47
- package/lib/config/session/session-popup-before-end.const.d.ts +0 -47
- package/lib/enums/channel-message.enum.d.ts +0 -4
- package/lib/enums/index.d.ts +0 -1
- package/lib/models/halo-focus-config/halo-focus-config.model.d.ts +0 -48
- package/lib/models/halo-focus-config/index.d.ts +0 -1
- package/lib/models/index.d.ts +0 -3
- package/lib/models/session/channel-payload.model.d.ts +0 -5
- package/lib/models/session/index.d.ts +0 -1
- package/lib/models/snack-bar/index.d.ts +0 -3
- package/lib/models/snack-bar/snack-bar-data.model.d.ts +0 -6
- package/lib/models/snack-bar/snack-bar-level.model.d.ts +0 -1
- package/lib/models/snack-bar/snack-bar-options.model.d.ts +0 -9
- package/lib/providers/halo-focus/index.d.ts +0 -1
- package/lib/providers/halo-focus/provide-halo-focus.d.ts +0 -62
- package/lib/providers/index.d.ts +0 -2
- package/lib/providers/session/index.d.ts +0 -1
- package/lib/providers/session/provide-session.provider.d.ts +0 -43
- package/lib/services/halo-focus/halo-focus.service.d.ts +0 -95
- package/lib/services/halo-utility/halo-utility.service.d.ts +0 -245
- package/lib/services/index.d.ts +0 -4
- package/lib/services/session/session.service.d.ts +0 -113
- package/lib/services/snack-bar/snack-bar.service.d.ts +0 -22
- package/lib/yuuvis-client-framework.module.d.ts +0 -7
- package/list/lib/list-item.directive.d.ts +0 -40
- package/list/lib/list-tile/list-tile.component.d.ts +0 -14
- package/list/lib/list.component.d.ts +0 -320
- package/list/lib/list.module.d.ts +0 -9
- package/master-details/lib/master-details.component.d.ts +0 -52
- package/master-details/lib/master-details.interface.d.ts +0 -7
- package/master-details/lib/master-details.module.d.ts +0 -7
- package/metadata-form/lib/metadata-form-element-registry.service.d.ts +0 -60
- package/metadata-form/lib/metadata-form-field/metadata-form-field.component.d.ts +0 -25
- package/metadata-form/lib/metadata-form-field/metadata-form-field.interface.d.ts +0 -19
- package/metadata-form/lib/object-metadata-element-error.directive.d.ts +0 -17
- package/metadata-form/lib/object-metadata-element-label.directive.d.ts +0 -29
- package/metadata-form/lib/object-metadata-element-template.directive.d.ts +0 -45
- package/metadata-form-defaults/lib/metadata-default-templates/metadata-default-templates.component.d.ts +0 -5
- package/metadata-form-defaults/lib/metadata-form-defaults.module.d.ts +0 -7
- package/object-details/lib/object-audit/object-audit.component.d.ts +0 -49
- package/object-details/lib/object-details-header/object-details-header.component.d.ts +0 -43
- package/object-details/lib/object-details-shell/object-details-shell.component.d.ts +0 -34
- package/object-details/lib/object-details-shell/object-details-shell.service.d.ts +0 -14
- package/object-details/lib/object-details.component.d.ts +0 -47
- package/object-details/lib/object-details.module.d.ts +0 -12
- package/object-details/lib/object-metadata/form-section-group.pipe.d.ts +0 -8
- package/object-details/lib/object-metadata/object-metadata-section/object-metadata-section.component.d.ts +0 -19
- package/object-details/lib/object-metadata/object-metadata-section/object-metadata-section.interface.d.ts +0 -9
- package/object-details/lib/object-metadata/object-metadata.component.d.ts +0 -75
- package/object-details/lib/object-metadata/object-metadata.interface.d.ts +0 -26
- package/object-flavor/lib/abstract-apply-create-flavor/abstract-apply-create-flavor.component.d.ts +0 -11
- package/object-flavor/lib/abstract-apply-object-flavor/abstract-apply-object-flavor.component.d.ts +0 -13
- package/object-flavor/lib/default-apply-flavor/default-apply-flavor.component.d.ts +0 -19
- package/object-flavor/lib/flavor-chip/flavor-chip.component.d.ts +0 -13
- package/object-flavor/lib/object-flavor/object-flavor.component.d.ts +0 -23
- package/object-flavor/lib/object-flavor-picker/object-flavor-picker.component.d.ts +0 -10
- package/object-form/lib/form-scripting.api.interface.d.ts +0 -131
- package/object-form/lib/form-scripting.service.d.ts +0 -30
- package/object-form/lib/object-form-element/object-form-element.component.d.ts +0 -23
- package/object-form/lib/object-form-extension.interface.d.ts +0 -22
- package/object-form/lib/object-form-group/object-form-group.component.d.ts +0 -20
- package/object-form/lib/object-form-script/form-scripting-element-extension/form-scripting-element-extension.component.d.ts +0 -10
- package/object-form/lib/object-form-script/object-form-script.service.d.ts +0 -45
- package/object-form/lib/object-form-script/object-form-scripting-scope.d.ts +0 -50
- package/object-form/lib/object-form.component.d.ts +0 -61
- package/object-form/lib/object-form.interface.d.ts +0 -69
- package/object-form/lib/object-form.module.d.ts +0 -7
- package/object-form/lib/object-form.service.d.ts +0 -41
- package/object-form/lib/object-form.utils.d.ts +0 -20
- package/object-form/lib/object-form.validation.d.ts +0 -21
- package/object-preview/lib/components/index.d.ts +0 -2
- package/object-preview/lib/components/object-email-preview/object-email-preview.component.d.ts +0 -16
- package/object-preview/lib/components/object-preview/object-preview.component.d.ts +0 -24
- package/object-preview/lib/services/object-preview.service.d.ts +0 -40
- package/object-relationship/lib/actions/add-relationship/add-relationship.component.d.ts +0 -37
- package/object-relationship/lib/actions/relationship-target-search/relationship-target-search.component.d.ts +0 -36
- package/object-relationship/lib/node-summary/node-summary.component.d.ts +0 -26
- package/object-relationship/lib/object-relationship-graph/object-relationship-graph.component.d.ts +0 -30
- package/object-relationship/lib/object-relationship-list/object-relationship-list-item/object-relationship-list-item.component.d.ts +0 -14
- package/object-relationship/lib/object-relationship-list/object-relationship-list.component.d.ts +0 -13
- package/object-relationship/lib/object-relationship.component.d.ts +0 -28
- package/object-relationship/lib/object-relationship.const.d.ts +0 -10
- package/object-relationship/lib/object-relationship.interface.d.ts +0 -38
- package/object-relationship/lib/object-relationship.module.d.ts +0 -7
- package/object-relationship/lib/object-relationship.service.d.ts +0 -26
- package/object-summary/lib/multi-object-summary/multi-object-summary.component.d.ts +0 -7
- package/object-summary/lib/object-summary/object-summary.component.d.ts +0 -64
- package/object-summary/lib/object-summary-data/object-summary-data.component.d.ts +0 -28
- package/object-summary/lib/object-summary.module.d.ts +0 -9
- package/object-versions/lib/object-versions.component.d.ts +0 -34
- package/object-versions/lib/object-versions.module.d.ts +0 -7
- package/overflow-hidden/lib/overflow-hidden.component.d.ts +0 -19
- package/overflow-hidden/lib/overflow-hidden.module.d.ts +0 -7
- package/overflow-menu/lib/overflow-menu.component.d.ts +0 -33
- package/overflow-menu/lib/overflow-menu.interface.d.ts +0 -10
- package/overflow-menu/lib/overflow-menu.module.d.ts +0 -7
- package/pagination/lib/pagination.component.d.ts +0 -21
- package/pagination/lib/pagination.interface.d.ts +0 -5
- package/popout/lib/fullscreen.directive.d.ts +0 -4
- package/popout/lib/popout-trigger/popout-trigger.component.d.ts +0 -13
- package/popout/lib/popout.component.d.ts +0 -59
- package/popout/lib/popout.interface.d.ts +0 -24
- package/popout/lib/popout.module.d.ts +0 -9
- package/query-list/lib/query-list.component.d.ts +0 -488
- package/query-list/lib/query-list.module.d.ts +0 -7
- package/renderer/lib/property-renderer/abstract.renderer.d.ts +0 -14
- package/renderer/lib/property-renderer/boolean.renderer.component.d.ts +0 -6
- package/renderer/lib/property-renderer/datetime.renderer.d.ts +0 -6
- package/renderer/lib/property-renderer/decimal.renderer.component.d.ts +0 -6
- package/renderer/lib/property-renderer/filesize.renderer.component.d.ts +0 -7
- package/renderer/lib/property-renderer/icon.renderer.component.d.ts +0 -8
- package/renderer/lib/property-renderer/index.d.ts +0 -11
- package/renderer/lib/property-renderer/integer.renderer.component.d.ts +0 -6
- package/renderer/lib/property-renderer/organization.renderer.d.ts +0 -13
- package/renderer/lib/property-renderer/string.renderer.component.d.ts +0 -6
- package/renderer/lib/property-renderer/table.renderer.component.d.ts +0 -17
- package/renderer/lib/property-renderer/unknown.renderer.d.ts +0 -6
- package/renderer/lib/renderer.directive.d.ts +0 -13
- package/renderer/lib/services/renderer/renderer.interface.d.ts +0 -4
- package/renderer/lib/services/renderer/renderer.service.d.ts +0 -35
- package/sequence-list/lib/sequence-list.component.d.ts +0 -40
- package/sequence-list/lib/sequence-list.interface.d.ts +0 -17
- package/simple-search/lib/models/index.d.ts +0 -1
- package/simple-search/lib/models/object-type-aggregation.model.d.ts +0 -14
- package/simple-search/lib/simple-search/simple-search.component.d.ts +0 -40
- package/sort/lib/sort/models/index.d.ts +0 -1
- package/sort/lib/sort/models/sort.interface.d.ts +0 -7
- package/sort/lib/sort/sort.component.d.ts +0 -25
- package/split-view/lib/split-area-cover.directive.d.ts +0 -15
- package/split-view/lib/split-area.directive.d.ts +0 -21
- package/split-view/lib/split-view.component.d.ts +0 -159
- package/split-view/lib/split-view.interface.d.ts +0 -11
- package/split-view/lib/split-view.module.d.ts +0 -8
- package/tile-list/lib/tile-actions-menu/tile-actions-menu.component.d.ts +0 -11
- package/tile-list/lib/tile-config/action-select/action-select.component.d.ts +0 -13
- package/tile-list/lib/tile-config/icon-select/icon-select.component.d.ts +0 -11
- package/tile-list/lib/tile-config/property-select/property-select.component.d.ts +0 -26
- package/tile-list/lib/tile-config/tile-config-tile/tile-config-tile.component.d.ts +0 -20
- package/tile-list/lib/tile-config/tile-config-trigger/tile-config-trigger.component.d.ts +0 -17
- package/tile-list/lib/tile-config/tile-config.component.d.ts +0 -48
- package/tile-list/lib/tile-extension/directive/tile-extension.directive.d.ts +0 -11
- package/tile-list/lib/tile-extension/extensions/email.extension.d.ts +0 -10
- package/tile-list/lib/tile-extension/tile-extension.service.d.ts +0 -16
- package/tile-list/lib/tile-list/tile-list.component.d.ts +0 -637
- package/tile-list/lib/tile-list/tile-list.interface.d.ts +0 -18
- package/token-search/lib/token-search.component.d.ts +0 -35
- package/token-search/lib/token-search.interface.d.ts +0 -27
- package/token-search/lib/token-search.module.d.ts +0 -7
- package/tree/lib/tree-node/tree-node.component.d.ts +0 -21
- package/tree/lib/tree.component.d.ts +0 -53
- package/tree/lib/tree.interface.d.ts +0 -11
- package/tree/lib/tree.service.d.ts +0 -35
- package/upload-progress/lib/upload-progress/upload-progress-overlay/upload-progress-overlay.component.d.ts +0 -12
- package/upload-progress/lib/upload-progress/upload-progress.component.d.ts +0 -33
- package/upload-progress/lib/upload-progress/upload-progress.module.d.ts +0 -7
- package/widget-grid/lib/widget-grid-event.service.d.ts +0 -10
- package/widget-grid/lib/widget-grid-registry.service.d.ts +0 -81
- package/widget-grid/lib/widget-grid-workspaces/widget-grid-workspaces.component.d.ts +0 -53
- package/widget-grid/lib/widget-grid-workspaces/widget-grid-workspaces.interface.d.ts +0 -17
- package/widget-grid/lib/widget-grid-workspaces/workspace-edit/workspace-edit.component.d.ts +0 -10
- package/widget-grid/lib/widget-grid.component.d.ts +0 -52
- package/widget-grid/lib/widget-grid.interface.d.ts +0 -51
- package/widget-grid/lib/widget-grid.module.d.ts +0 -8
- package/widget-grid/lib/widget-grid.service.d.ts +0 -45
- package/widget-grid/lib/widget-grid.utils.d.ts +0 -18
- package/widget-grid/lib/widget-picker/widget-picker.component.d.ts +0 -38
- package/widget-grid/lib/widgets/noop/noop.component.d.ts +0 -7
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default offset (in pixels) between the halo border and the focused element's edges.
|
|
3
|
-
*
|
|
4
|
-
* This value determines how far the halo appears from the focused element:
|
|
5
|
-
* - **Positive value** (default: 3): Halo appears outside the element
|
|
6
|
-
* - **Zero (0)**: Halo aligns exactly with element edges (neutral offset)
|
|
7
|
-
* - **Negative value**: Halo appears inside the element (inset)
|
|
8
|
-
*
|
|
9
|
-
* **Override Methods:**
|
|
10
|
-
* - **Per-element**: Use `halo-offset="value"` attribute
|
|
11
|
-
* - **Per-container**: Use `halo-container-offset="value"` or preset attributes
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <!-- Uses default 3px offset (outside) -->
|
|
16
|
-
* <button>Default</button>
|
|
17
|
-
*
|
|
18
|
-
* <!-- Custom 5px offset -->
|
|
19
|
-
* <input halo-offset="5" />
|
|
20
|
-
*
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @default 3
|
|
24
|
-
*/
|
|
25
|
-
export declare const defaultHaloFocusOffset = 3;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default CSS styles for the halo focus element.
|
|
3
|
-
*
|
|
4
|
-
* These styles define the visual appearance and behavior of the halo border that
|
|
5
|
-
* highlights keyboard-focused elements. The halo is a fixed-position overlay that
|
|
6
|
-
* follows the focused element across the page.
|
|
7
|
-
*
|
|
8
|
-
* **Style Properties:**
|
|
9
|
-
* - `position: 'fixed'` - Keeps halo in viewport regardless of scroll position
|
|
10
|
-
* - `pointerEvents: 'none'` - Allows click-through; halo doesn't block interactions
|
|
11
|
-
* - `zIndex: '9999'` - Ensures halo appears above most other elements
|
|
12
|
-
* - `border` - Primary border using CSS variable `--ymt-primary` (2px solid)
|
|
13
|
-
* - `boxShadow` - Soft shadow with 20% opacity for subtle depth effect
|
|
14
|
-
* - `borderRadius` - Default 8px rounded corners for modern appearance
|
|
15
|
-
* - `opacity: '0'` - Initially hidden; visibility controlled by service
|
|
16
|
-
* - `transform: 'translateZ(0)'` - Creates GPU layer for smoother animations
|
|
17
|
-
*
|
|
18
|
-
* **CSS Variable Dependencies:**
|
|
19
|
-
* - `--ymt-primary` - Primary theme color for border and shadow
|
|
20
|
-
*
|
|
21
|
-
* **Note:** These are base styles that can be overridden globally via HaloFocusConfig
|
|
22
|
-
* or per-element using halo-* attributes.
|
|
23
|
-
*
|
|
24
|
-
* @see {@link HaloFocusConfig} for global style customization
|
|
25
|
-
*/
|
|
26
|
-
export declare const haloFocusStyles: Partial<CSSStyleDeclaration>;
|
package/lib/config/index.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Time window (in milliseconds) before session expiry when user activity triggers auto-extension.
|
|
3
|
-
*
|
|
4
|
-
* During this window, the service tracks user interactions (mouse, keyboard, scroll) and HTTP activity.
|
|
5
|
-
* If any activity is detected, the session is automatically extended, preventing the expiry warning popup.
|
|
6
|
-
*
|
|
7
|
-
* **Session Timeline:**
|
|
8
|
-
* ```
|
|
9
|
-
* [Session Start] ──────────────────────────────► [Session Expires]
|
|
10
|
-
* ▲ ▲
|
|
11
|
-
* │ └─ sessionPopupBeforeEnd (1 min)
|
|
12
|
-
* └─ Activity window starts (2 min)
|
|
13
|
-
*
|
|
14
|
-
* ┌─────────────────────────────────────────────┐
|
|
15
|
-
* │ Activity Window (2 minutes) │
|
|
16
|
-
* │ • Tracks: mousemove, keydown, click, scroll │
|
|
17
|
-
* │ • Tracks: HTTP requests (debounced) │
|
|
18
|
-
* │ • If activity detected → auto-extend │
|
|
19
|
-
* │ • If no activity → show warning popup │
|
|
20
|
-
* └─────────────────────────────────────────────┘
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* **Why This Matters:**
|
|
24
|
-
* - Prevents unnecessary interruptions for active users
|
|
25
|
-
* - Reduces server-side session renewal traffic by batching extensions
|
|
26
|
-
* - Provides a grace period before showing the expiry warning
|
|
27
|
-
*
|
|
28
|
-
* **Tracked Activities:**
|
|
29
|
-
* - **User interactions**: `mousemove`, `keydown`, `click`, `scroll` on `window`
|
|
30
|
-
* - **HTTP traffic**: Any request via `BackendService.httpCommunicationOccurred$` (debounced 500ms)
|
|
31
|
-
*
|
|
32
|
-
* **Interaction with Other Constants:**
|
|
33
|
-
* - Must be **greater than** {@link sessionPopupBeforeEnd} to allow the activity window before the popup
|
|
34
|
-
* - Typical relationship: `activityWindow > popupWarning` (e.g., 2 min > 1 min)
|
|
35
|
-
*
|
|
36
|
-
* **Performance Note:**
|
|
37
|
-
* Activity tracking is only active during this window, not throughout the entire session,
|
|
38
|
-
* minimizing performance impact of event listeners.
|
|
39
|
-
*
|
|
40
|
-
* @default 2 minutes (120000 milliseconds)
|
|
41
|
-
* @see {@link SessionService.setupUserActivityTracking} for implementation details
|
|
42
|
-
*/
|
|
43
|
-
export declare const sessionActivityWindowBeforeEnd: number;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default session duration (in milliseconds) when no explicit duration is provided.
|
|
3
|
-
*
|
|
4
|
-
* This value is used as the fallback session lifetime when:
|
|
5
|
-
* - `provideSession()` is called without a duration parameter
|
|
6
|
-
* - Before `startSession(duration)` is called with a backend-provided value
|
|
7
|
-
*
|
|
8
|
-
* **Timeline:**
|
|
9
|
-
* ```
|
|
10
|
-
* [Session Start] ──────────────────────────────► [Session Expires]
|
|
11
|
-
* ← sessionDefaultDuration →
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* **Override Methods:**
|
|
15
|
-
* - **At startup (known duration)**: `provideSession(customDuration)`
|
|
16
|
-
* - **After login (dynamic duration)**: `sessionService.startSession(backendDuration)`
|
|
17
|
-
*
|
|
18
|
-
* **Usage Scenarios:**
|
|
19
|
-
*
|
|
20
|
-
* Scenario 1 - Fixed duration:
|
|
21
|
-
* ```ts
|
|
22
|
-
* // app.config.ts
|
|
23
|
-
* providers: [
|
|
24
|
-
* provideSession(45 * 60 * 1000) // Override to 45 minutes
|
|
25
|
-
* ]
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* Scenario 2 - Backend-provided duration:
|
|
29
|
-
* ```ts
|
|
30
|
-
* // app.config.ts
|
|
31
|
-
* providers: [
|
|
32
|
-
* provideSession() // Uses default 30 minutes initially
|
|
33
|
-
* ]
|
|
34
|
-
*
|
|
35
|
-
* // auth.service.ts (after login)
|
|
36
|
-
* login().subscribe(response => {
|
|
37
|
-
* sessionService.startSession(response.sessionExpiresIn); // Update to backend value
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* **Related Constants:**
|
|
42
|
-
* - {@link sessionActivityWindowBeforeEnd} - When to start tracking user activity
|
|
43
|
-
* - {@link sessionPopupBeforeEnd} - When to show the expiry warning popup
|
|
44
|
-
*
|
|
45
|
-
* @default 30 minutes (1800000 milliseconds)
|
|
46
|
-
*/
|
|
47
|
-
export declare const sessionDefaultDuration: number;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Time (in milliseconds) before session expiry when the warning popup is displayed.
|
|
3
|
-
*
|
|
4
|
-
* When this threshold is reached without detected user activity during the activity window,
|
|
5
|
-
* a snackbar notification appears, warning the user that their session will expire soon
|
|
6
|
-
* and providing an "Extend session" action button.
|
|
7
|
-
*
|
|
8
|
-
* **Session Timeline:**
|
|
9
|
-
* ```
|
|
10
|
-
* [Session Start] ──────────────────────────────► [Session Expires]
|
|
11
|
-
* ▲ ▲
|
|
12
|
-
* │ └─ Popup appears (1 min before expiry)
|
|
13
|
-
* └─ Activity window starts (2 min before expiry)
|
|
14
|
-
*
|
|
15
|
-
* User has no activity during the 2-minute window:
|
|
16
|
-
* ├─ 2 min before: Activity tracking starts
|
|
17
|
-
* ├─ 1 min before: ⚠️ Popup shows "Session expires in one minute"
|
|
18
|
-
* └─ 0 min: Auto-logout if no action taken
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* **Popup Behavior:**
|
|
22
|
-
* - Displays a warning message: "Session expires in one minute"
|
|
23
|
-
* - Provides an action button: "Extend session"
|
|
24
|
-
* - Clicking "Extend session" → extends session by the full session duration
|
|
25
|
-
* - Ignoring the popup → automatic logout when timer reaches zero
|
|
26
|
-
* - Only one popup is shown at a time (subsequent extensions dismiss the existing popup)
|
|
27
|
-
*
|
|
28
|
-
* **Cross-Tab Synchronization:**
|
|
29
|
-
* If the user extends the session in one browser tab, all other tabs:
|
|
30
|
-
* - Automatically dismiss their popups (if shown)
|
|
31
|
-
* - Reset their timers to the new expiry time
|
|
32
|
-
* - Avoid showing redundant warnings
|
|
33
|
-
*
|
|
34
|
-
* **Interaction with Other Constants:**
|
|
35
|
-
* - Must be **less than** {@link sessionActivityWindowBeforeEnd}
|
|
36
|
-
* - Typical relationship: `activityWindow > popupWarning` (e.g., 2 min > 1 min)
|
|
37
|
-
* - The gap between them determines how long the activity window runs before the popup
|
|
38
|
-
*
|
|
39
|
-
* **UX Considerations:**
|
|
40
|
-
* - **1 minute** gives users enough time to react without being too intrusive
|
|
41
|
-
* - Too short (e.g., 10 seconds): Users may not have time to respond
|
|
42
|
-
* - Too long (e.g., 5 minutes): Users may be unnecessarily interrupted if they return
|
|
43
|
-
*
|
|
44
|
-
* @default 1 minute (60000 milliseconds)
|
|
45
|
-
* @see {@link SessionService.showPopup} for popup implementation
|
|
46
|
-
*/
|
|
47
|
-
export declare const sessionPopupBeforeEnd: number;
|
package/lib/enums/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './channel-message.enum';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration options for the Halo Focus service.
|
|
3
|
-
*
|
|
4
|
-
* These settings define the default visual appearance of the focus halo.
|
|
5
|
-
* Individual elements can override these defaults using halo-* attributes,
|
|
6
|
-
* and containers can set defaults for their children using halo-container-* attributes.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* const config: HaloFocusConfig = {
|
|
10
|
-
* innerColor: '#007bff',
|
|
11
|
-
* outerColor: 'rgba(0, 123, 255, 0.25)'
|
|
12
|
-
* };
|
|
13
|
-
*/
|
|
14
|
-
export interface HaloFocusConfig {
|
|
15
|
-
/**
|
|
16
|
-
* Inner color for the halo element.
|
|
17
|
-
*
|
|
18
|
-
* Accepts any valid CSS color value:
|
|
19
|
-
* - Named colors: 'blue', 'red'
|
|
20
|
-
* - Hex: '#007bff', '#f00'
|
|
21
|
-
* - RGB: 'rgb(0, 123, 255)'
|
|
22
|
-
* - RGBA: 'rgba(0, 123, 255, 0.5)'
|
|
23
|
-
* - CSS variables: 'var(--primary-color)'
|
|
24
|
-
* - Modern CSS: 'rgba(from var(--color) r g b / 0.5)'
|
|
25
|
-
*
|
|
26
|
-
* @default 'var(--ymt-primary)'
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* innerColor: '#007bff'
|
|
30
|
-
* innerColor: 'var(--accent-color)'
|
|
31
|
-
*/
|
|
32
|
-
innerColor?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Outer color that appears around the halo element.
|
|
35
|
-
*
|
|
36
|
-
* Creates a subtle glow effect around the focused element.
|
|
37
|
-
* The outer color is 4px wide and surrounds the inner color.
|
|
38
|
-
*
|
|
39
|
-
* Accepts any valid CSS color value with alpha transparency recommended.
|
|
40
|
-
*
|
|
41
|
-
* @default 'rgba(from var(--ymt-primary) r g b / 0.2)'
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* outerColor: 'rgba(0, 123, 255, 0.25)'
|
|
45
|
-
* outerColor: 'rgba(from var(--accent) r g b / 0.3)'
|
|
46
|
-
*/
|
|
47
|
-
outerColor?: string;
|
|
48
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './halo-focus-config.model';
|
package/lib/models/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './channel-payload.model';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SnackBarLevel = 'info' | 'success' | 'warning' | 'danger';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MatSnackBarHorizontalPosition, MatSnackBarVerticalPosition } from "@angular/material/snack-bar";
|
|
2
|
-
import { SnackBarLevel } from "./snack-bar-level.model";
|
|
3
|
-
export interface SnackBarOptions {
|
|
4
|
-
duration?: number;
|
|
5
|
-
horizontalPosition?: MatSnackBarHorizontalPosition;
|
|
6
|
-
verticalPosition?: MatSnackBarVerticalPosition;
|
|
7
|
-
action?: string;
|
|
8
|
-
level?: SnackBarLevel;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './provide-halo-focus';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import { HaloFocusConfig } from '../../models';
|
|
3
|
-
/**
|
|
4
|
-
* Provides and initializes the Halo Focus feature for the Angular application.
|
|
5
|
-
*
|
|
6
|
-
* This function sets up a global visual accessibility enhancement that creates a
|
|
7
|
-
* "halo" border around keyboard-focused elements, making navigation more visible
|
|
8
|
-
* and improving the user experience for keyboard users.
|
|
9
|
-
*
|
|
10
|
-
* **What It Does:**
|
|
11
|
-
* - Registers HaloFocusService and HaloUtility as application-wide providers
|
|
12
|
-
* - Automatically initializes the service during app startup via APP_INITIALIZER
|
|
13
|
-
* - Runs initialization outside Angular zone for optimal performance
|
|
14
|
-
* - Creates a persistent halo element that tracks focus throughout the application
|
|
15
|
-
*
|
|
16
|
-
* **Key Features:**
|
|
17
|
-
* - Keyboard-only focus indication (respects CSS :focus-visible)
|
|
18
|
-
* - Performance-optimized with requestAnimationFrame and zone-free execution
|
|
19
|
-
* - Fully customizable via global config or per-element attributes
|
|
20
|
-
* - Supports container-level defaults for consistent styling
|
|
21
|
-
* - Automatic visibility detection and responsive to DOM changes
|
|
22
|
-
*
|
|
23
|
-
* **Configuration Options:**
|
|
24
|
-
* @param config - Optional global configuration object
|
|
25
|
-
* @param config.innerColor - Inner color of the halo (default: 'var(--ymt-primary)')
|
|
26
|
-
* @param config.outerColor - Outer color around the halo (default: 'rgba(from var(--ymt-primary) r g b / 0.2)')
|
|
27
|
-
*
|
|
28
|
-
* @returns EnvironmentProviders for the Halo Focus feature
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // Basic usage in app.config.ts
|
|
32
|
-
* export const appConfig: ApplicationConfig = {
|
|
33
|
-
* providers: [
|
|
34
|
-
* provideHaloFocus()
|
|
35
|
-
* ]
|
|
36
|
-
* };
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* // With custom configuration
|
|
40
|
-
* export const appConfig: ApplicationConfig = {
|
|
41
|
-
* providers: [
|
|
42
|
-
* provideHaloFocus({
|
|
43
|
-
* innerColor: '#007bff',
|
|
44
|
-
* outerColor: 'rgba(0, 123, 255, 0.25)'
|
|
45
|
-
* })
|
|
46
|
-
* ]
|
|
47
|
-
* };
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* // Using element-level attributes in your template
|
|
51
|
-
* <button halo-color="red">Custom Red Halo</button>
|
|
52
|
-
* <input halo-offset="5" />
|
|
53
|
-
* <select halo-skip>No Halo</select>
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* // Using container-level attributes
|
|
57
|
-
* <form halo-container halo-container-color="blue" halo-container-offset="5">
|
|
58
|
-
* <input /> <!-- Will use blue color and 5px offset -->
|
|
59
|
-
* <button halo-color="red">Submit</button> <!-- Overrides with red -->
|
|
60
|
-
* </form>
|
|
61
|
-
*/
|
|
62
|
-
export declare function provideHaloFocus(config?: HaloFocusConfig): EnvironmentProviders;
|
package/lib/providers/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './provide-session.provider';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Provides and initializes the SessionService at application startup.
|
|
4
|
-
*
|
|
5
|
-
* What it does
|
|
6
|
-
* - Registers SessionService as a singleton to manage session expiry across the app
|
|
7
|
-
* - Runs `session.init()` via APP_INITIALIZER when the app boots
|
|
8
|
-
* - Initializes cross-tab BroadcastChannel sync, HTTP debounce hooks, and user-activity listeners
|
|
9
|
-
* - Automatically tracks HTTP activity and user interactions to extend sessions
|
|
10
|
-
*
|
|
11
|
-
* Usage scenarios
|
|
12
|
-
*
|
|
13
|
-
* Scenario 1: Known session duration at startup
|
|
14
|
-
* When the session duration is predetermined and constant, provide it here.
|
|
15
|
-
* ```ts
|
|
16
|
-
* // app.config.ts
|
|
17
|
-
* export const appConfig: ApplicationConfig = {
|
|
18
|
-
* providers: [
|
|
19
|
-
* provideSession(30 * 60 * 1000), // 30 minutes
|
|
20
|
-
* ]
|
|
21
|
-
* };
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* Scenario 2: Dynamic session duration from backend
|
|
25
|
-
* When the session duration is determined after login (e.g., from backend response),
|
|
26
|
-
* omit the parameter here and call `startSession()` after receiving the duration.
|
|
27
|
-
* ```ts
|
|
28
|
-
* // app.config.ts
|
|
29
|
-
* export const appConfig: ApplicationConfig = {
|
|
30
|
-
* providers: [
|
|
31
|
-
* provideSession(), // Defaults to 30 minutes until startSession() is called
|
|
32
|
-
* ]
|
|
33
|
-
* };
|
|
34
|
-
*
|
|
35
|
-
* // After login in AuthService:
|
|
36
|
-
* login().subscribe(response => {
|
|
37
|
-
* sessionService.startSession(response.sessionExpiresIn); // Set actual duration
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @param sessionDuration Optional session duration in milliseconds. If omitted, defaults to 30 minutes (1800000ms).
|
|
42
|
-
*/
|
|
43
|
-
export declare function provideSession(sessionDuration?: number): EnvironmentProviders;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { HaloFocusConfig } from '../../models';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Service that creates and manages a visual "halo" border around keyboard-focused elements
|
|
5
|
-
* to enhance navigation visibility and improve accessibility.
|
|
6
|
-
*
|
|
7
|
-
* This service operates globally across the application, automatically tracking focus events
|
|
8
|
-
* and dynamically positioning a halo element around the currently focused element. The halo
|
|
9
|
-
* responds to window scrolls, resizes, and DOM mutations to maintain accurate positioning.
|
|
10
|
-
*
|
|
11
|
-
* **Key Features:**
|
|
12
|
-
* - Keyboard-only focus indication (respects :focus-visible)
|
|
13
|
-
* - Performance-optimized with requestAnimationFrame and runs outside Angular zone
|
|
14
|
-
* - Element-level and container-level customization support
|
|
15
|
-
* - Automatic visibility detection (handles clipping, hidden elements, etc.)
|
|
16
|
-
* - Responsive to dynamic DOM changes via ResizeObserver and MutationObserver
|
|
17
|
-
* - Smart exclusion for Angular Material form fields (prevents redundant styling)
|
|
18
|
-
*
|
|
19
|
-
* **Usage:**
|
|
20
|
-
* 1. Add `provideHaloFocus()` to your providers array in app.config.ts
|
|
21
|
-
* 2. The service initializes automatically and appends a halo element to the DOM
|
|
22
|
-
* 3. Optionally customize appearance globally or per-element using attributes
|
|
23
|
-
*
|
|
24
|
-
* **Element-Level Attributes:**
|
|
25
|
-
* - `halo-skip` - Excludes element from halo highlighting
|
|
26
|
-
* - `halo-color="color"` - Custom halo color (e.g., "blue", "#00ff00", "rgb(255,0,0)")
|
|
27
|
-
* - `halo-offset="value"` - Custom numeric offset in pixels (default: 3)
|
|
28
|
-
*
|
|
29
|
-
* **Container-Level Attributes:**
|
|
30
|
-
* Define default halo styles for all focused children. Child elements can override
|
|
31
|
-
* container settings with their own halo-* attributes.
|
|
32
|
-
*
|
|
33
|
-
* - `halo-container` - Marks element as a halo container (required for other attributes)
|
|
34
|
-
* - `halo-container-skip` - Excludes all focused children from halo highlighting
|
|
35
|
-
* - `halo-container-color="color"` - Default halo color for focused children
|
|
36
|
-
* - `halo-container-offset="value"` - Default offset for focused children
|
|
37
|
-
*
|
|
38
|
-
* **Material Form Field Integration:**
|
|
39
|
-
* Elements inside Angular Material form fields (mat-form-field) are automatically excluded
|
|
40
|
-
* from halo focus to prevent visual conflicts with Material's built-in focus styling.
|
|
41
|
-
* Excluded elements: input, mat-select (configurable via haloExcludedElementsInMatFormField)
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* ```html
|
|
45
|
-
* <!-- Element-level customization -->
|
|
46
|
-
* <button halo-color="red">Custom Red Halo</button>
|
|
47
|
-
* <input halo-offset="5" />
|
|
48
|
-
* <select halo-skip>No Halo</select>
|
|
49
|
-
*
|
|
50
|
-
* <!-- Container-level defaults -->
|
|
51
|
-
* <form halo-container halo-container-color="blue" halo-container-offset="5">
|
|
52
|
-
* <input /> <!-- Inherits blue color and 5px offset -->
|
|
53
|
-
* <button halo-color="red">Submit</button> <!-- Overrides with red, keeps 5px offset -->
|
|
54
|
-
* </form>
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* **Performance Notes:**
|
|
58
|
-
* - Service runs outside Angular's zone to prevent unnecessary change detection
|
|
59
|
-
* - Uses requestAnimationFrame for smooth rendering
|
|
60
|
-
* - Only shows halo for keyboard interactions (respects :focus-visible)
|
|
61
|
-
*
|
|
62
|
-
* @see {@link provideHaloFocus} for initialization and configuration
|
|
63
|
-
* @see {@link HaloFocusConfig} for global configuration options
|
|
64
|
-
*/
|
|
65
|
-
export declare class HaloFocusService {
|
|
66
|
-
#private;
|
|
67
|
-
/**
|
|
68
|
-
* Initializes the Halo Focus service and sets up the global halo tracking system.
|
|
69
|
-
*
|
|
70
|
-
* This method performs the following initialization steps:
|
|
71
|
-
* 1. Applies optional configuration for halo appearance (inner and outer colors)
|
|
72
|
-
* 2. Creates and appends the halo DIV element to the document body
|
|
73
|
-
* 3. Attaches global event listeners for focus, blur, keyboard, mouse, scroll, and resize events
|
|
74
|
-
* 4. Sets up ResizeObserver and MutationObserver for tracking dynamic DOM changes
|
|
75
|
-
*
|
|
76
|
-
* **Lifecycle:**
|
|
77
|
-
* - Called automatically by `provideHaloFocus()` during app initialization
|
|
78
|
-
* - Runs outside Angular's zone to prevent triggering change detection
|
|
79
|
-
* - Initializes only once per application lifecycle
|
|
80
|
-
*
|
|
81
|
-
* **Performance:**
|
|
82
|
-
* - Uses passive event listeners where applicable
|
|
83
|
-
* - Leverages requestAnimationFrame for efficient rendering
|
|
84
|
-
* - Observers are conditionally created only if browser supports them
|
|
85
|
-
*
|
|
86
|
-
* @param config - Optional configuration object for customizing halo appearance
|
|
87
|
-
* @param config.innerColor - Custom inner color (overrides default primary color)
|
|
88
|
-
* @param config.outerColor - Custom outer color (overrides default shadow)
|
|
89
|
-
*
|
|
90
|
-
* @internal This method should not be called manually; use `provideHaloFocus()` instead
|
|
91
|
-
*/
|
|
92
|
-
init(config?: HaloFocusConfig): void;
|
|
93
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HaloFocusService, never>;
|
|
94
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HaloFocusService>;
|
|
95
|
-
}
|