@uxland/primary-shell 6.0.5 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -15
- package/dist/index.js +9358 -16238
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +459 -849
- package/dist/index.umd.cjs.map +1 -1
- package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/primaria-shell.d.ts +0 -1
- package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/shell-header/shell-header.d.ts +1 -1
- package/dist/{api → primary/shell/src/api}/region-manager/region-manager.d.ts +5 -0
- package/dist/{events.d.ts → primary/shell/src/events.d.ts} +0 -2
- package/dist/{features → primary/shell/src/features}/exit/handler.d.ts +1 -1
- package/dist/{features → primary/shell/src/features}/exit/request.d.ts +1 -1
- package/dist/{features → primary/shell/src/features}/get-patient-cip/action.d.ts +1 -1
- package/dist/{features → primary/shell/src/features}/get-user-info/request.d.ts +1 -1
- package/dist/{handle-plugins.d.ts → primary/shell/src/handle-plugins.d.ts} +1 -1
- package/dist/primary/shell/src/index.d.ts +14 -0
- package/package.json +2 -5
- package/src/UI/components/communication-action-menu/communication-action-menu.ts +2 -3
- package/src/UI/components/primaria-shell/primaria-shell.ts +6 -15
- package/src/UI/components/primaria-shell/shell-header/shell-header.ts +7 -10
- package/src/UI/internal-views/upper-nav-views.ts +4 -5
- package/src/UI/shared-components/primaria-nav-item/primaria-nav-item.ts +4 -7
- package/src/api/pdf-viewer-manager/handle-views.ts +1 -2
- package/src/api/region-manager/region-manager.test.ts +5 -10
- package/src/api/region-manager/region-manager.ts +16 -7
- package/src/api/region-manager/regions.ts +3 -3
- package/src/events.ts +0 -2
- package/src/features/bootstrapper.ts +0 -6
- package/src/features/exit/handler.test.ts +1 -1
- package/src/features/exit/handler.ts +1 -1
- package/src/features/exit/request.ts +1 -1
- package/src/features/get-patient-cip/action.ts +1 -1
- package/src/features/get-user-info/request.ts +1 -1
- package/src/handle-plugins.ts +26 -11
- package/src/index.ts +1 -2
- package/dist/features/clinical-monitoring/bootstrapper.d.ts +0 -4
- package/dist/features/clinical-monitoring/component/clinical-monitoring.d.ts +0 -14
- package/dist/features/clinical-monitoring/component/template.d.ts +0 -3
- package/dist/features/clinical-monitoring/constants.d.ts +0 -1
- package/dist/features/clinical-monitoring/handle-views.d.ts +0 -1
- package/dist/flow-D-0MTYCm.js +0 -511
- package/dist/flow-D-0MTYCm.js.map +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/request.d.ts +0 -13
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/validate-add-async-items-command.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-item/action.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-item/add-item-to-collection.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-item/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-item/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-item/reducer.d.ts +0 -8
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-item/request.d.ts +0 -7
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/action.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/add-items-to-collection.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/add-items-to-collection.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/reducer.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/add/add-history-items/request.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/bootstrapper.d.ts +0 -2
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/busy-component/component.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/busy-component/template.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/is-grouping-busy/component.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/is-grouping-busy/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/reducers.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-busy/selectors.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/handle-history-items-add-error/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/handle-history-items-add-error/handler.d.ts +0 -7
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/handle-history-items-add-error/request.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/history-full-data-error/component.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/history-full-data-error/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/history-partial-data-error/component.d.ts +0 -11
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/history-partial-data-error/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/reducers.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/add/handle-error/selectors.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/domain/business-rules.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/domain/model.d.ts +0 -50
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/common-filter-spec.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/custom-filter-spec.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/diagnostics-filter-spec.d.ts +0 -8
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/diagnostics-filter-spec.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/false-spec.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/own-spec.d.ts +0 -8
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/prop-path-spec.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/relevant-spec.d.ts +0 -8
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/relevant.spec.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/search-string-spec.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/search-string-spec.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/spec.d.ts +0 -29
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/true-spec.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/type-spec.d.ts +0 -14
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/up-filter-spec.d.ts +0 -8
- package/dist/internal-plugins/activity-history/activity-history-item/domain/specs/up-filter-spec.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/are-same-diagnostics.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/are-same-diagnostics.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/has-valid-diagnostics.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/has-valid-diagnostics.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-basic-history-item.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-basic-history-item.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-full-history-item.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-full-history-item.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-professional.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/domain/validation/utils.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/export-to-pdf/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/export-to-pdf/export-pdf-modal/export-pdf-modal.d.ts +0 -15
- package/dist/internal-plugins/activity-history/activity-history-item/export-to-pdf/export-pdf-modal/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/export-to-pdf/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/export-to-pdf/request.d.ts +0 -2
- package/dist/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/active-filters-badges.d.ts +0 -19
- package/dist/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/template.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/active-filters-header.d.ts +0 -11
- package/dist/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/template.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/UI/activity-history-filters/activity-history-filters.d.ts +0 -25
- package/dist/internal-plugins/activity-history/activity-history-item/filter/UI/activity-history-filters/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/filter/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/common-filters.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/selectors.d.ts +0 -244
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/actions.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/reducer.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/request.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/reducer.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/request.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/selectors.d.ts +0 -179
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/reducer.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/request.d.ts +0 -9
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/actions.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/reducer.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/request.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/reducer.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/request.d.ts +0 -10
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/reducer.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/reducer.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/request.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/handle-add-diagnostics-options-from-item.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/handle-add-diagnostics-options-from-item.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/selectors.d.ts +0 -185
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/reducer.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/request.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/index.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/model.d.ts +0 -76
- package/dist/internal-plugins/activity-history/activity-history-item/filter/reset/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/reset/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/reset/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/reset/reducer.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/filter/reset/request.d.ts +0 -2
- package/dist/internal-plugins/activity-history/activity-history-item/filter/selectors.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/filter/slice.d.ts +0 -32
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/reducer.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/reducer.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/request.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/handle-add-up-options-from-item.d.ts +0 -13
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/handle-add-up-options-from-item.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/selectors.d.ts +0 -185
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/reducer.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/request.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/filter/utils.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/index.d.ts +0 -5
- package/dist/internal-plugins/activity-history/activity-history-item/list/UI/main-view/activity-history-main.d.ts +0 -27
- package/dist/internal-plugins/activity-history/activity-history-item/list/UI/main-view/template.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/list/UI/timeline/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/list/bootstrapper.d.ts +0 -2
- package/dist/internal-plugins/activity-history/activity-history-item/list/group-history-items/group-history-items.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/list/group-history-items/group-history-items.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/list/merge-history-items-and-subgroups/merge-history-items-and-subgroups.d.ts +0 -12
- package/dist/internal-plugins/activity-history/activity-history-item/list/merge-history-items-and-subgroups/merge-history-items-and-subgroups.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/list/sort-history-items-by-date/sort-history-items-by-date.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/list/sort-history-items-by-date/sort-history-items-by-date.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/remove/reducer.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/search/actions.d.ts +0 -1
- package/dist/internal-plugins/activity-history/activity-history-item/search/activity-history-search-bar/activity-history-search-bar.d.ts +0 -8
- package/dist/internal-plugins/activity-history/activity-history-item/search/activity-history-search-bar/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/search/activity-history-search-results/activity-history-search-results.d.ts +0 -7
- package/dist/internal-plugins/activity-history/activity-history-item/search/activity-history-search-results/template.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/search/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/search/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/search/reducer.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/search/request.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/search/selectors.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/selectors.d.ts +0 -413
- package/dist/internal-plugins/activity-history/activity-history-item/slice.d.ts +0 -26
- package/dist/internal-plugins/activity-history/activity-history-item/update/action.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/update/bootstrapper.d.ts +0 -4
- package/dist/internal-plugins/activity-history/activity-history-item/update/handler.d.ts +0 -6
- package/dist/internal-plugins/activity-history/activity-history-item/update/reducer.d.ts +0 -7
- package/dist/internal-plugins/activity-history/activity-history-item/update/request.d.ts +0 -7
- package/dist/internal-plugins/activity-history/activity-history-item/update/update-item-in-collection.d.ts +0 -3
- package/dist/internal-plugins/activity-history/activity-history-item/update/update-item-in-collection.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/constants.d.ts +0 -4
- package/dist/internal-plugins/activity-history/handle-views.d.ts +0 -4
- package/dist/internal-plugins/activity-history/index.d.ts +0 -2
- package/dist/internal-plugins/activity-history/infrastructure/base-handlers.d.ts +0 -16
- package/dist/internal-plugins/activity-history/infrastructure/ioc/container.d.ts +0 -8
- package/dist/internal-plugins/activity-history/infrastructure/ioc/types.d.ts +0 -4
- package/dist/internal-plugins/activity-history/infrastructure/state/connected-property.d.ts +0 -1
- package/dist/internal-plugins/activity-history/infrastructure/state/store.d.ts +0 -47
- package/dist/internal-plugins/activity-history/localization.d.ts +0 -93
- package/dist/internal-plugins/activity-history/main.d.ts +0 -4
- package/dist/internal-plugins/activity-history/utils/get-unique-values-by-prop-path.d.ts +0 -4
- package/dist/internal-plugins/activity-history/utils/get-unique-values-by-prop-path.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/utils/normalize-string.d.ts +0 -1
- package/dist/internal-plugins/activity-history/utils/normalize-string.test.d.ts +0 -1
- package/dist/internal-plugins/activity-history/utils/prop-contains-string.d.ts +0 -1
- package/dist/internal-plugins/activity-history/utils/prop-contains-string.test.d.ts +0 -1
- package/dist/internal-plugins/index.d.ts +0 -1
- package/src/UI/images/feedback-error.svg +0 -9
- package/src/UI/images/not-found.svg +0 -9
- package/src/features/clinical-monitoring/bootstrapper.ts +0 -39
- package/src/features/clinical-monitoring/component/clinical-monitoring.ts +0 -57
- package/src/features/clinical-monitoring/component/styles.css +0 -63
- package/src/features/clinical-monitoring/component/template.ts +0 -12
- package/src/features/clinical-monitoring/constants.ts +0 -1
- package/src/features/clinical-monitoring/handle-views.ts +0 -6
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/handler.ts +0 -31
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/request.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/validate-add-async-items-command.ts +0 -15
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-item/action.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-item/add-item-to-collection.ts +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-item/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-item/handler.ts +0 -24
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-item/reducer.ts +0 -15
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-item/request.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/action.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/add-items-to-collection.test.ts +0 -70
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/add-items-to-collection.ts +0 -25
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/handler.ts +0 -26
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/reducer.ts +0 -25
- package/src/internal-plugins/activity-history/activity-history-item/add/add-history-items/request.ts +0 -10
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/actions.ts +0 -4
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/bootstrapper.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/busy-component/component.ts +0 -28
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/busy-component/styles.css +0 -12
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/busy-component/template.ts +0 -10
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/is-grouping-busy/component.ts +0 -15
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/is-grouping-busy/styles.css +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/is-grouping-busy/template.ts +0 -10
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/reducers.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-busy/selectors.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/actions.ts +0 -4
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/handle-history-items-add-error/bootstrapper.ts +0 -18
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/handle-history-items-add-error/handler.ts +0 -26
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/handle-history-items-add-error/request.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/history-full-data-error/component.ts +0 -32
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/history-full-data-error/styles.css +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/history-full-data-error/template.ts +0 -23
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/history-partial-data-error/component.ts +0 -42
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/history-partial-data-error/styles.css +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/history-partial-data-error/template.ts +0 -19
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/reducers.ts +0 -12
- package/src/internal-plugins/activity-history/activity-history-item/add/handle-error/selectors.ts +0 -17
- package/src/internal-plugins/activity-history/activity-history-item/bootstrapper.ts +0 -49
- package/src/internal-plugins/activity-history/activity-history-item/domain/business-rules.ts +0 -24
- package/src/internal-plugins/activity-history/activity-history-item/domain/model.ts +0 -58
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/common-filter-spec.ts +0 -18
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/custom-filter-spec.ts +0 -59
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/diagnostics-filter-spec.test.ts +0 -59
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/diagnostics-filter-spec.ts +0 -18
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/false-spec.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/own-spec.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/prop-path-spec.ts +0 -19
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/relevant-spec.ts +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/relevant.spec.ts +0 -59
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/search-string-spec.test.ts +0 -120
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/search-string-spec.ts +0 -50
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/spec.ts +0 -54
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/true-spec.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/type-spec.ts +0 -26
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/up-filter-spec.test.ts +0 -38
- package/src/internal-plugins/activity-history/activity-history-item/domain/specs/up-filter-spec.ts +0 -18
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/are-same-diagnostics.test.ts +0 -48
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/are-same-diagnostics.ts +0 -15
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/has-valid-diagnostics.test.ts +0 -79
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/diagnostics/has-valid-diagnostics.ts +0 -20
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-basic-history-item.test.ts +0 -63
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-basic-history-item.ts +0 -33
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-full-history-item.test.ts +0 -192
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-full-history-item.ts +0 -48
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/is-valid-professional.ts +0 -16
- package/src/internal-plugins/activity-history/activity-history-item/domain/validation/utils.ts +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/export-to-pdf/bootstrapper.ts +0 -15
- package/src/internal-plugins/activity-history/activity-history-item/export-to-pdf/export-pdf-modal/export-pdf-modal.css +0 -50
- package/src/internal-plugins/activity-history/activity-history-item/export-to-pdf/export-pdf-modal/export-pdf-modal.ts +0 -46
- package/src/internal-plugins/activity-history/activity-history-item/export-to-pdf/export-pdf-modal/template.ts +0 -50
- package/src/internal-plugins/activity-history/activity-history-item/export-to-pdf/handler.ts +0 -23
- package/src/internal-plugins/activity-history/activity-history-item/export-to-pdf/request.ts +0 -1
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/active-filters-badges.ts +0 -82
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/styles.css +0 -45
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/template.ts +0 -214
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/active-filters-header.ts +0 -37
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/styles.css +0 -12
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/template.ts +0 -17
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/activity-history-filters/activity-history-filters.ts +0 -112
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/activity-history-filters/styles.css +0 -57
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/activity-history-filters/template.ts +0 -149
- package/src/internal-plugins/activity-history/activity-history-item/filter/bootstrapper.ts +0 -44
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/common-filters.ts +0 -31
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/selectors.ts +0 -24
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/handler.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/reducer.ts +0 -18
- package/src/internal-plugins/activity-history/activity-history-item/filter/common-filters/set-common-filter/request.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/handler.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/reducer.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/add-custom-filters/request.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/selectors.ts +0 -45
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/handler.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/reducer.ts +0 -21
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-all-values/request.ts +0 -9
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/handler.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/reducer.ts +0 -17
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-group/request.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/handler.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/reducer.ts +0 -53
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/set-custom-filter-value/request.ts +0 -10
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/handler.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/reducer.test.ts +0 -93
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/reducer.ts +0 -25
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/add/request.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/handle-add-diagnostics-options-from-item.test.ts +0 -80
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/handle-add-diagnostics-options-from-item.ts +0 -31
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/selectors.ts +0 -22
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/handler.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/reducer.ts +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/filter/diagnostic-filters/set/request.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/index.ts +0 -1
- package/src/internal-plugins/activity-history/activity-history-item/filter/model.ts +0 -82
- package/src/internal-plugins/activity-history/activity-history-item/filter/reset/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/reset/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/reset/handler.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/reset/reducer.ts +0 -28
- package/src/internal-plugins/activity-history/activity-history-item/filter/reset/request.ts +0 -1
- package/src/internal-plugins/activity-history/activity-history-item/filter/selectors.ts +0 -4
- package/src/internal-plugins/activity-history/activity-history-item/filter/slice.ts +0 -35
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/handler.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/reducer.test.ts +0 -93
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/reducer.ts +0 -22
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/add/request.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/handle-add-up-options-from-item.test.ts +0 -237
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/handle-add-up-options-from-item.ts +0 -29
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/selectors.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/handler.ts +0 -13
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/reducer.ts +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/filter/up-filters/set/request.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/filter/utils.ts +0 -15
- package/src/internal-plugins/activity-history/activity-history-item/index.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/activity-history-main.ts +0 -106
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/styles.css +0 -139
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/template.ts +0 -66
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/activity-history-timeline.ts +0 -134
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/styles.css +0 -106
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/template.ts +0 -160
- package/src/internal-plugins/activity-history/activity-history-item/list/bootstrapper.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/list/group-history-items/group-history-items.test.ts +0 -100
- package/src/internal-plugins/activity-history/activity-history-item/list/group-history-items/group-history-items.ts +0 -133
- package/src/internal-plugins/activity-history/activity-history-item/list/merge-history-items-and-subgroups/merge-history-items-and-subgroups.test.ts +0 -93
- package/src/internal-plugins/activity-history/activity-history-item/list/merge-history-items-and-subgroups/merge-history-items-and-subgroups.ts +0 -34
- package/src/internal-plugins/activity-history/activity-history-item/list/sort-history-items-by-date/sort-history-items-by-date.test.ts +0 -165
- package/src/internal-plugins/activity-history/activity-history-item/list/sort-history-items-by-date/sort-history-items-by-date.ts +0 -52
- package/src/internal-plugins/activity-history/activity-history-item/remove/reducer.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/search/actions.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-bar/activity-history-search-bar.ts +0 -26
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-bar/styles.css +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-bar/template.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-results/activity-history-search-results.ts +0 -19
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-results/styles.css +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-results/template.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/search/bootstrapper.ts +0 -17
- package/src/internal-plugins/activity-history/activity-history-item/search/handler.ts +0 -19
- package/src/internal-plugins/activity-history/activity-history-item/search/reducer.ts +0 -5
- package/src/internal-plugins/activity-history/activity-history-item/search/request.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/search/selectors.ts +0 -4
- package/src/internal-plugins/activity-history/activity-history-item/selectors.ts +0 -100
- package/src/internal-plugins/activity-history/activity-history-item/slice.ts +0 -31
- package/src/internal-plugins/activity-history/activity-history-item/update/action.ts +0 -3
- package/src/internal-plugins/activity-history/activity-history-item/update/bootstrapper.ts +0 -14
- package/src/internal-plugins/activity-history/activity-history-item/update/handler.ts +0 -20
- package/src/internal-plugins/activity-history/activity-history-item/update/reducer.ts +0 -11
- package/src/internal-plugins/activity-history/activity-history-item/update/request.ts +0 -8
- package/src/internal-plugins/activity-history/activity-history-item/update/update-item-in-collection.test.ts +0 -65
- package/src/internal-plugins/activity-history/activity-history-item/update/update-item-in-collection.ts +0 -18
- package/src/internal-plugins/activity-history/constants.ts +0 -4
- package/src/internal-plugins/activity-history/handle-views.ts +0 -17
- package/src/internal-plugins/activity-history/index.ts +0 -2
- package/src/internal-plugins/activity-history/infrastructure/base-handlers.ts +0 -22
- package/src/internal-plugins/activity-history/infrastructure/ioc/container.ts +0 -19
- package/src/internal-plugins/activity-history/infrastructure/ioc/types.ts +0 -4
- package/src/internal-plugins/activity-history/infrastructure/state/connected-property.ts +0 -6
- package/src/internal-plugins/activity-history/infrastructure/state/store.ts +0 -23
- package/src/internal-plugins/activity-history/localization.ts +0 -110
- package/src/internal-plugins/activity-history/main.ts +0 -31
- package/src/internal-plugins/activity-history/utils/get-unique-values-by-prop-path.test.ts +0 -86
- package/src/internal-plugins/activity-history/utils/get-unique-values-by-prop-path.ts +0 -38
- package/src/internal-plugins/activity-history/utils/normalize-string.test.ts +0 -29
- package/src/internal-plugins/activity-history/utils/normalize-string.ts +0 -6
- package/src/internal-plugins/activity-history/utils/prop-contains-string.test.ts +0 -47
- package/src/internal-plugins/activity-history/utils/prop-contains-string.ts +0 -10
- package/src/internal-plugins/index.ts +0 -1
- /package/dist/{UI → primary/shell/src/UI}/bootstrapper.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/bootstrapper.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/communication-action-menu/communication-action-menu.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/communication-action-menu/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/error-view/component.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/error-view/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/poc-events-ecap/poc-events-ecap.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/primaria-accordion/primaria-accordion.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/constants.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/shell-header/header-divider/header-divider.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/shell-header/header-divider/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/shell-header/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/primaria-shell/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/quick-actions-menu/quick-actions-menu.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/components/quick-actions-menu/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/index.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/internal-views/handle-views.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/internal-views/lower-nav-menu-views.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/internal-views/upper-nav-views.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/bootstrapper.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/index.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-character-limit-badge/primaria-character-limit-badge.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-content-switcher/primaria-content-switcher.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-nav-item/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-nav-tree-menu/primaria-nav-tree-menu.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-nav-tree-menu/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-text-editor/primaria-rich-text-editor.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-text-editor/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/primaria-text-editor/utils.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/quick-action-item/quick-action-item.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/quick-action-item/template.d.ts +0 -0
- /package/dist/{UI → primary/shell/src/UI}/shared-components/typings.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/api.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/broker/factory.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/broker/factory.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/broker/primaria-broker.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/ecap-event-manager/ecap-event-manager.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/ecap-event-manager/ecap-event-manager.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/ecap-event-manager/typings.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/global-state/global-state.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/global-state/global-state.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/http-client/http-client.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/http-client/http-client.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/interaction-service/confirmation-message.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/interaction-service/index.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/interaction-service/interaction-service-impl.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/interaction-service/interaction-service.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/localization/localization.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/notification-service/notification-service-impl.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/notification-service/notification-service.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/notification-service/notification.service-impl.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/constants.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/events.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/handle-views.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/pdf-viewer-manager.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/pdf-viewer-manager.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/pdf-visor/pdf-selector/pdf-selector.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/pdf-visor/pdf-selector/template.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/pdf-visor/pdf-visor.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/pdf-viewer-manager/pdf-visor/utils.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/plugin-busy-manager/plugin-busy-list/component.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/plugin-busy-manager/plugin-busy-list/template.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/plugin-busy-manager/plugin-busy-manager.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/plugin-busy-manager/plugin-busy-manager.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/region-manager/region-manager.test.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/region-manager/regions.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/token-manager/token-manager.d.ts +0 -0
- /package/dist/{api → primary/shell/src/api}/token-manager/token-manager.test.d.ts +0 -0
- /package/dist/{bootstrapper.d.ts → primary/shell/src/bootstrapper.d.ts} +0 -0
- /package/dist/{constants.d.ts → primary/shell/src/constants.d.ts} +0 -0
- /package/dist/{disposer.d.ts → primary/shell/src/disposer.d.ts} +0 -0
- /package/dist/{features → primary/shell/src/features}/bootstrapper.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/exit/bootstrapper.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/exit/handler.test.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/get-user-info/backend-adapter.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/get-user-info/bootstrapper.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/get-user-info/handler.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/get-user-info/handler.test.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/get-user-info/model.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/navigate-to-ecap/navigate-without-closing-and-with-cip.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/utils.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/finalize-visit/bootstrapper.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/finalize-visit/component/finalize-visit-button.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/finalize-visit/component/template.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/finalize-visit/handler.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/finalize-visit/request.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/get-visit-id/bootstrapper.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/get-visit-id/handler.d.ts +0 -0
- /package/dist/{features → primary/shell/src/features}/visit/get-visit-id/request.d.ts +0 -0
- /package/dist/{infrastructure → primary/shell/src/infrastructure}/ioc/container.d.ts +0 -0
- /package/dist/{infrastructure → primary/shell/src/infrastructure}/ioc/types.d.ts +0 -0
- /package/dist/{locales.d.ts → primary/shell/src/locales.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const clinicalMonitoringId = "clinical-monitoring";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const activateClinicalMonitoringView: () => void;
|
package/dist/flow-D-0MTYCm.js
DELETED
|
@@ -1,511 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/
|
|
6
|
-
class g {
|
|
7
|
-
constructor(i) {
|
|
8
|
-
this._map = /* @__PURE__ */ new Map(), this._roundAverageSize = !1, this.totalSize = 0, (i == null ? void 0 : i.roundAverageSize) === !0 && (this._roundAverageSize = !0);
|
|
9
|
-
}
|
|
10
|
-
set(i, t) {
|
|
11
|
-
const s = this._map.get(i) || 0;
|
|
12
|
-
this._map.set(i, t), this.totalSize += t - s;
|
|
13
|
-
}
|
|
14
|
-
get averageSize() {
|
|
15
|
-
if (this._map.size > 0) {
|
|
16
|
-
const i = this.totalSize / this._map.size;
|
|
17
|
-
return this._roundAverageSize ? Math.round(i) : i;
|
|
18
|
-
}
|
|
19
|
-
return 0;
|
|
20
|
-
}
|
|
21
|
-
getSize(i) {
|
|
22
|
-
return this._map.get(i);
|
|
23
|
-
}
|
|
24
|
-
clear() {
|
|
25
|
-
this._map.clear(), this.totalSize = 0;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @license
|
|
30
|
-
* Copyright 2021 Google LLC
|
|
31
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/
|
|
33
|
-
function f(o) {
|
|
34
|
-
return o === "horizontal" ? "width" : "height";
|
|
35
|
-
}
|
|
36
|
-
class d {
|
|
37
|
-
_getDefaultConfig() {
|
|
38
|
-
return {
|
|
39
|
-
direction: "vertical"
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
constructor(i, t) {
|
|
43
|
-
this._latestCoords = { left: 0, top: 0 }, this._direction = null, this._viewportSize = { width: 0, height: 0 }, this.totalScrollSize = { width: 0, height: 0 }, this.offsetWithinScroller = { left: 0, top: 0 }, this._pendingReflow = !1, this._pendingLayoutUpdate = !1, this._pin = null, this._firstVisible = 0, this._lastVisible = 0, this._physicalMin = 0, this._physicalMax = 0, this._first = -1, this._last = -1, this._sizeDim = "height", this._secondarySizeDim = "width", this._positionDim = "top", this._secondaryPositionDim = "left", this._scrollPosition = 0, this._scrollError = 0, this._items = [], this._scrollSize = 1, this._overhang = 1e3, this._hostSink = i, Promise.resolve().then(() => this.config = t || this._getDefaultConfig());
|
|
44
|
-
}
|
|
45
|
-
set config(i) {
|
|
46
|
-
Object.assign(this, Object.assign({}, this._getDefaultConfig(), i));
|
|
47
|
-
}
|
|
48
|
-
get config() {
|
|
49
|
-
return {
|
|
50
|
-
direction: this.direction
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Maximum index of children + 1, to help estimate total height of the scroll
|
|
55
|
-
* space.
|
|
56
|
-
*/
|
|
57
|
-
get items() {
|
|
58
|
-
return this._items;
|
|
59
|
-
}
|
|
60
|
-
set items(i) {
|
|
61
|
-
this._setItems(i);
|
|
62
|
-
}
|
|
63
|
-
_setItems(i) {
|
|
64
|
-
i !== this._items && (this._items = i, this._scheduleReflow());
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Primary scrolling direction.
|
|
68
|
-
*/
|
|
69
|
-
get direction() {
|
|
70
|
-
return this._direction;
|
|
71
|
-
}
|
|
72
|
-
set direction(i) {
|
|
73
|
-
i = i === "horizontal" ? i : "vertical", i !== this._direction && (this._direction = i, this._sizeDim = i === "horizontal" ? "width" : "height", this._secondarySizeDim = i === "horizontal" ? "height" : "width", this._positionDim = i === "horizontal" ? "left" : "top", this._secondaryPositionDim = i === "horizontal" ? "top" : "left", this._triggerReflow());
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Height and width of the viewport.
|
|
77
|
-
*/
|
|
78
|
-
get viewportSize() {
|
|
79
|
-
return this._viewportSize;
|
|
80
|
-
}
|
|
81
|
-
set viewportSize(i) {
|
|
82
|
-
const { _viewDim1: t, _viewDim2: s } = this;
|
|
83
|
-
Object.assign(this._viewportSize, i), s !== this._viewDim2 ? this._scheduleLayoutUpdate() : t !== this._viewDim1 && this._checkThresholds();
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Scroll offset of the viewport.
|
|
87
|
-
*/
|
|
88
|
-
get viewportScroll() {
|
|
89
|
-
return this._latestCoords;
|
|
90
|
-
}
|
|
91
|
-
set viewportScroll(i) {
|
|
92
|
-
Object.assign(this._latestCoords, i);
|
|
93
|
-
const t = this._scrollPosition;
|
|
94
|
-
this._scrollPosition = this._latestCoords[this._positionDim], Math.abs(t - this._scrollPosition) >= 1 && this._checkThresholds();
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Perform a reflow if one has been scheduled.
|
|
98
|
-
*/
|
|
99
|
-
reflowIfNeeded(i = !1) {
|
|
100
|
-
(i || this._pendingReflow) && (this._pendingReflow = !1, this._reflow());
|
|
101
|
-
}
|
|
102
|
-
set pin(i) {
|
|
103
|
-
this._pin = i, this._triggerReflow();
|
|
104
|
-
}
|
|
105
|
-
get pin() {
|
|
106
|
-
if (this._pin !== null) {
|
|
107
|
-
const { index: i, block: t } = this._pin;
|
|
108
|
-
return {
|
|
109
|
-
index: Math.max(0, Math.min(i, this.items.length - 1)),
|
|
110
|
-
block: t
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
return null;
|
|
114
|
-
}
|
|
115
|
-
_clampScrollPosition(i) {
|
|
116
|
-
return Math.max(-this.offsetWithinScroller[this._positionDim], Math.min(i, this.totalScrollSize[f(this.direction)] - this._viewDim1));
|
|
117
|
-
}
|
|
118
|
-
unpin() {
|
|
119
|
-
this._pin !== null && (this._sendUnpinnedMessage(), this._pin = null);
|
|
120
|
-
}
|
|
121
|
-
_updateLayout() {
|
|
122
|
-
}
|
|
123
|
-
// protected _viewDim2Changed(): void {
|
|
124
|
-
// this._scheduleLayoutUpdate();
|
|
125
|
-
// }
|
|
126
|
-
/**
|
|
127
|
-
* The height or width of the viewport, whichever corresponds to the scrolling direction.
|
|
128
|
-
*/
|
|
129
|
-
get _viewDim1() {
|
|
130
|
-
return this._viewportSize[this._sizeDim];
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* The height or width of the viewport, whichever does NOT correspond to the scrolling direction.
|
|
134
|
-
*/
|
|
135
|
-
get _viewDim2() {
|
|
136
|
-
return this._viewportSize[this._secondarySizeDim];
|
|
137
|
-
}
|
|
138
|
-
_scheduleReflow() {
|
|
139
|
-
this._pendingReflow = !0;
|
|
140
|
-
}
|
|
141
|
-
_scheduleLayoutUpdate() {
|
|
142
|
-
this._pendingLayoutUpdate = !0, this._scheduleReflow();
|
|
143
|
-
}
|
|
144
|
-
// For triggering a reflow based on incoming changes to
|
|
145
|
-
// the layout config.
|
|
146
|
-
_triggerReflow() {
|
|
147
|
-
this._scheduleLayoutUpdate(), Promise.resolve().then(() => this.reflowIfNeeded());
|
|
148
|
-
}
|
|
149
|
-
_reflow() {
|
|
150
|
-
this._pendingLayoutUpdate && (this._updateLayout(), this._pendingLayoutUpdate = !1), this._updateScrollSize(), this._setPositionFromPin(), this._getActiveItems(), this._updateVisibleIndices(), this._sendStateChangedMessage();
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* If we are supposed to be pinned to a particular
|
|
154
|
-
* item or set of coordinates, we set `_scrollPosition`
|
|
155
|
-
* accordingly and adjust `_scrollError` as needed
|
|
156
|
-
* so that the virtualizer can keep the scroll
|
|
157
|
-
* position in the DOM in sync
|
|
158
|
-
*/
|
|
159
|
-
_setPositionFromPin() {
|
|
160
|
-
if (this.pin !== null) {
|
|
161
|
-
const i = this._scrollPosition, { index: t, block: s } = this.pin;
|
|
162
|
-
this._scrollPosition = this._calculateScrollIntoViewPosition({
|
|
163
|
-
index: t,
|
|
164
|
-
block: s || "start"
|
|
165
|
-
}) - this.offsetWithinScroller[this._positionDim], this._scrollError = i - this._scrollPosition;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Calculate the coordinates to scroll to, given
|
|
170
|
-
* a request to scroll to the element at a specific
|
|
171
|
-
* index.
|
|
172
|
-
*
|
|
173
|
-
* Supports the same positioning options (`start`,
|
|
174
|
-
* `center`, `end`, `nearest`) as the standard
|
|
175
|
-
* `Element.scrollIntoView()` method, but currently
|
|
176
|
-
* only considers the provided value in the `block`
|
|
177
|
-
* dimension, since we don't yet have any layouts
|
|
178
|
-
* that support virtualization in two dimensions.
|
|
179
|
-
*/
|
|
180
|
-
_calculateScrollIntoViewPosition(i) {
|
|
181
|
-
const { block: t } = i, s = Math.min(this.items.length, Math.max(0, i.index)), h = this._getItemPosition(s)[this._positionDim];
|
|
182
|
-
let n = h;
|
|
183
|
-
if (t !== "start") {
|
|
184
|
-
const l = this._getItemSize(s)[this._sizeDim];
|
|
185
|
-
if (t === "center")
|
|
186
|
-
n = h - 0.5 * this._viewDim1 + 0.5 * l;
|
|
187
|
-
else {
|
|
188
|
-
const e = h - this._viewDim1 + l;
|
|
189
|
-
if (t === "end")
|
|
190
|
-
n = e;
|
|
191
|
-
else {
|
|
192
|
-
const r = this._scrollPosition;
|
|
193
|
-
n = Math.abs(r - h) < Math.abs(r - e) ? h : e;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
return n += this.offsetWithinScroller[this._positionDim], this._clampScrollPosition(n);
|
|
198
|
-
}
|
|
199
|
-
getScrollIntoViewCoordinates(i) {
|
|
200
|
-
return {
|
|
201
|
-
[this._positionDim]: this._calculateScrollIntoViewPosition(i)
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
_sendUnpinnedMessage() {
|
|
205
|
-
this._hostSink({
|
|
206
|
-
type: "unpinned"
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
_sendVisibilityChangedMessage() {
|
|
210
|
-
this._hostSink({
|
|
211
|
-
type: "visibilityChanged",
|
|
212
|
-
firstVisible: this._firstVisible,
|
|
213
|
-
lastVisible: this._lastVisible
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
_sendStateChangedMessage() {
|
|
217
|
-
const i = /* @__PURE__ */ new Map();
|
|
218
|
-
if (this._first !== -1 && this._last !== -1)
|
|
219
|
-
for (let s = this._first; s <= this._last; s++)
|
|
220
|
-
i.set(s, this._getItemPosition(s));
|
|
221
|
-
const t = {
|
|
222
|
-
type: "stateChanged",
|
|
223
|
-
scrollSize: {
|
|
224
|
-
[this._sizeDim]: this._scrollSize,
|
|
225
|
-
[this._secondarySizeDim]: null
|
|
226
|
-
},
|
|
227
|
-
range: {
|
|
228
|
-
first: this._first,
|
|
229
|
-
last: this._last,
|
|
230
|
-
firstVisible: this._firstVisible,
|
|
231
|
-
lastVisible: this._lastVisible
|
|
232
|
-
},
|
|
233
|
-
childPositions: i
|
|
234
|
-
};
|
|
235
|
-
this._scrollError && (t.scrollError = {
|
|
236
|
-
[this._positionDim]: this._scrollError,
|
|
237
|
-
[this._secondaryPositionDim]: 0
|
|
238
|
-
}, this._scrollError = 0), this._hostSink(t);
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* Number of items to display.
|
|
242
|
-
*/
|
|
243
|
-
get _num() {
|
|
244
|
-
return this._first === -1 || this._last === -1 ? 0 : this._last - this._first + 1;
|
|
245
|
-
}
|
|
246
|
-
_checkThresholds() {
|
|
247
|
-
if (this._viewDim1 === 0 && this._num > 0 || this._pin !== null)
|
|
248
|
-
this._scheduleReflow();
|
|
249
|
-
else {
|
|
250
|
-
const i = Math.max(0, this._scrollPosition - this._overhang), t = Math.min(this._scrollSize, this._scrollPosition + this._viewDim1 + this._overhang);
|
|
251
|
-
this._physicalMin > i || this._physicalMax < t ? this._scheduleReflow() : this._updateVisibleIndices({ emit: !0 });
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* Find the indices of the first and last items to intersect the viewport.
|
|
256
|
-
* Emit a visibleindiceschange event when either index changes.
|
|
257
|
-
*/
|
|
258
|
-
_updateVisibleIndices(i) {
|
|
259
|
-
if (this._first === -1 || this._last === -1)
|
|
260
|
-
return;
|
|
261
|
-
let t = this._first;
|
|
262
|
-
for (; t < this._last && Math.round(this._getItemPosition(t)[this._positionDim] + this._getItemSize(t)[this._sizeDim]) <= Math.round(this._scrollPosition); )
|
|
263
|
-
t++;
|
|
264
|
-
let s = this._last;
|
|
265
|
-
for (; s > this._first && Math.round(this._getItemPosition(s)[this._positionDim]) >= Math.round(this._scrollPosition + this._viewDim1); )
|
|
266
|
-
s--;
|
|
267
|
-
(t !== this._firstVisible || s !== this._lastVisible) && (this._firstVisible = t, this._lastVisible = s, i && i.emit && this._sendVisibilityChangedMessage());
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* @license
|
|
272
|
-
* Copyright 2021 Google LLC
|
|
273
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
274
|
-
*/
|
|
275
|
-
function m(o) {
|
|
276
|
-
return o === "horizontal" ? "marginLeft" : "marginTop";
|
|
277
|
-
}
|
|
278
|
-
function u(o) {
|
|
279
|
-
return o === "horizontal" ? "marginRight" : "marginBottom";
|
|
280
|
-
}
|
|
281
|
-
function S(o) {
|
|
282
|
-
return o === "horizontal" ? "xOffset" : "yOffset";
|
|
283
|
-
}
|
|
284
|
-
function z(o, i) {
|
|
285
|
-
const t = [o, i].sort();
|
|
286
|
-
return t[1] <= 0 ? Math.min(...t) : t[0] >= 0 ? Math.max(...t) : t[0] + t[1];
|
|
287
|
-
}
|
|
288
|
-
class p {
|
|
289
|
-
constructor() {
|
|
290
|
-
this._childSizeCache = new g(), this._marginSizeCache = new g(), this._metricsCache = /* @__PURE__ */ new Map();
|
|
291
|
-
}
|
|
292
|
-
update(i, t) {
|
|
293
|
-
var h, n;
|
|
294
|
-
const s = /* @__PURE__ */ new Set();
|
|
295
|
-
Object.keys(i).forEach((l) => {
|
|
296
|
-
const e = Number(l);
|
|
297
|
-
this._metricsCache.set(e, i[e]), this._childSizeCache.set(e, i[e][f(t)]), s.add(e), s.add(e + 1);
|
|
298
|
-
});
|
|
299
|
-
for (const l of s) {
|
|
300
|
-
const e = ((h = this._metricsCache.get(l)) == null ? void 0 : h[m(t)]) || 0, r = ((n = this._metricsCache.get(l - 1)) == null ? void 0 : n[u(t)]) || 0;
|
|
301
|
-
this._marginSizeCache.set(l, z(e, r));
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
get averageChildSize() {
|
|
305
|
-
return this._childSizeCache.averageSize;
|
|
306
|
-
}
|
|
307
|
-
get totalChildSize() {
|
|
308
|
-
return this._childSizeCache.totalSize;
|
|
309
|
-
}
|
|
310
|
-
get averageMarginSize() {
|
|
311
|
-
return this._marginSizeCache.averageSize;
|
|
312
|
-
}
|
|
313
|
-
get totalMarginSize() {
|
|
314
|
-
return this._marginSizeCache.totalSize;
|
|
315
|
-
}
|
|
316
|
-
getLeadingMarginValue(i, t) {
|
|
317
|
-
var s;
|
|
318
|
-
return ((s = this._metricsCache.get(i)) == null ? void 0 : s[m(t)]) || 0;
|
|
319
|
-
}
|
|
320
|
-
getChildSize(i) {
|
|
321
|
-
return this._childSizeCache.getSize(i);
|
|
322
|
-
}
|
|
323
|
-
getMarginSize(i) {
|
|
324
|
-
return this._marginSizeCache.getSize(i);
|
|
325
|
-
}
|
|
326
|
-
clear() {
|
|
327
|
-
this._childSizeCache.clear(), this._marginSizeCache.clear(), this._metricsCache.clear();
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
class M extends d {
|
|
331
|
-
constructor() {
|
|
332
|
-
super(...arguments), this._itemSize = { width: 100, height: 100 }, this._physicalItems = /* @__PURE__ */ new Map(), this._newPhysicalItems = /* @__PURE__ */ new Map(), this._metricsCache = new p(), this._anchorIdx = null, this._anchorPos = null, this._stable = !0, this._measureChildren = !0, this._estimate = !0;
|
|
333
|
-
}
|
|
334
|
-
// protected _defaultConfig: BaseLayoutConfig = Object.assign({}, super._defaultConfig, {
|
|
335
|
-
// })
|
|
336
|
-
// constructor(config: Layout1dConfig) {
|
|
337
|
-
// super(config);
|
|
338
|
-
// }
|
|
339
|
-
get measureChildren() {
|
|
340
|
-
return this._measureChildren;
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Determine the average size of all children represented in the sizes
|
|
344
|
-
* argument.
|
|
345
|
-
*/
|
|
346
|
-
updateItemSizes(i) {
|
|
347
|
-
this._metricsCache.update(i, this.direction), this._scheduleReflow();
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* Set the average item size based on the total length and number of children
|
|
351
|
-
* in range.
|
|
352
|
-
*/
|
|
353
|
-
// _updateItemSize() {
|
|
354
|
-
// // Keep integer values.
|
|
355
|
-
// this._itemSize[this._sizeDim] = this._metricsCache.averageChildSize;
|
|
356
|
-
// }
|
|
357
|
-
_getPhysicalItem(i) {
|
|
358
|
-
return this._newPhysicalItems.get(i) ?? this._physicalItems.get(i);
|
|
359
|
-
}
|
|
360
|
-
_getSize(i) {
|
|
361
|
-
return this._getPhysicalItem(i) && this._metricsCache.getChildSize(i);
|
|
362
|
-
}
|
|
363
|
-
_getAverageSize() {
|
|
364
|
-
return this._metricsCache.averageChildSize || this._itemSize[this._sizeDim];
|
|
365
|
-
}
|
|
366
|
-
_estimatePosition(i) {
|
|
367
|
-
const t = this._metricsCache;
|
|
368
|
-
if (this._first === -1 || this._last === -1)
|
|
369
|
-
return t.averageMarginSize + i * (t.averageMarginSize + this._getAverageSize());
|
|
370
|
-
if (i < this._first) {
|
|
371
|
-
const s = this._first - i;
|
|
372
|
-
return this._getPhysicalItem(this._first).pos - (t.getMarginSize(this._first - 1) || t.averageMarginSize) - (s * t.averageChildSize + (s - 1) * t.averageMarginSize);
|
|
373
|
-
} else {
|
|
374
|
-
const s = i - this._last;
|
|
375
|
-
return this._getPhysicalItem(this._last).pos + (t.getChildSize(this._last) || t.averageChildSize) + (t.getMarginSize(this._last) || t.averageMarginSize) + s * (t.averageChildSize + t.averageMarginSize);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* Returns the position in the scrolling direction of the item at idx.
|
|
380
|
-
* Estimates it if the item at idx is not in the DOM.
|
|
381
|
-
*/
|
|
382
|
-
_getPosition(i) {
|
|
383
|
-
const t = this._getPhysicalItem(i), { averageMarginSize: s } = this._metricsCache;
|
|
384
|
-
return i === 0 ? this._metricsCache.getMarginSize(0) ?? s : t ? t.pos : this._estimatePosition(i);
|
|
385
|
-
}
|
|
386
|
-
_calculateAnchor(i, t) {
|
|
387
|
-
return i <= 0 ? 0 : t > this._scrollSize - this._viewDim1 ? this.items.length - 1 : Math.max(0, Math.min(this.items.length - 1, Math.floor((i + t) / 2 / this._delta)));
|
|
388
|
-
}
|
|
389
|
-
_getAnchor(i, t) {
|
|
390
|
-
if (this._physicalItems.size === 0)
|
|
391
|
-
return this._calculateAnchor(i, t);
|
|
392
|
-
if (this._first < 0)
|
|
393
|
-
return this._calculateAnchor(i, t);
|
|
394
|
-
if (this._last < 0)
|
|
395
|
-
return this._calculateAnchor(i, t);
|
|
396
|
-
const s = this._getPhysicalItem(this._first), h = this._getPhysicalItem(this._last), n = s.pos;
|
|
397
|
-
if (h.pos + this._metricsCache.getChildSize(this._last) < i)
|
|
398
|
-
return this._calculateAnchor(i, t);
|
|
399
|
-
if (n > t)
|
|
400
|
-
return this._calculateAnchor(i, t);
|
|
401
|
-
let r = this._firstVisible - 1, a = -1 / 0;
|
|
402
|
-
for (; a < i; )
|
|
403
|
-
a = this._getPhysicalItem(++r).pos + this._metricsCache.getChildSize(r);
|
|
404
|
-
return r;
|
|
405
|
-
}
|
|
406
|
-
/**
|
|
407
|
-
* Updates _first and _last based on items that should be in the current
|
|
408
|
-
* viewed range.
|
|
409
|
-
*/
|
|
410
|
-
_getActiveItems() {
|
|
411
|
-
this._viewDim1 === 0 || this.items.length === 0 ? this._clearItems() : this._getItems();
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* Sets the range to empty.
|
|
415
|
-
*/
|
|
416
|
-
_clearItems() {
|
|
417
|
-
this._first = -1, this._last = -1, this._physicalMin = 0, this._physicalMax = 0;
|
|
418
|
-
const i = this._newPhysicalItems;
|
|
419
|
-
this._newPhysicalItems = this._physicalItems, this._newPhysicalItems.clear(), this._physicalItems = i, this._stable = !0;
|
|
420
|
-
}
|
|
421
|
-
/*
|
|
422
|
-
* Updates _first and _last based on items that should be in the given range.
|
|
423
|
-
*/
|
|
424
|
-
_getItems() {
|
|
425
|
-
const i = this._newPhysicalItems;
|
|
426
|
-
this._stable = !0;
|
|
427
|
-
let t, s;
|
|
428
|
-
if (this.pin !== null) {
|
|
429
|
-
const { index: a } = this.pin;
|
|
430
|
-
this._anchorIdx = a, this._anchorPos = this._getPosition(a);
|
|
431
|
-
}
|
|
432
|
-
if (t = this._scrollPosition - this._overhang, s = this._scrollPosition + this._viewDim1 + this._overhang, s < 0 || t > this._scrollSize) {
|
|
433
|
-
this._clearItems();
|
|
434
|
-
return;
|
|
435
|
-
}
|
|
436
|
-
(this._anchorIdx === null || this._anchorPos === null) && (this._anchorIdx = this._getAnchor(t, s), this._anchorPos = this._getPosition(this._anchorIdx));
|
|
437
|
-
let h = this._getSize(this._anchorIdx);
|
|
438
|
-
h === void 0 && (this._stable = !1, h = this._getAverageSize());
|
|
439
|
-
const n = this._metricsCache.getMarginSize(this._anchorIdx) ?? this._metricsCache.averageMarginSize, l = this._metricsCache.getMarginSize(this._anchorIdx + 1) ?? this._metricsCache.averageMarginSize;
|
|
440
|
-
this._anchorIdx === 0 && (this._anchorPos = n), this._anchorIdx === this.items.length - 1 && (this._anchorPos = this._scrollSize - l - h);
|
|
441
|
-
let e = 0;
|
|
442
|
-
for (this._anchorPos + h + l < t && (e = t - (this._anchorPos + h + l)), this._anchorPos - n > s && (e = s - (this._anchorPos - n)), e && (this._scrollPosition -= e, t -= e, s -= e, this._scrollError += e), i.set(this._anchorIdx, { pos: this._anchorPos, size: h }), this._first = this._last = this._anchorIdx, this._physicalMin = this._anchorPos - n, this._physicalMax = this._anchorPos + h + l; this._physicalMin > t && this._first > 0; ) {
|
|
443
|
-
let a = this._getSize(--this._first);
|
|
444
|
-
a === void 0 && (this._stable = !1, a = this._getAverageSize());
|
|
445
|
-
let _ = this._metricsCache.getMarginSize(this._first);
|
|
446
|
-
_ === void 0 && (this._stable = !1, _ = this._metricsCache.averageMarginSize), this._physicalMin -= a;
|
|
447
|
-
const c = this._physicalMin;
|
|
448
|
-
if (i.set(this._first, { pos: c, size: a }), this._physicalMin -= _, this._stable === !1 && this._estimate === !1)
|
|
449
|
-
break;
|
|
450
|
-
}
|
|
451
|
-
for (; this._physicalMax < s && this._last < this.items.length - 1; ) {
|
|
452
|
-
let a = this._getSize(++this._last);
|
|
453
|
-
a === void 0 && (this._stable = !1, a = this._getAverageSize());
|
|
454
|
-
let _ = this._metricsCache.getMarginSize(this._last);
|
|
455
|
-
_ === void 0 && (this._stable = !1, _ = this._metricsCache.averageMarginSize);
|
|
456
|
-
const c = this._physicalMax;
|
|
457
|
-
if (i.set(this._last, { pos: c, size: a }), this._physicalMax += a + _, !this._stable && !this._estimate)
|
|
458
|
-
break;
|
|
459
|
-
}
|
|
460
|
-
const r = this._calculateError();
|
|
461
|
-
r && (this._physicalMin -= r, this._physicalMax -= r, this._anchorPos -= r, this._scrollPosition -= r, i.forEach((a) => a.pos -= r), this._scrollError += r), this._stable && (this._newPhysicalItems = this._physicalItems, this._newPhysicalItems.clear(), this._physicalItems = i);
|
|
462
|
-
}
|
|
463
|
-
_calculateError() {
|
|
464
|
-
return this._first === 0 ? this._physicalMin : this._physicalMin <= 0 ? this._physicalMin - this._first * this._delta : this._last === this.items.length - 1 ? this._physicalMax - this._scrollSize : this._physicalMax >= this._scrollSize ? this._physicalMax - this._scrollSize + (this.items.length - 1 - this._last) * this._delta : 0;
|
|
465
|
-
}
|
|
466
|
-
_reflow() {
|
|
467
|
-
const { _first: i, _last: t } = this;
|
|
468
|
-
super._reflow(), (this._first === -1 && this._last == -1 || this._first === i && this._last === t) && this._resetReflowState();
|
|
469
|
-
}
|
|
470
|
-
_resetReflowState() {
|
|
471
|
-
this._anchorIdx = null, this._anchorPos = null, this._stable = !0;
|
|
472
|
-
}
|
|
473
|
-
_updateScrollSize() {
|
|
474
|
-
const { averageMarginSize: i } = this._metricsCache;
|
|
475
|
-
this._scrollSize = Math.max(1, this.items.length * (i + this._getAverageSize()) + i);
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* Returns the average size (precise or estimated) of an item in the scrolling direction,
|
|
479
|
-
* including any surrounding space.
|
|
480
|
-
*/
|
|
481
|
-
get _delta() {
|
|
482
|
-
const { averageMarginSize: i } = this._metricsCache;
|
|
483
|
-
return this._getAverageSize() + i;
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
* Returns the top and left positioning of the item at idx.
|
|
487
|
-
*/
|
|
488
|
-
_getItemPosition(i) {
|
|
489
|
-
return {
|
|
490
|
-
[this._positionDim]: this._getPosition(i),
|
|
491
|
-
[this._secondaryPositionDim]: 0,
|
|
492
|
-
[S(this.direction)]: -(this._metricsCache.getLeadingMarginValue(i, this.direction) ?? this._metricsCache.averageMarginSize)
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Returns the height and width of the item at idx.
|
|
497
|
-
*/
|
|
498
|
-
_getItemSize(i) {
|
|
499
|
-
return {
|
|
500
|
-
[this._sizeDim]: this._getSize(i) || this._getAverageSize(),
|
|
501
|
-
[this._secondarySizeDim]: this._itemSize[this._secondarySizeDim]
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
_viewDim2Changed() {
|
|
505
|
-
this._metricsCache.clear(), this._scheduleReflow();
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
export {
|
|
509
|
-
M as FlowLayout
|
|
510
|
-
};
|
|
511
|
-
//# sourceMappingURL=flow-D-0MTYCm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flow-D-0MTYCm.js","sources":["../../../node_modules/.pnpm/@lit-labs+virtualizer@2.1.0/node_modules/@lit-labs/virtualizer/layouts/shared/SizeCache.js","../../../node_modules/.pnpm/@lit-labs+virtualizer@2.1.0/node_modules/@lit-labs/virtualizer/layouts/shared/BaseLayout.js","../../../node_modules/.pnpm/@lit-labs+virtualizer@2.1.0/node_modules/@lit-labs/virtualizer/layouts/flow.js"],"sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nexport class SizeCache {\n constructor(config) {\n this._map = new Map();\n this._roundAverageSize = false;\n this.totalSize = 0;\n if (config?.roundAverageSize === true) {\n this._roundAverageSize = true;\n }\n }\n set(index, value) {\n const prev = this._map.get(index) || 0;\n this._map.set(index, value);\n this.totalSize += value - prev;\n }\n get averageSize() {\n if (this._map.size > 0) {\n const average = this.totalSize / this._map.size;\n return this._roundAverageSize ? Math.round(average) : average;\n }\n return 0;\n }\n getSize(index) {\n return this._map.get(index);\n }\n clear() {\n this._map.clear();\n this.totalSize = 0;\n }\n}\n//# sourceMappingURL=SizeCache.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nexport function dim1(direction) {\n return direction === 'horizontal' ? 'width' : 'height';\n}\nexport function dim2(direction) {\n return direction === 'horizontal' ? 'height' : 'width';\n}\nexport function pos1(direction) {\n return direction === 'horizontal' ? 'left' : 'top';\n}\nexport function pos2(direction) {\n return direction === 'horizontal' ? 'top' : 'left';\n}\nexport class BaseLayout {\n _getDefaultConfig() {\n return {\n direction: 'vertical',\n };\n }\n constructor(hostSink, config) {\n /**\n * The last set viewport scroll position.\n */\n this._latestCoords = { left: 0, top: 0 };\n /**\n * Scrolling direction.\n */\n this._direction = null;\n /**\n * Dimensions of the viewport.\n */\n this._viewportSize = { width: 0, height: 0 };\n this.totalScrollSize = { width: 0, height: 0 };\n this.offsetWithinScroller = { left: 0, top: 0 };\n /**\n * Flag for debouncing asynchronous reflow requests.\n */\n this._pendingReflow = false;\n this._pendingLayoutUpdate = false;\n this._pin = null;\n /**\n * The index of the first item intersecting the viewport.\n */\n this._firstVisible = 0;\n /**\n * The index of the last item intersecting the viewport.\n */\n this._lastVisible = 0;\n /**\n * Pixel offset in the scroll direction of the first child.\n */\n this._physicalMin = 0;\n /**\n * Pixel offset in the scroll direction of the last child.\n */\n this._physicalMax = 0;\n /**\n * Index of the first child.\n */\n this._first = -1;\n /**\n * Index of the last child.\n */\n this._last = -1;\n /**\n * Length in the scrolling direction.\n */\n this._sizeDim = 'height';\n /**\n * Length in the non-scrolling direction.\n */\n this._secondarySizeDim = 'width';\n /**\n * Position in the scrolling direction.\n */\n this._positionDim = 'top';\n /**\n * Position in the non-scrolling direction.\n */\n this._secondaryPositionDim = 'left';\n /**\n * Current scroll offset in pixels.\n */\n this._scrollPosition = 0;\n /**\n * Difference between current scroll offset and scroll offset calculated due\n * to a reflow.\n */\n this._scrollError = 0;\n /**\n * Total number of items that could possibly be displayed. Used to help\n * calculate the scroll size.\n */\n this._items = [];\n /**\n * The total (estimated) length of all items in the scrolling direction.\n */\n this._scrollSize = 1;\n /**\n * Number of pixels beyond the viewport to still include\n * in the active range of items.\n */\n // TODO (graynorton): Probably want to make this something we calculate based\n // on viewport size, item size, other factors, possibly still with a dial of some kind\n this._overhang = 1000;\n this._hostSink = hostSink;\n // Delay setting config so that subclasses do setup work first\n Promise.resolve().then(() => (this.config = config || this._getDefaultConfig()));\n }\n set config(config) {\n Object.assign(this, Object.assign({}, this._getDefaultConfig(), config));\n }\n get config() {\n return {\n direction: this.direction,\n };\n }\n /**\n * Maximum index of children + 1, to help estimate total height of the scroll\n * space.\n */\n get items() {\n return this._items;\n }\n set items(items) {\n this._setItems(items);\n }\n _setItems(items) {\n if (items !== this._items) {\n this._items = items;\n this._scheduleReflow();\n }\n }\n /**\n * Primary scrolling direction.\n */\n get direction() {\n return this._direction;\n }\n set direction(dir) {\n // Force it to be either horizontal or vertical.\n dir = dir === 'horizontal' ? dir : 'vertical';\n if (dir !== this._direction) {\n this._direction = dir;\n this._sizeDim = dir === 'horizontal' ? 'width' : 'height';\n this._secondarySizeDim = dir === 'horizontal' ? 'height' : 'width';\n this._positionDim = dir === 'horizontal' ? 'left' : 'top';\n this._secondaryPositionDim = dir === 'horizontal' ? 'top' : 'left';\n this._triggerReflow();\n }\n }\n /**\n * Height and width of the viewport.\n */\n get viewportSize() {\n return this._viewportSize;\n }\n set viewportSize(dims) {\n const { _viewDim1, _viewDim2 } = this;\n Object.assign(this._viewportSize, dims);\n if (_viewDim2 !== this._viewDim2) {\n // this._viewDim2Changed();\n this._scheduleLayoutUpdate();\n }\n else if (_viewDim1 !== this._viewDim1) {\n this._checkThresholds();\n }\n }\n /**\n * Scroll offset of the viewport.\n */\n get viewportScroll() {\n return this._latestCoords;\n }\n set viewportScroll(coords) {\n Object.assign(this._latestCoords, coords);\n const oldPos = this._scrollPosition;\n this._scrollPosition = this._latestCoords[this._positionDim];\n const change = Math.abs(oldPos - this._scrollPosition);\n if (change >= 1) {\n this._checkThresholds();\n }\n }\n /**\n * Perform a reflow if one has been scheduled.\n */\n reflowIfNeeded(force = false) {\n if (force || this._pendingReflow) {\n this._pendingReflow = false;\n this._reflow();\n }\n }\n set pin(options) {\n this._pin = options;\n this._triggerReflow();\n }\n get pin() {\n if (this._pin !== null) {\n const { index, block } = this._pin;\n return {\n index: Math.max(0, Math.min(index, this.items.length - 1)),\n block,\n };\n }\n return null;\n }\n _clampScrollPosition(val) {\n return Math.max(-this.offsetWithinScroller[this._positionDim], Math.min(val, this.totalScrollSize[dim1(this.direction)] - this._viewDim1));\n }\n unpin() {\n if (this._pin !== null) {\n this._sendUnpinnedMessage();\n this._pin = null;\n }\n }\n _updateLayout() {\n // Override\n }\n // protected _viewDim2Changed(): void {\n // this._scheduleLayoutUpdate();\n // }\n /**\n * The height or width of the viewport, whichever corresponds to the scrolling direction.\n */\n get _viewDim1() {\n return this._viewportSize[this._sizeDim];\n }\n /**\n * The height or width of the viewport, whichever does NOT correspond to the scrolling direction.\n */\n get _viewDim2() {\n return this._viewportSize[this._secondarySizeDim];\n }\n _scheduleReflow() {\n this._pendingReflow = true;\n }\n _scheduleLayoutUpdate() {\n this._pendingLayoutUpdate = true;\n this._scheduleReflow();\n }\n // For triggering a reflow based on incoming changes to\n // the layout config.\n _triggerReflow() {\n this._scheduleLayoutUpdate();\n // TODO graynorton@: reflowIfNeeded() isn't really supposed\n // to be called internally. Address in larger cleanup\n // of virtualizer / layout interaction pattern.\n // this.reflowIfNeeded(true);\n Promise.resolve().then(() => this.reflowIfNeeded());\n }\n _reflow() {\n if (this._pendingLayoutUpdate) {\n this._updateLayout();\n this._pendingLayoutUpdate = false;\n }\n this._updateScrollSize();\n this._setPositionFromPin();\n this._getActiveItems();\n this._updateVisibleIndices();\n this._sendStateChangedMessage();\n }\n /**\n * If we are supposed to be pinned to a particular\n * item or set of coordinates, we set `_scrollPosition`\n * accordingly and adjust `_scrollError` as needed\n * so that the virtualizer can keep the scroll\n * position in the DOM in sync\n */\n _setPositionFromPin() {\n if (this.pin !== null) {\n const lastScrollPosition = this._scrollPosition;\n const { index, block } = this.pin;\n this._scrollPosition =\n this._calculateScrollIntoViewPosition({\n index,\n block: block || 'start',\n }) - this.offsetWithinScroller[this._positionDim];\n this._scrollError = lastScrollPosition - this._scrollPosition;\n }\n }\n /**\n * Calculate the coordinates to scroll to, given\n * a request to scroll to the element at a specific\n * index.\n *\n * Supports the same positioning options (`start`,\n * `center`, `end`, `nearest`) as the standard\n * `Element.scrollIntoView()` method, but currently\n * only considers the provided value in the `block`\n * dimension, since we don't yet have any layouts\n * that support virtualization in two dimensions.\n */\n _calculateScrollIntoViewPosition(options) {\n const { block } = options;\n const index = Math.min(this.items.length, Math.max(0, options.index));\n const itemStartPosition = this._getItemPosition(index)[this._positionDim];\n let scrollPosition = itemStartPosition;\n if (block !== 'start') {\n const itemSize = this._getItemSize(index)[this._sizeDim];\n if (block === 'center') {\n scrollPosition =\n itemStartPosition - 0.5 * this._viewDim1 + 0.5 * itemSize;\n }\n else {\n const itemEndPosition = itemStartPosition - this._viewDim1 + itemSize;\n if (block === 'end') {\n scrollPosition = itemEndPosition;\n }\n else {\n // block === 'nearest'\n const currentScrollPosition = this._scrollPosition;\n scrollPosition =\n Math.abs(currentScrollPosition - itemStartPosition) <\n Math.abs(currentScrollPosition - itemEndPosition)\n ? itemStartPosition\n : itemEndPosition;\n }\n }\n }\n scrollPosition += this.offsetWithinScroller[this._positionDim];\n return this._clampScrollPosition(scrollPosition);\n }\n getScrollIntoViewCoordinates(options) {\n return {\n [this._positionDim]: this._calculateScrollIntoViewPosition(options),\n };\n }\n _sendUnpinnedMessage() {\n this._hostSink({\n type: 'unpinned',\n });\n }\n _sendVisibilityChangedMessage() {\n this._hostSink({\n type: 'visibilityChanged',\n firstVisible: this._firstVisible,\n lastVisible: this._lastVisible,\n });\n }\n _sendStateChangedMessage() {\n const childPositions = new Map();\n if (this._first !== -1 && this._last !== -1) {\n for (let idx = this._first; idx <= this._last; idx++) {\n childPositions.set(idx, this._getItemPosition(idx));\n }\n }\n const message = {\n type: 'stateChanged',\n scrollSize: {\n [this._sizeDim]: this._scrollSize,\n [this._secondarySizeDim]: null,\n },\n range: {\n first: this._first,\n last: this._last,\n firstVisible: this._firstVisible,\n lastVisible: this._lastVisible,\n },\n childPositions,\n };\n if (this._scrollError) {\n message.scrollError = {\n [this._positionDim]: this._scrollError,\n [this._secondaryPositionDim]: 0,\n };\n this._scrollError = 0;\n }\n this._hostSink(message);\n }\n /**\n * Number of items to display.\n */\n get _num() {\n if (this._first === -1 || this._last === -1) {\n return 0;\n }\n return this._last - this._first + 1;\n }\n _checkThresholds() {\n if ((this._viewDim1 === 0 && this._num > 0) || this._pin !== null) {\n this._scheduleReflow();\n }\n else {\n const min = Math.max(0, this._scrollPosition - this._overhang);\n const max = Math.min(this._scrollSize, this._scrollPosition + this._viewDim1 + this._overhang);\n if (this._physicalMin > min || this._physicalMax < max) {\n this._scheduleReflow();\n }\n else {\n this._updateVisibleIndices({ emit: true });\n }\n }\n }\n /**\n * Find the indices of the first and last items to intersect the viewport.\n * Emit a visibleindiceschange event when either index changes.\n */\n _updateVisibleIndices(options) {\n if (this._first === -1 || this._last === -1)\n return;\n let firstVisible = this._first;\n while (firstVisible < this._last &&\n Math.round(this._getItemPosition(firstVisible)[this._positionDim] +\n this._getItemSize(firstVisible)[this._sizeDim]) <= Math.round(this._scrollPosition)) {\n firstVisible++;\n }\n let lastVisible = this._last;\n while (lastVisible > this._first &&\n Math.round(this._getItemPosition(lastVisible)[this._positionDim]) >=\n Math.round(this._scrollPosition + this._viewDim1)) {\n lastVisible--;\n }\n if (firstVisible !== this._firstVisible ||\n lastVisible !== this._lastVisible) {\n this._firstVisible = firstVisible;\n this._lastVisible = lastVisible;\n if (options && options.emit) {\n this._sendVisibilityChangedMessage();\n }\n }\n }\n}\n//# sourceMappingURL=BaseLayout.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nimport { SizeCache } from './shared/SizeCache.js';\nimport { BaseLayout, dim1 } from './shared/BaseLayout.js';\nexport const flow = (config) => Object.assign({\n type: FlowLayout,\n}, config);\nfunction leadingMargin(direction) {\n return direction === 'horizontal' ? 'marginLeft' : 'marginTop';\n}\nfunction trailingMargin(direction) {\n return direction === 'horizontal' ? 'marginRight' : 'marginBottom';\n}\nfunction offset(direction) {\n return direction === 'horizontal' ? 'xOffset' : 'yOffset';\n}\nfunction collapseMargins(a, b) {\n const m = [a, b].sort();\n return m[1] <= 0 ? Math.min(...m) : m[0] >= 0 ? Math.max(...m) : m[0] + m[1];\n}\nclass MetricsCache {\n constructor() {\n this._childSizeCache = new SizeCache();\n this._marginSizeCache = new SizeCache();\n this._metricsCache = new Map();\n }\n update(metrics, direction) {\n const marginsToUpdate = new Set();\n Object.keys(metrics).forEach((key) => {\n const k = Number(key);\n this._metricsCache.set(k, metrics[k]);\n this._childSizeCache.set(k, metrics[k][dim1(direction)]);\n marginsToUpdate.add(k);\n marginsToUpdate.add(k + 1);\n });\n for (const k of marginsToUpdate) {\n const a = this._metricsCache.get(k)?.[leadingMargin(direction)] || 0;\n const b = this._metricsCache.get(k - 1)?.[trailingMargin(direction)] || 0;\n this._marginSizeCache.set(k, collapseMargins(a, b));\n }\n }\n get averageChildSize() {\n return this._childSizeCache.averageSize;\n }\n get totalChildSize() {\n return this._childSizeCache.totalSize;\n }\n get averageMarginSize() {\n return this._marginSizeCache.averageSize;\n }\n get totalMarginSize() {\n return this._marginSizeCache.totalSize;\n }\n getLeadingMarginValue(index, direction) {\n return this._metricsCache.get(index)?.[leadingMargin(direction)] || 0;\n }\n getChildSize(index) {\n return this._childSizeCache.getSize(index);\n }\n getMarginSize(index) {\n return this._marginSizeCache.getSize(index);\n }\n clear() {\n this._childSizeCache.clear();\n this._marginSizeCache.clear();\n this._metricsCache.clear();\n }\n}\nexport class FlowLayout extends BaseLayout {\n constructor() {\n super(...arguments);\n /**\n * Initial estimate of item size\n */\n this._itemSize = { width: 100, height: 100 };\n /**\n * Indices of children mapped to their (position and length) in the scrolling\n * direction. Used to keep track of children that are in range.\n */\n this._physicalItems = new Map();\n /**\n * Used in tandem with _physicalItems to track children in range across\n * reflows.\n */\n this._newPhysicalItems = new Map();\n /**\n * Width and height of children by their index.\n */\n this._metricsCache = new MetricsCache();\n /**\n * anchorIdx is the anchor around which we reflow. It is designed to allow\n * jumping to any point of the scroll size. We choose it once and stick with\n * it until stable. _first and _last are deduced around it.\n */\n this._anchorIdx = null;\n /**\n * Position in the scrolling direction of the anchor child.\n */\n this._anchorPos = null;\n /**\n * Whether all children in range were in range during the previous reflow.\n */\n this._stable = true;\n this._measureChildren = true;\n this._estimate = true;\n }\n // protected _defaultConfig: BaseLayoutConfig = Object.assign({}, super._defaultConfig, {\n // })\n // constructor(config: Layout1dConfig) {\n // super(config);\n // }\n get measureChildren() {\n return this._measureChildren;\n }\n /**\n * Determine the average size of all children represented in the sizes\n * argument.\n */\n updateItemSizes(sizes) {\n this._metricsCache.update(sizes, this.direction);\n // if (this._nMeasured) {\n // this._updateItemSize();\n this._scheduleReflow();\n // }\n }\n /**\n * Set the average item size based on the total length and number of children\n * in range.\n */\n // _updateItemSize() {\n // // Keep integer values.\n // this._itemSize[this._sizeDim] = this._metricsCache.averageChildSize;\n // }\n _getPhysicalItem(idx) {\n return this._newPhysicalItems.get(idx) ?? this._physicalItems.get(idx);\n }\n _getSize(idx) {\n const item = this._getPhysicalItem(idx);\n return item && this._metricsCache.getChildSize(idx);\n }\n _getAverageSize() {\n return this._metricsCache.averageChildSize || this._itemSize[this._sizeDim];\n }\n _estimatePosition(idx) {\n const c = this._metricsCache;\n if (this._first === -1 || this._last === -1) {\n return (c.averageMarginSize +\n idx * (c.averageMarginSize + this._getAverageSize()));\n }\n else {\n if (idx < this._first) {\n const delta = this._first - idx;\n const refItem = this._getPhysicalItem(this._first);\n return (refItem.pos -\n (c.getMarginSize(this._first - 1) || c.averageMarginSize) -\n (delta * c.averageChildSize + (delta - 1) * c.averageMarginSize));\n }\n else {\n const delta = idx - this._last;\n const refItem = this._getPhysicalItem(this._last);\n return (refItem.pos +\n (c.getChildSize(this._last) || c.averageChildSize) +\n (c.getMarginSize(this._last) || c.averageMarginSize) +\n delta * (c.averageChildSize + c.averageMarginSize));\n }\n }\n }\n /**\n * Returns the position in the scrolling direction of the item at idx.\n * Estimates it if the item at idx is not in the DOM.\n */\n _getPosition(idx) {\n const item = this._getPhysicalItem(idx);\n const { averageMarginSize } = this._metricsCache;\n return idx === 0\n ? this._metricsCache.getMarginSize(0) ?? averageMarginSize\n : item\n ? item.pos\n : this._estimatePosition(idx);\n }\n _calculateAnchor(lower, upper) {\n if (lower <= 0) {\n return 0;\n }\n if (upper > this._scrollSize - this._viewDim1) {\n return this.items.length - 1;\n }\n return Math.max(0, Math.min(this.items.length - 1, Math.floor((lower + upper) / 2 / this._delta)));\n }\n _getAnchor(lower, upper) {\n if (this._physicalItems.size === 0) {\n return this._calculateAnchor(lower, upper);\n }\n if (this._first < 0) {\n return this._calculateAnchor(lower, upper);\n }\n if (this._last < 0) {\n return this._calculateAnchor(lower, upper);\n }\n const firstItem = this._getPhysicalItem(this._first), lastItem = this._getPhysicalItem(this._last), firstMin = firstItem.pos, lastMin = lastItem.pos, lastMax = lastMin + this._metricsCache.getChildSize(this._last);\n if (lastMax < lower) {\n // Window is entirely past physical items, calculate new anchor\n return this._calculateAnchor(lower, upper);\n }\n if (firstMin > upper) {\n // Window is entirely before physical items, calculate new anchor\n return this._calculateAnchor(lower, upper);\n }\n // Window contains a physical item\n // Find one, starting with the one that was previously first visible\n let candidateIdx = this._firstVisible - 1;\n let cMax = -Infinity;\n while (cMax < lower) {\n const candidate = this._getPhysicalItem(++candidateIdx);\n cMax = candidate.pos + this._metricsCache.getChildSize(candidateIdx);\n }\n return candidateIdx;\n }\n /**\n * Updates _first and _last based on items that should be in the current\n * viewed range.\n */\n _getActiveItems() {\n if (this._viewDim1 === 0 || this.items.length === 0) {\n this._clearItems();\n }\n else {\n this._getItems();\n }\n }\n /**\n * Sets the range to empty.\n */\n _clearItems() {\n this._first = -1;\n this._last = -1;\n this._physicalMin = 0;\n this._physicalMax = 0;\n const items = this._newPhysicalItems;\n this._newPhysicalItems = this._physicalItems;\n this._newPhysicalItems.clear();\n this._physicalItems = items;\n this._stable = true;\n }\n /*\n * Updates _first and _last based on items that should be in the given range.\n */\n _getItems() {\n const items = this._newPhysicalItems;\n this._stable = true;\n let lower, upper;\n // The anchorIdx is the anchor around which we reflow. It is designed to\n // allow jumping to any point of the scroll size. We choose it once and\n // stick with it until stable. first and last are deduced around it.\n // If we have a pinned item, we anchor on it\n if (this.pin !== null) {\n const { index } = this.pin;\n this._anchorIdx = index;\n this._anchorPos = this._getPosition(index);\n }\n // Determine the lower and upper bounds of the region to be\n // rendered, relative to the viewport\n lower = this._scrollPosition - this._overhang; //leadingOverhang;\n upper = this._scrollPosition + this._viewDim1 + this._overhang; // trailingOverhang;\n if (upper < 0 || lower > this._scrollSize) {\n this._clearItems();\n return;\n }\n // If we are scrolling to a specific index or if we are doing another\n // pass to stabilize a previously started reflow, we will already\n // have an anchor. If not, establish an anchor now.\n if (this._anchorIdx === null || this._anchorPos === null) {\n this._anchorIdx = this._getAnchor(lower, upper);\n this._anchorPos = this._getPosition(this._anchorIdx);\n }\n let anchorSize = this._getSize(this._anchorIdx);\n if (anchorSize === undefined) {\n this._stable = false;\n anchorSize = this._getAverageSize();\n }\n const anchorLeadingMargin = this._metricsCache.getMarginSize(this._anchorIdx) ??\n this._metricsCache.averageMarginSize;\n const anchorTrailingMargin = this._metricsCache.getMarginSize(this._anchorIdx + 1) ??\n this._metricsCache.averageMarginSize;\n if (this._anchorIdx === 0) {\n this._anchorPos = anchorLeadingMargin;\n }\n if (this._anchorIdx === this.items.length - 1) {\n this._anchorPos = this._scrollSize - anchorTrailingMargin - anchorSize;\n }\n // Anchor might be outside bounds, so prefer correcting the error and keep\n // that anchorIdx.\n let anchorErr = 0;\n if (this._anchorPos + anchorSize + anchorTrailingMargin < lower) {\n anchorErr = lower - (this._anchorPos + anchorSize + anchorTrailingMargin);\n }\n if (this._anchorPos - anchorLeadingMargin > upper) {\n anchorErr = upper - (this._anchorPos - anchorLeadingMargin);\n }\n if (anchorErr) {\n this._scrollPosition -= anchorErr;\n lower -= anchorErr;\n upper -= anchorErr;\n this._scrollError += anchorErr;\n }\n items.set(this._anchorIdx, { pos: this._anchorPos, size: anchorSize });\n this._first = this._last = this._anchorIdx;\n this._physicalMin = this._anchorPos - anchorLeadingMargin;\n this._physicalMax = this._anchorPos + anchorSize + anchorTrailingMargin;\n while (this._physicalMin > lower && this._first > 0) {\n let size = this._getSize(--this._first);\n if (size === undefined) {\n this._stable = false;\n size = this._getAverageSize();\n }\n let margin = this._metricsCache.getMarginSize(this._first);\n if (margin === undefined) {\n this._stable = false;\n margin = this._metricsCache.averageMarginSize;\n }\n this._physicalMin -= size;\n const pos = this._physicalMin;\n items.set(this._first, { pos, size });\n this._physicalMin -= margin;\n if (this._stable === false && this._estimate === false) {\n break;\n }\n }\n while (this._physicalMax < upper && this._last < this.items.length - 1) {\n let size = this._getSize(++this._last);\n if (size === undefined) {\n this._stable = false;\n size = this._getAverageSize();\n }\n let margin = this._metricsCache.getMarginSize(this._last);\n if (margin === undefined) {\n this._stable = false;\n margin = this._metricsCache.averageMarginSize;\n }\n const pos = this._physicalMax;\n items.set(this._last, { pos, size });\n this._physicalMax += size + margin;\n if (!this._stable && !this._estimate) {\n break;\n }\n }\n // This handles the cases where we were relying on estimated sizes.\n const extentErr = this._calculateError();\n if (extentErr) {\n this._physicalMin -= extentErr;\n this._physicalMax -= extentErr;\n this._anchorPos -= extentErr;\n this._scrollPosition -= extentErr;\n items.forEach((item) => (item.pos -= extentErr));\n this._scrollError += extentErr;\n }\n if (this._stable) {\n this._newPhysicalItems = this._physicalItems;\n this._newPhysicalItems.clear();\n this._physicalItems = items;\n }\n }\n _calculateError() {\n if (this._first === 0) {\n return this._physicalMin;\n }\n else if (this._physicalMin <= 0) {\n return this._physicalMin - this._first * this._delta;\n }\n else if (this._last === this.items.length - 1) {\n return this._physicalMax - this._scrollSize;\n }\n else if (this._physicalMax >= this._scrollSize) {\n return (this._physicalMax -\n this._scrollSize +\n (this.items.length - 1 - this._last) * this._delta);\n }\n return 0;\n }\n _reflow() {\n const { _first, _last } = this;\n super._reflow();\n if ((this._first === -1 && this._last == -1) ||\n (this._first === _first && this._last === _last)) {\n this._resetReflowState();\n }\n }\n _resetReflowState() {\n this._anchorIdx = null;\n this._anchorPos = null;\n this._stable = true;\n }\n _updateScrollSize() {\n const { averageMarginSize } = this._metricsCache;\n this._scrollSize = Math.max(1, this.items.length * (averageMarginSize + this._getAverageSize()) +\n averageMarginSize);\n }\n /**\n * Returns the average size (precise or estimated) of an item in the scrolling direction,\n * including any surrounding space.\n */\n get _delta() {\n const { averageMarginSize } = this._metricsCache;\n return this._getAverageSize() + averageMarginSize;\n }\n /**\n * Returns the top and left positioning of the item at idx.\n */\n _getItemPosition(idx) {\n return {\n [this._positionDim]: this._getPosition(idx),\n [this._secondaryPositionDim]: 0,\n [offset(this.direction)]: -(this._metricsCache.getLeadingMarginValue(idx, this.direction) ??\n this._metricsCache.averageMarginSize),\n };\n }\n /**\n * Returns the height and width of the item at idx.\n */\n _getItemSize(idx) {\n return {\n [this._sizeDim]: this._getSize(idx) || this._getAverageSize(),\n [this._secondarySizeDim]: this._itemSize[this._secondarySizeDim],\n };\n }\n _viewDim2Changed() {\n this._metricsCache.clear();\n this._scheduleReflow();\n }\n}\n//# sourceMappingURL=flow.js.map"],"names":["SizeCache","config","index","value","prev","average","dim1","direction","BaseLayout","hostSink","items","dir","dims","_viewDim1","_viewDim2","coords","oldPos","force","options","block","val","lastScrollPosition","itemStartPosition","scrollPosition","itemSize","itemEndPosition","currentScrollPosition","childPositions","idx","message","min","max","firstVisible","lastVisible","leadingMargin","trailingMargin","offset","collapseMargins","a","b","m","MetricsCache","metrics","_a","_b","marginsToUpdate","key","k","FlowLayout","sizes","c","delta","item","averageMarginSize","lower","upper","firstItem","lastItem","firstMin","candidateIdx","cMax","anchorSize","anchorLeadingMargin","anchorTrailingMargin","anchorErr","size","margin","pos","extentErr","_first","_last"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,MAAMA,EAAU;AAAA,EACnB,YAAYC,GAAQ;AAChB,SAAK,OAAO,oBAAI,OAChB,KAAK,oBAAoB,IACzB,KAAK,YAAY,IACbA,KAAA,gBAAAA,EAAQ,sBAAqB,OAC7B,KAAK,oBAAoB;AAAA,EAEhC;AAAA,EACD,IAAIC,GAAOC,GAAO;AACd,UAAMC,IAAO,KAAK,KAAK,IAAIF,CAAK,KAAK;AACrC,SAAK,KAAK,IAAIA,GAAOC,CAAK,GAC1B,KAAK,aAAaA,IAAQC;AAAA,EAC7B;AAAA,EACD,IAAI,cAAc;AACd,QAAI,KAAK,KAAK,OAAO,GAAG;AAC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AA,EACK;AAAA;AAAA;AAAA;AAAA,EAID,aAAaA,GAAK;AACd,WAAO;AAAA,MACH,CAAC,KAAK,QAAQ,GAAG,KAAK,SAASA,CAAG,KAAK,KAAK,gBAAiB;AAAA,MAC7D,CAAC,KAAK,iBAAiB,GAAG,KAAK,UAAU,KAAK,iBAAiB;AAAA,IAC3E;AAAA,EACK;AAAA,EACD,mBAAmB;AACf,SAAK,cAAc,SACnB,KAAK,gBAAe;AAAA,EACvB;AACL;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseHandler } from '../../../infrastructure/base-handlers';
|
|
2
|
-
import { InjectAsyncHistoryItemsPayload } from './request';
|
|
3
|
-
|
|
4
|
-
export declare class InjectAsyncHistoryItemsHandler extends BaseHandler {
|
|
5
|
-
handle(payload: InjectAsyncHistoryItemsPayload): Promise<void>;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IActivityHistoryItem } from '../../domain/model';
|
|
2
|
-
import { IActivityHistoryCustomFilter } from '../../filter';
|
|
3
|
-
|
|
4
|
-
export interface InjectAsyncHistoryItemsPayload {
|
|
5
|
-
entityId: string;
|
|
6
|
-
entityDescription: string;
|
|
7
|
-
asyncDataProvider: () => Promise<IActivityHistoryItem[]>;
|
|
8
|
-
componentFactory: (item: IActivityHistoryItem) => HTMLElement;
|
|
9
|
-
searchPredicate?: (searchString: string, item: IActivityHistoryItem) => boolean;
|
|
10
|
-
errorMessage: string;
|
|
11
|
-
filters: IActivityHistoryCustomFilter;
|
|
12
|
-
}
|
|
13
|
-
export declare const addAsyncHistoryItemsCommand = "inject_async_history_items_request";
|